@FunctionalInterface public interface SolverAdapter extends java.util.function.BiFunction<References,Deltas,Solution>
There is a number of example implementations available for some popular libraries.
| Modifier and Type | Method and Description |
|---|---|
default Solution |
apply(References t,
Deltas u)
Default implementation so that this class is compatible with
BiFunction interface. |
Solution |
solve(References t,
Deltas u)
Here the actual logic for image registration calculation shall be implemented.
|
Solution solve(References t, Deltas u)
t - References = design locationsu - Deltas = deviations of actual positions to the expected design positionsSolution as a vector with the coefficients of the model, where the length of the vector depends on the size of the given design and deviation matrices.default Solution apply(References t, Deltas u)
BiFunction interface.
Internally the solve(..,..) method is called.apply in interface java.util.function.BiFunction<References,Deltas,Solution>t - References = design locationsu - Deltas = deviations of actual positions to the expected design positionsSolution as a vector with the coefficients of the model, where the length of the vector depends on the size of the given design and deviation matrices.