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?