derek

package module
v0.0.0-...-e661c1c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2021 License: MIT Imports: 2 Imported by: 0

README

go-derek

GoDoc

Implementation of Derek Bradley's "Adaptive Thresholding using the Integral Image" in Golang.

https://people.scs.carleton.ca/~roth/iit-publications-iti/docs/gerh-50002.pdf

example

Original

sample.in.jpg

Filtered

sample.out.jpg

Documentation

Overview

Package derek implements Derek Bradley's "Adaptive Thresholding using the Integral Image".

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGray

func NewGray(src image.Image) *image.Gray

NewGray returns a grayscale image of src.

func Process

func Process(src image.Image, clusterSize int, threshold int) image.Image

Process returns the image with the Derek Bradley's "Adaptive Thresholding using the Integral Image" filter applied. threshold must be between [0, 100].

func ProcessGray

func ProcessGray(src *image.Gray, clusterSize int, threshold int) *image.Gray

ProcessGray returns the image with the Derek Bradley's "Adaptive Thresholding using the Integral Image" filter applied. threshold must be between [0, 100].

Types

This section is empty.

Directories

Path Synopsis
Command derekify is a sample program to process a image using Derek Bradley's "Adaptive Thresholding using the Integral Image".
Command derekify is a sample program to process a image using Derek Bradley's "Adaptive Thresholding using the Integral Image".

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL