ucar.jpeg.icc
Class ICCMonochromeInputProfile

java.lang.Object
  extended by ucar.jpeg.icc.ICCProfile
      extended by ucar.jpeg.icc.ICCMonochromeInputProfile

public class ICCMonochromeInputProfile
extends ICCProfile

The monochrome ICCProfile.

Version:
1.0
Author:
Bruce A. Kern

Field Summary
 
Fields inherited from class ucar.jpeg.icc.ICCProfile
BITS_PER_BYTE, BITS_PER_INT, BITS_PER_LONG, BITS_PER_SHORT, BLUE, boolean_size, byte_size, BYTES_PER_INT, BYTES_PER_LONG, BYTES_PER_SHORT, char_size, double_size, float_size, GRAY, GREEN, int_size, kdwBlueColorantTag, kdwBlueTRCTag, kdwCopyrightTag, kdwDisplayProfile, kdwGrayData, kdwGrayTRCTag, kdwGreenColorantTag, kdwGreenTRCTag, kdwInputProfile, kdwMediaWhiteTag, kdwProfileDescTag, kdwProfileSignature, kdwProfileSigReverse, kdwRedColorantTag, kdwRedTRCTag, kdwRGBData, kdwXYZData, kMonochromeInput, kThreeCompInput, long_size, RED, short_size
 
Constructor Summary
protected ICCMonochromeInputProfile(ColorSpace csm)
          Construct a ICCMonochromeInputProfile corresponding to the profile file
 
Method Summary
static ICCMonochromeInputProfile createInstance(ColorSpace csm)
          Return the ICCProfile embedded in the input image
 
Methods inherited from class ucar.jpeg.icc.ICCProfile
getHeader, getICCDateTime, getICCProfileVersion, getInt, getInt, getIntFromString, getLong, getShort, getShort, getString, getTagTable, getXYZNumber, parse, setInt, setInt, setLong, setLong, toHexString, toHexString, toHexString, toString, toString, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ICCMonochromeInputProfile

protected ICCMonochromeInputProfile(ColorSpace csm)
                             throws ColorSpaceException,
                                    ICCProfileInvalidException
Construct a ICCMonochromeInputProfile corresponding to the profile file

Parameters:
f - disk based ICCMonochromeInputProfile
Throws:
ColorSpaceException
ICCProfileInvalidException
Method Detail

createInstance

public static ICCMonochromeInputProfile createInstance(ColorSpace csm)
                                                throws ColorSpaceException,
                                                       ICCProfileInvalidException
Return the ICCProfile embedded in the input image

Parameters:
in - jp2 image with embedded profile
Returns:
ICCMonochromeInputProfile
Throws:
ColorSpaceICCProfileInvalidExceptionException
ColorSpaceException
ICCProfileInvalidException


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.