Isis 3 Programmer Reference
|
ControlNetValidMeasure class. More...
#include <ControlNetValidMeasure.h>
Public Member Functions | |
ControlNetValidMeasure (Pvl *pvl=0) | |
Constructor - Initializes the data members and parses the input Pvl . More... | |
ControlNetValidMeasure (Pvl &pvl) | |
Constructor with a reference to Pvl Def file. More... | |
void | InitStdOptions (void) |
Initialize the Standard Options. More... | |
void | InitStdOptionsGroup (void) |
Initialize the Standard Options Pvl Group with no DefFile. More... | |
virtual | ~ControlNetValidMeasure () |
Destructor: clean up stuff relevant for this class. More... | |
void | Parse (Pvl &pvlDef) |
Parse the DefFile for Standard Options. More... | |
virtual Pvl & | GetLogPvl (void) |
Get the Pvl Log file. More... | |
virtual void | FindCnetRef (ControlNet &pNewNet) |
Virtual Function to get better references for a Control Network based on Criteria. More... | |
bool | ValidEmissionAngle (double pdEmissionAngle) |
Validate whether the Emission Angle is in the set Range. More... | |
bool | ValidIncidenceAngle (double pdIncidenceAngle) |
Validate whether the Incidence Angle is in the set Range. More... | |
bool | ValidDnValue (double pdDnValue) |
Validate whether the DN Value is in the set Range. More... | |
bool | ValidResolution (double pdResolution) |
Validate whether the Resolution is in the set Range. More... | |
bool | ValidResidualTolerances (double pdSampleResidual, double pdLineResidual, double pdResidualMagnitude, MeasureValidationResults &pResults) |
Validate whether the Residuals are within the set Tolerance. More... | |
bool | ValidShiftTolerances (double sampleShift, double lineShift, double pixelShift, MeasureValidationResults &results) |
Validate whether the Sample and Line Shifts and Pixel Shift are within the set Tolerances. More... | |
bool | ValidLatLon (Isis::Camera *pCamera, int piSample, int piLine) |
Validate the Lat/Lon. More... | |
PvlGroup & | GetStdOptions (void) |
Get the Standard Options Pvl Group. More... | |
PvlGroup & | GetStatistics (void) |
Get the Statistics Pvl Grp. More... | |
double | GetMinDN (void) |
Get the option MinDN. More... | |
double | GetMaxDN (void) |
Get the option MaxDN. More... | |
double | GetMinEmissionAngle (void) |
Get the option MinEmissionAngle. More... | |
double | GetMaxEmissionAngle (void) |
Get the option MaxEmissionAngle. More... | |
double | GetMinIncidenceAngle (void) |
Get the option MinIncidenceAngle. More... | |
double | GetMaxIncidenceAngle (void) |
Get the option MaxIncidenceAngle. More... | |
double | GetPixelsFromEdge (void) |
Get the option PixelsFromEdge. More... | |
double | GetMetersFromEdge (void) |
Get the option MetersFromEdge. More... | |
QString | LocationString (double pdSample, double pdLine) const |
API to display location in the form "Sample,Line". More... | |
bool | PixelsFromEdge (int piSample, int piLine, Cube *pCube) |
Test for a point to be user defined number of pixels from the edge. More... | |
bool | MetersFromEdge (int piSample, int piLine, Cube *pCube) |
Test for a point to be user defined number of meters from the edge. More... | |
MeasureValidationResults | ValidStandardOptions (const ControlMeasure *pMeasure, Cube *pCube, PvlGroup *pMeasureGrp=NULL) |
Validate Standard options to pick a reference based on a particular criteria. More... | |
MeasureValidationResults | ValidStandardOptions (const ControlMeasure *pMeasure, Cube *pCube, Camera *camera, PvlGroup *pMeasureGrp=NULL) |
Validate Standard options to pick a reference based on a particular criteria. More... | |
MeasureValidationResults | ValidStandardOptions (double pSample, double pLine, const ControlMeasure *pMeasure, Cube *pCube, PvlGroup *pMeasureGrp=NULL) |
Validate Standard options to pick a reference based on a particular criteria. More... | |
MeasureValidationResults | ValidStandardOptions (double pSample, double pLine, const ControlMeasure *pMeasure, Cube *pCube, Camera *measureCamera, PvlGroup *pMeasureGrp=NULL) |
MeasureValidationResults | ValidStandardOptions (double pSample, double pLine, Cube *pCube, PvlGroup *pMeasureGrp=NULL) |
Validate Standard options to pick a reference based on a particular criteria. More... | |
bool | IsCubeRequired () |
bool | IsCameraRequired () |
API to get status of CameraRequired flag. More... | |
Protected Member Functions | |
void | ValidatePvlDN (void) |
Validate PVL Min & Max DN Standard Options. More... | |
void | ValidatePvlEmissionAngle (void) |
Validate PVL Min & Max EmissionAngle Standard Options. More... | |
void | ValidatePvlIncidenceAngle (void) |
Validate PVL Min & Max IncidenceAngle Standard Options. More... | |
void | ValidatePvlResolution (void) |
Validate PVL Min & Max Resolution Standard Options. More... | |
void | ValidatePvlFromEdge (void) |
Validate and read Pixels and Meters from Edge Standard Options. More... | |
void | ValidatePvlResidualTolerances (void) |
Validate Pvl Sample, Line, Residual Magnitude Tolerances. More... | |
void | ValidatePvlShiftTolerances () |
Validate Pvl Sample, Line, Pixel (Sample and Line) Magnitude Shift Tolerances. More... | |
void | ReadSerialNumbers (QString psSerialNumfile) |
Read the Serial Numbers from the file and open assocaited cubes. More... | |
void | SetCameraRequiredFlag (bool pbFlag) |
Set the CameraRequired Flag. More... | |
Protected Attributes | |
double | mdMinDN |
Standard Option MinDN. More... | |
double | mdMaxDN |
Standard Option MaxDN. More... | |
double | mdMinResolution |
Standard Option MinResolution. More... | |
double | mdMaxResolution |
Standard Option MaxResolution. More... | |
double | mdMinEmissionAngle |
Standard Option MinEmissionAngle. More... | |
double | mdMaxEmissionAngle |
Standard Option MaxEmissionAngle. More... | |
double | mdMinIncidenceAngle |
Standard Option MinIncidenceAngle. More... | |
double | mdMaxIncidenceAngle |
Standard Option MaxIncidenceAngle. More... | |
double | mdMetersFromEdge |
Standard Option MeteresFromEdge. More... | |
int | miPixelsFromEdge |
Standard Option PixelsFromEdge. More... | |
double | mdSampleResTolerance |
Standard Option Sample Residual. More... | |
double | mdLineResTolerance |
Standard Option Line Residual. More... | |
double | mdResidualTolerance |
Standard Option Residual Magnitude. More... | |
double | m_sampleShiftTolerance |
Standard Option Sample Shift. More... | |
double | m_lineShiftTolerance |
Standard Option Line Shift. More... | |
double | m_pixelShiftTolerance |
Standard Option Pixel Shift. More... | |
double | mdEmissionAngle |
Store current Measure's Emission Angle. More... | |
double | mdIncidenceAngle |
Store current Measure's Incidence Angle. More... | |
double | mdResolution |
Store current Measure's Resolution. More... | |
double | mdDnValue |
Store current Measure's DN Value. More... | |
double | mdSampleResidual |
Store current Measure's Sample Residual. More... | |
double | mdLineResidual |
Store current Measure's Line Residual. More... | |
double | mdResidualMagnitude |
Store current Measure's Residual Magnitude. More... | |
double | m_sampleShift |
Store current Measure's Sample Shift. More... | |
double | m_lineShift |
Store current Measure's Line Shift. More... | |
double | m_pixelShift |
Store current Measure's Pixel Shift. More... | |
PvlGroup | mPvlOpGrp |
Pvl Operator Group. More... | |
PvlGroup | mStdOptionsGrp |
Pvl Standard Options Group. More... | |
PvlGroup | mStatisticsGrp |
Pvl output Statistics Group. More... | |
Pvl | mPvlLog |
Pvl Log of all the processing. More... | |
Progress | mStatus |
Monitor the status of the app. More... | |
CubeManager | mCubeMgr |
CubeManager to open and read cubes. More... | |
SerialNumberList | mSerialNumbers |
Serial numbers list. More... | |
bool | mbCameraRequired |
To improve speed, flag to indicate if Camera needs to be opened. More... | |
bool | mbValidateDN |
Check if DN needs to be Validated. More... | |
bool | mbValidateFromEdge |
Check if Pixels/Meters from edge needs to be Validated. More... | |
ControlNetValidMeasure class.
Base class to validate all the common Control Network options specific to Control Network applications.
2010-05-11 Sharmila Prasad - Original Version
2010-06-21 Sharmila Prasad - Remove references to UniversalGroundMap & Cubes use CubeManager instead
2010-06-23 Sharmila Prasad - Added Pixels/Meters from the edge options and Validate Standard Options
2010-09-16 Sharmila Prasad - Renamed to ControlNetValidMeasure for uniformity with other ControlNet Classes
2010-10-14 Sharmila Prasad - Use only a single copy of Control Net
2010-11-10 Sharmila Prasad - Change group name of DefFile from "Operator" to "ValidMeasure"
2011-05-17 Sharmila Prasad - Added Sample, Line Residuals and Residual Magnitude for validation
2011-05-19 Sharmila Prasad - Flag to indicate whether Camera is required, to increase the processing speed
2011-06-06 Sharmila Prasad - Process the options only is specified in the DefFile to improve run time
2011-11-21 Sharmila Prasad - Validate/Parse Pvl only if ValidMeasure Group is found. Fixes Mantis #584
2013-01-31 Steven Lambright - Fixed LocationString() to return valid text. Also, added a test for this text. Fixes #1436.
2014-03-03 Janet Barrett - Initialize the mdDnValue variable in the ValidStandardOptions method. Fixes #2040.
2016-07-13 Adam Paquette - Updated ValidStandardOptions to only get the EmissionAngle, IncidenceAngle, and PixelResolution if an image was properly set.
Definition at line 82 of file ControlNetValidMeasure.h.
Isis::ControlNetValidMeasure::ControlNetValidMeasure | ( | Pvl * | pPvl = 0 | ) |
Constructor - Initializes the data members and parses the input Pvl .
The Pvl Def File is optional.
pPvl | - Pvl DefFile |
Definition at line 21 of file ControlNetValidMeasure.cpp.
References Isis::PvlObject::hasGroup(), InitStdOptions(), InitStdOptionsGroup(), mStatisticsGrp, and Parse().
Isis::ControlNetValidMeasure::ControlNetValidMeasure | ( | Pvl & | pPvl | ) |
Constructor with a reference to Pvl Def file.
Used for Interest Operator where Def File is a requirement
pPvl | - Pvl DefFile |
Definition at line 41 of file ControlNetValidMeasure.cpp.
References Isis::PvlObject::hasGroup(), InitStdOptions(), InitStdOptionsGroup(), mStatisticsGrp, and Parse().
|
virtual |
Destructor: clean up stuff relevant for this class.
Definition at line 116 of file ControlNetValidMeasure.cpp.
References Isis::CubeManager::CleanCubes(), and mCubeMgr.
|
inlinevirtual |
Virtual Function to get better references for a Control Network based on Criteria.
Reimplemented in Isis::InterestOperator.
Definition at line 104 of file ControlNetValidMeasure.h.
|
inlinevirtual |
|
inline |
|
inline |
Get the option MaxEmissionAngle.
Definition at line 154 of file ControlNetValidMeasure.h.
References mdMaxEmissionAngle.
|
inline |
Get the option MaxIncidenceAngle.
Definition at line 164 of file ControlNetValidMeasure.h.
References mdMaxIncidenceAngle.
|
inline |
Get the option MetersFromEdge.
Definition at line 174 of file ControlNetValidMeasure.h.
References mdMetersFromEdge.
|
inline |
|
inline |
Get the option MinEmissionAngle.
Definition at line 149 of file ControlNetValidMeasure.h.
References mdMinEmissionAngle.
|
inline |
Get the option MinIncidenceAngle.
Definition at line 159 of file ControlNetValidMeasure.h.
References mdMinIncidenceAngle.
|
inline |
Get the option PixelsFromEdge.
Definition at line 169 of file ControlNetValidMeasure.h.
References miPixelsFromEdge.
|
inline |
Get the Statistics Pvl Grp.
Definition at line 134 of file ControlNetValidMeasure.h.
References mStatisticsGrp.
|
inline |
Get the Standard Options Pvl Group.
Definition at line 129 of file ControlNetValidMeasure.h.
References mStdOptionsGrp.
void Isis::ControlNetValidMeasure::InitStdOptions | ( | void | ) |
Initialize the Standard Options.
Init all the standard options to default.
Definition at line 58 of file ControlNetValidMeasure.cpp.
References m_lineShiftTolerance, m_pixelShiftTolerance, m_sampleShiftTolerance, mbCameraRequired, mbValidateDN, mbValidateFromEdge, mdLineResTolerance, mdMaxDN, mdMaxEmissionAngle, mdMaxIncidenceAngle, mdMaxResolution, mdMetersFromEdge, mdMinDN, mdMinEmissionAngle, mdMinIncidenceAngle, mdMinResolution, mdResidualTolerance, mdSampleResTolerance, miPixelsFromEdge, Isis::ValidMaximum, and Isis::ValidMinimum.
Referenced by ControlNetValidMeasure().
void Isis::ControlNetValidMeasure::InitStdOptionsGroup | ( | void | ) |
Initialize the Standard Options Pvl Group with no DefFile.
Set the Standard Options group for logging.
Definition at line 87 of file ControlNetValidMeasure.cpp.
References m_lineShiftTolerance, m_pixelShiftTolerance, m_sampleShiftTolerance, mdLineResTolerance, mdMaxDN, mdMaxEmissionAngle, mdMaxIncidenceAngle, mdMaxResolution, mdMetersFromEdge, mdMinDN, mdMinEmissionAngle, mdMinIncidenceAngle, mdMinResolution, mdResidualTolerance, mdSampleResTolerance, miPixelsFromEdge, mStdOptionsGrp, Isis::toString(), Isis::ValidMaximum, and Isis::ValidMinimum.
Referenced by ControlNetValidMeasure().
|
inline |
API to get status of CameraRequired flag.
Definition at line 220 of file ControlNetValidMeasure.h.
References mbCameraRequired.
|
inline |
API to display location in the form "Sample,Line".
Definition at line 179 of file ControlNetValidMeasure.h.
References Isis::toString().
Referenced by Isis::InterestOperator::FindCnetRef(), and Isis::InterestOperator::ProcessLocked_Point_Reference().
bool Isis::ControlNetValidMeasure::MetersFromEdge | ( | int | piSample, |
int | piLine, | ||
Cube * | pCube | ||
) |
Test for a point to be user defined number of meters from the edge.
Validate if a point in Measure is user defined number of meters from the edge.
Definition at line 858 of file ControlNetValidMeasure.cpp.
References _FILEINFO_, Isis::Cube::camera(), Isis::Cube::fileName(), Isis::Cube::lineCount(), mdMetersFromEdge, Isis::Camera::PixelResolution(), Isis::Cube::sampleCount(), Isis::Camera::SetImage(), and Isis::IException::User.
void Isis::ControlNetValidMeasure::Parse | ( | Pvl & | pvlDef | ) |
Parse the DefFile for Standard Options.
Virtual member that parses the common Cnet Options and checks for their validity.
pvlDef | - Pvl DefFile |
Definition at line 142 of file ControlNetValidMeasure.cpp.
References Isis::PvlObject::findGroup(), mPvlLog, mPvlOpGrp, mStdOptionsGrp, Isis::PvlObject::Traverse, ValidatePvlDN(), ValidatePvlEmissionAngle(), ValidatePvlFromEdge(), ValidatePvlIncidenceAngle(), ValidatePvlResidualTolerances(), ValidatePvlResolution(), and ValidatePvlShiftTolerances().
Referenced by ControlNetValidMeasure().
bool Isis::ControlNetValidMeasure::PixelsFromEdge | ( | int | piSample, |
int | piLine, | ||
Cube * | pCube | ||
) |
Test for a point to be user defined number of pixels from the edge.
Validate if a point in Measure is user defined number of pixels from the edge.
Definition at line 816 of file ControlNetValidMeasure.cpp.
References Isis::Cube::lineCount(), miPixelsFromEdge, and Isis::Cube::sampleCount().
|
protected |
Read the Serial Numbers from the file and open assocaited cubes.
Read Serial Numbers from specified file and populate the Cube and UniversalGround Maps using the serial numbers.
psSerialNumfile | - File with list of Serial Numbers |
Definition at line 128 of file ControlNetValidMeasure.cpp.
References mCubeMgr, mSerialNumbers, mStatus, and Isis::CubeManager::SetNumOpenCubes().
Referenced by Isis::InterestOperator::Operate().
|
inlineprotected |
Set the CameraRequired Flag.
This flag indicates whether a camera is required to Validate a Control Measure. Camera is required to get Emission, Incidence angles and Resolution
pbFlag |
Definition at line 257 of file ControlNetValidMeasure.h.
References mbCameraRequired.
|
protected |
Validate PVL Min & Max DN Standard Options.
Validate the Min and Max Dn Values set by the user in the Operator pvl file.
If not set then set the options to default and enter their names in the Unused Group. If the user set values are invalid then exception is thrown.
Definition at line 456 of file ControlNetValidMeasure.cpp.
References _FILEINFO_, Isis::PvlContainer::hasKeyword(), mbValidateDN, mdMaxDN, mdMinDN, mPvlOpGrp, mStdOptionsGrp, Isis::toString(), Isis::IException::User, Isis::ValidMaximum, and Isis::ValidMinimum.
Referenced by Parse().
|
protected |
Validate PVL Min & Max EmissionAngle Standard Options.
ValidateEmissionAngle: Validate the Min and Max Emission Values set by the user in the Operator pvl file.
If not set then set the options to default and enter their names in the Unused Group. If the user set values are invalid then exception is thrown, the valid range being [0-135]
Definition at line 489 of file ControlNetValidMeasure.cpp.
References _FILEINFO_, Isis::PvlContainer::hasKeyword(), mbCameraRequired, mdMaxEmissionAngle, mdMinEmissionAngle, mPvlOpGrp, mStdOptionsGrp, Isis::toString(), and Isis::IException::User.
Referenced by Parse().
|
protected |
Validate and read Pixels and Meters from Edge Standard Options.
Validate and Read the Pixels and Meters from Edge Standard Options.
Definition at line 386 of file ControlNetValidMeasure.cpp.
References Isis::PvlContainer::hasKeyword(), mbValidateFromEdge, mdMetersFromEdge, miPixelsFromEdge, mPvlOpGrp, mStdOptionsGrp, and Isis::toString().
Referenced by Parse().
|
protected |
Validate PVL Min & Max IncidenceAngle Standard Options.
ValidateIncidenceAngle: Validate the Min and Max Incidence Values set by the user in the Operator pvl file.
If not set then set the options to default and enter their names in the Unused Group. If the user set values are invalid then exception is thrown, the valid range being [0-135]
Definition at line 525 of file ControlNetValidMeasure.cpp.
References _FILEINFO_, Isis::PvlContainer::hasKeyword(), mbCameraRequired, mdMaxIncidenceAngle, mdMinIncidenceAngle, mPvlOpGrp, mStdOptionsGrp, Isis::toString(), and Isis::IException::User.
Referenced by Parse().
|
protected |
Validate Pvl Sample, Line, Residual Magnitude Tolerances.
Definition at line 557 of file ControlNetValidMeasure.cpp.
References _FILEINFO_, Isis::PvlContainer::hasKeyword(), mdLineResTolerance, mdResidualTolerance, mdSampleResTolerance, mPvlOpGrp, mStdOptionsGrp, Isis::toString(), and Isis::IException::User.
Referenced by Parse().
|
protected |
Validate PVL Min & Max Resolution Standard Options.
Validate the Min and Max Resolution Values set by the user in the Operator pvl file.
If not set then set the options to default and enter their names in the Unused Group. If the user set values are invalid then exception is thrown.
Definition at line 418 of file ControlNetValidMeasure.cpp.
References _FILEINFO_, Isis::PvlContainer::hasKeyword(), mbCameraRequired, mdMaxResolution, mdMinResolution, mPvlOpGrp, mStdOptionsGrp, Isis::toString(), and Isis::IException::User.
Referenced by Parse().
|
protected |
Validate Pvl Sample, Line, Pixel (Sample and Line) Magnitude Shift Tolerances.
Definition at line 602 of file ControlNetValidMeasure.cpp.
References _FILEINFO_, Isis::PvlContainer::hasKeyword(), m_lineShiftTolerance, m_pixelShiftTolerance, m_sampleShiftTolerance, mPvlOpGrp, mStdOptionsGrp, Isis::toString(), and Isis::IException::User.
Referenced by Parse().
bool Isis::ControlNetValidMeasure::ValidDnValue | ( | double | pdDnValue | ) |
Validate whether the DN Value is in the set Range.
Validates Dn Value by comparing against the Min and Max DN Values set in the def file or the defaults.
pdDnValue | - DN Value to Valdiate |
Definition at line 693 of file ControlNetValidMeasure.cpp.
References Isis::IsSpecial(), and mdMaxDN.
Referenced by Isis::MoravecOperator::Interest(), and Isis::GradientOperator::Interest().
bool Isis::ControlNetValidMeasure::ValidEmissionAngle | ( | double | pdEmissionAngle | ) |
Validate whether the Emission Angle is in the set Range.
Validates an Emission angle by comparing with the min and max values in the def file.
If Emission Angle is greater or lesser than the max/min values in the def file or the defaults it returns false else true.
pdEmissionAngle | - Emission Angle to Valdiate |
Definition at line 658 of file ControlNetValidMeasure.cpp.
References mdMaxEmissionAngle.
bool Isis::ControlNetValidMeasure::ValidIncidenceAngle | ( | double | pdIncidenceAngle | ) |
Validate whether the Incidence Angle is in the set Range.
Validates an Incidence angle by comparing with the min and max values in the def file.
If Incidence Angle is greater or lesser than the max/min values in the def file or the defaults it returns false else true.
pdIncidenceAngle | - Incidence Angle to Valdiate |
Definition at line 676 of file ControlNetValidMeasure.cpp.
References mdMaxIncidenceAngle.
bool Isis::ControlNetValidMeasure::ValidLatLon | ( | Isis::Camera * | pCamera, |
int | piSample, | ||
int | piLine | ||
) |
Validate the Lat/Lon.
Validate if a point has a valid lat, lon for that camera.
pCamera | |
piSample | |
piLine |
Definition at line 801 of file ControlNetValidMeasure.cpp.
bool Isis::ControlNetValidMeasure::ValidResidualTolerances | ( | double | pdSampleResidual, |
double | pdLineResidual, | ||
double | pdResidualMagnitude, | ||
MeasureValidationResults & | pResults | ||
) |
Validate whether the Residuals are within the set Tolerance.
Validate whether the Sample and Line Residuals and Residual Magnitudes are within the set Tolerances'.
pdSampleResidual | - Measure's Sample residual |
pdLineResidual | - Measure's Line residual |
pdResidualMagnitude | - Measure's Residual Magnitude |
pResults | - MeasureValidationResults |
Definition at line 731 of file ControlNetValidMeasure.cpp.
References mdLineResTolerance, mdResidualTolerance, and mdSampleResTolerance.
bool Isis::ControlNetValidMeasure::ValidResolution | ( | double | pdResolution | ) |
Validate whether the Resolution is in the set Range.
Validates Dn Value by comparing against the Min and Max DN Values set in the def file or the defaults.
pdResolution | - Resolution to Validate |
Definition at line 710 of file ControlNetValidMeasure.cpp.
References mdMaxResolution.
bool Isis::ControlNetValidMeasure::ValidShiftTolerances | ( | double | sampleShift, |
double | lineShift, | ||
double | pixelShift, | ||
MeasureValidationResults & | results | ||
) |
Validate whether the Sample and Line Shifts and Pixel Shift are within the set Tolerances.
sampleShift | Measure's sample shift (current - apriori) |
lineShift | Measure's line shift (current - apriori) |
pixelShift | Measure's pixel shift (Euclidean distance shifted) |
results | Validation results populated with any new failures |
Definition at line 764 of file ControlNetValidMeasure.cpp.
References m_lineShiftTolerance, m_pixelShiftTolerance, and m_sampleShiftTolerance.
MeasureValidationResults Isis::ControlNetValidMeasure::ValidStandardOptions | ( | const ControlMeasure * | pMeasure, |
Cube * | pCube, | ||
PvlGroup * | pMeasureGrp = NULL |
||
) |
Validate Standard options to pick a reference based on a particular criteria.
Validate a measure for all the Standard Options.
piSample | - Point Sample location |
piLine | - Point Line location |
pCube | - Control Measure Cube |
pMeasureGrp | - Log PvlGroup |
Definition at line 357 of file ControlNetValidMeasure.cpp.
Referenced by Isis::InterestOperator::FindCnetRef(), Isis::InterestOperator::InterestByMeasure(), Isis::InterestOperator::Operate(), Isis::InterestOperator::ProcessLocked_Point_Reference(), and ValidStandardOptions().
MeasureValidationResults Isis::ControlNetValidMeasure::ValidStandardOptions | ( | const ControlMeasure * | pMeasure, |
Cube * | pCube, | ||
Camera * | camera, | ||
PvlGroup * | pMeasureGrp = NULL |
||
) |
Validate Standard options to pick a reference based on a particular criteria.
Definition at line 368 of file ControlNetValidMeasure.cpp.
References ValidStandardOptions().
MeasureValidationResults Isis::ControlNetValidMeasure::ValidStandardOptions | ( | double | pSample, |
double | pLine, | ||
const ControlMeasure * | pMeasure, | ||
Cube * | pCube, | ||
PvlGroup * | pMeasureGrp = NULL |
||
) |
Validate Standard options to pick a reference based on a particular criteria.
Validate a point on an image and the Control Measure if not Null.
pSample | - Image Sample |
pLine | - Image Line |
pMeasure | - Control Measure |
pCube | - Control Measure's image |
pMeasureGrp | - Result PvlGroup |
Definition at line 171 of file ControlNetValidMeasure.cpp.
References _FILEINFO_, Isis::Cube::camera(), Isis::Cube::fileName(), mbCameraRequired, Isis::IException::User, and ValidStandardOptions().
MeasureValidationResults Isis::ControlNetValidMeasure::ValidStandardOptions | ( | double | pSample, |
double | pLine, | ||
Cube * | pCube, | ||
PvlGroup * | pMeasureGrp = NULL |
||
) |
Validate Standard options to pick a reference based on a particular criteria.
Validate a point on an image for Standard Options.
Definition at line 337 of file ControlNetValidMeasure.cpp.
References ValidStandardOptions().
|
protected |
Store current Measure's Line Shift.
Definition at line 288 of file ControlNetValidMeasure.h.
|
protected |
Standard Option Line Shift.
Definition at line 276 of file ControlNetValidMeasure.h.
Referenced by InitStdOptions(), InitStdOptionsGroup(), ValidatePvlShiftTolerances(), and ValidShiftTolerances().
|
protected |
Store current Measure's Pixel Shift.
Definition at line 289 of file ControlNetValidMeasure.h.
|
protected |
Standard Option Pixel Shift.
Definition at line 277 of file ControlNetValidMeasure.h.
Referenced by InitStdOptions(), InitStdOptionsGroup(), ValidatePvlShiftTolerances(), and ValidShiftTolerances().
|
protected |
Store current Measure's Sample Shift.
Definition at line 287 of file ControlNetValidMeasure.h.
|
protected |
Standard Option Sample Shift.
Definition at line 275 of file ControlNetValidMeasure.h.
Referenced by InitStdOptions(), InitStdOptionsGroup(), ValidatePvlShiftTolerances(), and ValidShiftTolerances().
|
protected |
To improve speed, flag to indicate if Camera needs to be opened.
Definition at line 299 of file ControlNetValidMeasure.h.
Referenced by InitStdOptions(), IsCameraRequired(), SetCameraRequiredFlag(), ValidatePvlEmissionAngle(), ValidatePvlIncidenceAngle(), ValidatePvlResolution(), and ValidStandardOptions().
|
protected |
Check if DN needs to be Validated.
Definition at line 301 of file ControlNetValidMeasure.h.
Referenced by InitStdOptions(), and ValidatePvlDN().
|
protected |
Check if Pixels/Meters from edge needs to be Validated.
Definition at line 302 of file ControlNetValidMeasure.h.
Referenced by InitStdOptions(), and ValidatePvlFromEdge().
|
protected |
CubeManager to open and read cubes.
Definition at line 296 of file ControlNetValidMeasure.h.
Referenced by Isis::InterestOperator::FindCnetRef(), Isis::InterestOperator::InterestByPoint(), Isis::InterestOperator::ProcessLocked_Point_Reference(), ReadSerialNumbers(), and ~ControlNetValidMeasure().
|
protected |
Store current Measure's DN Value.
Definition at line 282 of file ControlNetValidMeasure.h.
Referenced by Isis::InterestOperator::InterestByMeasure().
|
protected |
Store current Measure's Emission Angle.
Definition at line 279 of file ControlNetValidMeasure.h.
Referenced by Isis::InterestOperator::InterestByMeasure().
|
protected |
Store current Measure's Incidence Angle.
Definition at line 280 of file ControlNetValidMeasure.h.
Referenced by Isis::InterestOperator::InterestByMeasure().
|
protected |
Store current Measure's Line Residual.
Definition at line 284 of file ControlNetValidMeasure.h.
|
protected |
Standard Option Line Residual.
Definition at line 272 of file ControlNetValidMeasure.h.
Referenced by InitStdOptions(), InitStdOptionsGroup(), ValidatePvlResidualTolerances(), and ValidResidualTolerances().
|
protected |
Standard Option MaxDN.
Definition at line 262 of file ControlNetValidMeasure.h.
Referenced by GetMaxDN(), InitStdOptions(), InitStdOptionsGroup(), Isis::StandardDeviationOperator::Interest(), ValidatePvlDN(), and ValidDnValue().
|
protected |
Standard Option MaxEmissionAngle.
Definition at line 266 of file ControlNetValidMeasure.h.
Referenced by GetMaxEmissionAngle(), InitStdOptions(), InitStdOptionsGroup(), ValidatePvlEmissionAngle(), and ValidEmissionAngle().
|
protected |
Standard Option MaxIncidenceAngle.
Definition at line 268 of file ControlNetValidMeasure.h.
Referenced by GetMaxIncidenceAngle(), InitStdOptions(), InitStdOptionsGroup(), ValidatePvlIncidenceAngle(), and ValidIncidenceAngle().
|
protected |
Standard Option MaxResolution.
Definition at line 264 of file ControlNetValidMeasure.h.
Referenced by InitStdOptions(), InitStdOptionsGroup(), ValidatePvlResolution(), and ValidResolution().
|
protected |
Standard Option MeteresFromEdge.
Definition at line 269 of file ControlNetValidMeasure.h.
Referenced by GetMetersFromEdge(), InitStdOptions(), InitStdOptionsGroup(), MetersFromEdge(), and ValidatePvlFromEdge().
|
protected |
Standard Option MinDN.
Definition at line 261 of file ControlNetValidMeasure.h.
Referenced by GetMinDN(), InitStdOptions(), InitStdOptionsGroup(), Isis::StandardDeviationOperator::Interest(), and ValidatePvlDN().
|
protected |
Standard Option MinEmissionAngle.
Definition at line 265 of file ControlNetValidMeasure.h.
Referenced by GetMinEmissionAngle(), InitStdOptions(), InitStdOptionsGroup(), and ValidatePvlEmissionAngle().
|
protected |
Standard Option MinIncidenceAngle.
Definition at line 267 of file ControlNetValidMeasure.h.
Referenced by GetMinIncidenceAngle(), InitStdOptions(), InitStdOptionsGroup(), and ValidatePvlIncidenceAngle().
|
protected |
Standard Option MinResolution.
Definition at line 263 of file ControlNetValidMeasure.h.
Referenced by InitStdOptions(), InitStdOptionsGroup(), and ValidatePvlResolution().
|
protected |
Store current Measure's Residual Magnitude.
Definition at line 285 of file ControlNetValidMeasure.h.
|
protected |
Standard Option Residual Magnitude.
Definition at line 273 of file ControlNetValidMeasure.h.
Referenced by InitStdOptions(), InitStdOptionsGroup(), ValidatePvlResidualTolerances(), and ValidResidualTolerances().
|
protected |
Store current Measure's Resolution.
Definition at line 281 of file ControlNetValidMeasure.h.
Referenced by Isis::InterestOperator::FindCnetRef(), and Isis::InterestOperator::InterestByMeasure().
|
protected |
Store current Measure's Sample Residual.
Definition at line 283 of file ControlNetValidMeasure.h.
|
protected |
Standard Option Sample Residual.
Definition at line 271 of file ControlNetValidMeasure.h.
Referenced by InitStdOptions(), InitStdOptionsGroup(), ValidatePvlResidualTolerances(), and ValidResidualTolerances().
|
protected |
Standard Option PixelsFromEdge.
Definition at line 270 of file ControlNetValidMeasure.h.
Referenced by GetPixelsFromEdge(), InitStdOptions(), InitStdOptionsGroup(), PixelsFromEdge(), and ValidatePvlFromEdge().
|
protected |
Pvl Log of all the processing.
Definition at line 294 of file ControlNetValidMeasure.h.
Referenced by Isis::InterestOperator::FindCnetRef(), GetLogPvl(), and Parse().
|
protected |
Pvl Operator Group.
Definition at line 291 of file ControlNetValidMeasure.h.
Referenced by Parse(), ValidatePvlDN(), ValidatePvlEmissionAngle(), ValidatePvlFromEdge(), ValidatePvlIncidenceAngle(), ValidatePvlResidualTolerances(), ValidatePvlResolution(), and ValidatePvlShiftTolerances().
|
protected |
Serial numbers list.
Definition at line 297 of file ControlNetValidMeasure.h.
Referenced by Isis::InterestOperator::FindCnetRef(), Isis::InterestOperator::InterestByMeasure(), Isis::InterestOperator::InterestByPoint(), Isis::InterestOperator::ProcessLocked_Point_Reference(), and ReadSerialNumbers().
|
protected |
Pvl output Statistics Group.
Definition at line 293 of file ControlNetValidMeasure.h.
Referenced by ControlNetValidMeasure(), Isis::InterestOperator::FindCnetRef(), and GetStatistics().
|
protected |
Monitor the status of the app.
Definition at line 295 of file ControlNetValidMeasure.h.
Referenced by Isis::InterestOperator::FindCnetRef(), and ReadSerialNumbers().
|
protected |
Pvl Standard Options Group.
Definition at line 292 of file ControlNetValidMeasure.h.
Referenced by GetStdOptions(), InitStdOptionsGroup(), Parse(), ValidatePvlDN(), ValidatePvlEmissionAngle(), ValidatePvlFromEdge(), ValidatePvlIncidenceAngle(), ValidatePvlResidualTolerances(), ValidatePvlResolution(), and ValidatePvlShiftTolerances().