Function imops::spatial_moment_01
source · pub fn spatial_moment_01<IM>(im: &IM) -> f32where
IM: ImageStride<Mono8>,
Expand description
Compute spatial image moment 0,1
Panics: panics if the image data is smaller than stride*height and if stride is smaller than width.