VIP: Volume Image Processing


mask.h
Go to the documentation of this file.
1/*****************************************************************************
2 * PROJECT : V.I.P. Library
3 * MODULE NAME : vip/mask.h * TYPE : Header
4 * AUTHOR : MANGIN J.-F. * CREATION :
5 * VERSION : 0.1 * REVISION :
6 * LANGUAGE : C * EXAMPLE :
7 * DEVICE : Sun SPARC Station 5
8 *****************************************************************************
9 *
10 * DESCRIPTION :
11 *
12 *****************************************************************************
13 *
14 * USED MODULES :
15 *
16 *****************************************************************************
17 * REVISIONS : DATE | AUTHOR | DESCRIPTION
18 *--------------------|--------------|----------------------------------------
19 * 08/02/99| POUPON F. | Passage en ANSI pour VIP
20 *****************************************************************************/
21
22#ifndef VIP_MASK_H
23#define VIP_MASK_H
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29#include <vip/volume.h>
30#include <vip/distmap.h>
31
32#define EPSILON 0.000001
33
34#define X_MASK_SIZE 5
35#define Y_MASK_SIZE 5
36#define Z_MASK_SIZE 3
37
38#define VIP_MASK_AUTO -1.23456
39
41 int xmask,
42 int ymask,
43 int zmask,
44 float float_to_int,
45 float dist_voisinage);
46
48 int xmask,
49 int ymask,
50 int zmask,
51 float distmax);
52
54 Vip_S16BIT *lut,
55 float dist);
56
57#ifdef __cplusplus
58}
59#endif
60
61#endif
int VipCreateDistanceMapWithLut(Volume *vol, int xmask, int ymask, int zmask, float float_to_int, float dist_voisinage)
Vip_S16BIT * VipCreateLutCorrection(Volume *vol, int xmask, int ymask, int zmask, float distmax)
int VipApplyLutCorrection(Volume *vol, Vip_S16BIT *lut, float dist)
signed short Vip_S16BIT
Definition structure.h:93