how to retrive color of resulting image as original?

1 回表示 (過去 30 日間)
jagannath mishra
jagannath mishra 2013 年 5 月 14 日
sir ,i have an RGB image.then i convert it to gray and then perform actions like filtering and i got an result.so now the image which i got is a gray image and different from the original one also (in color). Now my question is "is there any method or code by which i can make the resulting image colors like the original one accurately ? ".

採用された回答

David Sanchez
David Sanchez 2013 年 5 月 14 日
Once you transform an image to grayscale, it looses many information: a colour image is a 3D matrix, while a grayscale one is 2D. It is a good practice to create a working image and always save the original one in case you has need of it in the future.
  1 件のコメント
jagannath mishra
jagannath mishra 2013 年 5 月 14 日
that means sir it is not possible to retrive the true colors of the image?

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by