- SetFuzzyThresholdForS7("Bronchi", 0.1);
- SetFuzzyThresholdForS7("LeftSuperiorPulmonaryVein", 0.3);
- SetFuzzyThresholdForS7("RightSuperiorPulmonaryVein", 0.2);
- SetFuzzyThresholdForS7("RightPulmonaryArtery", 0.3);
- SetFuzzyThresholdForS7("LeftPulmonaryArtery", 0.5);
- SetFuzzyThresholdForS7("SVC", 0.2);
-}
-//--------------------------------------------------------------------
-
-//--------------------------------------------------------------------
-template <class TImageType>
-void
-clitk::ExtractLymphStationsFilter<TImageType>::
-SetFuzzyThresholdForS7(std::string tag, double value)
-{
- m_FuzzyThresholdForS7[tag] = value;
-}
-//--------------------------------------------------------------------
-
-
-//--------------------------------------------------------------------
-template <class TImageType>
-double
-clitk::ExtractLymphStationsFilter<TImageType>::
-GetFuzzyThresholdForS7(std::string tag)
-{
- if (m_FuzzyThresholdForS7.find(tag) != m_FuzzyThresholdForS7.end()) {
- return m_FuzzyThresholdForS7[tag];
- }
- else {
- clitkExceptionMacro("Could not find options "+tag+" in the m_FuzzyThresholdForS7 list");
- }
+ SetFuzzyThreshold("7", "Bronchi", 0.1);
+ SetFuzzyThreshold("7", "LeftSuperiorPulmonaryVein", 0.3);
+ SetFuzzyThreshold("7", "RightSuperiorPulmonaryVein", 0.2);
+ SetFuzzyThreshold("7", "RightPulmonaryArtery", 0.3);
+ SetFuzzyThreshold("7", "LeftPulmonaryArtery", 0.5);
+ SetFuzzyThreshold("7", "SVC", 0.2);