| Image Processing Toolbox™ | ![]() |
SE2 = reflect(SE)
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.
SE and SE2 are STREL objects.
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![]() | rangefilt | regionprops | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |