j2d.hpp
Class ExponentialStretchProcessor
java.lang.Object
j2d.ImageProcessor
j2d.hpp.ExponentialStretchProcessor
- All Implemented Interfaces:
- java.awt.image.ImageObserver
public class ExponentialStretchProcessor
- extends ImageProcessor
This classes allows adjustment of an image using a "Pow
Function" for exponential stretching of pixel intensity.
Reference: Douglas A. Lyon, "Image Processing in Java"
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Method Summary |
void |
processImage()
Implementation of ImageProcessor |
void |
setPower(double power)
Set the exponential coefficient. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExponentialStretchProcessor
public ExponentialStretchProcessor()
- Create a new ExponentialStretchProcessor
processImage
public void processImage()
throws java.lang.Exception
- Implementation of ImageProcessor
- Specified by:
processImage
in class ImageProcessor
- Throws:
java.lang.Exception
setPower
public void setPower(double power)
- Set the exponential coefficient.