Vignette and Exposure Calibration and Compensation

Vignette and Exposure Calibration and Compensation

Vignette and Exposure Calibration and Compensation Dan B Goldman and Jiun-Hung Chen University of Washington Figure 1 On the left, a panoramic sequence of images showing vignetting artifacts. Note the change in brightness at the edge of each image. Although the effect is visually subtle, this brightness change corresponds to a 20% drop in image intensity from the center to the corner of each image. On the right, the same sequence after vignetting is removed. Abstract stereo correlation and optical flow. Yet despite its occur- rence in essentially all photographed images, and its detri- We discuss calibration and removal of “vignetting” (ra- mental effect on these algorithms and systems, relatively dial falloff) and exposure (gain) variations from sequences little attention has been paid to calibrating and correcting of images. Unique solutions for vignetting, exposure and vignette artifacts. scene radiances are possible when the response curve is As we demonstrate, vignetting can be corrected easily known. When the response curve is unknown, an exponen- using sequences of natural images without special calibra- tial ambiguity prevents us from recovering these parameters tion objects or lighting. Our approach can be used even uniquely. However, the vignetting and exposure variations for existing panoramic image sequences in which nothing is can nonetheless be removed from the images without resolv- known about the camera. Figure 1 shows a series of aligned ing this ambiguity. Applications include panoramic image images, exhibiting noticeable brightness change along the mosaics, photometry for material reconstruction, image- boundaries of the images, even though the exposure of each based rendering, and preprocessing for correlation-based image is identical. On the right, the same series of images vision algorithms. is shown with vignetting removed using our algorithm. The sources of vignetting can be classified according to 1. Introduction the following four sources:1 Photographed images generally exhibit a radial falloff of in- Natural vignetting refers to radial falloff due to geomet- tensity from the center of the image. This effect is known ric optics: Different regions of the image plane receive dif- as “vignetting”. Although lens manufacturers attempt to de- ferent irradiance (see Figure 2). For simple lenses, these ef- sign their lenses so as to minimize the effects of vignetting, fects are sometimes modeled as a falloff of cos4(θ), where it is still present to some degree in all lenses, and can be θ is the angle at which the light exits from the rear of the quite severe for some aperture and focal length settings. We lens. Note that in all lenses, the distance from the exit have found that at their maximum aperture settings, even pupil to the image plane changes when the focus distance is high-quality fixed focal length lenses transmit 30% to 40% changed, so this component varies with focus distance. The less light at the corners of an image than at its center. Zoom cos4 law is only an approximation, which does not model lenses and wideangle lenses for rangefinder cameras can ex- real cameras and lenses well [24]. hibit even more severe vignetting artifacts. Pixel vignetting refers to radial falloff due to the angular Vignetting presents problems for a wide variety of appli- sensitivity of digital optics. This type of vignetting – which cations. It affects graphics applications in which sequences affects only digital cameras – is due to the finite depth of the of images are combined or blended, such as image-based photon wells in digital sensors, which causes light striking rendering, texture projection and panoramic image mosaics; a photon well at a steeper angle to be partially occluded by measurement applications in which radiometric quantities the sides of the well. are estimated from images, such as material or lighting es- 1We have used the terminology of Ray [20] and van Walree [24], but timation; and vision applications in which brightness con- the definition of pixel vignetting is taken from Wikipedia [25], which uses stancy is assumed for recovering scene structure, such as a slightly different classification of the other types. θ 4 Figure 2 Illustration of the cos law. Points at the edge of Figure 4 The corners of the left image are blocked by a hood the image plane receive less light than points at the center, due that is too long for the lens, as shown on the right. The lens to inverse square falloff, Lambert’s law, and foreshortening of is a Carl Zeiss Distagon 2/28, diagram by Mikhail Konovalov the exit pupil. Carl Zeiss Planar 1.4/50 diagram by Mikhail c Paul van Walree. Konovalov c Paul van Walree. 2. Related Work Existing techniques for calibrating the vignetting effect typ- ically require special equipment or lighting conditions. For example, Stumpfel et al. [22] acquire numerous images of a known illuminant at different locations in the image field and fit a polynomial to the acquired irradiances. In as- tronomy, related techniques are known as flat-field correc- tion [17]. Kang and Weiss [13] have explored calibrating camera intrinsics using a simplified model of the vignetting Figure 3 Left: image of a wall at f/1.4. Middle: same wall effect, albeit with limited success. at f/5.6, showing that optical vignetting decreases with aperture Other researchers have simply attempted to detect vi- size. Right: the shape of the entrance pupil varies with both the gnettes [18], but do not attempt to model their form or cor- aperture (x axis) and the angle of incidence (y axis). The white openings correspond to the clear aperture for light that reaches rect their effects. the image plane. c Paul van Walree. Schechner and Nayar [21] utilized a spatially varying fil- ter on a rotating camera to capture high dynamic range in- Optical vignetting refers to radial falloff due to light tensity values. They calibrate this artificially-constructed paths blocked inside the lens body by the lens diaphragm. It spatial variation – which they call “intended vignetting” – is also known as artificial or physical vignetting. This is eas- using a linear least-squares fit. Our methods are a general- ily observed by the changing shape of the clear aperture of ization of this approach in which exposures may vary be- the lens as it is viewed from different angles (see Figure 3), tween frames, and the response curve is not known in ad- which reduces the amount of light reaching the image plane. vance. The effects of gain variation are widely known in the mo- Optical vignetting is a function of aperture width: It can 4 be reduced by stopping down the aperture, since a smaller tion estimation literature. Altunbasak [3] uses a simple cos aperture limits light paths equally at the center and edges of model of vignetting to compensate for spatial and temporal frame. gain variation across an image sequence with known cam- Some lens manufacturers [26] provide relative illumi- era response. Candocia [6] developed a method to compen- nance charts that describe the compound effects of natural sate for temporal exposure variation under unknown cam- and optical vignetting for a fixed setting of each lens. era response, without reconstructing the absolute response Mechanical vignetting refers to radial falloff due to or intensity values. More recently, Jia and Tang [12] have certain light paths becoming blocked by other camera el- described a tensor voting scheme for correcting images with ements, generally filters or hoods attached to the front of both global (gain) and local (vignetting) intensity variation. the lens body (see Figure 4). Concurrent with our research, Litvinov and Schech- In the remainder of this work we will use the term “vi- ner [15, 16] have developed an alternate solution to the same gnetting” to refer to radial falloff from any of these sources. problem. Their approach applies a linear least squares so- Because vignetting has many causes, it is difficult to pre- lution in the log domain, using regularization in order to dict the extent of vignetting for a given lens and settings. constrain response and spatial variation, as opposed to our But, in general, vignetting increases with aperture and de- use of parametric models. creases with focal length. We have observed that the effect is often more visually prominent in film images than in dig- 3. Model and Assumptions ital images, probably due to the larger film plane and the We will assume that the vignetting is radially symmetric steeper response curve. about the center of the image, so that the falloff can be pa- rameterized by radius r. We define the vignetting function, as the “reference” frame such that t0 = 1. Our approach to denoted M(r), such that M(0) = 1 at the center. minimizing Equation 2 is discussed in Section 6. We also assume that in a given sequence of images, vi- Schechner and Nayar [21] solved a linear version of this gnetting is the same in each image. On SLR cameras this objective function, in which the response curve is inverted can be ensured by shooting in Manual or Aperture Priority and the probability distribution of the recovered intensity is mode, with a fixed focal length and focus distance, so that modeled as a Gaussian. Our approach differs mainly for the geometry of the lens remains fixed over all frames. saturated or nearly saturated pixels: In the linear approach, We will also assume that the exiting radiance of a given the covariance of the Gaussian becomes infinite and these scene point in the direction of the camera is the same for pixels are effectively discarded in the optimization. In con- each image. This assumption will hold for all Lamber- strast, our approach retains saturated pixels as useful infor- tian scenes under fixed illumination, in which the radi- mation, because they constrain the incoming radiance to be ance is constant over all directions.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    8 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us