Clear Filters
Clear Filters

From grayscale to monochrome in a given selected color

1 view (last 30 days)
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

Answers (1)

Walter Roberson
Walter Roberson on 23 Feb 2017
mono = double( im2gray(YourImage) > 0.5 );
monoRed = cat(3, mono, zeros(size(mono)), zeros(size(mono)) );

Categories

Find more on Encryption / Cryptography in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!