navigate.model.analysis.camera.compute_signal_to_noise
- navigate.model.analysis.camera.compute_signal_to_noise(image, offset_map, variance_map)
Compute the signal-to-noise ratio of an image from offset and variance maps.
- Parameters:
image (np.array) – ZYX image of camera frames.
offset_map (np.array) – XY image of camera offset in the absence of signal.
variance_map (np.array) – XY image of camera variance in the absence of signal.
- Returns:
snr – XY image of signal-to-noise ratio.
- Return type:
np.array