OSDN Git Service

Please enter the commit message for your changes. Lines starting
[eos/base.git] / include / lmrcImageSinogram.h
1 /*
2 # %M% %Y% %I%
3 # The latest update : %G% at %U%
4 #
5 #%Z% lmrcImageSinogram ver %I%
6 #%Z% Created by 
7 #%Z%
8 #%Z% Usage : lmrcImageSinogram 
9 #%Z% Attention
10 #%Z%
11 */
12 #ifndef  LMRC_IMAGE_SINOGRAM_H 
13 #define  LMRC_IMAGE_SINOGRAM_H
14
15 #include "mrcImage.h"
16
17 /* struct begin */
18 typedef struct lmrcImageSinogramInfo {
19         double dphi;
20         double Smalldphi;
21         int correlationMode;
22         int LengthMode;
23         int LengthCorrelationMode;
24         int LengthThresholdMode;
25
26         double weightOf0thDerivation;
27         double weightOf1stDerivation;
28         double weightOf2ndDerivation;
29         double threshold;
30         double LengthCorrelationThreshold;
31         double weightOfLength;
32         double LengthThresholdRatio;
33
34 } lmrcImageSinogramInfo;
35 /* struct end */
36
37 /* prototype begin */
38 extern void lmrcImageSinogramCreate(mrcImage* out, mrcImage* in, lmrcImageSinogramInfo* linfo, int mode);
39
40 extern void lmrcImageSinogramCorrelation(mrcImage* out, mrcImage* in, mrcImage* ref, lmrcImageSinogramInfo* linfo, int mode);
41 void lmrcImageSinogramCorrelation0(mrcImage* out, mrcImage* in, mrcImage* ref, lmrcImageSinogramInfo* linfo, int mode);
42 double lmrcImageOneLineSinogramCorrelation0(mrcImage* in, mrcImage* ref, int mode);
43
44 void lmrcImageSinogramCorrelation1(mrcImage* out, mrcImage* in, mrcImage* ref, lmrcImageSinogramInfo* linfo, int mode);
45 void lmrcImageSinogramCorrelation2(mrcImage* out, mrcImage* in, mrcImage* ref, lmrcImageSinogramInfo* linfo, int mode);
46
47 void lmrcImageDerivationCalculation(mrcImage* out, mrcImage* in, int mode);
48 void lmrcImageOneLineDerivationCalculation(mrcImage* out, mrcImage* in, int mode);
49
50 void lmrcImageSinogramLengthCorrelation(mrcImage* out, mrcImage* in, mrcImage* ref, lmrcImageSinogramInfo* linfo, int mode);
51 /* prototype end */
52
53 #endif