it.geosolutions.imageio.plugins.jp2k
Class JP2KKakaduImageReadParam

Object
  extended by IIOParam
      extended by ImageReadParam
          extended by EnhancedImageReadParam
              extended by JP2KKakaduImageReadParam
All Implemented Interfaces:
Cloneable

public class JP2KKakaduImageReadParam
extends EnhancedImageReadParam

Class extending ImageReadParam with add for support of JP2 specific parameters.

Author:
Simone Giannecchini, GeoSolutions., Daniele Romagnoli, GeoSolutions.

Field Summary
static int INTERPOLATION_BILINEAR
           
static int INTERPOLATION_NEAREST
           
 
Fields inherited from class EnhancedImageReadParam
destinationRegion
 
Fields inherited from class ImageReadParam
canSetSourceRenderSize, destination, destinationBands, minProgressivePass, numProgressivePasses, sourceRenderSize
 
Fields inherited from class IIOParam
controller, defaultController, destinationOffset, destinationType, sourceBands, sourceRegion, sourceXSubsampling, sourceYSubsampling, subsamplingXOffset, subsamplingYOffset
 
Constructor Summary
JP2KKakaduImageReadParam()
          Constructs a default instance of JP2KakaduImageReadParam.
 
Method Summary
 Object clone()
           
 int getInterpolationType()
          Gets InterpolationType.
 int getQualityLayers()
          Gets qualityLayers.
protected  void initialize(ImageReadParam param)
           
 void setInterpolationType(int interpolationType)
          Sets InterpolationType.
 void setQualityLayers(int qualityLayers)
          Sets qualityLayers.
 
Methods inherited from class EnhancedImageReadParam
getDestinationRegion, narrowClone, setDestinationRegion
 
Methods inherited from class ImageReadParam
canSetSourceRenderSize, getDestination, getDestinationBands, getSourceMaxProgressivePass, getSourceMinProgressivePass, getSourceNumProgressivePasses, getSourceRenderSize, setDestination, setDestinationBands, setDestinationType, setSourceProgressivePasses, setSourceRenderSize
 
Methods inherited from class IIOParam
activateController, getController, getDefaultController, getDestinationOffset, getDestinationType, getSourceBands, getSourceRegion, getSourceXSubsampling, getSourceYSubsampling, getSubsamplingXOffset, getSubsamplingYOffset, hasController, setController, setDestinationOffset, setSourceBands, setSourceRegion, setSourceSubsampling
 
Methods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTERPOLATION_NEAREST

public static final int INTERPOLATION_NEAREST
See Also:
Constant Field Values

INTERPOLATION_BILINEAR

public static final int INTERPOLATION_BILINEAR
See Also:
Constant Field Values
Constructor Detail

JP2KKakaduImageReadParam

public JP2KKakaduImageReadParam()
Constructs a default instance of JP2KakaduImageReadParam.

Method Detail

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class EnhancedImageReadParam
Throws:
CloneNotSupportedException

setQualityLayers

public void setQualityLayers(int qualityLayers)
Sets qualityLayers.

Parameters:
qualityLayers - the quality layers involved within the read operation.
See Also:
getQualityLayers()
UML property:
name="qualityLayers"

getQualityLayers

public final int getQualityLayers()
Gets qualityLayers.

Returns:
the number of quality layers.
See Also:
setQualityLayers(int)
UML property:
name="qualityLayers"

getInterpolationType

public final int getInterpolationType()
Gets InterpolationType.

Returns:
the interpolation algorithm which will be used when image need to be warped
UML property:
name="interpolationType"

setInterpolationType

public final void setInterpolationType(int interpolationType)
Sets InterpolationType.

Parameters:
interpolationType - the interpolation type used during WarpAffine operation interpolationType should be one of: -INTERPOLATION_NEAREST -INTERPOLATION_BILINEAR -INTERPOLATION_BICUBIC -INTERPOLATION_BICUBIC2
UML property:
name="interpolationType"

initialize

protected void initialize(ImageReadParam param)


Copyright © 2006-2010 GeoSolutions. All Rights Reserved.