diff options
Diffstat (limited to 'util.go')
-rw-r--r-- | util.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -79,6 +79,8 @@ func surrounding(img *image.Gray, x int, y int, size int) []int { return s } +// BinToZeroInv converts a binary thresholded image to a zero inverse +// binary thresholded image func BinToZeroInv(bin *image.Gray, orig *image.RGBA) (*image.RGBA, error) { b := bin.Bounds() if !b.Eq(orig.Bounds()) { |