decode_context_times

romanisim.util.decode_context_times(context, exptimes)

Get 0-based indices of input images that contributed to (resampled) output pixel with coordinates x and y.

Parameters:
context: numpy.ndarray

A 3D numpy.ndarray of integral data type.

exptimes: list of floats

Exposure times for each component image.

Returns:
total_exptimesnumpy.ndarray

A 2D array of total exposure time for each pixel.