Package com.jhlabs.image
Class ExposureFilter
- java.lang.Object
-
- com.jhlabs.image.AbstractBufferedImageOp
-
- com.jhlabs.image.PointFilter
-
- com.jhlabs.image.TransferFilter
-
- com.jhlabs.image.ExposureFilter
-
- All Implemented Interfaces:
java.awt.image.BufferedImageOp
,java.lang.Cloneable
public class ExposureFilter extends TransferFilter
A filter which changes the exposure of an image.
-
-
Field Summary
-
Fields inherited from class com.jhlabs.image.TransferFilter
bTable, gTable, initialized, rTable
-
Fields inherited from class com.jhlabs.image.PointFilter
canFilterIndexColorModel
-
-
Constructor Summary
Constructors Constructor Description ExposureFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getExposure()
Get the exposure level.void
setExposure(float exposure)
Set the exposure level.java.lang.String
toString()
protected float
transferFunction(float f)
-
Methods inherited from class com.jhlabs.image.TransferFilter
filter, filterRGB, getLUT, initialize, makeTable
-
Methods inherited from class com.jhlabs.image.PointFilter
setDimensions
-
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColor
-
-
-
-
Method Detail
-
transferFunction
protected float transferFunction(float f)
- Overrides:
transferFunction
in classTransferFilter
-
setExposure
public void setExposure(float exposure)
Set the exposure level.- Parameters:
exposure
- the exposure level, min-value: 0, max-value 5+- See Also:
getExposure()
-
getExposure
public float getExposure()
Get the exposure level.- Returns:
- the exposure level
- See Also:
setExposure(float)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-