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.
조회 수: 7 (최근 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!