cv::Rodrigues @ opencv3

asked 2014-11-11 16:01:15 -0600

Hi, the example below (with any rotation matrix) works fine in 2.4.8 but throws in 3.0 at cv::Rodrigues. What am i missing?

cv::Mat mat = cv::Mat::eye(cv::Size(3,3), CV_32F);
mat.at<float>(1,1)*=-1;
mat.at<float>(2,2)*=-1;  
cv::Mat rvec = cv::Mat(1,3,CV_32F); 
cv::Rodrigues(mat, rvec);

Using Windows 8.1, downloaded binaries, Visual Studio 2012, linked dynamic libs. (Not getting any exception text since its thrown in a dll?!)

Thanks for any help.

edit retag flag offensive close merge delete

Comments

please run a debug build. a lot of exceptions are just suppressed in release.

if you don't get an exception, what else is happening ?

berak gravatar imageberak ( 2014-11-12 02:28:22 -0600 )edit

I do get a cv::Exception but not any text in the console. I also run a debug build but it did not change anything. Since I'm the only one having this problem, i guess its some IDE/linker problem. Went back to 2.4.8 btw. Thanks anyways

svidoso gravatar imagesvidoso ( 2014-11-14 10:58:47 -0600 )edit