theba.core.math.ConvexAnalyzer Class Reference

List of all members.

Static Public Member Functions

static double getSolidity (short[] data, int width, int height)
static Polygon getConvexRegion (short[] data, int width, int height)
static double getConvexity (short[] data, int width, int height)

Detailed Description

Based on code provided by Convex Hull Plus by Gabriel Landini, 12/Sep/2004. G.Landini at bham. ac. uk

Author:
Jens Bache-Wiig

Definition at line 15 of file ConvexAnalyzer.java.


Member Function Documentation

static double theba.core.math.ConvexAnalyzer.getConvexity ( short[]  data,
int  width,
int  height 
) [static]

A method that calculates the convexity of any continuous region

Parameters:
data 
width 
height 
Returns:

Definition at line 191 of file ConvexAnalyzer.java.

References theba.core.math.ConvexAnalyzer.getConvexRegion().

static Polygon theba.core.math.ConvexAnalyzer.getConvexRegion ( short[]  data,
int  width,
int  height 
) [static]
static double theba.core.math.ConvexAnalyzer.getSolidity ( short[]  data,
int  width,
int  height 
) [static]

A method that calculates the solidity of any continuous non-zero region

Solidity = area/convex area

Parameters:
data 
width 
height 
Returns:

Definition at line 27 of file ConvexAnalyzer.java.

References theba.core.math.ConvexAnalyzer.getConvexRegion().


The documentation for this class was generated from the following file:

Generated on Fri Nov 13 08:57:08 2009 for Theba by  doxygen 1.6.1