CN114283184A - Image processing method, image processing device, electronic equipment and computer readable storage medium - Google Patents
Image processing method, image processing device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN114283184A CN114283184A CN202111603341.4A CN202111603341A CN114283184A CN 114283184 A CN114283184 A CN 114283184A CN 202111603341 A CN202111603341 A CN 202111603341A CN 114283184 A CN114283184 A CN 114283184A
- Authority
- CN
- China
- Prior art keywords
- image
- initial
- layer information
- information
- modifying
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 22
- 238000012545 processing Methods 0.000 title claims abstract description 12
- 238000012986 modification Methods 0.000 claims abstract description 49
- 230000004048 modification Effects 0.000 claims abstract description 49
- 238000000034 method Methods 0.000 claims abstract description 23
- 230000004044 response Effects 0.000 claims abstract description 9
- 238000004590 computer program Methods 0.000 claims description 8
- 238000005516 engineering process Methods 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 6
- 238000013461 design Methods 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000005034 decoration Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
Images
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The invention discloses an image processing method, an image processing device, electronic equipment and a computer readable storage medium. Wherein, the method comprises the following steps: determining layer information of an initial image and size information of the initial image; determining an initial associated image according to the layer information of the initial image and the size information of the initial image, wherein the layer information of the initial associated image is the same as the layer information of the initial image, and the size information of the initial associated image is different from the size information of the initial image; receiving modification operation for modifying the layer information of the initial image; modifying the layer information of the initial image in response to the modifying operation, and determining a modifying parameter for modifying the layer information of the initial image; and modifying the layer information of the initial associated image according to the modification parameters to obtain the associated image. The invention solves the technical problems of complicated operation and low efficiency caused by manual image-by-image modification in the related technology.
Description
Technical Field
The present invention relates to the field of image processing, and in particular, to an image processing method, an image processing apparatus, an electronic device, and a computer-readable storage medium.
Background
Nowadays, the role of high-quality operation drawings with unified specifications is increasingly prominent in all aspects, and the requirements of business operators on production of operation images of products are also increasing. The requirements of different systems or platforms of different channels on the size, the design specification and the like of an operation diagram are obviously different, and at present, the manufacture of multi-channel and multi-platform images by service operators needs manual design and maintenance one by one, which is time-consuming and labor-consuming.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides an image processing method, an image processing device, electronic equipment and a computer readable storage medium, which are used for at least solving the technical problems of tedious operation and low efficiency caused by manual image-by-image modification in the related technology.
According to an aspect of an embodiment of the present invention, there is provided an image processing method including: determining layer information of an initial image and size information of the initial image; determining an initial associated image according to the layer information of the initial image and the size information of the initial image, wherein the layer information of the initial associated image is the same as the layer information of the initial image, and the size information of the initial associated image is different from the size information of the initial image; receiving modification operation for modifying the layer information of the initial image; modifying the layer information of the initial image in response to the modifying operation, and determining a modifying parameter for modifying the layer information of the initial image; and modifying the layer information of the initial associated image according to the modification parameters to obtain the associated image.
Optionally, the modifying the layer information of the initial image in response to the modifying operation, and determining a modification parameter for modifying the layer information of the initial image includes: and determining a target layer corresponding to the modification operation, modifying the target layer, and determining a modification parameter for modifying the target layer.
Optionally, the determining an initial associated image according to the layer information of the initial image and the size information of the initial image includes: layer information of a pre-stored image is called; determining the layer information of the initial image and the Euclidean distance between the layer information of the pre-stored images; and determining an initial associated image according to the Euclidean distance.
Optionally, the determining an initial associated image according to the euclidean distance includes: subtracting the preset value from the Euclidean distance to obtain the layer information of the initial image and the information contact ratio between the layer information of the prestored images; and determining the pre-stored image with the information coincidence degree being completely coincident as an initial associated image.
Optionally, the method further comprises: a predetermined number of associated images are presented.
Optionally, the modification parameter comprises at least one of: font parameters, font size parameters, color parameters, position parameters, and shape parameters.
According to an aspect of an embodiment of the present invention, there is provided an image processing apparatus including: the device comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for determining layer information of an initial image and size information of the initial image; a second determining module, configured to determine an initial associated image according to layer information of the initial image and size information of the initial image, where the layer information of the initial associated image is the same as the layer information of the initial image, and the size information of the initial associated image is different from the size information of the initial image; the receiving module is used for receiving modification operation for modifying the layer information of the initial image; a first modifying module, configured to modify, in response to the modifying operation, layer information of the initial image, and determine a modifying parameter for modifying the layer information of the initial image; and the second modification module is used for modifying the layer information of the initial associated image according to the modification parameters to obtain the associated image.
According to an aspect of an embodiment of the present invention, there is provided an electronic apparatus including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement any of the image processing methods described above.
According to an aspect of the embodiments of the present invention, there is provided a computer-readable storage medium, wherein instructions of the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform any one of the image processing methods described above.
According to an aspect of an embodiment of the present invention, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the image processing method of any one of the above.
In the embodiment of the invention, the initial associated image is determined according to the determined layer information and the size information of the initial image, then the modification operation for modifying the layer information of the initial image is received and responded, the layer information of the initial image is modified, and the modification parameter for modifying the layer information of the initial image is determined, so that the layer information of the initial associated image is modified according to the modification parameter, and the purpose of obtaining the associated image is achieved. Because the layer information of the initial associated image is the same as that of the initial image, and the size information of the initial associated image is different from that of the initial image, the obtained layer information of the associated image is correspondingly the same as that of the modified initial image, and the size information of the associated image is different from that of the initial image, so that the purpose of obtaining high-quality, standard and uniform multi-size images is achieved, and the technical problems of redundant operation and low efficiency caused by manual image-by-image modification in the related technology are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of an image processing method according to an embodiment of the present invention;
FIG. 2 is a flow chart of image capture storage, image editing and multi-size image recommendation and generation provided by an alternative embodiment of the present invention;
FIG. 3 is a schematic diagram of multi-scale image generation provided by an alternative embodiment of the present invention;
fig. 4 is a block diagram of the structure of an image processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to an embodiment of the present invention, there is provided an embodiment of an image processing method, it should be noted that the steps shown in the flowchart of the drawings may be executed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that here.
Fig. 1 is a flowchart of an image processing method according to an embodiment of the present invention, as shown in fig. 1, the method including the steps of:
step S102, determining layer information of an initial image and size information of the initial image;
step S104, determining an initial associated image according to the layer information of the initial image and the size information of the initial image, wherein the layer information of the initial associated image is the same as the layer information of the initial image, and the size information of the initial associated image is different from the size information of the initial image;
step S106, receiving modification operation for modifying the layer information of the initial image;
step S108, responding to the modification operation, modifying the layer information of the initial image, and determining a modification parameter for modifying the layer information of the initial image;
and step S110, modifying the layer information of the initial associated image according to the modification parameters to obtain the associated image.
Through the steps, the initial associated image is determined according to the determined layer information and the size information of the initial image, then the modifying operation for modifying the layer information of the initial image is received and responded, the layer information of the initial image is modified, and the modifying parameter for modifying the layer information of the initial image is determined, so that the layer information of the initial associated image is modified according to the modifying parameter, and the purpose of obtaining the associated image is achieved. Because the layer information of the initial associated image is the same as that of the initial image, and the size information of the initial associated image is different from that of the initial image, the obtained layer information of the associated image is correspondingly the same as that of the modified initial image, and the size information of the associated image is different from that of the initial image, so that the purpose of obtaining high-quality, standard and uniform multi-size images is achieved, and the technical problems of redundant operation and low efficiency caused by manual image-by-image modification in the related technology are solved.
The layer information indicates various parameter information included in one or more layers of the image, and may be a parameter arrayThe form of param indicates. For example, when an image has only one layer, and the layer includes text and graphics, the layer includes text parameter information and graphics parameter information, and the text parameter and the graphics parameter included in the layer are denoted as p1In this case, the layer information may be represented as param ═ p1]. The text parameter information may include the content of the text, the position of the text, the color of the text, the font of the text, and the like; the graphic parameter information may include an image, a position of the image, and the like. It should be noted that, when dividing layers for an image, the division may be performed according to different rules, for example, the division may be performed according to multiple types of elements in the image, such as a text portion and an image portion. In the text portion, the text portion may be further divided into a title portion, a content portion, and the like. The user-defined setting can be carried out according to the actual application and the scene.
As an alternative embodiment, the layer information of the initial image and the size information of the initial image are determined. The initial image may be an image to be modified, may be a template image, and may modify the layer information of the initial image. After determining the layer information of the initial image and the size information of the initial image, an initial associated image may be determined, where the associated initial image is an image with the same layer information and different size information as the initial image, and in short, an image with the same content but different size. The initial associated images can be applied to an operation scene, for example, there is a significant difference in requirements of different systems or platforms of different channels on the size of an operation diagram, design specifications, and the like, and images with the same content and different sizes need to be produced. The initial associated image is determined so as to be directly processed on the initial associated image subsequently, and the problem of low efficiency caused by manual design and maintenance one by one when the multi-size image is manufactured in the related technology is solved.
As an alternative embodiment, when determining the initial associated image according to the layer information of the initial image and the size information of the initial image, the following method may be used: layer information of a pre-stored image is called to determine an initial imageAnd determining an initial associated image according to the Euclidean distance between the layer information of the pre-stored image and the layer information of the pre-stored image. Because the size information of the initial image and the initial associated image is different, the image with the same layer information cannot be directly selected as the initial associated image, and therefore, the correspondence between the contents with different sizes can be obtained through the Euclidean distance algorithm. The layer information of the initial image is assumed to be: paramo=[po1,po2,po3,...pox,...,pon]The layer information of the pre-stored image is as follows: paramx=[px1,px2,px3,...pxx,...,pxn]The formula for calculating the Euclidean distance is as follows:and further obtain the Euclidean distance. Therefore, the initial associated image can be determined according to the Euclidean distance, and the initial associated image can be accurately and effectively acquired.
As an alternative embodiment, when determining the initial associated image according to the euclidean distance, the following method may be adopted: and subtracting the preset value from the Euclidean distance to obtain the layer information of the initial image and the information contact ratio between the layer information of the prestored images, and determining the prestored images with the information contact ratio completely overlapped as the initial associated images. Assuming that the predetermined value is 1 and the information overlap ratio is represented by α, the information overlap ratio obtained by subtracting the predetermined value from the euclidean distance at this time is represented as:and when the alpha value is equal to 1, considering that the image to be prestored and the initial image are completely overlapped in the aspect of the image layer information, and taking the prestored image in the condition as an initial associated image.
As an alternative embodiment, a modification operation for modifying the layer information of the initial image is received, the layer information of the initial image is modified in response to the modification operation, and a modification parameter for modifying the layer information of the initial image is determined. Where the modification parameters may include a variety of parameters, for example,font parameters, font size parameters, color parameters, position parameters, and shape parameters. The modification parameters may be set correspondingly according to the content included in the specific map layer. When a user modifies the layer information of the initial image, one or more layers may be modified, so that a target layer corresponding to the modification operation may be determined first, the target layer is modified, and a modification parameter for modifying the target layer is determined. For example, when the user wants to select a certain layer information p from the layer information of the initial imageoxModified as pox' at time, the parameter array of the initial image is changed to paramo=[po1,po2,po3,...pox’,...,pon]Meanwhile, the parameter array of the initial associated image is adjusted according to the same rule and is recorded as pxx' if the adjusted image is the related image, the parameter array of the related image is paramx’=[px1,px2,px3,...pxx’,...,pxn]. By determining the target layer corresponding to the modification operation first and only determining the modification parameters for modifying the target layer, detection of all layers is avoided, the calculated amount is reduced, the drawing process is accelerated, and the efficiency of making multi-size images is improved.
As an alternative embodiment, after determining the associated images, a predetermined number of associated images may also be presented. For the user to select, further operate the associated image, for example, save to the local, etc.
Based on the above embodiments and alternative embodiments, an alternative implementation is provided, which is described in detail below.
The invention provides an intelligent recommendation and automatic generation method for a multi-size operation graph in an optional embodiment.A background image acquisition and storage system acquires preset image information such as multi-size image size information, names, graph layer information and the like, and stores the image information into a storage unit.
The image processing method comprises a background image acquisition and storage system and a front-end image generation system. The following respectively describes the background image acquisition and storage system and the front-end image generation system in detail:
the background image acquisition and storage system comprises: the device comprises an image acquisition module and an image storage module.
1) An image acquisition module: the image acquisition device is used for acquiring preset multi-size images and identifying image names, sizes and layer information. The module comprises an image name identification unit, an image size information identification unit and an image information layered identification unit, and is used for identifying preset image file names, sizes, formats, layer information and other image information uploaded by a user and inputting the identified image information to an image storage unit. Background image acquisition storage system: size, name, layer information
2) An image storage module: the image acquisition unit is used for receiving image information from the image acquisition unit, wherein the image information comprises an image file name, image size information and layer information. The image file name is stored by using a parameter name, the size information is stored by using a parameter size, the layer information is stored by using a parameter array param, and param is [ p ]1,p2,p3,...,pn]Wherein p is1,p2,p3,...,pnRespectively representing the first layer to the nth layer information of the image.
(II) the front-end image generation system comprises: the image recommendation system comprises an image retrieval module, an image editing module, an image recommendation module, an image preview module and an image downloading module.
1) An image retrieval module: the system is used for reading the image file in the background image acquisition and storage system according to the user instruction, and the system reads the image template information selected by the user and compares the image template information with the storage unit for retrieval.
2) An image editing module: used for identifying and editing the layer information, and reading the image name, size and layer information selected by the userAnd recording modification content for the modification information operated on the image. The specific method comprises the following steps: when the user selects the x-th image layer information p in the current imagexAfter the modifying operation is carried out, the layer information is changed into px', picture original layer information param ═ p1,p2,p3,...px,...,pn]And updating as follows: param ═ p1,p2,p3,...px’,...,pn]. And identifying and caching the param parameter after the information is modified.
3) An image recommendation module: and the system is used for recommending the associated images according to the image information selected by the user, searching and comparing the associated images with the storage unit, recommending the associated images to the user, and modifying the images according to the modified content. The method comprises the steps of comparing original image layer information of an image selected by a user in an image acquisition and storage system, recommending images with different sizes and image information coincidence degrees of 1 to the user, and replacing layered image information according to modification of the image by the user in an image editing module. The specific method comprises the following steps: selecting the original layer information param of the image by the usero=[po1,po2,po3,...pox,...,pon]And the original layer information param of the other preset images in the image storage unit1,param2,paramnAnd comparing the superposition degree alpha of the layer information.
The original layer information of the image selected by the user is assumed as follows: paramo=[po1,po2,po3,...pox,...,pon];
The original layer information of the images to be compared is as follows: paramx=[px1,px2,px3,...pxx,...,pxn];
And respectively calculating the original layer information lengths of the image selected by the user and the image to be compared, directly calculating the information contact ratio when the layer information lengths of the two are consistent, and carrying out final zero filling processing on the layer information with shorter length when the layer information lengths of the two are inconsistent until the layer information lengths of the two are consistent.
The information contact ratio calculation formula is defined as:
and when the alpha value is equal to 1, considering that the image to be compared is highly consistent with the image-layer information of the image selected by the user, and providing the image to the user as a recommended image for selection. The recommended image may be a plurality of images, and all of the images having an α value equal to 1 among the images to be compared may be regarded as the recommended image.
When the user uses a certain layer of information p in the layer information of the original imageoxModified as poxAt this time, the parameter array of the layer information corresponding to the image is changed to paramo=[po1,po2,po3,...pox’,...,pon]And simultaneously recommending the layer information of the layer corresponding to the image to be adjusted according to the same rule and recording the adjusted layer information as pxx' the parameter array of the layer information of the recommended image becomes: paramx’=[px1,px2,px3,...pxx’,...,pxn]。
4) An image preview module: for previewing multi-size image effects generated by the system. Image preview unit with layer information paramx’=[px1,px2,px3,...pxx’,...,pxn]And restoring and synthesizing the user selected image and the recommended image for input, and displaying the synthesized image.
5) An image downloading module: for downloading a user selected multi-sized image to the user's local computer.
Fig. 2 is a flowchart of image acquisition storage, image editing and multi-size image recommendation and generation according to an alternative embodiment of the present invention. As shown in fig. 2, in the multi-size preset image capture page, the system reads key elements such as the name, size, and layer information of the multi-size preset image through the image capture module, and stores the key elements such as the name, size, and layer information of the multi-size preset image through the image storage module. When a user selects a certain preset image for editing in a front-end image generation system, the system utilizes an image recommendation module to compare the preset image selected by the user with the multi-size image built in the system for information overlap ratio, recommends the image with the information overlap to the user, synchronously records and caches the layer information modification condition of the user in an image editing module, replaces the related layer of the recommended multi-size image, and downloads the image selected by the user to a local computer of the user after the user selects a plurality of multi-size images in an image downloading module.
Step 21: and collecting multi-size preset images.
And an image acquisition module is utilized to read key elements such as name information, size information, layer information and the like of the multi-size preset image in the system.
Step 22: and storing the multi-size preset image.
And storing key elements such as the name information, the size information, the layer information and the like of the read multi-size preset image by using an image storage module.
Step 23: and (5) image retrieval.
The user selects a preset image in the system as an initial image by using the image retrieval module.
Step 24: and (5) editing the image.
And editing the layer information of the initial image and recording a modification result by using the image editing module by a user.
Step 25: and (6) image recommendation.
And comparing the layer information of the image selected by the user with the layer information of the preset multi-size image in the system to obtain information coincidence degree, recommending the preset image with the image layer information coincidence degree of 1 and different size information to the user, and simultaneously replacing the layer information editing record of the user in the step 24 with the corresponding layer of the recommended multi-size image.
It should be noted that the step of comparing the image-layer information of the image selected by the user with the image-layer information of the preset multi-size image in the system for information overlap ratio, and recommending the preset image with the image-layer information overlap ratio of 1 and different size information to the user may also be performed before step 24.
Step 26: and (4) image previewing, wherein a user can utilize an image previewing module to view previewing effects of the recommended multi-size images.
Step 27: and (5) downloading the image. The user can select a plurality of multi-size recommended images in the image downloading module, and the system downloads the images selected by the user to the local computer of the user.
Fig. 3 is a schematic diagram of multi-scale image generation provided by an alternative embodiment of the invention. The user selects more images in the image editing page, the page displays more size images recommended by the system, and synchronously modifies the layer information corresponding to the recommended multi-size images according to the modification condition of the layer information by the user, for example, synchronously modifies all information, and the user clicks a download button to complete the updating and downloading of the multi-size images.
Through the above alternative embodiment, at least the following advantages can be achieved:
(1) automatically recommending and generating multi-size images;
(2) high-quality, standard and uniform multi-size images are generated quickly, and the image production efficiency is improved;
(3) the problem of the human cost, financial cost etc. that traditional drawing mode need design by hand one by one and bring is solved.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
According to an embodiment of the present invention, there is also provided an apparatus for implementing the above-described image processing method, and fig. 4 is a block diagram of a structure of the image processing apparatus according to the embodiment of the present invention, as shown in fig. 4, the apparatus including: a first determining module 402, a second determining module 404, a receiving module 406, a first modifying module 408 and a second modifying module 410, which are described in detail below.
A first determining module 402, configured to determine layer information of an initial image and size information of the initial image; a second determining module 404, connected to the first determining module 402, configured to determine an initial associated image according to the layer information of the initial image and the size information of the initial image, where the layer information of the initial associated image is the same as the layer information of the initial image, and the size information of the initial associated image is different from the size information of the initial image; a receiving module 406, connected to the second determining module 404, configured to receive a modification operation for modifying the layer information of the initial image; a first modifying module 408, connected to the receiving module 406, configured to modify, in response to a modifying operation, layer information of an initial image, and determine a modifying parameter for modifying the layer information of the initial image; and a second modifying module 410, connected to the first modifying module 408, for modifying the layer information of the initial associated image according to the modifying parameter to obtain the associated image.
It should be noted here that the first determining module 402, the second determining module 404, the receiving module 406, the first modifying module 408 and the second modifying module 410 correspond to steps S102 to S110 in the implementation of the image processing method, and a plurality of modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure in embodiment 1.
Example 3
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including: a processor; a memory for storing processor-executable instructions, wherein the processor is configured to execute the instructions to implement the image processing method of any of the above.
Example 4
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, wherein instructions of the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform any one of the image processing methods described above.
Example 5
According to another aspect of the embodiments of the present invention, there is also provided a computer program product including a computer program, wherein the computer program is configured to implement any one of the image processing methods described above when executed by a processor.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (10)
1. An image processing method, comprising:
determining layer information of an initial image and size information of the initial image;
determining an initial associated image according to the layer information of the initial image and the size information of the initial image, wherein the layer information of the initial associated image is the same as the layer information of the initial image, and the size information of the initial associated image is different from the size information of the initial image;
receiving modification operation for modifying the layer information of the initial image;
modifying the layer information of the initial image in response to the modifying operation, and determining a modifying parameter for modifying the layer information of the initial image;
and modifying the layer information of the initial associated image according to the modification parameters to obtain the associated image.
2. The method according to claim 1, wherein said modifying layer information of the initial image in response to the modifying operation and determining modification parameters for modifying layer information of the initial image comprises:
and determining a target layer corresponding to the modification operation, modifying the target layer, and determining a modification parameter for modifying the target layer.
3. The method according to claim 1, wherein the determining an initial associated image according to the layer information of the initial image and the size information of the initial image comprises:
layer information of a pre-stored image is called;
determining the layer information of the initial image and the Euclidean distance between the layer information of the pre-stored images;
and determining an initial associated image according to the Euclidean distance.
4. The method of claim 3, wherein said determining an initial correlation image based on said Euclidean distance comprises:
subtracting the preset value from the Euclidean distance to obtain the layer information of the initial image and the information contact ratio between the layer information of the prestored images;
and determining the pre-stored image with the information coincidence degree being completely coincident as an initial associated image.
5. The method of claim 1, further comprising:
a predetermined number of associated images are presented.
6. The method according to any of claims 1 to 5, wherein the modification parameters comprise at least one of: font parameters, font size parameters, color parameters, position parameters, and shape parameters.
7. An image processing apparatus characterized by comprising:
the device comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for determining layer information of an initial image and size information of the initial image;
a second determining module, configured to determine an initial associated image according to layer information of the initial image and size information of the initial image, where the layer information of the initial associated image is the same as the layer information of the initial image, and the size information of the initial associated image is different from the size information of the initial image;
the receiving module is used for receiving modification operation for modifying the layer information of the initial image;
a first modifying module, configured to modify, in response to the modifying operation, layer information of the initial image, and determine a modifying parameter for modifying the layer information of the initial image;
and the second modification module is used for modifying the layer information of the initial associated image according to the modification parameters to obtain the associated image.
8. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the image processing method of any one of claims 1 to 6.
9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the image processing method of any of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program realizes the image processing method of any one of claims 1 to 6 when executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111603341.4A CN114283184A (en) | 2021-12-24 | 2021-12-24 | Image processing method, image processing device, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111603341.4A CN114283184A (en) | 2021-12-24 | 2021-12-24 | Image processing method, image processing device, electronic equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114283184A true CN114283184A (en) | 2022-04-05 |
Family
ID=80875357
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111603341.4A Pending CN114283184A (en) | 2021-12-24 | 2021-12-24 | Image processing method, image processing device, electronic equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114283184A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115147628A (en) * | 2022-09-06 | 2022-10-04 | 深圳市明源云科技有限公司 | House image data processing method and device, terminal equipment and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103886306A (en) * | 2014-04-08 | 2014-06-25 | 山东大学 | Tooth X-ray image matching method based on SURF point matching and RANSAC model estimation |
CN105589938A (en) * | 2015-12-13 | 2016-05-18 | 公安部第三研究所 | Image retrieval system and retrieval method based on FPGA |
CN106777177A (en) * | 2016-12-22 | 2017-05-31 | 百度在线网络技术(北京)有限公司 | Search method and device |
CN112395838A (en) * | 2019-08-14 | 2021-02-23 | 阿里巴巴集团控股有限公司 | Object synchronous editing method, device, equipment and readable storage medium |
CN113761260A (en) * | 2021-05-10 | 2021-12-07 | 腾讯科技(深圳)有限公司 | Image processing method, device, equipment and computer readable storage medium |
-
2021
- 2021-12-24 CN CN202111603341.4A patent/CN114283184A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103886306A (en) * | 2014-04-08 | 2014-06-25 | 山东大学 | Tooth X-ray image matching method based on SURF point matching and RANSAC model estimation |
CN105589938A (en) * | 2015-12-13 | 2016-05-18 | 公安部第三研究所 | Image retrieval system and retrieval method based on FPGA |
CN106777177A (en) * | 2016-12-22 | 2017-05-31 | 百度在线网络技术(北京)有限公司 | Search method and device |
CN112395838A (en) * | 2019-08-14 | 2021-02-23 | 阿里巴巴集团控股有限公司 | Object synchronous editing method, device, equipment and readable storage medium |
CN113761260A (en) * | 2021-05-10 | 2021-12-07 | 腾讯科技(深圳)有限公司 | Image processing method, device, equipment and computer readable storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115147628A (en) * | 2022-09-06 | 2022-10-04 | 深圳市明源云科技有限公司 | House image data processing method and device, terminal equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10810454B2 (en) | Apparatus, method and program for image search | |
CN102855906B (en) | Image processing equipment and image processing method | |
US8867779B2 (en) | Image tagging user interface | |
JP4782105B2 (en) | Image processing apparatus and image processing method | |
US20100054600A1 (en) | Tagging Images With Labels | |
EP1559264A1 (en) | Method and system for conducting image processing from a mobile client device | |
US11894021B2 (en) | Data processing method and system, storage medium, and computing device | |
CN108351896A (en) | Content file image analysis | |
CN104581380A (en) | Information processing method and mobile terminal | |
CN108924440B (en) | Sticker display method, device, terminal and computer-readable storage medium | |
EP3073394A1 (en) | Image processing device, image processing method, program, and recording medium | |
CN111223045B (en) | Jigsaw method and device and terminal equipment | |
CN112132644A (en) | Intelligent commodity display method and updating system for VR (virtual reality) shopping mall | |
CN114283184A (en) | Image processing method, image processing device, electronic equipment and computer readable storage medium | |
CN111833234A (en) | Image display method, image processing apparatus, and computer-readable storage medium | |
CN113656487A (en) | Object data display method and object data display device in information system | |
CN108287707A (en) | JSX document generating methods, device, storage medium and computer equipment | |
CN110647500A (en) | File storage method, device, terminal and computer readable storage medium | |
CN113837181B (en) | Screening method, screening device, computer equipment and computer readable storage medium | |
CN114900734B (en) | Vehicle type comparison video generation method and device, storage medium and computer equipment | |
CN114495190A (en) | Training method of face changing network model, image face changing method and related equipment | |
CN112818160B (en) | Furniture retrieval method and device based on furniture style | |
CN116452702B (en) | Information chart rapid design method, device, computer equipment and storage medium | |
CN117590951B (en) | Multi-scene VR interaction method, system and storage medium | |
CN116206014A (en) | Image preview method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |