1 #ifndef _CONTROLNETSTATISTICS_H_
2 #define _CONTROLNETSTATISTICS_H_
37 class ControlCubeGraphNode;
142 return (*mPointIntStats.find(
freePoints)).second;
177 return (*mPointDoubleStats.find(
avgResidual)).second;
182 return (*mPointDoubleStats.find(
minResidual)).second;
187 return (*mPointDoubleStats.find(
maxResidual)).second;
252 std::map<int, int> mPointIntStats;
253 std::map<int, double> mPointDoubleStats;
254 std::map<QString, std::vector<double> > mImageMap;
255 std::map<QString, bool> mSerialNumMap;
258 void GetPointIntStats();
261 void GetPointDoubleStats();
263 void UpdateMinMaxStats(
const Statistics & stats,
268 void InitPointDoubleStats();
271 void InitSerialNumMap();
275 Statistics mConvexHullStats, mConvexHullRatioStats;
Definition: ControlNetStatistics.h:101
Definition: ControlNetStatistics.h:95
ePointDoubleStats
Enumeration for Point stats like Tolerances, PixelShifts which have double data.
Definition: ControlNetStatistics.h:100
Definition: ControlNetStatistics.h:96
int NumValidPoints() const
Returns the Number of Valid (Not Ignored) Points in the Control Net.
Definition: ControlNetStatistics.h:126
void GenerateImageStats()
Generate stats like Total, Ignored, Fixed Points in an Image.
Definition: ControlNetStatistics.cpp:216
Definition: ControlNetStatistics.h:101
QList< ControlCubeGraphNode * > mCubeGraphNodes
Definition: ControlNetStatistics.h:249
void GeneratePointStats(const QString &psPointFile)
Generate stats like Ignored, Fixed, Total Measures, Ignored by Control Point.
Definition: ControlNetStatistics.cpp:390
double GetAvgPixelShift() const
Get network Avg PixelShift.
Definition: ControlNetStatistics.h:241
int NumEditLockedPoints() const
Returns total number of edit locked points.
Definition: ControlNetStatistics.h:151
Definition: ControlNetStatistics.h:101
int NumIgnoredPoints() const
Returns the number of ignored points.
Definition: ControlNetStatistics.h:146
Definition: ControlNetStatistics.h:102
Definition: ControlNetStatistics.h:95
int NumFreePoints() const
Returns the number of Constrained Points in Control Net.
Definition: ControlNetStatistics.h:141
ControlNet * mCNet
Control Network.
Definition: ControlNetStatistics.h:247
double GetMinLineResidual() const
Determine the minimum line error of all points in the network.
Definition: ControlNetStatistics.h:191
Definition: ControlNetStatistics.h:101
Definition: ControlNetStatistics.h:95
ePointDetails
Enumeration for Point Statistics.
Definition: ControlNetStatistics.h:91
Definition: ControlNetStatistics.h:106
double GetMinSampleShift() const
Get network Min SampleShift.
Definition: ControlNetStatistics.h:221
std::vector< double > GetImageStatsBySerialNum(QString psSerialNum) const
Returns the Image Stats by Serial Number.
Definition: ControlNetStatistics.cpp:376
Definition: ControlNetStatistics.h:91
Definition: ControlNetStatistics.h:96
ImageStats
Enumeration for image stats.
Definition: ControlNetStatistics.h:106
Definition: ControlNetStatistics.h:106
Definition: ControlNetStatistics.h:102
int NumEditLockedMeasures() const
Returns total number of edit locked measures in the network.
Definition: ControlNetStatistics.h:171
Definition: ControlNetStatistics.h:101
Definition: ControlNetStatistics.h:91
double GetMinimumResidual() const
Determine the minimum error of all points in the network.
Definition: ControlNetStatistics.h:181
ePointIntStats
Enumeration for Point int stats for counts such as valid points, measures etc.
Definition: ControlNetStatistics.h:95
Definition: ControlNetStatistics.h:102
Definition: ControlNetStatistics.h:102
double GetMinPixelShift() const
Get network Min PixelShift.
Definition: ControlNetStatistics.h:231
Definition: ControlNetStatistics.h:91
Definition: ControlNetStatistics.h:96
double GetMaxSampleShift() const
Get network Max SampleShift.
Definition: ControlNetStatistics.h:226
This class is used to accumulate statistics on double arrays.
Definition: Statistics.h:109
Definition: ControlNetStatistics.h:102
Definition: ControlNetStatistics.h:91
Program progress reporter.
Definition: Progress.h:58
static const int numPointDblStats
Definition: ControlNetStatistics.h:103
ControlNetStatistics(ControlNet *pCNet, const QString &psSerialNumFile, Progress *pProgress=0)
Constructor.
Definition: ControlNetStatistics.cpp:48
a control network
Definition: ControlNet.h:207
~ControlNetStatistics()
Destructor.
Definition: ControlNetStatistics.cpp:84
Contains multiple PvlContainers.
Definition: PvlGroup.h:57
Definition: ControlNetStatistics.h:100
Definition: ControlNetStatistics.h:106
Definition: ControlNetStatistics.h:100
Definition: ControlNetStatistics.h:106
Definition: ControlNetStatistics.h:100
Definition: ControlNetStatistics.h:96
Definition: ControlNetStatistics.h:100
int NumValidMeasures() const
Returns the total Number of valid Measures in the Control Net.
Definition: ControlNetStatistics.h:161
SerialNumberList mSerialNumList
Serial Number List.
Definition: ControlNetStatistics.h:246
void PrintImageStats(const QString &psImageFile)
Print the Image Stats into specified output file.
Definition: ControlNetStatistics.cpp:320
double GetMaximumResidual() const
Determine the maximum error of all points in the network.
Definition: ControlNetStatistics.h:186
double GetMinSampleResidual() const
Determine the minimum sample error of all points in the network.
Definition: ControlNetStatistics.h:196
static const int numPointDetails
Definition: ControlNetStatistics.h:92
Definition: ControlNetStatistics.h:106
Definition: ControlNetStatistics.h:102
Definition: ControlNetStatistics.h:106
Definition: ControlNetStatistics.h:100
int NumMeasures() const
Returns the total Number of Measures in the Control Net.
Definition: ControlNetStatistics.h:156
int NumConstrainedPoints() const
Returns the number of Constrained Points in Control Net.
Definition: ControlNetStatistics.h:136
Definition: ControlNetStatistics.h:91
Definition: ControlNetStatistics.h:95
double GetMaxLineShift() const
Get network Max LineShift.
Definition: ControlNetStatistics.h:216
Progress * mProgress
Progress state.
Definition: ControlNetStatistics.h:248
Definition: BoxcarCachingAlgorithm.h:29
static const int numImageStats
Definition: ControlNetStatistics.h:108
Definition: ControlNetStatistics.h:95
double GetMaxPixelShift() const
Get network Max PixelShift.
Definition: ControlNetStatistics.h:236
Definition: ControlNetStatistics.h:107
Definition: ControlNetStatistics.h:101
Definition: ControlNetStatistics.h:100
Definition: ControlNetStatistics.h:107
double GetMinLineShift() const
Get Min and Max LineShift.
Definition: ControlNetStatistics.h:211
Definition: ControlNetStatistics.h:107
Definition: ControlNetStatistics.h:101
Definition: ControlNetStatistics.h:91
Serial Number list generator.
Definition: SerialNumberList.h:78
double GetMaxLineResidual() const
Determine the maximum line error of all points in the network.
Definition: ControlNetStatistics.h:201
double GetMaxSampleResidual() const
Determine the maximum sample error of all points in the network.
Definition: ControlNetStatistics.h:206
Definition: ControlNetStatistics.h:107
double GetAverageResidual() const
Determine the average error of all points in the network.
Definition: ControlNetStatistics.h:176
int NumIgnoredMeasures() const
Returns the total Number of Ignored Measures in the Control Net.
Definition: ControlNetStatistics.h:166
int NumFixedPoints() const
Returns the Number of Fixed Points in the Control Net.
Definition: ControlNetStatistics.h:131
Definition: ControlNetStatistics.h:95
void GenerateControlNetStats(PvlGroup &pStatsGrp)
Generate the Control Net Stats into the PvlGroup.
Definition: ControlNetStatistics.cpp:112
Control Network Stats.
Definition: ControlNetStatistics.h:79
Definition: ControlNetStatistics.h:106
Definition: ControlNetStatistics.h:100
static const int numPointIntStats
Definition: ControlNetStatistics.h:97
Definition: ControlNetStatistics.h:95