edu.illinois.ncsa.versus.adapter
Interface HasRGBPixels

All Superinterfaces:
Adapter
All Known Subinterfaces:
HasPixels
All Known Implementing Classes:
BufferedImageAdapter, ColorConversionAdapter, ImageObjectAdapter, SaveAdapter

public interface HasRGBPixels
extends Adapter

A multimedia object that has pixels in RGB space. First dimension is rows, second is columns, third is bands.

Author:
Luigi Marini

Method Summary
 double getRGBPixel(int row, int column, int band)
          Get one pixel at a time.
 double[][][] getRGBPixels()
          Get all pixels in document.
 
Methods inherited from interface edu.illinois.ncsa.versus.adapter.Adapter
getName
 

Method Detail

getRGBPixels

double[][][] getRGBPixels()
Get all pixels in document.

Returns:
First dimension is rows, second is columns, third is bands

getRGBPixel

double getRGBPixel(int row,
                   int column,
                   int band)
Get one pixel at a time.

Parameters:
row - the row in the image - top to bottom
column - column in the image - left to right
band - pixel's band
Returns:
value of the band for the pixel