CN104580913B - Continuous image shooting method and apparatus - Google Patents

Continuous image shooting method and apparatus Download PDF

Info

Publication number
CN104580913B
CN104580913B CN201510035515.XA CN201510035515A CN104580913B CN 104580913 B CN104580913 B CN 104580913B CN 201510035515 A CN201510035515 A CN 201510035515A CN 104580913 B CN104580913 B CN 104580913B
Authority
CN
China
Prior art keywords
block
pixels
photo
pixel
reference picture
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
CN201510035515.XA
Other languages
Chinese (zh)
Other versions
CN104580913A (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201510035515.XA priority Critical patent/CN104580913B/en
Publication of CN104580913A publication Critical patent/CN104580913A/en
Application granted granted Critical
Publication of CN104580913B publication Critical patent/CN104580913B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The invention discloses a kind of continuous image shooting method, and when receiving continuous image shooting instruction, a photo is shot every default time interval, and when photographing first photo, using first photo as reference picture;The each photograph taking after the reference picture then, obtains the mobile vector for the photo that current shooting obtains;Current shooting photo is compared with the reference picture based on the mobile vector, to determine the residual values between the pixel of the pixel and reference picture in current shooting photo;At the end of continuous image shooting, the residual values of each photo, the pixel of the corresponding reference picture of the residual values and the reference picture are encapsulated into generation continuous photo collection and preserved.The invention also discloses a kind of continuous image shooting device.The present invention reduces the data volume of storage, saves the memory space of terminal.

Description

Continuous image shooting method and apparatus
Technical field
The present invention relates to the field of taking pictures, more particularly to continuous image shooting method and apparatus.
Background technology
To improve the precision taken pictures, burst mode is often provided with existing photo terminal, continuous shooting mould is in terminal During formula, multiple pictures are continuously captured using identical parameter of taking pictures within a preset time interval, and compress preserve the candid photograph obtain Photo.Since each memory space for capturing obtained photo occupancy is larger, taken by the JPEG photos of a 1000w pixel The memory space of about 1.5MB, taken if 10 photos are captured in save as 15MB, the memory of occupied terminal is excessive.
The content of the invention
It is a primary object of the present invention to propose a kind of continuous image shooting method and apparatus, it is intended to solve continuous photo and take eventually The excessive technical problem of end memory.
To achieve the above object, the present invention provides a kind of continuous image shooting method, and described image continuous shooting method includes following step Suddenly:
When receiving continuous image shooting instruction, a photo is shot every default time interval, and photographing first When opening photo, using first photo as reference picture;
The each photograph taking after the reference picture then, obtains the mobile arrow for the photo that current shooting obtains Amount;
Current shooting photo is compared with the reference picture based on the mobile vector, to determine that current shooting is shone Pixel in piece and the residual values between the pixel of reference picture;
At the end of continuous image shooting, by the residual values of each photo, the corresponding reference picture of the residual values pixel, And the reference picture encapsulation generates continuous photo collection and preserves.
Preferably, it is described that current shooting photo is compared with the reference picture based on the mobile vector, with true The step of determining the residual values between the pixel of the pixel and reference picture in current shooting photo includes:
Using the photo of current shooting as photo to be compared, and the photo to be compared is divided into some default sizes First block of pixels;
Based on the corresponding mobile vector of the photo determine in reference picture with each pixel in the photo to be compared Corresponding second block of pixels of block, and calculate between each first block of pixels and its corresponding second pixel each pixel in the block Residual values.
Preferably, the photo using current shooting is as photo to be compared, and if being divided into the photo to be compared Intervention further includes after setting the first block of pixels of size:
Determine that the pixel value of each pixel and the pixel of first block of pixels are averaged in each first block of pixels Difference between value, when the difference is more than predetermined threshold value, splits two the first block of pixels by first block of pixels.
Preferably, it is described based on the corresponding mobile vector of the photo determine in reference picture with the photo to be compared Corresponding second block of pixels of each block of pixels, and calculate each first block of pixels and its corresponding second pixel is in the block each The step of residual values between pixel, includes:
Each first block of pixels in photo to be compared is extracted successively, and based on the mobile arrow of the photo to be compared Amount determines the second block of pixels corresponding with first block of pixels in reference picture;
When getting each second block of pixels, each pixel in first block of pixels and the second block of pixels is calculated Difference between pixel average;
Second pixel each first pixel in the block is obtained in mobile vector direction interval pre-determined distance Second pixel, based on the second new block of pixels of second pixel composition;
Continue to calculate each pixel in first block of pixels and the second new block of pixels pixel average it Between difference, until the corresponding difference of first block of pixels number reach predetermined threshold value;
Residual values between minimum the second new block of pixels of calculating difference and first block of pixels, and by the residual error Value is as the residual values between first block of pixels and second block of pixels.
Preferably, the residual values of each photo of the compression, the pixel of the corresponding reference picture of the residual values and The reference picture and the step of preserve after, described image continuous shooting method further includes:
When receiving continuous photo collection and checking instruction, check that instruction determines company to be viewed based on the continuous photo collection Take a picture collection;
Extract the corresponding residual values of each pixel in reference picture and reference picture that the continuous photo is concentrated;
Corresponding residual values are increased to each pixel, to generate the corresponding other photos of the reference picture;
Show other photos of the reference picture and generation.
In addition, to achieve the above object, the present invention also proposes a kind of continuous image shooting device, described image continuous shooting device bag Include:
Photo module, for when continuous image shooting instructs, a photo to be shot every default time interval;
Processing module, for when photographing first photo, using first photo as reference picture;
Acquisition module, obtains current shooting and obtains for each photograph taking after the reference picture then Photo mobile vector;
Determining module, for current shooting photo to be compared with the reference picture based on the mobile vector, with Determine the residual values between the pixel of the pixel and reference picture in current shooting photo;
Package module, at the end of continuous image shooting, by the residual values of each photo, the corresponding benchmark of the residual values The pixel of photo and reference picture encapsulation generation continuous photo collection;
Memory module, for preserving the continuous photo collection.
Preferably, the determining module includes:
Cutting unit, for using the photo of current shooting as photo to be compared, and the photo to be compared is divided into First block of pixels of some default sizes;
Determination unit, for based on the corresponding mobile vector of the photo determine in reference picture with the photo to be compared In corresponding second block of pixels of each block of pixels, and calculate each first block of pixels and its corresponding second pixel is in the block each Residual values between a pixel.
Preferably, the determination unit, is additionally operable to determine the pixel value of each pixel in each first block of pixels Difference between the pixel average of first block of pixels;The cutting unit, is additionally operable to be more than in the difference default During threshold value, first block of pixels is split into two the first block of pixels.
Preferably, the determination unit includes:
Subelement is extracted, for extracting each first block of pixels in photo to be compared successively;
Determination subelement, for the mobile vector based on the photo to be compared determine in reference picture with first picture Corresponding second block of pixels of plain block;
Computation subunit, for when getting each second block of pixels, calculating first block of pixels and the second pixel Difference in block between the pixel average of each pixel;
Subelement is generated, for obtaining second pixel each first pixel in the block in the mobile vector direction The second pixel of pre-determined distance is spaced, based on the second new block of pixels of second pixel composition;
The computation subunit, is additionally operable in generation subelement based on the second new block of pixels of second pixel composition Afterwards, continue to calculate the difference in first block of pixels and the second new block of pixels between the pixel average of each pixel Value, until the number of the corresponding difference of first block of pixels reaches predetermined threshold value, and new second that calculating difference is minimum Residual values between block of pixels and first block of pixels, and using the residual values as first block of pixels and described second Residual values between block of pixels.
Preferably, described image continuous shooting device further includes:
The determining module, is additionally operable to, when receiving continuous photo collection and checking instruction, look into based on the continuous photo collection See that instruction determines continuous photo collection to be viewed;
Extraction module, the reference picture concentrated for extracting the continuous photo, and each pixel in reference picture Corresponding residual values;
Generation module, for increasing corresponding residual values to each pixel, with generate the reference picture it is corresponding its Its photo;
Display module, for showing other photos of the reference picture and generation.
Continuous image shooting method and apparatus proposed by the present invention, when receiving continuous image shooting instruction, every the default time Interval shooting one opens photo, and when photographing first photo, using first photo as reference picture, is shone in the benchmark Each photograph taking after piece then obtains the residual error between the pixel of the pixel and reference picture in each photo Value, at the end of continuous image shooting, by the residual values of each photo, the corresponding reference picture of the residual values pixel and The reference picture encapsulation generation continuous photo collection simultaneously preserves, and reduces the data volume of storage, saves the memory space of terminal.
Brief description of the drawings
Fig. 1 is the flow diagram of continuous image shooting method preferred embodiment of the present invention;
Fig. 2 is the refinement flow diagram of step S30 in Fig. 1;
Fig. 3 is the refinement flow diagram of step S32 in Fig. 2;
Fig. 4 is the distribution schematic diagram of the first block of pixels;
Fig. 5 is the high-level schematic functional block diagram of continuous image shooting device preferred embodiment of the present invention;
Fig. 6 is the refinement high-level schematic functional block diagram of determining module in Fig. 5;
Fig. 7 is the refinement high-level schematic functional block diagram of determination unit in Fig. 6.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of continuous image shooting method.
With reference to Fig. 1, Fig. 1 is the flow diagram of continuous image shooting method preferred embodiment of the present invention.
The present embodiment proposes a kind of continuous image shooting method, and described image continuous shooting method includes:
Step S10, when receiving continuous image shooting instruction, shoots a photo, and clapping every default time interval When taking the photograph to first photo, using first photo as reference picture;
In the present embodiment, which can be set as needed, photograph the photo of default number When, continuous image shooting terminates.
Step S20, each photograph taking after the reference picture then, obtain the photo that current shooting obtains Mobile vector;
In the present embodiment, which can be detected to obtain by the movable sensor installed in terminal, which includes Mobile direction and distance, current shooting to photo mobile vector for current shooting to photo be based on a upper photo it Between the first mobile vector, and the sum of upper second mobile vector of a photo based on reference picture.For example, second photo Mobile vector based on first photo is A, and the 3rd mobile vector of the photo based on second photo is B, the 4th photo Mobile vector based on the 3rd photo is C, then second photo, the 3rd photo and the corresponding mobile arrow of the 4th photo Amount is respectively A, A+B, A+B+C.
Step S30, current shooting photo is compared with the reference picture based on the mobile vector, to determine to work as Pixel in preceding shooting photo and the residual values between the pixel of reference picture;
Include with reference to Fig. 2, the step S30:
Step S31, using the photo of current shooting as photo to be compared, and if the photo to be compared is divided into intervention If the first block of pixels of size;
It will be appreciated by persons skilled in the art that since the object photographed in photo is different, cause the portion in photo Differing greatly between the pixel at point position, then need for photo to be compared to be divided into the first picture of some default sizes After plain block, the pixel value of each pixel and the pixel average of first block of pixels in each first block of pixels are determined Between difference, when the difference is more than predetermined threshold value, first block of pixels is split into two the first block of pixels.Such as When photo to be compared to be divided into the first block of pixels of 16*16 sizes, if in first block of pixels each pixel picture When difference between element value and the pixel average of first block of pixels is more than predetermined threshold value, first block of pixels is divided equally Cut the first block of pixels that two sizes are 8*8.
The pixel value of pixel is preferably that pixel is YUV values, and wherein Y is brightness value, and U is red offset value, and V is blueness Offset value, and the value that pixel average obtains after being averaging for the YUV values of each pixel.
Step S32, based on the corresponding mobile vector of the photo determine in reference picture with the photo to be compared Corresponding second block of pixels of each block of pixels, and calculate each first block of pixels and its corresponding second pixel each picture in the block Residual values between vegetarian refreshments.
Include with reference to Fig. 3, the step S32:
Step S321, extracts each first block of pixels in photo to be compared successively, and is based on the photograph to be compared The mobile vector of piece determines the second block of pixels corresponding with first block of pixels in reference picture;
For example, current mobile vector is to move 30 pixels to gravity direction, then in reference picture with the first block of pixels Corresponding second block of pixels, by with each pixel in current first block of pixels in each of 30, gravity opposite direction interval pixel A pixel composition, the number of the second pixel pixel in the block are identical with the number of the pixel in the first pixel.
Step S322, when getting each second block of pixels, calculates each in first block of pixels and the second block of pixels Difference between the pixel average of a pixel;
The value that the pixel average of each pixel obtains after being averaging for the YUV values of each pixel.
Step S323, it is pre- at mobile vector direction interval to obtain the second pixel each first pixel in the block If the second pixel of distance, based on the second new block of pixels of second pixel composition;
Step S324, continues to calculate the pixel of each pixel in first block of pixels and the second new block of pixels Difference between average value, until the number of the corresponding difference of first block of pixels reaches predetermined threshold value;
Step S325, the residual values between minimum the second new block of pixels of calculating difference and first block of pixels, and Using the residual values as the residual values between first block of pixels and second block of pixels.
As shown in figure 4, mobile vector is upwardly direction, when the second block of pixels currently extracted is block of pixels 1, calculate Difference between the pixel average of 1 and first block of pixels of block of pixels, then obtains corresponding each first pixel in block of pixels 1 Point obtains block of pixels 2 in the second pixel of mobile vector direction interval pre-determined distance, calculates 2 and first pixel of block of pixels Difference between the pixel average of block, and so on, until the pixel average of 8 and first block of pixels of block of pixels is calculated Between difference, obtain the difference of minimum, such as 3 corresponding difference of block of pixels is minimal difference, i.e., using block of pixels 3 as second Block of pixels, and the residual values between block of pixels 3 and first block of pixels are calculated, the residual values are corresponding for each pixel Difference between YUV values.
Step S40, at the end of continuous image shooting, by the residual values of each photo, the corresponding reference picture of the residual values Pixel and the reference picture encapsulation generation continuous photo collection and preserve.
The residual values of each photo of the encapsulation, the pixel of the corresponding reference picture of the residual values and the benchmark The file format that photo obtains is MPO forms.
It will be appreciated by persons skilled in the art that when checking the photo that continuous photo is concentrated, reference picture can be passed through And residual values recover other photos outside reference picture, i.e., further include step after described step S40:
When receiving continuous photo collection and checking instruction, check that instruction determines company to be viewed based on the continuous photo collection Take a picture collection;
Extract the corresponding residual values of each pixel in reference picture and reference picture that the continuous photo is concentrated;
Corresponding residual values are increased to each pixel, to generate the corresponding other photos of the reference picture;
Show other photos of the reference picture and generation.
The continuous image shooting method that the present embodiment proposes, when receiving continuous image shooting instruction, every default time interval A photo is shot, and when photographing first photo, using first photo as reference picture, in each photograph taking Then, the residual values between the pixel of the pixel and reference picture in each photo are obtained, will at the end of continuous image shooting The residual values of each photo, the pixel of the corresponding reference picture of the residual values and reference picture encapsulation generation connect Take a picture and collection and preserve, reduce the data volume of storage, save the memory space of terminal.
The present invention further provides a kind of continuous image shooting device.
With reference to Fig. 5, Fig. 5 is the high-level schematic functional block diagram of continuous image shooting device preferred embodiment of the present invention.
It is emphasized that it will be apparent to those skilled in the art that functional block diagram shown in Fig. 5 is only one preferably real The exemplary plot of example is applied, those skilled in the art can carry out new easily around the function module of the continuous image shooting device shown in Fig. 5 Function module supplement;The title of each function module is self-defined title, is only used for auxiliary and understands the continuous image shooting device Each program function block, is not used in restriction technical scheme, and the core of technical solution of the present invention is each self-defined title The function to be reached of function module.
The present embodiment proposes a kind of continuous image shooting device, and described image continuous shooting device includes:
Photo module 10, for when continuous image shooting instructs, a photo to be shot every default time interval;
In the present embodiment, which can be set as needed, photograph the photo of default number When, continuous image shooting terminates.
Processing module 20, for when photographing first photo, using first photo as reference picture;
Acquisition module 30, obtains current shooting and obtains for each photograph taking after the reference picture then The mobile vector of the photo arrived;
In the present embodiment, which can be detected to obtain by the movable sensor installed in terminal, which includes Mobile direction and distance, current shooting to photo mobile vector for current shooting to photo be based on a upper photo it Between the first mobile vector, and the sum of upper second mobile vector of a photo based on reference picture.For example, second photo Mobile vector based on first photo is A, and the 3rd mobile vector of the photo based on second photo is B, the 4th photo Mobile vector based on the 3rd photo is C, then second photo, the 3rd photo and the corresponding mobile arrow of the 4th photo Amount is respectively A, A+B, A+B+C.
Determining module 40, for current shooting photo to be compared with the reference picture based on the mobile vector, To determine the residual values between the pixel of the pixel and reference picture in current shooting photo;
With reference to Fig. 6, the determining module 40 includes:
Cutting unit 41, splits for using the photo of current shooting as photo to be compared, and by the photo to be compared For the first block of pixels of some default sizes;
Determination unit 42, for based on the corresponding mobile vector of the photo determine in reference picture with the photograph to be compared Corresponding second block of pixels of each block of pixels in piece, and calculate each first block of pixels and its corresponding second pixel is in the block Residual values between each pixel.
It will be appreciated by persons skilled in the art that since the object photographed in photo is different, cause the portion in photo Differing greatly between the pixel at point position, then the determination unit, is additionally operable to determine in each first block of pixels Difference between the pixel average of the pixel value of each pixel and first block of pixels;The cutting unit, is additionally operable to When the difference is more than predetermined threshold value, first block of pixels is split into two the first block of pixels.The pixel value of pixel Preferably pixel is YUV values, and wherein Y is brightness value, and U is red offset value, and V is blue offset value, and pixel average is The value that the YUV values of each pixel obtain after being averaging.
With reference to Fig. 7, the determination unit 42 includes:
Subelement 421 is extracted, for extracting each first block of pixels in photo to be compared successively;
Determination subelement 422, determines in reference picture with described for the mobile vector based on the photo to be compared Corresponding second block of pixels of one block of pixels;
Computation subunit 423, for when getting each second block of pixels, calculating first block of pixels and the second picture Difference in plain block between the pixel average of each pixel;
Subelement 424 is generated, for obtaining second pixel each first pixel in the block in the mobile vector Second pixel of direction interval pre-determined distance, based on the second new block of pixels of second pixel composition;
The computation subunit 423, is additionally operable in generation subelement based on the second new picture of second pixel composition After plain block, continue to calculate in first block of pixels and the second new block of pixels between the pixel average of each pixel Difference, until the number of the corresponding difference of first block of pixels reaches predetermined threshold value, and minimum new of calculating difference Residual values between second block of pixels and first block of pixels, and it regard the residual values as first block of pixels and described Residual values between second block of pixels.
For example, current mobile vector is to move 30 pixels to gravity direction, then in reference picture with the first block of pixels Corresponding second block of pixels, by with each pixel in current first block of pixels in each of 30, gravity opposite direction interval pixel A pixel composition, the number of the second pixel pixel in the block are identical with the number of the pixel in the first pixel.Respectively The value that the pixel average of a pixel obtains after being averaging for the YUV values of each pixel.
As shown in figure 4, mobile vector is upwardly direction, when the second block of pixels currently extracted is block of pixels 1, calculate Difference between the pixel average of 1 and first block of pixels of block of pixels, then obtains corresponding each first pixel in block of pixels 1 Point obtains block of pixels 2 in the second pixel of mobile vector direction interval pre-determined distance, calculates 2 and first pixel of block of pixels Difference between the pixel average of block, and so on, until the pixel average of 8 and first block of pixels of block of pixels is calculated Between difference, obtain the difference of minimum, such as 3 corresponding difference of block of pixels is minimal difference, i.e., using block of pixels 3 as second Block of pixels, and the residual values between block of pixels 3 and first block of pixels are calculated, the residual values are corresponding for each pixel Difference between YUV values.
Package module 50, at the end of continuous image shooting, by the residual values of each photo, the corresponding base of the residual values The pixel of quasi- photo and reference picture encapsulation generation continuous photo collection;
Memory module 60, for preserving the continuous photo collection.
The residual values of each photo of the encapsulation, the pixel of the corresponding reference picture of the residual values and the benchmark The file format that photo obtains is MPO forms.
It will be appreciated by persons skilled in the art that when checking the photo that continuous photo is concentrated, reference picture can be passed through And residual values recover other photos outside reference picture, i.e. described image continuous shooting device further includes:
The determining module, is additionally operable to, when receiving continuous photo collection and checking instruction, look into based on the continuous photo collection See that instruction determines continuous photo collection to be viewed;
Extraction module, the reference picture concentrated for extracting the continuous photo, and each pixel in reference picture Corresponding residual values;
Generation module, for increasing corresponding residual values to each pixel, with generate the reference picture it is corresponding its Its photo;
Display module, for showing other photos of the reference picture and generation.
The continuous image shooting device that the present embodiment proposes, when receiving continuous image shooting instruction, every default time interval Shoot a photo, and when photographing first photo, using first photo as reference picture, the reference picture it Each photograph taking afterwards then, obtains the residual values between the pixel of the pixel and reference picture in each photo, At the end of continuous image shooting, by the residual values of each photo, the pixel of the corresponding reference picture of the residual values and described Reference picture encapsulation generation continuous photo collection simultaneously preserves, and reduces the data volume of storage, saves the memory space of terminal.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements not only include those key elements, and And other elements that are not explicitly listed are further included, or further include as this process, method, article or system institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there are other identical element in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, takes Be engaged in device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made, is directly or indirectly used in other relevant skills Art field, is included within the scope of the present invention.

Claims (9)

  1. A kind of 1. continuous image shooting method, it is characterised in that described image continuous shooting method comprises the following steps:
    When receiving continuous image shooting instruction, a photo is shot every default time interval, and photographing first photograph During piece, using first photo as reference picture;
    The each photograph taking after the reference picture then, obtains the mobile vector for the photo that current shooting obtains; The mobile vector is detected to obtain by the movable sensor installed in terminal;
    Using the photo of current shooting as photo to be compared, and the photo to be compared is divided into the first of some default sizes Block of pixels;
    Based on the corresponding mobile vector of the photo determine in reference picture with each block of pixels pair in the photo to be compared The second block of pixels answered, and calculate residual between each first block of pixels and its corresponding second pixel each pixel in the block Difference;
    At the end of continuous image shooting, by the residual values of each photo, the corresponding reference picture of the residual values pixel and The reference picture encapsulation generation continuous photo collection simultaneously preserves.
  2. 2. continuous image shooting method as claimed in claim 1, it is characterised in that the photo using current shooting is as to be compared Photo, and the photo to be compared is divided into after the first block of pixels of some default sizes and is further included:
    Determine the pixel value of each pixel and first block of pixels in each first block of pixels pixel average it Between difference, when the difference is more than predetermined threshold value, first block of pixels is split into two the first block of pixels.
  3. 3. continuous image shooting method as claimed in claim 1 or 2, it is characterised in that described to be based on the corresponding movement of the photo Vector determines second block of pixels corresponding with each block of pixels in the photo to be compared in reference picture, and calculates each The step of residual values between one block of pixels and its corresponding second pixel each pixel in the block, includes:
    Each first block of pixels in photo to be compared is extracted successively, and the mobile vector based on the photo to be compared is true Determine the second block of pixels corresponding with first block of pixels in reference picture;
    When getting each second block of pixels, the pixel of each pixel in first block of pixels and the second block of pixels is calculated Difference between average value;
    Second pixel each first pixel in the block is obtained the second of mobile vector direction interval pre-determined distance Pixel, based on the second new block of pixels of second pixel composition;
    Continue to calculate in first block of pixels and the second new block of pixels between the pixel average of each pixel Difference, until the number of the corresponding difference of first block of pixels reaches predetermined threshold value;
    Residual values between minimum the second new block of pixels of calculating difference and first block of pixels, and the residual values are made For the residual values between first block of pixels and second block of pixels.
  4. 4. continuous image shooting method as claimed in claim 1 or 2, it is characterised in that it is described by the residual values of each photo, it is described The pixel of the corresponding reference picture of residual values and reference picture encapsulation generation continuous photo collection and the step of preserve it Afterwards, described image continuous shooting method further includes:
    When receiving continuous photo collection and checking instruction, check that instruction determines that continuous shooting to be viewed is shone based on the continuous photo collection Piece collection;
    Extract the corresponding residual values of each pixel in reference picture and reference picture that the continuous photo is concentrated;
    Corresponding residual values are increased to each pixel, to generate the corresponding other photos of the reference picture;
    Show other photos of the reference picture and generation.
  5. 5. a kind of continuous image shooting device, it is characterised in that described image continuous shooting device includes:
    Photo module, for when continuous image shooting instructs, a photo to be shot every default time interval;
    Processing module, for when photographing first photo, using first photo as reference picture;
    Acquisition module, obtains the photograph that current shooting obtains for each photograph taking after the reference picture then The mobile vector of piece;The mobile vector is detected to obtain by the movable sensor installed in terminal;
    Determining module, for using the photo of current shooting as photo to be compared, and the photo to be compared is divided into some First block of pixels of default size;
    Based on the corresponding mobile vector of the photo determine in reference picture with each block of pixels pair in the photo to be compared The second block of pixels answered, and calculate residual between each first block of pixels and its corresponding second pixel each pixel in the block Difference;
    Package module, at the end of continuous image shooting, by the residual values of each photo, the corresponding reference picture of the residual values Pixel and the reference picture encapsulation generation continuous photo collection;
    Memory module, for preserving the continuous photo collection.
  6. 6. continuous image shooting device as claimed in claim 5, it is characterised in that the determining module includes:
    Cutting unit, for using the photo of current shooting as photo to be compared, and the photo to be compared is divided into some First block of pixels of default size;
    Determination unit, for based on the corresponding mobile vector of the photo determine in reference picture with the photo to be compared Corresponding second block of pixels of each block of pixels, and calculate each first block of pixels and its corresponding second pixel each picture in the block Residual values between vegetarian refreshments.
  7. 7. continuous image shooting device as claimed in claim 6, it is characterised in that the determination unit, is additionally operable to determine each institute State the difference between the pixel average of the pixel value of each pixel and first block of pixels in the first block of pixels;Described point Unit is cut, is additionally operable to, when the difference is more than predetermined threshold value, first block of pixels be split two the first block of pixels.
  8. 8. continuous image shooting device as claimed in claims 6 or 7, it is characterised in that the determination unit includes:
    Subelement is extracted, for extracting each first block of pixels in photo to be compared successively;
    Determination subelement, for the mobile vector based on the photo to be compared determine in reference picture with first block of pixels Corresponding second block of pixels;
    Computation subunit, for when getting each second block of pixels, calculating in first block of pixels and the second block of pixels Difference between the pixel average of each pixel;
    Subelement is generated, for obtaining second pixel each first pixel in the block at mobile vector direction interval Second pixel of pre-determined distance, based on the second new block of pixels of second pixel composition;
    The computation subunit, is additionally operable to after generation subelement is based on the second new block of pixels of second pixel composition, Continue to calculate the difference in first block of pixels and the second new block of pixels between the pixel average of each pixel, Until the number of the corresponding difference of first block of pixels reaches predetermined threshold value, and the second new pixel that calculating difference is minimum Residual values between block and first block of pixels, and using the residual values as first block of pixels and second pixel Residual values between block.
  9. 9. such as claim 5-7 any one of them continuous image shooting devices, it is characterised in that described image continuous shooting device also wraps Include:
    The determining module, is additionally operable to, when receiving continuous photo collection and checking instruction, finger be checked based on the continuous photo collection Order determines continuous photo collection to be viewed;
    Extraction module, the reference picture concentrated for extracting the continuous photo, and each pixel corresponds in reference picture Residual values;
    Generation module, for increasing corresponding residual values to each pixel, to generate the corresponding other photographs of the reference picture Piece;
    Display module, for showing other photos of the reference picture and generation.
CN201510035515.XA 2015-01-23 2015-01-23 Continuous image shooting method and apparatus Active CN104580913B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510035515.XA CN104580913B (en) 2015-01-23 2015-01-23 Continuous image shooting method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510035515.XA CN104580913B (en) 2015-01-23 2015-01-23 Continuous image shooting method and apparatus

Publications (2)

Publication Number Publication Date
CN104580913A CN104580913A (en) 2015-04-29
CN104580913B true CN104580913B (en) 2018-05-15

Family

ID=53096010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510035515.XA Active CN104580913B (en) 2015-01-23 2015-01-23 Continuous image shooting method and apparatus

Country Status (1)

Country Link
CN (1) CN104580913B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106326908A (en) * 2015-06-30 2017-01-11 中兴通讯股份有限公司 Picture management method and apparatus, and terminal equipment
CN105005598A (en) * 2015-07-02 2015-10-28 成都亿邻通科技有限公司 Method for processing continuously shot photos
CN105045844A (en) * 2015-07-02 2015-11-11 成都亿邻通科技有限公司 Method for storing continuously shot photos
CN105120164B (en) * 2015-08-28 2016-10-19 努比亚技术有限公司 The processing means of continuous photo and method
CN105224671A (en) * 2015-10-14 2016-01-06 Tcl移动通信科技(宁波)有限公司 A kind of photo storage method and system based on mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7904689B1 (en) * 2007-08-16 2011-03-08 Sprint Communications Company L.P. Just in time storage allocation analysis systems and methods
CN102521235A (en) * 2010-10-28 2012-06-27 微软公司 Burst mode image compression and decompression
CN103098456A (en) * 2010-07-08 2013-05-08 株式会社理光 Image processing unit, image processing method, and image processing program
CN103795920A (en) * 2014-01-21 2014-05-14 宇龙计算机通信科技(深圳)有限公司 Photo processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7904689B1 (en) * 2007-08-16 2011-03-08 Sprint Communications Company L.P. Just in time storage allocation analysis systems and methods
CN103098456A (en) * 2010-07-08 2013-05-08 株式会社理光 Image processing unit, image processing method, and image processing program
CN102521235A (en) * 2010-10-28 2012-06-27 微软公司 Burst mode image compression and decompression
CN103795920A (en) * 2014-01-21 2014-05-14 宇龙计算机通信科技(深圳)有限公司 Photo processing method and device

Also Published As

Publication number Publication date
CN104580913A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN104580913B (en) Continuous image shooting method and apparatus
CN109671106B (en) Image processing method, device and equipment
US7356254B2 (en) Image processing method, apparatus, and program
AU2013200730B2 (en) Data processing apparatus and method using a camera
CN101409817B (en) Video processing method, video processing system and video apparatus
CN103916604B (en) Video-in-video video stream having a three layer video scene
CN105049728A (en) Method and device for acquiring shot image
CN105282547B (en) A kind of bit rate control method and device of Video coding
EP3170304A1 (en) Method and apparatus for detecting imaging conditions
CN111339822A (en) Living body detection method and related product
CN112598580B (en) Method and device for improving definition of portrait photo
CN110569927A (en) Method, terminal and computer equipment for scanning and extracting panoramic image of mobile terminal
CN105323484B (en) Rapid photographing method and electronic equipment
CN110248177B (en) Image data processing method and device
CN104135610B (en) A kind of information processing method and electronic equipment
CN106650583B (en) Method for detecting human face, device and terminal device
CN103152524B (en) Camera arrangement and continuous shooting method thereof
CN105391941B (en) Photo processing method and device
CN107438155A (en) Intelligent image image pickup method
CN104135627B (en) Movement locus of object image pickup method and system
CN108810326A (en) A kind of photographic method, device and mobile terminal
CN104811622B (en) Image color implantation method and device
CN112106352A (en) Image processing method and device
CN107291473B (en) Wallpaper setting method and device
CN106131400B (en) Image processing method, device and photographing device in preview interface

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