X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=segmentation%2FclitkExtractMediastinalVesselsGenericFilter.txx;h=71f8c6b7ec0713e6717dc30a3dbad219880c3283;hb=c167ace7ba7780e29e52c4450d69c3123c9bbcee;hp=b85da273513bd4665640008f71ec5fed2797ed75;hpb=22f9a65075ca86a805d06f3a1a65151150d570d3;p=clitk.git diff --git a/segmentation/clitkExtractMediastinalVesselsGenericFilter.txx b/segmentation/clitkExtractMediastinalVesselsGenericFilter.txx index b85da27..71f8c6b 100644 --- a/segmentation/clitkExtractMediastinalVesselsGenericFilter.txx +++ b/segmentation/clitkExtractMediastinalVesselsGenericFilter.txx @@ -51,7 +51,6 @@ void clitk::ExtractMediastinalVesselsGenericFilter::SetArgsInfo(co 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); } //-------------------------------------------------------------------- @@ -68,9 +67,26 @@ SetOptionsFromArgsInfoToFilter(FilterType * f) f->SetWriteStepFlag(mArgsInfo.writeStep_flag); f->SetVerboseMemoryFlag(mArgsInfo.verboseMemory_flag); f->SetAFDBFilename(mArgsInfo.afdb_arg); - f->SetOutputFolder(mArgsInfo.output_arg); - f->SetThreshold(mArgsInfo.threshold_arg); + f->SetThresholdHigh(mArgsInfo.thresholdHigh_arg); + f->SetThresholdLow(mArgsInfo.thresholdLow_arg); + f->SetErosionRadius(mArgsInfo.erode_arg); + f->SetDilatationRadius(mArgsInfo.dilate_arg); + + f->SetMaxDistancePostToCarina(mArgsInfo.maxPost_arg); + f->SetMaxDistanceAntToCarina(mArgsInfo.maxAnt_arg); + f->SetMaxDistanceLeftToCarina(mArgsInfo.maxLeft_arg); + f->SetMaxDistanceRightToCarina(mArgsInfo.maxRight_arg); + + f->SetSoughtVesselSeedName(mArgsInfo.seed_arg); + f->SetSoughtVesselName(mArgsInfo.name_arg); + f->SetMaxNumberOfFoundBifurcation(mArgsInfo.bif_arg); + + f->SetFinalOpeningRadius(mArgsInfo.open_arg); + + // Output filename + this->AddOutputFilename(mArgsInfo.output_arg); + f->SetOutputFilename(mArgsInfo.output_arg); } //--------------------------------------------------------------------