ITK
4.4.0
Insight Segmentation and Registration Toolkit
|
#include <itkGridForwardWarpImageFilter.h>
Warps a grid using an input deformation field.
GridForwardWarpImageFilter warps a grid with respect to a given deformation field.
A displacement field is represented as a image whose pixel type is some vector type with at least N elements, where N is the dimension of the input image. The vector type must support element access via operator [].
The output image is produced by forward mapping.
Each vector in the displacement field represent the distance between a geometric point in the input space and a point in the output space such that:
Typically the mapped position does not correspond to an integer pixel position in the output image. We round it.
This implementation was taken from the Insight Journal paper: http://hdl.handle.net/1926/510
Definition at line 58 of file itkGridForwardWarpImageFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TOutputImage::ImageDimension |
static const unsigned int | DisplacementFieldDimension = TDisplacementField::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TDisplacementField, TOutputImage > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Member Functions | |
GridForwardWarpImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
PixelType | m_BackgroundValue |
PixelType | m_ForegroundValue |
unsigned int | m_GridPixSpacing |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TDisplacementField, 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 |
typedef SmartPointer< const Self > itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::ConstPointer |
Definition at line 66 of file itkGridForwardWarpImageFilter.h.
typedef DisplacementFieldType::ConstPointer itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::DisplacementFieldConstPointer |
Definition at line 94 of file itkGridForwardWarpImageFilter.h.
typedef TDisplacementField itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::DisplacementFieldType |
Deformation field typedef support.
Definition at line 93 of file itkGridForwardWarpImageFilter.h.
typedef DisplacementFieldType::PixelType itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::DisplacementType |
Definition at line 95 of file itkGridForwardWarpImageFilter.h.
typedef OutputImageType::IndexType itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::IndexType |
Definition at line 80 of file itkGridForwardWarpImageFilter.h.
typedef Superclass::OutputImagePointer itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::OutputImagePointer |
Definition at line 79 of file itkGridForwardWarpImageFilter.h.
typedef TOutputImage::RegionType itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::OutputImageRegionType |
Typedef to describe the output image region type.
Definition at line 72 of file itkGridForwardWarpImageFilter.h.
typedef Superclass::OutputImageType itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::OutputImageType |
Inherit some types from the superclass.
Definition at line 78 of file itkGridForwardWarpImageFilter.h.
typedef OutputImageType::PixelType itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::PixelType |
Definition at line 82 of file itkGridForwardWarpImageFilter.h.
typedef SmartPointer< Self > itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::Pointer |
Definition at line 65 of file itkGridForwardWarpImageFilter.h.
typedef GridForwardWarpImageFilter itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::Self |
Standard class typedefs.
Definition at line 63 of file itkGridForwardWarpImageFilter.h.
typedef OutputImageType::SizeType itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::SizeType |
Definition at line 81 of file itkGridForwardWarpImageFilter.h.
typedef OutputImageType::SpacingType itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::SpacingType |
Definition at line 83 of file itkGridForwardWarpImageFilter.h.
typedef ImageToImageFilter< TDisplacementField, TOutputImage > itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::Superclass |
Definition at line 64 of file itkGridForwardWarpImageFilter.h.
|
protected |
End concept checking
|
inlineprotected |
Definition at line 121 of file itkGridForwardWarpImageFilter.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.
|
protectedvirtual |
Reimplemented from itk::ImageSource< TOutputImage >.
|
virtual |
Get the background value
|
virtual |
Get the foreground value
|
virtual |
Run-time type information (and related methods)
Reimplemented from itk::ImageToImageFilter< TDisplacementField, TOutputImage >.
|
static |
Method for creation through the object factory.
|
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< TDisplacementField, TOutputImage >.
|
virtual |
Set the background value
|
virtual |
Set the foreground value
itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::typedef | ( | Concept::SameDimension< ImageDimension, DisplacementFieldDimension > | ) |
Begin concept checking This class requires SameDimensionCheck in the form of ( Concept::SameDimension< ImageDimension, DisplacementFieldDimension > )
itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::typedef | ( | Concept::HasNumericTraits< typename TDisplacementField::PixelType::ValueType > | ) |
This class requires DisplacementFieldHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< typename TDisplacementField::PixelType::ValueType > )
|
static |
Determine the image dimension.
Definition at line 89 of file itkGridForwardWarpImageFilter.h.
|
static |
Determine the image dimension.
Definition at line 87 of file itkGridForwardWarpImageFilter.h.
|
private |
Definition at line 134 of file itkGridForwardWarpImageFilter.h.
|
private |
Definition at line 135 of file itkGridForwardWarpImageFilter.h.
|
private |
Definition at line 136 of file itkGridForwardWarpImageFilter.h.