Isis 3 Programmer Reference
|
This class holds information about a lidar control point that BundleAdjust requires. More...
#include <BundleLidarControlPoint.h>
Public Member Functions | |
BundleLidarControlPoint (BundleSettingsQsp bundleSettings, LidarControlPointQsp lidarControlPoint) | |
Constructs a BundleLidarControlPoint object from a LidarControlPoint. | |
~BundleLidarControlPoint () | |
TODO: implement? Copy constructor. | |
BundleLidarControlPoint & | operator= (const BundleLidarControlPoint &src) |
void | copy (const BundleLidarControlPoint &src) |
Copies given BundleLidarControlPoint to this BundleLidarControlPoint. | |
void | initializeRangeConstraints () |
Initialize range constraints. | |
int | applyLidarRangeConstraints (SparseBlockMatrix &normalsMatrix, LinearAlgebra::MatrixUpperTriangular &N22, SparseBlockColumnMatrix &N12, LinearAlgebra::VectorCompressed &n1, LinearAlgebra::Vector &n2) |
Applies range constraint between image and lidar point acquired simultaneously. | |
void | computeResiduals () |
Computes the residuals for this BundleLidarControlPoint. | |
virtual void | applyParameterCorrections (LinearAlgebra::Vector imageSolution, SparseBlockMatrix &sparseNormals, const BundleTargetBodyQsp target) |
Apply the parameter corrections to the lidar range. | |
BundleLidarRangeConstraintQsp | rangeConstraint (int n) |
Returns range constraint at index n. | |
double | vtpvRangeContribution () |
Returns Weighted sum of squares of range residuals for this point. | |
int | numberRangeConstraints () |
Returns number of range constraints between this lidar point & images acquired simultaneously. | |
double | range () |
Returns range between this point and ??? | |
double | sigmaRange () |
Returns sigma of observed range. | |
void | copy (const BundleControlPoint &src) |
Copies given BundleControlPoint to this BundleControlPoint. | |
BundleMeasureQsp | addMeasure (ControlMeasure *controlMeasure) |
Creates a BundleMeasure from the given ControlMeasure and appends it to this BundleControlPoint's measure list. | |
void | setAdjustedSurfacePoint (SurfacePoint surfacePoint) |
Sets the adjusted surface point for this BundleControlPoint. | |
void | setNumberOfRejectedMeasures (int numRejected) |
Sets the number of rejected measures for this BundleControlPoint. | |
void | setRejected (bool reject) |
Sets this BundleControlPoint to rejected or not rejected. | |
void | setWeights (const BundleSettingsQsp settings) |
Sets the weights using the given BundleSettings QSharedPointer and a conversion value for meters to radians. | |
void | setSigmaWeightFromGlobals (double gSigma, int index) |
Sets the member sigmas and weights from a global sigma. | |
void | setSigmaWeightFromGlobals (double gSigma, int index, double cFactor) |
void | zeroNumberOfRejectedMeasures () |
Resets the number of rejected measures for this BundleControlPoint to zero. | |
void | productAlphaAV (double alpha, SparseBlockMatrix &sparseNormals, LinearAlgebra::Vector &v1) |
Perform the matrix multiplication v2 = alpha ( Q x v1 ). | |
double | vtpv () |
Compute vtpv, the weighted sum of squares of constrained point residuals. | |
double | vtpvMeasures () |
Compute vtpv of image measures (weighted sum of squares of measure residuals). | |
ControlPoint * | rawControlPoint () const |
Accessor for the raw ControlPoint object used for this BundleControlPoint. | |
bool | isRejected () const |
Method used to determine whether this control point is rejected. | |
int | numberOfMeasures () const |
Accesses number of measures associated with this BundleControlPoint. | |
int | numberOfRejectedMeasures () const |
Accesses the number of rejected measures for this BundleControlPoint. | |
double | residualRms () const |
Gets the root-mean-square (rms) of the BundleControlPoint's residuals. | |
SurfacePoint | adjustedSurfacePoint () const |
Accesses the adjusted SurfacePoint associated with this BundleControlPoint. | |
QString | id () const |
Accesses the Point ID associated with this BundleControlPoint. | |
ControlPoint::PointType | type () const |
Accesses BundleControlPoint's type. | |
SurfacePoint::CoordinateType | coordTypeReports () const |
Accesses BundleControlPoint's coordinate type for reports. | |
SurfacePoint::CoordinateType | coordTypeBundle () const |
Accesses BundleControlPoint's control point coordinate type for the bundle adjustment. | |
boost::numeric::ublas::bounded_vector< double, 3 > & | corrections () |
Accesses the 3 dimensional ordered vector of correction values associated with coord1, coord2, and coord 3 (latitude, longitude, and radius or X, Y, and Z. | |
boost::numeric::ublas::bounded_vector< double, 3 > & | aprioriSigmas () |
Accesses the 3 dimensional ordered vector of apriori sigmas (apriori coordinate1, apriori coordinate2, apriori coordinate3). | |
boost::numeric::ublas::bounded_vector< double, 3 > & | adjustedSigmas () |
Accesses the 3 dimensional ordered vector of adjusted sigmas (adjusted coordinate1, adjusted coordinate2, adjusted coordinate3). | |
boost::numeric::ublas::bounded_vector< double, 3 > & | weights () |
Accesses the 3 dimensional ordered vector of weight values associated with coordinate1, coordinate2, and coordinate3. | |
boost::numeric::ublas::bounded_vector< double, 3 > & | nicVector () |
Accesses the 3 dimensional ordered NIC vector. | |
SparseBlockRowMatrix & | cholmodQMatrix () |
Accesses the CholMod matrix associated with this BundleControlPoint. | |
QString | formatBundleOutputSummaryString (bool errorPropagation) const |
Formats an output summary string for this BundleControlPoint. | |
QString | formatBundleOutputDetailString (bool errorPropagation, bool solveRadius=false) const |
Formats a detailed output string table for this BundleControlPoint. | |
QString | formatBundleLatitudinalOutputDetailString (bool errorPropagation, bool solveRadius=false) const |
Formats a detailed output string table for this Latitudinal BundleControlPoint. | |
QString | formatBundleRectangularOutputDetailString (bool errorPropagation) const |
Formats a detailed output string table for this Rectangular BundleControlPoint. | |
QString | formatValue (double value, int fieldWidth, int precision) const |
Formats the given double precision value using the specified field width and precision. | |
QString | formatAprioriSigmaString (SurfacePoint::CoordIndex index, int fieldWidth, int precision, bool solveRadius=false) const |
Formats the apriori sigma value indicated by the given type code. | |
QString | formatCoordAprioriSigmaString (SurfacePoint::CoordIndex index, int fieldWidth, int precision, bool solveRadius=false) const |
Formats the apriori coordinate 1 (latitude or X) sigma value. | |
QString | formatAdjustedSigmaString (SurfacePoint::CoordIndex, int fieldWidth, int precision, bool errorPropagation) const |
Formats the adjusted sigma value indicated by the given type code. | |
QString | formatCoordAdjustedSigmaString (SurfacePoint::CoordIndex, int fieldWidth, int precision, bool errorPropagation) const |
Formats the adjusted coordinate sigma value. | |
Protected Attributes | |
ControlPoint * | m_controlPoint |
< pointer to the control point object this represents | |
Private Member Functions | |
void | updateAdjustedSurfacePointLatitudinally (const BundleTargetBodyQsp target) |
Apply the parameter corrections to the bundle control point latitudinally. | |
void | updateAdjustedSurfacePointRectangularly () |
Apply the parameter corrections to the bundle control point rectangularly. | |
Private Attributes | |
LidarControlPointQsp | m_lidarControlPoint |
QVector< BundleLidarRangeConstraintQsp > | m_rangeConstraints |
boost::numeric::ublas::bounded_vector< double, 3 > | m_corrections |
corrections to point parameters | |
boost::numeric::ublas::bounded_vector< double, 3 > | m_aprioriSigmas |
apriori sigmas for point parameters | |
boost::numeric::ublas::bounded_vector< double, 3 > | m_adjustedSigmas |
adjusted sigmas for point parameters | |
boost::numeric::ublas::bounded_vector< double, 3 > | m_weights |
weights for point parameters | |
boost::numeric::ublas::bounded_vector< double, 3 > | m_nicVector |
array of NICs (see Brown, 1976) | |
SparseBlockRowMatrix | m_cholmodQMatrix |
The CholMod matrix associated with this point. | |
SurfacePoint::CoordinateType | m_coordTypeReports |
BundleControlPoint coordinate type. | |
SurfacePoint::CoordinateType | m_coordTypeBundle |
This class holds information about a lidar control point that BundleAdjust requires.
This class was created to extract functionality from BundleAdjust and wrap a LidarControlPoint with the extra necessary information to correctly perform a bundle adjustment.
Note that only non-ignored lidar control points should be used to construct a BundleLidarControlPoint. Similarly, a BundleLidarControlPoint should only contain non-ignored control measures.
Definition at line 38 of file BundleLidarControlPoint.h.
Isis::BundleLidarControlPoint::BundleLidarControlPoint | ( | BundleSettingsQsp | bundleSettings, |
LidarControlPointQsp | lidarControlPoint ) |
Constructs a BundleLidarControlPoint object from a LidarControlPoint.
Only the non-ignored measures are added to the BundleLidarControlPoint.
bundleSettings | BundleSettings. |
controlPoint | Pointer to a ControlPoint that will be used to construct this BundleLidarControlPoint. |
TODO: is the typecast expensive?
Definition at line 41 of file BundleLidarControlPoint.cpp.
Isis::BundleLidarControlPoint::~BundleLidarControlPoint | ( | ) |
TODO: implement? Copy constructor.
src | The BundleLidarControlPoint to be copied. Destructor. |
Definition at line 83 of file BundleLidarControlPoint.cpp.
|
inherited |
Creates a BundleMeasure from the given ControlMeasure and appends it to this BundleControlPoint's measure list.
controlMeasure | The ControlMeasure to be converted. |
Definition at line 125 of file BundleControlPoint.cpp.
Referenced by Isis::BundleControlPoint::BundleControlPoint().
|
inherited |
Accesses the 3 dimensional ordered vector of adjusted sigmas (adjusted coordinate1, adjusted coordinate2, adjusted coordinate3).
Definition at line 571 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::m_adjustedSigmas.
|
inherited |
Accesses the adjusted SurfacePoint associated with this BundleControlPoint.
Definition at line 484 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::m_controlPoint.
Referenced by Isis::BundleAdjust::computePartials(), Isis::IsisBundleObservation::computePoint3DPartials(), Isis::IsisBundleObservation::computeRHSPartials(), Isis::CsmBundleObservation::computeRHSPartials(), Isis::IsisBundleObservation::computeTargetPartials(), Isis::BundleControlPoint::formatAdjustedSigmaString(), Isis::BundleControlPoint::updateAdjustedSurfacePointLatitudinally(), and Isis::BundleControlPoint::updateAdjustedSurfacePointRectangularly().
int Isis::BundleLidarControlPoint::applyLidarRangeConstraints | ( | SparseBlockMatrix & | normalsMatrix, |
LinearAlgebra::MatrixUpperTriangular & | N22, | ||
SparseBlockColumnMatrix & | N12, | ||
LinearAlgebra::VectorCompressed & | n1, | ||
LinearAlgebra::Vector & | n2 ) |
Applies range constraint between image and lidar point acquired simultaneously.
normalsMatrix | Bundle Adjustment normal equations matrix. |
N22 | Normal equation matrix for the point. |
N12 | Normal equations block between image and point. |
n1 | Right hand side vector for the images and target body. |
n2 | Right hand side vector for the point. |
Definition at line 142 of file BundleLidarControlPoint.cpp.
|
virtual |
Apply the parameter corrections to the lidar range.
Reimplemented from Isis::BundleControlPoint.
Definition at line 115 of file BundleLidarControlPoint.cpp.
References Isis::BundleControlPoint::applyParameterCorrections().
|
inherited |
Accesses the 3 dimensional ordered vector of apriori sigmas (apriori coordinate1, apriori coordinate2, apriori coordinate3).
Definition at line 557 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::m_aprioriSigmas.
|
inherited |
Accesses the CholMod matrix associated with this BundleControlPoint.
Definition at line 602 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::m_cholmodQMatrix.
void Isis::BundleLidarControlPoint::computeResiduals | ( | ) |
Computes the residuals for this BundleLidarControlPoint.
Definition at line 102 of file BundleLidarControlPoint.cpp.
|
inherited |
Accesses BundleControlPoint's control point coordinate type for the bundle adjustment.
Definition at line 533 of file BundleControlPoint.cpp.
|
inherited |
Accesses BundleControlPoint's coordinate type for reports.
Definition at line 520 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::m_coordTypeReports.
|
inherited |
Copies given BundleControlPoint to this BundleControlPoint.
src | The BundleControlPoint to be copied. |
Definition at line 94 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::m_adjustedSigmas, Isis::BundleControlPoint::m_aprioriSigmas, Isis::BundleControlPoint::m_controlPoint, Isis::BundleControlPoint::m_coordTypeReports, Isis::BundleControlPoint::m_corrections, Isis::BundleControlPoint::m_nicVector, and Isis::BundleControlPoint::m_weights.
Referenced by Isis::BundleControlPoint::BundleControlPoint(), and copy().
void Isis::BundleLidarControlPoint::copy | ( | const BundleLidarControlPoint & | src | ) |
Copies given BundleLidarControlPoint to this BundleLidarControlPoint.
src | The BundleLidarControlPoint to be copied. |
Definition at line 92 of file BundleLidarControlPoint.cpp.
References Isis::BundleControlPoint::copy().
|
inherited |
Accesses the 3 dimensional ordered vector of correction values associated with coord1, coord2, and coord 3 (latitude, longitude, and radius or X, Y, and Z.
A bounded vector is recommended because the size will always be 3.
Definition at line 546 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::m_corrections.
|
inherited |
Formats the adjusted sigma value indicated by the given type code.
If error propagation is false or the selected sigma type was set to Null, then only "N/A" will be returned.
index | CoordIndex Coordinate index One: Latitude or X, Two: Longitude or Y, or Three: Radius or Z |
fieldWidth | The return string's field width. |
precision | The precision of the double to be saved off. |
errorPropagation | Indicates whether error propagation was selected. |
Definition at line 1048 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::adjustedSurfacePoint(), Isis::SurfacePoint::GetSigmaDistance(), Isis::IsSpecial(), Isis::BundleControlPoint::m_coordTypeReports, Isis::Distance::meters(), and Isis::Null.
Referenced by Isis::BundleControlPoint::formatCoordAdjustedSigmaString().
|
inherited |
Formats the apriori sigma value indicated by the given type code.
If no sigma was set, then the string "N/A" will be returned.
index | CoordIndex Coordinate index One: Latitude or X, Two: Longitude or Y, or Three: Radius or Z |
fieldWidth | The return string's field width. |
precision | The precision of the double to be saved off. |
solveRadius | A flag indicating to solve for each points individual radius. When solveRadius is false, the point radius is heavily weighted |
Definition at line 998 of file BundleControlPoint.cpp.
References Isis::IsSpecial(), Isis::BundleControlPoint::m_aprioriSigmas, Isis::ControlPoint::PointTypeToString(), and Isis::BundleControlPoint::type().
Referenced by Isis::BundleControlPoint::formatCoordAprioriSigmaString().
|
inherited |
Formats a detailed output string table for this Latitudinal BundleControlPoint.
errorPropagation | Indicates whether error propagation was selected. |
RTM | Conversion factor from radians to meters. Used to convert the latitude and longitude corrections to meters. |
solveRadius | A flag indicating to solve for each points individual radius. When solveRadius is false, the point radius is heavily weighted |
Definition at line 707 of file BundleControlPoint.cpp.
References Isis::DEG2RAD, Isis::Angle::degrees(), Isis::BundleControlPoint::formatCoordAdjustedSigmaString(), Isis::BundleControlPoint::formatCoordAprioriSigmaString(), Isis::BundleControlPoint::formatValue(), Isis::SurfacePoint::GetLatitude(), Isis::SurfacePoint::GetLocalRadius(), Isis::SurfacePoint::GetLongitude(), Isis::IsSpecial(), Isis::Displacement::Kilometers, Isis::Displacement::kilometers(), Isis::Distance::kilometers(), Isis::SurfacePoint::LatitudeToMeters(), Isis::SurfacePoint::Latitudinal, Isis::SurfacePoint::LongitudeToMeters(), Isis::BundleControlPoint::m_controlPoint, Isis::BundleControlPoint::m_corrections, Isis::Null, Isis::BundleControlPoint::numberOfMeasures(), Isis::BundleControlPoint::numberOfRejectedMeasures(), Isis::ControlPoint::PointTypeToString(), Isis::IException::Programmer, Isis::RAD2DEG, Isis::SurfacePoint::Rectangular, Isis::toString(), and Isis::BundleControlPoint::type().
Referenced by Isis::BundleControlPoint::formatBundleOutputDetailString().
|
inherited |
Formats a detailed output string table for this BundleControlPoint.
errorPropagation | Indicates whether error propagation was selected. |
RTM | Conversion factor from radians to meters. Used to convert the latitude and longitude corrections to meters. |
solveRadius | A flag indicating to solve for each points individual radius. When solveRadius is false, the point radius is heavily weighted |
Definition at line 668 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::formatBundleLatitudinalOutputDetailString(), Isis::BundleControlPoint::formatBundleRectangularOutputDetailString(), Isis::SurfacePoint::Latitudinal, Isis::BundleControlPoint::m_coordTypeReports, Isis::IException::Programmer, Isis::SurfacePoint::Rectangular, and Isis::toString().
|
inherited |
Formats an output summary string for this BundleControlPoint.
This string includes ID, point type, number of rays from non-rejected measures, residual RMS, adjusted coordinate1, adjusted coordinate 2, and adjusted coordinate 3 followed by the adjusted sigmas. In the case of Latitudinal coordinates, the coordinates will be adjusted latitude and longitude (in degrees), the adjusted radius (in km), and the adjusted sigmas for latitude, longitude and radius all in meters. In the case of Rectangular coordinates, the coordinates will be X, Y, Z (in km), and the adjusted sigmas for X, Y, and Z all in meters.
errorPropagation | Indicates whether error propagation was selected. |
Definition at line 621 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::formatCoordAdjustedSigmaString(), Isis::BundleControlPoint::formatValue(), Isis::SurfacePoint::GetCoord(), Isis::BundleControlPoint::m_controlPoint, Isis::BundleControlPoint::m_coordTypeReports, Isis::BundleControlPoint::numberOfMeasures(), Isis::BundleControlPoint::numberOfRejectedMeasures(), Isis::ControlPoint::PointTypeToString(), Isis::SurfacePoint::Rectangular, Isis::BundleControlPoint::residualRms(), and Isis::BundleControlPoint::type().
|
inherited |
Formats a detailed output string table for this Rectangular BundleControlPoint.
errorPropagation | Indicates whether error propagation was selected. |
Definition at line 850 of file BundleControlPoint.cpp.
References Isis::Angle::Degrees, Isis::Angle::degrees(), Isis::BundleControlPoint::formatCoordAdjustedSigmaString(), Isis::BundleControlPoint::formatCoordAprioriSigmaString(), Isis::BundleControlPoint::formatValue(), Isis::SurfacePoint::GetLatitude(), Isis::SurfacePoint::GetLocalRadius(), Isis::SurfacePoint::GetLongitude(), Isis::IsSpecial(), Isis::Displacement::kilometers(), Isis::Distance::Kilometers, Isis::Distance::kilometers(), Isis::SurfacePoint::Latitudinal, Isis::BundleControlPoint::m_controlPoint, Isis::BundleControlPoint::m_corrections, Isis::Null, Isis::BundleControlPoint::numberOfMeasures(), Isis::BundleControlPoint::numberOfRejectedMeasures(), Isis::ControlPoint::PointTypeToString(), Isis::IException::Programmer, Isis::RAD2DEG, Isis::SurfacePoint::Rectangular, Isis::toString(), and Isis::BundleControlPoint::type().
Referenced by Isis::BundleControlPoint::formatBundleOutputDetailString().
|
inherited |
Formats the adjusted coordinate sigma value.
index | The coordinate index of the sigma to return. |
fieldWidth | The return string's field width. |
precision | The precision of the double to be saved off. |
errorPropagation | Indicates whether error propagation was selected. |
Definition at line 1084 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::formatAdjustedSigmaString().
Referenced by Isis::BundleControlPoint::formatBundleLatitudinalOutputDetailString(), Isis::BundleControlPoint::formatBundleOutputSummaryString(), and Isis::BundleControlPoint::formatBundleRectangularOutputDetailString().
|
inherited |
Formats the apriori coordinate 1 (latitude or X) sigma value.
fieldWidth | The return string's field width. |
precision | The precision of the double to be saved off. |
Definition at line 1027 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::formatAprioriSigmaString().
Referenced by Isis::BundleControlPoint::formatBundleLatitudinalOutputDetailString(), and Isis::BundleControlPoint::formatBundleRectangularOutputDetailString().
|
inherited |
Formats the given double precision value using the specified field width and precision.
If the given value is special, then "Null" is returned.
value | The double value to be formattted. |
fieldWidth | The return string's field width. |
precision | The precision of the given double value to be saved off. |
Definition at line 976 of file BundleControlPoint.cpp.
References Isis::IsSpecial().
Referenced by Isis::BundleControlPoint::formatBundleLatitudinalOutputDetailString(), Isis::BundleControlPoint::formatBundleOutputSummaryString(), and Isis::BundleControlPoint::formatBundleRectangularOutputDetailString().
|
inherited |
Accesses the Point ID associated with this BundleControlPoint.
Definition at line 494 of file BundleControlPoint.cpp.
References Isis::ControlPoint::GetId(), and Isis::BundleControlPoint::m_controlPoint.
Referenced by Isis::BundleAdjust::computePartials(), Isis::IsisBundleObservation::computeRHSPartials(), and Isis::CsmBundleObservation::computeRHSPartials().
void Isis::BundleLidarControlPoint::initializeRangeConstraints | ( | ) |
Initialize range constraints.
Definition at line 53 of file BundleLidarControlPoint.cpp.
|
inherited |
Method used to determine whether this control point is rejected.
Definition at line 440 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::m_controlPoint.
Referenced by Isis::BundleControlPoint::applyParameterCorrections().
|
inherited |
Accesses the 3 dimensional ordered NIC vector.
Definition at line 592 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::m_nicVector.
|
inherited |
Accesses number of measures associated with this BundleControlPoint.
Definition at line 450 of file BundleControlPoint.cpp.
Referenced by Isis::BundleControlPoint::formatBundleLatitudinalOutputDetailString(), Isis::BundleControlPoint::formatBundleOutputSummaryString(), and Isis::BundleControlPoint::formatBundleRectangularOutputDetailString().
|
inherited |
Accesses the number of rejected measures for this BundleControlPoint.
Definition at line 462 of file BundleControlPoint.cpp.
References Isis::ControlPoint::GetNumberOfRejectedMeasures(), and Isis::BundleControlPoint::m_controlPoint.
Referenced by Isis::BundleControlPoint::formatBundleLatitudinalOutputDetailString(), Isis::BundleControlPoint::formatBundleOutputSummaryString(), and Isis::BundleControlPoint::formatBundleRectangularOutputDetailString().
int Isis::BundleLidarControlPoint::numberRangeConstraints | ( | ) |
Returns number of range constraints between this lidar point & images acquired simultaneously.
Definition at line 182 of file BundleLidarControlPoint.cpp.
|
inherited |
Perform the matrix multiplication v2 = alpha ( Q x v1 ).
alpha | A constant multiplier. |
sparseNormals | The sparse block normal equations matrix. |
v2 | The output vector. |
Q | A sparse block matrix. |
v1 | A vector. |
Definition at line 367 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::m_cholmodQMatrix, and Isis::BundleControlPoint::m_nicVector.
Referenced by Isis::BundleControlPoint::applyParameterCorrections().
double Isis::BundleLidarControlPoint::range | ( | ) |
Returns range between this point and ???
Definition at line 206 of file BundleLidarControlPoint.cpp.
BundleLidarRangeConstraintQsp Isis::BundleLidarControlPoint::rangeConstraint | ( | int | n | ) |
Returns range constraint at index n.
int | Index of range constraint to return. |
Definition at line 195 of file BundleLidarControlPoint.cpp.
|
inherited |
Accessor for the raw ControlPoint object used for this BundleControlPoint.
Definition at line 430 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::m_controlPoint.
|
inherited |
Gets the root-mean-square (rms) of the BundleControlPoint's residuals.
Definition at line 474 of file BundleControlPoint.cpp.
References Isis::ControlPoint::GetResidualRms(), and Isis::BundleControlPoint::m_controlPoint.
Referenced by Isis::BundleControlPoint::formatBundleOutputSummaryString().
|
inherited |
Sets the adjusted surface point for this BundleControlPoint.
surfacePoint | The surface point to be set. |
Definition at line 155 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::m_controlPoint, and Isis::ControlPoint::SetAdjustedSurfacePoint().
Referenced by Isis::BundleControlPoint::updateAdjustedSurfacePointLatitudinally(), and Isis::BundleControlPoint::updateAdjustedSurfacePointRectangularly().
|
inherited |
Sets the number of rejected measures for this BundleControlPoint.
numRejected | Number of rejected measures. |
Definition at line 167 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::m_controlPoint, and Isis::ControlPoint::SetNumberOfRejectedMeasures().
|
inherited |
Sets this BundleControlPoint to rejected or not rejected.
reject | True will set the BundleControlPoint to rejected. |
Definition at line 179 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::m_controlPoint, and Isis::ControlPoint::SetRejected().
|
inherited |
Sets the member sigmas and weights from a global sigma.
TODO *** Should index be SurfacePoint::CoordIndex?
gSigma | The global sigma to assign. |
index | The index of the point coordinate being set (0, 1, or 2). |
cFactor | The conversion factor applied to gSigma to match bundle variable units. |
Definition at line 288 of file BundleControlPoint.cpp.
References Isis::SurfacePoint::Latitudinal, Isis::BundleControlPoint::m_aprioriSigmas, Isis::BundleControlPoint::m_controlPoint, Isis::BundleControlPoint::m_weights, Isis::SurfacePoint::MetersToLatitude(), Isis::SurfacePoint::MetersToLongitude(), Isis::IException::Programmer, Isis::SurfacePoint::Rectangular, and Isis::toString().
Referenced by Isis::BundleControlPoint::setWeights().
|
inherited |
Sets the weights using the given BundleSettings QSharedPointer and a conversion value for meters to radians.
settings | A QSharedPointer to BundleSettings object. |
metersToRadians | A double precision conversion factor. |
Definition at line 191 of file BundleControlPoint.cpp.
References Isis::ControlPoint::Constrained, Isis::ControlPoint::Fixed, Isis::ControlPoint::Free, Isis::SurfacePoint::GetSigmaDistance(), Isis::ControlPoint::GetType(), Isis::SurfacePoint::GetWeight(), Isis::ControlPoint::IsCoord1Constrained(), Isis::ControlPoint::IsCoord2Constrained(), Isis::ControlPoint::IsCoord3Constrained(), Isis::IsSpecial(), Isis::SurfacePoint::Latitudinal, Isis::BundleControlPoint::m_aprioriSigmas, Isis::BundleControlPoint::m_controlPoint, Isis::BundleControlPoint::m_coordTypeReports, Isis::BundleControlPoint::m_weights, Isis::Distance::meters(), and Isis::BundleControlPoint::setSigmaWeightFromGlobals().
Referenced by Isis::BundleControlPoint::BundleControlPoint().
double Isis::BundleLidarControlPoint::sigmaRange | ( | ) |
Returns sigma of observed range.
Definition at line 217 of file BundleLidarControlPoint.cpp.
|
inherited |
Accesses BundleControlPoint's type.
Definition at line 507 of file BundleControlPoint.cpp.
References Isis::ControlPoint::GetType(), and Isis::BundleControlPoint::m_controlPoint.
Referenced by Isis::BundleControlPoint::formatAprioriSigmaString(), Isis::BundleControlPoint::formatBundleLatitudinalOutputDetailString(), Isis::BundleControlPoint::formatBundleOutputSummaryString(), and Isis::BundleControlPoint::formatBundleRectangularOutputDetailString().
|
privateinherited |
Apply the parameter corrections to the bundle control point latitudinally.
factor | The unit conversion factor to use on lat & lon. Radius is in km & converted to m |
target | The BundleTargetBody. |
Definition at line 1097 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::adjustedSurfacePoint(), Isis::Angle::Degrees, Isis::BundleControlPoint::m_nicVector, Isis::Distance::Meters, Isis::RAD2DEG, and Isis::BundleControlPoint::setAdjustedSurfacePoint().
Referenced by Isis::BundleControlPoint::applyParameterCorrections().
|
privateinherited |
Apply the parameter corrections to the bundle control point rectangularly.
factor | The unit conversion factor to use on the coordinates. |
Definition at line 1164 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::adjustedSurfacePoint(), Isis::BundleControlPoint::m_nicVector, Isis::Displacement::Meters, and Isis::BundleControlPoint::setAdjustedSurfacePoint().
Referenced by Isis::BundleControlPoint::applyParameterCorrections().
|
inherited |
Compute vtpv, the weighted sum of squares of constrained point residuals.
Definition at line 1221 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::m_corrections, Isis::BundleControlPoint::m_weights, and Isis::BundleControlPoint::vtpv().
Referenced by Isis::BundleControlPoint::vtpv(), Isis::BundleControlPoint::vtpvMeasures(), and vtpvRangeContribution().
|
inherited |
Compute vtpv of image measures (weighted sum of squares of measure residuals).
Definition at line 1193 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::vtpv().
double Isis::BundleLidarControlPoint::vtpvRangeContribution | ( | ) |
Returns Weighted sum of squares of range residuals for this point.
Definition at line 166 of file BundleLidarControlPoint.cpp.
References Isis::BundleControlPoint::vtpv().
|
inherited |
Accesses the 3 dimensional ordered vector of weight values associated with coordinate1, coordinate2, and coordinate3.
Definition at line 582 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::m_weights.
|
inherited |
Resets the number of rejected measures for this BundleControlPoint to zero.
Definition at line 353 of file BundleControlPoint.cpp.
References Isis::BundleControlPoint::m_controlPoint, and Isis::ControlPoint::ZeroNumberOfRejectedMeasures().
|
privateinherited |
adjusted sigmas for point parameters
Definition at line 178 of file BundleControlPoint.h.
Referenced by Isis::BundleControlPoint::adjustedSigmas(), Isis::BundleControlPoint::BundleControlPoint(), and Isis::BundleControlPoint::copy().
|
privateinherited |
apriori sigmas for point parameters
Definition at line 176 of file BundleControlPoint.h.
Referenced by Isis::BundleControlPoint::aprioriSigmas(), Isis::BundleControlPoint::BundleControlPoint(), Isis::BundleControlPoint::copy(), Isis::BundleControlPoint::formatAprioriSigmaString(), Isis::BundleControlPoint::setSigmaWeightFromGlobals(), and Isis::BundleControlPoint::setWeights().
|
privateinherited |
The CholMod matrix associated with this point.
Definition at line 184 of file BundleControlPoint.h.
Referenced by Isis::BundleControlPoint::cholmodQMatrix(), and Isis::BundleControlPoint::productAlphaAV().
|
protectedinherited |
< pointer to the control point object this represents
Definition at line 166 of file BundleControlPoint.h.
Referenced by Isis::BundleControlPoint::adjustedSurfacePoint(), Isis::BundleControlPoint::BundleControlPoint(), Isis::BundleControlPoint::computeResiduals(), Isis::BundleControlPoint::copy(), Isis::BundleControlPoint::formatBundleLatitudinalOutputDetailString(), Isis::BundleControlPoint::formatBundleOutputSummaryString(), Isis::BundleControlPoint::formatBundleRectangularOutputDetailString(), Isis::BundleControlPoint::id(), Isis::BundleControlPoint::isRejected(), Isis::BundleControlPoint::numberOfRejectedMeasures(), Isis::BundleControlPoint::rawControlPoint(), Isis::BundleControlPoint::residualRms(), Isis::BundleControlPoint::setAdjustedSurfacePoint(), Isis::BundleControlPoint::setNumberOfRejectedMeasures(), Isis::BundleControlPoint::setRejected(), Isis::BundleControlPoint::setSigmaWeightFromGlobals(), Isis::BundleControlPoint::setWeights(), Isis::BundleControlPoint::type(), and Isis::BundleControlPoint::zeroNumberOfRejectedMeasures().
|
privateinherited |
Definition at line 187 of file BundleControlPoint.h.
|
privateinherited |
BundleControlPoint coordinate type.
Definition at line 186 of file BundleControlPoint.h.
Referenced by Isis::BundleControlPoint::BundleControlPoint(), Isis::BundleControlPoint::coordTypeReports(), Isis::BundleControlPoint::copy(), Isis::BundleControlPoint::formatAdjustedSigmaString(), Isis::BundleControlPoint::formatBundleOutputDetailString(), Isis::BundleControlPoint::formatBundleOutputSummaryString(), and Isis::BundleControlPoint::setWeights().
|
privateinherited |
corrections to point parameters
Definition at line 174 of file BundleControlPoint.h.
Referenced by Isis::BundleControlPoint::applyParameterCorrections(), Isis::BundleControlPoint::BundleControlPoint(), Isis::BundleControlPoint::copy(), Isis::BundleControlPoint::corrections(), Isis::BundleControlPoint::formatBundleLatitudinalOutputDetailString(), Isis::BundleControlPoint::formatBundleRectangularOutputDetailString(), and Isis::BundleControlPoint::vtpv().
|
private |
Definition at line 68 of file BundleLidarControlPoint.h.
|
privateinherited |
array of NICs (see Brown, 1976)
Definition at line 182 of file BundleControlPoint.h.
Referenced by Isis::BundleControlPoint::applyParameterCorrections(), Isis::BundleControlPoint::BundleControlPoint(), Isis::BundleControlPoint::copy(), Isis::BundleControlPoint::nicVector(), Isis::BundleControlPoint::productAlphaAV(), Isis::BundleControlPoint::updateAdjustedSurfacePointLatitudinally(), and Isis::BundleControlPoint::updateAdjustedSurfacePointRectangularly().
|
private |
Definition at line 69 of file BundleLidarControlPoint.h.
|
privateinherited |
weights for point parameters
Definition at line 180 of file BundleControlPoint.h.
Referenced by Isis::BundleControlPoint::BundleControlPoint(), Isis::BundleControlPoint::copy(), Isis::BundleControlPoint::setSigmaWeightFromGlobals(), Isis::BundleControlPoint::setWeights(), Isis::BundleControlPoint::vtpv(), and Isis::BundleControlPoint::weights().