ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkMirrorPadImageFilter.h>
Increase the image size by padding with replicants of the input image value.
MirrorPadImageFilter changes the image bounds of an image. Any added pixels are filled in with a mirrored replica of the input image. For instance, if the output image needs a pixel that is two pixels to the left of the LargestPossibleRegion of the input image, the value assigned will be from the pixel two pixels inside the left boundary of the LargestPossibleRegion. The image bounds of the output must be specified.
This filter is implemented as a multithreaded filter. It provides a ThreadedGenerateData() method for its implementation.
Definition at line 52 of file itkMirrorPadImageFilter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::InputImageIndexType | InputImageIndexType |
typedef Superclass::InputImagePixelType | InputImagePixelType |
typedef Superclass::InputImageRegionType | InputImageRegionType |
typedef Superclass::InputImageSizeType | InputImageSizeType |
typedef TInputImage | InputImageType |
typedef Superclass::OutputImageIndexType | OutputImageIndexType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef Superclass::OutputImageSizeType | OutputImageSizeType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef MirrorPadImageFilter | Self |
typedef PadImageFilter < TInputImage, TOutputImage > | Superclass |
Public Types inherited from itk::PadImageFilter< TInputImage, TOutputImage > | |
typedef BoundaryConditionType * | BoundaryConditionPointerType |
typedef ImageBoundaryCondition < TInputImage, TOutputImage > | BoundaryConditionType |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage::IndexType | InputImageIndexType |
typedef TInputImage::PixelType | InputImagePixelType |
typedef TInputImage::RegionType | InputImageRegionType |
typedef TInputImage::SizeType | InputImageSizeType |
typedef TOutputImage::IndexType | OutputImageIndexType |
typedef TOutputImage::PixelType | OutputImagePixelType |
typedef TOutputImage::RegionType | OutputImageRegionType |
typedef TOutputImage::SizeType | OutputImageSizeType |
typedef SmartPointer< Self > | Pointer |
typedef PadImageFilter | Self |
typedef TInputImage::SizeType | SizeType |
typedef TInputImage::SizeValueType | SizeValueType |
typedef PadImageFilterBase < TInputImage, TOutputImage > | Superclass |
Public Types inherited from itk::PadImageFilterBase< TInputImage, TOutputImage > | |
typedef BoundaryConditionType * | BoundaryConditionPointerType |
typedef ImageBoundaryCondition < TInputImage, TOutputImage > | BoundaryConditionType |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage::IndexType | InputImageIndexType |
typedef TInputImage::PixelType | InputImagePixelType |
typedef TInputImage::RegionType | InputImageRegionType |
typedef TInputImage::SizeType | InputImageSizeType |
typedef TOutputImage::IndexType | OutputImageIndexType |
typedef TOutputImage::PixelType | OutputImagePixelType |
typedef TOutputImage::RegionType | OutputImageRegionType |
typedef TOutputImage::SizeType | OutputImageSizeType |
typedef SmartPointer< Self > | Pointer |
typedef PadImageFilterBase | Self |
typedef TInputImage::SizeType | SizeType |
typedef TInputImage::SizeValueType | SizeValueType |
typedef ImageToImageFilter < TInputImage, TOutputImage > | Superclass |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | 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::PadImageFilter< TInputImage, TOutputImage > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::PadImageFilterBase< TInputImage, TOutputImage > | |
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 () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::PadImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::PadImageFilterBase< TInputImage, TOutputImage > | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::MirrorPadImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 60 of file itkMirrorPadImageFilter.h.
typedef Superclass::InputImageIndexType itk::MirrorPadImageFilter< TInputImage, TOutputImage >::InputImageIndexType |
Definition at line 81 of file itkMirrorPadImageFilter.h.
typedef Superclass::InputImagePixelType itk::MirrorPadImageFilter< TInputImage, TOutputImage >::InputImagePixelType |
Definition at line 77 of file itkMirrorPadImageFilter.h.
typedef Superclass::InputImageRegionType itk::MirrorPadImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
Definition at line 73 of file itkMirrorPadImageFilter.h.
typedef Superclass::InputImageSizeType itk::MirrorPadImageFilter< TInputImage, TOutputImage >::InputImageSizeType |
Definition at line 83 of file itkMirrorPadImageFilter.h.
typedef TInputImage itk::MirrorPadImageFilter< TInputImage, TOutputImage >::InputImageType |
Definition at line 66 of file itkMirrorPadImageFilter.h.
typedef Superclass::OutputImageIndexType itk::MirrorPadImageFilter< TInputImage, TOutputImage >::OutputImageIndexType |
Typedef to describe the output and input image index and size types.
Definition at line 80 of file itkMirrorPadImageFilter.h.
typedef Superclass::OutputImagePixelType itk::MirrorPadImageFilter< TInputImage, TOutputImage >::OutputImagePixelType |
Typedef to describe the type of pixel.
Definition at line 76 of file itkMirrorPadImageFilter.h.
typedef Superclass::OutputImageRegionType itk::MirrorPadImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Typedef to describe the output image region type.
Definition at line 72 of file itkMirrorPadImageFilter.h.
typedef Superclass::OutputImageSizeType itk::MirrorPadImageFilter< TInputImage, TOutputImage >::OutputImageSizeType |
Definition at line 82 of file itkMirrorPadImageFilter.h.
typedef TOutputImage itk::MirrorPadImageFilter< TInputImage, TOutputImage >::OutputImageType |
Definition at line 69 of file itkMirrorPadImageFilter.h.
typedef SmartPointer< Self > itk::MirrorPadImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 59 of file itkMirrorPadImageFilter.h.
typedef MirrorPadImageFilter itk::MirrorPadImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 57 of file itkMirrorPadImageFilter.h.
typedef PadImageFilter< TInputImage, TOutputImage > itk::MirrorPadImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 58 of file itkMirrorPadImageFilter.h.
|
inlineprotected |
Definition at line 97 of file itkMirrorPadImageFilter.h.
|
inlineoverrideprotected |
Definition at line 98 of file itkMirrorPadImageFilter.h.
|
protected |
Generate region 0 (inter-region) information. Based on the indices of the input and the output for this dimension, decide what are the starting points and the lengths of the output region directly corresponding to the input region. Padding will be on either side of this region. The algorithmic complications are necessary to support the streaming interface and multithreading.
|
protected |
Generate region 2 (post-region) information. Based on the indices of the input and the output for this dimension, decide what are the starting points and the lengths of the output region directly succeeding the input region in this dimension. This may require more than one region be defined if the padding is larger than the size of the input image in this dimension. Other algorithmic complications are necessary to support the streaming interface and multithreading.
|
protected |
Generate region 1 (pre-region) information. Based on the indices of the input and the output for this dimension, decide what are the starting points and the lengths of the output region directly preceding the input region in this dimension. This may require more than one region be defined if the padding is larger than the size of the input image in this dimension. Other algorithmic complications are necessary to support the streaming interface and multithreading.
|
protected |
Convert from the output index to the input index taking into consideration mirrored and normal regions.
|
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.
|
protected |
Given the start and end indices of a region, determine how many instances of size fit within the region. The variable offset provides a way to adjust width of the area while forcing alignment to the start or end location.
|
overrideprotectedvirtual |
MirrorPadImageFilter needs a different input requested region than output requested region. As such, MirrorPadImageFilter needs to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model.
Reimplemented from itk::PadImageFilterBase< TInputImage, TOutputImage >.
|
protected |
Given an n dimensional list of input region breakpoints in indices and size (where the current region and maximum region for each dimension is encoded in regIndices and regLimit), choose the next input region.
|
protected |
Given an n dimensional list of output region breakpoints in indices and size (where the current region and maximum region for each dimension is encoded in regIndices and regLimit), choose the next output region.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::PadImageFilter< TInputImage, TOutputImage >.
|
static |
Method for creation through the object factory.
|
protected |
Decide whether test falls within an odd or even number of size regions from base.
|
overrideprotectedvirtual |
MirrorPadImageFilter 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 >.
|
static |
ImageDimension enumeration.
Definition at line 87 of file itkMirrorPadImageFilter.h.