OTB  9.0.0
Orfeo Toolbox
Typedefs | Functions
otb::RPCSolver Namespace Reference

Typedefs

using GCPsContainerType = std::vector< GCPType >
 
using GCPType = std::pair< Point2DType, Point3DType >
 
using Point2DType = itk::Point< double, 2 >
 
using Point3DType = itk::Point< double, 3 >
 

Functions

void Solve (const GCPsContainerType &gcpContainer, double &rmsError, Projection::RPCParam &outputParams)
 

Typedef Documentation

◆ GCPsContainerType

using otb::RPCSolver::GCPsContainerType = typedef std::vector<GCPType>

Definition at line 34 of file otbRPCSolver.h.

◆ GCPType

using otb::RPCSolver::GCPType = typedef std::pair<Point2DType, Point3DType>

Definition at line 33 of file otbRPCSolver.h.

◆ Point2DType

using otb::RPCSolver::Point2DType = typedef itk::Point<double, 2>

Definition at line 31 of file otbRPCSolver.h.

◆ Point3DType

using otb::RPCSolver::Point3DType = typedef itk::Point<double, 3>

Definition at line 32 of file otbRPCSolver.h.

Function Documentation

◆ Solve()

void otb::RPCSolver::Solve ( const GCPsContainerType gcpContainer,
double &  rmsError,
Projection::RPCParam outputParams 
)

Solve RPC modelling from a set of GCPs and image bounds. The estimated RPC model is written in a RPCParam structure that can for instance be added to an ImageMetadata object. Please note that at least 20 points are required to estimate the RPC model. Between 20 and 40 points, the estimated model will not provide elevation support, since there are not enough points to estimate all the coefficients. Starting at 40 points, a full RPC model is estimated.

Referenced by otb::GCPsToRPCSensorModelImageFilter< TImage >::GenerateOutputInformation(), and otb::RPCTransformBase< TScalarType, 3, 2 >::OptimizeParameters().