Effacer les filtres
Effacer les filtres

From grayscale to monochrome in a given selected color

1 vue (au cours des 30 derniers jours)
Faustino
Faustino le 23 Fév 2017
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

Réponses (1)

Walter Roberson
Walter Roberson le 23 Fév 2017
mono = double( im2gray(YourImage) > 0.5 );
monoRed = cat(3, mono, zeros(size(mono)), zeros(size(mono)) );

Catégories

En savoir plus sur Encryption / Cryptography dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by