mango.image.se

mango.image.se(structure=None, dim=3)

Returns a StructuringElement object for the specified structure array.

Parameters:
  • 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.
  • dim (int) – Dimension of the structuring element.
Return type:

StructuringElement

Returns:

Structuring element object for use with neighbourhood-filters.

Previous topic

mango.image.bilateral_filter

Next topic

mango.image.sphere_se

This Page