removed old code

This commit is contained in:
edgarriba 2014-08-12 16:49:19 +02:00
parent 1dec1645e5
commit 12f8d8069d
2 changed files with 0 additions and 19 deletions

View File

@ -49,23 +49,6 @@ dls::~dls()
// TODO Auto-generated destructor stub
}
/*void dls::norm_z_vector()
{
// make z into unit vectors from normalized pixel coords
for (int i = 0; i < N; ++i)
{
cv::Mat col_i = z.col(i);
double sr = std::pow(col_i.at<double>(0), 2) +
std::pow(col_i.at<double>(1), 2) +
std::pow(col_i.at<double>(2), 2);
sr = std::sqrt(sr);
z.at<double>(0, i) /= sr;
z.at<double>(1, i) /= sr;
z.at<double>(2, i) /= sr;
}
}*/
bool dls::compute_pose(cv::Mat& R, cv::Mat& t)
{

View File

@ -46,8 +46,6 @@ private:
mn.at<double>(2) /= (double)N;
}
//void norm_z_vector();
// main algorithm
cv::Mat LeftMultVec(const cv::Mat& v);
void run_kernel(const cv::Mat& pp);