|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef CameraStatistics_h
2 #define CameraStatistics_h
97 return m_obliqueResStat;
107 return m_obliqueSampleResStat;
119 return m_obliqueLineResStat;
131 return m_sampleResStat;
142 return m_lineResStat;
153 return m_aspectRatioStat;
175 return m_emissionStat;
186 return m_incidenceStat;
197 return m_localSolarTimeStat;
208 return m_localRaduisStat;
219 return m_northAzimuthStat;
223 void init(
Camera *cam,
int sinc,
int linc, QString filename);
const Statistics * getObliqueLineResStat() const
Accessor method for inspecting the statistics gathered on the oblique line resolution of the input Ca...
Definition: CameraStatistics.h:118
const Statistics * getObliqueSampleResStat() const
Accessor method for inspecting the statistics gathered on the oblique sample resolutions of the input...
Definition: CameraStatistics.h:106
virtual void SetBand(const int band)
Virtual method that sets the band number.
Definition: Camera.cpp:2680
This class is used to accumulate statistics on double arrays.
Definition: Statistics.h:94
void AddData(const double *data, const unsigned int count)
Add an array of doubles to the accumulators and counters.
Definition: Statistics.cpp:141
const Statistics * getResStat() const
Accessor method for inspecting the statistics gathered on the Pixel Resolutions of the input Camera.
Definition: CameraStatistics.h:84
void CheckStatus()
Checks and updates the status.
Definition: Progress.cpp:105
virtual double ObliquePixelResolution()
Returns the oblique pixel resolution at the current position in meters/pixel.
Definition: Camera.cpp:685
A single keyword-value pair.
Definition: PvlKeyword.h:82
const Statistics * getObliqueResStat() const
Accessor method for inspecting the statistics gathered on the oblique pixel resolutions of the input ...
Definition: CameraStatistics.h:96
bool HasSurfaceIntersection() const
Returns if the last call to either SetLookDirection or SetUniversalGround had a valid intersection wi...
Definition: Sensor.cpp:186
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
const Statistics * getLocalSolarTimeStat() const
Accessor method for inspecting the statistics gathered on the Local Solar Times of the input Camera.
Definition: CameraStatistics.h:196
void SetMaximumSteps(const int steps)
This sets the maximum number of steps in the process.
Definition: Progress.cpp:85
const Statistics * getNorthAzimuthStat() const
Accessor method for inspecting the statistics gathered on the North Azimuths of the input Camera.
Definition: CameraStatistics.h:218
const Statistics * getSampleResStat() const
Accessor method for inspecting the statistics gathered on the Sample Resolutions of the input Camera.
Definition: CameraStatistics.h:130
double Maximum() const
Returns the absolute maximum double found in all data passed through the AddData method.
Definition: Statistics.cpp:403
virtual double ObliqueSampleResolution()
Returns the oblique sample resolution at the current position in m.
Definition: Camera.cpp:639
const Statistics * getPhaseStat() const
Accessor method for inspecting the statistics gathered on the Phase Angles of the input Camera.
Definition: CameraStatistics.h:163
Container for cube-like labels.
Definition: Pvl.h:119
double LocalSolarTime()
Return the local solar time in hours.
Definition: Sensor.cpp:660
Calculates a series of statistics pertaining to a Camera.
Definition: CameraStatistics.h:42
Pvl toPvl() const
Constructs a Pvl object from the values in the various statistics objects.
Definition: CameraStatistics.cpp:367
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
bool IsSpecial(const double d)
Returns if the input pixel is special.
Definition: SpecialPixel.h:197
void addStats(Camera *cam, int &sample, int &line)
Add statistics data to Statistics objects if the Camera position given by the provided line and sampl...
Definition: CameraStatistics.cpp:239
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
virtual double UniversalLongitude() const
Returns the positive east, 0-360 domain longitude, in degrees, at the surface intersection point in t...
Definition: Sensor.cpp:233
double StandardDeviation() const
Computes and returns the standard deviation.
Definition: Statistics.cpp:312
double Minimum() const
Returns the absolute minimum double found in all data passed through the AddData method.
Definition: Statistics.cpp:382
const Statistics * getLineResStat() const
Accessor method for inspecting the statistics gathered on the Line Resolution of the input Camera.
Definition: CameraStatistics.h:141
virtual double LineResolution()
Returns the line resolution at the current position in meters.
Definition: Camera.cpp:649
const Statistics * getLocalRaduisStat() const
Accessor method for inspecting the statistics gathered on the Local Radii (in meters) of the input Ca...
Definition: CameraStatistics.h:207
virtual ~CameraStatistics()
Destroy this instance, deletes all the Statistics objects.
Definition: CameraStatistics.cpp:160
double NorthAzimuth()
Returns the North Azimuth.
Definition: Camera.cpp:1893
IO Handler for Isis Cubes.
Definition: Cube.h:167
const Statistics * getAspectRatioStat() const
Accessor method for inspecting the statistics gathered on the Aspect Ratios of the input Camera.
Definition: CameraStatistics.h:152
const Statistics * getEmissionStat() const
Accessor method for inspecting the statistics gathered on the Emission Angles of the input Camera.
Definition: CameraStatistics.h:174
virtual double IncidenceAngle() const
Returns the incidence angle in degrees.
Definition: Sensor.cpp:335
CameraStatistics(QString filename, int sinc, int linc)
Constructs the Camera Statistics object from a Cube filename.
Definition: CameraStatistics.cpp:33
Program progress reporter.
Definition: Progress.h:42
int Bands() const
Returns the number of bands in the image.
Definition: Camera.cpp:2796
void addGroup(const Isis::PvlGroup &group)
Add a group to the object.
Definition: PvlObject.h:186
virtual bool IsBandIndependent()
Virtual method that checks if the band is independent.
Definition: Camera.cpp:2649
int Samples() const
Returns the number of samples in the image.
Definition: Camera.cpp:2776
double Average() const
Computes and returns the average.
Definition: Statistics.cpp:300
Camera * camera()
Return a camera associated with the cube.
Definition: Cube.cpp:1451
const Statistics * getIncidenceStat() const
Accessor method for inspecting the statistics gathered on the Incidence Angles of the input Camera.
Definition: CameraStatistics.h:185
virtual double PixelResolution()
Returns the pixel resolution at the current position in meters/pixel.
Definition: Camera.cpp:670
const Statistics * getLatStat() const
Accessor method for inspecting the statistics gathered on the Universal Latitudes of the input Camera...
Definition: CameraStatistics.h:61
PvlKeyword constructKeyword(QString keyname, double value, QString unit) const
Takes a name, value, and optionally units and constructs a PVL Keyword.
Definition: CameraStatistics.cpp:281
double meters() const
Get the distance in meters.
Definition: Distance.cpp:85
virtual double PhaseAngle() const
Returns the phase angle in degrees.
Definition: Sensor.cpp:312
int Lines() const
Returns the number of lines in the image.
Definition: Camera.cpp:2786
virtual double EmissionAngle() const
Returns the emission angle in degrees.
Definition: Sensor.cpp:324
virtual double SampleResolution()
Returns the sample resolution at the current position in meters.
Definition: Camera.cpp:629
void open(const QString &cfile, QString access="r")
This method will open an isis cube for reading or reading/writing.
Definition: Cube.cpp:627
virtual double ObliqueLineResolution()
Returns the oblique line resolution at the current position in meters.
Definition: Camera.cpp:661
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
void setTerminator(const QString &term)
Sets the terminator used to signify the end of the PVL informationDefaults to "END".
Definition: Pvl.h:144
Distance LocalRadius() const
Returns the local radius at the intersection point.
Definition: Sensor.cpp:267
const Statistics * getLonStat() const
Accessor method for inspecting the statistics gathered on the Universal Longitudes of the input Camer...
Definition: CameraStatistics.h:72
virtual double UniversalLatitude() const
Returns the planetocentric latitude, in degrees, at the surface intersection point in the body fixed ...
Definition: Sensor.cpp:210