public class ServerJPEG2KTile extends JPEG2KTile
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap<java.lang.Integer,COCParameters> |
orgCOCParamsList
Coding style of component (COC) for this tile.
|
protected CODParameters |
orgCODParams
Coding style default (COD) for this tile.
|
cocParametersList, codParameters, components, index, parent, qccParametersList, qcdParameters
Constructor and Description |
---|
ServerJPEG2KTile(ServerJPEG2KCodestream parent,
int index)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
createComponent(int component)
Creates a new component in the tile.
|
ServerJPEG2KComponent |
getComponent(int component)
Returns the component whose value is
component . |
int |
getOriginalBlockHeight(int component) |
int |
getOriginalBlockWidth(int component) |
int |
getOriginalPrecinctHeights(int component,
int rLevel) |
int |
getOriginalPrecinctWidths(int component,
int rLevel) |
ServerJPEG2KCodestream |
getParent()
Returns the
JPEG2KTile.parent attribute. |
void |
list(java.io.PrintStream out)
Prints this Server JPEG2K Tile out to the specified output stream.
|
void |
removeComponent(int component)
Removes a component from the tile.
|
java.lang.String |
toString() |
findComponent, getBlockHeight, getBlockWidth, getBounds, getBounds, getExponent, getGuardBits, getIndex, getIndexes, getLocation, getLocation, getMantisa, getNumLayers, getPrecinctHeights, getPrecinctWidths, getProgressionOrder, getQuantizationStyle, getSize, getSize, getWTLevels, getWTType, getXRsize, getYRsize, isBypass, isCausal, isErterm, isReset, isRestart, isSegmark, removeAllComponents, useEPH, useSOP
protected CODParameters orgCODParams
If this object is
null
the parameters to be applied to this
tile are the default parameters for the codestream,
JPEG2KCodestream.codParameters
.
protected java.util.HashMap<java.lang.Integer,COCParameters> orgCOCParamsList
If this object is null
the parameters to be applied to this
tile are the default parameters for the codestream,
JPEG2KCodestream.cocParametersList
.
public ServerJPEG2KTile(ServerJPEG2KCodestream parent, int index)
public ServerJPEG2KCodestream getParent()
JPEG2KTile
JPEG2KTile.parent
attribute.getParent
in class JPEG2KTile
JPEG2KTile.parent
attribute.public void createComponent(int component)
JPEG2KTile
createComponent
in class JPEG2KTile
component
- definition in JPEG2KComponent.component
.public ServerJPEG2KComponent getComponent(int component)
JPEG2KTile
component
.getComponent
in class JPEG2KTile
component
- definition in JPEG2KComponent.component
.public void removeComponent(int component)
JPEG2KTile
It also removes all resolution levels included in the component.
removeComponent
in class JPEG2KTile
component
- definition in JPEG2KComponent.component
.public int getOriginalBlockHeight(int component)
component
- public int getOriginalBlockWidth(int component)
component
- public int getOriginalPrecinctHeights(int component, int rLevel)
component
- rLevel
- public int getOriginalPrecinctWidths(int component, int rLevel)
component
- rLevel
- public java.lang.String toString()
toString
in class JPEG2KTile
public void list(java.io.PrintStream out)
list
in class JPEG2KTile
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)