C# Класс CSJ2K.Color.Boxes.ComponentMappingBox

This class maps the components in the codestream to channels in the image. It models the Component Mapping box in the JP2 header.
Наследование: CSJ2K.Color.Boxes.JP2Box
Показать файл Открыть проект

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

Метод Описание
ComponentMappingBox ( CSJ2K.j2k.io.RandomAccessIO in_Renamed, int boxStart ) : System

Construct a ComponentMappingBox from an input image.

ToString ( ) : System.String

Return a suitable String representation of the class instance.

getCMP ( int channel ) : int
getMTYP ( int channel ) : short

Return the channel type.

getPCOL ( int channel ) : short

Return the palette index for the channel.

Приватные методы

Метод Описание
ComponentMappingBox ( ) : System
getCMP ( byte mapping ) : int
getMTYP ( byte mapping ) : short
getPCOL ( byte mapping ) : short
readBox ( ) : void

Analyze the box content.

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

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

Construct a ComponentMappingBox from an input image.
ColorSpaceException ///
public ComponentMappingBox ( CSJ2K.j2k.io.RandomAccessIO in_Renamed, int boxStart ) : System
in_Renamed CSJ2K.j2k.io.RandomAccessIO
boxStart int offset to the start of the box in the image ///
Результат System

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

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

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

public getCMP ( int channel ) : int
channel int
Результат int

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

Return the channel type.
public getMTYP ( int channel ) : short
channel int
Результат short

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

Return the palette index for the channel.
public getPCOL ( int channel ) : short
channel int
Результат short