Facemorph.oesf
Class AESF

java.lang.Object
  extended by Facemorph.oesf.AESF

public class AESF
extends java.lang.Object

Implementation of Average of Synthetic Exact Filters


Constructor Summary
AESF()
           
 
Method Summary
static FloatImage buildFilter(java.lang.String file)
          Builds an AESF
static void main(java.lang.String[] args)
          Main method used for testing
static void testFilter(java.lang.String file, FloatImage filter)
          Test the filter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AESF

public AESF()
Method Detail

buildFilter

public static FloatImage buildFilter(java.lang.String file)
                              throws java.io.FileNotFoundException,
                                     java.io.IOException
Builds an AESF

Parameters:
file - the file to build from
Returns:
return the AESF filter
Throws:
java.io.FileNotFoundException
java.io.IOException

testFilter

public static void testFilter(java.lang.String file,
                              FloatImage filter)
                       throws java.io.FileNotFoundException,
                              java.io.IOException
Test the filter

Parameters:
file - the file listing the test images + templates
filter - the filter to test
Throws:
java.io.FileNotFoundException
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws java.io.FileNotFoundException,
                        java.io.IOException
Main method used for testing

Parameters:
args - the program args - args[0] = training list file, args[1] = testing list file
Throws:
java.io.FileNotFoundException
java.io.IOException