@@ -32,9 +32,9 @@ export Kernel, KernelFactors,
3232 findlocalminima, findlocalmaxima,
3333 blob_LoG, BlobLoG
3434
35- FixedColorant{T<: Normed } = Colorant{T}
36- StaticOffsetArray{T,N,A<: StaticArray } = OffsetArray{T,N,A}
37- OffsetVector{T} = OffsetArray{T,1 }
35+ const FixedColorant{T<: Normed } = Colorant{T}
36+ const StaticOffsetArray{T,N,A<: StaticArray } = OffsetArray{T,N,A}
37+ const OffsetVector{T} = OffsetArray{T,1 }
3838
3939# Add a fix that should have been included in julia-1.0.3
4040if isdefined (Broadcast, :_sametype ) && ! isdefined (Broadcast, :axistype )
@@ -72,23 +72,23 @@ include("compat.jl")
7272include (" kernelfactors.jl" )
7373using . KernelFactors: TriggsSdika, IIRFilter, ReshapedOneD, iterdims, kernelfactors
7474
75- ReshapedVector{T,N,Npre,V<: AbstractVector } = ReshapedOneD{T,N,Npre,V}
76- ArrayType{T} = Union{AbstractArray{T}, ReshapedVector{T}}
77- ReshapedIIR{T,N,Npre,V<: IIRFilter } = ReshapedOneD{T,N,Npre,V}
78- AnyIIR{T} = Union{IIRFilter{T}, ReshapedIIR{T}}
79- ArrayLike{T} = Union{ArrayType{T}, AnyIIR{T}}
75+ const ReshapedVector{T,N,Npre,V<: AbstractVector } = ReshapedOneD{T,N,Npre,V}
76+ const ArrayType{T} = Union{AbstractArray{T}, ReshapedVector{T}}
77+ const ReshapedIIR{T,N,Npre,V<: IIRFilter } = ReshapedOneD{T,N,Npre,V}
78+ const AnyIIR{T} = Union{IIRFilter{T}, ReshapedIIR{T}}
79+ const ArrayLike{T} = Union{ArrayType{T}, AnyIIR{T}}
8080
8181include (" kernel.jl" )
8282using . Kernel
8383using . Kernel: Laplacian, reflect, ando3, ando4, ando5, scharr, bickley, prewitt, sobel, gabor, moffat
8484
85- NDimKernel{N,K} = Union{AbstractArray{K,N},ReshapedOneD{K,N},Laplacian{N}}
85+ const NDimKernel{N,K} = Union{AbstractArray{K,N},ReshapedOneD{K,N},Laplacian{N}}
8686
8787include (" border.jl" )
8888include (" borderarray.jl" )
8989
90- BorderSpec{T} = Union{Pad{0 }, Fill{T,0 }, Inner{0 }}
91- BorderSpecNoNa{T} = Union{Pad{0 }, Fill{T,0 }, Inner{0 }}
90+ const BorderSpec{T} = Union{Pad{0 }, Fill{T,0 }, Inner{0 }}
91+ const BorderSpecNoNa{T} = Union{Pad{0 }, Fill{T,0 }, Inner{0 }}
9292const BorderSpecAny = Union{BorderSpec,NA,NoPad}
9393
9494const ProcessedKernel = Tuple
0 commit comments