7 #ifndef ossimRpcSolver_HEADER 8 #define ossimRpcSolver_HEADER 84 bool useHeightAboveMSLFlag=
false);
91 void solveCoefficients(
const ossimDrect& imageBounds,
96 void solveCoefficients(
const ossimDrect& imageBounds,
114 const double& pixel_tolerance=0.5);
121 const double& pixel_tolerance=0.5);
131 void solveCoefficients(
const std::vector<ossimDpt>& imagePoints,
132 const std::vector<ossimGpt>& groundControlPoints);
140 double getRmsError()
const;
141 double getMaxError()
const;
153 void setValidImageRect(
const ossimIrect& imageRect);
156 virtual void solveInitialCoefficients(NEWMAT::ColumnVector& coeff,
157 const std::vector<double>& f,
158 const std::vector<double>&
x,
159 const std::vector<double>&
y,
160 const std::vector<double>& z)
const;
162 virtual void solveCoefficients(NEWMAT::ColumnVector& coeff,
163 const std::vector<double>& f,
164 const std::vector<double>&
x,
165 const std::vector<double>&
y,
166 const std::vector<double>& z)
const;
168 double eval(
const std::vector<double>& coeff,
169 const double&
x,
const double&
y,
const double& z)
const;
176 NEWMAT::Matrix invert(
const NEWMAT::Matrix& m)
const;
178 void setupSystemOfEquations(NEWMAT::Matrix& equations,
179 const NEWMAT::ColumnVector& f,
180 const std::vector<double>&
x,
181 const std::vector<double>&
y,
182 const std::vector<double>& z)
const;
184 void setupWeightMatrix(NEWMAT::DiagonalMatrix& result,
185 const NEWMAT::ColumnVector& coefficients,
186 const NEWMAT::ColumnVector& f,
187 const std::vector<double>&
x,
188 const std::vector<double>&
y,
189 const std::vector<double>& z)
const;
ossimReferenced allows for shared object ref counting if the reference count ever gets to 0 or less i...
const ossimRefPtr< ossimRpcModel > getRpcModel() const
Fetches the solved-for RPC model.
virtual ~ossimRpcSolver()
ossim_float64 theMaxResidual
unsigned int ossim_uint32
ossimRefPtr< ossimRpcModel > theRpcModel
Container class that holds both 2D transform and 3D projection information for an image Only one inst...
ossim_float64 theMeanResidual
bool theHeightAboveMSLFlag
This currently only support Rational poilynomial B format.
ossimRefPtr< ossimImageGeometry > theRefGeom