Hello,
I wonder why the array's center is shifted after resampling to a larger size...
for example:
julia> a = disc(Float32, (11, 11), 0.2);
julia> argmax(a)
CartesianIndex(6, 6)
julia> b = resample(a, (111, 111));
julia> argmax(b)
CartesianIndex(51, 51)
The peak of the resampled array is at (51, 51) and not:
julia> size(b) .÷2
(55, 55)