C# 클래스 CSJ2K.j2k.fileformat.reader.FileFormatReader

This class reads the file format wrapper that may or may not exist around a valid JPEG 2000 codestream. Since no information from the file format is used in the actual decoding, this class simply goes through the file and finds the first valid codestream.
파일 보기 프로젝트 열기: cureos/csj2k 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
JP2FFUsed bool

공개 메소드들

메소드 설명
FileFormatReader ( RandomAccessIO in_Renamed ) : System

The constructor of the FileFormatReader

readContiguousCodeStreamBox ( long pos, int length, long longLength ) : bool

This method skips the Contiguous codestream box and adds position of contiguous codestream to a vector

readFileFormat ( ) : void

This method checks whether the given RandomAccessIO is a valid JP2 file and if so finds the first codestream in the file. Currently, the information in the codestream is not used

readFileTypeBox ( ) : bool

This method reads the File Type box.

readIntPropertyBox ( int length ) : void

This method reads the contents of the Intellectual property box

readJP2HeaderBox ( long pos, int length, long longLength ) : bool

This method reads the JP2Header box

readReaderRequirementsBox ( int length ) : void

This method reads the contents of the Reader requirements box

readUUIDBox ( int length ) : void

This method reads the contents of the Intellectual property box

readUUIDInfoBox ( int length ) : void

This method reads the contents of the Intellectual property box

readXMLBox ( int length ) : void

This method reads the contents of the XML box

메소드 상세

FileFormatReader() 공개 메소드

The constructor of the FileFormatReader
public FileFormatReader ( RandomAccessIO in_Renamed ) : System
in_Renamed RandomAccessIO
리턴 System

readContiguousCodeStreamBox() 공개 메소드

This method skips the Contiguous codestream box and adds position of contiguous codestream to a vector
If an I/O error ocurred. /// /// If the end of file was reached /// ///
public readContiguousCodeStreamBox ( long pos, int length, long longLength ) : bool
pos long The position in the file /// ///
length int The length of the JP2Header box /// ///
longLength long
리턴 bool

readFileFormat() 공개 메소드

This method checks whether the given RandomAccessIO is a valid JP2 file and if so finds the first codestream in the file. Currently, the information in the codestream is not used
If an I/O error ocurred. /// /// If end of file is reached /// ///
public readFileFormat ( ) : void
리턴 void

readFileTypeBox() 공개 메소드

This method reads the File Type box.
If an I/O error ocurred. /// If the end of file was reached /// ///
public readFileTypeBox ( ) : bool
리턴 bool

readIntPropertyBox() 공개 메소드

This method reads the contents of the Intellectual property box
public readIntPropertyBox ( int length ) : void
length int
리턴 void

readJP2HeaderBox() 공개 메소드

This method reads the JP2Header box
If an I/O error ocurred. /// /// If the end of file was reached /// ///
public readJP2HeaderBox ( long pos, int length, long longLength ) : bool
pos long The position in the file /// ///
length int The length of the JP2Header box /// ///
longLength long
리턴 bool

readReaderRequirementsBox() 공개 메소드

This method reads the contents of the Reader requirements box
public readReaderRequirementsBox ( int length ) : void
length int
리턴 void

readUUIDBox() 공개 메소드

This method reads the contents of the Intellectual property box
public readUUIDBox ( int length ) : void
length int
리턴 void

readUUIDInfoBox() 공개 메소드

This method reads the contents of the Intellectual property box
public readUUIDInfoBox ( int length ) : void
length int
리턴 void

readXMLBox() 공개 메소드

This method reads the contents of the XML box
public readXMLBox ( int length ) : void
length int
리턴 void

프로퍼티 상세

JP2FFUsed 공개적으로 프로퍼티

Flag indicating whether or not the JP2 file format is used
public bool JP2FFUsed
리턴 bool