com.pearsoneduc.ip.op
Class LogOp

java.lang.Object
  |
  +--com.pearsoneduc.ip.op.StandardGreyOp
        |
        +--com.pearsoneduc.ip.op.GreyMapOp
              |
              +--com.pearsoneduc.ip.op.LogOp

public class LogOp
extends GreyMapOp

Performs logarithmic mapping of grey levels in a BufferedImage.

Version:
1.2 [1999/07/08]
Author:
Nick Efford

Fields inherited from class com.pearsoneduc.ip.op.GreyMapOp
table
 
Constructor Summary
LogOp()
          Constructs a LogOp that will map 0 to 0 and 255 to 255.
LogOp(int low, int high)
          Constructs a LogOp that will map the specified limits onto 0 and 255.
 
Method Summary
 void computeMapping(int low, int high)
          Computes a mapping that maps the specified limits onto 0 and 255.
 
Methods inherited from class com.pearsoneduc.ip.op.GreyMapOp
computeMapping, filter, getTableEntry, setTableEntry
 
Methods inherited from class com.pearsoneduc.ip.op.StandardGreyOp
checkImage, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogOp

public LogOp()
Constructs a LogOp that will map 0 to 0 and 255 to 255.

LogOp

public LogOp(int low,
             int high)
Constructs a LogOp that will map the specified limits onto 0 and 255.
Parameters:
low - lower limit, mapping to 0
high - upper limit, mapping to 255
Method Detail

computeMapping

public void computeMapping(int low,
                           int high)
Computes a mapping that maps the specified limits onto 0 and 255.
Parameters:
low - lower limit, mapping onto 0
high - upper limit, mapping onto 255
Overrides:
computeMapping in class GreyMapOp