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

3 views (last 30 days)

Answers (2)

Amith Kamath
Amith Kamath on 19 Aug 2013
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 Comments
Naresh Naik
Naresh Naik on 10 Dec 2013
Edited: Naresh Naik on 10 Dec 2013
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 ?
Naresh Naik
Naresh Naik on 10 Dec 2013
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

Sign in to comment.


deepak gogade
deepak gogade on 13 May 2014
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.

Categories

Find more on Image Processing Toolbox 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!