From c7b51cf4d2cc1bcbb8954bbae16271f5b72d805e Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Wed, 19 Oct 2011 13:00:43 +0200 Subject: [PATCH] Write dilated Aorta in afdb --- segmentation/clitkExtractLymphStation_3A.txx | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/segmentation/clitkExtractLymphStation_3A.txx b/segmentation/clitkExtractLymphStation_3A.txx index e973ed0..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; } -- 2.47.1