This segment of Julia code filters keypoints in an image by an interpolation of the fields in the extremum from a difference of gaussian scale space.
mutable struct discrete_extremum
o
s
m
n
intensity
end
mutable struct candidateKeypoint
oE
s
m
n
σ
x
y
ω
end
LB = Array{candidateKeypoint}(0)
for extremum in LA′
for i = 1:5
H̄ = Hessian(extremum.o, extremum.s, extremum.m, extremum.n)
ḡ = ThreeDgradient(extremum.o, extremum.s, extremum.m, extremum.n)
α⋆ = alphaStar(H̄, ḡ)
ω = omega(H̄, ḡ, extremum.o, extremum.s, extremum.m, extremum.n)
δOE = δMin * 2^(extremum.o - 1)
α1⋆ = α⋆[1]
α2⋆ = α⋆[2]
α3⋆ = α⋆[3]
σ = (δOE/δMin) * σMin * 2^((α1⋆ + extremum.s)/nSpo)
x = δOE * (α2⋆ + extremum.m)
y = δOE * (α2⋆ + extremum.n)
extremum.s, extremum.m, extremum.n = round(Int64, extremum.s + α1⋆), round(Int64, extremum.m + α2⋆), round(Int64, extremum.n + α3⋆)
if max(abs(α1⋆), abs(α2⋆), abs(α3⋆)) < 0.6
break
end
end
if max(abs(α1⋆), abs(α2⋆), abs(α3⋆)) < 0.6
push!(LB, candidateKeypoint(extremum, σ, x, y, ω))
end
end
I am getting this error:
syntax: unexpected “=”
in the part starting with LB =
There is no line number mentioned. Can you guys suggest what I am doing wrong?