]> Creatis software - clitk.git/blobdiff - segmentation/clitkExtractLymphStation_3A.txx
remove tools (now in tests_dav)
[clitk.git] / segmentation / clitkExtractLymphStation_3A.txx
index ba2fa621dad1995849d41fa7506d361b39dbf508..50e394852123e6fec950275934f2de39978a84ec 100644 (file)
@@ -67,6 +67,13 @@ ExtractStation_3A_Post_Left_Limits_With_Aorta_S5_Support()
   // Inferiorly, Aorta has two CCL that merge into a single one when
   // S6 appears. Loop on Aorta slices, select the most ant one, detect
   // the most ant point.
+
+
+
+  // ====> TO BE CHANGED USING AscendingAorta and DescendingAorta
+
+
+
   std::vector<MaskSlicePointer> slices;
   clitk::ExtractSlices<MaskImageType>(Aorta, 2, slices);
   std::vector<MaskImagePointType> points;
@@ -141,19 +148,10 @@ ExtractStation_3A_Post_Limits_With_Dilated_Aorta_S6_Support()
   Aorta = clitk::Dilate<MaskImageType>(Aorta, radius, GetBackgroundValue(), GetForegroundValue(), false);
   
   // Now, insert this image in the AFDB (but do not store on disk)
-  GetAFDB()->template SetImage<MaskImageType>("Aorta_Dilated_Anteriorly", "bidon", 
-                                              Aorta, false);
-  /*
-  // Not Post to
-  m_Working_Support = 
-    clitk::SliceBySliceRelativePosition<MaskImageType>(m_Working_Support, Aorta, 2, 
-                                                       GetFuzzyThreshold("3A", "Aorta"), 
-                                                       "NotPostTo", true, 
-                                                       Aorta->GetSpacing()[0], false, false);
+  GetAFDB()->template SetImage<MaskImageType>("Aorta_Dilated_Anteriorly", "seg/Aorta_Dilated_Anteriorly.mha", Aorta, false);
+  writeImage<MaskImageType>(Aorta, "seg/Aorta_Dilated_Anteriorly.mha");
+  GetAFDB()->Write();
 
-  */
-
-  
   StopCurrentStep<MaskImageType>(m_Working_Support);
   m_ListOfStations["3A"] = m_Working_Support;
 }
@@ -200,11 +198,11 @@ clitk::ExtractLymphStationsFilter<ImageType>::
 ExtractStation_3A_Remove_Structures() 
 {
   Remove_Structures(" 3A", "Aorta");
-  Remove_Structures(" 3A", "SubclavianArteryLeft");
-  Remove_Structures(" 3A", "SubclavianArteryRight");
+  Remove_Structures(" 3A", "LeftSubclavianArtery");
+  Remove_Structures(" 3A", "RightSubclavianArtery");
   Remove_Structures(" 3A", "Thyroid");
-  Remove_Structures(" 3A", "CommonCarotidArteryLeft");
-  Remove_Structures(" 3A", "CommonCarotidArteryRight");
+  Remove_Structures(" 3A", "LeftCommonCarotidArtery");
+  Remove_Structures(" 3A", "RightCommonCarotidArtery");
   Remove_Structures(" 3A", "BrachioCephalicArtery");
   //  Remove_Structures("3A", "Bones"); --> should be in extractmediastinum
   //  Remove_Structures("3A", "BrachioCephalicVein"); ?