opencv/cxcore.go
func (src *IplImage) Avg(mask *IplImage) Scalar {
	return (Scalar)(C.cvAvg(unsafe.Pointer(src), unsafe.Pointer(mask)))
}
func (src *IplImage) Avg(mask *IplImage) Scalar {
	return (Scalar)(C.cvAvg(unsafe.Pointer(src), unsafe.Pointer(mask)))
}
/****************************************************************************************\
*                                Matrix operations                            *
\****************************************************************************************/
/****************************************************************************************\
*                                    Array Statistics                         *
\****************************************************************************************/
// CvScalar cvAvg(const CvArr* arr, const CvArr* mask=NULL )