18 #ifndef itkLogicOpsFunctors_h
19 #define itkLogicOpsFunctors_h
58 template<
typename TInput1,
typename TInput2=TInput1,
typename TOutput=TInput1 >
78 return !(*
this != other);
114 template<
typename TInput1,
typename TInput2=TInput1,
typename TOutput=TInput1 >
131 return !(*
this != other);
133 inline TOutput
operator()(
const TInput1 & A,
const TInput2 & B)
152 template<
typename TInput1,
typename TInput2=TInput1,
typename TOutput=TInput1 >
166 return !(*
this != other);
168 inline TOutput
operator()(
const TInput1 & A,
const TInput2 & B)
188 template<
typename TInput1,
typename TInput2=TInput1,
typename TOutput=TInput1 >
202 return !(*
this != other);
204 inline TOutput
operator()(
const TInput1 & A,
const TInput2 & B)
223 template<
typename TInput1,
typename TInput2=TInput1,
typename TOutput=TInput1 >
236 return !(*
this != other);
238 inline TOutput
operator()(
const TInput1 & A,
const TInput2 & B)
256 template<
typename TInput1,
typename TInput2=TInput1,
typename TOutput=TInput1 >
270 return !(*
this != other);
272 inline TOutput
operator()(
const TInput1 & A,
const TInput2 & B)
291 template<
typename TInput1,
typename TInput2=TInput1,
typename TOutput=TInput1 >
304 return !(*
this != other);
306 inline TOutput
operator()(
const TInput1 & A,
const TInput2 & B)
TOutput m_ForegroundValue
TOutput operator()(const TInput1 &A, const TInput2 &B)
bool operator!=(const Self &) const
bool operator==(const Self &other) const
bool operator!=(const Self &) const
void SetBackgroundValue(const TOutput &BG)
bool operator!=(const Self &) const
bool operator==(const Self &other) const
bool ExactlyEquals(const TInput1 &x1, const TInput2 &x2)
Return the result of an exact comparison between two scalar values of potetially different types...
Functor for != operation on images and constants.
TOutput operator()(const TInput1 &A, const TInput2 &B)
bool operator!=(const Self &) const
TOutput operator()(const TInput1 &A, const TInput2 &B)
TOutput m_BackgroundValue
TOutput operator()(const TInput1 &A, const TInput2 &B)
TOutput operator()(const TInput1 &A, const TInput2 &B)
Functor for == operation on images and constants.
bool operator!=(const Self &) const
TOutput GetBackgroundValue() const
bool NotExactlyEquals(const TInput1 &x1, const TInput2 &x2)
Functor for > operation on images and constants.
Functor for >= operation on images and constants.
bool operator!=(const Self &) const
Functor for < operation on images and constants.
bool operator==(const Self &other) const
void SetForegroundValue(const TOutput &FG)
Base class for some logic functors. Provides the Foreground and background setting methods...
TOutput operator()(const TInput1 &A, const TInput2 &B)
bool operator==(const Self &other) const
bool operator==(const Self &other) const
bool operator==(const Self &other) const
Functor for <= operation on images and constants.
bool operator==(const Self &other) const
TOutput GetForegroundValue() const
bool operator!=(const Self &) const