Previous topic

medpy.iterators.patchwise.CentredPatchIteratorOverlapping.assembleimage

Next topic

Neighbours (medpy.neighbours)

This Page

medpy.iterators.patchwise.CentredPatchIteratorOverlapping.next

CentredPatchIteratorOverlapping.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.

gridid : sequence

N-dimensional grid id.

slicer : list

A list of slice() instances definind the patch.