image-js
Version:
Image processing and manipulation in JavaScript
11 lines • 496 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
* external border of the mask using Theo Pavlidis's tracing algorithm.
* The reference is the top-left corner of the ROI.
* @param mask - Mask to process.
* @returns The array of external border pixels.
*/
export declare function getContourPavlidis(mask: Mask): Point[];
//# sourceMappingURL=getContourPavlidis.d.ts.map