Facemorph.multifilter
Class OptFilter

java.lang.Object
  extended by Facemorph.multifilter.OptFilter

public class OptFilter
extends java.lang.Object

Optimal filter class (experimental + incomplete)


Constructor Summary
OptFilter(FloatImage[] images)
          Creates a new instance of Filter
 
Method Summary
 void correct(int I, float val, int X, int Y)
          Correct a particular value
 FloatImage[] getImages()
          Get the images
 void optimise(float tol)
          Optimisation method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptFilter

public OptFilter(FloatImage[] images)
Creates a new instance of Filter

Parameters:
images - the images to process
Method Detail

correct

public void correct(int I,
                    float val,
                    int X,
                    int Y)
Correct a particular value

Parameters:
I - the index
val - the value
X - x-coord
Y - y-coord

optimise

public void optimise(float tol)
Optimisation method

Parameters:
tol - the error tolerance

getImages

public FloatImage[] getImages()
Get the images

Returns:
return the array of images