ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkSubtractImageFilter.h>
Pixel-wise subtraction of two images.
Subtract each pixel from image2 from its corresponding pixel in image1:
This is done using
This class is templated over the types of the two input images and the type of the output image. Numeric conversions (castings) are done by the C++ defaults.
Additionally, a constant can be subtracted from every pixel in an image using:
Definition at line 67 of file itkSubtractImageFilter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef SubtractImageFilter | Self |
typedef BinaryFunctorImageFilter < TInputImage1, TInputImage2, TOutputImage, Functor::Sub2 < typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > > | Superclass |
Public Types inherited from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Sub2< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SimpleDataObjectDecorator < Input1ImagePixelType > | DecoratedInput1ImagePixelType |
typedef SimpleDataObjectDecorator < Input2ImagePixelType > | DecoratedInput2ImagePixelType |
typedef Functor::Sub2 < TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > | FunctorType |
typedef Input1ImageType::PixelType | Input1ImagePixelType |
typedef Input1ImageType::ConstPointer | Input1ImagePointer |
typedef Input1ImageType::RegionType | Input1ImageRegionType |
typedef TInputImage1 | Input1ImageType |
typedef Input2ImageType::PixelType | Input2ImagePixelType |
typedef Input2ImageType::ConstPointer | Input2ImagePointer |
typedef Input2ImageType::RegionType | Input2ImageRegionType |
typedef TInputImage2 | Input2ImageType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef BinaryFunctorImageFilter | Self |
typedef InPlaceImageFilter < TInputImage1, TOutputImage > | Superclass |
Public Types inherited from itk::InPlaceImageFilter< TInputImage1, TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage1 | InputImageType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImagePointer | OutputImagePointer |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef Superclass::OutputImageType | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef InPlaceImageFilter | Self |
typedef ImageToImageFilter < TInputImage1, TOutputImage > | Superclass |
Public Types inherited from itk::ImageToImageFilter< TInputImage1, TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage1 | InputImageType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef SmartPointer< Self > | Pointer |
typedef ImageToImageFilter | Self |
typedef ImageSource< TOutputImage > | Superclass |
Public Types inherited from itk::ImageSource< TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef ImageSource | Self |
typedef ProcessObject | Superclass |
Public Types inherited from itk::ProcessObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
typedef MultiThreader | MultiThreaderType |
typedef std::vector < DataObjectIdentifierType > | NameArray |
typedef SmartPointer< Self > | Pointer |
typedef ProcessObject | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Sub2< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
typedef SmartPointer< const Self > itk::SubtractImageFilter< TInputImage1, TInputImage2, TOutputImage >::ConstPointer |
Definition at line 85 of file itkSubtractImageFilter.h.
typedef SmartPointer< Self > itk::SubtractImageFilter< TInputImage1, TInputImage2, TOutputImage >::Pointer |
Definition at line 84 of file itkSubtractImageFilter.h.
typedef SubtractImageFilter itk::SubtractImageFilter< TInputImage1, TInputImage2, TOutputImage >::Self |
Standard class typedefs.
Definition at line 77 of file itkSubtractImageFilter.h.
typedef BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Sub2< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > > itk::SubtractImageFilter< TInputImage1, TInputImage2, TOutputImage >::Superclass |
Definition at line 82 of file itkSubtractImageFilter.h.
|
inlineprotected |
Definition at line 104 of file itkSubtractImageFilter.h.
|
inlineoverrideprotectedvirtual |
Definition at line 105 of file itkSubtractImageFilter.h.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
virtual |
Runtime information support.
Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Sub2< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.
Reimplemented in itk::SubtractConstantFromImageFilter< TInputImage, TConstant, TOutputImage >.
|
static |
Method for creation through the object factory.