structure (numpy.array) – Can be a (n,dim) shaped array
where structure[n] is an offset index indicating
an members of the structuring element. Can also be a
(nz,ny,nx) shaped array (for dim==3) of
numpy.dtype("bool") elements, where the True
elements indicate members of the structuring element.