Package net.algart.matrices.skeletons
Enum Class SkeletonPixelClassifier.AttachmentInformation
java.lang.Object
java.lang.Enum<SkeletonPixelClassifier.AttachmentInformation>
net.algart.matrices.skeletons.SkeletonPixelClassifier.AttachmentInformation
- All Implemented Interfaces:
Serializable
,Comparable<SkeletonPixelClassifier.AttachmentInformation>
,Constable
- Enclosing class:
SkeletonPixelClassifier
public static enum SkeletonPixelClassifier.AttachmentInformation
extends Enum<SkeletonPixelClassifier.AttachmentInformation>
Style of interpretation of non-negative results while detecting pixel types of the skeleton.
See comments to SkeletonPixelClassifier.asPixelTypes(Matrix, SkeletonPixelClassifier.AttachmentInformation)
method.
This class is immutable and thread-safe: there are no ways to modify settings of the created instance.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates thatasPixelTypes
method must return, for attachable branch ends, the direction (neighbour index) towards the node, which is one of the ends of the branch.Indicates thatasPixelTypes
method must return, for attachable branch ends, the direction (neighbour index) towards the branch, to which this pixel should be attached. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEIGHBOUR_INDEX_OF_ATTACHING_BRANCH
public static final SkeletonPixelClassifier.AttachmentInformation NEIGHBOUR_INDEX_OF_ATTACHING_BRANCHIndicates thatasPixelTypes
method must return, for attachable branch ends, the direction (neighbour index) towards the branch, to which this pixel should be attached. -
NEIGHBOUR_INDEX_OF_ATTACHED_NODE
Indicates thatasPixelTypes
method must return, for attachable branch ends, the direction (neighbour index) towards the node, which is one of the ends of the branch.
-
-
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
-