Skip to content

Commit 4917c9c

Browse files
committed
fix color threshold reset on image load
1 parent 79f72cb commit 4917c9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ function gui(
177177

178178
results = []
179179
for (i, file) in enumerate(files)
180-
threshold = 0.15
180+
threshold = default_threshold
181181
thrshlbl.label = "Color Similarity Threshold: $threshold"
182182
img = color.(load(file))[crop_top+1:end-crop_bottom, crop_left+1:end-crop_right]
183183
rescaledimg = isnothing(bkgimg) ? img : (img ./ bkgimg .* bkgmean)

0 commit comments

Comments
 (0)