colour_hdri.camera_response_functions_Debevec1997#
- colour_hdri.camera_response_functions_Debevec1997(image_stack: ImageStack, sampling_function: Callable = samples_Grossberg2003, sampling_function_kwargs: Dict | None = None, weighting_function: Callable = weighting_function_Debevec1997, weighting_function_kwargs: Dict | None = None, extrapolating_function: Callable = extrapolating_function_polynomial, extrapolating_function_kwargs: Dict | None = None, l_s: float = 30, n: int = 256, normalise: bool = True) NDArrayFloat [source]#
Return 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 (ImageStack) – Stack of single channel or multi-channel floating point images.
sampling_function (Callable) – Sampling function \(s\).
sampling_function_kwargs (Dict | None) – Arguments to use when calling the sampling function.
weighting_function (Callable) – Weighting function \(w\).
weighting_function_kwargs (Dict | None) – Arguments to use when calling the weighting function.
extrapolating_function (Callable) – Extrapolating function used to handle zero-weighted data.
extrapolating_function_kwargs (Dict | None) – Arguments to use when calling the extrapolating function.
l_s (float) – \(\lambda\) smoothing term.
n (int) – \(n\) constant.
normalise (bool) – Enables the camera response functions normalisation.
- Returns:
Camera response functions \(g(z)\).
- Return type:
References
[DM97]