dovahcrow/patchify.py

Different step size between axis

gabrielMonaco opened this issue · 1 comments

To cover my entire image dataset along the X-axis, I need to use a step size smaller than my image patch, while along the Y-axis, it fits perfectly with a step equal to the size of my patch.

Is it possible to use different step sizes for each axis?

patchify(image, (w, h, 3), step=(step1, step2, 1))