|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.apache.batik.ext.awt.image.rendered.AbstractRed
|
+--org.apache.batik.ext.awt.image.rendered.Any2LumRed
This function will tranform an image from any colorspace into a luminance image. The alpha channel if any will be copied to the new image.
| Fields inherited from class org.apache.batik.ext.awt.image.rendered.AbstractRed |
bounds, cm, minTileX, minTileY, numXTiles, numYTiles, props, sm, srcs, tileGridXOff, tileGridYOff, tileHeight, tileWidth |
| Constructor Summary | |
Any2LumRed(CachableRed src)
Construct a luminace image from src. |
|
| Method Summary | |
java.awt.image.WritableRaster |
copyData(java.awt.image.WritableRaster wr)
|
protected static java.awt.image.ColorModel |
fixColorModel(CachableRed src)
This function 'fixes' the source's color model. |
protected static java.awt.image.SampleModel |
fixSampleModel(CachableRed src)
This function 'fixes' the source's sample model. |
| Methods inherited from class org.apache.batik.ext.awt.image.rendered.AbstractRed |
copyBand, copyToRaster, getBounds, getColorModel, getData, getData, getDependencyRegion, getDirtyRegion, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getPropertyNames, getSampleModel, getSources, getTile, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth, getXTile, getYTile, init, init, makeTile, updateTileGridInfo |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Any2LumRed(CachableRed src)
src - The image to convert to a luminance image| Method Detail |
public java.awt.image.WritableRaster copyData(java.awt.image.WritableRaster wr)
protected static java.awt.image.ColorModel fixColorModel(CachableRed src)
protected static java.awt.image.SampleModel fixSampleModel(CachableRed src)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||