public static double variance ( int [ ] histogram , double mean , int N ) { return variance ( histogram , mean , count ( histogram , N ) , N ) ; }
Computes the variance of pixel intensity values for a GrayU8 image represented by the given histogram .