How i get x y values of start point and end point of a white curve from image
조회 수: 1 (최근 30일)
이전 댓글 표시
How i get x y values of start point and end point of a white curve from image image is added .... plz help me...
댓글 수: 0
채택된 답변
KSSV
2017년 8월 28일
I = imread('5.png') ;
I = rgb2gray(I) ;
[y,x] = find(I) ;
figure
imshow(I)
hold on
plot(x,y,'.r')
plot(x(1),y(1),'*y')
plot(x(end),y(end),'*y')
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!