1#ifndef OverlapStatistics_h
2#define OverlapStatistics_h
64 QString progressMsg =
"Gathering Overlap Statistics",
65 double sampPercent = 100.0);
77 return (p_stats[band-1].ValidPixels() > 0);
112 return p_stats[band-1];
148 return p_sampPercent;
300 double p_sampPercent;
316 std::vector<Isis::MultivariateStatistics> p_stats;
IO Handler for Isis Cubes.
Definition Cube.h:168
File name manipulation and expansion.
Definition FileName.h:100
Container of multivariate statistics.
Definition MultivariateStatistics.h:54
BigInt ValidPixels() const
Returns the number of valid pixels processed.
Definition MultivariateStatistics.cpp:201
Calculates statistics in the area of overlap between two projected cubes.
Definition OverlapStatistics.h:61
Isis::FileName FileNameY() const
Returns the filename of the second cube.
Definition OverlapStatistics.h:96
bool HasOverlap(int band) const
Checks the specified band for an overlap.
Definition OverlapStatistics.h:76
double SampPercent() const
Returns the percentage of cube lines sampled.
Definition OverlapStatistics.h:147
int EndSampleX() const
Returns the ending sample position of the overlap in the first cube.
Definition OverlapStatistics.h:165
int Bands() const
Returns the number of bands both cubes have.
Definition OverlapStatistics.h:138
int StartSampleY() const
Returns the starting sample position of the overlap in the second cube.
Definition OverlapStatistics.h:192
bool HasOverlap() const
Checks all bands of the cubes for an overlap, and will only return false if none of the bands overlap...
Definition OverlapStatistics.cpp:175
int StartLineX() const
Returns the starting line position of the overlap in the first cube.
Definition OverlapStatistics.h:174
Isis::MultivariateStatistics GetMStats(int band) const
Returns the MultivariateStatistics object containing all the data from both cubes in the overlapping ...
Definition OverlapStatistics.h:111
int EndLineX() const
Returns the ending line position of the overlap in the first cube.
Definition OverlapStatistics.h:183
Isis::FileName FileNameX() const
Returns the filename of the first cube.
Definition OverlapStatistics.h:87
int Lines() const
Returns the number of lines in the overlapping area.
Definition OverlapStatistics.h:120
int StartLineY() const
Returns the starting line position of the overlap in the second cube.
Definition OverlapStatistics.h:210
OverlapStatistics(Isis::Cube &x, Isis::Cube &y, QString progressMsg="Gathering Overlap Statistics", double sampPercent=100.0)
Constructs an OverlapStatistics object.
Definition OverlapStatistics.cpp:51
int EndLineY() const
Returns the ending line position of the overlap in the second cube.
Definition OverlapStatistics.h:219
bool IsValid(unsigned int band) const
Returns whether the overlap meets the minimum valid pixel requirement.
Definition OverlapStatistics.h:244
int MinCount() const
Definition OverlapStatistics.h:233
int Samples() const
Returns the number of samples in the overlapping area.
Definition OverlapStatistics.h:129
int EndSampleY() const
Returns the ending sample position of the overlap in the second cube.
Definition OverlapStatistics.h:201
PvlObject toPvl(QString name="OverlapStatistics") const
Creates a Pvl containing the following Overlap Statistics information File1 File2 Width Height Bands ...
Definition OverlapStatistics.cpp:192
void SetMincount(unsigned int mincnt)
Sets the minimum number of valid pixels for the overlap to be considered valid for PVL output.
Definition OverlapStatistics.h:229
int StartSampleX() const
Returns the starting sample position of the overlap in the first cube.
Definition OverlapStatistics.h:156
Contains Pvl Groups and Pvl Objects.
Definition PvlObject.h:61
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16
QDebug operator<<(QDebug debug, const Hillshade &hillshade)
Print this class out to a QDebug object.
Definition Hillshade.cpp:313