public class ImageManager extends Object
WARNING: Although ImageManager
is intended to belong to the public BEAM API you should use it
with care, since it is still under development and may change slightly in forthcoming versions.
Constructor and Description |
---|
ImageManager() |
Modifier and Type | Method and Description |
---|---|
RenderedImage |
createColoredBandImage(RasterDataNode[] rasterDataNodes,
ImageInfo imageInfo,
int level) |
static javax.media.jai.PlanarImage |
createColoredMaskImage(Color color,
RenderedImage alphaImage,
boolean invertAlpha) |
static javax.media.jai.PlanarImage |
createColoredMaskImage(Color color,
RenderedImage alphaImage,
RenderingHints hints) |
javax.media.jai.PlanarImage |
createColoredMaskImage(Product product,
String expression,
Color color,
boolean invertMask,
int level) |
static javax.media.jai.PlanarImage |
createColoredMaskImage(RenderedImage maskImage,
Color color,
double opacity) |
static Color[] |
createColorPalette(ImageInfo imageInfo) |
static RenderedImage |
createFormatOp(RenderedImage image,
int dataType) |
static MultiLevelImage |
createMaskedGeophysicalImage(RasterDataNode node,
Number maskValue) |
static javax.media.jai.ImageLayout |
createSingleBandedImageLayout(int dataBufferType,
int sourceWidth,
int sourceHeight,
Dimension tileSize,
ResolutionLevel level) |
static javax.media.jai.ImageLayout |
createSingleBandedImageLayout(int dataBufferType,
int width,
int height,
int tileWidth,
int tileHeight) |
static javax.media.jai.ImageLayout |
createSingleBandedImageLayout(int dataBufferType,
Point sourcePos,
int sourceWidth,
int sourceHeight,
Dimension tileSize,
ResolutionLevel level) |
static javax.media.jai.ImageLayout |
createSingleBandedImageLayout(RasterDataNode rasterDataNode) |
static javax.media.jai.ImageLayout |
createSingleBandedImageLayout(RasterDataNode rasterDataNode,
int dataBufferType) |
static int |
getDataBufferType(int productDataType) |
javax.media.jai.PlanarImage |
getGeophysicalImage(RasterDataNode rasterDataNode,
int level) |
ImageInfo |
getImageInfo(RasterDataNode[] rasters) |
static AffineTransform |
getImageToModelTransform(GeoCoding geoCoding)
Deprecated.
since SNAP 2, use
Product.findImageToModelTransform(GeoCoding) |
static ImageManager |
getInstance() |
static Dimension |
getPreferredTileSize(Product product) |
static int |
getProductDataType(int dataBufferType) |
javax.media.jai.PlanarImage |
getSourceImage(RasterDataNode rasterDataNode,
int level) |
int |
getStatisticsLevel(RasterDataNode raster,
int levelCount) |
static RasterDataNode |
getUncertaintyBand(RasterDataNode valueBand)
Note: This class/interface is part of an interim API that is still under development and expected to
change significantly before reaching stability.
|
javax.media.jai.PlanarImage |
getValidMaskImage(RasterDataNode rasterDataNode,
int level) |
void |
prepareImageInfos(RasterDataNode[] rasterDataNodes,
ProgressMonitor pm) |
public static ImageManager getInstance()
public javax.media.jai.PlanarImage getSourceImage(RasterDataNode rasterDataNode, int level)
public javax.media.jai.PlanarImage getValidMaskImage(RasterDataNode rasterDataNode, int level)
public javax.media.jai.PlanarImage getGeophysicalImage(RasterDataNode rasterDataNode, int level)
public static javax.media.jai.ImageLayout createSingleBandedImageLayout(RasterDataNode rasterDataNode)
public static javax.media.jai.ImageLayout createSingleBandedImageLayout(RasterDataNode rasterDataNode, int dataBufferType)
public static javax.media.jai.ImageLayout createSingleBandedImageLayout(int dataBufferType, int width, int height, int tileWidth, int tileHeight)
public static javax.media.jai.ImageLayout createSingleBandedImageLayout(int dataBufferType, int sourceWidth, int sourceHeight, Dimension tileSize, ResolutionLevel level)
public static javax.media.jai.ImageLayout createSingleBandedImageLayout(int dataBufferType, Point sourcePos, int sourceWidth, int sourceHeight, Dimension tileSize, ResolutionLevel level)
public static int getDataBufferType(int productDataType)
public static int getProductDataType(int dataBufferType)
public RenderedImage createColoredBandImage(RasterDataNode[] rasterDataNodes, ImageInfo imageInfo, int level)
public static RasterDataNode getUncertaintyBand(RasterDataNode valueBand)
Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
public ImageInfo getImageInfo(RasterDataNode[] rasters)
public void prepareImageInfos(RasterDataNode[] rasterDataNodes, ProgressMonitor pm)
public int getStatisticsLevel(RasterDataNode raster, int levelCount)
public javax.media.jai.PlanarImage createColoredMaskImage(Product product, String expression, Color color, boolean invertMask, int level)
public static javax.media.jai.PlanarImage createColoredMaskImage(Color color, RenderedImage alphaImage, boolean invertAlpha)
public static javax.media.jai.PlanarImage createColoredMaskImage(RenderedImage maskImage, Color color, double opacity)
public static javax.media.jai.PlanarImage createColoredMaskImage(Color color, RenderedImage alphaImage, RenderingHints hints)
public static MultiLevelImage createMaskedGeophysicalImage(RasterDataNode node, Number maskValue)
public static RenderedImage createFormatOp(RenderedImage image, int dataType)
@Deprecated public static AffineTransform getImageToModelTransform(GeoCoding geoCoding)
Product.findImageToModelTransform(GeoCoding)
Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.