Compute the area between the warping function and the diagonal (no-warping) path, in unit steps.

1 | ```
warpArea(d)
``` |

`d` |
an object of class |

Above- and below- diagonal unit areas all count *plus* one (they
do not cancel with each other). The "diagonal" goes from one corner to
the other of the possibly rectangular cost matrix, therefore having a
slope of `M/N`

, not 1, as in `slantedBandWindow`

.

The computation is approximate: points having multiple correspondences are averaged, and points without a match are interpolated. Therefore, the area can be fractionary.

The area, not normalized by path length or else.

There could be alternative definitions to the area, including considering the envelope of the path.

Toni Giorgino

1 2 3 4 5 6 7 8 9 10 11 12 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.