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 SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum 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))^2wherel1andl2are 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 SummaryModifier and TypeMethodDescriptionbooleanReturns true if the feature can be computed for 2D images.booleanReturns 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- 
GAUSSIANGaussian filter
- 
LAPLACIANLaplacian of Gaussian filter
- 
WEIGHTED_STD_DEVWeighted standard deviationTODO: Document calculation 
- 
GRADIENT_MAGNITUDEGradient magnitude
- 
STRUCTURE_TENSOR_EIGENVALUE_MAXMaximum eigenvalue of the 2x2 or 3x3 structure tensor, calculated per pixel (by value, not absolute value)
- 
STRUCTURE_TENSOR_EIGENVALUE_MIDDLEMiddle eigenvalue of the 3x3 structure tensor, calculated per pixel (by value, not absolute value)
- 
STRUCTURE_TENSOR_EIGENVALUE_MINMinimum eigenvalue of the 2x2 or 3x3 structure tensor, calculated per pixel (by value, not absolute value)
- 
STRUCTURE_TENSOR_COHERENCECoherence, defined as((l1 - l2)/(l1 + l2))^2wherel1andl2are the largest and second largest eigenvalues of the structure tensor respectively. Wherel1 == l2the value 0 is used.
- 
HESSIAN_DETERMINANTDeterminant of the Hessian matrix, calculated per pixel
- 
HESSIAN_EIGENVALUE_MAXMaximum eigenvalue of the 2x2 or 3x3 Hessian matrix, calculated per pixel (by value, not absolute value)
- 
HESSIAN_EIGENVALUE_MIDDLEMiddle eigenvalue of the 3x3 Hessian matrix, calculated per pixel (by value, not absolute value)
- 
HESSIAN_EIGENVALUE_MINMinimum eigenvalue of the 2x2 or 3x3 Hessian matrix, calculated per pixel (by value, not absolute value)
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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
 
- 
supports2Dpublic boolean supports2D()Returns true if the feature can be computed for 2D images.- Returns:
 
- 
supports3Dpublic boolean supports3D()Returns true if the feature can be computed for 3D images (z-stacks).- Returns:
 
- 
toString- Overrides:
- toStringin class- Enum<MultiscaleFeatures.MultiscaleFeature>
 
 
-