Pseudo-classic architecture colored drawing and spectrum binding method
By constructing a clustering layer in the painting automatic spectrum technology and setting up the score rules, the details of the pattern details caused by the fixed and unity of the existing technology in the existing technologies have achieved higher details of detail expressions and construction quality.
Patent Information
- Application Number
- CN202411700763.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-01-21
AI Technical Summary
In the existing automatic color painting technique, the hole position and hole spacing are fixed and unified, resulting in the pattern lacking detailed expression and pattern recognition, making it difficult to adapt to the complex and diverse painting needs.
By measuring and drawing the substrate contour, an electronic pattern map is generated, multiple clustering layers are constructed based on the characteristics of the electronic pattern map, and the first notation rules are set for each clustering layer, including hole spacing and aperture diameter. According to the clustering layer and the corresponding first notation rule, a hole position is configured for each spectrum paper area, an electronic spectrum is generated, and a laser engraving machine is used to drill holes to obtain a physical spectrum.
The performance of the pattern details is improved, the pattern recognition is enhanced, the situation of the details of the details is avoided, and the construction quality and efficiency are improved.
Smart Images

Figure CN119329209A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of ancient building decoration, and in particular to a method for tying up antique building colored paintings. Background Art
[0002] Color painting is also called Danqing. It is often used as a decorative painting on traditional Chinese buildings. The Ming and Qing Dynasty-style colored paintings on ancient Chinese buildings were mainly painted on wooden building components such as beams, column heads, and brackets.
[0003] The traditional process of painting construction includes 21 procedures such as "starting the pattern, tying the pattern, and patting the pattern", which has the disadvantages of high professionalism and long construction period. In the initial "starting the pattern" and "tying the pattern", the traditional method requires on-site measurement of the actual size of the wooden components, drawing the shape on kraft paper according to the rules and design plan, and then tying the pattern on the kraft paper into several rows of small holes. There is a lot of manual repetitive work in the construction process, which leads to problems such as high cost, low efficiency, and unstable quality of finished products.
[0004] In the prior art, for example, the invention patent with patent number CN116385590A discloses a method for automatic color drawing based on a sparse point extraction algorithm, which includes the steps of color drawing collection, line draft picking, point cloud selection, drawing and drawing, and laser dotting.
[0005] However, in the above-mentioned prior art, the hole spacing and hole diameter are fixed and uniform pre-set values, and when punching holes manually, needles with different hole diameters and different hole spacings are used according to the situation. For example, a large needle is used when punching straight lines, a medium needle is used when punching brocade patterns and curling grass patterns, and a small needle is used when punching complex patterns such as dragons, so as to better restore complex and delicate details. This is especially important for expressing exquisite traditional painted patterns, dragon patterns, curling grass patterns, etc. The above-mentioned prior art uses fixed and uniform hole spacing and hole diameters that cannot adapt to complex and diverse painting needs, and the denser painted details lack expressiveness. In addition, the fixed and uniform hole spacing and hole diameter will affect the recognition of pattern elements, making it difficult to effectively draw a complete pattern according to the hole positions during subsequent use.
[0006] Based on this, it is necessary to study a method for tying up antique architectural paintings. Summary of the invention
[0007] In view of this, the purpose of the present invention is to provide a method for tying up antique architectural paintings, which can effectively solve the problem that the hole positions and hole spacings in the existing automatic painting tying technology are fixed and uniform, resulting in a lack of detail expression and pattern recognition.
[0008] To achieve the above purpose, the technical solution adopted by the present invention is: A method for tying up antique architectural colored paintings comprises the following steps: S100: measure and draw the base contour; Clean the building base, measure and record the base contour, and generate a base contour map; S200: Generate an electronic pattern image; Select an electronic pattern, adjust the electronic pattern to match the base contour map, and obtain an electronic pattern map; S300: Clustering and stratification Based on the characteristics of the electronic pattern image, multiple clustering layers are constructed; each clustering layer is provided with a first spectrum rule, and the first spectrum rule includes a hole spacing and a hole diameter; Extracting pattern elements from the electronic pattern image, clustering the pattern elements, and storing the pattern elements in corresponding clustering layers according to the clustering results; S400: partitioning the electronic pattern image; The electronic pattern image is divided into zones to obtain a plurality of spectrum paper zones, and each spectrum paper zone is numbered; S500: generating an electronic beam spectrum; According to the clustering layer and the corresponding first spectrum rule, the hole positions are arranged layer by layer for each spectrum paper area to obtain the electronic spectrum map; S600: Generate entity spectrum diagram; Select multiple sheets of music paper, each sheet of music paper corresponds to a music paper area; According to the electronic spectrum, a laser engraving machine is used to punch holes on the same spectrum paper in sequence according to the clustering layers to obtain a physical spectrum. S700: splicing entity spectrogram; Repeat step S600 to obtain a physical spectrum diagram corresponding to each spectrum paper area; Correctly assemble the entity score diagram according to the numbers to obtain a complete entity score diagram.
[0009] Furthermore, between the steps S300 and S400, the following steps are further included: S350: analyzing the density of the electronic pattern; Each clustering layer is equally divided into multiple scoring areas in turn, the line density in each scoring area is analyzed, and according to the line density, a second scoring rule is set for each scoring area; Combine the first score-playing rule and the second score-playing rule to obtain the final score-playing rule; In the step S500, according to the final score-making rule, according to the clustering layer, the score-making area is used as a unit, and the lines in each score-making area are used as a path to allocate the hole positions layer by layer.
[0010] Furthermore, the line density is analyzed by the following method: S351: extract line contours; Preprocess the electronic pattern image, extract the line outline in the pattern, and generate a clear line structure image with uniform line width; S352: Perform local density analysis on the spectrum area; Count the number of pixels in each spectrum area and use the number of pixels as the density judgment indicator. The more pixels there are, the denser the lines are. S353: Line density grading; The number of pixels is divided into multiple density levels. The more the number of pixels, the higher the density level. Each density level corresponds to a set of second spectrum rules. Each scoring area is divided into a density level respectively, so that each scoring area obtains the corresponding second scoring rule.
[0011] Furthermore, the second spectrum rule includes a density adjustment coefficient, which includes an aperture adjustment coefficient and an aperture spacing adjustment coefficient; the higher the density level, the smaller the corresponding density adjustment coefficient; The final score-matching rule is obtained by multiplying the first score-matching rule by the density adjustment coefficient.
[0012] Furthermore, in step S300, pattern elements are identified by the following steps: S311: extract line contours; Preprocess the electronic pattern image, extract the line contours in the pattern, and generate a clear line structure image with uniform line width; S312: extracting pattern elements; Extract the interconnected and closed lines in the line structure diagram as an independent pattern element; S313: Identify pattern elements; The extracted pattern elements are compared with the standard pattern library to identify the type of element pattern.
[0013] Further, the clustering layer includes a main contour layer and a pattern element layer; In step S600, when punching holes on the same sheet of music paper in sequence according to the clustering layers, the main contour layer is punched first.
[0014] Furthermore, the size of each music paper area is smaller than or equal to the size of the music paper; The size of each sheet of music paper is smaller than or equal to the working range of the laser engraving machine; If the size of the music paper area is smaller than the size of the music paper, in step S600, the laser engraving machine cuts the corresponding music paper along the edge of the music paper area.
[0015] Furthermore, in step S600, if the spectrum paper area includes a base contour, the laser engraving machine cuts the corresponding spectrum paper along the base contour so that the outer contour of the complete physical spectrum chart fits the base shape.
[0016] Furthermore, in step S500, the boundary line of each spectrum paper area is offset and shrunk inward to obtain a hole position distribution profile, and the offset is greater than half of the maximum aperture in the first spectrum rule; When allocating hole positions, the centers of the hole positions are all distributed within the hole position distribution outline.
[0017] The beneficial effects of the above technical solution are: (1) The present invention extracts and clusters pattern elements in an electronic pattern image, stores pattern elements of the same type in the same clustering layer, and adopts the same first scoring rule, in which aperture and hole spacing are set, so that pattern elements of the same type use the same aperture and hole spacing. For example, a larger aperture and hole spacing are used for contour lines to ensure clear boundaries, save the number of punching holes, and improve punching efficiency; while a smaller aperture and hole spacing are used for curling grass patterns, so as to better restore complex and delicate detail patterns, improve the detail expression of the pattern, avoid detail loss, and improve line continuity at the details.
[0018] In addition, each pattern element uses an independent aperture and hole spacing, and the pattern in the spectrum diagram has high recognition and strong layering. In the subsequent use process, when multiple pattern elements are densely arranged, it is easier to distinguish the lines and boundaries of each pattern from the dot prints, avoid confusion in connection lines, and improve the quality of construction.
[0019] In summary, the present invention can effectively solve the problem that the hole positions and hole spacings in the existing automatic painting marking technology are fixed and unified, resulting in a lack of detail expression and pattern recognition in the pattern, and enhances the detail expression, layering and recognition of the pattern in the marking diagram, which is conducive to quickly and accurately connecting lines from dot prints during subsequent powder drawing, thereby improving construction quality.
[0020] (2) Based on the clustering layer of the electronic pattern image, the present invention further establishes the second punching rule through density analysis, so that the line-dense area of the same type of pattern elements uses a smaller aperture and a denser punching spacing, further ensuring the exquisiteness and complete expression of the detailed pattern, and using a larger aperture and hole spacing in the sparse line area to reduce the number of hole positions, which not only saves punching time, but also does not destroy the overall effect of the pattern, thereby optimizing processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 This is an electronic pattern diagram of the Song family's pomegranate ceiling painting; Figure 2A schematic diagram for dividing an electronic pattern image into several spectrum paper areas; Figure 3 It is a schematic diagram of pattern elements located in the main outline layer; Figure 4 It is a schematic diagram of an electronic pattern image located in a spectrum paper area; Figure 5 For the general Figure 4 Schematic diagram of division into multiple clustering layers; Figure 6 For Figure 5 Schematic diagram of dividing the spectrum area into a clustering layer. DETAILED DESCRIPTION
[0022] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments: Embodiment 1, this embodiment aims to provide a method for tying up antique architectural painting, which is mainly used for starting and tying up architectural painting, and aims to solve the problem that the hole positions and hole spacings in the existing automatic painting tying technology are fixed and uniform, resulting in a lack of detail expression and pattern recognition.
[0023] A method for tying up antique architectural colored paintings comprises the following steps: S100: measure and draw the base contour; Clean the building base and use the one hemp five ash ground process to treat the base. The specific treatment process is an existing technology and will not be repeated here. After the base is treated, measure and record the base outline dimensions, including the four sides and four corners of the base; based on the measurement results, use AutoCAD and other drawing software to draw the base outline in a one-to-one relationship.
[0024] S200: Generate an electronic pattern image; Select the electronic pattern, which is the electronic version of the finished pattern, mostly in DXF and other formats. Use drawing software to import the electronic pattern into the base outline map, adjust the electronic pattern to match the base outline map, and get the following Figure 1 The electronic pattern image shown, after adjustment, has a one-to-one size correspondence with the substrate.
[0025] S300: Clustering and stratification Based on the characteristics of the electronic pattern image, multiple clustering layers are constructed; specifically, the operator sets multiple clustering layers according to the types of each pattern element in the electronic pattern image. In this embodiment, the clustering layers include a pomegranate layer for storing the circular pomegranate pattern located in the center, a wave layer for storing the wave pattern surrounding the pomegranate pattern, a curling grass pattern layer for storing the curling grass pattern in the gap between the square and the central circle, a flower layer for storing decorative flowers arranged in rectangular shapes around the edges, and a main contour line layer for storing the main contour line.
[0026] Each clustering layer is set with its own first score-marking rule, which includes hole spacing and aperture. The corresponding aperture and hole spacing of the sea pomegranate layer, wave layer, curled grass pattern layer, flower layer and main contour line layer gradually increase, but the same aperture and hole spacing are used in the same clustering layer to distinguish the aperture and hole spacing from the perspective of pattern elements; a larger aperture and hole spacing are used for the contour lines to ensure clear boundaries, save the number of punching holes, and improve punching efficiency, while a smaller aperture and hole spacing are used for the sea pomegranate pattern, so as to better restore the complex and delicate details, improve the detail expression of the pattern, avoid the loss of details, and improve the continuity of the lines in the details. Each pattern element uses an independent aperture and hole spacing, and the pattern in the score-marking diagram has high recognition and strong layering. In the subsequent use process, when multiple pattern elements are densely arranged, it can be easier to distinguish the lines and boundaries of each pattern from the dot print, avoid the situation of connecting the wrong lines, and improve the quality of construction.
[0027] The operator identifies and extracts the pattern elements in the electronic pattern image, clusters the pattern elements, and stores the pattern elements in the corresponding clustering layer according to the clustering results. Figure 3-5 All main contours are extracted and stored in the main contour layer, and the same type of pattern elements are stored in the same clustering layer, so that the electronic pattern images are layered, and the electronic pattern images in each layer retain the original position characteristics, such as Figure 4 , all clustering layers are superimposed to form a complete electronic pattern image.
[0028] In this embodiment, setting the clustering layers, setting the first spectrum rules for each clustering layer, and identifying and extracting element patterns all rely on manual judgment and operation.
[0029] S400: partitioning the electronic pattern image; The electronic pattern image is divided into multiple sections, and each section is numbered. The purpose of the division is mainly to consider that the size of the one-to-one electronic pattern image is generally large, while the size of the section paper and the working range of the laser engraving machine are limited. Therefore, the electronic pattern image needs to be divided into sections. The basis of the division is mainly the working range of the laser engraving machine in actual use. The size of each section of the section paper is smaller than or equal to the size of the section paper, and the size of each section of the section paper is smaller than or equal to the working range of the laser engraving machine. Figure 2 In this embodiment, the electronic pattern image is evenly divided into a number of rectangular spectrum paper areas, and the size of the spectrum paper areas is the same as the size of the spectrum paper. In other embodiments, the electronic pattern image can also be unequally divided into multiple spectrum paper areas by manual means according to the distribution of the pattern, so as to reduce the segmentation of the element pattern and improve the continuity of the lines of the element pattern.
[0030] S500: generating an electronic beam spectrum; According to the clustering layer and the corresponding first score-making rule, the hole positions are configured layer by layer for each score paper area to generate an electronic score-making map. When configuring the hole positions, the line contours of the pattern elements in each clustering layer are used as the path, and according to the corresponding first score-making rule, that is, the set hole diameter and hole spacing, the hole positions are allocated to each clustering layer in turn. The specific method of allocating hole positions is a prior art and will not be repeated here.
[0031] When assigning the hole positions separately, the boundary lines of each score paper area are offset and shrunk inward to obtain a hole distribution contour, and the offset is greater than half of the maximum hole diameter in the first score-making rule; when allocating the hole positions, the centers of the hole positions are distributed within the hole distribution contour, thereby avoiding incomplete hole punching.
[0032] S600: Generate entity spectrum diagram; Select multiple pieces of spectrum paper, each piece of spectrum paper corresponds to a spectrum paper area, and use a laser engraving machine to punch holes in the electronic spectrum map according to the electronic spectrum map. When punching, punch holes on the same corresponding piece of spectrum paper in sequence according to the clustering layers. For example, when punching the main contour line layer, all holes located in the spectrum paper area and in the main contour line layer are punched at one time, and then the holes located in other clustering layers are punched in sequence, thereby reducing the frequency of adjusting the punching diameter of the laser engraving machine.
[0033] In this embodiment, when punching holes on the same sheet of music paper in sequence according to the clustering layers, the main contour line layer is punched first to ensure the formation of clear and complete main contour lines and boundary lines.
[0034] S700: splicing entity spectrogram; Repeat step S600 to obtain the physical score diagram corresponding to each score paper area, and correctly splice the physical score diagram according to the number to obtain a complete physical score diagram.
[0035] The entity score drawing is mainly used for subsequent score drawing and powder drawing processes. Score drawing refers to spreading the entity score drawing along the center line and tightly attaching it to the surface of the base, and patting the entity score drawing with a powder bag to leave dot prints on the base; after patting, gently lift up the entity score drawing, and a score pattern formed by dot prints will be left on the base. Powder drawing mainly refers to connecting the dot prints with a double-pointed powder tube to obtain a painted line drawing on the base. Each pattern element adopts an independent aperture and hole spacing. The pattern in the score drawing has high recognition and strong layering. In the subsequent use process, when multiple pattern elements are densely arranged, it can be easier to distinguish the lines and boundaries of each pattern from the dot prints, avoid connecting the wrong lines, and improve the quality of construction.
[0036] Embodiment 2. In this embodiment, by further establishing a second punching rule through density analysis based on clustering the electronic pattern image, a smaller aperture and a denser punching spacing are used in the line-dense area of the same type of pattern elements, and a larger aperture and hole spacing are used in the sparse area of the lines.
[0037] In this embodiment, between step S300 and step S400, there is also a step S350: analyzing the density of the electronic pattern. Figure 6 , each clustering layer is equally divided into multiple scoring areas in turn to make them grid-like; the line density in each scoring area is analyzed, and according to the line density, a second scoring rule is set for each scoring area; the first scoring rule and the second scoring rule are combined to obtain the final scoring rule.
[0038] Specifically, the line density is analyzed by the following method: S351: extract line contours; The electronic pattern image is preprocessed to extract the line contours in the pattern, and a clear line structure image with uniform line width is generated; image preprocessing and extracting the line contours in the pattern are prior arts and will not be described in detail here. Figure 1 As shown, electronic patterns mainly use electronic graphics with consistent line thickness to facilitate subsequent processing.
[0039] S352: Perform local density analysis on the spectrum area; The number of pixels in each scoring area is counted, and the number of pixels is used as the density judgment indicator. Since the lines are of the same thickness, the more pixels there are in a single scoring area, the denser the lines are.
[0040] S353: Line density grading; The number of pixels is divided into multiple density levels. The more the number of pixels, the higher the density level. Each density level corresponds to a set of second spectrum rules. Each scoring area is divided into a density level respectively, so that each scoring area obtains the corresponding second scoring rule.
[0041] In this embodiment, the second spectrum rule is the density adjustment coefficient, which includes the aperture adjustment coefficient and the hole spacing adjustment coefficient; the higher the density level, the smaller the corresponding density adjustment coefficient. In this embodiment, the density is divided into three intervals of low, medium and high, thereby obtaining three density levels of low, medium and high, and the corresponding density adjustment coefficients are 1.1, 1.0 and 0.9 respectively, so that the denser the area, the smaller the aperture and hole spacing.
[0042] The final punching rule is obtained by multiplying the first punching rule by the density adjustment coefficient. The second punching rule is mainly used to fine-tune the first one according to the line density, so that the line-dense area of the same type of pattern elements uses a smaller aperture and a denser punching spacing, further ensuring the exquisiteness and complete expression of the detailed pattern, and using a larger aperture and hole spacing in the sparse line area to reduce the number of holes, which not only saves punching time, but also does not destroy the overall effect of the pattern, thereby optimizing processing efficiency.
[0043] In other embodiments, the second notation rule may further include specific preset apertures and inter-hole spacings, but the apertures and inter-hole spacings are smaller than those of the first notation rule. The final notation rule is obtained by combining the first notation rule with the second notation rule. The combination may be achieved through a weighting method, wherein the higher the density level, the greater the weight of the second notation rule, so that the denser the area, the smaller the aperture and inter-hole spacing.
[0044] When allocating hole positions in step S500 in Example 1, hole positions are allocated layer by layer according to the final scoring rule, according to the clustering layer, with the scoring area as the unit and the lines in each scoring area as the path.
[0045] Embodiment 3: This embodiment is basically the same as Embodiment 1, except that in step S300, pattern elements are identified by the following steps: S311: extract line contours; The electronic pattern image is preprocessed to extract the line contours in the pattern, and a clear line structure image with uniform line width is generated; image preprocessing and extraction of line contours in the pattern are existing technologies and will not be described in detail here.
[0046] S312: extracting pattern elements; Extracting interconnected and closed lines in the line structure diagram as an independent pattern element can be based on a connected domain analysis algorithm, a contour tracing algorithm, etc. In fact, the principle is mainly the existing technology and will not be repeated here.
[0047] S313: Identify pattern elements; The extracted pattern elements are compared with the standard pattern library to identify the type of element pattern. The comparison algorithm can use a shape matching algorithm to compare the extracted pattern element contours with the shape contours in the standard pattern library, and determine whether the pattern element matches a certain standard pattern based on similarity calculation.
[0048] In this embodiment, taking into account the particularity of the painted patterns of antique buildings, an algorithm model is used to replace manual identification and extraction of pattern elements to simplify the operation. In actual use, manual correction and deep learning models can also be combined to further improve the recognition accuracy.
[0049] In the above embodiments, the size of the music paper area is the same as the size of the music paper. In other embodiments, if the size of the music paper area is smaller than the size of the music paper, in step S600, the laser engraving machine cuts the corresponding music paper along the edge of the music paper area so that the cut music paper corresponds to the size of the music paper area.
[0050] In the above embodiments, the score paper has a one-to-one correspondence with the base outline size after splicing. In other embodiments, the score paper is larger than the electronic pattern image after splicing, such as components such as brackets with irregular edge contours. In this case, the score paper is further cut according to the base outline. Specifically, if the score paper area includes the base outline, the laser engraving machine cuts the corresponding score paper along the base outline so that the outer contour of the complete physical score image matches the base shape.
Claims
1. A method for tying up antique architectural colored paintings, characterized in that: The following steps are involved: S100: measure and draw the base contour; Clean the building base, measure and record the base contour, and generate a base contour map; S200: Generate an electronic pattern image; Select an electronic pattern, adjust the electronic pattern to match the base contour map, and obtain an electronic pattern map; S300: Clustering and stratification Based on the characteristics of the electronic pattern image, multiple clustering layers are constructed; each clustering layer is provided with a first spectrum rule, and the first spectrum rule includes a hole spacing and a hole diameter; Extracting pattern elements from the electronic pattern image, clustering the pattern elements, and storing the pattern elements in corresponding clustering layers according to the clustering results; S400: partitioning the electronic pattern image; The electronic pattern image is divided into zones to obtain a plurality of spectrum paper zones, and each spectrum paper zone is numbered; S500: generating an electronic beam spectrum; According to the clustering layer and the corresponding first spectrum rule, the hole positions are arranged layer by layer for each spectrum paper area to obtain the electronic spectrum map; S600: Generate entity spectrum diagram; Select multiple sheets of music paper, each sheet of music paper corresponds to a music paper area; According to the electronic spectrum, a laser engraving machine is used to punch holes on the same spectrum paper in sequence according to the clustering layers to obtain a physical spectrum. S700: splicing entity spectrogram; Repeat step S600 to obtain a physical spectrum diagram corresponding to each spectrum paper area; Correctly assemble the entity score diagram according to the numbers to obtain a complete entity score diagram.
2. The method for making a pattern of antique architectural painting according to claim 1, characterized in that: Between the steps S300 and S400, the method further includes the following steps: S350: analyzing the density of the electronic pattern; Each clustering layer is equally divided into multiple scoring areas in turn, the line density in each scoring area is analyzed, and according to the line density, a second scoring rule is set for each scoring area; Combine the first notation rule and the second notation rule to obtain the final notation rule for each notation area; In the step S500, according to the final score-making rule, according to the clustering layer, the score-making area is used as a unit, and the lines in each score-making area are used as a path to allocate the hole positions layer by layer.
3. A method for making a pattern of antique architectural painting according to claim 2, characterized in that: The line density is analyzed by the following method: S351: extract line contours; Preprocess the electronic pattern image, extract the line outline in the pattern, and generate a clear line structure image with uniform line width; S352: Perform local density analysis on the spectrum area; Count the number of pixels in each spectrum area and use the number of pixels as the density judgment indicator. The more pixels there are, the denser the lines are. S353: Line density grading; The number of pixels is divided into multiple density levels. The more the number of pixels, the higher the density level. Each density level corresponds to a set of second spectrum rules. Each scoring area is divided into a density level respectively, so that each scoring area obtains the corresponding second scoring rule.
4. A method for making a pattern of antique architectural painting according to claim 3, characterized in that: The second spectrum rule includes a density adjustment coefficient, which includes an aperture adjustment coefficient and an aperture spacing adjustment coefficient; the higher the density level, the smaller the corresponding density adjustment coefficient; The final score-matching rule is obtained by multiplying the first score-matching rule by the density adjustment coefficient.
5. A method for tying up antique architectural colored paintings according to any one of claims 1 to 4, characterized in that: In the step S300, pattern elements are identified through the following steps: S311: extract line contours; Preprocess the electronic pattern image, extract the line outline in the pattern, and generate a clear line structure image with uniform line width; S312: extracting pattern elements; Extract the interconnected and closed lines in the line structure diagram as an independent pattern element; S313: Identify pattern elements; The extracted pattern elements are compared with the standard pattern library to identify the type of element pattern.
6. A method for arranging antique architectural colored paintings according to any one of claims 1 to 4, characterized in that: The clustering layer includes a main contour layer and a pattern element layer; In step S600, when punching holes on the same sheet of music paper in sequence according to the clustering layers, the main contour layer is punched first.
7. A method for arranging antique architectural colored paintings according to any one of claims 1 to 4, characterized in that: The size of each music paper area is smaller than or equal to the size of the music paper; The size of each sheet of music paper is smaller than or equal to the working range of the laser engraving machine; If the size of the music paper area is smaller than the size of the music paper, in step S600, the laser engraving machine cuts the corresponding music paper along the edge of the music paper area.
8. A method for arranging antique architectural colored paintings according to any one of claims 1 to 4, characterized in that: In step S600, if the spectrum paper area includes a base contour, the laser engraving machine cuts the corresponding spectrum paper along the base contour so that the outer contour of the complete physical spectrum chart fits the base shape.
9. A method for arranging antique architectural colored paintings according to any one of claims 1 to 4, characterized in that: In step S500, the boundary line of each spectrum paper area is offset and shrunk inward to obtain a hole position distribution contour, and the offset is greater than half of the maximum aperture in the first spectrum rule; When allocating hole positions, the centers of the hole positions are all distributed within the hole position distribution outline.
Citation Information
Patent Citations
Colored drawing automatic spectrum binding method based on sparse point extraction algorithm
CN116385590A