How to get the centerline of an image?
2 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Image Analyst
on 13 Jul 2014
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.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!