フィルターのクリア

Why is greyscale yellow and blue?

11 ビュー (過去 30 日間)
Marcin Zyskowski
Marcin Zyskowski 2016 年 10 月 23 日
回答済み: Image Analyst 2016 年 10 月 23 日
I followed advice from this thread.
I got rid of the third dimension in the array, but now when I display grayscale picture using command:
image(Obrazek)
I get this:
Why is supposed grayscale picture yellow-blue, instead of gray?

採用された回答

Image Analyst
Image Analyst 2016 年 10 月 23 日
It looks like a colormap is being applied without your knowledge. I'd use imshow() instead of image. Otherwise you can set the colormap to gray(256);
colormap(handleToAxes, gray(256));

その他の回答 (0 件)

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by