Function imops::spatial_moment_00

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

Compute spatial image moment 0,0

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