55 #ifndef __LIBGPIV_PIV_UTILS_H__ 56 #define __LIBGPIV_PIV_UTILS_H__ 195 const gfloat gnuplot_scale,
196 const gchar *GNUPLOT_DISPLAY_COLOR,
197 const guint GNUPLOT_DISPLAY_SIZE,
214 const gboolean x_corr
273 gpiv_piv_mpi_compute_counts (
const guint nx,
286 gpiv_piv_mpi_compute_displs (gint *counts,
327 gpiv_piv_mpi_gatherv_pivdata (
GpivPivData *pd_scat,
gchar * gpiv_0_pivdata(const GpivPivData *piv_data)
Sets estimators, snr and peak_nr of piv_data to 0 or 0.0.
gchar * gpiv_ovwrt_pivdata(const GpivPivData *piv_data_in, const GpivPivData *piv_data_out)
Overwrites piv_data_out with piv_data_in.
GpivPivData * gpiv_alloc_pivdata(const guint nx, const guint ny)
Allocates memory for GpivPivData.
Holds the variables of PIV data.
void gpiv_null_pivdata(GpivPivData *piv_data)
Sets all elements of piv_data structure to NULL.
void gpiv_free_cov(GpivCov *cov)
Frees memory for GpivCov.
Image parameters or header info.
Parameters for PIV evaluation (interrogation) of images.
GpivCov * gpiv_alloc_cov(const guint int_size0, const gboolean x_corr)
Allocates memory for GpivCov.
GpivPivData * gpiv_cp_pivdata(const GpivPivData *piv_data)
Returns a copy of piv_data.
gchar * gpiv_sum_dxdy_pivdata(const GpivPivData *piv_data, gfloat *sum)
Adds all displacements in order to calculate residuals The structure will have to be allocated before...
gchar * gpiv_check_alloc_pivdata(const GpivPivData *piv_data)
Checks if piv_data have been allocated.
gchar * gpiv_piv_gnuplot(const gchar *title, const gfloat gnuplot_scale, const gchar *GNUPLOT_DISPLAY_COLOR, const guint GNUPLOT_DISPLAY_SIZE, const GpivImagePar *image_par, const GpivPivPar *piv_par, const GpivPivData *piv_data)
Plots piv data as vectors on screen with gnuplot.
gchar * gpiv_add_dxdy_pivdata(const GpivPivData *piv_data_in, GpivPivData *piv_data_out)
Adds displacements (dx, dy), snr and peak_nr from piv_data_in to piv_data_out.
void gpiv_free_pivdata(GpivPivData *piv_data)
Frees memory for GpivPivData.