image-js
Version:
Image processing and manipulation in JavaScript
11 lines • 558 B
TypeScript
import type { Image } from '../../Image.js';
import type { GetColorsOptions } from '../featureMatching.types.js';
/**
* Generate an array of colors to draw the keypoints depending on their score or the matches depending on the distance.
* @param image - The source image.
* @param baseColor - The desired shade for the colors.
* @param options - Get score colors options.
* @returns Array of colors.
*/
export declare function getColors(image: Image, baseColor: number[], options?: GetColorsOptions): number[][];
//# sourceMappingURL=getColors.d.ts.map