OSDN Git Service

Fixed conflict
[eos/hostdependX86LINUX64.git] / include / lmrcImageNormalizing.h
1 /*
2 # %M% %Y% %I%
3 # The latest update : %G% at %U%
4 #
5 #%Z% lmrcImageNormalizing ver %I%
6 #%Z% Created by tacyas
7 #%Z%
8 #%Z% Usage : lmrcImageNormalizing
9 #%Z% Attention
10 #%Z%
11 */
12
13 #ifndef  LMRC_IMAGE_NORMALIZING_H 
14 #define  LMRC_IMAGE_NORMALIZING_H
15
16 #define DEBUG
17 #include "genUtil.h"
18 #include "mrcImage.h"
19 #include "nr2.h"
20
21 /* struct begin */
22 typedef float lmrcImageNormalizingParaTypeReal;
23 typedef enum lmrcImageNormalizingMode {
24         lmrcImageNormalizingModeDoubleExponential=0,
25         lmrcImageNormalizingModeMinMax=1,
26         lmrcImageNormalizingModeUsingContour=2,
27         lmrcImageNormalizingModeUsingContourWithSolventFlattening=3,
28         lmrcImageNormalizingModeNoEstimation=4
29 } lmrcImageNormalizingMode ;
30
31 typedef struct lmrcImageNormalizingInfo {
32         lmrcImageNormalizingParaTypeReal A;
33         lmrcImageNormalizingParaTypeReal B; /* A x + B */
34         lmrcImageNormalizingParaTypeReal ContourMin;
35         lmrcImageNormalizingParaTypeReal ContourMax;
36         lmrcImageNormalizingParaTypeReal ContourSolvent;
37         lmrcImageNormalizingMode Mode;
38 } lmrcImageNormalizingInfo;
39 /* struct end */
40
41 /* prototype begin */
42 extern void lmrcImageNormalizing(mrcImage* out, mrcImage* in, lmrcImageNormalizingInfo* linfo, int mode);
43 extern void lmrcImageNormalizingModePrint(FILE* fpt, int mode);
44 /* prototype end */
45
46 #endif