ITK  4.9.0
Insight Segmentation and Registration Toolkit
itkMinMaxCurvatureFlowImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef itkMinMaxCurvatureFlowImageFilter_h
19 #define itkMinMaxCurvatureFlowImageFilter_h
20 
23 
24 namespace itk
25 {
76 template< typename TInputImage, typename TOutputImage >
78  public CurvatureFlowImageFilter< TInputImage, TOutputImage >
79 {
80 public:
86 
88  itkNewMacro(Self);
89 
92 
96 
100 
103  itkStaticConstMacro(ImageDimension, unsigned int,
105 
109 
111  itkSetMacro(StencilRadius, RadiusValueType);
112  itkGetConstMacro(StencilRadius, RadiusValueType);
114 
115 #ifdef ITK_USE_CONCEPT_CHECKING
116  // Begin concept checking
117  itkConceptMacro( UnsignedLongConvertibleToOutputCheck,
119  itkConceptMacro( OutputLessThanComparableCheck,
121  itkConceptMacro( LongConvertibleToOutputCheck,
123  itkConceptMacro( OutputDoubleComparableCheck,
125  itkConceptMacro( OutputDoubleMultiplyAndAssignOperatorCheck,
126  ( Concept::MultiplyAndAssignOperator< typename TOutputImage::PixelType,
127  double > ) );
128  itkConceptMacro( OutputGreaterThanUnsignedLongCheck,
129  ( Concept::GreaterThanComparable< typename TOutputImage::PixelType,
130  unsigned long > ) );
131  itkConceptMacro( UnsignedLongOutputAditiveOperatorsCheck,
132  ( Concept::AdditiveOperators< unsigned long,
133  typename TOutputImage::PixelType > ) );
134  // End concept checking
135 #endif
136 
137 protected:
140  void PrintSelf(std::ostream & os, Indent indent) const ITK_OVERRIDE;
141 
144  virtual void InitializeIteration() ITK_OVERRIDE;
145 
146 private:
147  MinMaxCurvatureFlowImageFilter(const Self &) ITK_DELETE_FUNCTION;
148  void operator=(const Self &) ITK_DELETE_FUNCTION;
149 
151 };
152 } // end namspace itk
153 
154 #ifndef ITK_MANUAL_INSTANTIATION
155 #include "itkMinMaxCurvatureFlowImageFilter.hxx"
156 #endif
157 
158 #endif
ConstNeighborhoodIterator< TImageType >::RadiusType RadiusType
Base class for all process objects that output image data.
unsigned long SizeValueType
Definition: itkIntTypes.h:143
Superclass::FiniteDifferenceFunctionType FiniteDifferenceFunctionType
Superclass::OutputImageType OutputImageType
CurvatureFlowImageFilter< TInputImage, TOutputImage > Superclass
MinMaxCurvatureFlowFunction< OutputImageType > MinMaxCurvatureFlowFunctionType
void PrintSelf(std::ostream &os, Indent indent) const override
FiniteDifferenceFunctionType::RadiusType RadiusType
virtual void InitializeIteration() override
static const unsigned int ImageDimension
Denoise an image using min/max curvature flow.
Control indentation during Print() invocation.
Definition: itkIndent.h:49
#define itkConceptMacro(name, concept)
Denoise an image using curvature driven flow.
Superclass::FiniteDifferenceFunctionType FiniteDifferenceFunctionType