필터 지우기
필터 지우기

background removal

조회 수: 2 (최근 30일)
siddharth s
siddharth s 2011년 8월 3일
i have a pavement image with a crack. i would like to remove the background of that image.so that i can get a clear picture of the crack.I don't have the image of the pavement without crack.So,i cant use the subtract method to remove the background.Is there any other way to remove the background.can any one help me out.
  댓글 수: 1
Ashish Uthama
Ashish Uthama 2011년 8월 3일
Siddharth, posting a sample image would help you get a better answer.

댓글을 달려면 로그인하십시오.

채택된 답변

Image Analyst
Image Analyst 2011년 8월 3일
You could just blur the heck out of it with conv2(). Or else use the image to model a perfectly smooth function, like a quadratic or something. I used polyfitn for this but John removed it from the File Exchange. Maybe you could try this instead: http://www.mathworks.com/matlabcentral/fileexchange/13719-2d-weighted-polynomial-fitting-and-evaluation
  댓글 수: 6
Karan
Karan 2012년 8월 16일
Could you share what exactly you did because I have exactly the same problem. Thanks
Image Analyst
Image Analyst 2012년 8월 16일
Where did you post your image? I think you should start your own thread on your own question and image.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Ashish Uthama
Ashish Uthama 2011년 8월 3일
You might also consider extracting the crack instead of removing the background :) What do you intend to do after you 'remove the background' ?
You might be able to use functions like edge to detect and process the edge.
  댓글 수: 2
siddharth s
siddharth s 2011년 8월 3일
i tried extracting the crack using edge detection method but it displays all edges which are not a part of the crack. can u suggest something for extracting the crack alone
Walter Roberson
Walter Roberson 2011년 8월 3일
We need a sample image.
http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by