1#ifndef BundleObservation_h
2#define BundleObservation_h
15#include "BundleImage.h"
16#include "BundleObservationSolveSettings.h"
17#include "BundleSettings.h"
18#include "BundleTargetBody.h"
19#include "LinearAlgebra.h"
20#include "BundleMeasure.h"
21#include "SurfacePoint.h"
78 virtual int numberParameters() = 0;
81 virtual void bundleOutputString(std::ostream &fpOut,
bool errorPropagation) = 0;
82 virtual QString bundleOutputCSV(
bool errorPropagation) = 0;
92 virtual double computeObservationValue(
BundleMeasure &measure,
double deltaVal) = 0;
99 QMap<QString, BundleImageQsp> m_cubeSerialNumberToBundleImageMap;
A container class for a ControlMeasure.
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.
This class is used to modify and manage solve settings for 1 to many BundleObservations.
boost::numeric::ublas::vector< double > Vector
Definition for an Isis::LinearAlgebra::Vector of doubles.
boost::numeric::ublas::matrix< double > Matrix
Definition for an Isis::LinearAlgebra::Matrix of doubles.
CoordinateType
Defines the coordinate typ, units, and coordinate index for some of the output methods.
@ Rectangular
Body-fixed rectangular x/y/z coordinates.
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.
QSharedPointer< BundleObservation > BundleObservationQsp
Typdef for BundleObservation QSharedPointer.