From: David Sarrut Date: Fri, 29 Jul 2011 13:20:13 +0000 (+0200) Subject: Put in this file all commands related to S2RL X-Git-Tag: v1.3.0~241 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=4082f341e87e76823c570912f796420408f54eb0;p=clitk.git Put in this file all commands related to S2RL --- 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(); - } } //--------------------------------------------------------------------