9#include "BundleObservation.h"
16#include "BundleImage.h"
17#include "BundleObservationSolveSettings.h"
18#include "BundleTargetBody.h"
20#include "LinearAlgebra.h"
21#include "SpicePosition.h"
22#include "SpiceRotation.h"
38 m_corrections.clear();
61 m_corrections.clear();
72 m_cubeSerialNumberToBundleImageMap.insert(image->serialNumber(), image);
84 m_cubeSerialNumberToBundleImageMap = src.m_cubeSerialNumberToBundleImageMap;
115 m_cubeSerialNumberToBundleImageMap = src.m_cubeSerialNumberToBundleImageMap;
137 m_cubeSerialNumberToBundleImageMap.insert(value->serialNumber(), value);
154 if (m_cubeSerialNumberToBundleImageMap.contains(cubeSerialNumber)) {
155 bundleImage = m_cubeSerialNumberToBundleImageMap.value(cubeSerialNumber);
188 return m_corrections;
250 for (
int i = 0; i < (int)m_corrections.size(); i++) {
Abstract base class for an observation in bundle adjustment.
virtual LinearAlgebra::Vector & parameterWeights()
Accesses the solve parameter weights.
void setIndex(int n)
Sets the index for the observation.
virtual LinearAlgebra::Vector & adjustedSigmas()
Accesses the adjusted sigmas.
QString m_observationNumber
The shared portion of the serial numbers of all images in the observation.
virtual LinearAlgebra::Vector & aprioriSigmas()
Accesses the a priori sigmas.
int index()
Accesses the observation's index.
QString m_instrumentId
Spacecraft instrument id.
QStringList m_serialNumbers
List of all cube serial numbers in observation.
virtual ~BundleObservation()
Destructor.
virtual void append(const BundleImageQsp &value)
Appends a BundleImage shared pointer to the BundleObservation.
QString instrumentId()
Accesses the instrument id.
int m_index
Index of this observation in the set of observations. Map between cube serial number and BundleImage ...
LinearAlgebra::Vector m_aprioriSigmas
A posteriori (adjusted) parameter sigmas.
QStringList m_imageNames
List of all cube names.
virtual QStringList imageNames()
Access to image names for CorrelationMatrix to use.
LinearAlgebra::Vector m_adjustedSigmas
A posteriori (adjusted) parameter sigmas.
virtual LinearAlgebra::Vector & parameterCorrections()
Accesses the parameter corrections.
BundleImageQsp imageByCubeSerialNumber(QString cubeSerialNumber)
Returns the BundleImage shared pointer associated with the given serial number.
LinearAlgebra::Vector m_weights
Parameter weights. Cumulative parameter correction vector.
BundleObservation()
Constructs a BundleObservation initialized to a default state.
virtual BundleObservation & operator=(const BundleObservation &src)
Assignment operator.
double vtpv()
Compute vtpv, the weighted sum of squares of constrained image parameter residuals.
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.
This is free and unencumbered software released into the public domain.
Namespace for the standard library.