How to Divide an array in to segments and then do sub segments of the segments using python numpy? How to Divide an array in to segments and then do sub segments of the segments using python numpy? numpy numpy

How to Divide an array in to segments and then do sub segments of the segments using python numpy?


It can be done using a function view_as_blocks of skimage.util.shape.