News for hackers. Stuff that matters.
Re:3D scatterplot of an image by abainbridge on Friday December 15, 2017 @08:25AM (#15931602)
Yeah, 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-...

and

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.

Re:3D scatterplot of an image by thomasahle on Friday December 15, 2017 @10:29AM (#15932443)
Finding the first primary component also appears to be a pretty good way greyscale an image.