This is cool, but I wonder why most of the demo images - and a lot of the images I uploaded - seem to have their colors aligned in a single plane.
In the example images, the sand in the sand+sky picture is the only thing this is really true for.
11–20 of 78 posts
This is cool, but I wonder why most of the demo images - and a lot of the images I uploaded - seem to have their colors aligned in a single plane.
In the example images, the sand in the sand+sky picture is the only thing this is really true for.
Would it be possible to make a human recognizable 3D-object in the colorspace that also is a pretty picture in 2D?
Now I would pose another question: would it be possible to make a human-recognizable 3D-object in all the four color spaces that is also a pretty picture in 2D?
Would it be possible to make a human recognizable 3D-object in the colorspace that also is a pretty picture in 2D?
This is cool, but I wonder why most of the demo images - and a lot of the images I uploaded - seem to have their colors aligned in a single plane.
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.
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.
This is cool, but I wonder why most of the demo images - and a lot of the images I uploaded - seem to have their colors aligned in a single plane.
Another way to explain why a cylinder is only good for representing two dimensions is simply that a circle asserts that length(x) == width(y) leaving only 2 values represented by a cylinder: (x,y) and z.
Thank you for including both HSV and HSL. Not enough people appear to understand/care about the difference between the two, and for painters the distinction is everything.
Here is a shameless plug for one of my color extracting library: https://github.com/jathu/UIImageColors/
It currently takes around ~0.3s on average to extract the colors. However, with my new PR (https://github.com/jathu/UIImageColors/pull/54), it takes around ~0.14s on average. IMO this is still slow, I would like to bring it below 0.1s.
I tried to optimize this with k-means to reduce total number of colors, but the result was slower and worse color choices. If anyone has methods to improve the performance, please make a PR.
I'm not sure if they are mapping every single pixel or using some average pixels, but it's pretty fast. Here is a shameless plug for one of my color extracting library: https://github.com/jathu/UIImageColors/ It currently takes around ~0.3s on average to extract the colors. However, with my new PR ( https://github.com/jathu/UIImageColors/pull/54 ), it takes around ~0.14s on average. IMO this is still slow, I would li…
This is really cool! I'm a painter and have spent a long time doing gamut analysis of paintings. Thank you for including both HSV and HSL. Not enough people appear to understand/care about the difference between the two, and for painters the distinction is everything .