ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkGridForwardWarpImageFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DisplacementFieldType::ConstPointer | DisplacementFieldConstPointer |
typedef TDisplacementField | DisplacementFieldType |
typedef DisplacementFieldType::PixelType | DisplacementType |
typedef OutputImageType::IndexType | IndexType |
typedef Superclass::OutputImagePointer | OutputImagePointer |
typedef TOutputImage::RegionType | OutputImageRegionType |
typedef Superclass::OutputImageType | OutputImageType |
typedef OutputImageType::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef GridForwardWarpImageFilter | Self |
typedef OutputImageType::SizeType | SizeType |
typedef OutputImageType::SpacingType | SpacingType |
typedef ImageToImageFilter < TDisplacementField, TOutputImage > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual PixelType | GetBackgroundValue () const |
virtual PixelType | GetForegroundValue () const |
virtual const char * | GetNameOfClass () const |
virtual void | SetBackgroundValue (PixelType _arg) |
virtual void | SetForegroundValue (PixelType _arg) |
typedef (Concept::SameDimension< ImageDimension, DisplacementFieldDimension >) SameDimensionCheck | |
typedef (Concept::HasNumericTraits< typename TDisplacementField::PixelType::ValueType >) DisplacementFieldHasNumericTraitsCheck | |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TOutputImage::ImageDimension |
static const unsigned int | DisplacementFieldDimension = TDisplacementField::ImageDimension |
Protected Member Functions | |
void | GenerateData () |
GridForwardWarpImageFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
~GridForwardWarpImageFilter () | |
Private Member Functions | |
GridForwardWarpImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
PixelType | m_BackgroundValue |
PixelType | m_ForegroundValue |
unsigned int | m_GridPixSpacing |
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.
itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::GridForwardWarpImageFilter | ( | ) | [protected] |
End concept checking
itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::~GridForwardWarpImageFilter | ( | ) | [inline, protected] |
Definition at line 120 of file itkGridForwardWarpImageFilter.h.
itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::GridForwardWarpImageFilter | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::CreateAnother | ( | void | ) | const [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.
void itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::GenerateData | ( | ) | [protected, virtual] |
Reimplemented from itk::ImageSource< TOutputImage >.
virtual PixelType itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::GetBackgroundValue | ( | ) | const [virtual] |
Get the background value
virtual PixelType itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::GetForegroundValue | ( | ) | const [virtual] |
Get the foreground value
virtual const char* itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods)
Reimplemented from itk::ImageToImageFilter< TDisplacementField, TOutputImage >.
static Pointer itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::Object.
void itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::operator= | ( | const Self & | ) | [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 >.
void itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
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 void itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::SetBackgroundValue | ( | PixelType | _arg | ) | [virtual] |
Set the background value
virtual void itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::SetForegroundValue | ( | PixelType | _arg | ) | [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 > )
const unsigned int itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::DisplacementFieldDimension = TDisplacementField::ImageDimension [static] |
Determine the image dimension.
Definition at line 89 of file itkGridForwardWarpImageFilter.h.
const unsigned int itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::ImageDimension = TOutputImage::ImageDimension [static] |
Determine the image dimension.
Definition at line 87 of file itkGridForwardWarpImageFilter.h.
PixelType itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::m_BackgroundValue [private] |
Definition at line 133 of file itkGridForwardWarpImageFilter.h.
PixelType itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::m_ForegroundValue [private] |
Definition at line 134 of file itkGridForwardWarpImageFilter.h.
unsigned int itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::m_GridPixSpacing [private] |
Definition at line 135 of file itkGridForwardWarpImageFilter.h.