How to use the edge function to extract a curve from the photo, and then draw this curve on the coordinate system, and finally smooth the curve.
9 次查看(过去 30 天)
显示 更早的评论
How to use the edge function to extract a curve from the photo, and then draw this curve on the coordinate system, and finally smooth the curve.I am very grateful to everyone for helping me solve this problem.
4 个评论
KALYAN ACHARJYA
2020-11-18
Wen's comments (Image) as an answer has been deleted. Same Image in Attached.
采纳的回答
KALYAN ACHARJYA
2020-11-18
编辑:KALYAN ACHARJYA
2020-11-18
data=imbinarize(imread('image.jpeg'));
result=edge(data);
figure,imshow(result);
[r,c]=find(result==1);
figure,plot(c,r,'.');
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!