@@ -32,9 +32,9 @@ export Kernel, KernelFactors,
32
32
findlocalminima, findlocalmaxima,
33
33
blob_LoG, BlobLoG
34
34
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 }
38
38
39
39
# Add a fix that should have been included in julia-1.0.3
40
40
if isdefined (Broadcast, :_sametype ) && ! isdefined (Broadcast, :axistype )
@@ -72,23 +72,23 @@ include("compat.jl")
72
72
include (" kernelfactors.jl" )
73
73
using . KernelFactors: TriggsSdika, IIRFilter, ReshapedOneD, iterdims, kernelfactors
74
74
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}}
80
80
81
81
include (" kernel.jl" )
82
82
using . Kernel
83
83
using . Kernel: Laplacian, reflect, ando3, ando4, ando5, scharr, bickley, prewitt, sobel, gabor, moffat
84
84
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}}
86
86
87
87
include (" border.jl" )
88
88
include (" borderarray.jl" )
89
89
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 }}
92
92
const BorderSpecAny = Union{BorderSpec,NA,NoPad}
93
93
94
94
const ProcessedKernel = Tuple
0 commit comments