\name{NotImageFilter}
\alias{NotImageFilter}
\title{NotImageFilter}
\Rdversion{1.1}
\docType{class}
\description{
Implements the NOT logical operator pixel-wise on an image.
NotImageFilter}
\details{
This class is templated over the type of an input image and the type
of the output image. Numeric conversions (castings) are done by the
C++ defaults.
Since the logical NOT operation operates only on boolean types, the
input type must be implicitly convertible to bool, which is only
defined in C++ for integer types, the images passed to this filter
must comply with the requirement of using integer pixel type.
The total operation over one pixel will be
Where "!" is the unary Logical NOT operator in C++.
See:
Not for the procedural interface
itk::NotImageFilter for the Doxygen on the original ITK class.
NotImageFilter}
%C++ includes: sitkNotImageFilter.h
\section{Methods}{
\describe{
\item{Image Execute(const Image &image1):}{}
\item{Image Execute(Image &&image1):}{
Execute the filter on the input image
}
\item{std::string GetName() const:}{
Name of this class
}
\item{ NotImageFilter():}{
Default Constructor that takes no arguments and initializes default
parameters
}
\item{std::string ToString() const:}{
Print ourselves out
}
\item{ ~NotImageFilter():}{
Destructor
}
}
}
