ITK  5.0.0
Insight Segmentation and Registration Toolkit
itkMovingHistogramDilateImageFilter.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 itkMovingHistogramDilateImageFilter_h
19 #define itkMovingHistogramDilateImageFilter_h
20 
22 #include <functional>
23 
24 namespace itk
25 {
42 template< typename TInputImage, typename TOutputImage, typename TKernel >
44  public MovingHistogramMorphologyImageFilter< TInputImage, TOutputImage, TKernel,
45  typename Function::MorphologyHistogram< typename TInputImage::PixelType,
46  typename std::greater< typename
47  TInputImage
48  ::PixelType > > >
49 {
50 public:
51  ITK_DISALLOW_COPY_AND_ASSIGN(MovingHistogramDilateImageFilter);
52 
55  using Superclass = MovingHistogramMorphologyImageFilter< TInputImage, TOutputImage, TKernel,
56  typename Function::MorphologyHistogram< typename TInputImage::PixelType,
57  typename std::greater< typename
58  TInputImage
59  ::PixelType > > >;
62 
64  itkNewMacro(Self);
65 
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;
79  using OutputPixelType = typename TOutputImage::PixelType;
80 
82  static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
83 
84 protected:
86  {
88  }
89 
90  ~MovingHistogramDilateImageFilter() override = default;
91 }; // end of class
92 } // end namespace itk
93 
94 #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
typename Superclass::OutputImageRegionType OutputImageRegionType
~MovingHistogramDilateImageFilter() override=default
Base class for MovingHistogramDilateImageFilter and MovingHistogramErodeImageFilter.