|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jaitools.media.jai.classifiedstats.Result
public class Result
Holds the result for a given combination of image band / classifier / statistic / ranges.
See documentation for ClassifiedStats for examples on how to access results.
ClassifiedStats| Constructor Summary | |
|---|---|
Result(int imageBand,
Statistic stat,
List<Range<Double>> ranges,
Double value,
long numOffered,
long numAccepted,
long numNaN,
long numNoData,
org.apache.commons.collections.keyvalue.MultiKey classifierKeys)
Create a new Result object. |
|
| Method Summary | |
|---|---|
org.apache.commons.collections.keyvalue.MultiKey |
getClassifierKeys()
Get the classifier keys. |
int |
getImageBand()
Get the index of the image band for which this result was calculated. |
long |
getNumAccepted()
Get the number of values that were accepted, ie. |
long |
getNumNaN()
Get the number of NaN values that were sampled from the image when calculating this result. |
long |
getNumNoData()
Get the number of NoData values that were sampled from the image when calculating this result. |
long |
getNumOffered()
Get the number of values that were offered, ie. |
Collection<Range<Double>> |
getRanges()
Get the ranges (if defined) that were used to filter data image values for inclusion in the calculation of this result. |
Statistic |
getStatistic()
Get the statistic that this result pertains to. |
Double |
getValue()
Get the calculated value of the statistic. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Result(int imageBand,
Statistic stat,
List<Range<Double>> ranges,
Double value,
long numOffered,
long numAccepted,
long numNaN,
long numNoData,
org.apache.commons.collections.keyvalue.MultiKey classifierKeys)
Result object. This is intended for use by the
ClassifiedStats class rather than client code.
imageBand - data image bandstat - the statistic to which this result pertainsranges - list of ranges (if any) used to filter data image valuesvalue - the calculated value of the statisticnumOffered - number of data image values considered for inclusionnumAccepted - number of data image values actually used for calculating
this resultnumNaN - number of NaN values read from the data imagenumNoData - number of NoData values read from the data imageclassifierKeys - the classifier keys (multikey) associated to this result| Method Detail |
|---|
public Collection<Range<Double>> getRanges()
public int getImageBand()
public Statistic getStatistic()
public Double getValue()
public long getNumAccepted()
public long getNumOffered()
public long getNumNaN()
public long getNumNoData()
public org.apache.commons.collections.keyvalue.MultiKey getClassifierKeys()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||