From 462359c7aca892aa697cbea047f5727fc2d6644c Mon Sep 17 00:00:00 2001 From: Nick White Date: Tue, 13 Aug 2019 16:04:23 +0100 Subject: Switch ksizes to use by preprocmulti --- preproc/cmd/preprocmulti/main.go | 2 +- preproc/preprocmulti.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/preproc/cmd/preprocmulti/main.go b/preproc/cmd/preprocmulti/main.go index 9f35017..7dfdd56 100644 --- a/preproc/cmd/preprocmulti/main.go +++ b/preproc/cmd/preprocmulti/main.go @@ -22,7 +22,7 @@ func autowsize(bounds image.Rectangle) int { } func main() { - ksizes := []float64{0.2, 0.3, 0.4, 0.5} + ksizes := []float64{0.1, 0.2, 0.4, 0.5} flag.Usage = func() { fmt.Fprintf(os.Stderr, "Usage: preprocmulti [-bt bintype] [-bw winsize] [-m minperc] [-nowipe] [-ws wipesize] inimg outbase\n") diff --git a/preproc/preprocmulti.go b/preproc/preprocmulti.go index cd7ad34..e38d0d7 100644 --- a/preproc/preprocmulti.go +++ b/preproc/preprocmulti.go @@ -30,6 +30,7 @@ func autowsize(bounds image.Rectangle) int { // Note: copied from cmd/preprocmulti/main.go, should think about the best way // to organise this code later. // TODO: return errors that encapsulate the err describing where it was encountered +// TODO: do the post-integral image stuff in separate goroutines for speed func PreProcMulti(inPath string, ksizes []float64, binType string, binWsize int, wipe bool, wipeWsize int, wipeMinWidthPerc int) ([]string, error) { // Make outBase inPath up to final . s := strings.Split(inPath, ".") -- cgit v1.2.1-24-ge1ad