]> Creatis software - clitk.git/blobdiff - segmentation/clitkExtractMediastinumGenericFilter.txx
Moved from repository clitk to clitk.private/tests_dav
[clitk.git] / segmentation / clitkExtractMediastinumGenericFilter.txx
index 0670ed7830571b1bac02c460553f054d5c84ba23..679fb36cc22deb0f372b21fe5966bbc414b3cc7f 100644 (file)
@@ -78,11 +78,10 @@ SetOptionsFromArgsInfoToFilter(FilterType * f)
   f->SetDistanceMaxToAnteriorPartOfTheVertebralBody(mArgsInfo.maxAntSpine_arg);
   f->SetUseBones(mArgsInfo.useBones_flag);
 
-  f->SetIntermediateSpacing(mArgsInfo.spacing_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);
+  // Set RelativePositionList filenames
+  for(uint i=0; i<mArgsInfo.relpos_given; i++) {
+    f->AddRelativePositionListFilename(mArgsInfo.relpos_arg[i]);
+  }
 }
 //--------------------------------------------------------------------