| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectFacemorph.Powell
Facemorph.mdl.GroupwiseImageRegistration
public class GroupwiseImageRegistration
Groupwise image registration using Powell's method
| Field Summary | 
|---|
| Fields inherited from class Facemorph.Powell | 
|---|
TINY | 
| Constructor Summary | |
|---|---|
GroupwiseImageRegistration(java.util.ArrayList<java.awt.image.BufferedImage> images,
                           int pcount)
Constructor takes an array of images and a grid point resolution  | 
|
| Method Summary | |
|---|---|
 double | 
func(double[] params)
Func should be overrided to calculate the error given the parameters params  | 
 double | 
func(double[] params,
     boolean display)
Error function evaluation with optional output (to terminal)  | 
static void | 
main(java.lang.String[] args)
Main method for testing  | 
 void | 
onIteration(double[] params)
onIteration is called once per complete itrations to show the best current guess.  | 
| Methods inherited from class Facemorph.Powell | 
|---|
linmin, optimiseGA, powell, powell, spsa, spsa2 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public GroupwiseImageRegistration(java.util.ArrayList<java.awt.image.BufferedImage> images,
                                  int pcount)
images - the images to try and alignpcount - the number of control points to use| Method Detail | 
|---|
public double func(double[] params)
Powell
func in class Powellparams - the parameters to evaluate
public double func(double[] params,
                   boolean display)
params - the parameters to evaluatedisplay - should the error be output
public void onIteration(double[] params)
Powell
onIteration in class Powellparams - the current params of the model
public static void main(java.lang.String[] args)
                 throws java.io.FileNotFoundException
args - args[0] = image list file
java.io.FileNotFoundException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||