I am not sure what I am doing wrong. This is my code:

```
subs(img, t) = img[1:round(Int, t):end, :];
delT = sqrt(2); n = 5; b = 72;
t_all = [delT^i for i in 0:5];
k = 2; t = 2;
theta = k*b/t;
tfm = LinearMap(RotMatrix(theta));
uR = warp(img1, inv(tfm));
uF = imfilter(uR, KernelFactors.gaussian((0, 0.8*t)));
# Here is the error:
uT = subs(uF, t);
```

size not supported for arrays with axes (-671:-1, -546:138); see http://docs.julialang.org/en/latest/devdocs/offset-arrays/

Stacktrace:

[1] errmsg(::OffsetArrays.OffsetArray{ColorTypes.Gray{Float64},2,Array{ColorTypes.Gray{Float64},2}}) at /home/subhankar/.julia/v0.6/OffsetArrays/src/OffsetArrays.jl:94

[2] sqrt_restrict(::OffsetArrays.OffsetArray{ColorTypes.Gray{Float64},2,Array{ColorTypes.Gray{Float64},2}}, ::Int64) at ./In[21]:1

Any help please? Thanks!