image-js
Version:
Image processing and manipulation in JavaScript
12 lines • 581 B
TypeScript
import type { Mask } from '../Mask.js';
import type { Point } from '../utils/geometry/points.js';
import type { GetBorderPointsOptions } from './maskAnalysis.types.js';
/**
* Return an array with the coordinates of the pixels that are on the border of the mask.
* The reference is the top-left corner of the ROI.
* @param mask - Mask to process.
* @param options - Get border points options.
* @returns The array of border pixels.
*/
export declare function getBorderPoints(mask: Mask, options?: GetBorderPointsOptions): Point[];
//# sourceMappingURL=getBorderPoints.d.ts.map