OSDN Git Service

Merge branch 'master' of git://git.sourceforge.jp/gitroot/eos/base
[eos/hostdependX86LINUX64.git] / include / lmrcImageSecondNoiseReductionByRelaxation.h
1 #ifndef LMRC_IMAGE_SECOMD_NOISE_REDUCTION_BY_RELAXATION_H
2 #define LMRC_IMAGE_SECOMD_NOISE_REDUCTION_BY_RELAXATION_H
3 /*
4 # %M% %Y% %I%
5 # The latest update : %G% at %U%
6 #
7 #%Z% lmrcImageSecondNoiseReductionByRelaxation.h ver %I%
8 #%Z% Created by 
9 #%Z%
10 #%Z% Usage : lmrcImageSecondNoiseReductionByRelaxation.h 
11 #%Z% Attention
12 #%Z%
13 */
14 #include "mrcImage.h"
15 #include "lmrcImageFirstNoiseReductionByRelaxation.h"
16
17 /* struct begin */
18 typedef enum lmrcImageSecondNoiseReductionByRelaxationDijStyleMode1 {
19   lmrcImageSecondNoiseReductionByRelaxationDijStyleMode1SavitzyGolay = 1
20 } lmrcImageSecondNoiseReductionByRelaxationDijStyleMode1;
21   
22 typedef enum lmrcImageSecondNoiseReductionByRelaxationDijStyleMode2 {
23   lmrcImageSecondNoiseReductionByRelaxationDijStyleMode2Rectangle = 1,
24   lmrcImageSecondNoiseReductionByRelaxationDijStyleMode2Circle = 2
25 } lmrcImageSecondNoiseReductionByRelaxationDijStyleMode2;
26
27 typedef enum lmrcImageSecondNoiseReductionByRelaxationDijStyleMode3 {
28   lmrcImageSecondNoiseReductionByRelaxationDijStyleMode3FiveTimesFive = 1,
29   lmrcImageSecondNoiseReductionByRelaxationDijStyleMode3SevenTimesSeven = 2
30 } lmrcImageSecondNoiseReductionByRelaxationDijStyleMode3;
31 /* struct end */
32
33 /* prototype begin */
34 #define XYZCOORD(x,y,z,nx,ny,nz) ((x)+(y)*(nx)+(z)*(nx)*(ny))
35
36 extern void  lmrcImageSecondNoiseReductionByRelaxation(mrcImage* out, mrcImage* pPrev, mrcImage* q, double* densityLevel,
37                                                lmrcImageNoiseReductionByRelaxationInfo* info);
38 /* prototype end */
39
40 #endif
41