ITK
5.0.0
Insight Segmentation and Registration 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 58 of file itkLogicOpsFunctors.h.
Public Types | |
using | Self = LogicOpBase |
Public Member Functions | |
TOutput | GetBackgroundValue () const |
TOutput | GetForegroundValue () const |
LogicOpBase () | |
bool | operator!= (const Self &) const |
bool | operator== (const Self &other) 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 61 of file itkLogicOpsFunctors.h.
|
inline |
Definition at line 62 of file itkLogicOpsFunctors.h.
|
default |
|
inline |
Definition at line 93 of file itkLogicOpsFunctors.h.
Referenced by itk::NotImageFilter< TInputImage, TOutputImage >::GetBackgroundValue().
|
inline |
Definition at line 89 of file itkLogicOpsFunctors.h.
Referenced by itk::NotImageFilter< TInputImage, TOutputImage >::GetForegroundValue().
|
inline |
Definition at line 71 of file itkLogicOpsFunctors.h.
|
inline |
Definition at line 75 of file itkLogicOpsFunctors.h.
|
inline |
Definition at line 84 of file itkLogicOpsFunctors.h.
Referenced by itk::NotImageFilter< TInputImage, TOutputImage >::NotImageFilter(), and itk::NotImageFilter< TInputImage, TOutputImage >::SetBackgroundValue().
|
inline |
Definition at line 80 of file itkLogicOpsFunctors.h.
Referenced by itk::NotImageFilter< TInputImage, TOutputImage >::NotImageFilter(), and itk::NotImageFilter< TInputImage, TOutputImage >::SetForegroundValue().
|
protected |
Definition at line 100 of file itkLogicOpsFunctors.h.
|
protected |
Definition at line 99 of file itkLogicOpsFunctors.h.