Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
how to fit a curve on an image?

Subject: how to fit a curve on an image?

From: niloufar

Date: 15 Jun, 2012 12:01:07

Message: 1 of 4

i want to fit a parabola shape curve on a low resolution image in order to find the medial axis of the image , how can i do that ?

Subject: how to fit a curve on an image?

From: Yumnam Kirani

Date: 15 Jun, 2012 12:29:07

Message: 2 of 4

"niloufar " <ndarvish@kth.se> wrote in message <jrf863$2n$1@newscl01ah.mathworks.com>...
> i want to fit a parabola shape curve on a low resolution image in order to find the medial axis of the image , how can i do that ?

You need to first extract the boundary pixels of the image object. The co-ordinates of the boundary pixels will then be used to your curve fitting program.

Yumnam Kirani Singh
Tronglaobi Awang Leikai

Subject: how to fit a curve on an image?

From: niloufar

Date: 15 Jun, 2012 12:51:08

Message: 3 of 4

"Dear Yumnan,
how can i get the coordinates of the boundaries could you help with the code?
i have used :
boundaries = bwboundaries(bwim);
thisBoundary = boundaries{1};
to get the the boundary.
thanks alot,
Regards,
Niloufar

Subject: how to fit a curve on an image?

From: Yumnam Kirani

Date: 2 Jul, 2012 10:05:08

Message: 4 of 4

"niloufar " <ndarvish@kth.se> wrote in message <jrfb3s$cv0$1@newscl01ah.mathworks.com>...
> "Dear Yumnan,
> how can i get the coordinates of the boundaries could you help with the code?
> i have used :
> boundaries = bwboundaries(bwim);
> thisBoundary = boundaries{1};
> to get the the boundary.
> thanks alot,
> Regards,
> Niloufar

Sorry for the late reply. You can get the co-ordinates using the find function.

Yumnam Kirani Singh
 

Tags for this Thread

No tags are associated with this thread.

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.

Contact us