1. Introduction
Professional photographers generally invest time post-processing the appearance of the sky, as it significantly affects how humans perceive the photograph’s time of day, and the relative appearance of the non-sky foreground of the scene. Photographers will often manually segment the sky and use that segmentation to adjust the sky’s brightness, contrast, color, and noise properties. This editing is particularly necessary in night-time scenes, wherein the camera receives little light and therefore produces images with significant noise. Noise in the sky can look particularly unattractive and noticeable because the sky is typically textureless. Additionally, night-time scenes may contain a foreground that is illuminated by a nearby light source, while the sky is illuminated by scattered sunlight or by distant terrestrial lights reflected off of clouds. This means that the standard practice of using a single illuminant estimate for white balance [1] is physically incorrect, and results in an unnatural tint of either the sky or of the foreground. This motivates our use of sky segmentation for performing spatially-varying white balance, which ameliorates this issue.