Clear Filters
Clear Filters

Changing the color of image

1 view (last 30 days)
Eric Tang
Eric Tang on 26 Jun 2020
Answered: Image Analyst on 26 Jun 2020
How can I change the white portion of the attached picture to blue and the black portion to a yellow/greenish color? Basically what I want to do is changing the picture from black and white to yellow and blue gradient. Thank you in advance!

Answers (1)

Image Analyst
Image Analyst on 26 Jun 2020
Use colormap()

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!