I am trying to increase the effective fingerprint region by trying to stitch two fingerprint images (left and center) taken by two different cameras. Images have been attached below. I tried the standard process of image mosaicking and it gives a erroneous result.The reason I feel is that, the two images contain the entire fingerprint and not a part of the fingerprint.
The center image:
The left image:
The mosaic image:
The solution to this problem was explained in the following paper.
In this they have tried to get the stitching line and mosaic the images based on it.
I would appreciate if anyone could explain me the process to get the stitching line in matlab?
EDIT
The code is
[x1,x2,x3,x4]=findroi(matches_geo,frames1,frames2);
function [x1,x2,x3,x4] = findroi(matches,f1,f2)
for i = 1:size(matches,2)
xpos1(i) = f1(1,matches(1,i));
xpos2(i) = f2(1,matches(2,i));
x1 = max(xpos1);
x2 = min(xpos1);
x3 = max(xpos2);
x4 = min(xpos2);
end
The matching is done based on the sift features. I get the rectangle by finding the maximum and minimum values of the x-coordinate. The next step would be to find the stitching line to combine the two images.