i want a code for remove background from an image.
Mostrar comentarios más antiguos

this is my image.
Respuestas (1)
Image Analyst
el 22 de Nov. de 2017
What do you mean by remove? You can't remove it, but you can set it to something else, like zero or something. Just threshold:
background = grayImage < 50; % or whatever number works
grayImage(background) = 0; % Set background to 0 (black).
2 comentarios
Ahmad AlZein
el 20 de Nov. de 2020
please, can you explain the code
Walter Roberson
el 20 de Nov. de 2020
Categorías
Más información sobre Image Segmentation and Analysis en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!