conversion of pixel values in a gray scale image

1 回表示 (過去 30 日間)
BV
BV 2013 年 6 月 17 日
I have a gray scale image . I want to convert all the zero pixel values to 255. is there any function to do so?

採用された回答

Anand
Anand 2013 年 6 月 17 日
im(im==0) = 255;
  1 件のコメント
BV
BV 2013 年 6 月 17 日
thank u ) i will try it.

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by