public class ServerJPEG2KCodestream extends JPEG2KCodestream
Modifier and Type | Field and Description |
---|---|
protected CBDParameters |
orgCBDParams
Component bit depth (CBD) of the original image.
|
protected java.util.HashMap<java.lang.Integer,COCParameters> |
orgCOCParamsList
Coding style of component (COC) of the original image.
|
protected CODParameters |
orgCODParams
Coding style default (COD) of the original image.
|
protected COMParameters |
orgCOMParams
Comments (COM) of the original image.
|
protected JPKParameters |
orgJPKParams
Wrapped used to store non-compliant parameters of the original image.
|
protected java.util.HashMap<java.lang.Integer,MCCParameters> |
orgMCCParamsList
Multiple component transform collection (MCC) of the original image.
|
protected MCOParameters |
orgMCOParams
Multiple component transform ordering (MCO) of the original image.
|
protected java.util.HashMap<java.lang.Integer,MCTParameters> |
orgMCTParamsList
Multiple component transformation (MCT) of the original image.
|
protected java.util.HashMap<java.lang.Integer,QCCParameters> |
orgQCCParamsList
Quantization component (QCC) of the original image.
|
protected QCDParameters |
orgQCDParams
Quantization default (QCD) of the original image.
|
protected SIZParameters |
orgSIZParams
Image and tile size parameters (SIZ) of the original image.
|
cbdParameters, cocParametersList, codParameters, comParameters, identifier, jpkParameters, mccParametersList, mcoParameters, mctParametersList, qccParametersList, qcdParameters, sizParameters, tiles
Constructor and Description |
---|
ServerJPEG2KCodestream(int identifier,
JPCParameters jpcParameters)
Constructor.
|
ServerJPEG2KCodestream(int identifier,
JPCParameters jpcParameters,
JPCParameters orgJPCParameters)
Cosntructor.
|
Modifier and Type | Method and Description |
---|---|
void |
createTile(int index)
Creates a new tile.
|
int |
getOriginalBlockHeight()
Deprecated.
|
int |
getOriginalBlockHeight(int component) |
int |
getOriginalBlockWidth()
Deprecated.
|
int |
getOriginalBlockWidth(int component) |
int |
getOriginalPrecinctHeights(int component,
int rLevel) |
int |
getOriginalPrecinctWidths(int component,
int rLevel) |
ServerJPEG2KPrecinct |
getPrecinct(long inClassIdentifier)
Returns the precinct identified by the unique precinct identifer
inClassIdentifier . |
ServerJPEG2KTile |
getTile(int index)
Returns a the tile object
index . |
private static int |
int2log_2(int value) |
void |
list(java.io.PrintStream out)
Prints this Server JPEG2K Codestream out to the specified output stream.
|
java.lang.String |
toString() |
void |
transcode() |
calculateRelevantTiles, calculateSupportRegion, determineFrameSize, determineFrameSize, determineNumberOfDiscardLevels, findInClassIdentifier, findRelevantPrecincts, findRelevantPrecincts, findRelevantPrecinctsTRCP, findTCP, findTCRP, findTile, getBlockHeight, getBlockHeight, getBlockWidth, getBlockWidth, getCBDParameters, getCODParameters, getCOMParameters, getExponent, getGuardBits, getIdentifier, getImageArea, getJPCParameters, getJPKParameters, getMantisa, getMaxResolutionLevels, getMCCParameters, getMCOParameters, getMCTParameters, getMultiComponentTransform, getNumLayers, getNumTiles, getNumTilesHigh, getNumTilesWide, getPrecinctHeights, getPrecinctWidths, getPrecision, getPredictiveModel, getProgressionOrder, getQCDParameters, getQuantizationStyle, getRSize, getSIZParameters, getWTLevels, getWTType, getXOSize, getXRsize, getXSize, getXTOSize, getXTSize, getYOSize, getYRsize, getYSize, getYTOSize, getYTSize, getZSize, isBypass, isCausal, isErterm, isReset, isRestart, isSegmark, isSigned, listParameters, mapRegionToSuitableResolutionGrid, removeAllTiles, removeTile, useEPH, useSOP
protected SIZParameters orgSIZParams
protected CODParameters orgCODParams
protected java.util.HashMap<java.lang.Integer,COCParameters> orgCOCParamsList
protected QCDParameters orgQCDParams
protected java.util.HashMap<java.lang.Integer,QCCParameters> orgQCCParamsList
protected CBDParameters orgCBDParams
protected java.util.HashMap<java.lang.Integer,MCTParameters> orgMCTParamsList
The integer of the hash key stand for the stage.
protected java.util.HashMap<java.lang.Integer,MCCParameters> orgMCCParamsList
The integer of the hash key stand for the stage.
protected MCOParameters orgMCOParams
protected COMParameters orgCOMParams
protected JPKParameters orgJPKParams
public ServerJPEG2KCodestream(int identifier, JPCParameters jpcParameters)
identifier
- definition in JPEG2KCodestream.identifier
.jpcParameters
- an object with the codestream parameters. See
JPCParameters
.public ServerJPEG2KCodestream(int identifier, JPCParameters jpcParameters, JPCParameters orgJPCParameters)
identifier
- definition in JPEG2KCodestream.identifier
.jpcParameters
- an object with the codestream parameters. See
JPCParameters
.orgJPCParameters
- an object with the original codestream parameters. See
JPCParameters
.public void createTile(int index)
JPEG2KCodestream
createTile
in class JPEG2KCodestream
index
- java.lang.IllegalAccessException
public ServerJPEG2KTile getTile(int index)
JPEG2KCodestream
index
.getTile
in class JPEG2KCodestream
index
- definition inJPEG2KTile.index
.public ServerJPEG2KPrecinct getPrecinct(long inClassIdentifier)
JPEG2KCodestream
inClassIdentifier
.getPrecinct
in class JPEG2KCodestream
inClassIdentifier
- definition in
JPIPMessageHeader.inClassIdentifier
.public void transcode()
@Deprecated public int getOriginalBlockHeight()
This method will be deprecated in the next version. Use the
JPEG2KCodestream.getBlockHeight(int)
method.
@Deprecated public int getOriginalBlockWidth()
This method will be deprecated in the next version. Use the
JPEG2KCodestream.getBlockWidth(int)
method.
public int getOriginalBlockHeight(int component)
public int getOriginalBlockWidth(int component)
public int getOriginalPrecinctHeights(int component, int rLevel)
public int getOriginalPrecinctWidths(int component, int rLevel)
public java.lang.String toString()
toString
in class JPEG2KCodestream
public void list(java.io.PrintStream out)
list
in class JPEG2KCodestream
out
- an output stream.private static int int2log_2(int value)
value
-
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)