All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ij.process.BytePixelGrabber

java.lang.Object
   |
   +----ij.process.BytePixelGrabber

public class BytePixelGrabber
extends Object
implements ImageConsumer
Retrieves pixels from byte images


Constructor Index

 o BytePixelGrabber(Image, int, int, int, int, byte[], int, int)
 o BytePixelGrabber(ImageProducer, int, int, int, int, byte[], int, int)

Method Index

 o getColorModel()
 o grabPixels()
 o grabPixels(long)
 o imageComplete(int)
 o setColorModel(ColorModel)
 o setDimensions(int, int)
 o setHints(int)
 o setPixels(int, int, int, int, ColorModel, byte[], int, int)
 o setPixels(int, int, int, int, ColorModel, int[], int, int)
 o setProperties(Hashtable)
 o status()

Constructors

 o BytePixelGrabber
 public BytePixelGrabber(Image img,
                         int x,
                         int y,
                         int w,
                         int h,
                         byte pix[],
                         int off,
                         int scansize)
 o BytePixelGrabber
 public BytePixelGrabber(ImageProducer ip,
                         int x,
                         int y,
                         int w,
                         int h,
                         byte pix[],
                         int off,
                         int scansize)

Methods

 o getColorModel
 public ColorModel getColorModel()
 o grabPixels
 public boolean grabPixels() throws InterruptedException
 o grabPixels
 public synchronized boolean grabPixels(long ms) throws InterruptedException
 o status
 public synchronized int status()
 o setDimensions
 public void setDimensions(int width,
                           int height)
 o setHints
 public void setHints(int hints)
 o setProperties
 public void setProperties(Hashtable props)
 o setColorModel
 public void setColorModel(ColorModel model)
 o setPixels
 public void setPixels(int srcX,
                       int srcY,
                       int srcW,
                       int srcH,
                       ColorModel model,
                       byte pixels[],
                       int srcOff,
                       int srcScan)
 o setPixels
 public void setPixels(int srcX,
                       int srcY,
                       int srcW,
                       int srcH,
                       ColorModel model,
                       int pixels[],
                       int srcOff,
                       int srcScan)
 o imageComplete
 public synchronized void imageComplete(int status)

All Packages  Class Hierarchy  This Package  Previous  Next  Index