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 TypeMethodDescriptionvoidclose()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.HessianGet Laplacian of Gaussian image (calculated by summation without requiring eigenvalues).- Specified by:
getLaplacianin interfaceMultiscaleFeatures.Hessian- Returns:
-
getEigenvectors
Description copied from interface:MultiscaleFeatures.HessianGet the eigenvectors, returned in the same order as the eigenvalues. Vector elements are stored along the 'channels' dimension.- Specified by:
getEigenvectorsin interfaceMultiscaleFeatures.Hessian- Parameters:
sortByAbs- if true, return eigenvectors corresponding to eigenvalues sorted by absolute value- Returns:
-
getEigenvalues
Description copied from interface:MultiscaleFeatures.HessianGet the eigenvalues, ranked from highest to lowest.- Specified by:
getEigenvaluesin interfaceMultiscaleFeatures.Hessian- Parameters:
sortByAbs- if true, return eigenvalues sorted by absolute value; otherwise return sorted by value- Returns:
-
getDeterminant
Description copied from interface:MultiscaleFeatures.HessianGet the determinant for each pixel.- Specified by:
getDeterminantin interfaceMultiscaleFeatures.Hessian- Returns:
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-