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) |
Based on code provided by Convex Hull Plus by Gabriel Landini, 12/Sep/2004. G.Landini at bham. ac. uk
Definition at line 15 of file ConvexAnalyzer.java.
static double theba.core.math.ConvexAnalyzer.getConvexity | ( | short[] | data, | |
int | width, | |||
int | height | |||
) | [static] |
A method that calculates the convexity of any continuous region
data | ||
width | ||
height |
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] |
Definition at line 48 of file ConvexAnalyzer.java.
Referenced by theba.core.math.ConvexAnalyzer.getConvexity(), and theba.core.math.ConvexAnalyzer.getSolidity().
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
data | ||
width | ||
height |
Definition at line 27 of file ConvexAnalyzer.java.
References theba.core.math.ConvexAnalyzer.getConvexRegion().