Skip to main content

texture_entropy_simd

Function texture_entropy_simd 

Source
pub fn texture_entropy_simd(glcm: &[f32], gray_levels: usize) -> Result<f32>
Expand description

SIMD-accelerated entropy feature computation

Computes the entropy Haralick feature from a normalized GLCM.

§Arguments

  • glcm - Normalized GLCM matrix
  • gray_levels - Number of gray levels

§Errors

Returns an error if the GLCM size is invalid