X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=segmentation%2FclitkExtractMediastinumGenericFilter.txx;h=0670ed7830571b1bac02c460553f054d5c84ba23;hb=a0852afe06f02497eb9cd530a983a78ee3d310af;hp=1760cac938e9508ce651dd1b942b24a99277279b;hpb=d30d301ddbebb5f290f8d9c0104dc6448ea531e1;p=clitk.git diff --git a/segmentation/clitkExtractMediastinumGenericFilter.txx b/segmentation/clitkExtractMediastinumGenericFilter.txx index 1760cac..0670ed7 100644 --- a/segmentation/clitkExtractMediastinumGenericFilter.txx +++ b/segmentation/clitkExtractMediastinumGenericFilter.txx @@ -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); } //--------------------------------------------------------------------