Package qupath.opencv.tools
Class MultiscaleFeatures.Hessian2D
java.lang.Object
qupath.opencv.tools.MultiscaleFeatures.Hessian2D
- All Implemented Interfaces:
AutoCloseable
,MultiscaleFeatures.Hessian
- Enclosing class:
MultiscaleFeatures
public static class MultiscaleFeatures.Hessian2D
extends Object
implements MultiscaleFeatures.Hessian
Hessian matrix values for 2D images.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Get the determinant for each pixel.getEigenvalues
(boolean sortByAbs) Get the eigenvalues, ranked from highest to lowest.getEigenvectors
(boolean sortByAbs) Get the eigenvectors, returned in the same order as the eigenvalues.Get Laplacian of Gaussian image (calculated by summation without requiring eigenvalues).
-
Method Details
-
getLaplacian
Description copied from interface:MultiscaleFeatures.Hessian
Get Laplacian of Gaussian image (calculated by summation without requiring eigenvalues).- Specified by:
getLaplacian
in interfaceMultiscaleFeatures.Hessian
- Returns:
-
getEigenvectors
Description copied from interface:MultiscaleFeatures.Hessian
Get the eigenvectors, returned in the same order as the eigenvalues. Vector elements are stored along the 'channels' dimension.- Specified by:
getEigenvectors
in interfaceMultiscaleFeatures.Hessian
- Parameters:
sortByAbs
- if true, return eigenvectors corresponding to eigenvalues sorted by absolute value- Returns:
-
getEigenvalues
Description copied from interface:MultiscaleFeatures.Hessian
Get the eigenvalues, ranked from highest to lowest.- Specified by:
getEigenvalues
in interfaceMultiscaleFeatures.Hessian
- Parameters:
sortByAbs
- if true, return eigenvalues sorted by absolute value; otherwise return sorted by value- Returns:
-
getDeterminant
Description copied from interface:MultiscaleFeatures.Hessian
Get the determinant for each pixel.- Specified by:
getDeterminant
in interfaceMultiscaleFeatures.Hessian
- Returns:
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-