how to give color for same pixel values?
2 ビュー (過去 30 日間)
古いコメントを表示
i need to assign color for pixels having same value.. can anyone help me?
0 件のコメント
採用された回答
Walter Roberson
2013 年 10 月 21 日
cmap = copper(22); %some color map
outimg = ind2rgb( uint8(locatn), cmap);
image(outimg);
その他の回答 (1 件)
Image Analyst
2013 年 10 月 19 日
What do you mean by "pixels having the same value"? Do you mean, say, pixels having red color? And so you want to assign a green color to all pixels having "red" values? Meanwhile, why don't you look at my color segmentation demos in Image Analyst's awesome File Exchange?
8 件のコメント
参考
カテゴリ
Help Center および File Exchange で Red についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!