Isis 3.0 Developer's Reference (API) |
Home |
Filter Control Network. More...
#include <ControlNetFilter.h>
Inherits Isis::ControlNetStatistics.
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, string &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 (string psPrintFile) |
Set the output print file. | |
void | PrintCubeFileSerialNum (const ControlMeasure &pcMeasure) |
Print Cube's File and Serial Number into the Output File. | |
void | GenerateImageStats (void) |
Generate stats like Total, Ignored, Fixed Points in an Image. | |
void | PrintImageStats (const string &psImageFile) |
Print the Image Stats into specified output file. | |
const vector< double > | GetImageStatsBySerialNum (string psSerialNum) |
Returns the Image Stats by Serial Number. | |
void | GeneratePointStats (const string &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 () |
Returns the Number of Valid (Not Ignored) Points in the Control Net. | |
int | NumFixedPoints () |
Returns the Number of Fixed Points in the Control Net. | |
int | NumConstrainedPoints () |
Returns the number of Constrained Points in Control Net. | |
int | NumFreePoints () |
Returns the number of Constrained Points in Control Net. | |
int | NumIgnoredPoints () |
Returns the number of ignored points. | |
int | NumEditLockedPoints () |
Returns total number of edit locked points. | |
int | NumMeasures () |
Returns the total Number of Measures in the Control Net. | |
int | NumValidMeasures () |
Returns the total Number of valid Measures in the Control Net. | |
int | NumIgnoredMeasures () |
Returns the total Number of Ignored Measures in the Control Net. | |
int | NumEditLockedMeasures () |
Returns total number of edit locked measures in the network. | |
double | GetAverageResidual () |
Determine the average error of all points in the network. | |
double | GetMinimumResidual () |
Determine the minimum error of all points in the network. | |
double | GetMaximumResidual () |
Determine the maximum error of all points in the network. | |
double | GetMinLineResidual () |
Determine the minimum line error of all points in the network. | |
double | GetMinSampleResidual () |
Determine the minimum sample error of all points in the network. | |
double | GetMaxLineResidual () |
Determine the maximum line error of all points in the network. | |
double | GetMaxSampleResidual () |
Determine the maximum sample error of all points in the network. | |
double | GetMinLineShift (void) |
Get Min and Max LineShift. | |
double | GetMaxLineShift (void) |
Get network Max LineShift. | |
double | GetMinSampleShift () |
Get network Min SampleShift. | |
double | GetMaxSampleShift () |
Get network Max SampleShift. | |
double | GetMinPixelShift () |
Get network Min PixelShift. | |
double | GetMaxPixelShift () |
Get network Max PixelShift. | |
double | GetAvgPixelShift () |
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. | |
ControlNet * | mCNet |
Control Network. | |
Progress * | mProgress |
Progress state. | |
QList< ControlCubeGraphNode * > | mCubeGraphNodes |
Filter Control Network.
This class is used to filter Control Network based on different options
enum Isis::ControlNetStatistics::ePointDetails [inherited] |
Enumeration for Point Statistics.
enum Isis::ControlNetStatistics::ePointDoubleStats [inherited] |
Enumeration for Point stats like Tolerances, PixelShifts which have double data.
enum Isis::ControlNetStatistics::ePointIntStats [inherited] |
enum Isis::ControlNetStatistics::ImageStats [inherited] |
Isis::ControlNetFilter::ControlNetFilter | ( | ControlNet * | pCNet, | |
string & | psSerialNumFile, | |||
Progress * | pProgress = 0 | |||
) |
Constructor.
ControlNetFilter Constructor.
pCNet | - input Control Net | |
psSerialNumFile | - Corresponding Serial Num List | |
pProgress | - Progress of the processing |
Isis::ControlNetFilter::~ControlNetFilter | ( | ) |
Destructor.
ControlNetFilter Destructor.
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
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
References _FILEINFO_, CubeStatsHeader(), Isis::SerialNumberList::Delete(), Isis::SerialNumberList::Filename(), Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlNetStatistics::GetImageStatsBySerialNum(), Isis::PvlContainer::HasKeyword(), Isis::ControlNetStatistics::imgConstrainedPoints, Isis::ControlNetStatistics::imgConvexHullRatio, Isis::ControlNetStatistics::imgFixedPoints, Isis::ControlNetStatistics::imgFreePoints, Isis::ControlNetStatistics::imgIgnoredPoints, Isis::ControlNetStatistics::imgLockedPoints, Isis::ControlNetStatistics::imgTotalPoints, Isis::iException::Message(), Isis::SerialNumberList::SerialNumber(), Isis::SerialNumberList::Size(), ToDouble(), Isis::iException::User, and Isis::ValidMaximum.
void Isis::ControlNetFilter::CubeDistanceFilter | ( | const PvlGroup & | pvlGrp, | |
bool | pbLastFilter | |||
) |
Filter Cubes by Distance between points in a Cube.
Filter by distance between points in Cube Group by Image.
pvlGrp | - Pvl Group containing the filter info | |
pbLastFilter | - Flag to indicate whether this is the last filter to print the stats |
References _FILEINFO_, cam, Isis::ControlPoint::Constrained, CubeStatsHeader(), Isis::Angle::Degrees, Isis::SerialNumberList::Delete(), Isis::SerialNumberList::Filename(), Isis::ControlPoint::Fixed, Isis::ControlPoint::Free, Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlMeasure::GetCubeSerialNumber(), Isis::SurfacePoint::GetDistanceToPoint(), Isis::ControlNetStatistics::GetImageStatsBySerialNum(), Isis::ControlMeasure::GetLine(), Isis::ControlPoint::GetMeasure(), Isis::Distance::GetMeters(), Isis::ControlPoint::GetNumMeasures(), Isis::ControlNet::GetNumPoints(), Isis::ControlNet::GetPoint(), Isis::ControlMeasure::GetSample(), Isis::ControlPoint::GetType(), Isis::PvlContainer::HasKeyword(), Isis::ControlNetStatistics::imgConvexHullRatio, Isis::ControlPoint::IsEditLocked(), Isis::ControlPoint::IsIgnored(), Isis::ControlNetStatistics::mCNet, Isis::iException::Message(), Isis::Distance::Meters, Isis::ControlNetStatistics::mSerialNumList, pvl(), radius, Isis::SerialNumberList::SerialNumber(), Isis::SerialNumberList::Size(), and Isis::iException::User.
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.
pvlGrp | - Pvl Group containing the filter info | |
pbLastFilter | - Flag to indicate whether this is the last filter to print the stats |
References CubeStatsHeader(), Isis::SerialNumberList::Delete(), Isis::SerialNumberList::Filename(), Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlNetStatistics::GetImageStatsBySerialNum(), Isis::PvlContainer::HasKeyword(), Isis::ControlNetStatistics::imgConstrainedPoints, Isis::ControlNetStatistics::imgConvexHullRatio, Isis::ControlNetStatistics::imgFixedPoints, Isis::ControlNetStatistics::imgFreePoints, Isis::ControlNetStatistics::imgIgnoredPoints, Isis::ControlNetStatistics::imgLockedPoints, Isis::ControlNetStatistics::imgTotalPoints, Isis::SerialNumberList::SerialNumber(), Isis::SerialNumberList::Size(), and Isis::iString::Token().
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.
pvlGrp | - Pvl Group containing the filter info | |
pbLastFilter | - Flag to indicate whether this is the last filter to print the stats |
References _FILEINFO_, CubeStatsHeader(), Isis::SerialNumberList::Delete(), Isis::SerialNumberList::Filename(), Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlNetStatistics::GetImageStatsBySerialNum(), Isis::PvlContainer::HasKeyword(), Isis::ControlNetStatistics::imgConstrainedPoints, Isis::ControlNetStatistics::imgConvexHullRatio, Isis::ControlNetStatistics::imgFixedPoints, Isis::ControlNetStatistics::imgFreePoints, Isis::ControlNetStatistics::imgIgnoredPoints, Isis::ControlNetStatistics::imgLockedPoints, Isis::ControlNetStatistics::imgTotalPoints, Isis::iException::Message(), Isis::SerialNumberList::SerialNumber(), Isis::SerialNumberList::Size(), Isis::iException::User, and Isis::VALID_MAX2.
void Isis::ControlNetFilter::CubeStatsHeader | ( | void | ) |
Print the standard cube stats Header.
Print the Standard Cube Stats Header into Output File.
Referenced by CubeConvexHullFilter(), CubeDistanceFilter(), CubeNameExpressionFilter(), CubeNumPointsFilter(), and PointCubeNamesFilter().
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
pStatsGrp | - Output Control Net Stats in Pvl format |
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::ControlNetStatistics::maxEccentricity, Isis::ControlNetStatistics::maxGFit, Isis::Statistics::Maximum(), Isis::ControlNetStatistics::maxPixelZScore, Isis::ControlNetStatistics::mCNet, Isis::ControlNetStatistics::minEccentricity, Isis::ControlNetStatistics::minGFit, Isis::Statistics::Minimum(), Isis::ControlNetStatistics::minPixelZScore, Isis::ControlNetStatistics::mSerialNumList, Isis::NULL8, Isis::ControlNetStatistics::NumConstrainedPoints(), Isis::ControlNetStatistics::NumFixedPoints(), Isis::ControlNetStatistics::NumFreePoints(), Isis::ControlNetStatistics::NumIgnoredMeasures(), Isis::ControlNetStatistics::NumMeasures(), Isis::ControlNetStatistics::NumValidMeasures(), Isis::ControlNetStatistics::NumValidPoints(), and Isis::SerialNumberList::Size().
void Isis::ControlNetStatistics::GenerateImageStats | ( | void | ) | [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.
References Isis::Statistics::AddData(), Isis::Progress::CheckStatus(), Isis::ControlPoint::Constrained, cube, Isis::SerialNumberList::Filename(), Isis::ControlPoint::Fixed, Isis::ControlPoint::Free, Isis::ControlNet::GetCubeGraphNodes(), Isis::ControlMeasure::GetLine(), Isis::Cube::getLineCount(), Isis::ControlCubeGraphNode::getMeasures(), Isis::ControlMeasure::GetSample(), Isis::Cube::getSampleCount(), Isis::ControlCubeGraphNode::getSerialNumber(), Isis::ControlPoint::GetType(), Isis::ControlNetStatistics::imgConstrainedPoints, Isis::ControlNetStatistics::imgConvexHullArea, Isis::ControlNetStatistics::imgConvexHullRatio, Isis::ControlNetStatistics::imgFixedPoints, Isis::ControlNetStatistics::imgFreePoints, Isis::ControlNetStatistics::imgIgnoredPoints, Isis::ControlNetStatistics::imgLines, Isis::ControlNetStatistics::imgLocked, Isis::ControlNetStatistics::imgLockedPoints, Isis::ControlNetStatistics::imgSamples, Isis::ControlNetStatistics::imgTotalPoints, Isis::ControlMeasure::IsEditLocked(), Isis::ControlPoint::IsEditLocked(), Isis::ControlPoint::IsIgnored(), Isis::ControlNetStatistics::mCNet, Isis::ControlNetStatistics::mCubeGraphNodes, Isis::ControlNetStatistics::mProgress, Isis::ControlNetStatistics::mSerialNumList, Isis::ControlNetStatistics::numImageStats, Isis::CubeManager::OpenCube(), Isis::ControlMeasure::Parent(), 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().
void Isis::ControlNetStatistics::GeneratePointStats | ( | const string & | 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.
psPointFile | - Output Point Statisitics File |
References Isis::Progress::CheckStatus(), Isis::Filename::Expanded(), Isis::ControlPoint::GetId(), Isis::ControlPoint::GetNumLockedMeasures(), Isis::ControlPoint::GetNumMeasures(), Isis::ControlNet::GetNumPoints(), Isis::ControlPoint::GetNumValidMeasures(), Isis::ControlNet::GetPoint(), Isis::ControlPoint::GetType(), Isis::ControlPoint::IsEditLocked(), Isis::ControlPoint::IsIgnored(), Isis::ControlNetStatistics::mCNet, Isis::ControlNetStatistics::mProgress, outFile, Isis::sBoolean, Isis::Progress::SetMaximumSteps(), Isis::Progress::SetText(), and Isis::sPointType.
double Isis::ControlNetStatistics::GetAverageResidual | ( | ) | [inline, inherited] |
Determine the average error of all points in the network.
References Isis::ControlNetStatistics::avgResidual.
Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().
double Isis::ControlNetStatistics::GetAvgPixelShift | ( | ) | [inline, inherited] |
Get network Avg PixelShift.
References Isis::ControlNetStatistics::avgPixelShift.
Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().
const vector< double > Isis::ControlNetStatistics::GetImageStatsBySerialNum | ( | string | psSerialNum | ) | [inherited] |
Returns the Image Stats by Serial Number.
psSerialNum | - Image serialNum |
Referenced by CubeConvexHullFilter(), CubeDistanceFilter(), CubeNameExpressionFilter(), CubeNumPointsFilter(), and PointCubeNamesFilter().
double Isis::ControlNetStatistics::GetMaximumResidual | ( | ) | [inline, inherited] |
Determine the maximum error of all points in the network.
References Isis::ControlNetStatistics::maxResidual.
Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().
double Isis::ControlNetStatistics::GetMaxLineResidual | ( | ) | [inline, inherited] |
Determine the maximum line error of all points in the network.
References Isis::ControlNetStatistics::maxLineResidual.
Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().
double Isis::ControlNetStatistics::GetMaxLineShift | ( | void | ) | [inline, inherited] |
Get network Max LineShift.
References Isis::ControlNetStatistics::maxLineShift.
Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().
double Isis::ControlNetStatistics::GetMaxPixelShift | ( | ) | [inline, inherited] |
Get network Max PixelShift.
References Isis::ControlNetStatistics::maxPixelShift.
Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().
double Isis::ControlNetStatistics::GetMaxSampleResidual | ( | ) | [inline, inherited] |
Determine the maximum sample error of all points in the network.
References Isis::ControlNetStatistics::maxSampleResidual.
Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().
double Isis::ControlNetStatistics::GetMaxSampleShift | ( | ) | [inline, inherited] |
Get network Max SampleShift.
References Isis::ControlNetStatistics::maxSampleShift.
Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().
double Isis::ControlNetStatistics::GetMinimumResidual | ( | ) | [inline, inherited] |
Determine the minimum error of all points in the network.
References Isis::ControlNetStatistics::minResidual.
Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().
double Isis::ControlNetStatistics::GetMinLineResidual | ( | ) | [inline, inherited] |
Determine the minimum line error of all points in the network.
References Isis::ControlNetStatistics::minLineResidual.
Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().
double Isis::ControlNetStatistics::GetMinLineShift | ( | void | ) | [inline, inherited] |
Get Min and Max LineShift.
References Isis::ControlNetStatistics::minLineShift.
Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().
double Isis::ControlNetStatistics::GetMinPixelShift | ( | ) | [inline, inherited] |
Get network Min PixelShift.
References Isis::ControlNetStatistics::minPixelShift.
Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().
double Isis::ControlNetStatistics::GetMinSampleResidual | ( | ) | [inline, inherited] |
Determine the minimum sample error of all points in the network.
References Isis::ControlNetStatistics::minSampleResidual.
Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().
double Isis::ControlNetStatistics::GetMinSampleShift | ( | ) | [inline, inherited] |
Get network Min SampleShift.
References Isis::ControlNetStatistics::minSampleShift.
Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().
int Isis::ControlNetStatistics::NumConstrainedPoints | ( | ) | [inline, inherited] |
Returns the number of Constrained Points in Control Net.
References Isis::ControlNetStatistics::constrainedPoints.
Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().
int Isis::ControlNetStatistics::NumEditLockedMeasures | ( | ) | [inline, inherited] |
Returns total number of edit locked measures in the network.
References Isis::ControlNetStatistics::editLockedMeasures.
int Isis::ControlNetStatistics::NumEditLockedPoints | ( | ) | [inline, inherited] |
Returns total number of edit locked points.
References Isis::ControlNetStatistics::editLockedPoints.
int Isis::ControlNetStatistics::NumFixedPoints | ( | ) | [inline, inherited] |
Returns the Number of Fixed Points in the Control Net.
References Isis::ControlNetStatistics::fixedPoints.
Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().
int Isis::ControlNetStatistics::NumFreePoints | ( | ) | [inline, inherited] |
Returns the number of Constrained Points in Control Net.
References Isis::ControlNetStatistics::freePoints.
Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().
int Isis::ControlNetStatistics::NumIgnoredMeasures | ( | ) | [inline, inherited] |
Returns the total Number of Ignored Measures in the Control Net.
References Isis::ControlNetStatistics::ignoredMeasures.
Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().
int Isis::ControlNetStatistics::NumIgnoredPoints | ( | ) | [inline, inherited] |
Returns the number of ignored points.
References Isis::ControlNetStatistics::ignoredPoints.
int Isis::ControlNetStatistics::NumMeasures | ( | ) | [inline, inherited] |
Returns the total Number of Measures in the Control Net.
References Isis::ControlNetStatistics::totalMeasures.
Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().
int Isis::ControlNetStatistics::NumValidMeasures | ( | ) | [inline, inherited] |
Returns the total Number of valid Measures in the Control Net.
References Isis::ControlNetStatistics::validMeasures.
Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().
int Isis::ControlNetStatistics::NumValidPoints | ( | ) | [inline, inherited] |
Returns the Number of Valid (Not Ignored) Points in the Control Net.
References Isis::ControlNetStatistics::validPoints.
Referenced by Isis::ControlNetStatistics::GenerateControlNetStats().
void Isis::ControlNetFilter::PointCubeNamesFilter | ( | const PvlGroup & | pvlGrp, | |
bool | pbLastFilter | |||
) |
Filter Points by Cube names.
Filter points based on the image serial # - Group by Point.
pvlGrp | - Pvl Group containing the filter info | |
pbLastFilter | - Flag to indicate whether this is the last filter to print the stats |
References CubeStatsHeader(), Isis::SerialNumberList::Filename(), Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlMeasure::GetCubeSerialNumber(), Isis::ControlPoint::GetId(), Isis::ControlNetStatistics::GetImageStatsBySerialNum(), Isis::ControlPoint::GetMeasure(), Isis::ControlPoint::GetNumLockedMeasures(), Isis::ControlPoint::GetNumMeasures(), Isis::ControlNet::GetNumPoints(), Isis::ControlPoint::GetNumValidMeasures(), Isis::ControlNet::GetPoint(), Isis::ControlPoint::GetType(), Isis::ControlNetStatistics::imgConstrainedPoints, Isis::ControlNetStatistics::imgConvexHullRatio, Isis::ControlNetStatistics::imgFixedPoints, Isis::ControlNetStatistics::imgFreePoints, Isis::ControlNetStatistics::imgIgnoredPoints, Isis::ControlNetStatistics::imgLockedPoints, Isis::ControlNetStatistics::imgTotalPoints, Isis::ControlMeasure::IsEditLocked(), Isis::ControlPoint::IsEditLocked(), Isis::ControlMeasure::IsIgnored(), Isis::ControlPoint::IsIgnored(), Isis::PvlContainer::Keywords(), Isis::ControlNetStatistics::mCNet, Isis::ControlNetStatistics::mSerialNumList, PointStatsHeader(), Isis::sBoolean, size, and Isis::sPointType.
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.
pvlGrp | - Pvl Group containing the filter info | |
pbLastFilter | - Flag to indicate whether this is the last filter to print the stats |
References Isis::Angle::Degrees, Isis::SerialNumberList::Filename(), Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlPoint::GetAdjustedSurfacePoint(), Isis::ControlMeasure::GetCubeSerialNumber(), Isis::SurfacePoint::GetDistanceToPoint(), Isis::ControlPoint::GetId(), Isis::ControlMeasure::GetLine(), Isis::SurfacePoint::GetLocalRadius(), Isis::ControlNet::GetNumPoints(), Isis::ControlNet::GetPoint(), Isis::ControlPoint::GetRefMeasure(), Isis::ControlMeasure::GetSample(), Isis::PvlContainer::HasKeyword(), Isis::Sensor::LocalRadius(), Isis::ControlNetStatistics::mCNet, Isis::ControlNetStatistics::mSerialNumList, Isis::Null, PointStats(), PointStatsHeader(), Isis::Camera::SetImage(), Isis::SurfacePoint::SetSpherical(), Isis::Sensor::UniversalLatitude(), Isis::Sensor::UniversalLongitude(), and Isis::SurfacePoint::Valid().
void Isis::ControlNetFilter::PointEditLockFilter | ( | const PvlGroup & | pvlGrp, | |
bool | pbLastFilter | |||
) |
Filter Points by Edit Lock.
Filter points based on the point EditLock.
Header - PointID, Type, Ignore, EditLock, NumMeasures, NumIgnoredMeasures, NumLockedMeasures,
pvlGrp | - Deffile Input group | |
pbLastFilter | - Is this the last filter - for printing purposes. |
References Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlPoint::GetId(), Isis::ControlPoint::GetNumLockedMeasures(), Isis::ControlPoint::GetNumMeasures(), Isis::ControlNet::GetNumPoints(), Isis::ControlPoint::GetNumValidMeasures(), Isis::ControlNet::GetPoint(), Isis::ControlPoint::GetType(), Isis::PvlContainer::HasKeyword(), Isis::ControlPoint::IsEditLocked(), Isis::ControlPoint::IsIgnored(), Isis::ControlNetStatistics::mCNet, PointStatsHeader(), Isis::sBoolean, and Isis::sPointType.
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
pvlGrp | - Pvl Group containing the filter info | |
pbLastFilter | - Flag to indicate whether this is the last filter to print the stats |
References Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlPoint::GetId(), Isis::ControlMeasure::GetLogData(), Isis::ControlPoint::GetMeasure(), Isis::ControlMeasure::GetMeasureTypeString(), Isis::ControlMeasureLogData::GetNumericalValue(), Isis::ControlPoint::GetNumLockedMeasures(), Isis::ControlPoint::GetNumMeasures(), Isis::ControlNet::GetNumPoints(), Isis::ControlPoint::GetNumValidMeasures(), Isis::ControlNet::GetPoint(), Isis::ControlPoint::GetRefMeasure(), Isis::ControlPoint::GetType(), Isis::ControlMeasureLogData::GoodnessOfFit, Isis::PvlContainer::HasKeyword(), Isis::ControlMeasure::IsEditLocked(), Isis::ControlPoint::IsEditLocked(), Isis::ControlMeasure::IsIgnored(), Isis::ControlPoint::IsIgnored(), Isis::ControlNetStatistics::mCNet, Isis::Null, PointStatsHeader(), PrintCubeFileSerialNum(), Isis::sBoolean, Isis::sPointType, ToDouble(), and Isis::ValidMaximum.
void Isis::ControlNetFilter::PointIDFilter | ( | const PvlGroup & | pvlGrp, | |
bool | pbLastFilter | |||
) |
Filter Points by Point ID Expression.
Filter PointID based on regular expression Group by Points.
pvlGrp | - Pvl Group containing the filter info | |
pbLastFilter | - Flag to indicate whether this is the last filter to print the stats |
References Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlPoint::GetId(), Isis::ControlNet::GetNumPoints(), Isis::ControlNet::GetPoint(), Isis::ControlNetStatistics::mCNet, PointStats(), PointStatsHeader(), and Isis::iString::Token().
void Isis::ControlNetFilter::PointLatLonFilter | ( | const PvlGroup & | pvlGrp, | |
bool | pbLastFilter | |||
) |
Filter Points by Lat Lon Range.
Filters the Control Network based on Lat,Lon Range Group by Points.
pvlGrp | - Pvl Group containing the filter info | |
pbLastFilter | - Flag to indicate whether this is the last filter to print the stats |
References _FILEINFO_, Isis::Angle::Degrees, Isis::SerialNumberList::Filename(), Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlPoint::GetAdjustedSurfacePoint(), Isis::ControlMeasure::GetCubeSerialNumber(), Isis::Angle::GetDegrees(), Isis::SurfacePoint::GetLatitude(), Isis::ControlMeasure::GetLine(), Isis::SurfacePoint::GetLocalRadius(), Isis::SurfacePoint::GetLongitude(), Isis::Distance::GetMeters(), Isis::ControlNet::GetNumPoints(), Isis::ControlNet::GetPoint(), Isis::ControlPoint::GetRefMeasure(), Isis::ControlMeasure::GetSample(), Isis::PvlContainer::HasKeyword(), latitude, Isis::Sensor::LocalRadius(), longitude, Isis::ControlNetStatistics::mCNet, Isis::iException::Message(), Isis::ControlNetStatistics::mSerialNumList, PointStats(), PointStatsHeader(), pvl(), Isis::Camera::SetImage(), Isis::SurfacePoint::SetSpherical(), Isis::Sensor::UniversalLatitude(), Isis::Sensor::UniversalLongitude(), Isis::iException::User, Isis::SurfacePoint::Valid(), Isis::ValidMaximum, and Isis::ValidMinimum.
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
pvlGrp | - Pvl Group containing the filter info | |
pbLastFilter | - Flag to indicate whether this is the last filter to print the stats |
References Isis::ControlMeasure::Candidate, Isis::SerialNumberList::Filename(), Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlMeasure::GetCubeSerialNumber(), Isis::ControlPoint::GetMeasure(), Isis::ControlMeasure::GetMeasureTypeString(), Isis::ControlPoint::GetNumMeasures(), Isis::ControlNet::GetNumPoints(), Isis::ControlNet::GetPoint(), Isis::ControlPoint::GetRefMeasure(), Isis::ControlMeasure::GetType(), Isis::PvlContainer::HasKeyword(), Isis::ControlMeasure::IsEditLocked(), Isis::ControlMeasure::IsIgnored(), Isis::ControlMeasure::Manual, Isis::ControlNetStatistics::mCNet, Isis::ControlNetStatistics::mSerialNumList, PointStats(), PointStatsHeader(), Isis::ControlMeasure::RegisteredPixel, Isis::ControlMeasure::RegisteredSubPixel, and Isis::sBoolean.
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
pvlGrp | - Pvl Group containing the filter info | |
pbLastFilter | - Flag to indicate whether this is the last filter to print the stats |
References _FILEINFO_, Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlPoint::GetMeasure(), Isis::ControlMeasure::GetMeasureTypeString(), Isis::ControlPoint::GetNumMeasures(), Isis::ControlNet::GetNumPoints(), Isis::ControlNet::GetPoint(), Isis::ControlPoint::GetRefMeasure(), Isis::PvlContainer::HasKeyword(), Isis::ControlMeasure::IsEditLocked(), Isis::ControlMeasure::IsIgnored(), Isis::ControlNetStatistics::mCNet, Isis::iException::Message(), PointStats(), PointStatsHeader(), PrintCubeFileSerialNum(), Isis::sBoolean, Isis::iException::User, and Isis::VALID_MAX2.
void Isis::ControlNetFilter::PointNumMeasuresEditLockFilter | ( | const PvlGroup & | pvlGrp, | |
bool | pbLastFilter | |||
) |
Filter Points by Measure Edit Lock number.
Filter points based on number of measures EditLocked.
Header - PointID, Type, Ignore, EditLock, NumMeasures, NumIgnoredMeasures, NumLockedMeasures,
pvlGrp | - Deffile Input group | |
pbLastFilter | - Is this the last filter - for printing purposes. |
References _FILEINFO_, Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlPoint::GetMeasure(), Isis::ControlMeasure::GetMeasureTypeString(), Isis::ControlPoint::GetNumLockedMeasures(), Isis::ControlPoint::GetNumMeasures(), Isis::ControlNet::GetNumPoints(), Isis::ControlNet::GetPoint(), Isis::ControlPoint::GetRefMeasure(), Isis::PvlContainer::HasKeyword(), Isis::ControlMeasure::IsEditLocked(), Isis::ControlMeasure::IsIgnored(), Isis::ControlNetStatistics::mCNet, Isis::iException::Message(), PointStats(), PointStatsHeader(), PrintCubeFileSerialNum(), Isis::sBoolean, Isis::iException::User, and Isis::VALID_MAX2.
void Isis::ControlNetFilter::PointPixelShiftFilter | ( | const PvlGroup & | pvlGrp, | |
bool | pbLastFilter | |||
) |
Filter Points by Pixel Shift.
Filter Points by PixelShift.
pvlGrp | - Deffile Input group | |
pbLastFilter | - Is this the last filter - for printing purposes. |
References _FILEINFO_, Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlPoint::GetId(), Isis::ControlPoint::GetMeasure(), Isis::ControlMeasure::GetMeasureTypeString(), Isis::ControlPoint::GetNumMeasures(), Isis::ControlNet::GetNumPoints(), Isis::ControlMeasure::GetPixelShift(), Isis::ControlNet::GetPoint(), Isis::ControlPoint::GetRefMeasure(), Isis::ControlPoint::GetType(), Isis::PvlContainer::HasKeyword(), Isis::ControlMeasure::IsEditLocked(), Isis::ControlPoint::IsEditLocked(), Isis::ControlMeasure::IsIgnored(), Isis::ControlPoint::IsIgnored(), Isis::ControlNetStatistics::mCNet, Isis::iException::Message(), Isis::Null, PrintCubeFileSerialNum(), Isis::sBoolean, Isis::sPointType, ToDouble(), Isis::iException::User, and Isis::ValidMaximum.
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.
pvlGrp | - Pvl Group containing the filter info | |
pbLastFilter | - Flag to indicate whether this is the last filter to print the stats |
References Isis::ControlPoint::Constrained, Isis::iString::DownCase(), Isis::ControlPoint::Fixed, Isis::ControlPoint::Free, Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlNet::GetNumPoints(), Isis::ControlNet::GetPoint(), Isis::ControlPoint::GetType(), Isis::PvlContainer::HasKeyword(), Isis::ControlPoint::IsIgnored(), Isis::ControlNetStatistics::mCNet, PointStats(), and PointStatsHeader().
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
Header: PointID, Type, Ignore, EditLock, Filename, SerialNum, ResidualMagnitude, MeasureIgnore, MeasureLocked, Reference,
pvlGrp | - Pvl Group containing the filter info | |
pbLastFilter | - Flag to indicate whether this is the last filter to print the stats |
References _FILEINFO_, Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlPoint::GetId(), Isis::ControlPoint::GetMeasure(), Isis::ControlMeasure::GetMeasureTypeString(), Isis::ControlPoint::GetNumMeasures(), Isis::ControlNet::GetNumPoints(), Isis::ControlNet::GetPoint(), Isis::ControlPoint::GetRefMeasure(), Isis::ControlMeasure::GetResidualMagnitude(), Isis::ControlPoint::GetType(), Isis::PvlContainer::HasKeyword(), Isis::ControlMeasure::IsEditLocked(), Isis::ControlPoint::IsEditLocked(), Isis::ControlMeasure::IsIgnored(), Isis::ControlPoint::IsIgnored(), Isis::ControlNetStatistics::mCNet, Isis::iException::Message(), Isis::Null, PrintCubeFileSerialNum(), Isis::sBoolean, Isis::sPointType, ToDouble(), Isis::iException::User, and Isis::ValidMaximum.
void Isis::ControlNetFilter::PointStats | ( | const ControlPoint & | pcPoint | ) |
Standard Point Stats.
Print the Standard Point Stats into Output file given the Control Point.
pcPoint |
References Isis::ControlPoint::GetId(), Isis::ControlPoint::GetNumLockedMeasures(), Isis::ControlPoint::GetNumMeasures(), Isis::ControlPoint::GetNumValidMeasures(), Isis::ControlPoint::GetType(), Isis::ControlPoint::IsEditLocked(), Isis::ControlPoint::IsIgnored(), Isis::sBoolean, and Isis::sPointType.
Referenced by PointDistanceFilter(), PointIDFilter(), PointLatLonFilter(), PointMeasurePropertiesFilter(), PointMeasuresFilter(), PointNumMeasuresEditLockFilter(), and PointPropertiesFilter().
void Isis::ControlNetFilter::PointStatsHeader | ( | void | ) |
Standard Point stats Header.
Print the Standard Point Stats Header into Output File.
Referenced by PointCubeNamesFilter(), PointDistanceFilter(), PointEditLockFilter(), PointGoodnessOfFitFilter(), PointIDFilter(), PointLatLonFilter(), PointMeasurePropertiesFilter(), PointMeasuresFilter(), PointNumMeasuresEditLockFilter(), and PointPropertiesFilter().
void Isis::ControlNetFilter::PrintCubeFileSerialNum | ( | const ControlMeasure & | pcMeasure | ) |
Print Cube's File and Serial Number into the Output File.
pcMeasure | - Measure's Cube and Serial # |
References Isis::SerialNumberList::Filename(), Isis::ControlMeasure::GetCubeSerialNumber(), and Isis::ControlNetStatistics::mSerialNumList.
Referenced by PointGoodnessOfFitFilter(), PointMeasuresFilter(), PointNumMeasuresEditLockFilter(), PointPixelShiftFilter(), and PointResMagnitudeFilter().
void Isis::ControlNetStatistics::PrintImageStats | ( | const string & | psImageFile | ) | [inherited] |
Print the Image Stats into specified output file.
Header: Filename, SerialNumber, TotalPoints, PointsIgnored, PointsLocked, Fixed, Constrained, Free
psImageFile | - Output Image Stats File |
References _FILEINFO_, Isis::Filename::Expanded(), Isis::SerialNumberList::Filename(), Isis::ControlNetStatistics::imgConstrainedPoints, Isis::ControlNetStatistics::imgConvexHullRatio, Isis::ControlNetStatistics::imgFixedPoints, Isis::ControlNetStatistics::imgFreePoints, Isis::ControlNetStatistics::imgIgnoredPoints, Isis::ControlNetStatistics::imgLockedPoints, Isis::ControlNetStatistics::imgTotalPoints, Isis::iException::Message(), Isis::ControlNetStatistics::mSerialNumList, outFile, Isis::SerialNumberList::Size(), and Isis::iException::User.
void Isis::ControlNetFilter::SetOutputFile | ( | string | psPrintFile | ) |
Set the output print file.
Get the output file and open the output file stream.
psPrintFile | ||
pbPvl |
References Isis::Filename::Expanded(), and outFile.
ControlNet* Isis::ControlNetStatistics::mCNet [protected, inherited] |
Control Network.
Referenced by Isis::ControlNetStatistics::ControlNetStatistics(), CubeDistanceFilter(), Isis::ControlNetStatistics::GenerateControlNetStats(), Isis::ControlNetStatistics::GenerateImageStats(), Isis::ControlNetStatistics::GeneratePointStats(), PointCubeNamesFilter(), PointDistanceFilter(), PointEditLockFilter(), PointGoodnessOfFitFilter(), PointIDFilter(), PointLatLonFilter(), PointMeasurePropertiesFilter(), PointMeasuresFilter(), PointNumMeasuresEditLockFilter(), PointPixelShiftFilter(), PointPropertiesFilter(), and PointResMagnitudeFilter().
QList< ControlCubeGraphNode * > Isis::ControlNetStatistics::mCubeGraphNodes [protected, inherited] |
Referenced by Isis::ControlNetStatistics::GenerateImageStats().
Progress* Isis::ControlNetStatistics::mProgress [protected, inherited] |
SerialNumberList Isis::ControlNetStatistics::mSerialNumList [protected, inherited] |
Serial Number List.
Referenced by Isis::ControlNetStatistics::ControlNetStatistics(), CubeDistanceFilter(), Isis::ControlNetStatistics::GenerateControlNetStats(), Isis::ControlNetStatistics::GenerateImageStats(), PointCubeNamesFilter(), PointDistanceFilter(), PointLatLonFilter(), PointMeasurePropertiesFilter(), PrintCubeFileSerialNum(), and Isis::ControlNetStatistics::PrintImageStats().
const int Isis::ControlNetStatistics::numImageStats = 11 [static, inherited] |
Referenced by Isis::ControlNetStatistics::GenerateImageStats().
const int Isis::ControlNetStatistics::numPointDblStats = 20 [static, inherited] |
const int Isis::ControlNetStatistics::numPointDetails = 6 [static, inherited] |
const int Isis::ControlNetStatistics::numPointIntStats = 11 [static, inherited] |