[][src]Function arrayfire::moments_all

pub fn moments_all<T>(input: &Array<T>, moment: MomentType) -> f64 where
    T: HasAfEnum + MomentsComputable

Find Image moment for whole image

Parameters

  • input is the input image
  • moment is the type of moment to be computed, takes a value of enum

Return Values

Moment value of the whole image