Ask Your Question
1

focal length fx and fy , do they change for a camera capable of zooming ?

asked 2013-06-12 00:36:24 -0600

sachin_rt gravatar image

Hii I am using a logitech PTZ camera . i am trying to find the intrinsic camera matrix from opencv . Do the fx and fy values change when calibrated differently ?? Or are they constant ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-06-12 01:08:00 -0600

berak gravatar image

updated 2013-06-12 01:52:39 -0600

no, fx and fy are not constant, they depend on the zoom state of your camera.

so, whenever you change the zoom ( manually or by autofocus ), you need to recalibrate to get the current intrinsic matrix.

with a bit of luck, you can toggle the autofocus from the settings panel , try:

VideoCapture cap(0);
cap.set(CAP_PROP_SETTINGS,1);
edit flag offensive delete link more

Comments

Are fx and fy not the physical focal length values ?? If they are then fx and fy have to be constant right ??

sachin_rt gravatar imagesachin_rt ( 2013-06-12 05:30:47 -0600 )edit

Question Tools

Stats

Asked: 2013-06-12 00:36:24 -0600

Seen: 1,001 times

Last updated: Jun 12 '13