You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/gui.jl
+15-11Lines changed: 15 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -24,11 +24,13 @@ function gui(
24
24
btnclick =Condition(), # used for testing
25
25
whichbutton =Ref{Symbol}(), # used for testing
26
26
preclick::Union{Int,Nothing}=nothing, # used for testing
27
-
background_path =joinpath(pkgdir(@__MODULE__),"docs","src","assets","blurred_calibration.bmp"), # used to correct for non-uniform illumination
28
-
crop_top::Int=93, # crop this many pixels off of each side
29
-
crop_bottom::Int=107,
30
-
crop_left::Int=55,
31
-
crop_right::Int=45,
27
+
background_path =nothing, # used to correct for non-uniform illumination (see joinpath(pkgdir(@__MODULE__),"docs","src","assets","blurred_calibration.bmp"))
28
+
crop_top::Int=0, # crop this many pixels off of each side
29
+
crop_bottom::Int=0,
30
+
crop_left::Int=0,
31
+
crop_right::Int=0,
32
+
colorproj =RGB{Float32}(1, 1, -2), # used for identifying the stimulus
33
+
expectedloc =nothing, # ""
32
34
)
33
35
channelpct(x) =string(round(Int, x *100)) *'%'
34
36
@@ -37,8 +39,8 @@ function gui(
37
39
# Initialize segmented image and color similarity threshold
0 commit comments