Previous topic

medpy.iterators.patchwise.SlidingWindowIterator.applyslicer

Next topic

medpy.iterators.patchwise.CentredPatchIterator

This Page

medpy.iterators.patchwise.SlidingWindowIterator.next

SlidingWindowIterator.next()

Yields the next patch.

Returns:

patch : ndarray

The extracted patch as a view.

pmask : ndarray

Boolean array denoting the defined part of the patch.

slicer : list

List of slicers to apply the same operation to another array (using applyslicer()).