Search

CN-121981873-A - Tile type area cutting path correction method and system based on context prediction

CN121981873ACN 121981873 ACN121981873 ACN 121981873ACN-121981873-A

Abstract

The invention discloses a tile type area cutting path correction method and system based on context prediction, and relates to the technical field of path correction; the method comprises the steps of preprocessing a reference mark point and a scanning mark point recorded in a preset context manager through space coordinates, carrying out missing mark point prediction compensation based on a parallelogram geometric rule, constructing a target quadrangle and a source quadrangle, associating the target quadrangle and the source quadrangle of each space position, generating tile units, determining a local transformation matrix corresponding to each tile unit, correcting key point coordinates on a cutting path according to the local transformation matrix corresponding to each tile unit to obtain target point coordinates, and determining the cutting path according to all corrected target point coordinates. The problem that high-precision cutting path correction can still be realized under the condition of limited addition of large-breadth non-uniform deformation and mark points is solved.

Inventors

  • ZHOU LUSHAN

Assignees

  • 合肥熠峰达电子科技有限公司

Dates

Publication Date
20260505
Application Date
20251229

Claims (10)

  1. 1. A method of correcting a tile-type region cutting path based on context prediction, the method comprising: Preprocessing a reference mark point and a scanning mark point recorded in a preset context manager through space coordinates, and performing missing mark point prediction compensation based on a parallelogram geometric rule to obtain a compensation reference mark point and a compensation scanning mark point; Constructing a target quadrangle according to the compensation reference mark points and the reference mark points; correlating the target quadrangle and the source quadrangle of each spatial position, generating tile units, and determining a local transformation matrix corresponding to each tile unit; And correcting the coordinates of the key points on the cutting path according to the local transformation matrix corresponding to each tile unit to obtain coordinates of the target points, and determining the cutting path according to all corrected coordinates of the target points.
  2. 2. The tile-type area cutting path correction method based on context prediction according to claim 1, wherein before preprocessing the fiducial marker points and the scan marker points recorded in the preset context manager by the spatial coordinates, comprising: establishing a space coordinate system on the target printing file, and synchronizing the space coordinate system on the cutting material corresponding to the target printing file; Auxiliary marking points are arranged at the first section and the last section of the target printing file in the horizontal direction, and segmentation marking points are arranged in the vertical direction; Actually scanning physical marking points on the corresponding cutting material of the target printing file to obtain scanning marking points; the reference mark point and the scanning mark point are associated according to coordinates and recorded into a context manager.
  3. 3. The tile-type area cutting path correction method based on context prediction according to claim 2, wherein the preprocessing of the reference mark points and the scanning mark points recorded in the preset context manager through the space coordinates and the prediction compensation of the missing mark points based on the parallelogram geometry rules to obtain the compensation reference mark points and the compensation scanning mark points comprises the following steps: Aligning and sorting the reference mark points and the scanning mark points according to the space coordinates by a preset sorting rule, and removing the sorted abnormal outliers by a3 sigma principle to obtain effective reference mark points and effective scanning mark points; And multiplexing the first-segment auxiliary marking point and the vertical-direction segmentation marking point aiming at the middle-segment non-marking point area, and carrying out missing marking point prediction compensation by combining with a parallelogram geometric rule to obtain a complete compensation reference marking point and a compensation scanning marking point.
  4. 4. The method of claim 2, wherein associating the target quadrangle and the source quadrangle for each spatial location and generating tile units, determining the local transformation matrix corresponding to each tile unit comprises: building a tile element with each target quadrilateral; for each tile unit, extracting 4 vertex coordinates of the associated target quadrangle and 4 vertex coordinates of the source quadrangle; Based on the perspective transformation principle from quadrangle to quadrangle, substituting 4 groups of vertex coordinates into a transformation formula to obtain a linear equation set; and solving the linear equation set through determinant calculation and matrix inversion to obtain matrix parameters as a local transformation matrix of the tile unit.
  5. 5. The method for correcting a cutting path of a tile-type region based on context prediction according to claim 1, wherein correcting coordinates of a key point on the cutting path according to a local transformation matrix corresponding to each tile unit to obtain coordinates of a target point comprises: acquiring key point coordinates on a cutting path, and determining a local transformation matrix corresponding to the tile unit to which the key point coordinates belong according to the key point coordinates; acquiring a transformation matrix mean value of a neighboring tile unit of the tile unit to which the local transformation matrix belongs, and correcting the local transformation matrix to obtain an optimal local transformation matrix; performing secondary correction on the optimal local transformation matrix based on global context information to obtain a target correction transformation matrix; and correcting the coordinates of the key points according to the target correction transformation matrix to obtain coordinates of the target points.
  6. 6. A context prediction based tile cut path correction system, the system comprising: The missing mark point prediction module is used for preprocessing the reference mark points and the scanning mark points recorded in the preset context manager through space coordinates, and performing missing mark point prediction compensation based on the parallelogram geometric rules to obtain compensation reference mark points and compensation scanning mark points; The quadrangle construction module is used for constructing a target quadrangle according to the compensation reference mark points and the reference mark points; The local transformation matrix determining module is used for correlating the target quadrangle and the source quadrangle of each spatial position, generating tile units and determining a local transformation matrix corresponding to each tile unit; And the cutting path determining module is used for correcting the coordinates of the key points on the cutting path according to the local transformation matrix corresponding to each tile unit to obtain the coordinates of the target points, and determining the cutting path according to all the corrected coordinates of the target points.
  7. 7. A context-based method as recited in claim 6a predicted tile area cutting path correction system, characterized in that the system further comprises: The space coordinate system establishing module is used for establishing a space coordinate system on the target printing file and synchronizing the space coordinate system on the cutting material corresponding to the target printing file; The reference mark point generation module is used for setting auxiliary mark points in the first section and the last section of the target print file in the horizontal direction and setting segmentation mark points in the vertical direction, wherein the auxiliary mark points and the segmentation mark points are marked as reference mark points; the scanning mark point generation module is used for actually scanning physical mark points on the cutting material corresponding to the target printing file to obtain scanning mark points; And the marking point association module is used for associating the reference marking point and the scanning marking point according to coordinates and recording the coordinates to the context manager.
  8. 8. The context prediction based tile area cutting path correction system of claim 7, wherein the missing marker point prediction module comprises: The effective marking point determining module is used for carrying out alignment ordering on the reference marking points and the scanning marking points according to the space coordinates and a preset ordering rule, and removing the ordered abnormal outliers through a 3 sigma principle to obtain effective reference marking points and effective scanning marking points; The missing mark point prediction compensation module is used for multiplexing the first-segment auxiliary mark point and the vertical-direction segmentation mark point aiming at the middle-segment non-mark point area, and carrying out missing mark point prediction compensation by combining with the parallelogram geometric rule to obtain a complete compensation reference mark point and a compensation scanning mark point.
  9. 9. The context prediction based tile region cut path correction system of claim 7, wherein the local transform matrix determination module comprises: a tile element construction module for constructing tile elements with each target quadrilateral; The vertex coordinate determining module is used for extracting 4 vertex coordinates of the associated target quadrangle and 4 vertex coordinates of the source quadrangle for each tile unit; The linear equation set determining module is used for substituting 4 sets of vertex coordinates into a transformation formula to obtain a linear equation set based on a perspective transformation principle from quadrangle to quadrangle; And the local transformation matrix generation module is used for solving the linear equation set through determinant calculation and matrix inversion to obtain matrix parameters as a local transformation matrix of the tile unit.
  10. 10. The context prediction based tile area cutting path correction system of claim 6, wherein the cutting path determination module comprises: The tile unit determining module is used for acquiring the coordinates of key points on the cutting path and determining a local transformation matrix corresponding to the tile unit to which the tile unit belongs according to the coordinates of the key points; The optimal local transformation matrix determining module is used for obtaining the transformation matrix mean value of the adjacent tile units of the tile unit to which the optimal local transformation matrix determining module belongs and correcting the local transformation matrix to obtain an optimal local transformation matrix; The target correction transformation matrix determining module is used for carrying out secondary correction on the optimal local transformation matrix based on global context information to obtain a target correction transformation matrix; And the key point coordinate correction module is used for correcting the key point coordinate according to the target correction transformation matrix to obtain a target point coordinate.

Description

Tile type area cutting path correction method and system based on context prediction Technical Field The invention belongs to the technical field of path correction, and particularly relates to a tile type area cutting path correction method and system based on context prediction. Background In the field of industrial numerical control cutting (such as large-format processing equipment of a carving machine, a laser cutting machine, a vibrating cutter cutting machine and the like), the cutting precision of a digital printing finished product directly depends on the accuracy of material positioning, and the core of the numerical control cutting device is that the coordinate alignment of a cutting path and a printing pattern is realized through mark point matching. In the prior art, a fixed mark point perspective transformation method is mainly adopted for material positioning and path calibration, and a typical scheme is that 4 mark points are selected as positioning references, the actual coordinates of the mark points are obtained through scanning, and a global transformation matrix is calculated after the actual coordinates are matched with theoretical coordinates, so that the whole cutting path is corrected. The method can meet basic calibration requirements in application scenes with the width smaller than 1m multiplied by 1m, but has the technical defects that on one hand, large-width materials are easy to generate non-uniform deformation due to self characteristics or mechanical errors of printing equipment, a global single transformation matrix cannot adapt to deformation differences of local areas, so that calibration accuracy is obviously reduced in edge areas and middle areas, pattern dislocation, irregular edges and the like of cut finished products are easy to occur, on the other hand, the middle areas of large-width printed finished products are generally fully distributed with effective printing information, positioning mark points cannot be additionally added due to the limitation of a printing process, the existing calibration method depends on uniform coverage of all-area mark points, positioning errors of mark-free point areas cannot be effectively compensated, and the cutting quality of the whole-width surfaces is further reduced. In addition, part of improvement technology tries to improve precision through an array type marking point layout or image splicing method, but has obvious limitations that the array type marking points are distributed by adopting a regular grid and cannot be adapted to a scene where marking points cannot be added in an intermediate area, the image splicing technology only focuses on coordinate alignment of an image processing layer, compensation of material deformation and mechanical errors is not associated, path breakage easily occurs at a cross-region splicing position, a multiplexing mechanism of marking point context information is not constructed, and accurate positioning prediction of a marking point-free area cannot be realized. CN113050666a discloses a depth and longitudinal decoupling control method and system of an autonomous underwater vehicle, which are based on model predictive control, so that the depth and the longitudinal are decoupled, the calculation efficiency is greatly improved, the calculation load is reduced, and the real-time performance of control is remarkably improved, but the scheme is only suitable for small format, and the problems of non-uniform deformation of large format and limited addition of mark points are not solved; In conclusion, the problem of correcting a high-precision cutting path under the double constraint of large-format non-uniform deformation and the addition of mark points is difficult to solve in the prior art, so that the processing quality and the application range of large-format numerical control cutting equipment are severely limited. Disclosure of Invention The invention aims to solve the problem that the prior art is difficult to solve the problem of high-precision cutting path correction under the double constraint of large-format non-uniform deformation and mark point addition limitation, and provides a tile-type area cutting path correction method and system based on context prediction. In a first aspect of the present invention, there is first provided a method for correcting a tile-type region cutting path based on context prediction, the method comprising: Preprocessing a reference mark point and a scanning mark point recorded in a preset context manager through space coordinates, and performing missing mark point prediction compensation based on a parallelogram geometric rule to obtain a compensation reference mark point and a compensation scanning mark point; Constructing a target quadrangle according to the compensation reference mark points and the reference mark points; correlating the target quadrangle and the source quadrangle of each spatial position, generating tile units, and determining