<<

Radiometric alignment and vignetting calibration

Pablo d'Angelo University of Bielefeld Overview

● Motivation

● Image formation

● Vignetting and estimation

● Results

● Summary

Pablo d'Angelo CCMVS 2007 Motivation

● Determination of vignetting and exposure ● Traditional approach – Flatfield + response calibration in the lab ● Simpler: use overlapping images

● Applications – Spatial & photometric mosaicing – Recovery of scene radiance, required for radiometric reconstruction methods (Shape from Shading, Photoconsitency)

Pablo d'Angelo CCMVS 2007 Image formation

W W Radiance L in[ 2 ] [ ] sr m Irradiance I in m2  ● k value Image irradiance: I = 2 M L k M vignetting function ● Natural vignetting: M =cos4 

Pablo d'Angelo CCMVS 2007 Image formation

Integration stI 

Pixel values Bi

W W Camera response in [colour levels] Irradiance I [ 2 ] Radiance L[ 2 ] m sr m f w eML in image plane i  ● e=st 2 effective exposure Integration on sensor k ● Used model M vignetting function wi white balance factor i channel number k aperture value Bi= f wi eML s camera sensitivity t integration time

Pablo d'Angelo CCMVS 2007 Natural vignetting

● Light falloff due to – Apparent area of , cos(b) – Larger effective area on film, cos(b) –

Larger distance to image corner, r

2 o

cos (b) s n e S ● Natural vignetting not reduced by

are complicated, cos4 does not apply for many designs © Paul van Walree

Pablo d'Angelo CCMVS 2007 Optical vignetting

shaded by barrel

● Optical vignetting depends on aperture

f 1.4 f 5.6 © Paul van Walree

Pablo d'Angelo CCMVS 2007 Mechanical vignetting

● Light is blocked by , or other objects

● Results in unrecoverable vignetting

© Paul van Walree

Pablo d'Angelo CCMVS 2007 Vignetting of a real lens Flatfield image

● Image of a homogeneous white surface

● Observation – Radial falloff – Not centred

Image by Goldman and Chen (2005) Contrast enhanced and quantized for better visibility on a beamer

Pablo d'Angelo CCMVS 2007 Modelling vignetting

● Non-Parametric models – Flatfield image ● accurate ● acquisition cumbersome

● Parametric models –

Radial polynomial model e c n a i d a r r

6 4 2 i

e v

=    i M r r r 1 t a

1 2 3 l e r – Allow center shift c

Pablo d'Angelo CCMVS 2007 Modelling the camera response

● Non-Parametric – Can model all shapes – Dense data required

● Parametric – Polynomial ● Less parameters ● Dense data required – PCA basis of 201 response functions (Grossberg, Nayar) ● First 3 Eigenresponses describe all 201 functions well. ● Strong model, can be used with sparse data

Pablo d'Angelo CCMVS 2007 Grey value transfer function

● Scene points imaged in registered images

● Joint histogram L =L – cannot model vignetting 1 2 B2  ● Gray value transfer function e M x  f −1 B  B = B = f  1 1 2  1 2 e2 M x2

B1

Pablo d'Angelo CCMVS 2007 Estimation using corresponding points

● Estimation of the transfer function by minimising

et=d  B1− B2

● Other approaches (Goldman 05) – Alternating minimisation steps of

e=∑ j d B j− f e M L j  L1=L2 for L and e,M,f – Large number of variables – Slow convergence d distance metric

Pablo d'Angelo CCMVS 2007 Estimation using corresponding points

● Estimation of the transfer function by minimising

et=d  B1− B2

● Symmetric transfer error:

es=d B1− B2d B2− B1

● Minimising e using a set of (B ,B ) measurements s 1 2 yields – Exposure, vignetting, white balance – Camera response d distance metric

Pablo d'Angelo CCMVS 2007 The exponential ambiguity

● Simultaneous estimation of exposure and camera response subject to exponential ambiguity

● Calibration and Radiometry – Either camera response or exposure need to be known

● Removal of exposure, vignetting and WB differences – Find any solution, correct images – Use inverse response to transform into original grey value space

Pablo d'Angelo CCMVS 2007 Extraction of corresponding points

● Avoid outliers due to misregistration – Extract points in low gradient areas ● Need points at all radii r – Bin points by distance from image centre – Select points with lowest gradients

B2 B2

I 1 I 2 B all 1 extracted B1 correspondences correspondences

Pablo d'Angelo CCMVS 2007 Evaluation Synthetic example

● Simulated panorama with 6 overlapping images – Gaussian noise (2 grey values), quantisation, outliers – Estimate vignetting and exposure, analyse error to ground truth

10% outliers

300 points

Pablo d'Angelo CCMVS 2007 Venice Vignetting correction

Pablo d'Angelo CCMVS 2007 Green Lake Vignetting, exposure and WB correction

Original images

Corrected images

Pablo d'Angelo CCMVS 2007 Green Lake Results Goldman & Chen

proposed method

Goldman & Chen

Pablo d'Angelo CCMVS 2007 Spherical panorama Original images

Pablo d'Angelo CCMVS 2007 Spherical panorama Vignetting, exposure and WB correction

Pablo d'Angelo CCMVS 2007 Summary and conclusion

● Estimation of radiometric camera parameters from overlapping images – exposure, vignetting, response curve, white balance – Robust approach, better results than previous methods – Compact parametrisation, fast estimation ● Applications – Radiometric calibration, estimation of scene radiance – Removal of photometric distortions from image mosaics

● Implemented in Hugin, http://hugin.sf.net

Pablo d'Angelo CCMVS 2007 Radiometric alignment and vignetting calibration

by Pablo d'Angelo

Pablo d'Angelo CCMVS 2007 Evaluation Image blending

Pablo d'Angelo CCMVS 2007