how to delete the white pixel(255) from grey scale image
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
saravanakumar D
am 29 Dez. 2013
Kommentiert: Image Analyst
am 29 Dez. 2013
I have to delete only 225 value white pixel from gray scale image. But i don't know how to identified each pixel from image and check if it is 255 and assign it's value to zero. Please help me
0 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 29 Dez. 2013
Bearbeitet: Azzi Abdelmalek
am 29 Dez. 2013
im(im==255)=0
11 Kommentare
Image Analyst
am 29 Dez. 2013
Why do you have both g and GRAY? You don't need two. And we're back to Azzi's original answer
g(g==255)=0;
GRAY(GRAY==255)=0;
Why didn't you follow his advice instead of doing things with for loops and two copies of the same image?
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Modify Image Colors finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
