Portrait tool
Portrait Enhancer
Even out the skin in a photograph of a person, keep the eyes and hair sharp, and get a file back. Measured and restored in this tab — the photo is never uploaded.
1. Choose a portrait
A photo of a face, or a person from the shoulders up. Phone photos, scans of prints, and old family pictures all work. Light, colour, and tone are corrected automatically; the four settings below are for the retouch.
2. Compare and download
The comparison appears here once a portrait has been through it, sweeping between the original and the result. Click Original or Enhanced to hold either one.
What this does, and what it refuses to do
This is a separate tool from the Photo Enhancer, and the difference is the order of work. A whole-photo enhancer has to guess one setting for a face, a jumper, and a window. This one finds the skin-coloured, smooth parts of the frame first, treats those differently, and leaves the rest of the picture to its own sharper pass.
- Warm light stays warm. The pipeline reads the light off the frame's dominant neutral surface — a wall, a shirt, a white edge — and splits that surface into its shadows and its highlights. If the frame is warm, that warmth is the light the photo was made in, and the colour is left exactly as it arrived; correcting it is what makes a warm portrait come back cold. A cool cast is always corrected, because nothing is lit for blue. Two different lamps in one frame are not separated: a single gain cannot do it without cooling the photograph, and this tool would rather leave the warmth than invent a correction it cannot measure. Tone targets a mid-grey of 0.18 in linear light inside a dead band of a quarter, so a correctly exposed photo is left as it came — on the reference portrait the measured gain is 1.00 — and it never darkens a picture.
- Every number is measured on your photo. The blur width, the sensor noise, how much texture the skin already holds and how far apart its colours sit decide the strength of each stage. There is nothing to set: a sharp photograph is not sharpened at all, and a soft one gets the pass its own measurement supports — then the ring check takes back whatever it cannot carry.
- The face is found before anything is touched. The largest connected skin-coloured region is located and checked for shape, and the retouch is feathered out beyond it, so a wooden desk or a terracotta wall does not get treated as a face. The panel prints how much of the frame it found.
- Skin gets evened, not sanded. Colour is evened at two scales with a guided filter, so the line between cheek and hairline stays where the photo put it. Grain is removed per scale by wavelet shrinkage, which can tell the size of a blemish from the size of a pore, and it stops on its own at the grain floor the photo already has — the settings that used to live on this page are measured now, not asked.
- Blur is inverted with Richardson–Lucy, then sharpened per scale. The pipeline measures how wide the blur actually is, and above about half a pixel it runs a damped Richardson–Lucy deconvolution: damping keeps every iteration inside a bounded ratio, and no pixel is allowed to move more than a fifth of the local edge step, so a recovered edge cannot ring. Richardson–Lucy amplifies noise as hard as it amplifies detail, which is why the skin grain is removed first, on the wavelet bands, and why the deconvolution reaches 60 % as far into skin as it does into hair and lashes. A photo that is already sharp skips the step.
- The rest of the frame keeps its detail. Sharpening is a gated per-scale wavelet gain — a coefficient has to be bigger than that scale's own noise to be touched — so hair, lashes and jawlines gain contrast while flat background does not gain grain. Then the result is checked: the delivered pixels are measured for overshoot against the range their own neighbourhood had in the original photograph, and if more than 0.8 % of edge pixels ring, the sharpening is halved and redone. On the reference portrait that lands at edge detail up about 15 %, ringed pixels 0.7 % of edge pixels, flat-area noise up 13 %, skin texture −26 %.
- Highlights are held back. Foreheads and noses under a window are where a sharpener blows a photo out; the tone shoulder runs before the file is written. On the reference portrait the general enhancer clipped 382 pixels and this pipeline clipped none.
- It never invents a face. There is no face model on this page. It treats what is there; it does not redraw what isn't. Multi-frame super-resolution is not here either, for a plain reason: it needs several exposures of the same subject, and a visitor drops one photo on the page.
A photo with almost no skin in it gets the light and colour work but not the retouch, and the line under the result says so. Show what it treats draws the skin it found in green, so you can check the guess yourself instead of taking our word for it.
Larger photos are scaled down to 2,400 pixels on the long side before any work starts, so the result downloads at the size a screen needs rather than the size the camera recorded.
