Package com.luciad.format.jpeg2000
Class TLcdJPIPModelDescriptor
java.lang.Object
com.luciad.model.TLcdModelDescriptor
com.luciad.format.raster.TLcdMultilevelRasterModelDescriptor
com.luciad.format.jpeg2000.TLcdJPIPModelDescriptor
- All Implemented Interfaces:
ILcdImageModelDescriptor,ILcdModelDescriptor,Serializable
public class TLcdJPIPModelDescriptor
extends TLcdMultilevelRasterModelDescriptor
implements ILcdImageModelDescriptor
This
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.- Since:
- 2012.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTLcdJPIPModelDescriptor(String aSourceName, String aDisplayName) Creates a new TLcdJPIPModelDescriptor with the given source name and display name. -
Method Summary
Modifier and TypeMethodDescriptionReturns the available association metadata boxes.intReturns the number of components in the image.intgetComponentSize(int aIndex) Returns the size in bits of the specified component in the image.intgetHeight(int aLevel) Returns the height of the specified level in the first image.intReturns the number of levels in the first image.Returns the uuid metadata box.intgetWidth(int aLevel) Returns the width of the specified level in the first image.Returns the available xml metadata boxes.Methods inherited from class com.luciad.format.raster.TLcdMultilevelRasterModelDescriptor
isElevation, setElevationMethods inherited from class com.luciad.model.TLcdModelDescriptor
getDisplayName, getSourceName, getTypeName, setDisplayName, setSourceName, setTypeName, sourceNameToDisplayNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.luciad.model.ILcdModelDescriptor
getDisplayName, getSourceName, getTypeName
-
Constructor Details
-
TLcdJPIPModelDescriptor
Creates a new TLcdJPIPModelDescriptor with the given source name and display name.
-
-
Method Details
-
getLevelCount
public int getLevelCount()Returns the number of levels in the first image.- Returns:
- the number of levels
-
getWidth
public int getWidth(int aLevel) Returns the width of the specified level in the first image. Level0is the least detailed level and the detail increases with the level count.- Parameters:
aLevel- the level in[0, #getLevelCount[- Returns:
- the width of the level in pixels
-
getHeight
public int getHeight(int aLevel) Returns the height of the specified level in the first image. Level0is the least detailed level and the detail increases with the level count.- Parameters:
aLevel- the level in[0, #getLevelCount[- Returns:
- the height of the level in pixels
-
getComponentCount
public int getComponentCount()Returns the number of components in the image.- Returns:
- the number of components in the image
-
getComponentSize
public int getComponentSize(int aIndex) Returns the size in bits of the specified component in the image. Note that this component size may be differ from the component size in theILcdRaster. SeeTLcdJPIPModelDecoderfor details.- Parameters:
aIndex- the component index in[0, #getComponentCount[- Returns:
- the height of the level in pixels
-
getUUIDBox
Returns the uuid metadata box.- Returns:
- the uuid metadata box or
nullif it is not present - See Also:
-
getXMLBoxes
Returns the available xml metadata boxes.- Returns:
- the xml metadata boxes
- See Also:
-
getAssociationBoxes
Returns the available association metadata boxes.- Returns:
- the association metadata boxes
- See Also:
-