You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All haralick features call the getCooccurenceMatrix function on the input image. If I want to compute N different haralick features on an image, the same co-occurrence matrix is computed N times. Unfortunately, the computation of this matrix is often the most intensive part of the feature computation. Ideally, this matrix would be precomputed once per image.
Perhaps this can be solved by overloading the compute function, adding a signature that takes a final double[][] matrix? I am not sure in what interface or class this signature should be defined, however. Or maybe there is a better way 🙂
The text was updated successfully, but these errors were encountered:
Hi,
A question on haralick features.
All haralick features call the
getCooccurenceMatrix
function on the input image. If I want to compute N different haralick features on an image, the same co-occurrence matrix is computed N times. Unfortunately, the computation of this matrix is often the most intensive part of the feature computation. Ideally, this matrix would be precomputed once per image.Perhaps this can be solved by overloading the
compute
function, adding a signature that takes afinal double[][] matrix
? I am not sure in what interface or class this signature should be defined, however. Or maybe there is a better way 🙂The text was updated successfully, but these errors were encountered: