![]() |
OTB
10.0.0
Orfeo Toolbox
|
#include <otbLeastSquareBilinearTransformEstimator.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::CovariantVector< PrecisionType, PointDimension > | CovariantVectorType |
typedef itk::Matrix< PrecisionType, 4, 4 > | MatrixType |
typedef itk::Matrix< PrecisionType, 1, 4 > | MatrixVecTransposeType |
typedef itk::Matrix< PrecisionType, 4, 1 > | MatrixVecType |
typedef itk::SmartPointer< Self > | Pointer |
typedef TPoint | PointType |
typedef PointType::CoordRepType | PrecisionType |
typedef LeastSquareBilinearTransformEstimator | Self |
typedef itk::Object | Superclass |
typedef std::vector< TiePointsType > | TiePointsContainerType |
typedef std::pair< PointType, PrecisionType > | TiePointsType |
typedef itk::Vector< PrecisionType, 4 > | VectorType |
Public Member Functions | |
void | AddTiePoints (const PointType &src, const PrecisionType &dst) |
void | ClearTiePoints () |
void | Compute () |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const MatrixType & | GetMatrix () const |
virtual const char * | GetNameOfClass () const |
virtual const VectorType & | GetOffset () const |
virtual const CovariantVectorType & | GetRelativeResidual () const |
virtual const CovariantVectorType & | GetRMSError () const |
TiePointsContainerType & | GetTiePointsContainer () |
LeastSquareBilinearTransformEstimator () | |
void | lsFitValue (const PointType &point, PrecisionType &dst) const |
void | SetTiePointsContainer (const TiePointsContainerType &container) |
~LeastSquareBilinearTransformEstimator ()=default | |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | PointDimension = TPoint::PointDimension |
Protected Member Functions | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
Private Member Functions | |
LeastSquareBilinearTransformEstimator (const Self &)=delete | |
void | operator= (const Self &)=delete |
Private Attributes | |
vnl_matrix_fixed< double, 4, 4 > | Ata |
vnl_matrix_fixed< double, 4, 1 > | Atb |
double | bl_a |
double | bl_b |
double | bl_c |
double | bl_d |
MatrixType | m_Matrix |
VectorType | m_Offset |
CovariantVectorType | m_RelativeResidual |
CovariantVectorType | m_RMSError |
TiePointsContainerType | m_TiePointsContainer |
This class provide the 2D Bilinear transform LSQR estimation.
z(x,y) = a + b*x + c*y + d*x*y
Definition at line 41 of file otbLeastSquareBilinearTransformEstimator.h.
typedef itk::SmartPointer<const Self> otb::LeastSquareBilinearTransformEstimator< TPoint >::ConstPointer |
Definition at line 48 of file otbLeastSquareBilinearTransformEstimator.h.
typedef itk::CovariantVector<PrecisionType, PointDimension> otb::LeastSquareBilinearTransformEstimator< TPoint >::CovariantVectorType |
Definition at line 62 of file otbLeastSquareBilinearTransformEstimator.h.
typedef itk::Matrix<PrecisionType, 4, 4> otb::LeastSquareBilinearTransformEstimator< TPoint >::MatrixType |
Affine transform components typedefs
Definition at line 67 of file otbLeastSquareBilinearTransformEstimator.h.
typedef itk::Matrix<PrecisionType, 1, 4> otb::LeastSquareBilinearTransformEstimator< TPoint >::MatrixVecTransposeType |
Definition at line 69 of file otbLeastSquareBilinearTransformEstimator.h.
typedef itk::Matrix<PrecisionType, 4, 1> otb::LeastSquareBilinearTransformEstimator< TPoint >::MatrixVecType |
Definition at line 68 of file otbLeastSquareBilinearTransformEstimator.h.
typedef itk::SmartPointer<Self> otb::LeastSquareBilinearTransformEstimator< TPoint >::Pointer |
Definition at line 47 of file otbLeastSquareBilinearTransformEstimator.h.
typedef TPoint otb::LeastSquareBilinearTransformEstimator< TPoint >::PointType |
Points typedefs
Definition at line 60 of file otbLeastSquareBilinearTransformEstimator.h.
typedef PointType::CoordRepType otb::LeastSquareBilinearTransformEstimator< TPoint >::PrecisionType |
Definition at line 61 of file otbLeastSquareBilinearTransformEstimator.h.
typedef LeastSquareBilinearTransformEstimator otb::LeastSquareBilinearTransformEstimator< TPoint >::Self |
Standard class typedefs.
Definition at line 45 of file otbLeastSquareBilinearTransformEstimator.h.
typedef itk::Object otb::LeastSquareBilinearTransformEstimator< TPoint >::Superclass |
Definition at line 46 of file otbLeastSquareBilinearTransformEstimator.h.
typedef std::vector<TiePointsType> otb::LeastSquareBilinearTransformEstimator< TPoint >::TiePointsContainerType |
Definition at line 64 of file otbLeastSquareBilinearTransformEstimator.h.
typedef std::pair<PointType, PrecisionType> otb::LeastSquareBilinearTransformEstimator< TPoint >::TiePointsType |
Definition at line 63 of file otbLeastSquareBilinearTransformEstimator.h.
typedef itk::Vector<PrecisionType, 4> otb::LeastSquareBilinearTransformEstimator< TPoint >::VectorType |
Definition at line 70 of file otbLeastSquareBilinearTransformEstimator.h.
otb::LeastSquareBilinearTransformEstimator< TPoint >::LeastSquareBilinearTransformEstimator |
Constructor
Definition at line 37 of file otbLeastSquareBilinearTransformEstimator.hxx.
References otb::LeastSquareBilinearTransformEstimator< TPoint >::Ata, and otb::LeastSquareBilinearTransformEstimator< TPoint >::Atb.
|
default |
Destructor
|
privatedelete |
void otb::LeastSquareBilinearTransformEstimator< TPoint >::AddTiePoints | ( | const PointType & | src, |
const PrecisionType & | dst | ||
) |
Add a pair of tie points
Definition at line 52 of file otbLeastSquareBilinearTransformEstimator.hxx.
void otb::LeastSquareBilinearTransformEstimator< TPoint >::ClearTiePoints |
Clear all tie points
Definition at line 45 of file otbLeastSquareBilinearTransformEstimator.hxx.
void otb::LeastSquareBilinearTransformEstimator< TPoint >::Compute |
The Compute method does the affine least square estimation
Definition at line 68 of file otbLeastSquareBilinearTransformEstimator.hxx.
virtual::itk::LightObject::Pointer otb::LeastSquareBilinearTransformEstimator< TPoint >::CreateAnother | ( | void | ) | const |
|
virtual |
Get the bilinear transform matrix
|
virtual |
Run-time type information (and related methods).
|
virtual |
Get the bilinear transform offset
|
virtual |
Get the relative residual
|
virtual |
Get the RMS error
TiePointsContainerType& otb::LeastSquareBilinearTransformEstimator< TPoint >::GetTiePointsContainer | ( | ) |
Get the GCPsContainer
void otb::LeastSquareBilinearTransformEstimator< TPoint >::lsFitValue | ( | const PointType & | point, |
PrecisionType & | dst | ||
) | const |
interpolate LS-fit value at location (xx,yy) - returns z(xx,yy).
xx | "x" coordinate at which to interpolate. |
yy | "y" coordinate at which to interpolate. |
Definition at line 90 of file otbLeastSquareBilinearTransformEstimator.hxx.
|
static |
Method for creation through the object factory.
|
privatedelete |
|
overrideprotected |
The PrintSelf method
Definition at line 96 of file otbLeastSquareBilinearTransformEstimator.hxx.
void otb::LeastSquareBilinearTransformEstimator< TPoint >::SetTiePointsContainer | ( | const TiePointsContainerType & | container | ) |
Set the GCP container
|
private |
Definition at line 144 of file otbLeastSquareBilinearTransformEstimator.h.
Referenced by otb::LeastSquareBilinearTransformEstimator< TPoint >::LeastSquareBilinearTransformEstimator().
|
private |
Definition at line 146 of file otbLeastSquareBilinearTransformEstimator.h.
Referenced by otb::LeastSquareBilinearTransformEstimator< TPoint >::LeastSquareBilinearTransformEstimator().
|
private |
Definition at line 141 of file otbLeastSquareBilinearTransformEstimator.h.
|
private |
Definition at line 141 of file otbLeastSquareBilinearTransformEstimator.h.
|
private |
Definition at line 141 of file otbLeastSquareBilinearTransformEstimator.h.
|
private |
Definition at line 141 of file otbLeastSquareBilinearTransformEstimator.h.
|
private |
Affine transform matrix
Definition at line 133 of file otbLeastSquareBilinearTransformEstimator.h.
|
private |
Affine transform offset
Definition at line 136 of file otbLeastSquareBilinearTransformEstimator.h.
|
private |
Relative residual
Definition at line 130 of file otbLeastSquareBilinearTransformEstimator.h.
|
private |
RMS error
Definition at line 127 of file otbLeastSquareBilinearTransformEstimator.h.
|
private |
Container of GCPs
Definition at line 124 of file otbLeastSquareBilinearTransformEstimator.h.
|
static |
Extract dimension from input and output image.
Definition at line 57 of file otbLeastSquareBilinearTransformEstimator.h.