There is zero picture coordinate in OpenCV notation.
Hi guys, I need to know there is (0,0) point physicaly on image. There are two options: OpenGL (0,0) - is upper left corner of the first pixel naive (0,0) - is center of the first pixel
This should affect on many function in lib. For example if we have perfect centered camera matrix for first notation center pose will be (W/2, H/2), for second It will be (W/2 - 0.5, H/2 - 0.5). This also affect on such function like wrapPerspective etc.
Thanks
I looked in
getDefaultNewCameraMatrix
, and it seems that second option is right one, this function sets[(width - 1) *0.5, (height - 1)*0.5 ]
, as default[cx, cy].
this led to[0,0] = center
of first(most left, most upper) image pixel.I aslo made such test.
Output: