background removal
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
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
2012-8-16
Could you share what exactly you did because I have exactly the same problem. Thanks
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
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' ?
2 个评论
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!