NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Member Functions | List of all members
itk::Functor::BinaryIntersectWithPadding< TInput, TOutput > Class Template Reference

Provide the operator to calculate the intersection of two pixels using padding value: return 1, if both pixels do not equal to the padding value, return 0, otherwise. More...

Public Member Functions

 BinaryIntersectWithPadding ()
 
 ~BinaryIntersectWithPadding ()
 
bool operator!= (const BinaryIntersectWithPadding &) const
 
bool operator== (const BinaryIntersectWithPadding &other) const
 
TOutput operator() (const TInput &value1, const TInput &value2)
 
void SetPaddingValue (const TInput &paddingValue)
 
TInput GetPaddingValue () const
 

Detailed Description

template<class TInput, class TOutput>
class itk::Functor::BinaryIntersectWithPadding< TInput, TOutput >

Provide the operator to calculate the intersection of two pixels using padding value: return 1, if both pixels do not equal to the padding value, return 0, otherwise.

Constructor & Destructor Documentation

template<class TInput , class TOutput >
itk::Functor::BinaryIntersectWithPadding< TInput, TOutput >::BinaryIntersectWithPadding ( )
inline
template<class TInput , class TOutput >
itk::Functor::BinaryIntersectWithPadding< TInput, TOutput >::~BinaryIntersectWithPadding ( )
inline

Member Function Documentation

template<class TInput , class TOutput >
TInput itk::Functor::BinaryIntersectWithPadding< TInput, TOutput >::GetPaddingValue ( ) const
inline
template<class TInput , class TOutput >
bool itk::Functor::BinaryIntersectWithPadding< TInput, TOutput >::operator!= ( const BinaryIntersectWithPadding< TInput, TOutput > &  ) const
inline
template<class TInput , class TOutput >
TOutput itk::Functor::BinaryIntersectWithPadding< TInput, TOutput >::operator() ( const TInput &  value1,
const TInput &  value2 
)
inline

Operator to calculate the intersection of two pixels using padding value.

Parameters
constTInput& value1: pixel value 1.
constTInput& value2: pixel value 2.
Returns
1, if both pixels do not equal to the padding value. Return 0, otherwise.
template<class TInput , class TOutput >
bool itk::Functor::BinaryIntersectWithPadding< TInput, TOutput >::operator== ( const BinaryIntersectWithPadding< TInput, TOutput > &  other) const
inline
template<class TInput , class TOutput >
void itk::Functor::BinaryIntersectWithPadding< TInput, TOutput >::SetPaddingValue ( const TInput &  paddingValue)
inline

Get/Set functions.


The documentation for this class was generated from the following file: