ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
itk::ConstantPadImageFilter< TInputImage, TOutputImage > Class Template Reference

#include <itkConstantPadImageFilter.h>

+ Inheritance diagram for itk::ConstantPadImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for itk::ConstantPadImageFilter< TInputImage, TOutputImage >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
Superclass::InputImageIndexType 
InputImageIndexType
typedef
Superclass::InputImagePixelType 
InputImagePixelType
typedef
Superclass::InputImageRegionType 
InputImageRegionType
typedef
Superclass::InputImageSizeType 
InputImageSizeType
typedef
Superclass::OutputImageIndexType 
OutputImageIndexType
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
typedef
Superclass::OutputImageSizeType 
OutputImageSizeType
typedef SmartPointer< SelfPointer
typedef ConstantPadImageFilter Self
typedef PadImageFilter
< TInputImage, TOutputImage > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
 typedef (Concept::EqualityComparable< OutputImagePixelType >) OutputEqualityComparableCheck
 typedef (Concept::Convertible< InputImagePixelType, OutputImagePixelType >) InputConvertibleToOutputCheck
 typedef (Concept::SameDimension< ImageDimension, OutputImageDimension >) SameDimensionCheck
 typedef (Concept::OStreamWritable< OutputImagePixelType >) OutputOStreamWritableCheck
void SetConstant (OutputImagePixelType constant)
OutputImagePixelType GetConstant () const

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int ImageDimension = TInputImage::ImageDimension
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension

Protected Member Functions

 ConstantPadImageFilter ()
 ~ConstantPadImageFilter ()
void PrintSelf (std::ostream &os, Indent indent) const

Private Member Functions

 ConstantPadImageFilter (const Self &)
void operator= (const Self &)

Private Attributes

ConstantBoundaryCondition
< TInputImage, TOutputImage > 
m_InternalBoundaryCondition

Detailed Description

template<class TInputImage, class TOutputImage>
class itk::ConstantPadImageFilter< TInputImage, TOutputImage >

Increase the image size by padding with a constant value.

ConstantPadImageFilter changes the output image region. If the output image region is larger than the input image region, the extra pixels are filled in by a constant value. The output image region must be specified.

PadImageFilter.png
Visual explanation of padding regions.

This filter is implemented as a multithreaded filter. It provides a ThreadedGenerateData() method for its implementation.

See also:
WrapPadImageFilter, MirrorPadImageFilter
Wiki Examples:

Definition at line 48 of file itkConstantPadImageFilter.h.


Member Typedef Documentation

template<class TInputImage , class TOutputImage >
typedef SmartPointer< const Self > itk::ConstantPadImageFilter< TInputImage, TOutputImage >::ConstPointer

Reimplemented from itk::PadImageFilter< TInputImage, TOutputImage >.

Definition at line 56 of file itkConstantPadImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef Superclass::InputImageIndexType itk::ConstantPadImageFilter< TInputImage, TOutputImage >::InputImageIndexType

Reimplemented from itk::PadImageFilter< TInputImage, TOutputImage >.

Definition at line 74 of file itkConstantPadImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef Superclass::InputImagePixelType itk::ConstantPadImageFilter< TInputImage, TOutputImage >::InputImagePixelType

Reimplemented from itk::PadImageFilter< TInputImage, TOutputImage >.

Definition at line 70 of file itkConstantPadImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef Superclass::InputImageRegionType itk::ConstantPadImageFilter< TInputImage, TOutputImage >::InputImageRegionType

Reimplemented from itk::PadImageFilter< TInputImage, TOutputImage >.

Definition at line 66 of file itkConstantPadImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef Superclass::InputImageSizeType itk::ConstantPadImageFilter< TInputImage, TOutputImage >::InputImageSizeType

Reimplemented from itk::PadImageFilter< TInputImage, TOutputImage >.

Definition at line 76 of file itkConstantPadImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef Superclass::OutputImageIndexType itk::ConstantPadImageFilter< TInputImage, TOutputImage >::OutputImageIndexType

Typedef to describe the output and input image index and size types.

Reimplemented from itk::PadImageFilter< TInputImage, TOutputImage >.

Definition at line 73 of file itkConstantPadImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef Superclass::OutputImagePixelType itk::ConstantPadImageFilter< TInputImage, TOutputImage >::OutputImagePixelType

Typedef to describe the type of pixel.

Reimplemented from itk::PadImageFilter< TInputImage, TOutputImage >.

Definition at line 69 of file itkConstantPadImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef Superclass::OutputImageRegionType itk::ConstantPadImageFilter< TInputImage, TOutputImage >::OutputImageRegionType

Typedef to describe the output image region type.

Reimplemented from itk::PadImageFilter< TInputImage, TOutputImage >.

Definition at line 62 of file itkConstantPadImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef Superclass::OutputImageSizeType itk::ConstantPadImageFilter< TInputImage, TOutputImage >::OutputImageSizeType

Reimplemented from itk::PadImageFilter< TInputImage, TOutputImage >.

Definition at line 75 of file itkConstantPadImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef SmartPointer< Self > itk::ConstantPadImageFilter< TInputImage, TOutputImage >::Pointer

Reimplemented from itk::PadImageFilter< TInputImage, TOutputImage >.

Definition at line 55 of file itkConstantPadImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef ConstantPadImageFilter itk::ConstantPadImageFilter< TInputImage, TOutputImage >::Self

Standard class typedefs.

Reimplemented from itk::PadImageFilter< TInputImage, TOutputImage >.

Definition at line 53 of file itkConstantPadImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef PadImageFilter< TInputImage, TOutputImage > itk::ConstantPadImageFilter< TInputImage, TOutputImage >::Superclass

Reimplemented from itk::PadImageFilter< TInputImage, TOutputImage >.

Definition at line 54 of file itkConstantPadImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage >
itk::ConstantPadImageFilter< TInputImage, TOutputImage >::ConstantPadImageFilter ( ) [protected]

End concept checking

template<class TInputImage , class TOutputImage >
itk::ConstantPadImageFilter< TInputImage, TOutputImage >::~ConstantPadImageFilter ( ) [inline, protected]

End concept checking

Definition at line 115 of file itkConstantPadImageFilter.h.

template<class TInputImage , class TOutputImage >
itk::ConstantPadImageFilter< TInputImage, TOutputImage >::ConstantPadImageFilter ( const Self ) [private]

Member Function Documentation

template<class TInputImage , class TOutputImage >
virtual::itk::LightObject::Pointer itk::ConstantPadImageFilter< TInputImage, TOutputImage >::CreateAnother ( void  ) const [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::PadImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage >
OutputImagePixelType itk::ConstantPadImageFilter< TInputImage, TOutputImage >::GetConstant ( ) const [inline]

Set/Get the pad value. Default is Zero.

Definition at line 94 of file itkConstantPadImageFilter.h.

template<class TInputImage , class TOutputImage >
virtual const char* itk::ConstantPadImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::PadImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage >
static Pointer itk::ConstantPadImageFilter< TInputImage, TOutputImage >::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::PadImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage >
void itk::ConstantPadImageFilter< TInputImage, TOutputImage >::operator= ( const Self ) [private]

PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.

Reimplemented from itk::PadImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage >
void itk::ConstantPadImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

End concept checking

Reimplemented from itk::PadImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage >
void itk::ConstantPadImageFilter< TInputImage, TOutputImage >::SetConstant ( OutputImagePixelType  constant) [inline]

Set/Get the pad value. Default is Zero.

Definition at line 86 of file itkConstantPadImageFilter.h.

template<class TInputImage , class TOutputImage >
itk::ConstantPadImageFilter< TInputImage, TOutputImage >::typedef ( Concept::EqualityComparable< OutputImagePixelType )

Begin concept checking This class requires OutputEqualityComparableCheck in the form of ( Concept::EqualityComparable< OutputImagePixelType > )

template<class TInputImage , class TOutputImage >
itk::ConstantPadImageFilter< TInputImage, TOutputImage >::typedef ( Concept::Convertible< InputImagePixelType, OutputImagePixelType )

This class requires InputConvertibleToOutputCheck in the form of ( Concept::Convertible< InputImagePixelType, OutputImagePixelType > )

template<class TInputImage , class TOutputImage >
itk::ConstantPadImageFilter< TInputImage, TOutputImage >::typedef ( Concept::SameDimension< ImageDimension, OutputImageDimension )

This class requires SameDimensionCheck in the form of ( Concept::SameDimension< ImageDimension, OutputImageDimension > )

template<class TInputImage , class TOutputImage >
itk::ConstantPadImageFilter< TInputImage, TOutputImage >::typedef ( Concept::OStreamWritable< OutputImagePixelType )

This class requires OutputOStreamWritableCheck in the form of ( Concept::OStreamWritable< OutputImagePixelType > )


Member Data Documentation

template<class TInputImage , class TOutputImage >
const unsigned int itk::ConstantPadImageFilter< TInputImage, TOutputImage >::ImageDimension = TInputImage::ImageDimension [static]

ImageDimension constants

Reimplemented from itk::PadImageFilter< TInputImage, TOutputImage >.

Definition at line 80 of file itkConstantPadImageFilter.h.

template<class TInputImage , class TOutputImage >
ConstantBoundaryCondition< TInputImage, TOutputImage > itk::ConstantPadImageFilter< TInputImage, TOutputImage >::m_InternalBoundaryCondition [private]

Definition at line 123 of file itkConstantPadImageFilter.h.

template<class TInputImage , class TOutputImage >
const unsigned int itk::ConstantPadImageFilter< TInputImage, TOutputImage >::OutputImageDimension = TOutputImage::ImageDimension [static]

ImageDimension constants

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 82 of file itkConstantPadImageFilter.h.


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