Tutorial OpenPIV - version 01 ISTA - Institut f¨ ur Str¨omungsmechanik und Technische Akustik TU - Berlin, Germany September 6, 2012

Contents 1 Inroduccion

2

2 Graphical User Interface GUI

2

3 Load Data

2

4 Analysis parameters 4.1 Interrogation window size . . . . . . . . . 4.2 Spacing/Overlap . . . . . . . . . . . . . . 4.3 Signal-to-Noise ratio and filters . . . . . . 4.4 Scale . . . . . . . . . . . . . . . . . . . . . 4.5 Outlier filter . . . . . . . . . . . . . . . . . 4.6 Jump . . . . . . . . . . . . . . . . . . . . 4.7 Select and reset Region Of Interest(ROI) . 4.8 Preprocessing . . . . . . . . . . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

3 3 3 3 4 4 4 4 5

5 Start and stop

5

6 Output files

5

7 Units convert

6

1

1

Inroduccion

OpenPIV is an open source Particle Image Velocimetry (PIV) analysis software written in Python, MATLAB and C++. The aim of this document is to deliver a fast overview of OpenPIV. The next sections will refer to the selectable parameters, the ouput files and other features of OpenPIV. Some basics of the PIV technique will be mentioned as well. All the distributions of OpenPIV and other related material can be found at [1, 2]. This tutorial runs OpenPIV on MATLAB, nevertheless the same applies for other distributions of OpenPIV. The PIV-Data used as example in this tutorial was extracted from [3].

2

Graphical User Interface GUI

Figure 1 depicts the Graphical User Interface (GUI) of OpenPIV after loading some example data.

Figure 1: GUI OpenPIV

3

Load Data

The first step before to run the PIV-Analysis is to load the PIV-Data. On the top left the menu bar is located. Under the drop-down menu “File” the option “Load” is available, either this option or its shortcut Ctrl+L opens a window where to select the data to be loaded. Once the PIV-Images are loaded the buttons  and  at the bottom jump between the loaded images, the indicator at the right-bottom displays the number of the currently shown image. Note that at least two PIV-Images are needed for a PIV-Analysis. 2

4

Analysis parameters

In this section the selectable parameters on the right side of the GUI are described.

4.1

Interrogation window size

The PIV-Image will be divided in interrogation windows. The width and the height control the size in pixels of the interrogation windows. Since the analysis is based on statistical a large interrogation windows are more robust against background noise and outlier vectors.

4.2

Spacing/Overlap

The horizontal and vertical parameters control the size of the correlation windows and set the resolution of the two components of the velocity field ux uy . In figure 2 is depicted an example.

Figure 2: Image of 256x256 pixels divided by 32x32 interrogation window. Space/Overlap: red 16x16, green 32x32, blue 64x64 and yellow 128x128

4.3

Signal-to-Noise ratio and filters

In OpenPIV are implemented two types of Signal-to-Noise ratio (S/N): peak to the mean and peak to the second peak. In the drop-down menu 1 corresponds to peak to the mean and 2 to peak to the second peak, option 1 is faster. The parameter S/N value is the threshold between the correct/wrong vectors according to the S/N type. There are no default values, a try-out has to be perform in order to find out the best value. OpenPIV applies global and local filtering. By global filtering the obvious outlier vectors will be supposedly removed, i.e. the vectors which length is larger than the mean of the flow field plus 3 times its standard deviation. These are global outliers in the statistical sense. In order to find local vector outliers, i.e. vectors that are dissimilar from the close neighbors, a local filtering is performed on small neighborhoods of vectors, 3

e.g. 3x3 or 5x5. Typically there are about 5 % of erroneous vectors, these are removed and later the missing values are interpolated from the neighbor vector values.

4.4

Scale

The scale value is a factor that will multiply the resulting vectors. It helps with the visualization of the vectors but it has to be taken into account when the units are transform to physical units.

4.5

Outlier filter

The outlier filter value is the threshold of the global outlier filter and indicates how many times the standard deviation of the whole vector field is exceeded before the vector is considered as outlier.

4.6

Jump

The jump value indicates how many PIV-Images are evaluated in the anaylisis. The count starts at the next image from the current one, i.e. if jump is equal to n then OpenPIV takes the current image plus the next n PIV-Images for one analysis. Note that at least two PIV-Images are needed for the analysis, what makes jump values less than one pointless.

4.7

Select and reset Region Of Interest(ROI)

The option Select ROI provides the possibility of evaluate only part of the whole PIV-Image. The option Reset ROI release the selected region. In figure 3 one example is shown.

Figure 3: Results for a selected region

4

4.8

Preprocessing

The preprocessing option applies transformation-image function to the PIVImages. The current MATLAB version uses the function adapthisteq which enhances the contrast of images. For more details see MATLAB help.

5

Start and stop

The start and stop buttons either start or stop the analyze process.

6

Output files

The first vectors results are depicted on the PIV-Images in the GUI, as figure 3 and 4 illustrate. In the folder containing the PIV-Data OpenPIV saves three lists of files: no filtered results dataName noflt.txt, filtered results after global and local filters dataName flt.txt and final results after filtering and interpolation dataName.txt. The output file has 5 columns of data, i.e. x y ux uy S/R. The first and second correspond to the pixel coordinates, the third and fourth to the two velocity vector components and the fifth column is the S/N ration. Note that the value is different if the user chose peak to second peak or peak to mean ratio as S/N type. The value of peak to second peak or peak to mean ratio is stored for further processing. The number of output files will be the number of loaded PIV-Images minus the selected jump value.

Figure 4: Output results

5

7

Units convert

After the program is executed, the velocity vector units of ux and uy are not in physical units [m/s]. OpenPIV results are delivered in [scale × (pixels/∆t)], with scale as the selected scale value and ∆t as the time interval between two images. In order to convert the units to [m/s] is needed: • the vector components ux , uy in [scale × (pixels/∆t)] • the ∆t value in s • the dimensionless scale value • the relation between meters and pixels in that image [m/pixels], i.e. the image size and the number of pixels. The following example demonstrates a particular case of unit conversion. • ux = 5, uy = 0 in [scale × (pixels/∆t)] • the ∆t = 0.5 in s • scale value = 2 • image size 0.25 x 0.25 m and 256 x 256 pixels, i.e. the relation between meters and pixels is 0.25/256 [m/pixels]. • the conversion of ux from [scale × (pixels/∆t)] to [m/s]: m 5 0.25 ux × rel. = × = 0.0049m/s scale × ∆t pixels 2 × 0.5 256

6

References [1] R. Gurka A. Liberzon and Z. Taylor. OpenPIV Home Page. http://www. openpiv.net, 2009. [2] G.A. Kopp A. Liberzon Z.J. Taylor, R. Gurka. Long-Duration Time-Resolved PIV to Study Unsteady Aerodynamics. Instrumentation and Measurement, IEEE Transactions on, 59(12):3262–3269, Dec. 2010. http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber= 5464317&isnumber=5609237. [3] J. Carlier. Second set of fluid mechanics image sequences. European Project ’Fluid image analisys and description’ (FLUID) – http://www.fluid.irisa.fr/, 2005.

7

Tutorial OpenPIV - GitHub

Sep 6, 2012 - ... is an open source Particle Image Velocimetry (PIV) analysis software ... the visualization of the vectors but it has to be taken into account ...

477KB Sizes 163 Downloads 294 Views

Recommend Documents

DSQSS Tutorial 2015.12.01 - GitHub
Dec 1, 2015 - Step1 :Choose a site and an imaginary time point. Step2 :Put a worm pair. if no, go to Step4. Step3 :The worm-head moving. When the head ...

Epic Vim Tutorial - GitHub
Jan 19, 2012 - Move back to the start of the first email address in the file. 7. Press Ctrl+v to enter visual block mode. 8. Using the arrow keys, select all email ...

Custom Skin Tutorial - GitHub
dashboard.html – defines all dashboard elements supported by the skin .... There are two ways to display numbers: as a string value or as an analog meter.

Metaparse tutorial - GitHub
"a.*a" int main(). { string s; cin

BamTools API Tutorial - GitHub
Mar 23, 2011 - https://github.com/pezmaster31/bamtools/wiki/BamTools-1x_PortingGuide.pdf ... adjust how your app locates the shared library at runtime.

GNU gdb Tutorial - GitHub
The apropos command can be used to find commands. 3. Basic Debugging .... exist in your program; they are assigned by GDB to give you a way of designating ...

Vulkan Tutorial - GitHub
cross-platform and allows you to develop for Windows, Linux and Android at ..... to be described explicitly, there is no default color blend state, for example. 10 ...

WiFiMCU Tutorial - GitHub
2, Quickly Start with WiFiMCU STUDIO ................................................................................. 3 .... 2 Breathing LED -use PWM module . .... Content-Type:text/html. 7.

Cryptography Tutorial Contents - GitHub
In Erlang to encode some data we might do something like: Bin1 = encrypt(Bin, SymKey), ...... Trying all the small strings on your hard disk to see if they are passwords. • Analyzing the swap .... http://cr.yp.to/highspeed/ · coolnacl-20120725.pdf.

Tutorial for Overture/VDM++ - GitHub
Sep 6, 2015 - Overture Technical Report Series. No. TR-004. September ... Year Version Version of Overture.exe. January. 2010. 0.1.5 ... Contents. 3 Overture Tool Support for VDM++. 1. 3.1 Introduction . .... classes and their usage in class diagrams

Vowpal Wabbit 7 Tutorial - GitHub
Weight 1 by default. – Label: use {-1,1} for classification, or any real value for regression. 1 | 1:0.43 5:2.1 10:0.1. -1 | I went to school. 10 | race=white sex=male ...

Normalized Online Learning Tutorial - GitHub
Normalized Online Learning Tutorial. Paul Mineiro joint work with Stephane Ross & John Langford. December 9th, 2013. Paul Mineiro. Normalized Online ...

D Templates: A Tutorial - GitHub
In the next chapters, you'll see how to define function, struct and class templates. ...... can find on the D Programming Language website, but they act in a natural ...... opDispatch is a sort of operator overloading (it's in the same place in the o

Problem Tutorial: “Apples” - GitHub
careful when finding x, cause the multiplication might not fit in the limits of long long. Also don't the forget the case when there's no answer. Page 1 of 1.

MeqTrees Batch Mode: A Short Tutorial - GitHub
tdlconf.profiles is where you save/load options using the buttons at ... Section is the profile name you supply ... around the Python interface (~170 lines of code).

Tutorial for Overture/VDM-SL - GitHub
2010 1. 0.2. February. 2011 2. 1.0.0. April. 2013 3. 2.0.0. September 2015 4 ..... Figure 3.13: The generated pdf file with test coverage information .... the Overture documentation at http://overturetool.org/documentation/manuals.html for the.

Notes and Tutorial on GDB - GitHub
CSM Linux Users Group ... GDB can make use of special symbols in your program to help you debug. ... exists and is up to date, and if so, call the debugger.

Problem Tutorial: “The queue” - GitHub
You need to optimize that solution even more using some data structure. In fact ... problem with 2 types of query (if you imagine that you have a very big array) :.

PIA – Protein Inference Algorithms Tutorial - GitHub
Sep 23, 2016 - install the "KNIME Analytics Platform + all free extensions", which comes with ... is used to pass spectrum data to PIA, which can later be used to ...

IAP 2013 Julia Tutorial Schedule - GitHub
Jan 15, 2013 - Punctuation Review. () Parentheses: Function Calls. Required! quit(),tic(),toc(),help() ... julia –machinefile file #hosts in file. • addprocs_local(5) ...

Tutorial for Overture/VDM-RT - GitHub
Tutorial to Overture/VDM-RT. Document history. Month. Year Version Version of Overture.exe. January. 2010. 0.1.5. March. 2010. 0.2. May. 2010 1. 0.2. February.

Tutorial introducing the R package TransPhylo - GitHub
Jan 16, 2017 - disease transmission using genomic data. The input is a dated phylogeny, ... In the second part we will analyse the dataset simulated in the first ...

Gmail - different record counts in tutorial #3 - GitHub
use all of the individuals in the sample for data analysis for personal research, ... Though we use different programs in the tutorials (some Excel, some SAS), your ...

A tutorial on clonal ordering and visualization using ClonEvol - GitHub
Aug 18, 2017 - It uses the clustering of heterozygous variants identified using other tools as input to infer consensus clonal evolution trees and estimate the cancer cell ... This results in a bootstrap estimate of the sampling distribution of the C