OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimAdjustmentExecutive.h>
Public Member Functions | |
ossimAdjustmentExecutive (std::ostream &report) | |
constructor More... | |
ossimAdjustmentExecutive (ossimObservationSet &obsSet, std::ostream &report) | |
ossimObservationSet constructor More... | |
~ossimAdjustmentExecutive () | |
destructor More... | |
bool | initializeSolution (ossimObservationSet &obsSet) |
initialize adjustment solution More... | |
bool | runSolution () |
run adjustment solution More... | |
void | summarizeSolution () const |
summarize solution More... | |
bool | computeResidualStatistics (NEWMAT::Matrix &res) |
compute mean and RMS error of residuals More... | |
double | computeSEUW () |
compute SEUW More... | |
std::ostream & | printParameterCorrectionSummary (std::ostream &out) const |
Print parameter correction method. More... | |
std::ostream & | printObservationCorrectionSummary (std::ostream &out) const |
Print observation correction method. More... | |
std::ostream & | printResidualSummary (std::ostream &out) const |
Print residuals method. More... | |
bool | isValid () const |
void | setMaxIter (const int maxIter) |
void | setConvCriteria (const int convCriteria) |
![]() | |
ossimObject () | |
virtual | ~ossimObject () |
virtual ossimObject * | dup () const |
virtual ossimString | getShortName () const |
virtual ossimString | getLongName () const |
virtual ossimString | getDescription () const |
virtual ossimString | getClassName () const |
virtual RTTItypeid | getType () const |
virtual bool | canCastTo (ossimObject *obj) const |
virtual bool | canCastTo (const RTTItypeid &id) const |
virtual bool | canCastTo (const ossimString &parentClassName) const |
virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
virtual std::ostream & | print (std::ostream &out) const |
Generic print method. More... | |
virtual bool | isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const |
virtual void | accept (ossimVisitor &visitor) |
![]() | |
ossimReferenced () | |
ossimReferenced (const ossimReferenced &) | |
ossimReferenced & | operator= (const ossimReferenced &) |
void | ref () const |
increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
void | unref () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
void | unref_nodelete () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
int | referenceCount () const |
Protected Member Functions | |
bool | updateParameters () |
Update adjustable parameters. More... | |
bool | updateObservations () |
Update observatin. More... | |
![]() | |
virtual | ~ossimReferenced () |
Protected Attributes | |
bool | theExecValid |
ossimObservationSet * | theObsSet |
ossimWLSBundleSolution * | theSol |
ossimAdjSolutionAttributes * | theSolAttributes |
double | theConvCriteria |
int | theMaxIter |
bool | theMaxIterExceeded |
bool | theSolDiverged |
bool | theSolConverged |
int | theNumObsInSet |
int | theNumImages |
int | theNumParams |
int | theNumMeasurements |
int | theRankN |
NEWMAT::Matrix | theMeasResiduals |
NEWMAT::Matrix | theObjPartials |
NEWMAT::Matrix | theParPartials |
double | theXrms |
double | theYrms |
double | theXmean |
double | theYmean |
std::vector< double > | theSEUW |
std::vector< double > | theParInitialValues |
std::vector< double > | theParInitialStdDev |
std::vector< ossimString > | theParDesc |
std::vector< int > | theImgs |
std::vector< double > | theObsInitialValues |
std::vector< double > | theObsInitialStdDev |
std::ostream & | theRep |
Definition at line 30 of file ossimAdjustmentExecutive.h.
ossimAdjustmentExecutive::ossimAdjustmentExecutive | ( | std::ostream & | report | ) |
constructor
Definition at line 31 of file ossimAdjustmentExecutive.cpp.
ossimAdjustmentExecutive::ossimAdjustmentExecutive | ( | ossimObservationSet & | obsSet, |
std::ostream & | report | ||
) |
ossimObservationSet constructor
obsSet | tiepoint observation set. |
Definition at line 76 of file ossimAdjustmentExecutive.cpp.
ossimAdjustmentExecutive::~ossimAdjustmentExecutive | ( | ) |
destructor
Definition at line 120 of file ossimAdjustmentExecutive.cpp.
References theSol, and theSolAttributes.
bool ossimAdjustmentExecutive::computeResidualStatistics | ( | NEWMAT::Matrix & | res | ) |
compute mean and RMS error of residuals
res | image residual matrix. |
Definition at line 592 of file ossimAdjustmentExecutive.cpp.
References n, theNumMeasurements, theRep, theXmean, theXrms, theYmean, and theYrms.
double ossimAdjustmentExecutive::computeSEUW | ( | ) |
compute SEUW
Definition at line 630 of file ossimAdjustmentExecutive.cpp.
References ossimObservationSet::observ(), ossimAdjSolutionAttributes::theImagePtCov, ossimAdjSolutionAttributes::theMeasResiduals, theNumMeasurements, theNumObsInSet, theNumParams, ossimAdjSolutionAttributes::theObjectPtCov, theObsSet, theParInitialStdDev, theRankN, theSolAttributes, and ossimAdjSolutionAttributes::theTotalCorrections.
bool ossimAdjustmentExecutive::initializeSolution | ( | ossimObservationSet & | obsSet | ) |
initialize adjustment solution
obsSet | tiepoint observation set. |
Definition at line 136 of file ossimAdjustmentExecutive.cpp.
|
inline |
Definition at line 104 of file ossimAdjustmentExecutive.h.
std::ostream & ossimAdjustmentExecutive::printObservationCorrectionSummary | ( | std::ostream & | out | ) | const |
Print observation correction method.
Definition at line 716 of file ossimAdjustmentExecutive.cpp.
References DEG_PER_RAD, ossimObservationSet::observ(), ossimAdjSolutionAttributes::theFullCovMatrix, ossimAdjSolutionAttributes::theLastCorrections, theNumObsInSet, theNumParams, theObsInitialStdDev, theObsInitialValues, theObsSet, theSolAttributes, and ossimAdjSolutionAttributes::theTotalCorrections.
std::ostream & ossimAdjustmentExecutive::printParameterCorrectionSummary | ( | std::ostream & | out | ) | const |
Print parameter correction method.
Definition at line 690 of file ossimAdjustmentExecutive.cpp.
References ossimAdjSolutionAttributes::theFullCovMatrix, theImgs, ossimAdjSolutionAttributes::theLastCorrections, theNumParams, theParDesc, theParInitialStdDev, theParInitialValues, theSolAttributes, and ossimAdjSolutionAttributes::theTotalCorrections.
std::ostream & ossimAdjustmentExecutive::printResidualSummary | ( | std::ostream & | out | ) | const |
Print residuals method.
Definition at line 760 of file ossimAdjustmentExecutive.cpp.
References ossimObservationSet::imIndex(), ossimObservationSet::observ(), theMeasResiduals, theNumObsInSet, and theObsSet.
bool ossimAdjustmentExecutive::runSolution | ( | ) |
run adjustment solution
Definition at line 391 of file ossimAdjustmentExecutive.cpp.
|
inline |
Definition at line 108 of file ossimAdjustmentExecutive.h.
|
inline |
Definition at line 106 of file ossimAdjustmentExecutive.h.
void ossimAdjustmentExecutive::summarizeSolution | ( | ) | const |
summarize solution
Definition at line 556 of file ossimAdjustmentExecutive.cpp.
References ossim::getFormattedTime(), theConvCriteria, theExecValid, theMaxIter, theMaxIterExceeded, theNumImages, theNumMeasurements, theNumObsInSet, theNumParams, theRep, theSEUW, theSolConverged, and theSolDiverged.
|
protected |
Update observatin.
Definition at line 527 of file ossimAdjustmentExecutive.cpp.
References ossimObservationSet::observ(), ossimAdjSolutionAttributes::theLastCorrections, theNumObsInSet, theNumParams, theObsSet, and theSolAttributes.
|
protected |
Update adjustable parameters.
Definition at line 477 of file ossimAdjustmentExecutive.cpp.
References ossimImageGeometry::getAdjustableParameterInterface(), ossimObservationSet::getImageGeom(), ossimAdjustableParameterInterface::getParameterCenter(), ossimObservationSet::imageFile(), ossimObservationSet::observ(), ossimAdjustableParameterInterface::setParameterCenter(), ossimAdjSolutionAttributes::theImgNumparXref, ossimAdjSolutionAttributes::theLastCorrections, theNumImages, theNumObsInSet, theObsSet, and theSolAttributes.
|
protected |
Definition at line 123 of file ossimAdjustmentExecutive.h.
Referenced by summarizeSolution().
|
protected |
Definition at line 111 of file ossimAdjustmentExecutive.h.
Referenced by summarizeSolution().
|
protected |
Definition at line 152 of file ossimAdjustmentExecutive.h.
Referenced by printParameterCorrectionSummary().
|
protected |
Definition at line 124 of file ossimAdjustmentExecutive.h.
Referenced by summarizeSolution().
|
protected |
Definition at line 125 of file ossimAdjustmentExecutive.h.
Referenced by summarizeSolution().
|
protected |
Definition at line 137 of file ossimAdjustmentExecutive.h.
Referenced by printResidualSummary().
|
protected |
Definition at line 131 of file ossimAdjustmentExecutive.h.
Referenced by summarizeSolution(), and updateParameters().
|
protected |
Definition at line 133 of file ossimAdjustmentExecutive.h.
Referenced by computeResidualStatistics(), computeSEUW(), and summarizeSolution().
|
protected |
Definition at line 130 of file ossimAdjustmentExecutive.h.
Referenced by computeSEUW(), printObservationCorrectionSummary(), printResidualSummary(), summarizeSolution(), updateObservations(), and updateParameters().
|
protected |
Definition at line 132 of file ossimAdjustmentExecutive.h.
Referenced by computeSEUW(), printObservationCorrectionSummary(), printParameterCorrectionSummary(), summarizeSolution(), and updateObservations().
|
protected |
Definition at line 138 of file ossimAdjustmentExecutive.h.
|
protected |
Definition at line 156 of file ossimAdjustmentExecutive.h.
Referenced by printObservationCorrectionSummary().
|
protected |
Definition at line 155 of file ossimAdjustmentExecutive.h.
Referenced by printObservationCorrectionSummary().
|
protected |
Definition at line 114 of file ossimAdjustmentExecutive.h.
Referenced by computeSEUW(), printObservationCorrectionSummary(), printResidualSummary(), updateObservations(), and updateParameters().
|
protected |
Definition at line 151 of file ossimAdjustmentExecutive.h.
Referenced by printParameterCorrectionSummary().
|
protected |
Definition at line 150 of file ossimAdjustmentExecutive.h.
Referenced by computeSEUW(), and printParameterCorrectionSummary().
|
protected |
Definition at line 149 of file ossimAdjustmentExecutive.h.
Referenced by printParameterCorrectionSummary().
|
protected |
Definition at line 139 of file ossimAdjustmentExecutive.h.
|
protected |
Definition at line 134 of file ossimAdjustmentExecutive.h.
Referenced by computeSEUW().
|
protected |
Definition at line 158 of file ossimAdjustmentExecutive.h.
Referenced by computeResidualStatistics(), and summarizeSolution().
|
protected |
Definition at line 146 of file ossimAdjustmentExecutive.h.
Referenced by summarizeSolution().
|
protected |
Definition at line 117 of file ossimAdjustmentExecutive.h.
Referenced by ~ossimAdjustmentExecutive().
|
protected |
Definition at line 120 of file ossimAdjustmentExecutive.h.
Referenced by computeSEUW(), printObservationCorrectionSummary(), printParameterCorrectionSummary(), updateObservations(), updateParameters(), and ~ossimAdjustmentExecutive().
|
protected |
Definition at line 127 of file ossimAdjustmentExecutive.h.
Referenced by summarizeSolution().
|
protected |
Definition at line 126 of file ossimAdjustmentExecutive.h.
Referenced by summarizeSolution().
|
protected |
Definition at line 144 of file ossimAdjustmentExecutive.h.
Referenced by computeResidualStatistics().
|
protected |
Definition at line 142 of file ossimAdjustmentExecutive.h.
Referenced by computeResidualStatistics().
|
protected |
Definition at line 145 of file ossimAdjustmentExecutive.h.
Referenced by computeResidualStatistics().
|
protected |
Definition at line 143 of file ossimAdjustmentExecutive.h.
Referenced by computeResidualStatistics().