Does ind2rgb returns the original color image?

3 Ansichten (letzte 30 Tage)
Anushka
Anushka am 6 Jun. 2015
Beantwortet: Walter Roberson am 6 Jun. 2015
Does ind2rgb returns the original color image?First I used rgb2int.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 6 Jun. 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.

Weitere Antworten (0)

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by