|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectj2d.ImageProcessor
j2d.hpp.HistogramEQProcessor
public class HistogramEQProcessor
This classes allows adjustment of an image using histogram equalization. Reference: Douglas A. Lyon, "Image Processing in Java"
| Field Summary |
|---|
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
HistogramEQProcessor()
Create a new HistogramEQProcessor |
|
| Method Summary | |
|---|---|
void |
processImage()
Implementation of ImageProcessor |
void |
setAlpha(double alpha)
Set the parameter for exponential EQ. |
void |
setBaseImage(java.awt.Image newImage)
Set the base image reference. |
void |
setExponential(boolean state)
Sets uniform/exponential EQ option. |
| Methods inherited from class j2d.ImageProcessor |
|---|
getBaseImage, getBaseImageHeight, getBaseImageWidth, getPixels, getProcessedImage, imageUpdate, openImage, process, setPixels |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HistogramEQProcessor()
| Method Detail |
|---|
public void processImage()
throws java.lang.Exception
processImage in class ImageProcessorjava.lang.Exceptionpublic void setAlpha(double alpha)
alpha - parameter for exponential EQpublic void setExponential(boolean state)
state - true = exponential; false = uniformpublic void setBaseImage(java.awt.Image newImage)
setBaseImage in class ImageProcessor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||