Hugin Exposure tab
hugin has a brightness and colour correction system which is completely independent of the old PTStitcher tool. This improved system is only available with the default nona stitching tool in the hugin Stitcher tab.
The hugin system works by sampling a spread of points for each pair of overlapping images. The optimiser then tries to model a system of camera response curve, exposure, white balance and vignetting that fits the values of these points.
So for this to work, the photos in the project have to be already aligned. Align photos by managing control points in the hugin Control Points tab and optimising geometric image parameters in the hugin Optimizer tab.
Use the Optimize Preset combo box to pick one of several pre-set photometric optimisation schemes, then click the Optimize now! button to calculate the best available brightness and colour adjustments.
Low dynamic range
The exposures for all images (except for the anchor image determined by selecting Anchor this image for exposure in the hugin Images tab) are optimised (TODO actually the anchor is too?). Though by default all images with the same lens number are assumed by hugin to have the same exposure, so if you actually want to optimise exposure separately for each photo, then uncheck Link for Exposure (EV) in the hugin Camera and Lens tab.
Low dynamic range, variable white balance
Similarly to above, the exposures and white balance is optimised for all images except the anchor. By default all images with the same lens number are assumed by hugin to have the same exposure and white balance, so uncheck Link for Exposure (EV), Red multiplier and Blue multiplier in the hugin Camera and Lens tab.
High dynamic range, fixed exposure
High dynamic range, variable white balance, fixed exposure
Custom parameters below
Camera and Lens variables
The Camera and Lens variables are the photometric analog of the geometric lens correction model, hugin assumes that all input photos with the same lens number have identical values unless they are unlinked in the hugin Camera and Lens tab.
Vignetting is dependent mainly on your lens and the aperture. Usually the centre of the image is brighter with a falloff towards the edges, hugin can calculate this falloff curve as part of the photometric optimisation process or you can enter it manually in the hugin Camera and Lens tab as the three numbers shown here.
The centre of vignetting is rarely the exact centre of the photo, hugin can optimise this position or you can enter it manually in the hugin Camera and Lens tab. The scale is in pixels, with 0,0 indicating the centre of the photo (TODO is this relative to the d & e parameters?)
hugin can optimise the camera response curve by comparing differences between overlapping images. To do this your photos need to either have significant vignetting or have variable exposure. If your photos have perfectly even exposure and zero vignetting, then you would have to calibrate the camera response separately and then enter it manually in the hugin Camera and Lens tab.
The camera response curve is used both for mapping the images to a linear colourspace when creating HDR output, and for normalising the colourspace for internal vignetting, brightness and colour corrections when creating 'normal' LDR output. If your pictures don't require such corrections then you don't really need a calibrated response curve.
Hugin uses the EMoR response model from the Computer Vision Lab at Columbia University which simplifies the full response curve to five empirical coefficient numbers.