com.brownsoft.image
Class PGMEncoder

java.lang.Object
  extended bycom.brownsoft.image.PGMEncoder

public class PGMEncoder
extends java.lang.Object

Title: Proyecto Codificacion de Imagenes y Video

Description:

Copyright: Copyright (c) 2004

Company:

Version:
1.0
Author:
Gustavo Brown (alegus@adinet.com.uy)

Field Summary
protected  int BandCount
           
protected  int ColorType
           
protected  java.lang.String HeaderId
           
(package private)  int height
           
(package private)  double[][] imageMatrix
           
protected  java.lang.String ImageType
           
(package private)  int[] imageVector
           
(package private)  int width
           
 
Constructor Summary
PGMEncoder(double[][] imageMatrix)
           
PGMEncoder(double[][] imageMatrix, java.lang.String ImageType, java.lang.String HeaderId, int BandCount, int ColorType)
           
 
Method Summary
 java.awt.Image getImage()
           
private  void setImageVector()
           
 void showImage(java.lang.String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BandCount

protected int BandCount

ColorType

protected int ColorType

HeaderId

protected java.lang.String HeaderId

height

int height

imageMatrix

double[][] imageMatrix

ImageType

protected java.lang.String ImageType

imageVector

int[] imageVector

width

int width
Constructor Detail

PGMEncoder

public PGMEncoder(double[][] imageMatrix)

PGMEncoder

public PGMEncoder(double[][] imageMatrix,
                  java.lang.String ImageType,
                  java.lang.String HeaderId,
                  int BandCount,
                  int ColorType)
Method Detail

getImage

public java.awt.Image getImage()

setImageVector

private void setImageVector()

showImage

public void showImage(java.lang.String title)