Function imops::spatial_moment_10

source ·
pub fn spatial_moment_10<IM>(im: &IM) -> f32
where IM: ImageStride<Mono8>,
Expand description

Compute spatial image moment 1,0

Panics: panics if the image data is smaller than stride*height and if stride is smaller than width.