|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.essex.ia.media.HistogramOp
public class HistogramOp
Loads an images histogram this can done either by instantiating this class or by using the static method it provides.
Constructor Summary | |
---|---|
HistogramOp()
|
|
HistogramOp(java.awt.image.RenderedImage image)
Initialise the image data and load the histogram. |
Method Summary | |
---|---|
static java.util.Vector |
getBins(javax.media.jai.Histogram hist)
returns a vector of int arrays that are the bins of the histogram |
javax.media.jai.Histogram |
getHistogram()
|
static javax.media.jai.Histogram |
getHistogram(java.awt.image.RenderedImage image)
Computes the histogram of the given image. |
void |
set(java.awt.image.RenderedImage image)
sets the image source and load the histogram using the static method getHistogram. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HistogramOp()
public HistogramOp(java.awt.image.RenderedImage image)
Method Detail |
---|
public void set(java.awt.image.RenderedImage image)
getHistogram()
,
getHistogram(RenderedImage image)
public javax.media.jai.Histogram getHistogram()
set(java.awt.image.RenderedImage)
public static javax.media.jai.Histogram getHistogram(java.awt.image.RenderedImage image)
public static java.util.Vector getBins(javax.media.jai.Histogram hist)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |