Changing the color of image

1 次查看(过去 30 天)
Eric Tang
Eric Tang 2020-6-26
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!

回答(1 个)

Image Analyst
Image Analyst 2020-6-26
Use colormap()

类别

Help CenterFile Exchange 中查找有关 Blue 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by