CN105791707B - Image processing method and device and electronic equipment - Google Patents

Image processing method and device and electronic equipment Download PDF

Info

Publication number
CN105791707B
CN105791707B CN201511030881.2A CN201511030881A CN105791707B CN 105791707 B CN105791707 B CN 105791707B CN 201511030881 A CN201511030881 A CN 201511030881A CN 105791707 B CN105791707 B CN 105791707B
Authority
CN
China
Prior art keywords
group
image
duplicate
synthesis
hdr
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.)
Expired - Fee Related
Application number
CN201511030881.2A
Other languages
Chinese (zh)
Other versions
CN105791707A (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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201511030881.2A priority Critical patent/CN105791707B/en
Publication of CN105791707A publication Critical patent/CN105791707A/en
Application granted granted Critical
Publication of CN105791707B publication Critical patent/CN105791707B/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/73Circuitry for compensating brightness variation in the scene by influencing the exposure time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/682Vibration or motion blur correction
    • H04N23/684Vibration or motion blur correction performed by controlling the image sensor readout, e.g. by controlling the integration time
    • H04N23/6845Vibration or motion blur correction performed by controlling the image sensor readout, e.g. by controlling the integration time by combination of a plurality of images sequentially taken
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Image Processing (AREA)

Abstract

The embodiment of the invention discloses an image processing method, which comprises the following steps: when an instruction for synthesizing a high dynamic range HDR image is obtained, N groups of repeated images which are continuously shot under N different exposure parameters are obtained; performing intra-group image synthesis on each group of repeated images to obtain a synthesized image of each group; and performing HDR synthesis on the synthesized images of each group to obtain an HDR image. The embodiment of the invention also discloses an image processing device and electronic equipment. By adopting the invention, the electronic equipment can synthesize the HDR image according to the N groups of repeated images shot continuously, and obtain the image comprising more details.

Description

A kind of method, apparatus and electronic equipment of image procossing
Technical field
The present invention relates to the method, apparatus and electronic equipment of electronic technology field more particularly to a kind of image procossing.
Background technique
Currently, using with shooting function electronic equipment carry out shooting photo it is more more and more universal, people can pass through these Electronic equipment can recorde the thing of generation at one's side whenever and wherever possible, the scenery met.But electronic equipment can only be shot at present The smaller scene of brightness range is shot when scene picture brightness difference is too big, is taken the image come and is easy to appear The details for losing bright place or dark place, affects the quality of image, not can reflect the visual effect in true environment, and due to The image that electronic equipment is shot has lost the details of bright place or dark place, is also difficult to restore the details of loss in post-processing, So that user can not obtain including image in greater detail, satisfied image can not be obtained.
Summary of the invention
The technical problem to be solved by the embodiment of the invention is that providing and the method, apparatus and electricity of a kind of image procossing Sub- equipment.It can solve the problem of how obtaining including image in greater detail.
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of methods of image procossing, comprising:
When getting the instruction of synthesis high dynamic range HDR image, acquisition is connected under N number of different exposure parameter The duplicate image of N group of bat, wherein the exposure parameter of every group of duplicate image is identical, and every group of duplicate image includes at least one Image is opened, the N is the integer greater than 1;
Image synthesis in group is carried out to the duplicate image of each group, obtains the composograph of each group;
The composograph of each group is subjected to HDR synthesis, obtains HDR image.
Wherein, the acquisition duplicate image of N group of progress continuous shooting under N number of different exposure parameter includes:
Start camera, continuous shooting carried out according to preset N number of different exposure parameter control camera, obtain it is N number of not The duplicate image of N group of continuous shooting under same exposure parameter.
Wherein, the acquisition duplicate image of N group of progress continuous shooting under N number of different exposure parameter includes:
Receive the N of continuous shooting under N number of different exposure parameters sent from the capture apparatus that the electronic equipment connects The duplicate image of group.
Wherein, the starting camera carries out continuous shooting according to preset N number of different exposure parameter control camera, obtains It obtains and includes: before the duplicate image of N group of continuous shooting under N number of different exposure parameter
Obtain the luminance information of current environment;
N number of different exposure parameter is set according to the luminance information, wherein N number of different exposure parameter is used for The luminance information for controlling the duplicate image of N group that the camera carries out continuous shooting acquisition is variant.
Wherein, described to carry out the interior image synthesis of group to the duplicate image of each group, the composograph for obtaining each group includes:
The duplicate image of each group is screened by presetting rule, obtains the target image of each group;
Image synthesis is carried out to the target image of each group, obtains composograph.
Wherein, described to screen to the duplicate image of each group by presetting rule, the target image for obtaining each group includes:
Calculate the picture noise of each group every duplicate image;
The duplicate image for being greater than default value to picture noise screens out, and each group is screened out remaining duplicate image Target image as each group.
Wherein, the composograph by each group carries out HDR synthesis, obtains HDR image and includes:
Preset image style information is obtained, described image style information and the composograph of each group are subjected to HDR conjunction At acquisition HDR image.
Wherein, the exposure parameter includes ISO parameter, exposure time parameter and aperture parameters.
Correspondingly, the embodiment of the present invention also provides a kind of image processing apparatus, and described device includes:
Acquiring unit, for obtaining in N number of different exposure when getting the instruction of synthesis high dynamic range HDR image The duplicate image of N group of continuous shooting is carried out under optical parameter, wherein the exposure parameter of every group of duplicate image is identical, and every group duplicate Image includes an at least image, and the N is the integer greater than 1;
Synthesis unit in group obtains the composograph of each group for carrying out image synthesis in group to the duplicate image of each group;
Synthesis unit obtains HDR image for the composograph of each group to be carried out HDR synthesis.
Wherein, the acquiring unit is specifically used for:
Start camera, continuous shooting carried out according to preset N number of different exposure parameter control camera, obtain it is N number of not The duplicate image of N group of continuous shooting under same exposure parameter.
Wherein, the acquiring unit is specifically used for:
Receive the N group weight of continuous shooting under N number of different exposure parameters sent from the capture apparatus that described device connects Multiple image.
Wherein, the acquiring unit includes:
Subelement is obtained, for obtaining the luminance information of current environment;
First setting subelement, for N number of different exposure parameter to be arranged according to the luminance information, wherein described N number of The luminance information that different exposure parameters is used to control the duplicate image of N group that the camera carries out continuous shooting acquisition is variant.
Wherein, synthesis unit includes: in described group
It screens subelement and obtains the target image of each group for screening to the duplicate image of each group by presetting rule;
Synthesizing subunit carries out image synthesis for the target image to each group, obtains composograph.
Wherein, the screening subelement includes:
Computation subunit, for calculating the picture noise of each group every duplicate image;
Second setting subelement, the duplicate image for being greater than default value to picture noise screens out, by each group Screen out target image of the remaining duplicate image as each group.
Wherein, the synthesis unit is specifically used for:
Preset image style information is obtained, described image style information and the composograph of each group are subjected to HDR conjunction At acquisition HDR image.
Wherein, the exposure parameter includes ISO parameter, exposure time parameter and aperture parameters.
Correspondingly, the embodiment of the invention also provides a kind of electronic equipment, the electronic equipment include: shell, processor, Memory, circuit board and power circuit, wherein circuit board is placed in the space interior that shell surrounds, and processor and memory are set It sets on circuit boards;Power circuit, for each circuit or the device power supply for electronic equipment;Memory is executable for storing Program code;Processor is corresponding with executable program code to run by reading the executable program code stored in memory Program, with for executing following steps:
When getting the instruction of synthesis high dynamic range HDR image, acquisition is connected under N number of different exposure parameter The duplicate image of N group of bat, wherein the exposure parameter of every group of duplicate image is identical, and every group of duplicate image includes at least one Image is opened, the N is the integer greater than 1;
Image synthesis in group is carried out to the duplicate image of each group, obtains the composograph of each group;
The composograph of each group is subjected to HDR synthesis, obtains HDR image.
Correspondingly, the embodiment of the invention also provides a kind of storage mediums, wherein the storage medium applies journey for storing Sequence, the application program for executing a kind of method of image procossing described in the embodiment of the present invention at runtime.
Correspondingly, the embodiment of the invention also provides a kind of application programs, wherein the application program for holding at runtime A kind of method of image procossing described in the row embodiment of the present invention.
The implementation of the embodiments of the present invention has the following beneficial effects:
In embodiments of the present invention, it when electronic equipment gets the instruction of synthesis high dynamic range HDR image, obtains The duplicate image of N group that continuous shooting is carried out under N number of different exposure parameter carries out image synthesis in group to the duplicate image of each group, The composograph of each group is carried out HDR synthesis, obtains HDR image, this may make electronics to set by the composograph for obtaining each group Standby that synthesis HDR image can be carried out according to the duplicate image of N group of continuous shooting, obtaining includes image in greater detail, to can get Customer satisfaction system image improves user experience.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of first embodiment flow diagram of the method for image procossing provided in an embodiment of the present invention;
Fig. 2 is a kind of first embodiment structure chart of image processing apparatus provided in an embodiment of the present invention;
Fig. 3 is the first embodiment structure chart of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
For convenience, using electronic equipment as the executing subject in the embodiment of the present invention, described electronic equipment Can include: mobile phone, tablet computer, palm PC etc. have the electronic equipment of shooting, electronics can also be handled including computer etc. and set It is standby.Above-mentioned electronic equipment is only citing, and non exhaustive, including but not limited to above-mentioned electronic equipment.
It referring to Figure 1, is a kind of first embodiment flow diagram of the method for image procossing of the present invention.Such as Fig. 1 institute Show, a kind of method of image procossing described in the present embodiment comprising steps of
S100 is obtained under N number of different exposure parameter when getting the instruction of synthesis high dynamic range HDR image Carry out the duplicate image of N group of continuous shooting.
In embodiments of the present invention, HDR (High Dynamic Range, high dynamic range images) image is high dynamic range Image is enclosed, HDR image compares common image, and HDR image can provide more dynamic ranges and image detail.When electronics is set When the standby instruction for getting synthesis HDR image, electronic equipment can enter HDR image mode and carry out synthesis HDR image.Wherein, electric Sub- equipment can preset a variety of image processing modes and carry out processing image, as light filling mode is to image progress light filling processing, cuts out Mode is to be cut out processing to image.User can operate the instruction of electronic equipment input synthesis HDR image.
In embodiments of the present invention, when electronic equipment enters HDR image mode, electronic equipment can be obtained in N number of difference Exposure parameter under continuous shooting the duplicate image of N group, N is integer greater than 1.Wherein, an exposure parameter corresponds to the one of continuous shooting The duplicate image of group, i.e., the exposure parameter of every group duplicate image is identical, and the exposure parameter that difference organizes duplicate image is different, often The duplicate image of group includes an at least image.In embodiments of the present invention, duplicate image refers to being absorbed in image Scenery is identical, and therefore, the duplicate image of difference group is only the difference of image luminance information caused by different exposure parameters, but is schemed The scenery absorbed as in is identical.
In embodiments of the present invention, electronic equipment obtains the N group repetition that continuous shooting is carried out under N number of different exposure parameter Image may is that electronic equipment start camera, control camera connected according to preset N number of different exposure parameter It claps, obtains the duplicate image of N group of the continuous shooting under N number of different exposure parameters, wherein electronic equipment controls camera in each exposure One group of duplicate image of continuous shooting under optical parameter.Specifically, electronic equipment controls camera in same a angle, not except exposure parameter With the progress duplicate image of continuous shooting N group in the identical situation of other acquisition parameters.Further, electronic equipment is according to preset N A different exposure parameter control camera carries out continuous shooting, and the N group for obtaining the continuous shooting under N number of different exposure parameter repeats Image specifically may is that electronic equipment sequentially obtains preset exposure parameter, according to get exposure parameter control camera shooting Head carries out continuous shooting, and when the number of continuous shooting meets threshold value, electronic equipment can be by multiple repetitions of the continuous shooting under same a exposure parameter Image as one group of duplicate image, and sequentially obtain another preset exposure parameter control camera and carry out continuous shooting, from And electronic equipment can get the duplicate image of N group of the continuous shooting under N number of different exposure parameters.Electronic equipment sequentially obtains preset Exposure parameter can be electronic equipment can be by the luminance information of the image caused by exposure parameter from secretly obtaining preset exposure to bright Optical parameter.
In embodiments of the present invention, electronic equipment can carry out preset exposure parameter, and exposure parameter may include ISO (International Standardization Organization, International Organization for standardization) parameter, exposure time parameter And aperture parameters.Wherein, the preset exposure parameter of electronic equipment may is that electronic equipment obtains the luminance information of current environment, N number of different exposure parameters for electronic equipment shooting are set according to the luminance information, so that camera is according to N number of different The luminance information that exposure parameter carries out the duplicate image of N group of shooting acquisition is variant, the luminance information of the duplicate image of N group from Secretly arriving bright has.
In embodiments of the present invention, electronic equipment can also carry out preset continuous shooting interval, and continuous shooting interval user can be from traveling Row setting, does not limit herein.
In embodiments of the present invention, electronic equipment obtains the N group repetition that continuous shooting is carried out under N number of different exposure parameter Image may also is that electronic equipment receive shooting electronic equipment transmission connect with electronic equipment in N number of different exposures ginsengs The duplicate image of N group of several lower continuous shootings.
S101 carries out image synthesis in group to the duplicate image of each group, obtains the composograph of each group.
In embodiments of the present invention, electronic equipment can be screened the duplicate image of each group by presetting rule, be obtained each The target image of group.Wherein, electronic equipment, which carries out screening by presetting rule to the duplicate image of each group, may is that electronic equipment exists Unsharp image is screened out in the duplicate image of each group, such as screens out and hand shaking occurs and cause fuzzy duplicate image, granular sensation more Duplicate image and noise more than duplicate image, electronic equipment can screen out unsharp image, obtain each group Remaining duplicate image is screened out as target image, to prevent these unsharp images from influencing in subsequent composograph Picture quality effectively improves the clarity of HDR image.Specifically, electronic equipment to the duplicate image of each group by presetting rule into Row screening may is that the picture noise for calculating each group every duplicate image, be greater than the duplicate of default value to picture noise Image is screened out, and each group is screened out remaining duplicate image as the target image of each group.
In embodiments of the present invention, when electronic equipment gets the target image of each group, electronic equipment can be by each group Target image carry out alignment cutting, the target image of each group after cutting is subjected to multiframe synthesis, so as to get each group Composograph, be, electronic equipment multiple duplicate images of each group can be carried out synthesis one image.Wherein, each group The luminance information of composograph is different.
The composograph of each group is carried out HDR synthesis, obtains HDR image by S102.
In embodiments of the present invention, electronic equipment can be used existing HDR synthetic technology and close to multiple composographs At acquisition HDR image.Further, when composograph of the electronic equipment to each group carries out HDR synthesis, electronic equipment can be obtained Preset image style information is taken, described image style information is subjected to HDR with the composograph of each group and is synthesized, obtains HDR figure Picture meets user demand so that HDR image has personalization.Wherein, image style information can voluntarily be set by user It sets, does not limit herein.
In embodiments of the present invention, when electronic equipment obtains HDR image, the exportable HDR image of electronic equipment, so that User can check including image in greater detail, to improve user experience, further, electronic equipment can also be by acquisition HDR image is stored into Cloud Server, to save to HDR image, and reduces the memory occupation rate of electronic equipment.
In embodiments of the present invention, it when electronic equipment gets the instruction of synthesis high dynamic range HDR image, obtains The duplicate image of N group that continuous shooting is carried out under N number of different exposure parameter carries out image synthesis in group to the duplicate image of each group, The composograph of each group is carried out HDR synthesis, obtains HDR image, this may make electronics to set by the composograph for obtaining each group Standby that synthesis HDR image can be carried out according to the duplicate image of N group of continuous shooting, obtaining includes image in greater detail, to can get Customer satisfaction system image improves user experience.
Fig. 2 is referred to, for a kind of first embodiment flow diagram of image processing apparatus of the present invention.As shown in Fig. 2, A kind of image processing apparatus described in the present embodiment includes:
Acquiring unit 100, for obtaining N number of different when getting the instruction of synthesis high dynamic range HDR image The duplicate image of N group of continuous shooting is carried out under exposure parameter, wherein the exposure parameter of every group of duplicate image is identical, every group of repetition Image include an at least image, the N is integer greater than 1.
Synthesis unit 200 in group obtains the composite diagram of each group for carrying out image synthesis in group to the duplicate image of each group As
Synthesis unit 300 obtains HDR image for the composograph of each group to be carried out HDR synthesis.
In embodiments of the present invention, described image processing apparatus concretely electronic equipment, can also be electronic equipment In some functional module, explanation will simply be described by taking electronic equipment as an example below.
In embodiments of the present invention, HDR (High Dynamic Range, high dynamic range images) image is high dynamic range Image is enclosed, HDR image compares common image, and HDR image can provide more dynamic ranges and image detail.When electronics is set When the standby instruction for getting synthesis HDR image, electronic equipment can enter HDR image mode and carry out synthesis HDR image.Wherein, electric Sub- equipment can preset a variety of image processing modes and carry out processing image, as light filling mode is to image progress light filling processing, cuts out Mode is to be cut out processing to image.User can operate the instruction of electronic equipment input synthesis HDR image.
In embodiments of the present invention, when electronic equipment enters HDR image mode, acquiring unit 100 can obtain it is N number of not The duplicate image of N group of continuous shooting under same exposure parameter, N are the integer greater than 1.Wherein, an exposure parameter corresponds to continuous shooting One group of duplicate image, i.e., the exposure parameter of every group duplicate image is identical, and the exposure parameter that difference organizes duplicate image is different, Every group of duplicate image includes an at least image.In embodiments of the present invention, duplicate image refers to being absorbed in image Scenery it is identical, therefore, difference group duplicate images be only image luminance information caused by different exposure parameters difference, but The scenery absorbed in image is identical.
In embodiments of the present invention, acquiring unit 100 obtains the N group weight that continuous shooting is carried out under N number of different exposure parameter Multiple image may is that acquiring unit 100 start camera, control camera according to preset N number of different exposure parameter into Row continuous shooting obtains the duplicate image of N group of the continuous shooting under N number of different exposure parameters, wherein acquiring unit 100 controls camera One group of duplicate image of continuous shooting under each exposure parameter.Specifically, acquiring unit 100 controls camera in same a angle, Except the progress duplicate image of continuous shooting N group in the identical situation of other different acquisition parameters of exposure parameter.Further, acquiring unit 100 carry out continuous shooting according to preset N number of different exposure parameter control camera, and acquisition connects under N number of different exposure parameter The duplicate image of N group clapped specifically may is that acquiring unit 100 sequentially obtains preset exposure parameter, according to getting Exposure parameter control camera carry out continuous shooting, when the number of continuous shooting meets threshold value, acquiring unit 100 can will be in same exposure The duplicate image of multiple of continuous shooting is as one group of duplicate image under parameter, and sequentially obtains another preset exposure parameter control Camera processed carries out continuous shooting, so that acquiring unit 100 can get the duplicate image of N group of the continuous shooting under N number of different exposure parameters. Acquiring unit 100 sequentially obtain preset exposure parameter can be acquiring unit 100 can be by the image caused by exposure parameter Luminance information is from secretly obtaining preset exposure parameter to bright.
In embodiments of the present invention, acquiring unit 100 can carry out preset exposure parameter, and exposure parameter may include ISO (International Standardization Organization, International Organization for standardization) parameter, exposure time parameter And aperture parameters.Wherein, the preset exposure parameter of acquiring unit 100 may is that acquiring unit 100 obtains the bright of current environment Information is spent, N number of different exposure parameters for electronic equipment shooting are arranged according to the luminance information, so that camera is according to N A different exposure parameter carry out shooting acquisition the duplicate image of N group luminance information it is variant, the duplicate image of N group it is bright Degree information to bright from secretly having.
In embodiments of the present invention, acquiring unit 100 can also carry out preset continuous shooting interval, and continuous shooting interval user can be voluntarily It is configured, does not limit herein.
In embodiments of the present invention, acquiring unit 100 obtains the N group weight that continuous shooting is carried out under N number of different exposure parameter Multiple image may also is that the reception of acquiring unit 100 from the shooting electronic equipment transmission that electronic equipment connects in N number of different exposures The duplicate image of N group of continuous shooting under optical parameter.
In embodiments of the present invention, synthesis unit 200 can be screened the duplicate image of each group by presetting rule in organizing, Obtain the target image of each group.Wherein, screen to the duplicate image of each group by presetting rule can be with for synthesis unit 200 in organizing Be: organize in synthesis unit 200 screen out unsharp image in the duplicate image of each group, such as screen out occur hand shaking cause it is fuzzy Duplicate image more than duplicate image, granular sensation and the duplicate image more than noise, organize in synthesis unit 200 can will be unclear Clear image is screened out, and is obtained each group and is screened out remaining duplicate image as target image, to prevent these unintelligible Image influence picture quality in subsequent composograph, effectively improve the clarity of HDR image.Specifically, synthesis is single in group First 200 pairs of duplicate images of each group, which carry out screening by presetting rule, may is that synthesis unit 200 calculates every repetition of each group in group Image picture noise, to picture noise be greater than default value duplicate image screen out, each group is screened out remaining Target image of the duplicate image as each group.
In embodiments of the present invention, when synthesis unit 200 gets the target image of each group in group, interior synthesis unit is organized The target image of each group can be carried out alignment cutting by 200, and the target image of each group after cutting is carried out multiframe synthesis, thus The composograph that each group can be got is to organize interior 200 end of synthesis unit to synthesize multiple duplicate images of each group One image.Wherein, the luminance information of the composograph of each group is different.
In embodiments of the present invention, synthesis unit 300 can be used existing HDR synthetic technology and carry out to multiple composographs Synthesis obtains HDR image.Further, when composograph of the synthesis unit 300 to each group carries out HDR synthesis, synthesis unit 300 can obtain preset image style information, and described image style information is carried out HDR with the composograph of each group and is synthesized, is obtained HDR image is obtained, so that HDR image has personalization, meets user demand.Wherein, image style information can be by user certainly Row is configured, and is not limited herein.
In embodiments of the present invention, when synthesis unit 300 obtains HDR image, the exportable HDR image of synthesis unit 300, So that user can check including image in greater detail, to improve user experience, further, synthesis unit 300 may be used also The HDR image of acquisition is stored into Cloud Server, to be saved to HDR image, and the memory for reducing electronic equipment occupies Rate.
Wherein, the acquiring unit 100 is specifically used for:
Start camera, continuous shooting carried out according to preset N number of different exposure parameter control camera, obtain it is N number of not The duplicate image of N group of continuous shooting under same exposure parameter.
The acquiring unit 100 is specifically used for:
Receive the N group weight of continuous shooting under N number of different exposure parameters sent from the capture apparatus that described device connects Multiple image.
The acquiring unit 100 includes:
Subelement is obtained, for obtaining the luminance information of current environment.
First setting subelement, for N number of different exposure parameter to be arranged according to the luminance information, wherein described N number of The luminance information that different exposure parameters is used to control the duplicate image of N group that the camera carries out continuous shooting acquisition is variant.
Synthesis unit 200 includes: in described group
It screens subelement and obtains the target image of each group for screening to the duplicate image of each group by presetting rule.
Synthesizing subunit carries out image synthesis for the target image to each group, obtains composograph.
The screening subelement includes:
Computation subunit, for calculating the picture noise of each group every duplicate image.
Second setting subelement, the duplicate image for being greater than default value to picture noise screens out, by each group Screen out target image of the remaining duplicate image as each group.
The synthesis unit 300 is specifically used for:
Preset image style information is obtained, described image style information and the composograph of each group are subjected to HDR conjunction At acquisition HDR image.
It is understood that the function of each functional module of the electronic equipment of the present embodiment can be according to above method embodiment In method specific implementation, specific implementation process is referred to the associated description of above method embodiment, no longer carries out herein It repeats.
In embodiments of the present invention, it when electronic equipment gets the instruction of synthesis high dynamic range HDR image, obtains The duplicate image of N group that continuous shooting is carried out under N number of different exposure parameter carries out image synthesis in group to the duplicate image of each group, The composograph of each group is carried out HDR synthesis, obtains HDR image, this may make electronics to set by the composograph for obtaining each group Standby that synthesis HDR image can be carried out according to the duplicate image of N group of continuous shooting, obtaining includes image in greater detail, to can get Customer satisfaction system image improves user experience.
Fig. 3 is referred to, is the first embodiment flow diagram of a kind of electronic equipment of the present invention.As shown in figure 3, this implementation Example described in a kind of electronic equipment include:
Shell 301, processor 302, memory 303, circuit board 304 and power circuit 305, wherein circuit board 304 disposes In the space interior that shell 301 surrounds, processor 302 and memory 303 are arranged on circuit board 304;Power circuit 305 is used In each circuit or the device power supply for electronic equipment;Memory 303 is for storing executable program code;Processor 302 is logical It crosses and reads in memory 303 executable program code that stores to run program corresponding with executable program code, to be used for Execute following steps:
When getting the instruction of synthesis high dynamic range HDR image, acquisition is connected under N number of different exposure parameter The duplicate image of N group of bat, wherein the exposure parameter of every group of duplicate image is identical, and every group of duplicate image includes at least one Image is opened, the N is the integer greater than 1;
Image synthesis in group is carried out to the duplicate image of each group, obtains the composograph of each group;
The composograph of each group is subjected to HDR synthesis, obtains HDR image.
Wherein, the processor 302 obtains the duplicate image packet of N group that continuous shooting is carried out under N number of different exposure parameter It includes:
Start camera, continuous shooting carried out according to preset N number of different exposure parameter control camera, obtain it is N number of not The duplicate image of N group of continuous shooting under same exposure parameter.
Wherein, the processor 302 obtains the duplicate image packet of N group that continuous shooting is carried out under N number of different exposure parameter It includes:
Receive the N of continuous shooting under N number of different exposure parameters sent from the capture apparatus that the electronic equipment connects The duplicate image of group.
Wherein, the processor 302 starts camera, according to preset N number of different exposure parameter control camera into Row continuous shooting, acquisition include: before the duplicate image of N group of continuous shooting under N number of different exposure parameter
Obtain the luminance information of current environment;
N number of different exposure parameter is set according to the luminance information, wherein N number of different exposure parameter is used for The luminance information for controlling the duplicate image of N group that the camera carries out continuous shooting acquisition is variant.
Wherein, the processor 302 carries out image synthesis in group to the duplicate image of each group, obtains the composograph of each group Include:
The duplicate image of each group is screened by presetting rule, obtains the target image of each group;
Image synthesis is carried out to the target image of each group, obtains composograph.
Wherein, the processor 302 is screened the duplicate image of each group by presetting rule, obtains the target figure of each group As including:
Calculate the picture noise of each group every duplicate image;
The duplicate image for being greater than default value to picture noise screens out, and each group is screened out remaining duplicate image Target image as each group.
Wherein, the composograph of each group is carried out HDR synthesis by the processor 302, is obtained HDR image and is included:
Preset image style information is obtained, described image style information and the composograph of each group are subjected to HDR conjunction At acquisition HDR image.
Wherein, the exposure parameter includes ISO parameter, exposure time parameter and aperture parameters.
It is understood that the function of each functional module of the electronic equipment of the present embodiment can be according to above method embodiment In method specific implementation, specific implementation process is referred to the associated description of above method embodiment, no longer carries out herein It repeats.
In embodiments of the present invention, it when electronic equipment gets the instruction of synthesis high dynamic range HDR image, obtains The duplicate image of N group that continuous shooting is carried out under N number of different exposure parameter carries out image synthesis in group to the duplicate image of each group, The composograph of each group is carried out HDR synthesis, obtains HDR image, this may make electronics to set by the composograph for obtaining each group Standby that synthesis HDR image can be carried out according to the duplicate image of N group of continuous shooting, obtaining includes image in greater detail, to can get Customer satisfaction system image improves user experience.
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 spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention Type.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (15)

1. a kind of method of image procossing, which is characterized in that the method is applied to electronic equipment, which comprises
When getting the instruction of synthesis high dynamic range HDR image, obtains and carry out continuous shooting under N number of different exposure parameter The duplicate image of N group, wherein the exposure parameter of every group of duplicate image is identical, and every group of duplicate image is schemed including at least one Picture, the N are integer greater than 1, and the exposure parameter includes ISO parameter, exposure time parameter and aperture parameters, described N number of Different exposure parameters is set by the luminance information based on current environment;
Image synthesis in group is carried out to the duplicate image of each group, obtains the composograph of each group;
The composograph of each group is subjected to HDR synthesis, obtains HDR image.
2. the method as described in claim 1, which is characterized in that the acquisition carries out continuous shooting under N number of different exposure parameter The duplicate image of N group include:
Start camera, continuous shooting is carried out according to preset N number of different exposure parameter control camera, is obtained N number of different The duplicate image of N group of continuous shooting under exposure parameter.
3. the method as described in claim 1, which is characterized in that the acquisition carries out continuous shooting under N number of different exposure parameter The duplicate image of N group include:
Receive the N group weight of continuous shooting under N number of different exposure parameters sent from the capture apparatus that the electronic equipment connects Multiple image.
4. method according to claim 2, which is characterized in that the starting camera, according to preset N number of different exposure State modulator camera carries out continuous shooting, and acquisition is wrapped before the duplicate image of N group of continuous shooting under N number of different exposure parameter It includes:
Obtain the luminance information of current environment;
N number of different exposure parameter is set according to the luminance information, wherein N number of different exposure parameter is for controlling The luminance information that the camera carries out the duplicate image of N group of continuous shooting acquisition is variant.
5. method as described in claim 1, which is characterized in that it is described that image synthesis in group is carried out to the duplicate image of each group, it obtains The composograph of each group includes:
The duplicate image of each group is screened by presetting rule, obtains the target image of each group;
Image synthesis is carried out to the target image of each group, obtains composograph.
6. method as claimed in claim 5, which is characterized in that described to be sieved to the duplicate image of each group by presetting rule Choosing, the target image for obtaining each group include:
Calculate the picture noise of each group every duplicate image;
To picture noise be greater than default value duplicate image screen out, using each group screen out remaining duplicate image as The target image of each group.
7. the method as described in claim 1, which is characterized in that the composograph by each group carries out HDR synthesis, obtains Obtaining HDR image includes:
Preset image style information is obtained, described image style information is subjected to HDR with the composograph of each group and is synthesized, is obtained HDR image.
8. a kind of image processing apparatus, which is characterized in that described device includes:
Acquiring unit, for when getting the instruction of synthesis high dynamic range HDR image, obtaining in N number of different exposure ginseng Several lower duplicate images of N group for carrying out continuous shooting, wherein the exposure parameter of every group of duplicate image is identical, every group of duplicate image Including an at least image, the N is the integer greater than 1, and the exposure parameter includes ISO parameter, exposure time parameter and light Parameter is enclosed, N number of different exposure parameter is set by the luminance information based on current environment;
Synthesis unit in group obtains the composograph of each group for carrying out image synthesis in group to the duplicate image of each group;
Synthesis unit obtains HDR image for the composograph of each group to be carried out HDR synthesis.
9. device as claimed in claim 8, which is characterized in that the acquiring unit is specifically used for:
Start camera, continuous shooting is carried out according to preset N number of different exposure parameter control camera, is obtained N number of different The duplicate image of N group of continuous shooting under exposure parameter.
10. device as claimed in claim 8, which is characterized in that the acquiring unit is specifically used for:
It is duplicate to receive the N group of continuous shooting under N number of different exposure parameters sent from the capture apparatus that described device connects Image.
11. device as claimed in claim 9, which is characterized in that the acquiring unit includes:
Subelement is obtained, for obtaining the luminance information of current environment;
First setting subelement, for N number of different exposure parameter to be arranged according to the luminance information, wherein N number of difference Exposure parameter be used to control the duplicate image of N group that the camera carries out continuous shooting acquisition luminance information it is variant.
12. device as claimed in claim 8, which is characterized in that synthesis unit includes: in described group
It screens subelement and obtains the target image of each group for screening to the duplicate image of each group by presetting rule;
Synthesizing subunit carries out image synthesis for the target image to each group, obtains composograph.
13. device as claimed in claim 12, which is characterized in that the screening subelement includes:
Computation subunit, for calculating the picture noise of each group every duplicate image;
Second setting subelement, the duplicate image for being greater than default value to picture noise screen out, each group are screened out Target image of the remaining duplicate image as each group.
14. device as claimed in claim 8, which is characterized in that the synthesis unit is specifically used for:
Preset image style information is obtained, described image style information is subjected to HDR with the composograph of each group and is synthesized, is obtained HDR image.
15. a kind of electronic equipment, which is characterized in that the electronic equipment includes: shell, processor, memory, circuit board and electricity Source circuit, wherein circuit board is placed in the space interior that shell surrounds, and processor and memory setting are on circuit boards;Power supply Circuit, for each circuit or the device power supply for electronic equipment;Memory is for storing executable program code;Processor is logical It crosses and reads in memory the executable program code that stores to run program corresponding with executable program code, for executing Following steps:
When getting the instruction of synthesis high dynamic range HDR image, obtains and carry out continuous shooting under N number of different exposure parameter The duplicate image of N group, wherein the exposure parameter of every group of duplicate image is identical, and every group of duplicate image is schemed including at least one Picture, the N are integer greater than 1, and the exposure parameter includes ISO parameter, exposure time parameter and aperture parameters, described N number of Different exposure parameters is set by the luminance information based on current environment;
Image synthesis in group is carried out to the duplicate image of each group, obtains the composograph of each group;
The composograph of each group is subjected to HDR synthesis, obtains HDR image.
CN201511030881.2A 2015-12-31 2015-12-31 Image processing method and device and electronic equipment Expired - Fee Related CN105791707B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511030881.2A CN105791707B (en) 2015-12-31 2015-12-31 Image processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511030881.2A CN105791707B (en) 2015-12-31 2015-12-31 Image processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN105791707A CN105791707A (en) 2016-07-20
CN105791707B true CN105791707B (en) 2019-05-28

Family

ID=56390308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511030881.2A Expired - Fee Related CN105791707B (en) 2015-12-31 2015-12-31 Image processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN105791707B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303235A (en) * 2016-08-11 2017-01-04 广东小天才科技有限公司 Photographing processing method and device
CN106341623A (en) * 2016-10-19 2017-01-18 上海传英信息技术有限公司 Method for generating dynamic thumbnail view of burst shooting pictures and user terminal
CN107566748A (en) * 2017-09-22 2018-01-09 维沃移动通信有限公司 A kind of image processing method, mobile terminal and computer-readable recording medium
CN107483836B (en) * 2017-09-27 2019-11-29 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN107566739B (en) * 2017-10-18 2019-12-06 维沃移动通信有限公司 photographing method and mobile terminal
CN107623820B (en) * 2017-11-03 2019-10-29 维沃移动通信有限公司 A kind of image pickup method, device and mobile terminal
CN108322646B (en) * 2018-01-31 2020-04-10 Oppo广东移动通信有限公司 Image processing method, image processing device, storage medium and electronic equipment
CN108322669B (en) * 2018-03-06 2021-03-23 Oppo广东移动通信有限公司 Image acquisition method and apparatus, imaging apparatus, and readable storage medium
CN108419022A (en) * 2018-03-06 2018-08-17 广东欧珀移动通信有限公司 Control method, control device, computer readable storage medium and computer equipment
BR112020019324A8 (en) 2018-03-27 2022-08-30 Huawei Tech Co Ltd MOBILE PHOTOGRAPHY TERMINAL
CN108924436A (en) * 2018-08-01 2018-11-30 湖南拓视觉信息技术有限公司 The generation method and device of high quality graphic
CN108989700B (en) * 2018-08-13 2020-05-15 Oppo广东移动通信有限公司 Imaging control method, imaging control device, electronic device, and computer-readable storage medium
CN108683862B (en) * 2018-08-13 2020-01-10 Oppo广东移动通信有限公司 Imaging control method, imaging control device, electronic equipment and computer-readable storage medium
CN109194882B (en) 2018-08-22 2020-07-31 Oppo广东移动通信有限公司 Image processing method, image processing device, electronic equipment and storage medium
CN109218628B (en) * 2018-09-20 2020-12-08 Oppo广东移动通信有限公司 Image processing method, image processing device, electronic equipment and storage medium
CN109089051A (en) * 2018-09-20 2018-12-25 Oppo广东移动通信有限公司 Generation method, device, electronic equipment and the storage medium of image simulation data
CN112422837B (en) * 2019-08-20 2022-07-05 深圳市芯睿视科技有限公司 Method, device, equipment and storage medium for synthesizing high dynamic range image
CN114827487B (en) 2020-04-28 2024-04-12 荣耀终端有限公司 High dynamic range image synthesis method and electronic equipment
CN112085686A (en) * 2020-08-21 2020-12-15 北京迈格威科技有限公司 Image processing method, image processing device, electronic equipment and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102129148A (en) * 2010-01-20 2011-07-20 鸿富锦精密工业(深圳)有限公司 Camera and photo shooting and processing method
CN104320575A (en) * 2014-09-30 2015-01-28 百度在线网络技术(北京)有限公司 Image processing method and image processing apparatus for portable terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101699919B1 (en) * 2011-07-28 2017-01-26 삼성전자주식회사 High dynamic range image creation apparatus of removaling ghost blur by using multi exposure fusion and method of the same

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102129148A (en) * 2010-01-20 2011-07-20 鸿富锦精密工业(深圳)有限公司 Camera and photo shooting and processing method
CN104320575A (en) * 2014-09-30 2015-01-28 百度在线网络技术(北京)有限公司 Image processing method and image processing apparatus for portable terminal

Also Published As

Publication number Publication date
CN105791707A (en) 2016-07-20

Similar Documents

Publication Publication Date Title
CN105791707B (en) Image processing method and device and electronic equipment
CN104333708B (en) Photographic method, camera arrangement and terminal
DE112018007721T5 (en) Acquire and modify 3D faces using neural imaging and time tracking networks
CN108289234B (en) Virtual gift special effect animation display method, device and equipment
CN106210861A (en) The method and system of display barrage
CN108604369A (en) A kind of method, apparatus, equipment and the convolutional neural networks of removal picture noise
CN107592474A (en) A kind of image processing method and device
CN109040603A (en) High-dynamic-range image acquisition method, device and mobile terminal
CN104883514B (en) Video processing method and device
CN109462726A (en) The control method and device of camera
CN106127687B (en) Picture combination method and device, electronic equipment and system
CN104509092B (en) Control the method and related computing devices and computer-readable recording medium of camera
CN104243831A (en) Method and device for shooting through mobile terminal and mobile terminal
CN108600644B (en) Photographing method and device and wearable device
CN107730461A (en) Image processing method, apparatus, device and medium
CN104281369A (en) Picture uploading processing method and device
CN107633488A (en) A kind of image processing method and device
KR20170138800A (en) Method and apparatus for generating image using multi-stiker
CN107231522A (en) A kind of mobile terminal and its photographic method, computer-readable recording medium
CN107995482A (en) The treating method and apparatus of video file
CN106131457A (en) A kind of GIF image generating method, device and terminal unit
CN108564546A (en) Model training method, device and photo terminal
CN107133981A (en) Image processing method and device
CN106888353A (en) A kind of image-pickup method and equipment
CN110191324A (en) Image processing method, device, server and storage medium

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
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: 20190528