{ } Raw JSON

bundles / skimage latest / skimage / morphology / footprints / _t_shaped_element_series

function

skimage.morphology.footprints:_t_shaped_element_series

source: /dev/scikit-image/src/skimage/morphology/footprints.py :451

Signature

def   _t_shaped_element_series ( ndim = 2 dtype = <class 'numpy.uint8'> )

Summary

A series of T-shaped structuring elements.

Extended Summary

In the 2D case this is a T-shaped element and its rotation at multiples of 90 degrees. This series is used in efficient decompositions of disks of various radius as published in [1].

The generalization to the n-dimensional case can be performed by having the "top" of the T to extend in (ndim - 1) dimensions and then producing a series of rotations such that the bottom end of the T points along each of 2 * ndim orthogonal directions.

Aliases

  • skimage.morphology.footprints._t_shaped_element_series