# mmsereflect
Reflect a structuring element

## Synopsis

Bo = mmsereflect( Bi )

Implemented in Python.

### Input

Bi | Structuring Element

### Output

Bo | Structuring Element

## Description

mmsereflect reflects a structuring element by rotating it 180 degrees.

## Examples

    >>> b1 = mmseline(5,30)

    >>> print mmseshow(b1)

    [[0 0 0 0 0 0 0]
     [0 0 0 0 0 0 0]
     [0 0 0 1 0 0 0]
     [0 0 0 0 1 1 0]
     [0 0 0 0 0 0 1]]

    >>> b2 = mmsereflect(b1)

    >>> print mmseshow(b2)

    [[1 0 0 0 0 0 0]
     [0 1 1 0 0 0 0]
     [0 0 0 1 0 0 0]
     [0 0 0 0 0 0 0]
     [0 0 0 0 0 0 0]]

## Equation

Flat structuring element:

## Source Code

    def mmsereflect(Bi):
        Bo = mmserot(Bi, 180)
        return Bo

## See also

mmdil | Dilate an image by a structuring element.
mmseshow | Display a structuring element as an image.
mmero | Erode an image by a structuring element.
mmsesum | N-1 iterative Minkowski additions
mmseunion | Union of structuring elements

[`mmsetrans`] [Up] [`mmsedil`] |
Copyright (c) 2003, Roberto A. Lotufo, UNICAMP-University of Campinas; Rubens C. Machado, CenPRA-Renato Archer Research Center.