summaryrefslogtreecommitdiff
path: root/preproc
diff options
context:
space:
mode:
authorNick White <git@njw.name>2019-08-13 16:04:23 +0100
committerNick White <git@njw.name>2019-08-13 16:05:03 +0100
commit462359c7aca892aa697cbea047f5727fc2d6644c (patch)
tree15849774d3c4283839397dfa1dc7806ca9670ab0 /preproc
parentee3302b00d796b40239fbe0e7563190ac60656ce (diff)
Switch ksizes to use by preprocmulti
Diffstat (limited to 'preproc')
-rw-r--r--preproc/cmd/preprocmulti/main.go2
-rw-r--r--preproc/preprocmulti.go1
2 files changed, 2 insertions, 1 deletions
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, ".")