image-js
Version:
Image processing and manipulation in JavaScript
10 lines • 492 B
TypeScript
import type { Point } from '../../geometry/index.js';
/**
* The fit function for an affine transformation.
* Get the best transformation parameters for the given source and destination.
* @param source - Source points.
* @param destination - Destination points.
* @returns The model parameters in the format [angle, xTranslation, yTranslation]
*/
export declare function affineFitFunction(source: Point[], destination: Point[]): number[];
//# sourceMappingURL=affineFitFunction.d.ts.map