1 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 # Libgpiv: library for Particle Image Velocimetry
4 # URL: http://gpiv.sourceforge.net
7 # This file contains the parameters settings for the Gpiv and Gpivtools
8 # packages and is installed for system-wide use during installation
9 # of Libgpiv (at /etc for most of *nix-like systems).
11 # For personalizing the parameters, copy this file to $HOME/.gpivrc and adapt
12 # it to your needs. For the Gpivtools programs the system-wide configuration
13 # and the personalized parameters may be overruled by ./gpivrc (at local
14 # directory) or by the command-line keys.
16 # If a parameter is not defined by the command-line keys or in one of
17 # the parameter resources (i.e. $HOME/.gpivrc and (system-wide) gpivr.conf),
18 # its default value will be taken from Libgpiv, as defined in the headers.
20 # Each parameter is described by the module key (GENPAR, CAM, TRIG, IMG,
21 # IMGPROC, PIV, VALID or POST) and the parameter name, separated by
22 # a dot (.), followed by its value. Some of the parameters are
23 # optional. The parameters may be defined in arbitrary order. Blank
24 # lines and comment (starting with a pound sign (#) at the first
25 # column) may be included in the parameter files.
27 #------------------------------------------------------------------------------
30 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
31 # General parameters (key: GENPAR)
32 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
34 # First numbered directory to search for (numbered).
35 # Used for bulk processing or statistics from a number of images / PIV data,
36 # for example calculation of the mean image intensity at each pixel
40 # Last numbered directory to search for (numbered)
44 # Use a prefix before the directory name, TRUE (1) or FALSE (0)
48 # First numbered file name of image for processing
52 # Last numbered file name of image for processing
56 # Use a prefix before the file name, , TRUE (1) or FALSE (0)
61 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
62 # Camera parameters (key: CAM)
63 # Only active if camera has been enabled during compilation by:
64 # ./configure --enable-cam
65 #------------------------------------------------------------------------------
67 # Operating mode (indefinite/interrupt/definite)
71 # number of cycles (equal to number of images to be recorded?)
81 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
82 # Real Time Application Interface (RTAI) trigger parameters (key: TRIG)
83 # Only active if triggering has been enabled during compilation by:
84 # ./configure --enable-trig
85 #------------------------------------------------------------------------------
87 # Trigger time settings:
88 # All timings are internally expressed in nano seconds. The parameters here
89 # are expressed in milliseconds. It is thought that this is more convenient,
90 # while this policy is used as well by the gpivtrig module and Rtai packages.
91 # Camera acquisition period time
95 # Laser trigger pulse width
99 # Time from laser trigger->Hi until laser pulse (ms)
103 # Time between 2 laser exposures
107 # Operating mode (indefinite/interrupt/definite)
111 # number of cycles (equal to number of images to be recorded?)
121 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
123 # Required parameters for reading the image should be present in the
124 # image header or the software will return an error
125 #------------------------------------------------------------------------------
127 # DEPRECIATED: should be defined in image header
128 # Number of columns containing the image
133 # DEPRECIATED: should be defined in image header
134 # Number of rowss containing the image
138 # DEPRECIATED: should be defined in image header
139 # Image color depth (1 - 16)
143 # Image contains a single frame for autocorrelation (0) or
144 # or two frames fror cross-correlation (1)
149 # --------------------------------------------- used by gpiv_post_scale()
150 # Spatial scale expressed in mm/pixel * 10-3
155 # Time scale; separation time between subsequent image recordings,
156 # expressed in milliseconds
161 # Zero offset of pixel(0,0) in relatation to a specific point in the
162 # experiment, expressed in meters
171 # ------------------------------------------------- Optional parameters
184 IMG.url gpiv.sourceforge.net
187 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
188 # Parameters for image processing (key: IMGPROC)
189 #------------------------------------------------------------------------------
191 # Used for filtering on single image or image pair:
205 # Operator when smoothing image:
206 # EQUAL = 0; performs no action
207 # SUBTRACT = 1: subtracts average of window from current pixel value
208 # ADD = 2: adds average of window from current pixel value
209 # MULTIPLY = 3: multiplies average of window with current pixel value
210 # DIVIDE = 3: divides current pixel value by average of window
212 #IMGPROC.Smooth_operator
222 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
223 # Parameters of PIV image evaluation (= interrogation) (key: PIV)
224 #------------------------------------------------------------------------------
226 # Column to start first interrogation area (start with 0)
231 # Column to start last interrogation area
236 # Line (or row) to start first interrogation area (start with 0)
241 # Line (or row) to start last interrogation area
246 # Initial interrogation size (not necessary to be power of 2),
247 # has to be equal or larger than the Final interrogation size).
252 # Final interrogation size (not necessary to be power of 2).
257 # shift of adjacent interrogation area
262 # pre-shift in x-direction (columns)
267 # pre-shift in y-direction (rows)
272 # Adopt image data to interrogation area in order to correct for biasing
275 # 1; linear kernel weighting
276 # 2; zero offsettting
277 # 3; zero ofsetting using central differential scheme
278 # 4; image deformation
283 # Applies Gauss weighting to the Interrogation Area's to reduce the high
284 # spatial frequency signal generated from teh I.A. borders. This may improve
285 # the accuracy of the analyses.
287 PIV.Gauss_weight_ia 1
289 # Applies Symmetric Phase Only filtering
290 # This may reduce background scatter or flare light, reflected from surfaces
296 # Calculates first (1),second (2) or third (3) highest peak in the covariance
302 # type of sub-pixel fit;
312 # Interrogation geometry to be analysed: Area of Interest (0),
313 # defined by col/row start/end, vertical line (1) defined by int_line_col,
314 # horizontal line (2), defined by int_line_row or point (3), defined by
315 # point_col and point_row
322 PIV.Int_line_row_start 0
324 PIV.Int_line_row_end 127
329 PIV.Int_line_col_start 0
331 PIV.Int_line_col_end 127
334 # Select a single interrogation region with centre PIV.Point_col
335 # PIV.Point_row to interrogate (optional parameter)
337 #PIV.Int_point_col 64
339 #PIV.Int_point_row 64
344 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
345 # Parameters PIV data validation (key: VALID)
346 #-----------------------------------------------------------------------------
348 # Maximum allowed residu value (from mean or median calculation) for
349 # acceptance. Maximum value defined by GPIV_RESIDU_MAX_NORMMEDIAN macro
353 # Odd number, representing the number of neighboring PIV data that will
354 * be used to calculate the (median) residu and average local mean.
355 # Typically 3x3, maximum 9x9.
360 # Determines the residual of a particle displacement
361 # 0: from the SNR value
362 # 1: from the median residual with its surroundings
363 # 2: normalized median: ratio between median residu with current datapoint
364 # included and between median residu of surroundigs (with datapoint excluded)
369 # Substitutes erroneous displacements by:
370 # 0: not substituted, only peak_nr in PIV data set is set to 0
371 # 1: the mean of surroundings
373 # 3: the next highest correlation peak
378 # Use histogram (0) or cumulative histogram (1)
383 # Checking on outliers after substituion (REMOVE??)
387 # TODO:: Automatic threshold detection (from histogram analysis)
391 # Estimation of the data yield from particle image concentration,
392 # out-of plane flow, velocity gradient within interrogation area.
393 # ref: Keane and Adrian 1992
395 VALID.Data_yield 0.95
400 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
401 # Parameters post-processing, used by program manipiv (key: POST)
402 #-----------------------------------------------------------------------------
404 # Operation on PIV data:
414 POST.Operator_manipiv 0
416 # Set disabled data to a specified value (1/0):
421 # Define x-displacement (columns, horizontal direction) to be set for
427 # Define y-displacement (rows, vertical direction) to be set for
432 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
433 # Parameters post-processing, used by program s-avg (key: POST)
434 #-----------------------------------------------------------------------------
436 # Subtracting displacements or velocity estimators with:
439 # Zoff_dx and Zoff_dy (2)
451 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
452 # Parameters post-processing, used by program vorstra (key: POST)
453 #-----------------------------------------------------------------------------
455 # Differentiation_Type:
461 POST.Differential_type 2
464 # Calculate from PIV data:
469 POST.Operator_vorstra 0
471 # Normal (0) or inverse (1) scaling