CN109274861A - Multiple image sensor switching method, corresponding terminal and storage medium - Google Patents

Multiple image sensor switching method, corresponding terminal and storage medium Download PDF

Info

Publication number
CN109274861A
CN109274861A CN201710580446.XA CN201710580446A CN109274861A CN 109274861 A CN109274861 A CN 109274861A CN 201710580446 A CN201710580446 A CN 201710580446A CN 109274861 A CN109274861 A CN 109274861A
Authority
CN
China
Prior art keywords
information
image sensor
brightness change
ambient brightness
imaging sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710580446.XA
Other languages
Chinese (zh)
Other versions
CN109274861B (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.)
Nanjing ZTE New Software Co Ltd
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201710580446.XA priority Critical patent/CN109274861B/en
Publication of CN109274861A publication Critical patent/CN109274861A/en
Application granted granted Critical
Publication of CN109274861B publication Critical patent/CN109274861B/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/45Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from two or more image sensors being of different type or operating in different modes, e.g. with a CMOS sensor for moving images in combination with a charge-coupled device [CCD] for still images
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • 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/63Control of cameras or camera modules by using electronic viewfinders
    • 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/71Circuitry for evaluating the brightness variation

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a kind of multiple image sensor switching method, corresponding terminal and storage mediums, to solve the problems, such as that existing multiple image sensor terminal carries out smoothly switching for imaging sensor in shooting or preview.The described method includes: acquiring ambient brightness information within preset each time cycle according to preset sample rate;According to the ambient brightness information, the ambient brightness change information in the time cycle is determined;According to the ambient brightness change information, in the multiple image sensor, selection imaging sensor progress preview is shown or shooting.

Description

Multiple image sensor switching method, corresponding terminal and storage medium
Technical field
The present invention relates to terminal applies field, more particularly to a kind of multiple image sensor switching method, corresponding terminal and Storage medium.
Background technique
Currently, many mobile terminal configuration double image sensors.The double image sensor of configuration has unique characteristic, right It is very big in different ambient light expressive ability difference, such as an imaging sensor is proper works in low illumination, it is another A shine for bloom has good analytic ability.
It is directed to more image photosensitive sensors in the prior art, is selected when entering camera, but enters after camera no longer Ambient light around being adapted to, therefore the not intelligence that seems.
Based on this, the treatment mechanism of the prior art is urgently improved, to be adapted to environment light and go forward side by side after entering camera Row intelligence switching.
Summary of the invention
In order to overcome drawbacks described above, the technical problem to be solved in the present invention is to provide a kind of multiple image sensor switching sides Method, corresponding terminal and storage medium carry out image sensing in shooting or preview to solve existing multiple image sensor terminal Device smoothly switches problem.
In order to solve the above technical problems, one of present invention multiple image sensor switching method, comprising:
According to preset sample rate, ambient brightness information is acquired within preset each time cycle;
According to the ambient brightness information, the ambient brightness change information in the time cycle is determined;
According to the ambient brightness change information, in the multiple image sensor, imaging sensor is selected to carry out preview Display or shooting.
In order to solve the above technical problems, the terminal of one of present invention multiple image sensor, including memory and processing Device;The memory is stored with multiple image sensor switching computer program, and the processor executes the computer program, with It performs the steps of
According to preset sample rate, ambient brightness information is acquired within preset each time cycle;
According to the ambient brightness information, the ambient brightness change information in the time cycle is determined;
According to the ambient brightness change information, in the multiple image sensor, imaging sensor is selected to carry out preview Display or shooting.
In order to solve the above technical problems, one of present invention computer readable storage medium, which is characterized in that described to deposit Storage media is stored with multiple image sensor switching computer program, when the computer program is executed by least one processor, With the step of realizing any one the method as above.
The present invention has the beneficial effect that:
Multiple image sensor switching method, corresponding terminal and storage medium in the present invention, by being adopted according to preset Sample rate acquires ambient brightness information within preset each time cycle;In the periodic knot for reaching each time cycle, according to The ambient brightness information determines the ambient brightness change information in the time cycle;Changed according to the ambient brightness and is believed Breath, in the multiple image sensor, selection imaging sensor progress preview is shown or shooting;To effectively solve existing more figures As what sensor terminal carried out imaging sensor in shooting or preview smoothly switches problem, and prevent the shake of extreme environment from cutting It changes.
Detailed description of the invention
Fig. 1 is a kind of flow chart of multiple image sensor switching method in the embodiment of the present invention;
Fig. 2 is the switching flow figure in the embodiment of the present invention in camera function module opening process;
Fig. 3 is the switching flow figure that camera function module has turned in the embodiment of the present invention;
Fig. 4 is the ambient brightness information respective function curve graph of one time cycle of embodiment of the present invention acquisition;
Fig. 5 is the curve graph of the ambient brightness information acquired in one time cycle of the embodiment of the present invention;
Fig. 6 is the pulse signal curve graph in the embodiment of the present invention in a time cycle;
Fig. 7 is Fig. 5 data by calculating adjacent absolute difference curve obtained figure;
Fig. 8 is handover mechanism model schematic in the embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram of multiple image sensor terminal in the embodiment of the present invention.
Specific embodiment
In order to solve problems in the prior art, the present invention provides a kind of multiple image sensor switching methods, corresponding terminal And storage medium is believed after opening camera according to the ambient brightness that opened imaging sensor detects Breath, is arranged a kind of accurate judgment mechanism of detection surrounding environment light, and comprehensive various detection informations design a set of adaptive take the photograph more As head (the corresponding imaging sensor of each camera) handover mechanism, smoother automatic switchover (selection) figure can achieve As sensor, and prevent the shake of extreme environment from switching.Switch the dynamic not only including preview when not taken pictures herein to cut It changes, while also the suitable imaging sensor of selection comprising taking pictures is taken pictures.Below in conjunction with attached drawing and embodiment, to this hair It is bright to be further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, does not limit The present invention.
Embodiment one
The embodiment of the present invention provides a kind of multiple image sensor switching method, which comprises
S101 acquires ambient brightness information according to preset sample rate within preset each time cycle;
S102 determines week time according to the ambient brightness information in the periodic knot for reaching each time cycle Ambient brightness change information in phase;
S103 in the multiple image sensor, selects imaging sensor to carry out according to the ambient brightness change information Preview shows or shoots.
Method is used for the terminal with multiple image sensor in the embodiment of the present invention.Wherein multiple image sensor is at least two A imaging sensor.Terminal can be mobile phone, personal digital assistant, tablet computer, camera etc..
The embodiment of the present invention within preset each time cycle by the way that it is bright to acquire environment according to preset sample rate Spend information;It is determined in the time cycle in the periodic knot for reaching each time cycle according to the ambient brightness information Ambient brightness change information;According to the ambient brightness change information, in the multiple image sensor, imaging sensor is selected Progress preview is shown or shooting;Image sensing is carried out in shooting or preview to effectively solve existing multiple image sensor terminal Device smoothly switches problem, and prevents the shake of extreme environment from switching.
It should be noted that in the embodiment of the present invention using for distinguishing element, parameter such as " first ", " the The prefixes such as two " itself do not have specific meaning only for being conducive to explanation of the invention.
On the basis of the above embodiments, it is further proposed that the variant embodiment of above-described embodiment, needs to illustrate herein It is, in order to make description briefly, the difference with above-described embodiment only to be described in each variant embodiment.
Wherein, the ambient brightness change information is brightness change parameter value;
Optionally, described according to the ambient brightness information, determine the ambient brightness change information in the time cycle; According to the ambient brightness change information, in the multiple image sensor, selection imaging sensor progress preview is shown or bat It takes the photograph, may include:
According to the ambient brightness information, the brightness change parameter value is determined;
According to the brightness change parameter value, in the multiple image sensor, selection and the brightness change parameter value Corresponding imaging sensor progress preview is shown or shooting.
Specifically, the brightness change parameter includes brightness change rising edge and brightness change failing edge;
It is described according to the ambient brightness information, determine the brightness change parameter value, may include
Within the time cycle, the determining and ambient brightness information respective pulses signal;
In the pulse signal, determine the brightness change rising edge the first quantity and the brightness change failing edge The second quantity.
Further, described within the time cycle, it is determining with the ambient brightness information respective pulses signal, it can be with Include:
According to the corresponding temporal information of each ambient brightness information, the ambient brightness letter acquired in the time cycle is determined The function that breath is constituted with temporal information;
To the function derivation, pulse signal is determined.
Optionally, the multiple image sensor includes the first imaging sensor and the second imaging sensor;First figure As the corresponding working environment brightness of sensor is less than the corresponding working environment brightness of second imaging sensor;
It is described according to the brightness change parameter value, in the multiple image sensor, selection with the brightness change join The corresponding imaging sensor progress preview of numerical value is shown or shooting, may include:
When first quantity is zero, and second quantity is greater than zero, the first image sensor is selected to carry out Preview or shooting;
When first quantity is greater than zero, and second quantity is zero, second imaging sensor is selected to carry out Preview or shooting.
Optionally, the multiple image sensor includes the first imaging sensor and the second imaging sensor;First figure As the corresponding working environment brightness of sensor is less than the corresponding working environment brightness of second imaging sensor;
It is described according to the brightness change parameter value, in the multiple image sensor, selection with the brightness change join The corresponding imaging sensor progress preview of numerical value is shown or shooting, may include:
When the difference of first quantity and second quantity is greater than the first preset threshold, and second quantity is less than When the second preset threshold, the first image sensor is selected to carry out preview or shooting;
When the difference of second quantity and first quantity is greater than first preset threshold, and first quantity When less than second preset threshold, second imaging sensor is selected to carry out preview or shooting.
Optionally, ambient brightness information is obtained;According to the ambient brightness information of acquisition, the sample rate is set;Alternatively, connecing The sampling rate information for receiving user setting sets the sample rate according to the sampling rate information;
According to the sample rate of setting, the time cycle is set.
Illustrate the present invention embodiment.
As shown in Fig. 2, camera (camera function module) opening procedure includes: in embodiments of the present invention
Step 11, when camera is opened, by photosensitive sensors, the brightness data of current environment is read;
Step 12, suitable images are selected to sense from one group of imaging sensor according to the brightness data for reading current environment Device;
Step 13, the imaging sensor live preview based on selection is shown.Certain such situation can pass all images Preview is opened and exported to sensor, can also only open that imaging sensor output preview chosen.Pay attention to opening multiple images Sensor, but actually preview shows and only exports one of them.
As shown in figure 3, after camera opening, comprising:
Step 21, luminance information is inputted.It specifically includes:
1) by photosensitive sensors or imaging sensor, according in the T seconds time before certain sample rate acquisition current time Ambient brightness, every a period of time T second judge whether starting switching;
Period of time T value depends on the sampling frequency to luminance signal of photosensitive sensors or imaging sensor herein Rate, if frequency acquisition is greater than 10 times/second, it is proposed that T value was at 3 seconds or so;
It is such as long as detecting that light sensation variation determines whether switching camera if frequency acquisition is lower than 0.5 time/second Situation device is also unsatisfactory for actually using.
Other situations, it is proposed that T value was at 6 seconds or so;
According to relationship between the time of acquisition and corresponding luminance information data, the ring acquired in each time cycle is determined The function F (t) that border luminance information and temporal information are constituted is as shown in Figure 4.
According to 10 data of acquisition per second, acquisition time cycle T is that 5 seconds sampled data figures are as shown in Figure 5.
In other words, the sample rate in this example can be preset by two ways:
For example, setting the sample rate according to the ambient brightness information of acquisition.
For another example, the sampling rate information for receiving user setting sets the sample rate according to the sampling rate information.
Also, the time cycle is further arranged according to the sample rate of setting.For example, being improved when sample rate reduces Time cycle.
Mode is in this example by adjusting the sample rate, at the same according to sample rate be arranged the time cycle can with obtain performance with The balance of effect.
2) design brightness testing mechanism judges whether starting switching every a period of time T second;
Its difference is calculated to F (t), is equivalent to derivation process.
As shown in fig. 6, pulse signal reflects the situation of change of surrounding brightness.
For the ease of control, calculate the previous period of time T of current point in time in brightness data variation, need count with Lower information: brightness change rising edge number RISE_EDGE;Brightness change failing edge number FALL_EDGE;For brightness change Condition is: when adjacent brightness difference | diff | > DIFF_THR thinks that ambient brightness is changed.DIFF_THR is pre- It is related (light sensation range) with the characteristic of photosensitive sensors if data, it can analyze to obtain by acquiring mass data.
Fig. 7 is Fig. 5 data by calculating adjacent absolute difference curve obtained, sets DIFF_THR=100, then Fig. 7 data There are two continuous rising edges, it is believed that switching can be performed in ambient brightness increment at this time.
3) if brightness change meets condition, it is also necessary to detect sensor (imaging sensor) switching execution condition: including Whether set out and takes pictures;Whether flash lamp is enabled;Whether pattern switching is performed.
Step 22, basic handover mechanism model is arranged according to information above, chooses suitable imaging sensor live preview It shows or takes pictures.Wherein, basic handover mechanism model is as shown in Figure 8, comprising:
Step 31, it in time cycle node, detects whether that trigger flashing lamp or execution is needed to take pictures or exit intelligent switching State
Step 32, if so, not executing switching, when period of time T, step 31 is executed.
Step 33, if it is not, obtaining the luminance information running parameter in current time period.
Step 34, judge whether RISE_EDGE=0 and FALL_EDGE > 0, if so, executing step 35;If it is not, executing step Rapid 36.
Step 35, it is switched to sensor1, when period of time T, executes step 31.
Step 36, judge whether RISE_EDGE > 0 and FALL_EDGE=0, if executing step 37;If it is not, executing step 38。
Step 37, it is switched to sensor2, when period of time T, executes step 31.Wherein, sensor1 (the first image Sensor) proper work and low illumination, sensor2 (the second imaging sensor) is for bloom according to there is parsing energy well Power.
Step 38, judge whether RISE_EDGE-FALL_EDGE>THR1 (the first preset threshold), and FALL_EDGE< THR2 (the second preset threshold), if so, executing step 37;If it is not, executing step 39.
Step 39, judge whether FALL_EDGE-RISE_EDGE>THR1 (the first preset threshold), and RISE_EDGE< THR2 (the second preset threshold), if executing step 35;If it is not, executing step 32.Wherein, THR1 and THR2 is both greater than 0, such as THR1 value 100 or 200 lumens.
The embodiment of the present invention can effectively guarantee smoothly switching between imaging sensor, effectively solve accidental by environment Light sensation variation influence caused by sham cut change, effectively solve the phenomenon that toggling.
Embodiment two
As shown in figure 9, the embodiment of the present invention provides a kind of multiple image sensor terminal, the terminal includes 90 He of memory Processor 92;The memory 90 is stored with multiple image sensor switching computer program, and the processor 90 executes the meter Calculation machine program, to perform the steps of
According to preset sample rate, ambient brightness information is acquired within preset each time cycle;
It is determined in the time cycle in the periodic knot for reaching each time cycle according to the ambient brightness information Ambient brightness change information;
According to the ambient brightness change information, in the multiple image sensor, imaging sensor is selected to carry out preview Display or shooting.
The embodiment of the present invention within preset each time cycle by the way that it is bright to acquire environment according to preset sample rate Spend information;It is determined in the time cycle in the periodic knot for reaching each time cycle according to the ambient brightness information Ambient brightness change information;According to the ambient brightness change information, in the multiple image sensor, imaging sensor is selected Progress preview is shown or shooting;Image sensing is carried out in shooting or preview to effectively solve existing multiple image sensor terminal Device smoothly switches problem, and prevents the shake of extreme environment from switching.
Multiple image sensor terminal is to have the terminal of multiple image sensor in the embodiment of the present invention.Wherein image sensing The quantity of device is at least 2.
Optionally, the ambient brightness change information is brightness change parameter value;
It is described according to the ambient brightness information, determine the ambient brightness change information in the time cycle;According to institute Ambient brightness change information is stated, in the multiple image sensor, selection imaging sensor progress preview is shown or shooting, packet It includes:
According to the ambient brightness information, the brightness change parameter value is determined;
According to the brightness change parameter value, in the multiple image sensor, selection and the brightness change parameter value Corresponding imaging sensor progress preview is shown or shooting.
Specifically, the brightness change parameter includes brightness change rising edge and brightness change failing edge;
It is described that the brightness change parameter value is determined according to the ambient brightness information, including
Within the time cycle, the determining and ambient brightness information respective pulses signal;
In the pulse signal, determine the brightness change rising edge the first quantity and the brightness change failing edge The second quantity.
Specifically, described within the time cycle, the determining and ambient brightness information respective pulses signal, comprising:
According to the corresponding temporal information of each ambient brightness information, the ambient brightness letter acquired in the time cycle is determined The function that breath is constituted with temporal information;
To the function derivation, pulse signal is determined.
Wherein, the multiple image sensor includes the first imaging sensor and the second imaging sensor;The first image The corresponding working environment brightness of sensor is less than the corresponding working environment brightness of second imaging sensor;
Optionally, described according to the brightness change parameter value, in the multiple image sensor, selection and the brightness The corresponding imaging sensor progress preview of running parameter value is shown or shooting, may include:
When first quantity is zero, and second quantity is greater than zero, the first image sensor is selected to carry out Preview or shooting;
When first quantity is greater than zero, and second quantity is zero, second imaging sensor is selected to carry out Preview or shooting;
Optionally, described according to the brightness change parameter value, in the multiple image sensor, selection and the brightness The corresponding imaging sensor progress preview of running parameter value is shown or shooting, may include:
When the difference of first quantity and second quantity is greater than the first preset threshold, and second quantity is less than When the second preset threshold, the first image sensor is selected to carry out preview or shooting;
When the difference of second quantity and first quantity is greater than first preset threshold, and first quantity When less than second preset threshold, second imaging sensor is selected to carry out preview or shooting.
By taking postposition dual camera adds the terminal of photosensitive sensors as an example, the embodiment of the present invention is further sketched.
1, camera opening procedure.
Camera opening procedure can only utilize photosensitive sensors due to being unable to get the luminance information of imaging sensor at this time Information, tentatively prejudged, select suitable imaging sensor, detailed process is as shown in Figure 2.
2, camera has already turned on.
Detailed process is as shown in Figure 3.That is, can hold very much at this time after camera (photographing module in terminal) is opened Easily get the luminance information of each imaging sensor, in practical operation, the luminance information of imaging sensor is more accurate.At this time It is corrected in real time according to the luminance information of each imaging sensor of acquisition, chooses suitable imaging sensor progress data and obtain It takes, basic realization principle is as follows:
For current embodiment, need to detect rgb light propagated sensation sensor or the brightness detection data of work at present sensor, This makees following operation for sentencing the brightness detection data for obtaining work at present sensor:
1) every period of time T of crossing judges whether starting switching;
Period of time T value depends on the sampling frequency to luminance signal of photosensitive sensors or imaging sensor herein Rate, if frequency acquisition is greater than 10 times/second, it is proposed that T value was at 3 seconds or so;
It is such as long as detecting that light sensation variation determines whether switching camera if frequency acquisition is lower than 0.5 time/second Situation device is also unsatisfactory for actually using.
Other situations, it is proposed that T value was at 6 seconds or so;In other words, described according to preset sample rate, default Each time cycle in acquisition ambient brightness information before, can also include:
Obtain ambient brightness information;According to the ambient brightness information of acquisition, the sample rate is set;Alternatively, receiving user The sampling rate information of setting sets the sample rate according to the sampling rate information;
According to the sample rate of setting, the time cycle is set.
2) according to the ambient brightness in T time before certain sample rate acquisition current time, and the brightness in the time is analyzed Information, it is determined whether execute sensor switching;
3) current execution condition is detected, includes whether to set out and take pictures;Whether flash lamp is enabled;Mode whether is performed to cut It changes.
4) it is switched over according to model as shown in Figure 8.
Wherein Fig. 2, Fig. 3 and Fig. 8 detailed process have been described in example 1, and details are not described herein again.
Embodiment three
The embodiment of the present invention provides a kind of computer readable storage medium, and the storage medium is stored with multiple image sensor Switching computer program, when the computer program is executed by least one processor, to realize as any one in embodiment one The step of item the method.
The embodiment of the present invention and embodiment two are in specific implementation refering to embodiment one, and this will not be repeated here.
Computer readable storage medium can be RAM memory, flash memory, ROM memory, EPROM in the embodiment of the present invention Memory, eeprom memory, register, hard disk, mobile hard disk, CD-ROM or any other form known in the art Storage medium.A kind of storage medium lotus root can be connected to processor, thus enable a processor to from the read information, And information can be written to the storage medium;Or the storage medium can be the component part of processor.Processor and storage are situated between Matter can be located in specific integrated circuit.
Although those skilled in the art can not depart from the present invention generally This application describes particular example of the invention Variant of the invention is designed on the basis of thought.Those skilled in the art are not taking off under the inspiration that the technology of the present invention is conceived On the basis of the content of present invention, various improvement can also be made to the present invention, this still falls within the scope and spirit of the invention.

Claims (15)

1. a kind of multiple image sensor switching method, which is characterized in that the described method includes:
According to preset sample rate, ambient brightness information is acquired within preset each time cycle;
According to the ambient brightness information, the ambient brightness change information in the time cycle is determined;
According to the ambient brightness change information, in the multiple image sensor, selects imaging sensor to carry out preview and show Or shooting.
2. the method as described in claim 1, which is characterized in that the ambient brightness change information is brightness change parameter value;
It is described according to the ambient brightness information, determine the ambient brightness change information in the time cycle;According to the ring Border brightness change information, in the multiple image sensor, selection imaging sensor progress preview is shown or shooting, comprising:
According to the ambient brightness information, the brightness change parameter value is determined;
According to the brightness change parameter value, in the multiple image sensor, select corresponding with the brightness change parameter value Imaging sensor carry out preview and show or shooting.
3. method according to claim 2, which is characterized in that the brightness change parameter includes brightness change rising edge and bright Degree variation failing edge;
It is described that the brightness change parameter value is determined according to the ambient brightness information, including
Within the time cycle, the determining and ambient brightness information respective pulses signal;
In the pulse signal, determine the brightness change rising edge the first quantity and the brightness change failing edge Two quantity.
4. method as claimed in claim 3, which is characterized in that described within the time cycle, determination is bright with the environment Spend information respective pulses signal, comprising:
According to the corresponding temporal information of each ambient brightness information, determine the ambient brightness information that is acquired in the time cycle with The function that temporal information is constituted;
To the function derivation, pulse signal is determined.
5. method as claimed in claim 3, which is characterized in that the multiple image sensor includes the first imaging sensor and the Two imaging sensors;It is corresponding that the corresponding working environment brightness of the first image sensor is less than second imaging sensor Working environment brightness;
It is described according to the brightness change parameter value, in the multiple image sensor, selection with the brightness change parameter value Corresponding imaging sensor progress preview is shown or shooting, comprising:
When first quantity is zero, and second quantity is greater than zero, the first image sensor is selected to carry out preview Or shooting;
When first quantity is greater than zero, and second quantity is zero, second imaging sensor is selected to carry out preview Or shooting.
6. method as claimed in claim 3, which is characterized in that the multiple image sensor includes the first imaging sensor and the Two imaging sensors;It is corresponding that the corresponding working environment brightness of the first image sensor is less than second imaging sensor Working environment brightness;
It is described according to the brightness change parameter value, in the multiple image sensor, selection with the brightness change parameter value Corresponding imaging sensor progress preview is shown or shooting, comprising:
When the difference of first quantity and second quantity is greater than the first preset threshold, and second quantity is less than second When preset threshold, the first image sensor is selected to carry out preview or shooting;
When the difference of second quantity and first quantity is greater than first preset threshold, and first quantity is less than When second preset threshold, second imaging sensor is selected to carry out preview or shooting.
7. the method as described in any one of claim 1-6, which is characterized in that it is described according to preset sample rate, Within preset each time cycle before acquisition ambient brightness information, further includes:
Obtain ambient brightness information;According to the ambient brightness information of acquisition, the sample rate is set;Alternatively, receiving user setting Sampling rate information the sample rate is set according to the sampling rate information;
According to the sample rate of setting, the time cycle is set.
8. a kind of multiple image sensor terminal, which is characterized in that the terminal includes memory and processor;The memory is deposited Multiple image sensor switching computer program is contained, the processor executes the computer program, to perform the steps of
According to preset sample rate, ambient brightness information is acquired within preset each time cycle;
According to the ambient brightness information, the ambient brightness change information in the time cycle is determined;
According to the ambient brightness change information, in the multiple image sensor, selects imaging sensor to carry out preview and show Or shooting.
9. terminal as claimed in claim 8, which is characterized in that the ambient brightness change information is brightness change parameter value;
It is described according to the ambient brightness information, determine the ambient brightness change information in the time cycle;According to the ring Border brightness change information, in the multiple image sensor, selection imaging sensor progress preview is shown or shooting, comprising:
According to the ambient brightness information, the brightness change parameter value is determined;
According to the brightness change parameter value, in the multiple image sensor, select corresponding with the brightness change parameter value Imaging sensor carry out preview and show or shooting.
10. terminal as claimed in claim 9, which is characterized in that the brightness change parameter include brightness change rising edge and Brightness change failing edge;
It is described that the brightness change parameter value is determined according to the ambient brightness information, including
Within the time cycle, the determining and ambient brightness information respective pulses signal;
In the pulse signal, determine the brightness change rising edge the first quantity and the brightness change failing edge Two quantity.
11. terminal as claimed in claim 10, which is characterized in that described within the time cycle, the determining and environment Luminance information respective pulses signal, comprising:
According to the corresponding temporal information of each ambient brightness information, determine the ambient brightness information that is acquired in the time cycle with The function that temporal information is constituted;
To the function derivation, pulse signal is determined.
12. terminal as claimed in claim 10, which is characterized in that the multiple image sensor include the first imaging sensor and Second imaging sensor;The corresponding working environment brightness of the first image sensor is corresponding less than second imaging sensor Working environment brightness;
It is described according to the brightness change parameter value, in the multiple image sensor, selection with the brightness change parameter value Corresponding imaging sensor progress preview is shown or shooting, comprising:
When first quantity is zero, and second quantity is greater than zero, the first image sensor is selected to carry out preview Or shooting;
When first quantity is greater than zero, and second quantity is zero, second imaging sensor is selected to carry out preview Or shooting.
13. terminal as claimed in claim 10, which is characterized in that the multiple image sensor include the first imaging sensor and Second imaging sensor;The corresponding working environment brightness of the first image sensor is corresponding less than second imaging sensor Working environment brightness;
It is described according to the brightness change parameter value, in the multiple image sensor, selection with the brightness change parameter value Corresponding imaging sensor progress preview is shown or shooting, comprising:
When the difference of first quantity and second quantity is greater than the first preset threshold, and second quantity is less than second When preset threshold, the first image sensor is selected to carry out preview or shooting;
When the difference of second quantity and first quantity is greater than first preset threshold, and first quantity is less than When second preset threshold, second imaging sensor is selected to carry out preview or shooting.
14. the terminal as described in any one of claim 8-13, which is characterized in that described according to preset sampling Rate, within preset each time cycle before acquisition ambient brightness information, further includes:
Obtain ambient brightness information;According to the ambient brightness information of acquisition, the sample rate is set;Alternatively, receiving user setting Sampling rate information the sample rate is set according to the sampling rate information;
According to the sample rate of setting, the time cycle is set.
15. a kind of computer readable storage medium, which is characterized in that the storage medium is stored with multiple image sensor switching meter Calculation machine program, when the computer program is executed by least one processor, to realize such as any one of claim 1-7 institute The step of stating method.
CN201710580446.XA 2017-07-17 2017-07-17 Multi-image sensor switching method, corresponding terminal and storage medium Active CN109274861B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710580446.XA CN109274861B (en) 2017-07-17 2017-07-17 Multi-image sensor switching method, corresponding terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710580446.XA CN109274861B (en) 2017-07-17 2017-07-17 Multi-image sensor switching method, corresponding terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109274861A true CN109274861A (en) 2019-01-25
CN109274861B CN109274861B (en) 2020-11-03

Family

ID=65147832

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710580446.XA Active CN109274861B (en) 2017-07-17 2017-07-17 Multi-image sensor switching method, corresponding terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109274861B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654609A (en) * 2020-06-12 2020-09-11 杭州海康威视数字技术股份有限公司 Control method for realizing low power consumption of camera and camera
CN112165577A (en) * 2020-09-27 2021-01-01 展讯通信(上海)有限公司 Light source control method and device of multi-light source camera equipment, medium and terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212568A (en) * 2006-12-27 2008-07-02 索尼株式会社 Imaging apparatus
CN101622859A (en) * 2007-03-05 2010-01-06 恩益禧电子股份有限公司 Imaging device and flicker detection method
CN102480593A (en) * 2010-11-25 2012-05-30 杭州华三通信技术有限公司 Double-lens video camera switching method and device
US20140333824A1 (en) * 2012-05-18 2014-11-13 Huawei Device Co., Ltd. Method for Automatically Switching Terminal Focus Mode and Terminal
CN104601874A (en) * 2013-10-31 2015-05-06 索尼公司 Control method and control device for working mode as well as electronic equipment
CN205545391U (en) * 2016-01-20 2016-08-31 马鞍山市示范生产力促进中心有限公司 Two camera smart mobile phones

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212568A (en) * 2006-12-27 2008-07-02 索尼株式会社 Imaging apparatus
CN101622859A (en) * 2007-03-05 2010-01-06 恩益禧电子股份有限公司 Imaging device and flicker detection method
CN102480593A (en) * 2010-11-25 2012-05-30 杭州华三通信技术有限公司 Double-lens video camera switching method and device
US20140333824A1 (en) * 2012-05-18 2014-11-13 Huawei Device Co., Ltd. Method for Automatically Switching Terminal Focus Mode and Terminal
CN104601874A (en) * 2013-10-31 2015-05-06 索尼公司 Control method and control device for working mode as well as electronic equipment
CN205545391U (en) * 2016-01-20 2016-08-31 马鞍山市示范生产力促进中心有限公司 Two camera smart mobile phones

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654609A (en) * 2020-06-12 2020-09-11 杭州海康威视数字技术股份有限公司 Control method for realizing low power consumption of camera and camera
CN111654609B (en) * 2020-06-12 2021-10-26 杭州海康威视数字技术股份有限公司 Control method for realizing low power consumption of camera and camera
CN112165577A (en) * 2020-09-27 2021-01-01 展讯通信(上海)有限公司 Light source control method and device of multi-light source camera equipment, medium and terminal
CN112165577B (en) * 2020-09-27 2022-01-04 展讯通信(上海)有限公司 Light source control method and device of multi-light source camera equipment, medium and terminal

Also Published As

Publication number Publication date
CN109274861B (en) 2020-11-03

Similar Documents

Publication Publication Date Title
KR101944630B1 (en) System and method for processing video content based on emotional state detection
JP4196714B2 (en) Digital camera
KR101539043B1 (en) Image photography apparatus and method for proposing composition based person
EP2458846B1 (en) Image pickup apparatus that automatically determines shooting mode most suitable for shooting scene, control method therefor, and storage medium
TWI295027B (en) Method for adjusting operating frequency of an optical input device according to reference frame changes
JP2004320286A (en) Digital camera
US9253406B2 (en) Image capture apparatus that can display review image, image capture method, and storage medium
CN103261939A (en) Image capture device and primary photographic subject recognition method
US9041828B2 (en) Imaging apparatus, imaging method, image processing apparatus, and image processing method for a set execution condition
US20210176405A1 (en) Electronic device, controller device, and control method
CN109274861A (en) Multiple image sensor switching method, corresponding terminal and storage medium
US10129486B2 (en) Image capturing apparatus, control method therefor, and storage medium
CN108521862A (en) Method and apparatus for track up
JP2004320284A (en) Digital camera
US9214193B2 (en) Processing apparatus and method for determining and reproducing a number of images based on input path information
JP5370555B2 (en) Imaging apparatus, imaging method, and program
US6549729B1 (en) Camera that operates in accordance with the speed requirements of the photographer
CN115862081A (en) Image acquisition method, device, equipment and computer readable storage medium
WO2020170705A1 (en) Imaging device, electronic equipment, and imaging method
KR100910361B1 (en) Exposure of digital imaging
JP2007215086A (en) Camera capable of taking moving picture
RU2814199C2 (en) Method of determining degree of human eye closure, method of controlling eye, apparatus, device and data medium
US20160261789A1 (en) Method for independently determining exposure and focus settings of a digital camera
JP2010034686A (en) Digital camera
JP6631649B2 (en) Imaging device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200911

Address after: 210012 Nanjing, Yuhuatai District, South Street, Bauhinia Road, No. 68

Applicant after: Nanjing Zhongxing New Software Co.,Ltd.

Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Applicant before: ZTE Corp.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant