This op throws an exception when currently adapted because it expects that the output, extended by the radius of the kernel on both sides in every dimension, is completely inside the input. Example:
- Input is bounded by minimum [0, 0] and maximum [3, 3]
- Kernel is bounded by minimum [0, 0] and maximum [3, 3]
- Output is bounded by minimum [0, 0] and maximum [3, 3]
This will fail because the algorithm expects the input to be queryable within minimum [-3, -3] and maximum [6, 6], throwing an error.
The solution is to prevent adaptation, and likely also to beef up the javadoc. However this will be blocked by #256