derekify

command
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: 13 Imported by: 0

README

derekify

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

Usage of derekify:
  -cluster int
        cluster size (default 100)
  -format string
        output format jpg or png (default "jpg")
  -in string
        input filename (use stdin if empty)
  -out string
        output filename (use stdout if empty)
  -threshold int
        threshold [0, 100] (default 85)

example

derekify -in sample.in.jpg -out sample.out.jpg -cluster 8 -threshold 90
Original

sample.in.jpg

Filtered

sample.out.jpg

Documentation

Overview

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

Usage of derekify:
  -cluster int
        cluster size (default 100)
  -format string
        output format jpg or png (default "jpg")
  -in string
        input filename (use stdin if empty)
  -out string
        output filename (use stdout if empty)
  -threshold int
        threshold [0, 100] (default 85)

Jump to

Keyboard shortcuts

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