Hi , I have a binary image , i want to choose 3 points on it,use interpolation , and make a curve fitting on it? what is code matlab for doing this??

3 Ansichten (letzte 30 Tage)
Hi , I have a binary image , i want to choose 3 points on it and make a curve fitting on it? what is code matlab for doing this??

Antworten (1)

Image Analyst
Image Analyst am 4 Okt. 2013
What kind of curve? With 3 points, you can do a second order curve or first order line. Do you want a parabola, a circle, or a line? Did you try passing the points into polyfit(), or see the FAQ?
  3 Kommentare
Image Analyst
Image Analyst am 4 Okt. 2013
It's in the FAQ. Did you click on the link I gave you? The code is right there to fit a circle. After that you can decide where to split the circle into halves. Where to you think you want to do that?
Alex Taylor
Alex Taylor am 7 Okt. 2013
What kind of interpolation are you going to use? Is your output image also going to be logical? If so, I assume you are using Nearest Neighbor?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Get Started with Curve Fitting Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by