1#ifndef _CONTROLNETSTATISTICS_H_ 
    2#define _CONTROLNETSTATISTICS_H_ 
  235      QMap<int, int> mPointIntStats;           
 
  236      QMap<int, double> mPointDoubleStats;     
 
  237      QMap<QString, QVector<double> > mImageMap; 
 
  238      QMap<QString, bool> mSerialNumMap;        
 
  241      void GetPointIntStats();
 
  244      void GetPointDoubleStats();
 
  246      void UpdateMinMaxStats(
const Statistics & stats,
 
  251      void InitPointDoubleStats();
 
  254      void InitSerialNumMap();
 
  258      Statistics mConvexHullStats, mConvexHullRatioStats; 
 
 
a control network
Definition ControlNet.h:258
 
Control Network Stats.
Definition ControlNetStatistics.h:63
 
ePointDoubleStats
Enumeration for Point stats like Tolerances, PixelShifts which have double data.
Definition ControlNetStatistics.h:84
 
@ maxPixelZScore
Definition ControlNetStatistics.h:86
 
@ minSampleShift
Definition ControlNetStatistics.h:85
 
@ maxEccentricity
Definition ControlNetStatistics.h:86
 
@ minLineResidual
Definition ControlNetStatistics.h:84
 
@ maxSampleResidual
Definition ControlNetStatistics.h:84
 
@ maxGFit
Definition ControlNetStatistics.h:86
 
@ minResidual
Definition ControlNetStatistics.h:84
 
@ maxLineResidual
Definition ControlNetStatistics.h:84
 
@ minPixelShift
Definition ControlNetStatistics.h:85
 
@ minSampleResidual
Definition ControlNetStatistics.h:84
 
@ maxSampleShift
Definition ControlNetStatistics.h:85
 
@ maxLineShift
Definition ControlNetStatistics.h:85
 
@ minLineShift
Definition ControlNetStatistics.h:85
 
@ maxPixelShift
Definition ControlNetStatistics.h:85
 
@ minEccentricity
Definition ControlNetStatistics.h:86
 
@ minPixelZScore
Definition ControlNetStatistics.h:86
 
@ avgResidual
Definition ControlNetStatistics.h:84
 
@ avgPixelShift
Definition ControlNetStatistics.h:85
 
@ maxResidual
Definition ControlNetStatistics.h:84
 
@ minGFit
Definition ControlNetStatistics.h:86
 
ControlNet * mCNet
Control Network.
Definition ControlNetStatistics.h:231
 
int NumFixedPoints() const
Returns the Number of Fixed Points in the Control Net.
Definition ControlNetStatistics.h:115
 
int NumValidPoints() const
Returns the Number of Valid (Not Ignored) Points in the Control Net.
Definition ControlNetStatistics.h:110
 
double GetMinLineShift() const
Get Min and Max LineShift.
Definition ControlNetStatistics.h:195
 
double GetMinimumResidual() const
Determine the minimum error of all points in the network.
Definition ControlNetStatistics.h:165
 
double GetMaximumResidual() const
Determine the maximum error of all points in the network.
Definition ControlNetStatistics.h:170
 
int NumFreePoints() const
Returns the number of Constrained Points in Control Net.
Definition ControlNetStatistics.h:125
 
int NumIgnoredPoints() const
Returns the number of ignored points.
Definition ControlNetStatistics.h:130
 
QVector< double > GetImageStatsBySerialNum(QString psSerialNum) const
Returns the Image Stats by Serial Number.
Definition ControlNetStatistics.cpp:374
 
ePointDetails
Enumeration for Point Statistics.
Definition ControlNetStatistics.h:75
 
@ constrained
Definition ControlNetStatistics.h:75
 
@ total
Definition ControlNetStatistics.h:75
 
@ freed
Definition ControlNetStatistics.h:75
 
@ locked
Definition ControlNetStatistics.h:75
 
@ fixed
Definition ControlNetStatistics.h:75
 
@ ignore
Definition ControlNetStatistics.h:75
 
static const int numPointIntStats
Definition ControlNetStatistics.h:81
 
int NumValidMeasures() const
Returns the total Number of valid Measures in the Control Net.
Definition ControlNetStatistics.h:145
 
int NumEditLockedMeasures() const
Returns total number of edit locked measures in the network.
Definition ControlNetStatistics.h:155
 
double GetAvgPixelShift() const
Get network Avg PixelShift.
Definition ControlNetStatistics.h:225
 
void PrintImageStats(const QString &psImageFile)
Print the Image Stats into specified output file.
Definition ControlNetStatistics.cpp:318
 
double GetMinSampleResidual() const
Determine the minimum sample error of all points in the network.
Definition ControlNetStatistics.h:180
 
int NumIgnoredMeasures() const
Returns the total Number of Ignored Measures in the Control Net.
Definition ControlNetStatistics.h:150
 
static const int numImageStats
Definition ControlNetStatistics.h:92
 
ImageStats
Enumeration for image stats.
Definition ControlNetStatistics.h:90
 
@ imgTotalPoints
Definition ControlNetStatistics.h:90
 
@ imgLockedPoints
Definition ControlNetStatistics.h:90
 
@ imgConstrainedPoints
Definition ControlNetStatistics.h:91
 
@ imgFreePoints
Definition ControlNetStatistics.h:91
 
@ imgLocked
Definition ControlNetStatistics.h:90
 
@ imgFixedPoints
Definition ControlNetStatistics.h:90
 
@ imgIgnoredPoints
Definition ControlNetStatistics.h:90
 
@ imgConvexHullRatio
Definition ControlNetStatistics.h:91
 
@ imgConvexHullArea
Definition ControlNetStatistics.h:91
 
@ imgLines
Definition ControlNetStatistics.h:90
 
@ imgSamples
Definition ControlNetStatistics.h:90
 
double GetMaxLineResidual() const
Determine the maximum line error of all points in the network.
Definition ControlNetStatistics.h:185
 
static const int numPointDblStats
Definition ControlNetStatistics.h:87
 
double GetMaxLineShift() const
Get network Max LineShift.
Definition ControlNetStatistics.h:200
 
double GetMaxSampleResidual() const
Determine the maximum sample error of all points in the network.
Definition ControlNetStatistics.h:190
 
void GenerateControlNetStats(PvlGroup &pStatsGrp)
Generate the Control Net Stats into the PvlGroup.
Definition ControlNetStatistics.cpp:115
 
double GetMinPixelShift() const
Get network Min PixelShift.
Definition ControlNetStatistics.h:215
 
double GetMaxSampleShift() const
Get network Max SampleShift.
Definition ControlNetStatistics.h:210
 
int NumConstrainedPoints() const
Returns the number of Constrained Points in Control Net.
Definition ControlNetStatistics.h:120
 
void GenerateImageStats()
Generate stats like Total, Ignored, Fixed Points in an Image.
Definition ControlNetStatistics.cpp:219
 
int NumEditLockedPoints() const
Returns total number of edit locked points.
Definition ControlNetStatistics.h:135
 
static const int numPointDetails
Definition ControlNetStatistics.h:76
 
SerialNumberList mSerialNumList
Serial Number List.
Definition ControlNetStatistics.h:230
 
void GeneratePointStats(const QString &psPointFile)
Generate stats like Ignored, Fixed, Total Measures, Ignored by Control Point.
Definition ControlNetStatistics.cpp:388
 
Progress * mProgress
Progress state.
Definition ControlNetStatistics.h:232
 
ePointIntStats
Enumeration for Point int stats for counts such as valid points, measures etc.
Definition ControlNetStatistics.h:79
 
@ constrainedPoints
Definition ControlNetStatistics.h:79
 
@ freePoints
Definition ControlNetStatistics.h:79
 
@ fixedPoints
Definition ControlNetStatistics.h:79
 
@ totalPoints
Definition ControlNetStatistics.h:79
 
@ editLockedMeasures
Definition ControlNetStatistics.h:80
 
@ validMeasures
Definition ControlNetStatistics.h:80
 
@ ignoredMeasures
Definition ControlNetStatistics.h:80
 
@ ignoredPoints
Definition ControlNetStatistics.h:79
 
@ editLockedPoints
Definition ControlNetStatistics.h:79
 
@ validPoints
Definition ControlNetStatistics.h:79
 
@ totalMeasures
Definition ControlNetStatistics.h:80
 
double GetAverageResidual() const
Determine the average error of all points in the network.
Definition ControlNetStatistics.h:160
 
int NumMeasures() const
Returns the total Number of Measures in the Control Net.
Definition ControlNetStatistics.h:140
 
double GetMaxPixelShift() const
Get network Max PixelShift.
Definition ControlNetStatistics.h:220
 
double GetMinSampleShift() const
Get network Min SampleShift.
Definition ControlNetStatistics.h:205
 
double GetMinLineResidual() const
Determine the minimum line error of all points in the network.
Definition ControlNetStatistics.h:175
 
~ControlNetStatistics()
Destructor.
Definition ControlNetStatistics.cpp:87
 
ControlNetStatistics(ControlNet *pCNet, const QString &psSerialNumFile, Progress *pProgress=0)
Constructor.
Definition ControlNetStatistics.cpp:51
 
Program progress reporter.
Definition Progress.h:42
 
Contains multiple PvlContainers.
Definition PvlGroup.h:41
 
Serial Number list generator.
Definition SerialNumberList.h:64
 
This class is used to accumulate statistics on double arrays.
Definition Statistics.h:93
 
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16