[go: up one dir, main page]

CN111372000A - Video anti-shake method and apparatus, electronic device and computer-readable storage medium - Google Patents

Video anti-shake method and apparatus, electronic device and computer-readable storage medium Download PDF

Info

Publication number
CN111372000A
CN111372000A CN202010186990.8A CN202010186990A CN111372000A CN 111372000 A CN111372000 A CN 111372000A CN 202010186990 A CN202010186990 A CN 202010186990A CN 111372000 A CN111372000 A CN 111372000A
Authority
CN
China
Prior art keywords
information
video
shake
processed
jitter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010186990.8A
Other languages
Chinese (zh)
Other versions
CN111372000B (en
Inventor
戴朋飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010186990.8A priority Critical patent/CN111372000B/en
Publication of CN111372000A publication Critical patent/CN111372000A/en
Application granted granted Critical
Publication of CN111372000B publication Critical patent/CN111372000B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/681Motion detection
    • H04N23/6811Motion detection based on the image signal

Landscapes

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

Abstract

The application relates to a video anti-shake method, which comprises the following steps: acquiring first fuzzy information of an image frame of a video to be processed, wherein the first fuzzy information is used for representing the fuzzy degree of the image frame of the video to be processed; determining anti-shake information according to first fuzzy information of an image frame of the video to be processed, wherein the anti-shake information is used for representing the anti-shake degree of the video to be processed; determining anti-shake parameters of the video to be processed according to the anti-shake information; and carrying out anti-shake processing on the video to be processed according to the anti-shake parameters. The application also discloses a video anti-shake device, an electronic device and a computer readable storage medium. The method and the device reduce the influence of motion blur on the video and improve the shooting quality of the video.

Description

视频防抖方法和装置、电子设备及计算机可读存储介质Video anti-shake method and apparatus, electronic device and computer-readable storage medium

技术领域technical field

本申请涉及电子设备技术领域,特别是涉及一种视频防抖方法和装置、电子设备以及计算机可读存储介质。The present application relates to the technical field of electronic devices, and in particular, to a video anti-shake method and device, an electronic device, and a computer-readable storage medium.

背景技术Background technique

近年来,随着电子设备技术的快速发展,很多电子设备支持视频拍摄,视频的拍摄质量成为评价电子设备的重要指标之一。影响视频的拍摄质量的因素很多,比如分辨率、饱和度、清晰度等,其中,图清晰度是很重要的影响因素。In recent years, with the rapid development of electronic device technology, many electronic devices support video shooting, and the video shooting quality has become one of the important indicators for evaluating electronic devices. There are many factors that affect the shooting quality of video, such as resolution, saturation, sharpness, etc. Among them, image sharpness is a very important factor.

在电子设备曝光时间内,当拍摄对象运动或者电子设备抖动时,会导致视频中出现运动模糊。运动模糊是利用电子设备拍摄时产生的一种常见的现象,具体表现为拍摄对象在成像时表现为模糊、弥散或者拖影。运动模糊形成的原因是:由于拍摄对象运动或者电子设备抖动,拍摄对象在传感器上的成像位置发生变化,形成模糊的效果。运动模糊会影响视频的清晰度,进而影响视频的拍摄质量。During the exposure time of the electronic device, when the subject moves or the electronic device shakes, it can cause motion blur in the video. Motion blur is a common phenomenon that occurs when shooting with electronic equipment, which is manifested as blur, blur or smear when the subject is imaged. The reason for the formation of motion blur is: due to the movement of the subject or the shaking of the electronic device, the imaging position of the subject on the sensor changes, resulting in a blurring effect. Motion blur affects the clarity of your video, which in turn affects the quality of your video's capture.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种视频防抖方法、装置、电子设备以及计算机可读存储介质,可以降低运动模糊对视频的影响,提高视频的拍摄质量。Embodiments of the present application provide a video anti-shake method, device, electronic device, and computer-readable storage medium, which can reduce the influence of motion blur on video and improve the shooting quality of video.

一种视频防抖方法,包括:A video stabilization method, comprising:

获取待处理视频的图像帧的第一模糊信息,所述第一模糊信息用于表征所述待处理视频的图像帧的模糊程度;acquiring first blur information of the image frame of the video to be processed, where the first blur information is used to represent the blur degree of the image frame of the video to be processed;

根据所述待处理视频的图像帧的第一模糊信息确定防抖信息,所述防抖信息用于表征对所述待处理视频的防抖程度;Determine anti-shake information according to the first blur information of the image frame of the video to be processed, where the anti-shake information is used to represent the anti-shake degree of the video to be processed;

根据所述防抖信息确定所述待处理视频的防抖参数;Determine the anti-shake parameter of the video to be processed according to the anti-shake information;

根据所述防抖参数对所述待处理视频进行防抖处理。Perform anti-shake processing on the video to be processed according to the anti-shake parameter.

一种视频防抖装置,包括:A video anti-shake device, comprising:

获取模块,用于获取待处理视频的图像帧的第一模糊信息,所述第一模糊信息用于表征所述待处理视频的图像帧的模糊程度;an acquisition module, configured to acquire first blur information of the image frame of the video to be processed, where the first blur information is used to represent the blur degree of the image frame of the video to be processed;

确定模块,用于根据所述待处理视频的图像帧的第一模糊信息确定防抖信息,所述防抖信息用于表征对所述待处理视频的防抖程度;a determining module, configured to determine anti-shake information according to the first blur information of the image frame of the to-be-processed video, where the anti-shake information is used to represent the anti-shake degree of the to-be-processed video;

所述确定模块,还用于根据所述防抖信息确定所述待处理视频的防抖参数;The determining module is further configured to determine the anti-shake parameter of the video to be processed according to the anti-shake information;

处理模块,用于根据所述防抖参数对所述待处理视频进行防抖处理。A processing module, configured to perform anti-shake processing on the video to be processed according to the anti-shake parameter.

一种电子设备,包括存储器及处理器,所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行任一项所述的视频防抖方法的步骤。An electronic device, comprising a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of any one of the video anti-shake methods .

一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时,使得所述处理器执行任一项所述的视频防抖方法的步骤。A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, causes the processor to execute the steps of any one of the video anti-shake methods.

上述视频防抖方法、装置、电子设备以及计算机可读存储介质,获取待处理视频的图像帧的第一模糊信息,第一模糊信息用于表征待处理视频的图像帧的模糊程度,根据待处理视频的图像帧的第一模糊信息确定防抖信息,防抖信息用于表征对待处理视频的防抖程度,根据防抖信息确定待处理视频的防抖参数,根据防抖参数对待处理视频进行防抖处理,这样,不仅降低了运动模糊对视频的影响,提高了视频的拍摄质量,而且根据视频的模糊程度对视频的抖动程度进行调节,在用户感知层面上实现了视频的稳定性。The above-mentioned video anti-shake method, device, electronic device, and computer-readable storage medium obtain first blurring information of an image frame of the video to be processed, and the first blurring information is used to represent the blurring degree of the image frame of the video to be processed. The first blur information of the image frame of the video determines the anti-shake information, and the anti-shake information is used to represent the anti-shake degree of the video to be processed. Shake processing, in this way, not only reduces the impact of motion blur on the video, but also improves the shooting quality of the video, and adjusts the degree of shaking of the video according to the degree of blurring of the video, which realizes the stability of the video at the user's perception level.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1为一个实施例中视频防抖方法的流程图;1 is a flowchart of a video anti-shake method in one embodiment;

图2为一个实施例中获取第一模糊信息的细化流程图;FIG. 2 is a detailed flow chart of obtaining first fuzzy information in one embodiment;

图3为一个实施例中确定防抖信息的细化流程图;3 is a detailed flow chart of determining anti-shake information in one embodiment;

图4为另一个实施例中视频防抖方法的流程图;4 is a flowchart of a video stabilization method in another embodiment;

图5为一个实施例中获取抖动信息的细化流程示意图;5 is a schematic diagram of a refinement process for obtaining jitter information in one embodiment;

图6为另一个实施例中确定防抖信息的细化流程图;6 is a detailed flow chart of determining anti-shake information in another embodiment;

图7为又一个实施例中视频防抖方法的流程图;7 is a flowchart of a video anti-shake method in yet another embodiment;

图8为一个实施例中视频防抖装置的结构框图;8 is a structural block diagram of a video anti-shake device in one embodiment;

图9为一个实施例中电子设备的内部结构框图。FIG. 9 is a block diagram of the internal structure of an electronic device in one embodiment.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.

本申请实施例中的电子设备可为移动终端,比如手机、相机、摄像机、平板电脑、笔记本电脑、可穿戴设备等。该电子设备设置有摄像头,该摄像头用于拍摄视频、照片等。具体地,电子设备获取待处理视频的图像帧的第一模糊信息,所述第一模糊信息用于表征所述待处理视频的图像帧的模糊程度。接着,电子设备根据所述待处理视频的图像帧的第一模糊信息确定防抖信息,所述防抖信息用于表征对所述待处理视频的防抖程度。接着,电子设备根据所述防抖信息确定所述待处理视频的防抖参数。接着,电子设备根据所述防抖参数对所述待处理视频进行防抖处理。The electronic device in the embodiment of the present application may be a mobile terminal, such as a mobile phone, a camera, a video camera, a tablet computer, a notebook computer, a wearable device, and the like. The electronic device is provided with a camera, and the camera is used for taking videos, photos, and the like. Specifically, the electronic device acquires first blurring information of the image frame of the video to be processed, where the first blurring information is used to represent the blurring degree of the image frame of the video to be processed. Next, the electronic device determines anti-shake information according to the first blur information of the image frame of the video to be processed, where the anti-shake information is used to represent the anti-shake degree of the video to be processed. Next, the electronic device determines the anti-shake parameter of the video to be processed according to the anti-shake information. Next, the electronic device performs anti-shake processing on the video to be processed according to the anti-shake parameter.

图1为一个实施例中视频防抖方法的流程图。图1所示的视频防抖方法可应用于上述电子设备中,包括:FIG. 1 is a flowchart of a video anti-shake method in one embodiment. The video anti-shake method shown in FIG. 1 can be applied to the above electronic equipment, including:

步骤102,获取待处理视频的图像帧的第一模糊信息,所述第一模糊信息用于表征所述待处理视频的图像帧的模糊程度。Step 102: Obtain first blur information of the image frame of the video to be processed, where the first blur information is used to represent the blur degree of the image frame of the video to be processed.

其中,待处理视频是指待进行防抖处理的视频,可选地,待处理视频可为电子设备当前正在拍摄的视频。图像帧是组成视频的最小单位,待处理视频的图像帧用于表征待处理视频的每一帧图像。The video to be processed refers to a video to be subjected to anti-shake processing, and optionally, the video to be processed may be a video currently being shot by the electronic device. An image frame is the smallest unit of video, and the image frame of the video to be processed is used to represent each frame of the video to be processed.

第一模糊信息用于表征待处理视频的图像帧的模糊程度。图像帧的模糊程度是指图像帧的清晰度相对于预设清晰度的反向偏离程度。清晰度是指图像帧中各细部影纹及其边界的清晰程度。以预设清晰度作为标准清晰度,当一图像帧的清晰度高于或者等于预设清晰度时,判定该图像帧清晰,当一图像帧的清晰度低于预设清晰度时,判定该图像帧模糊。The first blur information is used to represent the blur degree of the image frame of the video to be processed. The blur degree of the image frame refers to the reverse deviation degree of the sharpness of the image frame from the preset sharpness. Sharpness refers to the clarity of each detail shadow and its boundary in an image frame. Taking the preset definition as the standard definition, when the definition of an image frame is higher than or equal to the preset definition, the image frame is determined to be clear, and when the definition of an image frame is lower than the preset definition, the Image frames are blurry.

在一个实施例中,第一模糊信息可为清晰度。在另一个实施例中,第一模糊信息可为模糊等级,比如,随着图像帧的清晰度越来越低,模糊等级越来越高。In one embodiment, the first blur information may be sharpness. In another embodiment, the first blur information may be a blur level, for example, as the definition of the image frame becomes lower and lower, the blur level becomes higher and higher.

在一个实施例中,可获取待处理视频的图像帧中任意一帧的清晰度,根据该任意一帧的清晰度确定第一模糊信息。在另一个实施例中,可获取待处理视频的图像帧中任意几帧的清晰度,根据该任意几帧的清晰度的平均值确定第一模糊信息。该任意几帧可为预设时间段内的待处理视频的图像帧中任意几帧。In one embodiment, the definition of any frame in the image frames of the video to be processed may be acquired, and the first blur information is determined according to the definition of the arbitrary frame. In another embodiment, the sharpness of any number of frames in the image frames of the video to be processed may be acquired, and the first blur information is determined according to the average value of the sharpness of the arbitrary several frames. The arbitrary several frames may be any number of image frames of the video to be processed within a preset time period.

在一个实施例中,可通过图像清晰度检测方法来获取待处理视频的图像帧的第一模糊信息。图像清晰度检测方法可为:Brenner梯度函数、Laplacian梯度函数、方差函数、能量梯度函数等。Brenner梯度函数通过计算相邻两个像素灰度差的平方来确定图像帧的清晰度。Laplacian梯度函数对每一个像素点计算该处Laplacian算子的卷积,并逐个像素累加来确定图像帧的清晰度。方差函数通过全部像素点的平均灰度值来确定图像帧的清晰度。能量梯度函数通过各个像素点的灰度值来确定图像帧的清晰度。In one embodiment, the first blur information of the image frame of the video to be processed may be acquired through an image sharpness detection method. The image sharpness detection method may be: Brenner gradient function, Laplacian gradient function, variance function, energy gradient function, and the like. The Brenner gradient function determines the sharpness of the image frame by calculating the square of the grayscale difference between two adjacent pixels. The Laplacian gradient function calculates the convolution of the Laplacian operator at each pixel point, and accumulates it pixel by pixel to determine the sharpness of the image frame. The variance function determines the sharpness of the image frame by the average gray value of all pixels. The energy gradient function determines the sharpness of the image frame by the gray value of each pixel point.

步骤104,根据所述待处理视频的图像帧的第一模糊信息确定防抖信息,所述防抖信息用于表征对所述待处理视频的防抖程度。Step 104: Determine anti-shake information according to the first blur information of the image frame of the video to be processed, where the anti-shake information is used to represent the anti-shake degree of the video to be processed.

其中,防抖信息用于表征对待处理视频的防抖程度。可选地,该防抖信息可为防抖等级,比如防抖等级一级、防抖等级二级、防抖等级三级等。防抖等级与防抖程度之间的关系可根据实际应用进行设置,比如防抖等级越高,防抖程度越高,或者防抖等级越高,防抖程度越低等。Among them, the anti-shake information is used to represent the anti-shake degree of the video to be processed. Optionally, the anti-shake information may be an anti-shake level, such as anti-shake level one, anti-shake level two, anti-shake level three, and the like. The relationship between the anti-shake level and the anti-shake degree can be set according to the actual application, for example, the higher the anti-shake level, the higher the anti-shake degree, or the higher the anti-shake level, the lower the anti-shake degree, etc.

具体地,当用户观看视频时,用户对视频的模糊的感知与视频的抖动相关。比如,在一个抖动的视频中,用户往往不容易察觉到视频的模糊表现,而在一个稳定的视频中,视频的模糊表现就很容易被用户察觉到了。进一步地,在不同的抖动程度下,用户对视频的模糊表现的感知不同。因此,根据视频的模糊程度对视频的抖动程度进行调节,可在用户感知层面对视频的模糊表现进行抑制。Specifically, when a user watches a video, the user's perception of the blur of the video is related to the jitter of the video. For example, in a shaking video, the user is often not easily aware of the blurred performance of the video, while in a stable video, the blurred performance of the video is easily perceived by the user. Further, under different degrees of shaking, the user's perception of the blurred appearance of the video is different. Therefore, adjusting the shaking degree of the video according to the blurring degree of the video can suppress the blurring performance of the video at the user's perception level.

在一个实施例中,第一模糊信息与防抖信息呈反比。即待处理视频的图像帧的模糊程度越高,对待处理视频的防抖程度越低。In one embodiment, the first blur information is inversely proportional to the anti-shake information. That is, the higher the blur degree of the image frame of the video to be processed, the lower the anti-shake degree of the video to be processed.

在一个实施例中,根据所述待处理视频的图像帧的第一模糊信息确定防抖信息之前,还包括:检测待处理视频的图像帧的第一模糊信息是否满足调节条件,当待处理视频的图像帧的第一模糊信息满足调节条件时,执行根据所述待处理视频的图像帧的第一模糊信息确定防抖信息的步骤。调节条件用于检测待处理视频的图像帧的清晰度是否低于预定清晰度,当待处理视频的图像帧的清晰度低于预定清晰度时,判定待处理视频的图像帧的第一模糊信息满足调节条件,根据待处理视频的图像帧的第一模糊信息确定防抖信息;当待处理视频的图像帧的清晰度高于或者等于预定清晰度时,对待处理视频的防抖处理可不受第一模糊信息的影响。其中,预定清晰度可根据实际应用进行设定,其可低于预设清晰度。In one embodiment, before determining the anti-shake information according to the first blur information of the image frame of the video to be processed, the method further includes: detecting whether the first blur information of the image frame of the video to be processed satisfies the adjustment condition, when the video to be processed When the first blur information of the image frame satisfies the adjustment condition, the step of determining anti-shake information according to the first blur information of the image frame of the video to be processed is performed. The adjustment condition is used to detect whether the definition of the image frame of the video to be processed is lower than the predetermined definition, and when the definition of the image frame of the video to be processed is lower than the predetermined definition, determine the first blur information of the image frame of the video to be processed If the adjustment conditions are met, the anti-shake information is determined according to the first blur information of the image frame of the video to be processed; when the definition of the image frame of the video to be processed is higher than or equal to the predetermined definition, the anti-shake processing of the video to be processed may not be subject to the first blur. The effect of fuzzy information. Wherein, the predetermined definition can be set according to the actual application, and it can be lower than the preset definition.

步骤106,根据所述防抖信息确定所述待处理视频的防抖参数。Step 106: Determine anti-shake parameters of the video to be processed according to the anti-shake information.

其中,防抖参数用于对待处理视频进行防抖处理。防抖参数可为对待处理视频进行防抖处理的过程中所应用到的任一参数。The anti-shake parameter is used to perform anti-shake processing on the video to be processed. The anti-shake parameter can be any parameter applied in the process of anti-shake processing of the video to be processed.

在一个实施例中,可预先设置防抖信息与防抖参数之间的映射关系,根据防抖信息以及该映射关系确定防抖参数。可以理解,防抖信息与防抖参数之间的映射关系通过大量的试验得到,该映射关系可使得视频的图像帧的模糊表现处于合理范围内。In one embodiment, the mapping relationship between the anti-shake information and the anti-shake parameter may be preset, and the anti-shake parameter is determined according to the anti-shake information and the mapping relationship. It can be understood that the mapping relationship between the anti-shake information and the anti-shake parameter is obtained through a large number of experiments, and the mapping relationship can make the blurring performance of the image frame of the video within a reasonable range.

步骤108,根据所述防抖参数对所述待处理视频进行防抖处理。Step 108: Perform anti-shake processing on the video to be processed according to the anti-shake parameter.

在一个实施例中,防抖处理可为EIS(Electric Image Stabilization)电子防抖、OIS(Optical image stabilization)光学防抖等,或者EIS电子防抖与OIS光学防抖相结合。EIS电子防抖是利用拍摄终端抖动的程度来动态调整感光度、快门或软体来做模糊修正。OIS光学防抖是指在拍摄终端中,通过光学元器件的设置,例如镜头的设置,来避免或者减少捕捉光学信号过程中出现的拍摄终端抖动现象。In one embodiment, the anti-shake processing may be EIS (Electric Image Stabilization) electronic image stabilization, OIS (Optical image stabilization) optical image stabilization, etc., or a combination of EIS electronic image stabilization and OIS optical image stabilization. EIS electronic image stabilization is to use the degree of shaking of the shooting terminal to dynamically adjust the sensitivity, shutter or software to do blur correction. OIS optical image stabilization refers to the setting of optical components in the shooting terminal, such as the setting of the lens, to avoid or reduce the shooting terminal shake phenomenon that occurs in the process of capturing optical signals.

具体地,防抖处理的基本原理是将每一帧图像从实际相机姿态对应的成像平面投影变换到对应的虚拟平滑相机姿态对应的成像平面投影。其中,相机姿态是指摄像头姿态,该相机姿态变化可通过陀螺仪产生的数据获得。一段时间内相机姿态变化可形成一个相机姿态路径,若为稳定的视频,该视频的实际相机姿态路径呈现平滑的曲线,若为抖动的视频,该视频的实际相机姿态路径呈现抖动的曲线。对抖动的视频的实际相机姿态路径进行平滑,得到虚拟平滑相机姿态路径,即完成防抖处理。Specifically, the basic principle of the anti-shake processing is to transform each frame of image from the projection of the imaging plane corresponding to the actual camera posture to the projection of the imaging plane corresponding to the corresponding virtual smooth camera posture. The camera attitude refers to the camera attitude, and the change of the camera attitude can be obtained through the data generated by the gyroscope. Changes in camera pose over a period of time can form a camera pose path. If it is a stable video, the actual camera pose path of the video presents a smooth curve. If it is a jittery video, the actual camera pose path of the video presents a jittery curve. The actual camera pose path of the shaken video is smoothed to obtain a virtual smooth camera pose path, that is, the anti-shake processing is completed.

本实施例中的视频防抖方法,获取待处理视频的图像帧的第一模糊信息,第一模糊信息用于表征待处理视频的图像帧的模糊程度,根据待处理视频的图像帧的第一模糊信息确定防抖信息,防抖信息用于表征对待处理视频的防抖程度,根据防抖信息确定待处理视频的防抖参数,根据防抖参数对待处理视频进行防抖处理,这样,不仅降低了运动模糊对视频的影响,提高了视频的拍摄质量,而且根据视频的模糊程度对视频的抖动程度进行调节,在用户感知层面上实现了视频的稳定性。In the video anti-shake method in this embodiment, the first blur information of the image frame of the video to be processed is obtained, and the first blur information is used to represent the blur degree of the image frame of the video to be processed. The blur information determines the anti-shake information, and the anti-shake information is used to represent the anti-shake degree of the video to be processed. Determine the anti-shake parameters of the to-be-processed video according to the anti-shake information, and perform anti-shake processing on the to-be-processed video according to the anti-shake parameters. The impact of motion blur on the video is improved, the shooting quality of the video is improved, and the degree of shaking of the video is adjusted according to the degree of blurring of the video, which realizes the stability of the video at the level of user perception.

在一个实施例中,如图2所示,所述获取待处理视频的图像帧的第一模糊信息,包括:In one embodiment, as shown in FIG. 2 , the acquiring the first blur information of the image frame of the video to be processed includes:

步骤202,获取所述待处理视频的图像帧的第二模糊信息以及第三模糊信息,所述第二模糊信息是由拍摄对象运动产生的模糊信息,所述第三模糊信息是由拍摄终端运动产生的模糊信息。Step 202: Obtain second blur information and third blur information of the image frame of the video to be processed, where the second blur information is blur information generated by the movement of the shooting object, and the third blur information is caused by the movement of the shooting terminal. The resulting fuzzy information.

其中,第二模糊信息是由拍摄对象运动产生的模糊信息,拍摄对象是指被拍摄的对象,拍摄对象运动是指在拍摄过程中被拍摄的对象未处于静止状态。第三模糊信息是由拍摄终端运动产生的模糊信息,拍摄终端可以是进行拍摄的电子设备,拍摄终端运动是指在拍摄过程中进行拍摄的电子设备未处于静止状态。Wherein, the second blur information is blur information generated by the motion of the photographed object, the photographed object refers to the photographed object, and the photographed object motion means that the photographed object is not in a stationary state during the photographing process. The third blur information is blur information generated by the motion of the photographing terminal. The photographing terminal may be an electronic device for photographing, and the motion of the photographing terminal means that the electronic device for photographing is not in a stationary state during the photographing process.

在一个实施例中,第二模糊信息和第三模糊信息可为清晰度。在另一个实施例中,第二模糊信息和第三模糊信息可为模糊等级,比如,随着图像帧的清晰度越来越低,模糊等级越来越高。In one embodiment, the second blur information and the third blur information may be sharpness. In another embodiment, the second blur information and the third blur information may be blur levels. For example, as the definition of the image frame is lower and lower, the blur level is higher and higher.

在一个实施例中,获取待处理视频的图像帧的第二模糊信息以及第三模糊信息的方式可以是:根据第二模糊信息的特征信息以及第三模糊信息的特征信息,分别获取第二模糊信息以及第三模糊信息。其中,第二模糊信息的特征信息是指拍摄对象运动,但是拍摄对象所在的背景处于静止状态;第三模糊信息的特征信息是指拍摄对象和拍摄对象所在的背景均处于运动状态。In one embodiment, the manner of acquiring the second blur information and the third blur information of the image frame of the video to be processed may be: respectively acquiring the second blur information according to the feature information of the second blur information and the feature information of the third blur information information and third vague information. The feature information of the second blur information means that the shooting object is moving, but the background where the shooting object is located is in a static state; the feature information of the third blur information means that both the shooting object and the background where the shooting object is located are in a moving state.

步骤204,根据所述第二模糊信息以及所述第三模糊信息确定所述第一模糊信息。Step 204: Determine the first fuzzy information according to the second fuzzy information and the third fuzzy information.

在一个实施例中,第一模糊信息可包括第二模糊信息以及第三模糊信息。In one embodiment, the first blur information may include second blur information and third blur information.

在一个实施例中,可预先设置第二模糊信息、第三模糊信息以及防抖信息之间的映射关系,根据第二模糊信息、第三模糊信息以及该映射关系确定防抖信息。In one embodiment, a mapping relationship between the second blur information, the third blur information, and the anti-shake information may be preset, and the anti-shake information is determined according to the second blur information, the third blur information, and the mapping relationship.

本实施例中的视频防抖方法,获取待处理视频的图像帧的第二模糊信息以及第三模糊信息,第二模糊信息是由拍摄对象运动产生的模糊信息,第三模糊信息是由拍摄终端运动产生的模糊信息,根据第二模糊信息以及第三模糊信息确定第一模糊信息,这样,将第一模糊信息细化为第二模糊信息和第三模糊信息,实现更加准确地确定防抖信息。In the video anti-shake method in this embodiment, the second blur information and third blur information of the image frame of the video to be processed are obtained, the second blur information is blur information generated by the movement of the shooting object, and the third blur information is obtained by the shooting terminal. For the blur information generated by motion, the first blur information is determined according to the second blur information and the third blur information. In this way, the first blur information is refined into the second blur information and the third blur information, so that the anti-shake information can be determined more accurately. .

在一个实施例中,如图3所示,所述根据所述待处理视频的图像帧的第一模糊信息确定防抖信息,包括:In one embodiment, as shown in FIG. 3 , the determining of the anti-shake information according to the first blur information of the image frame of the video to be processed includes:

步骤302,获取预先存储的所述第一模糊信息与所述防抖信息之间的第一映射关系。Step 302: Obtain a pre-stored first mapping relationship between the first blur information and the anti-shake information.

其中,第一映射关系用于表征第一模糊信息与防抖信息之间的映射关系。The first mapping relationship is used to represent the mapping relationship between the first fuzzy information and the anti-shake information.

步骤304,根据所述第一模糊信息以及所述第一映射关系确定所述防抖信息。Step 304: Determine the anti-shake information according to the first fuzzy information and the first mapping relationship.

具体地,预先设置第一模糊信息与防抖信息之间的映射关系,根据第一模糊信息以及该映射关系确定防抖信息。可以理解,第一模糊信息与防抖信息之间的映射关系通过大量的试验得到。具体地,第一模糊信息可为清晰度(清晰度越高,模糊程度越低),或者,第一模糊信息可为模糊等级(模糊等级与模糊程度之间的关系可根据实际应用进行设置,比如模糊等级越高,模糊程度越高);防抖信息可为防抖等级(防抖等级与防抖程度之间的关系可根据实际应用进行设置,比如防抖等级越高,防抖程度越高)。第一模糊信息与防抖信息之间的映射关系,可为清晰度与防抖等级之间的映射关系,或者模糊等级与防抖等级之间的映射关系。第一模糊信息与防抖信息之间的映射关系,用于表征模糊程度与防抖程度之间的关系。在一个实施例中,第一模糊信息与防抖信息呈反比,即待处理视频的图像帧的模糊程度越高,对待处理视频的防抖程度越低。本实施例中的视频防抖方法,获取预先存储的第一模糊信息与防抖信息之间的第一映射关系,根据第一模糊信息以及第一映射关系确定防抖信息,根据视频的模糊程度对视频的抖动程度进行调节,使得在用户感知层面对视频的模糊表现进行抑制。Specifically, a mapping relationship between the first fuzzy information and the anti-shake information is preset, and the anti-shake information is determined according to the first fuzzy information and the mapping relationship. It can be understood that the mapping relationship between the first fuzzy information and the anti-shake information is obtained through a large number of experiments. Specifically, the first blur information may be clarity (the higher the clarity, the lower the blur degree), or the first blur information may be the blur level (the relationship between the blur level and the blur degree can be set according to the actual application, For example, the higher the blur level, the higher the blur degree); the anti-shake information can be the anti-shake level (the relationship between the anti-shake level and the anti-shake degree can be set according to the actual application, for example, the higher the anti-shake level, the higher the anti-shake degree. high). The mapping relationship between the first blur information and the anti-shake information may be the mapping relationship between the sharpness and the anti-shake level, or the mapping relationship between the blur level and the anti-shake level. The mapping relationship between the first blur information and the anti-shake information is used to represent the relationship between the blur degree and the anti-shake degree. In one embodiment, the first blur information is inversely proportional to the anti-shake information, that is, the higher the blur degree of the image frame of the video to be processed, the lower the anti-shake degree of the video to be processed. The video anti-shake method in this embodiment acquires a first mapping relationship between the pre-stored first blur information and the anti-shake information, determines the anti-shake information according to the first blur information and the first mapping relationship, and determines the anti-shake information according to the blur degree of the video. Adjust the degree of jitter of the video, so that the blurred performance of the video can be suppressed at the user's perception level.

在一个实施例中,所述根据所述待处理视频的图像帧的第一模糊信息确定防抖信息之前,还包括:获取所述待处理视频的图像帧的抖动信息,所述抖动信息用于表征所述待处理视频的抖动程度。In an embodiment, before determining the anti-shake information according to the first blur information of the image frame of the video to be processed, the method further includes: acquiring the jitter information of the image frame of the video to be processed, the jitter information is used for Indicates the degree of jitter of the video to be processed.

其中,抖动信息用于表征待处理视频的抖动程度。待处理视频的抖动程度是指待处理视频的抖动状态相对于静止状态的偏离程度。Among them, the shaking information is used to represent the shaking degree of the video to be processed. The degree of shaking of the video to be processed refers to the degree of deviation of the shaking state of the video to be processed relative to the still state.

在一个实施例中,抖动信息可为抖动等级,比如,随着视频的抖动状态越来越严重,抖动等级越来越高。In one embodiment, the jitter information may be a jitter level, for example, as the jitter state of the video becomes more and more serious, the jitter level becomes higher and higher.

在一个实施例中,可获取预定时间内待处理视频的抖动信息。预定时间可根据实际应用进行设定,比如单位时间。In one embodiment, the jitter information of the video to be processed within a predetermined time may be acquired. The predetermined time can be set according to the actual application, such as unit time.

在一个实施例中,根据待处理视频的图像帧的第一模糊信息确定防抖信息,包括:根据第一模糊信息以及抖动信息确定防抖信息。具体地,第一模糊信息以及抖动信息可反映在用户在视觉上感知的模糊表现,根据第一模糊信息以及抖动信息可实现更加准确地确定防抖信息。即,用户在视觉上感知的模糊表现可为第一模糊信息以及抖动信息构建的函数,假设用户在视觉上感知的模糊表现为B1,第一模糊信息为B2,抖动信息为Y,那么B1=f1(B2,Y)。In one embodiment, determining the anti-shake information according to the first blur information of the image frame of the video to be processed includes: determining the anti-shake information according to the first blur information and the jitter information. Specifically, the first blur information and the shaking information can reflect the blurry performance visually perceived by the user, and the anti-shake information can be more accurately determined according to the first blur information and the shaking information. That is, the visually perceived blurring performance of the user may be a function constructed by the first blurring information and the shaking information. Assuming that the visually perceived blurring performance by the user is B 1 , the first blurring information is B 2 , and the shaking information is Y, then B 1 =f 1 (B 2 , Y).

本实施例中的视频防抖方法,获取待处理视频的图像帧的抖动信息,抖动信息用于表征待处理视频的抖动程度,根据第一模糊信息以及抖动信息确定防抖信息,这样,根据视频的模糊程度以及实际抖动程度对视频的抖动程度进行调节,在用户感知层面上实现了视频的稳定性。The video anti-shake method in this embodiment obtains the jitter information of the image frame of the video to be processed, the jitter information is used to represent the jitter degree of the to-be-processed video, and the anti-shake information is determined according to the first blur information and the jitter information. In this way, according to the video The degree of blurring and the actual degree of shaking adjust the degree of shaking of the video, and realize the stability of the video at the user's perception level.

在一个实施例中,如图4所示,所述获取所述待处理视频的图像帧的抖动信息,包括:In one embodiment, as shown in FIG. 4 , the acquiring the jitter information of the image frame of the video to be processed includes:

步骤402,获取所述待处理视频的图像帧的抖动参数,所述抖动参数包括抖动频率以及抖动幅度中的至少一个。Step 402: Acquire a shaking parameter of the image frame of the video to be processed, where the shaking parameter includes at least one of a shaking frequency and a shaking amplitude.

其中,抖动参数包括抖动频率以及抖动幅度中的至少一个。抖动频率以及抖动幅度可通过陀螺仪检测得到。Wherein, the jitter parameter includes at least one of a jitter frequency and a jitter amplitude. The jitter frequency and the jitter amplitude can be detected by the gyroscope.

步骤404,根据所述抖动参数确定所述抖动信息。Step 404: Determine the jitter information according to the jitter parameter.

在一个实施例中,可获取预定时间内视频抖动的平均幅度,预定时间内视频抖动的平均频率,根据预定时间内视频抖动的平均幅度以及平均频率确定抖动信息。In one embodiment, the average amplitude of video jitter in a predetermined time and the average frequency of video jitter in the predetermined time may be obtained, and the jitter information is determined according to the average amplitude and average frequency of video jitter in the predetermined time.

本实施例中的视频防抖方法,获取待处理视频的图像帧的抖动参数,抖动参数包括抖动频率以及抖动幅度中的至少一个,根据抖动参数确定抖动信息,这样,实现准确确定抖动信息。In the video anti-shake method in this embodiment, the jitter parameters of the image frames of the video to be processed are obtained, the jitter parameters include at least one of the jitter frequency and the jitter amplitude, and the jitter information is determined according to the jitter parameters, so that the jitter information can be accurately determined.

在一个实施例中,如图5所示,所述根据所述抖动参数确定所述抖动信息,包括:In one embodiment, as shown in FIG. 5 , the determining the jitter information according to the jitter parameter includes:

步骤502,获取预先存储的所述抖动参数与所述抖动信息之间的第二映射关系。Step 502: Acquire a pre-stored second mapping relationship between the jitter parameter and the jitter information.

其中,第二映射关系用于表征抖动参数与抖动信息之间的映射关系。具体地,抖动参数包括抖动频率以及抖动幅度中的至少一个,抖动信息可为预定时间内视频抖动的平均幅度以及预定时间内视频抖动的平均幅度构建的函数,假设抖动信息为Y,预定时间内视频抖动的平均幅度为A,预定时间内视频抖动的平均幅度为F,那么Y=f2(A,F)。其中,预定时间可为1-10秒等,该函数可为线性函数等。步骤504,根据所述抖动参数以及所述第二映射关系确定所述抖动信息。The second mapping relationship is used to represent the mapping relationship between the jitter parameter and the jitter information. Specifically, the jitter parameter includes at least one of a jitter frequency and a jitter amplitude, and the jitter information can be a function constructed by an average amplitude of video jitter in a predetermined time and an average amplitude of video jitter in a predetermined time. The average amplitude of video jitter is A, and the average amplitude of video jitter in a predetermined time is F, then Y=f 2 (A, F). Wherein, the predetermined time may be 1-10 seconds, etc., and the function may be a linear function or the like. Step 504: Determine the jitter information according to the jitter parameter and the second mapping relationship.

具体地,预先设置抖动参数与抖动信息之间的映射关系,根据抖动参数以及该映射关系确定抖动信息。可以理解,抖动参数与抖动信息之间的映射关系通过大量的试验得到。Specifically, the mapping relationship between the jitter parameters and the jitter information is preset, and the jitter information is determined according to the jitter parameters and the mapping relationship. It can be understood that the mapping relationship between the jitter parameters and the jitter information is obtained through a large number of experiments.

本实施例中的视频防抖方法,获取预先存储的抖动参数与抖动信息之间的第二映射关系,根据抖动参数以及第二映射关系确定抖动信息,实现准确确定抖动信息。在一个实施例中,如图6所示,所述根据所述第一模糊信息以及所述抖动信息确定所述防抖信息,包括:The video anti-shake method in this embodiment acquires the second mapping relationship between the pre-stored jitter parameters and the jitter information, and determines the jitter information according to the jitter parameters and the second mapping relationship, so as to accurately determine the jitter information. In one embodiment, as shown in FIG. 6 , the determining of the anti-shake information according to the first blur information and the jitter information includes:

步骤602,获取预先存储的所述第一模糊信息、所述抖动信息与所述防抖信息之间的第三映射关系。Step 602: Acquire a pre-stored third mapping relationship between the first blur information, the jitter information, and the anti-shake information.

其中,第三映射关系用于表征第一模糊信息、抖动信息与防抖信息之间的映射关系。第一模糊信息可为清晰度(清晰度越高,模糊程度越低),或者,第一模糊信息可为模糊等级(模糊等级与模糊程度之间的关系可根据实际应用进行设置,比如模糊等级越高,模糊程度越高);抖动信息可为抖动等级(比如视频的抖动状态越严重,抖动等级越高);防抖信息可为防抖等级(防抖等级与防抖程度之间的关系可根据实际应用进行设置,比如防抖等级越高,防抖程度越高)。第一模糊信息、抖动信息与防抖信息之间的映射关系,可为清晰度、防抖等级与防抖等级之间的映射关系,或者模糊等级、防抖等级与防抖等级之间的映射关系。The third mapping relationship is used to represent the mapping relationship between the first blur information, the jitter information, and the anti-shake information. The first blur information may be clarity (the higher the clarity, the lower the blur degree), or the first blur information may be the blur level (the relationship between the blur level and the blur level may be set according to practical applications, for example, the blur level The higher the degree of blurring, the higher the degree of blur); the jitter information can be the jitter level (for example, the more serious the jitter state of the video, the higher the jitter level); the anti-shake information can be the anti-shake level (the relationship between the anti-shake level and the degree of anti-shake). It can be set according to the actual application, for example, the higher the anti-shake level, the higher the anti-shake degree). The mapping relationship between the first blur information, the jitter information, and the anti-shake information may be the mapping relationship between the sharpness, the anti-shake level, and the anti-shake level, or the mapping between the blur level, the anti-shake level, and the anti-shake level. relation.

在一个实施例中,待处理视频的图像帧的模糊程度越高,抖动程度越高,对待处理视频的防抖程度越低;待处理视频的图像帧的模糊程度越高,抖动程度越低,对待处理视频的防抖程度越低;待处理视频的图像帧的模糊程度越低,抖动程度越高,对待处理视频的防抖程度越高;待处理视频的图像帧的模糊程度越低,抖动程度越低,对待处理视频的防抖程度越高。In one embodiment, the higher the degree of blurring of the image frame of the video to be processed, the higher the degree of jitter, and the lower the degree of anti-shake of the video to be processed; the higher the degree of blurriness of the image frame of the video to be processed, the lower the degree of jitter, The lower the degree of anti-shake of the video to be processed; the lower the blur degree of the image frame of the video to be processed, the higher the degree of jitter, the higher the degree of anti-shake of the video to be processed; the lower the degree of blur of the image frame of the video to be processed, the higher the degree of jitter The lower the degree, the higher the degree of stabilization of the video to be processed.

步骤604,根据所述第一模糊信息、所述抖动信息以及所述第三映射关系确定所述防抖信息。Step 604: Determine the anti-shake information according to the first blur information, the jitter information, and the third mapping relationship.

具体地,预先设置第一模糊信息、抖动信息与防抖信息之间的映射关系,根据第一模糊信息、抖动信息以及该映射关系确定防抖信息。可以理解,第一模糊信息、抖动信息与防抖信息之间的映射关系通过大量的试验得到,该映射关系可使得视频的图像帧的模糊表现处于合理范围内。Specifically, a mapping relationship between the first blur information, the jitter information and the anti-shake information is preset, and the anti-shake information is determined according to the first blur information, the jitter information, and the mapping relationship. It can be understood that the mapping relationship among the first blur information, the jitter information and the anti-shake information is obtained through a large number of experiments, and the mapping relationship can make the blur performance of the image frame of the video within a reasonable range.

本实施例中的视频防抖方法,获取预先存储的第一模糊信息、抖动信息与防抖信息之间的第三映射关系,根据第一模糊信息、抖动信息以及第三映射关系确定防抖信息,这样,根据视频的模糊程度以及实际抖动程度对视频的抖动程度进行调节,在用户感知层面上实现了视频的稳定性。The video anti-shake method in this embodiment acquires the pre-stored first blur information, the third mapping relationship between the jitter information and the anti-shake information, and determines the anti-shake information according to the first blur information, the jitter information and the third mapping relationship , in this way, the degree of shaking of the video is adjusted according to the degree of blurring of the video and the actual degree of shaking, and the stability of the video is realized at the level of user perception.

在一个实施例中,如图7所示,所述根据所述防抖参数对所述待处理视频进行防抖处理,包括:In one embodiment, as shown in FIG. 7 , performing anti-shake processing on the video to be processed according to the anti-shake parameter includes:

步骤702,获取相机内参矩阵。Step 702, acquiring the camera internal parameter matrix.

其中,相机内参作为关键的参数参与防抖计算,相机内参中包括相机光学中心参数。Among them, the camera internal parameter is used as a key parameter to participate in the anti-shake calculation, and the camera internal parameter includes the camera optical center parameter.

步骤704,根据所述相机内参矩阵以及所述防抖参数对所述图像帧进行投影变换,以对所述待处理视频进行防抖处理。Step 704: Perform projection transformation on the image frame according to the camera internal parameter matrix and the anti-shake parameter, so as to perform anti-shake processing on the video to be processed.

其中,防抖参数可为旋转矩阵。The anti-shake parameter may be a rotation matrix.

具体地,对于EIS电子防抖,首先是将欧拉角转换成四元数;接着进行平滑处理,平滑处理的结果是输出每一帧的实际相机姿态向虚拟相机姿态的转换四元数;接着将四元数转换为旋转矩阵,以描述每个图像帧的变换;接着结合旋转矩阵和相机内参矩阵生成变换矩阵,该变换矩阵用于图像帧进行投影变换;最后通过变换矩阵对图像帧进行投影变换,以实现视频的图像帧的防抖。Specifically, for EIS electronic image stabilization, the Euler angle is first converted into a quaternion; then smoothing is performed, and the result of the smoothing is the conversion quaternion from the actual camera pose of each frame to the virtual camera pose; then Convert the quaternion to a rotation matrix to describe the transformation of each image frame; then combine the rotation matrix and the camera internal parameter matrix to generate a transformation matrix, which is used for the projection transformation of the image frame; finally, the image frame is projected through the transformation matrix Transform to achieve anti-shake of the video's image frames.

本实施例中的视频防抖方法,获取相机内参矩阵,根据相机内参矩阵以及防抖参数对图像帧进行投影变换,以对待处理视频进行防抖处理,这样,根据EIS电子防抖对视频进行防抖处理,降低了运动模糊对视频的影响,提高了视频的拍摄质量,而且根据视频的模糊程度对视频的抖动程度进行调节,在用户感知层面上实现了视频的稳定性。In the video anti-shake method in this embodiment, the camera internal parameter matrix is obtained, and the image frame is projected and transformed according to the camera internal parameter matrix and anti-shake parameters, so as to perform anti-shake processing on the video to be processed. In this way, the video is anti-shake according to EIS electronic anti-shake. Shaking processing reduces the impact of motion blur on the video, improves the shooting quality of the video, and adjusts the degree of shaking of the video according to the degree of blurring of the video, which realizes the stability of the video at the level of user perception.

在一个具体的实施例中,一种视频防抖方法,包括:In a specific embodiment, a video anti-shake method includes:

首先,获取待处理视频的图像帧的第一模糊信息,第一模糊信息用于表征待处理视频的图像帧的模糊程度;First, obtain first blur information of the image frame of the video to be processed, where the first blur information is used to represent the blur degree of the image frame of the video to be processed;

接着,获取单位时间内视频抖动的平均幅度以及单位时间内视频抖动的平均频率,根据该单位时间内视频抖动的平均幅度以及平均频率确定抖动信息;Next, obtain the average amplitude of the video jitter in a unit time and the average frequency of the video jitter in the unit time, and determine the jitter information according to the average amplitude and the average frequency of the video jitter in the unit time;

进一步地,获取预先存储的第一模糊信息、抖动信息与防抖信息之间的映射关系,根据第一模糊信息、抖动信息以及该映射关系确定防抖信息,该防抖信息用于表征对待处理视频的防抖程度,第一模糊信息与防抖信息呈反比;Further, the mapping relationship between the pre-stored first fuzzy information, the jitter information and the anti-shake information is obtained, and the anti-shake information is determined according to the first fuzzy information, the jitter information and the mapping relationship, and the anti-shake information is used to represent the to-be-processed The degree of anti-shake of the video, the first blur information is inversely proportional to the anti-shake information;

接着,获取预先存储的防抖信息与防抖参数之间的映射关系,根据防抖信息以及该映射关系确定防抖参数;Next, obtain the mapping relationship between the pre-stored anti-shake information and the anti-shake parameter, and determine the anti-shake parameter according to the anti-shake information and the mapping relationship;

进一步地,获取相机内参矩阵,根据相机内参矩阵以及防抖参数对图像帧进行投影变换,以对待处理视频进行防抖处理。Further, the camera internal parameter matrix is obtained, and the image frame is projected and transformed according to the camera internal parameter matrix and the anti-shake parameter, so as to perform anti-shake processing on the video to be processed.

本实施例中的视频防抖方法,根据EIS电子防抖对视频进行防抖处理,降低了运动模糊对视频的影响,提高了视频的拍摄质量,而且根据视频的模糊程度对视频的抖动程度进行调节,在用户感知层面上实现了视频的稳定性。The video anti-shake method in this embodiment performs anti-shake processing on the video according to the EIS electronic anti-shake, reduces the influence of motion blur on the video, improves the shooting quality of the video, and performs anti-shake processing on the video according to the blur degree of the video. Adjustment to achieve video stabilization at the user perception level.

应该理解的是,虽然图1-7的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图1-7中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts of FIGS. 1-7 are shown in sequence according to the arrows, these steps are not necessarily executed in the sequence shown by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIGS. 1-7 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. These sub-steps or stages are not necessarily completed at the same time. The order of execution of the steps is not necessarily sequential, but may be performed alternately or alternately with other steps or at least part of sub-steps or stages of other steps.

图8为一个实施例的视频防抖装置800的结构框图。如图8所示,一种视频防抖装置800,包括:获取模块802、确定模块804和处理模块806。其中:FIG. 8 is a structural block diagram of a video anti-shake apparatus 800 according to an embodiment. As shown in FIG. 8 , a video anti-shake device 800 includes: an acquisition module 802 , a determination module 804 and a processing module 806 . in:

获取模块802,用于获取待处理视频的图像帧的第一模糊信息,所述第一模糊信息用于表征所述待处理视频的图像帧的模糊程度;an obtaining module 802, configured to obtain first blur information of the image frame of the video to be processed, where the first blur information is used to represent the blur degree of the image frame of the video to be processed;

确定模块804,用于根据所述待处理视频的图像帧的第一模糊信息确定防抖信息,所述防抖信息用于表征对所述待处理视频的防抖程度,所述第一模糊信息与所述防抖信息呈反比;A determination module 804, configured to determine anti-shake information according to the first blur information of the image frame of the video to be processed, the anti-shake information is used to represent the anti-shake degree of the to-be-processed video, the first blur information Inversely proportional to the anti-shake information;

所述确定模块804,还用于根据所述防抖信息确定所述待处理视频的防抖参数;The determining module 804 is further configured to determine the anti-shake parameter of the video to be processed according to the anti-shake information;

处理模块806,用于根据所述防抖参数对所述待处理视频进行防抖处理。The processing module 806 is configured to perform anti-shake processing on the video to be processed according to the anti-shake parameter.

本实施中的视频防抖装置800,获取待处理视频的图像帧的第一模糊信息,第一模糊信息用于表征待处理视频的图像帧的模糊程度,根据待处理视频的图像帧的第一模糊信息确定防抖信息,防抖信息用于表征对待处理视频的防抖程度,根据防抖信息确定待处理视频的防抖参数,根据防抖参数对待处理视频进行防抖处理,这样,不仅降低了运动模糊对视频的影响,提高了视频的拍摄质量,而且根据视频的模糊程度对视频的抖动程度进行调节,在用户感知层面上实现了视频的稳定性。The video anti-shake device 800 in this embodiment obtains first blur information of the image frame of the video to be processed, and the first blur information is used to represent the blur degree of the image frame of the video to be processed. The blur information determines the anti-shake information, and the anti-shake information is used to represent the anti-shake degree of the video to be processed. Determine the anti-shake parameters of the to-be-processed video according to the anti-shake information, and perform anti-shake processing on the to-be-processed video according to the anti-shake parameters. The impact of motion blur on the video is improved, the shooting quality of the video is improved, and the degree of shaking of the video is adjusted according to the degree of blurring of the video, which realizes the stability of the video at the level of user perception.

在一个实施例中,所述获取模块802,还用于:获取所述待处理视频的图像帧的第二模糊信息以及第三模糊信息,所述第二模糊信息是由拍摄对象运动产生的模糊信息,所述第三模糊信息是由拍摄终端运动产生的模糊信息,根据所述第二模糊信息以及所述第三模糊信息确定所述第一模糊信息。In one embodiment, the acquiring module 802 is further configured to: acquire second blur information and third blur information of the image frame of the video to be processed, where the second blur information is blur generated by the movement of the photographing object information, the third blur information is blur information generated by the motion of the photographing terminal, and the first blur information is determined according to the second blur information and the third blur information.

本实施中的视频防抖装置800,获取待处理视频的图像帧的第二模糊信息以及第三模糊信息,第二模糊信息是由拍摄对象运动产生的模糊信息,第三模糊信息是由拍摄终端运动产生的模糊信息,根据第二模糊信息以及第三模糊信息确定第一模糊信息,这样,将第一模糊信息细化为第二模糊信息和第三模糊信息,实现更加准确地确定防抖信息。The video anti-shake device 800 in this implementation obtains second blur information and third blur information of the image frame of the video to be processed, the second blur information is blur information generated by the movement of the shooting object, and the third blur information is generated by the shooting terminal For the blur information generated by the motion, the first blur information is determined according to the second blur information and the third blur information. In this way, the first blur information is refined into the second blur information and the third blur information, so that the anti-shake information can be determined more accurately. .

在一个实施例中,所述确定模块804,还用于:获取预先存储的所述第一模糊信息与所述防抖信息之间的第一映射关系,根据所述第一模糊信息以及所述第一映射关系确定所述防抖信息。In one embodiment, the determining module 804 is further configured to: obtain a pre-stored first mapping relationship between the first blur information and the anti-shake information, according to the first blur information and the The first mapping relationship determines the anti-shake information.

本实施中的视频防抖装置800,获取预先存储的第一模糊信息与防抖信息之间的第一映射关系,根据第一模糊信息以及第一映射关系确定防抖信息,根据视频的模糊程度对视频的抖动程度进行调节,使得在用户感知层面对视频的模糊表现进行抑制。The video anti-shake device 800 in this embodiment acquires a first mapping relationship between the pre-stored first blur information and the anti-shake information, determines the anti-shake information according to the first blur information and the first mapping relationship, and determines the anti-shake information according to the blur degree of the video. Adjust the degree of jitter of the video, so that the blurred performance of the video can be suppressed at the user's perception level.

在一个实施例中,所述获取模块802,还用于:获取所述待处理视频的图像帧的抖动信息,所述抖动信息用于表征所述待处理视频的抖动程度;所述确定模块804,还用于:根据所述第一模糊信息以及所述抖动信息确定所述防抖信息。In one embodiment, the obtaining module 802 is further configured to: obtain the shaking information of the image frame of the video to be processed, where the shaking information is used to represent the shaking degree of the video to be processed; the determining module 804 , which is further configured to: determine the anti-shake information according to the first blur information and the jitter information.

本实施中的视频防抖装置800,获取待处理视频的图像帧的抖动信息,抖动信息用于表征待处理视频的抖动程度,根据第一模糊信息以及抖动信息确定防抖信息,这样,根据视频的模糊程度以及实际抖动程度对视频的抖动程度进行调节,在用户感知层面上实现了视频的稳定性。The video anti-shake device 800 in this implementation obtains the jitter information of the image frame of the video to be processed, the jitter information is used to represent the degree of jitter of the to-be-processed video, and the anti-shake information is determined according to the first blur information and the jitter information. In this way, according to the video The degree of blurring and the actual degree of shaking adjust the degree of shaking of the video, and realize the stability of the video at the user's perception level.

在一个实施例中,所述获取模块802,还用于:获取所述待处理视频的图像帧的抖动参数,所述抖动参数包括抖动频率以及抖动幅度中的至少一个,根据所述抖动参数确定所述抖动信息。In one embodiment, the obtaining module 802 is further configured to: obtain a jitter parameter of the image frame of the video to be processed, where the jitter parameter includes at least one of a jitter frequency and a jitter amplitude, and is determined according to the jitter parameter the jitter information.

本实施中的视频防抖装置800,获取待处理视频的图像帧的抖动参数,抖动参数包括抖动频率以及抖动幅度中的至少一个,根据抖动参数确定抖动信息,这样,实现准确确定抖动信息。The video anti-shake device 800 in this embodiment acquires the jitter parameter of the image frame of the video to be processed, the jitter parameter includes at least one of the jitter frequency and the jitter amplitude, and determines the jitter information according to the jitter parameter, so that the jitter information can be accurately determined.

在一个实施例中,所述获取模块802,还用于:获取预先存储的所述抖动参数与所述抖动信息之间的第二映射关系,根据所述抖动参数以及所述第二映射关系确定所述抖动信息。In one embodiment, the obtaining module 802 is further configured to: obtain a pre-stored second mapping relationship between the jitter parameter and the jitter information, and determine according to the jitter parameter and the second mapping relationship the jitter information.

本实施中的视频防抖装置800,获取预先存储的抖动参数与抖动信息之间的第二映射关系,根据抖动参数以及第二映射关系确定抖动信息,实现准确确定抖动信息。The video anti-shake device 800 in this embodiment obtains a second mapping relationship between the pre-stored jitter parameters and the jitter information, and determines the jitter information according to the jitter parameters and the second mapping relationship, so as to accurately determine the jitter information.

在一个实施例中,所述获取模块802,还用于:获取预先存储的所述第一模糊信息、所述抖动信息与所述防抖信息之间的第三映射关系,根据所述第一模糊信息、所述抖动信息以及所述第三映射关系确定所述防抖信息。In one embodiment, the obtaining module 802 is further configured to: obtain a pre-stored third mapping relationship between the first blur information, the jitter information and the anti-shake information, according to the first The blur information, the jitter information, and the third mapping relationship determine the anti-shake information.

本实施中的视频防抖装置800,获取预先存储的第一模糊信息、抖动信息与防抖信息之间的第三映射关系,根据第一模糊信息、抖动信息以及第三映射关系确定防抖信息,这样,根据视频的模糊程度以及实际抖动程度对视频的抖动程度进行调节,在用户感知层面上实现了视频的稳定性。The video anti-shake apparatus 800 in this embodiment acquires the pre-stored first blur information, the third mapping relationship between the jitter information and the anti-shake information, and determines the anti-shake information according to the first blur information, the jitter information and the third mapping relationship , in this way, the degree of shaking of the video is adjusted according to the degree of blurring of the video and the actual degree of shaking, and the stability of the video is realized at the level of user perception.

在一个实施例中,所述处理模块806,还用于:获取相机内参矩阵,根据所述相机内参矩阵以及所述防抖参数对所述图像帧进行投影变换,以对所述待处理视频进行防抖处理。In one embodiment, the processing module 806 is further configured to: acquire a camera intrinsic parameter matrix, and perform projection transformation on the image frame according to the camera intrinsic parameter matrix and the anti-shake parameter, so as to perform a projection transformation on the video to be processed. Anti-shake processing.

本实施中的视频防抖装置800,获取相机内参矩阵,根据相机内参矩阵以及防抖参数对图像帧进行投影变换,以对待处理视频进行防抖处理,这样,根据EIS电子防抖对视频进行防抖处理,降低了运动模糊对视频的影响,提高了视频的拍摄质量,而且根据视频的模糊程度对视频的抖动程度进行调节,在用户感知层面上实现了视频的稳定性。The video anti-shake device 800 in this implementation obtains the camera internal parameter matrix, and performs projection transformation on the image frame according to the camera internal parameter matrix and anti-shake parameters, so as to perform anti-shake processing on the video to be processed. In this way, the video is anti-shake according to the EIS electronic anti-shake. Shaking processing reduces the impact of motion blur on the video, improves the shooting quality of the video, and adjusts the degree of shaking of the video according to the degree of blurring of the video, which realizes the stability of the video at the level of user perception.

关于视频防抖装置的具体限定可以参见上文中对于视频防抖方法的限定,在此不再赘述。上述视频防抖装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For specific limitations on the video anti-shake device, reference may be made to the above limitations on the video anti-shake method, which will not be repeated here. Each module in the above video anti-shake device may be implemented in whole or in part by software, hardware and combinations thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

图9为一个实施例中电子设备的内部结构示意图。如图9所示,该电子设备包括通过系统总线连接的处理器和存储器。其中,该处理器用于提供计算和控制能力,支撑整个电子设备的运行。存储器可包括非易失性存储介质及内存储器。非易失性存储介质存储有操作系统和计算机程序。该计算机程序可被处理器所执行,以用于实现以上各个实施例所提供的一种视频防抖方法。内存储器为非易失性存储介质中的操作系统计算机程序提供高速缓存的运行环境。该电子设备可以是手机、平板电脑或者个人数字助理或穿戴式设备等。FIG. 9 is a schematic diagram of the internal structure of an electronic device in one embodiment. As shown in FIG. 9, the electronic device includes a processor and a memory connected by a system bus. Among them, the processor is used to provide computing and control capabilities to support the operation of the entire electronic device. The memory may include non-volatile storage media and internal memory. The nonvolatile storage medium stores an operating system and a computer program. The computer program can be executed by the processor to implement a video anti-shake method provided by the above embodiments. Internal memory provides a cached execution environment for operating system computer programs in non-volatile storage media. The electronic device may be a mobile phone, a tablet computer, a personal digital assistant or a wearable device, and the like.

本申请实施例中提供的视频防抖装置中的各个模块的实现可为计算机程序的形式。该计算机程序可在终端或服务器上运行。该计算机程序构成的程序模块可存储在终端或服务器的存储器上。该计算机程序被处理器执行时,实现本申请实施例中所描述方法的步骤。The implementation of each module in the video anti-shake apparatus provided in the embodiments of the present application may be in the form of a computer program. The computer program can be run on a terminal or server. The program modules constituted by the computer program can be stored in the memory of the terminal or the server. When the computer program is executed by the processor, the steps of the methods described in the embodiments of the present application are implemented.

本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当所述计算机可执行指令被一个或多个处理器执行时,使得所述处理器执行视频防抖方法的步骤。Embodiments of the present application also provide a computer-readable storage medium. One or more non-volatile computer-readable storage media containing computer-executable instructions, when executed by one or more processors, cause the processors to perform the steps of the video stabilization method.

一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行视频防抖方法。A computer program product containing instructions, when run on a computer, causes the computer to perform a video stabilization method.

本申请所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。Any reference to a memory, storage, database, or other medium as used herein may include non-volatile and/or volatile memory. Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the patent of the present application. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.

Claims (12)

1. A video anti-shake method, comprising:
acquiring first fuzzy information of an image frame of a video to be processed, wherein the first fuzzy information is used for representing the fuzzy degree of the image frame of the video to be processed;
determining anti-shake information according to first fuzzy information of an image frame of the video to be processed, wherein the anti-shake information is used for representing the anti-shake degree of the video to be processed;
determining anti-shake parameters of the video to be processed according to the anti-shake information;
and carrying out anti-shake processing on the video to be processed according to the anti-shake parameters.
2. The method of claim 1, wherein the obtaining first blur information of image frames of the video to be processed comprises:
acquiring second fuzzy information and third fuzzy information of an image frame of the video to be processed, wherein the second fuzzy information is fuzzy information generated by the motion of a shooting object, and the third fuzzy information is fuzzy information generated by the motion of a shooting terminal;
and determining the first fuzzy information according to the second fuzzy information and the third fuzzy information.
3. The method according to claim 1, wherein the first blur information and the anti-shake information are in a first mapping relationship.
4. The method of claim 1, wherein determining anti-shake information from first blur information of image frames of the video to be processed comprises:
acquiring a first mapping relation between the pre-stored first fuzzy information and the anti-shake information;
and determining the anti-shake information according to the first fuzzy information and the first mapping relation.
5. The method of claim 1, wherein before determining anti-shake information from first blur information of image frames of the video to be processed, further comprising:
acquiring jitter information of an image frame of the video to be processed, wherein the jitter information is used for representing the jitter degree of the video to be processed;
the determining anti-shake information according to the first blur information of the image frame of the video to be processed includes:
and determining the anti-shake information according to the first fuzzy information and the shake information.
6. The method according to claim 5, wherein the obtaining the dithering information of the image frames of the video to be processed comprises:
acquiring jitter parameters of image frames of the video to be processed, wherein the jitter parameters comprise at least one of jitter frequency and jitter amplitude;
and determining the jitter information according to the jitter parameters.
7. The method of claim 6, wherein the determining the jitter information according to the jitter parameter comprises:
acquiring a second mapping relation between the pre-stored jitter parameters and the jitter information;
and determining the jitter information according to the jitter parameter and the second mapping relation.
8. The method according to claim 5, wherein the determining the anti-shake information according to the first blur information and the shake information comprises:
acquiring prestored first fuzzy information, and a third mapping relation between the jitter information and the anti-jitter information;
and determining the anti-shake information according to the first fuzzy information, the shake information and the third mapping relation.
9. The method according to claim 1, wherein the anti-shake processing the video to be processed according to the anti-shake parameters comprises:
acquiring a camera internal reference matrix;
and performing projection transformation on the image frame according to the camera internal parameter matrix and the anti-shake parameters so as to perform anti-shake processing on the video to be processed.
10. A video anti-shake apparatus, comprising:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring first fuzzy information of an image frame of a video to be processed, and the first fuzzy information is used for representing the fuzzy degree of the image frame of the video to be processed;
the determining module is used for determining anti-shake information according to first fuzzy information of an image frame of the video to be processed, wherein the anti-shake information is used for representing the anti-shake degree of the video to be processed;
the determining module is further configured to determine anti-shake parameters of the video to be processed according to the anti-shake information;
and the processing module is used for carrying out anti-shake processing on the video to be processed according to the anti-shake parameters.
11. An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the video anti-shake method according to any of claims 1-9.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the video anti-shake method according to any one of claims 1 to 9.
CN202010186990.8A 2020-03-17 2020-03-17 Video anti-shake method and apparatus, electronic device and computer-readable storage medium Active CN111372000B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010186990.8A CN111372000B (en) 2020-03-17 2020-03-17 Video anti-shake method and apparatus, electronic device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010186990.8A CN111372000B (en) 2020-03-17 2020-03-17 Video anti-shake method and apparatus, electronic device and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN111372000A true CN111372000A (en) 2020-07-03
CN111372000B CN111372000B (en) 2021-08-17

Family

ID=71211877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010186990.8A Active CN111372000B (en) 2020-03-17 2020-03-17 Video anti-shake method and apparatus, electronic device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN111372000B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112437283A (en) * 2020-11-09 2021-03-02 广景视睿科技(深圳)有限公司 Method and system for adjusting projection jitter
CN112532885A (en) * 2020-11-27 2021-03-19 维沃移动通信有限公司 Anti-shake method and device and electronic equipment
CN113436113A (en) * 2021-07-22 2021-09-24 黑芝麻智能科技有限公司 Anti-shake image processing method, device, electronic equipment and storage medium
US12288308B2 (en) 2021-10-27 2025-04-29 Beijing Zitiao Network Technology Co., Ltd. Video processing method and apparatus, and electronic device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06350895A (en) * 1993-06-10 1994-12-22 Fujitsu General Ltd Image stabilization method for video cameras
CN104135597A (en) * 2014-07-04 2014-11-05 上海交通大学 Automatic detection method of jitter of video
CN104253934A (en) * 2013-06-26 2014-12-31 中兴通讯股份有限公司 Method and system for detecting jitter
CN105262934A (en) * 2015-10-16 2016-01-20 浙江宇视科技有限公司 Adjusting method and adjusting device for video image
CN108307118A (en) * 2018-02-10 2018-07-20 北京理工大学 A kind of low delay video image stabilization method based on the optimization of inertial navigation parameter manifold
CN110166697A (en) * 2019-06-28 2019-08-23 Oppo广东移动通信有限公司 Camera anti-shake method and device, electronic equipment and computer readable storage medium
CN110493522A (en) * 2019-08-26 2019-11-22 Oppo广东移动通信有限公司 Anti-fluttering method and device, electronic equipment, computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06350895A (en) * 1993-06-10 1994-12-22 Fujitsu General Ltd Image stabilization method for video cameras
CN104253934A (en) * 2013-06-26 2014-12-31 中兴通讯股份有限公司 Method and system for detecting jitter
CN104135597A (en) * 2014-07-04 2014-11-05 上海交通大学 Automatic detection method of jitter of video
CN105262934A (en) * 2015-10-16 2016-01-20 浙江宇视科技有限公司 Adjusting method and adjusting device for video image
CN108307118A (en) * 2018-02-10 2018-07-20 北京理工大学 A kind of low delay video image stabilization method based on the optimization of inertial navigation parameter manifold
CN110166697A (en) * 2019-06-28 2019-08-23 Oppo广东移动通信有限公司 Camera anti-shake method and device, electronic equipment and computer readable storage medium
CN110493522A (en) * 2019-08-26 2019-11-22 Oppo广东移动通信有限公司 Anti-fluttering method and device, electronic equipment, computer readable storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112437283A (en) * 2020-11-09 2021-03-02 广景视睿科技(深圳)有限公司 Method and system for adjusting projection jitter
WO2022095662A1 (en) * 2020-11-09 2022-05-12 广景视睿科技(深圳)有限公司 Method and system for adjusting projection jitter
CN112437283B (en) * 2020-11-09 2022-06-10 广景视睿科技(深圳)有限公司 Method and system for adjusting projection jitter
CN112532885A (en) * 2020-11-27 2021-03-19 维沃移动通信有限公司 Anti-shake method and device and electronic equipment
CN112532885B (en) * 2020-11-27 2022-05-03 维沃移动通信有限公司 Anti-shake method and device and electronic equipment
CN113436113A (en) * 2021-07-22 2021-09-24 黑芝麻智能科技有限公司 Anti-shake image processing method, device, electronic equipment and storage medium
US11770613B2 (en) 2021-07-22 2023-09-26 Black Sesame Technologies Inc. Anti-shake image processing method, apparatus, electronic device and storage medium
US12288308B2 (en) 2021-10-27 2025-04-29 Beijing Zitiao Network Technology Co., Ltd. Video processing method and apparatus, and electronic device and storage medium

Also Published As

Publication number Publication date
CN111372000B (en) 2021-08-17

Similar Documents

Publication Publication Date Title
CN111246089B (en) Jitter compensation method and apparatus, electronic device, computer-readable storage medium
CN111314604B (en) Video stabilization method and apparatus, electronic device, computer-readable storage medium
KR102509466B1 (en) Optical image stabilization movement to create a super-resolution image of a scene
US11770613B2 (en) Anti-shake image processing method, apparatus, electronic device and storage medium
US7643062B2 (en) Method and system for deblurring an image based on motion tracking
US10217200B2 (en) Joint video stabilization and rolling shutter correction on a generic platform
CN110166695A (en) Camera anti-shake method, device, electronic device and computer-readable storage medium
CN110661977B (en) Subject detection method and apparatus, electronic device, computer-readable storage medium
CN111372000B (en) Video anti-shake method and apparatus, electronic device and computer-readable storage medium
CN110475067B (en) Image processing method and device, electronic equipment and computer readable storage medium
CN110473159A (en) Image processing method and device, electronic equipment, computer readable storage medium
US8159544B2 (en) Method for adjusting photographing settings of digital camera through motion detection
WO2018223381A1 (en) Video shake-prevention method and mobile device
CN110493522A (en) Anti-fluttering method and device, electronic equipment, computer readable storage medium
CN110266966A (en) Image generation method and device, electronic equipment and computer readable storage medium
CN113556464A (en) Shooting method and device and electronic equipment
US10547785B2 (en) Photographing method including image registration based on reference image, shake information, and a motion vector table
CN110049237A (en) Camera anti-shake method, device, electronic device and computer storage medium
CN109584311B (en) Camera calibration method, apparatus, electronic device and computer-readable storage medium
CN111371987B (en) Image processing method and apparatus, electronic device, computer-readable storage medium
CN106303249A (en) Video anti-fluttering method and equipment
US20070098383A1 (en) Motion blur reduction and compensation
JP6282133B2 (en) Imaging device, control method thereof, and control program
TW202044819A (en) Roll compensation and blur reduction in tightly synchronized optical image stabilization (ois)
Sindelar et al. Space-variant image deblurring on smartphones using inertial sensors

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant