Package org.esa.snap.core.datamodel
Class DensityPlot
java.lang.Object
org.esa.snap.core.datamodel.DensityPlot
Creates an Densityplot from two given bands.
- Since:
- BEAM 4.5
- Version:
- $Revision$ $Date$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaccumulate(RasterDataNode raster1, double sampleMin1, double sampleMax1, RasterDataNode raster2, double sampleMin2, double sampleMax2, Mask roiMask, int width, int height, byte[] pixelValues, ProgressMonitor pm) Creates the data for a density plot image from two raster data nodes.
-
Constructor Details
-
DensityPlot
public DensityPlot()
-
-
Method Details
-
accumulate
public static void accumulate(RasterDataNode raster1, double sampleMin1, double sampleMax1, RasterDataNode raster2, double sampleMin2, double sampleMax2, Mask roiMask, int width, int height, byte[] pixelValues, ProgressMonitor pm) Creates the data for a density plot image from two raster data nodes.- Parameters:
raster1- the first raster data nodesampleMin1- the minimum sample value to be considered in the first rastersampleMax1- the maximum sample value to be considered in the first rasterraster2- the second raster data nodesampleMin2- the minimum sample value to be considered in the second rastersampleMax2- the maximum sample value to be considered in the second rasterroiMask- an optional mask to be used as a ROI for the computationwidth- the width of the output imageheight- the height of the output imagepixelValues- an array which will hold the datapm- a progress monitor
-