A method, apparatus, system, and medium for die-stretching and shape measurement
By acquiring and processing molding images in real time, identifying positioning patterns, and calculating plate spacing and deformation changes, the real-time and accuracy issues of plate stretching and deformation measurement in laser molding production are solved, thereby improving production efficiency and yield.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHONGQING KEZHITUO VISION TECH CO LTD
- Filing Date
- 2023-07-26
- Publication Date
- 2026-06-19
AI Technical Summary
In the laser molding process, existing technologies make it difficult to measure the stretching and deformation of the printing plate in real time and accurately, resulting in misregistration and waste of raw materials.
By acquiring full-width molding images in real time during the molding process, the positioning pattern in the standard image of the laser film is obtained, matched, identified, and compared. The changes in plate spacing stretching and lateral deformation are calculated. Imaging is performed using an LED light source and a line-scanning CCD camera. Combined with image preprocessing and segmentation, a measurement coordinate system is established for precise measurement.
It enables real-time and accurate measurement of molding stretching and deformation, improves production efficiency, reduces product scrap rate, and provides quantitative data for automated correction control.
Smart Images

Figure CN116883481B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of machine vision technology, and in particular to a method, apparatus, system and medium for measuring molding stretching and deformation. Background Technology
[0002] Holographic positioning laser film (paper) is increasingly becoming the preferred material for high-end packaging such as cigarette packaging, electronic product packaging, cosmetic packaging, pharmaceutical packaging, and food packaging due to its aesthetic appeal and high-end quality. During laser molding production, PET material is affected by objective factors such as hot pressing, cooling and shaping, the stability of the printing roller temperature, the stability of the cooling roller, and thickness uniformity. This inevitably leads to plate spacing stretching and plate distortion, resulting in misregistration in subsequent printing and waste of raw materials.
[0003] Therefore, in the laser molding production process, it is particularly important to measure the changes in printing distance stretching and deformation in real time, accurately and effectively, in order to achieve automatic closed-loop control of printing distance and deformation correction and thus minimize the product scrap rate. Summary of the Invention
[0004] In view of the shortcomings of the prior art, the purpose of the present invention is to provide a method, device, system and medium for measuring molding tension and deformation, which aims to achieve real-time and accurate measurement of molding tension and deformation.
[0005] The technical solution of the present invention is as follows:
[0006] A method for measuring compression molding tension and deformation includes:
[0007] Real-time acquisition of full-width molding images during the molding process;
[0008] Obtain a preset standard image of a laser film, wherein a positioning pattern is present at a specified position in the standard image of the laser film;
[0009] The standard image of the laser film is matched and identified with the full-width molded image to identify the position to be measured of the positioning pattern in the full-width molded image;
[0010] The position of the positioning pattern to be tested in the full-width molded image is compared with the specified position in the standard laser film image in a preset direction.
[0011] Based on the comparison results in the preset direction, the changes in plate spacing and lateral deformation during the current molding process are obtained.
[0012] In one embodiment, after acquiring the full-width molding image during the real-time molding process, the method further includes:
[0013] The full-width molded image is preprocessed and segmented.
[0014] In one embodiment, before acquiring a preset laser film standard image, wherein a positioning pattern is present at a designated location in the laser film standard image, the method further includes:
[0015] After adding the corresponding positioning pattern at the designated position of the pattern to be molded, the standard image of the laser film is acquired.
[0016] In one embodiment, before acquiring a preset laser film standard image, wherein a positioning pattern is present at a designated location in the laser film standard image, the method further includes:
[0017] The pattern that meets the preset contour features at a specified position in the pattern to be molded is used as the positioning pattern, and the standard image of the laser film is acquired.
[0018] In one embodiment, matching and identifying the laser film standard image with the full-width molded image to identify the position to be measured of the positioning pattern in the full-width molded image includes:
[0019] Create a shape matching template based on the positioning pattern in the standard image of the laser film;
[0020] The full-width molded image is matched and identified using the shape matching template to determine the position of the best matching area in the full-width molded image, which is then used as the position to be tested.
[0021] In one embodiment, the step of comparing the position to be measured of the positioning pattern in the full-width molded image with a specified position in the standard laser film image in a preset direction includes:
[0022] Based on a preset coordinate strategy, a measurement coordinate system and a standard coordinate system are established according to the location to be measured and the specified location, respectively.
[0023] Calculate the measurement coordinates of the position to be measured in the measurement coordinate system, and the standard coordinates of the specified position in the standard coordinate system;
[0024] The measured coordinates are compared with the standard coordinates in both the vertical and horizontal directions to obtain the vertical deviation value and the horizontal deviation value.
[0025] In one embodiment, obtaining the change in plate spacing and the change in lateral deformation during the current molding process based on the comparison results in a preset direction specifically includes:
[0026] The vertical deviation value is used as the change in spacing during the current molding process;
[0027] The horizontal deviation value is used as the amount of lateral deformation change in the current molding process.
[0028] A device for measuring compression molding tension and deformation, comprising:
[0029] The acquisition module is used to acquire full-width molding images in real time during the molding process;
[0030] A standard acquisition module is used to acquire a preset standard image of a laser film, wherein a positioning pattern is present at a specified position in the standard image of the laser film;
[0031] The matching and recognition module is used to match and recognize the standard image of the laser film with the full-width molding image, and to identify the position to be tested of the positioning pattern in the full-width molding image;
[0032] The position comparison module is used to compare the position to be tested of the positioning pattern in the full-width molding image with the specified position in the standard laser film image in a preset direction.
[0033] The results output module is used to obtain the change in plate spacing and the change in lateral deformation during the current molding process based on the comparison results in the preset direction.
[0034] A molding tension and deformation measurement system, the system comprising at least one processor; and,
[0035] A memory communicatively connected to the at least one processor; wherein,
[0036] The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the above-described molding stretching and deformation measurement method.
[0037] A non-volatile computer-readable storage medium storing computer-executable instructions that, when executed by one or more processors, cause the one or more processors to perform the above-described molding stretching and deformation measurement method.
[0038] Beneficial effects: This invention discloses a method, device, system and medium for measuring molding stretching and deformation. Compared with the prior art, the embodiments of this invention obtain real-time molding images of holographic laser film during the molding process and identify the position of the positioning pattern therein. Based on the positional changes of the positioning pattern in the real-time image and the standard image, the amount of stretching and deformation is obtained, which effectively improves the real-time performance and accuracy of plate spacing stretching and deformation measurement. Attached Figure Description
[0039] The present invention will be further described below with reference to the accompanying drawings and embodiments. In the accompanying drawings:
[0040] Figure 1 A flowchart of a molding stretching and deformation measurement method provided in an embodiment of the present invention;
[0041] Figure 2 This is a schematic diagram of the distribution of a positioning pattern in the molding stretching and deformation measurement method provided in an embodiment of the present invention;
[0042] Figure 3 This is a schematic diagram of the functional modules of the molding, stretching and deformation measuring device provided in an embodiment of the present invention;
[0043] Figure 4 This is a schematic diagram of the hardware structure of the molding, stretching and deformation measurement system provided in an embodiment of the present invention. Detailed Implementation
[0044] To make the objectives, technical solutions, and effects of this invention clearer and more explicit, the invention is further described in detail below. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. The embodiments of the invention are described below in conjunction with the accompanying drawings.
[0045] Please see Figure 1 , Figure 1 This is a flowchart of one embodiment of the molding, stretching, and deformation measurement method provided by the present invention. Figure 1 As shown, the method specifically includes the following steps:
[0046] S100: Real-time acquisition of full-width molding images during the molding process.
[0047] In this embodiment, an imaging and acquisition system installed on the molding machine frame is used to acquire images of the holographic laser film in real time across the entire area during the molding process. This enables real-time acquisition of full-area molding images during the molding process, providing a real-time object to be tested for molding stretching and deformation measurement. This allows for timely measurement of molding stretching and deformation based on the real-time acquisition results, ensuring the real-time nature of the measurement.
[0048] Specifically, the imaging and acquisition system includes at least an LED light source, a line-scanning CCD camera, and an image acquisition card. The LED light source is located at the winding tail of the molding machine frame and below the laser product being measured. This LED light source comprises a lamp housing, an LED lamp, and a diffuser plate; specifically, it is a two-dimensional LED light source with special structured light (approximately a long-distance parallel beam of light). The line-scanning CCD camera is fixed on the molding machine frame above the LED light source and aligned with its center. After acquiring the image of the holographic positioning laser film's molding surface using a high-performance line-scanning CCD camera, the image acquisition card transmits the image data to an image workstation for subsequent image processing. Imaging the laser product during the molding process using a two-dimensional LED light source and a line-scanning CCD camera provides a uniform light field and reduces reflections from the holographic pattern's light pillars, resulting in clear and interference-free holographic patterns on the laser product, especially the customized positioning marker patterns, ensuring measurement accuracy.
[0049] In practical implementation, a 16K high-resolution line scan camera and a two-dimensional LED light source are preferred. The distance between the two-dimensional LED light source and the back of the holographic laser film is 20mm-40mm, with an angle of 10°-30° between the light source and the film, and an angle of 5°-15° between the camera lens plane and the surface of the holographic laser film. For a standard 950-pixel wide holographic laser film, the imaging efficiency is achieved as follows: vertical: 0.06mm / p (pixel), horizontal: 0.06mm / p (pixel). This imaging scheme has the following advantages:
[0050] 1) Line scan CCD cameras are suitable for photographing high-speed, wide-area objects during the molding process of holographic laser films;
[0051] 2) Line scan CCD cameras have high resolution and high dynamic range, which can obtain high quality and high imaging accuracy images, thus enabling high measurement accuracy;
[0052] 3) Using a two-dimensional LED light source (approximately a parallel beam of light from a distance) can reduce the grayscale difference between bright and dark stripes in the holographic laser film.
[0053] Because it performs continuous, 100% width imaging of the entire molding pattern, the acquired full-width molding image can also be used to detect defects in the appearance of holographic laser films. By acquiring an image at the same time, molding stretching and deformation measurement and defect detection can be achieved simultaneously, further improving production efficiency.
[0054] In one embodiment, after step S100, the method further includes:
[0055] The full-width molded image is preprocessed and segmented.
[0056] In this embodiment, the acquired full-frame molding images undergo further image preprocessing and segmentation to improve image quality and facilitate more accurate molding stretching and deformation measurements. Specific image preprocessing includes frame reconstruction, sample cropping, image enhancement, and median filtering of continuous image data. Segmentation specifically refers to foreground pattern extraction from the image, which can employ methods such as adaptive histogram segmentation or other methods with similar segmentation effects.
[0057] S200. Obtain a preset standard image of a laser film, wherein a positioning pattern is present at a specified position in the standard image of the laser film.
[0058] In this embodiment, a standard image of the laser film is pre-acquired and saved before molding. This standard image contains positioning patterns at designated locations. These positioning patterns are used to determine whether stretching exists between the printing plates and whether lateral deformation occurs during molding. The shape, number, and position of the specific positioning patterns can be flexibly adjusted according to the requirements of the printing plate pattern; this embodiment does not limit this. Therefore, during molding, the pre-set standard image of the laser film is acquired as a standard reference for measuring molding stretching and deformation.
[0059] In one embodiment, prior to step S200, the method further includes:
[0060] After adding the corresponding positioning pattern at the designated position of the pattern to be molded, the standard image of the laser film is acquired.
[0061] In this embodiment, to overcome the uncertainty of the plate pattern and the difficulty in positioning and recognition caused by the change of the laser pattern's light column, a corresponding positioning pattern can be added to a designated position on the plate pattern to be molded. For example... Figure 2 As shown, six positioning patterns 22 are distributed around the pattern 21. The shape of each positioning pattern 22 is a circle enclosing a cross. The six positioning patterns are respectively located at the lower left, lower center, lower right, upper left, upper center, and upper right of the pattern. This large pattern is captured as the standard image for the laser film. Subsequently, during the holographic laser film molding process, the pattern 21 and the positioning patterns 22 are simultaneously transferred to the PET material by molding. By surrounding the pattern and distributing them evenly, if the pattern undergoes changes in spacing or local deformation, the positional changes of these six positioning patterns can be used to measure the changes in spacing and distortion during molding to the greatest extent.
[0062] In one embodiment, prior to step S200, the method further includes:
[0063] The pattern that meets the preset contour features at a specified position in the pattern to be molded is used as the positioning pattern, and the standard image of the laser film is acquired.
[0064] In this embodiment, if the product's pattern does not have blank spaces for adding positioning patterns, or if the end customer's requirements do not allow for additional positioning patterns, a pattern satisfying preset contour features is directly selected from a designated location in the pattern to be molded as the positioning pattern, and this large pattern is captured as the standard image of the laser film. Similarly, the designated location can be the lower left, lower center, lower right, upper left, upper center, or upper right position to surround the pattern. The specific preset contour features refer to text or pattern features with a grayscale contrast greater than 20 gray levels between the pattern and the background, and with left, right, upper, and lower edges. This allows for accurate identification of clearly defined positioning patterns from the entire pattern during subsequent recognition and measurement, improving the accuracy of positioning recognition. By selecting clearly defined feature patterns as positioning patterns from existing pattern layouts, the positioning of the pattern can still be achieved even when additional specific positioning patterns cannot be added to the molding plate, thus broadening the applicability of molding stretching and deformation measurement.
[0065] S300. Match and identify the standard image of the laser film with the full-width molded image to identify the position to be measured of the positioning pattern in the full-width molded image.
[0066] In this embodiment, the standard image of the laser film is used as the matching standard and matched with the real-time acquired full-width molding image to identify the position to be measured of the positioning pattern in the full-width molding image during the actual molding process. The position to be measured, which represents the position information of the whole pattern, is used to accurately and quantitatively evaluate and measure the change in the printing plate distance and the distortion deformation of the molding process.
[0067] In one embodiment, step S300 includes:
[0068] Create a shape matching template based on the positioning pattern in the standard image of the laser film;
[0069] The full-width molded image is matched and identified using the shape matching template to determine the position of the best matching area in the full-width molded image, which is then used as the position to be tested.
[0070] In this embodiment, shape-based template matching is used to identify and determine the position of the positioning pattern in the full-frame molding image. Specifically, after acquiring the standard image of the laser film, a shape matching template is created based on the positioning pattern within it. For example, taking six positioning patterns as an example, a rectangular selection tool can be used on the standard laser film image to select six positioning markers, thereby obtaining the ROI (region of interest) of the matching template image. After creating the template, a shape matching recognition algorithm is used to perform positioning pattern matching and recognition on the images acquired in real time during the laser film molding process based on the shape matching template, determining the position of the best matching area, which is the position to be measured for the positioning pattern in the full-frame molding image. When the shape matching recognition algorithm searches for the best matching area, the detection image area (i.e., the full-frame molding image) and the template handle are input into the search operator. After finding an object (i.e., the positioning pattern) similar to the shape matching model, the matching score, coordinates, and rotation angle are obtained, thereby achieving accurate identification and position detection of the positioning pattern in the full-frame molding image. After the matching recognition is completed, the current shape matching template can be cleared and memory resources can be released, saving memory usage.
[0071] This embodiment employs a shape-based matching method to create a matching template for pattern recognition from a standard image of the laser film. Using this template, the gradient correlation of object edges is used as the matching criterion to locate objects similar to the template in the real-time acquired full-frame embossing image. This matching method uses edge features to locate objects, making it insensitive to many interference factors. It can adapt to changes in lighting, occlusion, size, position, and rotation of the positioning pattern, even relative distortions or local edge defects in the positioning pattern. It is easy to use, highly robust, and flexible. Furthermore, this matching method has only a few parameters, which are automatically determined in most cases, offering significant advantages in target recognition on holographic laser patterns, including high positioning accuracy and strong anti-interference capabilities.
[0072] S400: Compare the position to be tested of the positioning pattern in the full-width molded image with the specified position in the standard laser film image in a preset direction.
[0073] In this embodiment, based on the matching and recognition results, the position of the positioning pattern in the full-width molding image during the actual molding process is obtained. This position is then compared with a specified position in the standard laser film image in a preset direction. If there is no stretching or torsional deformation during the molding process, the position of the positioning pattern in the real-time acquired image will be consistent with the position of the positioning pattern in the standard image; otherwise, the position of the positioning pattern will be offset. Therefore, by comparing the positions of the positioning pattern in the two images, the positional change of the actual pattern in the preset direction during the molding process can be accurately obtained, thereby quantifying and evaluating the stretching and torsional deformation during the molding process.
[0074] In one embodiment, step S400 includes:
[0075] Based on a preset coordinate strategy, a measurement coordinate system and a standard coordinate system are established according to the location to be measured and the specified location, respectively.
[0076] Calculate the measurement coordinates of the position to be measured in the measurement coordinate system, and the standard coordinates of the specified position in the standard coordinate system;
[0077] The measured coordinates are compared with the standard coordinates in both the vertical and horizontal directions to obtain the vertical deviation value and the horizontal deviation value.
[0078] In this embodiment, using the same preset coordinate strategy, a measurement coordinate system and a standard coordinate system are established based on the position to be measured of the positioning pattern in the real-time acquired image and the specified position distribution of the positioning pattern in the standard image. Specifically, taking the positioning patterns distributed in six positions on the page pattern (lower right, lower left, lower center, upper right, upper center, and upper left) as an example, for the positioning patterns identified in the full-page image, the six positioning patterns are first labeled as positioning mark 1, positioning mark 2, positioning mark 3, positioning mark 4, positioning mark 5, and positioning mark 6, respectively. Based on the position to be measured of the six positioning marks, the position of positioning mark 1 is used as the origin, and the line connecting positioning mark 1 and positioning mark 3 is used as the X-axis to establish the measurement coordinate system. Similarly, a standard coordinate system is established in the same way for the specified positions of the positioning patterns in the standard image of the laser film. This unified coordinate system facilitates accurate measurement of the changes in stretching and deformation. The measurement coordinate system established by taking positioning mark 1 as the origin and the line connecting positioning mark 1 and positioning mark 3 as the X-axis can overcome the influence caused by the non-perpendicular movement direction of the molding plate and the measurement imaging system relative to the membrane.
[0079] After establishing the coordinate system, the measured coordinates of the position to be measured in the measurement coordinate system and the standard coordinates of the specified position in the standard coordinate system are calculated. Specifically, the Y-coordinates of the six positioning marks in the measurement coordinate system are obtained by calculating the vertical distance from each of the six positioning marks to the X-axis; while the X-coordinates of the six positioning marks are obtained by first calculating the projection points of the six positioning marks on the X-axis, and then calculating the distance between the projection points and the coordinate origin, i.e., positioning mark 1, thus obtaining the positions of the six positioning marks in the established measurement coordinate system. The same coordinate calculation method can be used to obtain the standard coordinates of the six positioning marks in the same coordinate system in the standard image of the laser film. Therefore, the measured coordinates of each positioning mark are compared with the standard coordinates in the vertical and horizontal directions to obtain the vertical deviation value and the horizontal deviation value, that is, the changes in the X and Y directions.
[0080] This embodiment employs a 6-point positioning measurement method, establishing a measurement coordinate system with the line connecting positioning mark 1 and positioning mark 3 as the X-axis and positioning mark 1 as the origin. The positions of the 6 positioning points in this coordinate system are then calculated. Based on the position changes of these points in the real-time acquired image, not only can the magnitude of the change in plate distance be measured, but also the degree of deformation of the plate pattern can be measured. At the same time, this method can also overcome measurement errors caused by factors such as the installation of the molding roller and the imaging system.
[0081] S500. Based on the comparison results in the preset direction, the amount of change in plate spacing and the amount of change in lateral deformation in the current molding process are obtained.
[0082] In this embodiment, based on the comparison results in a preset direction, the changes in the printing gap stretch and the changes in the lateral deformation during the current molding process can be obtained. Specifically, the vertical deviation value is used as the change in the printing gap stretch during the current molding process; the horizontal deviation value is used as the change in the lateral deformation during the current molding process. That is, by comparing the position of the positioning mark in the measurement coordinate system with its position in the standard coordinate system, the changes in the X and Y directions are obtained. The change in the Y direction represents the change in the printing gap stretch of each positioning mark; the change in the X direction represents the change in the lateral deformation. This achieves real-time, accurate, and high-precision measurement of the printing gap stretch and torsional deformation, providing quantitative data for the automatic correction control of the printing gap stretch and deformation torsion, making automated correction control possible, and thus effectively improving the quality control and yield of the molding and lamination of holographic positioning laser film.
[0083] Preferably, when the change in printing distance stretching or lateral deformation exceeds the preset deviation range, an alarm message is output to remind production staff to check and adjust in a timely manner. Furthermore, the changes can be displayed in real time through a visual interface, making the measurement data intuitive and efficient, providing strong on-site production guidance. This allows production staff to adjust molding parameters or other molding influencing factors promptly based on the real-time, intuitive measurement results, minimizing product scrap rates.
[0084] Another embodiment of the present invention provides a device for measuring molding tension and deformation, such as... Figure 3 As shown, device 1 includes:
[0085] Acquisition module 11 is used to acquire full-width molding images in real time during the molding process;
[0086] The standard acquisition module 12 is used to acquire a preset standard image of a laser film, wherein a positioning pattern is present at a specified position in the standard image of the laser film.
[0087] The matching and recognition module 13 is used to match and recognize the standard image of the laser film with the full-width molding image, and to identify the position to be tested of the positioning pattern in the full-width molding image;
[0088] The position comparison module 14 is used to compare the position to be tested of the positioning pattern in the full-width molding image with the specified position in the standard laser film image in a preset direction.
[0089] The result output module 15 is used to obtain the change in plate spacing and the change in lateral deformation during the current molding process based on the comparison results in the preset direction.
[0090] The module referred to in this invention is a series of computer program instruction segments that can perform specific functions. It is more suitable than a program for describing the execution process of molding, stretching and deformation measurement. For specific implementation methods of each module, please refer to the corresponding method embodiments above, which will not be repeated here.
[0091] Another embodiment of the present invention provides a molding tension and deformation measurement system, such as Figure 4 As shown, system 10 includes:
[0092] One or more processors 110 and memory 120, Figure 4 The following description uses a processor 110 as an example. The processor 110 and the memory 120 can be connected via a bus or other means. Figure 4 Taking the example of a connection between China and Israel via a bus.
[0093] Processor 110 is used to perform various control logics of system 10, and can be a general-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), microcontroller, ARM (Acorn RISC Machine) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. Furthermore, processor 110 can also be any conventional processor, microprocessor, or state machine. Processor 110 can also be implemented as a combination of computing devices, such as a combination of DSP and microprocessor, multiple microprocessors, one or more microprocessors combined with DSP and / or any other such configuration.
[0094] The memory 120, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions corresponding to the molding, stretching, and deformation measurement method in the embodiments of the present invention. The processor 110 executes various functional applications and data processing of the system 10 by running the non-volatile software programs, instructions, and units stored in the memory 120, thereby realizing the molding, stretching, and deformation measurement method in the above-described method embodiments.
[0095] The memory 120 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created according to the use of the system 10. Furthermore, the memory 120 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 120 may optionally include memory remotely located relative to the processor 110, and these remote memories may be connected to the system 10 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0096] One or more units are stored in memory 120, and when executed by one or more processors 110, they perform the molding stretching and deformation measurement method in any of the above method embodiments, for example, performing the above-described method. Figure 1 The method steps S100 to S500.
[0097] This invention provides a non-volatile computer-readable storage medium storing computer-executable instructions that are executed by one or more processors, for example, to perform the operations described above. Figure 1 The method steps S100 to S500.
[0098] As examples, non-volatile storage media can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) as external cache memory. By way of illustration and not limitation, RAM can be obtained in many forms such as synchronous RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct Rambus RAM (DRRAM). The memory components or memories disclosed in the operating environment described herein are intended to include one or more of these and / or any other suitable types of memory.
[0099] In summary, the present invention discloses a method, apparatus, system, and medium for measuring molding stretching and deformation. The method involves real-time acquisition of a full-width molding image during the molding process; obtaining a preset standard image of a laser film, in which a positioning pattern is located at a designated position; matching and identifying the laser film standard image with the full-width molding image to determine the position to be measured of the positioning pattern in the full-width molding image; comparing the position to be measured of the positioning pattern in the full-width molding image with its designated position in the laser film standard image in a preset direction; and obtaining the change in plate spacing stretching and lateral deformation during the current molding process based on the comparison result in the preset direction. By acquiring real-time molding images of the holographic laser film during the molding process and identifying the position of the positioning pattern within them, and obtaining the changes in stretching and deformation based on the positional changes of the positioning pattern in the real-time image and the standard image, the real-time performance and accuracy of plate spacing stretching and deformation measurement are effectively improved.
[0100] Of course, those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware (such as a processor, controller, etc.). The computer program can be stored in a non-volatile, computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The storage medium can be a memory, magnetic disk, floppy disk, flash memory, optical storage, etc.
[0101] It should be understood that the application of the present invention is not limited to the examples above. Those skilled in the art can make improvements or modifications based on the above description, and all such improvements and modifications should fall within the protection scope of the appended claims.
Claims
1. A method of press-drawing and measuring the deformation, characterized in that, include: Real-time acquisition of full-width molding images of holographic laser film during the molding process; The pattern that meets the preset contour features at a specified position in the pattern to be molded is used as the positioning pattern, and the standard image of the laser film is acquired; the specified position is the lower left, lower center, lower right, upper left, upper center and upper right position, so as to surround the pattern; The preset outline features refer to text or pattern features with a grayscale contrast between the pattern and the background greater than 20 grayscale levels and having left, right, top, and bottom edges. The standard image of the laser film is matched and identified with the full-width molded image to identify the position to be measured of the positioning pattern in the full-width molded image; The position of the positioning pattern to be tested in the full-width molded image is compared with the specified position in the standard laser film image in a preset direction. Based on the comparison results in the preset direction, the changes in plate spacing and lateral deformation in the current molding process are obtained. The step of matching and recognizing the standard image of the laser film with the full-width molded image, and identifying the position to be measured of the positioning pattern in the full-width molded image, includes: Create a shape matching template based on the positioning pattern in the standard image of the laser film; A shape matching recognition algorithm is used to match and recognize the positioning pattern of the full-size molded image according to the shape matching template, and the position of the best matching area in the full-size molded image is determined as the position to be tested; The method employs a shape matching recognition algorithm to perform pattern matching and recognition on the full-width molded image based on the shape matching template, thereby determining the position of the optimal matching region in the full-width molded image as the position to be tested. Specifically: Based on the shape matching template, the gradient correlation of the object edge is used as the matching standard. After searching for objects similar to the shape matching model in the full-size molded image, the matching score, coordinates and rotation angle are obtained, thereby locating objects similar to the template in the real-time acquired full-size molded image.
2. The method of press stretch and set measurement of claim 1, wherein, After acquiring full-width molding images during the real-time molding process, the method further includes: The full-width molded image is preprocessed and segmented.
3. The method of press stretch and set measurement of claim 1, wherein, The step of comparing the position to be measured in the full-width molded image with a specified position in the standard laser film image in a preset direction includes: Based on a preset coordinate strategy, a measurement coordinate system and a standard coordinate system are established according to the location to be measured and the specified location, respectively. Calculate the measurement coordinates of the position to be measured in the measurement coordinate system, and the standard coordinates of the specified position in the standard coordinate system; The measured coordinates are compared with the standard coordinates in both the vertical and horizontal directions to obtain the vertical deviation value and the horizontal deviation value.
4. The method of press stretch and set measurement of claim 3, wherein, The step of obtaining the change in plate spacing and the change in lateral deformation during the current molding process based on the comparison results in a preset direction specifically includes: The vertical deviation value is used as the change in spacing during the current molding process; The horizontal deviation value is used as the amount of lateral deformation change in the current molding process.
5. A press-draw and deformation measuring device characterized by, include: The acquisition module is used to acquire full-width molding images of the holographic laser film in real time during the molding process; The standard acquisition module is used to acquire the standard image of the laser film by taking the pattern that meets the preset contour features at a specified position in the pattern of the plate to be molded as the positioning pattern; the specified position is the lower left, lower center, lower right, upper left, upper center and upper right position, so as to surround the plate pattern; The preset outline features refer to text or pattern features with a grayscale contrast between the pattern and the background greater than 20 grayscale levels and having left, right, top, and bottom edges. The matching and recognition module is used to match and recognize the standard image of the laser film with the full-width molding image, and to identify the position to be tested of the positioning pattern in the full-width molding image; The position comparison module is used to compare the position to be tested of the positioning pattern in the full-width molding image with the specified position in the standard laser film image in a preset direction. The result output module is used to obtain the change in plate spacing and the change in lateral deformation during the current molding process based on the comparison results in the preset direction. The step of matching and recognizing the standard image of the laser film with the full-width molded image, and identifying the position to be measured of the positioning pattern in the full-width molded image, includes: Create a shape matching template based on the positioning pattern in the standard image of the laser film; A shape matching recognition algorithm is used to match and recognize the positioning pattern of the full-size molded image according to the shape matching template, and the position of the best matching area in the full-size molded image is determined as the position to be tested; The method employs a shape matching recognition algorithm to perform pattern matching and recognition on the full-width molded image based on the shape matching template, thereby determining the position of the optimal matching region in the full-width molded image as the position to be tested. Specifically: Based on the shape matching template, the gradient correlation of the object's edge is used as the matching standard. After searching for objects similar to the shape matching model in the full-size molded image, the matching score, coordinates and rotation angle are obtained, thereby locating objects similar to the template in the real-time acquired full-size molded image.
6. A press-draw and shape measurement system characterized by, The system includes at least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the molding stretching and deformation measurement method according to any one of claims 1-4.
7. A non-transitory computer readable storage medium, comprising: The non-volatile computer-readable storage medium stores computer-executable instructions that, when executed by one or more processors, cause the one or more processors to perform the molding stretching and deformation measurement method according to any one of claims 1-4.