
SAR画像の2値化
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
wataru yoshimi
le 20 Jan 2017
Commenté : Tohru Kikawada
le 22 Jan 2017
16bitのSAR画像を白い部分を赤色に変えたいです
0 commentaires
Réponse acceptée
Tohru Kikawada
le 20 Jan 2017
画像の色づけの例はこちらに豊富にあるので参考にしてみてください。
また、質問する際は下記をご参照の上、ご投稿をお願いします。
明るい部分を赤く色づけしたいという内容と解釈しました。
タイトルの2値化については理解ができていません。
あるしきい値を超えた明るさの部分だけを赤色にする処理を下記に示します。
ご参考まで。
% 画像データ(uint16)
I = im2uint16(imread('cameraman.tif'));
% RGBのチャネルを作成
R = I;
G = I;
B = I;
% 白っぽい部分を抽出
ind = R > intmax('uint16')*0.8;
% 白いところは赤成分をmaxにし、それ以外は0
R(ind) = intmax('uint16');
G(ind) = 0;
B(ind) = 0;
% 結合する
I_colored = cat(3,R,G,B);
% 可視化
figure;
imshow(I_colored);

Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Multirate Signal Processing dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!