フィルターのクリア

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
KALYAN ACHARJYA 2020 年 11 月 18 日
Wen's comments (Image) as an answer has been deleted. Same Image in Attached.

サインインしてコメントする。

採用された回答

KALYAN ACHARJYA
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,'.');
  9 件のコメント
Wesley
Wesley 2020 年 11 月 19 日
Unfortunately, I haven't solved this problem.
.
Wesley
Wesley 2020 年 11 月 19 日
I found the source of the problem. The reason is that the MATLAB software draws the line with the point in the upper left corner as the origin, so we see the image in the opposite direction to the original image.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by