image-js
Version:
Image processing and manipulation in JavaScript
10 lines • 511 B
TypeScript
import type { ModelFunction } from 'ml-ransac';
import type { Point } from '../../geometry/index.js';
/**
* Generate a function that applies the given transformation parameters to a point.
* The transform is an array of number in the format: [angle, x, y, scale].
* @param transform - Transformation to apply.
* @returns Function to transform a point.
*/
export declare function createAffineTransformModel(transform: number[]): ModelFunction<Point>;
//# sourceMappingURL=createAffineTransformModel.d.ts.map