forward_color_cassi
- colibri.optics.functional.forward_color_cassi(x, ca)[source]
Forward operator of color coded aperture snapshot spectral imager (Color-CASSI)
For more information refer to: Colored Coded Aperture Design by Concentration of Measure in Compressive Spectral Imaging https://doi.org/10.1109/TIP.2014.2310125
- Parameters:
x (torch.Tensor) – Spectral image with shape (B, L, M, N)
ca (torch.Tensor) – Coded aperture with shape (1, L, M, N)
- Returns:
Measurement with shape (B, 1, M, N + L - 1)
- Return type:
torch.Tensor