CN112804463A - Exposure time control method, device, terminal and readable storage medium - Google Patents

Exposure time control method, device, terminal and readable storage medium Download PDF

Info

Publication number
CN112804463A
CN112804463A CN201911033051.3A CN201911033051A CN112804463A CN 112804463 A CN112804463 A CN 112804463A CN 201911033051 A CN201911033051 A CN 201911033051A CN 112804463 A CN112804463 A CN 112804463A
Authority
CN
China
Prior art keywords
shooting
exposure time
target
moving speed
light intensity
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.)
Withdrawn
Application number
CN201911033051.3A
Other languages
Chinese (zh)
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.)
ZTE Corp
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 CN201911033051.3A priority Critical patent/CN112804463A/en
Publication of CN112804463A publication Critical patent/CN112804463A/en
Withdrawn legal-status Critical Current

Links

Images

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

Abstract

According to the exposure time control method, the exposure time control device, the terminal and the readable storage medium, the exposure time is determined according to the moving speed and the light intensity by acquiring the moving speed of a shooting target and the light intensity of a shooting environment. The invention also provides an exposure time control device, a terminal and a readable storage medium, the exposure time is correspondingly adjusted according to the moving speed of the shooting target and the light intensity of the current shooting environment, and then the shutter speed is adjusted, so that the shooting result of shooting the dynamic object is clearer, no smear is generated, and the user experience is improved.

Description

Exposure time control method, device, terminal and readable storage medium
Technical Field
The embodiments of the present invention relate to, but are not limited to, the field of computer communication networks, and in particular, but not limited to, a method, an apparatus, a terminal, and a readable storage medium for controlling exposure time.
Background
The automatic mode mobile phone determines the shutter speed according to the aperture size and the light brightness, and the pictures shot by the automatic module have unclear smear for objects moving in a weak light environment; the aperture is preferably the size of the aperture selected by a user, the mobile phone sets the shutter speed according to light, the aperture can be preferably selected to control the depth of field, and the mobile phone is not suitable for shooting an ideal moving object picture; the shutter is preferentially characterized in that a user sets a shutter speed, the size of a diaphragm is configured by a mobile phone, the shutter speed is fixed, and the shutter speed cannot be adaptively adjusted according to the moving speed of an object; the camera motion mode on the current mobile phone on the market is also a fixed and fast shutter speed, and cannot be adjusted in combination with a photographing environment, a dynamic scene or a static scene, so that the brightness of the photos discharged in the motion mode is often insufficient, and a satisfactory effect cannot be achieved. Because the current shooting of moving objects is carried out at a fixed high frame rate, a self-adaptive shutter mode is not formed, the optimal shooting effect cannot be achieved, and the user experience is low.
Disclosure of Invention
The exposure time control method, the exposure time control device, the exposure time control terminal and the readable storage medium mainly solve the technical problems that in the prior art, the moving object is photographed at a fixed high frame rate, a self-adaptive shutter mode is not formed, the photographing effect cannot be optimal, and the user experience is low.
In order to solve the above technical problem, an embodiment of the present invention provides an exposure time control method, applied to a shooting device, including:
acquiring the moving speed of a shooting target;
acquiring the light intensity of a shooting environment;
and determining the exposure time according to the moving speed and the light intensity.
The embodiment of the invention also provides an exposure time control device, which is applied to shooting equipment and comprises the following components:
the first acquisition module is used for acquiring the moving speed of the shooting target;
the second acquisition module is used for acquiring the light intensity of the shooting environment;
and the exposure time determining module is used for determining the exposure time according to the moving speed and the light intensity.
An embodiment of the present invention further provides a terminal, where the terminal includes: a processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more computer programs stored in the memory to implement the steps of the exposure time control method according to any one of the above.
Embodiments of the present invention also provide a computer-readable storage medium storing one or more computer programs, which are executable by one or more processors to implement the steps of the exposure time control method according to any one of the above.
The invention has the beneficial effects that:
according to the exposure time control method, the exposure time control device, the terminal and the readable storage medium, the exposure time is determined according to the moving speed and the light intensity by acquiring the moving speed of a shooting target and the light intensity of a shooting environment. The exposure time is correspondingly adjusted according to the moving speed of the shooting target and the light intensity of the current shooting environment, and then the shutter speed is adjusted, so that the shooting result of shooting the dynamic object is clearer, no smear is generated, and the user experience degree is improved.
Additional features and corresponding advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
Fig. 1 is a schematic flowchart of an exposure time control method according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating calculation of an actual moving distance of a shooting target in a horizontal direction according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an exposure time control apparatus according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention are described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The first embodiment is as follows:
referring to fig. 1, a method for controlling exposure time provided by this embodiment includes:
s101: acquiring the moving speed of a shooting target;
s102: acquiring the light intensity of a shooting environment;
s103: and determining the exposure time according to the moving speed and the light intensity.
In some embodiments, the exposure time control method provided by the present embodiment is applied to a shooting device, which includes but is not limited to a video camera, a still camera, a mobile phone with a camera shooting or photographing function, a tablet computer, a wearable device, an in-vehicle terminal, a driving recorder, a monitor, and the like.
It should be noted that, in some embodiments, the shooting target may be a human or an animal with a living body, or may be an airplane, an automobile, a cloud, a meteor, and the like without a living body.
It should be noted that, in some embodiments, the shooting target may be a static target with a moving speed of 0, such as an apple placed on a table. Of course, in other embodiments, the photographic object may be a dynamic object with a certain moving speed, such as a launched rocket, raindrops, pedestrians, ants moving away, growing plants, and so on.
It should be noted that, in some embodiments, the moving speed of the photographic subject in the embodiments of the present invention may be understood as a relative speed between the photographic subject and the photographic apparatus.
In some embodiments, the moving speed of the shooting target may be obtained by performing a calculated calculation result by an external sensor or calculation means and inputting the calculated result into the shooting device.
It should be noted that there is no requirement for step sequence between S101 and S102, and the two may be executed in sequence, either one before the other or simultaneously.
In some embodiments, obtaining the moving speed of the shooting target may also be achieved by:
selecting at least two preview frames in an image of a shooting target in a preset time period in a preview interface as target frames;
acquiring a field angle of the shooting equipment;
acquiring position information of a shot target in a target frame, and calculating the horizontal movement distance and the vertical movement distance of the shot target according to a first preset rule;
acquiring the time interval between the target frames according to a second preset rule;
and determining the moving speed of the shooting target according to the horizontal moving distance, the vertical moving distance, the field angle and the time interval.
It should be noted that, in some embodiments, the preview interface may be understood as a current shooting picture displayed on a display screen of a shooting device having a display screen. In some embodiments, sometimes the shooting device does not have a display screen, for example, taking a photograph, the preview interface may be understood as an image picture shot by the shooting device before the shutter is pressed to confirm the shooting, that is, a picture shot by the current shooting device. As is known, before shooting or recording, shooting is usually not immediately performed after a corresponding device is turned on, and generally preparations before shooting are available, such as finding a shooting target and adjusting a shooting angle, and at this time, a shot picture can be understood as a preview interface.
The preset time period may be a fixed time period automatically set by the system, or may be a time period set by the user. The selection mode of the preset time period may be changed or set by a person skilled in the art according to needs, for example, different preset time periods are set for different environments and/or different shooting targets: when shooting a meteor at night, the preset time period may be 1/20 seconds after capturing the shooting target.
It should be noted that the preset time period is greater than or equal to the time when the current shooting device shoots two frames of pictures.
In some embodiments, the time length of the preset time period is longer, a picture captured by the current capturing device in the time period may have two or more preview frames, or an image in the preset time period in the preview interface has two or more preview frames, at this time, at least two preview frames in each frame of the image may be selected as the target frame. However, it should be noted that the target frame includes a shooting target.
In some embodiments, the position information of the photographic subject in the subject frame includes Sensor position information of the photographic subject on the photographic apparatus, a distance of the photographic subject from the photographic lens, and a distance of the photographic subject to the photographic apparatus.
In some embodiments, the position information of the shooting target on the horizontal pixel point is acquired through a Sensor of the shooting device, and the horizontal moving distance of the shooting target on the Sensor of the shooting device is calculated.
In some embodiments, the actual moving distance in the horizontal direction of the photographic target is calculated by measuring the distance from the photographic target to the photographic lens in each target frame through the existing related technology, acquiring the vertical distance from the photographic target to the lens through the focusing technology, and acquiring parameters such as the angle of view of the lens on the photographic device, the horizontal moving distance of the photographic target on the Sensor on the photographic device, and the total number of pixels in the horizontal direction of the Sensor on the photographic device.
In some embodiments, the distance between the target frames and the shooting target is calculated by double shot depth measurement.
It should be noted that, in some embodiments, the first preset rule may be understood as selecting two temporally adjacent target frames to calculate the horizontal movement distance and the vertical movement distance between the two adjacent target frames, for example, the current preview frame has 1 to 12 preview frames in time sequence, and 1, 3, and 10 frames are selected as the target frames. At this time, the two adjacent target frames are 1 and 3, 3 and 10, and the horizontal movement distance and the vertical movement distance between the target frames 1 and 3 and the target frames 3 and 10 are calculated, respectively.
In other embodiments, the first preset rule may also be to select whether two target frames are not necessarily adjacent to calculate the horizontal movement distance and the vertical movement distance between two adjacent target frames when there are 3 or more than 3 target frames, for example, the current preview frame has 1-12 preview frames in time sequence, and 1, 3, 10 frames are selected as the target frames. At this time, the horizontal movement distance and the vertical movement distance of the target frames 1 and 10, and the target frames 3 and 10 are calculated, respectively.
It should be noted that the second preset rule corresponds to the first preset rule, the horizontal movement distance and the vertical movement distance of the shooting target between which target frames are calculated according to the first preset rule, and the second preset rule is to obtain the time interval between which target frames. The two are in one-to-one correspondence. For example, the first preset rule is to calculate the horizontal movement distance and the vertical movement distance of the target frames 1 and 10 and the target frames 3 and 10, and the second preset rule is to acquire the time intervals between the target frames 1 and 10 and the target frames 3 and 10, respectively.
A specific method for calculating the moving speed of the photographic target is described below by a specific embodiment:
the method for calculating the moving distance of the shooting target of two or more frames of target frames in the horizontal coordinate direction preview interface comprises the following steps:
step 1: calculating the horizontal movement distance of the moving pixel point on the Sensor of the shooting device: the method comprises the steps of obtaining the moving distance of a moving pixel point in a shooting device sensor in two or more target frames in a preview interface, and assuming that the target frames are two frames, namely a front frame and a rear frame. Wherein, the coordinate value of a certain pixel point of the moving pixel of the previous frame on the sensor is (X1, Y1), the coordinate value of the moving pixel of the later frame is (X2, Y1), and the horizontal moving distance of the certain pixel point on the sensor is calculated to be X2-X1;
step 2: calculating a mobile field angle: the field angle of the lens of the shooting device is fixed and known, recorded as F degrees, the total number of pixels in the horizontal direction of the Sensor is P, the field angle of each pixel corresponding to the object is F/P, and the field angle Fmove moving in the horizontal direction is F/P (X2-X1);
and 3, step 3: calculating the actual moving distance of the shooting target in the horizontal direction: the distances from the front frame and the rear frame to the lens can be measured and recorded as Sfront and Sback respectively through the prior art, and the vertical distance from the shooting target to the lens can be acquired as S through the focusing technology. Specifically, as shown in fig. 2, three sides Sfront, Sback, and the horizontal movement distance Lx form a triangle, Fmove is an included angle between two lines Sfront and Sback, and the vertical distance S from the intersection point of Sfront and Sback to Lx is also known, so Lx can be calculated.
And 4, step 4: the frame rate, or time interval, between two frames before and after, is known in the photographing apparatus and recorded as Tx, then the speed of the moving object in the abscissa direction is Vx ═ Lx/Tx;
and 5, step 5: the longitudinal coordinate direction measures the distance Ly of the shot target to the lens through double shot depths, and the frame rate or the time interval between two frames before and after the longitudinal coordinate direction is known in the shooting equipment and recorded as Ty, so that the speed of the moving object in the longitudinal coordinate direction is Vy-Ly/Ty;
and 6, step 6: the actual moving speed of the moving object can be obtained from Vx and Vy
Figure BDA0002250686980000071
In some embodiments, before determining the exposure time according to the moving speed and the light intensity, the method further includes:
and setting the mapping relation among the moving speed, the light intensity and the exposure time.
In some embodiments, the mapping relationship between the moving speed, the light intensity and the exposure time can be set by a person skilled in the art according to experience.
In some embodiments, the mapping relationship among the moving speed, the light intensity, and the exposure time may be set by the user as needed.
In some embodiments, the setting of the mapping relationship among the moving speed, the light intensity, and the exposure time may be performed by obtaining a large number of shooting samples in different environments, and analyzing the samples to obtain a moving speed and an optimal exposure time within a certain light intensity range.
In some embodiments, the model is calculated by obtaining a large number of samples, obtaining a relationship function between the moving speed of the shooting target, the light intensity, and the exposure time of each sample according to analysis, and inputting the relationship function after obtaining the moving speed and the light intensity to obtain the corresponding exposure time.
In some embodiments, the mapping relationship among the moving speed, the light intensity, and the exposure time is not constant, and the method may be implemented each time the exposure time control method of this embodiment is executed, to obtain the satisfaction feedback of the user on the shooting result and/or analyze the quality of the shooting result, and then adjust the mapping relationship. When the step of determining the moving speed of the shooting target according to the horizontal moving distance, the vertical moving distance and the time interval is executed, the latest mapping relation among the moving speed, the light intensity and the exposure time is obtained.
In some embodiments, the moving speed of the shooting target can also be automatically obtained according to the current state of the shooting target, for example, when shooting a moving vehicle on a clear urban road, the moving speed of the vehicle is directly defaulted to be 40Km/h, and when shooting a pedestrian on the road, the moving speed of the pedestrian is defaulted to be 10 m/s.
Table 1 is an example of a mapping relationship among the moving speed, the light intensity, and the exposure time, and those skilled in the art may modify the following mapping relationship according to other existing technologies, so that the exposure time control method of the present embodiment better meets the user requirements.
TABLE 1
Figure BDA0002250686980000091
In some embodiments, the light intensity may be obtained by sensing the intensity of the light of the photographing environment by the camera.
In some embodiments, the light intensity may also be obtained by inputting the light intensity into the photographing device after being measured by an external device.
In some embodiments, the light intensity of the scene may also be automatically defaulted by user selection of the shooting scene. For example, if night photography is selected, the default light intensity is 100 lux.
In some embodiments, if the photographing apparatus is used for photographing, determining the exposure time according to the moving speed and the light intensity includes:
the shutter speed of the photographing apparatus is determined according to the exposure time.
In some embodiments, if the camera is used for video recording, determining the exposure time according to the moving speed and the light intensity comprises:
and determining the frame rate of the shooting device according to the exposure time.
It should be noted that, in some embodiments, when the exposure time is determined to be 1/m second, if the shooting device is used for shooting, the shutter speed is 1/m second, and if the shooting device is used for recording, the frame rate is m frames per second.
In some embodiments, the sensitivity of the photographing apparatus may also be automatically changed as the exposure time is changed.
In some embodiments, the control of the exposure time may be set to be self-automatic by the photographing apparatus.
In some embodiments, the control of the exposure time may also be to prompt the user to set itself after the exposure time is acquired.
In some embodiments, during shooting of the shooting target, the current exposure time may be displayed on a display interface of the shooting device or converted into a shutter speed, a frame rate, or the like, and the information may be displayed. For example, the camera application interface may prompt "take a picture with 1/xxx shutter speed" in a different display, such as a speed text display or a shutter speed bar pointer display.
Camera three key elements of shooing: shutter speed, aperture size, sensitivity. The shutter speed is an important parameter of one camera, and different shooting effects can be obtained by using different shutter speeds. The shutter speed is the first to address the exposure. In the case of photographing, the stronger the light received on the imaging surface, the brighter the image left. The intensity of the light is proportional to the exposure time, i.e. a long period of weak light can be recorded as strong light. Therefore, when the environment is dark, the shutter speed is reduced, and the photographed image is bright. Meanwhile, the shutter speed is also influenced by the motion of the object to be shot, and if the shutter speed is lower, the movement of the shooting target is recorded, so that the image is blurred and smeared. Therefore, through the moving speed of obtaining the shooting target and the light intensity of shooting environment to confirm the exposure time according to moving speed and light intensity, and then the shutter speed of control shooting equipment can be so that select suitable shutter speed at the shooting in-process, and then shoot the clear image of not having the blur smear, promoted user experience degree.
Of course, the embodiment of the invention is also suitable for the video equipment, and the frame rate of the video can be determined by determining the exposure time, so that the video can be clearer, and the user experience degree is improved.
Example two:
the present embodiment further provides an exposure time control apparatus, as shown in fig. 3, the exposure time control apparatus 300 includes:
a first obtaining module 301, configured to obtain a moving speed of a shooting target;
a second obtaining module 302, configured to obtain light intensity of a shooting environment;
and an exposure time determining module 303, configured to determine an exposure time according to the moving speed and the light intensity.
In some embodiments, the exposure time control apparatus provided in this embodiment is applied to a shooting device, which includes but is not limited to a video camera, a still camera, a mobile phone with a camera shooting or photographing function, a tablet computer, a wearable device, an in-vehicle terminal, a car recorder, a monitor, and the like.
It should be noted that, in some embodiments, the shooting target may be a human or an animal with a living body, or may be an airplane, an automobile, a cloud, a meteor, and the like without a living body.
It should be noted that, in some embodiments, the shooting target may be a static target with a moving speed of 0, such as an apple placed on a table. Of course, in other embodiments, the photographic object may be a dynamic object with a certain moving speed, such as a launched rocket, raindrops, pedestrians, ants moving away, growing plants, and so on.
It should be noted that, in some embodiments, the moving speed of the photographic subject in the embodiments of the present invention may be understood as a relative speed between the photographic subject and the photographic apparatus.
In some embodiments, the moving speed of the shooting target may be obtained by performing a calculated calculation result by an external sensor or calculation means and inputting the calculated result into the shooting device.
It should be noted that there is no requirement for executing a step sequence between the first obtaining module and the second obtaining module, and the two obtaining modules may be executed in an order that either one of them is before the other one, or they may be executed simultaneously.
In some embodiments, the first obtaining module 301 comprises:
the selection module 3011 is configured to select at least two preview frames in an image of a shooting target in a preset time period in a preview interface as target frames;
a field angle acquisition module 3012, configured to acquire a field angle of the shooting device;
a calculating module 3013, configured to obtain position information of the shooting target in each target frame, and calculate a horizontal movement distance and a vertical movement distance of the shooting target according to a first preset rule;
a time interval obtaining module 3014, configured to obtain a time interval between target frames according to a second preset rule;
and a moving speed determining module 3015, configured to determine a moving speed of the shooting target according to the horizontal moving distance, the vertical moving distance, and the time interval.
It should be noted that, in some embodiments, the preview interface may be understood as a current shooting picture displayed on a display screen of a shooting device having a display screen. In some embodiments, sometimes the shooting device does not have a display screen, for example, taking a photograph, the preview interface may be understood as an image picture shot by the shooting device before the shutter is pressed to confirm the shooting, that is, a picture shot by the current shooting device. As is known, before shooting or recording, shooting is usually not immediately performed after a corresponding device is turned on, and generally preparations before shooting are available, such as finding a shooting target and adjusting a shooting angle, and at this time, a shot picture can be understood as a preview interface.
The preset time period may be a fixed time period automatically set by the system, or may be a time period set by the user. The selection mode of the preset time period may be changed or set by a person skilled in the art according to needs, for example, different preset time periods are set for different environments and/or different shooting targets: when shooting a meteor at night, the preset time period may be 1/20 seconds after capturing the shooting target.
It should be noted that the preset time period is greater than or equal to the time when the current shooting device shoots two frames of pictures.
In some embodiments, the time length of the preset time period is longer, a picture captured by the current capturing device in the time period may have two or more preview frames, or an image in the preset time period in the preview interface has two or more preview frames, at this time, at least two preview frames in each frame of the image may be selected as the target frame. However, it should be noted that the target frame includes a shooting target.
In some embodiments, the position information of the photographic subject in the subject frame includes Sensor position information of the photographic subject on the photographic apparatus, a distance of the photographic subject from the photographic lens, and a distance of the photographic subject to the photographic apparatus.
In some embodiments, the position information of the shooting target on the horizontal pixel point is acquired through a Sensor of the shooting device, and the horizontal moving distance of the shooting target on the Sensor of the shooting device is calculated.
In some embodiments, the actual moving distance in the horizontal direction of the photographic target is calculated by measuring the distance from the photographic target to the photographic lens in each target frame through the existing related technology, acquiring the vertical distance from the photographic target to the lens through the focusing technology, and acquiring parameters such as the angle of view of the lens on the photographic device, the horizontal moving distance of the photographic target on the Sensor on the photographic device, and the total number of pixels in the horizontal direction of the Sensor on the photographic device.
In some embodiments, the distance between the target frames and the shooting target is calculated by double shot depth measurement.
It should be noted that, in some embodiments, the first preset rule may be understood as selecting two temporally adjacent target frames to calculate the horizontal movement distance and the vertical movement distance between the two adjacent target frames, for example, the current preview frame has 1 to 12 preview frames in time sequence, and 1, 3, and 10 frames are selected as the target frames. At this time, the two adjacent target frames are 1 and 3, 3 and 10, and the horizontal movement distance and the vertical movement distance between the target frames 1 and 3 and the target frames 3 and 10 are calculated, respectively.
In other embodiments, the first preset rule may also be to select whether two target frames are not necessarily adjacent to calculate the horizontal movement distance and the vertical movement distance between two adjacent target frames when there are 3 or more than 3 target frames, for example, the current preview frame has 1-12 preview frames in time sequence, and 1, 3, 10 frames are selected as the target frames. At this time, the horizontal movement distance and the vertical movement distance of the target frames 1 and 10, and the target frames 3 and 10 are calculated, respectively.
It should be noted that the second preset rule corresponds to the first preset rule, the horizontal movement distance and the vertical movement distance of the shooting target between which target frames are calculated according to the first preset rule, and the second preset rule is to obtain the time interval between which target frames. The two are in one-to-one correspondence. For example, the first preset rule is to calculate the horizontal movement distance and the vertical movement distance of the target frames 1 and 10 and the target frames 3 and 10, and the second preset rule is to acquire the time intervals between the target frames 1 and 10 and the target frames 3 and 10, respectively.
In some embodiments, the exposure time control apparatus 300 further includes:
the setting module 304 is configured to set a mapping relationship among the moving speed, the light intensity, and the exposure time before determining the exposure time according to the moving speed and the light intensity.
In some embodiments, the mapping relationship between the moving speed, the light intensity and the exposure time can be set by a person skilled in the art according to experience.
In some embodiments, the mapping relationship among the moving speed, the light intensity, and the exposure time may be set by the user as needed.
In some embodiments, the setting of the mapping relationship among the moving speed, the light intensity, and the exposure time may be performed by obtaining a large number of shooting samples in different environments, and analyzing the samples to obtain a moving speed and an optimal exposure time within a certain light intensity range.
In some embodiments, the model is calculated by obtaining a large number of samples, obtaining a relationship function between the moving speed of the shooting target, the light intensity, and the exposure time of each sample according to analysis, and inputting the relationship function after obtaining the moving speed and the light intensity to obtain the corresponding exposure time.
In some embodiments, the mapping relationship among the moving speed, the light intensity, and the exposure time is not constant, and the method may be implemented each time the exposure time control method of this embodiment is executed, to obtain the satisfaction feedback of the user on the shooting result and/or analyze the quality of the shooting result, and then adjust the mapping relationship. When the step of determining the moving speed of the shooting target according to the horizontal moving distance, the vertical moving distance and the time interval is executed, the latest mapping relation among the moving speed, the light intensity and the exposure time is obtained.
In some embodiments, the moving speed of the shooting target can also be automatically obtained according to the current state of the shooting target, for example, when shooting a moving vehicle on a clear urban road, the moving speed of the vehicle is directly defaulted to be 40Km/h, and when shooting a pedestrian on the road, the moving speed of the pedestrian is defaulted to be 10 m/s.
In some embodiments, the light intensity may be obtained by sensing the intensity of the light of the photographing environment by the camera.
In some embodiments, the light intensity may also be obtained by inputting the light intensity into the photographing device after being measured by an external device.
In some embodiments, the light intensity of the scene may also be automatically defaulted by user selection of the shooting scene. For example, if night photography is selected, the default light intensity is 100 lux.
In some embodiments, the exposure time control apparatus further comprises:
the shutter speed determining module is used for determining the exposure time according to the moving speed and the light intensity if the shooting device is used for shooting, and comprises:
the shutter speed of the photographing apparatus is determined according to the exposure time.
In some embodiments, the exposure time control apparatus further comprises:
the frame rate determining module is configured to determine, if the shooting device is used for recording, the exposure time according to the moving speed and the light intensity, and includes:
and determining the frame rate of the shooting device according to the exposure time.
It should be noted that, in some embodiments, when the exposure time is determined to be 1/m second, if the shooting device is used for shooting, the shutter speed is 1/m second, and if the shooting device is used for recording, the frame rate is m frames per second.
In some embodiments, the sensitivity of the photographing apparatus may also be automatically changed as the exposure time is changed.
In some embodiments, the control of the exposure time may be set to be self-automatic by the photographing apparatus.
In some embodiments, the control of the exposure time may also be to prompt the user to set itself after the exposure time is acquired.
In some embodiments, during shooting of the shooting target, the current exposure time may be displayed on a display interface of the shooting device or converted into a shutter speed, a frame rate, or the like, and the information may be displayed. For example, the camera application interface may prompt "take a picture with 1/xxx shutter speed" in a different display, such as a speed text display or a shutter speed bar pointer display.
Camera three key elements of shooing: shutter speed, aperture size, sensitivity. The shutter speed is an important parameter of one camera, and different shooting effects can be obtained by using different shutter speeds. The shutter speed is the first to address the exposure. In the case of photographing, the stronger the light received on the imaging surface, the brighter the image left. The intensity of the light is proportional to the exposure time, i.e. a long period of weak light can be recorded as strong light. Therefore, when the environment is dark, the shutter speed is reduced, and the photographed image is bright. Meanwhile, the shutter speed is also influenced by the motion of the object to be shot, and if the shutter speed is lower, the movement of the shooting target is recorded, so that the image is blurred and smeared. Therefore, the exposure time control device provided by the embodiment of the invention is used for acquiring the moving speed of the shooting target and the light intensity of the shooting environment, determining the exposure time according to the moving speed and the light intensity, and further controlling the shutter speed of the shooting equipment, so that the proper shutter speed can be selected in the shooting process, and further, a clear image without blurred smear is shot, and the user experience is improved.
Of course, the embodiment of the invention is also suitable for the video equipment, and the frame rate of the video can be determined by determining the exposure time, so that the video can be clearer, and the user experience degree is improved.
Example three:
the present embodiment further provides a terminal, as shown in fig. 4, which includes a processor 401, a memory 403, and a communication bus 402, where:
the communication bus 402 is used for realizing connection communication between the processor 401 and the memory 403;
the processor 401 is configured to execute one or more computer programs stored in the memory 403 to implement at least one step of the exposure time control method in the above embodiments.
Example four:
the present embodiments also provide a computer-readable storage medium including volatile or non-volatile, removable or non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, computer program modules or other data. Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (electrically erasable programmable Read-Only Memory), flash Memory or other Memory technology, CD-ROM (Compact disk Read-Only Memory), Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.
The computer-readable storage medium in the present embodiment may be used to store one or more computer programs, and the stored one or more computer programs may be executed by a processor to implement at least one step of the exposure time control method in the above embodiments.
The present embodiment also provides a computer program (or computer software), which can be distributed on a computer-readable medium and executed by a computing device to implement at least one step of the event processing method in the foregoing embodiments; and in some cases at least one of the steps shown or described may be performed in an order different than that described in the embodiments above.
It should be understood that in some cases, at least one of the steps shown or described may be performed in a different order than described in the embodiments above.
The present embodiments also provide a computer program product comprising a computer readable means on which a computer program as shown above is stored. The computer readable means in this embodiment may include a computer readable storage medium as shown above.
It will be apparent to those skilled in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software (which may be implemented in computer program code executable by a computing device), firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit.
In addition, communication media typically embodies computer readable instructions, data structures, computer program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to one of ordinary skill in the art. Thus, the present invention is not limited to any specific combination of hardware and software.
The foregoing is a more detailed description of embodiments of the present invention, and the present invention is not to be considered limited to such descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (10)

1. An exposure time control method applied to a photographing apparatus, comprising:
acquiring the moving speed of a shooting target;
acquiring the light intensity of a shooting environment;
and determining the exposure time according to the moving speed and the light intensity.
2. The exposure-time control method according to claim 1, wherein the acquiring of the moving speed of the photographic target includes:
selecting at least two preview frames in the image of the shooting target in a preset time period in a preview interface as target frames;
acquiring the field angle of the shooting equipment;
acquiring position information of the shot target in each target frame, and calculating the horizontal movement distance and the vertical movement distance of the shot target according to a first preset rule;
acquiring the time interval between the target frames according to the second preset rule;
and determining the moving speed of the shooting target according to the horizontal moving distance, the vertical moving distance and the time interval.
3. The method of claim 1, wherein before determining the exposure time based on the moving speed and the light intensity, further comprising:
and setting the mapping relation among the moving speed, the light intensity and the exposure time.
4. The exposure time control method according to any one of claims 1 to 3,
if the shooting device is used for shooting, determining the exposure time according to the moving speed and the light intensity comprises:
determining the shutter speed of the shooting equipment according to the exposure time;
or the like, or, alternatively,
if the shooting device is used for recording, the determining the exposure time according to the moving speed and the light intensity comprises:
and determining the frame rate of the shooting equipment according to the exposure time.
5. An exposure time control device applied to a photographing apparatus, comprising:
the first acquisition module is used for acquiring the moving speed of the shooting target;
the second acquisition module is used for acquiring the light intensity of the shooting environment;
and the exposure time determining module is used for determining the exposure time according to the moving speed and the light intensity.
6. The exposure-time control apparatus according to claim 5, wherein the first acquisition module includes:
the selection module is used for selecting at least two preview frames in the image of the shooting target in a preset time period in a preview interface as target frames;
the field angle acquisition module is used for acquiring the field angle of the shooting equipment;
the calculation module is used for acquiring the position information of the shooting target in each target frame and calculating the horizontal movement distance and the vertical movement distance of the shooting target according to a first preset rule;
the time interval acquisition module is used for acquiring the time interval between the target frames according to a second preset rule;
and the moving speed determining module is used for determining the moving speed of the shooting target according to the horizontal moving distance, the vertical moving distance and the time interval.
7. The exposure-time control apparatus according to claim 5, wherein the exposure-time control apparatus further comprises:
and the setting module is used for setting the mapping relation among the moving speed, the light intensity and the exposure time before determining the exposure time according to the moving speed and the light intensity.
8. The exposure-time control apparatus according to any one of claims 5 to 7, further comprising:
a shutter speed determination module, configured to determine, if the shooting device is used for shooting, an exposure time according to the moving speed and the light intensity, including:
determining the shutter speed of the shooting equipment according to the exposure time;
or the like, or, alternatively,
a frame rate determining module, configured to determine, if the shooting device is used for recording, an exposure time according to the moving speed and the light intensity, where the determining includes:
and determining the frame rate of the shooting equipment according to the exposure time.
9. A terminal, characterized in that the terminal comprises: a processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more computer programs stored in the memory to implement the steps of the exposure time control method according to any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more computer programs executable by one or more processors to implement the steps of the exposure time control method according to any one of claims 1 to 4.
CN201911033051.3A 2019-10-28 2019-10-28 Exposure time control method, device, terminal and readable storage medium Withdrawn CN112804463A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911033051.3A CN112804463A (en) 2019-10-28 2019-10-28 Exposure time control method, device, terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911033051.3A CN112804463A (en) 2019-10-28 2019-10-28 Exposure time control method, device, terminal and readable storage medium

Publications (1)

Publication Number Publication Date
CN112804463A true CN112804463A (en) 2021-05-14

Family

ID=75803039

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911033051.3A Withdrawn CN112804463A (en) 2019-10-28 2019-10-28 Exposure time control method, device, terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN112804463A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114785962A (en) * 2022-06-21 2022-07-22 威海凯思信息科技有限公司 Shooting parameter acquisition method and device, electronic equipment and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103347152A (en) * 2013-07-08 2013-10-09 华为终端有限公司 Method, device and terminal for picture processing
CN105959583A (en) * 2016-04-28 2016-09-21 努比亚技术有限公司 Mobile terminal and exposure method thereof
CN106657805A (en) * 2017-01-13 2017-05-10 广东欧珀移动通信有限公司 Shooting method in movement and mobile terminal
CN107613219A (en) * 2017-09-21 2018-01-19 维沃移动通信有限公司 A kind of image pickup method, mobile terminal and storage medium
CN107770451A (en) * 2017-11-13 2018-03-06 广东欧珀移动通信有限公司 Take pictures method, apparatus, terminal and the storage medium of processing
CN107820024A (en) * 2017-12-05 2018-03-20 北京小米移动软件有限公司 Image capturing method, device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103347152A (en) * 2013-07-08 2013-10-09 华为终端有限公司 Method, device and terminal for picture processing
CN105959583A (en) * 2016-04-28 2016-09-21 努比亚技术有限公司 Mobile terminal and exposure method thereof
CN106657805A (en) * 2017-01-13 2017-05-10 广东欧珀移动通信有限公司 Shooting method in movement and mobile terminal
CN107613219A (en) * 2017-09-21 2018-01-19 维沃移动通信有限公司 A kind of image pickup method, mobile terminal and storage medium
CN107770451A (en) * 2017-11-13 2018-03-06 广东欧珀移动通信有限公司 Take pictures method, apparatus, terminal and the storage medium of processing
CN107820024A (en) * 2017-12-05 2018-03-20 北京小米移动软件有限公司 Image capturing method, device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114785962A (en) * 2022-06-21 2022-07-22 威海凯思信息科技有限公司 Shooting parameter acquisition method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
US11671702B2 (en) Real time assessment of picture quality
CN110445988B (en) Image processing method, image processing device, storage medium and electronic equipment
US20190164257A1 (en) Image processing method, apparatus and device
CN109218627B (en) Image processing method, image processing device, electronic equipment and storage medium
CN108337445B (en) Photographing method, related device and computer storage medium
EP3627821B1 (en) Focusing method and apparatus for realizing clear human face, and computer device
US20090160970A1 (en) Remote determination of image-acquisition settings and opportunities
CN110349163B (en) Image processing method and device, electronic equipment and computer readable storage medium
CN109922275B (en) Self-adaptive adjustment method and device of exposure parameters and shooting equipment
CN111917991B (en) Image quality control method, device, equipment and storage medium
WO2019037038A1 (en) Image processing method and device, and server
CN110708463B (en) Focusing method, focusing device, storage medium and electronic equipment
US20200221005A1 (en) Method and device for tracking photographing
CN107613190B (en) Photographing method and terminal
CN110231018B (en) Structured light distance measuring method and device and computer readable storage medium
CN111246100A (en) Anti-shake parameter calibration method and device and electronic equipment
CN108600631B (en) Image processing method, image processing device, computer-readable storage medium and electronic equipment
CN112804463A (en) Exposure time control method, device, terminal and readable storage medium
CN110519513B (en) Anti-shake method and apparatus, electronic device, computer-readable storage medium
CN112565604A (en) Video recording method and device and electronic equipment
CN113313788A (en) Image processing method and apparatus, electronic device, and computer-readable storage medium
US20050134722A1 (en) System and method for indicating exposure information during image capture
CN108337448A (en) High-dynamic-range image acquisition method, device, terminal device and storage medium
CN111464748B (en) Image processing method, mobile terminal and computer readable storage medium
CN117459830B (en) Automatic zooming method and system for mobile equipment

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20210514