ITK  4.13.0
Insight Segmentation and Registration Toolkit
itkFastMarchingAndShapeDetectionLevelSetSegmentationModule.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: itkFastMarchingAndShapeDetectionLevelSetSegmentationModule.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 itkFastMarchingAndShapeDetectionLevelSetSegmentationModule_h
18 #define itkFastMarchingAndShapeDetectionLevelSetSegmentationModule_h
19 
24 
25 namespace itk
26 {
27 
37 template <unsigned int NDimension>
39  public SinglePhaseLevelSetSegmentationModule<NDimension>
40 {
41 public:
47 
49  itkNewMacro(Self);
50 
53 
55  itkStaticConstMacro(Dimension, unsigned int, NDimension);
56 
59  typedef typename Superclass::SpatialObjectType SpatialObjectType;
60  typedef typename Superclass::SpatialObjectPointer SpatialObjectPointer;
61 
63  typedef typename Superclass::OutputPixelType OutputPixelType;
64  typedef typename Superclass::InputImageType InputImageType;
65  typedef typename Superclass::FeatureImageType FeatureImageType;
66  typedef typename Superclass::OutputImageType OutputImageType;
67  typedef typename Superclass::FeatureSpatialObjectType FeatureSpatialObjectType;
68  typedef typename Superclass::OutputSpatialObjectType OutputSpatialObjectType;
69 
72 
76  virtual void SetStoppingValue( double d )
77  { m_FastMarchingModule->SetStoppingValue( d ); }
78  virtual double GetStoppingValue() const
79  { return m_FastMarchingModule->GetStoppingValue(); }
81 
83  virtual void SetDistanceFromSeeds( double d )
84  { m_FastMarchingModule->SetDistanceFromSeeds( d ); }
85  virtual double GetDistanceFromSeeds() const
86  { return m_FastMarchingModule->GetDistanceFromSeeds(); }
88 
89 protected:
92  void PrintSelf(std::ostream& os, Indent indent) const;
93 
96  void GenerateData ();
97 
102 
103 private:
104  FastMarchingAndShapeDetectionLevelSetSegmentationModule(const Self&); //purposely not implemented
105  void operator=(const Self&); //purposely not implemented
106 };
107 
108 } // end namespace itk
109 
110 #ifndef ITK_MANUAL_INSTANTIATION
111 # include "itkFastMarchingAndShapeDetectionLevelSetSegmentationModule.hxx"
112 #endif
113 
114 #endif
Light weight base class for most itk classes.
Class applies a single-phase level set segmentation method.
Representation of a Landmark based on the spatial object classes.
Class applies a fast marching segmentation method.
Control indentation during Print() invocation.
Definition: itkIndent.h:49
This class applies the ShapeDetectionLevelSet segmentation method.