04-04-2022 07:51 AM
Dear colleagues!
I had a task to determine the angle of the camera in relation to the plane. There are 3 spheres on a plane at equal distances from each other. I have a complete set of LabVIEV and Vision. The task is next. According to the coordinates of 3 points on the 2D camera matrix, determine the angle and direction of the camera tilt, provided that the numbers of the balls are recognized. Thank you in advance!
01-24-2023 06:16 AM
Hi Vadim_Makeev,
if I understand correctly what you trying to do is to detect the deviation of the camera from normal position, aren't you?
Also. I would link to know in which environment are you using LabVIEW or Vision Builder? What did you try before to solve the problem?
I think you should try to have a default value and continually compare it with different positions of camera.
Regards)
01-24-2023 12:45 PM
Hi l.hovs! For development, I use both environments depending on the task. My question is mainly in the field of mathematics. With the help of image processing, I can determine: 1. The position of the centers of the spheres in a flat (matrix) coordinate system. 2. I can determine with good accuracy the diameters of the projections of the spheres.
The mathematics itself is needed for converting a flat image into 3D space coordinates
02-02-2023 08:29 AM
Hi Vadim_Makeev,
I have found a LabVIEW code example how to convert the image into a 3D textured heightmap.
Try to go through that article and replicate teh code in your side to see what will be the results.
Regards)
02-05-2023 03:15 PM
Thank you! I will definitely look into this option!