CN105959557B - Photographic method and device - Google Patents

Photographic method and device Download PDF

Info

Publication number
CN105959557B
CN105959557B CN201610402187.7A CN201610402187A CN105959557B CN 105959557 B CN105959557 B CN 105959557B CN 201610402187 A CN201610402187 A CN 201610402187A CN 105959557 B CN105959557 B CN 105959557B
Authority
CN
China
Prior art keywords
image data
photo
mark
parameter
multiple frames
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.)
Active
Application number
CN201610402187.7A
Other languages
Chinese (zh)
Other versions
CN105959557A (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.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen 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 Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN201610402187.7A priority Critical patent/CN105959557B/en
Publication of CN105959557A publication Critical patent/CN105959557A/en
Application granted granted Critical
Publication of CN105959557B publication Critical patent/CN105959557B/en
Active 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/62Control of parameters via user interfaces
    • 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/67Focus control based on electronic image sensor signals

Landscapes

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

Abstract

The present invention relates to a kind of photographic method and devices, this method comprises: receiving photographing operation instruction, and the response photographing operation instruction obtains continuous multiple frames image data;Determine that a frame image data as destination image data, generates the first photo according to the destination image data from the continuous multiple frames image data;Multiframe optimization processing is carried out to the continuous multiple frames image data and obtains optimization image data, the second photo is generated according to the optimization image data;First photo is replaced with second photo.While guaranteeing the photographic quality of shooting, reduces taking pictures waiting time for user, save time of user during taking pictures.

Description

Photographic method and device
Technical field
The present invention relates to technical field of image processing, more particularly to a kind of photographic method and device.
Background technique
With the development of technology, the function of photographing device is stronger and stronger, and people require the photographic quality photographed more next It is higher.
In general, the higher photo of quality in order to obtain, a kind of method is that, when taking pictures, photographing device can grab continuous more Then frame image data carries out multiframe optimization processing according to the multiple image, ultimately produces the photo for being shown to user.
However, processing speed is slower since the multiframe optimization processing to multiple image data is relatively complicated, cause to generate The time of photo is slightly longer, thus, cause the time for needing user to wait during taking pictures slightly longer.
Summary of the invention
Based on this, it is necessary in view of the above-mentioned problems, providing a kind of while guaranteeing the photographic quality of shooting, reduction user Waiting time photographic method and device.
A kind of photographic method, the described method comprises the following steps:
Photographing operation instruction is received, and the response photographing operation instruction obtains continuous multiple frames image data;
A frame image data is determined from the continuous multiple frames image data as destination image data, according to the mesh Logo image data generate the first photo;
Multiframe optimization processing is carried out to the continuous multiple frames image data and obtains optimization image data, is schemed according to the optimization As data generate the second photo;
First photo is replaced with second photo.
It is described in one of the embodiments, that continuous multiple frames image data progress multiframe optimization processing is optimized The step of image data, comprising:
The continuous multiple frames image data is added in work queue;
Multiframe optimization processing is carried out to the continuous multiple frames image data in the work queue in order to be optimized Image data.
In one of the embodiments, the reception photographing operation instruct the step of after, further includes: generate with it is described Photographing operation instructs unique corresponding mark;
After described the step of generating the first photo according to the destination image data, further includes: will take pictures with described The unique corresponding mark of instruction is added to the mark of first photo;
After described the step of generating the second photo according to the optimization image data, further includes: will take pictures with described The unique corresponding mark of instruction is added to the mark of second photo;
Described the step of replacing first photo with second photo, comprising:
The mark with identical first photo of mark of second photo is searched, is replaced and is looked into second photo Corresponding first photo of the mark of the first photo found.
It is described in one of the embodiments, that a frame image data conduct is determined from the continuous multiple frames image data The step of destination image data, comprising:
In the image data of preview of finding a view with the first parameter value corresponding to preset parameter type;
It obtains opposite with the preset parameter type in each single-frame images data in the continuous multiple frames image data The second parameter value answered;
Selection and immediate second parameter value of first parameter value from second parameter value, will be described closest The second parameter value corresponding to single-frame images data as destination image data.
In one of the embodiments, it is characterized in that, the preset parameter type includes exposure parameter, Focusing parameter And at least one of white balance parameter.
A kind of camera arrangement, described device include:
Image data acquisition module is instructed for receiving photographing operation, and the response photographing operation instruction obtains continuously Multiple image data;
First photo generation module, for determining a frame image data as mesh from the continuous multiple frames image data Logo image data generate the first photo according to the destination image data;
Second photo generation module obtains optimization figure for carrying out multiframe optimization processing to the continuous multiple frames image data As data, the second photo is generated according to the optimization image data;
Replacement module, for replacing first photo with second photo.
The second photo generation module includes: in one of the embodiments,
Queue adding module, for the continuous multiple frames image data to be added in work queue;
Multiframe optimization processing module, for being carried out in order to the continuous multiple frames image data in the work queue Multiframe optimization processing obtains optimization image data.
Described device in one of the embodiments, further include:
Adding module is identified, for described image data acquisition module after receiving photographing operation instruction, generation and institute It states photographing operation and instructs unique corresponding mark;
The mark adding module is also used in the first photo generation module described according to the target image number After generating the first photo, the mark of first photo will be added to the unique corresponding mark of the photographing instruction;
The mark adding module is also used in the second photo generation module described according to the optimization picture number After generating the second photo, the mark of second photo will be added to the unique corresponding mark of the photographing instruction;
The replacement module is also used to search the mark with identical first photo of mark of second photo, with described Second photo replaces corresponding first photo of mark of the first found photo.
The first photo generation module includes: in one of the embodiments,
Parameter acquisition module, in the image data for preview of finding a view and first corresponding to preset parameter type Parameter value;
The parameter acquisition module be also used to obtain in the continuous multiple frames image data in each single-frame images data with Corresponding second parameter value of the preset parameter type;
Destination image data chooses module, closest with first parameter value for choosing from second parameter value The second parameter value, using single-frame images data corresponding to immediate second parameter value as destination image data.
The preset parameter type includes exposure parameter, Focusing parameter and white balance in one of the embodiments, At least one of parameter.
Above-mentioned photographic method and device are instructed by receiving photographing operation, and response photographing operation instruction acquisition is continuous more Frame image data;A frame image data is determined from continuous multiple frames image data as destination image data, according to target figure As data generate the first photo.At this point, camera application program side will be considered that this time the process of taking pictures is completed, then can carry out next Secondary to take pictures, user no longer needs to wait this time to take pictures processing.However, electronic equipment carries out continuous multiple frames image data on backstage Multiframe optimization processing obtains optimization image data, generates the second photo according to optimization image data, i.e. generation quality higher the Two photos.Then, the first photo is replaced with the second photo.And these carry out multiframe optimization processing on backstage and replace photo Treatment process be for users it is sightless, wait without the user effort time end of the treatment process.Quite In while guaranteeing the photographic quality of shooting, reduces taking pictures waiting time for user, save user during taking pictures Time.
Detailed description of the invention
Fig. 1 is the flow diagram of photographic method in one embodiment;
Fig. 2 is the flow diagram for optimizing image data acquisition method in one embodiment;
Fig. 3 is the flow diagram of destination image data acquisition methods in one embodiment;
Fig. 4 is the structural schematic diagram of camera arrangement in one embodiment;
Fig. 5 is the structural schematic diagram of the second photo generation module in one embodiment;
Fig. 6 is the structural schematic diagram of camera arrangement in another embodiment;
Fig. 7 is the structural schematic diagram of the first photo generation module in one embodiment.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
As shown in Figure 1, in one embodiment, providing a kind of photographic method, being applied to electronic equipment in this way Example is illustrated, method includes the following steps:
Step 102, photographing operation instruction is received, and response photographing operation instruction obtains continuous multiple frames image data.
In the present embodiment, user carries out photographing operation, electronics by the camera application program interface that electronic equipment is run Equipment is received to be instructed in response to photographing operation photographing operation generated.Specifically, electronic equipment by multimedia service into Journey receives and executes photographing operation instruction generated.
It is appreciated that multimedia service process, that is, refers to the process for being responsible for completing the operation of multimedia system correlation.Here more Media services process refers to the general designation of the process in each system for providing multimedia service, is not used to limit a certain system In system.For example, multimedia service process can for U.S. Google company release android system in mediaserver into Journey.
Further, electronic equipment instructs according to the photographing operation and obtains continuous multiple frames image data.Specifically, electronic equipment Continuous multiple frames image data is obtained according to preset mode.For example, the continuous multiple frames figure of the available default frame number of electronic equipment As data.It is also possible to obtain the continuous multiple frames image data in preset time period.
Step 104, a frame image data is determined from continuous multiple frames image data as destination image data, according to mesh Logo image data generate the first photo.
Specifically, electronic equipment determines a frame image by first thread from acquired continuous multiple frames image data Data are as destination image data.The first photo is generated according to destination image data, for example destination image data is encoded Processing is to generate the first photo.
Wherein, electronic equipment can randomly select a frame image data as target image from continuous multiple frames image data Data.It can also be according to preset Cahn-Ingold-Prelog sequence rule, for example, choosing the first frame image data or last frame etc. is used as target image Data.It is also possible that being compared according to the parameter value in the image data of the preview of finding a view of acquisition, the figure with preview is chosen As the immediate frame image data of data is as destination image data.
It is appreciated that the camera application program side run in electronic equipment is thought after generating the first photo It completes and this time takes pictures.After user sees first photo, also thinks this time to take pictures to have completed, do not need to wait this again It takes pictures.
Step 106, multiframe optimization processing is carried out to obtain optimization image data to continuous multiple frames image data, and according to excellent Change image data and generates the second photo.
Electronic equipment can carry out multiframe optimization processing to continuous multiple frames image data on backstage by the second thread, thus Optimization image data after to optimization processing.Further, the second photo is generated according to obtained optimization image data, such as right Obtained optimization image data carries out coded treatment to generate the second photo.
Wherein, multiframe optimization processing (Multi-Frame Processing), refers to through image parameters such as brightness, colors Multiple image data are overlapped, synthesis processing, to generate the processed of the higher single-frame images data of an image quality Journey.
Step 108, the first photo is replaced with the second photo.
Further, electronic equipment, which will continue to the second thread of execution, to be shone by second generated to optimization coded image data Piece replace before according to single-frame images data the first photo generated.
In the present embodiment, after response photographing operation instruction obtains continuous multiple frames image data, first from wherein determining one Frame destination image data generates the first photo according to the destination image data, this time claps at this point, camera application program side will be considered that It is completed, then can be taken pictures next time according to process, user no longer needs to wait this time to take pictures processing.However electronic equipment meeting Multiframe optimization processing is carried out to continuous multiple frames image data on backstage and obtains optimization image data, and according to the optimization image data Higher second photo of quality is generated, replaces the first photo with the second photo.And these carry out multiframe optimization processing on backstage And replacement photo treatment process be for users it is sightless, carry out waiting the treatment process without the user effort time End.It is equivalent to while guaranteeing the photographic quality of shooting, reduces taking pictures waiting time for user, save user and exist Time during taking pictures.
As shown in Fig. 2, in one embodiment, carrying out multiframe optimization processing to continuous multiple frames image data and obtaining optimization figure The step of as data (referred to as optimization image data acquisition step) the following steps are included:
Step 202, continuous multiple frames image data is added in work queue.
Step 204, multiframe optimization processing is carried out to the continuous multiple frames image data in work queue in order to be optimized Image data.
In the present embodiment, continuous multiple frames image data can be added in work queue by electronic equipment.Wherein, work queue It is a kind of mechanism for realizing delay.Further, multiframe optimization is carried out to the continuous multiple frames image data in work queue in order Processing obtains optimization image data.
It is appreciated that after due to generating the first photo according to the destination image data of single frames, camera application program side and use Family side has just been completed with taking pictures for this, then can carry out photographing operation next time.And due to multiple image data Multiframe optimization processing it is more complex, speed is slower, it is possible that receiving photographing operation instruction next time, and according to next Secondary photographing operation instruction gets the continuous multiple frames image data of next group, and again according to the continuous multiple frames picture number of next group When a frame destination image data in generates the first photo, and the multiframe of the continuous multiple frames image data of last consignment of is optimized Processing has not been completed.It in response to this, can be by the continuous multiple frames of next group acquisition by increasing the mechanism of work queue Image data is added in work queue, at the multiframe optimization for the multiple image data that the last consignment of in work queue obtains The continuous multiple frames image data that next group was completed and then obtained to reason carries out multiframe optimization processing.
In the present embodiment, by the mechanism of increase work queue, it may be implemented in the case where user quickly continuously takes pictures, Also can it is correct, multiframe optimization processing is effectively performed, to obtain the photo of better quality.I.e. in the photographic quality for guaranteeing shooting While, improve the efficiency of taking pictures of user.
In one embodiment, after the step of receiving photographing operation instruction further include: generate and instructed with photographing operation The step of unique corresponding mark.According to destination image data generate the first photo the step of after further include: will with take pictures The step of unique corresponding mark of instruction is added to the mark of the first photo.The second photo is being generated according to optimization image data After step further include: by the step of being added to the mark of the second photo with the unique corresponding mark of photographing instruction.
In the present embodiment, after receiving photographing operation instruction, electronic equipment can generate unduplicated sequence number at random, make Unique corresponding mark is instructed for received photographing operation.
Further, electronic equipment can take pictures this after instructing acquisition continuous multiple frames image data according to photographing operation The unique corresponding mark of operational order associates with the multiple image data according to acquired in the operational order.Specifically, may be used Unique corresponding identify of photographing operation instruction is added to the head of the multiple image data group of acquisition, for identifying more than this batch Frame image data group is instructed according to photographing operation corresponding with the mark and is obtained.
Electronic equipment is carrying out coded treatment life according to the destination image data determined from continuous multiple frames image data After the first photo, it can will be added to and give birth to the unique corresponding mark of the associated photographing operation instruction of multiple image data At the first photo mark.The optimization image data progress that processing obtains is being optimized according to continuous multiple frames image data After coded treatment generates the second photo, unique corresponding mark can will be instructed with the associated photographing operation of multiple image data Know the mark for being added to the second photo generated.
In the present embodiment, the step of replacing the first photo with the second photo includes: the mark phase searched with the second photo The mark of the first same photo replaces the step of corresponding first photo of mark of the first found photo with the second photo Suddenly.
It is appreciated that the mark of the first photo and the mark of the second photo are all to instruct unique corresponding mark by photographing operation Know what addition obtained.So, it is identical for instructing the mark of the first photo and the second photo generated according to same photographing operation 's.The mark with identical first photo of mark of the second photo can be then searched, with the mark of the second photo corresponding second Photo replaces the first photo corresponding to the mark of the first found photo.
Further, it is to be appreciated that when searching less than mark with identical first photo of mark of the second photo, such as User quickly deletes the first photo, then can delete second photo.Alternatively, it is also possible to which the second photo is stored in electricity Corresponding photo storage location in sub- equipment, the photo new as one exist.The embodiment of the present invention is to searching less than with second Corresponding processing mode is not construed as limiting when the mark of identical first photo of mark of photo.
In the present embodiment, in the processing for replacing the first photo with the second photo, by generating one and photographing operation Unique corresponding mark is instructed, and the mark is added to the mark for instructing corresponding the first photo generated according to the photographing operation With the mark of the second photo, the first photo with like-identified is replaced with the second photo.It ensure that the photo mark of same type (for example photo id will not repeat between the first photo) will not be repeated by knowing, and according to identical mark come to the first photo and the Two photos are identified, can accurately, quickly find corresponding the first photo that need to be replaced, reduce photo replacement mistake Error rate.
In one embodiment, after the step of generating the first photo according to destination image data further include: generate only One identifies the first photo id of first photo, and first established between the first photo id and continuous multiple frames image data is closed Connection relationship.After the step of generating the second photo according to optimization image data further include: generate unique identification second photo The second photo id, establish the second incidence relation between the second photo id and continuous multiple frames image data.
In the present embodiment, the step of replacing the first photo with the second photo includes: according to the first incidence relation and second Incidence relation is searched the first photo id corresponding with the second photo id, is replaced with corresponding second photo of the second photo id Change corresponding first photo of the first found photo id.
It is appreciated that the first incidence relation is the incidence relation between the first photo id and continuous multiple frames image data, Second incidence relation is the incidence relation between the second photo id and continuous multiple frames image data, is had in the two incidence relations The affiliated partner of one centre is continuous multiple frames image data, therefore, can according to first incidence relation and the second incidence relation Indirectly to find the first photo id corresponding with the second photo id.In turn, with the second photo id corresponding second Photo replaces corresponding first photo of the first found photo id.
Further, it is to be appreciated that when searching the mark less than the first photo corresponding with the mark of the second photo, such as User quickly deletes the first photo, then can delete second photo.Alternatively, it is also possible to by the second photo and its storage The corresponding photo storage location in electronic equipment, the photo new as one exist.The embodiment of the present invention to search less than with Corresponding processing mode is not construed as limiting when the mark of identical first photo of mark of the second photo.
In the present embodiment, by the first incidence relation established between the first photo id and continuous multiple frames image data, And the second incidence relation between the second photo id and continuous multiple frames image data is established, and then indirectly find and the Corresponding first photo id of two photo ids, with the second photo replace with corresponding first photo, can be accurately realized Replacement between associated photo.Reduce the error rate of photo replacement mistake.
As shown in figure 3, in one embodiment, determining a frame image data as mesh from continuous multiple frames image data The step of logo image data (abbreviation destination image data obtaining step) the following steps are included:
Step 302, in the image data of preview of finding a view with the first parameter value corresponding to preset parameter type.
In the present embodiment, electronic equipment can obtain acquired image data when finding a view preview.Here, it finds a view preview when institute The image data of acquisition refers to, electronic equipment before take pictures and obtaining continuous multiple frames image data, can to take pictures scene into Row is found a view preview, and in find a view preview when be automatically adjusted to preferably by modes such as auto-focusing, automatic exposure, automatic white balance Parameter setting, and then obtain the preview image data of finding a view under the preferable parameter setting.
In addition, pre-set parameter type in electronic equipment, in the image data of preview of finding a view with preset ginseng First parameter value corresponding to several classes of types.
Further, preset parameter type includes at least one of exposure parameter, Focusing parameter and white balance parameter.
Step 304, it obtains opposite with preset parameter type in each single-frame images data in continuous multiple frames image data The second parameter value answered.
Further, electronic equipment can be obtained from each single-frame images data in continuous multiple frames image data with it is preset Corresponding second parameter value of parameter type.It is appreciated that due to being second in each single-frame images data obtained respectively Parameter value, therefore the second parameter value obtained is multiple.
Step 306, chosen from the second parameter value with immediate second parameter value of the first parameter value, by immediate the Single-frame images data are as destination image data corresponding to two parameter values.
Specifically, the second parameter value in each single-frame images data that will acquire is compared with the first parameter value respectively Compared with, therefrom choose with immediate second parameter value of the first parameter value.Further, by the immediate second parameter value institute of selection Corresponding single-frame images data are as destination image data.
Above-mentioned steps are explained now in conjunction with example.For example, preset parameter type is exposure parameter.So, Electronic equipment will obtain the first parameter value corresponding with exposure parameter in the image data for preview of finding a view, for example, the first exposure Value.Then, corresponding second exposure value can be obtained from single-frame images data each in continuous multiple frames image data.Into one Step, multiple second exposure values are compared with the first exposure value respectively, are therefrom chosen and are exposed with the first exposure value immediate second Light value, using single-frame images data corresponding to immediate second exposure value as destination image data.
Further, preset parameter type can be configured according to multiframe optimization processing mode.For example, multiframe optimizes Processing is to optimize processing to exposure relevant parameter.It then can be using parameter preset type as exposure parameter.For another example, multiframe optimizes It handles main focusing relevant parameter and optimizes processing, processing followed by is optimized to exposure relevant parameter, then it can be pre- Setting parameter type is Focusing parameter and exposure parameter.
Further, when there are two or more parameter preset type when, can be to the primary and secondary according to multiframe optimization processing Degree is the different weight of each parameter preset Type division, according to the multinomial default ginseng in the image data for preview of finding a view Parameter corresponding to several classes of types is compared, and calculates the parameter difference of each type, wherein difference is not negative.By each type Corresponding with what is divided the weight of parameter difference carry out linear superposition and obtain total difference, choose corresponding to minimum total difference Single-frame images data are as destination image data.
For example, single-frame images data be A and B, preview image data of finding a view be S, parameter preset type be Focusing parameter f and Exposure parameter e.Wherein, the difference weight of Focusing parameter f is 0.6, and the difference weight of exposure parameter e is 0.4.It then finds a view pre- Look at image data Focusing parameter be Sf and exposure parameter Se.The Focusing parameter for obtaining single-frame images data A respectively is Af and exposure The Focusing parameter of optical parameter Ae, single-frame images data B are Bf and exposure parameter Be, then total difference of A is (Sf-Af) * 0.6+ (Se-Ae) total difference of * 0.4, B is (Sf-Bf) * 0.6+ (Se-Be) * 0.4.And then choose single frames corresponding to minimum total difference Image data is as destination image data.
In the present embodiment, by by single-frame images data each in multiple image data with parameter preset type second Parameter value is compared with corresponding first parameter value in preview image data of finding a view, and chooses the closest to the first parameter value Single-frame images data are as destination image data corresponding to two parameter values.It is closer to selected destination image data normally In the case of the image data that takes.In turn, make the quality according to destination image data the first photo generated relatively high. To avoid making the first photo overexposure or excessively dark generated, and shadow when the reasons such as large change occur for scene light of taking pictures Ring the quality of the first photo.
As shown in figure 4, in one embodiment, providing a kind of camera arrangement, which includes image data acquisition mould Block 402, the first photo generation module 404, the second photo generation module 406 and replacement module 408, in which:
Image data acquisition module 402 is instructed for receiving photographing operation, and response photographing operation instruction acquisition is continuous more Frame image data.
First photo generation module 404, for determining a frame image data as mesh from continuous multiple frames image data Logo image data generate the first photo according to destination image data.
Second photo generation module 406 obtains optimization figure for carrying out multiframe optimization processing to continuous multiple frames image data As data, the second photo is generated according to optimization image data.
Replacement module 408, for replacing the first photo with the second photo.
Above-mentioned camera arrangement, by receiving photographing operation instruction, and response photographing operation instruction acquisition continuous multiple frames image Data;A frame image data is determined from continuous multiple frames image data as destination image data, according to destination image data Generate the first photo.At this point, camera application program side will be considered that this time the process of taking pictures is completed, then can be clapped next time No longer need to wait this time to take pictures processing according to, user.However, electronic equipment carries out multiframe to continuous multiple frames image data on backstage Optimization processing obtains optimization image data, generates the second photo according to optimization image data, i.e., generation quality higher second is shone Piece.Then, the first photo is replaced with the second photo.And these carry out multiframe optimization processing on backstage and replace the processing of photo Process be for users it is sightless, wait without the user effort time end of the treatment process.It is equivalent to Guarantee shooting photographic quality while, reduce the waiting time of user, save time of user during taking pictures at This.
As shown in figure 5, in one embodiment, the second photo generation module 406 includes:
Queue adding module 502, for continuous multiple frames image data to be added in work queue.
Multiframe optimization processing module 504, for carrying out multiframe to the continuous multiple frames image data in work queue in order Optimization processing obtains optimization image data.
As shown in fig. 6, in one embodiment, the device further include:
Adding module 403 is identified, for image data acquisition module after receiving photographing operation instruction, generates and takes pictures The unique corresponding mark of operational order.
In the present embodiment, mark adding module 403 is also used in the first photo generation module according to destination image data After generating the first photo, the mark of the first photo will be added to the unique corresponding mark of photographing instruction.
Mark adding module 403 is also used to generating the second photo according to optimization image data in the second photo generation module Later, the mark of the second photo will be added to the unique corresponding mark of photographing instruction.
Replacement module 408 is also used to search the mark with identical first photo of mark of the second photo, with the second photo Replace corresponding first photo of mark of the first found photo.
As shown in fig. 7, in one embodiment, the first photo generation module 404 includes:
Parameter acquisition module 702, in the image data for preview of finding a view and corresponding to preset parameter type First parameter value.
Parameter acquisition module 702 be also used to obtain in continuous multiple frames image data in each single-frame images data with it is preset Corresponding second parameter value of parameter type.
Destination image data chooses module 704, for choosing from the second parameter value and the first parameter value immediate the Two parameter values, using single-frame images data corresponding to immediate second parameter value as destination image data.
In one embodiment, preset parameter type includes in exposure parameter, Focusing parameter and white balance parameter It is at least one.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (10)

1. a kind of photographic method, the described method comprises the following steps:
Photographing operation instruction is received, and the response photographing operation instruction obtains continuous multiple frames image data;
A frame image data is determined from the continuous multiple frames image data as destination image data, according to the target figure As data generate the first photo;
Multiframe optimization processing is carried out to the continuous multiple frames image data on backstage and obtains optimization image data, according to the optimization Image data generate the second photo, the multiframe optimization processing include the multiple image data are overlapped, synthesis processing;
First photo is replaced with second photo on backstage.
2. the method according to claim 1, wherein described excellent to continuous multiple frames image data progress multiframe Change handles the step of obtaining optimization image data, comprising:
The continuous multiple frames image data is added in work queue;
Multiframe optimization processing is carried out to the continuous multiple frames image data in the work queue in order and obtains optimization image Data.
3. the method according to claim 1, wherein being gone back after the step of reception photographing operation instructs It include: to generate to instruct unique corresponding mark with the photographing operation;
After described the step of generating the first photo according to the destination image data, further includes: will be with the photographing operation The unique corresponding mark of instruction is added to the mark of first photo;
After described the step of generating the second photo according to the optimization image data, further includes: will be with the photographing operation The unique corresponding mark of instruction is added to the mark of second photo;
Described the step of replacing first photo with second photo, comprising:
The mark with identical first photo of mark of second photo is searched, is replaced and is found with second photo The first photo corresponding first photo of mark.
4. the method according to claim 1, wherein described determine one from the continuous multiple frames image data The step of frame image data is as destination image data, comprising:
In the image data of preview of finding a view with the first parameter value corresponding to preset parameter type;
It obtains corresponding with the preset parameter type in each single-frame images data in the continuous multiple frames image data Second parameter value;
Chosen from second parameter value with immediate second parameter value of first parameter value, by described immediate the Single-frame images data are as destination image data corresponding to two parameter values.
5. according to the method described in claim 4, it is characterized in that, the preset parameter type includes exposure parameter, focusing At least one of parameter and white balance parameter.
6. a kind of camera arrangement, which is characterized in that described device includes:
Image data acquisition module, for receiving photographing operation instruction, and the response photographing operation instruction acquisition continuous multiple frames Image data;
First photo generation module, for determining a frame image data as target figure from the continuous multiple frames image data As data, the first photo is generated according to the destination image data;
Second photo generation module is optimized for carrying out multiframe optimization processing to the continuous multiple frames image data on backstage Image data generates the second photo according to the optimization image data, and the multiframe optimization processing includes to the multiple image Data are overlapped, synthesis is handled;
Replacement module, for replacing first photo with second photo.
7. device according to claim 6, which is characterized in that the second photo generation module includes:
Queue adding module, for the continuous multiple frames image data to be added in work queue;
Multiframe optimization processing module, for carrying out multiframe to the continuous multiple frames image data in the work queue in order Optimization processing obtains optimization image data.
8. device according to claim 6, which is characterized in that described device further include:
Adding module is identified, for described image data acquisition module after receiving photographing operation instruction, is generated and the bat According to the unique corresponding mark of operational order;
The mark adding module is also used in the first photo generation module described raw according to the destination image data After the first photo, the mark of first photo will be added to the unique corresponding mark of photographing operation instruction;
The mark adding module is also used in the second photo generation module described raw according to the optimization image data After the second photo, the mark of second photo will be added to the unique corresponding mark of photographing operation instruction;
The replacement module is also used to search the mark with identical first photo of mark of second photo, with described second Photo replaces corresponding first photo of mark of the first found photo.
9. device according to claim 6, which is characterized in that the first photo generation module includes:
Parameter acquisition module, in the image data for preview of finding a view with the first parameter corresponding to preset parameter type Value;
The parameter acquisition module be also used to obtain in the continuous multiple frames image data in each single-frame images data with it is described Corresponding second parameter value of preset parameter type;
Destination image data chooses module, for choosing from second parameter value and first parameter value immediate the Two parameter values, using single-frame images data corresponding to immediate second parameter value as destination image data.
10. device according to claim 9, which is characterized in that the preset parameter type includes exposure parameter, focusing At least one of parameter and white balance parameter.
CN201610402187.7A 2016-06-07 2016-06-07 Photographic method and device Active CN105959557B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610402187.7A CN105959557B (en) 2016-06-07 2016-06-07 Photographic method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610402187.7A CN105959557B (en) 2016-06-07 2016-06-07 Photographic method and device

Publications (2)

Publication Number Publication Date
CN105959557A CN105959557A (en) 2016-09-21
CN105959557B true CN105959557B (en) 2019-05-10

Family

ID=56909004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610402187.7A Active CN105959557B (en) 2016-06-07 2016-06-07 Photographic method and device

Country Status (1)

Country Link
CN (1) CN105959557B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108495041B (en) * 2018-04-18 2020-09-29 国之云(山东)信息科技有限公司 Image processing and displaying method and device for electronic terminal
CN111726523A (en) * 2020-06-16 2020-09-29 Oppo广东移动通信有限公司 Image processing method and device and storage medium
CN112188095B (en) * 2020-09-25 2022-05-20 北京小米移动软件有限公司 Photographing method, photographing device and storage medium
CN112311985B (en) * 2020-10-12 2021-12-14 珠海格力电器股份有限公司 Multi-shooting processing method and device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6995793B1 (en) * 2000-11-14 2006-02-07 Eastman Kodak Company Video tap for a digital motion camera that simulates the look of post processing
JP2006311347A (en) * 2005-04-28 2006-11-09 Canon Inc Imaging apparatus, imaging method, storage medium, and computer program
CN102546925A (en) * 2010-12-29 2012-07-04 Lg电子株式会社 Mobile terminal and controlling method thereof
CN102714699A (en) * 2010-11-18 2012-10-03 松下电器产业株式会社 Image capture device, image capture method
CN103618855A (en) * 2013-12-03 2014-03-05 厦门美图移动科技有限公司 Photographing method and device for automatically selecting optimal image
CN104521227A (en) * 2012-08-03 2015-04-15 三星电子株式会社 Image processing method and apparatus
CN104618640A (en) * 2014-12-30 2015-05-13 广东欧珀移动通信有限公司 Photographing method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100716977B1 (en) * 2004-07-23 2007-05-10 삼성전자주식회사 Digital image device
US20090273686A1 (en) * 2008-05-02 2009-11-05 Nokia Corporation Methods, computer program products and apparatus providing improved image capturing
CN103327252B (en) * 2013-06-26 2015-05-13 努比亚技术有限公司 Shooting device and shooting method thereof
CN103607533A (en) * 2013-12-03 2014-02-26 厦门美图移动科技有限公司 Photographing method and device suitable for zero-lag shutter
CN104767938A (en) * 2015-03-27 2015-07-08 广东欧珀移动通信有限公司 Photo shooting method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6995793B1 (en) * 2000-11-14 2006-02-07 Eastman Kodak Company Video tap for a digital motion camera that simulates the look of post processing
JP2006311347A (en) * 2005-04-28 2006-11-09 Canon Inc Imaging apparatus, imaging method, storage medium, and computer program
CN102714699A (en) * 2010-11-18 2012-10-03 松下电器产业株式会社 Image capture device, image capture method
CN102546925A (en) * 2010-12-29 2012-07-04 Lg电子株式会社 Mobile terminal and controlling method thereof
CN104521227A (en) * 2012-08-03 2015-04-15 三星电子株式会社 Image processing method and apparatus
CN103618855A (en) * 2013-12-03 2014-03-05 厦门美图移动科技有限公司 Photographing method and device for automatically selecting optimal image
CN104618640A (en) * 2014-12-30 2015-05-13 广东欧珀移动通信有限公司 Photographing method and device

Also Published As

Publication number Publication date
CN105959557A (en) 2016-09-21

Similar Documents

Publication Publication Date Title
CN105959557B (en) Photographic method and device
US9013589B2 (en) Digital image processing apparatus and digital image processing method capable of obtaining sensibility-based image
US7623778B2 (en) Photographic system, photographic device and photographic method
JP4914278B2 (en) Image processing apparatus, method, and program
JP2019086775A (en) Image processing device, control method thereof, program, and storage medium
CN106550184A (en) Photo processing method and device
CN105611182B (en) Brightness compensation method and device
CN105187728B (en) Photographic method and device
WO2014187265A1 (en) Photo-capture processing method, device and computer storage medium
CN103685962A (en) Mobile terminal picture shooting method and system
JP2002182106A (en) Focusing control system for digital still video camera
CN108600636A (en) Intelligent image pickup method, intelligent filming apparatus
JP2020022012A (en) Imaging device and control method thereof
CN103442173A (en) Photographing method and device of camera in low-light environment
CN1260951C (en) Camera
US20210241444A1 (en) Photography session assistant
JP2007025559A (en) Focusing position detecting method and device
JP2017139646A (en) Imaging apparatus
US8736693B2 (en) Digital photographing apparatus that corrects hand shake, method of controlling the same, and recording medium storing the method
JP2003259201A (en) Digital camera and exposure controller
JP2012090041A (en) Image processing device, method, and program
CN105812835A (en) Information processing method and electronic device
JP2010026039A (en) Photographing apparatus, and control method and program of photographing apparatus
CN111163257B (en) Shooting terminal parameter intelligent adjustment system and method and shooting terminal
CN114679534A (en) Processing method, system, storage medium and computer equipment for continuous photographing

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