How plot slope from lower point on image to last point .When I apply my code ,its not draw to end point in image
1 回表示 (過去 30 日間)
古いコメントを表示
this part of code
for k=1:300
for j=1:300
if (j==300) &&(BWw(k,j)==1)
row1=k;
column1 = j;
end
end
end
%%%%%%%%%%%%%%%%%
plot( [row column],[row1 column1],'Color','r','LineWidth',3);
0 件のコメント
採用された回答
KSSV
2021 年 5 月 5 日
I = imread('image.png') ;
[m,n,p] = size(I) ;
imshow(I) ;
hold on
plot([1 m],[n 1],'b')
3 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Graphics Object Programming についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!