API Reference#
This section contains the complete API reference for PyFlowReg, automatically generated from docstrings.
High-Level APIs#
High-level functions for applying motion correction to videos and arrays.
compensate_arr()- Array-based workflowcompensate_recording()- File-based workflowFlowRegLive- Real-time processingOFOptions- Configuration system
Multi-recording session processing with inter-sequence alignment.
SessionConfig- Session configurationrun_stage1()- Per-recording correctionrun_stage2()- Inter-sequence alignmentrun_stage3()- Valid mask computation
Low-level optical flow computation engine.
get_displacement()- Main optical flow APIcompute_flow()- Pyramid level solverWarping utilities
Motion tensor computation
Utilities#
File format readers and writers.
HDF5, TIFF, MAT, MDF support
Multi-file handling
VideoReader/VideoWriter interface
Image processing utilities.
Pyramid resizing
Gaussian filtering
Cross-correlation pre-alignment
Visualization tools