From grayscale to monochrome in a given selected color
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Walter Roberson
2017 年 2 月 23 日
mono = double( im2gray(YourImage) > 0.5 );
monoRed = cat(3, mono, zeros(size(mono)), zeros(size(mono)) );
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Encryption / Cryptography についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!