funkelab / gunpowder

A library to facilitate machine learning on multi-dimensional images.
https://funkelab.github.io/gunpowder/
MIT License
78 stars 56 forks source link

scan: lower bound max_shift by min_shift #120

Closed abred closed 4 years ago

abred commented 4 years ago

bug if maximally possible shift in one dimension is 0 roi: get_end == get_offset -> max_shift = min_shift -> m-1 is smaller than min_shift