scalar2colormap

Grayscale image into monopolar or bipolar RGBA image with colorbar.

您现在正在关注此提交

Function scalar2colormap is designed to transform 2D scalar image into a monopolar or bipolar RGBA image. Colormaps can be defined independently for negative, zero, and positive scalar values. Colormap can be imposed on a background image with a chosen transparency and cropped with an additional mask image. Colormaps are linear by default but function supports for non-linear mapping as well to further enhance polar differences. Optional output gives object handles for figure, axes, images, and colorbar for final tuning (titles, fonts, labels etc.) of the image.

引用格式

Viljami Sairanen (2026). scalar2colormap (https://ww2.mathworks.cn/matlabcentral/fileexchange/63669-scalar2colormap), MATLAB Central File Exchange. 检索时间: .

致谢

参考作品: bluewhitered, Red Blue Colormap, imoverlay

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0

Example image