From ec6db29175f1d94d1d0dc79714c4cb050b64a700 Mon Sep 17 00:00:00 2001 From: Nick White Date: Fri, 27 Sep 2019 17:04:40 +0100 Subject: One more update of graph.go to correspond to new go-chart, and improve usage for wipe --- preproc/cmd/wipe/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'preproc/cmd/wipe/main.go') diff --git a/preproc/cmd/wipe/main.go b/preproc/cmd/wipe/main.go index ceff2e7..e5c039d 100644 --- a/preproc/cmd/wipe/main.go +++ b/preproc/cmd/wipe/main.go @@ -20,7 +20,7 @@ func main() { flag.PrintDefaults() } min := flag.Int("m", 30, "Minimum percentage of the image width for the content width calculation to be considered valid.") - thresh := flag.Float64("t", 0.05, "Threshold for the proportion of black pixels below which a window is determined to be the edge.") + thresh := flag.Float64("t", 0.05, "Threshold for the proportion of black pixels below which a window is determined to be the edge. Higher means more aggressive wiping.") wsize := flag.Int("w", 5, "Window size for mask finding algorithm.") flag.Parse() if flag.NArg() < 2 { -- cgit v1.2.1-24-ge1ad