iaf.morph.strel_3d¶
Three-dimensional structuring elements.
- iaf.morph.strel_3d.cube(side: int, dtype: dtype = <class 'numpy.uint8'>) ndarray[source]¶
Calculates a 3D structure element in the shape of a cube.
- iaf.morph.strel_3d.ellipsoid(radius: int | list[int], dtype: ~numpy.dtype = <class 'numpy.uint8'>) ndarray[source]¶
Calculates a 3D structure element in the shape of an ellipsoid (3D ellipse).
- iaf.morph.strel_3d.parallelepiped(side: int | list[int], dtype: ~numpy.dtype = <class 'numpy.uint8'>) ndarray[source]¶
Calculates a 3D structure element in the shape of a parallelepiped (3D rectangle).