Main Page | Files | Data Structures | Functions | Global Variables |
gpiv-imgproc.h
Go to the documentation of this file.
1 /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 c-style: "K&R" -*- */
2 
3 /*-----------------------------------------------------------------------------
4 
5  libgpiv - library for Particle Image Velocimetry
6 
7  Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Gerber van der Graaf
8 
9  This file is part of libgpiv.
10 
11  Libgpiv is free software; you can redistribute it and/or modify
12  it under the terms of the GNU General Public License as published by
13  the Free Software Foundation; either version 2, or (at your option)
14  any later version.
15 
16  This program is distributed in the hope that it will be useful,
17  but WITHOUT ANY WARRANTY; without even the implied warranty of
18  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  GNU General Public License for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with this program; if not, write to the Free Software Foundation,
23  Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24 
25 -------------------------------------------------------------------------------
26 FILENAME: imgproc.h
27 LIBRARY: libgpiv:
28 EXTERNAL FUNCTIONS:
29 SOURCE: imgproc_par.c
30  gpiv_imgproc_parameters_set
31  gpiv_imgproc_default_parameters
32  gpiv_imgproc_fscan_parameters
33  gpiv_imgproc_read_parameters
34  gpiv_imgproc_check_parameters
35  gpiv_imgproc_test_parameters
36  gpiv_imgproc_print_parameters
37  gpiv_imgproc_fprint_parameters
38  gpiv_imgproc_cp_parameters
39 
40 SOURCE: imgproc.c
41  gpiv_imgproc_mktestimg
42  gpiv_imgproc_subtractimg
43  gpiv_imgproc_smooth
44  gpiv_imgproc_highlow
45  gpiv_imgproc_clip
46  gpiv_imgproc_getbit
47  gpiv_imgproc_fft
48  gpiv_imgproc_lowpass
49  gpiv_imgproc_highpass
50  gpiv_imgproc_correlate
51  gpiv_imgproc_convolve
52 
53 -----------------------------------------------------------------------------*/
64 #ifndef __LIBGPIV_IMGPROC_H__
65 #define __LIBGPIV_IMGPROC_H__
66 
67 #define GPIV_IMGPROCPAR_MAX__THRESHOLD 255
68 #define GPIV_IMGPROCPAR_MAX__WINDOW 50
69 
70 #define GPIV_IMGPROCPAR_KEY "IMGPROC"
75 enum GpivImgFilter {
90 };
91 
101 };
102 
103 
105 
117  guint bit;
118  gboolean bit__set;
121  gboolean filter__set;
126  guint window;
127  gboolean window__set;
129  guint threshold;
130  gboolean threshold__set;
131 };
132 
133 
134 
135 
143 void
145  const gboolean flag
146  );
147 
148 
149 
157 void
159  const gboolean force
160  );
161 
162 
163 
173 void
174 gpiv_imgproc_read_parameters (FILE *fp_h,
175  GpivImageProcPar *image_proc_par,
176  const gboolean print_par
177  );
178 
179 
180 
190 gchar *
192  const GpivImageProcPar *image_proc_par_default
193  );
194 
195 
196 
203 gchar *
204 gpiv_imgproc_test_parameters (const GpivImageProcPar *image_proc_par
205  );
206 
207 
208 
217 void
219  const GpivImageProcPar *image_proc_par
220  );
221 
222 
231  );
232 
233 
242 GpivImage *
243 gpiv_imgproc_mktestimg (const GpivImagePar *image_par,
244  const GpivImageProcPar *image_proc_par
245  );
246 
247 
257 gchar *
258 gpiv_imgproc_subtractimg (const GpivImage *image_in,
259  GpivImage *image_out
260  );
261 
262 
271 gchar *
273  const GpivImageProcPar *image_proc_par
274  );
275 
276 
285 gchar *
287  const GpivImageProcPar *image_proc_par
288  );
289 
290 
299 gchar *
301  const GpivImageProcPar *image_proc_par
302  );
303 
304 
312 gchar *
314  const GpivImageProcPar *image_proc_par
315  );
316 
317 
326 gchar *
328  const GpivImageProcPar *image_proc_par
329  );
330 
331 
339 gchar *
341  const GpivImageProcPar *image_proc_par
342  );
343 
344 
345 #ifndef USE_FFTW3
346 
355 gchar *
357  GpivImageProcPar image_proc_par,
358  guint16 **img
359  );
360 
361 
362 
373 gchar *
375  GpivImageProcPar image_proc_par,
376  guint16 **img1_in,
377  guint16 **img2_in,
378  guint16* **img_out
379  );
380 
381 
382 
394 gchar *
396  GpivImageProcPar image_proc_par,
397  guint16 **img1_in,
398  guint16 **img2_in,
399  guint16* **img_out
400  );
401 
402 #endif /* USE_FFTW3 */
403 
404 
414 gchar *
416  const GpivPivData *piv_data
417  );
418 
419 
420 #endif /* __LIBGPIV_IMGPROC_H__ */
421 

Generated on Thu Mar 20 2014 09:01:34 for libgpiv-0.6.1 by doxygen 1.8.1.2