| javax.media.jai.PointOpImage com.sun.media.jai.mlib.MlibBinarizeOpImage
Constructor Summary | |
public | MlibBinarizeOpImage(RenderedImage source, ImageLayout layout, Map config, double thresh) Constructs a MlibBinarizeOpImage
from a RenderedImage source, thresh value.
Parameters: source - a RenderedImage . Parameters: layout - an ImageLayout optionally containingthe tile grid layout, SampleModel , andColorModel , or null .from this OpImage , or null . |
MlibBinarizeOpImage | public MlibBinarizeOpImage(RenderedImage source, ImageLayout layout, Map config, double thresh)(Code) | | Constructs a MlibBinarizeOpImage
from a RenderedImage source, thresh value.
Parameters: source - a RenderedImage . Parameters: layout - an ImageLayout optionally containingthe tile grid layout, SampleModel , andColorModel , or null .from this OpImage , or null . Ifnull , no caching will be performed. Parameters: thresh - Threshold value. throws: IllegalArgumentException - if combining thesource bounds with the layout parameter results in negativeoutput width or height. |
computeRect | protected void computeRect(Raster[] sources, WritableRaster dest, Rectangle destRect)(Code) | | Parameters: sources - an array of sources, guarantee to provide allnecessary source data for computing the rectangle. Parameters: dest - a tile that contains the rectangle to be computed. Parameters: destRect - the rectangle within this OpImage to be processed. |
|
|