Esempio n. 1
0
func (im *Image) EntropyRect(r Rect) float32 {
	return float32(C.calculate_image_entropy_rect(im.image, r.rectangleInfo()))
}
Esempio n. 2
0
func (im *Image) Entropy() float32 {
	return float32(C.calculate_image_entropy_rect(im.image, nil))
}