How to get the centerline of an image?
2 次查看(过去 30 天)
显示 更早的评论
Hi, I want to extract the centerline of 2D images (as attached). I was using thinning and Skeleton function before, but somehow the result is not so accurate as it make the corner of the image distorted. I was intended to find sharp corner of the images and maybe centerline extraction will yield a good result.
Great Thanks
0 个评论
回答(1 个)
Image Analyst
2014-7-13
How accurate do you need it? How did you generate the image in the first place? If you made the image, can't you get the line information from when you generated the image? What are you going to do with the image once it's skeletonized? Maybe you don't need "sharp" corners, depending on what your plans are for the image.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!