필터 지우기
필터 지우기

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...

채택된 답변

KSSV
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')
  댓글 수: 2
Sajid Rahim
Sajid Rahim 2017년 8월 28일
Sir how i convert the 5.png image to like 555.png... i.e to draw 2 lines...... one frome start point and one line from end point.... plzz..

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by