ITK  4.6.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar > Class Template Reference

#include <itkTransformToDisplacementFieldFilter.h>

+ Inheritance diagram for itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >:
+ Collaboration diagram for itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >:

Detailed Description

template<typename TOutputImage, typename TScalar = double>
class itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >

Generate a displacement field from a coordinate transform.

Output information (spacing, size and direction) for the output image should be set. This information has the normal defaults of unit spacing, zero origin and identity direction. Optionally, the output information can be obtained from a reference image. If the reference image is provided and UseReferenceImage is On, then the spacing, origin and direction of the reference image will be used.

Since this filter produces an image which is a different size than its input, it needs to override several of the methods defined in ProcessObject in order to properly manage the pipeline execution model. In particular, this filter overrides ProcessObject::GenerateOutputInformation().

This filter is implemented as a multithreaded filter. It provides a ThreadedGenerateData() method for its implementation.

Author
Marius Staring, Leiden University Medical Center, The Netherlands.

This class was taken from the Insight Journal paper: http://hdl.handle.net/1926/1387

Definition at line 56 of file itkTransformToDisplacementFieldFilter.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef
OutputImageType::DirectionType 
DirectionType
 
typedef OutputImageType::IndexType IndexType
 
typedef OutputImageType::PointType OriginType
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef OutputImageType::PixelType PixelType
 
typedef PixelType::ValueType PixelValueType
 
typedef SmartPointer< SelfPointer
 
typedef OutputImageType::PointType PointType
 
typedef ImageBase< ImageDimensionReferenceImageBaseType
 
typedef OutputImageType::RegionType RegionType
 
typedef
TransformToDisplacementFieldFilter 
Self
 
typedef RegionType::SizeType SizeType
 
typedef
OutputImageType::SpacingType 
SpacingType
 
typedef ImageSource< TOutputImage > Superclass
 
typedef DataObjectDecorator
< TransformType
TransformInputType
 
typedef Transform< TScalar,
ImageDimension, ImageDimension
TransformType
 
- Public Types inherited from itk::ImageSource< TOutputImage >
typedef SmartPointer< const SelfConstPointer
 
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< SelfPointer
 
typedef ImageSource Self
 
typedef ProcessObject Superclass
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
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< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
virtual const OriginTypeGetOutputOrigin () const
 
virtual const SpacingTypeGetOutputSpacing () const
 
virtual const
ReferenceImageBaseType
GetReferenceImage () const
 
virtual void SetReferenceImage (const ReferenceImageBaseType *input)
 
 typedef (Concept::SameDimension< ImageDimension, PixelDimension >) SameDimensionCheck
 
virtual void SetInput (const TransformInputType *transform)
 
const TransformInputTypeGetInput () const
 
 itkSetGetDecoratedObjectInputMacro (Transform, TransformType)
 
virtual void SetOutputStartIndex (IndexType _arg)
 
virtual const IndexTypeGetOutputStartIndex () const
 
virtual void SetSize (SizeType _arg)
 
virtual const SizeTypeGetSize () const
 
virtual void SetOutputSpacing (SpacingType _arg)
 
virtual void SetOutputSpacing (const SpacePrecisionType *values)
 
virtual void SetOutputOrigin (OriginType _arg)
 
virtual void SetOutputOrigin (const SpacePrecisionType *values)
 
virtual void SetOutputDirection (DirectionType _arg)
 
virtual const DirectionTypeGetOutputDirection () const
 
virtual void SetUseReferenceImage (bool _arg)
 
virtual void UseReferenceImageOn ()
 
virtual void UseReferenceImageOff ()
 
virtual bool GetUseReferenceImage () const
 
- Public Member Functions inherited from itk::ImageSource< TOutputImage >
OutputImageTypeGetOutput (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
OutputImageTypeGetOutput (void)
 
const OutputImageTypeGetOutput (void) const
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) ITK_OVERRIDE
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
NameArray GetInputNames () const
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
virtual const float & GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
DataObjectPointerArray GetInputs ()
 
DataObjectPointerArray GetOutputs ()
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
void SetProgress (float progress)
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfThreads (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
const MetaDataDictionaryGetMetaDataDictionary (void) const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const ITK_OVERRIDE
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) ITK_OVERRIDE
 
virtual void UnRegister () const ITK_OVERRIDE
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = TOutputImage::ImageDimension
 
static const unsigned int PixelDimension = PixelType::Dimension
 
- Static Public Attributes inherited from itk::ImageSource< TOutputImage >
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension
 

Protected Member Functions

virtual void GenerateOutputInformation ()
 
void LinearThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
void NonlinearThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
 TransformToDisplacementFieldFilter ()
 
virtual ~TransformToDisplacementFieldFilter ()
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
virtual void GenerateData () ITK_OVERRIDE
 
virtual const
ImageRegionSplitterBase
GetImageRegionSplitter (void) const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual ~ImageSource ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryOutput (DataObject *output)
 
virtual void VerifyInputInformation ()
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PopBackInput ()
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void PopFrontInput ()
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName (void) const
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
void SetRequiredInputNames (const NameArray &)
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName (void) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

void operator= (const Self &)
 
 TransformToDisplacementFieldFilter (const Self &)
 

Private Attributes

DirectionType m_OutputDirection
 
OriginType m_OutputOrigin
 
SpacingType m_OutputSpacing
 
IndexType m_OutputStartIndex
 
SizeType m_Size
 
bool m_UseReferenceImage
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- 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
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Member Typedef Documentation

template<typename TOutputImage , typename TScalar = double>
typedef SmartPointer< const Self > itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::ConstPointer

Definition at line 64 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
typedef OutputImageType::DirectionType itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::DirectionType

Definition at line 91 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
typedef OutputImageType::IndexType itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::IndexType

Definition at line 87 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
typedef OutputImageType::PointType itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::OriginType

Definition at line 90 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
typedef OutputImageType::RegionType itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::OutputImageRegionType

Definition at line 67 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
typedef TOutputImage itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::OutputImageType

Definition at line 66 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
typedef OutputImageType::PixelType itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::PixelType

Typedefs for output image.

Definition at line 83 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
typedef PixelType::ValueType itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::PixelValueType

Definition at line 84 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
typedef SmartPointer< Self > itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::Pointer

Definition at line 63 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
typedef OutputImageType::PointType itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::PointType

Definition at line 88 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
typedef ImageBase< ImageDimension > itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::ReferenceImageBaseType

Typedef the reference image ImageBase.

Definition at line 94 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
typedef OutputImageType::RegionType itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::RegionType

Definition at line 85 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
typedef TransformToDisplacementFieldFilter itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::Self

Standard class typedefs.

Definition at line 61 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
typedef RegionType::SizeType itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::SizeType

Definition at line 86 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
typedef OutputImageType::SpacingType itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::SpacingType

Definition at line 89 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
typedef ImageSource< TOutputImage > itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::Superclass

Definition at line 62 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
typedef DataObjectDecorator< TransformType > itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::TransformInputType

Definition at line 80 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
typedef Transform< TScalar, ImageDimension, ImageDimension > itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::TransformType

Typedefs for transform.

Definition at line 79 of file itkTransformToDisplacementFieldFilter.h.

Constructor & Destructor Documentation

template<typename TOutputImage , typename TScalar = double>
itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::TransformToDisplacementFieldFilter ( )
protected
template<typename TOutputImage , typename TScalar = double>
virtual itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::~TransformToDisplacementFieldFilter ( )
inlineprotectedvirtual

Definition at line 167 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::TransformToDisplacementFieldFilter ( const Self )
private

Member Function Documentation

template<typename TOutputImage , typename TScalar = double>
virtual::itk::LightObject::Pointer itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::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.

template<typename TOutputImage , typename TScalar = double>
virtual void itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::GenerateOutputInformation ( )
protectedvirtual

Produces a Vector Image.

Reimplemented from itk::ProcessObject.

template<typename TOutputImage , typename TScalar = double>
const TransformInputType* itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::GetInput ( ) const
template<typename TOutputImage , typename TScalar = double>
virtual const char* itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageSource< TOutputImage >.

template<typename TOutputImage , typename TScalar = double>
virtual const DirectionType& itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::GetOutputDirection ( ) const
virtual

Set the output direction cosine matrix.

template<typename TOutputImage , typename TScalar = double>
virtual const OriginType& itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::GetOutputOrigin ( ) const
virtual

Get the output image origin.

template<typename TOutputImage , typename TScalar = double>
virtual const SpacingType& itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::GetOutputSpacing ( ) const
virtual

Get the output image spacing.

template<typename TOutputImage , typename TScalar = double>
virtual const IndexType& itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::GetOutputStartIndex ( ) const
virtual

Set/Get the start index of the output largest possible region. The default is an index of all zeros.

template<typename TOutputImage , typename TScalar = double>
virtual const ReferenceImageBaseType* itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::GetReferenceImage ( ) const
virtual

Get the reference image that is defining the output information.

template<typename TOutputImage , typename TScalar = double>
virtual const SizeType& itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::GetSize ( ) const
virtual

Set/Get the size of the output image.

template<typename TOutputImage , typename TScalar = double>
virtual bool itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::GetUseReferenceImage ( ) const
virtual

Turn on/off whether a specified reference image should be used to define the output information.

template<typename TOutputImage , typename TScalar = double>
itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::itkSetGetDecoratedObjectInputMacro ( Transform  ,
TransformType   
)
template<typename TOutputImage , typename TScalar = double>
void itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::LinearThreadedGenerateData ( const OutputImageRegionType outputRegionForThread,
ThreadIdType  threadId 
)
protected

Faster implementation for resampling that works for with linear transformation types.

template<typename TOutputImage , typename TScalar = double>
static Pointer itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::New ( )
static

Method for creation through the object factory.

template<typename TOutputImage , typename TScalar = double>
void itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::NonlinearThreadedGenerateData ( const OutputImageRegionType outputRegionForThread,
ThreadIdType  threadId 
)
protected

Default implementation for resampling that works for any transformation type.

template<typename TOutputImage , typename TScalar = double>
void itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::operator= ( const Self )
private
template<typename TOutputImage , typename TScalar = double>
virtual void itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
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::ProcessObject.

template<typename TOutputImage , typename TScalar = double>
virtual void itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::SetInput ( const TransformInputType transform)
virtual
template<typename TOutputImage , typename TScalar = double>
virtual void itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::SetOutputDirection ( DirectionType  _arg)
virtual

Set the output direction cosine matrix.

template<typename TOutputImage , typename TScalar = double>
virtual void itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::SetOutputOrigin ( OriginType  _arg)
virtual

Set the output image origin.

template<typename TOutputImage , typename TScalar = double>
virtual void itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::SetOutputOrigin ( const SpacePrecisionType values)
virtual

Set the output image origin.

template<typename TOutputImage , typename TScalar = double>
virtual void itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::SetOutputSpacing ( SpacingType  _arg)
virtual

Set the output image spacing.

template<typename TOutputImage , typename TScalar = double>
virtual void itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::SetOutputSpacing ( const SpacePrecisionType values)
virtual

Set the output image spacing.

template<typename TOutputImage , typename TScalar = double>
virtual void itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::SetOutputStartIndex ( IndexType  _arg)
virtual

Set/Get the start index of the output largest possible region. The default is an index of all zeros.

template<typename TOutputImage , typename TScalar = double>
virtual void itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::SetReferenceImage ( const ReferenceImageBaseType input)
virtual

Set a reference image to use to define the output information. By default, output information is specificed through the SetOutputSpacing, Origin, and Direction methods. Alternatively, this method can be used to specify an image from which to copy the information. UseReferenceImageOn must be set to utilize the reference image.

template<typename TOutputImage , typename TScalar = double>
virtual void itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::SetSize ( SizeType  _arg)
virtual

Set/Get the size of the output image.

template<typename TOutputImage , typename TScalar = double>
virtual void itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::SetUseReferenceImage ( bool  _arg)
virtual

Turn on/off whether a specified reference image should be used to define the output information.

template<typename TOutputImage , typename TScalar = double>
virtual void itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::ThreadedGenerateData ( const OutputImageRegionType outputRegionForThread,
ThreadIdType  threadId 
)
protectedvirtual

TransformToDisplacementFieldFilter can be implemented as a multithreaded filter.

Reimplemented from itk::ImageSource< TOutputImage >.

template<typename TOutputImage , typename TScalar = double>
itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::typedef ( Concept::SameDimension< ImageDimension, PixelDimension )

This class requires SameDimensionCheck in the form of ( Concept::SameDimension< ImageDimension, PixelDimension > )

template<typename TOutputImage , typename TScalar = double>
virtual void itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::UseReferenceImageOff ( )
virtual

Turn on/off whether a specified reference image should be used to define the output information.

template<typename TOutputImage , typename TScalar = double>
virtual void itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::UseReferenceImageOn ( )
virtual

Turn on/off whether a specified reference image should be used to define the output information.

Member Data Documentation

template<typename TOutputImage , typename TScalar = double>
const unsigned int itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::ImageDimension = TOutputImage::ImageDimension
static

Number of dimensions.

Definition at line 76 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
DirectionType itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::m_OutputDirection
private

Definition at line 198 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
OriginType itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::m_OutputOrigin
private

Definition at line 197 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
SpacingType itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::m_OutputSpacing
private

Definition at line 196 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
IndexType itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::m_OutputStartIndex
private

Definition at line 195 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
SizeType itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::m_Size
private

Member variables.

Definition at line 194 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
bool itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::m_UseReferenceImage
private

Definition at line 199 of file itkTransformToDisplacementFieldFilter.h.

template<typename TOutputImage , typename TScalar = double>
const unsigned int itk::TransformToDisplacementFieldFilter< TOutputImage, TScalar >::PixelDimension = PixelType::Dimension
static

Definition at line 159 of file itkTransformToDisplacementFieldFilter.h.


The documentation for this class was generated from the following file: