Automatic design method, device, electronic device and storage medium for jade carving
By detecting the physical characteristics and defect data of jade raw materials, an accurate engraving design data set is generated, which solves the problem that jade carving design relies on manual experience and improves the engraving efficiency and quality.
Patent Information
- Application Number
- CN202510681504.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-26
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2045-05-26
AI Technical Summary
Jade carving design relies heavily on the personal experience of the sculptor, resulting in uneven levels of the work and making it difficult to form a unified and objective aesthetic order.
By detecting the physical feature set of jade raw materials, obtaining defect data, combining raw material grades and engraving image data sets, an accurate engraving design data set is generated, and the engraving process is optimized.
A comprehensive and accurate evaluation of jade raw materials has been achieved, the engraving process has been optimized, the engraving efficiency and quality have been improved, and the accuracy of the engraving process has been ensured.
Smart Images

Figure CN120197402B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of carving design, and in particular to an automatic design method, device, electronic device and storage medium for jade carving. Background Art
[0002] The design of a jade carving undoubtedly plays a crucial role in its value. It profoundly influences the artistic value and market acceptance of the finished product. Natural jade, as a natural product, often has irregular shapes and a variety of unpredictable imperfections, such as unevenly dispersed cotton-like impurities, cracks, and subtle variations in color and transparency. These factors invisibly reduce the economic value of the jade raw material.
[0003] Excellent carving design can cleverly circumvent flaws in the raw material, transforming adverse natural conditions into unique elements within the work. Through meticulous layout and skillful carving, flaws in the jade can be concealed and transformed into highlights. For example, utilizing cotton-like impurities within the jade, through carving techniques of varying depths, adds a sense of layering to the work, thereby enhancing the product's value.
[0004] However, current jade carving design practices are highly dependent on the carver's individual carving experience, artistic appreciation, and immediate creativity. Each carver's aesthetic level and understanding of the characteristics of the raw materials vary, resulting in varying parameters in the carvings, making it difficult to establish a unified, objective aesthetic order. Summary of the Invention
[0005] In view of this, the present application provides an automatic design method, device, electronic device and storage medium for jade carving to solve the problem of uneven level parameters of jade carving works caused by low degree of automation in jade carving design.
[0006] A first aspect of the present application provides an automatic design method for jade carving, the method comprising:
[0007] Detecting a set of physical characteristics of jade raw materials in a target area, and determining a raw material grade of the jade raw materials based on the set of physical characteristics and a preset raw material grade determination method;
[0008] Scanning the jade raw material to obtain a jade raw material model, and performing defect identification and marking on the jade raw material model to obtain defect data;
[0009] determining an engraving strategy based on the material grade, the set of physical characteristics, and the defect data;
[0010] A carving design data set is acquired according to the carving strategy and the jade raw material model.
[0011] In an optional embodiment, the physical feature set includes a size index, a color index, a transparency index, and a texture index, and the physical feature set of the jade raw material in the detection target area includes:
[0012] Performing a comprehensive scan on the jade raw material to obtain physical information of the jade raw material;
[0013] Performing dimensional analysis and calculation on the dimensional data in the physical information to obtain the dimensional index;
[0014] Performing color matching calculation on the image data in the physical information to obtain the color index;
[0015] Performing visual analysis and evaluation on the image data to obtain the transparency index;
[0016] A jade texture model is constructed according to the physical information, and texture recognition analysis is performed according to the jade texture model to obtain the texture index.
[0017] In an optional embodiment, the physical feature set of the jade raw material in the detection target area further includes:
[0018] Performing impurity detection on the jade raw material according to a preset impurity detection method to obtain an impurity data set;
[0019] Classifying the impurity data set according to a preset data classification method to obtain an impurity type set;
[0020] Determining an impurity type weight and an impurity influence coefficient corresponding to each impurity type according to the impurity type of the impurity type set;
[0021] The impurity influence degree is calculated according to the impurity type weight, the impurity influence coefficient, and the amount of data in each impurity type.
[0022] In an optional embodiment, the calculating the impurity influence degree according to the impurity type weight, the impurity influence coefficient, and the amount of data in each impurity type includes:
[0023] The impurity influence is calculated by the following formula:
[0024] ;
[0025] Among them, the is the impurity influence, Q is the number of data, is the impurity type weight, is the impurity influence coefficient, n is the total number of impurity types, The index of the impurity type.
[0026] In an optional embodiment, determining the raw material grade of the jade raw material according to the physical feature set and a preset raw material grade determination method includes:
[0027] The level value is calculated according to the physical feature set using the following formula:
[0028] ;
[0029] Among them, the is the grade value, is the size index, a is the preset size adjustment factor, is the color index, b is the preset color adjustment factor, is the transparency index, c is the preset transparency adjustment factor, is the texture index, d is the preset texture adjustment factor, is the impurity influence degree, and e is the preset impurity adjustment factor;
[0030] The raw material grade is determined according to the grade value and a preset grade threshold.
[0031] In an optional embodiment, determining the engraving strategy according to the material grade, the physical feature set, and the defect data includes:
[0032] Determining a preset carving theme and a preset defect treatment method according to the raw material grade;
[0033] Acquire an engraving image data set from a preset engraving pattern database according to the physical feature set, the defect data, and the engraving subject matter;
[0034] The engraving strategy is determined according to the engraving image data set and the defect processing method.
[0035] In an optional embodiment, the carving design dataset includes an effect model and a line cutting dataset, and obtaining the carving design dataset according to the carving strategy and the jade raw material model includes:
[0036] Matching the two-dimensional coordinate points in the engraving image dataset with the three-dimensional coordinate points in the jade raw material model according to the defect feature points in the engraving image dataset and the defect marks in the jade raw material model to obtain coordinate matching data;
[0037] Fitting the two-dimensional engraving pattern in the engraving image data set with the three-dimensional coordinate system of the jade raw material model according to the coordinate matching data to obtain the effect model;
[0038] Performing a three-dimensional morphological comparison on the jade raw material according to the effect model to identify shape differences, position deviations, and defect area differences between the effect model and the jade raw material, and generating comparative analysis data;
[0039] Carve cutting lines on the jade raw material model according to the comparative analysis data to obtain cutting line data;
[0040] The engraving parameters of each cutting line are calculated according to the comparative analysis data and the cutting line data, and the engraving design data set is generated according to the engraving parameters and the cutting line data.
[0041] A second aspect of the present application provides an automatic design device for jade carving, the device comprising:
[0042] A feature detection module is used to detect a set of physical features of the jade raw material in the target area, and determine the raw material grade of the jade raw material based on the physical feature set and a preset raw material grade determination method;
[0043] a defect marking module, configured to scan the jade raw material to obtain a jade raw material model, and perform defect identification and marking on the jade raw material model to obtain defect data;
[0044] a strategy determination module, configured to determine an engraving strategy based on the raw material grade, the physical feature set, and the defect data;
[0045] The design data module is used to obtain a carving design data set according to the carving strategy and the jade raw material model.
[0046] The third aspect of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and runnable on the processor, and when the processor executes the computer program, it implements the steps of the automatic design method for jade carving as described above.
[0047] A fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the automatic design method for jade carving as described above.
[0048] In summary, this application has at least the following beneficial technical effects:
[0049] 1. Comprehensively understand the properties of jade by testing the physical characteristics of jade raw materials, and analyze based on physical information to ensure a comprehensive and accurate evaluation of jade.
[0050] 2. By scanning the jade raw materials and marking the defects, we can accurately obtain the defect data and provide key design data for carving design.
[0051] 3. Intelligently formulate the most appropriate carving strategy based on the physical characteristics, defect data and raw material grade of the jade raw material, thereby optimizing the carving process and improving efficiency and quality.
[0052] 4. Generate an accurate effect model by pairing the engraving image dataset with the jade raw material model. Through comparative analysis, the shape differences, positional deviations, and defect areas between the jade raw material and the effect model are identified, thereby optimizing the cutting lines and generating an accurate engraving design dataset to ensure precision during the engraving process. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0054] Figure 1 This is a flow chart of an automatic design method for jade carving provided in an embodiment of the present application;
[0055] Figure 2 This is a functional module diagram of an automatic design device for jade carving provided in an embodiment of the present application;
[0056] Figure 3 It is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0057] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0058] like Figure 1 The figure shows a flow chart of the automatic design method for jade carving provided by the embodiment of the present application. The automatic design method for jade carving provided by the embodiment of the present application comprises the following steps.
[0059] Step S11: Detecting a physical feature set of jade raw materials in a target area, and determining the raw material grade of the jade raw materials based on the physical feature set and a preset raw material grade determination method.
[0060] The physical feature set includes a size index, a color index, a transparency index, a texture index, and an impurity influence. The jade raw material is comprehensively scanned using detection sensors integrated into the system to obtain physical information of the jade raw material mold, including but not limited to size data, image data, texture information, and three-dimensional coordinate information of the jade raw material.
[0061] The jade material's dimensional characteristics, such as volume and surface area, are calculated based on the acquired dimensional data, thereby reflecting the overall size of the jade material using the ratio of its volume to its surface area (i.e., the size index). The volume is calculated using an integration method and a volume formula, and the surface area is calculated using three-dimensional area reconstruction.
[0062] At the same time, the color characteristics of the jade raw material are extracted using the image data. A color matching calculation is performed on the image data to calculate the color index of the jade raw material. The color index is used to reflect the characteristic value of the jade color and can be obtained by calculating the color difference in the image color space. Specifically, the image data is converted to Lab space, so that the color difference calculation is performed using the CIE Lab color space. The calculation formula of the color index is as follows:
[0063]
[0064] Wherein, C is the color index, 、 as well as is the color value at different angles in the original image data, 、 as well as is the color value at the corresponding angle in the reference image. The color index reflects the color characteristics and color changes of the jade material. The color difference can be used to obtain the color change, thus providing valuable information for carving design.
[0065] At the same time, a transparency index is obtained by visually analyzing and evaluating the image data. The transparency index is an important parameter for measuring the light transmittance of the jade material. The transparent areas in the image are extracted using a preset deep learning algorithm, and the transparency index of the jade material is calculated based on the proportion of the transparent areas. The transparency index is calculated as follows:
[0066]
[0067] in, is the transparency index, is the transmittance value of the image pixel, is the weight of the pixel, The total weight of the image. The light transmittance value is calculated based on the optical properties and light propagation characteristics of the jade material. The weight is automatically generated by the deep learning model of image analysis to ensure that the transparency index can accurately reflect the transparency of the jade material.
[0068] At the same time, a jade texture model of the jade raw material is constructed based on the image data, and the surface texture features of the jade texture model are extracted using a digital image processing algorithm. The texture features include but are not limited to patterns such as details, veins, and cracks. The texture features are then analyzed using texture recognition technology to obtain the texture index. The texture analysis methods include but are not limited to gray level co-occurrence matrix and local binary pattern. The texture index is calculated as follows:
[0069]
[0070] Wherein, M is the texture index, is the probability distribution of texture feature points, is the intensity value of the texture feature point. This formula calculates the weighted sum of the texture feature points to obtain the complexity and regularity of the jade texture.
[0071] After obtaining the jade's physical information, the raw jade is further tested for impurities. Impurities represent irregularities on or within the jade, such as bubbles, veins, and foreign matter. Using technologies such as X-rays, CT scans, or high-resolution 3D imaging, the location and type of impurities are accurately located. The impurity dataset includes information on different types of impurities, their size, and their distribution.
[0072] The calculation of impurity impact is based on the preset impurity type weight, impurity impact coefficient and the quantity of each impurity. The calculation formula of the impurity impact is as follows:
[0073]
[0074] Among them, the is the impurity influence, Q is the number of data, is the impurity type weight, is the impurity influence coefficient, n is the total number of impurity types, is the index of the impurity type. By calculating the impurity impact calculation formula, the comprehensive impurity impact of the jade raw material can be calculated based on the number, impact degree and weight of different impurities, thereby providing a basis for subsequent carving strategies. Each index is weighted according to the preset weight factor to obtain a grade value for comprehensive evaluation of the jade raw material. The calculation formula of the grade value is as follows:
[0075]
[0076] Among them, the is the grade value, is the size index, a is the preset size adjustment factor, is the color index, b is the preset color adjustment factor, is the transparency index, c is the preset transparency adjustment factor, is the texture index, d is the preset texture adjustment factor, is the impurity impact, and e is the preset impurity adjustment factor. Adjustment factors a, b, c, d, and e are preset based on different jade types, market demand, and the unique properties of jade. Adjustment factors adjust the importance of various characteristics in the calculation. For example, in some cases, the adjustment factor for color may be more important than the adjustment factor for size, so the color adjustment factor can be set to a larger value.
[0077] After obtaining the grade values, the grade values need to be standardized to eliminate the dimensional differences between different quantities so that the final grade values have a unified standard. Standardization is achieved through linear transformation, mapping the grade values to a specified interval. In this embodiment of the application, the obtained grade values are mapped to the interval [0, 100]. The standardization calculation formula for the grade values is as follows:
[0078]
[0079] in, is the standardized grade value, are the maximum and minimum values of the level value, respectively. After normalization, the level value will fall within a fixed range, making it easier to compare with the preset level threshold.
[0080] After the grade values are standardized, the raw jade grade is determined based on a preset grade threshold. The grade threshold is determined based on jade market demand, user preferences, and the characteristics of jade usage. In the embodiment of the present application, the grade threshold divides the jade raw material into four grade intervals (i.e., "high quality," "good," "medium," and "poor"). The jade raw material grades corresponding to the grade threshold divisions are as follows:
[0081] ∈[0,60), indicating that the jade material is of “poor” grade; ∈[60,80), indicating that the jade material is of “medium” grade; ∈[80,90), indicating that the jade raw material is of “good” grade; ∈[90, 100], indicating that the jade raw material is of “high quality” grade.
[0082] The classification of jade grade thresholds can vary according to actual application requirements and the different characteristics of jade. In actual applications, the grade thresholds can be dynamically adjusted and optimized according to different situations.
[0083] Step S12: Scan the jade raw material to obtain a jade raw material model, and perform defect identification and marking on the jade raw material model to obtain defect data.
[0084] While determining the raw jade grade, the jade material is scanned with high precision. Common high-precision scanning methods include, but are not limited to, laser scanning, optical imaging, or X-ray CT scanning. The scanning technology used can be selected based on the type, structure, and required accuracy of the material. High-precision scanning is used to obtain a high-density, high-precision three-dimensional data point set. For each scan position, the scanning sensor records the scan point coordinate information (x, y, z), thereby constructing a three-dimensional model of the jade. The three-dimensional data point set is a point cloud dataset, which contains a large number of precisely measured coordinate points on the surface of the jade material.
[0085] Point cloud data captured by scanning sensors often contains noise, redundant points, and gaps caused by scanning angles. Therefore, data cleaning is essential. This includes, but is not limited to, removing outliers, filling gaps, and deduplicating the point cloud data. The processed point cloud data is then converted into a high-precision 3D mesh model using methods such as surface fitting and smoothing. This 3D mesh model more accurately reflects the surface characteristics of the jade material.
[0086] It should be understood that jade is prone to cracks, bubbles, impurities, texture anomalies, color differences and other jade defects during its formation. The identification of jade defects can be accomplished through morphological analysis methods. Specifically, by detecting uneven areas on the surface, cracks and bubbles can be marked using features such as changes in surface normals and abnormal surface curvature. By calculating the curvature of each grid cell, a curvature map is obtained, which can identify areas with irregular or abnormal surfaces. For example, cracks usually cause significant changes in the curvature of local areas, while bubbles may cause larger protrusions to form on the surface. After the above-mentioned defect identification, in order to improve the accuracy of defect identification, the identified defects can be verified through a preset deep neural network.
[0087] After defects are identified, each defect area is marked in the 3D model by mapping its coordinates to corresponding defect type data (e.g., cracks, bubbles, impurities, etc.). These markings can be different colors, textures, or features to visually distinguish different defect types. Defect data is generated based on the defect type and the corresponding defect area coordinates. Defect data is stored and represented using data structures such as point cloud datasets, mesh datasets, or multidimensional arrays. This defect data includes, but is not limited to, location coordinates, defect size, shape, type, and severity.
[0088] Step S13: determining an engraving strategy according to the raw material grade, the physical feature set, and the defect data.
[0089] It should be understood that using different carving themes for different grades of jade raw materials can maximize the market value of the product. This application presets different carving themes based on the grade of the jade raw materials. For high-grade jade raw materials, some delicate and complex carving themes, such as fine flower and bird carvings, and human figures, are selected to enhance the value of the jade products; for medium and low-grade jade, simple and rough carvings are more suitable to avoid unnecessary labor costs.
[0090] At the same time, this application pre-defines corresponding defect treatment methods based on different defects, thereby preserving the usable area of the raw material to the greatest extent possible and integrating available defects into the carving, achieving the effect of turning decay into magic. For example, cracks may be covered by carving or cut along the cracks to achieve an aesthetic effect; while bubbles or impurities may be removed or made into part of the carving design through clever carving techniques.
[0091] After determining the carving theme and defect treatment method, the physical characteristics of the jade raw material are compared with the patterns in the corresponding carving pattern database through an image processing algorithm, and the best matching pattern is determined based on the defect data. Specifically, based on the texture and color characteristics of the jade, multiple matching carving patterns are selected from the database. For example, if the surface of the jade has a clear texture structure, the system may choose a carving pattern that echoes the texture to create a sense of visual harmony. Furthermore, based on the defect data, the best carving pattern is selected from the multiple matching carving patterns to avoid overlapping the carving pattern with the defect area, ensuring that the defect area is not damaged during the carving process and that the defect can be effectively hidden or modified.
[0092] After selecting a carving pattern, the carving strategy is further refined based on the carving pattern dataset and defect treatment methods. By combining the carving subject matter and defect treatment requirements, the carving pattern details are adjusted and the carving path, depth, and cut sequence are determined. For example, for jade that needs to cover cracks, the system may recommend deepening the carving depth near the crack or adjusting the carving path to avoid directly cutting into the crack. For more complex patterns, the system may adopt a staged carving approach to gradually remove defective areas and finely carve every detail.
[0093] Step S14: Acquire a carving design data set according to the carving strategy and the jade raw material model.
[0094] The carving design dataset includes an effect model and a line cutting dataset. After obtaining the carving image dataset and the jade raw material model, the two-dimensional coordinate points are matched with the three-dimensional coordinate points according to the defect feature points in the image dataset and the defect marks in the jade raw material model. Specifically,
[0095] The defect feature points in the engraving image dataset are extracted through an image processing algorithm and compared with the defect marking points in the jade raw material model. This allows the coordinate points of the defect feature points to be matched with the three-dimensional coordinate system of the jade raw material model, ensuring that the engraving pattern can be accurately mapped to the surface of the jade. During the mapping process, by calculating the relative positional relationship between the defect feature points and the defect markings, the two-dimensional coordinate points of the engraving image dataset are converted into corresponding coordinate points in the coordinate system of the three-dimensional jade raw material model, forming a one-to-one coordinate matching data. The mapping between the two-dimensional coordinate points and the three-dimensional coordinate system can be performed by coordinate matching using the following formula:
[0096]
[0097] in, is the two-dimensional coordinate point of the engraving image dataset, is the transformation matrix, is the transformed three-dimensional coordinate point. Through the above formula, the system can accurately map the coordinates of the two-dimensional engraving pattern to the corresponding position of the three-dimensional jade raw material model, thereby achieving accurate matching of the coordinate points.
[0098] Based on the coordinate matching data obtained, the system further performs pattern fitting, fitting the two-dimensional engraving pattern to the coordinate system of the three-dimensional jade raw material model to generate an effect model. Using the fitting algorithm, the two-dimensional engraving pattern is precisely adjusted to a three-dimensional pattern that conforms to the surface of the jade raw material model based on the coordinate matching results. The fitting process takes into account the physical characteristics of the jade raw material, such as surface curvature, texture structure, and the location of defects. Through these adjustments, the system can generate an effect model that conforms to the characteristics of the jade raw material, completing the transformation from a two-dimensional pattern to a three-dimensional engraving effect.
[0099] After the effect model is generated, a 3D comparative analysis algorithm is used to compare the geometric differences between the effect model and the jade raw material model. This includes, but is not limited to, whether the geometric shape of the engraved pattern is consistent with the jade surface and whether there are any positional deviations. The system also identifies areas of defects to ensure that these areas are effectively addressed during the engraving process. This 3D morphological comparison generates comparative analysis data, which includes, but is not limited to, detailed information on shape differences, positional deviations, and defect areas.
[0100] Combining this comparative analysis data with numerical analysis and geometric modeling, the cutting lines and cutting depths are precisely delineated on the jade raw material model, generating detailed cutting line data. This data includes the starting point, end point, cutting depth, and direction of each cutting line, providing a specific operation route for the carving process.
[0101] The system calculates the engraving parameters for each cutting line based on the comparative analysis data and the cutting line data. These parameters include, but are not limited to, tool selection, cutting speed, cutting path, and cutting angle. The system sets the most appropriate engraving parameters for each cutting line based on the jade's hardness, texture, flaw distribution, and the complexity of the engraved pattern. For example, for engraving complex patterns, the system may select a smaller tool and a slower cutting speed to ensure engraving accuracy; for simpler patterns, the system may select a larger tool and a faster cutting speed to improve engraving efficiency.
[0102] The present application is applied to the field of carving design technology, by detecting the physical feature set of jade raw materials in the target area, and determining the raw material grade of the jade raw materials in combination with a preset raw material grade judgment method, thereby obtaining a jade raw material model by scanning the jade raw material, and marking defects on the jade raw material model according to a preset defect type to obtain defect data, and then determining a carving strategy in combination with the raw material grade, the physical feature set and the defect data, and finally generating a carving design data set based on the carving strategy and the jade raw material model. The present application generates an accurate effect model by pairing a carving image data set with a jade raw material model. Thus, through comparative analysis, the shape difference, position deviation and defect area difference between the jade raw material and the effect model are identified, thereby optimizing the cutting lines and generating an accurate carving design data set to ensure accuracy during the carving process.
[0103] like Figure 2 As shown, it is a functional module diagram of an automatic design device for jade carving provided in an embodiment of the present application.
[0104] In some embodiments, the automatic jade carving design device 2 may include a plurality of functional modules composed of computer program segments. The computer program of each program segment in the automatic jade carving design device 2 may be stored in a memory of a server and executed by at least one processor to execute (see Figure 1 (Describe) the functionality of an automatic design method for jade carving.
[0105] In this embodiment, the automatic jade carving design device 2 can be divided into multiple functional modules according to the functions it performs. These functional modules may include: a feature detection module 21, a defect marking module 22, a strategy determination module 23, and a design data module 24. As used herein, a module refers to a series of computer program segments that can be executed by at least one processor and can perform fixed functions, and are stored in a memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.
[0106] The feature detection module 21 is used to detect the physical feature set of the jade raw material in the target area, and determine the raw material grade of the jade raw material according to the physical feature set and a preset raw material grade determination method.
[0107] In an optional embodiment, the physical feature set includes a size index, a color index, a transparency index, and a texture index, and the feature detection module 21 is specifically configured to:
[0108] Performing a comprehensive scan on the jade raw material to obtain physical information of the jade raw material;
[0109] Performing dimensional analysis and calculation on the dimensional data in the physical information to obtain the dimensional index;
[0110] Performing color matching calculation on the image data in the physical information to obtain the color index;
[0111] Performing visual analysis and evaluation on the image data to obtain the transparency index;
[0112] A jade texture model is constructed according to the physical information, and texture recognition analysis is performed according to the jade texture model to obtain the texture index.
[0113] In an optional embodiment, the feature detection module 21 is further configured to:
[0114] Performing impurity detection on the jade raw material according to a preset impurity detection method to obtain an impurity data set;
[0115] Classifying the impurity data set according to a preset data classification method to obtain an impurity type set;
[0116] Determining an impurity type weight and an impurity influence coefficient corresponding to each impurity type according to the impurity type of the impurity type set;
[0117] The impurity influence degree is calculated according to the impurity type weight, the impurity influence coefficient, and the amount of data in each impurity type.
[0118] In an optional embodiment, the feature detection module 21 is further configured to:
[0119] The impurity influence is calculated by the following formula:
[0120] ;
[0121] Among them, the is the impurity influence, Q is the number of data, is the impurity type weight, is the impurity influence coefficient, n is the total number of impurity types, The index of the impurity type.
[0122] In an optional embodiment, the feature detection module 21 is further configured to:
[0123] The level value is calculated according to the physical feature set using the following formula:
[0124] ;
[0125] Among them, the is the grade value, is the size index, a is the preset size adjustment factor, is the color index, b is the preset color adjustment factor, is the transparency index, c is the preset transparency adjustment factor, is the texture index, d is the preset texture adjustment factor, is the impurity influence degree, and e is the preset impurity adjustment factor;
[0126] The raw material grade is determined according to the grade value and a preset grade threshold.
[0127] The defect marking module 22 is used to scan the jade raw material to obtain a jade raw material model, and perform defect identification and marking on the jade raw material model to obtain defect data.
[0128] The strategy determination module 23 is configured to determine an engraving strategy according to the material grade, the physical feature set, and the defect data.
[0129] In an optional implementation, the strategy determination module 23 is specifically configured to:
[0130] Determining a preset carving theme and a preset defect treatment method according to the raw material grade;
[0131] Acquire an engraving image data set from a preset engraving pattern database according to the physical feature set, the defect data, and the engraving subject matter;
[0132] The engraving strategy is determined according to the engraving image data set and the defect processing method.
[0133] The design data module 24 is used to obtain a carving design data set according to the carving strategy and the jade raw material model.
[0134] In an optional embodiment, the engraving design data set includes an effect model and a line cutting data set, and the design data module 24 is specifically used to:
[0135] Matching the two-dimensional coordinate points in the engraving image dataset with the three-dimensional coordinate points in the jade raw material model according to the defect feature points in the engraving image dataset and the defect marks in the jade raw material model to obtain coordinate matching data;
[0136] Fitting the two-dimensional engraving pattern in the engraving image data set with the three-dimensional coordinate system of the jade raw material model according to the coordinate matching data to obtain the effect model;
[0137] Performing a three-dimensional morphological comparison on the jade raw material according to the effect model to identify shape differences, position deviations, and defect area differences between the effect model and the jade raw material, and generating comparative analysis data;
[0138] Carve cutting lines on the jade raw material model according to the comparative analysis data to obtain cutting line data;
[0139] The engraving parameters of each cutting line are calculated according to the comparative analysis data and the cutting line data, and the engraving design data set is generated according to the engraving parameters and the cutting line data.
[0140] It should be understood that the various variations and specific embodiments of the methods provided in the above embodiments are also applicable to the automatic design device for jade carving in the present embodiment. Through the above detailed description of the automatic design method for jade carving, those skilled in the art can clearly know the implementation method of the automatic design device for jade carving in the present embodiment. For the sake of brevity of the specification, it will not be described in detail here.
[0141] like Figure 3 , which is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0142] In a preferred embodiment of the present invention, the electronic device 3 may include, but is not limited to: a memory 31 , at least one processor 32 and at least one communication bus 33 .
[0143] Those skilled in the art should understand that Figure 3 The structure of the electronic device 3 shown does not constitute a limitation of the embodiment of the present invention. The electronic device 3 may also include more or less other hardware or software than shown in the figure, or a different component arrangement.
[0144] In some embodiments, the electronic device 3 is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application-specific integrated circuits, programmable gate arrays, digital processors and embedded devices.
[0145] It should be noted that the electronic device 3 is only an example. Other existing or future electronic products that are suitable for this application should also be included in the scope of protection of this application and included here by reference.
[0146] In some embodiments, the memory 31 stores a computer program that, when executed by the at least one processor 32, implements all or part of the steps in the automatic jade carving design method. The memory 31 includes a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM), or other optical disk storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data. Furthermore, the computer-readable storage medium may primarily include a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application required for a function, and the like.
[0147] In some embodiments, the at least one processor 32 is the control core (Control Unit) of the electronic device 3. It connects the various components of the electronic device 3 using various interfaces and circuits. It executes programs or modules stored in the memory 31 and accesses data stored in the memory 31 to perform various functions and process data of the electronic device 3. For example, when the at least one processor 32 executes the computer program stored in the memory 31, it implements all or part of the steps of the automatic jade carving design method described in the embodiments of the present application; or it implements all or part of the functions of the automatic jade carving design device. The at least one processor 32 can be composed of an integrated circuit, such as a single packaged integrated circuit or multiple packaged integrated circuits with the same or different functions, including a combination of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips.
[0148] In some embodiments, the at least one communication bus 33 is configured to enable communication between the memory 31 and the at least one processor 32. Although not shown, the electronic device 3 may also include a power supply (e.g., a battery) to power various components. Preferably, the power supply can be logically connected to the at least one processor 32 via a power management device, thereby enabling the power management device to manage charging, discharging, and power consumption. The power supply may also include one or more DC or AC power supplies, a recharging device, a power failure detection circuit, a power converter or inverter, a power status indicator, and other components. The electronic device 3 may also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be detailed here.
[0149] The above-mentioned integrated unit implemented in the form of a software functional module can be stored in a computer-readable storage medium. The above-mentioned software functional module stored in a storage medium includes a number of instructions for causing an electronic device (which can be a personal computer, electronic device, or network device, etc.) or a processor to execute portions of the methods described in various embodiments of the present application.
[0150] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the module division is only a logical function division, and other division methods may be used in actual implementation.
[0151] The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical units, and may be located in one place or distributed across multiple network elements. Some or all of the modules may be selected to achieve the purpose of this embodiment based on actual needs.
[0152] The above are all preferred embodiments of the present application, and are not intended to limit the scope of protection of the present application. Therefore, any equivalent changes made based on the structure, shape, and principle of the present application should be included in the scope of protection of the present application.
Claims
1. An automatic design method for jade carving, characterized in that: The method comprises: Detecting a set of physical characteristics of jade raw materials in a target area, and determining a raw material grade of the jade raw materials based on the set of physical characteristics and a preset raw material grade determination method; Scanning the jade raw material to obtain a jade raw material model, and performing defect identification and marking on the jade raw material model to obtain defect data; Determining a preset carving theme and a preset defect treatment method according to the raw material grade; Acquire an engraving image data set from a preset engraving pattern database according to the physical feature set, the defect data, and the engraving subject matter; Determining an engraving strategy according to the engraving image data set and the defect processing method; Matching the two-dimensional coordinate points in the engraving image dataset with the three-dimensional coordinate points in the jade raw material model according to the defect feature points in the engraving image dataset and the defect marks in the jade raw material model to obtain coordinate matching data; Fitting the two-dimensional engraving pattern in the engraving image data set with the three-dimensional coordinate system of the jade raw material model according to the coordinate matching data to obtain an effect model; Performing a three-dimensional morphological comparison on the jade raw material according to the effect model to identify shape differences, position deviations, and defect area differences between the effect model and the jade raw material, and generating comparative analysis data; Carve cutting lines on the jade raw material model according to the comparative analysis data to obtain cutting line data; The engraving parameters of each cutting line are calculated according to the comparative analysis data and the cutting line data, and an engraving design data set is generated according to the engraving parameters and the cutting line data.
2. the automatic design method of jade carving according to claim 1, is characterized in that, The physical feature set includes a size index, a color index, a transparency index, and a texture index. The physical feature set of the jade raw material in the detection target area includes: Performing a comprehensive scan on the jade raw material to obtain physical information of the jade raw material; Performing dimensional analysis and calculation on the dimensional data in the physical information to obtain the dimensional index; Performing color matching calculation on the image data in the physical information to obtain the color index; Performing visual analysis and evaluation on the image data to obtain the transparency index; A jade texture model is constructed according to the physical information, and texture recognition analysis is performed according to the jade texture model to obtain the texture index.
3. the automatic design method of jade carving according to claim 2, is characterized in that, The physical feature set of the jade raw material in the detection target area also includes: Performing impurity detection on the jade raw material according to a preset impurity detection method to obtain an impurity data set; Classifying the impurity data set according to a preset data classification method to obtain an impurity type set; Determining an impurity type weight and an impurity influence coefficient corresponding to each impurity type according to the impurity type of the impurity type set; The impurity influence degree is calculated according to the impurity type weight, the impurity influence coefficient, and the amount of data in each impurity type.
4. the automatic design method of jade carving according to claim 3, is characterized in that, Calculating the impurity influence degree according to the impurity type weight, the impurity influence coefficient, and the amount of data in each impurity type includes: The impurity influence is calculated by the following formula: ; in, is the impurity influence, Q is the number of data, is the impurity type weight, is the impurity influence coefficient, n is the total number of impurity types, The index of the impurity type.
5. The automatic design method of jade carving according to claim 3, wherein Determining the raw material grade of the jade raw material according to the physical feature set and a preset raw material grade determination method includes: The grade value is calculated based on the physical feature set using the following formula: ; in, is the grade value, is the size index, a is the preset size adjustment factor, is the color index, b is the preset color adjustment factor, is the transparency index, c is the preset transparency adjustment factor, is the texture index, d is the preset texture adjustment factor, is the impurity influence degree, and e is the preset impurity adjustment factor; The raw material grade is determined according to the grade value and a preset grade threshold.
6. An automatic design device for jade carving, applied to the automatic design method for jade carving according to claim 1, characterized in that: The device comprises: A feature detection module is used to detect a set of physical features of the jade raw material in the target area, and determine the raw material grade of the jade raw material based on the physical feature set and a preset raw material grade determination method; a defect marking module, configured to scan the jade raw material to obtain a jade raw material model, and perform defect identification and marking on the jade raw material model to obtain defect data; a strategy determination module, configured to determine an engraving strategy based on the raw material grade, the physical feature set, and the defect data; The design data module is used to obtain a carving design data set according to the carving strategy and the jade raw material model.
7. An electronic device, characterized in that: The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the automatic jade carving design method according to any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the automatic design method for jade carving according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Pearl surface carving and decorating process
CN104015541A
Pit artware carving method
CN109733108A
Carving method of hollowed-out tooth sculpture based on image processing
CN116945801A
Jade quality intelligent evaluation method and system based on deep learning reinforcement feature extraction
CN119961812A