j2d.hpp
Class ExponentialStretchProcessor

java.lang.Object
  extended by j2d.ImageProcessor
      extended by 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"


Field Summary
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
ExponentialStretchProcessor()
          Create a new ExponentialStretchProcessor
 
Method Summary
 void processImage()
          Implementation of ImageProcessor
 void setPower(double power)
          Set the exponential coefficient.
 
Methods inherited from class j2d.ImageProcessor
getBaseImage, getBaseImageHeight, getBaseImageWidth, getPixels, getProcessedImage, imageUpdate, openImage, setBaseImage, setPixels
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExponentialStretchProcessor

public ExponentialStretchProcessor()
Create a new ExponentialStretchProcessor

Method Detail

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.