public class TLcdJPIPModelDescriptor extends TLcdMultilevelRasterModelDescriptor implements ILcdImageModelDescriptor
TLcdMultilevelRasterModelDescriptor
describes models containing
JPEG2000 multi-level rasters retrieved using the JPIP protocol.
The JPEG2000 standard defines a number of so called boxes which contain a certain type of
data. Some of the optional boxes which may contain metadata are available from this model
descriptor.Constructor and Description |
---|
TLcdJPIPModelDescriptor(java.lang.String aSourceName,
java.lang.String aDisplayName)
Creates a new TLcdJPIPModelDescriptor with the given source name and
display name.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<TLcdJPEG2000AssociationBox> |
getAssociationBoxes()
Returns the available association metadata boxes.
|
int |
getComponentCount()
Returns the number of components in the image.
|
int |
getComponentSize(int aIndex)
Returns the size in bits of the specified component in the image.
|
int |
getHeight(int aLevel)
Returns the height of the specified level in the first image.
|
int |
getLevelCount()
Returns the number of levels in the first image.
|
TLcdJPEG2000Box |
getUUIDBox()
Returns the uuid metadata box.
|
int |
getWidth(int aLevel)
Returns the width of the specified level in the first image.
|
java.util.List<TLcdJPEG2000Box> |
getXMLBoxes()
Returns the available xml metadata boxes.
|
isElevation, setElevation
getDisplayName, getSourceName, getTypeName, setDisplayName, setSourceName, setTypeName, sourceNameToDisplayName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayName, getSourceName, getTypeName
public TLcdJPIPModelDescriptor(java.lang.String aSourceName, java.lang.String aDisplayName)
public int getLevelCount()
public int getWidth(int aLevel)
0
is the least detailed level and the detail increases with the level count.aLevel
- the level in [0, #getLevelCount[
public int getHeight(int aLevel)
0
is the least detailed level and the detail increases with the level count.aLevel
- the level in [0, #getLevelCount[
public int getComponentCount()
public int getComponentSize(int aIndex)
ILcdRaster
.
See TLcdJPIPModelDecoder
for details.aIndex
- the component index in [0, #getComponentCount[
public TLcdJPEG2000Box getUUIDBox()
null
if it is not presentTLcdJPEG2000Box.Type.UUID
public java.util.List<TLcdJPEG2000Box> getXMLBoxes()
TLcdJPEG2000Box.Type.XML
public java.util.List<TLcdJPEG2000AssociationBox> getAssociationBoxes()
TLcdJPEG2000Box.Type.ASSOC