ITK
6.0.0
Insight Toolkit
|
#include <itkLogicOpsFunctors.h>
Base class for some logic functors. Provides the Foreground and background setting methods.
The derived classes can be used as follows:
using myFilterType = itk::BinaryFunctorImageFilter< myImageType1, myImageType2, myImageType3, itk::Functor::Equal2<myImageType1::PixelType, myImageType2::PixelType, myImageType3::PixelType> >;
using myFilterTypePointer = myFilterType::Pointer;
myFilterTypePointer filter = myFilterType::New();
filter->SetInput1( inputImageA ); filter->SetInput2( inputImageB );
filter->SetConstant1(3.0); filter->SetInput2(inputImageB);
Definition at line 59 of file itkLogicOpsFunctors.h.
Public Types | |
using | Self = LogicOpBase |
Public Member Functions | |
TOutput | GetBackgroundValue () const |
TOutput | GetForegroundValue () const |
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION (Self) | |
LogicOpBase () | |
bool | operator== (const Self &) const |
void | SetBackgroundValue (const TOutput &BG) |
void | SetForegroundValue (const TOutput &FG) |
~LogicOpBase ()=default | |
Protected Attributes | |
TOutput | m_BackgroundValue |
TOutput | m_ForegroundValue |
using itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >::Self = LogicOpBase |
Definition at line 62 of file itkLogicOpsFunctors.h.
|
inline |
Definition at line 63 of file itkLogicOpsFunctors.h.
|
default |
|
inline |
Definition at line 97 of file itkLogicOpsFunctors.h.
Referenced by itk::NotImageFilter< TInputImage, TOutputImage >::GetBackgroundValue().
|
inline |
Definition at line 92 of file itkLogicOpsFunctors.h.
Referenced by itk::NotImageFilter< TInputImage, TOutputImage >::GetForegroundValue().
itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >::ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION | ( | Self | ) |
|
inline |
Definition at line 73 of file itkLogicOpsFunctors.h.
|
inline |
Definition at line 86 of file itkLogicOpsFunctors.h.
Referenced by itk::NotImageFilter< TInputImage, TOutputImage >::NotImageFilter(), and itk::NotImageFilter< TInputImage, TOutputImage >::SetBackgroundValue().
|
inline |
Definition at line 81 of file itkLogicOpsFunctors.h.
Referenced by itk::NotImageFilter< TInputImage, TOutputImage >::NotImageFilter(), and itk::NotImageFilter< TInputImage, TOutputImage >::SetForegroundValue().
|
protected |
Definition at line 104 of file itkLogicOpsFunctors.h.
|
protected |
Definition at line 103 of file itkLogicOpsFunctors.h.