- commit
- bfb61c430bc9ac9d25cd501a5e49c9d8d8bc7fc0
- parent
- d510c74aaf1b258c27aca268069bf82054252cf6
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-02-15 05:54
slightly increase color cluster threshold
Diffstat
| M | js/loader.js | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/loader.js b/js/loader.js
@@ -65,7 +65,7 @@ var analyze = function(img) {
65 65 ]);
66 66
67 67 for (j = 0; j < clusters.length; j++) {
68 -1 if (clusters[j].distance(lab) < 0.05) {
-1 68 if (clusters[j].distance(lab) < 0.08) {
69 69 clusters[j].add(lab);
70 70 out.push(j + 1);
71 71 break;