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

3 次查看(过去 30 天)

回答(2 个)

Amith Kamath
Amith Kamath 2013-8-19
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 个评论
Naresh Naik
Naresh Naik 2013-12-10
编辑:Naresh Naik 2013-12-10
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 2013-12-10
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

请先登录,再进行评论。


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

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by