ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkCyclicShiftImageFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef OutputImageType::IndexType | IndexType |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef OutputImageType::OffsetType | OffsetType |
typedef OutputImageType::OffsetValueType | OffsetValueType |
typedef OutputImageType::ConstPointer | OutputImageConstPointer |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef CyclicShiftImageFilter | Self |
typedef OutputImageType::SizeType | SizeType |
typedef ImageToImageFilter < TInputImage, TOutputImage > | Superclass |
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 | 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 > |
Protected Attributes | |
OffsetType | m_Shift |
Private Member Functions | |
CyclicShiftImageFilter (const Self &) | |
void | operator= (const Self &) |
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 |
Perform a cyclic spatial shift of image intensities on the image grid.
This filter supports arbitrary cyclic shifts of pixel values on the image grid. If the Shift is set to [xOff, yOff], the value of the pixel at [0, 0] in the input image will be the value of the pixel in the output image at index [xOff modulo xSize, yOff modulo ySize] where xSize and ySize are the sizes of the image in the x and y dimensions, respectively. If a pixel value is moved across a boundary, the pixel value is wrapped around that boundary. For example, if the image is 40-by-40 and the Shift is [13, 47], then the value of the pixel at [0, 0] in the input image will be the value of the pixel in the output image at index [13, 7].
Negative Shifts are supported. This filter also works with images whose largest possible region starts at a non-zero index.
Definition at line 46 of file itkCyclicShiftImageFilter.h.
typedef SmartPointer< const Self > itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::ConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::FFTShiftImageFilter< TInputImage, TOutputImage >.
Definition at line 54 of file itkCyclicShiftImageFilter.h.
typedef OutputImageType::IndexType itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::IndexType |
Reimplemented in itk::FFTShiftImageFilter< TInputImage, TOutputImage >.
Definition at line 67 of file itkCyclicShiftImageFilter.h.
typedef InputImageType::ConstPointer itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::InputImageConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::FFTShiftImageFilter< TInputImage, TOutputImage >.
Definition at line 60 of file itkCyclicShiftImageFilter.h.
typedef InputImageType::PixelType itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::InputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::FFTShiftImageFilter< TInputImage, TOutputImage >.
Definition at line 62 of file itkCyclicShiftImageFilter.h.
typedef InputImageType::Pointer itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::InputImagePointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::FFTShiftImageFilter< TInputImage, TOutputImage >.
Definition at line 59 of file itkCyclicShiftImageFilter.h.
typedef InputImageType::RegionType itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::FFTShiftImageFilter< TInputImage, TOutputImage >.
Definition at line 61 of file itkCyclicShiftImageFilter.h.
typedef TInputImage itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::InputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::FFTShiftImageFilter< TInputImage, TOutputImage >.
Definition at line 57 of file itkCyclicShiftImageFilter.h.
typedef OutputImageType::OffsetType itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::OffsetType |
Definition at line 69 of file itkCyclicShiftImageFilter.h.
typedef OutputImageType::OffsetValueType itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::OffsetValueType |
Definition at line 70 of file itkCyclicShiftImageFilter.h.
typedef OutputImageType::ConstPointer itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::OutputImageConstPointer |
Reimplemented in itk::FFTShiftImageFilter< TInputImage, TOutputImage >.
Definition at line 64 of file itkCyclicShiftImageFilter.h.
typedef OutputImageType::PixelType itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::OutputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::FFTShiftImageFilter< TInputImage, TOutputImage >.
Definition at line 66 of file itkCyclicShiftImageFilter.h.
typedef OutputImageType::Pointer itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::OutputImagePointer |
Reimplemented from itk::ImageSource< TOutputImage >.
Reimplemented in itk::FFTShiftImageFilter< TInputImage, TOutputImage >.
Definition at line 63 of file itkCyclicShiftImageFilter.h.
typedef OutputImageType::RegionType itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::FFTShiftImageFilter< TInputImage, TOutputImage >.
Definition at line 65 of file itkCyclicShiftImageFilter.h.
typedef TOutputImage itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageSource< TOutputImage >.
Reimplemented in itk::FFTShiftImageFilter< TInputImage, TOutputImage >.
Definition at line 58 of file itkCyclicShiftImageFilter.h.
typedef SmartPointer< Self > itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::Pointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::FFTShiftImageFilter< TInputImage, TOutputImage >.
Definition at line 53 of file itkCyclicShiftImageFilter.h.
typedef CyclicShiftImageFilter itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::FFTShiftImageFilter< TInputImage, TOutputImage >.
Definition at line 51 of file itkCyclicShiftImageFilter.h.
typedef OutputImageType::SizeType itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::SizeType |
Reimplemented in itk::FFTShiftImageFilter< TInputImage, TOutputImage >.
Definition at line 68 of file itkCyclicShiftImageFilter.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::Superclass |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::FFTShiftImageFilter< TInputImage, TOutputImage >.
Definition at line 52 of file itkCyclicShiftImageFilter.h.
|
protected |
|
inlineprotected |
Definition at line 89 of file itkCyclicShiftImageFilter.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.
Reimplemented in itk::FFTShiftImageFilter< TInputImage, TOutputImage >.
|
protectedvirtual |
This filter needs the entire input be available so it needs to provide an implementation of GenerateInputRequestedRegion().
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Runtime information support.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::FFTShiftImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/get the shift. Shifts may be positive or negative.
|
static |
Standard New method.
Reimplemented from itk::Object.
Reimplemented in itk::FFTShiftImageFilter< TInputImage, TOutputImage >.
|
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::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::FFTShiftImageFilter< 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::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::FFTShiftImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/get the shift. Shifts may be positive or negative.
|
protectedvirtual |
This filter can be threaded.
Reimplemented from itk::ImageSource< TOutputImage >.
|
static |
ImageDimension constants
Reimplemented in itk::FFTShiftImageFilter< TInputImage, TOutputImage >.
Definition at line 74 of file itkCyclicShiftImageFilter.h.
|
protected |
Protected so that subclasses may set it without calling Modified().
Definition at line 103 of file itkCyclicShiftImageFilter.h.