18 #ifndef sitkObjectnessMeasureImageFilter_h
19 #define sitkObjectnessMeasureImageFilter_h
74 SITK_RETURN_SELF_TYPE_HEADER
SetAlpha (
double Alpha ) { this->m_Alpha = Alpha;
return *
this; }
79 double GetAlpha()
const {
return this->m_Alpha; }\
84 SITK_RETURN_SELF_TYPE_HEADER
SetBeta (
double Beta ) { this->m_Beta = Beta;
return *
this; }
89 double GetBeta()
const {
return this->m_Beta; }\
94 SITK_RETURN_SELF_TYPE_HEADER
SetGamma (
double Gamma ) { this->m_Gamma = Gamma;
return *
this; }
99 double GetGamma()
const {
return this->m_Gamma; }\
104 SITK_RETURN_SELF_TYPE_HEADER
SetScaleObjectnessMeasure (
bool ScaleObjectnessMeasure ) { this->m_ScaleObjectnessMeasure = ScaleObjectnessMeasure;
return *
this; }
118 SITK_RETURN_SELF_TYPE_HEADER
SetObjectDimension (
unsigned int ObjectDimension ) { this->m_ObjectDimension = ObjectDimension;
return *
this; }
128 SITK_RETURN_SELF_TYPE_HEADER
SetBrightObject (
bool BrightObject ) { this->m_BrightObject = BrightObject;
return *
this; }
131 SITK_RETURN_SELF_TYPE_HEADER
BrightObjectOn() {
return this->SetBrightObject(
true); }
132 SITK_RETURN_SELF_TYPE_HEADER
BrightObjectOff() {
return this->SetBrightObject(
false); }
140 std::string
GetName()
const {
return std::string (
"ObjectnessMeasureImageFilter"); }
143 std::string ToString()
const;
155 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
170 bool m_ScaleObjectnessMeasure{
true};
172 unsigned int m_ObjectDimension{1u};
174 bool m_BrightObject{
true};