5 #include <itkVectorImage.h> 14 template <
class TInputImage >
50 TInputImage::ImageDimension);
52 TInputImage::ImageDimension);
61 itkSetMacro(PatchHalfSize,
unsigned int)
62 itkSetMacro(SearchNeighborhood,
unsigned int)
63 itkSetMacro(SearchStepSize,
unsigned int)
64 itkSetMacro(WeightThreshold,
double)
65 itkSetMacro(BetaParameter,
double)
66 itkSetMacro(MeanMinThreshold,
double)
67 itkSetMacro(VarMinThreshold,
double)
68 itkSetMacro(WeightMethod,
WEIGHT)
72 m_MeanMinThreshold(0.95),
73 m_VarMinThreshold(0.5),
74 m_WeightThreshold(0.0),
78 m_SearchNeighborhood(6),
80 m_localNeighborhood(1)
92 void computeAverageLocalVariance();
93 void computeMeanAndVarImages();
95 double m_MeanMinThreshold;
96 double m_VarMinThreshold;
97 double m_WeightThreshold;
98 double m_BetaParameter;
100 unsigned int m_PatchHalfSize;
101 unsigned int m_SearchStepSize;
102 unsigned int m_SearchNeighborhood;
105 double m_noiseCovariance;
106 OutputImagePointer m_meanImage;
107 OutputImagePointer m_varImage;
109 int m_localNeighborhood;
NonLocalMeansImageFilter()
TInputImage::PixelType InputPixelType
static const unsigned int InputImageDimension
NonLocalMeansImageFilter Self
OutputImageType::Pointer OutputImagePointer
static const unsigned int OutputImageDimension
anima::NumberedThreadImageToImageFilter< InputImageType, OutputImageType > Superclass
Implements a class to handle thread number in a dynamic way for multithreaded methods needing thread ...
InputImageType::IndexType InputImageIndexType
InputImageType::RegionType InputImageRegionType
InputImageType::Pointer InputImagePointer
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) ITK_OVERRIDE
itk::SmartPointer< Self > Pointer
void BeforeThreadedGenerateData() ITK_OVERRIDE
virtual ~NonLocalMeansImageFilter()
TInputImage InputImageType
OutputImageType::RegionType OutputImageRegionType
InputPixelType OutputPixelType
itk::SmartPointer< const Self > ConstPointer
InputImageType OutputImageType