Function File: seq = getsequence (se)

Decompose structuring element.

Returns a strel object se that can be indexed with () to obtain the decomposed structuring elements that can be used to "rebuild" se.

Decomposing a structuring element may lead to faster operations by replacing a single operation with a large se (large nhood), with multiple operations with smaller se.

Most functions will automatically perform SE decomposition provided a strel object is used (instead of a logical array). This also requires that specific shapes are specified instead of "arbitrary", since it may prevent SE decomposition.

See also: imdilate, imerode, strel.

Package: image