summaryrefslogtreecommitdiff
path: root/preproc/cmd/wipe
diff options
context:
space:
mode:
authorNick White <git@njw.name>2019-09-27 17:04:40 +0100
committerNick White <git@njw.name>2019-09-27 17:04:40 +0100
commitec6db29175f1d94d1d0dc79714c4cb050b64a700 (patch)
treefba9b2212546bb778a4833e11c380ac79597d50e /preproc/cmd/wipe
parent627e5c89200e420b83b3c53c649ba9b9b49836b6 (diff)
One more update of graph.go to correspond to new go-chart, and improve usage for wipe
Diffstat (limited to 'preproc/cmd/wipe')
-rw-r--r--preproc/cmd/wipe/main.go2
1 files changed, 1 insertions, 1 deletions
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 {