フィルターのクリア

i want to display binary image in blue color...

1 回表示 (過去 30 日間)
Elysi Cochin
Elysi Cochin 2012 年 10 月 17 日
i want to display binary image in blue color...that is i have an image of black lines in white background... i want to display the black lines in blue color in white background.... how can i do it?

採用された回答

Teja Muppirala
Teja Muppirala 2012 年 10 月 17 日
You can change the colormap to contain blue and white. Like this:
I = im2bw(imread('cameraman.tif'));
imshow(I)
colormap([0 0 1; 1 1 1]) % Blue = [0 0 1], White = [1 1 1]
  1 件のコメント
Elysi Cochin
Elysi Cochin 2012 年 10 月 17 日
thank you so much... thanks a lot...

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeBlue についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by