3 ms·
Hmm, I guess someone would have thought of that, but this could probably be used for compressing images by reorienting the color axes so that one of them is per
by akrasuski1 9y ago
Hmm, I guess someone would have thought of that, but this could probably be used for compressing images by reorienting the color axes so that one of them is perpendicular to this color plane, and then sending less information about that coordinate.
- iainmerrick 9y agohttps://en.wikipedia.org/wiki/YUV https://en.wikipedia.org/wiki/YUV
- abainbridge 9y agoYeah, you can use principle component analysis to figure out the transform to make the colour space "optimal" for compression of a specific image. I tried that once: https://bainbridgecode.wordpress.com/2012/04/24/beating-png-part-2/ https://bainbridgecode.wordpress.com/2012/04/24/beating-png-... and https://bainbridgecode.wordpress.com/2012/05/07/beating-png-part-3-remembering-a-level-maths/ https://bainbridgecode.wordpress.com/2012/05/07/beating-png-... There are plots at the end of part 3 showing the image channels separately for YCrCb and my custom PCA derived space. They clearly show that there's a lot less duplication of data between channels with the latter. And that in turn is obviously good for compression.
- thomasahle 9y agoFinding the first primary component also appears to be a pretty good way greyscale an image.