Image processing method and device, equipment and storage medium

By converting user settings into image processing information adapted to different hardware/algorithm platforms, the compatibility problem when different platforms execute user settings is solved, improving user experience, and saving manpower and time in the design process cost.

CN119484716APending Publication Date: 2025-02-18DALIAN RUITU INTELLIGENT PRINTING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411535205.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

When different hardware/algorithm platforms use the same image processing method, some platforms may fail to execute user settings normally, resulting in the generated target image different from the image expected by the user, affecting the user experience. At the same time, a lot of manpower is required to design an image forming device, which wastes time and costs.

Method used

An image processing method is provided to adapt to different hardware/algorithm platforms by converting user settings into first image processing information and converting it into second image processing information. The method includes generating editable text of descriptive image processing steps, converting it into an image processing step containing character information, ensuring that it can be performed normally on multiple platforms.

Benefits of technology

This method can be applied to a variety of different hardware/algorithm platforms, ensuring that user settings can be executed normally on different platforms, and the generated target image is consistent with the image expected by the user, improving the user experience. At the same time, the labor investment and time cost in the process of designing the image forming device are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484716A_ABST
    Figure CN119484716A_ABST
Patent Text Reader

Abstract

The invention provides an image processing method and device, equipment and a storage medium. The method comprises the steps of generating first image processing information based on a user setting item; converting the first image processing information into second image processing information; and processing the original image according to the second image processing information to generate a target image. It can be understood that before the second image processing information is generated, the user setting item is converted into the first image processing information, and the conversion process of converting the first image processing information into the second image processing information is based on hardware / algorithm platform characteristics; according to the method, the sub-step of the first image processing information is correspondingly converted into the character information of the second image processing information, so that the method provided by the embodiment of the invention can be suitable for various different hardware / algorithm platforms, and in the process of designing the image forming device, the labor cost and the time cost can be saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image forming technology, and in particular to an image processing method, device, equipment and storage medium. Background Art

[0002] Typically, when using an image forming device, a user may have some special requirements, such as specifying the printing direction, single-sided printing or double-sided printing, poster printing, all-in-one printing, printing position, scaling images, and adding special watermarks.

[0003] In the related art, the image forming device usually displays these specific options through a driver menu or a panel menu. After the user sets the required options, the image forming device generates a complete fixed image processing step. The image processing module processes the initial image according to the fixed image processing step, generates a target image, and performs an image forming operation on the target image.

[0004] However, different image forming devices are equipped with different algorithms for hardware / algorithm platforms, so the generated fixed image processing steps cannot be applied to different hardware / algorithm platforms. If different hardware / algorithm platforms use the same image processing method, some hardware / algorithm platforms may not be able to execute certain user settings normally, which may cause the final generated target image to be different from the image expected by the user, affecting the user experience. In addition, in the process of designing an image forming device, manpower investment for the corresponding image processing steps will be generated, wasting time and cost.

[0005] It should be pointed out that the information disclosed in the background technology section of this application is only intended to deepen the understanding of the general background technology of this application, and should not be regarded as an admission or suggestion in any form that the information constitutes prior art already known to those skilled in the art. Summary of the invention

[0006] In view of this, the present application provides an image processing method to help solve the problem in the prior art that if different hardware / algorithm platforms use the same image processing method, some hardware / algorithm platforms may be unable to execute certain user settings normally, which in turn causes the final generated target image to be different from the image expected by the user, affecting the user experience. In addition, in the process of designing the image forming device, the corresponding image processing steps will incur manpower investment, wasting time and costs.

[0007] In a first aspect, an embodiment of the present application provides an image processing method, which is applied to an image forming device, and the method includes:

[0008] generating first image processing information based on user settings, wherein the first image processing information is used to represent a descriptive image processing step;

[0009] converting the first image processing information into second image processing information, wherein the second image processing information includes at least one type of character information executed by the image forming device;

[0010] The original image is processed according to the second image processing information to generate a target image.

[0011] In the embodiment of the present application, the user setting item is first converted into the first image processing information, and the first image processing information is converted into the second image processing information, and finally the initial image is processed according to the second image processing information to obtain the target image. It is understandable that before generating the second image processing information, the user setting item is first converted into the first image processing information, and the first image processing information is used to characterize the image processing step, and the image processing step is an editable text. It is understandable that before generating the second image processing information, the user setting item is first converted into the first image processing information, because the conversion process of the first image processing information into the second image processing information is based on the characteristics of the hardware / algorithm platform, and the sub-steps of the first image processing information are converted into the character information of the second image processing information. Therefore, the method provided in the embodiment of the present application can be applied to a variety of different hardware / algorithm platforms, and in the process of designing an image forming device, it can save labor costs and time costs.

[0012] In a possible implementation manner, the generating the first image processing information based on the user setting item further includes:

[0013] In response to the user's expectation of adjusting the original image, the instruction of modifying the first image processing information is performed, and the first image processing information is reset. In an embodiment of the present application, when the user needs to modify the first image processing file, the instruction of modifying the first image processing file can be input, and the image processing device modifies the first image processing file in response to the instruction input by the user, and converts the modified first image processing file into a second image processing file. It can be understood that the user can directly modify the first image processing file. Since the first image processing file is easier to modify than the second image processing file, the method provided in the embodiment of the present application enables users with certain programming capabilities to quickly modify the first image processing file, saving time and labor costs, while improving the user experience by enriching the diversity of user settings.

[0014] In one possible implementation, the descriptive image processing step includes at least one sub-step;

[0015] The converting the first image processing information into second image processing information comprises:

[0016] Based on each sub-step of the first image processing information, character information of the corresponding second image processing information is generated.

[0017] In the embodiment of the present application, when converting the first image processing file into the second image processing file, the sub-steps of the first image processing file are processed one by one, so as to facilitate the organization and optimization of the second image processing file.

[0018] In a possible implementation, the generating character information of the corresponding second image processing information based on each sub-step of the first image processing information further includes:

[0019] Convert a sub-step of the first image processing information into at least one character information of the second image processing information. For some image forming devices, due to hardware / algorithm limitations, the conversion process needs to split a sub-step in the first image processing file into character information of two or more second image processing files. Through the method provided in the embodiment of the present application, the first image processing file can be adapted to a variety of hardware / algorithm platforms, expanding the scope of application of the image processing method.

[0020] In a possible implementation, the generating character information of the corresponding second image processing information based on each sub-step of the first image processing information includes:

[0021] Combine multiple sub-steps of the first image processing information into character information of the second image processing information.

[0022] For some image forming devices, due to hardware / algorithm limitations, the first image processing file is more detailed than the second image processing file during the conversion process. Therefore, it is necessary to merge the sub-steps of multiple first image processing files into character information of one second image processing file. Through the method provided in the embodiment of the present application, the first image processing file can be adapted to a variety of hardware / algorithm platforms, expanding the scope of application of the image processing method.

[0023] In a possible implementation, the generating of character information of the corresponding second image processing information based on each sub-step of the first image processing information includes:

[0024] First, the sub-steps of the first image processing information are converted into corresponding intermediate data, and then the intermediate data are converted into corresponding character information of the second image processing information.

[0025] In the embodiment of the present application, the sub-steps of the first image processing information are first converted into intermediate data, and then the intermediate data is converted into the character information of the corresponding second image information. It can be understood that after the sub-steps of the first image processing information are converted into intermediate data, the character information of the second image processing information can be generated at any desired position according to the corresponding relationship between the intermediate data and the second image processing information.

[0026] In a possible implementation manner, before generating the first image processing information according to the user setting items, the first image processing information is customized through an image processing program input through an external interface.

[0027] In an embodiment of the present application, the first image processing information of a user-defined embedded toolkit or other service program is received through an external interface. The user can adjust the number of sub-steps in the first image processing file according to actual needs, so that the user can modify the first image processing file into a file suitable for a specific image forming device, thereby providing convenience to the user and expanding the scope of application of the present image processing method.

[0028] In a second aspect, an embodiment of the present application provides an image processing device, including:

[0029] A first image processing information generating module, used to generate first image processing information based on user setting items, wherein the first image processing information is used to represent a descriptive image processing step;

[0030] A second image processing information generating module, configured to convert the first image processing information into second image processing information, wherein the second image processing information includes at least one type of character information executed by the image forming device;

[0031] The target image generation module is used to process the original image according to the second image processing information to generate a target image.

[0032] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0033] processor;

[0034] Memory;

[0035] A communication unit, used for establishing a communication channel;

[0036] And a computer program, wherein the computer program is stored in the memory, and the computer program includes instructions, and when the instructions are executed by the processor, the electronic device executes any one of the methods described in the first aspect.

[0037] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the methods described in the first aspect.

[0038] It is understandable that the image processing device provided in the second aspect, the electronic device provided in the third aspect, and the computer-readable storage medium provided in the fourth aspect are used to execute the method provided in the present application. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. 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 paying creative labor.

[0040] Figure 1 A flowchart of an image processing method provided in an embodiment of the present application;

[0041] Figure 2 A schematic diagram of a paper flipping action provided in an embodiment of the present application;

[0042] Figure 3 A first image processing device provided in an embodiment of the present application;

[0043] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0044] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0045] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0046] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0047] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0048] In the related art, the image forming device usually displays some specific options through a driver menu or a panel menu. After the user sets the required options, the image forming device generates a complete fixed image processing step. The image processing module processes the initial image according to the fixed image processing step, generates a target image, and performs an image forming operation on the target image.

[0049] However, different image forming devices are equipped with different algorithms for hardware / algorithm platforms, so the fixed image processing steps generated by the image processing methods in the related art cannot be applied to different hardware / algorithm platforms. If different hardware / algorithm platforms use the same image processing method, some hardware / algorithm platforms may not be able to execute certain user settings normally, which may cause the final generated target image to be different from the image expected by the user, affecting the user experience. In addition, in the process of designing an image forming device, manpower investment for the corresponding image processing steps will be generated, wasting time and cost.

[0050] In view of the above problems, the present application provides an image processing method, which first converts the user setting item into the first image processing information, and then converts the first image processing information into the second image processing information, and finally processes the initial image according to the second image processing information to obtain the target image. It can be understood that before generating the second image processing information, the user setting item is first converted into the first image processing information, and the first image processing information is used to characterize the descriptive image processing step, and the descriptive image processing step is an editable text. Exemplarily, the descriptive image processing step mentioned here refers to the step of processing the original image, such as setting the long side / short side of the initial image, specifying the printing direction, printing mode, printing position, scaling the image, and adding special watermarks. Conventional operations are not repeated here. It can be understood that before generating the second image processing information, the user setting item is first converted into the first image processing information, because when the first image processing information is converted into the second image processing information, it will match the hardware / algorithm platform, so the method provided in the embodiment of the present application can be applied to a variety of different hardware / algorithm platforms, and in the process of designing an image forming device, it can save labor costs and time costs. Specifically, it is described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0051] See also Figure 1 , is a flow chart of an image processing method provided in an embodiment of the present application. Figure 1 As shown, the method mainly includes the following steps.

[0052] Step S101: generating first image processing information based on user setting items.

[0053] Specifically, the image processing apparatus generates first image processing information based on user setting items, where the first image processing information is used to represent a descriptive image processing step, and the image processing step is an editable text.

[0054] In a possible implementation, the user setting items include, but are not limited to, setting the long side / short side of the initial image, setting the long side / short side of the paper, specifying the printing direction, single-sided printing or double-sided printing, poster printing, all-in-one printing, printing position, scaling images, and adding special watermarks. Among them, setting the long side / short side of the initial image is used to set the flipping direction of the initial image, that is, if the user setting item is the long side of the initial image, the image is flipped with the long side of the initial image as the axis; if the user setting item is the short side of the initial image, the image is flipped with the short side of the initial image as the axis. Similarly, the long side / short side of the paper is used to set the flipping direction of the paper, that is, if the user setting item is the long side of the paper, the paper is flipped with the long side of the paper as the axis; if the user setting item is the short side of the paper, the paper is flipped with the short side of the paper as the axis.

[0055] For ease of understanding, the embodiment of the present application takes paper as an example to explain in detail the flipping direction of the paper.

[0056] See also Figure 2 , is a schematic diagram of a paper flipping action provided in an embodiment of the present application. Figure 2 A in the figure is a schematic diagram of flipping the paper with the long side of the paper as the axis. As shown in the figure, the dotted line is the original position of the paper, and the paper is flipped upward with the long side as the axis in the direction indicated by the arrow. Figure 2 b is a schematic diagram of turning the paper with the short side of the paper as the axis. As shown in the figure, the dotted line is also the original position of the paper. The paper is turned upward with the short side as the axis in the direction indicated by the arrow. Of course, the paper turning action shown in the embodiment of the present application is only an exemplary description. In actual application, it can be adaptively modified according to actual conditions, and it should not be used as a limitation on the scope of protection of the present application.

[0057] In a possible implementation, the user setting items also include image settings, specifically including image mirroring, image rotation angle, image edge removal width, and image scaling ratio.

[0058] Exemplarily, assuming that the user settings are: image mirroring direction = horizontal; image rotation angle = a certain angle value (x degrees); image edge elimination width = a certain width value (y millimeters); image scaling ratio = a certain ratio value (1:n), then the corresponding first image processing information includes: image mirroring direction = horizontal; image rotation angle = x degrees; image edge elimination width = y millimeters; image scaling ratio = 1:n.

[0059] In a possible implementation, the first image processing information may include other settings, such as color tuning, in addition to the settings corresponding to the user setting items. Of course, the descriptive image processing steps in the first image processing information can be adjusted according to actual conditions, and the embodiments of the present application do not impose specific restrictions on this.

[0060] In an embodiment of the present application, the descriptive image processing step may be an editable character segment, which is the code of the editable layer of image processing, and the editable layer is defined as the non-bottom layer. In one possible implementation, the image processing step of the first image processing information may be customized by an image processing program input through an external interface before the user sets the item to generate the first image processing information. It is understandable that any user can modify the format of the descriptive image processing step of the first image processing information through services such as embedded toolkits, so that the image forming device can better meet the user's expectations. In other words, the method provided in the embodiment of the present application can make the image processing method in the present application more suitable for a variety of application scenarios, meet the needs of secondary development of enterprise users, and enrich the user's operating experience.

[0061] Because the first image processing information in the embodiment of the present application is editable, when the user needs to modify the first image processing information, he only needs to input the first image processing information modification instruction according to the desired adjustment of the original image. After receiving the first image processing information modification instruction, the image processing device makes corresponding modifications to the first image processing information.

[0062] To sum up, by setting the first image processing information, on the one hand, the image processing method provided in the embodiment of the present application can be matched with a variety of algorithm platforms; on the other hand, the first image processing information is editable, which provides the possibility of personalized customization solutions for different markets and customer needs. In addition, the first image processing information is exposed as a public interface to meet the needs of secondary development of enterprise users and enrich the user's operating experience.

[0063] Step S102: converting the first image processing information into second image processing information.

[0064] Specifically, the image processing device converts the first image processing information into the second image processing information, and the second image processing information includes at least one character information executed on the image forming device. In the embodiment of the present application, the second image processing information is the underlying code for image processing. In a possible implementation, the second image processing information is a pipeline, and the first image processing information is a pseudo-pipeline. Of course, those skilled in the art can set the second image processing information and the first image processing information to other names according to actual needs, and the embodiment of the present application does not impose specific restrictions on this.

[0065] Exemplarily, in the example described in step S101, after converting the first image processing information into the second image processing information, the second image processing information obtained is: image mirror direction = horizontal; image rotation angle = x degrees; image edge elimination width = y millimeters; image scaling ratio = 1:n, as well as image enhancement, color conversion, print bit depth reduction and color adjustment, etc. Of course, the second image processing information of the distance in this example is only an exemplary description. In actual applications, "image enhancement" is a complex image optimization processing step, which is specifically manifested in a detailed algorithm name and algorithm parameters. This application does not explain this in detail, and the content of the second image processing information can be adjusted according to actual conditions, and the embodiments of this application do not impose specific restrictions on this.

[0066] In a possible implementation, both the first image processing information and the second image processing information are composed of a plurality of sub-steps, and therefore, the image processing device generates character information of the second image processing information (i.e., the sub-steps of the second image processing information) at corresponding positions according to the sub-steps of the first image processing information. It should be noted that the sub-steps of the first image processing information and the character information of the second image processing information are both character strings, and the difference in naming is to clearly express the difference between the first image processing information and the second image processing information.

[0067] Exemplarily, according to sub-step a in the first image processing information, character information A in the second image processing information is generated at the corresponding position; similarly, according to sub-step b in the first image processing information, character information B in the second image processing information is generated at the corresponding position; and so on, according to sub-step n in the first image processing information, character information N in the second image processing information is generated at the corresponding position.

[0068] In a possible implementation manner, the image processing device converts a sub-step in a first image processing information into character information of at least one second image processing information.

[0069] Exemplarily, the first image processing information includes step c, but since there is no function corresponding to step c in the algorithm platform, step c needs to be converted into step D and step F, and the function of step c is realized by step D and step F. Among them, step c can be edge elimination, and step D and step F are cropping and whitening respectively; in addition, step c can be scaling, and step D and step F are horizontal scaling and vertical scaling respectively. Of course, this is only an exemplary description and should not be used as a limitation on the scope of protection of this application.

[0070] In a possible implementation manner, the image processing device combines multiple sub-steps of the first image processing information into character information of one second image processing information.

[0071] Exemplarily, the first image processing information includes step m and step l, but since step m and step l in the second image processing information corresponding to the algorithm platform are usually implemented by step K, when the image processing device converts the first image processing information into the second image processing information, step m and step l are converted into step K. Among them, step m and step l can be white filling and mirroring, respectively, or step m and step l can be page margin adjustment and color processing, respectively, or multiple rotation requests are merged into one rotation. Of course, this is only an exemplary description and should not be used as a limitation on the scope of protection of this application.

[0072] The following takes the first image processing information [mirror direction = horizontal; rotation angle = x degrees; edge removal width = y millimeters; scaling ratio = 1:n] as an example to explain what kind of second image processing information the first image processing information will be converted into on different platforms.

[0073] On the Q platform, the first image processing information will be converted into [scanning bit depth reduction; mirror direction = horizontal; rotation angle = x degrees; edge elimination width = y millimeters; scaling ratio = 1:n; image filtering; color space conversion; print density matching; print bit depth reduction; color adjustment]. Among them, scanning bit depth reduction is used to reduce the bit depth of the scanned image, for example, 16bit is converted to 8bit; steps such as mirroring, rotation, edge elimination and scaling have completely matched algorithms on the Q platform, so only the parameter format needs to be converted; steps such as image filtering, color space conversion, print density matching, print bit depth reduction, color adjustment, etc. are algorithm processing added to adapt to the hardware characteristics of the printer and to make necessary optimization of the image. It is not a scope that users need to understand and is added by default by the image processing module.

[0074] On the K platform, the first image processing information will be converted into [cropping width = y mm; scanning bit depth reduction; widening & mirroring: widening width = width value + mirroring direction = horizontal; rotation angle = x degrees; scaling: direction = horizontal + ratio = first ratio value; scaling: direction = vertical + ratio = second ratio value; image filtering; image and text area optimization; color space conversion; printing density matching; printing bit depth reduction; color adjustment]. Among them, since the K platform does not directly support the edge elimination algorithm, the edge elimination is divided into two steps of cropping and widening according to the platform characteristics, and widening and mirroring are completed by the same set of algorithms on the K platform, so widening and mirroring are combined into one step; scanning bit depth reduction is also used to reduce the bit depth of the scanned portrait; scaling is divided into horizontal scaling and vertical scaling; subsequent rotation and other steps also have corresponding algorithms on the K platform, but the specific parameter format is different from that of the Q platform; image filtering, color space conversion, print concentration matching, print bit depth reduction, color adjustment and other steps are basically the same as those of the Q platform, but the specific form and parameter format are different; in addition, the K platform has added graphic area optimization to further optimize the image.

[0075] It can be seen from the above examples that after adding the first image processing information, no matter which platform the printer used by the user supports, although the platform algorithms are different, the interface seen by the user is not much different, thus providing convenience for the user.

[0076] In a possible implementation, when converting the first image processing information into the second image processing information, the sub-steps of the first image processing information are converted into corresponding intermediate data, and then the intermediate data are converted into character information of the corresponding second image processing information. It can be understood that the sub-steps in the first image processing information are now merged / split into intermediate data, and then the intermediate data are merged / split into the second image processing information. It can be understood that after the sub-steps of the first image processing information are converted into intermediate data, the character information of the second image processing information can be generated at any desired position according to the corresponding relationship between the intermediate data and the second image processing information.

[0077] In a possible implementation manner, the first image processing information is modified by the user. At this time, in order to obtain a target file that better meets the user's expectations, the image processing device converts the modified first image processing information into second image processing information.

[0078] To sum up, converting the first image processing information into the second image processing information can, on the one hand, ensure that no matter which platform the user uses, they do not need to learn some operating methods for the platform, saving user time and learning costs and improving work efficiency; on the other hand, by using the first image processing information as a bridge and automatically matching the platform algorithm, it can ensure that the functions required by the user can be realized, and the method provided in this application can be applicable to multiple platform algorithms.

[0079] Step S103: Process the original image according to the second image processing information to generate a target image.

[0080] Specifically, because the image processing apparatus has processed the user setting items into codes executable by the image forming apparatus, the image processing apparatus can directly process the original image according to the second image processing information to generate a target image for the image forming job to be executed.

[0081] In a possible implementation, an image forming operation is performed on a target image. It is understandable that in practical applications, after obtaining the target image, the target image may need to be further processed, so the image that finally performs the image forming operation is the processed target image. Of course, those skilled in the art can set the order of the image forming operation according to actual needs, and the embodiments of the present application do not impose specific limitations on this.

[0082] Corresponding to the above embodiments, the present application also provides an image processing device.

[0083] See also Figure 3 , is the first image processing device provided in the embodiment of the present application. Figure 3 As shown, the image processing device may include: a first image processing information generating module 301, a second image processing information generating module 302, and a target image generating module 303. These components communicate through one or more buses. Those skilled in the art can understand that the structure of the electronic device shown in the figure does not constitute a limitation on the embodiments of the present application. It can be a bus structure or a star structure, and can also include more or fewer components than shown in the figure, or combine certain components, or arrange components differently.

[0084] The first image processing information generating module 301 is used to generate first image processing information according to user setting items, wherein the first image processing information is used to represent the image processing steps;

[0085] A second image processing information generating module 302, configured to convert the first image processing information into second image processing information, wherein the second image processing information includes at least one type of character information executed by the image forming device;

[0086] The target image generating module 303 is configured to process the original image according to the second image processing information to generate a target image.

[0087] In addition, in a possible implementation, the image processing apparatus further includes an image forming module, and the image forming module is used to perform an image forming operation on the target image.

[0088] Corresponding to the above embodiments, the present application also provides an electronic device.

[0089] See also Figure 4 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 4 As shown, the electronic device 400 may include: a processor 401, a memory 402 and a communication unit 403. These components communicate via one or more buses. Those skilled in the art will appreciate that the structure of the electronic device shown in the figure does not limit the embodiments of the present application, and it may be a bus structure or a star structure, and may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently.

[0090] The communication unit 403 is used to establish a communication channel so that the electronic device can communicate with other devices, receive user data sent by other devices or send user data to other devices.

[0091] The processor 401 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It runs or executes software programs, instructions, and / or modules stored in the memory 402, and calls data stored in the memory to perform various functions of the electronic device and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 401 can only include a central processing unit (CPU). In the embodiment of the present application, the CPU can be a single computing core or multiple computing cores.

[0092] The memory 402 is used to store the execution instructions of the processor 401. The memory 402 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0093] The memory 402 includes a computer program, which includes instructions. When the instructions in the memory 402 are executed by the processor 401, the electronic device 400 can execute Figure 1 Some or all of the steps in the illustrated embodiments.

[0094] In a specific implementation, the embodiment of the present application further provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment of the simulation scene generation method provided in the embodiment of the present application. The storage medium may be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0095] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0096] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0097] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0098] In several embodiments provided in the present application, any function can be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., and other media that can store program codes.

[0099] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the device embodiment and the terminal embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.

Claims

1. An image processing method, characterized in that: Applied to an image forming device, the method comprises: generating first image processing information based on user settings, wherein the first image processing information is used to represent a descriptive image processing step; converting the first image processing information into second image processing information, wherein the second image processing information includes at least one type of character information executed by the image forming device; The original image is processed according to the second image processing information to generate a target image.

2. The method according to claim 1, characterized in that The generating of the first image processing information based on the user setting item further includes: In response to a user's desire to adjust the original image, an instruction for modifying the first image processing information is performed, and the first image processing information is reset.

3. The method according to claim 1, characterized in that The descriptive image processing step comprises at least one sub-step; The converting the first image processing information into second image processing information comprises: Based on each sub-step of the first image processing information, character information of the corresponding second image processing information is generated.

4. The method according to claim 3, characterized in that The step of generating character information of the second image processing information corresponding to the first image processing information based on each sub-step of the first image processing information further includes: Convert a sub-step of the first image processing information into at least one character information of the second image processing information.

5. The method according to claim 3, characterized in that: The step of generating character information of the corresponding second image processing information based on each sub-step of the first image processing information includes: Combine multiple sub-steps of the first image processing information into character information of the second image processing information.

6. The method according to claim 3, characterized in that: The step of generating character information of the corresponding second image processing information based on each sub-step of the first image processing information includes: First, the sub-steps of the first image processing information are converted into corresponding intermediate data, and then the intermediate data are converted into corresponding character information of the second image processing information.

7. The method according to claim 1, characterized in that Before generating the first image processing information according to the user setting items, the first image processing information is customized through an image processing program input through an external interface.

8. An image processing device, characterized in that: include: A first image processing information generating module, used to generate first image processing information based on user setting items, wherein the first image processing information is used to represent a descriptive image processing step; A second image processing information generating module, configured to convert the first image processing information into second image processing information, wherein the second image processing information includes at least one type of character information executed by the image forming device; The target image generation module is used to process the original image according to the second image processing information to generate a target image.

9. An electronic device, characterized in that: include: processor; Memory; A communication unit, used for establishing a communication channel; And a computer program, wherein the computer program is stored in the memory, and the computer program includes instructions, and when the instructions are executed by the processor, the electronic device executes the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.