template<typename TParametersValueType = float, unsigned int NDimensions = 3>
class itk::ScaleTransform< TParametersValueType, NDimensions >
Scale transformation of a vector space (e.g. space coordinates)
The same functionality could be obtained by using the Affine transform, but with a large difference in performace since the affine transform will use a matrix multiplication using a diagonal matrix.
- Wiki Examples:
-
- Examples:
- SphinxExamples/src/Core/Transform/CopyACompositeTransform/Code.cxx, SphinxExamples/src/Filtering/ImageGrid/ResampleAnImage/Code.cxx, and WikiExamples/ImageProcessing/ScaleTransform.cxx.
Definition at line 42 of file itkScaleTransform.h.
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef Superclass::FixedParametersType | FixedParametersType |
|
typedef CovariantVector< TParametersValueType, NDimensions > | InputCovariantVectorType |
|
typedef Point< TParametersValueType, NDimensions > | InputPointType |
|
typedef Vector< TParametersValueType, NDimensions > | InputVectorType |
|
typedef vnl_vector_fixed< TParametersValueType, NDimensions > | InputVnlVectorType |
|
typedef InverseTransformBaseType::Pointer | InverseTransformBasePointer |
|
typedef Superclass::InverseTransformBaseType | InverseTransformBaseType |
|
typedef Superclass::JacobianType | JacobianType |
|
typedef Superclass::MatrixType | MatrixType |
|
typedef CovariantVector< TParametersValueType, NDimensions > | OutputCovariantVectorType |
|
typedef Point< TParametersValueType, NDimensions > | OutputPointType |
|
typedef Vector< TParametersValueType, NDimensions > | OutputVectorType |
|
typedef vnl_vector_fixed< TParametersValueType, NDimensions > | OutputVnlVectorType |
|
typedef Superclass::ParametersType | ParametersType |
|
typedef SmartPointer< Self > | Pointer |
|
typedef Superclass::ScalarType | ScalarType |
|
typedef FixedArray< TParametersValueType, NDimensions > | ScaleType |
|
typedef ScaleTransform | Self |
|
typedef MatrixOffsetTransformBase< TParametersValueType, NDimensions, NDimensions > | Superclass |
|
typedef InputPointType | CenterType |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef Superclass::FixedParametersType | FixedParametersType |
|
typedef Superclass::FixedParametersValueType | FixedParametersValueType |
|
typedef Superclass::InputDiffusionTensor3DType | InputDiffusionTensor3DType |
|
typedef Superclass::InputSymmetricSecondRankTensorType | InputSymmetricSecondRankTensorType |
|
typedef CovariantVector< TParametersValueType, InputDiffusionTensor3DType::Dimension > | InputTensorEigenVectorType |
|
typedef Superclass::InputVectorPixelType | InputVectorPixelType |
|
typedef Matrix< TParametersValueType, itkGetStaticConstMacro(InputSpaceDimension), itkGetStaticConstMacro(OutputSpaceDimension)> | InverseMatrixType |
|
typedef InverseTransformBaseType::Pointer | InverseTransformBasePointer |
|
typedef Superclass::InverseTransformBaseType | InverseTransformBaseType |
|
typedef Superclass::JacobianType | JacobianType |
|
typedef OutputVectorType | OffsetType |
|
typedef OffsetType::ValueType | OffsetValueType |
|
typedef Superclass::OutputDiffusionTensor3DType | OutputDiffusionTensor3DType |
|
typedef Superclass::OutputSymmetricSecondRankTensorType | OutputSymmetricSecondRankTensorType |
|
typedef Superclass::OutputVectorPixelType | OutputVectorPixelType |
|
typedef Superclass::ParametersType | ParametersType |
|
typedef Superclass::ParametersValueType | ParametersValueType |
|
typedef SmartPointer< Self > | Pointer |
|
typedef Superclass::ScalarType | ScalarType |
|
typedef MatrixOffsetTransformBase | Self |
|
typedef Transform< TParametersValueType, NInputDimensions, NOutputDimensions > | Superclass |
|
typedef Superclass::TransformCategoryType | TransformCategoryType |
|
typedef OutputVectorType | TranslationType |
|
typedef TranslationType::ValueType | TranslationValueType |
|
typedef Vector< TParametersValueType, itkGetStaticConstMacro(InputSpaceDimension)> | InputVectorType |
|
typedef Vector< TParametersValueType, itkGetStaticConstMacro(OutputSpaceDimension)> | OutputVectorType |
|
typedef OutputVectorType::ValueType | OutputVectorValueType |
|
typedef CovariantVector< TParametersValueType, itkGetStaticConstMacro(InputSpaceDimension)> | InputCovariantVectorType |
|
typedef CovariantVector< TParametersValueType, itkGetStaticConstMacro(OutputSpaceDimension)> | OutputCovariantVectorType |
|
typedef vnl_vector_fixed< TParametersValueType, itkGetStaticConstMacro(InputSpaceDimension)> | InputVnlVectorType |
|
typedef vnl_vector_fixed< TParametersValueType, itkGetStaticConstMacro(OutputSpaceDimension)> | OutputVnlVectorType |
|
typedef Point< TParametersValueType, itkGetStaticConstMacro(InputSpaceDimension)> | InputPointType |
|
typedef InputPointType::ValueType | InputPointValueType |
|
typedef Point< TParametersValueType, itkGetStaticConstMacro(OutputSpaceDimension)> | OutputPointType |
|
typedef OutputPointType::ValueType | OutputPointValueType |
|
typedef Matrix< TParametersValueType, itkGetStaticConstMacro(OutputSpaceDimension), itkGetStaticConstMacro(InputSpaceDimension)> | MatrixType |
|
typedef MatrixType::ValueType | MatrixValueType |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef Array< ParametersValueType > | DerivativeType |
|
typedef Matrix< double, itkGetStaticConstMacro(OutputSpaceDimension), itkGetStaticConstMacro(InputSpaceDimension)> | DirectionChangeMatrix |
|
typedef Superclass::FixedParametersType | FixedParametersType |
|
typedef Superclass::FixedParametersValueType | FixedParametersValueType |
|
typedef CovariantVector< TParametersValueType, NInputDimensions > | InputCovariantVectorType |
|
typedef DiffusionTensor3D< TParametersValueType > | InputDiffusionTensor3DType |
|
typedef Matrix< double, itkGetStaticConstMacro(InputSpaceDimension), itkGetStaticConstMacro(InputSpaceDimension)> | InputDirectionMatrix |
|
typedef Point< TParametersValueType, NInputDimensions > | InputPointType |
|
typedef SymmetricSecondRankTensor< TParametersValueType, NInputDimensions > | InputSymmetricSecondRankTensorType |
|
typedef VariableLengthVector< TParametersValueType > | InputVectorPixelType |
|
typedef Vector< TParametersValueType, NInputDimensions > | InputVectorType |
|
typedef vnl_vector_fixed< TParametersValueType, NInputDimensions > | InputVnlVectorType |
|
typedef InverseTransformBaseType::Pointer | InverseTransformBasePointer |
|
typedef Transform< TParametersValueType, NOutputDimensions, NInputDimensions > | InverseTransformBaseType |
|
typedef Array2D< ParametersValueType > | JacobianType |
|
typedef Matrix< TParametersValueType, itkGetStaticConstMacro(OutputSpaceDimension), itkGetStaticConstMacro(InputSpaceDimension)> | MatrixType |
|
typedef Superclass::NumberOfParametersType | NumberOfParametersType |
|
typedef CovariantVector< TParametersValueType, NOutputDimensions > | OutputCovariantVectorType |
|
typedef DiffusionTensor3D< TParametersValueType > | OutputDiffusionTensor3DType |
|
typedef Matrix< double, itkGetStaticConstMacro(OutputSpaceDimension), itkGetStaticConstMacro(OutputSpaceDimension)> | OutputDirectionMatrix |
|
typedef Point< TParametersValueType, NOutputDimensions > | OutputPointType |
|
typedef SymmetricSecondRankTensor< TParametersValueType, NOutputDimensions > | OutputSymmetricSecondRankTensorType |
|
typedef VariableLengthVector< TParametersValueType > | OutputVectorPixelType |
|
typedef Vector< TParametersValueType, NOutputDimensions > | OutputVectorType |
|
typedef vnl_vector_fixed< TParametersValueType, NOutputDimensions > | OutputVnlVectorType |
|
typedef Superclass::ParametersType | ParametersType |
|
typedef Superclass::ParametersValueType | ParametersValueType |
|
typedef SmartPointer< Self > | Pointer |
|
typedef ParametersValueType | ScalarType |
|
typedef Transform | Self |
|
typedef TransformBaseTemplate< TParametersValueType > | Superclass |
|
typedef Superclass::TransformCategoryType | TransformCategoryType |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef OptimizerParameters< FixedParametersValueType > | FixedParametersType |
|
typedef double | FixedParametersValueType |
|
typedef IdentifierType | NumberOfParametersType |
|
typedef OptimizerParameters< ParametersValueType > | ParametersType |
|
typedef TParametersValueType | ParametersValueType |
|
typedef SmartPointer< Self > | Pointer |
|
typedef TransformBaseTemplate | Self |
|
typedef Object | Superclass |
|
enum | TransformCategoryType {
UnknownTransformCategory =0,
Linear =1,
BSpline =2,
Spline =3,
DisplacementField =4,
VelocityField =5
} |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef SmartPointer< Self > | Pointer |
|
typedef Object | Self |
|
typedef LightObject | Superclass |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef SmartPointer< Self > | Pointer |
|
typedef LightObject | Self |
|
|
InputPointType | BackTransform (const OutputPointType &point) const |
|
InputVectorType | BackTransform (const OutputVectorType &vector) const |
|
InputVnlVectorType | BackTransform (const OutputVnlVectorType &vector) const |
|
InputCovariantVectorType | BackTransform (const OutputCovariantVectorType &vector) const |
|
void | Compose (const Self *other, bool pre=false) |
|
virtual void | ComputeJacobianWithRespectToParameters (const InputPointType &point, JacobianType &j) const override |
|
virtual void | ComputeJacobianWithRespectToPosition (const InputPointType &x, JacobianType &jac) const override |
|
virtual void | ComputeMatrix (void) override |
|
virtual ::itk::LightObject::Pointer | CreateAnother () const |
|
bool | GetInverse (Self *inverse) const |
|
virtual InverseTransformBasePointer | GetInverseTransform () const override |
|
virtual const char * | GetNameOfClass () const |
|
virtual const ParametersType & | GetParameters () const override |
|
virtual const ScaleType & | GetScale () const |
|
void | Scale (const ScaleType &scale, bool pre=false) |
|
void | SetIdentity () override |
|
virtual void | SetParameters (const ParametersType ¶meters) override |
|
void | SetScale (const ScaleType &scale) |
|
OutputCovariantVectorType | TransformCovariantVector (const InputCovariantVectorType &vector) const override |
|
OutputPointType | TransformPoint (const InputPointType &point) const override |
|
OutputVectorType | TransformVector (const InputVectorType &vector) const override |
|
OutputVnlVectorType | TransformVector (const InputVnlVectorType &vector) const override |
|
void | Compose (const Self *other, bool pre=0) |
|
virtual void | ComputeInverseJacobianWithRespectToPosition (const InputPointType &x, JacobianType &jac) const override |
|
virtual void | ComputeJacobianWithRespectToParameters (const InputPointType &x, JacobianType &j) const override |
|
virtual void | ComputeJacobianWithRespectToPosition (const InputPointType &x, JacobianType &jac) const override |
|
virtual ::itk::LightObject::Pointer | CreateAnother () const |
|
const InputPointType & | GetCenter () const |
|
virtual const FixedParametersType & | GetFixedParameters () const override |
|
virtual const MatrixType & | GetMatrix () const |
|
const OutputVectorType & | GetOffset () const |
|
const ParametersType & | GetParameters () const override |
|
virtual TransformCategoryType | GetTransformCategory () const override |
|
const OutputVectorType & | GetTranslation () const |
|
virtual bool | IsLinear () const override |
|
virtual void | SetFixedParameters (const FixedParametersType &) override |
|
void | SetParameters (const ParametersType ¶meters) override |
|
OutputCovariantVectorType | TransformCovariantVector (const InputCovariantVectorType &vector) const override |
|
OutputVectorPixelType | TransformCovariantVector (const InputVectorPixelType &vector) const override |
|
OutputDiffusionTensor3DType | TransformDiffusionTensor3D (const InputDiffusionTensor3DType &tensor) const override |
|
OutputVectorPixelType | TransformDiffusionTensor3D (const InputVectorPixelType &tensor) const override |
|
OutputPointType | TransformPoint (const InputPointType &point) const override |
|
OutputSymmetricSecondRankTensorType | TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &tensor) const override |
|
OutputVectorPixelType | TransformSymmetricSecondRankTensor (const InputVectorPixelType &tensor) const override |
|
OutputVectorType | TransformVector (const InputVectorType &vector) const override |
|
OutputVnlVectorType | TransformVector (const InputVnlVectorType &vector) const override |
|
OutputVectorPixelType | TransformVector (const InputVectorPixelType &vector) const override |
|
virtual void | SetMatrix (const MatrixType &matrix) |
|
void | SetOffset (const OutputVectorType &offset) |
|
void | SetCenter (const InputPointType ¢er) |
|
void | SetTranslation (const OutputVectorType &translation) |
|
bool | GetInverse (Self *inverse) const |
|
virtual void | ComputeJacobianWithRespectToParametersCachedTemporaries (const InputPointType &p, JacobianType &jacobian, JacobianType &) const |
|
virtual void | CopyInFixedParameters (const FixedParametersValueType *const begin, const FixedParametersValueType *const end) override |
|
virtual void | CopyInParameters (const ParametersValueType *const begin, const ParametersValueType *const end) override |
|
unsigned int | GetInputSpaceDimension (void) const override |
|
bool | GetInverse (Self *) const |
|
virtual NumberOfParametersType | GetNumberOfFixedParameters () const |
|
virtual NumberOfParametersType | GetNumberOfLocalParameters (void) const |
|
virtual NumberOfParametersType | GetNumberOfParameters (void) const override |
|
unsigned int | GetOutputSpaceDimension (void) const override |
|
virtual std::string | GetTransformTypeAsString () const override |
|
| itkCloneMacro (Self) |
|
virtual void | SetParametersByValue (const ParametersType &p) override |
|
virtual OutputCovariantVectorType | TransformCovariantVector (const InputCovariantVectorType &vector, const InputPointType &point) const |
|
virtual OutputVectorPixelType | TransformCovariantVector (const InputVectorPixelType &vector, const InputPointType &point) const |
|
virtual OutputDiffusionTensor3DType | TransformDiffusionTensor3D (const InputDiffusionTensor3DType &tensor, const InputPointType &point) const |
|
virtual OutputVectorPixelType | TransformDiffusionTensor3D (const InputVectorPixelType &tensor, const InputPointType &point) const |
|
virtual OutputSymmetricSecondRankTensorType | TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &tensor, const InputPointType &point) const |
|
virtual OutputVectorPixelType | TransformSymmetricSecondRankTensor (const InputVectorPixelType &tensor, const InputPointType &point) const |
|
virtual OutputVectorType | TransformVector (const InputVectorType &vector, const InputPointType &point) const |
|
virtual OutputVnlVectorType | TransformVector (const InputVnlVectorType &vector, const InputPointType &point) const |
|
virtual OutputVectorPixelType | TransformVector (const InputVectorPixelType &vector, const InputPointType &point) const |
|
virtual void | UpdateTransformParameters (const DerivativeType &update, ParametersValueType factor=1.0) |
|
virtual void | CopyInFixedParameters (const FixedParametersValueType *const begin, const FixedParametersValueType *const end)=0 |
|
virtual void | CopyInParameters (const ParametersValueType *const begin, const ParametersValueType *const end)=0 |
|
virtual void | SetFixedParameters (const FixedParametersType &)=0 |
|
unsigned long | AddObserver (const EventObject &event, Command *) |
|
unsigned long | AddObserver (const EventObject &event, Command *) const |
|
virtual void | DebugOff () const |
|
virtual void | DebugOn () const |
|
Command * | GetCommand (unsigned long tag) |
|
bool | GetDebug () const |
|
MetaDataDictionary & | GetMetaDataDictionary () |
|
const MetaDataDictionary & | GetMetaDataDictionary () const |
|
virtual ModifiedTimeType | GetMTime () const |
|
virtual const TimeStamp & | GetTimeStamp () 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 noexcept override |
|
virtual void | SetObjectName (std::string _arg) |
|
virtual const std::string & | GetObjectName () const |
|
virtual void | Delete () |
|
virtual int | GetReferenceCount () const |
|
| itkCloneMacro (Self) |
|
void | Print (std::ostream &os, Indent indent=0) const |
|