Thread Subject: center line

Subject: center line

From: Anil N

Date: 23 Jul, 2009 09:11:02

Message: 1 of 2

Hi,

I am working on tracking linear features in images. I got the boundary of a linear feature and the contour representing the boudary. Now i need to draw the centerline of the contour. Can any one knows how to draw the centerline of a contour.

thanks
anil

Subject: center line

From: ImageAnalyst

Date: 23 Jul, 2009 11:26:12

Message: 2 of 2

On Jul 23, 5:11 am, "Anil N" <ani...@yahoo.com> wrote:
> Hi,
>
> I am working on tracking linear features in images. I got the boundary of a linear feature and the contour representing the boudary. Now i need to draw the centerline of the contour. Can any one knows how to draw the centerline of a contour.
>
> thanks
> anil

--------------------------------------------------------
Assuming your contour is some thick region, and you've thresholded it
to a binary image already (easy to do), then just call bwmorph() with
the 'skel' option to skeletonize your thick regions.
Good luck,
ImageAnalyst

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
center line Sprinceana 21 Aug, 2009 17:23:46
rssFeed for this Thread

Contact us at files@mathworks.com