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 (최근 30일)
이전 댓글 표시
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??
댓글 수: 0
답변 (1개)
Image Analyst
2013년 10월 4일
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
Image Analyst
2013년 10월 4일
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
2013년 10월 7일
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?
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!