Main Page | Files | Data Structures | Functions | Global Variables |
gpiv-img_utils.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 libgpiv - library for Particle Image Velocimetry
5
6 Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Gerber van der Graaf
7
8 This file is part of libgpiv.
9
10 Libgpiv is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 2, or (at your option)
13 any later version.
14
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software Foundation,
22 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23
24
25
26
27-------------------------------------------------------------------------------
28FILENAME: gpiv-img_utils.h
29LIBRARY: libgpiv:
30EXTERNAL FUNCTIONS:
31 gpiv_alloc_img
32 gpiv_check_alloc_img
33 gpiv_free_img
34 gpiv_cp_img
35 gpiv_cp_img_data
36
37 gpiv_mpi_bcast_image
38
39LAST MODIFICATION DATE: $Id: gpiv-img_utils.h,v 1.2 2008-09-25 13:19:53 gerber Exp $
40 --------------------------------------------------------------------------- */
50#ifndef __LIBGPIV_IMG_UTILS_H__
51#define __LIBGPIV_IMG_UTILS_H__
52
53
62 );
63
64
72gchar *
74 );
75
76
77
84void
86 );
87
88
100 );
101
102
112gchar *
113gpiv_cp_img_data (const GpivImage *image_src,
114 GpivImage *image_dest
115 );
116#ifdef ENABLE_MPI
117
126void
127gpiv_img_mpi_bcast_image (GpivImage *image,
128 const gboolean alloc_frame
129 );
130
137void
138gpiv_img_mpi_bcast_imgframe (GpivImage *image
139 );
140
141#endif /* ENABLE_MPI */
142#endif /* __LIBGPIV_IMG_UTILS_H__ */
gchar * gpiv_check_alloc_img(const GpivImage *image)
Checks if image frames have been allocated TODO BUGFIX: check on correct size.
void gpiv_free_img(GpivImage *gpiv_image)
Frees memory of gpiv_image.
GpivImage * gpiv_alloc_img(const GpivImagePar *image_par)
Allocates memory for GpivImage frames.
GpivImage * gpiv_cp_img(const GpivImage *image)
Duplicates image.
gchar * gpiv_cp_img_data(const GpivImage *image_src, GpivImage *image_dest)
Copies contents of img_src to img_dest.
Piv image header and data.
Definition gpiv-img.h:194
Image parameters or header info.
Definition gpiv-img.h:122

Generated for libgpiv-0.6.1 by doxygen 1.9.8