Package qupath.opencv.tools
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionGaussian filterGradient magnitudeDeterminant of the Hessian matrix, calculated per pixelMaximum eigenvalue of the 2x2 or 3x3 Hessian matrix, calculated per pixel (by value, not absolute value)Middle eigenvalue of the 3x3 Hessian matrix, calculated per pixel (by value, not absolute value)Minimum eigenvalue of the 2x2 or 3x3 Hessian matrix, calculated per pixel (by value, not absolute value)Laplacian of Gaussian filterCoherence, defined as((l1 - l2)/(l1 + l2))^2
wherel1
andl2
are the largest and second largest eigenvalues of the structure tensor respectively.Maximum eigenvalue of the 2x2 or 3x3 structure tensor, calculated per pixel (by value, not absolute value)Middle eigenvalue of the 3x3 structure tensor, calculated per pixel (by value, not absolute value)Minimum eigenvalue of the 2x2 or 3x3 structure tensor, calculated per pixel (by value, not absolute value)Weighted standard deviation -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the feature can be computed for 2D images.boolean
Returns true if the feature can be computed for 3D images (z-stacks).toString()
Returns the enum constant of this class with the specified name.static MultiscaleFeatures.MultiscaleFeature[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GAUSSIAN
Gaussian filter -
LAPLACIAN
Laplacian of Gaussian filter -
WEIGHTED_STD_DEV
Weighted standard deviationTODO: Document calculation
-
GRADIENT_MAGNITUDE
Gradient magnitude -
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
Middle eigenvalue of the 3x3 structure tensor, calculated per pixel (by value, not absolute value) -
STRUCTURE_TENSOR_EIGENVALUE_MIN
Minimum eigenvalue of the 2x2 or 3x3 structure tensor, calculated per pixel (by value, not absolute value) -
STRUCTURE_TENSOR_COHERENCE
Coherence, defined as((l1 - l2)/(l1 + l2))^2
wherel1
andl2
are the largest and second largest eigenvalues of the structure tensor respectively. Wherel1 == l2
the value 0 is used. -
HESSIAN_DETERMINANT
Determinant of the Hessian matrix, calculated per pixel -
HESSIAN_EIGENVALUE_MAX
Maximum eigenvalue of the 2x2 or 3x3 Hessian matrix, calculated per pixel (by value, not absolute value) -
HESSIAN_EIGENVALUE_MIDDLE
Middle eigenvalue of the 3x3 Hessian matrix, calculated per pixel (by value, not absolute value) -
HESSIAN_EIGENVALUE_MIN
Minimum eigenvalue of the 2x2 or 3x3 Hessian matrix, calculated per pixel (by value, not absolute value)
-
-
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
-
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
- Overrides:
toString
in classEnum<MultiscaleFeatures.MultiscaleFeature>
-