image-js
Version:
Image processing and manipulation in JavaScript
10 lines • 461 B
TypeScript
import type { Mask } from '../Mask.ts';
import type { Point } from '../utils/geometry/points.ts';
/**
* Return an array with the coordinates of the pixels that are on the border of the mask using Moore's tracing algorithm.
* The reference is the top-left corner of the ROI.
* @param mask - Mask to process.
* @returns The array of border pixels.
*/
export declare function getContourMoore(mask: Mask): Point[];
//# sourceMappingURL=getContourMoore.d.ts.map