C# Class CSJ2K.Color.ColorSpace

This class analyzes the image to provide colorspace information for the decoding chain. It does this by examining the box structure of the JP2 image. It also provides access to the parameter list information, which is stored as a public final field.
Afficher le fichier Open project: cureos/csj2k Class Usage Examples

Méthodes publiques

Свойство Type Description
eol System.String
hd CSJ2K.j2k.codestream.reader.HeaderDecoder
pl CSJ2K.j2k.util.ParameterList

Méthodes publiques

Méthode Description
ColorSpace ( CSJ2K.j2k.io.RandomAccessIO in_Renamed, CSJ2K.j2k.codestream.reader.HeaderDecoder hd, CSJ2K.j2k.util.ParameterList pl ) : System

public constructor which takes in the image, parameterlist and the image header decoder as args.

ToString ( ) : System.String

Return a suitable String representation of the class instance.

debugging ( ) : bool

Are profiling diagnostics turned on

getChannelDefinition ( int c ) : int

Return the channel definition of the input component.

getColorSpace ( ) : CSEnum

Return the colorspace (sYCC, sRGB, sGreyScale).

getPaletteChannelBits ( int c ) : int

Return bitdepth of the palette entries.

getPalettizedSample ( int channel, int index ) : int

Return a palettized sample

indent ( System ident, System instr ) : System.String

Indent a String that contains newlines.

isOutputSigned ( int channel ) : bool

Signed output predicate.

Méthodes protégées

Méthode Description
getBoxes ( ) : void

Retrieve the various boxes from the JP2 file.

Method Details

ColorSpace() public méthode

public constructor which takes in the image, parameterlist and the image header decoder as args.
ColorSpaceException ///
public ColorSpace ( CSJ2K.j2k.io.RandomAccessIO in_Renamed, CSJ2K.j2k.codestream.reader.HeaderDecoder hd, CSJ2K.j2k.util.ParameterList pl ) : System
in_Renamed CSJ2K.j2k.io.RandomAccessIO
hd CSJ2K.j2k.codestream.reader.HeaderDecoder provides information about the image header. ///
pl CSJ2K.j2k.util.ParameterList provides parameters from the default and commandline lists. ///
Résultat System

ToString() public méthode

Return a suitable String representation of the class instance.
public ToString ( ) : System.String
Résultat System.String

debugging() public méthode

Are profiling diagnostics turned on
public debugging ( ) : bool
Résultat bool

getBoxes() protected méthode

Retrieve the various boxes from the JP2 file.
IOException ///
protected getBoxes ( ) : void
Résultat void

getChannelDefinition() public méthode

Return the channel definition of the input component.
public getChannelDefinition ( int c ) : int
c int
Résultat int

getColorSpace() public méthode

Return the colorspace (sYCC, sRGB, sGreyScale).
public getColorSpace ( ) : CSEnum
Résultat CSEnum

getPaletteChannelBits() public méthode

Return bitdepth of the palette entries.
public getPaletteChannelBits ( int c ) : int
c int
Résultat int

getPalettizedSample() public méthode

Return a palettized sample
public getPalettizedSample ( int channel, int index ) : int
channel int requested ///
index int of entry ///
Résultat int

indent() public static méthode

Indent a String that contains newlines.
public static indent ( System ident, System instr ) : System.String
ident System
instr System
Résultat System.String

isOutputSigned() public méthode

Signed output predicate.
public isOutputSigned ( int channel ) : bool
channel int
Résultat bool

Property Details

eol public_oe static_oe property

public static String,System eol
Résultat System.String

hd public_oe property

Parameter Specs
public CSJ2K.j2k.codestream.reader.HeaderDecoder hd
Résultat CSJ2K.j2k.codestream.reader.HeaderDecoder

pl public_oe property

Parameter Specs
public CSJ2K.j2k.util.ParameterList pl
Résultat CSJ2K.j2k.util.ParameterList