The Skin-Restricted Reinhard Transform:Uniqueness under a Lightness-Preserving Constraint
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.
Create a lesson
Metadata
- Comments
- Code: https://github.com/vijeshkpaei/skin-restricted-reinhard-transform
Related papers
High-Fidelity Image Matting with Pixel-Space Diffusion Transformers
Shared title terminologycs.CVBaihan Yang, Xin Lin, Yufan Wei et al.
Focus Only on What's Important: Training-Free Focus Maps for Frozen Vision Transformers in Long-Video Object Segmentation
Shared title terminologycs.CVHarsha Karipineni, Rajesh Reddy Chintha
Semantic State Reading for Joint Image-Semantic Diffusion Transformers
Shared title terminologycs.CVGuanxi Lai, Zixuan Li, Zhiwei Li et al.
Loop4D: Embodied World Modeling with 4D VAEs and Looped Diffusion Transformers
Shared title terminologycs.CVGen Li, Fan Luo, Mengjun Lin et al.
CCRV-Bench: Constraint-Based Evaluation of Causal Reasoning in Vision-Language Models
Shared title terminologycs.CVLinyuan Gao, Yuan Wu, Yi Chang
IDM-Net: A Lightweight Illumination-Decoupled Modulation Network for Low-Light Image Enhancement
Shared title terminologycs.CVCheng-Yen Hsiao, Jing-Ming Guo