endrov.flowMisc
Class EvOpSpectralMix

java.lang.Object
  extended by endrov.flowMisc.EvOpSpectralMix

public class EvOpSpectralMix
extends java.lang.Object

Spectral mixing: Transform input colors by matrix. Given channels c_i, apply c'=M c for each pixel. Number of output channels need not be the same as number of input channels.
O(numPixel numInputColors numOutputColors)


Constructor Summary
EvOpSpectralMix(cern.colt.matrix.tdouble.DoubleMatrix2D m)
           
 
Method Summary
 EvPixels exec(EvPixels... p)
           
static EvPixels[] map(EvPixels[] in, cern.colt.matrix.tdouble.DoubleMatrix2D m)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvOpSpectralMix

public EvOpSpectralMix(cern.colt.matrix.tdouble.DoubleMatrix2D m)
Method Detail

exec

public EvPixels exec(EvPixels... p)

map

public static EvPixels[] map(EvPixels[] in,
                             cern.colt.matrix.tdouble.DoubleMatrix2D m)