Lib Gpiv API documentation
Go to the documentation of this file.
55 #ifndef __LIBGPIV_PIV_H__
56 #define __LIBGPIV_PIVL_H__
64 #define GPIV_ZEROPAD_FACT 2
65 #define GPIV_DIFF_ISI 0
68 #define GPIV_CUM_RESIDU_MIN 0.25
69 #define GPIV_MAX_PIV_SWEEP 10
71 #define GPIV_SNR_DISABLE 88.0
72 #define GPIV_DEFORMED_IMG_NAME "gpiv_defimg"
73 #define GPIV_LOGFILE "gpiv.log"
78 #define GPIV_SHIFT_FACTOR 3
182 const gboolean verbose
208 const guint last_sweep,
Image parameters or header info.
float subtop_y
y-position of maximum at sub-pixel level
module for parameters for image evaluation
@ GPIV_GAUSS
Gauss fitting.
@ GPIV_LINE_R
Along row line.
GpivPivData * gpiv_piv_gridadapt(const GpivImagePar *image_par, const GpivPivPar *piv_par_src, GpivPivPar *piv_par_dest, const GpivPivData *piv_data, const guint sweep, gboolean *grid_last)
Adjust grid nodes if zero_off or adaptive interrogation area has been used.
Parameters for PIV evaluation (interrogation) of images.
Piv image header and data.
void gpiv_piv_isizadapt(const GpivPivPar *piv_par_src, GpivPivPar *piv_par_dest, gboolean *isiz_last)
Adjusts interrogation area sizes.
int z_cpl
lowest positive column index
float ** z
< data structure of covariance data
@ GPIV_POINT
At single point.
float snr
Signal to Noice defined by quotient of first and second highest peaks.
@ GPIV_AOI
Area of interst.
float min
minimum covariance value
gchar * gpiv_piv_dxdy_at_new_grid(const GpivPivData *piv_data_src, GpivPivData *piv_data_dest)
Calculates dx, dy of piv_data_dest from piv_data_src by bi-linear interpolation of inner points with ...
@ GPIV_POWER
Power fitting.
int z_cph
highest positive index
float max
maximum covariance value
long top_y
y-position of maximum at pixel level
int z_rl
general lowest row index
gchar * gpiv_piv_interrogate_ia(const guint index_y, const guint index_x, const GpivImage *image, const GpivPivPar *piv_par, const guint sweep, const guint last_sweep, gfloat **int_area_1, gfloat **int_area_2, GpivCov *cov, GpivPivData *piv_data)
Interrogates a single Interrogation Area.
int z_cnl
lowest negative column index
Holds the variables of PIV data.
gchar * gpiv_piv_count_pivdata_fromimage(const GpivImagePar *image_par, const GpivPivPar *piv_par, guint *nx, guint *ny)
Calculates the number of interrogation areas from the image sizes, pre-shift and area of interest.
void gpiv_fread_fftw_wisdom(const gint dir)
Reads fftw wisdoms from file and stores into a (public) string.
module for parameters for validating PIV data
int z_rh
general highest row index
Piv validation parameters.
float subtop_x
x-position of maximum at sub-pixel level
GpivIntGeo
Interrogation geometry.
GpivPivData * gpiv_piv_gridgen(const guint nx, const guint ny, const GpivImagePar *image_par, const GpivPivPar *piv_par)
Generates grid by Calculating the positions of interrogation areas.
int z_rph
highest positive row index
int z_cl
general lowest column index
int z_rnh
highest negative row index
@ GPIV_LINE_C
Along column line.
@ GPIV_GRAVITY
Plain gravity fitting.
int z_cnh
highest negative column index
gchar * gpiv_piv_write_deformed_image(GpivImage *image)
Stores deformed image to file system with pre defined name to TMPDIR and prints message to stdout.
GpivPivData * gpiv_piv_interrogate_img(const GpivImage *image, const GpivPivPar *piv_par, const GpivValidPar *valid_par, const gboolean verbose)
PIV interrogation of an image pair at an entire grid.
int z_rnl
lowest negative row index
gchar * gpiv_piv_shift_grid(GpivPivData *piv_data)
Shifts the knots of a 2-dimensional grid containing PIV data for improved (bi-linear) interpolation.
int z_ch
general highest column index
void gpiv_fwrite_fftw_wisdom(const gint dir)
Writes fftw wisdoms to a file.
int z_rpl
lowest positive row index
long top_x
x-position of maximum at pixel level
Generated for libgpiv-0.6.1 by
1.8.20