jaitools.demo.zonalstats
Class ZonalStatsDemo

java.lang.Object
  extended by jaitools.demo.zonalstats.ZonalStatsDemo

public class ZonalStatsDemo
extends Object

Demonstrates using the ZonalStats operator to calculate summary statistics of values in a data image within zones defined by a zone image. In this example the data image contains uniform random values and the zones are equal in size, so we expect the value of each summary statistic to be very similar across zones.

Since:
1.0
Version:
$Id: ZonalStatsDemo.java 1592 2011-03-29 10:41:50Z michael.bedward $
Author:
Michael Bedward

Constructor Summary
ZonalStatsDemo()
          Constructor: gets test images.
 
Method Summary
static void main(String[] args)
          Main method: constructs an instance of this class (which causes test data to be generated) and runs the demo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZonalStatsDemo

public ZonalStatsDemo()
Constructor: gets test images.

Method Detail

main

public static void main(String[] args)
                 throws Exception
Main method: constructs an instance of this class (which causes test data to be generated) and runs the demo

Parameters:
args - ignored
Throws:
Exception - if there was a problem generating the test data


Copyright © 2009-2011. All Rights Reserved.