Open azuryl opened 4 years ago
The ray back-projected by a 2D point can be determined by two 3D points, the one is the camera location we already have, the other is a point on the ray. So you can use the back_project function to select that point with any z (z != camera location z).
Here back-project means to get the 3D point of a 2D point in one image when we know the height of the 3D point (z_world).
Dear longcw
thank you reply do you have example which use the back_project function to select that point with any z
Thank you
Dear longcw
thank your great job now I want to use back_project function to realize a single point in the image plane correspods to a ray in 3D space
in calibration.py I defined def project(self, points_3d, camera_id): camera = self.cameras[camera_id] # type: Camera return camera.back_project(points_2d, z_worlds)
can you kindly tell me how to set z_worlds, I have tired set z_worlds=[ ] bur there are no output in points_3d
Thank you