USGS

Isis 3.0 Object Programmers' Reference

Home

Isis::ControlNetValidMeasure Class Reference

ControlNetValidMeasure class. More...

#include <ControlNetValidMeasure.h>

Inheritance diagram for Isis::ControlNetValidMeasure:
Inheritance graph
Collaboration diagram for Isis::ControlNetValidMeasure:
Collaboration graph

Public Member Functions

 ControlNetValidMeasure (Pvl *pvl=0)
 Constructor - Initializes the data members and parses the input Pvl .
 
 ControlNetValidMeasure (Pvl &pvl)
 Constructor with a reference to Pvl Def file.
 
void InitStdOptions (void)
 Initialize the Standard Options.
 
void InitStdOptionsGroup (void)
 Initialize the Standard Options Pvl Group with no DefFile.
 
virtual ~ControlNetValidMeasure ()
 Destructor: clean up stuff relevant for this class.
 
void Parse (Pvl &pvlDef)
 Parse the DefFile for Standard Options.
 
virtual PvlGetLogPvl (void)
 Get the Pvl Log file.
 
virtual void FindCnetRef (ControlNet &pNewNet)
 Virtual Function to get better references for a Control Network based on Criteria.
 
bool ValidEmissionAngle (double pdEmissionAngle)
 Validate whether the Emission Angle is in the set Range.
 
bool ValidIncidenceAngle (double pdIncidenceAngle)
 Validate whether the Incidence Angle is in the set Range.
 
bool ValidDnValue (double pdDnValue)
 Validate whether the DN Value is in the set Range.
 
bool ValidResolution (double pdResolution)
 Validate whether the Resolution is in the set Range.
 
bool ValidResidualTolerances (double pdSampleResidual, double pdLineResidual, double pdResidualMagnitude, MeasureValidationResults &pResults)
 Validate whether the Residuals are within the set Tolerance.
 
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.
 
bool ValidLatLon (Isis::Camera *pCamera, int piSample, int piLine)
 Validate the Lat/Lon.
 
PvlGroupGetStdOptions (void)
 Get the Standard Options Pvl Group.
 
PvlGroupGetStatistics (void)
 Get the Statistics Pvl Grp.
 
double GetMinDN (void)
 Get the option MinDN.
 
double GetMaxDN (void)
 Get the option MaxDN.
 
double GetMinEmissionAngle (void)
 Get the option MinEmissionAngle.
 
double GetMaxEmissionAngle (void)
 Get the option MaxEmissionAngle.
 
double GetMinIncidenceAngle (void)
 Get the option MinIncidenceAngle.
 
double GetMaxIncidenceAngle (void)
 Get the option MaxIncidenceAngle.
 
double GetPixelsFromEdge (void)
 Get the option PixelsFromEdge.
 
double GetMetersFromEdge (void)
 Get the option MetersFromEdge.
 
QString LocationString (double pdSample, double pdLine) const
 API to display location in the form "Sample,Line".
 
bool PixelsFromEdge (int piSample, int piLine, Cube *pCube)
 Test for a point to be user defined number of pixels from the edge.
 
bool MetersFromEdge (int piSample, int piLine, Cube *pCube)
 Test for a point to be user defined number of meters from the edge.
 
MeasureValidationResults ValidStandardOptions (const ControlMeasure *pMeasure, Cube *pCube, PvlGroup *pMeasureGrp=NULL)
 Validate Standard options to pick a reference based on a particular criteria.
 
MeasureValidationResults ValidStandardOptions (const ControlMeasure *pMeasure, Cube *pCube, Camera *camera, PvlGroup *pMeasureGrp=NULL)
 Validate Standard options to pick a reference based on a particular criteria.
 
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.
 
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.
 
bool IsCubeRequired ()
 
bool IsCameraRequired ()
 API to get status of CameraRequired flag.
 

Protected Member Functions

void ValidatePvlDN (void)
 Validate PVL Min & Max DN Standard Options.
 
void ValidatePvlEmissionAngle (void)
 Validate PVL Min & Max EmissionAngle Standard Options.
 
void ValidatePvlIncidenceAngle (void)
 Validate PVL Min & Max IncidenceAngle Standard Options.
 
void ValidatePvlResolution (void)
 Validate PVL Min & Max Resolution Standard Options.
 
void ValidatePvlFromEdge (void)
 Validate and read Pixels and Meters from Edge Standard Options.
 
void ValidatePvlResidualTolerances (void)
 Validate Pvl Sample, Line, Residual Magnitude Tolerances.
 
void ValidatePvlShiftTolerances ()
 Validate Pvl Sample, Line, Pixel (Sample and Line) Magnitude Shift Tolerances.
 
void ReadSerialNumbers (QString psSerialNumfile)
 Read the Serial Numbers from the file and open assocaited cubes.
 
void SetCameraRequiredFlag (bool pbFlag)
 Set the CameraRequired Flag.
 

Protected Attributes

double mdMinDN
 Standard Option MinDN.
 
double mdMaxDN
 Standard Option MaxDN.
 
double mdMinResolution
 Standard Option MinResolution.
 
double mdMaxResolution
 Standard Option MaxResolution.
 
double mdMinEmissionAngle
 Standard Option MinEmissionAngle.
 
double mdMaxEmissionAngle
 Standard Option MaxEmissionAngle.
 
double mdMinIncidenceAngle
 Standard Option MinIncidenceAngle.
 
double mdMaxIncidenceAngle
 Standard Option MaxIncidenceAngle.
 
double mdMetersFromEdge
 Standard Option MeteresFromEdge.
 
int miPixelsFromEdge
 Standard Option PixelsFromEdge.
 
double mdSampleResTolerance
 Standard Option Sample Residual.
 
double mdLineResTolerance
 Standard Option Line Residual.
 
double mdResidualTolerance
 Standard Option Residual Magnitude.
 
double m_sampleShiftTolerance
 Standard Option Sample Shift.
 
double m_lineShiftTolerance
 Standard Option Line Shift.
 
double m_pixelShiftTolerance
 Standard Option Pixel Shift.
 
double mdEmissionAngle
 Store current Measure's Emission Angle.
 
double mdIncidenceAngle
 Store current Measure's Incidence Angle.
 
double mdResolution
 Store current Measure's Resolution.
 
double mdDnValue
 Store current Measure's DN Value.
 
double mdSampleResidual
 Store current Measure's Sample Residual.
 
double mdLineResidual
 Store current Measure's Line Residual.
 
double mdResidualMagnitude
 Store current Measure's Residual Magnitude.
 
double m_sampleShift
 Store current Measure's Sample Shift.
 
double m_lineShift
 Store current Measure's Line Shift.
 
double m_pixelShift
 Store current Measure's Pixel Shift.
 
PvlGroup mPvlOpGrp
 Pvl Operator Group.
 
PvlGroup mStdOptionsGrp
 Pvl Standard Options Group.
 
PvlGroup mStatisticsGrp
 Pvl output Statistics Group.
 
Pvl mPvlLog
 Pvl Log of all the processing.
 
Progress mStatus
 Monitor the status of the app.
 
CubeManager mCubeMgr
 CubeManager to open and read cubes.
 
SerialNumberList mSerialNumbers
 Serial numbers list.
 
bool mbCameraRequired
 
                To improve speed, flag to indicate if 

< Camera needs to be opened

 
bool mbValidateDN
 Check if DN needs to be Validated.
 
bool mbValidateFromEdge
 Check if Pixels/Meters from edge needs to be Validated.
 

Detailed Description

ControlNetValidMeasure class.

Base class to validate all the common Control Network options specific to Control Network applications.

See Also
cnetref autoseed etc.
Author
2010-05-11 Sharmila Prasad
History:

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.

Definition at line 79 of file ControlNetValidMeasure.h.

Constructor & Destructor Documentation

Isis::ControlNetValidMeasure::ControlNetValidMeasure ( Pvl pPvl = 0)

Constructor - Initializes the data members and parses the input Pvl .

The Pvl Def File is optional.

Author
Sharmila Prasad (5/13/2010)
Parameters
pPvl- Pvl DefFile

Definition at line 23 of file ControlNetValidMeasure.cpp.

References Isis::PvlObject::hasGroup().

Isis::ControlNetValidMeasure::ControlNetValidMeasure ( Pvl pPvl)

Constructor with a reference to Pvl Def file.

Used for Interest Operator where Def File is a requirement

Author
Sharmila Prasad (6/8/2010)
Parameters
pPvl- Pvl DefFile

Definition at line 43 of file ControlNetValidMeasure.cpp.

References Isis::PvlObject::hasGroup().

Isis::ControlNetValidMeasure::~ControlNetValidMeasure ( )
virtual

Destructor: clean up stuff relevant for this class.

Author
Sharmila Prasad (6/3/2010)

Definition at line 118 of file ControlNetValidMeasure.cpp.

Member Function Documentation

virtual void Isis::ControlNetValidMeasure::FindCnetRef ( ControlNet pNewNet)
inlinevirtual

Virtual Function to get better references for a Control Network based on Criteria.

Reimplemented in Isis::InterestOperator.

Definition at line 101 of file ControlNetValidMeasure.h.

virtual Pvl& Isis::ControlNetValidMeasure::GetLogPvl ( void  )
inlinevirtual

Get the Pvl Log file.

Definition at line 96 of file ControlNetValidMeasure.h.

References mPvlLog.

double Isis::ControlNetValidMeasure::GetMaxDN ( void  )
inline

Get the option MaxDN.

Definition at line 141 of file ControlNetValidMeasure.h.

References mdMaxDN.

double Isis::ControlNetValidMeasure::GetMaxEmissionAngle ( void  )
inline

Get the option MaxEmissionAngle.

Definition at line 151 of file ControlNetValidMeasure.h.

References mdMaxEmissionAngle.

double Isis::ControlNetValidMeasure::GetMaxIncidenceAngle ( void  )
inline

Get the option MaxIncidenceAngle.

Definition at line 161 of file ControlNetValidMeasure.h.

References mdMaxIncidenceAngle.

double Isis::ControlNetValidMeasure::GetMetersFromEdge ( void  )
inline

Get the option MetersFromEdge.

Definition at line 171 of file ControlNetValidMeasure.h.

References mdMetersFromEdge.

double Isis::ControlNetValidMeasure::GetMinDN ( void  )
inline

Get the option MinDN.

Definition at line 136 of file ControlNetValidMeasure.h.

References mdMinDN.

double Isis::ControlNetValidMeasure::GetMinEmissionAngle ( void  )
inline

Get the option MinEmissionAngle.

Definition at line 146 of file ControlNetValidMeasure.h.

References mdMinEmissionAngle.

double Isis::ControlNetValidMeasure::GetMinIncidenceAngle ( void  )
inline

Get the option MinIncidenceAngle.

Definition at line 156 of file ControlNetValidMeasure.h.

References mdMinIncidenceAngle.

double Isis::ControlNetValidMeasure::GetPixelsFromEdge ( void  )
inline

Get the option PixelsFromEdge.

Definition at line 166 of file ControlNetValidMeasure.h.

References miPixelsFromEdge.

PvlGroup& Isis::ControlNetValidMeasure::GetStatistics ( void  )
inline

Get the Statistics Pvl Grp.

Definition at line 131 of file ControlNetValidMeasure.h.

References mStatisticsGrp.

PvlGroup& Isis::ControlNetValidMeasure::GetStdOptions ( void  )
inline

Get the Standard Options Pvl Group.

Definition at line 126 of file ControlNetValidMeasure.h.

References mStdOptionsGrp.

void Isis::ControlNetValidMeasure::InitStdOptions ( void  )

Initialize the Standard Options.

Init all the standard options to default.

Author
Sharmila Prasad (6/8/2010)

Definition at line 60 of file ControlNetValidMeasure.cpp.

References Isis::ValidMaximum, and Isis::ValidMinimum.

void Isis::ControlNetValidMeasure::InitStdOptionsGroup ( void  )

Initialize the Standard Options Pvl Group with no DefFile.

Set the Standard Options group for logging.

Author
Sharmila Prasad (6/8/2010)

Definition at line 89 of file ControlNetValidMeasure.cpp.

References Isis::toString(), Isis::ValidMaximum, and Isis::ValidMinimum.

bool Isis::ControlNetValidMeasure::IsCameraRequired ( )
inline

API to get status of CameraRequired flag.

Author
Sharmila Prasad (5/19/2011)
Returns
bool

Definition at line 217 of file ControlNetValidMeasure.h.

References mbCameraRequired.

QString Isis::ControlNetValidMeasure::LocationString ( double  pdSample,
double  pdLine 
) const
inline

API to display location in the form "Sample,Line".

Definition at line 176 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.

Author
Sharmila Prasad (6/21/2010)
Parameters
piSample- Point Sample Location
piLine- Point Line Location
pCube- Control Measure Cube
Returns
bool

Definition at line 854 of file ControlNetValidMeasure.cpp.

References _FILEINFO_, Isis::Cube::camera(), Isis::Cube::fileName(), Isis::Cube::lineCount(), Isis::Camera::PixelResolution(), Isis::Cube::sampleCount(), and Isis::Camera::SetImage().

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.

Author
Sharmila Prasad (5/13/2010)
Parameters
pvlDef- Pvl DefFile

Definition at line 144 of file ControlNetValidMeasure.cpp.

References Isis::PvlObject::findGroup().

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.

Author
Sharmila Prasad (6/21/2010)
Parameters
piSample- Point Sample Location
piLine- Point Line Location
pCube- Control Measure Cube
Returns
bool

Definition at line 812 of file ControlNetValidMeasure.cpp.

References Isis::Cube::lineCount(), and Isis::Cube::sampleCount().

void Isis::ControlNetValidMeasure::ReadSerialNumbers ( QString  psSerialNumfile)
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.

Author
Sharmila Prasad (6/3/2010)
Parameters
psSerialNumfile- File with list of Serial Numbers

Definition at line 130 of file ControlNetValidMeasure.cpp.

Referenced by Isis::InterestOperator::Operate().

void Isis::ControlNetValidMeasure::SetCameraRequiredFlag ( bool  pbFlag)
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

Author
Sharmila Prasad (5/19/2011)
Parameters
pbFlag

Definition at line 254 of file ControlNetValidMeasure.h.

References mbCameraRequired.

void Isis::ControlNetValidMeasure::ValidatePvlDN ( void  )
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.

Author
Sharmila Prasad (5/10/2010)

Definition at line 452 of file ControlNetValidMeasure.cpp.

References _FILEINFO_, Isis::toString(), Isis::ValidMaximum, and Isis::ValidMinimum.

void Isis::ControlNetValidMeasure::ValidatePvlEmissionAngle ( void  )
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]

Author
Sharmila Prasad (5/10/2010)

Definition at line 485 of file ControlNetValidMeasure.cpp.

References _FILEINFO_, and Isis::toString().

void Isis::ControlNetValidMeasure::ValidatePvlFromEdge ( void  )
protected

Validate and read Pixels and Meters from Edge Standard Options.

Validate and Read the Pixels and Meters from Edge Standard Options.

Author
Sharmila Prasad (6/22/2010)

Definition at line 382 of file ControlNetValidMeasure.cpp.

References Isis::toString().

void Isis::ControlNetValidMeasure::ValidatePvlIncidenceAngle ( void  )
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]

Author
Sharmila Prasad (5/10/2010)

Definition at line 521 of file ControlNetValidMeasure.cpp.

References _FILEINFO_, and Isis::toString().

void Isis::ControlNetValidMeasure::ValidatePvlResidualTolerances ( void  )
protected

Validate Pvl Sample, Line, Residual Magnitude Tolerances.

Author
Sharmila Prasad (5/16/2011)

Definition at line 553 of file ControlNetValidMeasure.cpp.

References _FILEINFO_, and Isis::toString().

void Isis::ControlNetValidMeasure::ValidatePvlResolution ( void  )
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.

Author
Sharmila Prasad (6/4/2010)

Definition at line 414 of file ControlNetValidMeasure.cpp.

References _FILEINFO_, and Isis::toString().

void Isis::ControlNetValidMeasure::ValidatePvlShiftTolerances ( )
protected

Validate Pvl Sample, Line, Pixel (Sample and Line) Magnitude Shift Tolerances.

Definition at line 598 of file ControlNetValidMeasure.cpp.

References _FILEINFO_, and Isis::toString().

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.

Author
Sharmila Prasad (3/30/2010)
Parameters
pdDnValue- DN Value to Valdiate
Returns
bool

Definition at line 689 of file ControlNetValidMeasure.cpp.

References Isis::IsSpecial().

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.

Author
Sharmila Prasad (3/30/2010)
Parameters
pdEmissionAngle- Emission Angle to Valdiate
Returns
bool

Definition at line 654 of file ControlNetValidMeasure.cpp.

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.

Author
Sharmila Prasad (5/10/2010)
Parameters
pdIncidenceAngle- Incidence Angle to Valdiate
Returns
bool

Definition at line 672 of file ControlNetValidMeasure.cpp.

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.

Author
Sharmila Prasad (6/4/2010)
Parameters
pCamera
piSample
piLine
Returns
bool

Definition at line 797 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'.

Author
Sharmila Prasad (5/16/2011)
Parameters
pdSampleResidual- Measure's Sample residual
pdLineResidual- Measure's Line residual
pdResidualMagnitude- Measure's Residual Magnitude
pResults- MeasureValidationResults
Returns
bool - Valid (true/false)

Definition at line 727 of file ControlNetValidMeasure.cpp.

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.

Author
Sharmila Prasad (6/4/2010)
Parameters
pdResolution- Resolution to Validate
Returns
bool

Definition at line 706 of file ControlNetValidMeasure.cpp.

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.

Parameters
sampleShiftMeasure's sample shift (current - apriori)
lineShiftMeasure's line shift (current - apriori)
pixelShiftMeasure's pixel shift (Euclidean distance shifted)
resultsValidation results populated with any new failures
Returns
Whether every test was valid or not

Definition at line 760 of file ControlNetValidMeasure.cpp.

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.

Author
Sharmila Prasad (6/22/2010)
Parameters
piSample- Point Sample location
piLine- Point Line location
pCube- Control Measure Cube
pMeasureGrp- Log PvlGroup
Returns
bool

Definition at line 353 of file ControlNetValidMeasure.cpp.

Referenced by Isis::InterestOperator::FindCnetRef(), Isis::InterestOperator::InterestByMeasure(), Isis::InterestOperator::Operate(), and Isis::InterestOperator::ProcessLocked_Point_Reference().

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 364 of file ControlNetValidMeasure.cpp.

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.

Author
Sharmila Prasad (5/17/2011)
Parameters
pSample- Image Sample
pLine- Image Line
pMeasure- Control Measure
pCube- Control Measure's image
pMeasureGrp- Result PvlGroup
Returns
MeasureValidationResults

Definition at line 173 of file ControlNetValidMeasure.cpp.

References _FILEINFO_, Isis::Cube::camera(), and Isis::Cube::fileName().

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.

Author
Sharmila Prasad (5/17/2011)
Parameters
pSample- Image Sample
pLine- Image Line
pCube- Image
pMeasureGrp- Optional Result Group
Returns
MeasureValidationResults

Definition at line 333 of file ControlNetValidMeasure.cpp.

Member Data Documentation

double Isis::ControlNetValidMeasure::m_lineShift
protected

Store current Measure's Line Shift.

Definition at line 285 of file ControlNetValidMeasure.h.

double Isis::ControlNetValidMeasure::m_lineShiftTolerance
protected

Standard Option Line Shift.

Definition at line 273 of file ControlNetValidMeasure.h.

double Isis::ControlNetValidMeasure::m_pixelShift
protected

Store current Measure's Pixel Shift.

Definition at line 286 of file ControlNetValidMeasure.h.

double Isis::ControlNetValidMeasure::m_pixelShiftTolerance
protected

Standard Option Pixel Shift.

Definition at line 274 of file ControlNetValidMeasure.h.

double Isis::ControlNetValidMeasure::m_sampleShift
protected

Store current Measure's Sample Shift.

Definition at line 284 of file ControlNetValidMeasure.h.

double Isis::ControlNetValidMeasure::m_sampleShiftTolerance
protected

Standard Option Sample Shift.

Definition at line 272 of file ControlNetValidMeasure.h.

bool Isis::ControlNetValidMeasure::mbCameraRequired
protected

                To improve speed, flag to indicate if 

< Camera needs to be opened

Definition at line 296 of file ControlNetValidMeasure.h.

Referenced by IsCameraRequired(), and SetCameraRequiredFlag().

bool Isis::ControlNetValidMeasure::mbValidateDN
protected

Check if DN needs to be Validated.

Definition at line 298 of file ControlNetValidMeasure.h.

bool Isis::ControlNetValidMeasure::mbValidateFromEdge
protected

Check if Pixels/Meters from edge needs to be Validated.

Definition at line 299 of file ControlNetValidMeasure.h.

CubeManager Isis::ControlNetValidMeasure::mCubeMgr
protected
double Isis::ControlNetValidMeasure::mdDnValue
protected

Store current Measure's DN Value.

Definition at line 279 of file ControlNetValidMeasure.h.

Referenced by Isis::InterestOperator::InterestByMeasure().

double Isis::ControlNetValidMeasure::mdEmissionAngle
protected

Store current Measure's Emission Angle.

Definition at line 276 of file ControlNetValidMeasure.h.

Referenced by Isis::InterestOperator::InterestByMeasure().

double Isis::ControlNetValidMeasure::mdIncidenceAngle
protected

Store current Measure's Incidence Angle.

Definition at line 277 of file ControlNetValidMeasure.h.

Referenced by Isis::InterestOperator::InterestByMeasure().

double Isis::ControlNetValidMeasure::mdLineResidual
protected

Store current Measure's Line Residual.

Definition at line 281 of file ControlNetValidMeasure.h.

double Isis::ControlNetValidMeasure::mdLineResTolerance
protected

Standard Option Line Residual.

Definition at line 269 of file ControlNetValidMeasure.h.

double Isis::ControlNetValidMeasure::mdMaxDN
protected

Standard Option MaxDN.

Definition at line 259 of file ControlNetValidMeasure.h.

Referenced by GetMaxDN(), and Isis::StandardDeviationOperator::Interest().

double Isis::ControlNetValidMeasure::mdMaxEmissionAngle
protected

Standard Option MaxEmissionAngle.

Definition at line 263 of file ControlNetValidMeasure.h.

Referenced by GetMaxEmissionAngle().

double Isis::ControlNetValidMeasure::mdMaxIncidenceAngle
protected

Standard Option MaxIncidenceAngle.

Definition at line 265 of file ControlNetValidMeasure.h.

Referenced by GetMaxIncidenceAngle().

double Isis::ControlNetValidMeasure::mdMaxResolution
protected

Standard Option MaxResolution.

Definition at line 261 of file ControlNetValidMeasure.h.

double Isis::ControlNetValidMeasure::mdMetersFromEdge
protected

Standard Option MeteresFromEdge.

Definition at line 266 of file ControlNetValidMeasure.h.

Referenced by GetMetersFromEdge().

double Isis::ControlNetValidMeasure::mdMinDN
protected

Standard Option MinDN.

Definition at line 258 of file ControlNetValidMeasure.h.

Referenced by GetMinDN(), and Isis::StandardDeviationOperator::Interest().

double Isis::ControlNetValidMeasure::mdMinEmissionAngle
protected

Standard Option MinEmissionAngle.

Definition at line 262 of file ControlNetValidMeasure.h.

Referenced by GetMinEmissionAngle().

double Isis::ControlNetValidMeasure::mdMinIncidenceAngle
protected

Standard Option MinIncidenceAngle.

Definition at line 264 of file ControlNetValidMeasure.h.

Referenced by GetMinIncidenceAngle().

double Isis::ControlNetValidMeasure::mdMinResolution
protected

Standard Option MinResolution.

Definition at line 260 of file ControlNetValidMeasure.h.

double Isis::ControlNetValidMeasure::mdResidualMagnitude
protected

Store current Measure's Residual Magnitude.

Definition at line 282 of file ControlNetValidMeasure.h.

double Isis::ControlNetValidMeasure::mdResidualTolerance
protected

Standard Option Residual Magnitude.

Definition at line 270 of file ControlNetValidMeasure.h.

double Isis::ControlNetValidMeasure::mdResolution
protected

Store current Measure's Resolution.

Definition at line 278 of file ControlNetValidMeasure.h.

Referenced by Isis::InterestOperator::FindCnetRef(), and Isis::InterestOperator::InterestByMeasure().

double Isis::ControlNetValidMeasure::mdSampleResidual
protected

Store current Measure's Sample Residual.

Definition at line 280 of file ControlNetValidMeasure.h.

double Isis::ControlNetValidMeasure::mdSampleResTolerance
protected

Standard Option Sample Residual.

Definition at line 268 of file ControlNetValidMeasure.h.

int Isis::ControlNetValidMeasure::miPixelsFromEdge
protected

Standard Option PixelsFromEdge.

Definition at line 267 of file ControlNetValidMeasure.h.

Referenced by GetPixelsFromEdge().

Pvl Isis::ControlNetValidMeasure::mPvlLog
protected

Pvl Log of all the processing.

Definition at line 291 of file ControlNetValidMeasure.h.

Referenced by Isis::InterestOperator::FindCnetRef(), and GetLogPvl().

PvlGroup Isis::ControlNetValidMeasure::mPvlOpGrp
protected

Pvl Operator Group.

Definition at line 288 of file ControlNetValidMeasure.h.

PvlGroup Isis::ControlNetValidMeasure::mStatisticsGrp
protected

Pvl output Statistics Group.

Definition at line 290 of file ControlNetValidMeasure.h.

Referenced by Isis::InterestOperator::FindCnetRef(), and GetStatistics().

Progress Isis::ControlNetValidMeasure::mStatus
protected

Monitor the status of the app.

Definition at line 292 of file ControlNetValidMeasure.h.

Referenced by Isis::InterestOperator::FindCnetRef().

PvlGroup Isis::ControlNetValidMeasure::mStdOptionsGrp
protected

Pvl Standard Options Group.

Definition at line 289 of file ControlNetValidMeasure.h.

Referenced by GetStdOptions().


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