Image Processing Toolbox    
getsequence

Extract sequence of decomposed structuring elements

Syntax

Description

SEQ = getsequence(SE), where SE is a structuring element array, returns another structuring element array SEQ containing the individual structuring elements that form the decomposition of SE. SEQ is equivalent to SE, but the elements of SEQ have no decomposition.

Class Support

SE and SEQ are arrays of STREL objects.

Example

The strel function uses decomposition for square structuring elements larger than 3-by-3. Use getsequence to extract the decomposed structuring elements.

Use imdilate with the 'full' option to see that dilating sequentially with the decomposed structuring elements really does form a 5-by-5 square:

See Also

imdilate, imerode, strel


  getnhood gray2ind