Skin recoloring keeps shading stable while adjusting pigment
The Skin-Restricted Reinhard Transform:Uniqueness under a Lightness-Preserving Constraint
Computer Vision and Pattern Recognition
Summary
Changing the color of skin tones in photos often ends up messing with how light and shadow appear. The authors found a way to change the color pigment while preserving the natural shading. They developed a special math method that adjusts colors without flattening the lightness differences. This means skin recoloring looks more natural and realistic in images. Their method works better at keeping lightness consistent than other common approaches.
What this means in practice
- •For photo editing software developers: Implement skin recoloring features that preserve natural lightness contrast while changing pigment colors.$Commercial implications: Enables photo editing apps to offer better skin tone adjustments without unnatural shading, improving product value for photographers and consumers.
- •For digital artists and graphic designers: Use the method to recolor skin in images without losing realistic shadow and highlight details.
Authors
Vijesh KP
Abstract
Catalog skin recolouring has to change pigment and leave shading alone. The classical Reinhard map does not make that split: it rescales lightness by the ratio of standard deviations, and a flat reference swatch therefore flattens the limb. This paper formalises the correction used in our pipeline, the skin-restricted Reinhard transform. It is the diagonal affine map in CIE Lab that translates lightness, matches the chromatic mean, and clamps the chromatic gain to [0.72, 1.18], with moments taken on the central 84% of each channel. A diagonal affine map has six real parameters. The shading constraint forces the lightness gain to +1 and the lightness shift to the difference of means; one-dimensional quadratic optimal transport on each chromatic axis, followed by Euclidean projection onto the gain interval, fixes the other four. Inside that family the four conditions determine every parameter. The content of the result is the forced lightness gain; it is not a uniqueness claim outside the diagonal affine class. For Gaussian marginals the chromatic step is not merely the best affine map: it is the unrestricted Wasserstein-2 map. The same formulae with trimmed moments remain optimal because a positive affine image commutes with quantile trimming. On hands, arms, legs, and feet of nine photographs and three reference tones, the map keeps the lightness contrast ratio at 0.974 +/- 0.029 with chromatic error 0.77 CIE Lab units. Reinhard matching, the linear Monge map, and histogram matching reach a smaller chromatic error only by cutting lightness contrast to about half.