|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.media.jai.PlanarImage
javax.media.jai.OpImage
javax.media.jai.StatisticsOpImage
uk.ac.essex.ia.media.jai.ImageInfoOp
public class ImageInfoOp
A JAI operator class to obtain information about an image
You should have received a copy of GNU public license with this code.
If not please visit this site
Field Summary |
---|
Fields inherited from class javax.media.jai.StatisticsOpImage |
---|
roi, xPeriod, xStart, yPeriod, yStart |
Fields inherited from class javax.media.jai.OpImage |
---|
cache, cobbleSources, OP_COMPUTE_BOUND, OP_IO_BOUND, OP_NETWORK_BOUND, tileCacheMetric, tileRecycler |
Fields inherited from class javax.media.jai.PlanarImage |
---|
colorModel, eventManager, height, minX, minY, properties, sampleModel, tileFactory, tileGridXOffset, tileGridYOffset, tileHeight, tileWidth, width |
Constructor Summary | |
---|---|
ImageInfoOp(java.awt.image.RenderedImage source,
int param1)
Takes the source image and calls the superclass with this also constructs a GlobalStat object that computes all the available statistics once rather than compute them on demand seperately |
Method Summary | |
---|---|
protected void |
accumulateStatistics(java.lang.String name,
java.awt.image.Raster source,
java.lang.Object stats)
this function should gather the statistics but it uses the GlobalStats object which is created in the constructor |
protected java.lang.Object |
createStatistics(java.lang.String name)
Creates the statistics object to store the statistics this is just an array whose size = number of bands of the image |
protected java.lang.String[] |
getStatisticsNames()
|
Methods inherited from class javax.media.jai.StatisticsOpImage |
---|
computesUniqueTiles, computeTile, getProperty, getPropertyNames, getTile, getTiles, mapDestRect, mapSourceRect |
Methods inherited from class javax.media.jai.OpImage |
---|
addTileToCache, cancelTiles, computeRect, computeRect, createTile, dispose, getExpandedNumBands, getFormatTags, getOperationComputeType, getTileCache, getTileCacheMetric, getTileDependencies, getTileFromCache, getTileRecycler, hasExtender, mapDestPoint, mapSourcePoint, prefetchTiles, queueTiles, recycleTile, setTileCache, vectorize, vectorize, vectorize |
Methods inherited from class javax.media.jai.PlanarImage |
---|
addPropertyChangeListener, addPropertyChangeListener, addSink, addSink, addSource, addTileComputationListener, copyData, copyData, copyExtendedData, createColorModel, createSnapshot, createWritableRaster, finalize, getAsBufferedImage, getAsBufferedImage, getBounds, getColorModel, getData, getData, getDefaultColorModel, getExtendedData, getGraphics, getHeight, getImageID, getMaxTileX, getMaxTileY, getMaxX, getMaxY, getMinTileX, getMinTileY, getMinX, getMinY, getNumBands, getNumSources, getNumXTiles, getNumYTiles, getProperties, getPropertyClass, getPropertyNames, getSampleModel, getSinks, getSource, getSourceImage, getSourceObject, getSources, getSplits, getTileComputationListeners, getTileFactory, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileIndices, getTileRect, getTiles, getTileWidth, getWidth, overlapsMultipleTiles, removeProperty, removePropertyChangeListener, removePropertyChangeListener, removeSink, removeSink, removeSinks, removeSource, removeSources, removeTileComputationListener, setImageLayout, setProperties, setProperty, setSource, setSources, tileXToX, tileXToX, tileYToY, tileYToY, toString, wrapRenderedImage, XToTileX, XToTileX, YToTileY, YToTileY |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ImageInfoOp(java.awt.image.RenderedImage source, int param1)
Method Detail |
---|
protected java.lang.Object createStatistics(java.lang.String name)
createStatistics
in class javax.media.jai.StatisticsOpImage
name
- - String name of the statistic valueprotected java.lang.String[] getStatisticsNames()
getStatisticsNames
in class javax.media.jai.StatisticsOpImage
protected void accumulateStatistics(java.lang.String name, java.awt.image.Raster source, java.lang.Object stats)
accumulateStatistics
in class javax.media.jai.StatisticsOpImage
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |