Interface CodomainMap


  • public interface CodomainMap
    Declares the interface common to all codomain maps. Subclasses encapsulates a parameterized map:

    y = f(x, p[1], ..., p[n])

    The actual values of the parameters p[k] are defined by the CodomainMapContext which is passed to the setContext method.

    Since:
    OME2.2
    See Also:
    CodomainMapContext
    • Method Detail

      • setContext

        void setContext​(CodomainMapContext cxt)
        Sets the parameters used to write the equation of the specified codomain transformation.
        Parameters:
        cxt - Specifies the parameters.
      • transform

        int transform​(int x)
        Performs the transformation.
        Parameters:
        x - The input value.
        Returns:
        The output value, y.