Choose your language

ImagR

Color Correction

Automatic shadow/highlight correction in YUV color space. Lifts crushed shadows using an inverse power curve while preserving local contrast via spatial luminance averaging.

color correction shadows highlights yuv tone mapping recovery

Drop your image here

or click to browse

PNG, JPG, WEBP up to 50 MB

Everything you need to know about Color Correction

Automatic shadow/highlight correction in YUV color space. Lifts crushed shadows using an inverse power curve while preserving local contrast via spatial luminance averaging. One click, no parameters.

How It Works

For each pixel, samples a 5×5 grid (~30px radius) to compute local average luminance. The shadow mask is derived from this average (not per-pixel), so all pixels in a dark region receive similar treatment – preserving fine detail like hair texture and eye definition. A power-curve LUT (1−(1−Y)2.8) lifts the actual pixel luminance, weighted by the region-based mask.