How i get x y values of start point and end point of a white curve from image
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Sajid Rahim
am 28 Aug. 2017
Kommentiert: Sajid Rahim
am 28 Aug. 2017
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 Kommentare
Akzeptierte Antwort
KSSV
am 28 Aug. 2017
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')
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Convert Image Type finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!