colour_hdri.camera_response_functions_Debevec1997

colour_hdri.camera_response_functions_Debevec1997(image_stack, s=<function samples_Grossberg2003>, samples=1000, l_s=30, w=<function weighting_function_Debevec1997>, n=256, normalise=True)[source]

Returns the camera response functions for given image stack using Debevec (1997) method.

Image channels are sampled with \(s\) sampling function and the output samples are passed to colour_hdri.g_solve().

Parameters:
  • image_stack (colour_hdri.ImageStack) – Stack of single channel or multi-channel floating point images.
  • s (callable, optional) – Sampling function \(s\).
  • samples (int, optional) – Samples count per images.
  • l_s (numeric, optional) – \(\lambda\) smoothing term.
  • w (callable, optional) – Weighting function \(w\).
  • n (int, optional) – \(n\) constant.
  • normalise (bool, optional) – Enables the camera response functions normalisation. Uncertain camera response functions values resulting from \(w\) function are set to zero.
Returns:

Camera response functions \(g(z)\).

Return type:

ndarray

References

[DM97]