C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
eol System.String
hd CSJ2K.j2k.codestream.reader.HeaderDecoder
pl CSJ2K.j2k.util.ParameterList

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
getBoxes ( ) : void

Retrieve the various boxes from the JP2 file.

Описание методов

ColorSpace() публичный Метод

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. ///
Результат System

ToString() публичный Метод

Return a suitable String representation of the class instance.
public ToString ( ) : System.String
Результат System.String

debugging() публичный Метод

Are profiling diagnostics turned on
public debugging ( ) : bool
Результат bool

getBoxes() защищенный Метод

Retrieve the various boxes from the JP2 file.
IOException ///
protected getBoxes ( ) : void
Результат void

getChannelDefinition() публичный Метод

Return the channel definition of the input component.
public getChannelDefinition ( int c ) : int
c int
Результат int

getColorSpace() публичный Метод

Return the colorspace (sYCC, sRGB, sGreyScale).
public getColorSpace ( ) : CSEnum
Результат CSEnum

getPaletteChannelBits() публичный Метод

Return bitdepth of the palette entries.
public getPaletteChannelBits ( int c ) : int
c int
Результат int

getPalettizedSample() публичный Метод

Return a palettized sample
public getPalettizedSample ( int channel, int index ) : int
channel int requested ///
index int of entry ///
Результат int

indent() публичный статический Метод

Indent a String that contains newlines.
public static indent ( System ident, System instr ) : System.String
ident System
instr System
Результат System.String

isOutputSigned() публичный Метод

Signed output predicate.
public isOutputSigned ( int channel ) : bool
channel int
Результат bool

Описание свойств

eol публичное статическое свойство

public static String,System eol
Результат System.String

hd публичное свойство

Parameter Specs
public CSJ2K.j2k.codestream.reader.HeaderDecoder hd
Результат CSJ2K.j2k.codestream.reader.HeaderDecoder

pl публичное свойство

Parameter Specs
public CSJ2K.j2k.util.ParameterList pl
Результат CSJ2K.j2k.util.ParameterList