Isis Developer Reference
BundleResults.h
Go to the documentation of this file.
1#ifndef BundleResults_h
2#define BundleResults_h
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12// Qt Library
13#include <QList>
14#include <QObject>
15#include <QPair>
16#include <QString>
17#include <QVector>
18
19// Isis Library
20#include "BundleControlPoint.h"
23#include "BundleSettings.h"
24#include "ControlNet.h"
25#include "Distance.h"
26#include "LidarData.h"
28#include "PvlObject.h"
29#include "Statistics.h" // ???
30#include "SurfacePoint.h"
31#include "XmlStackedHandler.h"
32
33// Qt Library
34class QDataStream;
35class QUuid;
36class QXmlStreamWriter;
37
38namespace Isis {
39 // Isis Library
40 class ControlNet;
42 class FileName;
43 class Project;// ??? does xml stuff need project???
44 class PvlObject;
45 class SerialNumberList;
48
91 class BundleResults : public QObject {
92 Q_OBJECT
93 public:
94 BundleResults(QObject *parent = 0);
95 // TODO: does xml stuff need project???
96 BundleResults(Project *project, XmlStackedHandlerReader *xmlReader, QObject *parent = 0);
97 BundleResults(const BundleResults &src);
100 void initialize();
101
102 // mutators and computation methods
103 void resizeSigmaStatisticsVectors(int numberImages);
104 void setRmsImageResidualLists(QList<Statistics> rmsImageLineResiduals,
105 QList<Statistics> rmsImageSampleResiduals,
106 QList<Statistics> rmsImageResiduals);
108 QVector<Statistics> rmsImageSampleResiduals,
109 QVector<Statistics> rmsImageResiduals);
111 QList<Statistics> rmsLidarImageSampleResiduals,
112 QList<Statistics> rmsLidarImageResiduals);
113 void setSigmaCoord1Range(Distance minCoord1Dist, Distance maxCoord1Dist,
114 QString minCoord1PointId, QString maxCoord1PointId);
115 void setSigmaCoord2Range(Distance minCoord2Dist, Distance maxCoord2Dist,
116 QString minCoord2PointId, QString maxCoord2PointId);
117 void setSigmaCoord3Range(Distance minCoord3Dist, Distance maxCoord3Dist,
118 QString minCoord3PointId, QString maxCoord3PointId);
119 void setRmsFromSigmaStatistics(double rmsFromSigmaCoord1Stats,
120 double rmsFromSigmaCoord2Stats,
121 double rmsFromSigmaCoord3Stats);
123 QList< QPair< MaximumLikelihoodWFunctions::Model, double > > modelsWithQuantiles);
125 void initializeResidualsProbabilityDistribution(unsigned int nodes = 20);
126 void initializeProbabilityDistribution(unsigned int nodes = 20);
128 void addProbabilityDistributionObservation(double obsValue);
129 void addProbabilityDistributionObservation(double obsValue, bool residuals);
131
133 int numberFixedPoints() const;
134 void incrementHeldImages();
135 int numberHeldImages() const;
137 int numberIgnoredPoints() const; // currently unused ???
138#if 0
139 double computeRejectionLimit(ControlNet *p_Cnet,
140 double outlierRejectionMultiplier,
141 int numObservations);
142#endif
144#if 0
145 double computeResiduals(
146 ControlNet *pCnet,
147 std::vector< boost::numeric::ublas::bounded_vector< double, 3 > > pointWeights,
148 std::vector< boost::numeric::ublas::bounded_vector< double, 3 > > pointCorrections,
149 LinearAlgebra::Vector image_Corrections,
150 std::vector< double > imageParameterWeights,
151 int numImagePartials,
152 int rank);
153#endif
154 void setRmsXYResiduals(double rx, double ry, double rxy);
155#if 0
156 bool flagOutliers(ControlNet *pCnet);
157#endif
160 void setNumberLidarImageObservations(int numberLidarObservations);
162 void setNumberImageParameters(int numberParameters); // ??? this is the same value an m_nRank
163 void setNumberConstrainedPointParameters(int numberParameters);
164 void setNumberConstrainedLidarPointParameters(int numberParameters);
166 void incrementNumberConstrainedPointParameters(int incrementAmount);
168 void incrementNumberConstrainedImageParameters(int incrementAmount);
170 void incrementNumberConstrainedTargetParameters(int incrementAmount);
171 void setNumberLidarRangeConstraints(int numberLidarRangeConstraints);
172 void setNumberUnknownParameters(int numberParameters);
174 void computeSigma0(double dvtpv, BundleSettings::ConvergenceCriteria criteria);
176 void setSigma0(double sigma0);
177 void setElapsedTime(double time);
178 void setElapsedTimeErrorProp(double time);
179 void setConverged(bool converged); // or initialze method
180 void setBundleControlPoints(QVector<BundleControlPointQsp> controlPoints);
181 void setBundleLidarPoints(QVector<BundleLidarControlPointQsp> lidarPoints);
183 void setOutputLidarData(LidarDataQsp outLidarData);
184 void setIterations(int iterations);
186
187 // Accessors...
188 QList<Statistics> rmsImageSampleResiduals() const;
189 QList<Statistics> rmsImageLineResiduals() const;
190 QList<Statistics> rmsImageResiduals() const;
191 QList<Statistics> rmsLidarImageSampleResiduals() const;
192 QList<Statistics> rmsLidarImageLineResiduals() const;
193 QList<Statistics> rmsLidarImageResiduals() const;
194 QVector<Statistics> rmsImageXSigmas() const; // currently unused ???
195 QVector<Statistics> rmsImageYSigmas() const; // currently unused ???
196 QVector<Statistics> rmsImageZSigmas() const; // currently unused ???
197 QVector<Statistics> rmsImageRASigmas() const; // currently unused ???
198 QVector<Statistics> rmsImageDECSigmas() const; // currently unused ???
199 QVector<Statistics> rmsImageTWISTSigmas() const; // currently unused ???
200 // *** TODO *** Will we ever want to request a specific coordinate type?
201 // (Lat or X) or just whatever is the designated type?
203
210 QString maxSigmaCoord1PointId() const;
211 QString minSigmaCoord1PointId() const;
212 QString minSigmaCoord2PointId() const;
213 QString maxSigmaCoord2PointId() const;
214 QString minSigmaCoord3PointId() const;
215 QString maxSigmaCoord3PointId() const;
216 double sigmaCoord1StatisticsRms() const;
217 double sigmaCoord2StatisticsRms() const;
218 double sigmaCoord3StatisticsRms() const;
219
220 double rmsRx() const; // currently unused ???
221 double rmsRy() const; // currently unused ???
222 double rmsRxy() const; // currently unused ???
223 double rejectionLimit() const;
224 int numberRejectedObservations() const;
225 int numberObservations() const;
226 int numberImageObservations() const;
228
229 int numberImageParameters() const; // ??? this is the same value an m_nRank
234 int numberUnknownParameters() const;
235 int degreesOfFreedom() const;
236 double sigma0() const;
237 double elapsedTime() const;
238 double elapsedTimeErrorProp() const;
239 bool converged() const; // or initialze method
240 QVector<BundleControlPointQsp> &bundleControlPoints();
241 QVector<BundleLidarControlPointQsp> &bundleLidarControlPoints();
244 int iterations() const;
246
248 int maximumLikelihoodModelIndex() const;
253 double maximumLikelihoodModelQuantile(int modelIndex) const;
254
255 QList< QPair< MaximumLikelihoodWFunctions, double > > maximumLikelihoodModels() const;
256
258 SerialNumberList *pSnList);
259
260 // Correlation Matrix accessors for ipce and mutators for bundle adjust.
263 void setCorrMatImgsAndParams(QMap<QString, QStringList> imgsAndParams);
264
265 // TODO: does xml stuff need project???
266 void save(QXmlStreamWriter &stream, const Project *project) const;
267
268
269 private:
279 class XmlHandler : public XmlStackedHandler {
280 public:
281 // TODO: does xml stuff need project???
282 XmlHandler(BundleResults *statistics, Project *project);
283 ~XmlHandler();
284
285 virtual bool startElement(const QString &namespaceURI, const QString &localName,
286 const QString &qName, const QXmlAttributes &atts);
287 virtual bool characters(const QString &ch);
288 virtual bool endElement(const QString &namespaceURI, const QString &localName,
289 const QString &qName);
290
291 private:
292 Q_DISABLE_COPY(XmlHandler);
293
294 BundleResults *m_xmlHandlerBundleResults;
295 Project *m_xmlHandlerProject; // TODO: does xml stuff need project???
296 QString m_xmlHandlerCharacters;
297 int m_xmlHandlerResidualsListSize;
298 int m_xmlHandlerSampleResidualsListSize;
299 int m_xmlHandlerLineResidualsListSize;
300 int m_xmlHandlerXSigmasListSize;
301 int m_xmlHandlerYSigmasListSize;
302 int m_xmlHandlerZSigmasListSize;
303 int m_xmlHandlerRASigmasListSize;
304 int m_xmlHandlerDECSigmasListSize;
305 int m_xmlHandlerTWISTSigmasListSize;
306 QList<Statistics *> m_xmlHandlerStatisticsList;
307 StatCumProbDistDynCalc *m_xmlHandlerCumProCalc;
308
309 QString m_xmlHandlerCorrelationImageId;
310 QStringList m_xmlHandlerCorrelationParameterList;
311 QMap<QString, QStringList> m_xmlHandlerCorrelationMap;
312 };
313
314 CorrelationMatrix *m_correlationMatrix;
315
316 int m_numberFixedPoints;
317 // Currently set but unused
318 int m_numberIgnoredPoints;
319 int m_numberHeldImages;
320
321 // The following three members are set but unused.
322 double m_rmsXResiduals;
323 double m_rmsYResiduals;
324 double m_rmsXYResiduals;
325
326 double m_rejectionLimit;
327 // TODO:??? reorder read/write data stream, init, copy constructor, operator=
328 int m_numberObservations;
329 int m_numberImageObservations;
330 int m_numberLidarImageObservations;
331 int m_numberRejectedObservations;
332 int m_numberLidarRangeConstraintEquations;
333 int m_numberUnknownParameters;
334 int m_numberImageParameters;
335 int m_numberConstrainedImageParameters;
336 int m_numberConstrainedPointParameters;
337 int m_numberConstrainedLidarPointParameters;
338 int m_numberConstrainedTargetParameters;
339 int m_degreesOfFreedom;
340 double m_sigma0;
341 double m_elapsedTime;
342 double m_elapsedTimeErrorProp;
343 bool m_converged;
344
345 // Variables for output methods in BundleSolutionInfo
346
347 QVector<BundleControlPointQsp> m_bundleControlPoints;
356 QVector<BundleLidarControlPointQsp> m_bundleLidarPoints;
357 ControlNetQsp m_outNet;
359 LidarDataQsp m_outLidarData;
361 int m_iterations;
363 BundleObservationVector m_observations;
367 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
368 // variables set in computeBundleResults()
369 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
370 // QList??? jigsaw apptest gives - ASSERT failure in QList<T>::operator[]: "index out of range",
371 QList<Statistics> m_rmsImageSampleResiduals;
373 QList<Statistics> m_rmsImageLineResiduals;
375 QList<Statistics> m_rmsImageResiduals;
378 QList<Statistics> m_rmsLidarImageSampleResiduals;
380 QList<Statistics> m_rmsLidarImageLineResiduals;
382 QList<Statistics> m_rmsLidarImageResiduals;
386 QVector<Statistics> m_rmsImageXSigmas; // unset and unused ???
388 QVector<Statistics> m_rmsImageYSigmas; // unset and unused ???
390 QVector<Statistics> m_rmsImageZSigmas; // unset and unused ???
392 QVector<Statistics> m_rmsImageRASigmas; // unset and unused ???
394 QVector<Statistics> m_rmsImageDECSigmas; // unset and unused ???
396 QVector<Statistics> m_rmsImageTWISTSigmas; // unset and unused ???
397
398 Distance m_minSigmaCoord1Distance;
399 Distance m_maxSigmaCoord1Distance;
400 Distance m_minSigmaCoord2Distance;
401 Distance m_maxSigmaCoord2Distance;
402 Distance m_minSigmaCoord3Distance;
403 Distance m_maxSigmaCoord3Distance;
404
405 QString m_minSigmaCoord1PointId;
406 QString m_maxSigmaCoord1PointId;
407 QString m_minSigmaCoord2PointId;
408 QString m_maxSigmaCoord2PointId;
409 QString m_minSigmaCoord3PointId;
410 QString m_maxSigmaCoord3PointId;
411
412 double m_rmsSigmaCoord1Stats;
413 double m_rmsSigmaCoord2Stats;
414 double m_rmsSigmaCoord3Stats;
415
416 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
417 // variables for maximum likelihood estimation
418 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
419
421 QList< QPair< MaximumLikelihoodWFunctions, double > > m_maximumLikelihoodFunctions;
422
434 int m_maximumLikelihoodIndex;
437 StatCumProbDistDynCalc *m_cumPro;
442 StatCumProbDistDynCalc *m_cumProRes;
446 double m_maximumLikelihoodMedianR2Residuals;
448 };
449
450};
451
453
454#endif // BundleResults_h
Q_DECLARE_METATYPE(Isis::BundleResults)
This class is a container class for BundleObservations.
Definition BundleObservationVector.h:57
A container class for statistical results from a BundleAdjust solution.
Definition BundleResults.h:91
void addProbabilityDistributionObservation(double obsValue)
Adds an observation to the cumulative probability distribution of |R^2 residuals|.
Definition BundleResults.cpp:580
void incrementNumberConstrainedImageParameters(int incrementAmount)
Increase the number of constrained image parameters.
Definition BundleResults.cpp:787
~BundleResults()
Destroys this BundleResults object.
Definition BundleResults.cpp:158
double elapsedTimeErrorProp() const
Returns the elapsed time for error propagation.
Definition BundleResults.cpp:1438
int numberRejectedObservations() const
Returns the number of observation that were rejected.
Definition BundleResults.cpp:1308
QString minSigmaCoord2PointId() const
Returns the minimum sigma point id for coordinate 2.
Definition BundleResults.cpp:1198
void setSigma0(double sigma0)
Sets the sigma0.
Definition BundleResults.cpp:895
double rejectionLimit() const
Returns the rejection limit.
Definition BundleResults.cpp:1298
void incrementNumberConstrainedPointParameters(int incrementAmount)
Increase the number of contrained point parameters.
Definition BundleResults.cpp:769
double rmsRxy() const
Returns the RMS of the x and y residuals.
Definition BundleResults.cpp:1288
QList< Statistics > rmsImageSampleResiduals() const
Returns the list of RMS image sample residuals statistics.
Definition BundleResults.cpp:998
BundleResults(QObject *parent=0)
Constructs a BundleResults object.
Definition BundleResults.cpp:48
ControlNetQsp outputControlNet() const
Returns a shared pointer to the output control network.
Definition BundleResults.cpp:1480
int numberObservations() const
Returns the number of observations.
Definition BundleResults.cpp:1318
void setElapsedTime(double time)
Sets the elapsed time for the bundle adjustment.
Definition BundleResults.cpp:905
MaximumLikelihoodWFunctions maximumLikelihoodModelWFunc(int modelIndex) const
Returns the maximum likelihood model at the given index.
Definition BundleResults.cpp:1580
void incrementHeldImages()
Increases the number of 'held' images.
Definition BundleResults.cpp:626
double sigmaCoord3StatisticsRms() const
Returns the RMS of the adjusted sigmas for coordinate 3.
Definition BundleResults.cpp:1258
void initializeProbabilityDistribution(unsigned int nodes=20)
Initializes or resets the cumulative probability distribution of |R^2 residuals|.
Definition BundleResults.cpp:559
void incrementIgnoredPoints()
Increase the number of ignored points.
Definition BundleResults.cpp:644
void incrementFixedPoints()
Increase the number of 'fixed' (ground) points.
Definition BundleResults.cpp:608
void setBundleControlPoints(QVector< BundleControlPointQsp > controlPoints)
Sets the bundle control point vector.
Definition BundleResults.cpp:935
void setNumberConstrainedPointParameters(int numberParameters)
Set number of contrained point parameters.
Definition BundleResults.cpp:741
void setBundleLidarPoints(QVector< BundleLidarControlPointQsp > lidarPoints)
Sets the bundle lidar point vector.
Definition BundleResults.cpp:945
double sigma0() const
Returns the Sigma0 of the bundle adjustment.
Definition BundleResults.cpp:1418
void setIterations(int iterations)
Sets the number of iterations taken by the BundleAdjust.
Definition BundleResults.cpp:975
bool converged() const
Returns whether or not the bundle adjustment converged.
Definition BundleResults.cpp:1448
double maximumLikelihoodModelQuantile(int modelIndex) const
Returns the quantile of the maximum likelihood model at the given index.
Definition BundleResults.cpp:1592
void setSigmaCoord1Range(Distance minCoord1Dist, Distance maxCoord1Dist, QString minCoord1PointId, QString maxCoord1PointId)
Sets the min and max sigma distances and point ids for coordinate 1.
Definition BundleResults.cpp:425
void incrementMaximumLikelihoodModelIndex()
Increases the value that indicates which stage the maximum likelihood adjustment is currently on.
Definition BundleResults.cpp:600
QVector< Statistics > rmsImageDECSigmas() const
Returns the list of RMS image declination sigma statistics.
Definition BundleResults.cpp:1098
QList< Statistics > rmsLidarImageSampleResiduals() const
Returns the list of RMS image lidar sample residuals statistics.
Definition BundleResults.cpp:1028
void setOutputControlNet(ControlNetQsp outNet)
Sets the output ControlNet.
Definition BundleResults.cpp:955
void setSigmaCoord2Range(Distance minCoord2Dist, Distance maxCoord2Dist, QString minCoord2PointId, QString maxCoord2PointId)
Sets the min and max sigma distances and point ids for coordinate 2.
Definition BundleResults.cpp:442
int numberConstrainedPointParameters() const
Returns the number of constrained point parameters.
Definition BundleResults.cpp:1358
double rmsRy() const
Returns the RMS of the y residuals.
Definition BundleResults.cpp:1278
void resetNumberConstrainedImageParameters()
Resets the number of constrained image parameters to 0.
Definition BundleResults.cpp:777
void computeDegreesOfFreedom()
Computes the degrees of freedom of the bundle adjustment and stores it internally.
Definition BundleResults.cpp:833
int iterations() const
Returns the number of iterations taken by the BundleAdjust.
Definition BundleResults.cpp:1507
CorrelationMatrix correlationMatrix() const
Returns the Correlation Matrix.
Definition BundleResults.cpp:1610
void setNumberRejectedObservations(int numberObservations)
Sets the number of rejected observations.
Definition BundleResults.cpp:688
SurfacePoint::CoordinateType coordTypeReports()
Definition BundleResults.cpp:1644
QString minSigmaCoord1PointId() const
Returns the minimum sigma point id for coordinate 1.
Definition BundleResults.cpp:1178
QVector< Statistics > rmsImageYSigmas() const
Returns the list of RMS image y sigma statistics.
Definition BundleResults.cpp:1068
void maximumLikelihoodSetUp(QList< QPair< MaximumLikelihoodWFunctions::Model, double > > modelsWithQuantiles)
This method steps up the maximum likelihood estimation solution.
Definition BundleResults.cpp:492
void save(QXmlStreamWriter &stream, const Project *project) const
Saves the BundleResults object to an XML file.
Definition BundleResults.cpp:1662
int numberIgnoredPoints() const
Returns the number of ignored points.
Definition BundleResults.cpp:654
QVector< BundleControlPointQsp > & bundleControlPoints()
Returns a reference to the BundleControlPoint vector.
Definition BundleResults.cpp:1458
void setCorrMatImgsAndParams(QMap< QString, QStringList > imgsAndParams)
Set the images and their associated parameters of the correlation matrix.
Definition BundleResults.cpp:1638
Distance maxSigmaCoord2Distance() const
Returns the maximum sigma distance for coordinate 2.
Definition BundleResults.cpp:1148
int numberUnknownParameters() const
Returns the number of unknown parameters.
Definition BundleResults.cpp:1398
void addResidualsProbabilityDistributionObservation(double obsValue)
Adds an observation to the cumulative probability distribution of residuals used for reporting.
Definition BundleResults.cpp:591
QVector< BundleLidarControlPointQsp > & bundleLidarControlPoints()
Returns a reference to the BundleLidarControlPoint vector.
Definition BundleResults.cpp:1468
int numberImageParameters() const
Returns the total number of image parameters.
Definition BundleResults.cpp:1348
QList< Statistics > rmsLidarImageLineResiduals() const
Returns the list of RMS image lidar line residuals statistics.
Definition BundleResults.cpp:1038
int numberMaximumLikelihoodModels() const
Returns how many maximum likelihood models were used in the bundle adjustment.
Definition BundleResults.cpp:1527
void setNumberLidarRangeConstraints(int numberLidarRangeConstraints)
Sets the total number of lidar range constraints.
Definition BundleResults.cpp:825
int maximumLikelihoodModelIndex() const
Returns which step the bundle adjustment is on.
Definition BundleResults.cpp:1537
LidarDataQsp outputLidarData() const
Returns a shared pointer to the output LidarData object.
Definition BundleResults.cpp:1497
int numberHeldImages() const
Returns the number of 'held' images.
Definition BundleResults.cpp:636
double sigmaCoord2StatisticsRms() const
Returns the RMS of the adjusted sigmas for coordinate 2.
Definition BundleResults.cpp:1248
void setRejectionLimit(double rejectionLimit)
Sets the rejection limit.
Definition BundleResults.cpp:678
Distance minSigmaCoord3Distance() const
Returns the minimum sigma distance for coordinate 3.
Definition BundleResults.cpp:1158
int numberLidarImageObservations() const
Returns the number of lidar observations.
Definition BundleResults.cpp:1338
void incrementNumberConstrainedTargetParameters(int incrementAmount)
Increases the number of constrained target parameters.
Definition BundleResults.cpp:805
void setOutputLidarData(LidarDataQsp outLidarData)
Sets the output LidarData object.
Definition BundleResults.cpp:965
void setNumberImageObservations(int numberObservations)
Sets the number of photogrammetric image observations.
Definition BundleResults.cpp:711
void setRmsImageResidualLists(QList< Statistics > rmsImageLineResiduals, QList< Statistics > rmsImageSampleResiduals, QList< Statistics > rmsImageResiduals)
Sets the root mean square image residual Statistics lists.
Definition BundleResults.cpp:392
double maximumLikelihoodMedianR2Residuals() const
Returns the median of the |R^2 residuals|.
Definition BundleResults.cpp:1568
int numberFixedPoints() const
Returns the number of 'fixed' (ground) points.
Definition BundleResults.cpp:618
QString maxSigmaCoord1PointId() const
Returns the maximum sigma point id for coordinate 1.
Definition BundleResults.cpp:1188
int numberImageObservations() const
Returns the number of observations.
Definition BundleResults.cpp:1328
void setNumberLidarImageObservations(int numberLidarObservations)
Sets the number of lidar observations.
Definition BundleResults.cpp:721
void resetNumberConstrainedPointParameters()
Resets the number of contrained point parameters to 0.
Definition BundleResults.cpp:759
void setNumberImageParameters(int numberParameters)
Sets the number of image parameters.
Definition BundleResults.cpp:731
int numberConstrainedTargetParameters() const
Return the number of constrained target parameters.
Definition BundleResults.cpp:1378
StatCumProbDistDynCalc residualsCumulativeProbabilityDistribution() const
Returns the cumulative probability distribution of the residuals used for reporting.
Definition BundleResults.cpp:1558
double elapsedTime() const
Returns the elapsed time for the bundle adjustment.
Definition BundleResults.cpp:1428
QList< Statistics > rmsImageResiduals() const
Returns the list of RMS image residuals statistics.
Definition BundleResults.cpp:1018
bool setNumberHeldImages(SerialNumberList pHeldSnList, SerialNumberList *pSnList)
const BundleObservationVector & observations() const
Returns a reference to the observations used by the BundleAdjust.
Definition BundleResults.cpp:1517
void initialize()
Initializes the BundleResults to a default state where all numeric members are set to 0 or another de...
Definition BundleResults.cpp:263
Distance minSigmaCoord1Distance() const
Returns the minimum sigma distance for coordinate 1.
Definition BundleResults.cpp:1118
void setNumberUnknownParameters(int numberParameters)
Sets the total number of parameters to solve for.
Definition BundleResults.cpp:815
void setSigmaCoord3Range(Distance minCoord3Dist, Distance maxCoord3Dist, QString minCoord3PointId, QString maxCoord3PointId)
Sets the min and max sigma distances and point ids for coordinate 3.
Definition BundleResults.cpp:459
QString minSigmaCoord3PointId() const
Returns the minimum sigma point id for coordinate 3.
Definition BundleResults.cpp:1218
void setNumberConstrainedLidarPointParameters(int numberParameters)
Set number of contrained point parameters.
Definition BundleResults.cpp:751
double rmsRx() const
Returns the RMS of the x residuals.
Definition BundleResults.cpp:1268
void setObservations(BundleObservationVector observations)
Sets the vector of BundleObservations.
Definition BundleResults.cpp:985
void initializeResidualsProbabilityDistribution(unsigned int nodes=20)
Initializes or resets the cumulative probability distribution of residuals used for reporting.
Definition BundleResults.cpp:569
void setRmsFromSigmaStatistics(double rmsFromSigmaCoord1Stats, double rmsFromSigmaCoord2Stats, double rmsFromSigmaCoord3Stats)
Sets the root mean square values of the adjusted sigmas for all three coordinates.
Definition BundleResults.cpp:475
void setRmsImageResidualLists(QVector< Statistics > rmsImageLineResiduals, QVector< Statistics > rmsImageSampleResiduals, QVector< Statistics > rmsImageResiduals)
void setRmsXYResiduals(double rx, double ry, double rxy)
Sets the root mean square of the x and y residuals.
Definition BundleResults.cpp:666
QList< Statistics > rmsImageLineResiduals() const
Returns the list of RMS image line residuals statistics.
Definition BundleResults.cpp:1008
QVector< Statistics > rmsImageRASigmas() const
Returns the list of RMS image right ascension sigma statistics.
Definition BundleResults.cpp:1088
void setNumberObservations(int numberObservations)
Sets the number of observations.
Definition BundleResults.cpp:698
int numberLidarRangeConstraintEquations() const
Return the number of lidar range constraint equations.
Definition BundleResults.cpp:1388
QVector< Statistics > rmsImageXSigmas() const
Returns the list of RMS image x sigma statistics.
Definition BundleResults.cpp:1058
void printMaximumLikelihoodTierInformation()
Prints out information about which tier the solution is in and the status of the residuals.
Definition BundleResults.cpp:534
BundleResults & operator=(const BundleResults &src)
Assignment operator for BundleResults.
Definition BundleResults.cpp:178
void resizeSigmaStatisticsVectors(int numberImages)
Resizes all image sigma vectors.
Definition BundleResults.cpp:363
QList< QPair< MaximumLikelihoodWFunctions, double > > maximumLikelihoodModels() const
void setDegreesOfFreedom(double degreesOfFreedom)
Sets the degrees of freedom.
Definition BundleResults.cpp:885
Distance maxSigmaCoord3Distance() const
Returns the maximum sigma distance for coordinate 3.
Definition BundleResults.cpp:1168
Distance maxSigmaCoord1Distance() const
Returns the maximum sigma distance for coordinate 1.
Definition BundleResults.cpp:1128
void setCorrMatCovFileName(FileName name)
Set the covariance file name for the matrix used to calculate the correlation matrix.
Definition BundleResults.cpp:1627
QVector< Statistics > rmsImageTWISTSigmas() const
Returns the list of RMS image twist sigma statistics.
Definition BundleResults.cpp:1108
void setRmsLidarImageResidualLists(QList< Statistics > rmsLidarImageLineResiduals, QList< Statistics > rmsLidarImageSampleResiduals, QList< Statistics > rmsLidarImageResiduals)
Sets the root mean square lidar image residual Statistics lists.
Definition BundleResults.cpp:408
QString maxSigmaCoord3PointId() const
Returns the maximum sigma point id for coordinate 3.
Definition BundleResults.cpp:1228
void computeSigma0(double dvtpv, BundleSettings::ConvergenceCriteria criteria)
Computes the sigma0 and stores it internally.
Definition BundleResults.cpp:861
QString maxSigmaCoord2PointId() const
Returns the maximum sigma point id for coordinate 2.
Definition BundleResults.cpp:1208
int numberConstrainedImageParameters() const
Returns the number of constrained image parameters.
Definition BundleResults.cpp:1368
void setElapsedTimeErrorProp(double time)
Sets the elapsed time for error propegation.
Definition BundleResults.cpp:915
QVector< Statistics > rmsImageZSigmas() const
Returns the list of RMS image z sigma statistics.
Definition BundleResults.cpp:1078
QList< Statistics > rmsLidarImageResiduals() const
Returns the list of RMS image lidar residuals statistics.
Definition BundleResults.cpp:1048
double sigmaCoord1StatisticsRms() const
Returns the RMS of the adjusted sigmas for coordinate 1.
Definition BundleResults.cpp:1238
void setConverged(bool converged)
Sets if the bundle adjustment converged.
Definition BundleResults.cpp:925
Distance minSigmaCoord2Distance() const
Returns the minimum sigma distance for coordinate 2.
Definition BundleResults.cpp:1138
void addProbabilityDistributionObservation(double obsValue, bool residuals)
void resetNumberConstrainedTargetParameters()
Resets the number of constrained target parameters to 0.
Definition BundleResults.cpp:795
StatCumProbDistDynCalc cumulativeProbabilityDistribution() const
Returns the cumulative probability distribution of the |R^2 residuals|.
Definition BundleResults.cpp:1548
int degreesOfFreedom() const
Returns the degrees of freedom.
Definition BundleResults.cpp:1408
ConvergenceCriteria
This enum defines the options for the bundle adjustment's convergence.
Definition BundleSettings.h:197
a control network
Definition ControlNet.h:258
This is a container for the correlation matrix that comes from a bundle adjust.
Definition CorrelationMatrix.h:61
Distance measurement, usually in meters.
Definition Distance.h:34
File name manipulation and expansion.
Definition FileName.h:100
boost::numeric::ublas::vector< double > Vector
Definition for an Isis::LinearAlgebra::Vector of doubles.
Definition LinearAlgebra.h:132
Class provides maximum likelihood estimation functions for robust parameter estimation,...
Definition MaximumLikelihoodWFunctions.h:49
The main project for ipce.
Definition Project.h:289
Contains Pvl Groups and Pvl Objects.
Definition PvlObject.h:61
Serial Number list generator.
Definition SerialNumberList.h:64
This class is used to approximate cumulative probibility distributions of a stream of observations wi...
Definition StatCumProbDistDynCalc.h:65
CoordinateType
Defines the coordinate typ, units, and coordinate index for some of the output methods.
Definition SurfacePoint.h:139
XML Handler that parses XMLs in a stack-oriented way.
Definition XmlStackedHandler.h:118
Manage a stack of content handlers for reading XML files.
Definition XmlStackedHandlerReader.h:30
This is free and unencumbered software released into the public domain.
Definition BoxcarCachingAlgorithm.h:13
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16