ITK  4.13.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_EXPORT MaximumFeatureAggregator : public FeatureAggregator<NDimension>
43 {
44 public:
50 
52  itkNewMacro(Self);
53 
56 
58  itkStaticConstMacro(Dimension, unsigned int, NDimension);
59 
61  typedef typename Superclass::OutputPixelType OutputPixelType;
62  typedef typename Superclass::OutputImageType OutputImageType;
63  typedef typename Superclass::OutputImageSpatialObjectType OutputImageSpatialObjectType;
64 
65 
66 protected:
68  virtual ~MaximumFeatureAggregator();
69  void PrintSelf(std::ostream& os, Indent indent) const;
70 
71 
72 private:
73  MaximumFeatureAggregator(const Self&); //purposely not implemented
74  void operator=(const Self&); //purposely not implemented
75 
76  void ConsolidateFeatures();
77 
78 };
79 
80 } // end namespace itk
81 
82 #ifndef ITK_MANUAL_INSTANTIATION
83 # include "itkMaximumFeatureAggregator.hxx"
84 #endif
85 
86 #endif
Superclass::OutputImageSpatialObjectType OutputImageSpatialObjectType
Light weight base class for most itk classes.
Superclass::OutputImageType OutputImageType
Superclass::OutputPixelType OutputPixelType
SmartPointer< const Self > ConstPointer
Class for combining multiple features into a single one.
FeatureAggregator< NDimension > Superclass
Class for combining multiple features into a single one by computing the pixel-wise maximum...
Control indentation during Print() invocation.
Definition: itkIndent.h:49