Does ind2rgb returns the original color image?

3 visualizzazioni (ultimi 30 giorni)
Does ind2rgb returns the original color image?First I used rgb2int.

Risposta accettata

Walter Roberson
Walter Roberson il 6 Giu 2015
No. rgb2ind quantizes colors to fit the number requested. ind2rgb cannot undo that quantization.
It is sort of like rounding: once two numbers round to the same result you can't distinguish them.

Più risposte (0)

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by