How to get the centerline of an image?

2 visualizaciones (últimos 30 días)
missC
missC el 13 de Jul. de 2014
Comentada: missC el 15 de Jul. de 2014
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

Respuestas (1)

Image Analyst
Image Analyst el 13 de Jul. de 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.
  1 comentario
missC
missC el 15 de Jul. de 2014
Hi, I want to detect a corner from each edges in the image. As you can see due to weak pre-processing, the corner detected is not at the real edges or not precisely detected at the corner. Or maybe, I have to use other centerline extraction besides thinning or skeleton function. For the original image, i use some pre-processing such as morphological operations. Hope you can help me, Thanks

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by