Does ind2rgb returns the original color image?

 Accepted Answer

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

Community Treasure Hunt

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

Start Hunting!