Function iainfgen

namespace:morph
page:iainfgen

Synopse

Inf-generating.

  • y = iainfgen(f, Iab)
    • y: Image
    • f: Image
    • Iab: Interval
01. from numpy import *
02. 
03. def iainfgen(f, Iab):
04.     from iaunion import iaunion
05.     from iadil import iadil
06.     from ianeg import ianeg
07. 
08. 
09.     A, Bc = Iab
10.     y = iaunion( iadil(f, A), iadil( ianeg(f), Bc))
11. 
12.     return y

Description

iainfgen creates the image y by computing the transformation of the image f by the inf-generating operator (or dual of the hit-or-miss) characterized by the interval Iab.

Equation

Algorithm

function y=iainfgen_equ( f, A, BC )
  y = iaunion(iadil(f,A),iadil(ianeg(f),BC));