Pixel relation between images (different cameras) [closed]

asked 2014-10-29 09:20:32 -0600

updated 2014-11-03 05:31:30 -0600

Hi,

I have two cameras (3D - black and white and a PTZ - RGB) in different positions.

I have identified a pixel point in PTZ and now I need to know the distance to that point. Because of that, I want to identify this pixel in the 3D camera image, which is a depthimage. I was trying to solve this problem using depth_image_proc/register but the result is not correct. It may be because of this package o because the camera model is not right.

Do you know any other way of doing that? In case the only possible solution is the above one, I will attach my camera definition and all the relevant information about the malfunctioning.

Thank you

EDIT: The problem was a parameter called hackBaseline. It was used in the gazebo model example of camera and I copied it. It is used in stereo systems (not my case). Eliminating it there is no problem at making the transformation

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by arenillas
close date 2014-11-03 05:31:42.591815