to find center line of similiar multiple objects in an image

1 回表示 (過去 30 日間)
raj kumar
raj kumar 2014 年 6 月 9 日
回答済み: Image Analyst 2014 年 6 月 10 日
sir, can anyone help me to find center line of all multi objects having similiar objects in matlab.or can ony one help me to make a curved image patch into straightene

回答 (1 件)

Image Analyst
Image Analyst 2014 年 6 月 10 日
You can use regionprops() to get the orientation and centroid or weighted centroid. Then just use the point slope form of the line equation to get the equation of a line along the "centerline".

Community Treasure Hunt

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

Start Hunting!

Translated by