public class ClientJPEG2KPrecinct extends JPEG2KPrecinct
Modifier and Type | Field and Description |
---|---|
private ClientJPEG2KBlock[][][] |
blocks |
protected PrecinctDataBin |
precinctDataBin |
inClassIdentifier, parent, precinctIndex
Constructor and Description |
---|
ClientJPEG2KPrecinct(ClientJPEG2KResolutionLevel parent,
int index) |
ClientJPEG2KPrecinct(ClientJPEG2KResolutionLevel parent,
int index,
PrecinctDataBin precinctDataBin) |
Modifier and Type | Method and Description |
---|---|
void |
addOffsetsAndLengths(int subband,
int yBlock,
int xBlock,
int[] offsets,
int[] lengths) |
ClientJPEG2KBlock |
getBlock(int subband,
int yBlock,
int xBlock)
Returns the block
yBlock ,xBlock in the subband
subband . |
void |
list(java.io.PrintStream out)
Prints this Client JPEG2K Precinct out to the specified output stream.
|
void |
setZeroBitPlanes(int[][][] zeroBitPlanes) |
java.lang.String |
toString() |
getBlockHeight, getBlockSize, getBlockWidth, getBounds, getComponent, getComponentObj, getInClassIdentifier, getIndex, getNumBlocks, getNumBlocksHigh, getNumBlocksWide, getNumSubbands, getParent, getResolutionLevel, getResolutionLevelObj, getTile, getTileObj, reset
private ClientJPEG2KBlock[][][] blocks
protected PrecinctDataBin precinctDataBin
public ClientJPEG2KPrecinct(ClientJPEG2KResolutionLevel parent, int index)
parent
- index
- public ClientJPEG2KPrecinct(ClientJPEG2KResolutionLevel parent, int index, PrecinctDataBin precinctDataBin)
parent
- index
- precinctDataBin
- public void setZeroBitPlanes(int[][][] zeroBitPlanes)
zeroBitPlanes
- public ClientJPEG2KBlock getBlock(int subband, int yBlock, int xBlock)
yBlock
,xBlock
in the subband
subband
.subband
- yBlock
- xBlock
- public void addOffsetsAndLengths(int subband, int yBlock, int xBlock, int[] offsets, int[] lengths)
subband
- yBlock
- xBlock
- offsets
- lengths
- public java.lang.String toString()
toString
in class JPEG2KPrecinct
public void list(java.io.PrintStream out)
list
in class JPEG2KPrecinct
out
- an output stream.
CADI - Copyright (C) 2007
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Group on Interactive Coding of Images (GICI) (contact)