Semi-automatic layout drawing generation method
Through the semi-automated layout diagram generation method, combined with physical trial layout and image recognition, the problem that existing fully automatic layout systems are difficult to adapt to complex leather characteristics is solved, high-precision layout diagram generation is achieved, and material utilization and product performance are improved.
Patent Information
- Application Number
- CN202510140868.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-08
- Publication Date
- 2025-05-27
AI Technical Summary
The existing fully automatic layout system is difficult to effectively adapt to the complex physical characteristics of leather such as natural fur, resulting in waste of materials and degradation of product performance.
The semi-automated layout diagram generation method is adopted, and the experience advantages of manual layout are transformed into reusable electronic layout diagrams through the combination of physical trial arrangement and image recognition. The outline diagram of the leather is extracted to match the electronic style database for feature matching to generate electronic layout diagrams.
It realizes accurate allocation of sample positions based on the local characteristics of the leather, improves material utilization and product performance, and balances the contradiction between traditional processes and modern digital production.
Smart Images

Figure CN120047323A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of digital processing equipment, and particularly to a semi - automated layout drawing generation method. Background Art
[0002] In factories such as clothing factories and shoe factories, automated processing equipment is generally used to cut and process the entire piece of material (such as leather, fabric, etc.), which requires pre - generating an electronic layout drawing to control the automatic operation of the processing equipment through this electronic layout drawing.
[0003] In the leather goods manufacturing field, especially in the processing of natural fur (such as sheepskin with wool), the physical property differences of the leather pose special challenges to the layout process. For example, there are significant differences in the wool length in different areas of the sheepskin surface. The long - haired area, due to its soft texture and good warmth retention, is usually used for core parts such as the inner lining of shoes; while the short - haired area, due to its higher wear resistance, is suitable for secondary parts such as the shoe tip. Such differential requirements require precise allocation of the sample positions according to the local characteristics of the leather during the layout process to ensure the functionality and aesthetics of the finished product. However, the existing fully automated layout systems are difficult to effectively adapt to such complex requirements.
[0004] Traditional fully automated layout technologies usually rely on a preset electronic sample database and achieve automatic arrangement of samples through algorithm optimization. Although such systems can improve the layout efficiency, their core defect lies in the lack of the ability to dynamically perceive the physical properties of the leather itself. Specifically, the fully automated system cannot identify unstructured features such as the distribution of wool length on the leather surface, resulting in possible misallocation of the long - haired area to secondary parts or the short - haired area occupying the core position during layout, causing material waste or a decline in product performance. In addition, the irregular shape and uneven texture distribution of natural leather further increase the decision - making complexity of the fully automated algorithm, making the automated solution relying solely on electronic sample data difficult to meet the high - precision layout requirements. Summary of the Invention
[0005] The purpose of the present invention is to provide a semi - automated layout drawing generation method that combines manual experience and digital processing technology to meet the differential layout requirements of unstructured features in different regions of the material.
[0006] To achieve the above purpose, the present invention provides a semi - automated layout drawing generation method for automated separation processing of flexible sheets. The generation method includes:
[0007] Unfolding and placing the entire flexible sheet to be processed on a support plane;
[0008] Physically laying out and trial - arranging multiple processing patterns on the flexible sheet;
[0009] Obtain a two-dimensional planar physical diagram of the flexible sheet including the physical layout;
[0010] Based on the contour processing algorithm, process the physical diagram to extract each individual contour diagram in the physical diagram;
[0011] Match the features of the extracted contour diagrams with a pre-established electronic style database to obtain a style model corresponding to each contour diagram;
[0012] According to the spatial position relationship of each processing style in the physical diagram, digitally reorganize the matched style models at the corresponding positions to generate an electronic layout diagram
[0013] Preferably, after generating the style model, establish an affine transformation matrix between the image coordinate system and the processing coordinate system, and reorganize the style model based on the affine transformation matrix to generate the electronic layout diagram.
[0014] Preferably, the method for extracting the contour diagram includes:
[0015] Perform grayscale processing and edge enhancement processing on the original physical diagram;
[0016] Adopt an adaptive threshold segmentation algorithm to extract candidate contour regions;
[0017] Extract the geometric feature parameter set of the closed contour of each candidate contour region to generate the contour diagram.
[0018] Preferably, when digitally reorganizing the matched style models at the corresponding positions, it further includes a typesetting optimization step:
[0019] Calculate the minimum interval threshold of each style model according to the material characteristic parameters of the flexible sheet;
[0020] Perform collision detection and spacing optimization on adjacent style models;
[0021] Adjust the typesetting boundary adaptively based on the edge contour of the flexible sheet;
[0022] Generate the standardized electronic layout diagram including the processing positioning reference points.
[0023] The present invention also provides a semi-automatic layout diagram generation system for automatic separation processing of flexible sheets, and the generation system includes:
[0024] A camera device for obtaining a two-dimensional planar physical diagram of the entire flexible sheet located on the support plane, in which a plurality of physical processing styles are arranged in the physical layout;
[0025] A contour extraction module, which is used to process the physical image based on a contour processing algorithm to extract each individual contour image in the physical image;
[0026] A matching module, which is used to perform feature matching on the extracted contour images with a pre-established electronic pattern database to obtain a pattern model corresponding to each contour image;
[0027] A recombination module, which is used to digitally recombine the matched pattern models at corresponding positions according to the spatial position relationship of each processing pattern in the physical image to generate an electronic layout diagram.
[0028] Preferably, the recombination module recombines the pattern models based on an affine transformation matrix to generate the electronic layout diagram, and the affine transformation matrix represents the transformation relationship between the image coordinate system and the processing coordinate system.
[0029] Preferably, the contour extraction module includes a preprocessing module, a separation module, and an extraction module;
[0030] The preprocessing module is used to perform grayscale processing and edge enhancement processing on the original physical image;
[0031] The separation module is used to extract candidate contour regions by using an adaptive threshold segmentation algorithm;
[0032] The extraction module is used to extract a set of geometric feature parameters of the closed contours of each candidate contour region to generate the contour image.
[0033] Preferably, it further includes a spacing adjustment module and a boundary adjustment module;
[0034] The spacing adjustment module is used to calculate the minimum spacing threshold of each pattern model according to the material characteristic parameters of the flexible sheet material, and perform collision detection and spacing optimization on adjacent pattern models based on the minimum spacing threshold;
[0035] The boundary adjustment module is used to perform layout boundary adaptation adjustment based on the edge contour of the flexible sheet material to generate the standardized electronic layout diagram including processing positioning reference points.
[0036] The present invention also provides a semi-automatic layout diagram generation system, which includes:
[0037] One or more processors;
[0038] A memory;
[0039] And one or more programs, wherein one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the programs include instructions for executing the semi-automatic layout diagram generation method as described above.
[0040] The present invention also provides a computer-readable storage medium, which includes a computer program that can be executed by a processor to complete the semi-automated layout drawing generation method as described above.
[0041] Compared with the prior art, the semi-automated layout drawing generation method provided by the above technical solution of the present invention combines physical trial layout and image recognition to transform the empirical advantages of manual layout into reusable electronic layout drawings. It not only retains the technical personnel's cognitive experience of material characteristics (such as hair length, texture direction, defect avoidance, etc.), but also realizes the digitization of processing technology, balancing the contradiction between traditional technology and modern digital production. It is particularly suitable for intelligent manufacturing scenarios that need to take into account material utilization rate and have different layout requirements due to unstructured features. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 It is a flowchart of the semi-automated layout drawing generation method in an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0043] In order to explain in detail the technical content, structural features, achieved objectives and effects of the present invention, the following is described in detail in conjunction with the embodiments and with reference to the accompanying drawings.
[0044] This embodiment discloses a semi-automated layout drawing generation method for automated separation processing of flexible sheets (such as leather, fabric, etc.). As Figure 1 , the generation method includes:
[0045] S1: Unfold and place the whole flexible sheet to be processed on a support plane.
[0046] S2: Manually perform physical layout trial arrangements of multiple processing patterns on the flexible sheet, so that differential arrangements can be made according to the characteristics of different regions of the flexible sheet. The processing patterns in this embodiment are samples corresponding to the structural parts required for production, such as different shoe patterns like shoe uppers and shoe tips.
[0047] S3: Obtain a two-dimensional plane physical diagram of the flexible sheet containing the physical layout through a camera device.
[0048] S4: Based on a contour processing algorithm, process the physical diagram to extract each individual contour diagram in the physical diagram, and each contour diagram corresponds to a processing pattern.
[0049] S5: Match the extracted contour diagrams with a pre-established electronic pattern database to obtain a pattern model corresponding to each contour diagram.
[0050] S6: According to the spatial position relationship of each processing pattern in the physical diagram, digitally reorganize the matching pattern models at the corresponding positions to generate an electronic layout diagram.
[0051] In this embodiment, by laying a flexible sheet, manually trial arranging, taking a physical diagram, extracting the contour, and database matching, finally generate the required electronic layout diagram.
[0052] Specifically, first, provide a pneumatic adsorption workbench (vacuum degree -80 kPa) as a support plane.
[0053] Install two groups of high-definition industrial cameras to form a 60° cross field of view, and configure a ring-shaped LED light source.
[0054] Then, flatten and fix the whole sheepskin on the workbench. The operator manually arranges 12 leather material samples such as shoe tips and back covers according to the texture direction of the leather surface, the length of wool in different areas, and the distribution of defects to form a primary layout.
[0055] Next, the two cameras synchronously acquire RGB images, and perform dual-view image fusion through calibration parameters to generate a planar unfolded diagram eliminating perspective distortion.
[0056] Then, extract each closed contour in the planar unfolded diagram to obtain a plurality of individual contour diagrams.
[0057] Next, retrieve the pre-established database containing 256 shoe patterns (storage format is DXF), and compare each contour diagram with the features of each shoe pattern in the database, and set a matching threshold (overall similarity > 92%, key area similarity > 95%) to obtain the digital pattern models corresponding to each contour diagram.
[0058] Finally, digitally reorganize the pattern models to generate an electronic layout diagram.
[0059] Through this electronic layout diagram, drive code can be generated to directly drive the cutting machine to perform a separation operation on the whole sheepskin.
[0060] The semi-automatic layout diagram generation method in this embodiment combines physical trial arrangement and image recognition, transforms the empirical advantages of manual layout into reusable electronic layout diagrams, not only retains the technical personnel's cognitive experience of material characteristics, but also realizes the digitization of processing technology, balances the contradiction between traditional technology and modern digital production, and is particularly suitable for intelligent manufacturing scenarios that need to take into account material utilization rate and have different requirements for layout due to unstructured features.
[0061] In addition, in this embodiment, a pattern model is obtained by matching the contour map with the electronic pattern in the database. While maintaining the macroscopic rationality of the manual layout, the microscopic deviation of the physical placement is corrected by the precise geometric parameters of the pattern model (average error < 0.5 mm), so that the final electronic layout diagram not only conforms to the manual experience layout but also meets the requirements of precision machining.
[0062] On the other hand, after generating the pattern model, an affine transformation matrix between the image coordinate system and the machining coordinate system is established, and the pattern model is reorganized based on the affine transformation matrix to generate the electronic layout diagram.
[0063] In this embodiment, the matched pattern model is converted into a vector file in the machining coordinate system through affine transformation. In this regard, a drive program corresponding to the machining equipment can be directly generated based on the electronic layout diagram.
[0064] On the other hand, in the above step S4, the method for extracting the contour map includes:
[0065] S40: Perform grayscale processing and edge enhancement processing on the original physical diagram;
[0066] S41: Use an adaptive threshold segmentation algorithm to extract the candidate contour region;
[0067] S42: Extract the set of geometric feature parameters of the closed contour of each candidate contour region to generate the contour map.
[0068] On yet another aspect, in the above step S6, when digitally reorganizing the matched pattern models at corresponding positions, a typesetting optimization step is further included:
[0069] S60: Considering the cutting requirements of different materials, for example, leather may require a larger spacing to avoid tearing. Therefore, calculate the minimum spacing threshold for each pattern model according to the material characteristic parameters of the flexible sheet. In this way, adjusting the spacing according to the material characteristics can prevent material deformation or damage during cutting and improve the quality of the finished product.
[0070] S61: Perform collision detection and spacing optimization on adjacent pattern models, which effectively reduces the typesetting error rate, improves the material utilization rate, and reduces costs.
[0071] S62: Adjust the typesetting boundary adaptation based on the edge contour of the flexible sheet;
[0072] S63: Generate the standardized electronic layout diagram including machining positioning reference points to ensure precise positioning during cutting.
[0073] In another preferred embodiment of the present invention, a semi-automatic layout diagram generation system for automatic separation processing of flexible sheets is also disclosed. The generation system includes:
[0074] An imaging device for obtaining a two-dimensional physical diagram of a whole flexible sheet located on a support plane, in which physical layout, a plurality of physical processing patterns are arranged;
[0075] A contour extraction module for processing the physical diagram based on a contour processing algorithm to extract individual contour diagrams in the physical diagram;
[0076] A matching module for performing feature matching on the extracted contour diagrams with a pre-established electronic pattern database to obtain a pattern model corresponding to each contour diagram;
[0077] A recombination module for digitally recombining the matched pattern models at corresponding positions according to the spatial position relationship of the processing patterns in the physical diagram to generate an electronic layout diagram.
[0078] On the other hand, the recombination module recombines the pattern models based on an affine transformation matrix to generate the electronic layout diagram, and the affine transformation matrix represents the transformation relationship between the image coordinate system and the processing coordinate system.
[0079] On the other hand, the contour extraction module includes a preprocessing module, a separation module, and an extraction module;
[0080] The preprocessing module for performing grayscale processing and edge enhancement processing on the original physical diagram;
[0081] The separation module for extracting candidate contour regions by using an adaptive threshold segmentation algorithm;
[0082] The extraction module for extracting a set of geometric feature parameters of the closed contours of each candidate contour region to generate the contour diagram.
[0083] On the other hand, the system further includes a spacing adjustment module and a boundary adjustment module;
[0084] The spacing adjustment module is used to calculate the minimum spacing threshold of each pattern model according to the material characteristic parameters of the flexible sheet, and perform collision detection and spacing optimization on adjacent pattern models based on the minimum spacing threshold;
[0085] The boundary adjustment module is used to perform layout boundary adaptation adjustment based on the edge contour of the flexible sheet to generate the standardized electronic layout diagram including processing positioning reference points.
[0086] For the working principle and working mode of the generation system in this embodiment, please refer to the above generation method, which will not be elaborated here.
[0087] The present invention also discloses another semi - automated layout diagram generation system, which includes one or more processors, a memory, and one or more programs. One or more programs are stored in the memory and are configured to be executed by the one or more processors. The programs include instructions for executing the layout diagram generation method as described above. The processor can be a general - purpose central processing unit (CPU), a microprocessor, an application - specific integrated circuit (ASIC), or one or more integrated circuits, which are used to execute relevant programs to implement the functions required by the modules in the layout diagram generation system of the embodiments of the present application, or to execute the layout diagram generation method of the method embodiments of the present application.
[0088] The present invention also discloses a computer - readable storage medium, which includes a computer program. The computer program can be executed by a processor to complete the layout diagram generation method as described above. The computer - readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that integrates one or more available media. The available medium can be a read - only memory (ROM), a random access memory (RAM), a magnetic medium, such as a floppy disk, a hard disk, a magnetic tape, a magnetic disk, or an optical medium, such as a digital versatile disc (DVD), or a semiconductor medium, such as a solid - state disk (SSD), etc.
[0089] The embodiments of the present application also disclose a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer - readable storage medium. The processor of the electronic device reads the computer instructions from the computer - readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the above - mentioned layout diagram generation method.
[0090] The above - disclosed are only the preferred embodiments of the present invention. Of course, the scope of the rights of the present invention cannot be limited thereby. Therefore, equivalent changes made according to the scope of the patent application of the present invention still fall within the scope covered by the present invention.
Claims
1. A semi-automatic layout generation method for automated separation processing of flexible sheets, characterized in that: The generation method comprises: Unfold the entire flexible sheet to be processed and place it on a supporting plane; Performing a physical layout trial arrangement of a plurality of processing patterns on the flexible sheet; Obtaining a two-dimensional plane physical image of the flexible sheet material including a physical layout; Based on a contour processing algorithm, the physical image is processed to extract individual contour images in the physical image; Performing feature matching on the extracted contour images with a pre-established electronic pattern database to obtain a pattern model corresponding to each contour image; According to the spatial position relationship of each processing style in the physical image, the matching style models are digitally reorganized at corresponding positions to generate an electronic layout drawing.
2. The semi-automatic layout generation method according to claim 1, characterized in that: After the pattern model is generated, an affine transformation matrix of the image coordinate system and the processing coordinate system is established, and the pattern model is reorganized based on the affine transformation matrix to generate the electronic typesetting diagram.
3. The semi-automatic layout generation method according to claim 1, characterized in that: The method of extracting the contour map comprises: Performing grayscale processing and edge enhancement processing on the original physical image; Adopt adaptive threshold segmentation algorithm to extract candidate contour areas; A set of geometric feature parameters of the closed contour of each candidate contour area is extracted to generate the contour map.
4. The semi-automatic layout generation method according to claim 1, characterized in that: When the matching pattern models are digitally reorganized according to the corresponding positions, the layout optimization step is also included: Calculating the minimum interval threshold of each of the pattern models according to the material characteristic parameters of the flexible sheet; Performing collision detection and spacing optimization on adjacent pattern models; Performing typesetting boundary adaptation adjustment based on the edge contour of the flexible sheet; Generate the standardized electronic layout drawing containing processing positioning reference points.
5. A semi-automatic layout generation system for automated separation of flexible sheets, characterized in that: The generation system comprises: A camera device for acquiring a two-dimensional plane physical image of the entire flexible sheet located on the support plane, including a physical layout, in which a plurality of physical processing patterns are arranged; A contour extraction module, which is used to process the physical image based on a contour processing algorithm to extract each individual contour image in the physical image; A matching module, which is used to perform feature matching between the extracted contour images and a pre-established electronic pattern database to obtain a pattern model corresponding to each contour image; The reorganization module is used to digitally reorganize the matching pattern models at corresponding positions according to the spatial position relationship of each processing pattern in the physical image to generate an electronic typesetting diagram.
6. The semi-automatic layout diagram generation system according to claim 5, characterized in that: The reorganization module reorganizes the pattern model based on an affine transformation matrix to generate the electronic typesetting diagram, and the affine transformation matrix represents the transformation relationship between the image coordinate system and the processing coordinate system.
7. The semi-automatic layout diagram generation system according to claim 5, characterized in that: The contour extraction module includes a preprocessing module, a separation module and an extraction module; The pre-processing module is used to perform grayscale processing and edge enhancement processing on the original physical image; The segmentation module is used to extract the candidate contour area by using an adaptive threshold segmentation algorithm; The extraction module is used to extract a set of geometric feature parameters of the closed contours of each candidate contour area to generate the contour map.
8. The semi-automatic layout diagram generation system according to claim 5, characterized in that: It also includes a spacing adjustment module and a boundary adjustment module; The spacing adjustment module is used to calculate the minimum spacing threshold of each of the pattern models according to the material characteristic parameters of the flexible sheet, and perform collision detection and spacing optimization on adjacent pattern models based on the minimum spacing threshold; The boundary adjustment module is used to perform layout boundary adaptation adjustment based on the edge contour of the flexible sheet material to generate the standardized electronic layout drawing containing processing positioning reference points.
9. A semi-automatic layout diagram generation system, characterized in that: include: one or more processors; Memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the programs comprising instructions for executing the semi-automatic layout diagram generation method as described in any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that: It comprises a computer program, which can be executed by a processor to complete the semi-automatic layout diagram generation method as claimed in any one of claims 1 to 4.
Citation Information
Patent Citations
Leather cutting typesetting method and system
CN104298820A
Sheet typesetting optimization method, device and system, electronic device and storage medium
CN113255692A
Automatic photographing and discharging method and device and photographing equipment
CN117025856A
Computerized typesetting correction system
US4833627A
Flexible material intelligent continuous process control method and device
WO2022036804A1