Detecting particular Line(EDGE) in the total image

조회 수: 3 (최근 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