MATLAB Answers

Rectification technique so overlap one image on other

14 views (last 30 days)
Vaddeti Nikitha
Vaddeti Nikitha on 28 Jan 2020 at 16:33
Edited: Image Analyst on 29 Jan 2020 at 2:19
Kindly help me out with this issue. I took wheel images captured from stereo camera. My wheel images are at 2 degree (2d) tilted. How I have applied rectification code so that I need an output where the points of both the images map that is matchedpoints takes place and form a new single image.
Though we are taking from 2 cameras, the object is the same, so we need a single image after rectification. Once I get the rectification I need DEPTH map to apply HOUGH Transform to get circle points to form a plane and find angle.
This is my code:
I1=imresize(imread('U3TL0001_023_2d.jpg'),[580 630]);
I2=imresize(imread('U3TL0002_023_2d.jpg'),[580 630]);
load yellowstone_inlier_points;
showMatchedFeatures(I1, I2,inlier_points1,inlier_points2,'montage');
title('Original images and matching feature points');
f = estimateFundamentalMatrix(inlier_points1,inlier_points2,...
'Method','Norm8points');
[t1, t2] = estimateUncalibratedRectification(f,inlier_points1,...
inlier_points2,size(I2));
[I1Rect,I2Rect] = rectifyStereoImages(I1,I2,t1,t2);
figure;
imshow(stereoAnaglyph(I1Rect,I2Rect));

  0 Comments

Sign in to comment.

Answers (0)

Sign in to answer this question.


Translated by