diff options
author | Nick White <git@njw.name> | 2020-07-27 00:15:05 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2020-07-27 00:15:05 +0100 |
commit | 4627227579c6922406517cf8ad0eb05728d71e0f (patch) | |
tree | e6324da1f400bdfff6bee5b163328fb90adfc00a /util.go | |
parent | 97753052db0239d907631d4a480ac742412827d3 (diff) |
Update wipesides and pggraph to new functions in integralimg, and remove experimental splittable
Diffstat (limited to 'util.go')
-rw-r--r-- | util.go | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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 { |