ITK  5.0.0
Insight Segmentation and Registration Toolkit
itkMovingHistogramErodeImageFilter.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 itkMovingHistogramErodeImageFilter_h
19 #define itkMovingHistogramErodeImageFilter_h
20 
22 
23 namespace itk
24 {
41 template< typename TInputImage, typename TOutputImage, typename TKernel >
43  public MovingHistogramMorphologyImageFilter< TInputImage, TOutputImage, TKernel,
44  typename Function::MorphologyHistogram< typename TInputImage::PixelType,
45  typename std::less< typename
46  TInputImage
47  ::PixelType > > >
48 {
49 public:
50  ITK_DISALLOW_COPY_AND_ASSIGN(MovingHistogramErodeImageFilter);
51 
54  using Superclass = MovingHistogramMorphologyImageFilter< TInputImage, TOutputImage, TKernel,
55  typename Function::MorphologyHistogram< typename TInputImage::PixelType,
56  typename std::less< typename
57  TInputImage
58  ::PixelType > > >;
61 
63  itkNewMacro(Self);
64 
68 
70  using InputImageType = TInputImage;
71  using OutputImageType = TOutputImage;
73  using SizeType = typename TInputImage::SizeType;
75  using PixelType = typename TInputImage::PixelType;
76  using OffsetType = typename TInputImage::OffsetType;
78  using OutputPixelType = typename TOutputImage::PixelType;
79 
81  static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
82 
83 protected:
85  {
87  }
88 
89  ~MovingHistogramErodeImageFilter() override = default;
90 }; // end of class
91 } // end namespace itk
92 
93 #endif
Define numeric traits for std::vector.
typename TInputImage::IndexType IndexType
typename TOutputImage::PixelType OutputPixelType
typename TInputImage::RegionType RegionType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Base class for all process objects that output image data.
typename TInputImage::OffsetType OffsetType
typename OutputImageType::RegionType OutputImageRegionType
typename TInputImage::SizeType SizeType
TOutputImage OutputImageType
~MovingHistogramErodeImageFilter() override=default
typename Superclass::OutputImageRegionType OutputImageRegionType
Base class for MovingHistogramDilateImageFilter and MovingHistogramErodeImageFilter.