Superimposes a color image (or colormapped image) to a grayscale image for visualization of colormaps (density, flow or whatever you are working on) using the grayscale image as a transparency index, for a better visualization.
It works with RGB images (MxNx3 matrices) or with simple grayscale images using a colromap (clasically 'jet', but others can be defined as well).
EXAMPLES:
SUPERIMPOSEIMAGE(im, map) depicts the grayscale image IM fake coloured using the color information in MAP. If MAP is a grayscale image, it uses the 'jet' default colormap. If it is a true color image (a matrix NxMx3), it uses its colour.
SUPERIMPOSEIMAGE(..., 'colormap', cm) uses a user-defined colormap instead of the default 'jet'. E.g. 'bone', 'hot', etc.
SUPERIMPOSEIMAGE(..., 'alpha', alpha) controls the transparency of IM by adjusting its brightness. An alpha > 1 will reduce the transparency of the fake color map, whereas an alpha < 1 will increase the transparency of this maps.
h = SUPERIMPOSEIMAGE(...) returns the handle of the current figure.
引用
Francisco (2026). superimposeImage ( grayscaleIm, colormap ) (https://jp.mathworks.com/matlabcentral/fileexchange/47779-superimposeimage-grayscaleim-colormap), MATLAB Central File Exchange. 取得日: .
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxカテゴリ
タグ
| バージョン | 公開済み | リリース ノート | |
|---|---|---|---|
| 1.0.0.0 |
