Ask Your Question
0

SFM module input parameters

asked 2016-04-12 16:26:32 -0600

Dodo gravatar image

updated 2016-04-12 16:26:57 -0600

Hi, I have just started experimenting with the SFM module, and I had a question, how would we obtain the input parameters, namely the focal length f, and the center of projection coordinates cx and cy?

I understand that the focal length can be obtained after doing a camera calibration in OpenCV, thus getting back focal lengths fx and fy, as well as the optical centres cx and cy in pixel coordinates (what do we do if fx and fy are not equal?). Are these the same that we need to pass on to the SFM functions, as described in the following tutorial? :

http://docs.opencv.org/3.1.0/d5/dab/t...

Thanks!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2016-04-12 16:34:56 -0600

Tetragramm gravatar image

Yes. The camera matrix is indeed what you need If they aren't equal, they're likely close, just take the average. You may also be able to obtain these from a camera data sheet, but a calibration is going to be much more accurate.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-04-12 16:26:32 -0600

Seen: 264 times

Last updated: Apr 12 '16