  | 
  
    Isis Developer Reference
    
   | 
 
 
 
 
Go to the documentation of this file.    1 #ifndef _CONTROLNETSTATISTICS_H_ 
    2 #define _CONTROLNETSTATISTICS_H_ 
  241       void GetPointIntStats();
 
  244       void GetPointDoubleStats();
 
  246       void UpdateMinMaxStats(
const Statistics & stats,
 
  251       void InitPointDoubleStats();
 
  254       void InitSerialNumMap();
 
  258       Statistics mConvexHullStats, mConvexHullRatioStats; 
 
 
 
@ constrainedPoints
Definition: ControlNetStatistics.h:79
 
@ minLineShift
Definition: ControlNetStatistics.h:85
 
double GetResidualMagnitude() const
Return Residual magnitude.
Definition: ControlMeasure.cpp:712
 
@ imgTotalPoints
Definition: ControlNetStatistics.h:90
 
ControlPoint * Parent()
Definition: ControlMeasure.h:260
 
@ minSampleShift
Definition: ControlNetStatistics.h:85
 
This class is used to accumulate statistics on double arrays.
Definition: Statistics.h:94
 
static const int numPointDetails
Definition: ControlNetStatistics.h:76
 
@ Io
A type of error that occurred when performing an actual I/O operation.
Definition: IException.h:155
 
void AddData(const double *data, const unsigned int count)
Add an array of doubles to the accumulators and counters.
Definition: Statistics.cpp:141
 
void GenerateImageStats()
Generate stats like Total, Ignored, Fixed Points in an Image.
Definition: ControlNetStatistics.cpp:220
 
@ minEccentricity
Definition: ControlNetStatistics.h:86
 
@ totalPoints
Definition: ControlNetStatistics.h:79
 
double GetMaxPixelShift() const
Get network Max PixelShift.
Definition: ControlNetStatistics.h:220
 
@ ignoredMeasures
Definition: ControlNetStatistics.h:80
 
void CheckStatus()
Checks and updates the status.
Definition: Progress.cpp:105
 
double GetMaxLineShift() const
Get network Max LineShift.
Definition: ControlNetStatistics.h:200
 
A single keyword-value pair.
Definition: PvlKeyword.h:82
 
ePointDoubleStats
Enumeration for Point stats like Tolerances, PixelShifts which have double data.
Definition: ControlNetStatistics.h:84
 
@ maxSampleShift
Definition: ControlNetStatistics.h:85
 
const ControlMeasure * GetMeasure(QString serialNumber) const
Get a control measure based on its cube's serial number.
Definition: ControlPoint.cpp:416
 
@ ignoredPoints
Definition: ControlNetStatistics.h:79
 
int size() const
How many serial number / filename combos are in the list.
Definition: SerialNumberList.cpp:384
 
double GetMinLineResidual() const
Determine the minimum line error of all points in the network.
Definition: ControlNetStatistics.h:175
 
@ avgPixelShift
Definition: ControlNetStatistics.h:85
 
@ imgSamples
Definition: ControlNetStatistics.h:90
 
ImageStats
Enumeration for image stats.
Definition: ControlNetStatistics.h:90
 
File name manipulation and expansion.
Definition: FileName.h:100
 
void SetMaximumSteps(const int steps)
This sets the maximum number of steps in the process.
Definition: Progress.cpp:85
 
@ fixedPoints
Definition: ControlNetStatistics.h:79
 
int NumValidPoints() const
Returns the Number of Valid (Not Ignored) Points in the Control Net.
Definition: ControlNetStatistics.h:110
 
double GetAvgPixelShift() const
Get network Avg PixelShift.
Definition: ControlNetStatistics.h:225
 
double GetMaxSampleResidual() const
Determine the maximum sample error of all points in the network.
Definition: ControlNetStatistics.h:190
 
@ MaximumPixelZScore
Definition: ControlMeasureLogData.h:81
 
int GetNumMeasures() const
Definition: ControlPoint.cpp:1702
 
@ locked
Definition: ControlNetStatistics.h:75
 
double Maximum() const
Returns the absolute maximum double found in all data passed through the AddData method.
Definition: Statistics.cpp:403
 
@ imgLockedPoints
Definition: ControlNetStatistics.h:90
 
int NumIgnoredMeasures() const
Returns the total Number of Ignored Measures in the Control Net.
Definition: ControlNetStatistics.h:150
 
@ maxGFit
Definition: ControlNetStatistics.h:86
 
@ ignore
Definition: ControlNetStatistics.h:75
 
int GetNumEditLockMeasures()
Return the total number of edit locked measures for all control points in the network.
Definition: ControlNet.cpp:1349
 
double GetMaximumResidual() const
Determine the maximum error of all points in the network.
Definition: ControlNetStatistics.h:170
 
double GetPixelShift() const
Definition: ControlMeasure.cpp:765
 
bool IsEditLocked() const
Definition: ControlPoint.cpp:1272
 
QList< ControlMeasure * > GetMeasuresInCube(QString serialNumber)
Get all the measures pertaining to a given cube serial number.
Definition: ControlNet.cpp:1065
 
@ totalMeasures
Definition: ControlNetStatistics.h:80
 
QString GetId() const
Return the Id of the control point.
Definition: ControlPoint.cpp:1306
 
QVector< double > GetImageStatsBySerialNum(QString psSerialNum) const
Returns the Image Stats by Serial Number.
Definition: ControlNetStatistics.cpp:379
 
double GetMinSampleResidual() const
Determine the minimum sample error of all points in the network.
Definition: ControlNetStatistics.h:180
 
int GetNumEditLockPoints()
Returns the number of edit locked control points.
Definition: ControlNet.cpp:1364
 
ControlNetStatistics(ControlNet *pCNet, const QString &psSerialNumFile, Progress *pProgress=0)
Constructor.
Definition: ControlNetStatistics.cpp:52
 
@ minPixelShift
Definition: ControlNetStatistics.h:85
 
@ minPixelZScore
Definition: ControlNetStatistics.h:86
 
@ freed
Definition: ControlNetStatistics.h:75
 
@ editLockedMeasures
Definition: ControlNetStatistics.h:80
 
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
 
Serial Number list generator.
Definition: SerialNumberList.h:64
 
int GetNumValidMeasures() const
Definition: ControlPoint.cpp:1711
 
@ total
Definition: ControlNetStatistics.h:75
 
bool IsSpecial(const double d)
Returns if the input pixel is special.
Definition: SpecialPixel.h:197
 
QList< QString > GetCubeSerials() const
Use this method to get a complete list of all the cube serial numbers in the network.
Definition: ControlNet.cpp:1016
 
QString serialNumber(const QString &filename)
Return a serial number given a filename.
Definition: SerialNumberList.cpp:426
 
Cube * OpenCube(const QString &cubeFileName)
This method opens a cube.
Definition: CubeManager.cpp:95
 
~ControlNetStatistics()
Destructor.
Definition: ControlNetStatistics.cpp:88
 
int NumConstrainedPoints() const
Returns the number of Constrained Points in Control Net.
Definition: ControlNetStatistics.h:120
 
QString sBoolean[]
String values for Boolean.
Definition: ControlNetStatistics.cpp:41
 
Class for quick re-accessing of cubes based on file name.
Definition: CubeManager.h:70
 
@ maxPixelZScore
Definition: ControlNetStatistics.h:86
 
int NumEditLockedPoints() const
Returns total number of edit locked points.
Definition: ControlNetStatistics.h:135
 
int NumFixedPoints() const
Returns the Number of Fixed Points in the Control Net.
Definition: ControlNetStatistics.h:115
 
@ maxEccentricity
Definition: ControlNetStatistics.h:86
 
double GetMaxLineResidual() const
Determine the maximum line error of all points in the network.
Definition: ControlNetStatistics.h:185
 
int NumIgnoredPoints() const
Returns the number of ignored points.
Definition: ControlNetStatistics.h:130
 
A single control point.
Definition: ControlPoint.h:354
 
double GetMaxSampleShift() const
Get network Max SampleShift.
Definition: ControlNetStatistics.h:210
 
@ Fixed
A Fixed point is a Control Point whose lat/lon is well established and should not be changed.
Definition: ControlPoint.h:371
 
double GetSampleShift() const
Definition: ControlMeasure.cpp:753
 
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
Definition: FileName.cpp:196
 
static const int numPointDblStats
Definition: ControlNetStatistics.h:87
 
double GetMinPixelShift() const
Get network Min PixelShift.
Definition: ControlNetStatistics.h:215
 
int NumValidMeasures() const
Returns the total Number of valid Measures in the Control Net.
Definition: ControlNetStatistics.h:145
 
int GetNumPoints() const
Return the number of control points in the network.
Definition: ControlNet.cpp:1465
 
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
 
void PrintImageStats(const QString &psImageFile)
Print the Image Stats into specified output file.
Definition: ControlNetStatistics.cpp:323
 
@ imgIgnoredPoints
Definition: ControlNetStatistics.h:90
 
@ minResidual
Definition: ControlNetStatistics.h:84
 
int lineCount() const
Definition: Cube.cpp:1734
 
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
 
@ MinimumPixelZScore
Control measures store z-scores in pairs.
Definition: ControlMeasureLogData.h:76
 
double GetAverageResidual() const
Determine the average error of all points in the network.
Definition: ControlNetStatistics.h:160
 
double Minimum() const
Returns the absolute minimum double found in all data passed through the AddData method.
Definition: Statistics.cpp:382
 
int GetNumLockedMeasures() const
Returns the number of locked control measures.
Definition: ControlPoint.cpp:1728
 
@ Constrained
A Constrained point is a Control Point whose lat/lon/radius is somewhat established and should not be...
Definition: ControlPoint.h:376
 
void SetText(const QString &text)
Changes the value of the text string reported just before 0% processed.
Definition: Progress.cpp:61
 
ePointIntStats
Enumeration for Point int stats for counts such as valid points, measures etc.
Definition: ControlNetStatistics.h:79
 
@ minSampleResidual
Definition: ControlNetStatistics.h:84
 
@ imgLines
Definition: ControlNetStatistics.h:90
 
double GetLineShift() const
Definition: ControlMeasure.cpp:759
 
bool IsEditLocked() const
Return value for p_editLock or implicit lock on reference measure.
Definition: ControlMeasure.cpp:601
 
int sampleCount() const
Definition: Cube.cpp:1807
 
@ minLineResidual
Definition: ControlNetStatistics.h:84
 
@ imgFixedPoints
Definition: ControlNetStatistics.h:90
 
double GetSample() const
Definition: ControlMeasure.cpp:723
 
static const int numImageStats
Definition: ControlNetStatistics.h:92
 
QString sPointType[]
String names for Point Type.
Definition: ControlNetStatistics.cpp:38
 
@ validMeasures
Definition: ControlNetStatistics.h:80
 
double GetSampleResidual() const
Definition: ControlMeasure.cpp:728
 
a control network
Definition: ControlNet.h:257
 
@ maxResidual
Definition: ControlNetStatistics.h:84
 
IO Handler for Isis Cubes.
Definition: Cube.h:167
 
double GetMinSampleShift() const
Get network Min SampleShift.
Definition: ControlNetStatistics.h:205
 
void GenerateControlNetStats(PvlGroup &pStatsGrp)
Generate the Control Net Stats into the PvlGroup.
Definition: ControlNetStatistics.cpp:116
 
int NumEditLockedMeasures() const
Returns total number of edit locked measures in the network.
Definition: ControlNetStatistics.h:155
 
@ minGFit
Definition: ControlNetStatistics.h:86
 
Isis exception class.
Definition: IException.h:91
 
double GetMinimumResidual() const
Determine the minimum error of all points in the network.
Definition: ControlNetStatistics.h:165
 
Program progress reporter.
Definition: Progress.h:42
 
@ avgResidual
Definition: ControlNetStatistics.h:84
 
const double Null
Value for an Isis Null pixel.
Definition: SpecialPixel.h:95
 
Control Network Stats.
Definition: ControlNetStatistics.h:63
 
double Average() const
Computes and returns the average.
Definition: Statistics.cpp:300
 
@ validPoints
Definition: ControlNetStatistics.h:79
 
@ imgLocked
Definition: ControlNetStatistics.h:90
 
void GeneratePointStats(const QString &psPointFile)
Generate stats like Ignored, Fixed, Total Measures, Ignored by Control Point.
Definition: ControlNetStatistics.cpp:393
 
int NumMeasures() const
Returns the total Number of Measures in the Control Net.
Definition: ControlNetStatistics.h:140
 
@ Free
A Free point is a Control Point that identifies common measurements between two or more cubes.
Definition: ControlPoint.h:384
 
@ maxLineShift
Definition: ControlNetStatistics.h:85
 
double GetLine() const
Definition: ControlMeasure.cpp:690
 
double GetLineResidual() const
Definition: ControlMeasure.cpp:695
 
@ fixed
Definition: ControlNetStatistics.h:75
 
@ maxLineResidual
Definition: ControlNetStatistics.h:84
 
This is free and unencumbered software released into the public domain.
Definition: CubeIoHandler.h:22
 
bool IsIgnored() const
Definition: ControlPoint.cpp:1311
 
PointType GetType() const
Definition: ControlPoint.cpp:1401
 
@ imgConstrainedPoints
Definition: ControlNetStatistics.h:91
 
@ GoodnessOfFit
GoodnessOfFit is pointreg information for reference measures.
Definition: ControlMeasureLogData.h:67
 
void SetNumOpenCubes(unsigned int numCubes)
This sets the maximum number of opened cubes for this instance of CubeManager.
Definition: CubeManager.h:102
 
@ imgConvexHullRatio
Definition: ControlNetStatistics.h:91
 
QString fileName(const QString &sn)
Return a filename given a serial number.
Definition: SerialNumberList.cpp:399
 
ePointDetails
Enumeration for Point Statistics.
Definition: ControlNetStatistics.h:75
 
@ freePoints
Definition: ControlNetStatistics.h:79
 
SerialNumberList mSerialNumList
Serial Number List.
Definition: ControlNetStatistics.h:230
 
@ imgFreePoints
Definition: ControlNetStatistics.h:91
 
@ maxSampleResidual
Definition: ControlNetStatistics.h:84
 
@ imgConvexHullArea
Definition: ControlNetStatistics.h:91
 
@ maxPixelShift
Definition: ControlNetStatistics.h:85
 
@ constrained
Definition: ControlNetStatistics.h:75
 
const ControlPoint * GetPoint(QString pointId) const
Definition: ControlNet.cpp:1815
 
@ editLockedPoints
Definition: ControlNetStatistics.h:79
 
double GetMinLineShift() const
Get Min and Max LineShift.
Definition: ControlNetStatistics.h:195
 
int NumFreePoints() const
Returns the number of Constrained Points in Control Net.
Definition: ControlNetStatistics.h:125
 
static const int numPointIntStats
Definition: ControlNetStatistics.h:81
 
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
 
Progress * mProgress
Progress state.
Definition: ControlNetStatistics.h:232
 
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126
 
ControlNet * mCNet
Control Network.
Definition: ControlNetStatistics.h:231
 
a control measurement
Definition: ControlMeasure.h:175