CaliAli motion correction
CaliAli_motion_correction
Description
CaliAli_motion_correction: Perform rigid and non-rigid motion correction on video files.
This function applies motion correction to a set of input video files. It performs both rigid and non-rigid motion correction, interpolates dropped frames, squares borders, and saves the corrected video as a .mat file.
After motion correction, you can refine the region of interest with CaliAli_crop to remove static borders or unused regions before detrending and alignment.
Function Inputs:
| Parameter Name | Type | Description |
|---|---|---|
| varargin | Variable-length input argument list | Variable input arguments, which are parsed into CaliAli_options. |
Function Outputs:
| Parameter Name | Type | Description |
|---|---|---|
| CaliAli_options | Updated structure containing the motion correction parameters. | - |