#include <itkPasteImageFilter.h>
Inheritance diagram for itk::PasteImageFilter< TInputImage >:
Public Types | |
typedef PasteImageFilter | Self |
typedef InPlaceImageFilter< TInputImage, TInputImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::InputImagePointer | InputImagePointer |
typedef Superclass::OutputImagePointer | OutputImagePointer |
typedef TInputImage::RegionType | OutputImageRegionType |
typedef TInputImage::RegionType | InputImageRegionType |
typedef TInputImage::PixelType | OutputImagePixelType |
typedef TInputImage::PixelType | InputImagePixelType |
typedef TInputImage::IndexType | OutputImageIndexType |
typedef TInputImage::IndexType | InputImageIndexType |
typedef TInputImage::SizeType | OutputImageSizeType |
typedef TInputImage::SizeType | InputImageSizeType |
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
virtual void | GenerateInputRequestedRegion () |
itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension) | |
itkStaticConstMacro (OutputImageDimension, unsigned int, TInputImage::ImageDimension) | |
virtual void | SetDestinationIndex (InputImageIndexType _arg) |
virtual InputImageIndexType | GetDestinationIndex () |
virtual void | SetSourceRegion (InputImageRegionType _arg) |
virtual InputImageRegionType | GetSourceRegion () |
void | SetDestinationImage (TInputImage *dest) |
const TInputImage * | GetDestinationImage () |
void | SetSourceImage (TInputImage *src) |
const TInputImage * | GetSourceImage () |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
PasteImageFilter () | |
~PasteImageFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, int threadId) |
Protected Attributes | |
InputImageRegionType | m_SourceRegion |
InputImageIndexType | m_DestinationIndex |
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 43 of file itkPasteImageFilter.h.
|
Reimplemented from itk::InPlaceImageFilter< TInputImage, TInputImage >. Definition at line 51 of file itkPasteImageFilter.h. |
|
Definition at line 73 of file itkPasteImageFilter.h. |
|
Reimplemented from itk::InPlaceImageFilter< TInputImage, TInputImage >. Definition at line 69 of file itkPasteImageFilter.h. |
|
Typedefs from Superclass Reimplemented from itk::InPlaceImageFilter< TInputImage, TInputImage >. Definition at line 60 of file itkPasteImageFilter.h. |
|
Reimplemented from itk::InPlaceImageFilter< TInputImage, TInputImage >. Definition at line 65 of file itkPasteImageFilter.h. |
|
Definition at line 75 of file itkPasteImageFilter.h. |
|
Typedef to describe the output and input image index and size types. Definition at line 72 of file itkPasteImageFilter.h. |
|
Typedef to describe the type of pixel. Reimplemented from itk::InPlaceImageFilter< TInputImage, TInputImage >. Definition at line 68 of file itkPasteImageFilter.h. |
|
Reimplemented from itk::InPlaceImageFilter< TInputImage, TInputImage >. Definition at line 61 of file itkPasteImageFilter.h. |
|
Typedef to describe the output and input image region types. Reimplemented from itk::InPlaceImageFilter< TInputImage, TInputImage >. Definition at line 64 of file itkPasteImageFilter.h. |
|
Definition at line 74 of file itkPasteImageFilter.h. |
|
Reimplemented from itk::InPlaceImageFilter< TInputImage, TInputImage >. Definition at line 50 of file itkPasteImageFilter.h. |
|
Standard class typedefs. Reimplemented from itk::InPlaceImageFilter< TInputImage, TInputImage >. Definition at line 48 of file itkPasteImageFilter.h. |
|
Reimplemented from itk::InPlaceImageFilter< TInputImage, TInputImage >. Definition at line 49 of file itkPasteImageFilter.h. |
|
|
|
Definition at line 122 of file itkPasteImageFilter.h. |
|
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, TInputImage >. |
|
Set/Get the "destination" image. This is the image that will be obscured by the paste operation. Definition at line 99 of file itkPasteImageFilter.h. |
|
Set/Get the destination index (where in the first input the second input will be pasted. |
|
Run-time type information (and related methods). Reimplemented from itk::InPlaceImageFilter< TInputImage, TInputImage >. |
|
Set/Get the "source" image. This is the image that will be pasted over the destination imaeg. Definition at line 105 of file itkPasteImageFilter.h. |
|
Set/Get the source region (what part of the second input will be pasted. |
|
ImageDimension enumeration Reimplemented from itk::InPlaceImageFilter< TInputImage, TInputImage >. |
|
ImageDimension enumeration Reimplemented from itk::InPlaceImageFilter< TInputImage, TInputImage >. |
|
Method for creation through the object factory. Reimplemented from itk::Object. |
|
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, TInputImage >. |
|
Set/Get the "destination" image. This is the image that will be obscured by the paste operation. Definition at line 98 of file itkPasteImageFilter.h. |
|
Set/Get the destination index (where in the first input the second input will be pasted. |
|
Set/Get the "source" image. This is the image that will be pasted over the destination imaeg. Definition at line 104 of file itkPasteImageFilter.h. |
|
Set/Get the source region (what part of the second input will be pasted. |
|
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< TInputImage >. |
|
Definition at line 138 of file itkPasteImageFilter.h. |
|
Definition at line 137 of file itkPasteImageFilter.h. |