ITK  4.9.0
Insight Segmentation and Registration Toolkit
itkConnectedThresholdSegmentationModule.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: itkConnectedThresholdSegmentationModule.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 itkConnectedThresholdSegmentationModule_h
18 #define itkConnectedThresholdSegmentationModule_h
19 
22 
23 namespace itk
24 {
25 
35 template <unsigned int NDimension>
37  public RegionGrowingSegmentationModule<NDimension>
38 {
39 public:
45 
47  itkNewMacro(Self);
48 
51 
53  itkStaticConstMacro(Dimension, unsigned int, NDimension);
54 
57  typedef typename Superclass::FeatureImageType FeatureImageType;
58  typedef typename Superclass::OutputImageType OutputImageType;
59  typedef typename Superclass::InputSpatialObjectType InputSpatialObjectType;
60 
62  itkSetMacro( LowerThreshold, double );
63  itkGetMacro( LowerThreshold, double );
64  itkSetMacro( UpperThreshold, double );
65  itkGetMacro( UpperThreshold, double );
67 
68 protected:
71  void PrintSelf(std::ostream& os, Indent indent) const;
72 
75  void GenerateData ();
76 
77 private:
78  ConnectedThresholdSegmentationModule(const Self&); //purposely not implemented
79  void operator=(const Self&); //purposely not implemented
80 
83 
84 };
85 
86 } // end namespace itk
87 
88 #ifndef ITK_MANUAL_INSTANTIATION
89 # include "itkConnectedThresholdSegmentationModule.hxx"
90 #endif
91 
92 #endif
Light weight base class for most itk classes.
This class applies the connected threshold region growing segmentation method.
Class applies a region growing segmentation method.
RegionGrowingSegmentationModule< NDimension > Superclass
Control indentation during Print() invocation.
Definition: itkIndent.h:49