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,
void gpiv_fwrite_fftw_wisdom(const gint dir)
Writes fftw wisdoms to a file.
int z_rh
general highest row index
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...
Piv validation parameters.
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.
int z_rpl
lowest positive 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_ch
general highest column index
Piv image header and data.
long top_y
y-position of maximum at pixel level
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 ...
int z_cph
highest positive index
Holds the variables of PIV data.
int z_rph
highest positive row index
GpivIntGeo
Interrogation geometry.
long top_x
x-position of maximum at pixel level
Image parameters or header info.
int z_cnl
lowest 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...
float subtop_y
y-position of maximum at sub-pixel level
void gpiv_piv_isizadapt(const GpivPivPar *piv_par_src, GpivPivPar *piv_par_dest, gboolean *isiz_last)
Adjusts interrogation area sizes.
void gpiv_fread_fftw_wisdom(const gint dir)
Reads fftw wisdoms from file and stores into a (public) string.
float subtop_x
x-position of maximum at sub-pixel level
Parameters for PIV evaluation (interrogation) of images.
int z_cl
general lowest column index
module for parameters for validating PIV data
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_rl
general lowest row index
float min
minimum covariance value
module for parameters for image evaluation
float snr
Signal to Noice defined by quotient of first and second highest peaks.
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_rnh
highest negative row index
float max
maximum covariance value
int z_rnl
lowest negative row index
int z_cpl
lowest positive column index
int z_cnh
highest negative column index
float ** z
< data structure of covariance data
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.