Function iaopenrec

Synopse

Opening by reconstruction.

  • y = iaopenrec(f, bero=iasecross(), bc=iasecross())
    • y: Image
    • f: Image
    • bero: Structuring Element (erosion).
    • bc: Structuring Element (connectivity).
1. from numpy import *
2. from iasecross import iasecross
3. 
4. def iaopenrec(f, bero=iasecross(), bc=iasecross()):
5.     from iainfrec import iainfrec
6.     from iaero import iaero
7. 
8.     return iainfrec( iaero(f,bero),f,bc)

Description

iaopenrec creates the image y by an inf-reconstruction of the image f from its erosion by bero, using the connectivity defined by Bc.

Examples

Equation

See Also