Products & Services Solutions Academia Support User Community Company

Learn more about Image Processing Toolbox   

getheight - Height of structuring element

Syntax

H = getheight(SE)

Description

H = getheight(SE) returns an array the same size as getnhood(SE) containing the height associated with each of the structuring element neighbors. H is all zeros for a flat structuring element.

Class Support

SE is a STREL object. H is of class double.

Examples

se = strel(ones(3,3),magic(3));
getheight(se)

See Also

strel, getnhood

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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