How can I remove the background of a particular image?

4 visualizaciones (últimos 30 días)
char S
char S el 20 de Jun. de 2014
Comentada: char S el 23 de Jun. de 2014
I want to remove the background of the corresponding MRI image. Please suggest the coding steps.

Respuestas (1)

Image Analyst
Image Analyst el 20 de Jun. de 2014
Find the background and save it into a binary image called mask. Then define what "remove" means, keeping in mind that an image has to be rectangular - you can't have oval images. If you just want to set the background to some particular value, like 0, then:
grayImage(mask) = theValueYouWant;

Categorías

Más información sobre Neuroimaging en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by