Isis 3 Programmer Reference
BundleLidarPointVector.cpp
1#include "BundleLidarPointVector.h"
2
3#include <QDebug>
4#include <QFutureWatcher>
5#include <QtConcurrentRun>
6
7#include "BundleTargetBody.h"
8#include "IException.h"
9
10namespace Isis {
11
17
18
27
28
37
38
54
55
64 LinearAlgebra::Vector &imageSolution,
65 const BundleTargetBodyQsp target) {
66 for (int i = 0; i < size(); i++) {
67 at(i)->applyParameterCorrections(imageSolution, normalsMatrix, target);
68 }
69 }
70
71
78
79 for (int i = 0; i < size(); i++) {
80 at(i)->computeResiduals();
81 }
82 }
83
84
91 double vtpv = 0.0;
92
93 for (int i = 0; i < size(); i++) {
94 vtpv += at(i)->vtpvMeasures();
95 }
96
97 return vtpv;
98 }
99
100
107 double vtpvControl = 0.0;
108
109 for (int i = 0; i < size(); i++) {
110 vtpvControl += at(i)->vtpv();
111 }
112
113 return vtpvControl;
114 }
115
116
123 double vtpvRange = 0.0;
124
125 for (int i = 0; i < size(); i++) {
126 vtpvRange += at(i)->vtpvRangeContribution();
127 }
128
129 return vtpvRange;
130 }
131
132}
This class is a container class for BundleLidarControlPoints.
double vtpvContribution()
Compute vtpv, the weighted sum of squares of constrained point residuals.
BundleLidarPointVector & operator=(const BundleLidarPointVector &src)
Assignment operator.
double vtpvMeasureContribution()
Compute vtpv of image measures (weighted sum of squares of measure residuals).
BundleLidarPointVector()
Constructs an empty BundleLidarPointVector.
void computeMeasureResiduals()
Compute vtpv, the weighted sum of squares of constrained point residuals.
void applyParameterCorrections(SparseBlockMatrix &normalsMatrix, LinearAlgebra::Vector &imageSolution, const BundleTargetBodyQsp target)
Apply point parameter corrections.
double vtpvRangeContribution()
Compute vtpv of lidar range constraints.
boost::numeric::ublas::vector< double > Vector
Definition for an Isis::LinearAlgebra::Vector of doubles.
This is free and unencumbered software released into the public domain.
Definition Calculator.h:18
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16