Class ImageManager


  • public class ImageManager
    extends Object
    This class provides most of the new imaging features introduced in BEAM 4.5.

    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 Detail

      • ImageManager

        public ImageManager()
    • Method Detail

      • createSingleBandedImageLayout

        public static javax.media.jai.ImageLayout createSingleBandedImageLayout​(RasterDataNode rasterDataNode)
      • createSingleBandedImageLayout

        public static javax.media.jai.ImageLayout createSingleBandedImageLayout​(RasterDataNode rasterDataNode,
                                                                                int dataBufferType)
      • createSingleBandedImageLayout

        public static javax.media.jai.ImageLayout createSingleBandedImageLayout​(int dataBufferType,
                                                                                int width,
                                                                                int height,
                                                                                int tileWidth,
                                                                                int tileHeight)
      • createSingleBandedImageLayout

        public static javax.media.jai.ImageLayout createSingleBandedImageLayout​(int dataBufferType,
                                                                                int sourceWidth,
                                                                                int sourceHeight,
                                                                                Dimension tileSize,
                                                                                ResolutionLevel level)
      • createSingleBandedImageLayout

        public static javax.media.jai.ImageLayout createSingleBandedImageLayout​(int dataBufferType,
                                                                                Point sourcePos,
                                                                                int sourceWidth,
                                                                                int sourceHeight,
                                                                                Dimension tileSize,
                                                                                ResolutionLevel level)
      • getDataBufferType

        public static int getDataBufferType​(int productDataType)
      • getProductDataType

        public static int getProductDataType​(int dataBufferType)
      • getPreferredTileSize

        public static Dimension getPreferredTileSize​(Product product)
      • getUncertaintyBand

        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.

      • createColoredMaskImage

        public static javax.media.jai.PlanarImage createColoredMaskImage​(Color color,
                                                                         RenderedImage alphaImage,
                                                                         boolean invertAlpha)
      • createColoredMaskImage

        public static javax.media.jai.PlanarImage createColoredMaskImage​(RenderedImage maskImage,
                                                                         Color color,
                                                                         double opacity)
      • createFormatOp

        public static RenderedImage createFormatOp​(RenderedImage image,
                                                   int dataType,
                                                   javax.media.jai.ImageLayout targetLayout)
      • createColorPalette

        public static Color[] createColorPalette​(ImageInfo imageInfo)
      • getSourceImage

        public javax.media.jai.PlanarImage getSourceImage​(RasterDataNode rasterDataNode,
                                                          int level)
      • getValidMaskImage

        public javax.media.jai.PlanarImage getValidMaskImage​(RasterDataNode rasterDataNode,
                                                             int level)
      • getGeophysicalImage

        public javax.media.jai.PlanarImage getGeophysicalImage​(RasterDataNode rasterDataNode,
                                                               int level)
      • getStatisticsLevel

        public int getStatisticsLevel​(RasterDataNode raster,
                                      int levelCount)
      • createColoredMaskImage

        public javax.media.jai.PlanarImage createColoredMaskImage​(Product product,
                                                                  String expression,
                                                                  Color color,
                                                                  boolean invertMask,
                                                                  int level)