Gray Image to Color Indexed Image

1 回表示 (過去 30 日間)
Yonghyun
Yonghyun 2013 年 12 月 16 日
コメント済み: Oliver Woodford 2013 年 12 月 19 日
Dear all,
I have gray image, the range is -1 to +1 .
In this case, imshow(image, [0.4 1] ,'colormap','hsv'); %Not all range
I want to back this showed image to workspace with original size.
If the image size is larger than pixel size of monitor, the MATLAB reduce the size of showed image.
The input image is not 8 bit, its range is -1 to +1. It's the key.
This is gonna be a lot of thanks for your help.

採用された回答

Oliver Woodford
Oliver Woodford 2013 年 12 月 16 日
編集済み: Oliver Woodford 2013 年 12 月 16 日
Use the sc() package.
A = sc(image, [0.4 1], 'hsv');
  2 件のコメント
Yonghyun
Yonghyun 2013 年 12 月 16 日
Thanks a lot!!!
Oliver Woodford
Oliver Woodford 2013 年 12 月 19 日
A better thank you is to accept the answer!

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

その他の回答 (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