|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectFacemorph.aam.MultiscaleOpenGLAAM
public class MultiscaleOpenGLAAM
Multiscale AAM with Opengl warping
| Constructor Summary | |
|---|---|
MultiscaleOpenGLAAM(Mask mask,
ASM asm,
PCI pci,
int type)
Creates a new instance of MultiscaleAAM |
|
MultiscaleOpenGLAAM(Mask mask,
ASM asm,
PCI pci,
int type,
javax.media.opengl.GLAutoDrawable canvas)
Creates a new instance of MultiscaleAAM |
|
| Method Summary | |
|---|---|
Template |
fitAAM(java.awt.Image subject,
Template template)
Fit the AAM to an image |
Template |
fitAAM(java.awt.Image subject,
Template template,
int maxIts,
int maxLoops,
int start)
Fit the AAM to an image |
static void |
main(java.lang.String[] args)
Main method for testing |
void |
setGLAutoDrawable(javax.media.opengl.GLAutoDrawable drawable)
Set the opengl context |
void |
test(java.lang.String imageList,
java.lang.String resultsFile,
java.lang.String outDir)
Test this AAM |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiscaleOpenGLAAM(Mask mask,
ASM asm,
PCI pci,
int type)
mask - the mask to useasm - the PCA shape model to usepci - the image PCA data to usetype - the type of AAM algorithm to use
public MultiscaleOpenGLAAM(Mask mask,
ASM asm,
PCI pci,
int type,
javax.media.opengl.GLAutoDrawable canvas)
mask - the mask to useasm - the PCA shape model to usepci - the image PCA data to usetype - the type of AAM algorithm to usecanvas - the opengl canvas to use| Method Detail |
|---|
public void setGLAutoDrawable(javax.media.opengl.GLAutoDrawable drawable)
drawable - the opengl context to use
public Template fitAAM(java.awt.Image subject,
Template template)
subject - the image to fit totemplate - the initial template
public Template fitAAM(java.awt.Image subject,
Template template,
int maxIts,
int maxLoops,
int start)
subject - the image to fit totemplate - the initial templatemaxIts - the maximum number of iterations per loopmaxLoops - the max number of loops per levelstart - the start output counter (for debugging output)
public static void main(java.lang.String[] args)
args - the input args
public void test(java.lang.String imageList,
java.lang.String resultsFile,
java.lang.String outDir)
imageList - list of images to test onresultsFile - the output results fileoutDir - the output folder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||