Detecting particular Line(EDGE) in the total image

4 ビュー (過去 30 日間)
Gova ReDDy
Gova ReDDy 2011 年 10 月 19 日
I tried a lot to detect the line(EDGE) which is in red portion in the linked image http://tinypic.com/r/2qntaip/7
But was able to get the small line segments not the full line as in image.. Can anyone help me finding out the full line

回答 (3 件)

Image Analyst
Image Analyst 2011 年 10 月 19 日
Well you're in luck because two other people are working on the very same project. They are
Hopefully those two can help you. With three of you on it now, it shouldn't be too hard.
  4 件のコメント
Gova ReDDy
Gova ReDDy 2011 年 10 月 20 日
Thanks for your valuable suggestion ..And we need to do it in different methods....
Image Analyst
Image Analyst 2011 年 10 月 23 日
Why? Why is that a need??? Aren't you all working on the same project in your company and you just need to get it solved no matter how? Or is this a classroom assignment that you're not allowed to collaborate on? Or, are you actually all three people?

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


Artik Crazy
Artik Crazy 2011 年 10 月 19 日
  1 件のコメント
Gova ReDDy
Gova ReDDy 2011 年 10 月 20 日
I think Hough transform detects the lines And the line I wanted to display is at an angle of -45 degrees.So I want to display this particular line only(making the other parts invisible) in the image.

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


Gova ReDDy
Gova ReDDy 2011 年 10 月 22 日
I used filtering with kernel of -45 degree lines and result image is
After this I worked out with imerode with strel('line',10,-45) which resulted in the discontinuties in the required line like this
Can someone pls guide me something about how to get the full required line
  1 件のコメント
Walter Roberson
Walter Roberson 2011 年 10 月 23 日
imerode is used to _remove_ information. Unless you flip black and white and then use imerode to erode what is currently the black, you are not going to be extending connecting the white parts, just throwing them away.

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by