Enum Class MultiscaleFeatures.MultiscaleFeature

java.lang.Object
java.lang.Enum<MultiscaleFeatures.MultiscaleFeature>
qupath.opencv.tools.MultiscaleFeatures.MultiscaleFeature
All Implemented Interfaces:
Serializable, Comparable<MultiscaleFeatures.MultiscaleFeature>, Constable
Enclosing class:
MultiscaleFeatures

public static enum MultiscaleFeatures.MultiscaleFeature extends Enum<MultiscaleFeatures.MultiscaleFeature>
Image features, dependent on Gaussian scale.
  • Enum Constant Details

    • GAUSSIAN

      public static final MultiscaleFeatures.MultiscaleFeature GAUSSIAN
      Gaussian filter
    • LAPLACIAN

      public static final MultiscaleFeatures.MultiscaleFeature LAPLACIAN
      Laplacian of Gaussian filter
    • WEIGHTED_STD_DEV

      public static final MultiscaleFeatures.MultiscaleFeature WEIGHTED_STD_DEV
      Weighted standard deviation

      TODO: Document calculation

    • GRADIENT_MAGNITUDE

      public static final MultiscaleFeatures.MultiscaleFeature GRADIENT_MAGNITUDE
      Gradient magnitude
    • STRUCTURE_TENSOR_EIGENVALUE_MAX

      public static final MultiscaleFeatures.MultiscaleFeature STRUCTURE_TENSOR_EIGENVALUE_MAX
      Maximum eigenvalue of the 2x2 or 3x3 structure tensor, calculated per pixel (by value, not absolute value)
    • STRUCTURE_TENSOR_EIGENVALUE_MIDDLE

      public static final MultiscaleFeatures.MultiscaleFeature STRUCTURE_TENSOR_EIGENVALUE_MIDDLE
      Middle eigenvalue of the 3x3 structure tensor, calculated per pixel (by value, not absolute value)
    • STRUCTURE_TENSOR_EIGENVALUE_MIN

      public static final MultiscaleFeatures.MultiscaleFeature STRUCTURE_TENSOR_EIGENVALUE_MIN
      Minimum eigenvalue of the 2x2 or 3x3 structure tensor, calculated per pixel (by value, not absolute value)
    • STRUCTURE_TENSOR_COHERENCE

      public static final MultiscaleFeatures.MultiscaleFeature STRUCTURE_TENSOR_COHERENCE
      Coherence, defined as ((l1 - l2)/(l1 + l2))^2 where l1 and l2 are the largest and second largest eigenvalues of the structure tensor respectively. Where l1 == l2 the value 0 is used.
    • HESSIAN_DETERMINANT

      public static final MultiscaleFeatures.MultiscaleFeature HESSIAN_DETERMINANT
      Determinant of the Hessian matrix, calculated per pixel
    • HESSIAN_EIGENVALUE_MAX

      public static final MultiscaleFeatures.MultiscaleFeature HESSIAN_EIGENVALUE_MAX
      Maximum eigenvalue of the 2x2 or 3x3 Hessian matrix, calculated per pixel (by value, not absolute value)
    • HESSIAN_EIGENVALUE_MIDDLE

      public static final MultiscaleFeatures.MultiscaleFeature HESSIAN_EIGENVALUE_MIDDLE
      Middle eigenvalue of the 3x3 Hessian matrix, calculated per pixel (by value, not absolute value)
    • HESSIAN_EIGENVALUE_MIN

      public static final MultiscaleFeatures.MultiscaleFeature HESSIAN_EIGENVALUE_MIN
      Minimum eigenvalue of the 2x2 or 3x3 Hessian matrix, calculated per pixel (by value, not absolute value)
  • Method Details

    • values

      public static MultiscaleFeatures.MultiscaleFeature[] 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

      public static MultiscaleFeatures.MultiscaleFeature valueOf(String name)
      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
    • supports2D

      public boolean supports2D()
      Returns true if the feature can be computed for 2D images.
      Returns:
    • supports3D

      public boolean supports3D()
      Returns true if the feature can be computed for 3D images (z-stacks).
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Enum<MultiscaleFeatures.MultiscaleFeature>