Package qupath.opencv.tools
Interface MultiscaleFeatures.Hessian
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
MultiscaleFeatures.Hessian2D
,MultiscaleFeatures.Hessian3D
- Enclosing class:
MultiscaleFeatures
Helper class for storing and computing pixel features from Hessian matrices.
-
Method Summary
Modifier and TypeMethodDescriptionGet 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).Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
getLaplacian
Mat getLaplacian()Get Laplacian of Gaussian image (calculated by summation without requiring eigenvalues).- Returns:
-
getDeterminant
Mat getDeterminant()Get the determinant for each pixel.- Returns:
-
getEigenvalues
Get the eigenvalues, ranked from highest to lowest.- Parameters:
sortByAbs
- if true, return eigenvalues sorted by absolute value; otherwise return sorted by value- Returns:
-
getEigenvectors
Get the eigenvectors, returned in the same order as the eigenvalues. Vector elements are stored along the 'channels' dimension.- Parameters:
sortByAbs
- if true, return eigenvectors corresponding to eigenvalues sorted by absolute value- Returns:
-