colour_hdri.g_solve#

colour_hdri.g_solve(Z: ArrayLike, B: ArrayLike, l_s: float = 30, w: Callable = weighting_function_Debevec1997, n: int = 256) Tuple[NDArrayFloat, NDArrayFloat][source]#

Given a set of pixel values observed for several pixels in several images with different exposure times, this function returns the imaging system’s response function \(g\) as well as the log film irradiance values \(lE\) for the observed pixels.

Parameters:
  • Z (ArrayLike) – Set of pixel values observed for several pixels in several images.

  • B (ArrayLike) – Log \(\Delta t\), or log shutter speed for images.

  • l_s (float) – \(\lambda\) smoothing term.

  • w (Callable) – Weighting function \(w\).

  • n (int) – \(n\) constant.

Returns:

Camera response functions \(g(z)\) and log film irradiance values \(lE\).

Return type:

tuple

References

[DM97]