rgb2map

Convert RGB colors to indexed colormap colors
245 Downloads
Aktualisiert 13 Apr 2017

Convert RGB colors to indexed colormap colors.
rgb2map converts an RGB image or colormap to an indexed color image or colormap using color differences. rgb2map calculates the color difference between each RGB pixel in an input image and every RGB triplet in the input colormap by calculating ΔE in the CIE L*a*b* color space (CIE 1976 standard). The min function is used to find the index of the minimum ΔE (if more than one minimum value exists, the index of the first is returned). The function is an alternative to Matlab's rgb2ind.

Zitieren als

Andrew Horchler (2024). rgb2map (https://github.com/horchler/rgb2map), GitHub. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2016a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Colormaps finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert: Convert between RGB and Color Names

Community Treasure Hunt

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

Start Hunting!

Versionen, die den GitHub-Standardzweig verwenden, können nicht heruntergeladen werden

Version Veröffentlicht Versionshinweise
1.1.0.0

Added image

Added image

Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.
Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.