From grayscale to monochrome in a given selected color
1 view (last 30 days)
Show older comments
I have grayscale images that I would need to convert into monochrome for different colors; i.e. one image into red monochrome, another image into green monochrome, etc
0 Comments
Answers (1)
Walter Roberson
on 23 Feb 2017
mono = double( im2gray(YourImage) > 0.5 );
monoRed = cat(3, mono, zeros(size(mono)), zeros(size(mono)) );
0 Comments
See Also
Categories
Find more on Encryption / Cryptography in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!