Function iasuprec

Synopse

Sup-reconstruction.

  • y = iasuprec(f, g, Bc=ia_secross(NULL))
    • y: Image
    • f: Image Marker image.
    • g: Image Conditioning image.
    • Bc: Structuring Element ( connectivity).
01. from numpy import *
02. 
03. def iasuprec(f, g, Bc=None):
04.     from iacero import iacero
05.     from iasecross import iasecross
06.     if Bc is None:
07.         Bc = iasecross(None)
08. 
09. 
10.     n = product(f.shape)
11.     y = iacero(f,g,Bc,n);
12. 
13.     return y

Description

iasuprec creates the image y by an infinite number of recursive iterations (iterations until stability) of the erosion of f by Bc conditioned to g. We say that y is the sup-reconstruction of g from the marker f.

Equation

Algorithm

function y=iasuprec_equ( f, g, bc)
  n = length(f);
  y = iacero(f,g,bc,n);

See Also

  • iainfrec - Inf-Morphological Reconstruction