Search code examples
coordinateshalcon

Halcon - Inverse of image_points_to_world_plane


with image_points_to_world_plane I pass Row/Col coordinates in Pixel and get a coordinate back in mm referred to the world plane..

Is there way to invert this? I need for example to know what Row/Col pixel contains the 0/0 coordinate of the world plane. so for example I give it a coordinate from the world plane and it tells me in what pixel of the image I can find this.

Can this be done?


Solution

  • First try and use "cam_par_pose_to_hom_mat3d" to first create a matrix which can map world points to image points. Then try using the instruction "project_point_hom_mat3d" to convert your world point to the image plane.