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.
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Wesley
el 18 de Nov. de 2020
Comentada: Wesley
el 19 de Nov. de 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 comentarios
KALYAN ACHARJYA
el 18 de Nov. de 2020
Wen's comments (Image) as an answer has been deleted. Same Image in Attached.
Respuesta aceptada
KALYAN ACHARJYA
el 18 de Nov. de 2020
Editada: KALYAN ACHARJYA
el 18 de Nov. de 2020
data=imbinarize(imread('image.jpeg'));
result=edge(data);
figure,imshow(result);
[r,c]=find(result==1);
figure,plot(c,r,'.');
9 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Surface and Mesh Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!