Scott A. Bollt, Samuel H. Foxman, and Morteza Gharib
RapidPIV 1.0, Linux x86_64 (glibc 2.35+)
libnvidia-opticalflow.so library. It is possible to have the Nvidia driver installed, but not have this library, depending how your distribution packages the Nvidia driver. On Ubuntu, sudo apt install nvidia-driver-550 installs the optical flow library.read image files (.png, .jpg, .tiff, etc) from a directory. Images are automatically sorted based on numbers found within the file names.
Defaults options should work well; however, there are many settings available.
Under the "Saving" tab, select the output folder where you want to save results. Under "Fields", choose whether to save images and/or vector fields. Once started, results will be saved to the output folder, with one .mat per frame.
RapidPIV can be run from the command line with the following options:
-h, --help: shows help message and exits-v, --version: prints version information and exits--nogui: Disable GUI--gpu: CUDA GPU index [nargs=0..1] [default: 0]--list-gpus: Print available CUDA GPUs and exit--output: Output directory to save flow vector .mat files--output-processed-vecs: Save processed vectors to output files--output-raw-vecs: Save raw vectors from the Nvidia Optical Flow Accelerator to output files--output-processed-images: Save preprocessed images to output files--output-raw-images: Save raw input images (without preprocessing) to output files--output-vorticity: Save vorticity of processed velocity fields to output files--output-no-compression: Disable .mat file zlib compression--json-stats: Print JSON statistics object to stdout at end of program--files: Input directory with image files, which is automatically sorted alphabetically and by number--files-loop: Repeat images files from beginning when finished--files-preload: Preload image files into CPU ram--files-offset: Skip first n frames--files-count: Stop after n frames--camera: Use camera as input source. Optionally specify camera index if there are multiple.--list-cameras: Print available cameras and exit--block-size: NVidia Optical Flow Block Size [nargs=0..1] [default: 4]--pairs: Images come in A/B pairs, from a double-pulsed laser, as opposed to a continuous video stream.--pairs-offset: Offset A/B pairs by one frame--high-pass: Enable high pass filter with gaussian kernel size in pixels.
--clahe: Enable CLAHE--clahe-clip-limit: Limit amplificiation in areas with low contrast by redistributing probability density above a threshold [nargs=0..1] [default: 2]--clahe-grid-size: Divide input image into NxM rectangular tiles normalized separately before smoothing [nargs=0..2] [default: {8 8}]--disable-post-process: turn off postprocessing steps