Image iterators (medpy.iterators)#

This package contains iterators for images.

Patch-wise medpy.iterators.patchwise#

Iterators to extract patches from images.

SlidingWindowIterator(array, psize[, cval])

Moves a sliding window over the array, where the first patch is places centered on the top-left voxel and outside-of-image values filled with cval.

CentredPatchIterator(array, psize[, cval])

Iterated patch-wise over the array, where the central patch is centred on the image centre.

CentredPatchIteratorOverlapping(array, psize)

Iterated patch-wise over the array, where the central patch is centred on the image centre.