X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=segmentation%2FclitkExtractLymphStation_3A.txx;h=50e394852123e6fec950275934f2de39978a84ec;hb=9e137f701e07fdd5aef6982e6f1ce3153977c3f6;hp=26e478b81b763d190f318432da353ae01aef3c69;hpb=679ce81bf9cf5e8df71b11eff939193d02cb06b8;p=clitk.git diff --git a/segmentation/clitkExtractLymphStation_3A.txx b/segmentation/clitkExtractLymphStation_3A.txx index 26e478b..50e3948 100644 --- a/segmentation/clitkExtractLymphStation_3A.txx +++ b/segmentation/clitkExtractLymphStation_3A.txx @@ -148,19 +148,10 @@ ExtractStation_3A_Post_Limits_With_Dilated_Aorta_S6_Support() Aorta = clitk::Dilate(Aorta, radius, GetBackgroundValue(), GetForegroundValue(), false); // Now, insert this image in the AFDB (but do not store on disk) - GetAFDB()->template SetImage("Aorta_Dilated_Anteriorly", "bidon", - Aorta, false); - /* - // Not Post to - m_Working_Support = - clitk::SliceBySliceRelativePosition(m_Working_Support, Aorta, 2, - GetFuzzyThreshold("3A", "Aorta"), - "NotPostTo", true, - Aorta->GetSpacing()[0], false, false); - - */ + GetAFDB()->template SetImage("Aorta_Dilated_Anteriorly", "seg/Aorta_Dilated_Anteriorly.mha", Aorta, false); + writeImage(Aorta, "seg/Aorta_Dilated_Anteriorly.mha"); + GetAFDB()->Write(); - StopCurrentStep(m_Working_Support); m_ListOfStations["3A"] = m_Working_Support; } @@ -207,11 +198,11 @@ clitk::ExtractLymphStationsFilter:: 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"); ?