opencv/cxtype.go
func (s Scalar) Val() [4]float64 {
	return [4]float64{
		float64(s.val[0]),
		float64(s.val[1]),
		float64(s.val[2]),
		float64(s.val[3]),
	}
}
func (s Scalar) Val() [4]float64 {
	return [4]float64{
		float64(s.val[0]),
		float64(s.val[1]),
		float64(s.val[2]),
		float64(s.val[3]),
	}
}
/* Val returns an array with the scalars values. */