Array containing information for all the code-blocks:
1st dim: component index.
2nd dim: resolution level index.
3rd dim: subband index.
4th/5th dim: code-block index (vert.
cbLength -
Variable in class jj2000.j2k.codestream.reader.PktInfo
The length of the code-block in this packet (in bytes)
cblk -
Variable in class jj2000.j2k.codestream.PrecInfo
Code-blocks belonging to this precinct in each subbands of the
resolution level
This interface defines a source of quantized wavelet coefficients and
methods to transfer them in a code-block by code-block basis, fro the
decoder side.
5D Array containing all the coded code-blocks:
1st index: tile index
2nd index: component index
3rd index: resolution level index
4th index: subband index
5th index: code-block index
Checks if the parameters which names do not start with any of the
prefixes in 'prfxs' in this ParameterList are all in the list of valid
parameter names 'plist'.
Creates and returns the entropy decoder corresponding to the
information read from the codestream header and with the special
additional parameters from the parameter list.
Creates a EntropyCoder object for the appropriate entropy coding
parameters in the parameter list 'pl', and having 'src' as the source
of quantized data.
Creates a Quantizer object for the appropriate type of quantization
specified in the options in the parameter list 'pl', and having 'src'
as the source of data to be quantized.
Creates a PostCompRateAllocator object for the appropriate rate
allocation parameters in the parameter list 'pl', having 'src' as the
source of entropy coded data, 'rate' as the target bitrate and 'bw' as
the bit stream writer object.
Creates and returns the ROIDeScaler corresponding to the information
read from the codestream header and with the special additional
parameters from the parameter list.
The horizontal coordinates of the upper-left corner of the active
tile, with respect to the canvas origin, in the component hi-res grid,
for each component.
The vertical coordinates of the upper-left corner of the active tile,
with respect to the canvas origin, in the component hi-res grid, for
each component.
Instantiates a decoder object, with the ParameterList object given as
argument and a component where to display the image if no output file
is specified.
This class provides Enumerated ColorSpace API for the jj2000.j2k imaging chain
by implementing the BlkImgDataSrc interface, in particular the getCompData
and getInternCompData methods.
This class manages common facilities for multi-threaded
environments, It can register different facilities for each thread,
and also a default one, so that they can be referred by static
methods, while possibly having different ones for different
threads.
This class reads the bit stream (with the help of HeaderDecoder for tile
headers and PktDecoder for packets header and body) and retrives location
of all code-block's codewords.
Constructs a new 'ForwCompTransfSpec' for the specified number of
components and tiles, the wavelet filters type and the parameter of the
option 'Mct'.
Returns the code-block height:
for the specified tile/component
for the specified tile
for the specified component
default value
The value returned depends on the value of the variable 'type' which
can take the following values :
SPEC_DEF -> Default value is returned.
Returns the code-block width :
for the specified tile/component
for the specified tile
for the specified component
default value
The value returned depends on the value of the variable 'type' which
can take the following values :
SPEC_DEF -> Default value is returned.
Returns, in the blk argument, a block of image data containing the
specifed rectangular area, in the specified component, using the
'transfer type' specified in the block given as argument.
Returns the horizontal coordinate of the image origin, the top-left
corner, in the canvas system, on the reference grid at the specified
resolution level.
Returns the horizontal coordinate of the image origin, the top-left
corner, in the canvas system, on the reference grid at the specified
resolution level.
Returns the horizontal coordinate of the image origin, the top-left
corner, in the canvas system, on the reference grid at the specified
resolution level.
Returns the vertical coordinate of the image origin, the top-left
corner, in the canvas system, on the reference grid at the specified
resolution level.
Returns the vertical coordinate of the image origin, the top-left
corner, in the canvas system, on the reference grid at the specified
resolution level.
Returns the vertical coordinate of the image origin, the top-left
corner, in the canvas system, on the reference grid at the specified
resolution level.
Returns, in the blk argument, a block of image data containing the
specifed rectangular area, in the specified component, using the
'transfer type' defined in the block given as argument.
Return a DataBlk containing the requested component
upsampled by the scale factor applied to the particular
scaling direction
Returns, in the blk argument, a block of image data containing the
specifed rectangular area, in the specified component.
Returns the number of bits, referred to as the "range bits",
corresponding to the nominal range of the data in the specified
component and in the current tile.
Returns the preferred size for this component, which is the image
display size, if known, the previous image display size, if any, or
the size specified at the constructor.
Returns the wall time spent by this compressor for component 'c'
since the last call to this method (or the creation of this
compressor if not yet called).
This class reads main and tile-part headers from the codestream given a
RandomAccessIO instance located at the beginning of the codestream (i.e
just before the SOC marker) or at the beginning of a tile-part (i.e.
This class provides ICC Profiling API for the jj2000.j2k imaging chain
by implementing the BlkImgDataSrc interface, in particular the getCompData
and getInternCompData methods.
This class implements an image viewer that can display an image larger than
the actual display area, and presents scrollbars to scroll the viewable
area.