org.cogchar.sight.api.obs
Class OpenCVImage.BufferGatherer

java.lang.Object
  extended by org.cogchar.sight.api.obs.OpenCVImage.BufferGatherer
All Implemented Interfaces:
ImageConsumer
Enclosing class:
OpenCVImage

public static class OpenCVImage.BufferGatherer
extends Object
implements ImageConsumer


Field Summary
 
Fields inherited from interface java.awt.image.ImageConsumer
COMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT
 
Constructor Summary
OpenCVImage.BufferGatherer(Image image, boolean flipVertical)
           
 
Method Summary
 void imageComplete(int status)
           
 void setColorModel(ColorModel model)
           
 void setDimensions(int width, int height)
           
 void setHints(int hintflags)
           
 void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int off, int scansize)
           
 void setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int off, int scansize)
           
 void setProperties(Hashtable props)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenCVImage.BufferGatherer

public OpenCVImage.BufferGatherer(Image image,
                                  boolean flipVertical)
Method Detail

imageComplete

public void imageComplete(int status)
Specified by:
imageComplete in interface ImageConsumer

setColorModel

public void setColorModel(ColorModel model)
Specified by:
setColorModel in interface ImageConsumer

setDimensions

public void setDimensions(int width,
                          int height)
Specified by:
setDimensions in interface ImageConsumer

setHints

public void setHints(int hintflags)
Specified by:
setHints in interface ImageConsumer

setPixels

public void setPixels(int x,
                      int y,
                      int w,
                      int h,
                      ColorModel model,
                      byte[] pixels,
                      int off,
                      int scansize)
Specified by:
setPixels in interface ImageConsumer

setPixels

public void setPixels(int x,
                      int y,
                      int w,
                      int h,
                      ColorModel model,
                      int[] pixels,
                      int off,
                      int scansize)
Specified by:
setPixels in interface ImageConsumer

setProperties

public void setProperties(Hashtable props)
Specified by:
setProperties in interface ImageConsumer


Copyright © 2010-2014. All Rights Reserved.