getnhood - Structuring element neighborhood

Syntax

NHOOD = getnhood(SE)

Description

NHOOD = getnhood(SE) returns the neighborhood associated with the structuring element SE.

Class Support

SE is a STREL object. NHOOD is a logical array.

Examples

se = strel(eye(5));
NHOOD = getnhood(se)

See Also

strel, getneighbors

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS