[go: up one dir, main page]

WO2023000333A1 - Photographing method for time-lapse photography, photographing control device, photographing device, and storage medium - Google Patents

Photographing method for time-lapse photography, photographing control device, photographing device, and storage medium Download PDF

Info

Publication number
WO2023000333A1
WO2023000333A1 PCT/CN2021/108257 CN2021108257W WO2023000333A1 WO 2023000333 A1 WO2023000333 A1 WO 2023000333A1 CN 2021108257 W CN2021108257 W CN 2021108257W WO 2023000333 A1 WO2023000333 A1 WO 2023000333A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
camera device
camera
shooting
parameters
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.)
Ceased
Application number
PCT/CN2021/108257
Other languages
French (fr)
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.)
SZ DJI Technology Co Ltd
Original Assignee
SZ DJI Technology 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 SZ DJI Technology Co Ltd filed Critical SZ DJI Technology Co Ltd
Priority to PCT/CN2021/108257 priority Critical patent/WO2023000333A1/en
Priority to CN202180100398.4A priority patent/CN117678230A/en
Publication of WO2023000333A1 publication Critical patent/WO2023000333A1/en
Anticipated expiration legal-status Critical
Ceased 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/60Control of cameras or camera modules
    • H04N23/65Control of camera operation in relation to power supply
    • H04N23/651Control of camera operation in relation to power supply for reducing power consumption by affecting camera operations, e.g. sleep mode, hibernation mode or power off of selective parts of the camera
    • 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/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Definitions

  • the present application relates to the technical field of image processing, and in particular to a time-lapse photography shooting method, a camera control device, a camera device and a storage medium.
  • Camera devices generally have a time-lapse photography function.
  • the camera device works in the time-lapse photography mode, it continuously shoots images of many frames at intervals within a period of time, and then synthesizes the captured images into a video.
  • the shooting interval is usually set by the user or automatically.
  • the present application provides a time-lapse photography shooting method, a shooting control device, a shooting device and a storage medium.
  • the present application provides a time-lapse photography shooting method, the method comprising:
  • control the awakened camera device to enter the sleep state after taking the first image, and wake up the camera device in the sleep state to take the second image when the wake-up time is reached, wherein the wake-up The time is set according to the motion state of the camera device used to capture the first image after waking up;
  • the present application provides a camera control device, which includes: a memory and a processor;
  • the memory is used to store computer programs
  • the processor is used to execute the computer program and when executing the computer program, the following steps are implemented:
  • control the awakened camera device to enter the sleep state after taking the first image, and wake up the camera device in the sleep state to take the second image when the wake-up time is reached, wherein the wake-up The time is set according to the motion state of the camera device used to capture the first image after waking up;
  • the present application provides an imaging device, which includes the above-mentioned imaging control device.
  • the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor realizes the above-mentioned time-lapse photography Shooting method.
  • the embodiment of the present application provides a shooting method for time-lapse photography, a camera control device, a camera device, and a storage medium.
  • the wake-up camera device is controlled to enter the Dormant state, wake up the camera device in the dormant state to take a second image when the wake-up time is reached, wherein the wake-up time is set according to the motion state of the camera device used to take the first image after waking up;
  • the image generates the corresponding video.
  • the second image is the next frame image of the first image, that is, when the imaging device captures the first image
  • the wake-up time of the second image of the next frame is also determined according to its own motion state. In this way, the shooting interval is not fixed, but automatically and flexibly changes according to the motion state when the image is captured by the camera device.
  • the video effect can truly reflect the actual shooting situation and improve the user experience.
  • Fig. 1 is a schematic flow chart of an embodiment of the shooting method of time-lapse photography of the present application
  • Fig. 2 is a schematic flow chart of another embodiment of the shooting method of the time-lapse photography of the present application
  • FIG. 3 is a schematic flow diagram of another embodiment of the shooting method for time-lapse photography of the present application.
  • Fig. 4 is a schematic flow chart of another embodiment of the shooting method for time-lapse photography of the present application.
  • Fig. 5 is a schematic flow chart of another embodiment of the shooting method for time-lapse photography of the present application.
  • Fig. 6 is a schematic flowchart of another embodiment of the shooting method of time-lapse photography in the present application.
  • Fig. 7 is a schematic flowchart of another embodiment of the shooting method of time-lapse photography in the present application.
  • FIG. 8 is a schematic structural diagram of an embodiment of the camera control device of the present application.
  • Camera devices generally have a time-lapse photography function.
  • the camera device works in the time-lapse photography mode, it continuously shoots images of many frames at intervals within a period of time, and then synthesizes the captured images into a video.
  • the shooting interval is usually set by the user or automatically. However, after the above-mentioned shooting interval is set, it will not automatically and flexibly change according to the actual shooting situation, and the video effect synthesized after shooting cannot truly reflect the actual shooting situation, which affects the user experience.
  • the embodiment of the present application provides a shooting method for time-lapse photography, a camera control device, a camera device, and a storage medium.
  • the wake-up camera device is controlled to enter the Dormant state, wake up the camera device in the dormant state to take a second image when the wake-up time is reached, wherein the wake-up time is set according to the motion state of the camera device used to take the first image after waking up;
  • the image generates the corresponding video.
  • the second image is the next frame image of the first image, that is, when the imaging device captures the first image
  • the wake-up time of the second image of the next frame is also determined according to its own motion state. In this way, the shooting interval is not fixed, but automatically and flexibly changes according to the motion state when the image is captured by the camera device.
  • the video effect can truly reflect the actual shooting situation and improve the user experience.
  • FIG. 1 is a schematic flowchart of an embodiment of a shooting method for time-lapse photography in the present application, and the method includes: step S101 and step S102 .
  • Step S101 During each cycle of time-lapse photography, control the awakened imaging device to enter a dormant state after capturing the first image, and wake up the dormant imaging device when the wake-up time is reached to capture a second image, wherein The wake-up time is set according to the motion state of the camera device used to capture the first image after wake-up.
  • Step S102 Generate a corresponding video according to the captured image.
  • Time-lapse photography also known as time-lapse photography and time-lapse video
  • time-lapse photography is a shooting technique that compresses time. It usually takes a group of photos, and later combines the photos into a video to compress the process of minutes, hours or even days into a short period of time and play it as a video. Simply put, it is a photographic technique that captures images at a lower frame rate and then plays them back at a normal or faster rate.
  • the first image is an image captured before the second image
  • the second image is an image captured behind the first image.
  • the cycle shooting process of time-lapse photography can refer to that after the camera device captures a frame of image (i.e. the first image), the camera device enters a sleep state, sleeps for a period of time, and when the shooting time of the next frame is reached, it is the wake-up time, and then Wake up the camera device in the dormant state, and after the awakened camera device captures a frame of image (ie, the second image), the camera device enters the dormant state, and so on, until the end of the cycle.
  • the dormancy function of the camera device is added to the cycle shooting process of time-lapse photography, and the special shooting process of waking up can extend the battery life of the camera device when shooting time-lapse photography, without changing the battery or external power supply in the middle , It can last for a long time, such as more than 8 hours, which is very convenient for users to take long time-lapse photography.
  • the wake-up time is set according to the motion state of the camera device used to shoot the first image after wake-up.
  • the state of motion can refer to the state of an object relative to a reference frame when it is performing mechanical motion.
  • the motion state includes static, uniform motion, accelerated motion, decelerated motion, variable speed motion, and also has various states such as linear motion and curved motion.
  • a sensor capable of detecting the motion state of the camera device is configured on the camera device, such sensors include but are not limited to: accelerometers, rotation sensors, vibration sensors, inertial measurement units, and so on.
  • sensors include but are not limited to: accelerometers, rotation sensors, vibration sensors, inertial measurement units, and so on.
  • the motion state of the camera device can also be determined through the images captured by the camera device.
  • an appropriate shooting interval is determined, and a wake-up time for the camera device to capture a next frame of image can be determined according to the shooting interval time.
  • the interval between shots will be short, and if it is still, the interval between shots will be long.
  • the shooting interval can be 1s; walking, the shooting interval can be 2s; still, the shooting interval can be 8s, and so on.
  • the shooting interval between two shots can be dynamically modified in this way; the wake-up time is related to the shooting interval, and the next shot can be determined by determining the shooting interval between two shots.
  • the wake-up time for the frame image is a shooting interval between shots.
  • one of the more common application scenarios of the method in the embodiment of the present application is a scene where the camera is in motion to shoot, for example: the camera is set on a handheld device (such as a hand-held pan/tilt, a smart phone, etc. ), the camera moves with the handheld device and shoots; the camera is set on a mobile platform (for example: UAV, unmanned vehicle, etc.), the camera moves with the mobile platform, and shoots; the camera is set On a wearable device (such as a smart watch, a smart bracelet, etc.), the camera device follows the movement of the wearable device and takes pictures; or the camera device is worn on a person's body or head; and so on. In these application scenarios, the movement of the camera device is usually passive.
  • a handheld device such as a hand-held pan/tilt, a smart phone, etc.
  • the camera moves with the handheld device and shoots
  • the camera is set on a mobile platform (for example: UAV, unmanned vehicle, etc.)
  • the camera
  • the wake-up time cannot be changed once it is set, and the video synthesized by shooting in this way obviously cannot reflect the real shooting situation; while using the method of the embodiment of this application to set the wake-up time according to the motion state of the camera device, the video is synthesized by shooting The video can reflect the real shooting situation, which can improve the user experience.
  • the internal memory of the camera can be controlled to be in a self-refresh (SR, Self Refresh) state
  • the external circuit of the image processing chip of the camera can be controlled to be in a power-off state to control the camera.
  • SR Self Refresh
  • other devices except timing-related devices are turned off. Since the time that the camera is in the sleep state is limited, when the image processing chip is used to time the sleep time, in order to reduce power consumption, during the camera is in the sleep state, in addition to the devices related to the timing function, the image processing chip , other devices are turned off in a non-working state.
  • the battery of the camera device when the camera device is in a dormant state, the battery of the camera device is in a low discharge voltage state and/or a low current state. After one frame of image is taken, before the next frame of image is taken, the discharge voltage and/or current of the battery can be reduced to reduce the power consumption of the battery, thereby prolonging the working time of the battery and the working time of the camera state.
  • the awakened imaging device is controlled to enter the dormant state after capturing the first image, and the dormant imaging device is awakened to capture the second image when the wake-up time is reached.
  • the wake-up time is set according to the motion state of the camera device used to capture the first image after wake-up; and a corresponding video is generated according to the captured image. Since the wake-up time for shooting the second image is set according to the motion state of the imaging device used to capture the first image after waking up, the second image is the next frame image of the first image, that is, when the imaging device captures the first image
  • the wake-up time of the second image of the next frame is also determined according to its own motion state. In this way, the shooting interval is not fixed, but automatically and flexibly changes according to the motion state when the image is captured by the camera device. The video effect can truly reflect the actual shooting situation and improve the user experience.
  • the method may further include: step S103 and step S104.
  • Step S103 After waking up the camera device for capturing the first image, determine the motion state of the camera device.
  • Step S104 Set a wake-up time for capturing the second image according to the motion state of the camera device.
  • step S103 and step S104 may be completed during a time period after the camera device for shooting the first image wakes up and before the camera device for shooting the first image goes to sleep.
  • step S103 and step S104 may be performed immediately after the camera device used to capture the first image wakes up, and then subsequent steps related to capturing the first image may be performed.
  • the motion state of the camera device is determined according to the motion data of the camera device. That is, step S103, after waking up the camera device for taking the first image, determining the motion state of the camera device may include: sub-step S103A1 and sub-step S103A2, as shown in FIG. 3 .
  • Sub-step S103A1 After waking up the camera device for capturing the first image, acquire motion data of the camera device.
  • Sub-step S103A2 Determine the motion state of the camera according to the motion data of the camera.
  • the motion data of the camera device is usually detected by a sensor that detects the motion state of the camera device. According to the motion data of the camera device, the motion state of the camera device can be determined: whether it is still or in motion, and if it is in motion, how much is the motion, how long is the motion, and so on.
  • the sub-step S103A1 after waking up the camera device for taking the first image, acquiring motion data of the camera device may also include: waking up the camera device for taking the first image After the device is installed, motion data of the camera device from a dormant state before waking up to when waking up is acquired.
  • the time period of motion data obtained by monitoring the motion state of the imaging device in this embodiment is from the dormant state before waking up to the time period when waking up, that is, this embodiment continuously detects the motion state of the imaging device, even if the imaging device is in a dormant state, In this way, relatively accurate and comprehensive information on the motion state of the camera device can be obtained, which provides support for setting the wake-up time reasonably and accurately.
  • the sensor for detecting the motion state of the camera device is still working when the camera device is in the dormant state, and the acquisition module for collecting sensor data is also working.
  • the camera device is provided with an inertial measurement unit, and the motion data is motion data measured by the inertial measurement unit.
  • the inertial measurement unit IMU, Inertial Measurement Unit
  • IMU Inertial Measurement Unit
  • the inertial measurement unit can measure the three-axis attitude angle (or angular rate) and acceleration of the object, and can comprehensively detect the motion state of the camera state.
  • the motion state of the camera device is determined according to the captured images. That is, step S103, after waking up the camera device for capturing the first image, determining the motion state of the camera device may further include: sub-step S103B1 and sub-step S103B2, as shown in FIG. 4 .
  • Sub-step S103B1 After waking up the camera device for capturing the first image, control the camera device to perform pre-shooting.
  • Sub-step S103B2 Determine the motion state of the camera according to the pre-captured image.
  • multiple targets can be detected in the pre-shot image, judge whether the multiple targets appear or not appear in multiple consecutive images, analyze whether the targets appearing continuously in multiple images are moving targets, and then combine Other targets are judged together to determine whether the target is moving because the target itself is moving, or because the camera is moving, or because the camera is also moving while the target is moving, and the motion state of the camera is determined according to the judgment result.
  • step S101 waking up the dormant imaging device to take a second image when the wake-up time is reached may include: sub-step S101A1, sub-step S101A2, and sub-step S101A3, as shown in FIG. 5 .
  • Sub-step S101A1 wake up the imaging device in the dormant state when the wake-up time is reached.
  • Sub-step S101A2 Determine shooting parameters of the camera device used to shoot the second image.
  • Sub-step S101A3 controlling the camera device to shoot the second image with the shooting parameters.
  • Shooting parameters may refer to parameters used when shooting images, such as shutter speed, aperture, focal length, sensitivity ISO value, auto-focus parameters, auto-exposure parameters, auto-white balance parameters, whether to turn on the flash, etc.
  • the shooting parameters may include one or more of automatic exposure parameters, automatic white balance parameters, and automatic focus parameters.
  • One or more of the automatic exposure parameters, automatic white balance parameters and automatic focus parameters are the key shooting parameters that affect the image quality, and one or more of the automatic exposure parameters, automatic white balance parameters and automatic focus parameters are mainly determined. The time for determining shooting parameters can be shortened, thereby reducing power consumption.
  • Determining the shooting parameters of the camera device takes time and consumes power consumption. In order to reduce the time spent and power consumption as much as possible, the shooting parameters of the camera device can be determined in a high frame rate mode. That is, in an embodiment, the sub-step S101A2, the determining the shooting parameters of the camera device used to capture the second image may include: controlling the camera device to operate at a high frame rate with a frame refresh rate higher than a preset frame rate The shooting parameters of the camera device are determined in the rate mode.
  • the high frame rate mode may refer to a mode in which the frame refresh rate is higher than a preset frame rate.
  • the preset frame rate defaults to a maximum of 30 frames per second
  • a frame refresh rate mode greater than 30 frames per second can be considered a high frame rate mode, such as a maximum of 60 frames per second, a maximum of 120 frames per second, and so on. The more the number of frames, the more images are refreshed in the same second, so that the shooting parameters corresponding to the images with good quality can be quickly determined.
  • substep S101A2 may also include:
  • the common continuous closed-loop convergence process is: setting parameters -> obtaining statistical values -> adjusting parameters -> setting parameters;
  • the convergence process adopted in the embodiment of the present application is: continuously setting n groups of settings with preset intervals Parameters, acquiring n consecutive groups of statistical values corresponding to the set parameters, and selecting the most suitable or closest shooting parameters for shooting the second image by the camera device according to the n groups of statistical values.
  • the convergence process adopted in this embodiment takes a shorter time and is faster, so the power consumption can be further reduced.
  • the shooting parameters of each shooting may be filtered, so that the changes of the shooting parameters are relatively smooth. That is, the above-mentioned D, said determining the shooting parameters used by the imaging device for shooting the second image according to the statistical values of the multiple consecutive groups may also include: determining the shooting parameters of the second image according to the statistical values of the multiple consecutive groups Statistical parameters of the imaging device; performing filtering processing on the statistical parameters to obtain shooting parameters used by the imaging device to capture the second image.
  • step S102 generating a corresponding video according to the captured image may include: sub-step S102A1 and sub-step S102A2 , as shown in FIG. 6 .
  • Sub-step S102A1 Perform brightness smoothing processing on the captured image.
  • Sub-step S102A2 Generate a corresponding video according to the smoothed image.
  • step S102 the generating of the corresponding video according to the captured image may include: sub-step S102B1 and sub-step S102B2, as shown in FIG. 7 .
  • Sub-step S102B1 Perform digital anti-shake processing on the captured image.
  • Sub-step S102B2 Generate a corresponding video according to the digitally stabilized image.
  • Anti-shake can prevent the captured image from ghosting.
  • Digital anti-shake is also called electronic anti-shake technology. This technology uses dynamic vectors in shake detection, and grasps the direction and amount of swing of the image according to the dynamic vector, and uses this as a reference to move the image position in parallel to generate a shake-free image. dynamic image.
  • sub-step S102B1 performing digital anti-shake processing on the captured image may also include: performing digital anti-shake processing on the first image according to the motion state of the camera device that captured the first image; The motion state of the camera device of the second image, and perform digital anti-shake processing on the second image.
  • the image requiring digital anti-shake processing can make the digital anti-shake processing more accurate and ensure the quality of the image as much as possible by combining the motion state of the camera device that captures the image when the digital anti-shake processing is performed.
  • FIG. 8 is a schematic structural diagram of an embodiment of the camera control device of the present application.
  • the camera control device can control the camera device.
  • the camera control device can be installed inside the camera device as a part of the camera device, or can be used as an independent A device capable of controlling the camera exists. It should be noted that the device of this embodiment can execute the steps in the above-mentioned shooting method of time-lapse photography.
  • relevant content please refer to the relevant content of the above-mentioned shooting method of time-lapse photography, which will not be repeated here.
  • the device 100 includes: a memory 1 and a processor 2; the processor 2 is connected to the memory 1 through a bus.
  • the processor 2 may be a micro control unit, a central processing unit or a digital signal processor, and so on.
  • the memory 1 may be a Flash chip, a read-only memory, a magnetic disk, an optical disk, a U disk or a mobile hard disk, and the like.
  • the memory 1 is used to store a computer program; the processor 2 is used to execute the computer program and when executing the computer program, implement the following steps:
  • control the awakened camera device to enter the sleep state after taking the first image, and wake up the camera device in the sleep state to take the second image when the wake-up time is reached, wherein the wake-up The time is set according to the motion state of the camera device used to capture the first image after waking up; a corresponding video is generated according to the captured image.
  • the processor executes the computer program, the following steps are implemented: after waking up the camera device for taking the first image, determining the motion state of the camera device; according to the motion state of the camera device, A wake-up time for capturing the second image is set.
  • the processor executes the computer program, the following steps are implemented: after waking up the camera device for taking the first image, acquiring motion data of the camera device; according to the motion data of the camera device, A motion state of the camera device is determined.
  • the processor executes the computer program, the following steps are implemented: after waking up the camera device for taking the first image, acquiring motion data of the camera device from a dormant state before waking up to when waking up.
  • the camera device is provided with an inertial measurement unit, and the motion data is motion data measured by the inertial measurement unit.
  • the processor executes the computer program, the following steps are implemented: after waking up the imaging device for capturing the first image, controlling the imaging device to perform pre-shooting; The motion state of the device.
  • the processor executes the computer program, the following steps are implemented: waking up the camera device in a dormant state when the wake-up time is reached; determining shooting parameters of the camera device for shooting the second image; controlling the The camera device shoots the second image with the shooting parameters.
  • controlling the camera device to determine shooting parameters of the camera device in a high frame rate mode in which the frame refresh rate is higher than a preset frame rate.
  • the processor executes the computer program, the following steps are implemented: controlling the camera to enter the high frame rate mode; in the high frame rate mode, continuously setting multiple sets of settings with preset intervals Parameters; obtaining multiple consecutive groups of statistical values corresponding to the set parameters; determining shooting parameters used by the imaging device for shooting the second image according to the consecutive multiple groups of statistical values.
  • the processor executes the computer program, the following steps are implemented: determining the statistical parameters of the imaging device according to the statistical values of the plurality of consecutive groups; performing filtering processing on the statistical parameters to obtain the imaging
  • the device is used to capture shooting parameters of the second image.
  • the shooting parameters include one or more of automatic exposure parameters, automatic white balance parameters and automatic focus parameters.
  • the processor executes the computer program, the following steps are implemented: performing digital anti-shake processing on the captured image; generating a corresponding video according to the image after the digital anti-shake processing.
  • the processor executes the computer program, the following steps are implemented: performing digital anti-shake processing on the first image according to the motion state of the imaging device that captures the first image; The motion state of the imaging device of the image, and digital anti-shake processing is performed on the second image.
  • the processor executes the computer program, the following steps are implemented: performing brightness smoothing processing on the captured image; generating a corresponding video according to the brightness smoothed image.
  • the memory when the camera device is in the dormant state, the memory is in the self-refresh state, the external circuit of the image processing chip is in the power-off state, and other devices in the image processing chip except timing-related devices are in the off state.
  • the battery of the camera device when the camera device is in a dormant state, the battery of the camera device is in a low discharge voltage state and/or a low current state.
  • the present application also provides an imaging device, which includes the imaging control device described above.
  • an imaging device which includes the imaging control device described above.
  • the present application also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor can realize the shooting of time-lapse photography as described above. method.
  • the relevant content please refer to the relevant content above, and will not repeat it here.
  • the computer-readable storage medium may be an internal storage unit of the above device, such as a hard disk or a memory.
  • the computer-readable storage medium can also be an external storage device, such as a plug-in hard disk provided, a smart memory card, a secure digital card, a flash memory card, and the like.

Landscapes

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

Abstract

A photographing method for time-lapse photography, a photographing control device, a photographing device, and a storage medium. The method comprises: during each photographing cycle of time-lapse photography, controlling a woken-up photographing device to enter a sleep state after capturing a first image, and waking up the photographing device in the sleep state when a wake-up time is reached to capture a second image, wherein the wake-up time is set according to the motion state of the woken-up photographing device used for capturing the first image (S101); and generating a corresponding video according to the captured images (S102).

Description

延时摄影的拍摄方法、摄像控制装置、摄像装置及存储介质Time-lapse photography shooting method, camera control device, camera device and storage medium 技术领域technical field

本申请涉及图像处理技术领域,尤其涉及一种延时摄影的拍摄方法、摄像控制装置、摄像装置及存储介质。The present application relates to the technical field of image processing, and in particular to a time-lapse photography shooting method, a camera control device, a camera device and a storage medium.

背景技术Background technique

摄像装置一般都具有延时摄影功能。摄像装置工作在延时摄影模式时,在一段时间内连续间隔拍摄很多帧的图像,然后将拍摄得到的图像合成为视频。拍摄间隔通常是用户设置或者自动设置。Camera devices generally have a time-lapse photography function. When the camera device works in the time-lapse photography mode, it continuously shoots images of many frames at intervals within a period of time, and then synthesizes the captured images into a video. The shooting interval is usually set by the user or automatically.

但是,上述拍摄间隔设置完成后,不会根据实际拍摄情况自动灵活变动,拍摄后合成出来的视频效果不能真实反映实际拍摄情况,影响用户体验。However, after the above-mentioned shooting interval is set, it will not automatically and flexibly change according to the actual shooting situation, and the video effect synthesized after shooting cannot truly reflect the actual shooting situation, which affects the user experience.

发明内容Contents of the invention

基于此,本申请提供一种延时摄影的拍摄方法、摄像控制装置、摄像装置及存储介质。Based on this, the present application provides a time-lapse photography shooting method, a shooting control device, a shooting device and a storage medium.

第一方面,本申请提供一种延时摄影的拍摄方法,所述方法包括:In a first aspect, the present application provides a time-lapse photography shooting method, the method comprising:

在延时摄影的每个循环拍摄过程中,控制唤醒后的摄像装置在拍摄第一图像后进入休眠状态,在到达唤醒时间时唤醒处于休眠状态的摄像装置以拍摄第二图像,其中所述唤醒时间是根据唤醒后用于拍摄第一图像的摄像装置的运动状态来设定的;In each cycle shooting process of time-lapse photography, control the awakened camera device to enter the sleep state after taking the first image, and wake up the camera device in the sleep state to take the second image when the wake-up time is reached, wherein the wake-up The time is set according to the motion state of the camera device used to capture the first image after waking up;

根据拍摄的图像生成对应的视频。Generate corresponding videos based on captured images.

第二方面,本申请提供一种摄像控制装置,所述装置包括:存储器和处理器;In a second aspect, the present application provides a camera control device, which includes: a memory and a processor;

所述存储器用于存储计算机程序;The memory is used to store computer programs;

所述处理器用于执行所述计算机程序并在执行所述计算机程序时,实现如 下步骤:The processor is used to execute the computer program and when executing the computer program, the following steps are implemented:

在延时摄影的每个循环拍摄过程中,控制唤醒后的摄像装置在拍摄第一图像后进入休眠状态,在到达唤醒时间时唤醒处于休眠状态的摄像装置以拍摄第二图像,其中所述唤醒时间是根据唤醒后用于拍摄第一图像的摄像装置的运动状态来设定的;In each cycle shooting process of time-lapse photography, control the awakened camera device to enter the sleep state after taking the first image, and wake up the camera device in the sleep state to take the second image when the wake-up time is reached, wherein the wake-up The time is set according to the motion state of the camera device used to capture the first image after waking up;

根据拍摄的图像生成对应的视频。Generate corresponding videos based on captured images.

第三方面,本申请提供一种摄像装置,所述摄像装置包括如上所述的摄像控制装置。In a third aspect, the present application provides an imaging device, which includes the above-mentioned imaging control device.

第四方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如上所述的延时摄影的拍摄方法。In a fourth aspect, the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor realizes the above-mentioned time-lapse photography Shooting method.

本申请实施例提供了一种延时摄影的拍摄方法、摄像控制装置、摄像装置及存储介质,在延时摄影的每个循环拍摄过程中,控制唤醒后的摄像装置在拍摄第一图像后进入休眠状态,在到达唤醒时间时唤醒处于休眠状态的摄像装置以拍摄第二图像,其中所述唤醒时间是根据唤醒后用于拍摄第一图像的摄像装置的运动状态来设定的;根据拍摄的图像生成对应的视频。由于拍摄第二图像的唤醒时间是根据唤醒后用于拍摄第一图像的摄像装置的运动状态来设定的,第二图像为第一图像的下一帧图像,即摄像装置拍摄第一图像时还根据自身的运动状态确定下一帧的第二图像的唤醒时间,如此,拍摄间隔并不是固定不变的,而是根据摄像装置拍摄图像时的运动状态自动灵活变动,这样拍摄后合成出来的视频效果能够真实反映实际拍摄情况,能够提升用户体验。The embodiment of the present application provides a shooting method for time-lapse photography, a camera control device, a camera device, and a storage medium. During each cycle shooting process of time-lapse photography, the wake-up camera device is controlled to enter the Dormant state, wake up the camera device in the dormant state to take a second image when the wake-up time is reached, wherein the wake-up time is set according to the motion state of the camera device used to take the first image after waking up; The image generates the corresponding video. Since the wake-up time for shooting the second image is set according to the motion state of the imaging device used to capture the first image after waking up, the second image is the next frame image of the first image, that is, when the imaging device captures the first image The wake-up time of the second image of the next frame is also determined according to its own motion state. In this way, the shooting interval is not fixed, but automatically and flexibly changes according to the motion state when the image is captured by the camera device. The video effect can truly reflect the actual shooting situation and improve the user experience.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.

附图说明Description of drawings

为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以 根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present application more clearly, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present application. Ordinary technicians can also obtain other drawings based on these drawings on the premise of not paying creative work.

图1是本申请延时摄影的拍摄方法一实施例的流程示意图;Fig. 1 is a schematic flow chart of an embodiment of the shooting method of time-lapse photography of the present application;

图2是本申请延时摄影的拍摄方法另一实施例的流程示意图;Fig. 2 is a schematic flow chart of another embodiment of the shooting method of the time-lapse photography of the present application;

图3是本申请延时摄影的拍摄方法又一实施例的流程示意图;FIG. 3 is a schematic flow diagram of another embodiment of the shooting method for time-lapse photography of the present application;

图4是本申请延时摄影的拍摄方法又一实施例的流程示意图;Fig. 4 is a schematic flow chart of another embodiment of the shooting method for time-lapse photography of the present application;

图5是本申请延时摄影的拍摄方法又一实施例的流程示意图;Fig. 5 is a schematic flow chart of another embodiment of the shooting method for time-lapse photography of the present application;

图6是本申请延时摄影的拍摄方法又一实施例的流程示意图;Fig. 6 is a schematic flowchart of another embodiment of the shooting method of time-lapse photography in the present application;

图7是本申请延时摄影的拍摄方法又一实施例的流程示意图;Fig. 7 is a schematic flowchart of another embodiment of the shooting method of time-lapse photography in the present application;

图8是本申请摄像控制装置一实施例的结构示意图。FIG. 8 is a schematic structural diagram of an embodiment of the camera control device of the present application.

具体实施方式detailed description

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

附图中所示的流程图仅是示例说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解、组合或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flow charts shown in the drawings are just illustrations, and do not necessarily include all contents and operations/steps, nor must they be performed in the order described. For example, some operations/steps can be decomposed, combined or partly combined, so the actual order of execution may be changed according to the actual situation.

摄像装置一般都具有延时摄影功能。摄像装置工作在延时摄影模式时,在一段时间内连续间隔拍摄很多帧的图像,然后将拍摄得到的图像合成为视频。拍摄间隔通常是用户设置或者自动设置。但是,上述拍摄间隔设置完成后,不会根据实际拍摄情况自动灵活变动,拍摄后合成出来的视频效果不能真实反映实际拍摄情况,影响用户体验。Camera devices generally have a time-lapse photography function. When the camera device works in the time-lapse photography mode, it continuously shoots images of many frames at intervals within a period of time, and then synthesizes the captured images into a video. The shooting interval is usually set by the user or automatically. However, after the above-mentioned shooting interval is set, it will not automatically and flexibly change according to the actual shooting situation, and the video effect synthesized after shooting cannot truly reflect the actual shooting situation, which affects the user experience.

本申请实施例提供了一种延时摄影的拍摄方法、摄像控制装置、摄像装置及存储介质,在延时摄影的每个循环拍摄过程中,控制唤醒后的摄像装置在拍摄第一图像后进入休眠状态,在到达唤醒时间时唤醒处于休眠状态的摄像装置以拍摄第二图像,其中所述唤醒时间是根据唤醒后用于拍摄第一图像的摄像装置的运动状态来设定的;根据拍摄的图像生成对应的视频。由于拍摄第二图像的唤醒时间是根据唤醒后用于拍摄第一图像的摄像装置的运动状态来设定的, 第二图像为第一图像的下一帧图像,即摄像装置拍摄第一图像时还根据自身的运动状态确定下一帧的第二图像的唤醒时间,如此,拍摄间隔并不是固定不变的,而是根据摄像装置拍摄图像时的运动状态自动灵活变动,这样拍摄后合成出来的视频效果能够真实反映实际拍摄情况,能够提升用户体验。The embodiment of the present application provides a shooting method for time-lapse photography, a camera control device, a camera device, and a storage medium. During each cycle shooting process of time-lapse photography, the wake-up camera device is controlled to enter the Dormant state, wake up the camera device in the dormant state to take a second image when the wake-up time is reached, wherein the wake-up time is set according to the motion state of the camera device used to take the first image after waking up; The image generates the corresponding video. Since the wake-up time for shooting the second image is set according to the motion state of the imaging device used to capture the first image after waking up, the second image is the next frame image of the first image, that is, when the imaging device captures the first image The wake-up time of the second image of the next frame is also determined according to its own motion state. In this way, the shooting interval is not fixed, but automatically and flexibly changes according to the motion state when the image is captured by the camera device. The video effect can truly reflect the actual shooting situation and improve the user experience.

下面结合附图,对本申请的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Some implementations of the present application will be described in detail below in conjunction with the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.

参见图1,图1是本申请延时摄影的拍摄方法一实施例的流程示意图,所述方法包括:步骤S101和步骤S102。Referring to FIG. 1 , FIG. 1 is a schematic flowchart of an embodiment of a shooting method for time-lapse photography in the present application, and the method includes: step S101 and step S102 .

步骤S101:在延时摄影的每个循环拍摄过程中,控制唤醒后的摄像装置在拍摄第一图像后进入休眠状态,在到达唤醒时间时唤醒处于休眠状态的摄像装置以拍摄第二图像,其中所述唤醒时间是根据唤醒后用于拍摄第一图像的摄像装置的运动状态来设定的。Step S101: During each cycle of time-lapse photography, control the awakened imaging device to enter a dormant state after capturing the first image, and wake up the dormant imaging device when the wake-up time is reached to capture a second image, wherein The wake-up time is set according to the motion state of the camera device used to capture the first image after wake-up.

步骤S102:根据拍摄的图像生成对应的视频。Step S102: Generate a corresponding video according to the captured image.

延时摄影(Time-lapse photography),又叫缩时摄影、缩时录影,是以一种将时间压缩的拍摄技术。其拍摄的通常是一组照片,后期通过将照片串联合成视频,把几分钟、几小时甚至是几天的过程压缩在一个较短的时间内以视频的方式播放。简单来说,就是以一种较低的帧率拍摄图像,然后用正常或者较快的速率播放图像的摄影技术。Time-lapse photography, also known as time-lapse photography and time-lapse video, is a shooting technique that compresses time. It usually takes a group of photos, and later combines the photos into a video to compress the process of minutes, hours or even days into a short period of time and play it as a video. Simply put, it is a photographic technique that captures images at a lower frame rate and then plays them back at a normal or faster rate.

本实施例中,第一图像是在第二图像前面拍摄的图像,第二图像是在第一图像后面拍摄的图像。延时摄影的循环拍摄过程可以是指摄像装置拍摄一帧图像(即第一图像)后,摄像装置进入休眠状态,休眠一段时间,到达下一帧的拍摄时间时,即为到达唤醒时间,然后唤醒处于休眠状态的摄像装置,唤醒后的摄像装置拍摄一帧图像(即第二图像)后,摄像装置进入休眠状态,如此循环往复,直到循环结束。通过这种方式,在延时摄影的循环拍摄过程加入摄像装置休眠的功能,配合唤醒的特殊拍摄过程,能够延长摄像装置在拍摄延时摄影时的续航时间,中间可以不换电池,不外接电源,能够续航拍摄较长时间,比如8小时以上,极大方便用户拍摄长时间的延时摄影。In this embodiment, the first image is an image captured before the second image, and the second image is an image captured behind the first image. The cycle shooting process of time-lapse photography can refer to that after the camera device captures a frame of image (i.e. the first image), the camera device enters a sleep state, sleeps for a period of time, and when the shooting time of the next frame is reached, it is the wake-up time, and then Wake up the camera device in the dormant state, and after the awakened camera device captures a frame of image (ie, the second image), the camera device enters the dormant state, and so on, until the end of the cycle. In this way, the dormancy function of the camera device is added to the cycle shooting process of time-lapse photography, and the special shooting process of waking up can extend the battery life of the camera device when shooting time-lapse photography, without changing the battery or external power supply in the middle , It can last for a long time, such as more than 8 hours, which is very convenient for users to take long time-lapse photography.

在延时摄影的每个循环拍摄过程中,唤醒时间是根据唤醒后用于拍摄第一图像的摄像装置的运动状态来设定的。运动状态可以是指物体进行机械运动时 相对某个参考系的状态。运动状态有静止、匀速运动、加速运动、减速运动、变速运动,也有直线运动、曲线运动等多种状态。During each cycle shooting process of the time-lapse photography, the wake-up time is set according to the motion state of the camera device used to shoot the first image after wake-up. The state of motion can refer to the state of an object relative to a reference frame when it is performing mechanical motion. The motion state includes static, uniform motion, accelerated motion, decelerated motion, variable speed motion, and also has various states such as linear motion and curved motion.

确定摄像装置的运动状态的方式有很多。例如在摄像装置上配置可以检测摄像装置运动状态的传感器,这样的传感器包括但不限于:加速度计、旋转传感器、振动传感器、惯性测量单元,等等。又如:还可以通过摄像装置拍摄的图像确定摄像装置的运动状态。There are many ways to determine the motion state of the camera device. For example, a sensor capable of detecting the motion state of the camera device is configured on the camera device, such sensors include but are not limited to: accelerometers, rotation sensors, vibration sensors, inertial measurement units, and so on. Another example: the motion state of the camera device can also be determined through the images captured by the camera device.

根据摄像装置的运动状态,确定合适的拍摄间隔时长,根据拍摄间隔时长即可确定摄像装置拍摄下一帧图像的唤醒时间。通常情况下,运动剧烈,则拍摄间隔时长短,静止,则拍摄间隔时长长。例如:跑步或者转弯,拍摄间隔时长可以是1s;走路,拍摄间隔时长可以是2s;静止,拍摄间隔时长可以是8s,等等。如此,延时摄影的每个循环拍摄过程中,两次拍摄的拍摄间隔时长可以按照这个方式进行动态修改;唤醒时间与拍摄间隔时长有关,确定两次拍摄的拍摄间隔时长,即可确定下一帧图像的唤醒时间。According to the motion state of the camera device, an appropriate shooting interval is determined, and a wake-up time for the camera device to capture a next frame of image can be determined according to the shooting interval time. Usually, if there is intense movement, the interval between shots will be short, and if it is still, the interval between shots will be long. For example: running or turning, the shooting interval can be 1s; walking, the shooting interval can be 2s; still, the shooting interval can be 8s, and so on. In this way, during each cycle of time-lapse photography, the shooting interval between two shots can be dynamically modified in this way; the wake-up time is related to the shooting interval, and the next shot can be determined by determining the shooting interval between two shots. The wake-up time for the frame image.

需要说明的是,本申请实施例的方法的应用场景其中一个比较常见的是摄像装置处于运动状态进行拍摄的场景,例如:摄像装置设置在手持设备(例如:手持云台、智能手机,等等)上,摄像装置跟随手持设备运动,并进行拍摄;摄像装置设置在移动平台(例如:无人机、无人车辆,等等)上,摄像装置跟随移动平台运动,并进行拍摄;摄像装置设置在穿戴设备(例如:智能手表、智能手环,等等)上,摄像装置跟随穿戴设备运动,并进行拍摄;或者摄像装置穿戴在人身上、头上等;等等。在这些应用场景中,摄像装置的运动通常是被动的,时而运动、时而静止、时而运动激烈,时而运动缓慢,时而快速运动,时而减速运动,此时如果采用用户设置或者自动设置拍摄间隔时长或唤醒时间,一断设置好中间不可变化,这种方式拍摄合成出来的视频很显然无法反映真实的拍摄情况;而采用本申请实施例的方法根据摄像装置的运动状态设定唤醒时间,拍摄合成出来的视频能够反映真实的拍摄情况,从而能够提升用户体验。It should be noted that one of the more common application scenarios of the method in the embodiment of the present application is a scene where the camera is in motion to shoot, for example: the camera is set on a handheld device (such as a hand-held pan/tilt, a smart phone, etc. ), the camera moves with the handheld device and shoots; the camera is set on a mobile platform (for example: UAV, unmanned vehicle, etc.), the camera moves with the mobile platform, and shoots; the camera is set On a wearable device (such as a smart watch, a smart bracelet, etc.), the camera device follows the movement of the wearable device and takes pictures; or the camera device is worn on a person's body or head; and so on. In these application scenarios, the movement of the camera device is usually passive. Sometimes it moves, sometimes it is still, sometimes it moves violently, sometimes it moves slowly, sometimes it moves fast, and sometimes it slows down. The wake-up time cannot be changed once it is set, and the video synthesized by shooting in this way obviously cannot reflect the real shooting situation; while using the method of the embodiment of this application to set the wake-up time according to the motion state of the camera device, the video is synthesized by shooting The video can reflect the real shooting situation, which can improve the user experience.

在一实施例中,所述摄像装置处于休眠状态时,可以控制摄像装置的内存处于自刷新(SR,Self Refresh)状态,可以控制摄像装置的图像处理芯片的外部电路处于断电状态,控制摄像装置的图像处理芯片内除定时相关器件外的其他器件处于关闭状态。由于摄像装置处于休眠状态的时间是有限制的,当由 图像处理芯片进行休眠时间的计时时,为了降低功耗,在摄像装置处于休眠状态期间,图像处理芯片内除了与定时功能相关的器件外,其他器件都被关闭处于不工作状态。In one embodiment, when the camera is in a dormant state, the internal memory of the camera can be controlled to be in a self-refresh (SR, Self Refresh) state, and the external circuit of the image processing chip of the camera can be controlled to be in a power-off state to control the camera. In the image processing chip of the device, other devices except timing-related devices are turned off. Since the time that the camera is in the sleep state is limited, when the image processing chip is used to time the sleep time, in order to reduce power consumption, during the camera is in the sleep state, in addition to the devices related to the timing function, the image processing chip , other devices are turned off in a non-working state.

在一实施例中,所述摄像装置处于休眠状态时,所述摄像装置的电池处于低放电电压状态和/或低电流状态。在拍摄完一帧图像后,在拍摄下一帧图像前,降低电池放电电压和/或电流,可以使得电池的耗电降低,从而延长电池的工作时长,延长摄像状态的工作时长。In an embodiment, when the camera device is in a dormant state, the battery of the camera device is in a low discharge voltage state and/or a low current state. After one frame of image is taken, before the next frame of image is taken, the discharge voltage and/or current of the battery can be reduced to reduce the power consumption of the battery, thereby prolonging the working time of the battery and the working time of the camera state.

本申请实施例在延时摄影的每个循环拍摄过程中,控制唤醒后的摄像装置在拍摄第一图像后进入休眠状态,在到达唤醒时间时唤醒处于休眠状态的摄像装置以拍摄第二图像,其中所述唤醒时间是根据唤醒后用于拍摄第一图像的摄像装置的运动状态来设定的;根据拍摄的图像生成对应的视频。由于拍摄第二图像的唤醒时间是根据唤醒后用于拍摄第一图像的摄像装置的运动状态来设定的,第二图像为第一图像的下一帧图像,即摄像装置拍摄第一图像时还根据自身的运动状态确定下一帧的第二图像的唤醒时间,如此,拍摄间隔并不是固定不变的,而是根据摄像装置拍摄图像时的运动状态自动灵活变动,这样拍摄后合成出来的视频效果能够真实反映实际拍摄情况,能够提升用户体验。In the embodiment of the present application, during each cycle of time-lapse photography, the awakened imaging device is controlled to enter the dormant state after capturing the first image, and the dormant imaging device is awakened to capture the second image when the wake-up time is reached. Wherein the wake-up time is set according to the motion state of the camera device used to capture the first image after wake-up; and a corresponding video is generated according to the captured image. Since the wake-up time for shooting the second image is set according to the motion state of the imaging device used to capture the first image after waking up, the second image is the next frame image of the first image, that is, when the imaging device captures the first image The wake-up time of the second image of the next frame is also determined according to its own motion state. In this way, the shooting interval is not fixed, but automatically and flexibly changes according to the motion state when the image is captured by the camera device. The video effect can truly reflect the actual shooting situation and improve the user experience.

下面详细说明与唤醒时间相关的细节内容。Details related to the wake-up time will be described in detail below.

参见图2,在一实施例中,所述方法还可以包括:步骤S103和步骤S104。Referring to Fig. 2, in an embodiment, the method may further include: step S103 and step S104.

步骤S103:唤醒用于拍摄所述第一图像的摄像装置后,确定所述摄像装置的运动状态。Step S103: After waking up the camera device for capturing the first image, determine the motion state of the camera device.

步骤S104:根据所述摄像装置的运动状态,设定拍摄所述第二图像的唤醒时间。Step S104: Set a wake-up time for capturing the second image according to the motion state of the camera device.

本实施例中,为了尽可能降低功耗,选择在唤醒用于拍摄所述第一图像的摄像装置后,确定所述摄像装置的运动状态,并据此设定拍摄第二图像的唤醒时间。其中,步骤S103和步骤S104可以在用于拍摄所述第一图像的摄像装置唤醒后到用于拍摄所述第一图像的摄像装置休眠之前的时间段完成。例如可以在用于拍摄所述第一图像的摄像装置唤醒后,即刻执行步骤S103和步骤S104,然后再执行后面与拍摄第一图像有关的步骤。In this embodiment, in order to reduce power consumption as much as possible, after waking up the camera device for shooting the first image, determine the motion state of the camera device, and set the wake-up time for shooting the second image accordingly. Wherein, step S103 and step S104 may be completed during a time period after the camera device for shooting the first image wakes up and before the camera device for shooting the first image goes to sleep. For example, step S103 and step S104 may be performed immediately after the camera device used to capture the first image wakes up, and then subsequent steps related to capturing the first image may be performed.

在一实施例中,根据摄像装置的运动数据来确定摄像装置的运动状态。即 步骤S103,所述唤醒用于拍摄所述第一图像的摄像装置后,确定所述摄像装置的运动状态,可以包括:子步骤S103A1和子步骤S103A2,如图3所示。In an embodiment, the motion state of the camera device is determined according to the motion data of the camera device. That is, step S103, after waking up the camera device for taking the first image, determining the motion state of the camera device may include: sub-step S103A1 and sub-step S103A2, as shown in FIG. 3 .

子步骤S103A1:唤醒用于拍摄所述第一图像的摄像装置后,获取所述摄像装置的运动数据。Sub-step S103A1: After waking up the camera device for capturing the first image, acquire motion data of the camera device.

子步骤S103A2:根据所述摄像装置的运动数据,确定所述摄像装置的运动状态。Sub-step S103A2: Determine the motion state of the camera according to the motion data of the camera.

摄像装置的运动数据通常是通过检测摄像装置的运动状态的传感器检测得到的。根据摄像装置的运动数据即可确定所述摄像装置的运动状态:是静止,还是运动,如果是运动,运动程度如何,运动时间如何,等等。The motion data of the camera device is usually detected by a sensor that detects the motion state of the camera device. According to the motion data of the camera device, the motion state of the camera device can be determined: whether it is still or in motion, and if it is in motion, how much is the motion, how long is the motion, and so on.

在一实施例中,子步骤S103A1,所述唤醒用于拍摄所述第一图像的摄像装置后,获取所述摄像装置的运动数据,还可以包括:唤醒用于拍摄所述第一图像的摄像装置后,获取所述摄像装置从唤醒之前的休眠状态到唤醒时的运动数据。In an embodiment, the sub-step S103A1, after waking up the camera device for taking the first image, acquiring motion data of the camera device may also include: waking up the camera device for taking the first image After the device is installed, motion data of the camera device from a dormant state before waking up to when waking up is acquired.

本实施例监测摄像装置的运动状态获取的运动数据的时间段是从唤醒之前的休眠状态到唤醒时的时间段,即本实施例是持续检测摄像装置的运动状态,即使摄像装置处于休眠状态,如此能够对摄像装置的运动状态得到较为准确、全面的信息,为合理、准确地设定唤醒时间提供支持。本实施例中摄像装置在休眠状态时检测摄像装置运动状态的传感器依然在工作,采集传感器数据的采集模块也在工作。The time period of motion data obtained by monitoring the motion state of the imaging device in this embodiment is from the dormant state before waking up to the time period when waking up, that is, this embodiment continuously detects the motion state of the imaging device, even if the imaging device is in a dormant state, In this way, relatively accurate and comprehensive information on the motion state of the camera device can be obtained, which provides support for setting the wake-up time reasonably and accurately. In this embodiment, the sensor for detecting the motion state of the camera device is still working when the camera device is in the dormant state, and the acquisition module for collecting sensor data is also working.

在一实施例中,所述摄像装置上设置有惯性测量单元,所述运动数据为所述惯性测量单元测量得到的运动数据。惯性测量单元(IMU,Inertial Measurement Unit)能够测量物体的三轴姿态角(或角速率)以及加速度,能够较为全面检测摄像状态的运动状态。In an embodiment, the camera device is provided with an inertial measurement unit, and the motion data is motion data measured by the inertial measurement unit. The inertial measurement unit (IMU, Inertial Measurement Unit) can measure the three-axis attitude angle (or angular rate) and acceleration of the object, and can comprehensively detect the motion state of the camera state.

在一实施例中,根据拍摄的图像来确定摄像装置的运动状态。即步骤S103,所述唤醒用于拍摄所述第一图像的摄像装置后,确定所述摄像装置的运动状态,还可以包括:子步骤S103B1和子步骤S103B2,如图4所示。In an embodiment, the motion state of the camera device is determined according to the captured images. That is, step S103, after waking up the camera device for capturing the first image, determining the motion state of the camera device may further include: sub-step S103B1 and sub-step S103B2, as shown in FIG. 4 .

子步骤S103B1:唤醒用于拍摄所述第一图像的摄像装置后,控制所述摄像装置进行预拍摄。Sub-step S103B1: After waking up the camera device for capturing the first image, control the camera device to perform pre-shooting.

子步骤S103B2:根据预拍摄的图像确定所述摄像装置的运动状态。Sub-step S103B2: Determine the motion state of the camera according to the pre-captured image.

例如:在预拍摄的图像中可以检测多个目标,判断这多个目标在多张连续的图像中出现或没有出现的情况,分析在多张图像中连续出现的目标是否为运动目标,再结合其他目标一起进行判断,判断目标运动是因为目标本身在运动,还是因为摄像装置在运动,还是因为目标在运动同时摄像装置也在运动,根据判断结果确定摄像装置的运动状态。For example: multiple targets can be detected in the pre-shot image, judge whether the multiple targets appear or not appear in multiple consecutive images, analyze whether the targets appearing continuously in multiple images are moving targets, and then combine Other targets are judged together to determine whether the target is moving because the target itself is moving, or because the camera is moving, or because the camera is also moving while the target is moving, and the motion state of the camera is determined according to the judgment result.

下面详细说明拍摄图像前确定拍摄参数的细节内容。The details of determining the shooting parameters before shooting an image will be described in detail below.

摄像装置从休眠状态被唤醒后如果不调整拍摄参数直接拍摄图像,通常这种随机获得的拍摄参数不合适,这样会影响图像质量及后续合成的视频质量。因此,在唤醒摄像装置后可以先确定合适的拍摄参数,然后再进行拍摄,如此可以保证图像质量和合成的视频质量。即步骤S101中,所述在到达唤醒时间时唤醒处于休眠状态的摄像装置以拍摄第二图像,可以包括:子步骤S101A1、子步骤S101A2以及子步骤S101A3,如图5所示。If the camera device is awakened from a dormant state and directly captures images without adjusting the shooting parameters, usually the randomly obtained shooting parameters are not suitable, which will affect the quality of the image and the quality of the subsequent synthesized video. Therefore, after waking up the camera device, appropriate shooting parameters can be determined first, and then the shooting can be performed, so that image quality and synthesized video quality can be guaranteed. That is, in step S101, waking up the dormant imaging device to take a second image when the wake-up time is reached may include: sub-step S101A1, sub-step S101A2, and sub-step S101A3, as shown in FIG. 5 .

子步骤S101A1:在到达唤醒时间时唤醒处于休眠状态的摄像装置。Sub-step S101A1: wake up the imaging device in the dormant state when the wake-up time is reached.

子步骤S101A2:确定用于拍摄所述第二图像的摄像装置的拍摄参数。Sub-step S101A2: Determine shooting parameters of the camera device used to shoot the second image.

子步骤S101A3:控制所述摄像装置以所述拍摄参数拍摄所述第二图像。Sub-step S101A3: controlling the camera device to shoot the second image with the shooting parameters.

拍摄参数可以是指拍摄图像时使用的参数,如快门速度、光圈、焦距、感光度ISO值、自动对焦参数、自动曝光参数、自动白平衡参数、是否开闪光灯等。在一实施例中,所述拍摄参数可以包括自动曝光参数、自动白平衡参数及自动对焦参数中的一种或多种。自动曝光参数、自动白平衡参数及自动对焦参数中的一种或多种是影响图像质量的重点拍摄参数,重点确定自动曝光参数、自动白平衡参数及自动对焦参数中的一种或多种,能够缩短确定拍摄参数的时间,从而降低功耗。Shooting parameters may refer to parameters used when shooting images, such as shutter speed, aperture, focal length, sensitivity ISO value, auto-focus parameters, auto-exposure parameters, auto-white balance parameters, whether to turn on the flash, etc. In an embodiment, the shooting parameters may include one or more of automatic exposure parameters, automatic white balance parameters, and automatic focus parameters. One or more of the automatic exposure parameters, automatic white balance parameters and automatic focus parameters are the key shooting parameters that affect the image quality, and one or more of the automatic exposure parameters, automatic white balance parameters and automatic focus parameters are mainly determined. The time for determining shooting parameters can be shortened, thereby reducing power consumption.

确定摄像装置的拍摄参数需要花费时间,消耗功耗,为了尽可能减少花费的时间,降低功耗,可以在高帧率模式下确定所述摄像装置的拍摄参数。即在一实施例中,子步骤S101A2,所述确定用于拍摄所述第二图像的摄像装置的拍摄参数,可以包括:控制所述摄像装置在画面刷新率高于预设帧率的高帧率模式下确定所述摄像装置的拍摄参数。Determining the shooting parameters of the camera device takes time and consumes power consumption. In order to reduce the time spent and power consumption as much as possible, the shooting parameters of the camera device can be determined in a high frame rate mode. That is, in an embodiment, the sub-step S101A2, the determining the shooting parameters of the camera device used to capture the second image may include: controlling the camera device to operate at a high frame rate with a frame refresh rate higher than a preset frame rate The shooting parameters of the camera device are determined in the rate mode.

高帧率模式可以是指画面刷新率高于预设帧率的模式。例如预设帧率为默认每秒最高30帧,那么大于每秒30帧的画面刷新率模式可以认为是高帧率模 式,如每秒最高60帧、每秒最高120帧,等等。帧数越多,同一秒内时间里刷新到的图像就越多,如此能够快速确定质量好的图像对应的拍摄参数。The high frame rate mode may refer to a mode in which the frame refresh rate is higher than a preset frame rate. For example, the preset frame rate defaults to a maximum of 30 frames per second, then a frame refresh rate mode greater than 30 frames per second can be considered a high frame rate mode, such as a maximum of 60 frames per second, a maximum of 120 frames per second, and so on. The more the number of frames, the more images are refreshed in the same second, so that the shooting parameters corresponding to the images with good quality can be quickly determined.

为了进一步降低功耗,在一实施例中,子步骤S101A2,还可以包括:In order to further reduce power consumption, in an embodiment, substep S101A2 may also include:

A、控制所述摄像装置进入所述高帧率模式。A. Control the camera device to enter the high frame rate mode.

B、在所述高帧率模式下,连续设置多组具有预设间隔的设置参数。B. In the high frame rate mode, continuously set multiple sets of setting parameters with preset intervals.

C、获取所述设置参数对应的连续多组的统计值。C. Acquiring the statistical values of multiple consecutive groups corresponding to the set parameters.

D、根据所述连续多组的统计值,确定所述摄像装置用于拍摄所述第二图像的拍摄参数。D. Determine a shooting parameter used by the camera device to shoot the second image according to the statistical values of the multiple consecutive groups.

相关技术中,采用常见的连续的闭环收敛过程是:设置参数->获取统计值->调整参数->设置参数;本申请实施例采用的收敛过程是:连续设置n组有预设间隔的设置参数,获取设置参数对应的连续n组的统计值,根据这n组统计值,选取最合适或者最接近的摄像装置用于拍摄所述第二图像的拍摄参数。相比相关技术中采用的连续的闭环收敛过程,本实施例采用的收敛过程花费的时间更短,速度更快,因此能够进一步降低功耗。In related technologies, the common continuous closed-loop convergence process is: setting parameters -> obtaining statistical values -> adjusting parameters -> setting parameters; the convergence process adopted in the embodiment of the present application is: continuously setting n groups of settings with preset intervals Parameters, acquiring n consecutive groups of statistical values corresponding to the set parameters, and selecting the most suitable or closest shooting parameters for shooting the second image by the camera device according to the n groups of statistical values. Compared with the continuous closed-loop convergence process adopted in the related art, the convergence process adopted in this embodiment takes a shorter time and is faster, so the power consumption can be further reduced.

在一实施例中,为了最终生成的视频在亮度、色彩上不会跳动,可以对每次拍摄的拍摄参数进行滤波,使得拍摄参数的变化比较平滑。即上述D,所述根据所述连续多组的统计值,确定所述摄像装置用于拍摄所述第二图像的拍摄参数,还可以包括:根据所述连续多组的统计值,确定所述摄像装置的统计参数;对所述统计参数进行滤波处理,得到所述摄像装置用于拍摄所述第二图像的拍摄参数。In an embodiment, in order to prevent the brightness and color of the finally generated video from jumping, the shooting parameters of each shooting may be filtered, so that the changes of the shooting parameters are relatively smooth. That is, the above-mentioned D, said determining the shooting parameters used by the imaging device for shooting the second image according to the statistical values of the multiple consecutive groups may also include: determining the shooting parameters of the second image according to the statistical values of the multiple consecutive groups Statistical parameters of the imaging device; performing filtering processing on the statistical parameters to obtain shooting parameters used by the imaging device to capture the second image.

同样,为了最终生成的视频在亮度、色彩上不会跳动,也可以在合成视频时对图像件亮度平滑处理。即步骤S102,所述根据拍摄的图像生成对应的视频,可以包括:子步骤S102A1和子步骤S102A2,如图6所示。Similarly, in order that the brightness and color of the final generated video will not jump, the brightness of the image can also be smoothed when compositing the video. That is, step S102 , generating a corresponding video according to the captured image may include: sub-step S102A1 and sub-step S102A2 , as shown in FIG. 6 .

子步骤S102A1:对拍摄的图像进行亮度平滑处理。Sub-step S102A1: Perform brightness smoothing processing on the captured image.

子步骤S102A2:根据亮度平滑处理后的图像生成对应的视频。Sub-step S102A2: Generate a corresponding video according to the smoothed image.

在一实施例中,为了保证合成的视频的质量,在合成视频时对图像进行数字防抖处理。即步骤S102,所述根据拍摄的图像生成对应的视频,可以包括:子步骤S102B1和子步骤S102B2,如图7所示。In an embodiment, in order to ensure the quality of the synthesized video, digital anti-shake processing is performed on the image when the video is synthesized. That is, step S102, the generating of the corresponding video according to the captured image may include: sub-step S102B1 and sub-step S102B2, as shown in FIG. 7 .

子步骤S102B1:对拍摄的图像进行数字防抖处理。Sub-step S102B1: Perform digital anti-shake processing on the captured image.

子步骤S102B2:根据数字防抖处理后的图像生成对应的视频。Sub-step S102B2: Generate a corresponding video according to the digitally stabilized image.

防抖可以防止拍出的图像有虚影。数字防抖又叫电子式防手震技术,该技术在抖动检测方面利用动态向量,根据动态向量来掌握图像的摆动方向及摆动量,以此为参考使图像位置平行移动,从而生成无抖动的动态图像。Anti-shake can prevent the captured image from ghosting. Digital anti-shake is also called electronic anti-shake technology. This technology uses dynamic vectors in shake detection, and grasps the direction and amount of swing of the image according to the dynamic vector, and uses this as a reference to move the image position in parallel to generate a shake-free image. dynamic image.

其中,子步骤S102B1,所述对拍摄的图像进行数字防抖处理,还可以包括:根据拍摄所述第一图像的摄像装置的运动状态,对所述第一图像进行数字防抖处理;根据拍摄所述第二图像的摄像装置的运动状态,对所述第二图像进行数字防抖处理。Wherein, sub-step S102B1, performing digital anti-shake processing on the captured image may also include: performing digital anti-shake processing on the first image according to the motion state of the camera device that captured the first image; The motion state of the camera device of the second image, and perform digital anti-shake processing on the second image.

需要进行数字防抖处理的图像在进行数字防抖处理时结合拍摄该图像的摄像装置的运动状态,能够使数字防抖处理更为精确,能够尽量保证图像的质量。The image requiring digital anti-shake processing can make the digital anti-shake processing more accurate and ensure the quality of the image as much as possible by combining the motion state of the camera device that captures the image when the digital anti-shake processing is performed.

参见图8,图8是本申请摄像控制装置一实施例的结构示意图,该摄像控制装置能够控制摄像装置,该摄像控制装置能够作为摄像装置的一部分设置在摄像装置内部,也可以作为一个独立的能够控制摄像装置的装置存在。需要说明的是,本实施例的装置能够执行上述延时摄影的拍摄方法中的步骤,相关内容的详细说明,请参见上述延时摄影的拍摄方法的相关内容,在此不再赘叙。Referring to FIG. 8, FIG. 8 is a schematic structural diagram of an embodiment of the camera control device of the present application. The camera control device can control the camera device. The camera control device can be installed inside the camera device as a part of the camera device, or can be used as an independent A device capable of controlling the camera exists. It should be noted that the device of this embodiment can execute the steps in the above-mentioned shooting method of time-lapse photography. For the detailed description of relevant content, please refer to the relevant content of the above-mentioned shooting method of time-lapse photography, which will not be repeated here.

所述装置100包括:存储器1和处理器2;处理器2与存储器1通过总线连接。The device 100 includes: a memory 1 and a processor 2; the processor 2 is connected to the memory 1 through a bus.

其中,处理器2可以是微控制单元、中央处理单元或数字信号处理器,等等。Wherein, the processor 2 may be a micro control unit, a central processing unit or a digital signal processor, and so on.

其中,存储器1可以是Flash芯片、只读存储器、磁盘、光盘、U盘或者移动硬盘等等。Wherein, the memory 1 may be a Flash chip, a read-only memory, a magnetic disk, an optical disk, a U disk or a mobile hard disk, and the like.

所述存储器1用于存储计算机程序;所述处理器2用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The memory 1 is used to store a computer program; the processor 2 is used to execute the computer program and when executing the computer program, implement the following steps:

在延时摄影的每个循环拍摄过程中,控制唤醒后的摄像装置在拍摄第一图像后进入休眠状态,在到达唤醒时间时唤醒处于休眠状态的摄像装置以拍摄第二图像,其中所述唤醒时间是根据唤醒后用于拍摄第一图像的摄像装置的运动状态来设定的;根据拍摄的图像生成对应的视频。In each cycle shooting process of time-lapse photography, control the awakened camera device to enter the sleep state after taking the first image, and wake up the camera device in the sleep state to take the second image when the wake-up time is reached, wherein the wake-up The time is set according to the motion state of the camera device used to capture the first image after waking up; a corresponding video is generated according to the captured image.

其中,所述处理器在执行所述计算机程序时,实现如下步骤:唤醒用于拍 摄所述第一图像的摄像装置后,确定所述摄像装置的运动状态;根据所述摄像装置的运动状态,设定拍摄所述第二图像的唤醒时间。Wherein, when the processor executes the computer program, the following steps are implemented: after waking up the camera device for taking the first image, determining the motion state of the camera device; according to the motion state of the camera device, A wake-up time for capturing the second image is set.

其中,所述处理器在执行所述计算机程序时,实现如下步骤:唤醒用于拍摄所述第一图像的摄像装置后,获取所述摄像装置的运动数据;根据所述摄像装置的运动数据,确定所述摄像装置的运动状态。Wherein, when the processor executes the computer program, the following steps are implemented: after waking up the camera device for taking the first image, acquiring motion data of the camera device; according to the motion data of the camera device, A motion state of the camera device is determined.

其中,所述处理器在执行所述计算机程序时,实现如下步骤:唤醒用于拍摄所述第一图像的摄像装置后,获取所述摄像装置从唤醒之前的休眠状态到唤醒时的运动数据。Wherein, when the processor executes the computer program, the following steps are implemented: after waking up the camera device for taking the first image, acquiring motion data of the camera device from a dormant state before waking up to when waking up.

其中,所述摄像装置上设置有惯性测量单元,所述运动数据为所述惯性测量单元测量得到的运动数据。Wherein, the camera device is provided with an inertial measurement unit, and the motion data is motion data measured by the inertial measurement unit.

其中,所述处理器在执行所述计算机程序时,实现如下步骤:唤醒用于拍摄所述第一图像的摄像装置后,控制所述摄像装置进行预拍摄;根据预拍摄的图像确定所述摄像装置的运动状态。Wherein, when the processor executes the computer program, the following steps are implemented: after waking up the imaging device for capturing the first image, controlling the imaging device to perform pre-shooting; The motion state of the device.

其中,所述处理器在执行所述计算机程序时,实现如下步骤:在到达唤醒时间时唤醒处于休眠状态的摄像装置;确定用于拍摄所述第二图像的摄像装置的拍摄参数;控制所述摄像装置以所述拍摄参数拍摄所述第二图像。Wherein, when the processor executes the computer program, the following steps are implemented: waking up the camera device in a dormant state when the wake-up time is reached; determining shooting parameters of the camera device for shooting the second image; controlling the The camera device shoots the second image with the shooting parameters.

其中,所述处理器在执行所述计算机程序时,实现如下步骤:控制所述摄像装置在画面刷新率高于预设帧率的高帧率模式下确定所述摄像装置的拍摄参数。Wherein, when the processor executes the computer program, the following steps are implemented: controlling the camera device to determine shooting parameters of the camera device in a high frame rate mode in which the frame refresh rate is higher than a preset frame rate.

其中,所述处理器在执行所述计算机程序时,实现如下步骤:控制所述摄像装置进入所述高帧率模式;在所述高帧率模式下,连续设置多组具有预设间隔的设置参数;获取所述设置参数对应的连续多组的统计值;根据所述连续多组的统计值,确定所述摄像装置用于拍摄所述第二图像的拍摄参数。Wherein, when the processor executes the computer program, the following steps are implemented: controlling the camera to enter the high frame rate mode; in the high frame rate mode, continuously setting multiple sets of settings with preset intervals Parameters; obtaining multiple consecutive groups of statistical values corresponding to the set parameters; determining shooting parameters used by the imaging device for shooting the second image according to the consecutive multiple groups of statistical values.

其中,所述处理器在执行所述计算机程序时,实现如下步骤:根据所述连续多组的统计值,确定所述摄像装置的统计参数;对所述统计参数进行滤波处理,得到所述摄像装置用于拍摄所述第二图像的拍摄参数。Wherein, when the processor executes the computer program, the following steps are implemented: determining the statistical parameters of the imaging device according to the statistical values of the plurality of consecutive groups; performing filtering processing on the statistical parameters to obtain the imaging The device is used to capture shooting parameters of the second image.

其中,所述拍摄参数包括自动曝光参数、自动白平衡参数及自动对焦参数中的一种或多种。Wherein, the shooting parameters include one or more of automatic exposure parameters, automatic white balance parameters and automatic focus parameters.

其中,所述处理器在执行所述计算机程序时,实现如下步骤:对拍摄的图 像进行数字防抖处理;根据数字防抖处理后的图像生成对应的视频。Wherein, when the processor executes the computer program, the following steps are implemented: performing digital anti-shake processing on the captured image; generating a corresponding video according to the image after the digital anti-shake processing.

其中,所述处理器在执行所述计算机程序时,实现如下步骤:根据拍摄所述第一图像的摄像装置的运动状态,对所述第一图像进行数字防抖处理;根据拍摄所述第二图像的摄像装置的运动状态,对所述第二图像进行数字防抖处理。Wherein, when the processor executes the computer program, the following steps are implemented: performing digital anti-shake processing on the first image according to the motion state of the imaging device that captures the first image; The motion state of the imaging device of the image, and digital anti-shake processing is performed on the second image.

其中,所述处理器在执行所述计算机程序时,实现如下步骤:对拍摄的图像进行亮度平滑处理;根据亮度平滑处理后的图像生成对应的视频。Wherein, when the processor executes the computer program, the following steps are implemented: performing brightness smoothing processing on the captured image; generating a corresponding video according to the brightness smoothed image.

其中,所述摄像装置处于休眠状态时,内存处于自刷新状态,图像处理芯片的外部电路处于断电状态,所述图像处理芯片内除定时相关器件外的其他器件处于关闭状态。Wherein, when the camera device is in the dormant state, the memory is in the self-refresh state, the external circuit of the image processing chip is in the power-off state, and other devices in the image processing chip except timing-related devices are in the off state.

其中,所述摄像装置处于休眠状态时,所述摄像装置的电池处于低放电电压状态和/或低电流状态。Wherein, when the camera device is in a dormant state, the battery of the camera device is in a low discharge voltage state and/or a low current state.

本申请还提供一种摄像装置,所述摄像装置包括如上任一所述的摄像控制装置。相关内容的详细说明,请参见上述相关内容部分,在此不再赘叙。The present application also provides an imaging device, which includes the imaging control device described above. For a detailed description of the relevant content, please refer to the relevant content above, and will not repeat it here.

本申请还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如上任一所述的延时摄影的拍摄方法。相关内容的详细说明请参见上述相关内容部分,在此不再赘叙。The present application also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor can realize the shooting of time-lapse photography as described above. method. For a detailed description of the relevant content, please refer to the relevant content above, and will not repeat it here.

其中,该计算机可读存储介质可以是上述装置的内部存储单元,例如硬盘或内存。该计算机可读存储介质也可以是外部存储设备,例如配备的插接式硬盘、智能存储卡、安全数字卡、闪存卡,等等。Wherein, the computer-readable storage medium may be an internal storage unit of the above device, such as a hard disk or a memory. The computer-readable storage medium can also be an external storage device, such as a plug-in hard disk provided, a smart memory card, a secure digital card, a flash memory card, and the like.

应当理解,在本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。It should be understood that the terminology used in the specification of the present application is only for the purpose of describing specific embodiments and is not intended to limit the present application.

还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be understood that the term "and/or" used in the description of the present application and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

以上所述,仅为本申请的具体实施例,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the application, but the scope of protection of the application is not limited thereto. Any person familiar with the technical field can easily think of various equivalents within the scope of the technology disclosed in the application. Modifications or replacements, these modifications or replacements shall be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (34)

一种延时摄影的拍摄方法,其特征在于,所述方法包括:A shooting method for time-lapse photography, characterized in that the method comprises: 在延时摄影的每个循环拍摄过程中,控制唤醒后的摄像装置在拍摄第一图像后进入休眠状态,在到达唤醒时间时唤醒处于休眠状态的摄像装置以拍摄第二图像,其中所述唤醒时间是根据唤醒后用于拍摄第一图像的摄像装置的运动状态来设定的;In each cycle shooting process of time-lapse photography, control the awakened camera device to enter the sleep state after taking the first image, and wake up the camera device in the sleep state to take the second image when the wake-up time is reached, wherein the wake-up The time is set according to the motion state of the camera device used to capture the first image after waking up; 根据拍摄的图像生成对应的视频。Generate corresponding videos based on captured images. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, further comprising: 唤醒用于拍摄所述第一图像的摄像装置后,确定所述摄像装置的运动状态;After waking up the camera device used to capture the first image, determine the motion state of the camera device; 根据所述摄像装置的运动状态,设定拍摄所述第二图像的唤醒时间。A wake-up time for capturing the second image is set according to the motion state of the camera device. 根据权利要求2所述的方法,其特征在于,所述唤醒用于拍摄所述第一图像的摄像装置后,确定所述摄像装置的运动状态,包括:The method according to claim 2, wherein after waking up the camera device for taking the first image, determining the motion state of the camera device comprises: 唤醒用于拍摄所述第一图像的摄像装置后,获取所述摄像装置的运动数据;After waking up the camera device used to capture the first image, acquire motion data of the camera device; 根据所述摄像装置的运动数据,确定所述摄像装置的运动状态。According to the motion data of the camera device, the motion state of the camera device is determined. 根据权利要求3所述的方法,其特征在于,所述唤醒用于拍摄所述第一图像的摄像装置后,获取所述摄像装置的运动数据,包括:The method according to claim 3, wherein after waking up the camera device for taking the first image, acquiring motion data of the camera device comprises: 唤醒用于拍摄所述第一图像的摄像装置后,获取所述摄像装置从唤醒之前的休眠状态到唤醒时的运动数据。After waking up the camera device used to capture the first image, acquiring motion data of the camera device from a dormant state before waking up to when waking up. 根据权利要求3所述的方法,其特征在于,所述摄像装置上设置有惯性测量单元,所述运动数据为所述惯性测量单元测量得到的运动数据。The method according to claim 3, wherein an inertial measurement unit is provided on the camera device, and the motion data is motion data measured by the inertial measurement unit. 根据权利要求2所述的方法,其特征在于,所述唤醒用于拍摄所述第一图像的摄像装置后,确定所述摄像装置的运动状态,包括:The method according to claim 2, wherein after waking up the camera device for taking the first image, determining the motion state of the camera device comprises: 唤醒用于拍摄所述第一图像的摄像装置后,控制所述摄像装置进行预拍摄;After waking up the camera device used to capture the first image, control the camera device to perform pre-shooting; 根据预拍摄的图像确定所述摄像装置的运动状态。The motion state of the camera is determined according to the pre-captured images. 根据权利要求1所述的方法,其特征在于,所述在到达唤醒时间时唤醒处于休眠状态的摄像装置以拍摄第二图像,包括:The method according to claim 1, wherein waking up the camera device in a dormant state to take a second image when the wake-up time is reached comprises: 在到达唤醒时间时唤醒处于休眠状态的摄像装置;Wake up the dormant camera device when the wake-up time is reached; 确定用于拍摄所述第二图像的摄像装置的拍摄参数;determining shooting parameters of the camera device used to capture the second image; 控制所述摄像装置以所述拍摄参数拍摄所述第二图像。controlling the camera device to shoot the second image with the shooting parameters. 根据权利要求7所述的方法,其特征在于,所述确定用于拍摄所述第二图像的摄像装置的拍摄参数,包括:The method according to claim 7, wherein the determining the shooting parameters of the camera for shooting the second image comprises: 控制所述摄像装置在画面刷新率高于预设帧率的高帧率模式下确定所述摄像装置的拍摄参数。The camera is controlled to determine shooting parameters of the camera in a high frame rate mode in which the frame refresh rate is higher than a preset frame rate. 根据权利要求8所述的方法,其特征在于,所述控制所述摄像装置在画面刷新率高于预设帧率的高帧率模式下确定所述摄像装置的拍摄参数,包括:The method according to claim 8, wherein the controlling the camera device to determine shooting parameters of the camera device in a high frame rate mode with a frame refresh rate higher than a preset frame rate comprises: 控制所述摄像装置进入所述高帧率模式;controlling the camera device to enter the high frame rate mode; 在所述高帧率模式下,连续设置多组具有预设间隔的设置参数;In the high frame rate mode, continuously setting multiple sets of setting parameters with preset intervals; 获取所述设置参数对应的连续多组的统计值;Acquiring the statistical values of multiple consecutive groups corresponding to the set parameters; 根据所述连续多组的统计值,确定所述摄像装置用于拍摄所述第二图像的拍摄参数。A shooting parameter used by the camera device to shoot the second image is determined according to the consecutive groups of statistical values. 根据权利要求9所述的方法,其特征在于,所述根据所述连续多组的统计值,确定所述摄像装置用于拍摄所述第二图像的拍摄参数,包括:The method according to claim 9, wherein the determining the shooting parameters of the camera device for shooting the second image according to the statistical values of the consecutive groups includes: 根据所述连续多组的统计值,确定所述摄像装置的统计参数;determining statistical parameters of the imaging device according to the statistical values of the consecutive groups; 对所述统计参数进行滤波处理,得到所述摄像装置用于拍摄所述第二图像的拍摄参数。Filtering is performed on the statistical parameters to obtain shooting parameters used by the camera device for shooting the second image. 根据权利要求7所述的方法,其特征在于,所述拍摄参数包括自动曝光参数、自动白平衡参数及自动对焦参数中的一种或多种。The method according to claim 7, wherein the shooting parameters include one or more of automatic exposure parameters, automatic white balance parameters and automatic focus parameters. 根据权利要求1所述的方法,其特征在于,所述根据拍摄的图像生成对应的视频,包括:The method according to claim 1, wherein said generating a corresponding video according to the captured image comprises: 对拍摄的图像进行数字防抖处理;Perform digital anti-shake processing on the captured images; 根据数字防抖处理后的图像生成对应的视频。A corresponding video is generated according to the image processed by the digital image stabilization. 根据权利要求12所述的方法,其特征在于,所述对拍摄的图像进行数字防抖处理,包括:The method according to claim 12, wherein said performing digital anti-shake processing on the captured image comprises: 根据拍摄所述第一图像的摄像装置的运动状态,对所述第一图像进行数字防抖处理;performing digital anti-shake processing on the first image according to the motion state of the camera device that captures the first image; 根据拍摄所述第二图像的摄像装置的运动状态,对所述第二图像进行数字防抖处理。Perform digital anti-shake processing on the second image according to the motion state of the camera that captures the second image. 根据权利要求1所述的方法,其特征在于,所述根据拍摄的图像生成对应的视频,包括:The method according to claim 1, wherein said generating a corresponding video according to the captured image comprises: 对拍摄的图像进行亮度平滑处理;Perform brightness smoothing on captured images; 根据亮度平滑处理后的图像生成对应的视频。A corresponding video is generated according to the brightness-smoothed image. 根据权利要求1所述的方法,其特征在于,所述摄像装置处于休眠状态时,内存处于自刷新状态,图像处理芯片的外部电路处于断电状态,所述图像处理芯片内除定时相关器件外的其他器件处于关闭状态。The method according to claim 1, characterized in that, when the camera is in a dormant state, the memory is in a self-refresh state, and the external circuit of the image processing chip is in a power-off state, except for timing-related devices in the image processing chip other devices are turned off. 根据权利要求1所述的方法,其特征在于,所述摄像装置处于休眠状态时,所述摄像装置的电池处于低放电电压状态和/或低电流状态。The method according to claim 1, wherein when the imaging device is in a dormant state, the battery of the imaging device is in a low discharge voltage state and/or a low current state. 一种摄像控制装置,其特征在于,所述装置包括:存储器和处理器;A camera control device, characterized in that the device includes: a memory and a processor; 所述存储器用于存储计算机程序;The memory is used to store computer programs; 所述处理器用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processor is configured to execute the computer program and when executing the computer program, implement the following steps: 在延时摄影的每个循环拍摄过程中,控制唤醒后的摄像装置在拍摄第一图像后进入休眠状态,在到达唤醒时间时唤醒处于休眠状态的摄像装置以拍摄第二图像,其中所述唤醒时间是根据唤醒后用于拍摄第一图像的摄像装置的运动状态来设定的;In each cycle shooting process of time-lapse photography, control the awakened camera device to enter the sleep state after taking the first image, and wake up the camera device in the sleep state to take the second image when the wake-up time is reached, wherein the wake-up The time is set according to the motion state of the camera device used to capture the first image after waking up; 根据拍摄的图像生成对应的视频。Generate corresponding videos based on captured images. 根据权利要求17所述的装置,其特征在于,所述处理器在执行所述计算机程序时,实现如下步骤:The device according to claim 17, wherein the processor implements the following steps when executing the computer program: 唤醒用于拍摄所述第一图像的摄像装置后,确定所述摄像装置的运动状态;After waking up the camera device used to capture the first image, determine the motion state of the camera device; 根据所述摄像装置的运动状态,设定拍摄所述第二图像的唤醒时间。A wake-up time for capturing the second image is set according to the motion state of the camera device. 根据权利要求18所述的装置,其特征在于,所述处理器在执行所述计算机程序时,实现如下步骤:The device according to claim 18, wherein the processor implements the following steps when executing the computer program: 唤醒用于拍摄所述第一图像的摄像装置后,获取所述摄像装置的运动数据;After waking up the camera device used to capture the first image, acquire motion data of the camera device; 根据所述摄像装置的运动数据,确定所述摄像装置的运动状态。According to the motion data of the camera device, the motion state of the camera device is determined. 根据权利要求19所述的装置,其特征在于,所述处理器在执行所述计算机程序时,实现如下步骤:The device according to claim 19, wherein the processor implements the following steps when executing the computer program: 唤醒用于拍摄所述第一图像的摄像装置后,获取所述摄像装置从唤醒之前 的休眠状态到唤醒时的运动数据。After waking up the imaging device used to capture the first image, the motion data of the imaging device from the dormant state before waking up to when waking up is obtained. 根据权利要求19所述的装置,其特征在于,所述摄像装置上设置有惯性测量单元,所述运动数据为所述惯性测量单元测量得到的运动数据。The device according to claim 19, wherein an inertial measurement unit is provided on the imaging device, and the motion data is motion data measured by the inertial measurement unit. 根据权利要求18所述的装置,其特征在于,所述处理器在执行所述计算机程序时,实现如下步骤:The device according to claim 18, wherein the processor implements the following steps when executing the computer program: 唤醒用于拍摄所述第一图像的摄像装置后,控制所述摄像装置进行预拍摄;After waking up the camera device used to capture the first image, control the camera device to perform pre-shooting; 根据预拍摄的图像确定所述摄像装置的运动状态。The motion state of the camera is determined according to the pre-captured images. 根据权利要求17所述的装置,其特征在于,所述处理器在执行所述计算机程序时,实现如下步骤:The device according to claim 17, wherein the processor implements the following steps when executing the computer program: 在到达唤醒时间时唤醒处于休眠状态的摄像装置;Wake up the dormant camera device when the wake-up time is reached; 确定用于拍摄所述第二图像的摄像装置的拍摄参数;determining shooting parameters of the camera device used to capture the second image; 控制所述摄像装置以所述拍摄参数拍摄所述第二图像。controlling the camera device to shoot the second image with the shooting parameters. 根据权利要求23所述的装置,其特征在于,所述处理器在执行所述计算机程序时,实现如下步骤:The device according to claim 23, wherein the processor implements the following steps when executing the computer program: 控制所述摄像装置在画面刷新率高于预设帧率的高帧率模式下确定所述摄像装置的拍摄参数。The camera is controlled to determine shooting parameters of the camera in a high frame rate mode in which the frame refresh rate is higher than a preset frame rate. 根据权利要求24所述的装置,其特征在于,所述处理器在执行所述计算机程序时,实现如下步骤:The device according to claim 24, wherein the processor implements the following steps when executing the computer program: 控制所述摄像装置进入所述高帧率模式;controlling the camera device to enter the high frame rate mode; 在所述高帧率模式下,连续设置多组具有预设间隔的设置参数;In the high frame rate mode, continuously setting multiple sets of setting parameters with preset intervals; 获取所述设置参数对应的连续多组的统计值;Acquiring the statistical values of multiple consecutive groups corresponding to the set parameters; 根据所述连续多组的统计值,确定所述摄像装置用于拍摄所述第二图像的拍摄参数。A shooting parameter used by the camera device to shoot the second image is determined according to the consecutive groups of statistical values. 根据权利要求25所述的装置,其特征在于,所述处理器在执行所述计算机程序时,实现如下步骤:The device according to claim 25, wherein the processor implements the following steps when executing the computer program: 根据所述连续多组的统计值,确定所述摄像装置的统计参数;determining statistical parameters of the imaging device according to the statistical values of the consecutive groups; 对所述统计参数进行滤波处理,得到所述摄像装置用于拍摄所述第二图像的拍摄参数。Filtering is performed on the statistical parameters to obtain shooting parameters used by the camera device for shooting the second image. 根据权利要求23所述的装置,其特征在于,所述拍摄参数包括自动 曝光参数、自动白平衡参数及自动对焦参数中的一种或多种。The device according to claim 23, wherein the shooting parameters include one or more of automatic exposure parameters, automatic white balance parameters and automatic focus parameters. 根据权利要求17所述的装置,其特征在于,所述处理器在执行所述计算机程序时,实现如下步骤:The device according to claim 17, wherein the processor implements the following steps when executing the computer program: 对拍摄的图像进行数字防抖处理;Perform digital anti-shake processing on the captured images; 根据数字防抖处理后的图像生成对应的视频。A corresponding video is generated according to the image processed by the digital image stabilization. 根据权利要求28所述的装置,其特征在于,所述处理器在执行所述计算机程序时,实现如下步骤:The device according to claim 28, wherein the processor implements the following steps when executing the computer program: 根据拍摄所述第一图像的摄像装置的运动状态,对所述第一图像进行数字防抖处理;performing digital anti-shake processing on the first image according to the motion state of the camera device that captures the first image; 根据拍摄所述第二图像的摄像装置的运动状态,对所述第二图像进行数字防抖处理。Perform digital anti-shake processing on the second image according to the motion state of the camera that captures the second image. 根据权利要求17所述的装置,其特征在于,所述处理器在执行所述计算机程序时,实现如下步骤:The device according to claim 17, wherein the processor implements the following steps when executing the computer program: 对拍摄的图像进行亮度平滑处理;Perform brightness smoothing on captured images; 根据亮度平滑处理后的图像生成对应的视频。A corresponding video is generated according to the brightness-smoothed image. 根据权利要求17所述的装置,其特征在于,所述摄像装置处于休眠状态时,内存处于自刷新状态,图像处理芯片的外部电路处于断电状态,所述图像处理芯片内除定时相关器件外的其他器件处于关闭状态。The device according to claim 17, wherein when the camera is in a dormant state, the internal memory is in a self-refresh state, and the external circuit of the image processing chip is in a power-off state, and the image processing chip except for timing-related devices other devices are turned off. 根据权利要求17所述的装置,其特征在于,所述摄像装置处于休眠状态时,所述摄像装置的电池处于低放电电压状态和/或低电流状态。The device according to claim 17, wherein when the camera device is in a dormant state, the battery of the camera device is in a low discharge voltage state and/or a low current state. 一种摄像装置,其特征在于,所述摄像装置包括如权利要求17-32任一项所述的摄像控制装置。An imaging device, characterized in that the imaging device comprises the imaging control device according to any one of claims 17-32. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如权利要求1-16任一项所述的延时摄影的拍摄方法。A computer-readable storage medium, characterized in that, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor realizes the implementation of any one of claims 1-16. The shooting method of time-lapse photography.
PCT/CN2021/108257 2021-07-23 2021-07-23 Photographing method for time-lapse photography, photographing control device, photographing device, and storage medium Ceased WO2023000333A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2021/108257 WO2023000333A1 (en) 2021-07-23 2021-07-23 Photographing method for time-lapse photography, photographing control device, photographing device, and storage medium
CN202180100398.4A CN117678230A (en) 2021-07-23 2021-07-23 Time-lapse photography shooting method, camera control device, camera device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/108257 WO2023000333A1 (en) 2021-07-23 2021-07-23 Photographing method for time-lapse photography, photographing control device, photographing device, and storage medium

Publications (1)

Publication Number Publication Date
WO2023000333A1 true WO2023000333A1 (en) 2023-01-26

Family

ID=84980392

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/108257 Ceased WO2023000333A1 (en) 2021-07-23 2021-07-23 Photographing method for time-lapse photography, photographing control device, photographing device, and storage medium

Country Status (2)

Country Link
CN (1) CN117678230A (en)
WO (1) WO2023000333A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118741293A (en) * 2024-06-11 2024-10-01 影石创新科技股份有限公司 Shooting control method and image processing device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850211A (en) * 2015-05-18 2015-08-19 成都平行视野科技有限公司 Power-saving method for smart device during shooting
US20150271455A1 (en) * 2014-03-24 2015-09-24 Chicony Electronics Co., Ltd. Time-lapse photography method, its computer program product, and electronic device with image-capturing function thereof
CN105162963A (en) * 2015-08-06 2015-12-16 程一帆 Method and device for automatically starting camera under moving state
CN107566737A (en) * 2017-10-10 2018-01-09 上海小蚁科技有限公司 Be delayed camera control method and device, readable storage medium storing program for executing, camera
CN108737725A (en) * 2017-04-17 2018-11-02 佳能株式会社 Imaging-control apparatus and its control method and storage medium
CN112154407A (en) * 2019-08-13 2020-12-29 深圳市大疆创新科技有限公司 Terminal control method, control terminal and movable platform
CN112334387A (en) * 2019-11-07 2021-02-05 深圳市大疆创新科技有限公司 Photographing method, camera, unmanned aerial vehicle and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150271455A1 (en) * 2014-03-24 2015-09-24 Chicony Electronics Co., Ltd. Time-lapse photography method, its computer program product, and electronic device with image-capturing function thereof
CN104850211A (en) * 2015-05-18 2015-08-19 成都平行视野科技有限公司 Power-saving method for smart device during shooting
CN105162963A (en) * 2015-08-06 2015-12-16 程一帆 Method and device for automatically starting camera under moving state
CN108737725A (en) * 2017-04-17 2018-11-02 佳能株式会社 Imaging-control apparatus and its control method and storage medium
CN107566737A (en) * 2017-10-10 2018-01-09 上海小蚁科技有限公司 Be delayed camera control method and device, readable storage medium storing program for executing, camera
CN112154407A (en) * 2019-08-13 2020-12-29 深圳市大疆创新科技有限公司 Terminal control method, control terminal and movable platform
CN112334387A (en) * 2019-11-07 2021-02-05 深圳市大疆创新科技有限公司 Photographing method, camera, unmanned aerial vehicle and storage medium

Also Published As

Publication number Publication date
CN117678230A (en) 2024-03-08

Similar Documents

Publication Publication Date Title
US11588980B2 (en) Smart shutter in low light
CN109005366B (en) Camera module night scene camera processing method, device, electronic device and storage medium
US10943341B2 (en) Method for image processing, electronic device and computer readable storage medium
US9088721B2 (en) Imaging apparatus and display control method thereof
US8243156B2 (en) Image-capturing apparatus and image-capturing control method
US20160173749A1 (en) Still image capture with exposure control
US8994783B2 (en) Image pickup apparatus that automatically determines shooting mode most suitable for shooting scene, control method therefor, and storage medium
JP2012519989A (en) Methods and equipment for extending camera battery life
CN108462827B (en) Method and device for acquiring image data
US8345150B2 (en) Imaging apparatus
JP2018098649A (en) Imaging apparatus, control method therefor, program, and storage medium
US20130027213A1 (en) Electronic apparatus
CN105450905A (en) Camera device, information delivery device, camera control method, and information delivery method
JP2009175821A (en) Method for detecting specific image and photographing apparatus
CN104811594B (en) Image pickup device, image pickup method, and computer-readable recording medium
WO2023000333A1 (en) Photographing method for time-lapse photography, photographing control device, photographing device, and storage medium
WO2020227991A1 (en) Image photographing method, image photographing device, movable platform and storage medium
WO2016009199A2 (en) Minimisation of blur in still image capture
JP2009182880A (en) Imaging apparatus and program thereof
CN116996785A (en) Processing methods, devices and electronic equipment
CN104735342B (en) Moving image processing apparatus, dynamic image processing method and recording medium
JP6727975B2 (en) Imaging device, control method thereof, and program
CN119521006A (en) Camera fill light method and device
HK1261061B (en) Image processing method, apparatus, electronic device and storage medium
HK1261061A1 (en) Image processing method, apparatus, electronic device and storage medium

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 202180100398.4

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21950582

Country of ref document: EP

Kind code of ref document: A1