MATLAB: How to remove background from an image

background correctionbackground subtractionImage Processing Toolbox

I want to know how to remove background from an image and edge detection of the rest of the image

Best Answer

There are many ways do remove background. If you have a colored image, then you can try this
If you have a gray scale image, then you can try this
Hope it helps you.
Meshoo