Converting Colors to Other Colors
Show older comments
I have to convert all non-red colors in an image to black, and then convert the red color to white. I am completely lost. Could anybody lead me in a direction? Thank you!
1 Comment
Voss
on 5 Jul 2020
If you have this image stored as an image file, the first thing to do would be to read the file into a variable, e.g., using the imread function.
Accepted Answer
More Answers (0)
Categories
Find more on Convert Image Type in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!