A method and apparatus for interpolating values for a color space from an
input color value. A unit hypercube enclosing the input value is
generated based on values from a look up table. A set of boundary
conditions are then imposed on the unit hypercube. To perform the actual
interpolation, an initial barycentric projection is performed from a
selected vertex of the unit hypercube through the input value onto a
boundary of the unit hypercube. If the projection satisfies one of the
boundary conditions, an interpolated value is calculated using the
projection by back substitution. If the initial projection does not
satisfy a boundary condition, an intermediate value is generated from the
previous projection and successive barycentric projections are performed
using respectively different vertices of the unit hypercube through
intermediate values onto a boundary of the unit hypercube until a
projection satisfies one of the boundary conditions.