After Calibration How to take the AOI of the undistorted checker board

asked 2018-03-13 02:15:00 -0500

Mr.90 gravatar image

Am using Qt C++, Opencv C++, Basler Pylon Camera For CameraCalibration For a Duck Hunt Game simmulator i Have Done till undistorting the noise Factors .Now how can i get the AOI , Offset Values of the Undistorted Image Such that i can use it for my game simulator .

edit retag flag offensive close merge delete

Comments

it's somewhat unclear, what your duck hunt simulator does.

ok, you had checker board images during the calibration, but later, there probably won't be any, or will there ? please explain more.

are you looking for the "valid" ROI's after undistortion ? like without the distortion borders ?

berak gravatar imageberak ( 2018-03-13 04:00:13 -0500 )edit

Actually My Main Intension of Doing Camera calibration is .! In My Simulator i need the hit detection i.e x,y point . My camera Resoultion is 658*494 so i need to make sure that my camera view is same as the wt projector is projecting or else ill get wrong x,y . For that if i can take only the boundary of wt the projector is showing i.e offset x, offset y then only i can apply that to my camera . So Till now i have done till undistorting image . Now wt should i do to get the Offset X , OFFset Y . i Thought to go with AOI Concept .actually am new to Image processing so can u please help me out in finding the solution to this

Mr.90 gravatar imageMr.90 ( 2018-03-14 00:43:28 -0500 )edit

in order to see wt i have done just have a look at this please https://github.com/vinay490/Calibration

Mr.90 gravatar imageMr.90 ( 2018-03-14 00:57:26 -0500 )edit