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
파일 보기 프로젝트 열기: cureos/csj2k

공개 메소드들

메소드 설명
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