#include <histogram.h>
This is used with Histogram to provide a DN count on an image.
Definition at line 17 of file histogram.h.
Public Member Functions | |
Hash (double val) | |
Sets the value to val and the count to 1. | |
void | incCnt () |
Increment the count for this value. | |
double | getVal () |
Gets the value. | |
int | getCnt () |
Gets the count. | |
Public Attributes | |
double | mVal |
value | |
int | mCnt |
count |
Hash::Hash | ( | double | val | ) | [inline] |
void Hash::incCnt | ( | ) | [inline] |
Increment the count for this value.
Definition at line 36 of file histogram.h.
References mCnt.
Referenced by Histogram::calcHist().
double Hash::getVal | ( | ) | [inline] |
int Hash::getCnt | ( | ) | [inline] |
double Hash::mVal |
int Hash::mCnt |
Home |
Search |
Disclaimers & Privacy |
Contact Us GLIMSView Maintainer: dsoltesz@usgs.gov |