Get projections and detrend
Description
Process session data by detrending and computing projections.
This function processes video session data by applying detrending, removing background noise, and calculating projections such as blood vessels, neuron activity, peak-to-noise ratio (PNR), and correlation images.
Function Inputs:
Parameter Name | Type | Description |
---|---|---|
Y | 3D array | Input video session data as a height x width x frames array. |
CaliAli_options | Structure | Configuration options for processing, details in CaliAli_demo_parameters(). |
Function Outputs:
Parameter Name | Type | Description |
---|---|---|
Y | 3D array | Detrended and background-corrected video data. |
p | Table | Table containing projections: mean image, blood vessels, neuron projection, PNR, and a fused BV-neuron image. |
R | Data range | Data range after detrending, used for normalization. |
CaliAli_options | Structure | Updated options structure after processing. |