]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Image/DijkstraWithEndPointDetection.h
Skeleton reconstruction added
[FrontAlgorithms.git] / lib / fpa / Image / DijkstraWithEndPointDetection.h
index 4288da38e592d59333a2a4d6d3e8c8444f396c5b..b32d68a2bbb5f8dc0cc6db563968a1321f8f654e 100644 (file)
@@ -76,8 +76,19 @@ namespace fpa
       itkNewMacro( Self );
       itkTypeMacro( DijkstraWithEndPointDetection, Dijkstra );
 
+      itkBooleanMacro( CorrectSeeds );
+      itkBooleanMacro( CorrectEndPoints );
+
+      itkGetConstMacro( CorrectSeeds, bool );
+      itkGetConstMacro( CorrectEndPoints, bool );
+      itkGetConstMacro( SafetyNeighborhoodSize, unsigned int );
+
       itkGetConstMacro( NumberOfBranches, unsigned long );
 
+      itkSetMacro( CorrectSeeds, bool );
+      itkSetMacro( CorrectEndPoints, bool );
+      itkSetMacro( SafetyNeighborhoodSize, unsigned int );
+
     public:
       TLabelImage* GetLabelImage( );
       const TLabelImage* GetLabelImage( ) const;
@@ -125,8 +136,12 @@ namespace fpa
       unsigned int m_EndPointsIndex;
       unsigned int m_BranchesIndex;
 
-      _TCandidates    m_Candidates;
-      unsigned long   m_NumberOfBranches;
+      bool m_CorrectSeeds;
+      bool m_CorrectEndPoints;
+      unsigned int m_SafetyNeighborhoodSize;
+
+      _TCandidates  m_Candidates;
+      unsigned long m_NumberOfBranches;
     };
 
   } // ecapseman