|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Facemorph.aam.MultiscaleAAM
public class MultiscaleAAM
Multiscale AAM implementation
Constructor Summary | |
---|---|
MultiscaleAAM(Mask mask,
ASM asm,
PCI pci,
int type,
int warpType)
Creates a new instance of MultiscaleAAM |
Method Summary | |
---|---|
Template |
fitAAM(java.awt.Image subject,
Template template)
Fit a multiscale AAM |
Template |
fitAAM(java.awt.Image subject,
Template template,
int maxIts,
int maxLoops,
int start)
Fit a multiscale AAM |
static void |
main(java.lang.String[] args)
Main method for testing |
void |
test(java.lang.String imageList,
java.lang.String resultsFile,
java.lang.String outDir)
Test the multiscale AAM |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiscaleAAM(Mask mask, ASM asm, PCI pci, int type, int warpType)
mask
- Mask to useasm
- the active shape model (PCA shape model)pci
- the image PCA modeltype
- the type of AAM algorithmwarpType
- the type of warp to useWarp.createWarp(int, int, int, int, int, boolean)
Method Detail |
---|
public Template fitAAM(java.awt.Image subject, Template template)
subject
- the image to fit totemplate
- the template to use
public Template fitAAM(java.awt.Image subject, Template template, int maxIts, int maxLoops, int start)
subject
- the image to fit totemplate
- the template to usemaxIts
- the maximum iterations to use per loopmaxLoops
- the maximum loops to use per scalestart
- the starting counter (for debug output)
public static void main(java.lang.String[] args)
args
- the argspublic void test(java.lang.String imageList, java.lang.String resultsFile, java.lang.String outDir)
imageList
- the list of images to testresultsFile
- the output fileoutDir
- the output directory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |