Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_BIN_COUNT |
Constructor and Description |
---|
StxFactory() |
Modifier and Type | Method and Description |
---|---|
static void |
accumulate(RasterDataNode rasterDataNode,
int level,
RenderedImage roiImage,
Shape roiShape,
org.esa.snap.core.datamodel.StxOp op,
ProgressMonitor pm) |
Stx |
create()
Creates an
Stx instance. |
Stx |
create(Mask[] roiMasks,
RasterDataNode[] rasters,
ProgressMonitor pm)
Computes statistics for the given set of raster data nodes.
|
Stx |
create(RasterDataNode raster,
ProgressMonitor pm)
Computes statistics for the given raster data node.
|
StxFactory |
withHistogram(javax.media.jai.Histogram histogram) |
StxFactory |
withHistogramBinCount(Integer histogramBinCount) |
StxFactory |
withHistogramBins(int[] histogramBins) |
StxFactory |
withIntHistogram(boolean intHistogram) |
StxFactory |
withLogHistogram(boolean logHistogram) |
StxFactory |
withMaximum(Number maximum) |
StxFactory |
withMean(Number mean) |
StxFactory |
withMinimum(Number minimum) |
StxFactory |
withResolutionLevel(Integer resolutionLevel) |
StxFactory |
withRoiImage(RenderedImage roiImage) |
StxFactory |
withRoiMask(Mask roiMask) |
StxFactory |
withRoiShape(Shape roiShape) |
StxFactory |
withStandardDeviation(Number standardDeviation) |
public static final int DEFAULT_BIN_COUNT
public StxFactory withMinimum(Number minimum)
public StxFactory withMaximum(Number maximum)
public StxFactory withMean(Number mean)
public StxFactory withStandardDeviation(Number standardDeviation)
public StxFactory withIntHistogram(boolean intHistogram)
public StxFactory withLogHistogram(boolean logHistogram)
public StxFactory withHistogram(javax.media.jai.Histogram histogram)
public StxFactory withResolutionLevel(Integer resolutionLevel)
public StxFactory withRoiMask(Mask roiMask)
public StxFactory withRoiImage(RenderedImage roiImage)
roiImage
- The ROI image. Ignored if ROI mask is used.public StxFactory withRoiShape(Shape roiShape)
public StxFactory withHistogramBinCount(Integer histogramBinCount)
public StxFactory withHistogramBins(int[] histogramBins)
public Stx create()
Stx
instance.public Stx create(Mask[] roiMasks, RasterDataNode[] rasters, ProgressMonitor pm)
roiMasks
- An array of roi masks, must be null
or have the same length as rasters
.rasters
- The raster data nodes.pm
- A progress monitor.public Stx create(RasterDataNode raster, ProgressMonitor pm)
raster
- The raster data node.pm
- A progress monitor.public static void accumulate(RasterDataNode rasterDataNode, int level, RenderedImage roiImage, Shape roiShape, org.esa.snap.core.datamodel.StxOp op, ProgressMonitor pm)
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.