ITK  5.0.0
Insight Segmentation and Registration Toolkit
itkMaximumFeatureAggregator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: itkMaximumFeatureAggregator.h
5  Language: C++
6  Date: $Date$
7  Version: $Revision$
8 
9  Copyright (c) Insight Software Consortium. All rights reserved.
10  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11 
12  This software is distributed WITHOUT ANY WARRANTY; without even
13  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
17 #ifndef itkMaximumFeatureAggregator_h
18 #define itkMaximumFeatureAggregator_h
19 
20 #include "itkFeatureAggregator.h"
21 
22 namespace itk
23 {
24 
41 template <unsigned int NDimension>
42 class ITK_TEMPLATE_EXPORT MaximumFeatureAggregator : public FeatureAggregator<NDimension>
43 {
44 public:
45  ITK_DISALLOW_COPY_AND_ASSIGN(MaximumFeatureAggregator);
46 
52 
54  itkNewMacro(Self);
55 
58 
60  static constexpr unsigned int Dimension = NDimension;
61 
63  using OutputPixelType = typename Superclass::OutputPixelType;
64  using OutputImageType = typename Superclass::OutputImageType;
65  using OutputImageSpatialObjectType = typename Superclass::OutputImageSpatialObjectType;
66 
67 
68 protected:
70  ~MaximumFeatureAggregator() override;
71  void PrintSelf(std::ostream& os, Indent indent) const override;
72 
73 
74 private:
75  void ConsolidateFeatures() override;
76 
77 };
78 
79 } // end namespace itk
80 
81 #ifndef ITK_MANUAL_INSTANTIATION
82 # include "itkMaximumFeatureAggregator.hxx"
83 #endif
84 
85 #endif
Light weight base class for most itk classes.
Class for combining multiple features into a single one.
Implementation of an image as spatial object.
Class for combining multiple features into a single one by computing the pixel-wise maximum...
Control indentation during Print() invocation.
Definition: itkIndent.h:49
Templated n-dimensional image class.
Definition: itkImage.h:75