]> Creatis software - clitk.git/blobdiff - segmentation/clitkExtractMediastinumGenericFilter.txx
Indicate that --radius option is multiple. User can set one radius by dimension
[clitk.git] / segmentation / clitkExtractMediastinumGenericFilter.txx
index 1760cac938e9508ce651dd1b942b24a99277279b..0670ed7830571b1bac02c460553f054d5c84ba23 100644 (file)
@@ -3,7 +3,7 @@
 
   Authors belong to: 
   - University of LYON              http://www.universite-lyon.fr/
-  - Léon Bérard cancer center       http://oncora1.lyon.fnclcc.fr
+  - Léon Bérard cancer center       http://www.centreleonberard.fr
   - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
 
   This software is distributed WITHOUT ANY WARRANTY; without even
@@ -14,7 +14,7 @@
 
   - BSD        See included LICENSE.txt file
   - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
-  ======================================================================-====*/
+  ===========================================================================**/
 
 #ifndef CLITKEXTRACTMEDIASTINUMSGENERICFILTER_TXX
 #define CLITKEXTRACTMEDIASTINUMSGENERICFILTER_TXX
@@ -75,13 +75,14 @@ SetOptionsFromArgsInfoToFilter(FilterType * f)
   f->SetOutputMediastinumFilename(mArgsInfo.output_arg);
   f->SetVerboseMemoryFlag(mArgsInfo.verboseMemory_flag);
 
+  f->SetDistanceMaxToAnteriorPartOfTheVertebralBody(mArgsInfo.maxAntSpine_arg);
   f->SetUseBones(mArgsInfo.useBones_flag);
+
   f->SetIntermediateSpacing(mArgsInfo.spacing_arg);
-  f->SetFuzzyThreshold1(mArgsInfo.fuzzy1_arg);
-  f->SetFuzzyThreshold2(mArgsInfo.fuzzy2_arg);
-  f->SetFuzzyThreshold3(mArgsInfo.fuzzy3_arg);
-  f->SetUpperThreshold(mArgsInfo.upper_arg);
-  f->SetLowerThreshold(mArgsInfo.lower_arg);
+  f->SetFuzzyThreshold("LR_lungs", mArgsInfo.ft_LR_lungs_arg);
+  f->SetFuzzyThreshold("bones", mArgsInfo.ft_bones_arg);
+  f->SetFuzzyThreshold("inf_lungs", mArgsInfo.ft_inf_lungs_arg);
+  f->SetFuzzyThreshold("ant_sternum", mArgsInfo.ft_ant_sternum_arg);
 }
 //--------------------------------------------------------------------