0

I'm trying to find the projective transformation between 2 cameras (Kinect RGB and IR) in Matlab, I had read several answers but all of them use OpenCV, by this moment I can find chessboard points in the 2 images (imageRGBPoints, imageIRPoints), and overlapping both images i get the following:

It's obvious that both cameras have different points of view. After searching I had found this:

tform = fitgeotrans(imageRGBPoints ,imageIRPoints,'Projective');
Color_Transformed = imwarp(color, tform);

I get the first image with double size and small rotation. Finally I have tried this tutorial from Mathworks, using SURF features but I don't understand where is the Matrix transformation, how can I fit both images?

rayryeng
  • 102,964
  • 22
  • 184
  • 193
Dinl
  • 83
  • 1
  • 7

1 Answers1

0

Here is what I got with a X-Box Kinect.

After scaling both images to 640x480,

ax = 9.1008894 + 0.924429*i

ay = 40.0500822 + 0.92345789*j

Where (i,j) are the coordinates of the pixel in the IR image (640x480) and ax, ay are the coordinates of the CORRESPONDING pixel in RGB.

Hope that helps.