00001 //-------------------------------------------------- 00008 //-------------------------------------------------- 00009 #include "threshold_configuration.h" 00010 00011 namespace imedgine 00012 { 00013 //-------------------------------------------------- 00014 00015 ThresholdConfiguration::ThresholdConfiguration() 00016 : Configuration() 00017 { 00018 } 00019 00020 //-------------------------------------------------- 00021 00022 ThresholdConfiguration::~ThresholdConfiguration() 00023 { 00024 00025 } 00026 00027 //-------------------------------------------------- 00028 00029 void ThresholdConfiguration::setUpperBound(double upper_bound) 00030 { 00031 upper_bound_ = upper_bound; 00032 } 00033 00034 //-------------------------------------------------- 00035 00036 double ThresholdConfiguration::getUpperBound() const 00037 { 00038 return upper_bound_; 00039 } 00040 00041 //-------------------------------------------------- 00042 00043 void ThresholdConfiguration::setLowerBound(double lower_bound) 00044 { 00045 lower_bound_ = lower_bound; 00046 } 00047 00048 //-------------------------------------------------- 00049 00050 double ThresholdConfiguration::getLowerBound() const 00051 { 00052 return lower_bound_; 00053 } 00054 00055 //-------------------------------------------------- 00056 00057 void ThresholdConfiguration::setDefaultPixelValue(double default_pixel_value) 00058 { 00059 default_pixel_value_ = default_pixel_value; 00060 } 00061 00062 //-------------------------------------------------- 00063 00064 double ThresholdConfiguration::getDefaultPixelValue() const 00065 { 00066 return default_pixel_value_; 00067 } 00068 }