VIP: Volume Image Processing


pyramid.h
Go to the documentation of this file.
1/****************************************************************************
2 * PROJECT : V.I.P. Library
3 * MODULE NAME : vip/pyramid.h * TYPE : Header
4 * AUTHOR : MANGIN J.-F. * CREATION : 18/06/1996
5 * VERSION : 0.1 * REVISION :
6 * LANGUAGE : C++ * EXAMPLE :
7 * DEVICE : Sun SPARC Station 5
8 ****************************************************************************
9 *
10 * DESCRIPTION : Calul de la pyramide
11 *
12 ****************************************************************************
13 *
14 * USED MODULES : vip/volume.h
15 *
16 ****************************************************************************
17 * REVISIONS : DATE | AUTHOR | DESCRIPTION
18 *--------------------|--------------|---------------------------------------
19 * / / | |
20 ****************************************************************************/
21
22#ifndef VIP_PYRAMID_H
23#define VIP_PYRAMID_H
24
25#ifdef __cplusplus
26 extern "C" {
27#endif
28
29#include <vip/volume.h>
30
31#define PYR_MEAN 10
32#define PYR_MEDIAN 11
33#define PYR_MAX 12
34
35typedef struct pyramid_volume
36{
38 int nx;
39 int ny;
40 int nz;
41 int rx;
42 int ry;
43 int rz;
46
47typedef struct pyramid
48{
52
53/*---------------------------------------------------------------------------*/
55 int NbLevel, int type);
56/*---------------------------------------------------------------------------*/
57
58
59/*---------------------------------------------------------------------------*/
61);
62/*---------------------------------------------------------------------------*/
63
64/*---------------------------------------------------------------------------*/
66 PyramidVolume *pyr
67);
68/*---------------------------------------------------------------------------*/
69
70/*---------------------------------------------------------------------------*/
72 PyramidVolume *pyr
73);
74/*---------------------------------------------------------------------------*/
75
76/*---------------------------------------------------------------------------*/
78 PyramidVolume *pyr
79);
80/*---------------------------------------------------------------------------*/
81
82/*---------------------------------------------------------------------------*/
84 Volume *vol
85);
86/*---------------------------------------------------------------------------*/
87
88/*---------------------------------------------------------------------------*/
90 Vip_S16BIT medtab[],
91 int nb
92);
93/*---------------------------------------------------------------------------*/
94
95/*---------------------------------------------------------------------------*/
97 Vip_S16BIT medtab[],
98 int nb
99);
100/*---------------------------------------------------------------------------*/
101
102/*---------------------------------------------------------------------------*/
104 Vip_S16BIT medtab[],
105 int nb
106);
107/*---------------------------------------------------------------------------*/
108
109/*---------------------------------------------------------------------------*/
111 PyramidVolume *down,
112 int type
113);
114/*---------------------------------------------------------------------------*/
115
116/*---------------------------------------------------------------------------*/
118 PyramidVolume *up
119);
120/*---------------------------------------------------------------------------*/
121
122/*---------------------------------------------------------------------------*/
124);
125/*---------------------------------------------------------------------------*/
126
127/*---------------------------------------------------------------------------*/
129 PyramidVolume *pyr
130);
131/*---------------------------------------------------------------------------*/
132
133/*---------------------------------------------------------------------------*/
135 Pyramid *pyr,
136 int nb_level
137);
138/*---------------------------------------------------------------------------*/
139
140/*---------------------------------------------------------------------------*/
142 int NbLevel
143);
144/*---------------------------------------------------------------------------*/
145
146/*---------------------------------------------------------------------------*/
148 Volume *vol,
149 int nlevel,
150 int type
151);
152/*---------------------------------------------------------------------------*/
153
154/*---------------------------------------------------------------------------*/
156 Pyramid *pyr,
157 Pyramid *pyrlab,
158 int n
159);
160/*---------------------------------------------------------------------------*/
161
162/*---------------------------------------------------------------------------*/
163extern void VipFreePyramid(
164 Pyramid *pyr
165);
166/*---------------------------------------------------------------------------*/
167
168/*---------------------------------------------------------------------------*/
170 Pyramid *pyr,
171 int type
172);
173/*---------------------------------------------------------------------------*/
174
175/*---------------------------------------------------------------------------*/
177 char *name,
178 int borderWidth,
179 int NbLevel
180);
181/*---------------------------------------------------------------------------*/
182
183/*---------------------------------------------------------------------------*/
185 char *name,
186 int borderWidth,
187 int NbLevel
188);
189/*---------------------------------------------------------------------------*/
190
191/*---------------------------------------------------------------------------*/
193 char *name,
194 int border,
195 int NbLevel,
196 int type
197);
198/*---------------------------------------------------------------------------*/
199
200/*---------------------------------------------------------------------------*/
202 char *name,
203 Pyramid *pyr,
204 int level
205);
206/*---------------------------------------------------------------------------*/
207
208/*---------------------------------------------------------------------------*/
210 char *name,
211 Pyramid *pyr,
212 int level
213);
214/*---------------------------------------------------------------------------*/
215
216/*---------------------------------------------------------------------------*/
218 char *name,
219 Pyramid *pyr
220);
221/*---------------------------------------------------------------------------*/
222
223#ifdef __cplusplus
224 }
225#endif
226
227#endif
Pyramid * VipPutVolumeInPyramidAndCreatePyramid(Volume *vol, int NbLevel, int type)
Volume * VipConvertPyramidVolumeToVolume(PyramidVolume *pyr)
Vip_S16BIT VipGetPyramidMedian(Vip_S16BIT medtab[], int nb)
int VipAllocateDataSpacePyramidVolume(PyramidVolume *pyr)
Pyramid * VipReadTopLevelVolumeInPyramid(char *name, int borderWidth, int NbLevel)
int VipAllocateDataSpacePyramid(Pyramid *pyr, int nb_level)
PyramidVolume * VipGetDownLevelPyramidVolume(PyramidVolume *up)
void VipFreePyramid(Pyramid *pyr)
void VipCopyPyramidImageInfoStructure(Pyramid *pyr, Pyramid *pyrlab, int n)
Pyramid * VipReadVolumeInPyramidAndCreatePyramid(char *name, int border, int NbLevel, int type)
int VipConstructPyramid(Pyramid *pyr, int type)
Pyramid * VipCreateEmptyPyramid(int NbLevel)
int VipWritePyramidLabelVolume(char *name, Pyramid *pyr, int level)
PyramidVolume * VipCreatePyramidVolumeLikePyramid(PyramidVolume *pyr)
Volume * VipCreateEmptyVolume()
PyramidVolume * VipCreateEmptyPyramidVolume()
PyramidVolume * VipGetUpLevelPyramidVolume(PyramidVolume *down, int type)
Pyramid * VipReadVolumeInPyramid(char *name, int borderWidth, int NbLevel)
int VipWritePyramidImageVolume(char *name, Pyramid *pyr, int level)
PyramidVolume * VipCreateVoidPyramidVolumeLikePyramid(PyramidVolume *pyr)
Pyramid * VipGetPyramid(Volume *vol, int nlevel, int type)
Vip_S16BIT VipGetPyramidMean(Vip_S16BIT medtab[], int nb)
PyramidVolume * VipConvertVolumeToPyramidVolume(Volume *vol)
struct pyramid Pyramid
int VipWritePyramidVolumes(char *name, Pyramid *pyr)
Vip_S16BIT VipGetPyramidMax(Vip_S16BIT medtab[], int nb)
struct pyramid_volume PyramidVolume
Volume * volume
Definition pyramid.h:37
PyramidVolume ** image
Definition pyramid.h:50
int NbLevel
Definition pyramid.h:49
signed short Vip_S16BIT
Definition structure.h:93