Isis 3 Programmer Reference
Isis::ControlNetFilter Class Reference

Filter Control Network. More...

#include <ControlNetFilter.h>

Inheritance diagram for Isis::ControlNetFilter:
Inheritance graph
Collaboration diagram for Isis::ControlNetFilter:
Collaboration graph

Public Types

enum  ePointDetails {
  total , ignore , locked , fixed ,
  constrained , freed
}
 Enumeration for Point Statistics. More...
 
enum  ePointIntStats {
  totalPoints , validPoints , ignoredPoints , fixedPoints ,
  constrainedPoints , freePoints , editLockedPoints , totalMeasures ,
  validMeasures , ignoredMeasures , editLockedMeasures
}
 Enumeration for Point int stats for counts such as valid points, measures etc. More...
 
enum  ePointDoubleStats {
  avgResidual , minResidual , maxResidual , minLineResidual ,
  maxLineResidual , minSampleResidual , maxSampleResidual , avgPixelShift ,
  minPixelShift , maxPixelShift , minLineShift , maxLineShift ,
  minSampleShift , maxSampleShift , minGFit , maxGFit ,
  minEccentricity , maxEccentricity , minPixelZScore , maxPixelZScore
}
 Enumeration for Point stats like Tolerances, PixelShifts which have double data. More...
 
enum  ImageStats {
  imgSamples , imgLines , imgTotalPoints , imgIgnoredPoints ,
  imgFixedPoints , imgLockedPoints , imgLocked , imgConstrainedPoints ,
  imgFreePoints , imgConvexHullArea , imgConvexHullRatio
}
 Enumeration for image stats. More...
 

Public Member Functions

 ControlNetFilter (ControlNet *pCNet, QString &psSerialNumFile, Progress *pProgress=0)
 Constructor.
 
 ~ControlNetFilter ()
 Destructor.
 
void PointPixelShiftFilter (const PvlGroup &pvlGrp, bool pbLastFilter)
 Filter Points by Pixel Shift.
 
void PointEditLockFilter (const PvlGroup &pvlGrp, bool pbLastFilter)
 Filter Points by Edit Lock.
 
void PointNumMeasuresEditLockFilter (const PvlGroup &pvlGrp, bool pbLastFilter)
 Filter Points by Measure Edit Lock number.
 
void PointResMagnitudeFilter (const PvlGroup &pvlGrp, bool pbLastFilter)
 Filter Points by Residual Magnitude.
 
void PointGoodnessOfFitFilter (const PvlGroup &pvlGrp, bool pbLastFilter)
 Filter Points by GoodnessOfFit.
 
void PointIDFilter (const PvlGroup &pvlGrp, bool pbLastFilter)
 Filter Points by Point ID Expression.
 
void PointMeasuresFilter (const PvlGroup &pvlGrp, bool pbLastFilter)
 Filter Points by Number of measures.
 
void PointPropertiesFilter (const PvlGroup &pvlGrp, bool pbLastFilter)
 Filter Points by properties.
 
void PointLatLonFilter (const PvlGroup &pvlGrp, bool pbLastFilter)
 Filter Points by Lat Lon Range.
 
void PointDistanceFilter (const PvlGroup &pvlGrp, bool pbLastFilter)
 Filter Points by distance between points.
 
void PointMeasurePropertiesFilter (const PvlGroup &pvlGrp, bool pbLastFilter)
 Filter Points by Measure properties.
 
void PointCubeNamesFilter (const PvlGroup &pvlGrp, bool pbLastFilter)
 Filter Points by Cube names.
 
void PointStatsHeader (void)
 Standard Point stats Header.
 
void PointStats (const ControlPoint &pcPoint)
 Standard Point Stats.
 
void CubeNameExpressionFilter (const PvlGroup &pvlGrp, bool pbLastFilter)
 Filter Cubes by Cube name expression.
 
void CubeNumPointsFilter (const PvlGroup &pvlGrp, bool pbLastFilter)
 Filter Cubes by number of points in the cube.
 
void CubeDistanceFilter (const PvlGroup &pvlGrp, bool pbLastFilter)
 Filter Cubes by Distance between points in a Cube.
 
void CubeConvexHullFilter (const PvlGroup &pvlGrp, bool pbLastFilter)
 Filter Cubes by its ConvexHull Ratio.
 
void CubeStatsHeader (void)
 Print the standard cube stats Header.
 
void SetOutputFile (QString psPrintFile)
 Set the output print file.
 
void PrintCubeFileSerialNum (const ControlMeasure &pcMeasure)
 Print Cube's File and Serial Number into the Output File.
 
void GenerateImageStats ()
 Generate stats like Total, Ignored, Fixed Points in an Image.
 
void PrintImageStats (const QString &psImageFile)
 Print the Image Stats into specified output file.
 
QVector< double > GetImageStatsBySerialNum (QString psSerialNum) const
 Returns the Image Stats by Serial Number.
 
void GeneratePointStats (const QString &psPointFile)
 Generate stats like Ignored, Fixed, Total Measures, Ignored by Control Point.
 
void GenerateControlNetStats (PvlGroup &pStatsGrp)
 Generate the Control Net Stats into the PvlGroup.
 
int NumValidPoints () const
 Returns the Number of Valid (Not Ignored) Points in the Control Net.
 
int NumFixedPoints () const
 Returns the Number of Fixed Points in the Control Net.
 
int NumConstrainedPoints () const
 Returns the number of Constrained Points in Control Net.
 
int NumFreePoints () const
 Returns the number of Constrained Points in Control Net.
 
int NumIgnoredPoints () const
 Returns the number of ignored points.
 
int NumEditLockedPoints () const
 Returns total number of edit locked points.
 
int NumMeasures () const
 Returns the total Number of Measures in the Control Net.
 
int NumValidMeasures () const
 Returns the total Number of valid Measures in the Control Net.
 
int NumIgnoredMeasures () const
 Returns the total Number of Ignored Measures in the Control Net.
 
int NumEditLockedMeasures () const
 Returns total number of edit locked measures in the network.
 
double GetAverageResidual () const
 Determine the average error of all points in the network.
 
double GetMinimumResidual () const
 Determine the minimum error of all points in the network.
 
double GetMaximumResidual () const
 Determine the maximum error of all points in the network.
 
double GetMinLineResidual () const
 Determine the minimum line error of all points in the network.
 
double GetMinSampleResidual () const
 Determine the minimum sample error of all points in the network.
 
double GetMaxLineResidual () const
 Determine the maximum line error of all points in the network.
 
double GetMaxSampleResidual () const
 Determine the maximum sample error of all points in the network.
 
double GetMinLineShift () const
 Get Min and Max LineShift.
 
double GetMaxLineShift () const
 Get network Max LineShift.
 
double GetMinSampleShift () const
 Get network Min SampleShift.
 
double GetMaxSampleShift () const
 Get network Max SampleShift.
 
double GetMinPixelShift () const
 Get network Min PixelShift.
 
double GetMaxPixelShift () const
 Get network Max PixelShift.
 
double GetAvgPixelShift () const
 Get network Avg PixelShift.
 

Static Public Attributes

static const int numPointDetails = 6
 
static const int numPointIntStats = 11
 
static const int numPointDblStats = 20
 
static const int numImageStats = 11
 

Protected Attributes

SerialNumberList mSerialNumList
 Serial Number List.
 
ControlNetmCNet
 Control Network.
 
ProgressmProgress
 Progress state.
 

Private Member Functions

void FilterOutPoint (int pindex)
 Check the filtered point to be editlocked before removing from the current control network.
 
void FilterOutMeasuresBySerialNum (QString serialNum)
 Delete the network for an Image given Serial Number for all the Points in the network.If the Measure is locked, then it is unlocked in preparation for deleting.
 
void GetPointIntStats ()
 Get point count stats.
 
void GetPointDoubleStats ()
 Get Point stats for Residuals and Shifts.
 
void UpdateMinMaxStats (const Statistics &stats, ePointDoubleStats min, ePointDoubleStats max)
 
void InitPointDoubleStats ()
 Init Pointstats std::vector.
 
void InitSerialNumMap ()
 Init SerialNum std::map.
 

Private Attributes

std::ofstream mOstm
 output stream for printing to output file
 
SerialNumberList mSerialNumFilter
 Serial Number List file.
 
QMap< int, int > mPointIntStats
 Contains QMap of different count stats.
 
QMap< int, double > mPointDoubleStats
 Contains QMap of different computed stats.
 
QMap< QString, QVector< double > > mImageMap
 Contains stats by Image/Serial Num.
 
QMap< QString, bool > mSerialNumMap
 Whether serial# is part of ControlNet.
 
int numCNetImages
 
Statistics mConvexHullStats
 
Statistics mConvexHullRatioStats
 min, max, average convex hull stats
 

Detailed Description

Filter Control Network.

This class is used to filter Control Network based on different options

Author
2010-08-10 Sharmila Prasad
See also
ControlNetwork ControlPoint ControlMeasure
History

2010-08-10 Sharmila Prasad - Original version

2010-09-16 Sharmila Prasad - Modified prototype for GetImageStatsBySerialNum API in sync with the ControlNetStatistics class

2010-09-27 Sharmila Prasad - Moved ParseExpression functionality to QString class Verify the DefFile in the PVL Class

2010-09-27 Sharmila Prasad - Made changes for the Binary Control Network

2010-10-04 Sharmila Prasad - Use QString's Token method instead of ParseExpression

2010-10-15 Sharmila Prasad - Display error on bad filter values

2010-11-09 Sharmila Prasad - Point_MeasureProperties,process 'All' measuretype

2011-01-17 Eric Hyer - Fixed breakages caused by ControlNet api changes

2011-06-07 Debbie A. Cook and Tracie Sucharski - Modified point types Ground ------> Fixed Tie----------> Free

2011-07-22 Sharmila Prasad - Modified for new keywords in binary control net and added new filters for ResidualTolerance, PixelShift and EditLock(Point & Measure)

2011-10-05 Sharmila Prasad - Report double values with 10 digit precision

2011-11-03 Sharmila Prasad - Added functionality to filter by Convex Hull Ratio

2011-12-29 Sharmila Prasad - Updated GoodnessOfFit Filter. Fixes Mantis #652

2017-08-08 Adam Goins - Changed references to SerialNumberList::Delete() to SerialNumberList::remove()

2017-12-12 Kristin Berry - Updated to use QVector instead of std::vector. Fixes #5259.

Definition at line 57 of file ControlNetFilter.h.

Member Enumeration Documentation

◆ ePointDetails

Enumeration for Point Statistics.

Definition at line 75 of file ControlNetStatistics.h.

◆ ePointDoubleStats

Enumeration for Point stats like Tolerances, PixelShifts which have double data.

Definition at line 84 of file ControlNetStatistics.h.

◆ ePointIntStats

Enumeration for Point int stats for counts such as valid points, measures etc.

Definition at line 79 of file ControlNetStatistics.h.

◆ ImageStats

Enumeration for image stats.

Definition at line 90 of file ControlNetStatistics.h.

Constructor & Destructor Documentation

◆ ControlNetFilter()

Isis::ControlNetFilter::ControlNetFilter ( ControlNet * pCNet,
QString & psSerialNumFile,
Progress * pProgress = 0 )

Constructor.

ControlNetFilter Constructor.

Author
Sharmila Prasad (8/27/2010)
Parameters
pCNet- input Control Net
psSerialNumFile- Corresponding Serial Num List
pProgress- Progress of the processing

Definition at line 53 of file ControlNetFilter.cpp.

References mSerialNumFilter.

◆ ~ControlNetFilter()

Isis::ControlNetFilter::~ControlNetFilter ( )

Destructor.

ControlNetFilter Destructor.

Author
Sharmila Prasad (8/27/2010)

Definition at line 78 of file ControlNetFilter.cpp.

References mOstm.

Member Function Documentation

◆ CubeConvexHullFilter()

void Isis::ControlNetFilter::CubeConvexHullFilter ( const PvlGroup & pvlGrp,
bool pbLastFilter )

Filter Cubes by its ConvexHull Ratio.

Filter Cubes by its ConvexHull Ratio (Ratio = Convex Hull / Image Area).

ConvexHull is calculated only for valid Control Points

Author
Sharmila Prasad (11/2/2011)
Parameters
pvlGrp- Pvl Group containing the filter info
pbLastFilter- Flag to indicate whether this is the last filter to print the stats

Group = Cube_ConvexHullRatio LessThan = double GreaterThan = double EndGroup

Definition at line 1115 of file ControlNetFilter.cpp.

References CubeStatsHeader(), Isis::SerialNumberList::fileName(), FilterOutMeasuresBySerialNum(), Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlNetStatistics::GetImageStatsBySerialNum(), mOstm, mSerialNumFilter, Isis::SerialNumberList::remove(), Isis::SerialNumberList::serialNumber(), Isis::SerialNumberList::size(), Isis::IException::User, and Isis::ValidMaximum.

◆ CubeDistanceFilter()

◆ CubeNameExpressionFilter()

void Isis::ControlNetFilter::CubeNameExpressionFilter ( const PvlGroup & pvlGrp,
bool pbLastFilter )

Filter Cubes by Cube name expression.

Filter Cube names in Control Network by cube name expression Group by Image.

Author
Sharmila Prasad (8/16/2010)
Parameters
pvlGrp- Pvl Group containing the filter info
pbLastFilter- Flag to indicate whether this is the last filter to print the stats

Definition at line 1173 of file ControlNetFilter.cpp.

References CubeStatsHeader(), Isis::SerialNumberList::fileName(), FilterOutMeasuresBySerialNum(), Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlNetStatistics::GetImageStatsBySerialNum(), mOstm, mSerialNumFilter, Isis::SerialNumberList::remove(), Isis::SerialNumberList::serialNumber(), and Isis::SerialNumberList::size().

◆ CubeNumPointsFilter()

void Isis::ControlNetFilter::CubeNumPointsFilter ( const PvlGroup & pvlGrp,
bool pbLastFilter )

Filter Cubes by number of points in the cube.

Filter the cube by the number of points in each cube Group by Image.

Author
Sharmila Prasad (8/16/2010)
Parameters
pvlGrp- Pvl Group containing the filter info
pbLastFilter- Flag to indicate whether this is the last filter to print the stats

Definition at line 1241 of file ControlNetFilter.cpp.

References CubeStatsHeader(), Isis::SerialNumberList::fileName(), FilterOutMeasuresBySerialNum(), Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlNetStatistics::GetImageStatsBySerialNum(), mOstm, mSerialNumFilter, Isis::SerialNumberList::remove(), Isis::SerialNumberList::serialNumber(), Isis::SerialNumberList::size(), Isis::toInt(), and Isis::IException::User.

◆ CubeStatsHeader()

void Isis::ControlNetFilter::CubeStatsHeader ( void )

Print the standard cube stats Header.

Print the Standard Cube Stats Header into Output File.

Author
Sharmila Prasad (8/31/2010)

Definition at line 170 of file ControlNetFilter.cpp.

References mOstm.

Referenced by CubeConvexHullFilter(), CubeDistanceFilter(), CubeNameExpressionFilter(), CubeNumPointsFilter(), and PointCubeNamesFilter().

◆ FilterOutMeasuresBySerialNum()

void Isis::ControlNetFilter::FilterOutMeasuresBySerialNum ( QString serialNum)
private

Delete the network for an Image given Serial Number for all the Points in the network.If the Measure is locked, then it is unlocked in preparation for deleting.

If the Point is locked, it is unlocked and set back to lock when the Measure is deleted.

Author
Sharmila Prasad (11/3/2011)
Parameters
serialNum- Serial Number

Definition at line 108 of file ControlNetFilter.cpp.

References Isis::ControlPoint::Delete(), Isis::ControlPoint::GetMeasure(), Isis::ControlNet::GetMeasuresInCube(), Isis::ControlNetStatistics::mCNet, and Isis::ControlPoint::SetEditLock().

Referenced by CubeConvexHullFilter(), CubeDistanceFilter(), CubeNameExpressionFilter(), and CubeNumPointsFilter().

◆ FilterOutPoint()

void Isis::ControlNetFilter::FilterOutPoint ( int pindex)
private

Check the filtered point to be editlocked before removing from the current control network.

Author
Sharmila Prasad (7/22/2011)
Parameters
pindex- Control Point index

Definition at line 91 of file ControlNetFilter.cpp.

References Isis::ControlNet::DeletePoint(), and Isis::ControlNetStatistics::mCNet.

Referenced by PointCubeNamesFilter(), PointDistanceFilter(), PointEditLockFilter(), PointGoodnessOfFitFilter(), PointIDFilter(), PointLatLonFilter(), PointMeasurePropertiesFilter(), PointMeasuresFilter(), PointNumMeasuresEditLockFilter(), PointPixelShiftFilter(), PointPropertiesFilter(), and PointResMagnitudeFilter().

◆ GenerateControlNetStats()

void Isis::ControlNetStatistics::GenerateControlNetStats ( PvlGroup & pStatsGrp)
inherited

Generate the Control Net Stats into the PvlGroup.

Generates the summary stats for the entire control network.

Stats include Total images, Total, Valid, Ignored, Fixed Points, Total, Valid, Ignored Measures and also Average, Min, Max Error, Min, Max Line and Sample Errors

Author
Sharmila Prasad (8/25/2010)
Parameters
pStatsGrp- Output Control Net Stats in Pvl format

Definition at line 115 of file ControlNetStatistics.cpp.

References Isis::Statistics::Average(), Isis::ControlNetStatistics::GetAverageResidual(), Isis::ControlNetStatistics::GetAvgPixelShift(), Isis::ControlNetStatistics::GetMaximumResidual(), Isis::ControlNetStatistics::GetMaxLineResidual(), Isis::ControlNetStatistics::GetMaxLineShift(), Isis::ControlNetStatistics::GetMaxPixelShift(), Isis::ControlNetStatistics::GetMaxSampleResidual(), Isis::ControlNetStatistics::GetMaxSampleShift(), Isis::ControlNetStatistics::GetMinimumResidual(), Isis::ControlNetStatistics::GetMinLineResidual(), Isis::ControlNetStatistics::GetMinLineShift(), Isis::ControlNetStatistics::GetMinPixelShift(), Isis::ControlNetStatistics::GetMinSampleResidual(), Isis::ControlNetStatistics::GetMinSampleShift(), Isis::ControlNet::GetNumEditLockMeasures(), Isis::ControlNet::GetNumEditLockPoints(), Isis::ControlNet::GetNumPoints(), Isis::Statistics::Maximum(), Isis::ControlNetStatistics::mCNet, Isis::ControlNetStatistics::mConvexHullRatioStats, Isis::Statistics::Minimum(), Isis::ControlNetStatistics::mPointDoubleStats, Isis::ControlNetStatistics::mSerialNumList, Isis::Null, Isis::ControlNetStatistics::NumConstrainedPoints(), Isis::ControlNetStatistics::NumFixedPoints(), Isis::ControlNetStatistics::NumFreePoints(), Isis::ControlNetStatistics::NumIgnoredMeasures(), Isis::ControlNetStatistics::NumMeasures(), Isis::ControlNetStatistics::NumValidMeasures(), Isis::ControlNetStatistics::NumValidPoints(), Isis::SerialNumberList::size(), and Isis::toString().

◆ GenerateImageStats()

void Isis::ControlNetStatistics::GenerateImageStats ( )
inherited

Generate stats like Total, Ignored, Fixed Points in an Image.

Generate the Image stats - imgSamples, imgLines, imgTotalPoints, imgIgnoredPoints, imgFixedPoints, imgLockedPoints, imgLocked, imgConstrainedPoints, imgFreePoints, imgConvexHullArea, imgConvexHullRatio.

Author
Sharmila Prasad (11/1/2011)

Definition at line 219 of file ControlNetStatistics.cpp.

References Isis::Statistics::AddData(), Isis::Progress::CheckStatus(), Isis::ControlPoint::Constrained, Isis::SerialNumberList::fileName(), Isis::ControlPoint::Fixed, Isis::ControlPoint::Free, Isis::ControlNet::GetCubeSerials(), Isis::ControlNet::GetMeasuresInCube(), Isis::ControlPoint::GetType(), Isis::Cube::lineCount(), Isis::ControlNetStatistics::mCNet, Isis::ControlNetStatistics::mConvexHullRatioStats, Isis::ControlNetStatistics::mImageMap, Isis::ControlNetStatistics::mProgress, Isis::ControlNetStatistics::mSerialNumList, Isis::ControlNetStatistics::mSerialNumMap, Isis::Cube::sampleCount(), Isis::Progress::SetMaximumSteps(), Isis::CubeManager::SetNumOpenCubes(), and Isis::Progress::SetText().

Referenced by Isis::ControlNetStatistics::ControlNetStatistics(), CubeConvexHullFilter(), CubeDistanceFilter(), CubeNameExpressionFilter(), CubeNumPointsFilter(), PointCubeNamesFilter(), PointDistanceFilter(), PointEditLockFilter(), PointGoodnessOfFitFilter(), PointIDFilter(), PointLatLonFilter(), PointMeasurePropertiesFilter(), PointMeasuresFilter(), PointNumMeasuresEditLockFilter(), PointPixelShiftFilter(), PointPropertiesFilter(), and PointResMagnitudeFilter().

◆ GeneratePointStats()

void Isis::ControlNetStatistics::GeneratePointStats ( const QString & psPointFile)
inherited

Generate stats like Ignored, Fixed, Total Measures, Ignored by Control Point.

Generate the statistics of a Control Network by Point Stats include ID, Type of each Control Point and Total, Ignored measures in each Control Point.

Author
Sharmila Prasad (8/24/2010)
Parameters
psPointFile- Output Point Statisitics File

Definition at line 388 of file ControlNetStatistics.cpp.

References Isis::Progress::CheckStatus(), Isis::ControlNet::GetNumPoints(), Isis::IException::Io, Isis::ControlNetStatistics::mCNet, Isis::ControlNetStatistics::mProgress, Isis::sBoolean, Isis::Progress::SetMaximumSteps(), Isis::Progress::SetText(), and Isis::sPointType.

◆ GetAverageResidual()

double Isis::ControlNetStatistics::GetAverageResidual ( ) const
inlineinherited

Determine the average error of all points in the network.

Definition at line 160 of file ControlNetStatistics.h.

References Isis::ControlNetStatistics::mPointDoubleStats.

Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().

◆ GetAvgPixelShift()

double Isis::ControlNetStatistics::GetAvgPixelShift ( ) const
inlineinherited

Get network Avg PixelShift.

Definition at line 225 of file ControlNetStatistics.h.

References Isis::ControlNetStatistics::mPointDoubleStats.

Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().

◆ GetImageStatsBySerialNum()

QVector< double > Isis::ControlNetStatistics::GetImageStatsBySerialNum ( QString psSerialNum) const
inherited

Returns the Image Stats by Serial Number.

Author
Sharmila Prasad (11/3/2011)
Parameters
psSerialNum- Image serialNum
Returns
const QVector<double>

Definition at line 374 of file ControlNetStatistics.cpp.

References Isis::ControlNetStatistics::mImageMap.

Referenced by CubeConvexHullFilter(), CubeDistanceFilter(), CubeNameExpressionFilter(), CubeNumPointsFilter(), and PointCubeNamesFilter().

◆ GetMaximumResidual()

double Isis::ControlNetStatistics::GetMaximumResidual ( ) const
inlineinherited

Determine the maximum error of all points in the network.

Definition at line 170 of file ControlNetStatistics.h.

References Isis::ControlNetStatistics::mPointDoubleStats.

Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().

◆ GetMaxLineResidual()

double Isis::ControlNetStatistics::GetMaxLineResidual ( ) const
inlineinherited

Determine the maximum line error of all points in the network.

Definition at line 185 of file ControlNetStatistics.h.

References Isis::ControlNetStatistics::mPointDoubleStats.

Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().

◆ GetMaxLineShift()

double Isis::ControlNetStatistics::GetMaxLineShift ( ) const
inlineinherited

Get network Max LineShift.

Definition at line 200 of file ControlNetStatistics.h.

References Isis::ControlNetStatistics::mPointDoubleStats.

Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().

◆ GetMaxPixelShift()

double Isis::ControlNetStatistics::GetMaxPixelShift ( ) const
inlineinherited

Get network Max PixelShift.

Definition at line 220 of file ControlNetStatistics.h.

References Isis::ControlNetStatistics::mPointDoubleStats.

Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().

◆ GetMaxSampleResidual()

double Isis::ControlNetStatistics::GetMaxSampleResidual ( ) const
inlineinherited

Determine the maximum sample error of all points in the network.

Definition at line 190 of file ControlNetStatistics.h.

References Isis::ControlNetStatistics::mPointDoubleStats.

Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().

◆ GetMaxSampleShift()

double Isis::ControlNetStatistics::GetMaxSampleShift ( ) const
inlineinherited

Get network Max SampleShift.

Definition at line 210 of file ControlNetStatistics.h.

References Isis::ControlNetStatistics::mPointDoubleStats.

Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().

◆ GetMinimumResidual()

double Isis::ControlNetStatistics::GetMinimumResidual ( ) const
inlineinherited

Determine the minimum error of all points in the network.

Definition at line 165 of file ControlNetStatistics.h.

References Isis::ControlNetStatistics::mPointDoubleStats.

Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().

◆ GetMinLineResidual()

double Isis::ControlNetStatistics::GetMinLineResidual ( ) const
inlineinherited

Determine the minimum line error of all points in the network.

Definition at line 175 of file ControlNetStatistics.h.

References Isis::ControlNetStatistics::mPointDoubleStats.

Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().

◆ GetMinLineShift()

double Isis::ControlNetStatistics::GetMinLineShift ( ) const
inlineinherited

Get Min and Max LineShift.

Definition at line 195 of file ControlNetStatistics.h.

References Isis::ControlNetStatistics::mPointDoubleStats.

Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().

◆ GetMinPixelShift()

double Isis::ControlNetStatistics::GetMinPixelShift ( ) const
inlineinherited

Get network Min PixelShift.

Definition at line 215 of file ControlNetStatistics.h.

References Isis::ControlNetStatistics::mPointDoubleStats.

Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().

◆ GetMinSampleResidual()

double Isis::ControlNetStatistics::GetMinSampleResidual ( ) const
inlineinherited

Determine the minimum sample error of all points in the network.

Definition at line 180 of file ControlNetStatistics.h.

References Isis::ControlNetStatistics::mPointDoubleStats.

Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().

◆ GetMinSampleShift()

double Isis::ControlNetStatistics::GetMinSampleShift ( ) const
inlineinherited

Get network Min SampleShift.

Definition at line 205 of file ControlNetStatistics.h.

References Isis::ControlNetStatistics::mPointDoubleStats.

Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().

◆ GetPointDoubleStats()

◆ GetPointIntStats()

void Isis::ControlNetStatistics::GetPointIntStats ( )
privateinherited

◆ InitPointDoubleStats()

void Isis::ControlNetStatistics::InitPointDoubleStats ( )
privateinherited

Init Pointstats std::vector.

Initialize Point double stats vector.

Author
Sharmila Prasad (1/3/2012)

Definition at line 500 of file ControlNetStatistics.cpp.

References Isis::ControlNetStatistics::mPointDoubleStats, and Isis::Null.

Referenced by Isis::ControlNetStatistics::GetPointDoubleStats().

◆ InitSerialNumMap()

void Isis::ControlNetStatistics::InitSerialNumMap ( )
privateinherited

◆ NumConstrainedPoints()

int Isis::ControlNetStatistics::NumConstrainedPoints ( ) const
inlineinherited

Returns the number of Constrained Points in Control Net.

Definition at line 120 of file ControlNetStatistics.h.

References Isis::ControlNetStatistics::mPointIntStats.

Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().

◆ NumEditLockedMeasures()

int Isis::ControlNetStatistics::NumEditLockedMeasures ( ) const
inlineinherited

Returns total number of edit locked measures in the network.

Definition at line 155 of file ControlNetStatistics.h.

References Isis::ControlNetStatistics::mPointIntStats.

◆ NumEditLockedPoints()

int Isis::ControlNetStatistics::NumEditLockedPoints ( ) const
inlineinherited

Returns total number of edit locked points.

Definition at line 135 of file ControlNetStatistics.h.

References Isis::ControlNetStatistics::mPointIntStats.

◆ NumFixedPoints()

int Isis::ControlNetStatistics::NumFixedPoints ( ) const
inlineinherited

Returns the Number of Fixed Points in the Control Net.

Definition at line 115 of file ControlNetStatistics.h.

References Isis::ControlNetStatistics::mPointIntStats.

Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().

◆ NumFreePoints()

int Isis::ControlNetStatistics::NumFreePoints ( ) const
inlineinherited

Returns the number of Constrained Points in Control Net.

Definition at line 125 of file ControlNetStatistics.h.

References Isis::ControlNetStatistics::mPointIntStats.

Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().

◆ NumIgnoredMeasures()

int Isis::ControlNetStatistics::NumIgnoredMeasures ( ) const
inlineinherited

Returns the total Number of Ignored Measures in the Control Net.

Definition at line 150 of file ControlNetStatistics.h.

References Isis::ControlNetStatistics::mPointIntStats.

Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().

◆ NumIgnoredPoints()

int Isis::ControlNetStatistics::NumIgnoredPoints ( ) const
inlineinherited

Returns the number of ignored points.

Definition at line 130 of file ControlNetStatistics.h.

References Isis::ControlNetStatistics::mPointIntStats.

◆ NumMeasures()

int Isis::ControlNetStatistics::NumMeasures ( ) const
inlineinherited

Returns the total Number of Measures in the Control Net.

Definition at line 140 of file ControlNetStatistics.h.

References Isis::ControlNetStatistics::mPointIntStats.

Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().

◆ NumValidMeasures()

int Isis::ControlNetStatistics::NumValidMeasures ( ) const
inlineinherited

Returns the total Number of valid Measures in the Control Net.

Definition at line 145 of file ControlNetStatistics.h.

References Isis::ControlNetStatistics::mPointIntStats.

Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().

◆ NumValidPoints()

int Isis::ControlNetStatistics::NumValidPoints ( ) const
inlineinherited

Returns the Number of Valid (Not Ignored) Points in the Control Net.

Definition at line 110 of file ControlNetStatistics.h.

References Isis::ControlNetStatistics::mPointIntStats.

Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().

◆ PointCubeNamesFilter()

void Isis::ControlNetFilter::PointCubeNamesFilter ( const PvlGroup & pvlGrp,
bool pbLastFilter )

Filter Points by Cube names.

Filter points based on the image serial # - Group by Point.

Author
Sharmila Prasad (8/16/2010)
Parameters
pvlGrp- Pvl Group containing the filter info
pbLastFilter- Flag to indicate whether this is the last filter to print the stats

Definition at line 1027 of file ControlNetFilter.cpp.

References CubeStatsHeader(), Isis::SerialNumberList::fileName(), FilterOutPoint(), Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlNetStatistics::GetImageStatsBySerialNum(), Isis::ControlNet::GetNumPoints(), Isis::ControlNetStatistics::mCNet, mOstm, Isis::ControlNetStatistics::mSerialNumList, PointStatsHeader(), Isis::sBoolean, and Isis::sPointType.

◆ PointDistanceFilter()

void Isis::ControlNetFilter::PointDistanceFilter ( const PvlGroup & pvlGrp,
bool pbLastFilter )

Filter Points by distance between points.

Filter points that are within given distance of some other point Group by Points.

Author
Sharmila Prasad (8/13/2010)
Parameters
pvlGrp- Pvl Group containing the filter info
pbLastFilter- Flag to indicate whether this is the last filter to print the stats

Definition at line 728 of file ControlNetFilter.cpp.

References Isis::CameraFactory::Create(), Isis::Angle::Degrees, Isis::SerialNumberList::fileName(), FilterOutPoint(), Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlNet::GetNumPoints(), Isis::ControlNetStatistics::mCNet, mOstm, Isis::ControlNetStatistics::mSerialNumList, Isis::Null, PointStats(), and PointStatsHeader().

◆ PointEditLockFilter()

void Isis::ControlNetFilter::PointEditLockFilter ( const PvlGroup & pvlGrp,
bool pbLastFilter )

Filter Points by Edit Lock.

Filter points based on the point EditLock.

Author
Sharmila Prasad (7/20/2011)

Header - PointID, Type, Ignore, EditLock, NumMeasures, NumIgnoredMeasures, NumLockedMeasures,

Parameters
pvlGrp- Deffile Input group
pbLastFilter- Is this the last filter - for printing purposes.

Definition at line 319 of file ControlNetFilter.cpp.

References FilterOutPoint(), Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlNet::GetNumPoints(), Isis::ControlNetStatistics::mCNet, mOstm, PointStatsHeader(), Isis::sBoolean, and Isis::sPointType.

◆ PointGoodnessOfFitFilter()

void Isis::ControlNetFilter::PointGoodnessOfFitFilter ( const PvlGroup & pvlGrp,
bool pbLastFilter )

Filter Points by GoodnessOfFit.

Filter the Points based on the Measures Goodness ofFit value Group by Points.

Header: PointID, PointType, PointIgnored, PointEditLocked, TotalMeasures, MeasuresIgnored, MeasuresEditLocked, FileName, SerialNumber, GoodnessOfFit, MeasureIgnored, MeasureType, MeasureEditLocked, Reference

Author
Sharmila Prasad (8/16/2010)
Parameters
pvlGrp- Pvl Group containing the filter info
pbLastFilter- Flag to indicate whether this is the last filter to print the stats

Definition at line 871 of file ControlNetFilter.cpp.

References FilterOutPoint(), Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlMeasureLogData::GetNumericalValue(), Isis::ControlNet::GetNumPoints(), Isis::ControlMeasureLogData::GoodnessOfFit, Isis::ControlNetStatistics::mCNet, mOstm, Isis::Null, PointStatsHeader(), PrintCubeFileSerialNum(), Isis::sBoolean, Isis::sPointType, and Isis::ValidMaximum.

◆ PointIDFilter()

void Isis::ControlNetFilter::PointIDFilter ( const PvlGroup & pvlGrp,
bool pbLastFilter )

Filter Points by Point ID Expression.

Filter PointID based on regular expression Group by Points.

Author
Sharmila Prasad (8/11/2010)
Parameters
pvlGrp- Pvl Group containing the filter info
pbLastFilter- Flag to indicate whether this is the last filter to print the stats

Definition at line 445 of file ControlNetFilter.cpp.

References FilterOutPoint(), Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlNet::GetNumPoints(), Isis::ControlNetStatistics::mCNet, mOstm, PointStats(), and PointStatsHeader().

◆ PointLatLonFilter()

void Isis::ControlNetFilter::PointLatLonFilter ( const PvlGroup & pvlGrp,
bool pbLastFilter )

◆ PointMeasurePropertiesFilter()

void Isis::ControlNetFilter::PointMeasurePropertiesFilter ( const PvlGroup & pvlGrp,
bool pbLastFilter )

Filter Points by Measure properties.

Filter the Points which have measures of specified Measure type and Ignored Flag.

Group by Points

Author
Sharmila Prasad (8/13/2010)
Parameters
pvlGrp- Pvl Group containing the filter info
pbLastFilter- Flag to indicate whether this is the last filter to print the stats

Definition at line 945 of file ControlNetFilter.cpp.

References Isis::ControlMeasure::Candidate, Isis::IString::DownCase(), Isis::SerialNumberList::fileName(), FilterOutPoint(), Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlNet::GetNumPoints(), Isis::ControlMeasure::Manual, Isis::ControlNetStatistics::mCNet, mOstm, Isis::ControlNetStatistics::mSerialNumList, PointStats(), PointStatsHeader(), Isis::ControlMeasure::RegisteredPixel, Isis::ControlMeasure::RegisteredSubPixel, and Isis::sBoolean.

◆ PointMeasuresFilter()

void Isis::ControlNetFilter::PointMeasuresFilter ( const PvlGroup & pvlGrp,
bool pbLastFilter )

Filter Points by Number of measures.

Filters the Control Network based on the user specified number of measures in a Control Point.

Group by Points

Author
Sharmila Prasad (8/12/2010)
Parameters
pvlGrp- Pvl Group containing the filter info
pbLastFilter- Flag to indicate whether this is the last filter to print the stats

Definition at line 499 of file ControlNetFilter.cpp.

References FilterOutPoint(), Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlNet::GetNumPoints(), Isis::ControlNetStatistics::mCNet, mOstm, PointStats(), PointStatsHeader(), PrintCubeFileSerialNum(), Isis::sBoolean, Isis::toInt(), and Isis::IException::User.

◆ PointNumMeasuresEditLockFilter()

void Isis::ControlNetFilter::PointNumMeasuresEditLockFilter ( const PvlGroup & pvlGrp,
bool pbLastFilter )

Filter Points by Measure Edit Lock number.

Filter points based on number of measures EditLocked.

Author
Sharmila Prasad (7/20/2011)

Header - PointID, Type, Ignore, EditLock, NumMeasures, NumIgnoredMeasures, NumLockedMeasures,

Parameters
pvlGrp- Deffile Input group
pbLastFilter- Is this the last filter - for printing purposes.

Definition at line 257 of file ControlNetFilter.cpp.

References FilterOutPoint(), Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlNet::GetNumPoints(), Isis::ControlNetStatistics::mCNet, mOstm, PointStats(), PointStatsHeader(), PrintCubeFileSerialNum(), Isis::sBoolean, Isis::toInt(), and Isis::IException::User.

◆ PointPixelShiftFilter()

void Isis::ControlNetFilter::PointPixelShiftFilter ( const PvlGroup & pvlGrp,
bool pbLastFilter )

Filter Points by Pixel Shift.

Filter Points by PixelShift.

Author
Sharmila Prasad (7/20/2011)
Parameters
pvlGrp- Deffile Input group
pbLastFilter- Is this the last filter - for printing purposes.

Definition at line 182 of file ControlNetFilter.cpp.

References FilterOutPoint(), Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlNet::GetNumPoints(), Isis::ControlNetStatistics::mCNet, mOstm, Isis::Null, PrintCubeFileSerialNum(), Isis::sBoolean, Isis::sPointType, Isis::toString(), Isis::IException::User, and Isis::ValidMaximum.

◆ PointPropertiesFilter()

void Isis::ControlNetFilter::PointPropertiesFilter ( const PvlGroup & pvlGrp,
bool pbLastFilter )

Filter Points by properties.

Filter the Control Network based on Ignored, Fixed Point Properties Group by Points.

Author
Sharmila Prasad (8/12/2010)
Parameters
pvlGrp- Pvl Group containing the filter info
pbLastFilter- Flag to indicate whether this is the last filter to print the stats

Definition at line 561 of file ControlNetFilter.cpp.

References Isis::ControlPoint::Constrained, Isis::IString::DownCase(), FilterOutPoint(), Isis::ControlPoint::Fixed, Isis::ControlPoint::Free, Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlNet::GetNumPoints(), Isis::ControlNetStatistics::mCNet, mOstm, PointStats(), and PointStatsHeader().

◆ PointResMagnitudeFilter()

void Isis::ControlNetFilter::PointResMagnitudeFilter ( const PvlGroup & pvlGrp,
bool pbLastFilter )

Filter Points by Residual Magnitude.

Filters out the Control Network based on Residual Magnitude Criteria.

Group by Points

Author
Sharmila Prasad (8/11/2010)

Header: PointID, Type, Ignore, EditLock, FileName, SerialNum, ResidualMagnitude, MeasureIgnore, MeasureLocked, Reference,

Parameters
pvlGrp- Pvl Group containing the filter info
pbLastFilter- Flag to indicate whether this is the last filter to print the stats

Definition at line 366 of file ControlNetFilter.cpp.

References FilterOutPoint(), Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlNet::GetNumPoints(), Isis::ControlMeasure::GetResidualMagnitude(), Isis::ControlNetStatistics::mCNet, mOstm, Isis::Null, PrintCubeFileSerialNum(), Isis::sBoolean, Isis::sPointType, Isis::IException::User, and Isis::ValidMaximum.

◆ PointStats()

void Isis::ControlNetFilter::PointStats ( const ControlPoint & pcPoint)

Standard Point Stats.

Print the Standard Point Stats into Output file given the Control Point.

Author
Sharmila Prasad (8/31/2010)
Parameters
pcPoint

Definition at line 144 of file ControlNetFilter.cpp.

References mOstm, Isis::sBoolean, and Isis::sPointType.

Referenced by PointDistanceFilter(), PointIDFilter(), PointLatLonFilter(), PointMeasurePropertiesFilter(), PointMeasuresFilter(), PointNumMeasuresEditLockFilter(), and PointPropertiesFilter().

◆ PointStatsHeader()

void Isis::ControlNetFilter::PointStatsHeader ( void )

Standard Point stats Header.

Print the Standard Point Stats Header into Output File.

Author
Sharmila Prasad (8/31/2010)

Definition at line 133 of file ControlNetFilter.cpp.

References mOstm.

Referenced by PointCubeNamesFilter(), PointDistanceFilter(), PointEditLockFilter(), PointGoodnessOfFitFilter(), PointIDFilter(), PointLatLonFilter(), PointMeasurePropertiesFilter(), PointMeasuresFilter(), PointNumMeasuresEditLockFilter(), and PointPropertiesFilter().

◆ PrintCubeFileSerialNum()

void Isis::ControlNetFilter::PrintCubeFileSerialNum ( const ControlMeasure & pcMeasure)

Print Cube's File and Serial Number into the Output File.

Author
Sharmila Prasad (8/31/2010)
Parameters
pcMeasure- Measure's Cube and Serial #

Definition at line 160 of file ControlNetFilter.cpp.

References Isis::SerialNumberList::fileName(), mOstm, and Isis::ControlNetStatistics::mSerialNumList.

Referenced by PointGoodnessOfFitFilter(), PointMeasuresFilter(), PointNumMeasuresEditLockFilter(), PointPixelShiftFilter(), and PointResMagnitudeFilter().

◆ PrintImageStats()

void Isis::ControlNetStatistics::PrintImageStats ( const QString & psImageFile)
inherited

Print the Image Stats into specified output file.

Author
Sharmila Prasad (9/1/2010)

Header: FileName, SerialNumber, TotalPoints, PointsIgnored, PointsLocked, Fixed, Constrained, Free

Parameters
psImageFile- Output Image Stats File

Definition at line 318 of file ControlNetStatistics.cpp.

References Isis::SerialNumberList::fileName(), Isis::IException::Io, Isis::ControlNetStatistics::mImageMap, Isis::ControlNetStatistics::mSerialNumList, Isis::ControlNetStatistics::mSerialNumMap, Isis::SerialNumberList::size(), and Isis::IException::User.

◆ SetOutputFile()

void Isis::ControlNetFilter::SetOutputFile ( QString psPrintFile)

Set the output print file.

Get the output file and open the output file stream.

Author
Sharmila Prasad (9/7/2010)
Parameters
psPrintFile
pbPvl

Definition at line 66 of file ControlNetFilter.cpp.

References mOstm.

◆ UpdateMinMaxStats()

void Isis::ControlNetStatistics::UpdateMinMaxStats ( const Statistics & stats,
ePointDoubleStats min,
ePointDoubleStats max )
privateinherited

Definition at line 593 of file ControlNetStatistics.cpp.

Member Data Documentation

◆ mCNet

◆ mConvexHullRatioStats

Statistics Isis::ControlNetStatistics::mConvexHullRatioStats
privateinherited

min, max, average convex hull stats

Definition at line 258 of file ControlNetStatistics.h.

Referenced by Isis::ControlNetStatistics::GenerateControlNetStats(), and Isis::ControlNetStatistics::GenerateImageStats().

◆ mConvexHullStats

Statistics Isis::ControlNetStatistics::mConvexHullStats
privateinherited

Definition at line 258 of file ControlNetStatistics.h.

◆ mImageMap

QMap<QString, QVector<double> > Isis::ControlNetStatistics::mImageMap
privateinherited

◆ mOstm

◆ mPointDoubleStats

◆ mPointIntStats

◆ mProgress

◆ mSerialNumFilter

SerialNumberList Isis::ControlNetFilter::mSerialNumFilter
private

◆ mSerialNumList

◆ mSerialNumMap

QMap<QString, bool> Isis::ControlNetStatistics::mSerialNumMap
privateinherited

◆ numCNetImages

int Isis::ControlNetStatistics::numCNetImages
privateinherited

Definition at line 256 of file ControlNetStatistics.h.

◆ numImageStats

const int Isis::ControlNetStatistics::numImageStats = 11
staticinherited

Definition at line 92 of file ControlNetStatistics.h.

◆ numPointDblStats

const int Isis::ControlNetStatistics::numPointDblStats = 20
staticinherited

Definition at line 87 of file ControlNetStatistics.h.

◆ numPointDetails

const int Isis::ControlNetStatistics::numPointDetails = 6
staticinherited

Definition at line 76 of file ControlNetStatistics.h.

◆ numPointIntStats

const int Isis::ControlNetStatistics::numPointIntStats = 11
staticinherited

Definition at line 81 of file ControlNetStatistics.h.


The documentation for this class was generated from the following files: