image-js
Version:
Image processing and manipulation in JavaScript
21 lines • 611 B
TypeScript
import type { Brief } from '../getBriefDescriptors.js';
export interface SliceBriefOptions {
/**
* Start index.
* @default `0`
*/
start?: number;
/**
* End index.
* @default `brief.keypoints.length`
*/
end?: number;
}
/**
* Slice a Brief to keep only the desired keypoints and the corresponding descriptors.
* @param brief - Brief to process.
* @param options - Slice Brief options.
* @returns The desired keypoints + descriptors.
*/
export declare function sliceBrief(brief: Brief, options?: SliceBriefOptions): Brief;
//# sourceMappingURL=sliceBrief.d.ts.map