CN105704394B - Sampling method, control method, sampler, control device and electronic device - Google Patents

Sampling method, control method, sampler, control device and electronic device Download PDF

Info

Publication number
CN105704394B
CN105704394B CN201610105611.1A CN201610105611A CN105704394B CN 105704394 B CN105704394 B CN 105704394B CN 201610105611 A CN201610105611 A CN 201610105611A CN 105704394 B CN105704394 B CN 105704394B
Authority
CN
China
Prior art keywords
sample
interval
diversity factor
module
predetermined difference
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
CN201610105611.1A
Other languages
Chinese (zh)
Other versions
CN105704394A (en
Inventor
吴磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610105611.1A priority Critical patent/CN105704394B/en
Publication of CN105704394A publication Critical patent/CN105704394A/en
Application granted granted Critical
Publication of CN105704394B publication Critical patent/CN105704394B/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/70Circuitry for compensating brightness variation in the scene
    • H04N23/741Circuitry for compensating brightness variation in the scene by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/79Processing of colour television signals in connection with recording
    • H04N9/797Processing of colour television signals in connection with recording for recording the signal in a plurality of channels, the bandwidth of each channel being less than the bandwidth of the signal
    • H04N9/7973Processing of colour television signals in connection with recording for recording the signal in a plurality of channels, the bandwidth of each channel being less than the bandwidth of the signal by dividing the luminance or colour component signal samples or frequency bands among a plurality of recording channels

Landscapes

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

Abstract

The present invention provides a kind of sampling methods, are applied to imaging device.Imaging device is for shooting to obtain preview image.Sampling method extracts preview image using as sample image with sample interval first.Then judge whether the diversity factor between front and back two frame sample images is greater than or equal to predetermined difference degree.Then shorten sample interval when diversity factor is spent more than or equal to predetermined difference and return to sampling procedure and judgment step until diversity factor is less than predetermined difference degree.Finally obtain current sample time interval and as reference time.It is sampled and judges by shortening sample interval repeatedly, finally obtain the smaller sample interval of diversity factor between making front and back two frames sample image and as reference time.Can the time for exposure be further arranged according to reference time, to obtain the more visible image without notable moving state tracks.The present invention also provides a kind of sampler, control method and device, electronic devices.

Description

Sampling method, control method, sampler, control device and electronic device
Technical field
The present invention relates to imaging sampling fields, and in particular to a kind of sampling method, control method, sampler, control dress It sets and electronic device.
Background technology
The sampling method of existing dynamic menu only detects whether picture is dynamic, and when can not detect the variation of picture Between be spaced, to can not determine the suitable time for exposure.
Invention content
The present invention is directed to solve at least some of the technical problems in related technologies for this purpose, the present invention proposes A kind of sampling method.
The sampling method of embodiment of the present invention can be applied to imaging device, and the imaging device is for shooting to obtain Preview image;The sampling method includes:
Sampling procedure extracts the preview image using as sample image with sample interval;
Judgment step, judges whether the diversity factor between sample image described in front and back two frames is greater than or equal to predetermined difference Degree;
Shorten step, shortens the sample interval simultaneously when the diversity factor is spent more than or equal to the predetermined difference The sampling procedure and judgment step are returned until the diversity factor is less than the predetermined difference degree;And
First obtaining step obtains presently described sample interval and as reference time.
It is sampled and judges by shortening sample interval repeatedly, finally obtain between making front and back two frames sample image The smaller sample interval of diversity factor and as reference time.Can the time for exposure be further arranged according to reference time, with Obtain the more visible image without notable moving state tracks.
In some embodiments, the shortening step gradually shortens the sample interval with predetermined ratio.
In some embodiments, between the shortening step shortens the sample time within the scope of first time interval Every;
The lower limit of the first time interval range includes the time interval of preview image described in adjacent two frame.
In some embodiments, the sampling method includes after the judgment step:
Extend step, extends the sample interval when the diversity factor is spent less than the predetermined difference and return to institute Sampling procedure and judgment step are stated until the diversity factor is greater than or equal to the predetermined difference degree.
In some embodiments, the sampling method includes after the extension step:
Second obtaining step, obtain this it is described extend step before the sample interval as reference time.
In some embodiments, the extension step extends the sample interval with prearranged multiple.
In some embodiments, the extension step extended within the scope of the second time interval between the sample time Every;
The upper limit of the second time interval range includes system default time interval.
In some embodiments, the sampling method includes:
It is inputted according to user and the upper limit is set.
The present invention also provides a kind of control methods, for controlling imaging device, it may include described in the above embodiment Sampling method;And
The time for exposure is arranged according to the reference time to control the imaging device exposure in rate-determining steps.
The present invention also provides a kind of samplers, can be applied to imaging device, the imaging device is for shooting to obtain Preview image;The sampler includes:
Sampling module, for extracting the preview image using as sample image with sample interval;
Judgment module, for judging it is predetermined poor whether the diversity factor between sample image described in front and back two frame is greater than or equal to Different degree;
Shorten module, between shortening the sample time when the diversity factor is spent more than or equal to the predetermined difference Every to extract the sample image again up to the diversity factor is less than the predetermined difference degree;And
First acquisition module is less than the sample interval of the predetermined difference degree simultaneously for obtaining the diversity factor As reference time.
In some embodiments, the shortening module is for gradually shortening the sample interval with predetermined ratio.
In some embodiments, the shortening module within the scope of first time interval for shortening the sample time Interval;
The lower limit of the first time interval range includes the time interval of preview image described in adjacent two frame.
In some embodiments, the sampler further includes extending module, and the extension module is used in the difference Different degree extends the sample interval when being spent less than the predetermined difference and extracts the sample image again until the difference Different degree is greater than or equal to the predetermined difference degree.
In some embodiments, the sampler further includes the second acquisition module,
Second acquisition module is less than and for obtaining the diversity factor closest to the corresponding institute of the predetermined difference degree Sample interval is stated as the reference time.
In some embodiments, the extension module extends the sample interval with prearranged multiple.
In some embodiments, the extension module within the scope of the second time interval for extending the sample time Interval;
The upper limit of the second time interval range includes system default time interval.
In some embodiments, the sampler includes setup module, and the setup module is used for defeated according to user Enter and the upper limit is set.
The present invention also provides a kind of control devices, for controlling imaging device comprising control module and above-mentioned embodiment party Sampler described in formula;
The control module is used to that the time for exposure to be arranged according to the reference time to control the imaging device exposure.
The present invention also provides a kind of electronic devices comprising the control device described in imaging device and the above embodiment.
In some embodiments, the electronic device includes mobile phone, tablet computer or digital camera.
The additional aspect and advantage of the present invention will be set forth in part in the description, and will partly become from the following description Obviously, or practice through the invention is recognized.
Description of the drawings
The above-mentioned and/or additional aspect and advantage of the present invention is from combining in description of the following accompanying drawings to embodiment by change It obtains obviously and is readily appreciated that, wherein:
Fig. 1 is the flow diagram of the sampling method of embodiment of the present invention.
Fig. 2 is the high-level schematic functional block diagram of the electronic device of embodiment of the present invention.
Fig. 3 is the sampling schematic diagram of the preview image of embodiment of the present invention.
Fig. 4 is the schematic diagram of the front and back two frames sample image of embodiment of the present invention.
Fig. 5 is the schematic diagram that the sample interval of the sample image of embodiment of the present invention is gradually shortened.
Fig. 6 is the flow diagram of the sampling method of embodiment of the present invention.
Fig. 7 is the high-level schematic functional block diagram of the electronic device of embodiment of the present invention.
Fig. 8 is the flow diagram of the sampling method of embodiment of the present invention.
Fig. 9 is the high-level schematic functional block diagram of the electronic device of embodiment of the present invention.
Figure 10 is the flow diagram of the control method of embodiment of the present invention.
Specific implementation mode
Embodiments of the present invention are described further below in conjunction with attached drawing.Same or similar label is from beginning in attached drawing To the same or similar element of expression or element with the same or similar functions eventually.
- 4 are please referred to Fig.1, the sampling method of embodiment of the present invention can be applied to imaging device 200, and imaging device 200 is used In shooting to obtain preview image 210.The sampling method of embodiment of the present invention may include following steps:
S1 extracts preview image 210 using as sample image 230 with sample interval;
S2, judges whether the diversity factor between front and back two frame sample images 230 is greater than or equal to predetermined difference degree;
S3 shortens sample interval when diversity factor is spent more than or equal to predetermined difference and return to step 1 and step 2 is straight It is less than predetermined difference degree to diversity factor;And
S4 obtains current sample time interval and as reference time.
Referring to Fig. 2, the sampling method of embodiment of the present invention can be real by the sampler 110 of embodiment of the present invention It is existing.Sampler 110 includes sampling module 111, judgment module 113, shortens module 115 and the first acquisition module 117.Sampling side Method can be applied to the control method of embodiment of the present invention, and correspondingly, sampler 110 can be applied to embodiment of the present invention Control device 100 and electronic device 1000.Control device 100 may include that control module 130, control module 130 can be according to references Time obtains the time for exposure to control the exposure of imaging device 200.
The sampler 110 or control device 100 of embodiment of the present invention can be integrated in electronic device 1000, can also It is to be external in 1000 main body of electronic device as independent equipment.It is integrated in electronic device 1000, makes 1000 structure of electronic device Compact, function is more rich, and user uses more convenient.As external equipment, can flexibly be taken from different electronic devices 1000 Match, to promote the shooting performance of different electronic devices 1000.
Wherein, step S1 can be realized by sampling module 111, and step S2 can be realized that step S3 can be by contracting by judgment module 113 Short module 115 realizes that step S4 can be realized by the first acquisition module 117.
That is, sampling module 111 can be used for extracting preview image 210 using as sample image with sample interval 230;Judgment module 113 can be used for for judging it is pre- whether the diversity factor between front and back two frames sample image 230 is greater than or equal to Determine diversity factor;Shorten module 115 and can be used for shortening when diversity factor is spent more than or equal to predetermined difference sample interval with weight New sample drawn image 230 is until diversity factor is less than predetermined difference degree;First acquisition module 117 can be used for obtaining diversity factor and be less than The sample interval of predetermined difference degree and as reference time.
Reference time can be used to reference to the suitable time for exposure is arranged.Reference time has certain positive with the time for exposure Pass relationship, alternatively, reference time is the time for exposure in some embodiments.
Referring to Fig. 3, preview image 210 can be the preview that imaging device 200 is obtained by internal imaging sensor Image 210, preview image 210 generally obtain at predetermined intervals.It in embodiments of the present invention, can be between this time Every the sample interval of integral multiple extract preview image 210 and as sample image 230.Such as preview image 210 Time interval is 0.05 second, i.e., frame per second is 20Hz, if sample interval is 0.25 second, i.e. frame per second is 4Hz, that is, every 5 Preview image 210 extracts 1 preview image 210 and is used as sample image 230.
Then it can determine whether the diversity factor between front and back two frames sample image 230 is greater than or equal to predetermined difference degree, such as Judge the diversity factor being separated by between 0.25 second adjacent two frames sample image 230.Sample drawn image 230 and when obtaining its sampling Between the purpose that is spaced can be that the suitable time for exposure is obtained according to sample interval.If diversity factor is greater than or equal to predetermined Diversity factor, if illustrating, the image taken using this sample interval as the time for exposure is had moving state tracks and seems fuzzy, It is exactly that image meeting " flower " is fallen, therefore should shorten sample interval and be attempted again.
Referring to Fig. 4, diversity factor refers to the size of front and back two frames sample image, 230 difference, in general, if shot when shooting Object 250 is moved with fast speed or imaging device 200 is shaken with faster speed, is easy to cause front and back two frames sample image 230 Diversity factor it is big, also just need to be imaged with shorter Time Exposure.The change in location size of identification object 250 can be passed through To judge diversity factor, or the parameters such as brightness, colour temperature for comparing two frame sample images 230 change be turned to judge diversity factor according to According to etc..Such as comparing the front and back two frames sample image 230 of Fig. 4, the displacement distance of 250 face of object therein is larger, if moving Dynamic distance is more than certain threshold value, it is believed that diversity factor is more than predetermined difference degree.
It is sampled and judges by shortening sample interval repeatedly, finally obtaining makes front and back two frames sample image 230 Between diversity factor be just less than equal to predetermined difference degree sample interval, using this sample interval as when reference Between.Subsequently can be set according to this reference time the time for exposure, to obtain more visible image.
In some embodiments, step S3 gradually shortens sample interval with predetermined ratio.That is, each Predetermined ratio is multiplied by sample interval, exactly last sample interval.
So-called predetermined ratio can be the number more than 0 and less than 1 such as 1/2,1/5.The size of predetermined ratio, determines and takes The convergent speed speed of sample time interval.If referring to Fig. 5, for example, initial sample interval be 1 second, preview image 210 Time interval be 0.05 second, i.e., every 20 preview images 210 extract 1 and are used as sampled images, if predetermined ratio is 1/2, Sample interval next time is 1*1/2=0.5 seconds, i.e., every 10 preview images 210 extract one and are used as sampled picture, under Next then be 0.5*1/2=0.25 second, i.e., every 5 preview images 210 extract one and are used as sampled picture ....
The diversity factor for judging front and back two frame sample images 230 behind shortening sample interval every time, until diversity factor is less than No longer shorten sample interval when predetermined difference is spent.Such as when sample interval is 0.25 second, diversity factor satisfaction is less than The condition of predetermined difference degree then stops shortening, and with 0.25 second for reference time.It it is sample time using the benefit for the mode of multiplying is passed Interval convergence is very fast, therefore can relatively quickly find suitable reference time.
Certainly, not unlimitedly sample interval can be shortened.In some embodiments, step S3 is first Shorten sample interval within the scope of time interval, the lower limit of wherein first time interval range includes adjacent two frames preview image 210 time interval.
For example, in the example of the above embodiment, the time interval of preview image 210 is 0.05 second, and between sample time Every the time interval for being unable to preview image 210 certainly.Therefore when sample interval shortening 4 times, reach 1* (1/2)4= At 0.0625 second, if diversity factor is still unsatisfactory for the condition less than or equal to predetermined difference degree, also no longer shorten.It is not due to 0.0625 0.05 multiple, can use 0.05 second is sample interval, i.e., each 210 extraction of preview image is used as sample image 230.
By the way that lower limit is arranged, can avoid ceaselessly carrying out operation and sampling.
In addition to sample interval to be gradually multiplied by a ratio value to shorten, in other certain embodiments, also may be used By using in a manner of successively decreasing or the algorithm of other reductions.
What is inquired into embodiment of above is that gradually sample interval is contracted when initial sample interval is long It is short also to obtain suitable reference time.Then, sometimes initial sample interval is too short, can also gradually prolong sample time Length is to obtain suitable reference time.
Fig. 6-7 is please referred to, in some embodiments, sampling method includes the following steps upon step s 2:
S3a, when diversity factor is spent less than predetermined difference extend sample interval and return to step S1 and step S2 until Diversity factor is greater than or equal to predetermined difference degree.
Step S3a can be realized by the extension module 116 of the sampler 110 of certain embodiments, that is to say, that extend mould Block 116 be used to extend when diversity factor is spent less than predetermined difference sample interval and again sample drawn image 230 up to poor Different degree is greater than or equal to predetermined difference degree.
If diversity factor is less than predetermined difference degree, illustrate that exposure is can to obtain clearly using this diversity factor as the time for exposure Image, but the time for exposure is too short, it is possible to cause the light-inletting quantity of imaging sensor insufficient and makes the brightness of image not enough or make an uproar Point is more.Therefore sample interval can be appropriately extended to obtain meeting diversity factor less than predetermined difference degree condition while light-inletting quantity The sufficient time for exposure.
Fig. 8-9 is please referred to, in some embodiments, sampling method includes after step S3a:
S4a obtains the sample interval before this step S3a as reference time.
Wherein step S4a can realize by the second acquisition module 118 of the sampler 110 of certain embodiments, i.e., second Acquisition module 118 for obtain diversity factor be less than and closest to the corresponding sample interval of predetermined difference degree as reference when Between.
That is, finally obtaining corresponding sample interval of the diversity factor more than or equal to predetermined difference degree as ginseng It is inappropriate according to the time, if because diversity factor is greater than or equal to predetermined difference degree and means to expose meeting with this sample interval Obtain fuzzy image.Therefore the corresponding diversity factor before selecting this sample interval to be extended is less than taking for predetermined difference degree Sample time interval.
For example, the time interval of preview image 210 is 0.05 second, i.e., frame number is 20Hz, and initial sample time interval is 0.05 second, with 2 times of prearranged multiple extension sample intervals, i.e., obtain successively 0.1 second, 0.2 second, sampling in 0.4 second ... ... when Between be spaced.If when sample interval is 0.4 second, the diversity factor of just front and back two frame sample images 230 is greater than or equal to Predetermined difference degree should then take 0.2 second, that is, meet corresponding diversity factor less than between the longest sample time of predetermined difference degree Every for reference time.
In the sampling method of certain embodiments, step S3a extends sample interval with prearranged multiple.
Sample interval is passed using predetermined total number as multiplier and is multiplied.Example as described above in embodiment in example 2 Extend sample interval as prearranged multiple again.By the way of passing and multiplying, sample interval amplification is very fast, therefore can be very fast Suitable sample interval is found fastly as reference time.
If however, corresponding difference value always be less than predetermined difference value, also can not indefinite extension sample interval. In certain embodiments, step S3a extends sample interval within the scope of the second time interval.Second time interval range The upper limit includes system default time interval.
System default time interval can be sampler 110 or the preset time interval of 200 internal system of imaging device. If such as sample interval reaches corresponding diversity factor when system default time interval and no longer prolongs still less than predetermined difference degree Long sample interval, but directly using system default time interval as reference time to obtain the time for exposure.
Or the upper limit of the second time interval range of setting, that is, maximum sample time can also be inputted according to user Interval.I.e. in some embodiments, sampling method may include:
S5 inputs the upper limit of the second time interval range of setting according to user.
Step S5 can be realized that is, (figure is not for setup module by the setup module of the sampler 110 in certain embodiments Show) for inputting the upper limit that the second time interval range is arranged according to user.
In this way, the upper limit of the second time interval range can be independently arranged in user, it can thus adjust sampler 110 and obtain ginseng According to the time length of time, user experience can be promoted.
To sum up, by the way that the upper limit of the second time interval range is arranged, make sampling method and sampler 110 will not be without limitation Ground extends sample interval.
Also referring to Figure 10 and Fig. 2, the control method of embodiment of the present invention can be wrapped for controlling imaging device 200 Include the sampling method in the above embodiment;And
The time for exposure is arranged according to reference time to control the exposure of imaging device 200 in S6.
The control method of embodiment of the present invention is realized, control device by the control device 100 of embodiment of the present invention 100 include the sampler 110 of control module 130 and embodiment of the present invention.
Wherein, control module 130 is used to that the time for exposure to be arranged according to reference time to control the exposure of imaging device 200.
In this way, the suitable time for exposure can be obtained according to reference time, so that in exposure process, the dynamic that scene occurs becomes Change negligible, the moving state tracks that can be obviously identified to make the image shot not have, and clarity is higher.
Also referring to Fig. 2, the electronic device 1000 of embodiment of the present invention may include imaging device 200 and above-mentioned implementation The control device 100 of mode.
In some embodiments, electronic device 1000 can be mobile phone, tablet computer or digital camera etc..
The not deployed other parts of the control method and device of embodiment of the present invention, electronic device 1000, can join more than The sampling method of embodiment and the corresponding part of device, are no longer developed in details herein.
In addition, the embodiments of the present invention described below in conjunction with the accompanying drawings are exemplary, it is only used for explaining the present invention's Embodiment, and be not considered as limiting the invention.
In the description of the present invention, it is to be understood that, term "center", " longitudinal direction ", " transverse direction ", " length ", " width ", " thickness ", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom" "inner", "outside", " up time The orientation or positional relationship of the instructions such as needle ", " counterclockwise ", " axial direction ", " radial direction ", " circumferential direction " be orientation based on ... shown in the drawings or Position relationship is merely for convenience of description of the present invention and simplification of the description, and does not indicate or imply the indicated device or element must There must be specific orientation, with specific azimuth configuration and operation, therefore be not considered as limiting the invention.
In addition, term " first ", " second " are used for description purposes only, it is not understood to indicate or imply relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include one or more this feature.In the description of the present invention, the meaning of " plurality " is two or more, unless separately There is clearly specific restriction.
In the present invention unless specifically defined or limited otherwise, term " installation ", " connected ", " connection ", " fixation " etc. Term shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or integral;Can be that machinery connects It connects, can also be electrical connection;It can be directly connected, can also can be indirectly connected through an intermediary in two elements The interaction relationship of the connection in portion or two elements.It for the ordinary skill in the art, can be according to specific feelings Condition understands the concrete meaning of above-mentioned term in the present invention.
In the present invention unless specifically defined or limited otherwise, fisrt feature can be with "above" or "below" second feature It is that the first and second features are in direct contact or the first and second features pass through intermediary mediate contact.Moreover, fisrt feature exists Second feature " on ", " top " and " above " but fisrt feature be directly above or diagonally above the second feature, or be merely representative of Fisrt feature level height is higher than second feature.Fisrt feature second feature " under ", " lower section " and " below " can be One feature is directly under or diagonally below the second feature, or is merely representative of fisrt feature level height and is less than second feature.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiments or example.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned Embodiment is changed, changes, replacing and modification.

Claims (16)

1. a kind of sampling method is applied to imaging device, which is characterized in that the imaging device is for shooting to obtain preview graph Picture;The sampling method includes:
Sampling procedure extracts the preview image using as sample image with sample interval;
Judgment step, judges whether the diversity factor between sample image described in front and back two frames is greater than or equal to predetermined difference degree;
Shorten step, shortens the sample interval when the diversity factor is spent more than or equal to the predetermined difference and return The sampling procedure and judgment step are until the diversity factor is less than the predetermined difference degree;
The first obtaining step after shortening step obtains presently described sample interval and as reference time;
Extend step, extends when the diversity factor is spent less than the predetermined difference and taken described in the sample interval and return Sample step and judgment step are until the diversity factor is greater than or equal to the predetermined difference degree;
The second obtaining step after extending step obtains this sample interval work extended before step For reference time.
2. sampling method as described in claim 1, which is characterized in that described in the shortening step is gradually shortened with predetermined ratio Sample interval.
3. sampling method as described in claim 1, which is characterized in that the shortening step is inside contracted in first time interval range The short sample interval;
The lower limit of the first time interval range includes the time interval of preview image described in adjacent two frame.
4. sampling method as described in claim 1, which is characterized in that the extension step extends the sampling with prearranged multiple Time interval.
5. sampling method as described in claim 1, which is characterized in that the extension step is prolonged within the scope of the second time interval The long sample interval;
The upper limit of the second time interval range includes system default time interval.
6. sampling method as claimed in claim 5, which is characterized in that the sampling method includes:
It is inputted according to user and the upper limit is set.
7. a kind of control method, for controlling imaging device, which is characterized in that including as claimed in any one of claims 1 to 6 Sampling method;And
The time for exposure is arranged according to the reference time to control the imaging device exposure in rate-determining steps.
8. a kind of sampler is applied to imaging device, which is characterized in that the imaging device is for shooting to obtain preview graph Picture;The sampler includes:
Sampling module, for extracting the preview image using as sample image with sample interval;
Judgment module, for judging whether the diversity factor between sample image described in front and back two frame is greater than or equal to predetermined difference Degree;
Shorten module, for shorten when the diversity factor is spent more than or equal to the predetermined difference sample interval with Again the sample image is extracted until the diversity factor is less than the predetermined difference degree;
The first acquisition module executed after the completion is executed shortening module, is less than the predetermined difference for obtaining the diversity factor Degree the sample interval and as reference time;
The sampler further includes extending module, and the extension module is used to be less than the predetermined difference degree in the diversity factor The sample image is simultaneously extracted again until the diversity factor is greater than or equal to described make a reservation in sample interval described in Shi Yanchang Diversity factor;
Sampler further includes executing the second acquisition module executed after the completion in extension module, and second acquisition module is used for Obtain the diversity factor be less than and closest to the corresponding sample interval of the predetermined difference degree as the reference when Between.
9. sampler as claimed in claim 8, which is characterized in that the shortening module with predetermined ratio for gradually being shortened The sample interval.
10. sampler as claimed in claim 8, which is characterized in that the shortening module is used in first time interval model Enclose the interior shortening sample interval;
The lower limit of the first time interval range includes the time interval of preview image described in adjacent two frame.
11. sampler as claimed in claim 8, which is characterized in that the extension module with prearranged multiple extend described in take Sample time interval.
12. sampler as claimed in claim 8, which is characterized in that the extension module is used in the second time interval model Enclose the interior extension sample interval;
The upper limit of the second time interval range includes system default time interval.
13. sampler as claimed in claim 12, which is characterized in that the sampler includes setup module, described to set It sets module and the upper limit is set for being inputted according to user.
14. a kind of control device, for controlling imaging device, which is characterized in that including control module and such as claim 8-13 Sampler described in any one;
The control module is used to that the time for exposure to be arranged according to the reference time to control the imaging device exposure.
15. a kind of electronic device, which is characterized in that including imaging device and control device as claimed in claim 14.
16. electronic device as claimed in claim 15, which is characterized in that the electronic device include mobile phone, tablet computer or Digital camera.
CN201610105611.1A 2016-02-25 2016-02-25 Sampling method, control method, sampler, control device and electronic device Active CN105704394B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610105611.1A CN105704394B (en) 2016-02-25 2016-02-25 Sampling method, control method, sampler, control device and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610105611.1A CN105704394B (en) 2016-02-25 2016-02-25 Sampling method, control method, sampler, control device and electronic device

Publications (2)

Publication Number Publication Date
CN105704394A CN105704394A (en) 2016-06-22
CN105704394B true CN105704394B (en) 2018-07-24

Family

ID=56222760

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610105611.1A Active CN105704394B (en) 2016-02-25 2016-02-25 Sampling method, control method, sampler, control device and electronic device

Country Status (1)

Country Link
CN (1) CN105704394B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109672819B (en) * 2018-12-10 2021-04-20 Oppo广东移动通信有限公司 Image processing method, image processing device, electronic equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1323135A (en) * 2000-04-04 2001-11-21 派克西姆公司 Method and equipment for using optimized exposure time in pictures collection
CN101715063A (en) * 2008-10-06 2010-05-26 宏达国际电子股份有限公司 Method for starting automatic focusing function and electronic device thereof
CN101872104A (en) * 2010-05-28 2010-10-27 中国科学院国家天文台 Intelligent solar flare data observation method
CN102843513A (en) * 2011-06-21 2012-12-26 三星电子株式会社 Camera apparatus and method of recognizing an object by using a camera

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1323135A (en) * 2000-04-04 2001-11-21 派克西姆公司 Method and equipment for using optimized exposure time in pictures collection
CN101715063A (en) * 2008-10-06 2010-05-26 宏达国际电子股份有限公司 Method for starting automatic focusing function and electronic device thereof
CN101872104A (en) * 2010-05-28 2010-10-27 中国科学院国家天文台 Intelligent solar flare data observation method
CN102843513A (en) * 2011-06-21 2012-12-26 三星电子株式会社 Camera apparatus and method of recognizing an object by using a camera

Also Published As

Publication number Publication date
CN105704394A (en) 2016-06-22

Similar Documents

Publication Publication Date Title
KR20180035899A (en) Dual Aperture Zoom Digital Camera User Interface
CN105320695B (en) Picture processing method and device
EP2030433B1 (en) Method and arrangement for processing records of imaging sensors, corresponding computer program, and corresponding computer-readable storage medium
CN111083380A (en) Video processing method, electronic equipment and storage medium
CN108024027A (en) Image processing equipment, image processing method and storage medium
CN106254780A (en) A kind of dual camera camera control method, photographing control device and terminal
WO2016107055A1 (en) Processing method and device for image splicing
CN105704394B (en) Sampling method, control method, sampler, control device and electronic device
CN107909539A (en) Image background weakening method, terminal and computer-readable recording medium
CN111835982B (en) Image acquisition method, image acquisition device, electronic device, and storage medium
CN107124551A (en) A kind of mobile terminal is taken pictures the method being automatically synthesized, storage device and mobile terminal
CN106412438A (en) Photographing parameter adjustment method and device
CN110740260A (en) shooting method, device and computer readable storage medium
CN104580913B (en) Continuous image shooting method and apparatus
CN113542610A (en) Shooting method, mobile terminal and storage medium
CN105391935B (en) The control method and electronic device of image capture unit
CN106650583B (en) Method for detecting human face, device and terminal device
CN105933614A (en) Photographing and camera shooting method and system
CN104573085A (en) Image retrieval method, image retrieval device and terminal
CN104735353B (en) A kind of method and device for the photo that pans
JP4178987B2 (en) Electronic camera
CN104268456B (en) A kind of method and device authenticated by image
CN111131709B (en) Preview mode preview image generation method, electronic device and storage medium
KR100822458B1 (en) Method and device for combining images using edge detection
CN105391941A (en) Photo processing method and apparatus

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
CP03 Change of name, title or address

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

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

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

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

CP03 Change of name, title or address