]> Creatis software - clitk.git/commitdiff
Add S4ARL station extraction
authorDavid Sarrut <david.sarrut@creatis.insa-lyon.fr>
Thu, 29 Sep 2011 05:25:55 +0000 (07:25 +0200)
committerDavid Sarrut <david.sarrut@creatis.insa-lyon.fr>
Thu, 29 Sep 2011 05:25:55 +0000 (07:25 +0200)
segmentation/clitkExtractLymphStationsFilter.h
segmentation/clitkExtractLymphStationsFilter.txx

index 2db65b0ba1e928f45b35d9287784f8ad4d16d4c9..60a73e01cc57d1501d270c2d392942d533c7409e 100644 (file)
@@ -224,6 +224,17 @@ namespace clitk {
     void ExtractStation_1RL_Ant_Limits();
     void ExtractStation_1RL_Post_Limits();
 
+    // Station 4RL
+    void ExtractStation_4RL_SetDefaultValues();
+    void ExtractStation_4RL();
+    void ExtractStation_4RL_SI_Limits();
+    void ExtractStation_4RL_LR_Limits();
+    void ExtractStation_4RL_AP_Limits();
+    MaskImagePointer m_RightSupport;
+    MaskImagePointer m_LeftSupport;
+
+
+
     // Station 7
     void ExtractStation_7();
     void ExtractStation_7_SetDefaultValues();
@@ -252,14 +263,6 @@ namespace clitk {
                                     ListOfPointsType & LR, 
                                     ListOfPointsType & Ant, 
                                     ListOfPointsType & Post);
-    // Station 4RL
-    void ExtractStation_4RL();
-    void ExtractStation_4RL_SI_Limits();
-    void ExtractStation_4RL_LR_Limits();
-    void ExtractStation_4RL_AP_Limits();
-    MaskImagePointer m_RightSupport;
-    MaskImagePointer m_LeftSupport;
-
   private:
     ExtractLymphStationsFilter(const Self&); //purposely not implemented
     void operator=(const Self&); //purposely not implemented
index 03fb77ec2d614a4314b555290d41727459328965..f12d3bc9a494b1dfa023c8bdaa8465208d819642 100644 (file)
@@ -62,6 +62,7 @@ ExtractLymphStationsFilter():
   ExtractStation_2RL_SetDefaultValues();
   ExtractStation_3A_SetDefaultValues();
   ExtractStation_1RL_SetDefaultValues();
+  ExtractStation_4RL_SetDefaultValues();
 
   ExtractStation_7_SetDefaultValues();
   ExtractStation_8_SetDefaultValues();
@@ -133,6 +134,9 @@ GenerateOutputInformation() {
   // Extract Station1RL
   ExtractStation_1RL();
 
+  // Extract Station1RL
+  ExtractStation_4RL();
+
   // ---------- TODO -----------------------
 
   // Extract Station8
@@ -143,14 +147,7 @@ GenerateOutputInformation() {
   this->StartSubStep();
   ExtractStation_7();
   this->StopSubStep();
-
-  if (0) { // temporary suppress
-    // Extract Station4RL
-    this->StartNewStep("Station 4RL");
-    this->StartSubStep();
-    //ExtractStation_4RL();
-    this->StopSubStep();
-  }
+  
 }
 //--------------------------------------------------------------------
 
@@ -309,23 +306,6 @@ void ComputeImageBoundariesCoordinates(typename ImageType::Pointer image,
 //--------------------------------------------------------------------
 
 
-//--------------------------------------------------------------------
-template <class TImageType>
-void 
-clitk::ExtractLymphStationsFilter<TImageType>::
-ExtractStation_4RL() {
-  DD("TODO");
-  exit(0);
-  /*
-    WARNING ONLY 4R FIRST !!! (not same inf limits)
-  */    
-  ExtractStation_4RL_SI_Limits();
-  ExtractStation_4RL_LR_Limits();
-  ExtractStation_4RL_AP_Limits();
-}
-//--------------------------------------------------------------------
-
-
 //--------------------------------------------------------------------
 template <class ImageType>
 void