Ask Your Question

cvProjectPoints2 :ImagePoints units

asked 2013-04-23 09:29:43 -0500

Lee gravatar image

Hi i used cvProjectPoints2 function to do the projection of a 3D points into 2D points.Now i get the 2D imagePoints(for example:image1.x=-663.450623 and image1.y=101.231941), and i wonder,on which units it's expressed: px or mm? How can i check if the results are raisonnable or not. Thank you in advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-04-23 11:29:37 -0500

As far as I know, it all depends on which unit's are used for the parameters. If the camera matrix and input data all has measurements in mm's, then the output will also be in mm's. If the parameters are defined in inches, than the output will also be in inches, same for pixels.

However, in image processing, mostly people define their distances in pixels, because that is the measure used to loop through your data, pixel by pixel. So I would stick to that.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2013-04-23 09:29:43 -0500

Seen: 1,127 times

Last updated: Apr 23 '13