|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsteganabara.histogram.Histogram
public final class Histogram
Description: The class to calculate the Histogram of an image
Constructor Summary | |
---|---|
Histogram()
|
Method Summary | |
---|---|
static int[] |
blueHistogram(java.awt.image.BufferedImage image)
Calculate the blue histogram of an image |
static int[] |
grayscaleHistogram(java.awt.image.BufferedImage image)
Calculate the grayscale histogram of an image |
static int[] |
greenHistogram(java.awt.image.BufferedImage image)
Calculate the green histogram of an image |
static int[] |
histogram(java.awt.image.BufferedImage image)
Calculate the histogram using the default mode: grayscale |
static int[] |
histogram(java.awt.image.BufferedImage image,
HistogramMode mode)
Calculate the image histogram using a specified mode |
static int[] |
redHistogram(java.awt.image.BufferedImage image)
Calculate the red histogram of an image |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Histogram()
Method Detail |
---|
public static int[] histogram(java.awt.image.BufferedImage image, HistogramMode mode)
image
- The source imagemode
- The histogram mode
public static int[] histogram(java.awt.image.BufferedImage image)
image
- The source image
public static int[] grayscaleHistogram(java.awt.image.BufferedImage image)
image
- The source image
public static int[] redHistogram(java.awt.image.BufferedImage image)
image
- The source image
public static int[] greenHistogram(java.awt.image.BufferedImage image)
image
- The source image
public static int[] blueHistogram(java.awt.image.BufferedImage image)
image
- The source image
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |