Grayscale image into monopolar or bipolar RGBA image with colorbar.
46 descargas
Actualizado 11 Jul 2017

Ver licencia

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.

Citar como

Viljami Sairanen (2024). scalar2colormap (, MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2016b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Más información sobre Colorbar en Help Center y MATLAB Answers.

Inspirado por: bluewhitered, Red Blue Colormap, imoverlay

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión

Example image