opencv/cxcore.go
func MeanStdDevWithMask(src, mask *IplImage) (Scalar, Scalar) {
	var mean, stdDev Scalar
	C.cvAvgSdv(
		unsafe.Pointer(src),
		(*C.CvScalar)(&mean),
		(*C.CvScalar)(&stdDev),
		unsafe.Pointer(mask),
	)

	return mean, stdDev
}
func MeanStdDevWithMask(src, mask *IplImage) (Scalar, Scalar) {
	var mean, stdDev Scalar
	C.cvAvgSdv(
		unsafe.Pointer(src),
		(*C.CvScalar)(&mean),
		(*C.CvScalar)(&stdDev),
		unsafe.Pointer(mask),
	)

	return mean, stdDev
}
// MeanStdDevWithMask calculates mean and standard deviation of pixel values with mask