ITK  5.0.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>
38 class ITK_TEMPLATE_EXPORT FastMarchingSegmentationModule : public SinglePhaseLevelSetSegmentationModule<NDimension>
39 {
40 public:
41  ITK_DISALLOW_COPY_AND_ASSIGN(FastMarchingSegmentationModule);
42 
48 
50  itkNewMacro(Self);
51 
54 
56  static constexpr unsigned int Dimension = NDimension;
57 
60  using SpatialObjectType = typename Superclass::SpatialObjectType;
61  using SpatialObjectPointer = typename Superclass::SpatialObjectPointer;
62 
64  using OutputPixelType = float;
65  using FeaturePixelType = float;
68 
72 
75 
79  itkSetMacro( StoppingValue, double );
80  itkGetMacro( StoppingValue, double );
82 
84  itkSetMacro( DistanceFromSeeds, double );
85  itkGetMacro( DistanceFromSeeds, double );
87 
88 protected:
91  void PrintSelf(std::ostream& os, Indent indent) const override;
92 
95  void GenerateData () override;
96 
98  const InputSpatialObjectType * GetInternalInputLandmarks() const;
99 
102 };
103 
104 } // end namespace itk
105 
106 #ifndef ITK_MANUAL_INSTANTIATION
107 # include "itkFastMarchingSegmentationModule.hxx"
108 #endif
109 
110 #endif
Light weight base class for most itk classes.
Class applies a single-phase level set segmentation method.
typename Superclass::SpatialObjectType SpatialObjectType
typename Superclass::SpatialObjectPointer SpatialObjectPointer
Representation of a Landmark based on the spatial object classes.
Class applies a fast marching segmentation method.
Implementation of an image as spatial object.
Control indentation during Print() invocation.
Definition: itkIndent.h:49
Templated n-dimensional image class.
Definition: itkImage.h:75