1 #ifndef LMRC_IMAGE_SECOMD_NOISE_REDUCTION_BY_RELAXATION_H
2 #define LMRC_IMAGE_SECOMD_NOISE_REDUCTION_BY_RELAXATION_H
5 # The latest update : %G% at %U%
7 #%Z% lmrcImageSecondNoiseReductionByRelaxation.h ver %I%
10 #%Z% Usage : lmrcImageSecondNoiseReductionByRelaxation.h
15 #include "lmrcImageFirstNoiseReductionByRelaxation.h"
18 typedef enum lmrcImageSecondNoiseReductionByRelaxationDijStyleMode1 {
19 lmrcImageSecondNoiseReductionByRelaxationDijStyleMode1SavitzyGolay = 1
20 } lmrcImageSecondNoiseReductionByRelaxationDijStyleMode1;
22 typedef enum lmrcImageSecondNoiseReductionByRelaxationDijStyleMode2 {
23 lmrcImageSecondNoiseReductionByRelaxationDijStyleMode2Rectangle = 1,
24 lmrcImageSecondNoiseReductionByRelaxationDijStyleMode2Circle = 2
25 } lmrcImageSecondNoiseReductionByRelaxationDijStyleMode2;
27 typedef enum lmrcImageSecondNoiseReductionByRelaxationDijStyleMode3 {
28 lmrcImageSecondNoiseReductionByRelaxationDijStyleMode3FiveTimesFive = 1,
29 lmrcImageSecondNoiseReductionByRelaxationDijStyleMode3SevenTimesSeven = 2
30 } lmrcImageSecondNoiseReductionByRelaxationDijStyleMode3;
34 #define XYZCOORD(x,y,z,nx,ny,nz) ((x)+(y)*(nx)+(z)*(nx)*(ny))
36 extern void lmrcImageSecondNoiseReductionByRelaxation(mrcImage* out, mrcImage* pPrev, mrcImage* q, double* densityLevel,
37 lmrcImageNoiseReductionByRelaxationInfo* info);