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 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Wesley
am 18 Nov. 2020
Kommentiert: Wesley
am 19 Nov. 2020
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 Kommentare
KALYAN ACHARJYA
am 18 Nov. 2020
Wen's comments (Image) as an answer has been deleted. Same Image in Attached.
Akzeptierte Antwort
KALYAN ACHARJYA
am 18 Nov. 2020
Bearbeitet: KALYAN ACHARJYA
am 18 Nov. 2020
data=imbinarize(imread('image.jpeg'));
result=edge(data);
figure,imshow(result);
[r,c]=find(result==1);
figure,plot(c,r,'.');
9 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots 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!