ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkPasteImageFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::IndexType | InputImageIndexType |
typedef InputImageType::PixelType | InputImagePixelType |
typedef Superclass::InputImagePointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef InputImageType::SizeType | InputImageSizeType |
typedef TInputImage | InputImageType |
typedef OutputImageType::IndexType | OutputImageIndexType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef Superclass::OutputImagePointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef OutputImageType::SizeType | OutputImageSizeType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef PasteImageFilter | Self |
typedef SourceImageType::ConstPointer | SourceImageConstPointer |
typedef SourceImageType::IndexType | SourceImageIndexType |
typedef SourceImageType::PixelType | SourceImagePixelType |
typedef SourceImageType::Pointer | SourceImagePointer |
typedef SourceImageType::RegionType | SourceImageRegionType |
typedef SourceImageType::SizeType | SourceImageSizeType |
typedef TSourceImage | SourceImageType |
typedef InPlaceImageFilter < TInputImage, TOutputImage > | Superclass |
Public Types inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage > | |
typedef InputImageType::ConstPointer | InputImageConstPointer |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
Public Types inherited from itk::ImageSource< TOutputImage > | |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
Public Types inherited from itk::ProcessObject | |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef std::vector < DataObjectIdentifierType > | NameArray |
Public Types inherited from itk::Object | |
Public Types inherited from itk::LightObject |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | InputImageDimension = InputImageType::ImageDimension |
static const unsigned int | OutputImageDimension = OutputImageType::ImageDimension |
static const unsigned int | SourceImageDimension = SourceImageType::ImageDimension |
Static Public Attributes inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage > | |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > |
Protected Attributes | |
InputImageIndexType | m_DestinationIndex |
SourceImageRegionType | m_SourceRegion |
Private Member Functions | |
void | operator= (const Self &) |
PasteImageFilter (const Self &) |
Paste an image into another image.
PasteImageFilter allows you to take a section of one image and paste into another image. The SetDestinationIndex() method prescribes where in the first input to start pasting data from the second input. The SetSourceRegion method prescribes the section of the second image to paste into the first. If the output requested region does not have include the SourceRegion after it has been repositioned to DestinationIndex, then the output will just be a copy of the input.
The two inputs and output image will have the same pixel type.
Definition at line 48 of file itkPasteImageFilter.h.
typedef SmartPointer< const Self > itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::ConstPointer |
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Definition at line 56 of file itkPasteImageFilter.h.
typedef InputImageType::IndexType itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::InputImageIndexType |
Definition at line 87 of file itkPasteImageFilter.h.
typedef InputImageType::PixelType itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::InputImagePixelType |
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Definition at line 81 of file itkPasteImageFilter.h.
typedef Superclass::InputImagePointer itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::InputImagePointer |
Typedefs from Superclass
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Definition at line 62 of file itkPasteImageFilter.h.
typedef InputImageType::RegionType itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::InputImageRegionType |
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Definition at line 73 of file itkPasteImageFilter.h.
typedef InputImageType::SizeType itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::InputImageSizeType |
Definition at line 88 of file itkPasteImageFilter.h.
typedef TInputImage itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::InputImageType |
Typedef to describe the output and input image region types.
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Definition at line 69 of file itkPasteImageFilter.h.
typedef OutputImageType::IndexType itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::OutputImageIndexType |
Typedef to describe the output and input image index and size types.
Definition at line 85 of file itkPasteImageFilter.h.
typedef OutputImageType::PixelType itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::OutputImagePixelType |
Typedef to describe the type of pixel.
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Definition at line 80 of file itkPasteImageFilter.h.
typedef Superclass::OutputImagePointer itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::OutputImagePointer |
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Definition at line 66 of file itkPasteImageFilter.h.
typedef OutputImageType::RegionType itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Definition at line 72 of file itkPasteImageFilter.h.
typedef OutputImageType::SizeType itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::OutputImageSizeType |
Definition at line 86 of file itkPasteImageFilter.h.
typedef TOutputImage itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::OutputImageType |
Superclass typedefs.
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Definition at line 70 of file itkPasteImageFilter.h.
typedef SmartPointer< Self > itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::Pointer |
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Definition at line 55 of file itkPasteImageFilter.h.
typedef PasteImageFilter itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Definition at line 53 of file itkPasteImageFilter.h.
typedef SourceImageType::ConstPointer itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::SourceImageConstPointer |
Definition at line 77 of file itkPasteImageFilter.h.
typedef SourceImageType::IndexType itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::SourceImageIndexType |
Definition at line 89 of file itkPasteImageFilter.h.
typedef SourceImageType::PixelType itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::SourceImagePixelType |
Definition at line 82 of file itkPasteImageFilter.h.
typedef SourceImageType::Pointer itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::SourceImagePointer |
Definition at line 76 of file itkPasteImageFilter.h.
typedef SourceImageType::RegionType itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::SourceImageRegionType |
Definition at line 74 of file itkPasteImageFilter.h.
typedef SourceImageType::SizeType itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::SourceImageSizeType |
Definition at line 90 of file itkPasteImageFilter.h.
typedef TSourceImage itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::SourceImageType |
Definition at line 71 of file itkPasteImageFilter.h.
typedef InPlaceImageFilter< TInputImage, TOutputImage > itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::Superclass |
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Definition at line 54 of file itkPasteImageFilter.h.
|
protected |
|
inlineprotected |
Definition at line 146 of file itkPasteImageFilter.h.
|
private |
|
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 |
PasteImageFilter needs to set the input requested regions for its inputs. The first input's requested region will be set to match the output requested region. The second input's requested region will be set to the value of the m_SourceRegion ivar. Note that if the output requested region is a portion of the image that is outside the DestinationIndex + size of the source region, then the first input is copied to the output.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
const InputImageType* itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::GetDestinationImage | ( | ) | const |
|
virtual |
Set/Get the destination index (where in the first input the second input will be pasted.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
const SourceImageType* itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::GetSourceImage | ( | ) | const |
|
virtual |
Set/Get the source region (what part of the second input will be pasted.
|
static |
Method for creation through the object factory.
Reimplemented from itk::Object.
|
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::InPlaceImageFilter< TInputImage, TOutputImage >.
|
protectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
void itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::SetDestinationImage | ( | const InputImageType * | dest | ) |
Set/Get the "destination" image. This is the image that will be obscured by the paste operation.
|
virtual |
Set/Get the destination index (where in the first input the second input will be pasted.
void itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >::SetSourceImage | ( | const SourceImageType * | src | ) |
Set/Get the "source" image. This is the image that will be pasted over the destination image.
|
virtual |
Set/Get the source region (what part of the second input will be pasted.
|
protectedvirtual |
PasteImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"
Reimplemented from itk::ImageSource< TOutputImage >.
|
inlinevirtual |
Override VeriyInputInformation() since this filter's inputs do not need to occoupy the same physical space.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 142 of file itkPasteImageFilter.h.
|
static |
ImageDimension enumeration
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Definition at line 94 of file itkPasteImageFilter.h.
|
protected |
Definition at line 163 of file itkPasteImageFilter.h.
|
protected |
Definition at line 161 of file itkPasteImageFilter.h.
|
static |
ImageDimension enumeration
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Definition at line 96 of file itkPasteImageFilter.h.
|
static |
ImageDimension enumeration
Definition at line 98 of file itkPasteImageFilter.h.