X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=segmentation%2FclitkExtractLungGenericFilter.txx;h=b40dc28fc49de81bd0a4784fba74158b7dd333f6;hb=c2918f7b7d7ee8f15d9490df55d7b971b3210da1;hp=2dd396fb3a2498fb0a5ff15e3dc01a2bf6af6db8;hpb=615a1af31ba4649c58c684b006b696536e7d8ef5;p=clitk.git diff --git a/segmentation/clitkExtractLungGenericFilter.txx b/segmentation/clitkExtractLungGenericFilter.txx index 2dd396f..b40dc28 100644 --- a/segmentation/clitkExtractLungGenericFilter.txx +++ b/segmentation/clitkExtractLungGenericFilter.txx @@ -108,6 +108,11 @@ SetOptionsFromArgsInfoToFilter(FilterType * f) f->SetFillHolesFlag(false); else f->SetFillHolesFlag(true); + + if (mArgsInfo.doNotSeparateLungs_given) + f->SetSeparateLungsFlag(false); + else + f->SetSeparateLungsFlag(true); } //--------------------------------------------------------------------