(self, data, smoothing=1, lambda1=1, lambda2=1)
Create a Morphological ACWE solver.
        
        Parameters
        ----------
        data : ndarray
            The image data.
        smoothing : scalar
            The number of repetitions of the smoothing step (the
            curv operator) in each iteration. In other terms,
            this is the strength of the smoothing. This is the
            parameter µ.
        lambda1, lambda2 : scalars
            Relative importance of the inside pixels (lambda1)
            against the outside pixels (lambda2).
Create a Morphological ACWE solver.
        
        Parameters
        ----------
        data : ndarray
            The image data.
        smoothing : scalar
            The number of repetitions of the smoothing step (the
            curv operator) in each iteration. In other terms,
            this is the strength of the smoothing. This is the
            parameter µ.
        lambda1, lambda2 : scalars
            Relative importance of the inside pixels (lambda1)
            against the outside pixels (lambda2).
Create a Morphological ACWE solver . Parameters ---------- data : ndarray The image data . smoothing : scalar The number of repetitions of the smoothing step ( the curv operator ) in each iteration . In other terms this is the strength of the smoothing . This is the parameter µ . lambda1 lambda2 : scalars Relative importance of the inside pixels ( lambda1 ) against the outside pixels ( lambda2 ) .
def __init__(self, data, smoothing=1, lambda1=1, lambda2=1):
        """Create a Morphological ACWE solver.
        
        Parameters
        ----------
        data : ndarray
            The image data.
        smoothing : scalar
            The number of repetitions of the smoothing step (the
            curv operator) in each iteration. In other terms,
            this is the strength of the smoothing. This is the
            parameter µ.
        lambda1, lambda2 : scalars
            Relative importance of the inside pixels (lambda1)
            against the outside pixels (lambda2).
        """
        self._u = None
        self.smoothing = smoothing
        self.lambda1 = lambda1
        self.lambda2 = lambda2
        
        self.data = data
def __init__ ( self , data , smoothing = 1 , lambda1 = 1 , lambda2 = 1 ) : self . _u = None self . smoothing = smoothing self . lambda1 = lambda1 self . lambda2 = lambda2 self . data = data