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 |