From 4627227579c6922406517cf8ad0eb05728d71e0f Mon Sep 17 00:00:00 2001 From: Nick White Date: Mon, 27 Jul 2020 00:15:05 +0100 Subject: Update wipesides and pggraph to new functions in integralimg, and remove experimental splittable --- util.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'util.go') diff --git a/util.go b/util.go index 1f8c9a5..7cbaebc 100644 --- a/util.go +++ b/util.go @@ -8,14 +8,11 @@ import ( "errors" "image" "math" - - "rescribe.xyz/integralimg" ) -type ImageWindower interface { +type SummableImage interface { image.Image - GetWindow(x, y, size int) integralimg.Window - GetVerticalWindow(x, width int) integralimg.Window + Sum(r image.Rectangle) uint64 } func mean(i []int) float64 { -- cgit v1.2.1-24-ge1ad