フィルターのクリア

From grayscale to monochrome in a given selected color

1 回表示 (過去 30 日間)
Faustino
Faustino 2017 年 2 月 23 日
回答済み: Walter Roberson 2017 年 2 月 23 日
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

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 2 月 23 日
mono = double( im2gray(YourImage) > 0.5 );
monoRed = cat(3, mono, zeros(size(mono)), zeros(size(mono)) );

カテゴリ

Help Center および File ExchangeEncryption / Cryptography についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by