Image Processing Toolbox User's Guide |
Syntax
Description
SE2 =
reflect(SE)
reflects a structuring element through its center. The effect is the same as if you rotated the structuring element's domain 180 degrees around its center (for a 2-D structuring element). If SE
is an array of structuring element objects, then reflect(SE)
reflects each element of SE
, and SE2
has the same size as SE
.
Class Support
Example
se = strel([0 0 1; 0 0 0; 0 0 0]) se2 = reflect(se) se = Flat STREL object containing 1 neighbor. Neighborhood: 0 0 1 0 0 0 0 0 0 se2 = Flat STREL object containing 1 neighbor. Neighborhood: 0 0 0 0 0 0 1 0 0
See Also
rangefilt | regionprops |
© 1994-2005 The MathWorks, Inc.