CN108134927A - Image processing method, device and storage medium - Google Patents
Image processing method, device and storage medium Download PDFInfo
- Publication number
- CN108134927A CN108134927A CN201810066668.4A CN201810066668A CN108134927A CN 108134927 A CN108134927 A CN 108134927A CN 201810066668 A CN201810066668 A CN 201810066668A CN 108134927 A CN108134927 A CN 108134927A
- Authority
- CN
- China
- Prior art keywords
- information
- white balance
- image
- default
- pending image
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/73—Colour balance circuits, e.g. white balance circuits or colour temperature control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
- H04N23/84—Camera processing pipelines; Components thereof for processing colour signals
- H04N23/88—Camera processing pipelines; Components thereof for processing colour signals for colour balance, e.g. white-balance circuits or colour temperature control
Abstract
The disclosure is directed to a kind of image processing method, device and storage medium, this method includes:Obtain at least one information in Current Temperatures information, current season information and current time information;The white balance of pending image, the image after being adjusted are adjusted according at least one of described information.So that user need not be adjusted the white balance of pending image by repairing figure software, so as to improve image processing efficiency.
Description
Technical field
This disclosure relates to image processing techniques, more particularly to a kind of image processing method, device and storage medium.
Background technology
Usual people have subjectivity to the color identification of image, such as:In winter, it is intended that image display effect
Inclined warm tones (such as yellow hue) some, at summer, the colder tone of desired image display effect (such as blue cast) some.Alternatively,
In the morning and evening, it is intended that the inclined warm tones of image display effect some, at noon when, desired image display effect is colder
Tone some.User, which may be used, at present repaiies figure software to adjust the tone of image.
Invention content
To overcome the problems in correlation technique, the disclosure provides a kind of image processing method, device and storage medium.
Technical solution is as follows:
According to the embodiment of the present disclosure in a first aspect, provide a kind of image processing method, including:Obtain Current Temperatures letter
At least one information in breath, current season information and current time information;Pending image is adjusted according at least one information
White balance, the image after being adjusted.
The technical scheme provided by this disclosed embodiment can include the following benefits:It is provided by the embodiment of the present disclosure
Image processing method so that user is without being adjusted the white balance of pending image by repairing figure software, but electronics
Equipment is automatically adjusted the white balance of pending image, so as to improve image processing efficiency.
Optionally, if at least one information is an information, pending image is adjusted according at least one information
White balance, the image after being adjusted, including:Determine the corresponding first default white balance of an information;Adjust pending image
White balance to the first default white balance, with the image after being adjusted.
The technical scheme provided by this disclosed embodiment can include the following benefits:Electronic equipment can be according to current
An information in temperature information, current season information and current time information adjusts the white balance of pending image to first pre-
If white balance.The white balance of pending image is adjusted by repairing figure software without user, and then is improved at image
Manage efficiency.
Optionally it is determined that before the corresponding first default white balance of an information, further include:Establish an information and first
First correspondence of default white balance;Correspondingly, determine the corresponding first default white balance of an information, including:According to
One correspondence and an information determine the first default white balance.
The technical scheme provided by this disclosed embodiment can include the following benefits:It can be effectively by this method
Establish the first correspondence of an information and the first default white balance.So as to determine first according to first correspondence
Default white balance so that be adjusted without user by repairing figure software to the white balance of pending image, and then improve image
Treatment effeciency.
Optionally, the white balance of pending image is adjusted to the first default white balance, including:By adjusting electronic equipment
The mode of screen color parameter, to adjust the white balance of pending image to the first default white balance;Alternatively, by adjusting electronics
The mode of the display color parameter of the picture library of equipment, to adjust the white balance of pending image to the first default white balance.
Optionally, if at least one information is multinomial information, pending image is adjusted according at least one information
White balance, the image after being adjusted, including:Determine an information of highest priority in multinomial information;Determine priority most
A high information, corresponding second default white balance;The white balance of pending image is adjusted to the second default white balance, to obtain
Image after to adjustment.
The technical scheme provided by this disclosed embodiment can include the following benefits:Electronic equipment can be according to current
Multinomial information in temperature information, current season information and current time information adjusts the white balance of pending image to first pre-
If white balance.The white balance of pending image is adjusted by repairing figure software without user, and then is improved at image
Manage efficiency.
Optionally it is determined that before the corresponding second default white balance of an information of highest priority, further include:It establishes excellent
Second correspondence of the first highest information of grade and the second default white balance;Correspondingly, determine one of highest priority
The corresponding second default white balance of information, including:Second is determined according to an information of the second correspondence and highest priority
Default white balance.
The technical scheme provided by this disclosed embodiment can include the following benefits:It can be effectively by this method
Establish an information of highest priority and the second correspondence of the second default white balance.So as to according to second correspondence
Relationship determines the first default white balance so that the white balance of pending image is adjusted by repairing figure software without user,
And then improve image processing efficiency.
Optionally, the white balance of pending image is adjusted to the second default white balance, including:By adjusting electronic equipment
The mode of screen color parameter, to adjust the white balance of pending image to the second default white balance;Alternatively, by adjusting electronics
The mode of the display color parameter of the picture library of equipment, to adjust the white balance of pending image to the second default white balance.
A kind of image processing apparatus is provided below, which can be used for performing the optional side such as first aspect and first aspect
It is repeated no more below the method for any one of formula, content and effect.
According to the second aspect of the embodiment of the present disclosure, a kind of image processing apparatus is provided, including:
Acquisition module is configured as obtaining in Current Temperatures information, current season information and current time information at least
One information;
Module is adjusted, is configured as adjusting the white balance of pending image according at least one information, after being adjusted
Image.
Optionally, if at least one information is an information, module is adjusted, including:
First determination sub-module is configured to determine that the corresponding first default white balance of an information;
The first adjustment submodule is configured as adjusting the white balance of pending image to the first default white balance, to obtain
Image after adjustment.
Optionally, image processing apparatus further includes:
First setting up submodule is configured as establishing the first correspondence of an information and the first default white balance;
Correspondingly, the first determination sub-module is specifically used for:
First default white balance is determined according to the first correspondence and an information.
Optionally, the first adjustment submodule is configured as:By adjusting the mode of the screen color parameter of electronic equipment, with
The white balance of pending image is adjusted to the first default white balance;Alternatively, the display color of the picture library by adjusting electronic equipment
The mode of parameter, to adjust the white balance of pending image to the first default white balance.
Optionally, if at least one information is multinomial information, module is adjusted, including:
Second determination sub-module is configured to determine that an information of highest priority in multinomial information, and determines preferential
The highest information of grade, corresponding second default white balance;
Second adjustment submodule is configured as adjusting the white balance of pending image to the second default white balance, to obtain
Image after adjustment.
Optionally, it further includes:Second setting up submodule is configured as establishing an information and second for highest priority in advance
If the second correspondence of white balance;
Correspondingly, the second determination sub-module is true specifically for an information according to the second correspondence and highest priority
Fixed second default white balance.
Optionally, second adjustment submodule is specifically used for:By adjusting the mode of the screen color parameter of electronic equipment, with
The white balance of pending image is adjusted to the second default white balance;Alternatively, the display color of the picture library by adjusting electronic equipment
The mode of parameter, to adjust the white balance of pending image to the second default white balance.
According to the third aspect of the embodiment of the present disclosure, a kind of image processing apparatus is provided, including:
Processor;
For storing the memory of the executable instruction of processor;
Wherein, processor is configured as:
Obtain at least one information in Current Temperatures information, current season information and current time information;
According at least one information, the white balance of pending image is adjusted, the image after being adjusted.
According to the fourth aspect of the embodiment of the present disclosure, a kind of computer readable storage medium is provided, is stored thereon with calculating
Machine instructs, and is realized when computer instruction is executed by processor such as any one of the optional mode of first aspect and first aspect method
The step of.
The technical scheme provided by this disclosed embodiment can include the following benefits:The embodiment of the present disclosure provides a kind of
Image processing method, device and storage medium, this method include:Obtain Current Temperatures information, current season information and it is current when
Between in information at least one of information;The white balance of pending image, the figure after being adjusted are adjusted according at least one information
Picture.So that user need not be adjusted the white balance of pending image by repairing figure software, but electronic equipment is treated automatically
The white balance of processing image is adjusted, so as to improve image processing efficiency.
It should be understood that above general description and following detailed description are only exemplary and explanatory, not
The disclosure can be limited.
Description of the drawings
Attached drawing herein is incorporated into specification and forms the part of this specification, shows the implementation for meeting the disclosure
Example, and for explaining the principle of the disclosure together with specification.
Fig. 1 is the flow chart according to a kind of image processing method shown in an exemplary embodiment;
Fig. 2 is the flow chart of a kind of image processing method shown according to another exemplary embodiment;
Fig. 3 is the flow chart according to a kind of image processing method shown in another exemplary embodiment;
Fig. 4 is the block diagram according to a kind of image processing apparatus shown in an exemplary embodiment;
Fig. 5 is the block diagram of a kind of image processing apparatus shown according to another exemplary embodiment;
Fig. 6 is the block diagram according to a kind of image processing apparatus shown in another exemplary embodiment;
Fig. 7 is the block diagram according to a kind of entity of image processing apparatus shown in an exemplary embodiment;
Fig. 8 is the block diagram according to a kind of image processing apparatus 800 shown in an exemplary embodiment.
Pass through above-mentioned attached drawing, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings
The range for limiting the disclosure by any mode and conceiving is not intended to word description, but is by reference to specific embodiment
Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, example is illustrated in the accompanying drawings.Following description is related to
During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
The technical solution of the disclosure is described in detail with specifically embodiment below.These specific implementations below
Example can be combined with each other, and the same or similar concept or process may be repeated no more in some embodiments.
Fig. 1 is the flow chart according to a kind of image processing method shown in an exemplary embodiment.The execution master of this method
Body can be image processing apparatus, which can be part or all of in electronic equipment.Below to be applied to
For part in the electronic equipment, as shown in Figure 1, this method may comprise steps of:
In step S101, at least one in Current Temperatures information, current season information and current time information is obtained
Information;
In step s 102, the white balance of pending image is adjusted according at least one of described information, after being adjusted
Image.
Specifically, electronic equipment can be directly acquired in Current Temperatures information, current season information and current time information
At least one of information.Such as:Temperature sensor in electronic equipment can obtain Current Temperatures information.Electronic equipment can root
Current time information is obtained, and current season information is determined according to the current time information according to system software or application software.Example
Such as:Current time information is Monday on January 22nd, 2018, it is determined that current season information is winter.
Alternatively, electronic equipment can be in indirect gain Current Temperatures information, current season information and current time information
At least one information.Such as:Temperature sensor in other electronic equipments can obtain Current Temperatures information.Other electronic equipments
Current time information can be obtained according to system software or application software, and determines that current season is believed according to the current time information
Breath.Such as:Current time information is Monday on January 22nd, 2018, it is determined that current season information is winter.Other electronics are set
It is standby at least one information in the Current Temperatures information got, current season information and current time information to be sent to
The electronic equipment.
After getting at least one information in Current Temperatures information, current season information and current time information, electricity
Sub- equipment can adjust the white balance of pending image, the image after being adjusted according at least one of described information.It wherein waits to locate
Reason image can be the image of the image stored in memory or the camera captured in real-time of electronic equipment or be
The image obtained from other electronic equipments or high in the clouds, the application are without limitation.
Further, white balance is to describe one that red, green, blue three primary colours in display mix white accuracy after generation
Index.White balance is the very important concept in one, telephotography field, can solve color rendition by it and tone is handled
A series of problems.White balance is generated as electron image reproducing colors are true, should in professional field of photography white balance
It is relatively early, it is also extensively used in present domestic electronic appliances (household video camera, digital camera).
It should be noted that the white balance for adjusting pending image includes:Adjust the RGB ratio of pending image.
For example, when Current Temperatures are below 10 degrees Celsius, the red ratio in the pending image of electronic equipment adjustable height,
So that the image appearance after adjustment is warm tones.When Current Temperatures are when on 20 degrees Celsius, the pending figure of electronic equipment adjustable height
Blue Scale as in, so that the image appearance after adjustment is cool tone.
For example, ought in winter, the red ratio in the pending image of electronic equipment adjustable height, so that the image after adjustment
Show as warm tones.When in summer, the Blue Scale in the pending image of electronic equipment adjustable height, so that the image after adjustment
Show as cool tone.
For example, 0 point of one day to morning 8 points and 18 points to 24 when, in the pending image of electronic equipment adjustable height
Red ratio so that adjustment after image appearance be warm tones.In 8 points to 18 of one day, electronic equipment adjustable height was treated
The Blue Scale in image is handled, so that the image appearance after adjustment is cool tone.
The image processing method that the disclosure provides, wherein electronic equipment can obtain Current Temperatures information, current season letter
At least one information in breath and current time information;And according at least one of described information, adjust the white flat of pending image
Weighing apparatus, the image after being adjusted so that the white balance of pending image is adjusted by repairing figure software without user, so as to
Improve image processing efficiency.
Further, it is divided in above-mentioned steps S102 for two kinds of situations:The first situation:Electronic equipment can be according to current temperature
An information in information, current season information and current time information is spent, the white balance of pending image is adjusted, is adjusted
Image afterwards.The second situation:Electronic equipment can be according in Current Temperatures information, current season information and current time information
Multinomial information, adjust the white balance of pending image, the image after being adjusted.
The image processing method that the first situation is related to is introduced first below, specifically, Fig. 2 is according to another exemplary reality
Apply the flow chart of a kind of image processing method exemplified.As shown in Fig. 2, above-mentioned S102 may comprise steps of:
In step s 201:Determine the corresponding first default white balance of an information;
In step S202:The white balance of pending image is adjusted to the first default white balance, with the figure after being adjusted
Picture.
Optionally, before step S202, described image processing method further includes:Establish an information and described the
First correspondence of one default white balance;Correspondingly, step S202 includes:According to first correspondence and one described
Information determines the described first default white balance.
Example one:One information is Current Temperatures information.Electronic equipment can pre-establish at least one temperature information
Correspondence between at least one white balance, it is specific such as table 1:
Table 1
Temperature information | White balance (blue light:Feux rouges:Green light) |
5 degrees Celsius | 1:3:2 |
10 degrees Celsius | 1:2:2 |
20 degrees Celsius | 2:1:1 |
30 degrees Celsius | 3:1:1 |
Assuming that Current Temperatures are 5 degrees Celsius, it is determined that the first default white balance is 1:3:2.First correspondence is Celsius for 5
Degree and the first default white balance 1:3:2 correspondence.Based on this, if the current white balance of pending image is 1:3:2, then without
The white balance of pending image need to be adjusted.If the current white balance of pending image is not 1:3:2, then it can adjust pending figure
The white balance of picture is to the first default white balance, with the image after being adjusted.
It should be noted that if Current Temperatures information determines most to connect with Current Temperatures information not in table 1, then in table 1
Near temperature information, and using the corresponding white balance of immediate temperature information as the first default white balance.Such as:If current temperature
It is 8 degrees Celsius to spend, then determines that with the nearest temperature information of Current Temperatures be 10 degrees Celsius, and by 1 in table 1:2:2 is corresponding white
Balance is as the first default white balance.If Current Temperatures exist simultaneously two immediate temperature informations, any one is most connect
The corresponding white balance of near temperature information is as the first default white balance;Alternatively, by being stored in two immediate temperature informations
The corresponding white balance of temperature information of address minimum is as the first default white balance;Alternatively, by two immediate temperature informations
The corresponding white balance of temperature information of middle storage address maximum is as the first default white balance.How the application is to connect according to two
Near temperature information determines that the first default white balance is not limited.
It is noted that the correspondence between multiple temperature informations and multiple white balances is illustrated only in table 1, it is practical
On, which can also be the correspondence between multiple temperature ranges and multiple white balances.Specific such as table 2:
Table 2
Temperature information (unit:Degree Celsius) | White balance (blue light:Feux rouges:Green light) |
【5,10】 | 1:3:2 |
【11,20】 | 1:2:2 |
【21,30】 | 2:1:1 |
【31,40】 | 3:1:1 |
Assuming that Current Temperatures are 5 degrees Celsius, it is determined that the first default white balance is 1:3:2.First correspondence is Celsius for 5
Degree and the first default white balance 1:3:2 correspondence.Based on this, if the current white balance of pending image is 1:3:2, then without
The white balance of pending image need to be adjusted.If the current white balance of pending image is not 1:3:2, then it can adjust pending figure
The white balance of picture is to the first default white balance, with the image after being adjusted.
It should be noted that if Current Temperatures information determines most to connect with Current Temperatures information not in table 1, then in table 1
Near temperature information, and using the corresponding white balance of immediate temperature information as the first default white balance.Such as:If current temperature
It is 4 degrees Celsius to spend, then determines that the temperature information nearest with Current Temperatures is in table 1【5,10】, and by 1:3:2 is corresponding white flat
Weighing apparatus is as the first default white balance.
Example two:One information is current season information.Electronic equipment can pre-establish at least one season information
Correspondence between at least one white balance, it is specific such as table 3:
Table 3
Season information | White balance (blue light:Feux rouges:Green light) |
Spring | 1:1:1 |
Summer | 3:1:1 |
Autumn | 1:1:1 |
Winter | 1:3:1 |
Assuming that current season is winter, it is determined that the first default white balance is 1:3:1.First correspondence is winter and the
One default white balance 1:3:1 correspondence.Based on this, if the current white balance of pending image is 1:3:1, then without adjustment
The white balance of pending image.If the current white balance of pending image is not 1:3:1, then it can adjust the white of pending image
Balance is to the first default white balance, with the image after being adjusted.
Example three:One information is current time information.Electronic equipment can pre-establish at least one temporal information
Correspondence between at least one white balance, it is specific such as table 4:
Table 4
Temporal information | White balance (blue light:Feux rouges:Green light) |
2018-1-23-6:00 | 1:3:1 |
2018-1-23-10:00 | 1:1:1 |
2018-1-23-14:00 | 3:1:1 |
2018-1-23-18:00 | 1:3:1 |
Assuming that current time is 2018-1-23-6:00, it is determined that the first default white balance is 1:3:1.Based on this, if treating
The current white balance for handling image is 1:3:1, then it need not adjust the white balance of pending image.If pending image is current white
Balance is not 1:3:1, then the white balance of pending image can be adjusted to the first default white balance, with the figure after being adjusted
Picture.
It should be noted that if current time information is not in table 4, then determine most to connect with current time information in table 4
Near temporal information, and using the corresponding white balance of immediate temporal information as the first default white balance.Such as:If when current
Between be 2018-1-23-7:00, then determine that with the nearest temporal information of current time be 2018-1-23-6 in table 1:00, and will
1:3:1 corresponding white balance is as the first default white balance.If current time exists simultaneously two immediate temporal informations,
Using the corresponding white balance of any one immediate temporal information as the first default white balance;Alternatively, by two it is immediate when
Between in information storage address minimum the corresponding white balance of temporal information as the first default white balance;Alternatively, two are most connect
The corresponding white balance of temporal information of storage address maximum is as the first default white balance near temporal information.The application is to such as
What determines that the first default white balance is not limited according to two close temporal informations.
It is noted that the correspondence between multiple temporal informations and multiple white balances is illustrated only in table 4, it is practical
On, which can also be the correspondence between multiple time intervals and multiple white balances.Specific such as table 5:
Table 5
Temporal information | White balance (blue light:Feux rouges:Green light) |
【2018-1-23-6:01~2018-1-23-10:00】 | 1:3:2 |
【2018-1-23-10:01~2018-1-23-14:00】 | 1:2:2 |
【2018-1-23-14:01~2018-1-23-18:00】 | 2:1:1 |
【2018-1-23-18:01~2018-1-23-22:00】 | 3:1:1 |
【2018-1-23-22:01~2018-1-23-02:00】 | 4:1:1 |
【2018-1-23-02:01~2018-1-23-06:00】 | 3:1:1 |
Assuming that current time is 2018-1-23-8:00, it is determined that the first default white balance is 1:3:2.First correspondence
For 2018-1-23-8:00 and the first default white balance 1:3:2 correspondence.Based on this, if pending image is current white flat
Weigh is 1:3:2, then it need not adjust the white balance of pending image.If the current white balance of pending image is not 1:3:2, then may be used
To adjust the white balance of pending image to the first default white balance, with the image after being adjusted.
Further, the white balance of pending image is adjusted in step S202 to the first default white balance, including:Pass through
The mode of the screen color parameter of electronic equipment is adjusted, to adjust the white balance of the pending image to described first default white
Balance.The screen color parameter includes:The white balance of pending image.
Alternatively, mode of the electronic equipment by adjusting the display color parameter of the picture library of the electronic equipment, to adjust
The white balance of pending image is stated to the described first default white balance.The display color parameter of the picture library includes:Pending image
White balance.
It should be noted that the mode of both white balances for adjusting pending images the difference lies in:It is adjusted when passing through
When the mode of the screen color parameter of whole electronic equipment adjusts the white balance of pending image, the screen of electronic equipment, display
Image, video etc. are also adjusted white balance.It adjusts and treats by way of the display color parameter of the picture library electronic equipment
When handling the white balance of image, only the image in the picture library and/or video are just adjusted white balance, and the electronics is set
The white balance of standby screen remains unchanged.
The image processing method that the disclosure provides, wherein electronic equipment can be believed according to Current Temperatures information, current season
It ceases and the white balance of the pending image of information adjustment in current time information to the first default white balance.Without with
Family is adjusted the white balance of pending image by repairing figure software, so as to improve image processing efficiency.
As described above, electronic equipment can also be according in Current Temperatures information, current season information and current time information
Multinomial information, adjust the white balance of pending image, the image after being adjusted.Specifically, Fig. 3 is according to another exemplary
Implement the flow chart of a kind of image processing method exemplified.As shown in figure 3, above-mentioned S102 may comprise steps of:
In step S301:Determine the multinomial information in Current Temperatures information, current season information and current time information
One information of middle highest priority;
In step s 302:Determine the corresponding second default white balance of an information of the highest priority;
In step S303:The white balance of the pending image is adjusted to the described second default white balance, to obtain
State the image after adjustment.
Optionally, it before step S302, further includes:Establish an information and described second for the highest priority in advance
If the second correspondence of white balance;Correspondingly, step S302 includes:According to second correspondence and the priority most
A high information determines the described second default white balance.
Wherein, each single item pair in the predeterminable Current Temperatures information of electronic equipment, current season information and current time information
The priority answered.Such as:Each single item in the preset Current Temperatures information of electronic equipment, current season information and current time information
The relationship of priority is:The priority of Current Temperatures information>The priority of current season information>Current time information it is preferential
Grade.When arbitrary two information of the electronic equipment in this three adjusts the white balance of pending image, electronic equipment is at this
One of highest priority is selected in arbitrary two information, and by adjusting pending figure such as the corresponding embodiments of the method for Fig. 2
The white balance of picture.When electronic equipment is according to this three white balances for adjusting pending image, electronic equipment is according to Current Temperatures
Information, and the white balance of pending image is adjusted by the corresponding embodiments of the method for such as Fig. 2.
Further, the white balance of pending image is adjusted in step S202 to the second default white balance, including:Pass through
The mode of the screen color parameter of electronic equipment is adjusted, to adjust the white balance of the pending image to described second default white
Balance;The screen color parameter includes:The white balance of pending image.
Alternatively, the mode of the display color parameter by adjusting the picture library of electronic equipment, to adjust the pending image
White balance to the described second default white balance.The display color parameter of the picture library includes:The white balance of pending image.
It should be noted that the mode of both white balances for adjusting pending images the difference lies in:It is adjusted when passing through
When the mode of the screen color parameter of whole electronic equipment adjusts the white balance of pending image, the screen of electronic equipment, display
Image, video etc. are also adjusted white balance.It adjusts and treats by way of the display color parameter of the picture library electronic equipment
When handling the white balance of image, only the image in the picture library and/or video are just adjusted white balance, and the electronics is set
The white balance of standby screen remains unchanged.
The image processing method that the disclosure provides, wherein electronic equipment can be believed according to Current Temperatures information, current season
It ceases and the white balance of the pending image of multinomial information adjustment in current time information to the first default white balance.Without with
Family is adjusted the white balance of pending image by repairing figure software, and then improves image processing efficiency.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.For disclosure device reality
The details not disclosed in example is applied, please refers to embodiments of the present disclosure.
Fig. 4 is the block diagram according to a kind of image processing apparatus shown in an exemplary embodiment.As shown in figure 4, the image
Processing unit includes:
Acquisition module 41 is configured as obtaining in Current Temperatures information, current season information and current time information extremely
One item missing information.
Module 42 is adjusted, at least one of is configured as according to being got the acquisition module 41 information and adjusts to wait to locate
Manage the white balance of image, the image after being adjusted.
The image processing apparatus that the disclosure provides, available for performing the corresponding embodiments of the method for Fig. 1, content and effect exist
This is repeated no more.
A kind of optional mode, Fig. 5 are the block diagrams of a kind of image processing apparatus shown according to another exemplary embodiment.Such as
Shown in Fig. 5, if at least one information is an information, adjusts module 42 and include:
First determination sub-module 421 is configured to determine that the corresponding first default white balance of an information;
The first adjustment submodule 422 is configured as adjusting the white balance of pending image to the first default white balance, to obtain
Image after to adjustment.
Further, which further includes:
First setting up submodule 423 is configured as establishing the first correspondence of an information and the first default white balance;
Correspondingly, the first determination sub-module 421 is specifically used for determining that first is pre- according to the first correspondence and an information
If white balance.
Optionally, the first adjustment submodule 422 is configured as:By adjusting the side of the screen color parameter of electronic equipment
Formula, to adjust the white balance of pending image to the first default white balance;Alternatively, the display of the picture library by adjusting electronic equipment
The mode of color parameter, to adjust the white balance of pending image to the first default white balance.
The image processing apparatus that the disclosure provides, available for performing the corresponding embodiments of the method for Fig. 2, content and effect exist
This is repeated no more.
Another optional mode, Fig. 6 is the block diagram according to a kind of image processing apparatus shown in another exemplary embodiment.
As shown in fig. 6, when if at least one information is multinomial information, adjusts module 42 and include:
Second determination sub-module 424 is configured to determine that an information of highest priority in the multinomial information, and really
One information of the fixed highest priority, corresponding second default white balance;
Second adjustment submodule 425 is configured as adjusting the white balance of the pending image to described second default white
Balance, to obtain the image after the adjustment.
Optionally, which further includes:
Second setting up submodule 426, an information for being configured as establishing the highest priority are preset with described second
Second correspondence of white balance;
Correspondingly, second determination sub-module 424 is specifically used for:According to second correspondence and the priority
A highest information determines the described second default white balance.
Optionally, second adjustment submodule 425 is specifically used for the mode of the screen color parameter by adjusting electronic equipment,
To adjust the white balance of the pending image to the described second default white balance;Alternatively, by adjusting the electronic equipment
The mode of the display color parameter of picture library, to adjust the white balance of the pending image to the described second default white balance.
It should be noted that each submodule that Fig. 5 and Fig. 6 include can reside in same image processing apparatus.
The application is not limited it.
The image processing apparatus that the disclosure provides, available for performing the corresponding embodiments of the method for Fig. 3, content and effect exist
This is repeated no more.
Fig. 7 is the block diagram according to a kind of entity of image processing apparatus shown in an exemplary embodiment.As shown in fig. 7,
The image processing apparatus includes:Processor 71 and memory 72.The memory 72 is used to store the executable instruction of processor 71,
So that processor 71 is configured as:Obtain at least one in Current Temperatures information, current season information and current time information
Information;According at least one of described information, the white balance of pending image, the image after being adjusted are adjusted.
Optionally, when at least one of if described information is an information, processor 71 is specifically configured to:It determines described
The corresponding first default white balance of one information;The white balance of the pending image is adjusted to the described first default white balance,
To obtain the image after the adjustment.
Optionally, processor 71 is additionally configured to establish the first couple of an information and the described first default white balance
It should be related to;Correspondingly, processor 71 is specifically configured to according to determining first correspondence and an information
First default white balance.
Optionally, processor 71 is specifically configured to the mode of the screen color parameter by adjusting electronic equipment, to adjust
The white balance of the whole pending image is to the described first default white balance;Alternatively, the picture library by adjusting the electronic equipment
Display color parameter mode, to adjust the white balance of the pending image to the described first default white balance.
Optionally, when at least one of if described information is multinomial information, processor 71 is specifically configured to:It determines described
An information of highest priority in multinomial information;Determine an information of the highest priority, corresponding second is default white
Balance;The white balance of the pending image is adjusted to the described second default white balance, to obtain the image after the adjustment.
Optionally, processor 71 is additionally configured to establish an information of the highest priority and described second default white
Second correspondence of balance;Correspondingly, processor 71 is specifically configured to according to second correspondence and described preferential
The highest information of grade determines the described second default white balance.
Optionally, processor 71 is specifically configured to the mode of the screen color parameter by adjusting electronic equipment, to adjust
The white balance of the whole pending image is to the described second default white balance;Alternatively, the picture library by adjusting the electronic equipment
Display color parameter mode, to adjust the white balance of the pending image to the described second default white balance.
In the embodiment of above-mentioned image processing apparatus, it should be appreciated that processor 71 can be central processing unit (Central
Processing Unit, CPU), it can also be other general processors, digital signal processor (Digital Signal
Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC) etc..
General processor can be microprocessor or the processor can also be any conventional processor etc., and aforementioned memory
72 can be read-only memory (read-only memory, ROM), random access memory (random access memory,
RAM), flash memory, hard disk or solid state disk.Optionally, image processing apparatus can also include SIM card.SIM card is also referred to as
For subscriber identification card, smart card, digital mobile telephone must load onto this card and can use.Stored on computer chip
The contents such as the telephone directory of the information of digital mobile phone client, encrypted key and user.With reference to embodiment of the present disclosure institute
The step of disclosed method, can be embodied directly in hardware processor and perform completion or with the hardware in processor and software mould
Block combination performs completion.
About the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 8 is the block diagram according to a kind of image processing apparatus 800 shown in an exemplary embodiment.For example, device 800 can
To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices are good for
Body equipment, personal digital assistant etc..
With reference to Fig. 8, device 800 can include following one or more components:Processing component 802, memory 804, power supply
Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814 and
Communication component 816.
The integrated operation of 802 usual control device 800 of processing component, such as with display, call, data communication, phase
Machine operates and record operates associated operation.Processing component 802 can refer to including one or more processors 820 to perform
It enables, to perform all or part of the steps of the methods described above.In addition, processing component 802 can include one or more modules, just
Interaction between processing component 802 and other assemblies.For example, processing component 802 can include multi-media module, it is more to facilitate
Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shown
Example includes the instruction of any application program or method for being operated on device 800, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 can include power management system
System, one or more power supplys and other generate, manage and distribute electric power associated component with for device 800.
Multimedia component 808 is included in the touching display screen of one output interface of offer between device 800 and user.
In some embodiments, touching display screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touching
Panel, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch
Sensor is touched to sense the gesture on touch, slide, and touch panel.Touch sensor can not only sense touch or slide dynamic
The boundary of work, but also detect and touch or the relevant duration and pressure of slide.In some embodiments, multimedia
Component 808 includes a front camera and/or rear camera.When device 800 is in operation mode, such as screening-mode or regard
During frequency pattern, front camera and/or rear camera can receive external multi-medium data.Each front camera is with after
Putting camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike
Wind (MIC), when device 800 is in operation mode, during such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set
Part 816 is sent.In some embodiments, audio component 810 further includes a loud speaker, for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Main button, volume button, start button and lock
Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented
Estimate.For example, sensor module 814 can detect opening/closed state of device 800, the relative positioning of component, such as component
For the display and keypad of device 800, sensor module 814 can be with the position of 800 1 components of detection device 800 or device
Put change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and the temperature of device 800
Variation.Sensor module 814 can include proximity sensor, be configured to detect without any physical contact near
The presence of object.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, for should in imaging
With middle use.In some embodiments, which can also include acceleration transducer, gyro sensor, magnetic
Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device
800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation
In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, communication component 816 further includes near-field communication (NFC) module, to promote short range communication.For example,
Radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, bluetooth can be based in NFC module
(BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application application-specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 804 of instruction, above-metioned instruction can be performed to complete the above method by the processor 820 of device 800.For example,
Non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and light
Data storage device etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium is held by the processor of device 800
During row so that device 800 is able to carry out a kind of image processing method.This method includes:
Obtain at least one information in Current Temperatures information, current season information and current time information;
The white balance of pending image, the image after being adjusted are adjusted according at least one information.
Optionally, if at least one information is an information, pending image is adjusted according at least one information
White balance, the image after being adjusted, including:Determine the corresponding first default white balance of an information;Adjust pending image
White balance to the first default white balance, with the image after being adjusted.
Optionally it is determined that before the corresponding first default white balance of an information, further include:Establish an information and first
First correspondence of default white balance;Correspondingly, determine the corresponding first default white balance of an information, including:According to
One correspondence and an information determine the first default white balance.
Optionally, the white balance of pending image is adjusted to the first default white balance, including:By adjusting electronic equipment
The mode of screen color parameter, to adjust the white balance of pending image to the first default white balance;Alternatively, by adjusting electronics
The mode of the display color parameter of the picture library of equipment, to adjust the white balance of pending image to the first default white balance.
Optionally, if at least one information is multinomial information, pending image is adjusted according at least one information
White balance, the image after being adjusted, including:Determine an information of highest priority in multinomial information;Determine priority most
A high information, corresponding second default white balance;The white balance of pending image is adjusted to the second default white balance, to obtain
Image after to adjustment.
Optionally it is determined that before the corresponding second default white balance of an information of highest priority, further include:It establishes excellent
Second correspondence of the first highest information of grade and the second default white balance;Correspondingly, determine one of highest priority
The corresponding second default white balance of information, including:Second is determined according to an information of the second correspondence and highest priority
Default white balance.
Optionally, the white balance of pending image is adjusted to the second default white balance, including:By adjusting electronic equipment
The mode of screen color parameter, to adjust the white balance of pending image to the second default white balance;Alternatively, by adjusting electronics
The mode of the display color parameter of the picture library of equipment, to adjust the white balance of pending image to the second default white balance.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as illustratively, and the true scope and spirit of the disclosure are by following
Claims are pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claims
System.
Claims (16)
1. a kind of image processing method, which is characterized in that including:
Obtain at least one information in Current Temperatures information, current season information and current time information;
The white balance of pending image, the image after being adjusted are adjusted according at least one of described information.
2. according to the method described in claim 1, it is characterized in that, when if at least one of described information is an information, institute
State the white balance that pending image is adjusted according at least one of described information, the image after being adjusted, including:
Determine the corresponding first default white balance of an information;
The white balance of the pending image is adjusted to the described first default white balance, to obtain the image after the adjustment.
3. according to the method described in claim 2, it is characterized in that, described determine that an information corresponding first is preset in vain
Before balance, further include:
Establish the first correspondence of an information and the described first default white balance;
Correspondingly, described determine the corresponding first default white balance of an information, including:
Described first default white balance is determined according to first correspondence and an information.
4. according to the method in claim 2 or 3, which is characterized in that the white balance of the adjustment pending image is extremely
The first default white balance, including:
By adjusting the mode of the screen color parameter of electronic equipment, to adjust the white balance of the pending image to described
One default white balance;Alternatively,
By adjusting the mode of the display color parameter of the picture library of the electronic equipment, to adjust the white flat of the pending image
It weighs to the described first default white balance.
5. according to the method described in claim 1, it is characterized in that, when if at least one of described information is multinomial information, institute
State the white balance that pending image is adjusted according at least one of described information, the image after being adjusted, including:
Determine an information of highest priority in the multinomial information;
Determine an information of the highest priority, corresponding second default white balance;
The white balance of the pending image is adjusted to the described second default white balance, to obtain the image after the adjustment.
6. according to the method described in claim 5, it is characterized in that, an information for determining the highest priority corresponds to
The second default white balance before, further include:
Establish an information of the highest priority and the second correspondence of the described second default white balance;
Correspondingly, the corresponding second default white balance of an information for determining the highest priority, including:
Described second default white balance is determined according to an information of second correspondence and the highest priority.
7. method according to claim 5 or 6, which is characterized in that the white balance of the adjustment pending image is extremely
The second default white balance, including:
By adjusting the mode of the screen color parameter of electronic equipment, to adjust the white balance of the pending image to described
Two default white balances;Alternatively,
By adjusting the mode of the display color parameter of the picture library of the electronic equipment, to adjust the white flat of the pending image
It weighs to the described second default white balance.
8. a kind of image processing apparatus, which is characterized in that including:
Acquisition module is configured as obtaining at least one in Current Temperatures information, current season information and current time information
Information;
Module is adjusted, is configured as adjusting the white balance of pending image according at least one of described information, after being adjusted
Image.
9. device according to claim 8, which is characterized in that if at least one of described information is an information, institute
Adjustment module is stated, including:
First determination sub-module is configured to determine that the corresponding first default white balance of an information;
The first adjustment submodule is configured as adjusting the white balance of the pending image to the described first default white balance, with
Obtain the image after the adjustment.
10. device according to claim 9, which is characterized in that further include:
First setting up submodule is configured as establishing the first corresponding pass of an information and the described first default white balance
System;
Correspondingly, first determination sub-module is specifically used for:
Described first default white balance is determined according to first correspondence and an information.
11. device according to claim 9 or 10, which is characterized in that the first adjustment submodule is configured as:
By adjusting the mode of the screen color parameter of electronic equipment, to adjust the white balance of the pending image to described
One default white balance;Alternatively,
By adjusting the mode of the display color parameter of the picture library of the electronic equipment, to adjust the white flat of the pending image
It weighs to the described first default white balance.
12. device according to claim 8, which is characterized in that if at least one of described information is multinomial information, institute
Adjustment module is stated, including:
Second determination sub-module is configured to determine that an information of highest priority in the multinomial information, and determines described
One information of highest priority, corresponding second default white balance;
Second adjustment submodule is configured as adjusting the white balance of the pending image to the described second default white balance, with
Obtain the image after the adjustment.
13. device according to claim 12, which is characterized in that further include:
Second setting up submodule is configured as establishing the information and the described second default white balance of the highest priority
Second correspondence;
Correspondingly, second determination sub-module is specifically used for:
Described second default white balance is determined according to an information of second correspondence and the highest priority.
14. device according to claim 12 or 13, which is characterized in that the second adjustment submodule is specifically used for:
By adjusting the mode of the screen color parameter of electronic equipment, to adjust the white balance of the pending image to described
Two default white balances;Alternatively,
By adjusting the mode of the display color parameter of the picture library of the electronic equipment, to adjust the white flat of the pending image
It weighs to the described second default white balance.
15. a kind of image processing apparatus, which is characterized in that including:
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is configured as:
Obtain at least one information in Current Temperatures information, current season information and current time information;
According at least one of described information, the white balance of pending image, the image after being adjusted are adjusted.
16. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that the computer instruction
It is realized when being executed by processor such as the step of any one of claim 1-7 the methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810066668.4A CN108134927A (en) | 2018-01-24 | 2018-01-24 | Image processing method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810066668.4A CN108134927A (en) | 2018-01-24 | 2018-01-24 | Image processing method, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108134927A true CN108134927A (en) | 2018-06-08 |
Family
ID=62400173
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810066668.4A Pending CN108134927A (en) | 2018-01-24 | 2018-01-24 | Image processing method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108134927A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007036695A (en) * | 2005-07-27 | 2007-02-08 | Noritsu Koki Co Ltd | Color adjustment module and photograph print order processing apparatus assembled therewith |
CN104077991A (en) * | 2013-03-25 | 2014-10-01 | 刘鸿达 | Display device and color temperature adjusting method thereof |
CN105681679A (en) * | 2016-03-10 | 2016-06-15 | 青岛海信移动通信技术股份有限公司 | White balance adjusting method and mobile terminal |
CN106027787A (en) * | 2016-06-15 | 2016-10-12 | 维沃移动通信有限公司 | White balance method of mobile terminal, and mobile terminal |
CN107438995A (en) * | 2016-09-30 | 2017-12-05 | 深圳市大疆创新科技有限公司 | For the method, apparatus and equipment of the shooting strategy for determining capture apparatus |
-
2018
- 2018-01-24 CN CN201810066668.4A patent/CN108134927A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007036695A (en) * | 2005-07-27 | 2007-02-08 | Noritsu Koki Co Ltd | Color adjustment module and photograph print order processing apparatus assembled therewith |
CN104077991A (en) * | 2013-03-25 | 2014-10-01 | 刘鸿达 | Display device and color temperature adjusting method thereof |
CN105681679A (en) * | 2016-03-10 | 2016-06-15 | 青岛海信移动通信技术股份有限公司 | White balance adjusting method and mobile terminal |
CN106027787A (en) * | 2016-06-15 | 2016-10-12 | 维沃移动通信有限公司 | White balance method of mobile terminal, and mobile terminal |
CN107438995A (en) * | 2016-09-30 | 2017-12-05 | 深圳市大疆创新科技有限公司 | For the method, apparatus and equipment of the shooting strategy for determining capture apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2630167C1 (en) | Method and device for switching colour range mode | |
EP3079082A1 (en) | Method and apparatus for album display | |
CN105100764B (en) | Image pickup method and device | |
WO2016011747A1 (en) | Skin color adjustment method and device | |
US20170055150A1 (en) | Method and device for acquiring using authority | |
CN105261346A (en) | Backlight brightness adjusting method and device and terminal device | |
CN109345485A (en) | A kind of image enchancing method, device, electronic equipment and storage medium | |
CN107155060A (en) | Image processing method and device | |
CN107231505B (en) | Image processing method and device | |
CN105141806B (en) | The display methods and device of image file | |
CN104978200A (en) | Application program display method and device | |
CN105512615B (en) | Image processing method and device | |
CN105516586A (en) | Picture shooting method, device and system | |
CN105208176B (en) | Contact person record processing method and processing device | |
CN107426489A (en) | Processing method, device and terminal during shooting image | |
CN104464674B (en) | Liquid crystal display method of adjustment and device | |
CN107911576A (en) | Image processing method, device and storage medium | |
CN107797361A (en) | Method of adjustment, device and the storage medium of flash lamp | |
CN104834699B (en) | The method, apparatus and mobile terminal of photo are deleted based on use state | |
US10627996B2 (en) | Method and apparatus for sorting filter options | |
CN106303488A (en) | Camera lens module, mobile terminal and the method for remedial frames colour cast | |
CN106557294A (en) | Color adjustment method and device | |
CN107730443B (en) | Image processing method and device and user equipment | |
US20230180101A1 (en) | Communication control method and communication control apparatus | |
CN105677352A (en) | Setting method and device for application icon color |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180608 |
|
RJ01 | Rejection of invention patent application after publication |