public class DP
extends java.lang.Object
| Constructor and Description |
|---|
DP(double[] img,
int width,
int height,
java.awt.geom.Point2D[] extremities,
double lambda,
boolean dark) |
| Modifier and Type | Method and Description |
|---|---|
java.awt.geom.Point2D[] |
computePaths()
Function to call.
|
Curve |
dp(boolean debug)
Dynamic programming.
|
public DP(double[] img, int width, int height, java.awt.geom.Point2D[] extremities, double lambda, boolean dark)
public java.awt.geom.Point2D[] computePaths()
public Curve dp(boolean debug)