How can I plot the detected parabola on the image?
2 ビュー (過去 30 日間)
古いコメントを表示
Hello
I've tried to detect the parabola form of the Eyelid from the normalized iris image using Hough Transform as it is coded in the following file exchange: http://www.mathworks.com/matlabcentral/fileexchange/15841-parabola-detection-using-hough-transform/content/oughparabola.m
Put I don't know how can I use the output of this code to draw the fitted parabola on the normalized iris image. The normalized iris image and it's edge image are attached
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151106/image.bmp)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151108/image.bmp)
回答 (1 件)
Image Analyst
2015 年 6 月 12 日
If you have the x,y coordinates, just put hold on and call plot:
hold on;
plot(x, y, 'b-', 'LineWidth', 2);
2 件のコメント
Image Analyst
2015 年 6 月 12 日
I don't know that program. Why don't you just get each segment, and call the built-in polyfit on it? then look at the residuals and figure that the curve with the lowest residuals is the best fit and is the curve for the upper eyelid that you want and plot that with plot(x,y). It seems simpler to me.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!