CN109274861B - Multi-image sensor switching method, corresponding terminal and storage medium - Google Patents

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

Info

Publication number
CN109274861B
CN109274861B CN201710580446.XA CN201710580446A CN109274861B CN 109274861 B CN109274861 B CN 109274861B CN 201710580446 A CN201710580446 A CN 201710580446A CN 109274861 B CN109274861 B CN 109274861B
Authority
CN
China
Prior art keywords
image sensor
information
brightness
time period
selecting
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
CN201710580446.XA
Other languages
Chinese (zh)
Other versions
CN109274861A (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
Nanjing ZTE New Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing ZTE New Software Co Ltd filed Critical Nanjing ZTE New Software Co Ltd
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

Images

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

Abstract

The invention discloses a multi-image sensor switching method, a corresponding terminal and a storage medium, which are used for solving the problem of smooth switching of image sensors when the conventional multi-image sensor terminal is used for shooting or previewing. The method comprises the following steps: acquiring ambient brightness information in each preset time period according to a preset sampling rate; determining the ambient brightness change information in the time period according to the ambient brightness information; and selecting an image sensor from the multiple image sensors to perform preview display or shooting according to the ambient brightness change information.

Description

Multi-image sensor switching method, corresponding terminal and storage medium
Technical Field
The present invention relates to the field of terminal applications, and in particular, to a multi-image sensor switching method, a corresponding terminal, and a storage medium.
Background
Currently, many mobile terminals are configured with dual image sensors. The configured dual image sensors have unique characteristics, and the performance capability of the dual image sensors is greatly different for different ambient light, for example, one image sensor is suitable for working at low illumination, and the other image sensor has good resolution capability for high illumination.
In the prior art, a selection is performed on a multi-image light-sensing sensor when the multi-image light-sensing sensor enters a camera, but the multi-image light-sensing sensor is not matched with ambient light after entering the camera, so that the multi-image light-sensing sensor is not intelligent.
Based on this, the processing mechanism in the prior art needs to be improved to adapt to the ambient light and perform intelligent switching after entering the camera.
Disclosure of Invention
In order to overcome the above drawbacks, the present invention provides a multi-image sensor switching method, a corresponding terminal and a storage medium, so as to solve the problem of smooth switching of image sensors during shooting or previewing in the conventional multi-image sensor terminal.
In order to solve the above technical problem, a multi-image sensor switching method in the present invention includes:
acquiring ambient brightness information in each preset time period according to a preset sampling rate;
determining the ambient brightness change information in the time period according to the ambient brightness information;
and selecting an image sensor from the multiple image sensors to perform preview display or shooting according to the ambient brightness change information.
In order to solve the above technical problem, a multi-image sensor terminal in the present invention includes a memory and a processor; the memory stores a multi-image sensor switching computer program that is executed by the processor to perform the steps of:
acquiring ambient brightness information in each preset time period according to a preset sampling rate;
determining the ambient brightness change information in the time period according to the ambient brightness information;
and selecting an image sensor from the multiple image sensors to perform preview display or shooting according to the ambient brightness change information.
To solve the above technical problem, a computer-readable storage medium according to the present invention is characterized in that the storage medium stores a multi-image sensor switching computer program, and the computer program is executed by at least one processor to implement the steps of the method according to any one of the above.
The invention has the following beneficial effects:
according to the multi-image sensor switching method, the corresponding terminal and the storage medium, the ambient brightness information is collected in each preset time period according to the preset sampling rate; determining the ambient brightness change information in each time period according to the ambient brightness information at the period node reaching each time period; according to the environment brightness change information, selecting an image sensor from the multiple image sensors to perform preview display or shooting; therefore, the problem of smooth switching of the image sensors when the existing multi-image sensor terminal shoots or previews is effectively solved, and shaking switching in a limit environment is prevented.
Drawings
FIG. 1 is a flow chart of a multi-image sensor switching method in an embodiment of the invention;
fig. 2 is a switching flowchart in the process of starting the camera function module in the embodiment of the present invention;
fig. 3 is a switching flowchart of the embodiment of the present invention in which the camera function module is already turned on;
FIG. 4 is a graph of a function corresponding to ambient brightness information collected over a time period in accordance with an embodiment of the present invention;
FIG. 5 is a graph of ambient brightness information collected over a time period in accordance with an embodiment of the present invention;
FIG. 6 is a graph of a pulse signal during a time period in an embodiment of the present invention;
FIG. 7 is a graph of the data of FIG. 5 obtained by calculating the difference between adjacent absolute values;
FIG. 8 is a schematic diagram of a switching mechanism model in an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a multi-image sensor terminal according to an embodiment of the present invention.
Detailed Description
The invention provides a multi-image sensor switching method, a corresponding terminal and a storage medium, and aims to provide a judgment mechanism for accurately detecting ambient light according to ambient brightness information detected by an opened image sensor after a camera is opened, and a set of self-adaptive multi-camera (each camera corresponds to an image sensor) switching mechanism is designed by integrating various detection information, so that smooth automatic switching (selection) of the image sensors can be achieved, and shaking switching in a limit environment can be prevented. The switching here includes not only dynamic switching of previews when no photographing is performed, but also selection of an appropriate image sensor for photographing. The present invention will be described in further detail below with reference to the drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
Example one
The embodiment of the invention provides a multi-image sensor switching method, which comprises the following steps:
s101, collecting ambient brightness information in each preset time period according to a preset sampling rate;
s102, determining ambient brightness change information in each time period according to the ambient brightness information at the period node reaching each time period;
and S103, selecting an image sensor from the multiple image sensors to perform preview display or shooting according to the ambient brightness change information.
The method is used for the terminal with the multiple image sensors. Wherein the multiple image sensors are at least two image sensors. The terminal can be a mobile phone, a personal digital assistant, a tablet computer, a camera and the like.
The embodiment of the invention collects the ambient brightness information in each preset time period according to the preset sampling rate; determining the ambient brightness change information in each time period according to the ambient brightness information at the period node reaching each time period; according to the environment brightness change information, selecting an image sensor from the multiple image sensors to perform preview display or shooting; therefore, the problem of smooth switching of the image sensors when the existing multi-image sensor terminal shoots or previews is effectively solved, and shaking switching in a limit environment is prevented.
It should be noted that, in the embodiments of the present invention, prefixes such as "first", "second", and the like for distinguishing elements, parameters, and the like are used only for facilitating the description of the present invention, and have no specific meaning in themselves.
On the basis of the above-described embodiment, a modified embodiment of the above-described embodiment is further proposed, and it is to be noted herein that, in order to make the description brief, only the differences from the above-described embodiment are described in each modified embodiment.
Wherein, the ambient brightness change information is a brightness change parameter value;
optionally, determining ambient brightness change information within the time period according to the ambient brightness information; selecting an image sensor from the multiple image sensors for preview display or shooting according to the ambient brightness change information may include:
determining the brightness change parameter value according to the environment brightness information;
and selecting an image sensor corresponding to the brightness change parameter value from the multiple image sensors to preview or shoot according to the brightness change parameter value.
Specifically, the brightness change parameter includes a brightness change rising edge and a brightness change falling edge;
the determining the brightness change parameter value according to the environment brightness information may include
Determining a pulse signal corresponding to the ambient brightness information in the time period;
in the pulse signal, a first number of rising edges of the brightness change and a second number of falling edges of the brightness change are determined.
Further, the determining, in the time period, a pulse signal corresponding to the ambient brightness information may include:
determining a function formed by the environment brightness information and the time information collected in the time period according to the time information corresponding to each environment brightness information;
and (4) differentiating the function to determine the pulse signal.
Optionally, the multi-image sensor comprises a first image sensor and a second image sensor; the working environment brightness corresponding to the first image sensor is smaller than the working environment brightness corresponding to the second image sensor;
the selecting, according to the brightness change parameter value, an image sensor corresponding to the brightness change parameter value from among the multiple image sensors for preview display or shooting may include:
when the first number is zero and the second number is larger than zero, selecting the first image sensor to preview or shoot;
and when the first number is larger than zero and the second number is zero, selecting the second image sensor for previewing or shooting.
Optionally, the multi-image sensor comprises a first image sensor and a second image sensor; the working environment brightness corresponding to the first image sensor is smaller than the working environment brightness corresponding to the second image sensor;
the selecting, according to the brightness change parameter value, an image sensor corresponding to the brightness change parameter value from among the multiple image sensors for preview display or shooting may include:
when the difference value between the first quantity and the second quantity is larger than a first preset threshold value and the second quantity is smaller than a second preset threshold value, selecting the first image sensor to preview or shoot;
and when the difference value between the second quantity and the first quantity is greater than the first preset threshold value and the first quantity is smaller than the second preset threshold value, selecting the second image sensor to preview or shoot.
Optionally, obtaining ambient brightness information; setting the sampling rate according to the acquired environment brightness information; or receiving sampling rate information set by a user, and setting the sampling rate according to the sampling rate information;
and setting the time period according to the set sampling rate.
Examples of the present invention are illustrated.
As shown in fig. 2, the camera (image capture function module) opening process in the embodiment of the present invention includes:
step 11, reading the brightness data of the current environment by means of a light sensor when the camera is opened;
step 12, selecting a proper image sensor from a group of image sensors according to the read brightness data of the current environment;
and step 13, previewing and displaying in real time based on the selected image sensor. Of course, in this case, all image sensors may be turned on and a preview may be output, or only the selected image sensor may be turned on and a preview may be output. Note that a plurality of image sensors are turned on, but only one of them is actually output for preview display.
As shown in fig. 3, after the camera is opened, the method includes:
step 21, inputting brightness information. The method specifically comprises the following steps:
1) acquiring the ambient brightness within T seconds before the current moment according to a certain sampling rate through a light sensor or an image sensor, and judging whether to start switching every other time period of T seconds;
the value of the time period T depends on the sampling frequency of the light sensor or the image sensor to the brightness signal, and if the sampling frequency is more than 10 times/second, the value of the time period T is recommended to be about 3 seconds;
if the acquisition frequency is lower than 0.5 times/second, the camera is judged to be switched or not as long as the light sensation change is detected, and the device does not meet the practical use condition.
In other cases, the value of T is suggested to be about 6 seconds;
according to the relationship between the collected time and the corresponding brightness information data, a function f (t) formed by the collected ambient brightness information and the time information in each time period is determined as shown in fig. 4.
A plot of sampled data acquired at 10 data per second with an acquisition time period T of 5 seconds is shown in fig. 5.
In other words, the sampling rate in this example can be preset in two ways:
for example, the sampling rate is set according to the acquired ambient brightness information.
For another example, receiving sampling rate information set by a user, and setting the sampling rate according to the sampling rate information.
And further setting a time period according to the set sampling rate. For example, as the sampling rate decreases, the time period increases.
In this example, the sampling rate is adjusted, and the time period is set according to the sampling rate, so that the balance between the performance and the effect can be obtained.
2) Designing a brightness detection mechanism to judge whether to start switching every other time period of T seconds;
calculating the difference of F (t) is equivalent to the derivation process.
As shown in fig. 6, the pulse signal reflects the change of the ambient brightness.
For the convenience of control, the change of the brightness data in a time period T before the current time point is calculated, the following information needs to be counted: number of rising EDGEs RISE _ EDGE of brightness change; number of falling EDGEs of brightness change FALL _ EDGE; the conditions for the brightness change are: when the adjacent luminance difference | DIFF | > DIFF _ THR, it is considered that the ambient luminance has changed. DIFF _ THR is preset data, which is related to the characteristics of the light-sensing sensor (light-sensing range), and can be obtained by collecting a large amount of data and analyzing.
Fig. 7 is a graph obtained by calculating the difference between adjacent absolute values in the data of fig. 5, and if DIFF _ THR is set to 100, the data of fig. 7 has two consecutive rising edges, and the switching may be performed considering the ambient brightness increase at this time.
3) If the brightness change satisfies the condition, it is also necessary to detect a sensor (image sensor) switching execution condition: whether a photo is started or not is included; whether to enable a flash lamp; whether or not mode switching is performed.
And step 22, setting a basic switching mechanism model according to the information, and selecting a proper image sensor for real-time preview display or photographing. As shown in fig. 8, the basic switching mechanism model includes:
step 31, at the time period node, detecting whether the flash lamp needs to be triggered or the photographing is executed or the intelligent switching state is exited
If yes, step 32 is executed to perform the switching, and if the time interval is T, step 31 is executed.
And step 33, if not, acquiring the brightness information change parameter in the current time period.
Step 34, determining whether RISE _ EDGE is 0 and FALL _ EDGE is greater than 0, if yes, executing step 35; if not, go to step 36.
Step 35, switch to sensor1, and at interval T, execute step 31.
Step 36, determining whether RISE _ EDGE >0 and FALL _ EDGE is 0, if yes, executing step 37; if not, go to step 38.
Step 37, switch to sensor2, and at interval T, execute step 31. Of these, the sensor1 (the first image sensor) works well with low light, and the sensor2 (the second image sensor) has a good resolution for high light.
Step 38, determining whether there is risk _ EDGE-wall _ EDGE > THR1 (a first preset threshold), and wall _ EDGE < THR2 (a second preset threshold), if yes, executing step 37; if not, go to step 39.
Step 39, determining whether FALL _ EDGE-RISE _ EDGE > THR1 (a first preset threshold) and RISE _ EDGE < THR2 (a second preset threshold) are present, if yes, performing step 35; if not, go to step 32. Wherein, THR1 and THR2 are both larger than 0, for example, THR1 takes 100 or 200 lumens.
The embodiment of the invention can effectively ensure the smooth switching between the image sensors, effectively solve the false switching caused by the influence of accidental light sensation change of the environment and effectively solve the phenomenon of back-and-forth switching.
Example two
As shown in fig. 9, an embodiment of the present invention provides a multi-image sensor terminal including a memory 90 and a processor 92; the memory 90 stores a multi-image sensor switching computer program that is executed by the processor 90 to perform the steps of:
acquiring ambient brightness information in each preset time period according to a preset sampling rate;
determining the ambient brightness change information in each time period according to the ambient brightness information at the period node reaching each time period;
and selecting an image sensor from the multiple image sensors to perform preview display or shooting according to the ambient brightness change information.
The embodiment of the invention collects the ambient brightness information in each preset time period according to the preset sampling rate; determining the ambient brightness change information in each time period according to the ambient brightness information at the period node reaching each time period; according to the environment brightness change information, selecting an image sensor from the multiple image sensors to perform preview display or shooting; therefore, the problem of smooth switching of the image sensors when the existing multi-image sensor terminal shoots or previews is effectively solved, and shaking switching in a limit environment is prevented.
The multi-image sensor terminal in the embodiment of the invention is a terminal with a plurality of image sensors. Wherein the number of image sensors is at least 2.
Optionally, the ambient brightness change information is a brightness change parameter value;
determining the ambient brightness change information in the time period according to the ambient brightness information; according to the environment brightness change information, selecting an image sensor from the multiple image sensors for preview display or shooting, wherein the method comprises the following steps:
determining the brightness change parameter value according to the environment brightness information;
and selecting an image sensor corresponding to the brightness change parameter value from the multiple image sensors to preview or shoot according to the brightness change parameter value.
Specifically, the brightness change parameter includes a brightness change rising edge and a brightness change falling edge;
determining the brightness change parameter value according to the environment brightness information, including
Determining a pulse signal corresponding to the ambient brightness information in the time period;
in the pulse signal, a first number of rising edges of the brightness change and a second number of falling edges of the brightness change are determined.
Specifically, the determining, in the time period, a pulse signal corresponding to the ambient brightness information includes:
determining a function formed by the environment brightness information and the time information collected in the time period according to the time information corresponding to each environment brightness information;
and (4) differentiating the function to determine the pulse signal.
Wherein the multi-image sensor comprises a first image sensor and a second image sensor; the working environment brightness corresponding to the first image sensor is smaller than the working environment brightness corresponding to the second image sensor;
optionally, the selecting, according to the brightness change parameter value, an image sensor corresponding to the brightness change parameter value from among the multiple image sensors for preview display or shooting may include:
when the first number is zero and the second number is larger than zero, selecting the first image sensor to preview or shoot;
when the first number is larger than zero and the second number is zero, selecting the second image sensor to preview or shoot;
optionally, the selecting, according to the brightness change parameter value, an image sensor corresponding to the brightness change parameter value from among the multiple image sensors for preview display or shooting may include:
when the difference value between the first quantity and the second quantity is larger than a first preset threshold value and the second quantity is smaller than a second preset threshold value, selecting the first image sensor to preview or shoot;
and when the difference value between the second quantity and the first quantity is greater than the first preset threshold value and the first quantity is smaller than the second preset threshold value, selecting the second image sensor to preview or shoot.
The embodiment of the invention is further briefly described by taking a terminal with two cameras and a light sensor as an example.
1. A camera turn-on process.
In the process of opening the camera, because the brightness information of the image sensor cannot be obtained, preliminary prejudgment can be performed only by using the information of the light sensor, and a proper image sensor is selected, wherein the specific flow is shown in fig. 2.
2. The camera is already on.
The specific flow is shown in fig. 3. That is to say, after the camera (the camera module in the terminal) is turned on, the luminance information of each image sensor can be easily acquired, and in actual operation, the luminance information of the image sensors is more accurate. At the moment, real-time correction is carried out according to the acquired brightness information of each image sensor, and a proper image sensor is selected for data acquisition, wherein the basic realization principle is as follows:
for the current embodiment, the brightness detection data of the RGB photo sensor or the current working sensor needs to be detected, and here, taking the obtaining of the brightness detection data of the current working sensor as an example, the following operations are performed:
1) judging whether to start switching or not every time period T;
the value of the time period T depends on the sampling frequency of the light sensor or the image sensor to the brightness signal, and if the sampling frequency is more than 10 times/second, the value of the time period T is recommended to be about 3 seconds;
if the acquisition frequency is lower than 0.5 times/second, the camera is judged to be switched or not as long as the light sensation change is detected, and the device does not meet the practical use condition.
In other cases, the value of T is suggested to be about 6 seconds; in other words, before acquiring the ambient brightness information in each preset time period according to the preset sampling rate, the method may further include:
acquiring ambient brightness information; setting the sampling rate according to the acquired environment brightness information; or receiving sampling rate information set by a user, and setting the sampling rate according to the sampling rate information;
and setting the time period according to the set sampling rate.
2) Acquiring the ambient brightness within T time before the current moment according to a certain sampling rate, analyzing the brightness information within the time, and determining whether to execute sensor switching;
3) detecting current execution conditions, including whether to start photographing or not; whether to enable a flash lamp; whether or not mode switching is performed.
4) The switching is performed according to the model shown in fig. 8.
The specific processes in fig. 2, fig. 3, and fig. 8 have already been described in the first embodiment, and are not described herein again.
EXAMPLE III
The present invention provides a computer-readable storage medium, which stores a multi-image sensor switching computer program, and when the computer program is executed by at least one processor, the computer program implements the steps of the method according to any one of the embodiments.
In the embodiments and the second embodiments of the present invention, reference is made to the first embodiment in the specific implementation, which is not described herein again.
Computer-readable storage media in embodiments of the invention may be RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage media known in the art. A storage medium may be coupled to the processor such that the processor can read information from, and write information to, the storage medium; or the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit.
While this application describes specific examples of the invention, those skilled in the art will appreciate that many modifications are possible in the exemplary embodiments without departing from the inventive concepts herein. In light of the above teachings, those skilled in the art can make various modifications to the present invention without departing from the scope and spirit of the present invention.

Claims (11)

1. A method for switching between multiple image sensors, the method comprising:
acquiring ambient brightness information in each preset time period according to a preset sampling rate;
determining a pulse signal corresponding to the ambient brightness information in the time period;
determining a first number of rising edges of a brightness change and a second number of falling edges of the brightness change in the pulse signal;
and selecting an image sensor from the multi-image sensor to perform preview display or shooting according to the first number of the rising edges of the brightness change and the second number of the falling edges of the brightness change.
2. The method of claim 1, wherein said determining a pulse signal corresponding to said ambient brightness information during said time period comprises:
determining a function formed by the environment brightness information and the time information collected in the time period according to the time information corresponding to each environment brightness information;
and (4) differentiating the function to determine the pulse signal.
3. The method of claim 1 or2, wherein the multiple image sensor comprises a first image sensor and a second image sensor; the working environment brightness corresponding to the first image sensor is smaller than the working environment brightness corresponding to the second image sensor;
the selecting an image sensor to preview or shoot in the multi-image sensor according to the first number of the rising edges of the brightness change and the second number of the falling edges of the brightness change comprises:
when the first number is zero and the second number is larger than zero, selecting the first image sensor to preview or shoot;
and when the first number is larger than zero and the second number is zero, selecting the second image sensor for previewing or shooting.
4. The method of claim 1 or2, wherein the multiple image sensor comprises a first image sensor and a second image sensor; the working environment brightness corresponding to the first image sensor is smaller than the working environment brightness corresponding to the second image sensor;
the selecting an image sensor to preview or shoot in the multi-image sensor according to the first number of the rising edges of the brightness change and the second number of the falling edges of the brightness change comprises:
when the difference value between the first quantity and the second quantity is larger than a first preset threshold value and the second quantity is smaller than a second preset threshold value, selecting the first image sensor to preview or shoot;
and when the difference value between the second quantity and the first quantity is greater than the first preset threshold value and the first quantity is smaller than the second preset threshold value, selecting the second image sensor to preview or shoot.
5. The method according to claim 1 or2, wherein before collecting the ambient brightness information in each preset time period according to the preset sampling rate, the method further comprises:
acquiring ambient brightness information; setting the sampling rate according to the acquired environment brightness information; or receiving sampling rate information set by a user, and setting the sampling rate according to the sampling rate information;
and setting the time period according to the set sampling rate.
6. A multi-image sensor terminal, characterized in that the terminal comprises a memory and a processor; the memory stores a multi-image sensor switching computer program that is executed by the processor to perform the steps of:
acquiring ambient brightness information in each preset time period according to a preset sampling rate;
determining a pulse signal corresponding to the ambient brightness information in the time period;
determining a first number of rising edges of a brightness change and a second number of falling edges of the brightness change in the pulse signal;
and selecting an image sensor from the multi-image sensor to perform preview display or shooting according to the first number of the rising edges of the brightness change and the second number of the falling edges of the brightness change.
7. The terminal of claim 6, wherein said determining a pulse signal corresponding to said ambient brightness information during said time period comprises:
determining a function formed by the environment brightness information and the time information collected in the time period according to the time information corresponding to each environment brightness information;
and (4) differentiating the function to determine the pulse signal.
8. The terminal of claim 6 or 7, wherein the multiple image sensor comprises a first image sensor and a second image sensor; the working environment brightness corresponding to the first image sensor is smaller than the working environment brightness corresponding to the second image sensor;
the selecting an image sensor to preview or shoot in the multi-image sensor according to the first number of the rising edges of the brightness change and the second number of the falling edges of the brightness change comprises:
when the first number is zero and the second number is larger than zero, selecting the first image sensor to preview or shoot;
and when the first number is larger than zero and the second number is zero, selecting the second image sensor for previewing or shooting.
9. The terminal of claim 6 or 7, wherein the multiple image sensor comprises a first image sensor and a second image sensor; the working environment brightness corresponding to the first image sensor is smaller than the working environment brightness corresponding to the second image sensor;
the selecting an image sensor to preview or shoot in the multi-image sensor according to the first number of the rising edges of the brightness change and the second number of the falling edges of the brightness change comprises:
when the difference value between the first quantity and the second quantity is larger than a first preset threshold value and the second quantity is smaller than a second preset threshold value, selecting the first image sensor to preview or shoot;
and when the difference value between the second quantity and the first quantity is greater than the first preset threshold value and the first quantity is smaller than the second preset threshold value, selecting the second image sensor to preview or shoot.
10. The terminal according to claim 6 or 7, wherein before collecting the ambient brightness information in each preset time period according to the preset sampling rate, the method further comprises:
acquiring ambient brightness information; setting the sampling rate according to the acquired environment brightness information; or receiving sampling rate information set by a user, and setting the sampling rate according to the sampling rate information;
and setting the time period according to the set sampling rate.
11. A computer-readable storage medium, characterized in that the storage medium stores a multi-image sensor switching computer program which, when executed by at least one processor, implements the steps of the method according to any one of claims 1 to 5.
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 CN109274861A (en) 2019-01-25
CN109274861B true 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)

Families Citing this family (2)

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

Citations (5)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107124545B (en) * 2012-05-18 2020-02-21 华为终端有限公司 Method for automatically switching terminal focusing modes and terminal

Patent Citations (5)

* 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
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

Also Published As

Publication number Publication date
CN109274861A (en) 2019-01-25

Similar Documents

Publication Publication Date Title
KR101570772B1 (en) Image capture apparatus, display control method, and storage medium
CN101334578B (en) Image photographing apparatus, image photographing method, and computer program
US8345986B2 (en) Image processing apparatus, image processing method and computer readable-medium
JP4438871B2 (en) Imaging apparatus, control method thereof, and program
EP3323238B1 (en) Photographing apparatus using multiple exposure sensor and photographing method thereof
EP3554070A1 (en) Photograph-capture method, apparatus, terminal, and storage medium
TWI445397B (en) Electronic apparatus, image capturing device and method for automatically capturing image thereof
KR20090080910A (en) Image capturing apparatus, control method therefor, and program
CN103501413B (en) Method and system for controlling post camera to focus and take pictures with front camera
WO2018000643A1 (en) Method and device for sorting photographs
JP2009177271A (en) Imaging apparatus, and control method and program thereof
US20140362275A1 (en) Autofocus
CN107517351B (en) Photographing mode switching method and device
US20120098989A1 (en) Imaging apparatus and method of displaying a number of captured images
CN107909569B (en) Screen-patterned detection method, screen-patterned detection device and electronic equipment
CN101442679A (en) Automatic white balance control system, white balance module and method thereof
CN105227853A (en) A kind of image pickup method and terminal
CN109274861B (en) Multi-image sensor switching method, corresponding terminal and storage medium
CN103795923A (en) Shooting control method of camera shooting device and camera shooting device
CN112017137A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN108600628B (en) Image capturing method and device, terminal and readable medium
US9214193B2 (en) Processing apparatus and method for determining and reproducing a number of images based on input path information
WO2024051697A1 (en) Image fusion method and apparatus, electronic device, and storage medium
CN103942523A (en) Sunshine scene recognition method and device
JP2003102022A (en) Image device and imaging method

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