I want to know how the number of colors are calculated in the following post:
How to reduce the number of colors in an image with OpenCV?
Liho has mentioned 27 and 125 colors in his comment. Please explain how he got these values. Thanks
I want to know how the number of colors are calculated in the following post:
How to reduce the number of colors in an image with OpenCV?
Liho has mentioned 27 and 125 colors in his comment. Please explain how he got these values. Thanks
Well its quite easy actually.
27 Colors - 3 Posibilities
3*3*3 = 27
125 Colors - 5 Possibilities
5*5*5 = 125