Distance transform of Image

Dear all;
I have two points which are the centers of objects in the first and last point of the line that connect these centers in two different frames, i need to use the the function bwdist and centroid parameter of regionprops functions but i do not know how to combine them to achive this target
can anyone help me in that
thanks in advance

2 Comments

Why is bwdist called for in this case???
Dear Sir
thank you very much for your kind help I am using bwdist to find the eculdian distance , to know what am doing please flow link:
Thanks in advance

Sign in to comment.

 Accepted Answer

Image Analyst
Image Analyst on 5 Jan 2013
Please post your image, for example on tinypic.com. In the meantime, see BlobsDemo, my image segmentation tutorial in File Exchange. It finds centroids (of coins).

More Answers (0)

Community Treasure Hunt

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

Start Hunting!