jaitools.demo.regionalize
Class RegionalizeDemo

java.lang.Object
  extended by jaitools.demo.regionalize.RegionalizeDemo

public class RegionalizeDemo
extends Object

Demonstrates using the Regionalize operation to identify regions of uniform value in a source image.

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

Constructor Summary
RegionalizeDemo()
           
 
Method Summary
 void demo()
          Gets a test image (the chessboard image) from the object.
static void main(String[] args)
          Main method: simple calls the demo method
 void regionalizeImage(RenderedImage image)
          Regionalizes the test chessboard image in two ways: firstly with only orthogonal connectedness; then allowing diagonal connectedness.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegionalizeDemo

public RegionalizeDemo()
Method Detail

main

public static void main(String[] args)
Main method: simple calls the demo method

Parameters:
args - ignored

demo

public void demo()
Gets a test image (the chessboard image) from the object. When the image has been created the receiveImage method will be called.


regionalizeImage

public void regionalizeImage(RenderedImage image)
Regionalizes the test chessboard image in two ways: firstly with only orthogonal connectedness; then allowing diagonal connectedness. Displays the results of each regionalization in an ImageFrame.

Parameters:
image - the test image


Copyright © 2009-2011. All Rights Reserved.