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 1386 2011-02-11 03:47:53Z michael.bedward $
Author:
Michael Bedward

Constructor Summary
ZonalStatsDemo()
          Constructor.
 
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()
               throws Exception
Constructor. Generates test data.

Throws:
Exception - on errors running the Jiffle script that builds the example data 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.