Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

camera_params convert to CV_32F: what is it for in stitching_detailed.cpp

$
0
0
Hello! I am practicing the stitching_detailed.cpp tutorial from itseez opencv latest repository. At one point, this conversion is called: for (size_t i = 0; i < cameras.size(); ++i) { Mat R; cameras[i].R.convertTo(R, CV_32F); cameras[i].R = R; LOGLN("Initial camera intrinsics #" << indices[i]+1 << ":\nK:\n" << cameras[i].K() << "\nR:\n" << cameras[i].R); } **question:** what is it for, exactly? **question:** Is there any reason why `cv::detail::Estimator` class should output a type that the program needs explicitly to convert? Thank you.

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>