i want a code for remove background from an image.
Ältere Kommentare anzeigen

this is my image.
Antworten (1)
Image Analyst
am 22 Nov. 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 Kommentare
Ahmad AlZein
am 20 Nov. 2020
please, can you explain the code
Kategorien
Mehr zu Image Segmentation and Analysis finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!