ITK  4.6.0
Insight Segmentation and Registration Toolkit
itkMinimumFeatureAggregator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: itkMinimumFeatureAggregator.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 __itkMinimumFeatureAggregator_h
18 #define __itkMinimumFeatureAggregator_h
19 
20 #include "itkFeatureAggregator.h"
21 
22 namespace itk
23 {
24 
41 template <unsigned int NDimension>
42 class ITK_EXPORT MinimumFeatureAggregator : 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 ~MinimumFeatureAggregator();
69  void PrintSelf(std::ostream& os, Indent indent) const;
70 
71 
72 private:
73  MinimumFeatureAggregator(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 "itkMinimumFeatureAggregator.hxx"
84 #endif
85 
86 #endif
Light weight base class for most itk classes.
FeatureAggregator< NDimension > Superclass
Superclass::OutputImageType OutputImageType
Superclass::OutputImageSpatialObjectType OutputImageSpatialObjectType
Class for combining multiple features into a single one.
Class for combining multiple features into a single one by computing the pixel-wise minimum...
Superclass::OutputPixelType OutputPixelType
Control indentation during Print() invocation.
Definition: itkIndent.h:49
SmartPointer< const Self > ConstPointer