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.

  • Enum Constant Details

    • NEIGHBOUR_INDEX_OF_ATTACHING_BRANCH

      public static final SkeletonPixelClassifier.AttachmentInformation NEIGHBOUR_INDEX_OF_ATTACHING_BRANCH
      Indicates that asPixelTypes 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

      public static final SkeletonPixelClassifier.AttachmentInformation NEIGHBOUR_INDEX_OF_ATTACHED_NODE
      Indicates that asPixelTypes 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 name
      NullPointerException - if the argument is null