Grayscale to RGB Converter

Convert grayscale images to RGB using a specified colormap.

Vous suivez désormais cette soumission

The function converts grayscale images to RGB using a specified colormap. The default colormap is ``hot''. The graysale image is supplied either as a name or a matrix.

Example:

res = grs2rgb(im,cmap);

res is a size(im)-by-3 RGB image.

Citation pour cette source

Valeriy Korostyshevskiy (2026). Grayscale to RGB Converter (https://fr.mathworks.com/matlabcentral/fileexchange/13312-grayscale-to-rgb-converter), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

Inspiré par : Gray image to Color image conversion

A inspiré : rgb2hex and hex2rgb

Catégories

En savoir plus sur Color and Styling dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0

Added html file