Facemorph.mdl
Class TemplateErrorTest

java.lang.Object
  extended by Facemorph.mdl.TemplateErrorTest

public class TemplateErrorTest
extends java.lang.Object

Calculates the errors between two sets of Templates (one usually the ground truth)


Constructor Summary
TemplateErrorTest()
           
 
Method Summary
static void main(java.lang.String[] args)
          Main method runs the tests
static java.util.ArrayList<java.lang.String> readTemplateNames(java.lang.String fileName)
          Read the names of the Templates
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateErrorTest

public TemplateErrorTest()
Method Detail

readTemplateNames

public static java.util.ArrayList<java.lang.String> readTemplateNames(java.lang.String fileName)
                                                               throws java.io.FileNotFoundException
Read the names of the Templates

Parameters:
fileName - the name of the list file
Returns:
return the names of the Templates
Throws:
java.io.FileNotFoundException

main

public static void main(java.lang.String[] args)
                 throws java.io.FileNotFoundException,
                        java.io.IOException
Main method runs the tests

Parameters:
args - args[0] = ground truth list file, args[1] = test list file, args[2] = output data file, args[3]= image of correct size
Throws:
java.io.FileNotFoundException
java.io.IOException