src/Translate.jl

changeset 5
29b38780d52b
parent 2
684032c29023
child 6
cd3ca6286daa
equal deleted inserted replaced
4:5c0f579a5d0f 5:29b38780d52b
143 b[i, j] = interpolate2d(im, (i+vxʹ, j+vyʹ)) 143 b[i, j] = interpolate2d(im, (i+vxʹ, j+vyʹ))
144 end 144 end
145 end 145 end
146 end 146 end
147 147
148 #####################################################
149 # Precompilation hints to speed up compilation time
150 # for projects depending on this package (hopefully).
151 ######################################################
152
153 precompile(translate_image!, (Array{Float64,2}, Array{Float64,2}, Array{Float64,1}))
154 precompile(translate_image!, (Array{Float64,2}, Array{Float64,2}, Array{Float64,3}))
155 precompile(extract_subimage!, (Array{Float64,2}, Array{Float64,2}, Array{Float64,1}))
156
148 end 157 end

mercurial