18 #ifndef sitkObjectnessMeasureImageFilter_h
19 #define sitkObjectnessMeasureImageFilter_h
61 SITK_RETURN_SELF_TYPE_HEADER
SetAlpha (
double Alpha ) { this->m_Alpha = Alpha;
return *
this; }
66 double GetAlpha()
const {
return this->m_Alpha; }
71 SITK_RETURN_SELF_TYPE_HEADER
SetBeta (
double Beta ) { this->m_Beta = Beta;
return *
this; }
76 double GetBeta()
const {
return this->m_Beta; }
81 SITK_RETURN_SELF_TYPE_HEADER
SetGamma (
double Gamma ) { this->m_Gamma = Gamma;
return *
this; }
86 double GetGamma()
const {
return this->m_Gamma; }
91 SITK_RETURN_SELF_TYPE_HEADER
SetScaleObjectnessMeasure (
bool ScaleObjectnessMeasure ) { this->m_ScaleObjectnessMeasure = ScaleObjectnessMeasure;
return *
this; }
105 SITK_RETURN_SELF_TYPE_HEADER
SetObjectDimension (
unsigned int ObjectDimension ) { this->m_ObjectDimension = ObjectDimension;
return *
this; }
115 SITK_RETURN_SELF_TYPE_HEADER
SetBrightObject (
bool BrightObject ) { this->m_BrightObject = BrightObject;
return *
this; }
118 SITK_RETURN_SELF_TYPE_HEADER
BrightObjectOn() {
return this->SetBrightObject(
true); }
119 SITK_RETURN_SELF_TYPE_HEADER
BrightObjectOff() {
return this->SetBrightObject(
false); }
126 std::string
GetName()
const {
return std::string (
"ObjectnessMeasureImageFilter"); }
129 std::string ToString()
const;
137 Image Execute (
const Image& image1,
double alpha,
double beta,
double gamma,
bool scaleObjectnessMeasure,
unsigned int objectDimension,
bool brightObject );
144 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );