OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimSensorModelTuple.h>
Public Types | |
enum | DeriveMode { OBS_INIT =-99, EVALUATE =-98, P_WRT_X = -1, P_WRT_Y = -2, P_WRT_Z = -3 } |
enum | IntersectStatus { OP_SUCCESS = 0, ERROR_PROP_FAIL = 1, OP_FAIL = 2 } |
Public Member Functions | |
ossimSensorModelTuple () | |
default constructor More... | |
~ossimSensorModelTuple () | |
virtual destructor More... | |
void | addImage (ossimSensorModel *image) |
Method to add an image to the tuple. More... | |
std::ostream & | print (std::ostream &out) const |
print method. More... | |
ossimSensorModelTuple::IntersectStatus | intersect (const DptSet_t obs, ossimEcefPoint &pt, NEWMAT::Matrix &covMat) const |
Multi-image intersection method. More... | |
ossimSensorModelTuple::IntersectStatus | intersect (const ossim_int32 &img, const ossimDpt &obs, ossimEcefPoint &pt, NEWMAT::Matrix &covMat) |
Single-image/DEM intersection method. More... | |
ossimSensorModelTuple::IntersectStatus | intersect (const ossim_int32 &img, const ossimDpt &obs, const ossim_float64 &heightAboveEllipsoid, ossimEcefPoint &pt, NEWMAT::Matrix &covMat) |
Single-image/height intersection method. More... | |
bool | setIntersectionSurfaceAccuracy (const ossim_float64 &surfCE90, const ossim_float64 &surfLE90) |
Set intersection surface accuracy method. More... | |
void | getRpcPqeInputs (ossimRpcPqeInputs &obj) const |
Private Member Functions | |
bool | computeSingleInterCov (const ossim_int32 &img, const ossimDpt &obs, const ossimGpt &ptG, HeightRefType_t cRefType, NEWMAT::Matrix &covMat) |
Compute single image intersection covariance matrix. More... | |
bool | getGroundObsEqComponents (const ossim_int32 img, const ossimDpt &obs, const ossimGpt &ptEst, ossimDpt &resid, NEWMAT::Matrix &B, NEWMAT::SymmetricMatrix &W) const |
Get observation equation components. More... | |
NEWMAT::Matrix | invert (const NEWMAT::Matrix &m) const |
Private Attributes | |
std::vector< ossimRefPtr< ossimSensorModel > > | theImages |
ossim_int32 | theNumImages |
ossim_float64 | theSurfCE90 |
ossim_float64 | theSurfLE90 |
bool | theSurfAccSet |
bool | theSurfAccRepresentsNoDEM |
ossimRpcPqeInputs | theRpcPqeInputs |
Rpc model only, container to capture pqe inputs for report purposes only. More... | |
Definition at line 42 of file ossimSensorModelTuple.h.
Enumerator | |
---|---|
OBS_INIT | |
EVALUATE | |
P_WRT_X | |
P_WRT_Y | |
P_WRT_Z |
Definition at line 46 of file ossimSensorModelTuple.h.
ossimSensorModelTuple::ossimSensorModelTuple | ( | ) |
default constructor
Definition at line 52 of file ossimSensorModelTuple.cpp.
ossimSensorModelTuple::~ossimSensorModelTuple | ( | ) |
virtual destructor
Definition at line 79 of file ossimSensorModelTuple.cpp.
void ossimSensorModelTuple::addImage | ( | ossimSensorModel * | image | ) |
Method to add an image to the tuple.
Definition at line 94 of file ossimSensorModelTuple.cpp.
References theImages, and theNumImages.
Referenced by main().
|
private |
Compute single image intersection covariance matrix.
img | Image set index of current image. |
obs | Image point observations. |
ptG | Current ground estimate. |
cRefType | Current height reference type. |
covMat | 3X3 ECF position covariance matrix. |
Definition at line 403 of file ossimSensorModelTuple.cpp.
Referenced by intersect().
|
private |
Get observation equation components.
img | Image set index of current image. |
iter | Current iteration. |
obs | Observations. |
ptEst | Current ground estimate. |
resid | Observation residuals. |
B | Matrix of partials of observations WRT X,Y,Z. |
W | Weight matrix of observations. |
img | Image set index of current image. |
Definition at line 351 of file ossimSensorModelTuple.cpp.
void ossimSensorModelTuple::getRpcPqeInputs | ( | ossimRpcPqeInputs & | obj | ) | const |
obj | Object to initialize with rpc pqe inputs. |
Definition at line 145 of file ossimSensorModelTuple.cpp.
References theRpcPqeInputs.
ossimSensorModelTuple::IntersectStatus ossimSensorModelTuple::intersect | ( | const DptSet_t | obs, |
ossimEcefPoint & | pt, | ||
NEWMAT::Matrix & | covMat | ||
) | const |
Multi-image intersection method.
obs | Vector of image point observations. |
pt | Intersected ECF position of point. |
covMat | 3X3 ECF position covariance matrix [m]. |
Definition at line 173 of file ossimSensorModelTuple.cpp.
References OP_FAIL.
Referenced by main().
ossimSensorModelTuple::IntersectStatus ossimSensorModelTuple::intersect | ( | const ossim_int32 & | img, |
const ossimDpt & | obs, | ||
ossimEcefPoint & | pt, | ||
NEWMAT::Matrix & | covMat | ||
) |
Single-image/DEM intersection method.
img | Image set index of current image. |
obs | Image point observations. |
pt | Intersected ECF position of point. |
covMat | 3X3 ECF position covariance matrix [m]. |
Definition at line 319 of file ossimSensorModelTuple.cpp.
References AT_DEM, computeSingleInterCov(), ERROR_PROP_FAIL, OP_FAIL, OP_SUCCESS, and theImages.
ossimSensorModelTuple::IntersectStatus ossimSensorModelTuple::intersect | ( | const ossim_int32 & | img, |
const ossimDpt & | obs, | ||
const ossim_float64 & | heightAboveEllipsoid, | ||
ossimEcefPoint & | pt, | ||
NEWMAT::Matrix & | covMat | ||
) |
Single-image/height intersection method.
img | Image set index of current image. |
obs | Image point observations. |
heightAboveEllipsoid | Desired intersection height [m]. |
pt | Intersected ECF position of point. |
covMat | 3X3 ECF position covariance matrix [m]. |
: This method's "const" qualifier was removed as it stores rpc inputs to the pqe constructor for report purposes.
Definition at line 285 of file ossimSensorModelTuple.cpp.
References AT_HGT, computeSingleInterCov(), ERROR_PROP_FAIL, OP_FAIL, OP_SUCCESS, and theImages.
|
private |
Definition at line 623 of file ossimSensorModelTuple.cpp.
References SVD().
std::ostream & ossimSensorModelTuple::print | ( | std::ostream & | out | ) | const |
print method.
Definition at line 156 of file ossimSensorModelTuple.cpp.
References theImages, and theNumImages.
bool ossimSensorModelTuple::setIntersectionSurfaceAccuracy | ( | const ossim_float64 & | surfCE90, |
const ossim_float64 & | surfLE90 | ||
) |
Set intersection surface accuracy method.
surfCE90 | 90% CE [m]. |
surfLE90 | 90% LE [m]. |
Definition at line 110 of file ossimSensorModelTuple.cpp.
References theSurfAccRepresentsNoDEM, theSurfAccSet, theSurfCE90, and theSurfLE90.
|
mutableprivate |
Definition at line 146 of file ossimSensorModelTuple.h.
Referenced by addImage(), intersect(), and print().
|
private |
Definition at line 148 of file ossimSensorModelTuple.h.
Referenced by addImage(), and print().
|
private |
Rpc model only, container to capture pqe inputs for report purposes only.
Definition at line 158 of file ossimSensorModelTuple.h.
Referenced by getRpcPqeInputs().
|
private |
Definition at line 153 of file ossimSensorModelTuple.h.
Referenced by setIntersectionSurfaceAccuracy().
|
private |
Definition at line 152 of file ossimSensorModelTuple.h.
Referenced by setIntersectionSurfaceAccuracy().
|
private |
Definition at line 150 of file ossimSensorModelTuple.h.
Referenced by setIntersectionSurfaceAccuracy().
|
private |
Definition at line 151 of file ossimSensorModelTuple.h.
Referenced by setIntersectionSurfaceAccuracy().