ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <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 > |
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 |
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.
typedef SmartPointer< const Self > itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::ConstPointer |
Reimplemented from itk::ImageToImageFilter< TDisplacementField, TOutputImage >.
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 |
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 79 of file itkGridForwardWarpImageFilter.h.
typedef TOutputImage::RegionType itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::OutputImageRegionType |
Typedef to describe the output image region type.
Reimplemented from itk::ImageToImageFilter< TDisplacementField, TOutputImage >.
Definition at line 72 of file itkGridForwardWarpImageFilter.h.
typedef Superclass::OutputImageType itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::OutputImageType |
Inherit some types from the superclass.
Reimplemented from itk::ImageSource< TOutputImage >.
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 |
Reimplemented from itk::ImageToImageFilter< TDisplacementField, TOutputImage >.
Definition at line 65 of file itkGridForwardWarpImageFilter.h.
typedef GridForwardWarpImageFilter itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageToImageFilter< TDisplacementField, TOutputImage >.
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 |
Reimplemented from itk::ImageToImageFilter< TDisplacementField, TOutputImage >.
Definition at line 64 of file itkGridForwardWarpImageFilter.h.
|
protected |
End concept checking
|
inlineprotected |
Definition at line 120 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.
Reimplemented from itk::Object.
|
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< TDisplacementField, 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< 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 133 of file itkGridForwardWarpImageFilter.h.
|
private |
Definition at line 134 of file itkGridForwardWarpImageFilter.h.
|
private |
Definition at line 135 of file itkGridForwardWarpImageFilter.h.