ITK  4.9.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::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType > Class Template Reference

#include <itkTransformToDeformationFieldSource.h>

+ Inheritance diagram for itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >:
+ Collaboration diagram for itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >:

Detailed Description

template<typename TOutputImage, typename TTransformPrecisionType = double>
class itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >

Generate a deformation field from a coordinate transform.

This class was inspired on an the itkDeformationFieldImageFilter class.

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::GenerateInputRequestedRegion() and 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

Deprecated:

Definition at line 64 of file itkTransformToDeformationFieldSource.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef
OutputImageType::DirectionType 
DirectionType
 
typedef ImageBase
< itkGetStaticConstMacro(ImageDimension) > 
ImageBaseType
 
typedef OutputImageType::IndexType IndexType
 
typedef OutputImageType::PointType OriginType
 
typedef
OutputImageType::ConstPointer 
OutputImageConstPointer
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef OutputImageType::PixelType PixelType
 
typedef PixelType::ValueType PixelValueType
 
typedef SmartPointer< SelfPointer
 
typedef OutputImageType::PointType PointType
 
typedef OutputImageType::RegionType RegionType
 
typedef
TransformToDeformationFieldSource 
Self
 
typedef RegionType::SizeType SizeType
 
typedef
OutputImageType::SpacingType 
SpacingType
 
typedef ImageSource< TOutputImage > Superclass
 
typedef Transform
< TTransformPrecisionType,
itkGetStaticConstMacro(ImageDimension),
itkGetStaticConstMacro(ImageDimension) > 
TransformType
 
typedef TransformType::ConstPointer TransformPointerType
 
- 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 void BeforeThreadedGenerateData ()
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual void GenerateOutputInformation ()
 
unsigned long GetMTime () const
 
virtual const char * GetNameOfClass () const
 
virtual const IndexTypeGetOutputIndex ()
 
virtual const OriginTypeGetOutputOrigin () const
 
virtual const
OutputImageRegionType
GetOutputRegion () const
 
virtual const SizeTypeGetOutputSize ()
 
virtual const SpacingTypeGetOutputSpacing () const
 
virtual const TransformTypeGetTransform () const
 
virtual void SetOutputIndex (const IndexType &index)
 
void SetOutputParametersFromImage (const ImageBaseType *image)
 
virtual void SetOutputRegion (OutputImageRegionType _arg)
 
virtual void SetOutputSize (const SizeType &size)
 
virtual void SetTransform (const TransformType *_arg)
 
 typedef (Concept::SameDimension< ImageDimension, PixelDimension >) SameDimensionCheck
 
virtual void SetOutputSpacing (SpacingType _arg)
 
virtual void SetOutputSpacing (const double *values)
 
virtual void SetOutputOrigin (OriginType _arg)
 
virtual void SetOutputOrigin (const double *values)
 
virtual void SetOutputDirection (DirectionType _arg)
 
virtual const DirectionTypeGetOutputDirection () const
 
- Public Member Functions inherited from itk::ImageSource< TOutputImage >
OutputImageTypeGetOutput (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
OutputImageTypeGetOutput ()
 
const OutputImageTypeGetOutput () const
 
virtual void GraftOutput (DataObject *output)
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
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)
 
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 ()
 
const MetaDataDictionaryGetMetaDataDictionary () 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 override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
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

void LinearThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
void NonlinearThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
 TransformToDeformationFieldSource ()
 
 ~TransformToDeformationFieldSource (void)
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
virtual void GenerateData () override
 
virtual const
ImageRegionSplitterBase
GetImageRegionSplitter () 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)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (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
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
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 SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryOutput (DataObject *output)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyInputInformation ()
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName (void) const
 
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 &) ITK_DELETE_FUNCTION
 
 TransformToDeformationFieldSource (const Self &) ITK_DELETE_FUNCTION
 

Private Attributes

DirectionType m_OutputDirection
 
OriginType m_OutputOrigin
 
RegionType m_OutputRegion
 
SpacingType m_OutputSpacing
 
TransformPointerType m_Transform
 

Additional Inherited Members

- 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
AtomicInt< int > m_ReferenceCount
 

Member Typedef Documentation

template<typename TOutputImage , typename TTransformPrecisionType = double>
typedef SmartPointer< const Self > itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::ConstPointer

Definition at line 72 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
typedef OutputImageType::DirectionType itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::DirectionType

Definition at line 105 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
typedef ImageBase< itkGetStaticConstMacro(ImageDimension) > itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::ImageBaseType

Typedefs for base image.

Definition at line 108 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
typedef OutputImageType::IndexType itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::IndexType

Definition at line 101 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
typedef OutputImageType::PointType itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::OriginType

Definition at line 104 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
typedef OutputImageType::ConstPointer itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::OutputImageConstPointer

Definition at line 76 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
typedef OutputImageType::Pointer itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::OutputImagePointer

Definition at line 75 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
typedef OutputImageType::RegionType itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::OutputImageRegionType

Definition at line 77 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
typedef TOutputImage itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::OutputImageType

Definition at line 74 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
typedef OutputImageType::PixelType itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::PixelType

Typedefs for output image.

Definition at line 97 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
typedef PixelType::ValueType itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::PixelValueType

Definition at line 98 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
typedef SmartPointer< Self > itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::Pointer

Definition at line 71 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
typedef OutputImageType::PointType itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::PointType

Definition at line 102 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
typedef OutputImageType::RegionType itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::RegionType

Definition at line 99 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
typedef TransformToDeformationFieldSource itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::Self

Standard class typedefs.

Definition at line 69 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
typedef RegionType::SizeType itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::SizeType

Definition at line 100 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
typedef OutputImageType::SpacingType itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::SpacingType

Definition at line 103 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
typedef ImageSource< TOutputImage > itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::Superclass

Definition at line 70 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
typedef TransformType::ConstPointer itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::TransformPointerType

Typedefs for transform.

Definition at line 93 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
typedef Transform< TTransformPrecisionType, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension) > itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::TransformType

Typedefs for transform.

Definition at line 92 of file itkTransformToDeformationFieldSource.h.

Constructor & Destructor Documentation

template<typename TOutputImage , typename TTransformPrecisionType = double>
itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::TransformToDeformationFieldSource ( )
protected
template<typename TOutputImage , typename TTransformPrecisionType = double>
itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::~TransformToDeformationFieldSource ( void  )
inlineprotected

Definition at line 185 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::TransformToDeformationFieldSource ( const Self )
private

Member Function Documentation

template<typename TOutputImage , typename TTransformPrecisionType = double>
virtual void itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::BeforeThreadedGenerateData ( )
virtual

Just checking if transform is set.

Reimplemented from itk::ImageSource< TOutputImage >.

template<typename TOutputImage , typename TTransformPrecisionType = double>
virtual::itk::LightObject::Pointer itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::CreateAnother ( ) 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 TTransformPrecisionType = double>
virtual void itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::GenerateOutputInformation ( )
virtual

DeformationFieldImageFilter produces a vector image.

Reimplemented from itk::ProcessObject.

template<typename TOutputImage , typename TTransformPrecisionType = double>
unsigned long itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::GetMTime ( ) const
virtual

Compute the Modified Time based on changes to the components.

Reimplemented from itk::Object.

template<typename TOutputImage , typename TTransformPrecisionType = double>
virtual const char* itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageSource< TOutputImage >.

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

Set the output direction cosine matrix.

template<typename TOutputImage , typename TTransformPrecisionType = double>
virtual const IndexType& itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::GetOutputIndex ( )
virtual

Get the start index of the output largest possible region.

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

Get the output image origin.

template<typename TOutputImage , typename TTransformPrecisionType = double>
virtual const OutputImageRegionType& itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::GetOutputRegion ( ) const
virtual

Get the region of the output image.

template<typename TOutputImage , typename TTransformPrecisionType = double>
virtual const SizeType& itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::GetOutputSize ( )
virtual

Get the size of the output image.

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

Get the output image spacing.

template<typename TOutputImage , typename TTransformPrecisionType = double>
virtual const TransformType* itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::GetTransform ( ) const
virtual

Get a pointer to the coordinate transform.

template<typename TOutputImage , typename TTransformPrecisionType = double>
void itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::LinearThreadedGenerateData ( const OutputImageRegionType outputRegionForThread,
ThreadIdType  threadId 
)
protected

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

template<typename TOutputImage , typename TTransformPrecisionType = double>
static Pointer itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::New ( )
static

Method for creation through the object factory.

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

Default implementation for resampling that works for any transformation type.

template<typename TOutputImage , typename TTransformPrecisionType = double>
void itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::operator= ( const Self )
private
template<typename TOutputImage , typename TTransformPrecisionType = double>
void itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

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 TTransformPrecisionType = double>
virtual void itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::SetOutputDirection ( DirectionType  _arg)
virtual

Set the output direction cosine matrix.

template<typename TOutputImage , typename TTransformPrecisionType = double>
virtual void itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::SetOutputIndex ( const IndexType index)
virtual

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

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

Set the output image origin.

template<typename TOutputImage , typename TTransformPrecisionType = double>
virtual void itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::SetOutputOrigin ( const double *  values)
virtual

Set the output image origin.

template<typename TOutputImage , typename TTransformPrecisionType = double>
void itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::SetOutputParametersFromImage ( const ImageBaseType image)

Helper method to set the output parameters based on this image

template<typename TOutputImage , typename TTransformPrecisionType = double>
virtual void itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::SetOutputRegion ( OutputImageRegionType  _arg)
virtual

Set the region of the output image.

template<typename TOutputImage , typename TTransformPrecisionType = double>
virtual void itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::SetOutputSize ( const SizeType size)
virtual

Set the size of the output image.

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

Set the output image spacing.

template<typename TOutputImage , typename TTransformPrecisionType = double>
virtual void itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::SetOutputSpacing ( const double *  values)
virtual

Set the output image spacing.

template<typename TOutputImage , typename TTransformPrecisionType = double>
virtual void itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::SetTransform ( const TransformType _arg)
virtual

Set the coordinate transformation. Set the coordinate transform to use for resampling. Note that this must be in physical coordinates and it is the output-to-input transform, NOT the input-to-output transform that you might naively expect. By default the filter uses an Identity transform. You must provide a different transform here, before attempting to run the filter, if you do not want to use the default Identity transform.

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

TransformToDeformationFieldSource can be implemented as a multithreaded filter.

Reimplemented from itk::ImageSource< TOutputImage >.

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

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

Member Data Documentation

template<typename TOutputImage , typename TTransformPrecisionType = double>
const unsigned int itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::ImageDimension = TOutputImage::ImageDimension
static

Number of dimensions.

Definition at line 87 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
DirectionType itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::m_OutputDirection
private

Definition at line 220 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
OriginType itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::m_OutputOrigin
private

Definition at line 219 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
RegionType itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::m_OutputRegion
private

Member variables.

Definition at line 216 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
SpacingType itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::m_OutputSpacing
private

Definition at line 218 of file itkTransformToDeformationFieldSource.h.

template<typename TOutputImage , typename TTransformPrecisionType = double>
TransformPointerType itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::m_Transform
private

Definition at line 217 of file itkTransformToDeformationFieldSource.h.

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

Definition at line 177 of file itkTransformToDeformationFieldSource.h.


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