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

回答 (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

サインインしてコメントする。

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