X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=segmentation%2FclitkExtractLymphStationsGenericFilter.txx;h=a27b4a629e41e2893b95513646ef599f5a790485;hb=5a7da4aedae5c204bc55c187717193e5950f9a44;hp=03fdb29c9962aa652d863f765632e2c69abc0049;hpb=82ee6175b7043cab5b9c3fd29865b1f15ef989a1;p=clitk.git diff --git a/segmentation/clitkExtractLymphStationsGenericFilter.txx b/segmentation/clitkExtractLymphStationsGenericFilter.txx index 03fdb29..a27b4a6 100644 --- a/segmentation/clitkExtractLymphStationsGenericFilter.txx +++ b/segmentation/clitkExtractLymphStationsGenericFilter.txx @@ -68,8 +68,10 @@ SetOptionsFromArgsInfoToFilter(FilterType * f) f->SetWriteStepFlag(mArgsInfo.writeStep_flag); f->SetVerboseMemoryFlag(mArgsInfo.verboseMemory_flag); f->SetAFDBFilename(mArgsInfo.afdb_arg); - - f->SetComputeStationsSupportsFlag(!mArgsInfo.nosupport_flag); + if (mArgsInfo.afdb_path_given) f->SetAFDBPath(mArgsInfo.afdb_path_arg); + f->SetForceSupportsFlag(mArgsInfo.force_support_flag); + f->SetSupportLimitsFilename(mArgsInfo.support_limits_arg); + f->SetCheckSupportFlag(mArgsInfo.check_support_limits_flag); // Station 8 //f->SetDistanceMaxToAnteriorPartOfTheSpine(mArgsInfo.S8_maxAntSpine_arg); @@ -114,9 +116,6 @@ SetOptionsFromArgsInfoToFilter(FilterType * f) f->AddComputeStation(mArgsInfo.station_arg[i]); // Station 3A - f->SetFuzzyThreshold("3A", "SVC", mArgsInfo.S3A_ft_SVC_arg); - f->SetFuzzyThreshold("3A", "Aorta", mArgsInfo.S3A_ft_Aorta_arg); - f->SetFuzzyThreshold("3A", "SubclavianArtery", mArgsInfo.S3A_ft_SubclavianArtery_arg); // Station 7 f->SetFuzzyThreshold("7", "Bronchi", mArgsInfo.S7_ft_Bronchi_arg); @@ -128,12 +127,12 @@ SetOptionsFromArgsInfoToFilter(FilterType * f) f->SetS7_UseMostInferiorPartOnlyFlag(mArgsInfo.S7_UseMostInferiorPartOnly_flag); // Station 2RL - f->SetFuzzyThreshold("2RL", "CommonCarotidArtery", mArgsInfo.S2RL_ft_CommonCarotidArtery_arg); - f->SetFuzzyThreshold("2RL", "BrachioCephalicTrunk", mArgsInfo.S2RL_ft_BrachioCephalicTrunk_arg); - f->SetFuzzyThreshold("2RL", "BrachioCephalicVein", mArgsInfo.S2RL_ft_BrachioCephalicVein_arg); - f->SetFuzzyThreshold("2RL", "Aorta", mArgsInfo.S2RL_ft_Aorta_arg); - f->SetFuzzyThreshold("2RL", "SubclavianArteryLeft", mArgsInfo.S2RL_ft_SubclavianArteryLeft_arg); - f->SetFuzzyThreshold("2RL", "SubclavianArteryRight", mArgsInfo.S2RL_ft_SubclavianArteryRight_arg); + + // Station 1RL + + // Set RelativePositionList filenames + for(uint i=0; iAddRelativePositionListFilename(mArgsInfo.relpos_arg[i]); } //--------------------------------------------------------------------