UNPKG

image-js

Version:

Image processing and manipulation in JavaScript

19 lines (18 loc) 554 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = monotoneChainConvexHull; var _monotoneChainConvexHull = _interopRequireDefault(require("monotone-chain-convex-hull")); function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } /** * Returns the convex hull of a binary image * @memberof Image * @instance * @return {Array<Array<number>>} */ function monotoneChainConvexHull() { return (0, _monotoneChainConvexHull.default)(this.extendedPoints, { sorted: false }); }