|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectFacemorph.MDL
public class MDL
Initial attempt at minimum description length coding
| Constructor Summary | |
|---|---|
MDL(java.lang.String listFile,
int w,
int h,
Mask mask,
double var)
Creates a new instance of MDL |
|
| Method Summary | |
|---|---|
void |
buildModel(int i)
Rebuild the PCA model leaving one image out |
void |
optimise(int i)
Optimise image i using the current model using Powell's method |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MDL(java.lang.String listFile,
int w,
int h,
Mask mask,
double var)
listFile - List of images and templates to matchw - the model image widthmask - the mask to usevar - the variance to explain??h - the model image height| Method Detail |
|---|
public void buildModel(int i)
i - The index of the image to leave out of the model this iterationpublic void optimise(int i)
i - the index of the image to optimise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||