image-js
Version:
Image processing and manipulation in JavaScript
17 lines • 496 B
TypeScript
import { Mask } from '../Mask.js';
import type { Roi } from './Roi.js';
export interface GetMaskOptions {
/**
* Should the ROI holes be filled in the resulting mask?
* @default `false`
*/
solidFill?: boolean;
}
/**
* Generate a mask of an ROI.
* @param roi - The ROI to generate a mask for.
* @param options - Get mask options.
* @returns The ROI mask.
*/
export declare function getMask(roi: Roi, options?: GetMaskOptions): Mask;
//# sourceMappingURL=getMask.d.ts.map