#include <itkScaleTransform.h>
Inheritance diagram for itk::ScaleTransform< TScalarType, NDimensions >:


The same functionality could be obtained by using the Affine tranform, but with a large difference in performace since the affine transform will use a matrix multiplication using a diagonal matrix.
Definition at line 40 of file itkScaleTransform.h.
Public Types | |
| typedef SmartPointer< const Self > | ConstPointer |
| typedef Superclass::JacobianType | JacobianType |
| typedef CovariantVector< TScalarType, itkGetStaticConstMacro(SpaceDimension) | OutputCovariantVectorType ) |
| typedef Point< TScalarType, itkGetStaticConstMacro(SpaceDimension) | OutputPointType ) |
| typedef Vector< TScalarType, itkGetStaticConstMacro(SpaceDimension) | OutputVectorType ) |
| typedef vnl_vector_fixed< TScalarType, itkGetStaticConstMacro(SpaceDimension) | OutputVnlVectorType ) |
| typedef Superclass::ParametersType | ParametersType |
| typedef SmartPointer< Self > | Pointer |
| typedef Superclass::ScalarType | ScalarType |
| typedef FixedArray< TScalarType, itkGetStaticConstMacro(SpaceDimension) | ScaleType ) |
| typedef ScaleTransform | Self |
| typedef Transform< TScalarType, NDimensions, NDimensions > | Superclass |
Public Member Functions | |
| InputCovariantVectorType | BackTransform (const OutputCovariantVectorType &vector) const |
| InputVnlVectorType | BackTransform (const OutputVnlVectorType &vector) const |
| InputVectorType | BackTransform (const OutputVectorType &vector) const |
| Back transform by a scale transformation *This method finds the point or vector that maps to a given *point or vector under the scale transformation defined by *self If no such point an exception is thrown *InputPointType | BackTransform (const OutputPointType &point) const |
| void | Compose (const Self *other, bool pre=false) |
| virtual LightObject::Pointer | CreateAnother () const |
| virtual void | DebugOff () const |
| virtual void | DebugOn () const |
| virtual void | Delete () |
| virtual const InputPointType & | GetCenter () |
| Command * | GetCommand (unsigned long tag) |
| bool | GetDebug () const |
| Get the Fixed Parameters *virtual const ParametersType & | GetFixedParameters (void) const |
| unsigned int | GetInputSpaceDimension (void) const |
| bool | GetInverse (Self *inverse) const |
| const JacobianType & | GetJacobian (const InputPointType &point) const |
| const MetaDataDictionary & | GetMetaDataDictionary (void) const |
| MetaDataDictionary & | GetMetaDataDictionary (void) |
| virtual unsigned long | GetMTime () const |
| virtual const char * | GetNameOfClass () const |
| virtual unsigned int | GetNumberOfParameters (void) const |
| unsigned int | GetOutputSpaceDimension (void) const |
| const ParametersType & | GetParameters (void) const |
| virtual int | GetReferenceCount () const |
| virtual const ScaleType & | GetScale () |
| virtual std::string | GetTransformTypeAsString () const |
| bool | HasObserver (const EventObject &event) const |
| void | InvokeEvent (const EventObject &) const |
| void | InvokeEvent (const EventObject &) |
| itkStaticConstMacro (OutputSpaceDimension, unsigned int, NOutputDimensions) | |
| Dimension of the domain space * | itkStaticConstMacro (InputSpaceDimension, unsigned int, NInputDimensions) |
| itkStaticConstMacro (ParametersDimension, unsigned int, NDimensions) | |
| Dimension of the domain space * | itkStaticConstMacro (SpaceDimension, unsigned int, NDimensions) |
| virtual void | Modified () const |
| void | Print (std::ostream &os, Indent indent=0) const |
| virtual void | Register () const |
| void | RemoveAllObservers () |
| void | RemoveObserver (unsigned long tag) |
| void | Scale (const ScaleType &scale, bool pre=false) |
| Set Get the center used as fixed point for the scaling *virtual void | SetCenter (InputPointType _arg) |
| void | SetDebug (bool debugFlag) const |
| virtual void | SetFixedParameters (const ParametersType &) |
| void | SetIdentity (void) |
| void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
| void | SetParameters (const ParametersType ¶meters) |
| virtual void | SetParametersByValue (const ParametersType &p) |
| virtual void | SetReferenceCount (int) |
| void | SetScale (const ScaleType &scale) |
| OutputCovariantVectorType | TransformCovariantVector (const InputCovariantVectorType &vector) const |
| Transform by a scale transformation *This method applies the scale transform given by self to a *given point or returning the transformed point or *vector *OutputPointType | TransformPoint (const InputPointType &point) const |
| OutputVnlVectorType | TransformVector (const InputVnlVectorType &vector) const |
| OutputVectorType | TransformVector (const InputVectorType &vector) const |
| virtual void | UnRegister () const |
Static Public Member Functions | |
| static void | BreakOnError () |
| static bool | GetGlobalWarningDisplay () |
| static void | GlobalWarningDisplayOff () |
| static void | GlobalWarningDisplayOn () |
| static Pointer | New () |
| This is a global flag that controls whether any warning *or error messages are displayed *static void | SetGlobalWarningDisplay (bool flag) |
Public Attributes | |
| Allow people to add remove invoke observers(callbacks) to any ITK *object.This is an implementation of the subject/observer design *pattern.An observer is added by specifying an event to respond to *and an itk unsigned lon | AddObserver )(const EventObject &event, Command *) const |
| This is a global flag that controls whether any | debug |
| Back transform by a scale transformation *This method finds the point or vector that maps to a given *point or vector under the scale transformation defined by *self If no such point | exists |
| Standard covariant vector type for this class *typedef CovariantVector< TScalarType, itkGetStaticConstMacro(SpaceDimension) | InputCovariantVectorType ) |
| Standard coordinate point type for this class *typedef Point< TScalarType, itkGetStaticConstMacro(SpaceDimension) | InputPointType ) |
| Standard vector type for this class *typedef Vector< TScalarType, itkGetStaticConstMacro(SpaceDimension) | InputVectorType ) |
| Standard vnl_vector type for this class *typedef vnl_vector_fixed< TScalarType, itkGetStaticConstMacro(SpaceDimension) | InputVnlVectorType ) |
| return | m_Jacobian |
| Compute the Jacobian of the transformation **This method computes the Jacobian matrix of the transformation *at a given input point The rank of the Jacobian will also indicate *if the transform is invertible at this point **The Jacobian is be expressed as a matrix of partial derivatives of the *output point components with respect to the parameters that defined *the | transform |
| Transform by a scale transformation *This method applies the scale transform given by self to a *given point or | vector |
Protected Member Functions | |
| bool | PrintObservers (std::ostream &os, Indent indent) const |
| void | PrintSelf (std::ostream &os, Indent indent) const |
| virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
| ScaleTransform () | |
| Transform (unsigned int Dimension, unsigned int NumberOfParameters) | |
| Transform () | |
| ~ScaleTransform () | |
Protected Attributes | |
| ParametersType | m_FixedParameters |
| JacobianType | m_Jacobian |
| ParametersType | m_Parameters |
| int | m_ReferenceCount |
| SimpleFastMutexLock | m_ReferenceCountLock |
| Methods invoked by virtual 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.*/virtual void PrintSelf(std voi | PrintHeader )(std::ostream &os, Indent indent) const |
|
|||||
|
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Reimplemented in itk::ScaleLogarithmicTransform< TScalarType, NDimensions >. Definition at line 49 of file itkScaleTransform.h. |
|
|||||
|
Jacobian type. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Reimplemented in itk::ScaleLogarithmicTransform< TScalarType, NDimensions >. Definition at line 69 of file itkScaleTransform.h. |
|
|||||
|
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Reimplemented in itk::ScaleLogarithmicTransform< TScalarType, NDimensions >. Definition at line 81 of file itkScaleTransform.h. |
|
|||||
|
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Reimplemented in itk::ScaleLogarithmicTransform< TScalarType, NDimensions >. Definition at line 91 of file itkScaleTransform.h. |
|
|||||
|
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Reimplemented in itk::ScaleLogarithmicTransform< TScalarType, NDimensions >. Definition at line 76 of file itkScaleTransform.h. |
|
|||||
|
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Reimplemented in itk::ScaleLogarithmicTransform< TScalarType, NDimensions >. Definition at line 86 of file itkScaleTransform.h. |
|
|||||
|
Parameters type. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Reimplemented in itk::ScaleLogarithmicTransform< TScalarType, NDimensions >. Definition at line 66 of file itkScaleTransform.h. |
|
|||||
|
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Reimplemented in itk::ScaleLogarithmicTransform< TScalarType, NDimensions >. Definition at line 48 of file itkScaleTransform.h. |
|
|||||
|
Scalar type. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Reimplemented in itk::ScaleLogarithmicTransform< TScalarType, NDimensions >. Definition at line 63 of file itkScaleTransform.h. |
|
|||||
|
Standard vector type for this class. Reimplemented in itk::ScaleLogarithmicTransform< TScalarType, NDimensions >. Definition at line 72 of file itkScaleTransform.h. |
|
|||||
|
Standard class typedefs. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Reimplemented in itk::ScaleLogarithmicTransform< TScalarType, NDimensions >. Definition at line 46 of file itkScaleTransform.h. |
|
|||||
|
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Reimplemented in itk::ScaleLogarithmicTransform< TScalarType, NDimensions >. Definition at line 47 of file itkScaleTransform.h. |
|
|||||||||
|
Construct an ScaleTransform object. |
|
|||||||||
|
Destroy an ScaleTransform object. |
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|
This method is called when itkExceptionMacro executes. It allows the debugger to break on error. |
|
||||||||||||||||
|
Compose with another ScaleTransform. |
|
|
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::LightObject. |
|
|
Turn debugging output off. |
|
|
Turn debugging output on. |
|
|
Delete an itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C delete method will not work with reference counting. |
|
|||||||||
|
|
|
|
Get the command associated with the given tag. NOTE: This returns a pointer to a Command, but it is safe to asign this to a Command::Pointer. Since Command inherits from LightObject, at this point in the code, only a pointer or a reference to the Command can be used. |
|
|
Get the value of the debug flag. |
|
|
Get the fixed parameters. Implements itk::TransformBase. Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::KernelTransform< TScalarType, NDimensions >. Definition at line 165 of file itkTransform.h. |
|
|
|
|
|
Get the size of the input space Implements itk::TransformBase. Definition at line 87 of file itkTransform.h. |
|
||||||||||
|
Find inverse of a scale transformation This method creates and returns a new ScaleTransform object which is the inverse of self. If self is not invertible, false is returned. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. |
|
||||||||||
|
Get the Jacobian matrix. Reimplemented in itk::ScaleLogarithmicTransform< TScalarType, NDimensions >. |
|
|
|
|
|
|
|
|
|||||||||
|
Run-time type information (and related methods). Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Reimplemented in itk::ScaleLogarithmicTransform< TScalarType, NDimensions >. |
|
|
Return the number of parameters that completely define the Transfom Implements itk::TransformBase. Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::TranslationTransform< TScalarType, NDimensions >. Definition at line 204 of file itkTransform.h. |
|
|
Get the size of the output space Implements itk::TransformBase. Definition at line 90 of file itkTransform.h. |
|
||||||||||
|
Get the parameters that uniquely define the transform This is typically used by optimizers during the process of image registration. The parameters are organized as {scale X, scale Y, scale Z } = { parameter[0], parameter[1], parameter[2] } respectively Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Reimplemented in itk::ScaleLogarithmicTransform< TScalarType, NDimensions >. |
|
|
Gets the reference count on this object. Definition at line 98 of file itkLightObject.h. |
|
|||||||||
|
Get access to scale values |
|
|
Generate a platform independant name Implements itk::TransformBase. |
|
|
Definition at line 100 of file itkObject.h. References itk::Object::SetGlobalWarningDisplay(). |
|
|
Definition at line 98 of file itkObject.h. References itk::Object::SetGlobalWarningDisplay(). |
|
|
Return true if an observer is registered for this event. |
|
|
Call Execute on all the Commands observing this event id. The actions triggered by this call doesn't modify this object. |
|
|
Call Execute on all the Commands observing this event id. |
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||||||
|
Reimplemented in itk::ScaleLogarithmicTransform< TScalarType, NDimensions >. |
|
||||||||||||||||||||
|
Reimplemented in itk::ScaleLogarithmicTransform< TScalarType, NDimensions >. |
|
|
|||||||||
|
New macro for creation of through a smart pointer. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Reimplemented in itk::ScaleLogarithmicTransform< TScalarType, NDimensions >. |
|
||||||||||||
|
Cause the object to print itself out. |
|
||||||||||||
|
|
|
||||||||||||||||
|
Print contents of an ScaleTransform Reimplemented from itk::Object. Reimplemented in itk::ScaleLogarithmicTransform< TScalarType, NDimensions >. |
|
||||||||||||
|
|
|
|
Increase the reference count (mark as used by another object). Reimplemented from itk::LightObject. |
|
|
Remove all observers . |
|
|
Remove the observer with this tag value. |
|
||||||||||||||||
|
Compose this transform transformation with another scaling. The pre argument is irrelevant here since scale transforms are commutative, pre and postcomposition are therefore equivalent. |
|
||||||||||
|
|
|
|
Set the value of the debug flag. A non-zero value turns debugging on. |
|
|
Set the fixed parameters and update internal transformation. Implements itk::TransformBase. Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::KernelTransform< TScalarType, NDimensions >. Definition at line 161 of file itkTransform.h. |
|
|
Referenced by itk::Object::GlobalWarningDisplayOff(), and itk::Object::GlobalWarningDisplayOn(). |
|
||||||||||
|
Set the transformation to an Identity This sets all the scales to 1.0 Definition at line 159 of file itkScaleTransform.h. |
|
|
|
|
||||||||||
|
Set parameters. This method sets the parameters for the transform value specified by the user. The parameters are organized as scale[i] = parameter[i]. That means that in 3D the scale parameters for the coordinates {x,y,z} are {parameter[0], parameter[1], parameter[2]} respectively Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Reimplemented in itk::ScaleLogarithmicTransform< TScalarType, NDimensions >. |
|
|
Set the transformation parameters and update internal transformation. This method forces the transform to copy the parameters. The default implementation is to call SetParameters. This call must be overridden if the transform normally implements SetParameters by keeping a reference to the parameters.
Implements itk::TransformBase. Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >. Definition at line 151 of file itkTransform.h. |
|
|
Sets the reference count (use with care) Reimplemented from itk::LightObject. |
|
||||||||||
|
Set the factors of an Scale Transform This method sets the factors of an ScaleTransform to a value specified by the user. This method cannot be done with SetMacro because itk::Array has not an operator== defined. The array of scales correspond in order to the factors to be applied to each one of the coordinaates. For example, in 3D, scale[0] corresponds to X, scale[1] corresponds to Y and scale[2] corresponds to Z. Definition at line 117 of file itkScaleTransform.h. |
|
||||||||||||
|
|
|
|
|
|
||||||||||
|
Method to transform a CovariantVector. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. |
|
||||||||||
|
Method to transform a point. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. |
|
||||||||||
|
Method to transform a vnl_vector. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. |
|
||||||||||
|
Method to transform a vector. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. |
|
|
Decrease the reference count (release by another object). Reimplemented from itk::LightObject. |
|
|
|
|
|
Definition at line 94 of file itkObject.h. |
|
|||||
|
Definition at line 142 of file itkScaleTransform.h. |
|
|||||
|
Standard covariant vector type for this class Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Reimplemented in itk::ScaleLogarithmicTransform< TScalarType, NDimensions >. Definition at line 80 of file itkScaleTransform.h. |
|
|||||
|
Standard coordinate point type for this class Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Reimplemented in itk::ScaleLogarithmicTransform< TScalarType, NDimensions >. Definition at line 90 of file itkScaleTransform.h. |
|
|||||
|
Standard vector type for this class. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Reimplemented in itk::ScaleLogarithmicTransform< TScalarType, NDimensions >. Definition at line 75 of file itkScaleTransform.h. |
|
|||||
|
Standard vnl_vector type for this class. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Reimplemented in itk::ScaleLogarithmicTransform< TScalarType, NDimensions >. Definition at line 85 of file itkScaleTransform.h. |
|
|
Definition at line 221 of file itkTransform.h. |
|
|
Reimplemented in itk::IdentityTransform< TScalarType, NDimensions >. Definition at line 222 of file itkTransform.h. |
|
|
Reimplemented in itk::IdentityTransform< TScalarType, NDimensions >. Definition at line 199 of file itkTransform.h. |
|
|
Definition at line 217 of file itkTransform.h. |
|
|
Number of uses of this object by other objects. Definition at line 119 of file itkLightObject.h. |
|
|
Mutex lock to protect modification to the reference count Definition at line 122 of file itkLightObject.h. |
|
|
|
|
|
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::IdentityTransform< TScalarType, NDimensions >. Definition at line 167 of file itkTransform.h. |
|
|||||
|
Definition at line 130 of file itkScaleTransform.h. |
1.4.2 written by Dimitri van Heesch,
© 1997-2000