{ } Raw JSON

bundles / skimage latest / skimage / morphology / footprints / _cross_decomposition

function

skimage.morphology.footprints:_cross_decomposition

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

Signature

def   _cross_decomposition ( footprint dtype = <class 'numpy.uint8'> )

Summary

Decompose a symmetric convex footprint into cross-shaped elements.

Extended Summary

This is a decomposition of the footprint into a sequence of (possibly asymmetric) cross-shaped elements. This technique was proposed in [1] and corresponds roughly to algorithm 1 of that publication (some details had to be modified to get reliable operation).

[1]

Li, D. and Ritter, G.X. Decomposition of Separable and Symmetric Convex Templates. Proc. SPIE 1350, Image Algebra and Morphological Image Processing, (1 November 1990). 10.1117/12.23608

Aliases

  • skimage.morphology.footprints._cross_decomposition