Detecting particular Line(EDGE) in the total image

1 次查看(过去 30 天)
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by