本文整理了Java中javax.media.jai.Histogram.getTotals()
方法的一些代码示例,展示了Histogram.getTotals()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Histogram.getTotals()
方法的具体详情如下:
包路径:javax.media.jai.Histogram
类名称:Histogram
方法名:getTotals
暂无
代码示例来源:origin: bcdev/beam
final Histogram histogram = histogramMap.get(regionName).getHistogram();
final HashMap<String, Number> stxMap = new HashMap<String, Number>();
if (histogram.getTotals()[0] == 0) {
stxMap.put(MINIMUM, FILL_VALUE);
stxMap.put(MAXIMUM, FILL_VALUE);
stxMap.put(AVERAGE, summaryStxOp.getMean());
stxMap.put(SIGMA, summaryStxOp.getStandardDeviation());
stxMap.put(TOTAL, histogram.getTotals()[0]);
stxMap.put(MEDIAN, histogram.getPTileThreshold(0.5)[0]);
for (int percentile : percentiles) {
代码示例来源:origin: bcdev/beam
new Object[]{"#Pixels total:", histogram.getTotals()[0]},
new Object[]{"Minimum:", stx.getMinimum()},
new Object[]{"Maximum:", stx.getMaximum()},
代码示例来源:origin: senbox-org/snap-desktop
new Object[]{"#Pixels total:", histogram.getTotals()[0]},
new Object[]{"Minimum:", stx.getMinimum()},
new Object[]{"Maximum:", stx.getMaximum()},
代码示例来源:origin: senbox-org/snap-desktop
statistics.put("p95", histogram.getPTileThreshold(0.95)[0]);
statistics.put("pxx_max_error", StatisticsPanel.getBinSize(histogram));
statistics.put("total", histogram.getTotals()[0]);
featureStatisticsWriter.addToOutput(provider.getRasterDataNode().getName(), mask2RegionName.get(mask),
statistics);
代码示例来源:origin: bcdev/beam
statistics.put("p95", histogram.getPTileThreshold(0.95)[0]);
statistics.put("pxx_max_error", StatisticsPanel.getBinSize(histogram));
statistics.put("total", histogram.getTotals()[0]);
featureStatisticsWriter.addToOutput(provider.getRasterDataNode().getName(), mask2RegionName.get(mask),
statistics);
代码示例来源:origin: senbox-org/snap-desktop
statistics.put("p90_threshold", histogram.getPTileThreshold(0.9)[0]);
statistics.put("p95_threshold", histogram.getPTileThreshold(0.95)[0]);
statistics.put("total", histogram.getTotals()[0]);
csvStatisticsWriter.addToOutput(dataProvider.getRasterDataNode().getName(), regionIds[i], statistics);
metadataWriter.addToOutput(dataProvider.getRasterDataNode().getName(), regionIds[i], statistics);
代码示例来源:origin: bcdev/beam
statistics.put("p90_threshold", histogram.getPTileThreshold(0.9)[0]);
statistics.put("p95_threshold", histogram.getPTileThreshold(0.95)[0]);
statistics.put("total", histogram.getTotals()[0]);
csvStatisticsWriter.addToOutput(dataProvider.getRasterDataNode().getName(), regionIds[i], statistics);
metadataWriter.addToOutput(dataProvider.getRasterDataNode().getName(), regionIds[i], statistics);
内容来源于网络,如有侵权,请联系作者删除!