to find center line of similiar multiple objects in an image

1 次查看(过去 30 天)
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".

类别

Help CenterFile Exchange 中查找有关 Image Segmentation and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by