home | download | howto | module docs | git

hilite: highlight reconstruction for raw images

this module supports inpainting of clipped channels of raw images. it works only for raw images, and on raw data. a kind of wavelet pyramid is used to obtain the inpainted colour, trying to keep colour ratios smoothly varying.

parameters

technical

reconstruction runs in two steps: blur and combine.

the blur is clipping aware, i.e. it disregards clipped pixels and renormalises results to include only unclipped pixel values.

recombination then takes the original image and the blurred result as input images. it rescales the blurred version in brightness to match any potentially available unclipped pixels.

gauss pyramid:

recombine:

this is done by reduce.comp and assemble.comp. the last step, going from xtrans/bayer to rgb image is done in a halfsize scaling kernel half.comp/doub.comp

April 2024