Dividing a large image into smaller overlapping blocks for parallel processing

Stéfan van der Walt stefan at sun.ac.za
Sun Sep 1 05:34:48 EDT 2013


On Sat, Aug 31, 2013 at 8:17 PM, Johannes Schönberger <jsch at demuc.de> wrote:
>  - pad image with skimage.util.pad, which allows a large number of padding methods
>  - spawn a pool of processes using Python's multiprocessing package in the standard library
>  - use shared memory to provide read access to complete image
>  - define slices of image blocks and add them to a processing queue

How about we add an `overlap` parameter to
`skimage.utill.view_as_windows`?  That should solve this problem.

Stéfan



More information about the scikit-image mailing list