Does ind2rgb returns the original color image?

1 view (last 30 days)
Does ind2rgb returns the original color image?First I used rgb2int.

Accepted Answer

Walter Roberson
Walter Roberson on 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.

More Answers (0)

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!