ITK  4.6.0
Insight Segmentation and Registration Toolkit
itkFastMarchingSegmentationModule.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: itkFastMarchingSegmentationModule.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 __itkFastMarchingSegmentationModule_h
18 #define __itkFastMarchingSegmentationModule_h
19 
21 #include "itkImageSpatialObject.h"
23 
24 namespace itk
25 {
26 
37 template <unsigned int NDimension>
39 {
40 public:
46 
48  itkNewMacro(Self);
49 
52 
54  itkStaticConstMacro(Dimension, unsigned int, NDimension);
55 
58  typedef typename Superclass::SpatialObjectType SpatialObjectType;
59  typedef typename Superclass::SpatialObjectPointer SpatialObjectPointer;
60 
62  typedef float OutputPixelType;
63  typedef float FeaturePixelType;
66 
70 
73 
77  itkSetMacro( StoppingValue, double );
78  itkGetMacro( StoppingValue, double );
80 
82  itkSetMacro( DistanceFromSeeds, double );
83  itkGetMacro( DistanceFromSeeds, double );
85 
86 protected:
89  void PrintSelf(std::ostream& os, Indent indent) const;
90 
93  void GenerateData ();
94 
96  const InputSpatialObjectType * GetInternalInputLandmarks() const;
97 
100 
101 private:
102  FastMarchingSegmentationModule(const Self&); //purposely not implemented
103  void operator=(const Self&); //purposely not implemented
104 
105 };
106 
107 } // end namespace itk
108 
109 #ifndef ITK_MANUAL_INSTANTIATION
110 # include "itkFastMarchingSegmentationModule.hxx"
111 #endif
112 
113 #endif
Light weight base class for most itk classes.
Class applies a single-phase level set segmentation method.
ImageSpatialObject< NDimension, FeaturePixelType > FeatureSpatialObjectType
Image< FeaturePixelType, NDimension > FeatureImageType
Representation of a Landmark based on the spatial object classes.
LandmarkSpatialObject< NDimension > InputSpatialObjectType
SinglePhaseLevelSetSegmentationModule< NDimension > Superclass
Class applies a fast marching segmentation method.
Image< OutputPixelType, NDimension > OutputImageType
Implementation of an image as spatial object.
Control indentation during Print() invocation.
Definition: itkIndent.h:49
Superclass::SpatialObjectPointer SpatialObjectPointer
Templated n-dimensional image class.
Definition: itkImage.h:75
ImageSpatialObject< NDimension, OutputPixelType > OutputSpatialObjectType