|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef _ControlNetValidMeasure_h_
2 #define _ControlNetValidMeasure_h_
31 class MeasureValidationResults;
const double ValidMaximum
The maximum valid double value for Isis pixels.
Definition: SpecialPixel.h:122
double GetResidualMagnitude() const
Return Residual magnitude.
Definition: ControlMeasure.cpp:712
ControlNetValidMeasure class.
Definition: ControlNetValidMeasure.h:75
double m_sampleShiftTolerance
Standard Option Sample Shift.
Definition: ControlNetValidMeasure.h:268
double GetMinDN(void)
Get the option MinDN.
Definition: ControlNetValidMeasure.h:132
@ SampleResidual
Definition: MeasureValidationResults.h:39
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Definition: PvlObject.h:129
virtual QString fileName() const
Returns the opened cube's filename.
Definition: Cube.cpp:1563
@ PixelShift
Definition: MeasureValidationResults.h:44
double GetMaxIncidenceAngle(void)
Get the option MaxIncidenceAngle.
Definition: ControlNetValidMeasure.h:157
double m_pixelShiftTolerance
Standard Option Pixel Shift.
Definition: ControlNetValidMeasure.h:270
Buffer for containing a two dimensional section of an image.
Definition: Portal.h:36
A single keyword-value pair.
Definition: PvlKeyword.h:82
double mdEmissionAngle
Store current Measure's Emission Angle.
Definition: ControlNetValidMeasure.h:272
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.
Definition: ControlNetValidMeasure.cpp:772
PvlGroup & GetStdOptions(void)
Get the Standard Options Pvl Group.
Definition: ControlNetValidMeasure.h:122
bool ValidResolution(double pdResolution)
Validate whether the Resolution is in the set Range.
Definition: ControlNetValidMeasure.cpp:718
bool mbValidateDN
Check if DN needs to be Validated.
Definition: ControlNetValidMeasure.h:294
void InitStdOptions(void)
Initialize the Standard Options.
Definition: ControlNetValidMeasure.cpp:66
bool mbCameraRequired
To improve speed, flag to indicate if Camera needs to be opened.
Definition: ControlNetValidMeasure.h:292
void ValidatePvlEmissionAngle(void)
Validate PVL Min & Max EmissionAngle Standard Options.
Definition: ControlNetValidMeasure.cpp:497
virtual bool SetImage(const double sample, const double line)
Sets the sample/line values of the image to get the lat/lon values.
Definition: Camera.cpp:154
void read(Blob &blob, const std::vector< PvlKeyword > keywords=std::vector< PvlKeyword >()) const
This method will read data from the specified Blob object.
Definition: Cube.cpp:807
PvlGroup mStdOptionsGrp
Pvl Standard Options Group.
Definition: ControlNetValidMeasure.h:285
double m_lineShiftTolerance
Standard Option Line Shift.
Definition: ControlNetValidMeasure.h:269
double mdMaxDN
Standard Option MaxDN.
Definition: ControlNetValidMeasure.h:255
bool ValidDnValue(double pdDnValue)
Validate whether the DN Value is in the set Range.
Definition: ControlNetValidMeasure.cpp:701
double mdMaxEmissionAngle
Standard Option MaxEmissionAngle.
Definition: ControlNetValidMeasure.h:259
double m_sampleShift
Store current Measure's Sample Shift.
Definition: ControlNetValidMeasure.h:280
double GetMetersFromEdge(void)
Get the option MetersFromEdge.
Definition: ControlNetValidMeasure.h:167
Progress mStatus
Monitor the status of the app.
Definition: ControlNetValidMeasure.h:288
double GetMaxDN(void)
Get the option MaxDN.
Definition: ControlNetValidMeasure.h:137
bool ValidLatLon(Isis::Camera *pCamera, int piSample, int piLine)
Validate the Lat/Lon.
Definition: ControlNetValidMeasure.cpp:809
bool hasGroup(const QString &name) const
Returns a boolean value based on whether the object has the specified group or not.
Definition: PvlObject.h:210
bool mbValidateFromEdge
Check if Pixels/Meters from edge needs to be Validated.
Definition: ControlNetValidMeasure.h:295
bool IsCubeRequired()
Definition: ControlNetValidMeasure.h:202
bool hasKeyword(const QString &name) const
Check to see if a keyword exists.
Definition: PvlContainer.cpp:159
Container for cube-like labels.
Definition: Pvl.h:119
bool PixelsFromEdge(int piSample, int piLine, Cube *pCube)
Test for a point to be user defined number of pixels from the edge.
Definition: ControlNetValidMeasure.cpp:824
CubeManager mCubeMgr
CubeManager to open and read cubes.
Definition: ControlNetValidMeasure.h:289
double GetPixelShift() const
Definition: ControlMeasure.cpp:765
@ LineShift
Definition: MeasureValidationResults.h:43
double mdLineResTolerance
Standard Option Line Residual.
Definition: ControlNetValidMeasure.h:265
void ValidatePvlDN(void)
Validate PVL Min & Max DN Standard Options.
Definition: ControlNetValidMeasure.cpp:464
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
Serial Number list generator.
Definition: SerialNumberList.h:64
bool IsSpecial(const double d)
Returns if the input pixel is special.
Definition: SpecialPixel.h:197
MeasureValidationResults class.
Definition: MeasureValidationResults.h:29
double mdSampleResTolerance
Standard Option Sample Residual.
Definition: ControlNetValidMeasure.h:264
Class for quick re-accessing of cubes based on file name.
Definition: CubeManager.h:70
void ValidatePvlShiftTolerances()
Validate Pvl Sample, Line, Pixel (Sample and Line) Magnitude Shift Tolerances.
Definition: ControlNetValidMeasure.cpp:610
@ Traverse
Search child objects.
Definition: PvlObject.h:158
PvlGroup mStatisticsGrp
Pvl output Statistics Group.
Definition: ControlNetValidMeasure.h:286
double mdSampleResidual
Store current Measure's Sample Residual.
Definition: ControlNetValidMeasure.h:276
@ PixelsFromEdge
Definition: MeasureValidationResults.h:37
ControlNetValidMeasure(Pvl *pvl=0)
Constructor - Initializes the data members and parses the input Pvl .
Definition: ControlNetValidMeasure.cpp:29
virtual ~ControlNetValidMeasure()
Destructor: clean up stuff relevant for this class.
Definition: ControlNetValidMeasure.cpp:124
@ LineResidual
Definition: MeasureValidationResults.h:40
double GetSampleShift() const
Definition: ControlMeasure.cpp:753
bool ValidResidualTolerances(double pdSampleResidual, double pdLineResidual, double pdResidualMagnitude, MeasureValidationResults &pResults)
Validate whether the Residuals are within the set Tolerance.
Definition: ControlNetValidMeasure.cpp:739
SerialNumberList mSerialNumbers
Serial numbers list.
Definition: ControlNetValidMeasure.h:290
@ SampleShift
Definition: MeasureValidationResults.h:42
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
int lineCount() const
Definition: Cube.cpp:1734
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
@ EmissionAngle
Definition: MeasureValidationResults.h:33
double GetMinIncidenceAngle(void)
Get the option MinIncidenceAngle.
Definition: ControlNetValidMeasure.h:152
double mdMetersFromEdge
Standard Option MeteresFromEdge.
Definition: ControlNetValidMeasure.h:262
QString LocationString(double pdSample, double pdLine) const
API to display location in the form "Sample,Line".
Definition: ControlNetValidMeasure.h:172
void InitStdOptionsGroup(void)
Initialize the Standard Options Pvl Group with no DefFile.
Definition: ControlNetValidMeasure.cpp:95
virtual void FindCnetRef(ControlNet &pNewNet)
Virtual Function to get better references for a Control Network based on Criteria.
Definition: ControlNetValidMeasure.h:97
bool IsCameraRequired()
API to get status of CameraRequired flag.
Definition: ControlNetValidMeasure.h:213
int miPixelsFromEdge
Standard Option PixelsFromEdge.
Definition: ControlNetValidMeasure.h:263
@ DNValue
Definition: MeasureValidationResults.h:35
PvlGroup & GetStatistics(void)
Get the Statistics Pvl Grp.
Definition: ControlNetValidMeasure.h:127
double mdResidualMagnitude
Store current Measure's Residual Magnitude.
Definition: ControlNetValidMeasure.h:278
double GetLineShift() const
Definition: ControlMeasure.cpp:759
@ ResidualMagnitude
Definition: MeasureValidationResults.h:41
PvlGroup mPvlOpGrp
Pvl Operator Group.
Definition: ControlNetValidMeasure.h:284
bool ValidIncidenceAngle(double pdIncidenceAngle)
Validate whether the Incidence Angle is in the set Range.
Definition: ControlNetValidMeasure.cpp:684
int sampleCount() const
Definition: Cube.cpp:1807
double GetSample() const
Definition: ControlMeasure.cpp:723
void ValidatePvlResidualTolerances(void)
Validate Pvl Sample, Line, Residual Magnitude Tolerances.
Definition: ControlNetValidMeasure.cpp:565
void CleanCubes(const QString &cubeFileName)
This method removes a cube from memory, if it exists.
Definition: CubeManager.cpp:148
MeasureValidationResults ValidStandardOptions(const ControlMeasure *pMeasure, Cube *pCube, PvlGroup *pMeasureGrp=NULL)
Validate Standard options to pick a reference based on a particular criteria.
Definition: ControlNetValidMeasure.cpp:365
double GetSampleResidual() const
Definition: ControlMeasure.cpp:728
a control network
Definition: ControlNet.h:257
double mdMinIncidenceAngle
Standard Option MinIncidenceAngle.
Definition: ControlNetValidMeasure.h:260
IO Handler for Isis Cubes.
Definition: Cube.h:167
double mdIncidenceAngle
Store current Measure's Incidence Angle.
Definition: ControlNetValidMeasure.h:273
Isis exception class.
Definition: IException.h:91
bool MetersFromEdge(int piSample, int piLine, Cube *pCube)
Test for a point to be user defined number of meters from the edge.
Definition: ControlNetValidMeasure.cpp:866
void ValidatePvlIncidenceAngle(void)
Validate PVL Min & Max IncidenceAngle Standard Options.
Definition: ControlNetValidMeasure.cpp:533
@ Resolution
Definition: MeasureValidationResults.h:36
double m_lineShift
Store current Measure's Line Shift.
Definition: ControlNetValidMeasure.h:281
virtual double IncidenceAngle() const
Returns the incidence angle in degrees.
Definition: Sensor.cpp:335
Program progress reporter.
Definition: Progress.h:42
const double Null
Value for an Isis Null pixel.
Definition: SpecialPixel.h:95
double mdMinDN
Standard Option MinDN.
Definition: ControlNetValidMeasure.h:254
void ReadSerialNumbers(QString psSerialNumfile)
Read the Serial Numbers from the file and open assocaited cubes.
Definition: ControlNetValidMeasure.cpp:136
virtual Pvl & GetLogPvl(void)
Get the Pvl Log file.
Definition: ControlNetValidMeasure.h:92
double mdMinEmissionAngle
Standard Option MinEmissionAngle.
Definition: ControlNetValidMeasure.h:258
double mdMaxResolution
Standard Option MaxResolution.
Definition: ControlNetValidMeasure.h:257
@ IncidenceAngle
Definition: MeasureValidationResults.h:34
double GetMinEmissionAngle(void)
Get the option MinEmissionAngle.
Definition: ControlNetValidMeasure.h:142
Camera * camera()
Return a camera associated with the cube.
Definition: Cube.cpp:1451
const double ValidMinimum
The minimum valid double value for Isis pixels.
Definition: SpecialPixel.h:87
double mdResolution
Store current Measure's Resolution.
Definition: ControlNetValidMeasure.h:274
PixelType pixelType() const
Definition: Cube.cpp:1758
double mdDnValue
Store current Measure's DN Value.
Definition: ControlNetValidMeasure.h:275
Pvl mPvlLog
Pvl Log of all the processing.
Definition: ControlNetValidMeasure.h:287
virtual double PixelResolution()
Returns the pixel resolution at the current position in meters/pixel.
Definition: Camera.cpp:670
double GetMaxEmissionAngle(void)
Get the option MaxEmissionAngle.
Definition: ControlNetValidMeasure.h:147
@ MetersFromEdge
Definition: MeasureValidationResults.h:38
double GetLine() const
Definition: ControlMeasure.cpp:690
double GetLineResidual() const
Definition: ControlMeasure.cpp:695
double mdMaxIncidenceAngle
Standard Option MaxIncidenceAngle.
Definition: ControlNetValidMeasure.h:261
void ValidatePvlResolution(void)
Validate PVL Min & Max Resolution Standard Options.
Definition: ControlNetValidMeasure.cpp:426
void SetNumOpenCubes(unsigned int numCubes)
This sets the maximum number of opened cubes for this instance of CubeManager.
Definition: CubeManager.h:102
virtual double EmissionAngle() const
Returns the emission angle in degrees.
Definition: Sensor.cpp:324
bool ValidEmissionAngle(double pdEmissionAngle)
Validate whether the Emission Angle is in the set Range.
Definition: ControlNetValidMeasure.cpp:666
double GetPixelsFromEdge(void)
Get the option PixelsFromEdge.
Definition: ControlNetValidMeasure.h:162
double mdResidualTolerance
Standard Option Residual Magnitude.
Definition: ControlNetValidMeasure.h:266
void addFailure(Option opt, double tolerance, const char *compare="less")
Definition: MeasureValidationResults.cpp:68
void Parse(Pvl &pvlDef)
Parse the DefFile for Standard Options.
Definition: ControlNetValidMeasure.cpp:150
void SetPosition(const double sample, const double line, const int band)
Sets the line and sample position of the buffer.
Definition: Portal.h:93
double mdMinResolution
Standard Option MinResolution.
Definition: ControlNetValidMeasure.h:256
double mdLineResidual
Store current Measure's Line Residual.
Definition: ControlNetValidMeasure.h:277
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
void SetCameraRequiredFlag(bool pbFlag)
Set the CameraRequired Flag.
Definition: ControlNetValidMeasure.h:250
void ValidatePvlFromEdge(void)
Validate and read Pixels and Meters from Edge Standard Options.
Definition: ControlNetValidMeasure.cpp:394
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126
double m_pixelShift
Store current Measure's Pixel Shift.
Definition: ControlNetValidMeasure.h:282
a control measurement
Definition: ControlMeasure.h:175