X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=segmentation%2FclitkExtractLungGenericFilter.txx;h=b9a94d86aeef3b3b273ff9176786eb5ba214bc50;hb=d7f456d86ca398a89ccf9de43ab68a2b50b8ca1f;hp=b76b365e12ef34dca1af9e8fc50c4e8090b5e1f9;hpb=0793c4dd3d451bb9bdc00e3172fa792d1ddaa8dc;p=clitk.git diff --git a/segmentation/clitkExtractLungGenericFilter.txx b/segmentation/clitkExtractLungGenericFilter.txx index b76b365..b9a94d8 100644 --- a/segmentation/clitkExtractLungGenericFilter.txx +++ b/segmentation/clitkExtractLungGenericFilter.txx @@ -51,11 +51,11 @@ template void clitk::ExtractLungGenericFilter::SetArgsInfo(const ArgsInfoType & a) { mArgsInfo=a; - SetIOVerbose(mArgsInfo.verbose_flag); + this->SetIOVerbose(mArgsInfo.verbose_flag); if (mArgsInfo.imagetypes_flag) this->PrintAvailableImageTypes(); - if (mArgsInfo.input_given) AddInputFilename(mArgsInfo.input_arg); - if (mArgsInfo.output_given) AddOutputFilename(mArgsInfo.output_arg); - if (mArgsInfo.outputTrachea_given) AddOutputFilename(mArgsInfo.outputTrachea_arg); + if (mArgsInfo.input_given) this->AddInputFilename(mArgsInfo.input_arg); + if (mArgsInfo.output_given) this->AddOutputFilename(mArgsInfo.output_arg); + if (mArgsInfo.outputTrachea_given) this->AddOutputFilename(mArgsInfo.outputTrachea_arg); } //-------------------------------------------------------------------- @@ -113,6 +113,8 @@ SetOptionsFromArgsInfoToFilter(FilterType * f) else f->SetFillHolesFlag(true); + f->SetRemoveSmallLabelBeforeSeparationFlag(mArgsInfo.removeSmallLabel_flag); + if (mArgsInfo.doNotSeparateLungs_given) f->SetSeparateLungsFlag(false); else