DESY ACOP Beans Home

de.desy.acop.video.displayer
Class ImageBuffer

java.lang.Object
  extended by de.desy.acop.video.displayer.ImageBuffer

Deprecated. replaced by TBufferedImage.toBufferedImage

public class ImageBuffer
extends java.lang.Object

The ImageBuffer class describes an Image with an accessible buffer of image data.

Author:
mdavid, sweisse

Constructor Summary
ImageBuffer()
          Deprecated. Constructor (default)
 
Method Summary
 java.awt.Image createImage(de.desy.tine.types.IMAGE timage)
          Deprecated. updates JAVA TYPE_INT_ARGB displayImageBuffer based on any input data and header the image displayer is capable of processing.
 int[] getColorLookupTable()
          Deprecated.  
 java.awt.Image getImage()
          Deprecated.  
 int[] getPixels()
          Deprecated. Get array of pixels
 boolean isEnabledNormalization()
          Deprecated. Returns whether histogram equalization (normalization) is currently enabled.
 void reset()
          Deprecated. Resets all buffers
 void setColorLookupTable(int[] rgbArray)
          Deprecated.  
 void setEnabledNormalization(boolean enabledNormalization)
          Deprecated. Sets whether or not the histogram equalization (normalization) is enabled.
 void setPixels(int[] pixels)
          Deprecated. Sets array of RGB pixels
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageBuffer

public ImageBuffer()
Deprecated. 
Constructor (default)

Method Detail

getPixels

public int[] getPixels()
Deprecated. 
Get array of pixels

Returns:
array of RGB pixels

setPixels

public void setPixels(int[] pixels)
Deprecated. 
Sets array of RGB pixels

Parameters:
pixels -

isEnabledNormalization

public boolean isEnabledNormalization()
Deprecated. 
Returns whether histogram equalization (normalization) is currently enabled.

Returns:
true if histogram equalization is enabled, otherwise false

setEnabledNormalization

public void setEnabledNormalization(boolean enabledNormalization)
Deprecated. 
Sets whether or not the histogram equalization (normalization) is enabled.

Parameters:
enabledNormalization - true if normalization should be enabled, false otherwise

getColorLookupTable

public int[] getColorLookupTable()
Deprecated. 
Returns:
false color lookup table

setColorLookupTable

public void setColorLookupTable(int[] rgbArray)
Deprecated. 
Parameters:
rgbArray - - false color lookup table

createImage

public java.awt.Image createImage(de.desy.tine.types.IMAGE timage)
Deprecated. 
updates JAVA TYPE_INT_ARGB displayImageBuffer based on any input data and header the image displayer is capable of processing. In addition, normalization of given input data type is applied on demand.

Parameters:
timage - RGB, ARGB, JPEG or Luminosity (Grayscale) TINE IMAGE
Returns:
Java graphical image

reset

public void reset()
Deprecated. 
Resets all buffers


getImage

public java.awt.Image getImage()
Deprecated. 
Returns:
last rendered Image


Copyright © 2010. All Rights Reserved.