Skip to main content
Have a personal or library account? Click to login
OpenOpticalFlow_PIV: An Open Source Program Integrating Optical Flow Method with Cross- Correlation Method for Particle Image Velocimetry Cover

OpenOpticalFlow_PIV: An Open Source Program Integrating Optical Flow Method with Cross- Correlation Method for Particle Image Velocimetry

By: Tianshu Liu and  David M. Salazar  
Open Access
|Feb 2021

Figures & Tables

Figure 1

Block diagram for the hybrid method.

Table 1

Inputs.

INPUT FILES AND PARAMETERSNOTATIONUNITNOTE
image pairIm1, Im2tif, bmp, jpeg etc.
Lagrange multiplierslambda_1 for the Horn-Schunck estimator
lambda_2 for the Liu-Shen estimator
regularization parameter in variational solution
Gaussian filter sizesize_filterpixelremoving random image noise
Gaussian filter sizesize_averagepixelcorrection for local illumination intensity change
scale factor for downsampling of original imagesscale_imreduction of initial image size in coarse-to-fine scheme
number of iterationsno_iterationiteration in coarse-to-fine scheme (≥ 1)
left and upper edge widthedge_widthpixelclean left and upper edges where abnormal data may occur
indicator for regional diagnostics (0 or 1)index_region“0” for whole image;
“1” for selected region
sizes of interrogation areapivPar.iaSizeXpixeldefining multi-path of windows
grid spacingpivPar.iaStepXpixeldefining overlapping
method for calculating cross-correlationpivPar.ccMethodsuch as ‘fft’
Table 2

Outputs.

OUTPUT FILESNOTATIONUNITNOTE
coarse-grained velocityux0, uy0pixels/unit-timebased on downsampled images
refined velocityux_corr, uy_corrpixels/unit-timerefined result with full spatial resolution in coarse-to-fine process
Figure 2

A pair of particle images of an Oseen vortex pair in a uniform flow, (a) Image #1, and (b) Image #2.

Figure 3

Flow fields of an Oseen vortex pair in a uniform flow extracted from the particle images, (a) velocity vectors, (b) velocity magnitude, (c) vorticity, and (d) second invariant (Q).

Figure 4

A pair of particle images of vortex-induced separation in a wall-jet region of a normally impinging jet, (a) Image #1, and (b) Image #2.

Figure 5

Flow fields of vortex-induced separation in a wall-jet region of a normally impinging jet extracted from the particle images, (a) velocity vectors, (b) velocity magnitude, (c) vorticity, and (d) second invariant (Q).

Figure 6

A pair of particle images of acoustically excited twin jet, (a) Image #1, and (b) Image #2.

Figure 7

Flow fields of acoustically excited twin jet extracted from the particle images, (a) velocity vectors, (b) velocity magnitude, (c) vorticity, and (d) second invariant (Q).

DOI: https://doi.org/10.5334/jors.326 | Journal eISSN: 2049-9647
Language: English
Submitted on: Feb 12, 2020
Accepted on: Sep 8, 2020
Published on: Feb 5, 2021
Published by: Ubiquity Press
In partnership with: Paradigm Publishing Services
Publication frequency: 1 issue per year

© 2021 Tianshu Liu, David M. Salazar, published by Ubiquity Press
This work is licensed under the Creative Commons Attribution 4.0 License.