Public Member Functions | |
| String | getName () |
| Object | measure (RegionMask vmask) |
| String | getAbout () |
| boolean | does3D () |
| boolean | isNumeric () |
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) |
Definition at line 11 of file ConvexityDescriptor.java.
| boolean theba.descriptors.ConvexityDescriptor.does3D | ( | ) |
Implements theba.core.RegionDescriptor.
Definition at line 227 of file ConvexityDescriptor.java.
| String theba.descriptors.ConvexityDescriptor.getAbout | ( | ) |
Implements theba.core.RegionDescriptor.
Definition at line 223 of file ConvexityDescriptor.java.
| static double theba.descriptors.ConvexityDescriptor.getConvexity | ( | short[] | data, | |
| int | width, | |||
| int | height | |||
| ) | [static] |
A method that calculates the convexity of any continuous region
| data | ||
| width | ||
| height |
Definition at line 165 of file ConvexityDescriptor.java.
References theba.descriptors.ConvexityDescriptor.getConvexRegion().
Referenced by theba.descriptors.ConvexityDescriptor.measure().
| static Polygon theba.descriptors.ConvexityDescriptor.getConvexRegion | ( | short[] | data, | |
| int | width, | |||
| int | height | |||
| ) | [static] |
Definition at line 44 of file ConvexityDescriptor.java.
Referenced by theba.descriptors.ConvexityDescriptor.getConvexity(), and theba.descriptors.ConvexityDescriptor.getSolidity().
| String theba.descriptors.ConvexityDescriptor.getName | ( | ) |
Implements theba.core.RegionDescriptor.
Definition at line 12 of file ConvexityDescriptor.java.
| static double theba.descriptors.ConvexityDescriptor.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 26 of file ConvexityDescriptor.java.
References theba.descriptors.ConvexityDescriptor.getConvexRegion().
| boolean theba.descriptors.ConvexityDescriptor.isNumeric | ( | ) |
Implements theba.core.RegionDescriptor.
Definition at line 231 of file ConvexityDescriptor.java.
| Object theba.descriptors.ConvexityDescriptor.measure | ( | RegionMask | vmask | ) |
Implements theba.core.RegionDescriptor.
Definition at line 214 of file ConvexityDescriptor.java.
References theba.descriptors.ConvexityDescriptor.getConvexity(), theba.core.RegionMask.getHeight(), theba.core.RegionMask.getWidth(), and theba.core.RegionMask.isSet().
1.6.1