|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFacemorph.Powell
Facemorph.mdl.GroupwiseImageRegistrationLinear
public class GroupwiseImageRegistrationLinear
Linear Groupwise registration class
Field Summary |
---|
Fields inherited from class Facemorph.Powell |
---|
fittnessMemo, kNN, memo, TINY |
Constructor Summary | |
---|---|
GroupwiseImageRegistrationLinear(java.util.ArrayList<java.awt.image.BufferedImage> images,
int pcount)
Constructor for GroupwiseImageRegistrationLinear |
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 GroupwiseImageRegistrationLinear(java.util.ArrayList<java.awt.image.BufferedImage> images, int pcount)
images
- the images to alignpcount
- the point countMethod Detail |
---|
public double func(double[] params)
Powell
func
in class Powell
params
- 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 Powell
params
- the current params of the modelpublic static void main(java.lang.String[] args) throws java.io.FileNotFoundException
args
- args = list of images for aligning
java.io.FileNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |