org.esa.beam.framework.datamodel
Class ScatterPlot

java.lang.Object
  extended by org.esa.beam.framework.datamodel.ScatterPlot

public class ScatterPlot
extends Object

Creates an Scatterplot from two given bands.

Since:
BEAM 4.5
Version:
$Revision$ $Date$
Author:
Marco Zuehlke

Constructor Summary
ScatterPlot()
           
 
Method Summary
static void accumulate(RasterDataNode raster1, double sampleMin1, double sampleMax1, RasterDataNode raster2, double sampleMin2, double sampleMax2, Mask roiMask, int width, int height, byte[] pixelValues, com.bc.ceres.core.ProgressMonitor pm)
          Creates a scatter plot image from two raster data nodes.
static void accumulate(RasterDataNode raster1, double sampleMin1, double sampleMax1, RasterDataNode raster2, double sampleMin2, double sampleMax2, RenderedImage roiImage, int width, int height, byte[] pixelValues, com.bc.ceres.core.ProgressMonitor pm)
          Deprecated. since BEAM 4.7, use accumulate(RasterDataNode, double, double, RasterDataNode, double, double, Mask, int, int, byte[], ProgressMonitor) instead.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScatterPlot

public ScatterPlot()
Method Detail

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,
                              com.bc.ceres.core.ProgressMonitor pm)
Creates a scatter plot image from two raster data nodes.

Parameters:
raster1 - the first raster data node
sampleMin1 - the minimum sample value to be considered in the first raster
sampleMax1 - the maximum sample value to be considered in the first raster
raster2 - the second raster data node
sampleMin2 - the minimum sample value to be considered in the second raster
sampleMax2 - the maximum sample value to be considered in the second raster
roiMask - an optional mask to be used as a ROI for the computation
width - the width of the output image
height - the height of the output image
pixelValues - an which will hold the data
pm - a progress monitor

accumulate

@Deprecated
public static void accumulate(RasterDataNode raster1,
                                         double sampleMin1,
                                         double sampleMax1,
                                         RasterDataNode raster2,
                                         double sampleMin2,
                                         double sampleMax2,
                                         RenderedImage roiImage,
                                         int width,
                                         int height,
                                         byte[] pixelValues,
                                         com.bc.ceres.core.ProgressMonitor pm)
Deprecated. since BEAM 4.7, use accumulate(RasterDataNode, double, double, RasterDataNode, double, double, Mask, int, int, byte[], ProgressMonitor) instead.

Creates a scatter plot image from two raster data nodes.

Parameters:
raster1 - the first raster data node
sampleMin1 - the minimum sample value to be considered in the first raster
sampleMax1 - the maximum sample value to be considered in the first raster
raster2 - the second raster data node
sampleMin2 - the minimum sample value to be considered in the second raster
sampleMax2 - the maximum sample value to be considered in the second raster
roiImage - an optional image to be used as a ROI for the computation
width - the width of the output image
height - the height of the output image
pixelValues - an which will hold the data
pm - a progress monitor


Copyright © 2002-2011 Brockmann Consult GmbH. All Rights Reserved.