Converting specific pixel of the image to white
11 views (last 30 days)
Show older comments
Hello Sir,
I have an image. I want to convert speicfic pixel of (range from 172 to 226 pixel ) to white. ?
0 Comments
Answers (1)
Walter Roberson
on 8 Dec 2020
mask = 172 <= YourImage & YourImage <= 226;
YourImage(mask) = 255;
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!