ITK
4.3.0
Insight Segmentation and Registration Toolkit
|
#include <itkCyclicShiftImageFilter.h>
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.
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 > | |
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 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 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 > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
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 |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
typedef SmartPointer< const Self > itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 54 of file itkCyclicShiftImageFilter.h.
typedef OutputImageType::IndexType itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::IndexType |
Definition at line 67 of file itkCyclicShiftImageFilter.h.
typedef InputImageType::ConstPointer itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::InputImageConstPointer |
Definition at line 60 of file itkCyclicShiftImageFilter.h.
typedef InputImageType::PixelType itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::InputImagePixelType |
Definition at line 62 of file itkCyclicShiftImageFilter.h.
typedef InputImageType::Pointer itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::InputImagePointer |
Definition at line 59 of file itkCyclicShiftImageFilter.h.
typedef InputImageType::RegionType itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
Definition at line 61 of file itkCyclicShiftImageFilter.h.
typedef TInputImage itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::InputImageType |
Some convenient typedefs.
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 |
Definition at line 64 of file itkCyclicShiftImageFilter.h.
typedef OutputImageType::PixelType itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::OutputImagePixelType |
Definition at line 66 of file itkCyclicShiftImageFilter.h.
typedef OutputImageType::Pointer itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::OutputImagePointer |
Definition at line 63 of file itkCyclicShiftImageFilter.h.
typedef OutputImageType::RegionType itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Definition at line 65 of file itkCyclicShiftImageFilter.h.
typedef TOutputImage itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::OutputImageType |
Definition at line 58 of file itkCyclicShiftImageFilter.h.
typedef SmartPointer< Self > itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 53 of file itkCyclicShiftImageFilter.h.
typedef CyclicShiftImageFilter itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 51 of file itkCyclicShiftImageFilter.h.
typedef OutputImageType::SizeType itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::SizeType |
Definition at line 68 of file itkCyclicShiftImageFilter.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::Superclass |
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.
|
private |
|
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
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.