I am working on a fingerprint pore extraction project and stuck at the last stage of pore (white pixels clusters) extraction..I am having two output images from which we will get the pores but don't know how to do it..also the two images are of different size..image1 of size 240*320 and image2 is of size 230*310 ..here are my images..
image 1 (240*320) image2 (230*310)


here is what i am doing to extract white clusters of pores..
for i = 1:230
for j = 1:310
if image1(i,j)==1 && image2(i,j)==1
result(i,j)=1;
else
result(i,j)= 0;
end;
end;
end;
figure(4);imshow(result,[]);
here are my output
output (230*310) expected (different than input image)

image 3 (output) shows the resultant image from above code ..these errors are may be due to difference in size of two images i think...so what should i do to get the pores(white clusters)..Note that fourth image (expected) is different than the input images just to show you what should be the output look like...thanks in advance..
I have done this "type" of feature extraction before. Normally how I have seen it done (and I was somewhat the inventor of this process at a company I worked for in the past) was:
1D Blob detection:
2D Blob correlation:
You CAN define a boundary many different ways:
In your case it LOOKS as if your images are truly binary (black and white without gray shades), so binary thresholding will work just fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With