class Histogram extends java.lang.Object
A Histogram.
Type Params | Return Type | Name and description |
---|---|---|
|
java.util.List |
bin(int i, int band) Get the i'th bin for the given band |
|
java.util.List |
bins(int band) Get a List of all bins |
|
int |
count(int i, int band) Get the count for the i'th bin for the given band |
|
java.util.List |
counts(int band) Get a List of all counts for all of the bins for the given band |
|
int |
getAt(int i) Get the count for the i'th bin for the first band |
|
int |
getAt(java.util.List values) Get a List of all counts for all of the bins for the given band |
|
int |
getNumberOfBands() Get the number of bands |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The wrapped javax.media.jai.Histogram
Create a new Histogram wrapping the javax.media.jai.Histogram
histo
- A javax.media.jai.HistogramGet the i'th bin for the given band
i
- The bin numberband
- The band (defaults to 0)Get a List of all bins
band
- The bandGet the count for the i'th bin for the given band
i
- The bin bumberband
- The band (defaults to 0)Get a List of all counts for all of the bins for the given band
band
- The band (defaults to 0)Get the count for the i'th bin for the first band
i
- The bin bumberGet a List of all counts for all of the bins for the given band
values
- A List containing the bin and bandGet the number of bands
Groovy Documentation