bob.ip.block

bob.ip.block((object)src, (object)dst, (int)block_h, (int)block_w, (int)overlap_h, (int)overlap_w) → None :

Performs a block decomposition of a 2D array/image. The output 3D or 4D destination array should be allocated and of the correct size.

block( (object)src, (int)block_h, (int)block_w, (int)overlap_h, (int)overlap_w) -> object :
Performs a block decomposition of a 2D array/image. This will allocate and return a 4D array of blocks indexed along the y- and x-axes (block_index_y, block_index_x, y, x).