double2rgb

バージョン 1.0.0.0 (1.78 KB) 作成者: David Legland
Converts an array of double (2D or 3D) to an RGB image using specified colormap
ダウンロード: 1.6K
更新 2011/2/2

ライセンスの表示

Computes the min and max values within the input array, convert to 256 values, and apply a colormap to produce a color image (RGB).

It is possible to specifies the range of values to consider, as well as the background color (used for NaN values).

Example:
% Display a default matrix
subplot(1, 2, 1);
imshow(peaks(128), []);
title('as double')
% display the coresponding RGB image
subplot(1, 2, 2); imshow(double2rgb(peaks(128), jet, [-8 8]));
title('as RGB');

引用

David Legland (2026). double2rgb (https://jp.mathworks.com/matlabcentral/fileexchange/30264-double2rgb), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2009b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersConvert Image Type についてさらに検索
謝辞

ヒントを与えたファイル: Easy Plot EEG Brain Network Matlab

バージョン 公開済み リリース ノート
1.0.0.0