CN117412182A - Image processing method, device, electronic equipment and computer storage medium - Google Patents
Image processing method, device, electronic equipment and computer storage medium Download PDFInfo
- Publication number
- CN117412182A CN117412182A CN202310190036.XA CN202310190036A CN117412182A CN 117412182 A CN117412182 A CN 117412182A CN 202310190036 A CN202310190036 A CN 202310190036A CN 117412182 A CN117412182 A CN 117412182A
- Authority
- CN
- China
- Prior art keywords
- adjusted
- image
- target
- parameters
- images
- 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 32
- 238000004458 analytical method Methods 0.000 claims abstract description 21
- 238000012216 screening Methods 0.000 claims abstract description 19
- 238000012545 processing Methods 0.000 claims abstract description 17
- 238000000034 method Methods 0.000 claims description 25
- 238000004590 computer program Methods 0.000 claims description 23
- 238000001514 detection method Methods 0.000 claims description 4
- 230000006870 function Effects 0.000 description 8
- 230000009286 beneficial effect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007499 fusion processing Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Landscapes
- Image Analysis (AREA)
Abstract
The embodiment of the application discloses an image processing method, an image processing device, electronic equipment and a computer storage medium; in the embodiment of the application, a plurality of matched images to be adjusted are obtained, and information analysis is carried out on the images to be adjusted to obtain parameters of targets in the images to be adjusted; acquiring identity information of a target user for adjusting the image to be adjusted, and acquiring historical adjustment parameters of the identity information aiming at the target; determining the amplitude of the image to be adjusted according to the parameters of the target and the history adjustment parameters; and screening the images to be adjusted which meet the preset amplitude requirements from the images to be adjusted, and adjusting the images to be adjusted which meet the preset amplitude requirements to obtain adjusted images. According to the embodiment of the application, the manual degree of adjusting the image can be reduced, and the speed of adjusting the image is improved.
Description
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to an image processing method, an image processing device, an electronic device, and a computer storage medium.
Background
Along with development of science and technology, electronic devices are widely applied, photographing effects of the electronic devices are better, and more users like photographing.
Generally, after photographing by using an electronic device, a user manually adjusts an image, so that the adjusted image meets the requirement of the user. However, manually adjusting the image is cumbersome.
Disclosure of Invention
The embodiment of the application provides an image processing method, an image processing device, electronic equipment and a computer storage medium, which can solve the technical problem that manual adjustment is complicated.
The embodiment of the application provides an image processing method, which comprises the following steps:
acquiring a plurality of matched images to be adjusted, and acquiring parameters of a target in the images to be adjusted, wherein the parameters are obtained by carrying out information analysis on the images to be adjusted;
acquiring identity information of a target user for adjusting the image to be adjusted, and acquiring historical adjustment parameters of the identity information aiming at the target;
determining the amplitude of the image to be adjusted according to the parameters of the target and the history adjustment parameters;
and screening the images to be adjusted corresponding to the amplitude meeting the preset amplitude requirement from the images to be adjusted, and adjusting the images to be adjusted corresponding to the amplitude meeting the preset amplitude requirement to obtain adjusted images.
Accordingly, an embodiment of the present application provides an image processing apparatus, including:
the image acquisition module is used for acquiring a plurality of matched images to be adjusted and acquiring parameters of a target in the images to be adjusted, which are obtained by carrying out information analysis on the images to be adjusted;
the information acquisition module is used for acquiring the identity information of the target user for adjusting the image to be adjusted and acquiring the history adjustment parameters of the identity information aiming at the target;
the amplitude determining module is used for determining the amplitude of the image to be adjusted according to the parameter of the target and the history adjustment parameter;
the image adjusting module is used for screening out images to be adjusted corresponding to the amplitude meeting the preset amplitude requirement from the images to be adjusted, and adjusting the images to be adjusted corresponding to the amplitude meeting the preset amplitude requirement to obtain adjusted images.
In addition, the embodiment of the application also provides electronic equipment, which comprises a processor and a memory, wherein the memory stores a computer program, and the processor is used for running the computer program in the memory to realize the image processing method provided by the embodiment of the application.
In addition, the embodiment of the application further provides a computer readable storage medium, and the computer readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor to execute any one of the image processing methods provided by the embodiment of the application.
In addition, the embodiment of the application further provides a computer program product, which comprises a computer program, and the computer program realizes any one of the image processing methods provided by the embodiment of the application when being executed by a processor.
In the embodiment of the application, a plurality of matched images to be adjusted are obtained, information analysis is carried out on the images to be adjusted, and parameters of targets in the images to be adjusted are obtained; acquiring identity information of a target user for adjusting an image to be adjusted, and acquiring historical adjustment parameters of the identity information for the target; determining the amplitude of the image to be adjusted according to the parameters of the target and the historical adjustment parameters; the method comprises the steps of screening out images to be adjusted corresponding to the amplitude meeting the preset amplitude requirement from the images to be adjusted, adjusting the images to be adjusted corresponding to the amplitude meeting the preset amplitude requirement to obtain adjusted images, adjusting the images to be adjusted with smaller adjustment amplitude, reducing the manual degree of image adjustment, simplifying the image adjustment process, and improving the image adjustment speed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of an image processing method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of another image processing method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an image processing apparatus provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The embodiment of the application provides an image processing method, an image processing device, electronic equipment and a computer storage medium. The image processing apparatus may be integrated in an electronic device, which may be a server or a terminal.
The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, network acceleration services (Content Delivery Network, CDN), basic cloud computing services such as big data and an artificial intelligent platform.
The terminal may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, etc. The terminal and the server may be directly or indirectly connected through wired or wireless communication, which is not limited herein.
In addition, "plurality" in the embodiments of the present application means two or more. "first" and "second" and the like in the embodiments of the present application are used for distinguishing descriptions and are not to be construed as implying relative importance.
The following will describe in detail. The following description of the embodiments is not intended to limit the preferred embodiments.
In the present embodiment, description will be made from the viewpoint of an image processing apparatus, and for convenience of description of an image processing method of the present application, a detailed description will be made below with the image processing apparatus integrated in a terminal, that is, with the terminal as an execution subject.
Referring to fig. 1, fig. 1 is a flowchart of an image processing method according to an embodiment of the present application. The image processing method may include:
s101, acquiring a plurality of matched images to be adjusted, and acquiring parameters of a target in the images to be adjusted, wherein the parameters are obtained by carrying out information analysis on the images to be adjusted.
The plurality of matched images to be adjusted refer to images with similarity higher than preset similarity, and when the similarity between the images to be adjusted is higher than the preset similarity, the images to be adjusted are similar, namely the images to be adjusted are matched.
The target in the image to be adjusted refers to each part forming the image to be adjusted, for example, the image to be adjusted includes sky, tree, dog and small, and then the target may refer to sky, tree, dog and small.
The parameters of the object may refer to parameters that the object represents in the image, for example, when the object is a person, the parameters of the object may refer to the limb length, thickness, face size, face smoothness, and the like of the person.
The process of obtaining the parameters of the target in the image to be adjusted by the terminal can be as follows: and the other terminals analyze the information of the targets in the image to be adjusted to obtain the parameters of each target, and then the other terminals send the parameters of each target to the terminals so as to obtain the parameters of each target parameter.
Or, the process of acquiring the parameters of the target in the image to be adjusted by the terminal may also be: after the terminal acquires the image to be adjusted, the information analysis is carried out on the image to be adjusted, so that the parameters of the target in the image to be adjusted are obtained.
The method for acquiring the target parameters by the terminal may be selected according to actual situations, and the embodiments of the present application are not limited herein.
In some embodiments, the information analysis is performed on the image to be adjusted to obtain parameters of the target in the image to be adjusted, including:
object detection is carried out on the image to be adjusted to obtain each object in the image to be adjusted;
determining the type of an image to be adjusted;
screening targets from all objects according to types;
and carrying out information analysis on the target to obtain parameters of the target in the image to be adjusted.
In the embodiment of the application, since the target user does not necessarily adjust each object in the image to be adjusted, the object to be adjusted by the target user can be predicted according to the type of the image to be adjusted, the object to be adjusted is the target, and then the information analysis is performed on the object to be adjusted, so that the object to be analyzed is reduced, and the information analysis speed is improved.
For example, if the image to be adjusted includes a person and a tree, the person is targeted.
S102, acquiring identity information of a target user for adjusting the image to be adjusted, and acquiring historical adjustment parameters of the identity information for the target.
If the terminal has determined the identity information of the target user, the terminal can directly acquire the historical adjustment parameters of the identity information for the target, if the terminal has not determined the identity information of the target user, the terminal can display an identity input page, and then acquire the identity information of the target user in response to the input operation of the identity input page, wherein the identity input page can be at least one of a face image acquisition page, a fingerprint acquisition page, an identity number and an account input page.
When the identity input page is an account input page, if the target user is in a login state, the account can be directly used as the identity information of the target user, then the history adjustment parameters of the account aiming at the target are obtained, and the identity input page is not required to be displayed.
The historical adjustment parameters of the target may include parameters of at least one dimension, which may exist as a set of historical adjustment parameters. For example, when the target is a person, the history adjustment parameters of the target may include a history adjustment parameter indicating saturation, a history adjustment parameter indicating face size, a history adjustment parameter indicating brightness, and the like.
The history adjustment parameters of the same dimension may include an a1 parameter and an a2 parameter, indicating adjustment from the a1 parameter to the a2 parameter, or the history adjustment parameters may include only the a2 parameter, indicating adjustment of the parameter of the final target to the a2 parameter.
In some embodiments, obtaining historical adjustment parameters of identity information for a target includes:
acquiring a history adjustment parameter set corresponding to the identity information;
if the history adjustment parameters corresponding to the targets do not exist in the history adjustment parameter set, acquiring attribute information corresponding to the identity information;
and taking the adjustment parameters of the matched user aiming at the target, which are matched with the attribute information, as the historical adjustment parameters of the identity information aiming at the target.
The attribute information corresponding to the identity information refers to information indicating the nature of the target user, for example, the attribute information corresponding to the identity information may refer to at least one of age, sex, preference, and geographic location of the target user.
In the embodiment of the application, when the target user does not have the historical adjustment parameter for the target, the matching user matched with the attribute information corresponding to the identity information generally has similar adjustment operation with the target user, so that the adjustment parameter for the target of the matching user matched with the attribute information corresponding to the identity information can be used as the historical adjustment parameter for the target of the identity information.
If a set of history adjustment parameters aiming at the target exists in the history adjustment parameter set, the history adjustment parameters are directly used as the history adjustment parameters aiming at the target by the target user. And if a plurality of groups of history adjustment parameters aiming at the target exist in the history adjustment parameter set, screening a group of history adjustment parameters from the plurality of groups of history adjustment parameters to serve as the history adjustment parameters aiming at the target by the target user.
The process of screening a set of history adjustment parameters from the plurality of sets of history adjustment parameters as target user history adjustment parameters for a target may be:
acquiring the use times of each group of history adjustment parameters;
and taking the history adjustment parameter with the most use times in the plurality of groups of history adjustment parameters as the history adjustment parameter of the identity information aiming at the target.
The history adjustment parameter with the largest number of uses means that the target user frequently uses the history adjustment parameter, so that the probability that the history adjustment parameter with the largest number of uses is the history adjustment parameter required by the target user is high, and therefore the history adjustment parameter with the largest number of uses can be used as the history adjustment parameter of the identity information for the target.
Alternatively, the process of screening a set of history adjustment parameters from the plurality of sets of history adjustment parameters as the history adjustment parameters of the target user for the target may be:
determining the type of an image to be adjusted;
and screening a group of history adjustment parameters from the plurality of groups of history adjustment parameters according to the type of the image to be adjusted, wherein the group of history adjustment parameters are used as the history adjustment parameters of the target user aiming at the target.
Because the final adjustment results of the same object in different images may be different even though the parameters of the same object in different images are the same, a set of history adjustment parameters may be selected from a plurality of sets of history adjustment parameters as the history adjustment parameters of the object user for the object according to the type of the image to be adjusted, so as to obtain the history adjustment parameters suitable for the type of the image to be adjusted.
Alternatively, the process of screening a set of history adjustment parameters from the plurality of sets of history adjustment parameters as the history adjustment parameters of the target user for the target may also be:
determining a difference between a first target and a second target in the targets;
and according to the difference, screening a group of history adjustment parameters from the plurality of groups of history adjustment parameters to serve as the history adjustment parameters of the target user aiming at the first target.
In the embodiment of the application, the historical adjustment parameters of the target user aiming at the first target are screened out from a plurality of groups of historical adjustment parameters through the difference between the first target and the second target, so that the historical adjustment parameters aiming at the first target are suitable for the difference.
S103, determining the amplitude of the image to be adjusted according to the target parameter and the history adjustment parameter.
The terminal can perform subtraction operation on the target parameter and the history adjustment parameter to obtain the amplitude of the image to be adjusted, or the terminal can perform division operation on the target parameter and the history adjustment parameter to obtain the amplitude of the image to be adjusted.
S104, screening out images to be adjusted corresponding to the amplitude meeting the preset amplitude requirement from the images to be adjusted, and adjusting the images to be adjusted corresponding to the amplitude meeting the preset amplitude requirement to obtain adjusted images.
The amplitude meeting the preset amplitude requirement refers to the amplitude of the image required by the target user and is easy to adjust the image to be adjusted, and can be set according to the situation, for example, the amplitude meeting the preset amplitude requirement can refer to the minimum amplitude, or can refer to the second minimum amplitude, and the embodiment of the application is not limited herein.
And adjusting the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement to obtain an adjusted image, and understanding that the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement is subjected to p-picture to obtain a p-picture post-image.
After obtaining the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement, the terminal can automatically adjust the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement according to the historical adjustment parameters to obtain an adjusted image.
Or after obtaining the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement, the terminal can also display the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement, then receive the adjustment operation of the target user on the corresponding image to be adjusted aiming at the amplitude meeting the preset amplitude requirement, and adjust the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement according to the adjustment operation, so as to obtain an adjusted image.
In the embodiment of the application, the image to be adjusted with smaller adjustment amplitude is screened out first, so that when the target user adjusts the image to be adjusted, the image to be adjusted can be adjusted to the image required by the target user quickly, the manual degree of the target user is reduced, the speed of the target user for adjusting the image to be adjusted is improved, and the adjusted image can meet the requirements of the target user more.
In some embodiments, the adjusting operation is a selecting operation, receiving an adjusting operation of a target user for an image to be adjusted corresponding to an amplitude meeting a preset amplitude requirement, and according to the adjusting operation, adjusting the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement to obtain an adjusted image, including:
displaying the history adjustment parameters;
receiving a selection operation of a target user for the history adjustment parameters;
and adjusting the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement according to the historical adjustment parameters corresponding to the selection operation, so as to obtain an adjusted image.
In the embodiment of the application, the history adjustment parameters can be displayed so that a target user can select the history adjustment parameters according to own requirements, and then adjust the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement according to the history adjustment parameters corresponding to the selection operation, so as to obtain an adjusted image.
If the historical adjustment parameters of the target user aiming at the target are determined according to the use times of the historical adjustment parameters in the process of determining the historical adjustment parameters of the target, the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement is adjusted according to the historical adjustment parameters corresponding to the selection operation, and after the adjusted image is obtained, the use times of the historical adjustment parameters corresponding to the selection operation can be increased by 1.
In other embodiments, the adjusting operation is an input operation, and after adjusting the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement according to the adjusting operation, the method further includes:
updating the history adjustment parameters according to the adjustment parameters corresponding to the input operation to obtain updated history adjustment parameters;
and storing the later history adjustment parameters as history adjustment parameters.
The process of updating the historical adjustment parameters according to the adjustment parameters corresponding to the input operation may be: and taking the adjustment parameters and the history adjustment parameters corresponding to the input operation as updated history adjustment parameters.
Or, according to the adjustment parameters corresponding to the input operation, the process of updating the historical adjustment parameters may also be: and determining a parameter difference between the adjustment parameter corresponding to the input operation and the history adjustment parameter, if the parameter difference is smaller than or equal to a preset difference, taking the history adjustment parameter as an updated history adjustment parameter, and if the parameter difference is larger than the preset difference, carrying out fusion processing on the adjustment parameter corresponding to the input operation and the history adjustment parameter to obtain the updated history adjustment parameter.
According to the method and the device for adjusting the image to be adjusted, after the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement is adjusted according to the adjustment operation, the historical adjustment parameters are updated in real time according to the adjustment parameters corresponding to the input operation after the adjusted image is obtained, so that accuracy of the historical adjustment parameters is guaranteed, the image to be adjusted, which is screened according to the historical adjustment parameters, is more accurate, manual degree of adjusting the image by a target user is further reduced, and speed of adjusting the image by the target user is improved.
For example, as shown in fig. 2, a terminal obtains an image to be adjusted through a photographing module, then performs information analysis on the image to be adjusted through an analysis module to obtain parameters of a target in the image to be adjusted, then screens out historical adjustment parameters of a target user for the target from a historical adjustment parameter set, screens out the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement according to the historical adjustment parameters, displays the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement through an image display module, receives input operation of the target user for the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement, adjusts the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement according to the adjustment parameters corresponding to the input operation, and updates the adjustment parameters corresponding to the input operation into the historical adjustment parameter set.
In other embodiments, after obtaining the adjusted image, the terminal may display the image to be adjusted and the adjusted image on the same interface for comparison by the target user.
As can be seen from the above, in the embodiment of the present application, a plurality of matched images to be adjusted are obtained, and information analysis is performed on the images to be adjusted to obtain parameters of a target in the images to be adjusted; acquiring identity information of a target user for adjusting an image to be adjusted, and acquiring historical adjustment parameters of the identity information for the target; determining the amplitude of the image to be adjusted according to the parameters of the target and the historical adjustment parameters; the method comprises the steps of screening out images to be adjusted corresponding to the amplitude meeting the preset amplitude requirement from the images to be adjusted, adjusting the images to be adjusted corresponding to the amplitude meeting the preset amplitude requirement to obtain adjusted images, adjusting the images to be adjusted with smaller adjustment amplitude, reducing the manual degree of image adjustment, simplifying the image adjustment process, and improving the image adjustment speed.
In order to facilitate better implementation of the image processing method provided by the embodiment of the application, the embodiment of the application also provides a device based on the image processing method. Where the meaning of the terms is the same as in the image processing method described above, specific implementation details may be referred to in the description of the method embodiments.
For example, as shown in fig. 3, the image processing apparatus may include:
the image obtaining module 301 is configured to obtain a plurality of matched images to be adjusted, and obtain parameters of a target in the images to be adjusted, where the parameters are obtained by performing information analysis on the images to be adjusted.
The information obtaining module 302 is configured to obtain identity information of a target user who adjusts an image to be adjusted, and obtain historical adjustment parameters of the identity information for the target.
The amplitude determining module 303 is configured to determine an amplitude of the image to be adjusted according to the parameter of the target and the historical adjustment parameter.
The image adjustment module 304 is configured to screen an image to be adjusted corresponding to an amplitude meeting a preset amplitude requirement from the images to be adjusted, and adjust the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement, so as to obtain an adjusted image.
Optionally, the image adjustment module 304 is specifically configured to perform:
displaying an image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement;
receiving the adjustment operation of a target user on the corresponding image to be adjusted aiming at the amplitude meeting the preset amplitude requirement;
and according to the adjustment operation, adjusting the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement to obtain an adjusted image.
Optionally, the adjustment operation is a selection operation.
Accordingly, the image adjustment module 304 is specifically configured to perform:
displaying the history adjustment parameters;
receiving a selection operation of a target user for the history adjustment parameters;
and adjusting the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement according to the historical adjustment parameters corresponding to the selection operation, so as to obtain an adjusted image.
Optionally, the adjustment operation is an input operation.
Accordingly, the image processing apparatus further includes:
an update module for performing:
updating the history adjustment parameters according to the adjustment parameters corresponding to the input operation to obtain updated history adjustment parameters;
and storing the later history adjustment parameters as history adjustment parameters.
Optionally, the information obtaining module 302 is specifically configured to perform:
acquiring a history adjustment parameter set corresponding to the identity information;
if the history adjustment parameters corresponding to the targets do not exist in the history adjustment parameter set, acquiring attribute information corresponding to the identity information;
and taking the adjustment parameters of the matched user aiming at the target, which are matched with the attribute information, as the historical adjustment parameters of the identity information aiming at the target.
Optionally, the information obtaining module 302 is specifically configured to perform:
if a plurality of groups of history adjustment parameters corresponding to the targets exist in the history adjustment parameter set, the using times of each group of history adjustment parameters are obtained;
and taking the history adjustment parameter with the most use times in the plurality of groups of history adjustment parameters as the history adjustment parameter of the identity information aiming at the target.
Optionally, the information obtaining module 302 is specifically configured to perform:
object detection is carried out on the image to be adjusted to obtain each object in the image to be adjusted;
determining the type of an image to be adjusted;
screening targets from all objects according to types;
and carrying out information analysis on the target to obtain parameters of the target in the image to be adjusted.
In the specific implementation, each module may be implemented as an independent entity, or may be combined arbitrarily, and implemented as the same entity or a plurality of entities, and the specific implementation and the corresponding beneficial effects of each module may be referred to the foregoing method embodiments, which are not described herein again.
The embodiment of the application also provides an electronic device, which may be a server or a terminal, as shown in fig. 4, and shows a schematic structural diagram of the electronic device according to the embodiment of the application, specifically:
the electronic device may include one or more processing cores 'processors 401, one or more computer-readable storage media's memory 402, power supply 403, and input unit 404, among other components. Those skilled in the art will appreciate that the electronic device structure shown in fig. 4 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or may be arranged in different components. Wherein:
the processor 401 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing computer programs and/or modules stored in the memory 402, and calling data stored in the memory 402. Optionally, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application program, etc., and the modem processor mainly processes wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store computer programs and modules, and the processor 401 executes various functional applications and data processing by executing the computer programs and modules stored in the memory 402. The memory 402 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, a computer program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the electronic device, etc. In addition, memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
The electronic device further comprises a power supply 403 for supplying power to the various components, preferably the power supply 403 may be logically connected to the processor 401 by a power management system, so that functions of managing charging, discharging, and power consumption are performed by the power management system. The power supply 403 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The electronic device may further comprise an input unit 404, which input unit 404 may be used for receiving input digital or character information and generating keyboard, mouse, joystick, optical or trackball signal inputs in connection with user settings and function control.
Although not shown, the electronic device may further include a display unit or the like, which is not described herein. In particular, in this embodiment, the processor 401 in the electronic device loads executable files corresponding to the processes of one or more computer programs into the memory 402 according to the following instructions, and the processor 401 executes the computer programs stored in the memory 402, so as to implement various functions, for example:
acquiring a plurality of matched images to be adjusted, and acquiring parameters of a target in the images to be adjusted, wherein the parameters are obtained by carrying out information analysis on the images to be adjusted;
acquiring identity information of a target user for adjusting an image to be adjusted, and acquiring historical adjustment parameters of the identity information for the target;
determining the amplitude of the image to be adjusted according to the parameters of the target and the historical adjustment parameters;
and screening the images to be adjusted corresponding to the amplitude meeting the preset amplitude requirement from the images to be adjusted, and adjusting the images to be adjusted corresponding to the amplitude meeting the preset amplitude requirement to obtain the adjusted images.
The specific embodiments and the corresponding beneficial effects of the above operations can be referred to the above detailed description of the image processing method, and are not described herein.
It will be appreciated by those of ordinary skill in the art that all or part of the steps of the various methods of the above embodiments may be performed by a computer program, or by computer program control related hardware, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present embodiments provide a computer readable storage medium having stored therein a computer program that can be loaded by a processor to perform the steps of any of the image processing methods provided by the embodiments of the present application. For example, the computer program may perform the steps of:
acquiring a plurality of matched images to be adjusted, and acquiring parameters of a target in the images to be adjusted, wherein the parameters are obtained by carrying out information analysis on the images to be adjusted;
acquiring identity information of a target user for adjusting an image to be adjusted, and acquiring historical adjustment parameters of the identity information for the target;
determining the amplitude of the image to be adjusted according to the parameters of the target and the historical adjustment parameters;
and screening the images to be adjusted corresponding to the amplitude meeting the preset amplitude requirement from the images to be adjusted, and adjusting the images to be adjusted corresponding to the amplitude meeting the preset amplitude requirement to obtain the adjusted images.
The specific embodiments and the corresponding beneficial effects of each of the above operations can be found in the foregoing embodiments, and are not described herein again.
Wherein the computer-readable storage medium may comprise: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Since the computer program stored in the computer readable storage medium may execute the steps in any one of the image processing methods provided in the embodiments of the present application, the beneficial effects that any one of the image processing methods provided in the embodiments of the present application may be achieved, which is detailed in the previous embodiments and will not be described herein.
Among other things, according to one aspect of the present application, a computer program product or computer program is provided that includes computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions so that the computer device performs the above-described image processing method.
The foregoing has described in detail the methods, apparatuses, electronic devices and computer storage media for image processing according to the embodiments of the present application, and specific examples have been applied to illustrate the principles and embodiments of the present application, where the foregoing examples are provided to assist in understanding the methods and core ideas of the present application; meanwhile, those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, and the present description should not be construed as limiting the present application in view of the above.
Claims (10)
1. An image processing method, comprising:
acquiring a plurality of matched images to be adjusted, and acquiring parameters of a target in the images to be adjusted, wherein the parameters are obtained by carrying out information analysis on the images to be adjusted;
acquiring identity information of a target user for adjusting the image to be adjusted, and acquiring historical adjustment parameters of the identity information aiming at the target;
determining the amplitude of the image to be adjusted according to the parameters of the target and the history adjustment parameters;
and screening the images to be adjusted corresponding to the amplitude meeting the preset amplitude requirement from the images to be adjusted, and adjusting the images to be adjusted corresponding to the amplitude meeting the preset amplitude requirement to obtain adjusted images.
2. The image processing method according to claim 1, wherein the adjusting the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement to obtain the adjusted image includes:
displaying the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement;
receiving the adjustment operation of the target user on the corresponding image to be adjusted aiming at the amplitude meeting the preset amplitude requirement;
and according to the adjustment operation, adjusting the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement to obtain an adjusted image.
3. The image processing method according to claim 2, wherein the adjustment operation is a selection operation;
the step of receiving the adjustment operation of the target user on the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement, and adjusting the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement according to the adjustment operation, so as to obtain an adjusted image, including:
displaying the history adjustment parameters;
receiving a selection operation of the target user for the history adjustment parameters;
and adjusting the image to be adjusted corresponding to the amplitude meeting the preset amplitude requirement according to the historical adjustment parameters corresponding to the selection operation, so as to obtain an adjusted image.
4. The image processing method according to claim 2, wherein the adjustment operation is an input operation, and after the adjusting the image to be adjusted corresponding to the amplitude satisfying the preset amplitude requirement according to the adjustment operation, obtaining the adjusted image, the method further comprises:
updating the historical adjustment parameters according to the adjustment parameters corresponding to the input operation to obtain updated historical adjustment parameters;
and storing the more post-history adjustment parameters as history adjustment parameters.
5. The image processing method according to claim 1, wherein the acquiring the history adjustment parameter of the identity information for the target includes:
acquiring a history adjustment parameter set corresponding to the identity information;
if the history adjustment parameters corresponding to the targets do not exist in the history adjustment parameter set, acquiring attribute information corresponding to the identity information;
and taking the adjustment parameters of the matched user matched with the attribute information aiming at the target as the historical adjustment parameters of the identity information aiming at the target.
6. The image processing method according to claim 5, further comprising, after the acquiring the history adjustment parameter set corresponding to the identity information:
if a plurality of groups of history adjustment parameters corresponding to the targets exist in the history adjustment parameter set, acquiring the use times of each group of history adjustment parameters;
and taking the history adjustment parameter with the most use times in the plurality of groups of history adjustment parameters as the history adjustment parameter of the identity information aiming at the target.
7. The image processing method according to claim 1, wherein the performing information analysis on the image to be adjusted to obtain the parameters of the target in the image to be adjusted includes:
performing object detection on the image to be adjusted to obtain each object in the image to be adjusted;
determining the type of the image to be adjusted;
screening targets from the objects according to the types;
and carrying out information analysis on the target to obtain parameters of the target in the image to be adjusted.
8. An image processing apparatus, comprising:
the image acquisition module is used for acquiring a plurality of matched images to be adjusted and acquiring parameters of a target in the images to be adjusted, wherein the parameters are obtained by carrying out information analysis on the images to be adjusted;
the information acquisition module is used for acquiring the identity information of the target user for adjusting the image to be adjusted and acquiring the history adjustment parameters of the identity information aiming at the target;
the amplitude determining module is used for determining the amplitude of the image to be adjusted according to the parameter of the target and the history adjustment parameter;
the image adjusting module is used for screening out images to be adjusted corresponding to the amplitude meeting the preset amplitude requirement from the images to be adjusted, and adjusting the images to be adjusted corresponding to the amplitude meeting the preset amplitude requirement to obtain adjusted images.
9. An electronic device comprising a processor and a memory, the memory storing a computer program, the processor being configured to execute the computer program in the memory to perform the image processing method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program adapted to be loaded by a processor for performing the image processing method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310190036.XA CN117412182A (en) | 2023-02-24 | 2023-02-24 | Image processing method, device, electronic equipment and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310190036.XA CN117412182A (en) | 2023-02-24 | 2023-02-24 | Image processing method, device, electronic equipment and computer storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117412182A true CN117412182A (en) | 2024-01-16 |
Family
ID=89489673
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310190036.XA Pending CN117412182A (en) | 2023-02-24 | 2023-02-24 | Image processing method, device, electronic equipment and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117412182A (en) |
-
2023
- 2023-02-24 CN CN202310190036.XA patent/CN117412182A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108961157B (en) | Picture processing method, picture processing device and terminal equipment | |
CN110688270A (en) | Video element resource processing method, device, equipment and storage medium | |
CN111984803A (en) | Multimedia resource processing method and device, computer equipment and storage medium | |
CN111263241B (en) | Method, device and equipment for generating media data and storage medium | |
CN113568645B (en) | Software updating method, device, electronic equipment and storage medium | |
CN117412182A (en) | Image processing method, device, electronic equipment and computer storage medium | |
CN113515336B (en) | Live room joining method, creation method, device, equipment and storage medium | |
CN114117178A (en) | Information processing method and device and electronic equipment | |
CN114238223A (en) | Picture removing method and device, computer equipment and computer readable storage medium | |
CN117435564A (en) | Image processing method, device, electronic equipment and computer storage medium | |
CN117918775A (en) | Vision testing method, device, electronic equipment and computer storage medium | |
CN113742585B (en) | Content searching method, device, electronic equipment and computer readable storage medium | |
CN113742573B (en) | Multimedia resource searching method, device, computer equipment and storage medium | |
CN117942561A (en) | Game image quality processing method, game image quality processing device, electronic equipment and computer storage medium | |
CN114327331B (en) | Information display method, information display device, electronic equipment and computer readable storage medium | |
CN117412025A (en) | Brightness testing method and device, electronic equipment and computer storage medium | |
CN114387186A (en) | Visibility adjustment method, device, electronic device and computer-readable storage medium | |
CN112882929B (en) | Test method, test device, computer equipment and storage medium | |
CN117409219A (en) | Image matching method, device, electronic equipment and computer storage medium | |
CN117440178A (en) | Video processing method, video processing device, electronic equipment and computer storage medium | |
CN113836405B (en) | Information query method, device and computer readable storage medium | |
CN117474756A (en) | Image processing method, device, electronic equipment and computer storage medium | |
CN113408601B (en) | Model generation method, electronic device and storage medium | |
CN110489068B (en) | Data display method and equipment, storage medium and application server thereof | |
CN117412139A (en) | Television image quality adjustment method, television image quality adjustment device, electronic equipment and computer 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 |