Related to image processing in matlab

I have two images,one is reference and other is moved by 2 mm. I have to find the euclidean distance by finding the pixel coordinate(black) of reference and moved image so that i can find euclidean distance. Please suggest me suitable and effective answer.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by