CN105100637A - Image processing method and electronic equipment - Google Patents

Image processing method and electronic equipment Download PDF

Info

Publication number
CN105100637A
CN105100637A CN201510549601.2A CN201510549601A CN105100637A CN 105100637 A CN105100637 A CN 105100637A CN 201510549601 A CN201510549601 A CN 201510549601A CN 105100637 A CN105100637 A CN 105100637A
Authority
CN
China
Prior art keywords
current frame
frame image
image
described current
dynamic range
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
Application number
CN201510549601.2A
Other languages
Chinese (zh)
Inventor
孔文海
李立华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510549601.2A priority Critical patent/CN105100637A/en
Publication of CN105100637A publication Critical patent/CN105100637A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Devices (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses an image processing method and electronic equipment. The image processing method comprises the following steps: detecting a dynamic range of a current frame image after obtaining the current frame image of a target object by the electronic equipment; determining an image compensation direction according to the dynamic range of the current frame image; further adjusting an original exposure parameter according to the determined image compensation direction so as to obtain an adjusted exposure parameter; acquiring the image of the target object by utilizing the adjusted exposure parameter so as to obtain a new frame image; and synthesizing the new frame image and the obtained current frame image so as to obtain a high dynamic range image of the target object.

Description

A kind of image processing method and electronic equipment
Technical field
The present invention relates to data processing technique, be specifically related to a kind of image processing method and electronic equipment.
Background technology
At present, under multiframe exposure status, generally need to gather 2-3 and open different exposure parameter image to synthesize high dynamic range images (HighDynamicRange, HDR).Like this, the time gathering the different exposure parameter image of 2-3 frame belongs to the stand-by period, and every frame consumes the time that 30-200ms does not wait usually, can occupy about 1/3 of the whole HDR image rise time, thus have a strong impact on whole HDR image generating rate, reduce Consumer's Experience.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of image processing method and electronic equipment for solving problems of the prior art.
The technical scheme of the embodiment of the present invention is achieved in that
The embodiment of the present invention provides a kind of image processing method, and the method is applied in electronic equipment, and described method comprises:
Obtain the current frame image of destination object;
Detect the dynamic range of described current frame image;
According to the dynamic range determination image compensation direction of described current frame image;
Original exposure parameter is adjusted, the exposure parameter after being adjusted according to determined image compensation direction;
Utilize the exposure parameter after described adjustment to carry out IMAQ to destination object, obtain new two field picture;
Described new two field picture and the current frame image obtained are carried out Images uniting, obtains the high dynamic range images of described destination object.
In such scheme, after detecting the dynamic range of described current frame image, described method also comprises:
When the dynamic range of described current frame image meets pre-conditioned, the described current frame image obtained is carried out enhancing process, obtain the high dynamic range images of described destination object.
In such scheme, detect the dynamic range of described current frame image, comprising:
Image distribution analysis is carried out to described current frame image; When the exposure area that there is luminance parameter in described current frame image and exceed predetermined threshold value, then determine that the dynamic range of described current frame image does not meet pre-conditioned.
In such scheme, the exposure area that luminance parameter exceeds predetermined threshold value is there is in described current frame image, comprise: in described current frame image, there is the exposure area of luminance parameter higher than preset upper limit value, and/or in described current frame image, there is the exposure area of luminance parameter lower than preset lower limit value;
The described dynamic range determination image compensation direction according to described current frame image, comprising:
When there is the exposure area of luminance parameter higher than preset upper limit value in described current frame image, determine that described image compensation direction is that height exposes to the sun;
When there is the exposure area of luminance parameter lower than preset lower limit value in described current frame image, determine to expose to the sun for owing in described image compensation direction.
In such scheme, adjust original exposure parameter according to determined image compensation direction, the exposure parameter after being adjusted, comprising:
When described image compensation direction be height expose to the sun time, reduce original exposure parameter according to default adjustable strategies, the exposure parameter after being adjusted;
When described image compensation direction is for owing to expose to the sun, raise original exposure parameter according to default adjustable strategies, the exposure parameter after being adjusted.
The embodiment of the present invention also provides a kind of electronic equipment, and described electronic equipment comprises acquiring unit, detecting unit, determining unit, adjustment unit, image acquisition units and image composing unit;
Described acquiring unit, for obtaining the current frame image of destination object;
Described detecting unit, for detecting the dynamic range of described current frame image;
Described determining unit, for the dynamic range determination image compensation direction according to described current frame image;
Described adjustment unit, for adjusting original exposure parameter according to determined image compensation direction, the exposure parameter after being adjusted;
Described image acquisition units, for utilizing the exposure parameter after described adjustment to carry out IMAQ to destination object, obtains new two field picture;
Described image composing unit, for described new two field picture and the current frame image obtained are carried out Images uniting, obtains the high dynamic range images of described destination object.
In such scheme, described electronic equipment also comprises enhancing processing unit;
Described enhancing processing unit, when having the dynamic range of described current frame image to meet pre-conditioned for detecting when described detecting unit, carrying out enhancing process, obtaining the high dynamic range images of described destination object by the described current frame image obtained.
In such scheme, described detecting unit, for carrying out image distribution analysis to described current frame image; When the exposure area that there is luminance parameter in described current frame image and exceed predetermined threshold value, then determine that the dynamic range of described current frame image does not meet pre-conditioned.
In such scheme, the exposure area that luminance parameter exceeds predetermined threshold value is there is in described current frame image, comprise: in described current frame image, there is the exposure area of luminance parameter higher than preset upper limit value, and/or in described current frame image, there is the exposure area of luminance parameter lower than preset lower limit value;
Accordingly, described determining unit comprises first and determines that subelement determined by subelement and second;
Described first determines subelement, for when there is the exposure area of luminance parameter higher than preset upper limit value in described current frame image, determines that described image compensation direction is that height exposes to the sun;
Described second determines subelement, for when there is the exposure area of luminance parameter lower than preset lower limit value in described current frame image, determines to expose to the sun for owing in described image compensation direction.
In such scheme, described adjustment unit comprises the first adjustment subelement and the second adjustment subelement;
Described first adjustment subelement, for when described image compensation direction be height expose to the sun time, reduce original exposure parameter according to default adjustable strategies, the exposure parameter after being adjusted;
Described second adjustment subelement, for when described image compensation direction is for owing to expose to the sun, raises original exposure parameter according to default adjustable strategies, the exposure parameter after being adjusted.
In the embodiment of the present invention, electronic equipment detects the dynamic range of described current frame image after obtaining the current frame image of destination object; Again according to the dynamic range determination image compensation direction of described current frame image; Original exposure parameter is adjusted further, the exposure parameter after being adjusted according to determined image compensation direction; Utilize the exposure parameter after described adjustment to carry out IMAQ to destination object, obtain new two field picture; Described new two field picture and the current frame image obtained are carried out Images uniting, obtains the high dynamic range images of described destination object.So, by image processing method described in the embodiment of the present invention, in whole HDR image generative process, image compensation direction is determined by carrying out graphical analysis to the image obtained, with the exposure parameter needed for accurate adjustment IMAQ, reach the object reducing and gather picture number, improve whole HDR image generating rate, promote Consumer's Experience.
Accompanying drawing explanation
Fig. 1-1 is the realization flow schematic diagram one of embodiment of the present invention image processing method;
Fig. 1-2 for determine described in the embodiment of the present invention one image compensation direction be height expose to the sun when carry out Images uniting to obtain the display effect figure of high dynamic range images;
Fig. 1-3 is for carrying out Images uniting to obtain the display effect figure of high dynamic range images when determining that image compensation direction is low exposing to the sun described in the embodiment of the present invention one;
Fig. 2 is the realization flow schematic diagram two of embodiment of the present invention image processing method;
Fig. 3 is the realization flow schematic diagram three of embodiment of the present invention image processing method;
Fig. 4 is the composition structural representation of embodiment of the present invention electronic equipment.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in further detail.
Embodiment of the method one:
Fig. 1-1 is the realization flow schematic diagram one of embodiment of the present invention image processing method, and as Figure 1-1, described image processing method can be applied in electronic equipment, and described method comprises:
Step S101: the current frame image obtaining destination object;
Wherein, the current frame image of described destination object can be the image be kept at before described electronic equipment performs action/shutter of taking pictures in the memory cell of self.Particularly, electronic equipment directly can obtain the current frame image of destination object from self memory cell by the mode of preview.
Here, described electronic equipment can be mobile phone, PC, panel computer, personal digital assistant etc.
It should be noted that, in actual applications, because the resolution of electronic equipment is more and more higher, the preview frame per second of the transducer sensor of 8M or 16M resolution can reach 15fps or higher, preview frame per second in this case and maximum resolution of taking pictures are generally same, now electronic equipment directly can obtain the current frame image of the destination object stored by preview mode, and further graphical analysis is carried out to determine image compensation direction, with the exposure parameter needed for accurate adjustment IMAQ to described current frame image.
Step S102: the dynamic range detecting described current frame image;
Particularly, electronic equipment detects the dynamic range of described current frame image by image distribution analysis; When detection has in described current frame image the exposure area that there is luminance parameter and exceed predetermined threshold value, then determine that the dynamic range of described current frame image does not meet pre-conditioned, continue to perform subsequent step S103.Described pre-conditioned setting can integronics self resolution and the requirement of whole HDR image is determined.
Wherein, the exposure area that luminance parameter exceeds predetermined threshold value is there is in described current frame image, comprise: in described current frame image, there is the exposure area of luminance parameter higher than preset upper limit value, and/or in described current frame image, there is the exposure area of luminance parameter lower than preset lower limit value.
Here, it should be added that, when detection has the dynamic range of described current frame image to meet pre-conditioned, directly the described current frame image obtained can be carried out enhancing process, obtain the high dynamic range images of described destination object.
Wherein, the described current frame image obtained is carried out the associated pictures such as enhancing process can comprise tone mapping (tonemapping), contrast draws high and strengthen process.
Step S103: according to the dynamic range determination image compensation direction of described current frame image;
Particularly, according to the dynamic range determination image compensation direction of described current frame image, comprising:
Situation A is when there is the exposure area of luminance parameter higher than preset upper limit value in current frame image, then determine that described image compensation direction is that height exposes to the sun when being determined that by step S102 the dynamic range of described current frame image does not meet pre-conditioned situation;
Situation B is when there is the exposure area of luminance parameter lower than preset lower limit value in current frame image, then determine to expose to the sun for owing in described image compensation direction when being determined that by step S102 the dynamic range of described current frame image does not meet pre-conditioned situation.
Certainly, in actual applications, dynamic range due to described current frame image does not meet pre-conditioned situation can comprise the simultaneous situation of situation A and situation B, namely there is luminance parameter in current frame image lower than the exposure area of preset lower limit value and the luminance parameter situation higher than the exposure area of preset upper limit value, now, can determine that described image compensation direction is that height exposes to the sun, owes to expose to the sun.
Step S104: adjust original exposure parameter according to determined image compensation direction, the exposure parameter after being adjusted;
Particularly, electronic equipment adjusts original exposure parameter according to determined image compensation direction, comprising: when described image compensation direction be height expose to the sun time, reduce original exposure parameter according to default adjustable strategies, the exposure parameter after being adjusted; When described image compensation direction is for owing to expose to the sun, raise original exposure parameter according to default adjustable strategies, the exposure parameter after being adjusted.
In actual applications, be that height exposes to the sun for described image compensation direction, namely there is overexposure phenomenon in current frame image, then need to gather the image reducing exposure further, therefore reduce time for exposure and gain, and original exposure value is reduced 1-2EV; Expose to the sun for owing for described image compensation direction, namely current frame image occurs owing phenomenon of exposing to the sun, then need to gather the image improving exposure further, therefore improves time for exposure and gain, and original exposure value is raised 1-2EV.
Step S105: utilize the exposure parameter after described adjustment to carry out IMAQ to destination object, obtain new two field picture;
Particularly, electronic equipment utilizes the exposure parameter after described adjustment to carry out IMAQ to destination object, obtains new two field picture, comprising:
Be that height exposes to the sun for described image compensation direction, by the exposure parameter after original exposure value is reduced 1-2EV, IMAQ carried out to destination object, to obtain the two field picture reducing exposure, make the height of current frame image region of exposing to the sun normal;
Be low exposing to the sun for described image compensation direction, by the exposure parameter after original exposure value is raised 1-2EV, IMAQ carried out to destination object, to obtain the two field picture raising exposure, make the deficient region of exposing to the sun of current frame image normal.
Certainly, for described image supplement direction exist simultaneously high expose to the sun and owe to expose to the sun when, need the mode by raising exposure value and reduce the mode of exposure value to gather two new two field pictures respectively, expose to the sun to make height respectively and owe region normalization of exposing to the sun.
Step S106: described new two field picture and the current frame image obtained are carried out Images uniting, obtains the high dynamic range images of described destination object.
Particularly, electronic equipment by characteristic matching and image alignment (Multi-Framesregistration), remove ghost (De-ghost) and merge technology such as (fusing) described new two field picture and the current frame image obtained are carried out Images uniting, obtain the high dynamic range images of described destination object.
To introduce in step S103 ~ S106 below described determines that image compensation direction is that height carries out Images uniting to obtain high dynamic range images when exposing to the sun, Fig. 1-2 for determine described in the embodiment of the present invention one image compensation direction be height expose to the sun when carry out Images uniting to obtain the display effect figure of high dynamic range images, as shown in Figure 1-2, suppose that described current frame image determined by electronic equipment, as shown in Fig. 1-2 (a), image compensation direction be that height exposes to the sun, namely exist high expose to the sun region A time, original exposure value is reduced according to determined image compensation direction, exposure parameter after being adjusted, and utilize the exposure parameter after described adjustment to carry out IMAQ to destination object, obtain the new two field picture reducing exposure, as shown in Fig. 1-2 (b), again Fig. 1-2 (b) and Fig. 1-2 (a) are carried out Images uniting, obtain the high dynamic range images of described destination object, as shown in Fig. 1-2 (c), thus the middle height of guarantee Fig. 1-2 (a) exposes to the sun, region A is tending towards normal.
Fig. 1-3 is for carrying out Images uniting to obtain the display effect figure of high dynamic range images when determining that image compensation direction is low exposing to the sun described in the embodiment of the present invention one, as Figure 1-3, suppose that described current frame image determined by electronic equipment, as shown in Fig. 1-3 (a), image compensation direction expose to the sun for owing, namely when existence owes to expose to the sun region B, original exposure value is raised according to determined image compensation direction, exposure parameter after being adjusted, and utilize the exposure parameter after described adjustment to carry out IMAQ to destination object, obtain the new two field picture raising exposure, as shown in Fig. 1-3 (b), again Fig. 1-3 (b) and Fig. 1-3 (a) are carried out Images uniting, obtain the high dynamic range images of described destination object, as shown in Fig. 1-3 (c), thus the region B that ensures to owe in Fig. 1-3 (a) to expose to the sun is tending towards normal.
So, by image processing method described in the embodiment of the present invention, in whole HDR image generative process, image compensation direction is determined by carrying out graphical analysis to the image obtained, with the exposure parameter needed for accurate adjustment IMAQ, reach the object reducing and gather picture number, improve whole HDR image generating rate, promote Consumer's Experience.
Embodiment of the method two:
Fig. 2 is the realization flow schematic diagram two of embodiment of the present invention image processing method, and as shown in Figure 2, described image processing method can be applied in electronic equipment, and described method comprises:
Step S201: the current frame image obtaining destination object;
Step S202: histogram analysis is carried out to described current frame image and whether meets pre-conditioned to the dynamic range detecting described current frame image;
Particularly, whether the dynamic range that electronic equipment detects described current frame image by the mode of described current frame image being carried out to histogram analysis meets pre-conditioned; When the ratio that there is high light part and low light part in described current frame image exceeds the exposure area of preset ratio threshold value, then determine that described current frame image does not meet and preset dynamic range condition, continue to perform subsequent step S203.
Step S203: when the ratio that there is high light part and low light part in described current frame image exceeds the exposure area of preset ratio threshold value, according to the dynamic range determination image compensation direction of described current frame image;
Wherein, the ratio that there is high light part and low light part in described current frame image exceeds the exposure area of preset ratio threshold value, comprise: the exposure area of ratio higher than preset ratio higher limit that there is high light part and low light part in described current frame image, and/or the exposure area of ratio lower than preset ratio lower limit that there is high light part and low light part in described current frame image.
Particularly, when the ratio that there is high light part and low light part in described current frame image exceeds the exposure area of preset ratio threshold value, the described dynamic range determination image compensation direction according to described current frame image, comprising:
When there is the exposure area of ratio higher than preset ratio higher limit of high light part and low light part in described current frame image, determine that described image compensation direction is that height exposes to the sun;
When there is the exposure area of ratio lower than preset ratio lower limit of high light part and low light part in described current frame image, determine to expose to the sun for owing in described image compensation direction.
Certainly, in actual applications, the exposure area exceeding preset ratio threshold value due to the ratio that there is high light part and low light part in described current frame image can comprise in described current frame image simultaneously there is high light part and low light part ratio higher than the exposure area of preset ratio higher limit, and in described current frame image, there is the situation of ratio lower than the exposure area of preset ratio lower limit of high light part and low light part, now, can determine that described image compensation direction is that height exposes to the sun, owes to expose to the sun.
Step S204: adjust original exposure parameter according to determined image compensation direction, the exposure parameter after being adjusted;
Step S205: utilize the exposure parameter after described adjustment to carry out IMAQ to destination object, obtain new two field picture;
Step S206: described new two field picture and the current frame image obtained are carried out Images uniting, obtains the high dynamic range images of described destination object.
Described in the specific implementation process of step S201 and step S204 ~ S206 described in the embodiment of the present invention two and the embodiment of the present invention one, the implementation procedure of step S101 and S104 ~ S106 is similar, repeats no more here.
So, by image processing method described in the embodiment of the present invention, in whole HDR image generative process, whether the dynamic range detecting described current frame image by carrying out histogram analysis to the current frame image obtained meets pre-conditioned; When the ratio that there is high light part and low light part in described current frame image exceeds the exposure area of preset ratio threshold value, according to the dynamic range determination image compensation direction of described current frame image, with the exposure parameter needed for accurate adjustment IMAQ, reach the object reducing and gather picture number, improve whole HDR image generating rate, promote Consumer's Experience.
Embodiment of the method three:
Fig. 3 is the realization flow schematic diagram three of embodiment of the present invention image processing method, and as shown in Figure 3, described image processing method can be applied in electronic equipment, and described method comprises:
Step S301: the current frame image obtaining destination object;
Step S302: subregion Luminance Analysis is carried out to described current frame image and whether meets pre-conditioned to the dynamic range detecting described current frame image;
Particularly, whether the dynamic range that electronic equipment detects described current frame image by the mode of described current frame image being carried out to subregion Luminance Analysis meets pre-conditioned; When the mean flow rate that there is at least one subregion in described current frame image exceeds predetermined luminance threshold value, then determine that described current frame image does not meet and preset dynamic range condition, continue to perform subsequent step S203.
Step S303: when the mean flow rate that there is at least one subregion in described current frame image exceeds predetermined luminance threshold value, according to the dynamic range determination image compensation direction of described current frame image;
Wherein, the mean flow rate that there is at least one subregion in described current frame image exceeds predetermined luminance threshold value, comprise: there is the mean flow rate of at least one subregion in described current frame image higher than predetermined luminance higher limit, and/or the mean flow rate that there is at least one subregion in described current frame image is lower than predetermined luminance lower limit.
Particularly, when the mean flow rate that there is at least one subregion in described current frame image exceeds predetermined luminance threshold value, the described dynamic range determination image compensation direction according to described current frame image, comprising:
When there is the mean flow rate of at least one subregion in described current frame image higher than predetermined luminance higher limit, determine that described image compensation direction is that height exposes to the sun;
When there is the mean flow rate of at least one subregion in described current frame image lower than predetermined luminance lower limit, determine to expose to the sun for owing in described image compensation direction.
Certainly, in actual applications, due to the mean flow rate that there is at least one subregion in described current frame image exceed predetermined luminance threshold value can comprise simultaneously there is at least one subregion in described current frame image mean flow rate higher than predetermined luminance higher limit, and in described current frame image, there is the situation of mean flow rate lower than predetermined luminance lower limit of at least one subregion, now, can determine that described image compensation direction is that height exposes to the sun, owes to expose to the sun.
Step S304: adjust original exposure parameter according to determined image compensation direction, the exposure parameter after being adjusted;
Step S305: utilize the exposure parameter after described adjustment to carry out IMAQ to destination object, obtain new two field picture;
Step S306: described new two field picture and the current frame image obtained are carried out Images uniting, obtains the high dynamic range images of described destination object.
Described in the specific implementation process of step S301 and step S304 ~ S306 described in the embodiment of the present invention three and the embodiment of the present invention one, the implementation procedure of step S101 and S104 ~ S106 is similar, repeats no more here.
So, by image processing method described in the embodiment of the present invention, in whole HDR image generative process, whether the dynamic range detecting described current frame image by carrying out subregion Luminance Analysis to the current frame image obtained meets pre-conditioned; When the mean flow rate that there is at least one subregion in described current frame image exceeds predetermined luminance threshold value, according to the dynamic range determination image compensation direction of described current frame image, with the exposure parameter needed for accurate adjustment IMAQ, reach the object reducing and gather picture number, improve whole HDR image generating rate, promote Consumer's Experience.
Product embodiments:
Fig. 4 is the composition structural representation of embodiment of the present invention electronic equipment, and as shown in Figure 4, described electronic equipment comprises acquiring unit 401, detecting unit 402, determining unit 403, adjustment unit 404, image acquisition units 405 and image composing unit 406;
Described acquiring unit 401, for obtaining the current frame image of destination object;
Described detecting unit 402, for detecting the dynamic range of described current frame image;
Described determining unit 403, for the dynamic range determination image compensation direction according to described current frame image;
Described adjustment unit 404, for adjusting original exposure parameter according to determined image compensation direction, the exposure parameter after being adjusted;
Described image acquisition units 405, for utilizing the exposure parameter after described adjustment to carry out IMAQ to destination object, obtains new two field picture;
Described image composing unit 406, for described new two field picture and the current frame image obtained are carried out Images uniting, obtains the high dynamic range images of described destination object.
In one embodiment, as shown in Figure 4, described electronic equipment also comprises enhancing processing unit 407;
Described enhancing processing unit 407, when having the dynamic range of described current frame image to meet pre-conditioned for detecting when described detecting unit 402, carrying out enhancing process, obtaining the high dynamic range images of described destination object by the described current frame image obtained.
In one embodiment, described detecting unit 402, for carrying out image distribution analysis to described current frame image; When the exposure area that there is luminance parameter in described current frame image and exceed predetermined threshold value, then determine that the dynamic range of described current frame image does not meet pre-conditioned.
Wherein, the exposure area that luminance parameter exceeds predetermined threshold value is there is in described current frame image, comprise: in described current frame image, there is the exposure area of luminance parameter higher than preset upper limit value, and/or in described current frame image, there is the exposure area of luminance parameter lower than preset lower limit value;
Accordingly, in one embodiment, as shown in Figure 4, described determining unit 403 comprises first and determines that subelement 4032 determined by subelement 4031 and second;
Described first determines subelement 4031, for when there is the exposure area of luminance parameter higher than preset upper limit value in described current frame image, determines that described image compensation direction is that height exposes to the sun;
Described second determines subelement 4032, for when there is the exposure area of luminance parameter lower than preset lower limit value in described current frame image, determines to expose to the sun for owing in described image compensation direction.
In one embodiment, as shown in Figure 4, described adjustment unit 404 comprises the first adjustment subelement 4041 and the second adjustment subelement 4042;
Described first adjustment subelement 4041, for when described image compensation direction be height expose to the sun time, reduce original exposure parameter according to default adjustable strategies, the exposure parameter after being adjusted;
Described second adjustment subelement 4042, for when described image compensation direction is for owing to expose to the sun, raises original exposure parameter according to default adjustable strategies, the exposure parameter after being adjusted.
Included by acquiring unit 401 in electronic equipment described in the embodiment of the present invention, detecting unit 402, determining unit 403, adjustment unit 404, image acquisition units 405, image composing unit 406 and described determining unit 403 thereof first determines that subelement 4031 and second determines that the first adjustment subelement 4041 included in subelement 4032 and described adjustment unit 404 and the second adjustment subelement 4042 all can be realized by the processor in electronic equipment, also can pass through concrete logical circuit and realize; Such as, in actual applications, can by being arranged in the central processing unit (CPU) of described electronic equipment, microprocessor (MPU), the realization such as digital signal processor (DSP) or field programmable gate array (FPGA); In addition, described image acquisition units 405 can also by being arranged at the image capture device with image collecting function in electronic equipment, as the realization such as camera, imageing sensor.
Here it is to be noted: the description of above product embodiments item, it is similar for describing with said method, has the beneficial effect that same embodiment of the method is identical, does not therefore repeat.For the ins and outs do not disclosed in product embodiments of the present invention, those skilled in the art please refer to the description of the inventive method embodiment and understands, and for saving length, repeats no more here.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: movable storage device, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
Or, if the above-mentioned integrated unit of the present invention using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the embodiment of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium, comprises some instructions and performs all or part of of method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server or the network equipment etc.).And aforesaid storage medium comprises: movable storage device, ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (10)

1. an image processing method, is applied in electronic equipment, it is characterized in that, described method comprises:
Obtain the current frame image of destination object;
Detect the dynamic range of described current frame image;
According to the dynamic range determination image compensation direction of described current frame image;
Original exposure parameter is adjusted, the exposure parameter after being adjusted according to determined image compensation direction;
Utilize the exposure parameter after described adjustment to carry out IMAQ to destination object, obtain new two field picture;
Described new two field picture and the current frame image obtained are carried out Images uniting, obtains the high dynamic range images of described destination object.
2. method according to claim 1, is characterized in that, after detecting the dynamic range of described current frame image, described method also comprises:
When the dynamic range of described current frame image meets pre-conditioned, the described current frame image obtained is carried out enhancing process, obtain the high dynamic range images of described destination object.
3. method according to claim 1 and 2, is characterized in that, detects the dynamic range of described current frame image, comprising:
Image distribution analysis is carried out to described current frame image; When the exposure area that there is luminance parameter in described current frame image and exceed predetermined threshold value, then determine that the dynamic range of described current frame image does not meet pre-conditioned.
4. method according to claim 3, it is characterized in that, the exposure area that luminance parameter exceeds predetermined threshold value is there is in described current frame image, comprise: in described current frame image, there is the exposure area of luminance parameter higher than preset upper limit value, and/or in described current frame image, there is the exposure area of luminance parameter lower than preset lower limit value;
The described dynamic range determination image compensation direction according to described current frame image, comprising:
When there is the exposure area of luminance parameter higher than preset upper limit value in described current frame image, determine that described image compensation direction is that height exposes to the sun;
When there is the exposure area of luminance parameter lower than preset lower limit value in described current frame image, determine to expose to the sun for owing in described image compensation direction.
5. method according to claim 4, is characterized in that, adjust original exposure parameter according to determined image compensation direction, the exposure parameter after being adjusted, comprising:
When described image compensation direction be height expose to the sun time, reduce original exposure parameter according to default adjustable strategies, the exposure parameter after being adjusted;
When described image compensation direction is for owing to expose to the sun, raise original exposure parameter according to default adjustable strategies, the exposure parameter after being adjusted.
6. an electronic equipment, is characterized in that, described electronic equipment comprises acquiring unit, detecting unit, determining unit, adjustment unit, image acquisition units and image composing unit;
Described acquiring unit, for obtaining the current frame image of destination object;
Described detecting unit, for detecting the dynamic range of described current frame image;
Described determining unit, for the dynamic range determination image compensation direction according to described current frame image;
Described adjustment unit, for adjusting original exposure parameter according to determined image compensation direction, the exposure parameter after being adjusted;
Described image acquisition units, for utilizing the exposure parameter after described adjustment to carry out IMAQ to destination object, obtains new two field picture;
Described image composing unit, for described new two field picture and the current frame image obtained are carried out Images uniting, obtains the high dynamic range images of described destination object.
7. electronic equipment according to claim 6, is characterized in that, described electronic equipment also comprises enhancing processing unit;
Described enhancing processing unit, when having the dynamic range of described current frame image to meet pre-conditioned for detecting when described detecting unit, carrying out enhancing process, obtaining the high dynamic range images of described destination object by the described current frame image obtained.
8. the electronic equipment according to claim 6 or 7, is characterized in that,
Described detecting unit, for carrying out image distribution analysis to described current frame image; When the exposure area that there is luminance parameter in described current frame image and exceed predetermined threshold value, then determine that the dynamic range of described current frame image does not meet pre-conditioned.
9. electronic equipment according to claim 8, it is characterized in that, the exposure area that luminance parameter exceeds predetermined threshold value is there is in described current frame image, comprise: in described current frame image, there is the exposure area of luminance parameter higher than preset upper limit value, and/or in described current frame image, there is the exposure area of luminance parameter lower than preset lower limit value;
Accordingly, described determining unit comprises first and determines that subelement determined by subelement and second;
Described first determines subelement, for when there is the exposure area of luminance parameter higher than preset upper limit value in described current frame image, determines that described image compensation direction is that height exposes to the sun;
Described second determines subelement, for when there is the exposure area of luminance parameter lower than preset lower limit value in described current frame image, determines to expose to the sun for owing in described image compensation direction.
10. electronic equipment according to claim 9, is characterized in that, described adjustment unit comprises the first adjustment subelement and the second adjustment subelement;
Described first adjustment subelement, for when described image compensation direction be height expose to the sun time, reduce original exposure parameter according to default adjustable strategies, the exposure parameter after being adjusted;
Described second adjustment subelement, for when described image compensation direction is for owing to expose to the sun, raises original exposure parameter according to default adjustable strategies, the exposure parameter after being adjusted.
CN201510549601.2A 2015-08-31 2015-08-31 Image processing method and electronic equipment Pending CN105100637A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510549601.2A CN105100637A (en) 2015-08-31 2015-08-31 Image processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510549601.2A CN105100637A (en) 2015-08-31 2015-08-31 Image processing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN105100637A true CN105100637A (en) 2015-11-25

Family

ID=54580076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510549601.2A Pending CN105100637A (en) 2015-08-31 2015-08-31 Image processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105100637A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959591A (en) * 2016-05-30 2016-09-21 广东欧珀移动通信有限公司 Local HDR implementation method and system
CN106060422A (en) * 2016-07-06 2016-10-26 维沃移动通信有限公司 Image exposure method and mobile terminal
CN107534737A (en) * 2015-08-31 2018-01-02 华为技术有限公司 A kind of method and device for shooting picture
CN107635098A (en) * 2017-10-30 2018-01-26 广东欧珀移动通信有限公司 High dynamic range images noise remove method, apparatus and equipment
WO2018161758A1 (en) * 2017-03-09 2018-09-13 广东欧珀移动通信有限公司 Exposure control method, exposure control device and electronic device
CN108833802A (en) * 2018-09-18 2018-11-16 Oppo广东移动通信有限公司 Exposal control method, device and electronic equipment
CN108989671A (en) * 2018-07-25 2018-12-11 Oppo广东移动通信有限公司 Image processing method, device and electronic equipment
CN110049240A (en) * 2019-04-03 2019-07-23 Oppo广东移动通信有限公司 Camera control method, device, electronic equipment and computer readable storage medium
CN110213484A (en) * 2019-05-31 2019-09-06 维沃移动通信有限公司 A kind of photographic method, terminal device and computer readable storage medium
CN110392214A (en) * 2019-08-05 2019-10-29 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic equipment
CN111260876A (en) * 2018-11-30 2020-06-09 北京欣奕华科技有限公司 Image processing method and device
CN111405205A (en) * 2020-03-24 2020-07-10 维沃移动通信有限公司 Image processing method and electronic device
CN111724316A (en) * 2017-04-11 2020-09-29 华为技术有限公司 Method and apparatus for processing high dynamic range images
CN113781321A (en) * 2021-08-02 2021-12-10 中国科学院深圳先进技术研究院 Information compensation method, device, equipment and storage medium for image highlight area
CN113781320A (en) * 2021-08-02 2021-12-10 中国科学院深圳先进技术研究院 Image processing method and device, terminal equipment and storage medium
CN114638980A (en) * 2022-03-04 2022-06-17 支付宝(杭州)信息技术有限公司 Dish type identification processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170650A (en) * 2006-10-24 2008-04-30 致伸科技股份有限公司 Highly dynamic image method and system generating specific scenario
CN103248828A (en) * 2012-02-13 2013-08-14 宏达国际电子股份有限公司 Exposure value adjustment apparatus and method
CN104301624A (en) * 2014-10-30 2015-01-21 青岛海信移动通信技术股份有限公司 Image shooting brightness control method and device
CN104333708A (en) * 2014-11-28 2015-02-04 广东欧珀移动通信有限公司 Photographing method, photographing device and terminal
CN104869297A (en) * 2015-06-15 2015-08-26 联想(北京)有限公司 Image processing method and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170650A (en) * 2006-10-24 2008-04-30 致伸科技股份有限公司 Highly dynamic image method and system generating specific scenario
CN103248828A (en) * 2012-02-13 2013-08-14 宏达国际电子股份有限公司 Exposure value adjustment apparatus and method
US20130208139A1 (en) * 2012-02-13 2013-08-15 Htc Corporation Exposure Value Adjustment Apparatus, Method, and Non-Transitory Tangible Machine-Readable Medium Thereof
CN104301624A (en) * 2014-10-30 2015-01-21 青岛海信移动通信技术股份有限公司 Image shooting brightness control method and device
CN104333708A (en) * 2014-11-28 2015-02-04 广东欧珀移动通信有限公司 Photographing method, photographing device and terminal
CN104869297A (en) * 2015-06-15 2015-08-26 联想(北京)有限公司 Image processing method and electronic equipment

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107534737A (en) * 2015-08-31 2018-01-02 华为技术有限公司 A kind of method and device for shooting picture
CN107534737B (en) * 2015-08-31 2020-11-17 华为技术有限公司 Method and device for shooting picture
CN105959591A (en) * 2016-05-30 2016-09-21 广东欧珀移动通信有限公司 Local HDR implementation method and system
CN106060422A (en) * 2016-07-06 2016-10-26 维沃移动通信有限公司 Image exposure method and mobile terminal
CN106060422B (en) * 2016-07-06 2019-02-22 维沃移动通信有限公司 A kind of image exposure method and mobile terminal
WO2018161758A1 (en) * 2017-03-09 2018-09-13 广东欧珀移动通信有限公司 Exposure control method, exposure control device and electronic device
US11206360B2 (en) 2017-03-09 2021-12-21 Shenzhen Heytap Technology Corp., Ltd. Exposure control method for obtaining HDR image, related exposure control device and electronic device
CN111724316A (en) * 2017-04-11 2020-09-29 华为技术有限公司 Method and apparatus for processing high dynamic range images
CN111724316B (en) * 2017-04-11 2023-11-10 华为技术有限公司 Method and apparatus for processing high dynamic range image
CN107635098A (en) * 2017-10-30 2018-01-26 广东欧珀移动通信有限公司 High dynamic range images noise remove method, apparatus and equipment
CN108989671A (en) * 2018-07-25 2018-12-11 Oppo广东移动通信有限公司 Image processing method, device and electronic equipment
CN108833802A (en) * 2018-09-18 2018-11-16 Oppo广东移动通信有限公司 Exposal control method, device and electronic equipment
CN111260876A (en) * 2018-11-30 2020-06-09 北京欣奕华科技有限公司 Image processing method and device
CN111260876B (en) * 2018-11-30 2022-02-25 北京欣奕华科技有限公司 Image processing method and device
CN110049240B (en) * 2019-04-03 2021-01-26 Oppo广东移动通信有限公司 Camera control method and device, electronic equipment and computer readable storage medium
CN110049240A (en) * 2019-04-03 2019-07-23 Oppo广东移动通信有限公司 Camera control method, device, electronic equipment and computer readable storage medium
CN110213484A (en) * 2019-05-31 2019-09-06 维沃移动通信有限公司 A kind of photographic method, terminal device and computer readable storage medium
CN110392214A (en) * 2019-08-05 2019-10-29 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic equipment
CN111405205B (en) * 2020-03-24 2023-02-24 维沃移动通信有限公司 Image processing method and electronic device
CN111405205A (en) * 2020-03-24 2020-07-10 维沃移动通信有限公司 Image processing method and electronic device
CN113781320A (en) * 2021-08-02 2021-12-10 中国科学院深圳先进技术研究院 Image processing method and device, terminal equipment and storage medium
WO2023010754A1 (en) * 2021-08-02 2023-02-09 中国科学院深圳先进技术研究院 Image processing method and apparatus, terminal device, and storage medium
CN113781321A (en) * 2021-08-02 2021-12-10 中国科学院深圳先进技术研究院 Information compensation method, device, equipment and storage medium for image highlight area
CN113781321B (en) * 2021-08-02 2024-03-12 中国科学院深圳先进技术研究院 Information compensation method, device and equipment for image highlight region and storage medium
CN114638980A (en) * 2022-03-04 2022-06-17 支付宝(杭州)信息技术有限公司 Dish type identification processing method and device

Similar Documents

Publication Publication Date Title
CN105100637A (en) Image processing method and electronic equipment
CN111028189B (en) Image processing method, device, storage medium and electronic equipment
EP3694203B1 (en) Method and device for obtaining exposure compensation value of high-dynamic-range image
EP3611916B1 (en) Imaging control method and electronic device
US20210004952A1 (en) Method for image processing, non-transitory computer readable storage medium, and electronic device
EP2854389B1 (en) Scene recognition method and apparatus
WO2019148912A1 (en) Image processing method, apparatus, electronic device and storage medium
US10440299B2 (en) Correcting pixel defects based on defect history in an image processing pipeline
WO2019148978A1 (en) Image processing method and apparatus, storage medium and electronic device
CN110602467B (en) Image noise reduction method and device, storage medium and electronic equipment
US10805508B2 (en) Image processing method, and device
US20210344826A1 (en) Image Acquisition Method, Electronic Device, andNon-Transitory Computer Readable Storage Medium
US11030729B2 (en) Image processing method and apparatus for adjusting a dynamic range of an image
CN113313661A (en) Image fusion method and device, electronic equipment and computer readable storage medium
CN104394326A (en) Photometry method and terminal
WO2020192774A1 (en) Exposure control method and electronic device
CN105306806A (en) Mobile terminal and photographing method thereof
CN104793742A (en) Shooting previewing method and device
US20110052070A1 (en) Image processing apparatus, image processing method and computer readable-medium
JP2023521541A (en) Image detection method, apparatus, system, device and storage medium
WO2019128539A1 (en) Image definition obtaining method and apparatus, storage medium, and electronic device
CN111405185A (en) Zoom control method and device for camera, electronic equipment and storage medium
Choi et al. A method for fast multi-exposure image fusion
CN104243841B (en) A kind of image processing method and device
CN109672829B (en) Image brightness adjusting method and device, storage medium and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151125

RJ01 Rejection of invention patent application after publication