X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=segmentation%2FclitkExtractMediastinalVesselsGenericFilter.txx;h=6344344210b199c89095f03fe28d971fbde4b4b6;hb=8a1ec8f0cfd3c6b4cd29ea5456cbdf598f7f0b06;hp=b85da273513bd4665640008f71ec5fed2797ed75;hpb=22f9a65075ca86a805d06f3a1a65151150d570d3;p=clitk.git diff --git a/segmentation/clitkExtractMediastinalVesselsGenericFilter.txx b/segmentation/clitkExtractMediastinalVesselsGenericFilter.txx index b85da27..6344344 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,24 @@ 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); + + // Output filename + this->AddOutputFilename(mArgsInfo.output_arg); + f->SetOutputFilename(mArgsInfo.output_arg); } //--------------------------------------------------------------------