| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - type of specificity test (usually an image of template type)public interface SpecificityTest<T>
Generic specificity testing interface
| Method Summary | |
|---|---|
 double | 
calculateError(T t1,
               T t2)
Calculates the error between two Ts  | 
 double[] | 
calculateSpecificity(int comps,
                     int trials)
Calculates the specitivity of the model  | 
 double | 
findMinError(T testT)
Find the minimum error from the set of Ts  | 
 T | 
makeRandom(int comps)
Makes a random T from the model  | 
| Method Detail | 
|---|
T makeRandom(int comps)
comps - the number of model components to use
double calculateError(T t1,
                      T t2)
t1 - first Tt2 - second T
double findMinError(T testT)
                    throws java.io.IOException
testT - the test template
java.io.IOException - may be thrown if data is read
double[] calculateSpecificity(int comps,
                              int trials)
                              throws java.io.IOException
comps - the number of model components to usetrials - the number of trials to performs
java.io.IOException - may be thrown if data is read
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||