How to find out the intersection point of the image ?. (Intersection point: Where the X and Y White lines meets)

답변 (2개)

One of the many ways to do this:
I = imread('http://imageshack.us/a/img401/5148/0mbt.jpg');
J = I == 255; % note that there are many '255' valued pixels near the intersection.
se = strel('disk',5);
K = imerode(J,se); % remove some of the unwanted noise pixels.
[x y] = find(K) %returns the x,y coordinates of the region in question.

댓글 수: 2

x 17235x1 double min 1 and max 1024
y 17235x1 double min 1 and max 1024
x and y are showing the 17235 horizontal line and 1 vertical line how do i know the intercept point ?
Could you make me clear ?
Do we write a program such a way that virtual lines can be drawn on both the x and y white line of the above image
(<http://imageshack.us/photo/my-images/401/0mbt.jpg/>)
From that virtual line we can find out the intercept where they cross each other

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

i want to intersection point of curve by the .fig file
this is my graph fig. i want to intersection point of efficiency & unit discharge at 100 unit speed & other unit speed. so how we use matlab code finding intersection of this.

카테고리

도움말 센터File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

질문:

2013년 8월 12일

답변:

2014년 5월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by