From 4082f341e87e76823c570912f796420408f54eb0 Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Fri, 29 Jul 2011 15:20:13 +0200 Subject: [PATCH] Put in this file all commands related to S2RL --- segmentation/clitkExtractLymphStation_2RL.txx | 33 ++++++++++--------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/segmentation/clitkExtractLymphStation_2RL.txx b/segmentation/clitkExtractLymphStation_2RL.txx index ee9d2f3..260e50a 100644 --- a/segmentation/clitkExtractLymphStation_2RL.txx +++ b/segmentation/clitkExtractLymphStation_2RL.txx @@ -33,24 +33,25 @@ void clitk::ExtractLymphStationsFilter:: ExtractStation_2RL() { - if (CheckForStation("2RL")) { - ExtractStation_2RL_SI_Limits(); - ExtractStation_2RL_Post_Limits(); + if ((!CheckForStation("2R")) && (!CheckForStation("2L"))) return; - ExtractStation_2RL_Ant_Limits2(); - //ExtractStation_2RL_Ant_Limits(); + ExtractStation_2RL_SI_Limits(); + ExtractStation_2RL_Post_Limits(); + + ExtractStation_2RL_Ant_Limits2(); + //ExtractStation_2RL_Ant_Limits(); + + ExtractStation_2RL_LR_Limits(); + ExtractStation_2RL_Remove_Structures(); + ExtractStation_2RL_SeparateRL(); + + // Store image filenames into AFDB + writeImage(m_ListOfStations["2R"], "seg/Station2R.mhd"); + writeImage(m_ListOfStations["2L"], "seg/Station2L.mhd"); + GetAFDB()->SetImageFilename("Station2R", "seg/Station2R.mhd"); + GetAFDB()->SetImageFilename("Station2L", "seg/Station2L.mhd"); + WriteAFDB(); - ExtractStation_2RL_LR_Limits(); - ExtractStation_2RL_Remove_Structures(); - ExtractStation_2RL_SeparateRL(); - - // Store image filenames into AFDB - writeImage(m_ListOfStations["2R"], "seg/Station2R.mhd"); - writeImage(m_ListOfStations["2L"], "seg/Station2L.mhd"); - GetAFDB()->SetImageFilename("Station2R", "seg/Station2R.mhd"); - GetAFDB()->SetImageFilename("Station2L", "seg/Station2L.mhd"); - WriteAFDB(); - } } //-------------------------------------------------------------------- -- 2.47.1