Class AlgorithmRegVOILandmark.CostFunction
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.registration.AlgorithmRegVOILandmark.CostFunction
-
- All Implemented Interfaces:
AlgorithmOptimizeFunctionBase
- Enclosing class:
- AlgorithmRegVOILandmark
private class AlgorithmRegVOILandmark.CostFunction extends java.lang.Object implements AlgorithmOptimizeFunctionBase
CostFunction - class for specifying optimization function for AlgorithmSimplexOpt slice - current fluoroscopy slice being operated on.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
slice
DOCUMENT ME!
-
Constructor Summary
Constructors Constructor Description CostFunction()
CostFunction constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
cost(double[] x)
Cost cost = intensity sum of errors = sum_i(I[i] - I'[i]) x[] = row of p[][].double
cost(TransMatrix tMatrix)
DOCUMENT ME!double
cost(TransMatrixd tMatrix)
DOCUMENT ME!int
getCostFunction()
protected void
setSlice(int t)
DOCUMENT ME!
-
-
-
Method Detail
-
getCostFunction
public int getCostFunction()
- Specified by:
getCostFunction
in interfaceAlgorithmOptimizeFunctionBase
-
cost
public double cost(TransMatrix tMatrix)
DOCUMENT ME!- Specified by:
cost
in interfaceAlgorithmOptimizeFunctionBase
- Parameters:
tMatrix
- DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
cost
public double cost(TransMatrixd tMatrix)
DOCUMENT ME!- Specified by:
cost
in interfaceAlgorithmOptimizeFunctionBase
- Parameters:
tMatrix
- DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
cost
public double cost(double[] x)
Cost cost = intensity sum of errors = sum_i(I[i] - I'[i]) x[] = row of p[][].- Specified by:
cost
in interfaceAlgorithmOptimizeFunctionBase
- Parameters:
x
- DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
setSlice
protected void setSlice(int t)
DOCUMENT ME!- Parameters:
t
- DOCUMENT ME!
-
-