Function iasereflect

namespace:morph
page:iasereflect

Synopse

Reflect a structuring element

  • Bo = iasereflect(Bi)
    • Bo: Structuring Element
    • Bi: Structuring Element
01. from numpy import *
02. 
03. def iasereflect(Bi):
04.     from iaserot import iaserot
05. 
06. 
07.     Bo = iaserot(Bi, 180)
08. 
09. 
10.     return Bo

Description

iasereflect reflects a structuring element by rotating it 180 degrees.

Examples

Example 1

1. from ia870 import iasereflect
2. from ia870 import iaseline
3. from ia870 import iaseshow
4. 
5. 
6. b1 = iaseline(5,30)
7. adshow(iaseshow(b1,'EXPAND'))
8. b2 = iasereflect(b1)
9. adshow(iaseshow(b2,'EXPAND'))

Equation