net.agmodel.chizudata
Class ChizuResult

java.lang.Object
  |
  +--net.agmodel.chizudata.ChizuResult
All Implemented Interfaces:
Serializable, net.agmodel.genericBroker.ServerResult

public class ChizuResult
extends Object
implements Serializable, net.agmodel.genericBroker.ServerResult

A serializable buffered image

See Also:
Serialized Form

Field Summary
(package private)  int[] bandOffsets
           
(package private)  byte[][] bi_array
           
(package private)  int bitsPerPixel
           
(package private)  byte[] blue
           
(package private)  int dataType
           
(package private)  byte[] green
           
(package private)  int height
           
(package private) static int nPixels
           
(package private)  int pixelStride
           
(package private)  byte[] red
           
(package private)  int scanLineStride
           
(package private)  int width
           
 
Constructor Summary
ChizuResult(BufferedImage bi, int w, int h)
          Create a serializable object from a BufferedImage
 
Method Summary
 BufferedImage getBufferedImage()
          Get the buffered image.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bi_array

byte[][] bi_array

width

int width

height

int height

dataType

int dataType

pixelStride

int pixelStride

scanLineStride

int scanLineStride

bandOffsets

int[] bandOffsets

bitsPerPixel

int bitsPerPixel

nPixels

static final int nPixels

red

byte[] red

green

byte[] green

blue

byte[] blue
Constructor Detail

ChizuResult

public ChizuResult(BufferedImage bi,
                   int w,
                   int h)
Create a serializable object from a BufferedImage
Parameters:
bi - the image
w - the width of the image
h - the height of the image
Method Detail

getBufferedImage

public BufferedImage getBufferedImage()
Get the buffered image.
Returns:
a reconstructed buffered image