uk.ac.essex.ia.media.jai
Class HoughLinesOpImage

java.lang.Object
  extended by javax.media.jai.PlanarImage
      extended by javax.media.jai.OpImage
          extended by javax.media.jai.UntiledOpImage
              extended by uk.ac.essex.ia.media.jai.HoughLinesOpImage
All Implemented Interfaces:
java.awt.image.RenderedImage, javax.media.jai.ImageJAI, javax.media.jai.PropertyChangeEmitter, javax.media.jai.PropertySource, javax.media.jai.WritablePropertySource

public class HoughLinesOpImage
extends javax.media.jai.UntiledOpImage

Find lines in an image with a Hough transform.


Field Summary
 
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
HoughLinesOpImage(java.awt.image.RenderedImage source, javax.media.jai.ImageLayout layout, java.lang.Integer edgeThreshold, java.lang.Integer maximaThreshold, java.lang.Integer outputIntensity)
          Constructs HoughLinesOpImage.
 
Method Summary
protected  void computeImage(java.awt.image.Raster[] src, java.awt.image.WritableRaster dst, java.awt.Rectangle destRect)
          Computes the destination image.
 
Methods inherited from class javax.media.jai.UntiledOpImage
computeTile, getTileDependencies, mapDestRect, mapSourceRect
 
Methods inherited from class javax.media.jai.OpImage
addTileToCache, cancelTiles, computeRect, computeRect, computesUniqueTiles, createTile, dispose, getExpandedNumBands, getFormatTags, getOperationComputeType, getTile, getTileCache, getTileCacheMetric, getTileFromCache, getTileRecycler, getTiles, 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, getProperty, getPropertyClass, getPropertyNames, 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

HoughLinesOpImage

public HoughLinesOpImage(java.awt.image.RenderedImage source,
                         javax.media.jai.ImageLayout layout,
                         java.lang.Integer edgeThreshold,
                         java.lang.Integer maximaThreshold,
                         java.lang.Integer outputIntensity)
Constructs HoughLinesOpImage. Image dimensions are copied from the source image. The tile grid layout, SampleModel, and ColorModel may optionally be specified by an ImageLayout object

Parameters:
source - a RenderedImage
layout - an ImageLayout optionally containing the tile grid layout, SampleModel, and ColorModel or null.
Method Detail

computeImage

protected void computeImage(java.awt.image.Raster[] src,
                            java.awt.image.WritableRaster dst,
                            java.awt.Rectangle destRect)
Computes the destination image.

Specified by:
computeImage in class javax.media.jai.UntiledOpImage
Parameters:
src - the source raster.
dst - the resultant image.
destRect - the rectangle within the OpImage to be computed