public class ServerJPEG2KPrecinct extends JPEG2KPrecinct
Modifier and Type | Field and Description |
---|---|
protected long |
orgInClassIdentifier
The meaning is the same as
JPEG2KPrecinct.inClassIdentifier , but it records the
original in class identifier when transconding is performed. |
protected int |
orgPrecinctIndex
The meaning is the same as
JPEG2KPrecinct.precinctIndex , but it records the
original precinct index when transconding is performed. |
protected CADIDimension |
orgPrecincts |
inClassIdentifier, parent, precinctIndex
Constructor and Description |
---|
ServerJPEG2KPrecinct(ServerJPEG2KResolutionLevel parent,
int index)
Constructor.
|
ServerJPEG2KPrecinct(ServerJPEG2KResolutionLevel parent,
int precinctIndex,
int rPrecinctIndex) |
Modifier and Type | Method and Description |
---|---|
CADIDimension |
getNumOriginalBlocks(int subband)
Returns the number of blocks (in wide and high) belonging to this precinct.
|
int |
getNumOriginalBlocksHigh(int subband) |
int |
getNumOriginalBlocksWide(int subband) |
CADIRectangle |
getOriginalBounds() |
long |
getOriginalInClassIdentifier()
Returns the
#vInClassIdentifier attribute. |
int |
getOriginalIndex()
Returns the
#rPrecinctIndex attribute. |
ServerJPEG2KResolutionLevel |
getParent() |
void |
list(java.io.PrintStream out)
Prints this Server JPEG2K Tile out to the specified output stream.
|
void |
reset()
Sets attributes to their initial values
|
java.lang.String |
toString() |
getBlockHeight, getBlockSize, getBlockWidth, getBounds, getComponent, getComponentObj, getInClassIdentifier, getIndex, getNumBlocks, getNumBlocksHigh, getNumBlocksWide, getNumSubbands, getResolutionLevel, getResolutionLevelObj, getTile, getTileObj
protected int orgPrecinctIndex
JPEG2KPrecinct.precinctIndex
, but it records the
original precinct index when transconding is performed.protected long orgInClassIdentifier
JPEG2KPrecinct.inClassIdentifier
, but it records the
original in class identifier when transconding is performed.protected CADIDimension orgPrecincts
public ServerJPEG2KPrecinct(ServerJPEG2KResolutionLevel parent, int index)
public ServerJPEG2KPrecinct(ServerJPEG2KResolutionLevel parent, int precinctIndex, int rPrecinctIndex)
parent
- precinctIndex
- rPrecinctIndex
- public ServerJPEG2KResolutionLevel getParent()
getParent
in class JPEG2KPrecinct
public CADIRectangle getOriginalBounds()
public int getOriginalIndex()
#rPrecinctIndex
attribute.#rPrecinctIndex
attribute.public long getOriginalInClassIdentifier()
#vInClassIdentifier
attribute.#vInClassIdentifier
attribute.public int getNumOriginalBlocksWide(int subband)
subband
- a subband name. Allowed values are
JPEG2KResolutionLevel.LL
,
JPEG2KResolutionLevel.HL
JPEG2KResolutionLevel.LH
JPEG2KResolutionLevel.HH
.public int getNumOriginalBlocksHigh(int subband)
subband
- a subband name. Allowed values are
JPEG2KResolutionLevel.LL
,
JPEG2KResolutionLevel.HL
JPEG2KResolutionLevel.LH
JPEG2KResolutionLevel.HH
.public CADIDimension getNumOriginalBlocks(int subband)
subband
- public void reset()
reset
in class JPEG2KPrecinct
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)