[mmSeline] [Up] [mmSeshow] Structuring Elements

mmSerot
Rotate a structuring element.

Synopsis

Strel mmSerot ( const Strel& B , const Double& theta = 45, const String& DIRECTION = "CLOCKWISE" );

Input

B Structuring Element

theta Double

Degrees of rotation. Available values are multiple of 45 degrees.

Default: 45

DIRECTION String

'CLOCKWISE' or ' ANTI-CLOCKWISE'.

Default: "CLOCKWISE"

Output

Description

mmSerot rotates a structuring element B of an angle theta.

Equation

where
Reflection is given by

Limitations

Only 2-D structuring elements can be rotated. The rotation angles allowed are multiples of 45 degrees.

See also

mmSeshow Display a structuring element as an image.
mmImg2se Create a structuring element from a pair of images.
[mmSeline] [Up] [mmSeshow]