mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 13:47:32 +08:00
removed old code
This commit is contained in:
parent
1dec1645e5
commit
12f8d8069d
@ -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)
|
||||
{
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user