Inheritance diagram for w2qcref::LocalStatistics:

Public Types | |
| MEAN_INDEX = NUM_BASIC_STATISTICS | |
| STDEV_INDEX | |
| DIFF_INDEX | |
| how much this value differs from the mean. | |
| MIN_STDEV_INDEX | |
| NUM_LOCAL_STATISTICS | |
| enum | LocalStatisticIndex { MEAN_INDEX = NUM_BASIC_STATISTICS, STDEV_INDEX, DIFF_INDEX, MIN_STDEV_INDEX, NUM_LOCAL_STATISTICS } |
| Index of the appropriate variable in the NN input array. More... | |
| DATA_INDEX | |
| NUM_BASIC_STATISTICS | |
| enum | BASIC_STATISTICS { DATA_INDEX, NUM_BASIC_STATISTICS } |
Public Member Functions | |
| LocalStatistics (const std::string &inputType, int elev) | |
| void | setHalfSize (int newsize) |
| Change the half-size from 2 (a 5x5) kernel. | |
| virtual size_t | size () const |
| number of statistics. | |
| virtual | ~LocalStatistics () |
| const code::Image< float > & | origData () const |
| void | fillNNInput (std::vector< code::Image< float > > *params) |
| copy the stored statistics into the passed-in vector. | |
| void | compute (const code::PolarGrid &value, const code::Length &targetGateWidth, int targetNumGates) |
| compute, and store, statistics from this polar grid. | |
| bool | isKnown (int x, int y) const |
| void | setSignImportant (bool flag) |
| by default, the sign is important. | |
| const std::string & | getInputType () const |
| int | getElevation () const |
Static Public Member Functions | |
| static int | SIGN (float v) |
| static int | getGateIncrement (const code::Length &inGateWidth, const code::Length &targetGateWidth) |
| Number of gates we have to skip to get the targetGateWidth. | |
Protected Attributes | |
| code::Image< float > | mean |
| code::Image< float > | stdev |
| code::Image< float > | diff |
| code::Image< float > | min_stdev |
| int | HALF_SIZE |
| code::Image< int > | valueKnown |
| code::Image< float > | dataValue |
| WARNING! The dataValue will be fabs(actual) if the sign is not important (such as in velocity fields) -- so, don't use this value in computing mean, etc. | |
| bool | signImportant |
enum w2qcref::BasicStatistics::BASIC_STATISTICS [inherited] |
| w2qcref::LocalStatistics::LocalStatistics | ( | const std::string & | inputType, | |
| int | elev | |||
| ) | [inline] |
| virtual w2qcref::LocalStatistics::~LocalStatistics | ( | ) | [inline, virtual] |
| void w2qcref::LocalStatistics::compute | ( | const code::PolarGrid & | value, | |
| const code::Length & | targetGateWidth, | |||
| int | targetNumGates | |||
| ) | [virtual] |
compute, and store, statistics from this polar grid.
Reimplemented from w2qcref::BasicStatistics.
Reimplemented in w2qcref::BlobTextureStatistics.
| void w2qcref::LocalStatistics::fillNNInput | ( | std::vector< code::Image< float > > * | params | ) | [virtual] |
copy the stored statistics into the passed-in vector.
Reimplemented from w2qcref::BasicStatistics.
Reimplemented in w2qcref::BlobTextureStatistics.
| int w2qcref::Statistics::getElevation | ( | ) | const [inline, inherited] |
| static int w2qcref::Statistics::getGateIncrement | ( | const code::Length & | inGateWidth, | |
| const code::Length & | targetGateWidth | |||
| ) | [static, inherited] |
Number of gates we have to skip to get the targetGateWidth.
For example, if the input grid has a resolution of 0.25km, but the target is 1km, the gate increment is 4.
| const std::string& w2qcref::Statistics::getInputType | ( | ) | const [inline, inherited] |
| bool w2qcref::BasicStatistics::isKnown | ( | int | x, | |
| int | y | |||
| ) | const [inline, inherited] |
| const code::Image<float>& w2qcref::LocalStatistics::origData | ( | ) | const [inline] |
| void w2qcref::LocalStatistics::setHalfSize | ( | int | newsize | ) | [inline] |
Change the half-size from 2 (a 5x5) kernel.
| void w2qcref::BasicStatistics::setSignImportant | ( | bool | flag | ) | [inline, inherited] |
by default, the sign is important.
| static int w2qcref::Statistics::SIGN | ( | float | v | ) | [inline, static, inherited] |
| virtual size_t w2qcref::LocalStatistics::size | ( | ) | const [inline, virtual] |
number of statistics.
Reimplemented from w2qcref::BasicStatistics.
Reimplemented in w2qcref::BlobTextureStatistics.
code::Image<float> w2qcref::BasicStatistics::dataValue [protected, inherited] |
WARNING! The dataValue will be fabs(actual) if the sign is not important (such as in velocity fields) -- so, don't use this value in computing mean, etc.
code::Image<float> w2qcref::LocalStatistics::diff [protected] |
int w2qcref::LocalStatistics::HALF_SIZE [protected] |
code::Image<float> w2qcref::LocalStatistics::mean [protected] |
code::Image<float> w2qcref::LocalStatistics::min_stdev [protected] |
bool w2qcref::BasicStatistics::signImportant [protected, inherited] |
code::Image<float> w2qcref::LocalStatistics::stdev [protected] |
code::Image<int> w2qcref::BasicStatistics::valueKnown [protected, inherited] |
1.4.7