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
0 个评论
回答(1 个)
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".
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!