Package | Description |
---|---|
org.esa.snap.core.dataio |
Contains the SNAP product I/O framework.
|
org.esa.snap.core.dataio.cache | |
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.rgb | |
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.image |
Provides frequently used JAI
OpImage implementations and the
ImageManager utility class. |
org.esa.snap.core.metadata | |
org.esa.snap.core.util |
Provides several utility classes used throughout SNAP.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ProductReaderListener.handleBandRasterLineRead(Band destBand,
int destOffsetX,
int destOffsetY,
int destWidth,
int destHeight,
ProductData destBuffer,
int destBufferPos)
Called when a complete line has successfully been read.
|
boolean |
ProductReaderListener.handleBandRasterRectRead(Band destBand,
int destOffsetX,
int destOffsetY,
int destWidth,
int destHeight,
ProductData destBuffer) |
void |
AbstractProductReader.readBandRasterData(Band destBand,
int destOffsetX,
int destOffsetY,
int destWidth,
int destHeight,
ProductData destBuffer,
ProgressMonitor pm)
Reads raster data from the data source specified by the given destination band into the given in-memory buffer
and region.
|
void |
ProductFlipper.readBandRasterData(Band destBand,
int destOffsetX,
int destOffsetY,
int destWidth,
int destHeight,
ProductData destBuffer,
ProgressMonitor pm)
Reads raster data from the data source specified by the given destination band into the given in-memory buffer
and region.
|
void |
ProductReader.readBandRasterData(Band destBand,
int destOffsetX,
int destOffsetY,
int destWidth,
int destHeight,
ProductData destBuffer,
ProgressMonitor pm)
Reads raster data from the data source specified by the given destination band into the given in-memory buffer
and region.
|
protected abstract void |
AbstractProductReader.readBandRasterDataImpl(int sourceOffsetX,
int sourceOffsetY,
int sourceWidth,
int sourceHeight,
int sourceStepX,
int sourceStepY,
Band destBand,
int destOffsetX,
int destOffsetY,
int destWidth,
int destHeight,
ProductData destBuffer,
ProgressMonitor pm)
The template method which is called by the method after an optional spatial subset has been applied to the input
parameters.
|
protected void |
ProductFlipper.readBandRasterDataImpl(int sourceOffsetX,
int sourceOffsetY,
int sourceWidth,
int sourceHeight,
int sourceStepX,
int sourceStepY,
Band destBand,
int destOffsetX,
int destOffsetY,
int destWidth,
int destHeight,
ProductData destBuffer,
ProgressMonitor pm)
The template method which is called by the
readBandRasterDataSubSampling method after an optional
spatial subset has been applied to the input parameters. |
protected void |
ProductSubsetBuilder.readBandRasterDataImpl(int sourceOffsetX,
int sourceOffsetY,
int sourceWidth,
int sourceHeight,
int sourceStepX,
int sourceStepY,
Band destBand,
int destOffsetX,
int destOffsetY,
int destWidth,
int destHeight,
ProductData destBuffer,
ProgressMonitor pm)
The template method which is called by the
readBandRasterDataSubSampling method after an optional
spatial subset has been applied to the input parameters. |
static void |
ProductIO.readLevelBandRasterData(AbstractProductReader reader,
Band destBand,
LevelImageSupport lvlSupport,
Rectangle destRect,
ProductData destBuffer)
This method is not part of the official API and might change in the future.
|
default void |
ProductReader.readTiePointGridRasterData(TiePointGrid tpg,
int destOffsetX,
int destOffsetY,
int destWidth,
int destHeight,
ProductData destBuffer,
ProgressMonitor pm) |
void |
ProductWriter.writeBandRasterData(Band sourceBand,
int sourceOffsetX,
int sourceOffsetY,
int sourceWidth,
int sourceHeight,
ProductData sourceBuffer,
ProgressMonitor pm)
Writes raster data from the given in-memory source buffer into the data sink specified by the given source band
and region.
|
Modifier and Type | Method and Description |
---|---|
boolean |
VariableCache.update(int sourceOffsetX,
int sourceOffsetY,
int sourceWidth,
int sourceHeight,
ProductData sourceBuffer) |
Modifier and Type | Method and Description |
---|---|
protected void |
DimapProductReader.readBandRasterDataImpl(int sourceOffsetX,
int sourceOffsetY,
int sourceWidth,
int sourceHeight,
int sourceStepX,
int sourceStepY,
Band destBand,
int destOffsetX,
int destOffsetY,
int destWidth,
int destHeight,
ProductData destBuffer,
ProgressMonitor pm)
The template method which is called by the
AbstractProductReader.readBandRasterDataImpl(int, int, int, int, int, int, Band, int, int, int, int, ProductData, com.bc.ceres.core.ProgressMonitor) }
method after an optional spatial subset has been applied to the input parameters. |
void |
DimapProductReader.readTiePointGridRasterData(TiePointGrid tpg,
int destOffsetX,
int destOffsetY,
int destWidth,
int destHeight,
ProductData destBuffer,
ProgressMonitor pm) |
void |
DimapProductWriter.writeBandRasterData(Band sourceBand,
int sourceOffsetX,
int sourceOffsetY,
int sourceWidth,
int sourceHeight,
ProductData sourceBuffer,
ProgressMonitor pm)
Writes raster data from the given in-memory source buffer into the data sink specified by the given source band
and region.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ImageProductReader.readBandRasterDataImpl(int sourceOffsetX,
int sourceOffsetY,
int sourceWidth,
int sourceHeight,
int sourceStepX,
int sourceStepY,
Band destBand,
int destOffsetX,
int destOffsetY,
int destWidth,
int destHeight,
ProductData destBuffer,
ProgressMonitor pm) |
Modifier and Type | Class and Description |
---|---|
static class |
ProductData.ASCII
The
ProductData.ASCII class is a ProductData.Byte specialisation representing textual
values. |
static class |
ProductData.Byte
The
Byte class is a ProductData specialisation for signed 8-bit integer fields. |
static class |
ProductData.Double
The
ProductData.Float class is a ProductData specialisation for 64-bit floating point
fields. |
static class |
ProductData.Float
The
ProductData.Float class is a ProductData specialisation for 32-bit floating point
fields. |
static class |
ProductData.Int
The
Int class is a ProductData specialisation for signed 32-bit integer fields. |
static class |
ProductData.Long
The
Long class is a ProductData specialisation for signed 64-bit integer fields. |
static class |
ProductData.Short
The
Short class is a ProductData specialisation for signed 16-bit integer fields. |
static class |
ProductData.UByte
The
UByte class is a ProductData specialisation for unsigned 8-bit integer fields. |
static class |
ProductData.UInt
The
UInt class is a ProductData specialisation for unsigned 32-bit integer fields. |
static class |
ProductData.UShort
The
UShort class is a ProductData specialisation for unsigned 16-bit integer fields. |
static class |
ProductData.UTC
The
ProductData.UTC class is a ProductData.UInt specialisation for UTC date/time
values. |
Modifier and Type | Method and Description |
---|---|
ProductData |
DataNode.createCompatibleProductData(int numElems)
Creates product data that is compatible to this dataset's data type.
|
ProductData |
RasterDataNode.createCompatibleRasterData()
Creates raster data that is compatible to this dataset's data type.
|
ProductData |
RasterDataNode.createCompatibleRasterData(int width,
int height)
Creates raster data that is compatible to this dataset's data type.
|
ProductData |
RasterDataNode.createCompatibleSceneRasterData()
Creates raster data that is compatible to this dataset's data type.
|
protected abstract ProductData |
ProductData.createDeepClone()
Retuns a "deep" copy of this product data.
|
protected ProductData |
ProductData.Byte.createDeepClone()
Retuns a "deep" copy of this product data.
|
protected ProductData |
ProductData.UByte.createDeepClone()
Retuns a "deep" copy of this product data.
|
protected ProductData |
ProductData.Short.createDeepClone()
Retuns a "deep" copy of this product data.
|
protected ProductData |
ProductData.UShort.createDeepClone()
Retuns a "deep" copy of this product data.
|
protected ProductData |
ProductData.Int.createDeepClone()
Retuns a "deep" copy of this product data.
|
protected ProductData |
ProductData.Long.createDeepClone()
Returns a "deep" copy of this product data.
|
protected ProductData |
ProductData.UInt.createDeepClone()
Retuns a "deep" copy of this product data.
|
protected ProductData |
ProductData.Float.createDeepClone()
Retuns a "deep" copy of this product data.
|
protected ProductData |
ProductData.Double.createDeepClone()
Retuns a "deep" copy of this product data.
|
protected ProductData |
ProductData.ASCII.createDeepClone()
Retuns a "deep" copy of this product data.
|
protected ProductData |
ProductData.UTC.createDeepClone()
Retuns a "deep" copy of this product data.
|
static ProductData |
ProductData.createInstance(byte[] elems) |
static ProductData |
ProductData.createInstance(double[] elems) |
static ProductData |
ProductData.createInstance(float[] elems) |
static ProductData |
ProductData.createInstance(int type)
Factory method which creates a value instance of the given type and with exactly one element.
|
static ProductData |
ProductData.createInstance(int[] elems) |
static ProductData |
ProductData.createInstance(int type,
int numElems)
Factory method which creates a value instance of the given type and with the specified number of elements.
|
static ProductData |
ProductData.createInstance(int type,
Object data)
Factory method which creates a value instance of the given type and with the specified number of elements.
|
static ProductData |
ProductData.createInstance(long[] elems) |
static ProductData |
ProductData.createInstance(short[] elems) |
static ProductData |
ProductData.createInstance(String strData) |
static ProductData |
ProductData.createUnsignedInstance(byte[] elems) |
static ProductData |
ProductData.createUnsignedInstance(int[] elems) |
static ProductData |
ProductData.createUnsignedInstance(short[] elems) |
ProductData |
DataNode.getData()
Gets the data of this data node.
|
ProductData |
TiePointGrid.getGridData() |
ProductData |
TiePointGrid.getRasterData()
Gets the linear interpolated raster data containing
rasterWidth x rasterHeight samples. |
ProductData |
RasterDataNode.getRasterData()
Gets the raster data for this dataset.
|
Modifier and Type | Method and Description |
---|---|
void |
RasterDataNode.checkCompatibleRasterData(ProductData rasterData,
int w,
int h)
Throws an
IllegalArgumentException if the given parameters dont specify a compatible raster. |
protected void |
DataNode.checkDataCompatibility(ProductData data)
Checks if the data that should be used to access the data is compatible with the data this node can hold.
|
boolean |
ProductData.equalElems(ProductData other)
Tests whether this ProductData is equal to another one.
|
boolean |
ProductData.Float.equalElems(ProductData other)
Tests whether this ProductData is equal to another one.
|
boolean |
RasterDataNode.isCompatibleRasterData(ProductData rasterData,
int w,
int h)
Tests whether the given parameters specify a compatible raster or not.
|
void |
RasterDataNode.RasterDataProcessor.processRasterDataBuffer(ProductData buffer,
int y0,
int numLines,
ProgressMonitor pm)
Processes some input raster lines.
|
void |
RasterDataNode.readRasterData(int offsetX,
int offsetY,
int width,
int height,
ProductData rasterData)
Reads raster data from the node's associated data source into the given data
buffer.
|
void |
TiePointGrid.readRasterData(int offsetX,
int offsetY,
int width,
int height,
ProductData rasterData,
ProgressMonitor pm)
Reads raster data from this dataset into the user-supplied raster data buffer.
|
void |
Band.readRasterData(int offsetX,
int offsetY,
int width,
int height,
ProductData rasterData,
ProgressMonitor pm)
Reads raster data from its associated data source into the given data buffer.
|
abstract void |
RasterDataNode.readRasterData(int offsetX,
int offsetY,
int width,
int height,
ProductData rasterData,
ProgressMonitor pm)
The method behaves exactly as
RasterDataNode.readRasterData(int, int, int, int, ProductData) ,
but clients can additionally pass a ProgressMonitor . |
void |
TiePointGrid.setData(ProductData data) |
void |
DataNode.setData(ProductData data)
Sets the data of this data node.
|
void |
TiePointGrid.setRasterData(ProductData rasterData)
The method will always fail on tie-point grids as they are read-only.
|
void |
RasterDataNode.setRasterData(ProductData rasterData)
Sets the raster data of this dataset.
|
void |
RasterDataNode.writeRasterData(int offsetX,
int offsetY,
int width,
int height,
ProductData rasterData) |
void |
TiePointGrid.writeRasterData(int offsetX,
int offsetY,
int width,
int height,
ProductData rasterData,
ProgressMonitor pm)
Writes data from this product raster into the specified region of the user-supplied raster.
|
void |
FilterBand.writeRasterData(int offsetX,
int offsetY,
int width,
int height,
ProductData rasterData,
ProgressMonitor pm)
Writes data from this product raster into the specified region of the user-supplied raster.
|
void |
Band.writeRasterData(int offsetX,
int offsetY,
int width,
int height,
ProductData rasterData,
ProgressMonitor pm)
Writes data from this product raster into the specified region of the user-supplied raster.
|
abstract void |
RasterDataNode.writeRasterData(int offsetX,
int offsetY,
int width,
int height,
ProductData rasterData,
ProgressMonitor pm)
Writes data from this product raster into the specified region of the user-supplied raster.
|
Constructor and Description |
---|
DataNode(String name,
ProductData data,
boolean readOnly) |
MetadataAttribute(String name,
ProductData data,
boolean readOnly) |
Modifier and Type | Field and Description |
---|---|
protected ProductData |
RasterDataSymbol.data |
Modifier and Type | Method and Description |
---|---|
ProductData |
Tile.getDataBuffer()
Obtains access to the underlying raw sample buffer.
|
ProductData |
Tile.getRawSamples()
Gets the raw (unscaled, uncalibrated) samples, e.g. detector counts, copied from or wrapping the underlying
data buffer.
|
Modifier and Type | Method and Description |
---|---|
void |
Tile.setRawSamples(ProductData rawSamples)
Sets this tile's raw (unscaled, uncalibrated) samples.
|
Modifier and Type | Method and Description |
---|---|
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).
|
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).
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
RasterDataNodeOpImage.computeProductData(ProductData productData,
Rectangle region)
Computes the target pixel data for this level image.
|
protected void |
BandOpImage.computeProductData(ProductData destData,
Rectangle destRect) |
protected void |
RasterDataNodeSampleOpImage.computeProductData(ProductData productData,
Rectangle destRect) |
protected void |
TiePointGridOpImage.computeProductData(ProductData productData,
Rectangle destRect) |
protected static void |
RasterDataNodeOpImage.copyLine(int y,
int destWidth,
ProductData src,
ProductData dest,
int[] sourceCoords) |
protected void |
AbstractSubsetTileOpImage.writeDataOnLevelRaster(Rectangle normalTileBoundsIntersection,
ProductData normalTileData,
WritableRaster levelDestinationRaster,
Rectangle levelDestinationRectangle) |
Modifier and Type | Method and Description |
---|---|
protected ProductData |
XmlMetadataParser.inferType(String elementName,
String value)
Tries to infer the type of the element, based on the available XSD schema definition.
|
Modifier and Type | Method and Description |
---|---|
static RenderedImage |
ImageUtils.createRenderedImage(int width,
int height,
ProductData data) |
Copyright © 2014–2022 European Space Agency (ESA). All rights reserved.