OSDN Git Service

Please enter the commit message for your changes. Lines starting
[eos/base.git] / include / lmrcImageFloating.h
1 /*
2 # lmrcImageFloating.h : $Revision$  
3 # $Date$ 
4 # Created by $Author$
5 # Usage : lmrcImageFloating.h 
6 # Attention
7 #   $Loccker$
8 #       $State$ 
9 #
10 */
11 /* $Log$ */
12 #ifndef LMRCIMAGE_FLOATHING_H 
13 #define LMRCIMAGE_FLOATHING_H 
14
15 #include <stdio.h>
16 #include "mrcImage.h"
17
18 /* constant begin */
19 typedef enum lmrcImageFloatingMode {
20         lmrcImageFloatingModeAllMean             = 0,
21         lmrcImageFloatingModeSphereSurfaceMean   = 1,
22         lmrcImageFloatingModeCylinderSurfaceMean = 2,
23         lmrcImageFloatingModeEdgePixel           = 3
24 } lmrcImageLFloatingMode;
25
26 /* constant end */
27
28 /* struct begin */
29 typedef struct lmrcImageFloatingInfo {
30         // Input
31         double value; /* to Floating Value */
32
33         // Output
34         mrcImageInformation info;
35 } lmrcImageFloatingInfo;
36
37 /* struct end */
38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42
43 /* prototype begin */
44
45 void lmrcImageFloatingModePrint(FILE* fpt);
46 void lmrcImageFloating(mrcImage* out, mrcImage* in, lmrcImageFloatingInfo* linfo, int mode);
47
48 /* prototype end */
49
50 #ifdef __cplusplus
51 };
52 #endif
53
54 #endif  /* XXXX */