Image full-process processing method, system, terminal device and storage medium
By acquiring the images to be processed and generating the finished image according to the dimension conversion instructions, the problem of the inability to communicate with two-dimensional images, three-dimensional images and structural data in the prior art is solved, and data interoperability and availability are improved across systems.
Patent Information
- Application Number
- CN202210416712.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-20
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2042-04-20
AI Technical Summary
The prior art cannot realize cross-system interoperability of two-dimensional images, three-dimensional images and structural data, resulting in functional limitations and poor data availability.
By acquiring the image to be processed and processing it according to the dimension conversion instructions, the finished image is generated, and then converted into structural data and output to the associated system, the interoperability of two-dimensional images, three-dimensional images and structural data is achieved.
Cross-system interoperability of two-dimensional images, three-dimensional images and structural data is realized, improving data availability and reducing work costs.
Smart Images

Figure CN114820288B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image processing, and in particular, to an image full-process processing method, system, terminal device, and storage medium. Background Art
[0002] Currently, for the application of two-dimensional images, three-dimensional images, and structural data in the packaging industry, most technologies combine two of them and are limited to the system itself and cannot be extended. For example, only the conversion between two-dimensional images and three-dimensional images is supported, only the combination of two-dimensional images and structural data is supported, only the combination of three-dimensional images and structural data is supported, and the technology of combining the three and interoperating across systems has not been achieved, resulting in limitations in functions and poor availability of data. Summary of the Invention
[0003] The main purpose of the embodiments of the present invention is to provide an image full-process processing method, system, terminal device, and storage medium, aiming to achieve the interoperability of two-dimensional images, three-dimensional images, and structural data, improve the availability of data, and reduce the working cost.
[0004] To achieve the above purpose, an image full-process processing method is provided in an embodiment of the present invention. The image full-process processing method includes:
[0005] Obtain an image to be processed;
[0006] If a dimension conversion instruction is received, process the image to be processed based on the dimension conversion instruction to obtain a finished image;
[0007] Convert the finished image into structural data and output it to an associated system, so that the associated system produces corresponding products according to the structural data.
[0008] Optionally, after the step of processing the image to be processed based on the dimension conversion instruction to obtain a finished image, it includes:
[0009] Judge whether the information hierarchy structure of the finished image has changed;
[0010] If the information hierarchy structure of the finished image has not changed, execute the step: convert the finished image into structural data and output it;
[0011] If the information hierarchy structure of the finished image has changed, adjust the finished image according to a preset data structure standard.
[0012] Optionally, before the step of adjusting the finished image according to a preset data structure standard, it includes:
[0013] Establish the preset data structure standard;
[0014] Among them, the steps of establishing the preset data structure standard include:
[0015] Obtain a three-dimensional image training set;
[0016] Decompose the three-dimensional image training set to obtain an element set;
[0017] Extract the hierarchical structure of the three-dimensional image training set to obtain a content hierarchical structure;
[0018] Based on the element set and the content hierarchical structure, establish the preset data structure standard.
[0019] Optionally, the step of processing the image to be processed based on the dimension conversion instruction to obtain a finished image includes:
[0020] If the image to be processed is a two-dimensional image, convert the two-dimensional image into a corresponding three-dimensional image based on the dimension conversion instruction as the finished image;
[0021] If the image to be processed is a three-dimensional image, convert the three-dimensional image into a corresponding two-dimensional image based on the dimension conversion instruction as the finished image.
[0022] Optionally, after the step of obtaining the image to be processed, it includes:
[0023] Judge whether the image to be processed is an image created by the user;
[0024] If the image to be processed is an image created by the user, adjust the content hierarchical structure of the image to be processed according to the preset data structure standard.
[0025] Optionally, after the step of converting the three-dimensional image into a corresponding two-dimensional image based on the dimension conversion instruction as the finished image, it includes:
[0026] Extract the element data and data relationship of the finished image;
[0027] Save the element data and the data relationship in the finished image.
[0028] Optionally, the image to be processed includes an image edited by the user online and an image edited by the user offline.
[0029] In addition, to achieve the above object, the present invention also provides an image full-process processing system, and the system includes:
[0030] An acquisition module for acquiring an image to be processed;
[0031] A processing module, configured to process the image to be processed based on the dimension conversion instruction if the dimension conversion instruction is received, so as to obtain a finished image;
[0032] An output module, configured to convert the finished image into structure data and output it to an associated system, so that the associated system produces corresponding products according to the structure data.
[0033] In addition, to achieve the above object, the present invention further provides a terminal device, where the terminal device includes: a memory, a processor, and an image full-process processing method stored on the memory and executable on the processor. When the program of the image full-process processing is executed by the processor, the steps of the image full-process processing method as described above are implemented.
[0034] In addition, to achieve the above object, the present invention further provides a computer-readable storage medium, where an image full-process processing program is stored on the computer-readable storage medium. When the image full-process processing program is executed by a processor, the steps of the image full-process processing method as described above are implemented.
[0035] The image full-process processing method, system, terminal device, and storage medium provided by the embodiments of the present invention obtain an image to be processed; if a dimension conversion instruction is received, the image to be processed is processed based on the dimension conversion instruction to obtain a finished image; the finished image is converted into structure data and output to an associated system, so that the associated system produces corresponding products according to the structure data. Through the above method, the present invention can convert an image into an image with a corresponding dimension according to a dimension conversion instruction, and perform further processing on the converted image to obtain structure data, so that the production system can process based on the above structure data, enabling data to flow smoothly between online, offline, and various systems, realizing the intercommunication of two-dimensional images, three-dimensional images, and structure data, improving the availability of data, and reducing the working cost. Description of the Drawings
[0036] Figure 1 It is a schematic diagram of functional modules of a terminal device to which the image full-process processing device of the present invention belongs;
[0037] Figure 2 It is a schematic flowchart of the first embodiment of the image full-process processing method of the present invention;
[0038] Figure 3 It is a schematic flowchart of the second embodiment of the image full-process processing method of the present invention;
[0039] Figure 4 It is a schematic diagram of functional modules of the image full-process processing system of the present invention.
[0040] The realization, functional features, and advantages of the present invention will be further described in conjunction with embodiments with reference to the accompanying drawings. Specific Embodiments
[0041] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0042] The main solution of the embodiments of the present invention is as follows: Obtain the image to be processed; if a dimension conversion instruction is received, process the image to be processed based on the dimension conversion instruction to obtain a finished image; convert the finished image into structural data and output it to an associated system, so that the associated system produces corresponding products according to the structural data.
[0043] Technical terms involved in the embodiments of the present invention:
[0044] 3D: (3-dimension, three-dimensional), three-dimensional refers to the space system formed by adding a direction vector to the two-dimensional plane system. Three-dimensional is the three axes of the coordinate system, namely the x-axis, y-axis, and z-axis, where x represents the up and down space, y represents the left and right space, and z represents the front and back space (the spatial direction cannot be understood by the plane rectangular coordinate system). In practical applications, generally, the X-axis is used to describe the left and right movement, the Z-axis is used to describe the up and down movement, and the Y-axis is used to describe the front and back movement, thus forming a three-dimensional visual sense for people. Three-dimensional is composed of one-dimensional and two-dimensional. Two-dimensional means only the intersection of two directions. Stacking a two-dimensional and a one-dimensional together results in three-dimensional. Three-dimensional has a three-dimensional nature. Front and back, left and right, up and down are only relative to the viewing point. There is no absolute front and back, left and right, up and down.
[0045] 2D: (2-dimension, two-dimensional), two-dimensional refers to the space system composed of the two-dimensional plane system. Two-dimensional is the two axes of the coordinate system, namely the x-axis and y-axis, where x represents the left and right space and y represents the up and down space. In practical applications, generally, the X-axis is used to describe the left and right movement, and the Y-axis is used to describe the up and down movement. Two-dimensional means only the intersection of two directions.
[0046] Ps: (Photoshop, image processing software), Photoshop mainly processes digital images composed of pixels. Using its numerous editing and drawing tools, effective image editing work can be carried out. Ps has many functions and is involved in various aspects such as images, graphics, text, video, and publishing.
[0047] AI: (Adobe Illustrator, illustration software), is a software for industrial standard vector illustration applied to publishing, multimedia, and online images. This software is mainly used in print publishing, poster and book layout, professional illustration, multimedia image processing, and the production of Internet pages, etc. It can also provide high precision and control for line drawings and is suitable for producing any small designs to large and complex projects.
[0048] CAD: (Computer Aided Design, computer-aided design software), CAD uses a computer and its graphic devices to assist designers in their design work. In engineering and product design, the computer can help designers perform tasks such as calculations, information storage, and drafting. In design, computers are usually used to perform a large number of calculations, analyses, and comparisons of different solutions to determine the optimal solution; all kinds of design information, whether digital, text, or graphic, can be stored in the computer's memory or external storage and can be retrieved quickly; designers usually start with a sketch, and the heavy work of turning the sketch into a working drawing can be handed over to the computer to complete; the computer can be used to perform graphic data processing work related to graphic editing, magnification, reduction, translation, and rotation, etc.
[0049] Currently, for the application of two-dimensional images, three-dimensional images, and structural data in the packaging industry, most technologies combine two of them and are limited to the system itself and cannot be extended. For example, only the conversion between two-dimensional images and three-dimensional images is supported, only the combination of two-dimensional images and structural data is supported, only the combination of three-dimensional images and structural data is supported, and there is no technology that achieves the combination of the three and cross-system interoperability, resulting in functional limitations and poor data usability.
[0050] The present invention provides a solution, aiming to achieve the interoperability of two-dimensional images, three-dimensional images, and structural data, improve the usability of data, and reduce the working cost.
[0051] Specifically, referring to Figure 1 , Figure 1 is a schematic diagram of the functional modules of the terminal device to which the image full-process processing device of the present invention belongs. The image full-process processing device can be a device independent of the terminal device and capable of performing image processing and network model training, and it can be carried on the terminal device in the form of hardware or software. The terminal device can be an intelligent mobile terminal such as a mobile phone or a tablet computer with data processing functions, or a fixed terminal device or a server with data processing functions, etc.
[0052] In this embodiment, the terminal device to which the image full-process processing device belongs at least includes an output module 110, a processor 120, a memory 130, and a communication module 140.
[0053] The operation method and the full-process image processing program are stored in the memory 130; the output module 110 can be a display screen or the like. The communication module 140 can include a WIFI module, a mobile communication module, a Bluetooth module, etc., and communicates with external devices or servers through the communication module 140.
[0054] Among them, when the full-process image processing program in the memory 130 is executed by the processor, the following steps are implemented:
[0055] Obtain the image to be processed;
[0056] If a dimension conversion instruction is received, process the image to be processed based on the dimension conversion instruction to obtain a finished image;
[0057] Convert the finished image into structure data and output it to the associated system, so that the associated system produces corresponding products according to the structure data.
[0058] Further, when the full-process image processing program in the memory 130 is executed by the processor, the following steps are also implemented:
[0059] Judge whether the information hierarchy of the finished image has changed;
[0060] If the information hierarchy of the finished image has not changed, execute the step: convert the finished image into structure data and output it;
[0061] If the information hierarchy of the finished image has changed, adjust the finished image according to the preset data structure standard.
[0062] Further, when the full-process image processing program in the memory 130 is executed by the processor, the following steps are also implemented:
[0063] Establish the preset data structure standard;
[0064] Among them, the steps of establishing the preset data structure standard include:
[0065] Obtain a three-dimensional image training set;
[0066] Decompose the three-dimensional image training set to obtain an element set;
[0067] Extract the hierarchy of the three-dimensional image training set to obtain a content hierarchy;
[0068] Based on the element set and the content hierarchy, establish the preset data structure standard.
[0069] Further, when the full-process image processing program in the memory 130 is executed by the processor, the following steps are also implemented:
[0070] If the image to be processed is a two - dimensional image, convert the two - dimensional image into a corresponding three - dimensional image based on the dimension conversion instruction as the finished image;
[0071] If the image to be processed is a three - dimensional image, convert the three - dimensional image into a corresponding two - dimensional image based on the dimension conversion instruction as the finished image.
[0072] Further, when the image full - process processing program in the memory 130 is executed by the processor, the following steps are also implemented:
[0073] Determine whether the image to be processed is an image created by the user;
[0074] If the image to be processed is an image created by the user, adjust the content hierarchy of the image to be processed according to the preset data structure standard.
[0075] Further, when the image full - process processing program in the memory 130 is executed by the processor, the following steps are also implemented:
[0076] Extract the element data and data relationships of the finished image;
[0077] Save the element data and the data relationships in the finished image.
[0078] Further, when the image full - process processing program in the memory 130 is executed by the processor, the following steps are also implemented: The image to be processed includes an image edited by the user online and an image edited by the user offline.
[0079] In this embodiment, through the above - mentioned solution, by obtaining the image to be processed; if a dimension conversion instruction is received, process the image to be processed based on the dimension conversion instruction to obtain a finished image; convert the finished image into structure data and output it to the associated system, so that the associated system produces corresponding products according to the structure data. The present invention aims to achieve the inter - communication of two - dimensional images, three - dimensional images, and structure data, improve the usability of data, and reduce the working cost.
[0080] Based on the above - mentioned terminal device architecture but not limited to the above architecture, the method embodiment of the present invention is proposed.
[0081] Refer to Figure 2 , Figure 2 is the flow chart of the first embodiment of the image full - process processing method of the present invention. The image full - process processing method includes:
[0082] Step S101, obtain the image to be processed.
[0083] The execution subject of the method in this embodiment can be an image full - process processing device, or an image full - process processing terminal device or server. In this embodiment, an image full - process processing device is taken as an example. This image full - process processing device can be integrated into terminal devices with data - processing functions, such as smartphones and tablets. This image - processing device can be applied to packaging design, image design, and model design. In this embodiment, a scenario applied to packaging design is used for illustration.
[0084] In order to enable the design structure data to flow smoothly between online, offline, and various systems, so that it can be used in the design system, downloaded by users for self - modification, and also docked with associated systems for use, to increase the reusability of data, an image full - process processing device is proposed. First, obtain the image to be processed; among them, the image to be processed includes images edited by users online and images edited by users offline.
[0085] Specifically, users can edit images through online software, and the edited images include two - dimensional images and three - dimensional images; they can also edit images offline through offline software, such as drawing software like Ps, AI, CAD, etc., and use the images edited by users as the above - mentioned images to be processed.
[0086] When the image full - process processing device receives the image to be processed, it determines whether the image to be processed is a two - dimensional image. Since the quality of converting a two - dimensional image created by a user into a three - dimensional image cannot be guaranteed, if the image to be processed is a two - dimensional image, it is necessary to further determine whether the image to be processed is an image created by the user; if the image to be processed is an image created by the user, adjust the content hierarchy structure of the two - dimensional image according to the preset data - structure standard.
[0087] Among them, the method for establishing the preset data - structure standard includes:
[0088] Obtain a three - dimensional image training set; disassemble the three - dimensional image training set to obtain an element set; extract the hierarchical structure of the three - dimensional image training set to obtain a content hierarchy structure; based on the element set and the content hierarchy structure, establish a preset data - structure standard.
[0089] Specifically, obtain a three - dimensional image data set, disassemble all the structures and design elements of the three - dimensional images in the three - dimensional image training set to obtain an element set and a content hierarchy structure. Among them, the element set includes the faces, lines, and points of the box - type structure, the designed images, texts, and design elements, and the content hierarchy structure includes the structural information of the box - type. Standardize the faces, lines, points of the box - type structure, the designed images, texts, hierarchies, and the association information between the box - type structure and the design elements to form a unified data specification as the above - mentioned preset data - structure standard.
[0090] Thus, by setting a preset data structure standard, the two-dimensional images edited by the user can be adjusted, or the images whose image structures do not match the initial images can be adjusted to ensure the consistency of the image processing process and improve work efficiency.
[0091] If the image to be processed is a two-dimensional image but not a two-dimensional image created by the user, or the image to be processed is a three-dimensional image, the adjustment requirements of the user can be received to adjust the image to be processed. For example, adjusting the size of the image to be processed, adjusting the text of the image to be processed, and adjusting the text of the image to be processed.
[0092] Step S102, if a dimension conversion instruction is received, the image to be processed is processed based on the dimension conversion instruction to obtain a finished image.
[0093] Step S103, convert the finished image into structure data and output it to an associated system, so that the associated system produces corresponding products according to the structure data.
[0094] When a dimension conversion instruction is received, if the image to be processed is a two-dimensional image, the two-dimensional image is converted into a corresponding three-dimensional image based on the dimension conversion instruction as the finished image; if the image to be processed is a three-dimensional image, the three-dimensional image is converted into a corresponding two-dimensional image based on the dimension conversion instruction as the finished image. Extract the element data and data relationships of the finished image; save the element data and data relationships in the finished image. Among them, the element data includes the faces, lines, points, images, texts, and hierarchies of the finished image, and the data relationship is the relationship between the various element data in the finished image.
[0095] After the three-dimensional image is converted into a two-dimensional image, all box-type data, design element data, and data relationships will be saved in the two-dimensional image. This image can be directly viewed in a file viewer or imported into a design software for further editing. Users can edit the image through an online software or an offline software. And as long as the information hierarchy is not modified, after modification, it can be imported into the online design system of the image full-process processing device again for further modification and adjustment; among them, the user's editing of the image includes editing the content such as the size, text, and pattern of the image.
[0096] Furthermore, on the premise of not modifying the packaging structure, the edited two-dimensional image can be imported into the image full-process processing device again. The image full-process processing device can generate a corresponding three-dimensional image according to the latest image information and automatically save the relevant information of the three-dimensional image for the convenience of the user's later modification and maintenance; among them, the relevant information of the three-dimensional image includes the faces, lines, points, images, texts, hierarchies, and structures of the three-dimensional image.
[0097] Since each change to the image during the process of generating a three-dimensional image is equivalent to adjusting the underlying structural information, after obtaining the final image, it is necessary to determine whether the hierarchical structure of the final image has changed. If the information hierarchical structure of the final image has not changed, step S103 is executed: converting the final image into structural data and outputting it; if the information hierarchical structure of the final image has changed, the final image is adjusted according to the preset data structure standard to maintain the consistency between the three-dimensional image and the two-dimensional image.
[0098] Since the production system cannot directly recognize three-dimensional images or two-dimensional images, when a user needs to obtain structural data, the image full-process processing device converts the final image into structural data and outputs it to the associated system, so that the associated system produces corresponding products according to the structural data. Among them, the associated system includes the production system; the structural data can be used commonly in each associated system. For example, if this packaging needs to be produced, the structural design data of this packaging can be transmitted to the production system so that the operators of the production system can view the detailed information of the design drawing, which can greatly reduce the work cost of the production system management personnel and improve work efficiency.
[0099] Through the above solution in this embodiment, by obtaining the image to be processed; if a dimension conversion instruction is received, the image to be processed is processed based on the dimension conversion instruction to obtain a final image; the final image is converted into structural data and output to the associated system, so that the associated system produces corresponding products according to the structural data. The purpose of the present invention is to realize the intercommunication of two-dimensional images, three-dimensional images, and structural data. Without modifying the packaging structure, the edited two-dimensional image can be imported into the image full-process processing device again. The image full-process processing device can generate a corresponding three-dimensional image according to the latest image information and automatically save the relevant information of the three-dimensional image, improving the availability of data and reducing the work cost.
[0100] Based on Figure 2 the embodiments shown, the second embodiment of the image full-process processing method of the present invention is proposed. As Figure 3 shown, in this embodiment, the user can perform online editing on the 3D model according to their own needs; or perform offline editing on the 2D drawing, such as offline editing the image through drawing software such as Ps, AI, CAD, etc. The content of editing the 3D model includes adjusting the size, shape, size, color, shape, etc., and the content of editing the 2D drawing includes adjusting the color, size, text, layout, etc.; the image obtained by the user's editing is used as the image to be processed.
[0101] When the user inputs a dimension conversion instruction, if the image to be processed is a 3D model, the 3D model can be converted into a 2D drawing through the image full-process processing device. If the image to be processed is a 2D drawing, the 2D drawing can be converted into a 3D model through the image full-process processing device. The user can edit online again and / or edit offline, and can import the edited version back into the image full-process processing device. The image full-process processing device can generate a corresponding image according to the latest drawing information and instructions, and automatically save the relevant information of the image as a finished image for the user to modify and maintain later. Among them, the relevant information of the image includes the faces, lines, points, images, texts, hierarchies, and structures of the image.
[0102] For example: After converting a 3D model into a 2D drawing, all box-type data, design element data, and data relationships will be saved in the 2D drawing. This drawing can be directly viewed in a file viewer or imported into the design software of the image full-process processing device for further editing. The user can edit the image through online software or offline software. And as long as the information hierarchy structure is not modified, the modified version can be imported back into the online design system of the image full-process processing device for further modification and adjustment.
[0103] Furthermore, extract the element data and data relationships of the finished image through the image full-process processing device; save the element data and data relationships in the finished image. Among them, the element data includes the faces, lines, points, images, texts, and hierarchies of the finished image, and the data relationship is the relationship between the various element data in the finished image.
[0104] Furthermore, since the production system cannot directly recognize 3D models or 2D drawings, if production is required based on the finished image, the finished image is converted into structure data through the image full-process processing device and output to the associated system, so that the associated system can produce corresponding products according to the structure data. Among them, the associated system includes the production system; the structure data can be used commonly in each associated system. For example, if this packaging needs to be produced, the structure design data of this packaging can be transmitted to the production system so that the production system operator can view the detailed information of the design drawing, which can greatly reduce the work cost of the production system management personnel and improve work efficiency.
[0105] Through the above solution, the structure and design information of the 3D model can be standardized, and data specifications can be defined based on the information of the 3D model. The data obtained by extracting the image not only covers the length, width, height, radius, high and low positions, tongue length, and bonding length of each face and component in the packaging structure, but also includes information such as the size, coordinates, and content of pictures and text in the design content. These information can be queried and modified in other associated systems, achieving the multi-system transfer of structure and design data, the generality of graphical and data, reducing the working cost, and improving the working efficiency.
[0106] Refer to Figure 4 , Figure 4 which is a schematic diagram of the functional modules of the image full-process processing system of the present invention. The image full-process processing system includes:
[0107] An acquisition module 10 for acquiring the image to be processed;
[0108] A processing module 20 for processing the image to be processed based on the dimension conversion instruction if a dimension conversion instruction is received to obtain a finished image;
[0109] An output module 30 for converting the finished image into structure data and outputting it to an associated system so that the associated system produces corresponding products according to the structure data.
[0110] For the principle and implementation process of realizing the full-process image processing in this embodiment, please refer to the above embodiments and will not be elaborated here.
[0111] In addition, an embodiment of the present invention also proposes a terminal device, which includes a memory, a processor, and an image full-process processing program stored on the memory and executable on the processor. When the image full-process processing program is executed by the processor, the steps of the image full-process processing method as described above are implemented.
[0112] Since all the technical solutions of all the foregoing embodiments are adopted when the image full-process processing program is executed by the processor, it has at least all the beneficial effects brought by all the technical solutions of all the foregoing embodiments, which will not be elaborated one by one here.
[0113] In addition, an embodiment of the present invention also proposes a computer-readable storage medium, on which an image full-process processing program is stored. When the image full-process processing program is executed by the processor, the steps of the image full-process processing method as described above are implemented.
[0114] Since all the technical solutions of all the foregoing embodiments are adopted when the image full-process processing program is executed by the processor, it has at least all the beneficial effects brought by all the technical solutions of all the foregoing embodiments, which will not be elaborated one by one here.
[0115] Compared with the prior art, an image full-process processing method, system, terminal device and storage medium provided by the present invention obtain an image to be processed; if a dimension conversion instruction is received, the image to be processed is processed based on the dimension conversion instruction to obtain a finished image; the finished image is converted into structure data and output to an associated system, so that the associated system produces corresponding products according to the structure data. The present invention aims to realize the intercommunication of two-dimensional images, three-dimensional images and structure data, improve the availability of data and reduce the working cost.
[0116] It should be noted that in this article, the term "including", "comprising" or any other variant thereof is intended to cover a non-exclusive inclusion, so that a process, method, article or method including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or method. Without further limitation, an element defined by the phrase "including a..." does not exclude the existence of additional identical elements in the process, method, article or method including the element.
[0117] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0118] Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium as described above (such as ROM / RAM, magnetic disk, optical disc), and includes several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to execute the methods of each embodiment of the present invention.
[0119] The above are only the preferred embodiments of the present invention, and do not limit the patent scope of the present invention accordingly. Any equivalent structure or equivalent process transformation made by using the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present invention.
Claims
1. An image full-process processing method, characterized in that The method includes the following steps: Obtain the image to be processed; If a dimension conversion instruction is received, process the image to be processed based on the dimension conversion instruction to obtain a finished image; Convert the finished image into structural data and output it to an associated system, so that the associated system produces corresponding products according to the structural data; Among them, after the step of processing the image to be processed based on the dimension conversion instruction to obtain a finished image, it includes: Judge whether the information hierarchy of the finished image has changed; If the information hierarchy of the finished image has not changed, execute the step of converting the finished image into structural data and outputting it. Among them, the information hierarchy refers to the content hierarchy of the image, and the content hierarchy includes the structural information of the box type; If the information hierarchy of the finished image has changed, adjust the finished image according to the preset data structure standard; Among them, before the step of adjusting the finished image according to the preset data structure standard, it includes: Establish the preset data structure standard; Among them, the step of establishing the preset data structure standard includes: Obtain a three-dimensional image training set; Decompose the three-dimensional image training set to obtain an element set, where the element set includes the faces, lines, points of the box type structure, the designed images, texts, and design elements; Extract the hierarchical structure of the three-dimensional image training set to obtain the content hierarchical structure; Based on the element set and the content hierarchical structure, establish the preset data structure standard; Among them, the step of processing the image to be processed based on the dimension conversion instruction to obtain a finished image includes: If the image to be processed is a two-dimensional image, convert the two-dimensional image into a corresponding three-dimensional image based on the dimension conversion instruction as the finished image; If the image to be processed is a three-dimensional image, convert the three-dimensional image into a corresponding two-dimensional image based on the dimension conversion instruction as the finished image.
2. The image full-process processing method according to claim 1, wherein After the step of obtaining the image to be processed, it includes: Judge whether the image to be processed is an image created by the user; If the image to be processed is an image created by the user, adjust the content hierarchical structure of the image to be processed according to the preset data structure standard.
3. The image full-process processing method according to claim 1, characterized in that After the step of converting the three-dimensional image into a corresponding two-dimensional image based on the dimension conversion instruction as the finished image, it includes: Extract the element data and data relationships of the finished image, where the element data includes the faces, lines, points, images, texts, and hierarchies of the finished image, and the data relationship is the relationship between the various element data in the finished image; Save the element data and the data relationship in the finished image.
4. The image full-process processing method according to claim 1, wherein, The image to be processed includes images edited by the user online and images edited by the user offline.
5. An image full-process processing system, characterized in that, It includes: An acquisition module for acquiring the image to be processed; A processing module for processing the image to be processed based on the dimension conversion instruction to obtain a finished image if a dimension conversion instruction is received; An output module, configured to convert the finished image into structural data and output it to an associated system, so that the associated system produces corresponding products according to the structural data; The output module is further configured to determine whether the information hierarchy of the finished image has changed; If the information hierarchy of the finished image has not changed, perform the steps of: converting the finished image into structural data and outputting it, where the information hierarchy refers to the content hierarchy of the image, and the content hierarchy includes the structural information of the box type; If the information hierarchy of the finished image has changed, adjust the finished image according to a preset data structure standard; The processing module is further configured to establish the preset data structure standard; Among them, the steps of establishing the preset data structure standard include: Obtain a three-dimensional image training set; Decompose the three-dimensional image training set to obtain an element set, where the element set includes the faces, lines, and points of the box type structure, the designed images, texts, and design elements; Extract the hierarchical structure of the three-dimensional image training set to obtain the content hierarchical structure; Based on the element set and the content hierarchical structure, establish the preset data structure standard; The processing module is further configured to, if the image to be processed is a two-dimensional image, convert the two-dimensional image into a corresponding three-dimensional image based on the dimension conversion instruction as the finished image; If the image to be processed is a three-dimensional image, convert the three-dimensional image into a corresponding two-dimensional image based on the dimension conversion instruction as the finished image.
6. A terminal device, characterized in that, The terminal device includes a memory, a processor, and an image full-process processing method stored on the memory and executable on the processor. When the program of the image full-process processing is executed by the processor, the steps of the image full-process processing method according to any one of claims 1-4 are implemented.
7. A computer-readable storage medium, characterized in that, An image full-process processing program is stored on the computer-readable storage medium. When the image full-process processing program is executed by the processor, the steps of the image full-process processing method according to any one of claims 1-4 are implemented.
Citation Information
Patent Citations
Method and system for creating personalized packaging
CN103578038A
An internet-based 3D garment template automatic generation system
CN109949208A