From: David Sarrut Date: Fri, 29 Jul 2011 13:19:30 +0000 (+0200) Subject: Add option for threshold X-Git-Tag: v1.3.0~244 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=3e4ea302a9ca9505aab212b8b3c2e29bcf6fa179;p=clitk.git Add option for threshold --- diff --git a/segmentation/clitkExtractLymphStationsFilter.h b/segmentation/clitkExtractLymphStationsFilter.h index 7c2376a..4c7c669 100644 --- a/segmentation/clitkExtractLymphStationsFilter.h +++ b/segmentation/clitkExtractLymphStationsFilter.h @@ -109,6 +109,8 @@ namespace clitk { void AddComputeStation(std::string station) ; void SetFuzzyThreshold(std::string station, std::string tag, double value); double GetFuzzyThreshold(std::string station, std::string tag); + void SetThreshold(std::string station, std::string tag, double value); + double GetThreshold(std::string station, std::string tag); itkGetConstMacro(ComputeStationsSupportsFlag, bool); itkSetMacro(ComputeStationsSupportsFlag, bool); itkBooleanMacro(ComputeStationsSupportsFlag); @@ -146,6 +148,8 @@ namespace clitk { // Global parameters typedef std::map FuzzyThresholdByStructureType; std::map m_FuzzyThreshold; + typedef std::map ThresholdByStructureType; + std::map m_Threshold; // Station's supports void ExtractStationSupports(); @@ -201,10 +205,7 @@ namespace clitk { void ExtractStation_3A_AntPost_S6(); void ExtractStation_3A_AntPost_Superiorly(); void ExtractStation_3A_Remove_Structures(); - - void ExtractStation_3A_SI_Limits(); - void ExtractStation_3A_Ant_Limits(); - void ExtractStation_3A_Post_Limits(); + void ExtractStation_3A_PostToBones(); // Station 2RL void ExtractStation_2RL();