X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=segmentation%2FclitkExtractLymphStation_3A.txx;h=50e394852123e6fec950275934f2de39978a84ec;hb=b1a94242c6faae33b9e0908a24cacc3e3f7d4e92;hp=ba2fa621dad1995849d41fa7506d361b39dbf508;hpb=32539f6a33f6a97a8493a1fa11360d09be843a4c;p=clitk.git diff --git a/segmentation/clitkExtractLymphStation_3A.txx b/segmentation/clitkExtractLymphStation_3A.txx index ba2fa62..50e3948 100644 --- a/segmentation/clitkExtractLymphStation_3A.txx +++ b/segmentation/clitkExtractLymphStation_3A.txx @@ -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 slices; clitk::ExtractSlices(Aorta, 2, slices); std::vector points; @@ -141,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; } @@ -200,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"); ?