Live data from Hacker News

Show HN: Simple algorithm and color space to generate diverse skin tones

toneyalexander.github.io

121–129 of 129 posts

Re: Show HN: Simple algorithm and color space to generate diverse skin tones

#121
This seems to do XYZ->RGB without any gamma correction. XYZ is linear, as is the transform to RGB, so we usually convert linear RGB to (gamma-encoded) sRGB at the end.

The JS code seems to output linear RGB directly to the webpage (missing gamma). I guess the difficulty with "adding gamma" to it is this: if the training data were also gamma encoded, then it might need to be refit with linear values.

Re: Show HN: Simple algorithm and color space to generate diverse skin tones

#122
post #113
post #72

> What colors are we? The short answer is maybe something like “brown” and the long answer is very, very long. Pete Shirley (author of Ray Tracing In One Weekend) is also a part time color scientist, and he clued me into the fact that if you crank the saturation to 100% of pictures of people of any race, the skin color comes out orange. I think I heard that some face detectors may work on this principle, but I don’t…

[flagged]

People of different ethnicities can differ by something as minor as just language and language-related culture, such as for example Czechs vs. Germans. So surely ethnicity is not the applicable term here.

Re: Show HN: Simple algorithm and color space to generate diverse skin tones

#126

This is beautiful work! First, I thought this would involve using PCA to go from 3D to 2D, which would result in an easier selector to use, but at the expense of representing every person. Then, I thought this would stop at using the U-space vectors (the ones that form the basis of the PCA image) and their corresponding ellipse to form our color space, but no, the function fitting is a very slick idea, even if it was…

If you look at my doctoral thesis, in fact skin colour can be parametrised using melanin and haemoglobin concentration; which it means it is indeed (roughly) two dimensional. This allows you to invert the colour of a pixel and identify someone’s chromophore concentration. This is based on previous work of others cited in the thesis. https://discovery.ucl.ac.uk/id/eprint/10093345/

Not in dr_scully’s reply is that his thesis says haemoglobin is not static. Blood flow to the skin can vary over time.

Re: Show HN: Simple algorithm and color space to generate diverse skin tones

#127

Earlier quoted context omitted.

> People only turn yellow if they have kidney or liver damage. This is not true. Roughly 5% of people have Gilbert's Syndrome which is genetic, metabolic abnormality where the bilirubin from dead blood cells are conjugated slower than the baseline patient leading to yellowing of the skin. It is not due to liver damage or disease and is a benign condition. Not to mention there is carotenemia from eating too many carro…

Gilbert's is a liver disease... https://my.clevelandclinic.org/health/diseases/17661-gilbert...

[dead]
Post reply on HN