Does ind2rgb returns the original color image?
2 views (last 30 days)
Show older comments
Does ind2rgb returns the original color image?First I used rgb2int.
0 Comments
Accepted Answer
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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!