omeis.providers.re.codomain
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
Version:
2.2 (Internal version: $Revision: 1167 $ $Date: 2005/06/09 17:23:37 $)
Author:
Jean-Marie Burel      j.burel@dundee.ac.uk,
Andrea Falconi      a.falconi@dundee.ac.uk
See Also:
CodomainMapContext

Method Summary
 void setContext(CodomainMapContext cxt)
          Sets the parameters used to write the equation of the specified codomain transformation.
 int transform(int x)
          Performs the transformation.
 

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.


OmeroJava Api

Version: Beta-4.2.0-r7571-b29

Copyright © 2009 The University of Dundee. All Rights Reserved.