
icc.lut.LookUpTable8 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jj2000 Show documentation
Show all versions of jj2000 Show documentation
Fork of jpeg2k code from https://code.google.com/p/jj2000/.
This is a dependency for support of compression in Grib2 files in netCDF-java and TDS.
We welcome bug fixes and other contributions to this code.
The newest version!
/*****************************************************************************
*
* $Id: LookUpTable8.java,v 1.1 2002/07/25 14:56:48 grosbois Exp $
*
* Copyright Eastman Kodak Company, 343 State Street, Rochester, NY 14650
* $Date $
*****************************************************************************/
package icc.lut;
import icc .tags.ICCCurveType;
/**
* Toplevel class for a byte [] lut.
*
* @version 1.0
* @author Bruce A. Kern
*/
public abstract class LookUpTable8 extends LookUpTable {
/** Maximum output value of the LUT */ protected final byte dwMaxOutput; // Maximum output value of the LUT
/** The lut values. */ protected final byte [] lut;
/**
* Create an abbreviated string representation of a 16 bit lut.
* @return the lut as a String
*/
public String toString () {
StringBuffer rep = new StringBuffer ("[LookUpTable8 ");
int row,col;
rep .append("max= " + dwMaxOutput);
rep .append(", nentries= " + dwMaxOutput);
return rep.append("]").toString(); }
public String toStringWholeLut () {
StringBuffer rep = new StringBuffer ("LookUpTable8" + eol);
rep .append("maxOutput = " + dwMaxOutput + eol);
for (int i=0; i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy