image-js
Version:
Image processing and manipulation in JavaScript
11 lines • 524 B
TypeScript
import type { Image } from '../../Image.js';
import type { Point } from '../../geometry/index.js';
/**
* Check that a point is not too close to the border of the image.
* @param image - Image to process.
* @param point - The interest point.
* @param distance - The minimum distance to the border required.
* @returns Whether the point is far enough from the border.
*/
export declare function checkBorderDistance(image: Image, point: Point, distance: number): boolean;
//# sourceMappingURL=checkBorderDistance.d.ts.map