Enum Class BoundaryParameter
java.lang.Object
java.lang.Enum<BoundaryParameter>
net.algart.executors.modules.cv.matrices.objects.binary.boundaries.BoundaryParameter
- All Implemented Interfaces:
Serializable,Comparable<BoundaryParameter>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic net.algart.math.RectangularAreagetRectangle(double[] array, int offset) voidgetStatistics(net.algart.arrays.MutablePNumberArray result, net.algart.matrices.scanning.Boundary2DSimpleMeasurer measurer, double pixelSize) static booleanneedSecondBuffer(Collection<BoundaryParameter> parameters) EnumSet<net.algart.matrices.scanning.Boundary2DSimpleMeasurer.ObjectParameter>static EnumSet<net.algart.matrices.scanning.Boundary2DSimpleMeasurer.ObjectParameter>objectParameters(Collection<BoundaryParameter> parameters) static doubleoctagonBasedSize(net.algart.matrices.scanning.Boundary2DSimpleMeasurer m) intstatic voidpushRectangle(double[] result, int offset, double minX, double minY, double maxX, double maxY) static voidpushRectangle(double[] result, int offset, net.algart.math.IRectangularArea r) static voidpushRectangle(float[] result, int offset, double minX, double minY, double maxX, double maxY) static voidpushRectangle(net.algart.arrays.MutablePNumberArray result, double minX, double minY, double maxX, double maxY) static doubleshapeFactorCircularity(double area, double perimeter) static BoundaryParameterReturns the enum constant of this class with the specified name.static BoundaryParameter[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AREA
-
SQRT_AREA
-
PERIMETER
-
SIZE
-
SHAPE_FACTOR
-
CONTAINING_OCTAGON_AREA
-
CENTROID
-
CONTAINING_RECTANGLE
-
NESTING_LEVEL
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
objectParameters
public EnumSet<net.algart.matrices.scanning.Boundary2DSimpleMeasurer.ObjectParameter> objectParameters() -
getStatistics
public void getStatistics(net.algart.arrays.MutablePNumberArray result, net.algart.matrices.scanning.Boundary2DSimpleMeasurer measurer, double pixelSize) -
parameterLength
public int parameterLength() -
pushRectangle
public static void pushRectangle(net.algart.arrays.MutablePNumberArray result, double minX, double minY, double maxX, double maxY) -
pushRectangle
public static void pushRectangle(float[] result, int offset, double minX, double minY, double maxX, double maxY) -
pushRectangle
public static void pushRectangle(double[] result, int offset, double minX, double minY, double maxX, double maxY) -
pushRectangle
public static void pushRectangle(double[] result, int offset, net.algart.math.IRectangularArea r) -
getRectangle
public static net.algart.math.RectangularArea getRectangle(double[] array, int offset) -
objectParameters
public static EnumSet<net.algart.matrices.scanning.Boundary2DSimpleMeasurer.ObjectParameter> objectParameters(Collection<BoundaryParameter> parameters) -
needSecondBuffer
-
shapeFactorCircularity
public static double shapeFactorCircularity(double area, double perimeter) -
octagonBasedSize
public static double octagonBasedSize(net.algart.matrices.scanning.Boundary2DSimpleMeasurer m)
-