image-js
Version:
Image processing and manipulation in JavaScript
11 lines • 549 B
TypeScript
import type { Mask } from '../Mask.ts';
import type { GetBorderPointsOptions } from './maskAnalysis.types.ts';
export type GetExternalContourOptions = Omit<GetBorderPointsOptions, 'innerBorers'>;
/**
* Finds external contour of the mask.
* @param mask - Mask to find contours from.
* @param options - GetExternalContourOptions.
* @returns Array of contour points.
*/
export declare function getExternalContour(mask: Mask, options?: GetExternalContourOptions): import("../index_full.ts").Point[];
//# sourceMappingURL=getExternalContour.d.ts.map