ITK  6.0.0
Insight Toolkit
itkMovingHistogramErodeImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright NumFOCUS
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  * https://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 itkMovingHistogramErodeImageFilter_h
19 #define itkMovingHistogramErodeImageFilter_h
20 
22 
23 namespace itk
24 {
41 template <typename TInputImage, typename TOutputImage, typename TKernel>
44  TInputImage,
45  TOutputImage,
46  TKernel,
47  typename Function::MorphologyHistogram<typename TInputImage::PixelType,
48  typename std::less<typename TInputImage::PixelType>>>
49 {
50 public:
51  ITK_DISALLOW_COPY_AND_MOVE(MovingHistogramErodeImageFilter);
52 
56  TInputImage,
57  TOutputImage,
58  TKernel,
59  typename Function::MorphologyHistogram<typename TInputImage::PixelType,
60  typename std::less<typename TInputImage::PixelType>>>;
63 
65  itkNewMacro(Self);
66 
68  itkOverrideGetNameOfClassMacro(MovingHistogramErodeImageFilter);
69 
71  using InputImageType = TInputImage;
72  using OutputImageType = TOutputImage;
74  using SizeType = typename TInputImage::SizeType;
76  using PixelType = typename TInputImage::PixelType;
77  using OffsetType = typename TInputImage::OffsetType;
78  using typename Superclass::OutputImageRegionType;
79  using OutputPixelType = typename TOutputImage::PixelType;
80 
82  static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
83 
84 protected:
86 
87  ~MovingHistogramErodeImageFilter() override = default;
88 }; // end of class
89 } // end namespace itk
90 
91 #endif
itk::BoxImageFilter::OutputPixelType
typename TOutputImage::PixelType OutputPixelType
Definition: itkBoxImageFilter.h:67
itk::MovingHistogramMorphologyImageFilter< TInputImage, TOutputImage, TKernel, Function::MorphologyHistogram< TInputImage::PixelType, std::less< TInputImage::PixelType > > >::m_Boundary
PixelType m_Boundary
Definition: itkMovingHistogramMorphologyImageFilter.h:119
itk::MovingHistogramErodeImageFilter::~MovingHistogramErodeImageFilter
~MovingHistogramErodeImageFilter() override=default
itk::GTest::TypedefsAndConstructors::Dimension2::SizeType
ImageBaseType::SizeType SizeType
Definition: itkGTestTypedefsAndConstructors.h:49
itk::Function::MorphologyHistogram
Definition: itkMorphologyHistogram.h:31
itk::SmartPointer< Self >
itk::MovingHistogramErodeImageFilter
Grayscale erosion of an image.
Definition: itkMovingHistogramErodeImageFilter.h:42
itk::MovingHistogramErodeImageFilter::ImageDimension
static constexpr unsigned int ImageDimension
Definition: itkMovingHistogramErodeImageFilter.h:82
itk::BoxImageFilter::OffsetType
typename TInputImage::OffsetType OffsetType
Definition: itkBoxImageFilter.h:62
itk::GTest::TypedefsAndConstructors::Dimension2::IndexType
ImageBaseType::IndexType IndexType
Definition: itkGTestTypedefsAndConstructors.h:50
itk::ImageSource
Base class for all process objects that output image data.
Definition: itkImageSource.h:67
itk::BoxImageFilter::IndexType
typename TInputImage::IndexType IndexType
Definition: itkBoxImageFilter.h:61
itk::MovingHistogramImageFilterBase::PixelType
typename TInputImage::PixelType PixelType
Definition: itkMovingHistogramImageFilterBase.h:114
itk::MovingHistogramErodeImageFilter::MovingHistogramErodeImageFilter
MovingHistogramErodeImageFilter()
Definition: itkMovingHistogramErodeImageFilter.h:85
itk::GTest::TypedefsAndConstructors::Dimension2::RegionType
ImageBaseType::RegionType RegionType
Definition: itkGTestTypedefsAndConstructors.h:54
itk::ImageToImageFilter::InputImageType
TInputImage InputImageType
Definition: itkImageToImageFilter.h:129
itk::NumericTraits::max
static constexpr T max(const T &)
Definition: itkNumericTraits.h:169
itkMovingHistogramMorphologyImageFilter.h
itk::ImageSource::OutputImageRegionType
typename OutputImageType::RegionType OutputImageRegionType
Definition: itkImageSource.h:92
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnatomicalOrientation.h:29
itk::ProcessObject
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Definition: itkProcessObject.h:139
itk::BoxImageFilter::SizeType
typename TInputImage::SizeType SizeType
Definition: itkBoxImageFilter.h:60
itk::MovingHistogramMorphologyImageFilter
Base class for MovingHistogramDilateImageFilter and MovingHistogramErodeImageFilter.
Definition: itkMovingHistogramMorphologyImageFilter.h:44
itk::ImageSource::OutputImageType
TOutputImage OutputImageType
Definition: itkImageSource.h:90
itk::BoxImageFilter::RegionType
typename TInputImage::RegionType RegionType
Definition: itkBoxImageFilter.h:59