CN104917973A - Dynamic exposure adjusting method and electronic apparatus - Google Patents

Dynamic exposure adjusting method and electronic apparatus Download PDF

Info

Publication number
CN104917973A
CN104917973A CN201410086911.0A CN201410086911A CN104917973A CN 104917973 A CN104917973 A CN 104917973A CN 201410086911 A CN201410086911 A CN 201410086911A CN 104917973 A CN104917973 A CN 104917973A
Authority
CN
China
Prior art keywords
picture
exposure
module
order
block
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.)
Granted
Application number
CN201410086911.0A
Other languages
Chinese (zh)
Other versions
CN104917973B (en
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.)
Acer Inc
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to CN201410086911.0A priority Critical patent/CN104917973B/en
Publication of CN104917973A publication Critical patent/CN104917973A/en
Application granted granted Critical
Publication of CN104917973B publication Critical patent/CN104917973B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a dynamic exposure adjusting method and an electronic apparatus. The method comprises the following steps: obtaining multiple preview images, multiple extra images and first images, wherein the multiple extra images are not displayed in the display unit of the electronic apparatus; analyzing the brightness distribution conditions of the first images; according to the brightness distribution conditions, obtaining long-exposure time and short-exposure time; extracting at least one specific image corresponding to the long-exposure time and the short-exposure time from the multiple extra images; and combining the first images with the at least one specific image to form processed images. By using the dynamic exposure adjusting method brought forward by the invention, an optimum processed picture can be obtained.

Description

Dynamic exposure method of adjustment and electronic installation thereof
Technical field
The invention relates to a kind of exposure adjustment method and electronic installation thereof, and relate to a kind of dynamic exposure method of adjustment and electronic installation thereof especially.
Background technology
In electronic installation capable of taking pictures at present, no matter be digital camera or intelligent mobile phone etc., mostly support high dynamic range (High Dynamic Range is called for short HDR) function setting.When starting HDR function, electronic installation can improve presenting of captured photo middle light and dark portion details, makes the object in photo can be all clearly.
Existing HDR technology mainly will obtain optimal representation when taking pictures, and namely allows the dark portion clarity of detail of photo, and allows the highlights scene of photo not have overexposure.Therefore, in the process of shooting, can attempt using the photo of multiple different exposure values to be combined into best HDR photo.First, in order to obtain clearly dark portion details, electronic installation can first utilize the mode of long exposure to take pictures, and brightens to make region darker in scene.Then, under Same Scene, the mode of the recycling short exposure of electronic installation, makes region brighter in scene dimmed to avoid overexposure.
Please refer to Fig. 1, Fig. 1 is existing HDR technology schematic diagram.When electronic installation is taken pictures when opening HDR function, electronic installation will take pictures 110 simultaneously, photo 120 and photo 130.Photo 110 is such as electronic installation based on the short exposure photo captured by 1/2 exposure value (exposure value is called for short EV), and it can be used for taking in scene the part (being such as region 115) with higher brightness.Photo 120 is such as that electronic installation is based on the general exposure photograph captured by 1EV.Photo 130 be such as electronic installation based on the long exposure photograph captured by 2EV, it can be used for taking in scene the part (being such as region 135) had compared with low-light level.Then, photo 110, photo 120 and photo 130 can be combined into photo 140 by electronic installation.Thus, photo 140 can reach the effect that dark portion clarity of detail and highlights scene do not have overexposure simultaneously.
But in existing technology, short exposure time and long time for exposure (being such as above-mentioned 1/2EV and 2EV) adopt fixed value mostly.In other words, no matter under any scene, electronic installation all can adopt fixing short exposure time and long time for exposure to go to realize HDR when taking.For Fig. 1, the HDR mechanism shown in it when taking at every turn, all will can take three photos based on 1/2EV, 1EV and 2EV, then these three photos are combined into final photo.
Therefore, in the scene that some is extreme (when taking portrait under the environment of such as extreme backlight), when electronic installation is taken pictures when opening HDR function, the function of HDR may present the state almost lost efficacy.Specifically, HDR function cannot compensate personage in photo and scene to obtain best photo (such as, dark portion clarity of detail and highlights scene do not have overexposure).
Summary of the invention
In view of this, the invention provides a kind of dynamic exposure method of adjustment and electronic installation thereof, it can adjust long time for exposure and short exposure time adaptively according to the scene corresponding to the first picture, and then can obtain preferably photo when performing HDR function.
The invention provides a kind of dynamic exposure method of adjustment, be suitable for electronic installation.Described method comprises the following steps: to obtain multiple preview screen, multiple extra picture and the first picture, and wherein said multiple extra picture is not shown in the display unit of electronic installation; Analyze the Luminance Distribution situation of the first picture; Long time for exposure and short exposure time is obtained according to Luminance Distribution situation; At least one specific picture corresponding to long time for exposure and short exposure time is taken out from described multiple extra picture; Be picture after process in conjunction with the first picture and at least one specific picture.
The invention provides a kind of electronic installation, comprising: the module obtaining multiple preview screen, multiple extra picture and the first picture in order to control image extraction module, wherein those extra pictures are not shown in this display unit of this electronic installation;
In order to analyze the module of the Luminance Distribution situation of this first picture;
In order to obtain the module of long time for exposure and short exposure time according to this Luminance Distribution situation;
In order to take out the module of at least one specific picture corresponding to this long time for exposure and this short exposure time from those extra pictures; And
In order in conjunction with this first picture and this at least one specific picture to be the module of the rear picture of process.
The invention provides a kind of electronic installation, comprising:
The module of the first picture is obtained in order to control this first taking unit;
In order to analyze the module of the Luminance Distribution situation of this first picture;
In order to obtain the module of long time for exposure and short exposure time according to this Luminance Distribution situation;
In order to adjust the module of this at least one second taking unit time for exposure corresponding respectively according to this long time for exposure and this short exposure time;
In order to control the module of this at least one second taking unit according to the multiple specific picture of this corresponding time for exposure acquisition; And
In order in conjunction with this first picture and those specific pictures to be the module of the rear picture of process.
Based on above-mentioned, the dynamic exposure method of adjustment that the embodiment of the present invention proposes and electronic installation thereof can adjust long time for exposure and short exposure time adaptively according to the scene corresponding to the first picture.Thus, which kind of scene is the scene no matter corresponding to the first picture be, the dynamic exposure method of adjustment that the embodiment of the present invention proposes all can obtain photo (such as, dark portion clarity of detail and highlights scene do not have overexposure) after best process.
For above-mentioned feature and advantage of the present invention can be become apparent, special embodiment below, and coordinate accompanying drawing to be described in detail below.
Accompanying drawing explanation
Fig. 1 is existing HDR technology schematic diagram;
Fig. 2 is the electronic apparatus functions calcspar shown in one embodiment of the invention;
Fig. 3 is the dynamic exposure method of adjustment flow chart shown in one embodiment of the invention;
Fig. 4 A is the schematic diagram of the analysis Luminance Distribution situation shown in one embodiment of the invention;
Fig. 4 B is the schematic diagram of the analysis Luminance Distribution situation shown in one embodiment of the invention;
Fig. 5 is the schematic diagram of the enforcement dynamic exposure method of adjustment shown in one embodiment of the invention;
Fig. 6 is the dynamic exposure method of adjustment flow chart shown in one embodiment of the invention;
Fig. 7 is the dynamic exposure method of adjustment flow chart shown in one embodiment of the invention;
Fig. 8 is the electronic apparatus functions calcspar shown in one embodiment of the invention;
Fig. 9 is the dynamic exposure method of adjustment flow chart shown in one embodiment of the invention.
Description of reference numerals:
110,120,130,140: photo;
115,135: region;
200,800: electronic installation;
210,810: display unit;
220,820: image extraction module;
230,830: memory cell;
240,840: processing unit;
400,450: the first pictures;
460: brightness histogram;
510,520: picture after process;
821: the first taking units;
822,823: the second taking units;
AA, BB: block;
S310, S320, S330, S340, S350, S610, S620, S630, S640, S650, S710, S720, S730, S740, S750, S910, S920, S930, S940, S950, S960: step.
Embodiment
Fig. 2 is the electronic apparatus functions calcspar shown in one embodiment of the invention.In the present embodiment, electronic installation 200 comprises display unit 210, image extraction module 220, memory cell 230 and processing unit 240.Electronic installation 200 is such as intelligent mobile phone, panel computer, personal digital assistant (personal digital assistant, be called for short PDA), PC (Personal Computer, be called for short PC), notebook computer (Notebook PC), work station or other similar computer apparatus.
Display unit 210 can comprise at least one in the following: liquid crystal display (liquid crystal display, be called for short LCD), membrane transistor (TFT)-LCD, organic light emitting diode (organic light-emitting diode, be called for short OLED), flexible display, three-dimensional (3D) display etc.Image extraction module 220 such as comprises the image capture element realized with charge coupled cell (Charge Coupled Device is called for short CCD) and/or complementary metal oxide semiconductor (Complementary Metal Oxide Semiconductor is called for short CMOS).Memory cell 230 is such as memory, hard disk or other any can be used for store the element of data, and can in order to record multiple module.
Processing unit 240 couples display unit 210, image extraction module 220 and memory cell 230.Processing unit 240 can be general service processor, special purpose processors, traditional processor, digital signal processor, multi-microprocessor (microprocessor), the microprocessor of one or more combined digital signal processor core, controller, microcontroller, Application Specific Integrated Circuit (Application Specific Integrated Circuit, be called for short ASIC), field programmable gate array (Field Programmable Gate Array, be called for short FPGA), the integrated circuit of any other kind, state machine, based on advanced reduced instruction set machine (Advanced RISC Machine, be called for short ARM) processor and similar product.
In the present embodiment, processing unit 240 can multiple modules (or program code) of storing of access memory cell 230 with each step of the dynamic exposure method of adjustment performing the present invention and propose.
Fig. 3 is the dynamic exposure method of adjustment flow chart shown in one embodiment of the invention.The method that the present embodiment proposes is suitable for the electronic installation 200 in Fig. 2, and each element of the Fig. 2 that namely arranges in pairs or groups below is to illustrate each step in the present embodiment.
In step S310, the controlled image extraction module 220 processed of processing unit 240 obtains the first picture.Then, in step s 320, processing unit 240 can analyze the Luminance Distribution situation of described first picture.
In one embodiment, processing unit 240 can adopt the Luminance Distribution situation analyzing described first picture based on block (block-based) analytic approach.Specifically, described first picture is cut into multiple block by processing unit 240, and calculates these blocks brightness value (luminance) corresponding respectively respectively.For example, described first picture can be cut into 72 × 54 blocks by processing unit 240, but the present invention is not limited thereto.Then, processing unit 240 can according to the first quantity of highlights block in described first picture of brightness value calculating of each block and the second quantity of dark portion block.
Specifically, processing unit 240 can by these blocks, and brightness value classifies as highlights block higher than the block of predetermined luminance threshold value.Meanwhile, processing unit 240 also can by these blocks, and brightness value classifies as dark portion block lower than the block of predetermined luminance threshold value.In one embodiment, suppose that brightness value is the numerical value between 0 ~ 255, then described predetermined luminance threshold value can be set as 163.Therefore, the block that brightness value can be greater than 163 by processing unit 240 classifies as highlights block, and block brightness value being less than 163 classifies as dark portion block.In other embodiments, described predetermined luminance threshold value can be set as other numerical value (being such as the mean value of all block brightness values) according to considering of designer.Then, processing unit 240 can calculate the first quantity of highlights block and the second quantity of dark portion block respectively.
Please refer to Fig. 4 A, Fig. 4 A is the schematic diagram of the analysis Luminance Distribution situation shown in one embodiment of the invention.In the present embodiment, the first picture 400 can be divided into 5 × 5 blocks by processing unit 240, and wherein the brightness value of block AA and BB is such as 0 and 255 respectively.Based on the elaboration in preceding embodiment, block AA can be classified as dark portion block by processing unit 240, and block BB is classified as highlights block.Then, processing unit 240 can calculate respectively highlights block first quantity be 16 and the second quantity of dark portion block be 9.Those skilled in the art should understand, and the diagram of the present embodiment only in order to citing, and is not used to limit embodiments of the present invention.
Except foregoing descriptions based on except component analysis method, in other embodiments, processing unit 240 also can adopt brightness histogram (histogram) analytic approach to analyze the Luminance Distribution situation of described first picture.Specifically, processing unit 240 can produce the brightness histogram being associated with described first picture, and wherein, described brightness histogram can comprise the number of the data (being such as pixel) corresponding to each brightness value.Then, processing unit 240 can by these data, and brightness value classifies as highlights block higher than the data of predetermined luminance threshold value.Meanwhile, processing unit 240 also can by these data, and brightness value classifies as dark portion block lower than the data of predetermined luminance threshold value.
Please refer to Fig. 4 B, Fig. 4 B is the schematic diagram of the analysis Luminance Distribution situation shown in one embodiment of the invention.In the present embodiment, processing unit 240 can produce according to the first picture 450 brightness histogram 460 being associated with the first picture 450.The transverse axis of brightness histogram 460 is brightness value, and its scope is such as between 0 and 255.The longitudinal axis of brightness histogram 460 is such as data amount check.Then, processing unit 240 can add up the data amount check of brightness value higher than predetermined luminance threshold value (being such as 170), and this data amount check is set as the first quantity.Meanwhile, processing unit 240 can add up the data amount check of brightness value lower than predetermined luminance threshold value (being such as 170), and this data amount check is set as the second quantity.
Please referring again to Fig. 3, in step S330, processing unit 240 can according to the long time for exposure of described Luminance Distribution situation adjustment image extraction module 220 and short exposure time.
Specifically, when the first quantity is greater than the second quantity, this scene namely representing in described first picture corresponds to the higher scene of brightness.Therefore, processing unit 240 can shorten short exposure time accordingly when follow-up shooting is for carrying out the short exposure photo of HDR, to avoid allowing the situation occurring overexposure in short exposure photo.
For based on component analysis method, suppose that the first quantity and the second quantity are respectively 20 and 5, this scene namely representing described first picture corresponds to the higher scene of brightness.Now, processing unit 240 can calculate the ratio value of the first quantity and the second quantity, and according to this ratio value adjustment long time for exposure and short exposure time.In the present embodiment, described ratio value be such as 2/8(namely, 5/20).Therefore, long time for exposure and short exposure time can be set as 8 times and 1/2 times by processing unit 240 respectively.It is to be understood that herein 8 times and 1/2 times of indication be long time for exposure and the short exposure time multiple relative to the reference exposure time.The described reference exposure time is such as the time for exposure of image extraction module 220 when taking general exposure photograph (that is, the first picture), but the present invention can be not limited thereto.In other embodiments, the molecule that processing unit 240 can maintain described ratio value is 2, to maintain 1/2 times that short exposure time is the reference exposure time.
On the other hand, when the first quantity is less than the second quantity, this scene namely representing in described first picture corresponds to the lower scene of brightness.Therefore, processing unit 240 can extend the long time for exposure accordingly when follow-up shooting is for carrying out the long exposure photograph of HDR, can more clearly present dark portion details to allow long exposure photograph.
For example, suppose that the first quantity and the second quantity are respectively 10 and 15, this scene namely representing described first picture corresponds to the lower scene of brightness.Now, processing unit 240 can calculate the ratio value of the first quantity and the second quantity, and according to this ratio value adjustment long time for exposure and short exposure time.In the present embodiment, described ratio value be such as 2/3(namely, 10/15).Therefore, long time for exposure and short exposure time can be set as 3 times and 1/2 times by processing unit 240 respectively.
It should be noted that, if processing unit 240 adopts brightness histogram analytic approach to analyze the Luminance Distribution situation of described first picture, then processing unit 240 also can decide long time for exposure and short exposure time according to the mode similar in appearance to the analytic approach based on block.Also namely, processing unit 240 can calculate the ratio value of the first quantity and the second quantity equally, and according to this ratio value adjustment long time for exposure and short exposure time.Processing unit 240 can refer to the explanation in preceding embodiment according to the details of described ratio value adjustment long time for exposure and short exposure time, do not repeat them here.
Afterwards, in step S340, the controlled image extraction module 220 processed of processing unit 240 obtains long exposure photograph and short exposure photo respectively according to long time for exposure and short exposure time.Then, in step S350, processing unit 240 can be photo after a process in conjunction with the first picture, long exposure photograph and short exposure photo.After described process, photo is the photo produced after electronic installation 200 performs HDR function to the first obtained picture.
Thus, which kind of scene is the scene no matter corresponding to the first picture be, the dynamic exposure method of adjustment that the embodiment of the present invention proposes all can obtain photo (such as, dark portion clarity of detail and highlights scene do not have overexposure) after best process.
It should be noted that, the dynamic exposure method of adjustment that the present invention proposes can adjust long time for exposure and short exposure time adaptively according to the scene corresponding to the first picture, is thus different from prior art the mode adopting fixing short exposure time and long time for exposure.
Fig. 5 is the schematic diagram of the enforcement dynamic exposure method of adjustment shown in one embodiment of the invention.In the present embodiment, after process, picture 510 is such as with the photo of existing HDR function treatment.After process, picture 510 is such as the photo that the photo being respectively 1/2EV, 1EV and 2EV by exposure value is combined into.Because the backlight situation processing the original scene of rear picture 510 correspondence is comparatively serious, the effect of HDR is thus made to reduce significantly.Specifically, the portrait after process in picture 510 does not almost see its details because of backlight.
Review the rear picture 520 of process, its photo produced for the dynamic exposure method of adjustment proposed based on the embodiment of the present invention.After process, picture 520 is such as the photo that the photo being respectively 1/2EV, 1EV and 5EV by exposure value is combined into.Owing to extending the time of long exposure when processing unit 240 can state dynamic exposure method of adjustment before execution, the dark portion details (being such as portrait) processing rear picture 520 is thus made more clearly to present.
In other embodiments, the present invention also proposes the dynamic exposure method of adjustment of other execution modes, and it can reach above-mentioned various effect (such as, dark portion clarity of detail and highlights scene do not have overexposure) equally.Below detailed description will be provided.
Fig. 6 is the dynamic exposure method of adjustment flow chart shown in one embodiment of the invention.The method that the present embodiment proposes is suitable for the electronic installation 200 in Fig. 2, and each element of the Fig. 2 that namely arranges in pairs or groups below is to illustrate each step in the present embodiment.
In step S610, the controlled image extraction module 220 processed of processing unit 240 obtains multiple preview screen and the first picture.Described multiple preview screen is such as the picture that image extraction module 220 obtains when execution automatic exposure (Auto Exposure is called for short AE) algorithm.Generally speaking, the frame per second (frame rate) that processing unit 240 adopts when controlling image extraction module 220 and obtaining preview screen is 60 frames/second (frame per second is called for short fps).Specifically, when image extraction module 220 operates based on automatic exposure algorithm, image extraction module 220 dynamically adjusts the time for exposure (or exposure value) of the elements such as itself CMOS or CCD by being controlled by processing unit 240, and obtains multiple preview screen based on these time for exposure (or exposure value).Further, while image extraction module 220 adjusts the time for exposure (or exposure value), processing unit 240 can control display unit 210 and show the preview screen corresponding to each time for exposure (or exposure value).Therefore, user can watch by bright to dark or by secretly changing to bright picture.
Described first picture is such as the picture that image extraction module 220 obtains in response to the input (such as pressing shooting push button etc.) in user.
Then, in step S620, processing unit 240 can analyze the Luminance Distribution situation of described first picture.In the present embodiment, processing unit 240 equally can based on the previously mentioned Luminance Distribution situation analyzing described first picture based on component analysis method and brightness histogram analytic approach.The implementation detail of this step can refer to the related description of step S320 in Fig. 2, does not repeat them here.
In step S630, processing unit 240 can obtain long time for exposure and short exposure time according to described Luminance Distribution situation.Specifically, processing unit 240 can calculate the ratio value of the first quantity and the second quantity, and determines long time for exposure and short exposure time according to this ratio value.
For the exemplary value used in preceding embodiment, suppose that the first quantity and the second quantity are respectively 20 and 5, this scene namely representing described first picture corresponds to the higher scene of brightness.Now, processing unit 240 can calculate the ratio value of the first quantity and the second quantity, and obtains long time for exposure and short exposure time according to this ratio value.In the present embodiment, described ratio value be such as 2/8(namely, 5/20).Therefore, processing unit 240 can obtain the long time for exposure and short exposure time that are respectively 8 times and 1/2 times.
Lift another example, suppose that the first quantity and the second quantity are respectively 10 and 15, this scene namely representing described first picture corresponds to the lower scene of brightness.Now, processing unit 240 can calculate the ratio value of the first quantity and the second quantity, and obtains long time for exposure and short exposure time according to this ratio value.In the present embodiment, described ratio value be such as 2/3(namely, 10/15).Therefore, processing unit 240 can obtain the long time for exposure and short exposure time that are respectively 3 times and 1/2 times.
Then, in step S640, processing unit 240 can take out at least one specific picture corresponding to described long time for exposure and described short exposure time from described multiple preview screen.
Specifically, as described in the previous embodiment, described multiple preview screen corresponds respectively to the different time for exposure (or exposure value).Therefore, processing unit 240 can find out the preview screen that the time for exposure is the described long time for exposure from described multiple preview screen, and the preview screen this found is set as the first specific picture.Meanwhile, processing unit 240 can find out the preview screen that the time for exposure is described short exposure time from described multiple preview screen, and also the preview screen that this finds is set as the second specific picture.
Again for the exemplary value previously used, suppose that previously acquired long time for exposure and short exposure time are respectively 8 times and 1/2 times, then processing unit 240 can find out the preview screen that the time for exposure is 8 times of the time for exposure of the first picture from described multiple preview screen, and sets it to described first specific picture.Further, processing unit 240 also can find out the preview screen that the time for exposure is 1/2 times of the time for exposure of the first picture from described multiple preview screen, and sets it to described second specific picture.
Lift another example, suppose that previously acquired long time for exposure and short exposure time are respectively 3 times and 1/2 times, then processing unit 240 can find out the preview screen that the time for exposure is 3 times of the time for exposure of the first picture from described multiple preview screen, and sets it to described first specific picture.Further, processing unit 240 also can find out the preview screen that the time for exposure is 1/2 times of the time for exposure of the first picture from described multiple preview screen, and sets it to described second specific picture.
Afterwards, in step S650, processing unit 240 can be picture after process in conjunction with described first picture and described at least one specific picture.In the present embodiment, processing unit 240 can be picture after described process in conjunction with described first picture, described first specific picture and described second specific picture.
At least one specific picture taken out from preview screen due to processing unit 240 corresponds respectively to the suitable time for exposure, thus picture (such as, dark portion clarity of detail and highlights scene do not have overexposure) after preferably can being processed after being combined with described first picture.
In other embodiments, when processing unit 240 and image extraction module 220 can support higher frame per second (such as 90fps and 120fps etc.), the dynamic exposure method of adjustment that the embodiment of the present invention proposes can utilize the extra picture not being shown in display unit 210 to obtain picture after better process further.Specifically, the frame per second that general display unit 210 uses is 60fps.Therefore, when processing unit 240 and image extraction module 220 can support the frame per second of such as 90fps, except preview screen, processing unit 240 and image extraction module 220 can more get frame per second be 30fps(namely, 90fps-60fps) multiple extra picture.Thus, processing unit 240 can obtain the specific picture be more suitable for for producing described process picture, and then obtains picture after better described process.
Fig. 7 is the dynamic exposure method of adjustment flow chart shown in one embodiment of the invention.The method that the present embodiment proposes is suitable for the electronic installation 200 in Fig. 2, and each element of the Fig. 2 that namely arranges in pairs or groups below is to illustrate each step in the present embodiment.
In step S710, the controlled image extraction module 220 processed of processing unit 240 obtains multiple preview screen, multiple extra picture and the first picture.Described multiple preview screen and described multiple extra picture are such as the pictures that image extraction module 220 obtains when performing automatic exposure algorithm.Described multiple extra picture is such as be not shown in the picture in display unit 210.
Then, in step S720, processing unit 240 can analyze the Luminance Distribution situation of described first picture.In the present embodiment, processing unit 240 equally can based on the previously mentioned Luminance Distribution situation analyzing described first picture based on component analysis method and brightness histogram analytic approach.The implementation detail of this step can refer to the related description of step S320 in Fig. 2, does not repeat them here.
In step S730, processing unit 240 can obtain long time for exposure and short exposure time according to described Luminance Distribution situation.As described in the previous embodiment, processing unit 240 can calculate the ratio value of the first quantity and the second quantity, and determines long time for exposure and short exposure time according to this ratio value.The details of this step can refer to the related description of Fig. 6 step S630, does not repeat them here.
Then, in step S740, processing unit 240 can take out at least one specific picture corresponding to described long time for exposure and described short exposure time from described multiple extra picture.
It should be noted that the difference of the step S640 of step S740 and Fig. 6 is, step S640 takes out specific picture from preview screen, and step S740 takes out specific picture in the extra picture being never shown in display unit 210.
In step S750, processing unit 240 can be picture after process in conjunction with described first picture and described at least one specific picture.
Because the method for Fig. 7 embodiment takes out specific picture in the extra picture being never shown in display unit 210, thus can under the prerequisite not affecting preview screen, find out be suitable for being combined into described first picture process after the specific picture of picture.Simultaneously, at least one specific picture taken out from preview screen due to processing unit 240 corresponds respectively to the suitable time for exposure, thus picture (such as, dark portion clarity of detail and highlights scene do not have overexposure) after preferably can being processed after being combined with described first picture.
In addition, the embodiment of the present invention also proposes a kind of hardware structure of electronic installation, and it can reach better treatment effeciency when performing HDR function.
Please refer to Fig. 8, Fig. 8 is the electronic apparatus functions calcspar shown in one embodiment of the invention.In the present embodiment, electronic installation 800 comprises display unit 810, image extraction module 820, memory cell 830 and processing unit 840.Image extraction module 820 comprises the first taking unit 821 and the second taking unit 822 and the second taking unit 823.The introduction of display unit 810, image extraction module 820, memory cell 830 and processing unit 840 can refer to the related description of each element of Fig. 2 embodiment, does not repeat them here.First taking unit 821 and the second taking unit 822 and the second taking unit 823 are such as CCD element and/or cmos element respectively, and it can correspond respectively to the different time for exposure.
Fig. 9 is the dynamic exposure method of adjustment flow chart shown in one embodiment of the invention.The method that the present embodiment proposes is suitable for the electronic installation 800 in Fig. 8, and each element of the Fig. 8 that namely arranges in pairs or groups below is to illustrate each step in the present embodiment.
First, in step S910, processing unit 840 can control the first taking unit 821 and obtain the first picture.In step S920, processing unit 840 can analyze the Luminance Distribution situation of described first picture.In step S930, processing unit 840 can obtain long time for exposure and short exposure time according to described Luminance Distribution situation.The details of step S910 ~ S930 can refer to the elaboration in preceding embodiment, does not repeat them here.
In step S940, processing unit 840 can adjust the second taking unit 822 according to long time for exposure and short exposure time and the second taking unit 823 distinguishes the corresponding time for exposure.For example, step S930 is performed with after obtaining long time for exposure and short exposure time at processing unit 840, the time for exposure of the second taking unit 822 can be set as the described long time for exposure by processing unit 840, and the time for exposure of the second taking unit 823 is set as described short exposure time.
For the exemplary value mentioned in preceding embodiment, long time for exposure acquired by supposing and short exposure time are respectively 8 times and 1/2 times, then the time for exposure of the second taking unit 822 can be set as 8 times of the time for exposure of described first picture by processing unit 840.Further, the time for exposure of the second taking unit 823 can be set as 1/2 times of the time for exposure of described first picture by processing unit 840.In one embodiment, the time for exposure of described first picture is the time for exposure of the first taking unit 821.
Lift another example, the long time for exposure acquired by supposing and short exposure time are respectively 3 times and 1/2 times, then the time for exposure of the second taking unit 822 can be set as 3 times of the time for exposure of described first picture by processing unit 840.Further, the time for exposure of the second taking unit 823 can be set as 1/2 times of the time for exposure of described first picture by processing unit 840.
Afterwards, in step S950, processing unit 840 can control the second taking unit 822 and the second taking unit 823 and obtain multiple specific picture (being such as long exposure photograph and short exposure photo) according to time for exposure of correspondence.Also namely, processing unit 840 can control the second taking unit 822 and the second taking unit 823 and obtain corresponding specific picture based on the multiple of correspondence respectively.
In step S960, processing unit 840 can be picture after process in conjunction with the first picture and described multiple specific picture.
Generally speaking, processing unit 840 can control the second taking unit 822 after determining long time for exposure and short exposure time simultaneously and the second taking unit 823 obtains corresponding specific picture, and usually need not take long exposure photograph and short exposure photo with image extraction module 220 respectively in different time points as the electronic installation 200 of Fig. 2.Therefore, electronic installation 800 can reach higher image processing efficiency compared to electronic installation 200.
Furthermore, when electronic installation 800 is for the more dynamic object of shooting, corresponding specific picture is obtained because processing unit 840 can control the second taking unit 822 and the second taking unit 823 simultaneously, thus make processing unit 840 can more effectively eliminate because of the picture otherness that the time difference produces between specific picture, and then obtain picture after better process.
In sum, the embodiment of the present invention propose dynamic exposure method of adjustment and electronic installation can adjust long time for exposure and short exposure time adaptively according to the scene corresponding to the first picture.Thus, which kind of scene is the scene no matter corresponding to the first picture be, the dynamic exposure method of adjustment that the embodiment of the present invention proposes all can obtain photo (such as, dark portion clarity of detail and highlights scene do not have overexposure) after best process.
In addition, the method that the embodiment of the present invention proposes also can after obtaining long time for exposure and short exposure time, from preview screen or the extra picture not being shown in display unit, take out the specific picture corresponding to long time for exposure and short exposure time, and these specific pictures are combined with the first picture.Thus, adjustment long time for exposure and the effect of short exposure time can be reached equivalently, and then obtain photo after best process equally.
Moreover the electronic installation that the embodiment of the present invention proposes also can adjust time for exposure of multiple taking unit according to acquired long time for exposure and short exposure time, and control these taking units and obtain specific picture according to the corresponding time for exposure simultaneously.Therefore, the electronic installation that the embodiment of the present invention proposes can be more suitable for for the more dynamic object of shooting.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (9)

1. a dynamic exposure method of adjustment, is suitable for electronic installation, it is characterized in that, described method comprises the following steps:
Obtain multiple preview screen, multiple extra picture and the first picture, wherein those extra pictures are not shown in the display unit of this electronic installation;
Analyze the Luminance Distribution situation of this first picture;
Long time for exposure and short exposure time is obtained according to this Luminance Distribution situation;
At least one specific picture corresponding to this long time for exposure and this short exposure time is taken out from those extra pictures; And
Be picture after process in conjunction with this first picture and this at least one specific picture.
2. method according to claim 1, is characterized in that, the step analyzing this Luminance Distribution situation of this first picture comprises:
Cutting this first picture is multiple block;
Calculate the brightness value that those blocks are corresponding respectively respectively;
This brightness value according to each this block calculates the first quantity of the multiple highlights blocks in this first picture and the second quantity of multiple dark portion block, wherein, respectively this brightness value of this highlights block is higher than predetermined luminance threshold value, and respectively this brightness value of this dark portion block lower than this predetermined luminance threshold value
Wherein, the step obtaining this long time for exposure and this short exposure time according to this Luminance Distribution situation comprises:
Calculate the ratio value of this first quantity and this second quantity; And
This long time for exposure and this short exposure time is obtained according to this ratio value.
3. method according to claim 1, is characterized in that, the step analyzing this Luminance Distribution situation of this first picture comprises:
Produce the brightness histogram being associated with this first picture, wherein this brightness histogram comprises the number of the multiple data corresponding to multiple brightness value;
By in those data, brightness value classifies as highlights block higher than the data of predetermined luminance threshold value;
By in those data, brightness value classifies as dark portion block lower than the data of this predetermined luminance threshold value;
Add up the first quantity of this highlights block and the second quantity of this dark portion block,
Wherein, the step obtaining this long time for exposure and this short exposure time according to this Luminance Distribution situation comprises:
Calculate the ratio value of this first quantity and this second quantity; And
This long time for exposure and this short exposure time is obtained according to this ratio value.
4. an electronic installation, is characterized in that, comprising:
Obtain the module of multiple preview screen, multiple extra picture and the first picture in order to control image extraction module, wherein those extra pictures are not shown in this display unit of this electronic installation;
In order to analyze the module of the Luminance Distribution situation of this first picture;
In order to obtain the module of long time for exposure and short exposure time according to this Luminance Distribution situation;
In order to take out the module of at least one specific picture corresponding to this long time for exposure and this short exposure time from those extra pictures; And
In order in conjunction with this first picture and this at least one specific picture to be the module of the rear picture of process.
5. electronic installation according to claim 4, is characterized in that, comprising:
In order to cut the module that this first picture is multiple block;
In order to calculate the module of those blocks brightness value corresponding respectively respectively;
In order to calculate the module of the first quantity of the multiple highlights blocks in this first picture and the second quantity of multiple dark portion block according to this brightness value of each this block, wherein, respectively this brightness value of this highlights block is higher than predetermined luminance threshold value, and respectively this brightness value of this dark portion block lower than this predetermined luminance threshold value;
In order to calculate the module of the ratio value of this first quantity and this second quantity; And
In order to obtain the module of this long time for exposure and this short exposure time according to this ratio value.
6. electronic installation according to claim 4, is characterized in that, comprising:
In order to produce the module being associated with the brightness histogram of this first picture, wherein this brightness histogram comprises the number of the multiple data corresponding to multiple brightness value;
In order to by those data, brightness value classifies as the module of highlights block higher than the data of predetermined luminance threshold value;
In order to by those data, brightness value classifies as the module of dark portion block lower than the data of this predetermined luminance threshold value;
In order to the module of the second quantity of first quantity and this dark portion block of adding up this highlights block;
In order to calculate the module of the ratio value of this first quantity and this second quantity; And
In order to obtain the module of this long time for exposure and this short exposure time according to this ratio value.
7. an electronic installation, is characterized in that, comprising:
The module of the first picture is obtained in order to control this first taking unit;
In order to analyze the module of the Luminance Distribution situation of this first picture;
In order to obtain the module of long time for exposure and short exposure time according to this Luminance Distribution situation;
In order to adjust the module of this at least one second taking unit time for exposure corresponding respectively according to this long time for exposure and this short exposure time;
In order to control the module of this at least one second taking unit according to the multiple specific picture of this corresponding time for exposure acquisition; And
In order in conjunction with this first picture and those specific pictures to be the module of the rear picture of process.
8. electronic installation according to claim 7, is characterized in that, comprising:
In order to cut the module that this first picture is multiple block;
In order to calculate the module of those blocks brightness value corresponding respectively respectively;
In order to calculate the module of the first quantity of the multiple highlights blocks in this first picture and the second quantity of multiple dark portion block according to this brightness value of each this block, wherein, respectively this brightness value of this highlights block is higher than predetermined luminance threshold value, and respectively this brightness value of this dark portion block lower than this predetermined luminance threshold value;
In order to calculate the module of the ratio value of this first quantity and this second quantity; And
In order to obtain the module of this long time for exposure and this short exposure time according to this ratio value.
9. electronic installation according to claim 7, is characterized in that, comprising:
In order to produce the module being associated with the brightness histogram of this first picture, wherein this brightness histogram comprises the number of the multiple data corresponding to multiple brightness value;
In order to by those data, brightness value classifies as the module of highlights block higher than the data of predetermined luminance threshold value;
In order to by those data, brightness value classifies as the module of dark portion block lower than the data of this predetermined luminance threshold value;
In order to the module of the second quantity of first quantity and this dark portion block of adding up this highlights block;
In order to calculate the module of the ratio value of this first quantity and this second quantity; And
In order to obtain the module of this long time for exposure and this short exposure time according to this ratio value.
CN201410086911.0A 2014-03-11 2014-03-11 Dynamic exposure method of adjustment and its electronic device Active CN104917973B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410086911.0A CN104917973B (en) 2014-03-11 2014-03-11 Dynamic exposure method of adjustment and its electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410086911.0A CN104917973B (en) 2014-03-11 2014-03-11 Dynamic exposure method of adjustment and its electronic device

Publications (2)

Publication Number Publication Date
CN104917973A true CN104917973A (en) 2015-09-16
CN104917973B CN104917973B (en) 2019-03-05

Family

ID=54086636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410086911.0A Active CN104917973B (en) 2014-03-11 2014-03-11 Dynamic exposure method of adjustment and its electronic device

Country Status (1)

Country Link
CN (1) CN104917973B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227858A (en) * 2015-10-30 2016-01-06 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN106851123A (en) * 2017-03-09 2017-06-13 广东欧珀移动通信有限公司 Exposal control method, exposure-control device and electronic installation
CN107317977A (en) * 2017-06-23 2017-11-03 北京小米移动软件有限公司 Image pickup method and device
CN107395998A (en) * 2017-08-24 2017-11-24 维沃移动通信有限公司 A kind of image capturing method and mobile terminal
CN107463052A (en) * 2017-08-30 2017-12-12 北京小米移动软件有限公司 Shoot exposure method and device
CN110115025A (en) * 2017-03-09 2019-08-09 Oppo广东移动通信有限公司 Control method, control device and electronic device based on depth
CN110198419A (en) * 2019-06-28 2019-09-03 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic equipment
WO2019183813A1 (en) * 2018-03-27 2019-10-03 华为技术有限公司 Image capture method and device
CN111147753A (en) * 2019-12-31 2020-05-12 维沃移动通信有限公司 Method, electronic device and medium for processing photos
US11375128B2 (en) 2017-10-30 2022-06-28 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for obtaining exposure compensation values of high dynamic range image, terminal device and non-transitory computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1799057A (en) * 2003-04-29 2006-07-05 微软公司 A system and process for generating high dynamic range video
CN102006422A (en) * 2009-09-01 2011-04-06 华晶科技股份有限公司 Backlight shooting method
US20120257077A1 (en) * 2011-04-07 2012-10-11 Olympus Corporation Image pickup apparatus, image pickup method and recording device recording image processing program
CN103108134A (en) * 2011-11-11 2013-05-15 佳能株式会社 Image capture apparatus and control method thereof
CN103581565A (en) * 2012-07-20 2014-02-12 佳能株式会社 Image capture apparatus, method of controlling image capture apparatus, and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1799057A (en) * 2003-04-29 2006-07-05 微软公司 A system and process for generating high dynamic range video
CN102006422A (en) * 2009-09-01 2011-04-06 华晶科技股份有限公司 Backlight shooting method
US20120257077A1 (en) * 2011-04-07 2012-10-11 Olympus Corporation Image pickup apparatus, image pickup method and recording device recording image processing program
CN103108134A (en) * 2011-11-11 2013-05-15 佳能株式会社 Image capture apparatus and control method thereof
CN103581565A (en) * 2012-07-20 2014-02-12 佳能株式会社 Image capture apparatus, method of controlling image capture apparatus, and electronic device

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227858A (en) * 2015-10-30 2016-01-06 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN105227858B (en) * 2015-10-30 2019-03-05 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN106851123B (en) * 2017-03-09 2020-12-22 Oppo广东移动通信有限公司 Exposure control method, exposure control device and electronic device
CN106851123A (en) * 2017-03-09 2017-06-13 广东欧珀移动通信有限公司 Exposal control method, exposure-control device and electronic installation
WO2018161758A1 (en) * 2017-03-09 2018-09-13 广东欧珀移动通信有限公司 Exposure control method, exposure control device and electronic device
CN110115025A (en) * 2017-03-09 2019-08-09 Oppo广东移动通信有限公司 Control method, control device and electronic device based on depth
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
US11145086B2 (en) 2017-03-09 2021-10-12 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Electronic device, and method and apparatus for controlling the same
CN107317977A (en) * 2017-06-23 2017-11-03 北京小米移动软件有限公司 Image pickup method and device
CN107395998A (en) * 2017-08-24 2017-11-24 维沃移动通信有限公司 A kind of image capturing method and mobile terminal
CN107463052A (en) * 2017-08-30 2017-12-12 北京小米移动软件有限公司 Shoot exposure method and device
US11375128B2 (en) 2017-10-30 2022-06-28 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for obtaining exposure compensation values of high dynamic range image, terminal device and non-transitory computer-readable storage medium
CN111418201A (en) * 2018-03-27 2020-07-14 华为技术有限公司 Shooting method and equipment
WO2019183813A1 (en) * 2018-03-27 2019-10-03 华为技术有限公司 Image capture method and device
CN111418201B (en) * 2018-03-27 2021-10-15 华为技术有限公司 Shooting method and equipment
CN110198419A (en) * 2019-06-28 2019-09-03 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic equipment
CN111147753A (en) * 2019-12-31 2020-05-12 维沃移动通信有限公司 Method, electronic device and medium for processing photos
CN111147753B (en) * 2019-12-31 2022-01-28 维沃移动通信有限公司 Method, electronic device and medium for processing photos

Also Published As

Publication number Publication date
CN104917973B (en) 2019-03-05

Similar Documents

Publication Publication Date Title
CN104917973A (en) Dynamic exposure adjusting method and electronic apparatus
US11563897B2 (en) Image processing method and apparatus which determines an image processing mode based on status information of the terminal device and photographing scene information
TWI530911B (en) Dynamic exposure adjusting method and electronic apparatus using the same
US9294687B2 (en) Robust automatic exposure control using embedded data
US10616511B2 (en) Method and system of camera control and image processing with a multi-frame-based window for image data statistics
KR102149187B1 (en) Electronic device and control method of the same
CN105578068B (en) A kind of generation method of high dynamic range images, device and mobile terminal
US8446481B1 (en) Interleaved capture for high dynamic range image acquisition and synthesis
EP3306913B1 (en) Photographing method and apparatus
US11588984B2 (en) Optimized exposure temporal smoothing for time-lapse mode
US9357127B2 (en) System for auto-HDR capture decision making
CN110266954B (en) Image processing method, image processing device, storage medium and electronic equipment
AU2014203602A1 (en) Flash synchronization using image sensor interface timing signal
CN110430370B (en) Image processing method, image processing device, storage medium and electronic equipment
CN112672060A (en) Shooting method and device and electronic equipment
US8681244B2 (en) Image processing method using blurring and photographing apparatus using the same
CN116055897B (en) Photographing method and related equipment thereof
CN110717871A (en) Image processing method, image processing device, storage medium and electronic equipment
CN110278375B (en) Image processing method, image processing device, storage medium and electronic equipment
CN107147851B (en) Photo processing method and device, computer readable storage medium and electronic equipment
CN110266965B (en) Image processing method, image processing device, storage medium and electronic equipment
CN110278386B (en) Image processing method, image processing device, storage medium and electronic equipment
CN110012227B (en) Image processing method, image processing device, storage medium and electronic equipment
JP5335964B2 (en) Imaging apparatus and control method thereof
US20130194456A1 (en) Imaging device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant