|
DGtalTools
1.2.0
|
Estimatates curvature using a binomial convolver.
Usage: curvatureBC [options] –input <fileName>
Allowed options are :
Example:
We consider as input shape the freeman chain of the DGtal/examples/sample directory. The contour can be displayed with displayContours :
The curvature can be computed as follows:
You should obtain such a result:
| contour | curvature |
|---|---|
| |
| CCW oriented (index 0=blue pt) | resulting curvature |
1.9.1