Package | Description |
---|---|
org.esa.snap.core.dataio |
Contains the SNAP product I/O framework.
|
org.esa.snap.core.dataio.dimap |
This module provides a product reader and writer plug-in for the BEAM-DIMAP product format.
|
org.esa.snap.core.dataio.dimap.spi |
The classes of this package are public for the benefit of the implementation of other classes and the API may change
in future releases of the software.
|
org.esa.snap.core.datamodel |
Contains SNAP's central classes and interfaces used for an in-memory presentation
of remote sensing data products.
|
org.esa.snap.core.dataop.barithm | |
org.esa.snap.core.gpf |
SNAP's Graph Processing Framework GPF used for developing and executing
raster data operators and graphs of such operators.
|
org.esa.snap.core.gpf.descriptor | |
org.esa.snap.core.gpf.pointop |
Provides special support for raster data operations that transforms each source pixel
into a corresponding target pixel at the same position.
|
org.esa.snap.core.image |
Provides frequently used JAI
OpImage implementations and the
ImageManager utility class. |
org.esa.snap.core.layer |
Provides frequently used
LayerType implementations. |
org.esa.snap.core.util |
Provides several utility classes used throughout SNAP.
|
Modifier and Type | Field and Description |
---|---|
protected Map<Band,RasterDataNode> |
AbstractProductBuilder.bandMap |
Modifier and Type | Method and Description |
---|---|
static void |
EnviHeader.createPhysicalFile(File headerFile,
RasterDataNode rasterDataNode,
int width,
int height)
Writes the header for the
RasterDataNode to the File . |
static void |
EnviHeader.createPhysicalFile(File headerFile,
RasterDataNode rasterDataNode,
int width,
int height,
int byteorder)
Writes the header for the
RasterDataNode to the File . |
protected void |
DimapHeaderWriter.writeMaskUsages(XmlWriter pw,
int indent,
RasterDataNode[] rasterDataNodes) |
Modifier and Type | Method and Description |
---|---|
protected void |
RasterDataNodePersistable.addAncillaryElements(org.jdom.Element root,
RasterDataNode rasterDataNode) |
protected void |
RasterDataNodePersistable.addImageToModelTransformElement(org.jdom.Element root,
RasterDataNode rasterDataNode) |
protected void |
RasterDataNodePersistable.setAncillaryRelations(org.jdom.Element element,
RasterDataNode rasterDataNode) |
protected void |
RasterDataNodePersistable.setAncillaryVariables(org.jdom.Element element,
RasterDataNode rasterDataNode,
Product product) |
protected void |
RasterDataNodePersistable.setImageToModelTransform(org.jdom.Element element,
RasterDataNode rasterDataNode) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractBand
The
AbstractBand class provides a set of pixel access methods but does not provide an implementation of
the actual reading and writing of pixel data from or into a raster. |
class |
Band
A band contains the data for geophysical parameter in remote sensing data products.
|
class |
ConvolutionFilterBand
A band that obtains its input data from an underlying source band and filters
the raster data using a
Kernel . |
class |
FilterBand
Represents a band that generates its data by using another band as input and performs some kind of operation on this input.
|
class |
GeneralFilterBand
A band that obtains its input data from an underlying source raster and filters
its data using a predefined
operation type . |
class |
Mask
A
Mask is used to mask image pixels of other raster data nodes. |
class |
TiePointGrid
A tie-point grid contains the data for geophysical parameter in remote sensing data products.
|
class |
VirtualBand
A band contains the data for geophysical parameter in remote sensing data products.
|
Modifier and Type | Method and Description |
---|---|
RasterDataNode |
RasterDataNode.getAncillaryVariable(String... relations)
Finds the first associated ancillary band for the specified relations.
|
RasterDataNode[] |
RasterDataNode.getAncillaryVariables(String... relations)
Finds any associated ancillary band for the specified relation.
|
RasterDataNode |
ImageLegend.getRaster() |
RasterDataNode |
Product.getRasterDataNode(String name)
Gets the raster data node with the given name.
|
RasterDataNode[] |
Product.getRefRasterDataNodes(String expression)
Gets all raster data nodes referenced by the given band maths expression.
|
RasterDataNode |
FilterBand.getSource() |
Modifier and Type | Method and Description |
---|---|
List<RasterDataNode> |
Product.getRasterDataNodes()
Gets all raster data nodes contained in this product including bands, masks and tie-point grids.
|
Modifier and Type | Method and Description |
---|---|
static void |
DensityPlot.accumulate(RasterDataNode raster1,
double sampleMin1,
double sampleMax1,
RasterDataNode raster2,
double sampleMin2,
double sampleMax2,
Mask roiMask,
int width,
int height,
byte[] pixelValues,
ProgressMonitor pm)
Creates a density plot image from two raster data nodes.
|
static void |
StxFactory.accumulate(RasterDataNode rasterDataNode,
int level,
RenderedImage roiImage,
Shape roiShape,
org.esa.snap.core.datamodel.StxOp op,
ProgressMonitor pm) |
void |
RasterDataNode.addAncillaryVariable(RasterDataNode variable,
String... relations)
Adds an associated ancillary variable and sets its relation names.
|
Mask |
Product.addMask(String maskName,
VectorDataNode vectorDataNode,
String description,
Color color,
double transparency,
RasterDataNode prototypeRasterDataNode)
Creates a new mask based on the geometries contained in a vector data node,
adds it to this product and returns it.
|
Stx |
StxFactory.create(Mask[] roiMasks,
RasterDataNode[] rasters,
ProgressMonitor pm)
Computes statistics for the given set of raster data nodes.
|
static Graticule |
Graticule.create(RasterDataNode raster,
boolean autoDeterminingSteps,
int gridCellSize,
float latMajorStep,
float lonMajorStep)
Creates a graticule for the given product.
|
Stx |
StxFactory.create(RasterDataNode raster,
ProgressMonitor pm)
Computes statistics for the given raster data node.
|
static TransectProfileData |
TransectProfileData.create(RasterDataNode raster,
Shape path)
Deprecated.
since 4.10, use
TransectProfileDataBuilder instead |
Pointing |
PointingFactory.createPointing(RasterDataNode raster)
Creates a
Pointing applicable to the given raster. |
static MultiLevelImage |
VirtualBand.createSourceImage(RasterDataNode raster,
String expression)
Create a
MultiLevelImage that computes its pixel values from the given band math expression. |
static ImageGeometry |
ImageGeometry.createTargetGeometry(RasterDataNode rasterDataNode,
org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs,
Double pixelSizeX,
Double pixelSizeY,
Integer width,
Integer height,
Double orientation,
Double easting,
Double northing,
Double referencePixelX,
Double referencePixelY) |
MultiLevelImage |
Product.getMaskImage(String expression,
RasterDataNode associatedRaster)
Gets a multi-level mask image for the given band maths expression and an optional associated raster.
|
boolean |
Product.isSceneCrsEqualToModelCrsOf(RasterDataNode rasterDataNode)
Tests if the given raster data node uses this product's scene coordinate reference system
as model coordinate reference system.
|
TransectProfileDataBuilder |
TransectProfileDataBuilder.raster(RasterDataNode raster) |
void |
RasterDataNode.removeAncillaryVariable(RasterDataNode variable)
Removes an associated ancillary variable.
|
Constructor and Description |
---|
ConvolutionFilterBand(String name,
RasterDataNode source,
Kernel kernel,
int iterationCount) |
FilterBand(String name,
int dataType,
int width,
int height,
RasterDataNode source) |
GeneralFilterBand(String name,
RasterDataNode source,
GeneralFilterBand.OpType opType,
Kernel structuringElement,
int iterationCount)
Creates a GeneralFilterBand.
|
ImageLegend(ImageInfo imageInfo,
RasterDataNode raster) |
Modifier and Type | Method and Description |
---|---|
RasterDataNode |
RasterDataSymbol.getRaster() |
static RasterDataNode[] |
BandArithmetic.getRefRasters(String expression,
Product... products)
Utility method which returns all raster data nodes referenced in the given
band math expressions.
|
static RasterDataNode[] |
BandArithmetic.getRefRasters(String expression,
Product[] products,
int contextProductIndex)
Utility method which returns all raster data nodes referenced in the given
band math expressions.
|
static RasterDataNode[] |
BandArithmetic.getRefRasters(Term... terms)
Utility method which returns all raster data nodes referenced in the given
compiled band math expressions.
|
Constructor and Description |
---|
RasterDataSymbol(String symbolName,
RasterDataNode raster,
RasterDataSymbol.Source source) |
SingleFlagSymbol(String symbolName,
RasterDataNode raster,
int flagMask) |
SingleFlagSymbol(String symbolName,
RasterDataNode raster,
int flagMask,
int flagValue) |
Modifier and Type | Method and Description |
---|---|
RasterDataNode |
Tile.getRasterDataNode()
Gets the
RasterDataNode associated with this tile,
e.g. a Band for source and target tiles or
TiePointGrid for a source tile. |
Modifier and Type | Method and Description |
---|---|
protected Dimension |
Operator.ensureSingleRasterSize(RasterDataNode... rasterDataNodes)
Ensures that the given raster data nodes only contain raster data nodes having the same size in pixels.
|
Tile |
Operator.getSourceTile(RasterDataNode rasterDataNode,
Rectangle region)
Gets a
Tile for a given band and image region. |
Tile |
Operator.getSourceTile(RasterDataNode rasterDataNode,
Rectangle region,
javax.media.jai.BorderExtender borderExtender)
Gets a
Tile for a given band and image region. |
Modifier and Type | Method and Description |
---|---|
Class<? extends RasterDataNode> |
ParameterDescriptor.getRasterDataNodeClass()
Specifies which
RasterDataNode subclass of the source products is used
to fill the ParameterDescriptor.getValueSet() for this parameter. |
Class<? extends RasterDataNode> |
DefaultParameterDescriptor.getRasterDataNodeClass() |
Class<? extends RasterDataNode> |
AnnotationParameterDescriptor.getRasterDataNodeClass() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultParameterDescriptor.setRasterDataNodeClass(Class<? extends RasterDataNode> rasterDataNodeClass) |
Modifier and Type | Method and Description |
---|---|
RasterDataNode |
Sample.getNode() |
Modifier and Type | Method and Description |
---|---|
void |
SourceSampleConfigurer.defineComputedSample(int index,
RasterDataNode raster)
Defines an intermediate source sample computed from the given raster.
|
Modifier and Type | Method and Description |
---|---|
RasterDataNode |
RasterDataNodeOpImage.getRasterDataNode() |
static RasterDataNode |
ImageManager.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.
|
Modifier and Type | Method and Description |
---|---|
static ColoredBandImageMultiLevelSource |
ColoredBandImageMultiLevelSource.create(RasterDataNode[] rasterDataNodes,
MultiLevelModel model,
ProgressMonitor pm) |
static ColoredBandImageMultiLevelSource |
ColoredBandImageMultiLevelSource.create(RasterDataNode[] rasterDataNodes,
ProgressMonitor pm) |
static ColoredBandImageMultiLevelSource |
ColoredBandImageMultiLevelSource.create(RasterDataNode rasterDataNode,
ProgressMonitor pm) |
RenderedImage |
ImageManager.createColoredBandImage(RasterDataNode[] rasterDataNodes,
ImageInfo imageInfo,
int level) |
static MultiLevelImage |
ImageManager.createMaskedGeophysicalImage(RasterDataNode node,
Number maskValue) |
static javax.media.jai.ImageLayout |
ImageManager.createSingleBandedImageLayout(RasterDataNode rasterDataNode) |
static javax.media.jai.ImageLayout |
ImageManager.createSingleBandedImageLayout(RasterDataNode rasterDataNode,
int dataBufferType) |
javax.media.jai.PlanarImage |
ImageManager.getGeophysicalImage(RasterDataNode rasterDataNode,
int level) |
protected ProductData |
RasterDataNodeOpImage.getGeophysicalProductData(RasterDataNode band,
Rectangle region)
Utility method that allows to retrieve data from a raster data node whose geophysical image shares the same
multi-level model (aka image pyramid model).
|
ImageInfo |
ImageManager.getImageInfo(RasterDataNode[] rasters) |
protected ProductData |
RasterDataNodeOpImage.getRawProductData(RasterDataNode band,
Rectangle region)
Utility method that allows to retrieve data from a raster data node whose source image shares the same
multi-level model (aka image pyramid model).
|
javax.media.jai.PlanarImage |
ImageManager.getSourceImage(RasterDataNode rasterDataNode,
int level) |
int |
ImageManager.getStatisticsLevel(RasterDataNode raster,
int levelCount) |
static RasterDataNode |
ImageManager.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 |
ImageManager.getValidMaskImage(RasterDataNode rasterDataNode,
int level) |
void |
ImageManager.prepareImageInfos(RasterDataNode[] rasterDataNodes,
ProgressMonitor pm) |
Constructor and Description |
---|
RasterDataNodeOpImage(RasterDataNode rasterDataNode,
ResolutionLevel level)
Constructor.
|
RasterDataNodeSampleOpImage(RasterDataNode rasterDataNode,
ResolutionLevel level) |
VectorDataMaskOpImage(VectorDataNode vectorDataNode,
RasterDataNode rasterDataNode,
ResolutionLevel level)
Constructs a new VectorDataMaskOpImage.
|
Modifier and Type | Method and Description |
---|---|
Layer |
RgbImageLayerType.createLayer(RasterDataNode[] rasters,
ColoredBandImageMultiLevelSource multiLevelSource) |
static Layer |
MaskLayerType.createLayer(RasterDataNode raster,
Mask mask) |
Layer |
RasterImageLayerType.createLayer(RasterDataNode raster,
MultiLevelSource multiLevelSource) |
Constructor and Description |
---|
GraticuleLayer(GraticuleLayerType type,
RasterDataNode raster,
PropertySet configuration) |
GraticuleLayer(RasterDataNode raster) |
MaskCollectionLayer(MaskCollectionLayerType layerType,
RasterDataNode raster,
PropertySet configuration) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ProductUtils.areRastersEqualInSize(int width,
int height,
RasterDataNode... rasters)
This method checks whether the given rasters all have the same given width and height.
|
static boolean |
ProductUtils.areRastersEqualInSize(RasterDataNode... rasters)
This method checks whether the given rasters all have the same width and height.
|
static boolean |
ProductUtils.canGetPixelPos(RasterDataNode raster)
Returns whether or not a raster can return a pixel position from a given geographical position.
|
static void |
ProductUtils.copyGeoCoding(Product sourceProduct,
RasterDataNode targetRaster)
Deeply copies the geo-coding from the source raster data node to the target product.
|
static void |
ProductUtils.copyGeoCoding(RasterDataNode sourceRaster,
Product targetProduct)
Deeply copies the geo-coding from the source raster data node to the target product.
|
static void |
ProductUtils.copyGeoCoding(RasterDataNode sourceRaster,
RasterDataNode targetRaster)
Deeply copies the geo-coding from the source raster data node to the target raster data node.
|
static void |
ProductUtils.copyImageGeometry(RasterDataNode sourceRaster,
RasterDataNode targetRaster,
boolean deepCopy)
Copies the geo-coding and image-to-model transformation from the source raster data node to
the target raster data node.
|
static void |
ProductUtils.copyRasterDataNodeProperties(RasterDataNode sourceRaster,
RasterDataNode targetRaster)
Copies all properties from source band to the target band.
|
static BufferedImage |
ProductUtils.createColorIndexedImage(RasterDataNode rasterDataNode,
ProgressMonitor pm)
Creates a greyscale image from the given
{@link RasterDataNode} . |
static BufferedImage |
ProductUtils.createDensityPlotImage(RasterDataNode raster1,
float sampleMin1,
float sampleMax1,
RasterDataNode raster2,
float sampleMin2,
float sampleMax2,
Mask roiMask,
int width,
int height,
Color background,
BufferedImage image,
ProgressMonitor pm)
Creates a density plot image from two raster data nodes.
|
static GeoPos[] |
ProductUtils.createGeoBoundary(RasterDataNode raster,
Rectangle region,
int step)
Creates the geographical boundary of the given region within the given raster and returns it as a list of
geographical coordinates.
|
static ImageInfo |
ProductUtils.createImageInfo(RasterDataNode[] rasters,
boolean assignMissingImageInfos,
ProgressMonitor pm)
Creates image creation information.
|
static PixelPos[] |
ProductUtils.createPixelBoundary(RasterDataNode raster,
Rectangle rect,
int step)
Creates a rectangular boundary expressed in pixel positions for the given source rectangle.
|
static BufferedImage |
ProductUtils.createRgbImage(RasterDataNode[] rasters,
ImageInfo imageInfo,
ProgressMonitor pm)
Creates a RGB image from the given array of
{@link RasterDataNode} s. |
static double |
ProductUtils.getGeophysicalSampleAsDouble(RasterDataNode raster,
int pixelX,
int pixelY,
int level)
Gets the geophysical pixel value for the given raster at the given pixel coordinates
for the given image pyramid level.
|
static long |
ProductUtils.getGeophysicalSampleAsLong(RasterDataNode raster,
int pixelX,
int pixelY,
int level)
Gets the geophysical pixel value for the given raster at the given pixel coordinates
for the given image pyramid level.
|
static ProductData.UTC |
ProductUtils.getPixelScanTime(RasterDataNode node,
double x,
double y)
Gets the scan time of the current pixel, if available.
|
static BufferedImage |
ProductUtils.overlayMasks(RasterDataNode raster,
BufferedImage overlayBIm,
ProgressMonitor pm)
Draws all the masks contained overlay mask group of the given raster to the ovelayBIm image.
|
Modifier and Type | Method and Description |
---|---|
static void |
ProductUtils.copyBandsForGeomTransform(Product sourceProduct,
Product targetProduct,
boolean includeTiePointGrids,
double defaultNoDataValue,
Map<Band,RasterDataNode> targetToSourceMap)
Adds raster data nodes of a source product as bands to the given target product.
|
static void |
ProductUtils.copyBandsForGeomTransform(Product sourceProduct,
Product targetProduct,
double defaultNoDataValue,
Map<Band,RasterDataNode> addedRasterDataNodes)
Copies only the bands from source to target.
|
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.