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 view (last 30 days)
Show older comments
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 Comments
Accepted Answer
KSSV
on 5 May 2021
I = imread('image.png') ;
[m,n,p] = size(I) ;
imshow(I) ;
hold on
plot([1 m],[n 1],'b')
3 Comments
More Answers (0)
See Also
Categories
Find more on Graphics Object Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!