 When the shutter is pressed the last 5–15 frames are analysed to pick the sharpest shots (using lucky imaging), which are selectively aligned and combined with image averaging.HDR+ also uses Semantic Segmentation to detect faces to brighten using synthetic fill flash, and darken and denoise skies.HDR+ also reduces noise and improves colors, while avoiding blowing out highlights and motion blur.