OTB  9.0.0
Orfeo Toolbox
List of all members
otb::SensorTransformBase< TScalarType, NInputDimensions, NOutputDimensions > Class Template Referenceabstract

#include <otbSensorTransformBase.h>

+ Inheritance diagram for otb::SensorTransformBase< TScalarType, NInputDimensions, NOutputDimensions >:
+ Collaboration diagram for otb::SensorTransformBase< TScalarType, NInputDimensions, NOutputDimensions >:

Standard class type definitions

using Self = SensorTransformBase
 
using Superclass = Transform< TScalarType, NInputDimensions, NOutputDimensions >
 
using Pointer = itk::SmartPointer< Self >
 
using ConstPointer = itk::SmartPointer< const Self >
 
using InputPointType = itk::Point< TScalarType, NInputDimensions >
 
using OutputPointType = itk::Point< TScalarType, NOutputDimensions >
 
using TiePointsType = std::vector< std::pair< InputPointType, OutputPointType > >
 
using PixelType = TScalarType
 
static const unsigned int InputSpaceDimension = NInputDimensions
 
static const unsigned int OutputSpaceDimension = NOutputDimensions
 
TransformDirection m_direction
 
virtual const char * GetNameOfClass () const
 
virtual bool SetMetadata (const ImageMetadata &imd)=0
 
virtual bool IsValidSensorModel () const =0
 
virtual void OptimizeParameters (ImageMetadata &imd, const TiePointsType &tiepoints, double &rmsError)=0
 
TransformDirection getDirection () const
 
 SensorTransformBase (TransformDirection dir)
 
 ~SensorTransformBase ()=default
 
 SensorTransformBase (const Self &)=delete
 
void operator= (const Self &)=delete
 

Additional Inherited Members

- Public Types inherited from otb::Transform< TScalarType, 2, 3 >
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef Transform Self
 
typedef itk::Transform< TScalarType, NInputDimensions, NOutputDimensions > Superclass
 
enum  TransformDirection
 
typedef TScalarType ScalarType
 
typedef Superclass::ParametersType ParametersType
 
typedef Superclass::ParametersValueType ParametersValueType
 
typedef Superclass::NumberOfParametersType NumberOfParametersType
 
typedef itk::Array2D< double > JacobianType
 
typedef itk::Vector< TScalarType, NInputDimensions > InputVectorType
 
typedef itk::Vector< TScalarType, NOutputDimensions > OutputVectorType
 
typedef itk::CovariantVector< TScalarType, NInputDimensions > InputCovariantVectorType
 
typedef itk::CovariantVector< TScalarType, NOutputDimensions > OutputCovariantVectorType
 
typedef vnl_vector_fixed< TScalarType, NInputDimensions > InputVnlVectorType
 
typedef vnl_vector_fixed< TScalarType, NOutputDimensions > OutputVnlVectorType
 
typedef itk::Point< TScalarType, NInputDimensions > InputPointType
 
typedef itk::Point< TScalarType, NOutputDimensions > OutputPointType
 
typedef Superclass::InverseTransformBaseType InverseTransformBaseType
 
typedef Superclass::InverseTransformBasePointer InverseTransformBasePointer
 
- Public Member Functions inherited from otb::Transform< TScalarType, 2, 3 >
virtual const char * GetNameOfClass () const
 
unsigned int GetInputSpaceDimension (void) const override
 
unsigned int GetOutputSpaceDimension (void) const override
 
OutputPointType TransformPoint (const InputPointType &) const override
 
OutputVectorType TransformVector (const InputVectorType &) const override
 
OutputVnlVectorType TransformVector (const InputVnlVectorType &) const override
 
OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &) const override
 
void SetParameters (const ParametersType &) override
 
void ComputeJacobianWithRespectToParameters (const InputPointType &, JacobianType &) const override
 
void SetParametersByValue (const ParametersType &p) override
 
const ParametersTypeGetParameters (void) const override
 
void SetFixedParameters (const ParametersType &) override
 
const ParametersTypeGetFixedParameters (void) const override
 
virtual const JacobianTypeGetJacobian (const InputPointType &) const
 
NumberOfParametersType GetNumberOfParameters (void) const override
 
- Static Public Attributes inherited from otb::Transform< TScalarType, 2, 3 >
static const unsigned int InputSpaceDimension
 
static const unsigned int OutputSpaceDimension
 
- Protected Member Functions inherited from otb::Transform< TScalarType, 2, 3 >
 Transform ()
 
 Transform (NumberOfParametersType numberOfParameters)
 
 ~Transform () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
- Protected Attributes inherited from otb::Transform< TScalarType, 2, 3 >
ParametersType m_Parameters
 
ParametersType m_FixedParameters
 
JacobianType m_Jacobian
 

Detailed Description

template<class TScalarType, unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 3>
class otb::SensorTransformBase< TScalarType, NInputDimensions, NOutputDimensions >

Base class for the sensor model projection classes.

This is the base class for sensor model projection classes. Those classes allow:

Definition at line 48 of file otbSensorTransformBase.h.

Member Typedef Documentation

◆ ConstPointer

template<class TScalarType , unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 3>
using otb::SensorTransformBase< TScalarType, NInputDimensions, NOutputDimensions >::ConstPointer = itk::SmartPointer<const Self>

Run-time type information (and related methods).

Definition at line 57 of file otbSensorTransformBase.h.

◆ InputPointType

template<class TScalarType , unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 3>
using otb::SensorTransformBase< TScalarType, NInputDimensions, NOutputDimensions >::InputPointType = itk::Point<TScalarType, NInputDimensions>

Run-time type information (and related methods).

Definition at line 59 of file otbSensorTransformBase.h.

◆ OutputPointType

template<class TScalarType , unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 3>
using otb::SensorTransformBase< TScalarType, NInputDimensions, NOutputDimensions >::OutputPointType = itk::Point<TScalarType, NOutputDimensions>

Run-time type information (and related methods).

Definition at line 60 of file otbSensorTransformBase.h.

◆ PixelType

template<class TScalarType , unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 3>
using otb::SensorTransformBase< TScalarType, NInputDimensions, NOutputDimensions >::PixelType = TScalarType

Run-time type information (and related methods).

Definition at line 62 of file otbSensorTransformBase.h.

◆ Pointer

template<class TScalarType , unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 3>
using otb::SensorTransformBase< TScalarType, NInputDimensions, NOutputDimensions >::Pointer = itk::SmartPointer<Self>

Run-time type information (and related methods).

Definition at line 56 of file otbSensorTransformBase.h.

◆ Self

template<class TScalarType , unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 3>
using otb::SensorTransformBase< TScalarType, NInputDimensions, NOutputDimensions >::Self = SensorTransformBase

Run-time type information (and related methods).

Definition at line 54 of file otbSensorTransformBase.h.

◆ Superclass

template<class TScalarType , unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 3>
using otb::SensorTransformBase< TScalarType, NInputDimensions, NOutputDimensions >::Superclass = Transform<TScalarType, NInputDimensions, NOutputDimensions>

Run-time type information (and related methods).

Definition at line 55 of file otbSensorTransformBase.h.

◆ TiePointsType

template<class TScalarType , unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 3>
using otb::SensorTransformBase< TScalarType, NInputDimensions, NOutputDimensions >::TiePointsType = std::vector<std::pair<InputPointType,OutputPointType> >

Run-time type information (and related methods).

Definition at line 61 of file otbSensorTransformBase.h.

Constructor & Destructor Documentation

◆ SensorTransformBase() [1/2]

template<class TScalarType , unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 3>
otb::SensorTransformBase< TScalarType, NInputDimensions, NOutputDimensions >::SensorTransformBase ( TransformDirection  dir)
inlineprotected

Run-time type information (and related methods).

Definition at line 87 of file otbSensorTransformBase.h.

◆ ~SensorTransformBase()

template<class TScalarType , unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 3>
otb::SensorTransformBase< TScalarType, NInputDimensions, NOutputDimensions >::~SensorTransformBase ( )
protecteddefault

Run-time type information (and related methods).

◆ SensorTransformBase() [2/2]

template<class TScalarType , unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 3>
otb::SensorTransformBase< TScalarType, NInputDimensions, NOutputDimensions >::SensorTransformBase ( const Self )
privatedelete

Run-time type information (and related methods).

Member Function Documentation

◆ getDirection()

template<class TScalarType , unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 3>
TransformDirection otb::SensorTransformBase< TScalarType, NInputDimensions, NOutputDimensions >::getDirection ( ) const
inline

Run-time type information (and related methods).

Definition at line 82 of file otbSensorTransformBase.h.

Referenced by otb::SensorTransformFactory::CreateTransform().

◆ GetNameOfClass()

template<class TScalarType , unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 3>
virtual const char* otb::SensorTransformBase< TScalarType, NInputDimensions, NOutputDimensions >::GetNameOfClass ( ) const
virtual

◆ IsValidSensorModel()

template<class TScalarType , unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 3>
virtual bool otb::SensorTransformBase< TScalarType, NInputDimensions, NOutputDimensions >::IsValidSensorModel ( ) const
pure virtual

Check model validity

Referenced by otb::SensorTransformFactory::CreateTransform().

◆ operator=()

template<class TScalarType , unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 3>
void otb::SensorTransformBase< TScalarType, NInputDimensions, NOutputDimensions >::operator= ( const Self )
privatedelete

Run-time type information (and related methods).

◆ OptimizeParameters()

template<class TScalarType , unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 3>
virtual void otb::SensorTransformBase< TScalarType, NInputDimensions, NOutputDimensions >::OptimizeParameters ( ImageMetadata imd,
const TiePointsType tiepoints,
double &  rmsError 
)
pure virtual

◆ SetMetadata()

template<class TScalarType , unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 3>
virtual bool otb::SensorTransformBase< TScalarType, NInputDimensions, NOutputDimensions >::SetMetadata ( const ImageMetadata imd)
pure virtual

Member Data Documentation

◆ InputSpaceDimension

template<class TScalarType , unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 3>
const unsigned int otb::SensorTransformBase< TScalarType, NInputDimensions, NOutputDimensions >::InputSpaceDimension = NInputDimensions
static

Run-time type information (and related methods).

Definition at line 68 of file otbSensorTransformBase.h.

◆ m_direction

template<class TScalarType , unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 3>
TransformDirection otb::SensorTransformBase< TScalarType, NInputDimensions, NOutputDimensions >::m_direction
protected

Run-time type information (and related methods).

Definition at line 90 of file otbSensorTransformBase.h.

◆ OutputSpaceDimension

template<class TScalarType , unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 3>
const unsigned int otb::SensorTransformBase< TScalarType, NInputDimensions, NOutputDimensions >::OutputSpaceDimension = NOutputDimensions
static

Run-time type information (and related methods).

Definition at line 69 of file otbSensorTransformBase.h.


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