CN107888839A - High-dynamic-range image acquisition method, device and equipment - Google Patents

High-dynamic-range image acquisition method, device and equipment Download PDF

Info

Publication number
CN107888839A
CN107888839A CN201711032281.9A CN201711032281A CN107888839A CN 107888839 A CN107888839 A CN 107888839A CN 201711032281 A CN201711032281 A CN 201711032281A CN 107888839 A CN107888839 A CN 107888839A
Authority
CN
China
Prior art keywords
frame picture
bias value
exposure
image
exposure bias
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
CN201711032281.9A
Other languages
Chinese (zh)
Other versions
CN107888839B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711032281.9A priority Critical patent/CN107888839B/en
Publication of CN107888839A publication Critical patent/CN107888839A/en
Application granted granted Critical
Publication of CN107888839B publication Critical patent/CN107888839B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/741Circuitry for compensating brightness variation in the scene by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors
    • G06T3/14
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration by the use of more than one image, e.g. averaging, subtraction
    • G06T5/90
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20221Image fusion; Image merging

Abstract

This application discloses a kind of high-dynamic-range image acquisition method, device and equipment, wherein method includes:After receiving high dynamic range images and obtaining instruction, the first frame picture that acquisition imaging sensor is currently shown sets the first exposure bias value as normal exposure image;After the first frame picture that imaging sensor is shown switches to the second frame picture, the second exposure bias value is set, wherein the second exposure bias value is different from the first exposure bias value;The 3rd frame picture and the 4th frame picture that collection imaging sensor is shown successively;First frame picture, the 3rd frame picture and the 4th frame picture are subjected to fusion treatment, generate high dynamic range images.The present processes improve the acquisition speed of high dynamic range images, reduce the stand-by period, improve user experience.

Description

High-dynamic-range image acquisition method, device and equipment
Technical field
The application is related to technical field of image processing, more particularly to a kind of high-dynamic-range image acquisition method, device and Equipment.
Background technology
HDR (High-Dynamic Range, referred to as:HDR) image is true with its abundant level, picture Sense is strong, dynamic range of images is big, more realistically restores the effect of approaching to reality scene turns into standby ace-high one kind and takes pictures work( Energy.
At present, the method for obtaining HDR image mainly continuously acquires multiframe using image acquiring device with different exposures Image, fusion treatment then is carried out to multiple image to generate HDR image.Above-mentioned image acquiring device is obtaining multiple image When, it is necessary to carry out a series of processing repeatedly, such as exposure parameter is set, waits exposure parameter to come into force, take frame, be once again set up exposing Optical parameter, exposure parameter is waited the operation such as to come into force, the acquisition speed that this allows for HDR image is slow, takes a long time, shadow Ring Consumer's Experience.
The content of the invention
The application is intended at least solve one of above-mentioned technological deficiency to a certain extent.
Therefore, first purpose of the application is to propose a kind of high-dynamic-range image acquisition method, this method improves The acquisition speed of high dynamic range images, reduces the stand-by period, improves user experience.
Second purpose of the application is to propose a kind of high dynamic range image acquisition device.
The 3rd purpose of the application is to propose a kind of terminal device.
The 4th purpose of the application is to propose a kind of computer-readable recording medium.
To achieve these goals, the high-dynamic-range image acquisition method of the application first aspect embodiment, including: After receiving high dynamic range images acquisition instruction, the first frame picture that acquisition imaging sensor is currently shown is as normal exposure Image, and the first exposure bias value is set;After the first frame picture that described image sensor is shown switches to the second frame picture, Second exposure bias value is set, wherein the second exposure bias value is different from first exposure bias value;The figure is gathered successively The 3rd frame picture and the 4th frame picture shown as sensor;By the first frame picture, the 3rd frame picture and the 4th frame picture Fusion treatment is carried out, generates high dynamic range images.
To achieve these goals, the high dynamic range image acquisition device of the application second aspect embodiment, including:The One acquisition module, for after receiving high dynamic range images and obtaining instruction, obtaining imaging sensor is currently shown first Frame picture sets the first exposure bias value as normal exposure image;Setup module, for being shown in described image sensor The first frame picture switch to the second frame picture after, the second exposure bias value is set, wherein the second exposure bias value and described the One exposure bias value is different;Acquisition module, the 3rd frame picture and the 4th frame shown for gathering described image sensor successively Picture;Generation module, the first frame picture, the 3rd frame picture and the 4th frame picture are subjected to fusion treatment, generate high dynamic Range image.
To achieve these goals, the terminal device of the application third aspect embodiment, including:Memory, processor and Camera module;The camera module, for gathering the image under current scene;The memory, for storing executable program Code;The processor, run and the executable journey for reading the executable program code stored in the memory Program corresponding to sequence code, for realizing the high-dynamic-range image acquisition method described in first aspect embodiment.
To achieve these goals, the computer-readable recording medium of the application fourth aspect embodiment, is stored thereon with Computer program, the computer program realize that the high dynamic range images described in first aspect embodiment obtain when being executed by processor Take.
Technical scheme disclosed in the present application, has the advantages that:
Instruction is obtained by receiving high dynamic range images, the first two field picture currently shown to obtain imaging sensor is made For constant exposure time, and the first exposure bias value is set, and the first frame picture shown in imaging sensor switches to the After two frame pictures, the second exposure bias value is set, the 3rd frame picture and the 4th frame that then collection imaging sensor is shown successively Picture, the first frame picture, the 3rd frame picture and the 4th frame picture are then subjected to fusion treatment, to generate HDR figure Picture.Thus, the acquisition speed of high dynamic range images is improved, reduces the stand-by period, improves user experience.
The aspect and advantage that the application adds will be set forth in part in the description, and will partly become from the following description Obtain substantially, or recognized by the practice of the application.
Brief description of the drawings
The above-mentioned and/or additional aspect of the application and advantage will become from the following description of the accompanying drawings of embodiments Substantially and it is readily appreciated that, wherein,
Fig. 1 is the flow chart according to the high-dynamic-range image acquisition method of the application one embodiment;
Fig. 2 is the flow chart according to the high-dynamic-range image acquisition method of the application another embodiment;
Fig. 3 (a) is the schematic diagram according to the red channel histogram of the application one embodiment;
Fig. 3 (b) is the schematic diagram according to the green channel histogram of the application one embodiment;
Fig. 3 (c) is the schematic diagram according to the blue channel histogram of the application one embodiment;
Fig. 4 is the structural representation according to the high dynamic range image acquisition device of the application one embodiment;
Fig. 5 is the structural representation according to the terminal device of the application one embodiment.
Embodiment
Embodiments herein is described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the application, and it is not intended that limitation to the application.
In order to solve in correlation technique, when obtaining HDR image, because image acquiring device handling process is more complicated, So that high dynamic range images acquisition speed is slow, it is necessary to which the problem of taking a long time, proposes a kind of HDR figure As acquisition methods.
The high-dynamic-range image acquisition method that the application provides, terminal device, which receives high dynamic range images and obtained, to be referred to After order, the first frame picture that acquisition imaging sensor is currently shown sets the first exposure compensating as normal exposure image Value, and after the first frame picture show in imaging sensor switches to the second frame picture, the second exposure bias value of setting, wherein Second exposure bias value is different from the first exposure bias value, then gathers the 3rd frame picture and the 4th frame that imaging sensor is shown Picture, the first frame picture, the 3rd frame picture and the 4th frame picture of collection are then subjected to fusion treatment, to generate high dynamic range Enclose image.Thus, the acquisition speed of high dynamic range images is improved, reduces the stand-by period, improves user experience.
Below with reference to the accompanying drawings the dynamic-range image acquisition method of the embodiment of the present application is described.
Fig. 1 is the flow chart according to the high-dynamic-range image acquisition method of the application one embodiment.
As shown in figure 1, the high-dynamic-range image acquisition method of the application may comprise steps of:
Step 101, after receiving high dynamic range images and obtaining instruction, imaging sensor is currently shown first is obtained Frame picture sets the first exposure bias value as normal exposure image.
Specifically, the high-dynamic-range image acquisition method that the embodiment of the present application provides, the height that can be provided by the application Dynamic image acquisition device is performed, and the device is configured in terminal device, is carried out with realizing to obtaining different exposure images Control.
Wherein, terminal device can be any hardware device with camera function in the present embodiment, such as smart mobile phone, Camera, personal computer (personal computer, referred to as PC) etc., the present invention are not especially limited to this.
During specific implementation, the application can receive high dynamic range images in the following manner and obtain instruction.
The first implementation
The high dynamic range images for receiving user's triggering obtain instruction;
Specifically, user can be by clicking on terminal device display panel on high dynamic range images obtain function key, Instruction is obtained to trigger;Or rotary mode rotating disk, by mark alignment HDR screening-modes etc., the application is not limited specifically this It is fixed.
Second of implementation
When it is determined that present filming scene is reversible-light shooting, triggering high dynamic range images obtain instruction.
Specifically, because when photographed scene is backlight, the image of common exposal model shooting is likely to occur deficient exposure, or The situation of overexposure, therefore in order to get the more details of image, terminal device can be it is determined that current shooting pattern be inverse Light time, automatic switchover exposal model are high dynamic range images pattern.
Further, due to being needed during synthesis HDR image:Normal exposure image, under-exposure image and overexposure light image, Therefore in the present embodiment, while the first frame picture is acquired as normal exposure image, the first exposure can also be set to mend Value is repaid, to cause imaging sensor further to gather under-exposure image or overexposure light image.
It should be noted that due to when imaging sensor is operated in general mode, the acquisition time of image, with image sensing The transmission frame number per second of device is relevant, for example, if the transmission frame number per second of imaging sensor is 30 hertz (Hz), then when with Family the 1st frame press it is fast behind the door, it is then the image in the shooting of the 8th frame to obtain image.
On the other hand, taking frame speed to improve imaging sensor, the application is when obtaining HDR image, by imaging sensor Mode of operation is arranged to zero-lag and taken pictures (zero shutter lag), referred to as:ZSL) pattern.When imaging sensor is operated in During zero-lag exposal model, imaging sensor can cache some frames in advance, at the time of user is pressing shutter, imaging sensor Caching frame can directly be extracted to be encoded, generate correspondence image, so as to effectively lift the formation speed of HDR image, reduced Stand-by period.
It is continuing with above-mentioned example to illustrate, if imaging sensor is operated in zero-lag exposal model, then the 1st Frame is pressed soon behind the door, and obtained image is then the image of the 1st frame shooting.
And then after receiving high dynamic range images and obtaining instruction, imaging sensor can obtain what is currently shown First frame picture, and using above-mentioned first frame picture as normal exposure image.
In order to which shortening further obtains the time of under-exposure image or overexposure light image, can show in imaging sensor First exposure bias value is set when showing the first frame picture.
It should be noted that the first exposure bias value in the application can be under-exposure offset, or it is overexposure Offset, the application are not especially limited to this.
Step 102, after the first frame picture that imaging sensor is shown switches to the second frame picture, the second exposure is set to mend Value is repaid, wherein the second exposure bias value is different from the first exposure bias value.
Step 103, the 3rd frame picture and the 4th frame picture that collection imaging sensor is shown successively.
Specifically, because imaging sensor generally has the characteristic to be come into force every frame, first set in the first frame exposes Compensating parameter can only come into force in the 3rd frame, therefore can not show image corresponding to the first exposure bias value in the second frame picture.
Further, HDR image speed is obtained in order to improve, the application can be in the second frame picture that imaging sensor is shown The second exposure bias value of middle setting, to cause imaging sensor when showing the 4th frame picture, you can obtain the second exposure compensating Image corresponding to value.
It should be noted that if the first exposure bias value set in step 101 is under-exposure offset, second exposes Offset is then overexposure offset;
Accordingly, the 3rd frame picture is under-exposure image, and the 4th frame picture is overexposure light image.
If the first exposure bias value set in step 101 is overexposure offset, the second exposure bias value is then deficient Exposure bias value.
Accordingly, the 3rd frame picture is overexposure light image, and the 4th frame picture is under-exposure image.
Step 104, the first frame picture, the 3rd frame picture and the 4th frame picture are subjected to fusion treatment, generate high dynamic range Enclose image.
During specific implementation, the first frame picture collected, the 3rd frame picture and the 4th frame picture can be subjected to image co-registration Processing, to generate the dynamic image under current scene.
It is understood that the application high dynamic range image acquisition device, by being in zero-lag in imaging sensor During mode of operation, and receive after high dynamic range images obtain instruction, obtain the first frame picture for showing of imaging sensor As normal exposure value, and the first exposure bias value is set, then gathers the 3rd frame picture and the 4th frame picture successively, and will adopt The first frame picture, the 3rd frame picture and the 4th frame picture collected carries out image co-registration processing, to generate high dynamic range images, So as to improve the formation speed of high dynamic range images, shorten and spend the time.
In the high-dynamic-range image acquisition method of the embodiment of the present application, referred to by receiving high dynamic range images and obtaining Order, constant exposure time, and the first exposure bias value of setting are used as to obtain the first two field picture that imaging sensor currently shows, And after the first frame picture shown in imaging sensor switches to the second frame picture, the second exposure bias value, Ran Houyi are set Secondary collection imaging sensor the 3rd frame picture and the 4th frame picture that show, then by the first frame picture, the 3rd frame picture and the Four frame pictures carry out fusion treatment, to generate high dynamic range images.Thus, the acquisition speed of high dynamic range images is improved Degree, reduces the stand-by period, improves user experience.
By above-mentioned analysis, the application is zero-lag pattern by setting the mode of operation of imaging sensor, with The normal exposure image, under-exposure image and overexposure of current scene can be got in the four frame pictures that imaging sensor is shown Light image, and above three image is subjected to high dynamic range images corresponding to image co-registration generation.During specific implementation, due to not With under scene, corresponding overexposure offset and under-exposure offset are different, and with reference to Fig. 2, the first exposure is determined to the application Light offset, and the process of the second exposure bias value, are specifically described.
Fig. 2 is the flow chart according to the high-dynamic-range image acquisition method of the application one embodiment.
As shown in Fig. 2 the high-dynamic-range image acquisition method of the application may comprise steps of:
Step 201, each color channel histograms corresponding to current scene are determined, wherein each color channel histograms are included respectively The corresponding relation of different brightness and pixel ratio under Color Channel.
Specifically, each color channel histograms, the present embodiment corresponding to current scene can be determined according to RGB data This is not repeated excessively.
It should be noted that if the RGB data obtained in the present embodiment includes red (R), green (G), blue (B) three colors Passage, then be then three, respectively red channel histogram, green channel Nogata to each color channel histograms that should determine that Figure and blue channel histogram.
Further, three kinds of color channel histograms of above-mentioned determination, can for details, reference can be made to shown in Fig. 3, and Fig. 3 (a) is red Chrominance channel histogram, Fig. 3 (b) are green channel histogram, and Fig. 3 (c) is blue channel histogram.Wherein, each Color Channel is straight In square figure, x-axis represents brightness of image, and y-axis represents that each pixel is located at the pixel ratio under the brightness in image.
If the RGB data obtained in the present embodiment includes R, Gr, Gb, during tetra- Color Channels of B, then to the face that should determine that Chrominance channel histogram is then four, respectively red channel histogram, green (Gr) channel histogram, green (Gb) passage Nogata Figure and blue channel histogram.
Step 202, according to each color channel histograms, the first exposure bias value and the second exposure bias value are determined.
Specifically, because in actual applications, the response of imaging sensor is close to linear relationship, for be rendered Image for, if without correction, but directly display on the display screen, even from default normal exposure brightness Threshold value carries out the image not overexposure of brightness regulation, it is also possible to overexposure occurs in the image showed on the display screen.Therefore, In order to which correct output meets response image of the human eye to brightness in various equipment, it is necessary to corresponding correct operation is carried out, The function of the correction is gamma curve.
Therefore, current embodiment require that the first gamma curve according to corresponding to camera device, determines normal exposure luminance threshold.
Then, it is bright further according to the corresponding relation of different brightness and pixel ratio, normal exposure under each color channel histograms Threshold value and default pixel ratio threshold value are spent, the under-exposure degree and overexposure degree of current scene is determined, is then based on Under-exposure degree and overexposure degree inquire about default exposure compensating mapping table, with determine the under-exposure offset of current scene and Overexposure offset.
Step 203, after receiving high dynamic range images and obtaining instruction, imaging sensor is currently shown first is obtained Frame picture sets the first exposure bias value as normal exposure image.
Step 204, the shutter speed or aperture size in camera device are controlled according to the first exposure bias value, to obtain the Two frame pictures.
For example, if the first exposure bias value is 15, then the shutter speed in camera device can be controlled to use 1/ 30 plus aperture be f32, to get image corresponding to the first exposure bias value.
Step 205, after the first frame picture that imaging sensor is shown switches to the second frame picture, the second exposure is set to mend Value is repaid, wherein the second exposure bias value is different from the first exposure bias value.
Step 206, the 3rd frame picture and the 4th frame picture that collection imaging sensor is shown successively.
Step 207, the first frame picture, the 3rd frame picture and the 4th frame picture are subjected to fusion treatment, generate high dynamic range Enclose image.
In the dynamic-range image acquisition method of the embodiment of the present application, by using each Color Channel corresponding to current scene Histogram, the first exposure bias value and the second exposure bias value are determined, the first exposure bias value is then arranged on image sensing In first frame picture of device, and the second exposure bias value is arranged in the second frame picture of imaging sensor, to scheme As sensor can synthesize normal exposure image, the under-exposure image of high dynamic range images in four frame pictures with regard to that can get And overexposure light image, and then the acquisition speed for causing high dynamic range images is faster, reduces the stand-by period, further meets User's request, improve user experience.
In order to realize above-described embodiment, the invention also provides a kind of high dynamic range image acquisition device.
Fig. 4 is the structural representation of the high dynamic range image acquisition device of one embodiment of the invention.
As shown in figure 4, the high dynamic range image acquisition device of the application includes:First acquisition module 11, setup module 12nd, acquisition module 13 and generation module 14.
Wherein, the first acquisition module 11 is used for after receiving high dynamic range images and obtaining instruction, obtains image sensing The first frame picture that device is currently shown sets the first exposure bias value as normal exposure image;
Setup module 12 is used for after the first frame picture that described image sensor is shown switches to the second frame picture, sets Second exposure bias value, wherein the second exposure bias value is different from first exposure bias value;
Acquisition module 13 is used for the 3rd frame picture and the 4th frame picture that collection described image sensor is shown successively;
The first frame picture, the 3rd frame picture and the 4th frame picture are carried out fusion treatment by generation module 14, and generation is high Dynamic image.
Further, in another embodiment of the application, high dynamic range image acquisition device also includes:Second obtains Modulus block.
Wherein, the second acquisition module be used for according to first exposure bias value control camera device in shutter speed or Aperture size, to obtain the second frame picture.
Further, in another embodiment of the application, high dynamic range image acquisition device also includes:First is true Cover half block and the second determining module.
Wherein, the first determining module, for determining each color channel histograms corresponding to current scene, wherein each color is led to Road histogram includes the different brightness under each Color Channel and the corresponding relation of pixel ratio;
Second determining module, for according to each color channel histograms, determining first exposure bias value and institute State the second exposure bias value.
It should be noted that the foregoing explanation to high-dynamic-range image acquisition method embodiment is also applied for the reality The high dynamic range image acquisition device of example is applied, its realization principle is similar, and here is omitted.
In the high dynamic range image acquisition device that the present embodiment provides, referred to by receiving high dynamic range images and obtaining Order, constant exposure time, and the first exposure bias value of setting are used as to obtain the first two field picture that imaging sensor currently shows, And after the first frame picture shown in imaging sensor switches to the second frame picture, the second exposure bias value, Ran Houyi are set Secondary collection imaging sensor the 3rd frame picture and the 4th frame picture that show, then by the first frame picture, the 3rd frame picture and the Four frame pictures carry out fusion treatment, to generate high dynamic range images.Thus, the acquisition speed of high dynamic range images is improved Degree, reduces the stand-by period, improves user experience.
In order to realize above-described embodiment, the present invention also proposes a kind of terminal device.
Fig. 5 is the structural representation of the terminal device of one embodiment of the invention.
Referring to Fig. 5, the application terminal device includes memory 21, processor 22 and camera module 23;
The camera module 23 is used to gather the image under current scene;
The memory 21 is used to store executable program code;
The processor 22 be used to reading the executable program code that is stored in the memory 21 run with it is described can Program corresponding to configuration processor code, for realizing the high-dynamic-range image acquisition method described in first aspect embodiment. Wherein high-dynamic-range image acquisition method includes:After receiving high dynamic range images and obtaining instruction, image sensing is obtained The first frame picture that device is currently shown sets the first exposure bias value as normal exposure image;In described image sensor After first frame picture of display switches to the second frame picture, the second exposure bias value is set, wherein the second exposure bias value and institute State the first exposure bias value difference;The 3rd frame picture and the 4th frame picture that collection described image sensor is shown successively;By institute State the first frame picture, the 3rd frame picture and the 4th frame picture and carry out fusion treatment, generate high dynamic range images.
Wherein, terminal device can be any hardware device with camera function in the present embodiment, such as smart mobile phone, Camera, personal computer (personal computer, referred to as PC) etc., the present invention are not especially limited to this.
It should be noted that the foregoing explanation to high-dynamic-range image acquisition method embodiment is also applied for the reality The terminal device of example is applied, its realization principle is similar, and here is omitted.
In the terminal device that the present embodiment provides, instruction is obtained by receiving high dynamic range images, to obtain image biography The first two field picture that sensor is currently shown sets the first exposure bias value as constant exposure time, and in image sensing After the first frame picture that device is shown switches to the second frame picture, the second exposure bias value is set, then gathers image sensing successively The 3rd frame picture and the 4th frame picture that device is shown, are then melted the first frame picture, the 3rd frame picture and the 4th frame picture Conjunction is handled, to generate high dynamic range images.Thus, the acquisition speed of high dynamic range images is improved, when reducing wait Between, improve user experience.
In order to realize above-described embodiment, the invention also provides a kind of computer-readable recording medium.
The computer-readable recording medium, is stored thereon with computer program, and the program realizes when being executed by processor The high-dynamic-range image acquisition method of one side embodiment.Wherein high-dynamic-range image acquisition method includes:Receiving After high dynamic range images obtain instruction, the first frame picture for currently showing of imaging sensor is obtained as normal exposure image, And the first exposure bias value is set;After the first frame picture that described image sensor is shown switches to the second frame picture, set Second exposure bias value, wherein the second exposure bias value is different from first exposure bias value;Described image is gathered successively to pass The 3rd frame picture and the 4th frame picture that sensor is shown;The first frame picture, the 3rd frame picture and the 4th frame picture are carried out Fusion treatment, generate high dynamic range images.
In the present invention, unless otherwise clearly defined and limited, the term such as term " setting ", " connection " should do broad sense reason Solution, for example, it may be mechanically connecting or electrically connecting;Can be joined directly together, the indirect phase of intermediary can also be passed through Even, can be two element internals connection or two elements interaction relationship, limited unless otherwise clear and definite.For this For the those of ordinary skill in field, the concrete meaning of above-mentioned term in the present invention can be understood as the case may be.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description Point is contained at least one embodiment or example of the present invention.
In addition, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance Or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can be expressed or Implicitly include at least one this feature.
Any process or method described otherwise above description in flow chart or herein is construed as, and represents to include Module, fragment or the portion of the code of the executable instruction of one or more the step of being used to realize specific logical function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention Embodiment person of ordinary skill in the field understood.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal Discrete logic, have suitable combinational logic gate circuit application specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method carries Suddenly it is that by program the hardware of correlation can be instructed to complete, described program can be stored in a kind of computer-readable storage medium In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
Storage medium mentioned above can be read-only storage, disk or CD etc..Although have been shown and retouch above Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention System, one of ordinary skill in the art can be changed to above-described embodiment, change, replace and become within the scope of the invention Type.

Claims (10)

  1. A kind of 1. high-dynamic-range image acquisition method, it is characterised in that including:
    After receiving high dynamic range images and obtaining instruction, obtain the first frame picture that imaging sensor is currently shown and be used as just Normal exposure image, and the first exposure bias value is set;
    After the first frame picture that described image sensor is shown switches to the second frame picture, the second exposure bias value is set, its In the second exposure bias value it is different from first exposure bias value;
    The 3rd frame picture and the 4th frame picture that collection described image sensor is shown successively;
    The first frame picture, the 3rd frame picture and the 4th frame picture are subjected to fusion treatment, generate high dynamic range images.
  2. 2. the method as described in claim 1, it is characterised in that after the first exposure bias value of the setting, in addition to:
    Shutter speed or aperture size in camera device is controlled according to first exposure bias value, to obtain second frame Picture.
  3. 3. the method as described in claim 1, it is characterised in that before the first exposure bias value of the setting, in addition to:
    Each color channel histograms corresponding to current scene are determined, wherein each color channel histograms are included under each Color Channel Different brightness and the corresponding relation of pixel ratio;
    According to each color channel histograms, first exposure bias value and second exposure bias value are determined.
  4. 4. the method as described in claim 1-3 is any, it is characterised in that it is described get high dynamic range images obtain refer to Order, including:
    The high dynamic range images for receiving user's triggering obtain instruction;
    Or when it is determined that present filming scene is reversible-light shooting, triggers the high dynamic range images and obtain instruction.
  5. 5. method as claimed in claim 4, it is characterised in that the first frame picture for obtaining imaging sensor and currently showing Before normal exposure image, in addition to:
    It is zero-lag exposal model to determine the current mode of operation of described image sensor.
  6. A kind of 6. high dynamic range image acquisition device, it is characterised in that including:
    First acquisition module, for after receiving high dynamic range images and obtaining instruction, obtaining imaging sensor and currently showing The first frame picture as normal exposure image, and the first exposure bias value is set;
    Setup module, after the first frame picture for being shown in described image sensor switches to the second frame picture, set second Exposure bias value, wherein the second exposure bias value is different from first exposure bias value;
    Acquisition module, the 3rd frame picture and the 4th frame picture shown for gathering described image sensor successively;
    Generation module, the first frame picture, the 3rd frame picture and the 4th frame picture are subjected to fusion treatment, generate high dynamic range Enclose image.
  7. 7. device as claimed in claim 6, it is characterised in that also include:
    Second acquisition module is big for the shutter speed in first exposure bias value control camera device or aperture It is small, to obtain the second frame picture.
  8. 8. device as claimed in claim 6, it is characterised in that also include:
    First determining module, for determining each color channel histograms corresponding to current scene, wherein each color channel histograms Including the different brightness under each Color Channel and the corresponding relation of pixel ratio;
    Second determining module, for according to each color channel histograms, determining first exposure bias value and described Two exposure bias values.
  9. A kind of 9. terminal device, it is characterised in that including:Memory, processor and camera module;
    The camera module, for gathering the image under current scene;
    The memory, for storing executable program code;
    The processor, run and the executable program for reading the executable program code stored in the memory Program corresponding to code, for realizing the high-dynamic-range image acquisition method as described in claim 1-5 is any.
  10. 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program quilt The high-dynamic-range image acquisition method as described in claim 1-5 is any is realized during computing device.
CN201711032281.9A 2017-10-30 2017-10-30 high dynamic range image acquisition method, device and equipment Expired - Fee Related CN107888839B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711032281.9A CN107888839B (en) 2017-10-30 2017-10-30 high dynamic range image acquisition method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711032281.9A CN107888839B (en) 2017-10-30 2017-10-30 high dynamic range image acquisition method, device and equipment

Publications (2)

Publication Number Publication Date
CN107888839A true CN107888839A (en) 2018-04-06
CN107888839B CN107888839B (en) 2019-12-06

Family

ID=61782775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711032281.9A Expired - Fee Related CN107888839B (en) 2017-10-30 2017-10-30 high dynamic range image acquisition method, device and equipment

Country Status (1)

Country Link
CN (1) CN107888839B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337449A (en) * 2018-04-12 2018-07-27 Oppo广东移动通信有限公司 High-dynamic-range image acquisition method, device based on dual camera and equipment
CN108337447A (en) * 2018-04-12 2018-07-27 Oppo广东移动通信有限公司 High dynamic range images exposure compensating value-acquiring method, device, equipment and medium
CN109685727A (en) * 2018-11-28 2019-04-26 深圳市华星光电半导体显示技术有限公司 Image processing method
CN110086995A (en) * 2019-05-15 2019-08-02 深圳市道通智能航空技术有限公司 A kind of brightness of image adjusting method, device and unmanned plane
CN110708473A (en) * 2019-11-14 2020-01-17 深圳市道通智能航空技术有限公司 High dynamic range image exposure control method, aerial camera and unmanned aerial vehicle
CN113628136A (en) * 2021-07-29 2021-11-09 北京科技大学 High dynamic range laser speckle digital image correlation deformation measuring method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101394487A (en) * 2008-10-27 2009-03-25 华为技术有限公司 Image synthesizing method and system
CN102984463A (en) * 2012-09-14 2013-03-20 旗瀚科技有限公司 Method and system for image processing
JP2016146592A (en) * 2015-02-09 2016-08-12 ソニー株式会社 Image processing device, image processing method, and electronic apparatus
CN105872148A (en) * 2016-06-21 2016-08-17 维沃移动通信有限公司 Method and mobile terminal for generating high dynamic range images
CN107205120A (en) * 2017-06-30 2017-09-26 维沃移动通信有限公司 The processing method and mobile terminal of a kind of image
CN107277387A (en) * 2017-07-26 2017-10-20 维沃移动通信有限公司 High dynamic range images image pickup method, terminal and computer-readable recording medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101394487A (en) * 2008-10-27 2009-03-25 华为技术有限公司 Image synthesizing method and system
CN102984463A (en) * 2012-09-14 2013-03-20 旗瀚科技有限公司 Method and system for image processing
JP2016146592A (en) * 2015-02-09 2016-08-12 ソニー株式会社 Image processing device, image processing method, and electronic apparatus
CN105872148A (en) * 2016-06-21 2016-08-17 维沃移动通信有限公司 Method and mobile terminal for generating high dynamic range images
CN107205120A (en) * 2017-06-30 2017-09-26 维沃移动通信有限公司 The processing method and mobile terminal of a kind of image
CN107277387A (en) * 2017-07-26 2017-10-20 维沃移动通信有限公司 High dynamic range images image pickup method, terminal and computer-readable recording medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337449A (en) * 2018-04-12 2018-07-27 Oppo广东移动通信有限公司 High-dynamic-range image acquisition method, device based on dual camera and equipment
CN108337447A (en) * 2018-04-12 2018-07-27 Oppo广东移动通信有限公司 High dynamic range images exposure compensating value-acquiring method, device, equipment and medium
CN109685727A (en) * 2018-11-28 2019-04-26 深圳市华星光电半导体显示技术有限公司 Image processing method
CN109685727B (en) * 2018-11-28 2020-12-08 深圳市华星光电半导体显示技术有限公司 Image processing method
CN110086995A (en) * 2019-05-15 2019-08-02 深圳市道通智能航空技术有限公司 A kind of brightness of image adjusting method, device and unmanned plane
CN110708473A (en) * 2019-11-14 2020-01-17 深圳市道通智能航空技术有限公司 High dynamic range image exposure control method, aerial camera and unmanned aerial vehicle
CN113628136A (en) * 2021-07-29 2021-11-09 北京科技大学 High dynamic range laser speckle digital image correlation deformation measuring method
CN113628136B (en) * 2021-07-29 2023-07-25 北京科技大学 High dynamic range laser speckle digital image correlation deformation measurement method

Also Published As

Publication number Publication date
CN107888839B (en) 2019-12-06

Similar Documents

Publication Publication Date Title
US11375128B2 (en) Method for obtaining exposure compensation values of high dynamic range image, terminal device and non-transitory computer-readable storage medium
CN107888839A (en) High-dynamic-range image acquisition method, device and equipment
CN107888840B (en) High-dynamic-range image acquisition method and device
CN107566747B (en) Image brightness enhancement method and device
CN108419023B (en) Method for generating high dynamic range image and related equipment
EP3836534B1 (en) Imaging control method, electronic device, and computer-readable storage medium
CN108337449A (en) High-dynamic-range image acquisition method, device based on dual camera and equipment
CN108616689B (en) Portrait-based high dynamic range image acquisition method, device and equipment
CN108322646A (en) Image processing method, device, storage medium and electronic equipment
CN108337446A (en) High-dynamic-range image acquisition method, device based on dual camera and equipment
CN108712608A (en) Terminal device image pickup method and device
CN107800971B (en) Auto-exposure control processing method, device and the equipment of pan-shot
CN101273624A (en) Compensating for improperly exposed areas in digital images
US11601600B2 (en) Control method and electronic device
CN110213502A (en) Image processing method, device, storage medium and electronic equipment
CN108833802A (en) Exposal control method, device and electronic equipment
CN109756680B (en) Image synthesis method and device, electronic equipment and readable storage medium
CN108900785A (en) Exposal control method, device and electronic equipment
CN110290325A (en) Image processing method, device, storage medium and electronic equipment
CN107682611B (en) Focusing method and device, computer readable storage medium and electronic equipment
CN101155262A (en) Image correction device, image correction method, and computer readable medium
CN115699785A (en) Screen shooting control method, terminal device and storage medium
CN110266965A (en) Image processing method, device, storage medium and electronic equipment
CN110278386A (en) Image processing method, device, storage medium and electronic equipment
WO2021014560A1 (en) Imaging device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191206