ideal_panchromatic_sensor
- colibri.optics.functional.ideal_panchromatic_sensor(image)[source]
Simulate the response of an ideal panchromatic sensor by averaging the spectral channels.
\[I = \frac{1}{L} \sum_{\lambda} I_{\lambda}\]where \(I_{\lambda}\) is the intensity at each wavelength, and \(L\) is the number of spectral channels.
- Parameters:
image (torch.Tensor) – Multispectral image tensor (B, L, M, N).
- Returns:
Simulated sensor output as measurement (B, 1, M, N).
- Return type:
torch.Tensor
Examples using ideal_panchromatic_sensor
:
Demo DOEs.