reflect - Reflect structuring element
Syntax
SE2 = reflect(SE)
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
SE and SE2 are STREL objects.
Examples
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 0See Also
strel
 | rangefilt | | regionprops |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit