rgb2map

Convert RGB colors to indexed colormap colors
ダウンロード: 245
更新 2017/4/13

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.

引用

Andrew Horchler (2024). rgb2map (https://github.com/horchler/rgb2map), GitHub. 取得済み .

MATLAB リリースの互換性
作成: R2016a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersColormaps についてさらに検索
謝辞

ヒントを与えたファイル: 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!

GitHub の既定のブランチを使用するバージョンはダウンロードできません

バージョン 公開済み リリース ノート
1.1.0.0

Added image

Added image

この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。