18 #ifndef sitkObjectnessMeasureImageFilter_h
19 #define sitkObjectnessMeasureImageFilter_h
73 SITK_RETURN_SELF_TYPE_HEADER
SetAlpha (
double Alpha ) { this->m_Alpha = Alpha;
return *
this; }
78 double GetAlpha()
const {
return this->m_Alpha; }\
83 SITK_RETURN_SELF_TYPE_HEADER
SetBeta (
double Beta ) { this->m_Beta = Beta;
return *
this; }
88 double GetBeta()
const {
return this->m_Beta; }\
93 SITK_RETURN_SELF_TYPE_HEADER
SetGamma (
double Gamma ) { this->m_Gamma = Gamma;
return *
this; }
98 double GetGamma()
const {
return this->m_Gamma; }\
103 SITK_RETURN_SELF_TYPE_HEADER
SetScaleObjectnessMeasure (
bool ScaleObjectnessMeasure ) { this->m_ScaleObjectnessMeasure = ScaleObjectnessMeasure;
return *
this; }
117 SITK_RETURN_SELF_TYPE_HEADER
SetObjectDimension (
unsigned int ObjectDimension ) { this->m_ObjectDimension = ObjectDimension;
return *
this; }
127 SITK_RETURN_SELF_TYPE_HEADER
SetBrightObject (
bool BrightObject ) { this->m_BrightObject = BrightObject;
return *
this; }
130 SITK_RETURN_SELF_TYPE_HEADER
BrightObjectOn() {
return this->SetBrightObject(
true); }
131 SITK_RETURN_SELF_TYPE_HEADER
BrightObjectOff() {
return this->SetBrightObject(
false); }
139 std::string
GetName()
const {
return std::string (
"ObjectnessMeasureImageFilter"); }
142 std::string ToString()
const;
154 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
169 bool m_ScaleObjectnessMeasure{
true};
171 unsigned int m_ObjectDimension{1u};
173 bool m_BrightObject{
true};