WO2022027313A1 - Panoramic image generation method, photography apparatus, flight system, and storage medium - Google Patents

Panoramic image generation method, photography apparatus, flight system, and storage medium Download PDF

Info

Publication number
WO2022027313A1
WO2022027313A1 PCT/CN2020/107101 CN2020107101W WO2022027313A1 WO 2022027313 A1 WO2022027313 A1 WO 2022027313A1 CN 2020107101 W CN2020107101 W CN 2020107101W WO 2022027313 A1 WO2022027313 A1 WO 2022027313A1
Authority
WO
WIPO (PCT)
Prior art keywords
sky
images
movable platform
photographing
spliced
Prior art date
Application number
PCT/CN2020/107101
Other languages
French (fr)
Chinese (zh)
Inventor
翁松伟
付洁
郝贵伟
Original Assignee
深圳市大疆创新科技有限公司
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 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2020/107101 priority Critical patent/WO2022027313A1/en
Publication of WO2022027313A1 publication Critical patent/WO2022027313A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B64AIRCRAFT; AVIATION; COSMONAUTICS
    • B64UUNMANNED AERIAL VEHICLES [UAV]; EQUIPMENT THEREFOR
    • B64U20/00Constructional aspects of UAVs
    • B64U20/80Arrangement of on-board electronics, e.g. avionics systems or wiring
    • B64U20/87Mounting of imaging devices, e.g. mounting of gimbals
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Mechanical Engineering (AREA)
  • Remote Sensing (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Studio Devices (AREA)
  • Stereoscopic And Panoramic Photography (AREA)

Abstract

A panoramic image generation method, a photography apparatus, a flight system, and a storage medium, the method comprising: obtaining a plurality of images to be stitched, the plurality of images to be stitched being obtained from at least one photography apparatus continuously photographing in different directions following the movement of a mount platform and/or a movable platform, said directions comprising a direction toward the sky; and performing stitching on the plurality of images to be stitched according to the directions, and generating a panoramic image. By means of the photography apparatus photographing in a direction towards the sky and obtaining an image of the sky, completion does not need to be performed on a sky portion, removing an associated sky completion step, facilitating increasing panoramic image generation efficiency, and because the sky image has been really photographed, there is no distortion problem, facilitating improving panoramic image quality.

Description

全景图像生成方法、拍摄装置、飞行系统及存储介质Panoramic image generation method, shooting device, flight system and storage medium 技术领域technical field
本申请涉及图像处理技术领域,具体而言,涉及一种全景图像生成方法、拍摄装置、飞行系统及存储介质。The present application relates to the technical field of image processing, and in particular, to a panoramic image generation method, a photographing device, a flight system and a storage medium.
背景技术Background technique
随着图像处理技术的不断发展,全景图像由于可视范围广、图像内容多,受到了人们的广泛欢迎。With the continuous development of image processing technology, panoramic images have been widely welcomed by people due to their wide viewing range and many image contents.
请参阅图1A,目前利用可移动平台如无人飞行器搭载拍摄装置拍摄得到的全景图像存在顶部的天空部分缺失的问题,相关技术中为了补全顶部的天空部分,会从存在天空部分的其他图像的顶部边缘提取纹理信息或者颜色信息来补全缺失的天空部分,通常会将存在天空部分的其他图像的顶部边缘中纹理变化或者颜色变化较为平缓的边缘区域认为是天空部分,请参阅图1B或者图2中虚线部分为补全后的天空部分,可见,这样会使提取的纹理信息或者颜色信息较为平滑,使得补全的天空部分存在失真问题,导致全景图像质量下降,用户体验不佳。Please refer to FIG. 1A . Currently, the panoramic image obtained by using a movable platform such as an unmanned aerial vehicle equipped with a photographing device has the problem that the sky part at the top is missing. The texture information or color information is extracted from the top edge of the image to complete the missing sky part. Usually, the edge area where the texture change or the color change is relatively gentle in the top edge of other images with the sky part is regarded as the sky part, please refer to Figure 1B or The dashed part in Figure 2 is the completed sky part, which can be seen. This will make the extracted texture information or color information smoother, causing the completed sky part to have a distortion problem, resulting in a decrease in the quality of the panoramic image and a poor user experience.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本申请的目的之一是提供一种全景图像生成方法、拍摄装置、飞行系统及存储介质。In view of this, one of the objectives of the present application is to provide a panoramic image generation method, a photographing device, a flight system and a storage medium.
第一方面,本申请实施例提供了一种全景图像生成方法,包括:In a first aspect, an embodiment of the present application provides a method for generating a panoramic image, including:
获取多张待拼接图像,所述多张待拼接图像由至少一个拍摄装置随着云台和/或可移动平台的运动朝不同的方位连续拍摄得到,所述方位包括朝向天空的方位;Acquiring multiple images to be spliced, the multiple images to be spliced are continuously photographed by at least one photographing device along with the movement of the pan/tilt and/or movable platform toward different orientations, and the orientations include orientations toward the sky;
根据所述方位将所述多张待拼接图像进行拼接处理,生成全景图像。The plurality of images to be spliced are spliced according to the orientation to generate a panoramic image.
第二方面,本申请实施例提供了一种拍摄装置,所述拍摄装置安装于云台和/或可移动平台上,所述拍摄装置包括拍摄单元,存储器和处理器;In a second aspect, an embodiment of the present application provides a photographing device, the photographing device is installed on a pan/tilt and/or a movable platform, and the photographing device includes a photographing unit, a memory and a processor;
所述存储器用于存储可执行指令;the memory for storing executable instructions;
所述拍摄单元用于随着云台和/或可移动平台的运动朝不同的方位连续拍摄得到 多张待拼接图像,所述方位包括朝向天空的方位;The photographing unit is used for continuously photographing multiple images to be spliced along with the movement of the PTZ and/or the movable platform toward different azimuths, and the azimuths include azimuths toward the sky;
所述处理器执行所述可执行指令时,被配置为:获取所述多张待拼接图像;根据所述方位将所述多张待拼接图像进行拼接处理,生成全景图像。When the processor executes the executable instruction, it is configured to: acquire the plurality of images to be stitched; and perform stitching processing on the plurality of images to be stitched according to the orientation to generate a panoramic image.
第三方面,本申请实施例提供了一种飞行系统,包括:包括:可移动平台、安装于可移动平台上的至少一个云台以及安装于所述云台上的至少一个拍摄装置;In a third aspect, an embodiment of the present application provides a flight system, including: a movable platform, at least one pan-tilt mounted on the movable platform, and at least one photographing device mounted on the pan-tilt;
所述拍摄装置随着所述云台和/或所述可移动平台的运动朝不同的方位连续拍摄得到多张待拼接图像,所述方位包括朝向天空的方位;以及,根据所述方位将所述多张待拼接图像进行拼接处理,生成全景图像。The shooting device continuously shoots a plurality of images to be spliced in different directions along with the movement of the pan/tilt and/or the movable platform, and the directions include a direction toward the sky; The plurality of images to be spliced are spliced to generate a panoramic image.
第四方面,本申请实施例提供了提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如第一方面中任一项所述的方法In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the first aspect any one of the methods
本申请实施例所提供的一种全景图像生成方法、拍摄装置、飞行系统及存储介质,由至少一个拍摄装置随着云台和/或可移动平台的运动朝不同的方位连续拍摄得到多张待拼接图像,本实施例中所述拍摄装置随着云台和/或可移动平台的运动能够朝向天空的方位进行拍摄,这样可以拍摄得到顶部的天空图像,进而根据所述方位将所述天空图像与其他待拼接图像进行拼接以生成全景图像,无需对天空部分进行补全,减少了相关的天空补全步骤,有利于提升全景图像生成效率,并且由于是实际拍摄的天空图像,不存在失真的问题,有利于提升全景图像的质量。In a panoramic image generation method, a photographing device, a flight system and a storage medium provided by the embodiments of the present application, at least one photographing device continuously photographs to different directions along with the movement of the pan/tilt and/or movable platform to obtain a plurality of to-be-received images. Stitching images, in this embodiment, the photographing device can photograph in an orientation toward the sky with the movement of the gimbal and/or the movable platform, so that the sky image at the top can be photographed, and then the sky image can be captured according to the orientation. Stitching with other images to be stitched to generate a panoramic image does not need to complete the sky part, reducing the related sky completion steps, which is beneficial to improve the efficiency of panoramic image generation, and because it is an actual sky image, there is no distortion. problem, which is beneficial to improve the quality of panoramic images.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative labor.
图1A是背景技术示出的顶部的天空部分缺失的示意图;FIG. 1A is a schematic diagram of the top part of the sky shown in the background art missing;
图1B以及图2是背景技术示出的补全顶部的天空部分的示意图;FIG. 1B and FIG. 2 are schematic diagrams of the sky part at the top shown in the background art;
图3是本申请一个实施例的一种全景图像生成方法的流程示意图;3 is a schematic flowchart of a method for generating a panoramic image according to an embodiment of the present application;
图4是本申请一个实施例提供的俯仰轴、偏航轴以及横滚轴的分布示意图;4 is a schematic diagram of the distribution of a pitch axis, a yaw axis, and a roll axis provided by an embodiment of the present application;
图5是本申请一个实施例提供的一种无人飞行器的结构示意图;5 is a schematic structural diagram of an unmanned aerial vehicle provided by an embodiment of the present application;
图6是本申请一个实施例提供的另一种无人飞行器的结构示意图;6 is a schematic structural diagram of another unmanned aerial vehicle provided by an embodiment of the present application;
图7是本申请一个实施例提供的一种拍摄装置的结构示意图;FIG. 7 is a schematic structural diagram of a photographing device provided by an embodiment of the present application;
图8是本申请一个实施例提供的一种飞行系统的结构示意图。FIG. 8 is a schematic structural diagram of a flight system provided by an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
随着图像处理技术的不断发展,全景图像由于可视范围广、图像内容多,受到了人们的广泛欢迎。With the continuous development of image processing technology, panoramic images have been widely welcomed by people due to their wide viewing range and many image contents.
全景图像的生成通常需要拍摄和拼接两步来实现,相关技术中当拍摄装置安装于可移动平台上进行拍摄时,受限于可移动平台的移动范围,在拍摄过程中通常无法拍摄到顶部的天空,或者拍摄到的顶部天空不完全,则在拼接成全景图像之后,请参阅图1A,存在顶部的天空部分缺失的问题。The generation of panoramic images usually requires two steps of shooting and splicing. In the related art, when the shooting device is installed on the movable platform for shooting, it is limited by the moving range of the movable platform, and it is usually impossible to shoot the top part during the shooting process. The sky, or the captured sky at the top is incomplete, after stitching into a panoramic image, please refer to Figure 1A, there is a problem that the sky part at the top is missing.
相关技术中为了补全顶部的天空部分,会从存在天空部分的其他图像的顶部边缘提取纹理信息或者颜色信息来补全缺失的天空部分,通常会将存在天空部分的其他图像的顶部边缘中纹理变化或者颜色变化较为平缓的边缘区域认为是天空部分,请参阅图1B或者图2中虚线部分的补全后的天空部分,这样会使得提取的纹理信息或者颜色信息较为平滑,与存在云层的天空部分区分开来,导致补全的天空部分存在失真问题,全景图像质量下降,用户体验不佳。In the related art, in order to complete the sky part at the top, texture information or color information is extracted from the top edges of other images with sky parts to complete the missing sky parts, usually the texture information or color information is extracted from the top edges of other images with sky parts. The edge area with gentle change or color change is considered to be the sky part. Please refer to the completed sky part in Figure 1B or the dotted line part in Figure 2. This will make the extracted texture information or color information smoother, which is different from the sky with clouds. Parts are separated, resulting in a distortion problem in the completed sky part, the quality of the panoramic image is degraded, and the user experience is not good.
基于此,本申请实施例提供了一种全景图像生成方法,由至少一个拍摄装置随着云台和/或(和/或表示两者或两者之一)可移动平台的运动朝不同的方位连续拍摄得到多张待拼接图像,本实施例中所述拍摄装置随着云台和/或可移动平台的运动能够朝向天空的方位进行拍摄,这样可以拍摄得到顶部的天空图像,进而根据所述方位将所述天空图像与其他待拼接图像进行拼接以生成全景图像,无需对天空部分进行补全,减少了相关的天空补全步骤,有利于提升全景图像生成效率,并且由于是实际拍摄的天空图像,不存在失真的问题,有利于提升全景图像的质量。Based on this, an embodiment of the present application provides a method for generating a panoramic image, in which at least one photographing device moves to different directions along with the movement of the pan/tilt and/or (and/or representing either or both) of the movable platform Continuous shooting to obtain a plurality of images to be spliced, in this embodiment, the shooting device can shoot in the direction of the sky along with the movement of the head and/or the movable platform, so that the sky image at the top can be captured, and then according to the above The sky image is spliced with other images to be spliced to generate a panoramic image, and there is no need to complete the sky part, which reduces the related sky completion steps, which is beneficial to improve the efficiency of panoramic image generation, and because the sky is actually shot Image, there is no problem of distortion, which is conducive to improving the quality of panoramic images.
其中,所述可移动平台包括但不限于无人飞行器、无人驾驶车辆、无人驾驶船只或者移动机器人等。The movable platform includes, but is not limited to, an unmanned aerial vehicle, an unmanned vehicle, an unmanned vessel, or a mobile robot.
所述全景图像包括但不限于球型全景图像或者柱形全景图像等。球型全景图像可以达到水平360度,上下180度的效果,在球型全景图像中,用户如同位于球的中心, 通过鼠标、键盘或者触摸等操作,可以观察到任何一个角度,完全融入了虚拟环境之中;柱形全景图像可以达到水平360度的效果,用户可以看到环水平360度观看四周的内容。The panoramic image includes, but is not limited to, a spherical panoramic image or a cylindrical panoramic image. The spherical panorama image can achieve the effect of 360 degrees horizontally and 180 degrees up and down. In the spherical panorama image, the user seems to be in the center of the ball, and can observe any angle through the operation of the mouse, keyboard or touch, completely integrated into the virtual In the environment; the cylindrical panoramic image can achieve a horizontal 360-degree effect, and the user can see the surrounding content in a horizontal 360-degree view of the ring.
示例性地,基于所述全景图像能够观察到大范围区域的特点,所述全景图像可应用于救援场景、勘测场景、监控场景或者车辆驾驶场景等。在一个例子中,在监控场景下,如在大范围的公共场所、交通枢纽或者交通路口布局用于生成全景图像的拍摄装置,从而工作人员可以通过生成的全景图像进行全局统筹与调度。在另一个例子中,在火灾救援场景中,由搭载有拍摄装置的无人飞行器飞行至火灾发生地点,然后所述拍摄装置进行拍摄得到多张待拼接图像,接着所述拍摄装置或者所述无人飞行器或者与所述拍摄装置关联的其他终端设备将所述多张待拼接图像进行拼接处理,得到全景图像,进而工作人员可以通过全景图像进行全局统筹与调度。Exemplarily, based on the feature that a large area can be observed based on the panoramic image, the panoramic image can be applied to a rescue scene, a survey scene, a monitoring scene, or a vehicle driving scene, and the like. In one example, in a monitoring scenario, such as in a large-scale public place, a traffic hub or a traffic intersection, a photographing device for generating a panoramic image is arranged, so that the staff can conduct global overall planning and scheduling through the generated panoramic image. In another example, in a fire rescue scenario, an unmanned aerial vehicle equipped with a photographing device flies to the location of the fire, and then the photographing device performs photography to obtain a plurality of images to be spliced, and then the photographing device or the unmanned aerial vehicle The human aircraft or other terminal equipment associated with the photographing device performs stitching processing on the plurality of images to be stitched to obtain a panoramic image, and then the staff can make overall planning and scheduling through the panoramic image.
请参阅图3,为本申请实施例提供的一种全景图像生成方法的流程示意图,所述方法可以由拍摄装置、云台、所述可移动平台或者与所述拍摄装置关联的其他终端设备来执行,以下以所述拍摄装置为执行主体为例进行说明,所述方法包括:Please refer to FIG. 3 , which is a schematic flowchart of a method for generating a panoramic image according to an embodiment of the present application. The method may be generated by a photographing apparatus, a pan/tilt, the movable platform, or other terminal equipment associated with the photographing apparatus. Execution, the following description takes the photographing device as an execution subject as an example, and the method includes:
在步骤S101中,获取多张待拼接图像,所述多张待拼接图像由至少一个拍摄装置随着云台和/或可移动平台的运动朝不同的方位连续拍摄得到,所述方位包括朝向天空的方位。In step S101, a plurality of images to be spliced are acquired, and the plurality of images to be spliced are continuously photographed by at least one photographing device in different directions along with the movement of the gimbal and/or the movable platform, and the directions include facing the sky orientation.
在步骤S102中,根据所述方位将所述多张待拼接图像进行拼接处理,生成全景图像。In step S102, stitching processing is performed on the plurality of images to be stitched according to the orientation to generate a panoramic image.
在本实施例中,由至少一个拍摄装置随着云台和/或可移动平台的运动朝不同的方位连续拍摄得到多张待拼接图像,其中,随着所述云台和/或可移动平台的运动,所述拍摄装置能够朝向天空的方位拍摄得到天空图像,进而根据所述方位将所述天空图像与其他待拼接图像进行拼接以生成全景图像,无需对天空部分进行补全,减少了相关的天空补全步骤,有利于提升全景图像生成效率,并且由于是实际拍摄的天空图像,不存在失真的问题,有利于提升全景图像的质量。In this embodiment, a plurality of images to be spliced are continuously captured by at least one photographing device in different directions along with the movement of the PTZ and/or the movable platform, wherein, with the movement of the PTZ and/or the movable platform motion, the photographing device can capture a sky image in a direction facing the sky, and then splices the sky image and other images to be spliced according to the orientation to generate a panoramic image, without the need to complete the sky part, reducing the number of related The sky completion step is beneficial to improve the efficiency of panoramic image generation, and because it is an actual sky image, there is no distortion problem, which is beneficial to improve the quality of the panoramic image.
可以理解的是,本申请实施例对于所述拍摄装置的数量不做任何限制,可依据实际应用场景进行具体设置。It can be understood that the embodiments of the present application do not impose any limitation on the number of the photographing devices, and specific settings may be made according to actual application scenarios.
在一实施例中,所述拍摄装置的数量可以是一个,所述拍摄装置安装于所述云台上,所述云台能够朝上方转动以使得所述拍摄装置能够随着所述云台的转动朝向天空进行拍摄。其中,所述云台的转动范围不小于180°,这样随着所述云台的转动,所述拍摄装置可以朝向天空进行拍摄,也可以朝向其他方位比如地面进行拍摄。作为其中 一种实现方式,请参阅图4,所述云台的转动范围包括所述云台绕俯仰轴转动的范围,即是说,所述云台绕所述俯仰轴转动的范围不小于180°,从而所述云台绕所述俯仰轴转动时可以带动所述拍摄装置朝向天空的方位,也可以带动所述拍摄装置朝向其他方位比如朝向地面的方位,比如所述云台自水平方向绕所述俯仰轴转动90°,从而带动所述拍摄装置朝向天空或者朝向地面进行拍摄;或者所述云台也可以自水平方向绕所述俯仰轴斜向上转动45°,以使所述拍摄装置朝向该方位进行拍摄。In one embodiment, the number of the photographing device may be one, the photographing device is installed on the pan/tilt, and the pan/tilt can be rotated upward so that the photographing device can follow the movement of the pan/tilt. Turn towards the sky to shoot. Wherein, the rotation range of the PTZ is not less than 180°, so that with the rotation of the PTZ, the shooting device can shoot towards the sky, and can also shoot towards other directions such as the ground. As one of the implementations, please refer to FIG. 4 , the rotation range of the PTZ includes the rotation range of the PTZ around the pitch axis, that is to say, the rotation range of the PTZ around the pitch axis is not less than 180° °, so that when the gimbal rotates around the pitch axis, it can drive the photographing device to face the sky, and can also drive the shooting device to face other directions such as the ground, for example, the gimbal rotates from the horizontal direction to the direction of the sky. The pitch axis is rotated 90°, thereby driving the camera to shoot toward the sky or the ground; or the gimbal can also be rotated 45° obliquely upward from the horizontal direction around the pitch axis to make the camera face Shoot in this direction.
进一步地,所述云台可安装于所述可移动平台的机身侧面,在所述云台安装于所述可移动平台的机身侧面的情况下,所述云台的运动范围有所限制,比如所述云台无法绕偏航轴旋转360°,本实施例中,可以随着可移动平台的运动来带动所述拍摄装置和所述云台运动,这样所述拍摄装置可以朝向更多不同的方位进行拍摄。示例性地,所述可移动平台可以在当前位置上进行旋转,所述可移动平台的旋转带动所述云台和所述拍摄装置旋转,从而使得所述拍摄装置可朝向更多不同的方位进行拍摄。本实施例中,在同一时刻可以只有所述云台运动、或者只有所述可移动平台运动、或者所述云台和所述可移动平台可以同时运动,本实施例对此不做任何限制,可依据实际应用场景进行具体设置。Further, the pan/tilt can be installed on the side of the fuselage of the movable platform. When the pan/tilt is mounted on the side of the movable platform, the movement range of the pan/tilt is limited. For example, the pan/tilt cannot rotate 360° around the yaw axis. In this embodiment, the camera and the pan/tilt can be driven to move with the movement of the movable platform, so that the camera can move toward more Shoot in different directions. Exemplarily, the movable platform can be rotated at the current position, and the rotation of the movable platform drives the pan-tilt and the photographing device to rotate, so that the photographing device can be directed to more different directions. shoot. In this embodiment, at the same time, only the pan/tilt may move, or only the movable platform may move, or the pan/tilt and the movable platform may move at the same time, which is not limited in this embodiment. Specific settings can be made according to actual application scenarios.
这里以所述可移动平台为无人飞行器为例进行说明:所述云台可以安装于所述无人飞行器的机身侧面,在一个可选的实现方式中,请参阅图5,为了避免无人飞行器200的机翼对于所述拍摄装置202的拍摄范围产生的遮挡影响,所述云台201可以安装于不会被机翼遮挡到的地方,比如安装于所述无人飞行器200的机身前端或者机身后端,所述拍摄装置202安装于所述云台201上,随着所述云台201或者所述无人飞行器200的转动,所述拍摄装置202可以朝向不同的方位进行拍摄。Here, the movable platform is an unmanned aerial vehicle as an example for illustration: the pan/tilt can be installed on the side of the fuselage of the unmanned aerial vehicle. In an optional implementation, please refer to FIG. 5 . The occlusion effect of the wings of the human aircraft 200 on the shooting range of the shooting device 202, the gimbal 201 can be installed in a place that will not be blocked by the wings, such as installed on the fuselage of the unmanned aircraft 200 At the front end or the rear end of the fuselage, the photographing device 202 is installed on the gimbal 201. With the rotation of the gimbal 201 or the unmanned aerial vehicle 200, the photographing device 202 can shoot in different directions. .
所述云台绕所述俯仰轴转动的范围不小于180°,从而在所述云台绕所述俯仰轴转动的过程中,所述拍摄装置可以朝向不同的方位(包括朝向天空的方位)进行拍摄,进一步地,考虑到所述云台的转动范围有限的问题,可以由所述无人飞行器进行转动以带动所述拍摄装置朝更多不同的方位进行拍摄。比如所述无人机可以绕偏航轴旋转,从而带动所述云台旋转至不同的位置,使得所述拍摄装置可以朝更多不同的方位进行拍摄。The rotation range of the gimbal around the pitch axis is not less than 180°, so that during the rotation of the gimbal around the pitch axis, the photographing device can be directed to different orientations (including the orientation towards the sky). For shooting, further, considering the problem of the limited rotation range of the pan/tilt, the unmanned aerial vehicle may be rotated to drive the shooting device to shoot in more different directions. For example, the drone can rotate around the yaw axis, thereby driving the gimbal to rotate to different positions, so that the photographing device can photograph in more different directions.
在一实施例中,所述拍摄装置的数量可以是两个,其中一个拍摄装置可以安装于可移动平台的机身上方以使得所述拍摄装置能够朝向天空进行拍摄,另一个拍摄装置可以安装于可移动平台的机身下方或者机身侧面。这样,随着所述可移动平台的转动,比如所述可移动平台可以绕俯仰轴、偏航轴和/或横滚轴(和/或表示三者的任意组合) 转动,从而使得两个所述拍摄装置可以朝向不同的方位进行拍摄得到待拼接图像。本实施例中,由两个拍摄装置同时进行拍摄可以降低拍摄时长,提高拍摄效率和生成所述全景图像的效率。In one embodiment, the number of the photographing devices may be two, and one of the photographing devices may be installed above the body of the movable platform so that the photographing device can shoot toward the sky, and the other photographing device may be installed at the top of the movable platform. The movable platform is under the fuselage or on the side of the fuselage. In this way, as the movable platform is rotated, for example, the movable platform can be rotated about the pitch, yaw and/or roll axes (and/or any combination of the three) such that both all The photographing device can take pictures in different directions to obtain images to be spliced. In this embodiment, the simultaneous shooting by two shooting devices can reduce the shooting time and improve the shooting efficiency and the efficiency of generating the panoramic image.
进一步地,两个所述拍摄装置可以分别安装于两个云台上;其中一个云台安装于可移动平台的机身上方以使得所述拍摄装置能够朝向天空进行拍摄,另一个云台安装于所述可移动平台的下方或者机身侧面。这样随着两个所述云台和/或所述可移动平台的转动,两个所述拍摄装置可以朝向不同的方位进行拍摄得到待拼接图像,并且由于其中一个云台安装于可移动平台的机身上方,随着该云台的转动可以使安装于该云台上的拍摄装置朝向天空进行拍摄,本实施例中由两个拍摄装置同时进行拍摄可以降低拍摄时长,提高拍摄效率和生成所述全景图像的效率。Further, two of the photographing devices can be installed on two cradles respectively; one of the cradles is installed above the fuselage of the movable platform so that the photographing devices can shoot towards the sky, and the other cradle is installed on the movable platform. The lower part of the movable platform or the side of the fuselage. In this way, with the rotation of the two pan-tilts and/or the movable platform, the two shooting devices can take pictures in different directions to obtain images to be spliced, and since one of the pan-tilts is installed on the movable platform Above the fuselage, with the rotation of the gimbal, the shooting device installed on the gimbal can be made to face the sky to shoot. efficiency of the panoramic image.
本实施例中,在同一时刻可以只有其中一个云台运动、或者只有所述可移动平台运动、或者两个云台同时运动、或者所述云台和所述可移动平台可以同时运动,本实施例对此不做任何限制,可依据实际应用场景进行具体设置。In this embodiment, at the same time, only one of the PTZs may move, or only the movable platform may move, or both PTZs may move at the same time, or the PTZ and the movable platform may move at the same time. For example, there is no restriction on this, and specific settings can be made according to the actual application scenario.
这里以所述可移动平台为无人飞行器为例进行说明:相关技术中通常无人飞行器300的机身下方安装有云台301,所述云台301搭载有拍摄装置302,为了节约成本,请参阅图6,则本申请实施例可以在此基础上,在无人飞行器300的机身上方安装另一个可以搭载拍摄装置302的云台301,则在无人飞行器300的机身上方和机身下方各安装有一个可以搭载拍摄装置302的云台301,通过安装于无人机300的机身上方的云台301转动可以带动所述拍摄装置302朝向天空进行拍摄以及也可以朝向其他不同的方位进行拍摄,通过安装于无人机300的机身下方的云台301转动可以带动所述拍摄装置302朝向地面进行拍摄以及也可以朝向其他不同的方位进行拍摄,从而根据两个拍摄装置拍摄得到的待拼接图像来生成全景图像。本实施例中由两个拍摄装置同时进行拍摄可以降低拍摄时长,提高拍摄效率和生成所述全景图像的效率。Here, the movable platform is an unmanned aerial vehicle as an example for description: in the related art, a gimbal 301 is usually installed under the fuselage of the unmanned aerial vehicle 300, and the gimbal 301 is equipped with a photographing device 302. In order to save costs, please Referring to FIG. 6 , the embodiment of the present application may, on this basis, install another pan/tilt 301 capable of carrying the photographing device 302 above the fuselage of the unmanned aerial vehicle 300 . A pan/tilt 301 capable of carrying a photographing device 302 is installed below each, and the pan/tilt 301 installed above the fuselage of the drone 300 can be rotated to drive the photographing device 302 to shoot towards the sky and also to other different directions. For shooting, the rotation of the pan/tilt 301 installed under the fuselage of the drone 300 can drive the shooting device 302 to shoot towards the ground and also to shoot at other different directions, so as to obtain the image obtained by the two shooting devices. Images to be stitched to generate a panoramic image. In this embodiment, the simultaneous shooting by two shooting devices can reduce the shooting time and improve the shooting efficiency and the efficiency of generating the panoramic image.
在一实施例中,所述拍摄装置的数量可以是三个,第一个拍摄装置可以安装于可移动平台的机身上方以使得所述拍摄装置能够朝向天空进行拍摄,第二个拍摄装置可以安装于可移动平台的机身下方,第三个拍摄装置可以安装于所述可移动平台的机身侧面。这样,随着所述可移动平台的转动,比如所述可移动平台可以绕俯仰轴、偏航轴和/或横滚轴(和/或表示三者的任意组合)转动,三个所述拍摄装置可以朝向不同的方位进行拍摄得到待拼接图像。进一步地,由三个拍摄装置同时进行拍摄可以降低拍摄时长,提高拍摄效率和生成所述全景图像的效率。其中,三个所述拍摄装置可以通过3个云台安装于所述可移动平台上,也可以直接安装于所述可移动平台上,本实施 例对此不做任何限制。In an embodiment, the number of the photographing devices may be three, the first photographing device may be installed above the body of the movable platform so that the photographing device can be photographed towards the sky, and the second photographing device may be Installed under the fuselage of the movable platform, the third photographing device can be installed on the side of the fuselage of the movable platform. In this way, with the rotation of the movable platform, for example, the movable platform can rotate around the pitch axis, the yaw axis and/or the roll axis (and/or any combination of the three), three of the shooting The device can take pictures in different directions to obtain images to be spliced. Further, the simultaneous shooting by the three shooting devices can reduce the shooting time and improve the shooting efficiency and the efficiency of generating the panoramic image. Wherein, the three photographing devices can be installed on the movable platform through three PTZs, or can be directly installed on the movable platform, which is not limited in this embodiment.
其中,当所述拍摄装置的数量大于一个时,为了提高处理效率,所述全景图像生成方法可以应用于其中一个拍摄装置上,则其他拍摄装置可以将自身拍摄的待拼接图像传输给所述其中一个拍摄装置,以由所述其中一个拍摄装置进行集中处理。Wherein, when the number of the shooting devices is greater than one, in order to improve the processing efficiency, the panoramic image generation method can be applied to one of the shooting devices, and the other shooting devices can transmit the images to be stitched captured by themselves to the one of the shooting devices. a camera for centralized processing by said one of the cameras.
在一实施例中,拍摄装置的视场角的大小决定了所述拍摄装置的拍摄范围,则所述待拼接图像的数量和/或所述拍摄装置进行拍摄的方位可以根据所述拍摄装置的视场角所确定。所述拍摄装置的视场角越大,需要拍摄得到的所述待拼接图像的数量越少,相应地,所述拍摄装置可以朝向更少方位进行拍摄;所述拍摄装置的视场角越小,需要拍摄得到的所述待拼接图像的数量越多,相应地,所述拍摄装置需要朝向更多方位进行拍摄。In one embodiment, the size of the field of view of the photographing device determines the photographing range of the photographing device, and the number of the images to be stitched and/or the orientation of the photographing device can be determined according to the shooting range of the photographing device. determined by the field of view. The larger the field of view of the photographing device, the smaller the number of the images to be stitched that need to be photographed, and accordingly, the photographing device can be photographed in fewer directions; the smaller the field of view of the photographing device is , the greater the number of the to-be-spliced images that need to be photographed, the correspondingly, the photographing device needs to be photographed in more directions.
在一实施例中,所述多张待拼接图像包括所述拍摄装置朝向天空拍摄得到的待拼接图像;以及随着云台和/或可移动平台每转动指定角度,所述拍摄装置朝当前方位拍摄得到的待拼接图像。其中,所述云台和/或所述可移动平台可以绕俯仰轴、偏航轴和/或横滚轴(和/或表示三者的任意组合)转动,从而使得所述拍摄装置可以朝不同方位拍摄得到所述待拼接图像。In one embodiment, the plurality of images to be spliced include images to be spliced obtained by the photographing device facing the sky; and with each rotation of the pan/tilt and/or the movable platform by a specified angle, the photographing device moves toward the current orientation. The captured image to be stitched. Wherein, the pan/tilt and/or the movable platform can be rotated around the pitch axis, the yaw axis and/or the roll axis (and/or any combination of the three), so that the photographing device can be oriented in different directions The image to be spliced is obtained by azimuth shooting.
其中,考虑到拍摄装置的视场角的大小决定了所述拍摄装置的拍摄范围,则所述云台和/或可移动平台所转动的指定角度可以根据所述拍摄装置的视场角确定;进一步地,为了保证在后续拼接过程中对于待拼接图像的准确拼接,所述待拼接图像两两之间需具有一定的重叠部分,则可以设置所述指定角度小于所述视场角,使得拍摄的相邻两个待拼接图像之间具有重叠的部分,保证后续所述待拼接图像之间的准确拼接。Wherein, considering that the size of the field of view of the shooting device determines the shooting range of the shooting device, the specified angle rotated by the pan/tilt and/or the movable platform can be determined according to the field of view of the shooting device; Further, in order to ensure the accurate splicing of the images to be spliced in the subsequent splicing process, the images to be spliced need to have a certain overlap between them, and the specified angle can be set to be smaller than the field of view angle, so that the shooting There is an overlapping portion between two adjacent images to be spliced, which ensures accurate splicing between the subsequent images to be spliced.
其中,所述拍摄装置的数量为一个时,随着所述云台或所述可移动平台的转动,所述拍摄装置朝向不同的方位拍摄得到待拼接图像。在一个例子中,所述拍摄装置安装于云台上,所述云台安装于所述可移动平台的机身侧面,所述云台绕俯仰轴转动的范围不小于180°,则在获取所述多个待拼接图像时,这里以生成的全景图像为球型全景图像为例进行说明:所述云台自水平方向绕俯仰轴转动±90°以带动所述拍摄装置朝向天空或者朝向地面拍摄得到待拼接图像,这里获取2张待拼接图像;以及,所述云台或者所述可移动平台绕俯仰轴斜向上转动45°后所述云台或者所述可移动平台绕偏航轴每转动45°,所述拍摄装置在当前方位拍摄得到待拼接图像,这里获取8张待拼接图像;以及,所述云台或者所述可移动平台绕俯仰轴斜向下转动45°后所述云台或者所述可移动平台绕偏航轴每转动45°,所述拍摄装置在当前方位拍摄得到待拼接图像,这里获取8张待拼接图像;以及,在水平方向上所述云台或者所述可移动平台 绕偏航轴每转动45°,所述拍摄装置在当前方位拍摄得到待拼接图像,这里获取8张待拼接图像;则总共获取26张待拼接图像。可以理解的是,以上仅为举例说明,本申请并不限制所述云台或者所述可移动平台绕俯仰轴或者偏航轴转动的角度。Wherein, when the number of the photographing devices is one, along with the rotation of the pan/tilt or the movable platform, the photographing devices are directed toward different directions to obtain images to be stitched. In one example, the photographing device is installed on a pan-tilt, the pan-tilt is mounted on the side of the body of the movable platform, and the rotation range of the pan-tilt around the pitch axis is not less than 180°, then when the camera is acquired When the multiple images to be stitched are described, the generated panoramic image is a spherical panoramic image as an example for illustration: the pan/tilt rotates ±90° from the horizontal direction around the pitch axis to drive the shooting device to shoot towards the sky or towards the ground The images to be spliced are obtained, and 2 images to be spliced are obtained here; 45°, the photographing device captures the images to be spliced at the current orientation, and 8 images to be spliced are obtained here; Or every time the movable platform rotates 45° around the yaw axis, the photographing device captures the images to be spliced at the current orientation, and here 8 images to be spliced are obtained; Every time the mobile platform rotates around the yaw axis by 45°, the photographing device captures the images to be stitched at the current orientation, and here 8 images to be stitched are obtained; then a total of 26 images to be stitched are obtained. It can be understood that the above is only an example, and the present application does not limit the rotation angle of the pan/tilt or the movable platform around the pitch axis or the yaw axis.
所述拍摄装置的数量为多个时,随着所述云台或所述可移动平台的转动,多个拍摄装置朝向不同的方位拍摄得到待拼接图像,多个拍摄装置同时进行拍摄可以降低拍摄时长,提高拍摄效率和生成所述全景图像的效率。When the number of the photographing devices is multiple, with the rotation of the pan/tilt or the movable platform, the multiple photographing devices are directed towards different directions to photograph the images to be stitched, and the simultaneous photographing by the multiple photographing devices can reduce the shooting time. time, improve the shooting efficiency and the efficiency of generating the panoramic image.
在一个例子中,所述拍摄装置的数量可以是两个,两个所述拍摄装置可以分别安装于两个云台上;其中一个云台安装于可移动平台的机身上方以使得所述拍摄装置能够朝向天空进行拍摄,另一个云台安装于所述可移动平台的下方,则在获取所述多个待拼接图像时,这里以生成的全景图像为球型全景图像为例进行说明:为方便描述,这里将安装于可移动平台的机身上方的云台称之为上置云台,将安装于可移动平台的机身下方的云台称之为下置云台;所述上置云台自水平方向绕俯仰轴转动90°以带动所述拍摄装置朝向天空拍摄得到待拼接图像,这里获取1张待拼接图像;以及,所述上置云台或者所述可移动平台绕俯仰轴斜向上转动45°后所述上置云台或者所述可移动平台绕偏航轴每转动45°,所述拍摄装置在当前方位拍摄得到待拼接图像,这里获取8张待拼接图像;以及,所述下置云台或者所述可移动平台绕俯仰轴斜向下转动45°后所述下置云台或者所述可移动平台绕偏航轴每转动45°,所述拍摄装置在当前方位拍摄得到待拼接图像,这里获取8张待拼接图像;以及,在水平方向上所述下置云台、所述上置云台或者所述可移动平台绕偏航轴每转动45°,所述拍摄装置在当前方位拍摄得到待拼接图像,这里获取8张待拼接图像;以及,所述下置云台自水平方向绕俯仰轴转动90°以带动所述拍摄装置朝向地面拍摄得到待拼接图像,这里获取1张待拼接图像;则总共获取26张待拼接图像。可以理解的是,以上仅为举例说明,本申请并不限制所述上置云台、所述下置云台或者所述可移动平台绕俯仰轴或者偏航轴转动的角度。In one example, the number of the photographing devices may be two, and the two photographing devices may be respectively installed on two pans; one of the pans is installed above the body of the movable platform so that the shooting The device can shoot towards the sky, and another pan/tilt is installed below the movable platform, then when acquiring the plurality of images to be stitched, the generated panoramic image is a spherical panoramic image as an example to illustrate: For the convenience of description, here the gimbal installed above the fuselage of the movable platform is referred to as the upper gimbal, and the gimbal installed under the fuselage of the movable platform is referred to as the lower gimbal; The gimbal rotates 90° from the horizontal direction around the pitch axis to drive the photographing device towards the sky to capture the image to be spliced, here is one image to be spliced; After rotating 45° obliquely upward, the upper-mounted pan/tilt head or the movable platform rotates by 45° around the yaw axis, and the photographing device captures the images to be spliced in the current orientation, and 8 images to be spliced are obtained here; and, After the bottom-mounted pan/tilt or the movable platform is rotated 45° obliquely downward around the pitch axis, the bottom-mounted pan/tilt or the movable platform is rotated by 45° around the yaw axis, and the photographing device is in the current orientation. The images to be spliced are obtained by shooting, and 8 images to be spliced are obtained here; The photographing device captures the images to be spliced at the current orientation, and 8 images to be spliced are obtained here; and, the lower pan/tilt rotates 90° from the horizontal direction around the pitch axis to drive the photographing device toward the ground to photograph the images to be spliced, Here, 1 image to be stitched is obtained; then a total of 26 images to be stitched are obtained. It can be understood that the above is only an example, and the present application does not limit the rotation angle of the upper-mounted pan/tilt head, the bottom-mounted pan/tilt head or the movable platform about the pitch axis or the yaw axis.
在获取所述多张待拼接图像之后,所述拍摄装置根据拍摄所述待拼接图像时的所述方位将所述多张待拼接图像进行拼接处理生成全景图像。具体地,获取各个所述拍摄装置朝不同的方位拍摄所述待拼接图像时所述云台的姿态参数和/或所述可移动平台的姿态参数,然后根据所述云台的姿态参数和/或所述可移动平台的姿态参数将所述多张待拼接图像进行拼接处理。After acquiring the plurality of images to be stitched, the photographing device performs stitching processing on the plurality of images to be stitched according to the orientation of the images to be stitched to generate a panoramic image. Specifically, acquire the attitude parameters of the gimbal and/or the movable platform when each of the shooting devices shoots the images to be spliced in different directions, and then according to the attitude parameters of the gimbal and/or the attitude parameters of the movable platform Or the pose parameters of the movable platform perform splicing processing on the plurality of images to be spliced.
其中,当所述拍摄装置的数量大于一个时,所述全景图像生成方法应用于其中一个拍摄装置上;其他的拍摄装置还用于将自身拍摄得到的待拼接图像、以及拍摄所述 待拼接图像时所述云台的姿态参数和/或所述可移动平台的姿态参数传输给所述其中一个拍摄装置,由所述其中一个拍摄装置对所述待拼接图像进行拼接处理。Wherein, when the number of the shooting devices is greater than one, the panoramic image generation method is applied to one of the shooting devices; the other shooting devices are also used to capture the images to be spliced obtained by themselves and to capture the images to be spliced. At the same time, the attitude parameters of the pan-tilt head and/or the attitude parameters of the movable platform are transmitted to the one of the photographing devices, and the one of the photographing devices performs stitching processing on the images to be stitched.
在一个例子中,当所述拍摄装置的数量为两个时,两个所述拍摄装置可以分别安装于两个云台上;其中一个云台安装于可移动平台的机身上方以使得所述拍摄装置能够朝向天空进行拍摄,另一个云台安装于所述可移动平台的下方或者机身侧面;为方便描述,这里将安装于可移动平台的机身上方的云台称之为上置云台,将安装于可移动平台的机身下方的云台称之为下置云台,如果在拍摄所述待拼接图像的过程中,所述上置云台、所述下置云台以及所述可移动平台均进行了转动,针对于上置云台的拍摄装置拍摄的待拼接图像,需要获取所述拍摄装置拍摄朝不同的方位拍摄所述待拼接图像时所述上置云台的姿态参数和所述可移动平台的姿态参数;针对于下置云台的拍摄装置拍摄的待拼接图像,需要获取所述拍摄装置拍摄朝不同的方位拍摄所述待拼接图像时所述下置云台的姿态参数和所述可移动平台的姿态参数,从而保证生成的全景图像的准确性。In one example, when the number of the photographing devices is two, the two photographing devices may be respectively installed on two pans; one of the pans is installed above the body of the movable platform so that the The shooting device can shoot towards the sky, and another pan/tilt is installed under the movable platform or on the side of the fuselage; for the convenience of description, the pan/tilt mounted above the fuselage of the movable platform is referred to as the upper cloud. The PTZ installed under the fuselage of the movable platform is called the lower PTZ. If the upper PTZ, the lower PTZ and all the The movable platforms have all been rotated, and for the images to be spliced shot by the photographing device on the top of the pan/tilt head, it is necessary to obtain the posture of the top-mounted pan/tilt head when the photographing device shoots the images to be stitched in different directions. parameters and the attitude parameters of the movable platform; for the images to be spliced captured by the camera with the lower pan/tilt, it is necessary to obtain the lower pan/tilt when the camera shoots the images to be stitched in different directions. and the pose parameters of the movable platform, so as to ensure the accuracy of the generated panoramic image.
在一实施例中,在生成所述全景图像时,首先从多张待拼接图像中获取所述拍摄装置朝向天空拍摄得到的天空图像,并提取所述天空图像的边缘特征点,然后根据所述边缘特征点以及所述拍摄装置朝向天空拍摄时所述云台的姿态参数和/或所述可移动平台的姿态参数,将所述天空图像与其他待拼接图像进行拼接处理,生成所述全景图像。In one embodiment, when generating the panoramic image, first obtain a sky image obtained by the photographing device facing the sky from a plurality of images to be spliced, and extract the edge feature points of the sky image, and then according to the Edge feature points and the attitude parameters of the gimbal and/or the movable platform when the shooting device shoots toward the sky, splicing the sky image with other images to be spliced, and generating the panoramic image .
在获取所述天空图像时,考虑到所述拍摄装置朝向天空拍摄得到的待拼接图像不一定是天空图像,比如当无人飞行器在桥洞里时,所述无人飞行器上搭载的拍摄装置朝向天空方向拍摄得到的不是天空图像,因此,为了确定获取的天空图像的准确性,本实施例在获取所述天空图像时,首先对所述拍摄装置朝向天空拍摄得到的待拼接图像进行识别,获得识别结果,然后根据识别结果来确定所述天空图像。When acquiring the sky image, consider that the image to be stitched obtained by the camera facing the sky is not necessarily a sky image. For example, when the unmanned aerial vehicle is in a bridge hole, the camera mounted on the unmanned aerial vehicle faces the sky. Therefore, in order to determine the accuracy of the obtained sky image, in this embodiment, when obtaining the sky image, the image to be spliced obtained by the photographing device facing the sky is first identified, and the identification is obtained. As a result, the sky image is then determined based on the recognition result.
在一种实现方式中,可以将所述拍摄装置朝向天空拍摄得到的待拼接图像进行特征提取,获取图像特征信息,将所述图像特征信息与预设的天空特征信息进行匹配,比如确定所述图像特征信息与预设的天空特征信息的匹配度,所述天空特征信息包括但不限于云层特征信息、星空特征信息、白天天空特征信息或者黑夜天空特征信息等,如果匹配一致或者匹配度在预设范围内,则可以确定所述待拼接图像为天空图像,如果匹配不一致或者所述匹配度不在预设范围内,则可以确定所述拍摄装置朝向天空拍摄得到的待拼接图像不是天空图像。本实施例通过对所述拍摄装置朝向天空拍摄得到的待拼接图像的有效识别,确保获取到准确的天空图像。In an implementation manner, feature extraction may be performed on the to-be-spliced image captured by the photographing device facing the sky, image feature information may be obtained, and the image feature information may be matched with preset sky feature information, such as determining the The matching degree between the image feature information and the preset sky feature information, the sky feature information includes but is not limited to cloud layer feature information, starry sky feature information, daytime sky feature information or night sky feature information, etc. Within the preset range, it can be determined that the image to be spliced is a sky image, and if the matching is inconsistent or the matching degree is not within a preset range, it can be determined that the image to be spliced obtained by the photographing device facing the sky is not a sky image. This embodiment ensures that an accurate sky image is obtained by effectively identifying the images to be stitched obtained by the photographing device facing the sky.
相应地,请参阅图7,本申请实施例还提供了一种拍摄装置20,所述拍摄装置安装于云台和/或可移动平台上,所述拍摄装置包括拍摄单元21,存储器22和处理器23。Correspondingly, referring to FIG. 7 , an embodiment of the present application further provides a photographing device 20 . The photographing device is installed on a pan/tilt and/or a movable platform, and the photographing device includes a photographing unit 21 , a memory 22 and a processing unit 20 . device 23.
所述存储器22用于存储可执行指令;The memory 22 is used to store executable instructions;
所述拍摄单元21用于随着云台和/或可移动平台的运动朝不同的方位连续拍摄得到多张待拼接图像,所述方位包括朝向天空的方位。The photographing unit 21 is used for continuously photographing a plurality of images to be stitched in different directions along with the movement of the pan/tilt and/or the movable platform, and the directions include directions facing the sky.
所述处理器23执行所述可执行指令时,被配置为:获取所述多张待拼接图像;根据所述方位将所述多张待拼接图像进行拼接处理,生成全景图像。When the processor 23 executes the executable instructions, it is configured to: acquire the plurality of images to be stitched; perform stitching processing on the plurality of images to be stitched according to the orientation to generate a panoramic image.
所述处理器23执行所述存储器21中包括的可执行指令,所述处理器23可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 23 executes the executable instructions included in the memory 21, and the processor 23 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processors) Processor, DSP), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
所述存储器21存储所述全景图像生成方法的可执行指令,所述存储器21可以包括至少一种类型的存储介质,存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等等。而且,拍摄装置可以与通过网络连接执行存储器的存储功能的网络存储装置协作。存储器21可以是拍摄装置20的内部存储单元,例如拍摄装置20的硬盘或内存。存储器21也可以是拍摄装置20的外部存储设备,例如拍摄装置20上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器21还可以既包括拍摄装置20的内部存储单元也包括外部存储设备。存储器21用于存储可执行指令以及设备所需的其他程序和数据。存储器21还可以用于暂时地存储已经输出或者将要输出的数据。The memory 21 stores executable instructions of the panoramic image generation method, and the memory 21 may include at least one type of storage medium, including flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory). etc.), Random Access Memory (RAM), Static Random Access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), Magnetic Memory , disks, CDs, etc. Also, the photographing device may cooperate with a network storage device that performs the storage function of the memory through a network connection. The memory 21 may be an internal storage unit of the photographing apparatus 20 , such as a hard disk or a memory of the photographing apparatus 20 . The memory 21 can also be an external storage device of the photographing device 20, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash memory card (Flash card) equipped on the photographing device 20. Card), etc. Further, the memory 21 may also include both an internal storage unit of the photographing apparatus 20 and an external storage device. Memory 21 is used to store executable instructions and other programs and data required by the device. The memory 21 can also be used to temporarily store data that has been output or is to be output.
这里描述的各种实施方式可以使用例如计算机软件、硬件或其任何组合的计算机可读介质来实施。对于硬件实施,这里描述的实施方式可以通过使用特定用途集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理装置(DSPD)、可编程逻辑装置(PLD)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器、被设计为执行这里描述的功能的电子单元中的至少一种来实施。对于软件实施,诸如过程或功能的实施方式可以与允许执行至少一种功能或操作的单独的软件模块来实施。软件代码可以 由以任何适当的编程语言编写的软件应用程序(或程序)来实施,软件代码可以存储在存储器中并且由控制器执行。The various embodiments described herein can be implemented using computer readable media such as computer software, hardware, or any combination thereof. For hardware implementation, the embodiments described herein can be implemented using application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays ( FPGA), processors, controllers, microcontrollers, microprocessors, electronic units designed to perform the functions described herein are implemented. For software implementation, embodiments such as procedures or functions may be implemented with separate software modules that allow the performance of at least one function or operation. The software codes may be implemented by a software application (or program) written in any suitable programming language, which may be stored in memory and executed by a controller.
所述拍摄装置可包括,但不仅限于,拍摄单元21,处理,23、存储器22。本领域技术人员可以理解,图7仅仅是拍摄装置20的示例,并不构成对拍摄装置20的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如设备还可以包括输入输出设备、网络接入设备、总线等。The photographing device may include, but is not limited to, a photographing unit 21 , a processing unit 23 , and a memory 22 . Those skilled in the art can understand that FIG. 7 is only an example of the photographing device 20 , and does not constitute a limitation on the photographing device 20 , and may include more or less components than shown, or combine some components, or different components For example, the device may also include an input and output device, a network access device, a bus, and the like.
在一实施例中,所述拍摄装置的数量为两个,其中一个拍摄装置安装于可移动平台的机身上方以使得所述拍摄装置能够朝向天空进行拍摄。In one embodiment, the number of the photographing devices is two, and one of the photographing devices is installed above the body of the movable platform so that the photographing device can shoot toward the sky.
在一实施例中,另一个拍摄装置安装于可移动平台的机身下方或者机身侧面。In one embodiment, another photographing device is installed under the fuselage of the movable platform or on the side of the fuselage.
在一实施例中,两个所述拍摄装置分别通过两个云台安装于所述可移动平台上。In one embodiment, the two photographing devices are respectively mounted on the movable platform through two pans.
在一实施例中,所述拍摄装置的数量为一个,所述拍摄装置安装于云台上,所述云台安装于所述可移动平台的机身侧面,所述云台能够朝上方转动以使得所述拍摄装置能够随着所述云台的转动朝向天空进行拍摄。In one embodiment, the number of the photographing devices is one, the photographing device is installed on a pan-tilt, the pan-tilt is mounted on the side of the fuselage of the movable platform, and the pan-tilt can be rotated upward to So that the photographing device can photograph toward the sky along with the rotation of the gimbal.
在一实施例中,所述云台的转动范围不小于180°。In one embodiment, the rotation range of the pan/tilt head is not less than 180°.
在一实施例中,所述云台的转动范围包括所述云台绕俯仰轴转动的范围。In one embodiment, the rotation range of the PTZ includes the rotation range of the PTZ around the pitch axis.
在一实施例中,所述待拼接图像的数量和/或所述拍摄装置进行拍摄的方位根据所述拍摄装置的视场角所确定。In one embodiment, the number of the images to be stitched and/or the orientation of the photographing device to be photographed is determined according to the angle of view of the photographing device.
在一实施例中,所述处理器23还被配置为:获取所述拍摄装置朝向天空拍摄得到的待拼接图像;以及,随着云台和/或可移动平台每转动指定角度,获取所述拍摄装置朝当前方位拍摄得到的待拼接图像。In one embodiment, the processor 23 is further configured to: acquire the image to be stitched obtained by the photographing device facing the sky; The image to be stitched obtained by photographing the photographing device toward the current orientation.
在一实施例中,所述指定角度小于所述视场角。In one embodiment, the designated angle is smaller than the field angle.
在一实施例中,所述云台和/或可移动平台绕俯仰轴、偏航轴和/或横滚轴转动。In one embodiment, the pan/tilt and/or movable platform is rotated about a pitch axis, a yaw axis and/or a roll axis.
在一实施例中,所述处理器23还被配置为:获取各个所述拍摄装置朝不同的方位拍摄时所述云台的姿态参数和/或所述可移动平台的姿态参数;根据所述云台的姿态参数和/或所述可移动平台的姿态参数将所述多张待拼接图像进行拼接处理。In one embodiment, the processor 23 is further configured to: acquire the attitude parameters of the gimbal and/or the movable platform when each of the shooting devices shoots in different directions; The pose parameters of the gimbal and/or the pose parameters of the movable platform perform splicing processing on the plurality of images to be spliced.
在一实施例中,所述处理器23还被配置为:从多张待拼接图像中获取所述拍摄装置朝向天空拍摄得到的天空图像,并提取所述天空图像的边缘特征点;根据所述边缘特征点以及所述拍摄装置朝向天空拍摄时所述云台的姿态参数和/或所述可移动平台的姿态参数,将所述天空图像与其他待拼接图像进行拼接处理。In one embodiment, the processor 23 is further configured to: acquire a sky image obtained by the photographing device facing the sky from a plurality of images to be spliced, and extract edge feature points of the sky image; Edge feature points and the attitude parameters of the gimbal and/or the movable platform when the photographing device shoots toward the sky, the sky image and other images to be spliced are stitched together.
在一实施例中,所述处理器23还被配置为:对所述拍摄装置朝向天空拍摄得到的待拼接图像进行识别,获得识别结果;根据识别结果确定所述天空图像。In an embodiment, the processor 23 is further configured to: identify the images to be stitched obtained by the photographing device facing the sky to obtain a recognition result; and determine the sky image according to the recognition result.
在一实施例中,所述处理器23还被配置为:将所述拍摄装置朝向天空拍摄得到的待拼接图像进行特征提取,获取图像特征信息;将所述图像特征信息与预设的天空特征信息进行匹配。In one embodiment, the processor 23 is further configured to: perform feature extraction on the to-be-spliced image obtained by the photographing device facing the sky to obtain image feature information; compare the image feature information with the preset sky feature information to match.
在一实施例中,所述天空特征信息包括以下至少一种:云层特征信息、星空特征信息、白天天空特征信息或者黑夜天空特征信息。In an embodiment, the sky feature information includes at least one of the following: cloud layer feature information, starry sky feature information, daytime sky feature information, or night sky feature information.
在一实施例中,当用于拍摄所述待拼接图像的所述拍摄装置的数量大于一个时,所述处理器23还用于接收其他的拍摄装置拍摄得到的待拼接图像。In one embodiment, when the number of the photographing devices used for photographing the images to be stitched is more than one, the processor 23 is further configured to receive images to be stitched obtained by other photographing devices.
上述装置中各个单元的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。For details of the implementation process of the functions and functions of each unit in the above device, please refer to the implementation process of the corresponding steps in the above method, which will not be repeated here.
相应地,请参阅图8,本申请实施例还提供了一种飞行系统,包括:可移动平台30、安装于可移动平台30上的至少一个云台40以及安装于所述云台40上的至少一个拍摄装置20。Correspondingly, referring to FIG. 8 , an embodiment of the present application further provides a flight system, including: a movable platform 30 , at least one pan/tilt 40 mounted on the movable platform 30 , and a pan/tilt mounted on the pan/tilt 40 . At least one camera 20 .
所述拍摄装置20随着所述云台40和/或所述可移动平台30的运动朝不同的方位连续拍摄得到多张待拼接图像,所述方位包括朝向天空的方位;以及,根据所述方位将所述多张待拼接图像进行拼接处理,生成全景图像。The photographing device 20 continuously shoots a plurality of images to be spliced in different directions along with the movement of the pan/tilt 40 and/or the movable platform 30, and the directions include directions toward the sky; and, according to the The orientation performs stitching processing on the plurality of images to be stitched to generate a panoramic image.
上述系统中各个设备的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。For details of the implementation process of the functions and functions of each device in the above system, please refer to the implementation process of the corresponding steps in the above method, which will not be repeated here.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器,上述指令可由装置的处理器执行以完成上述方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium, such as a memory including instructions, executable by a processor of an apparatus to perform the above-described method. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
一种非临时性计算机可读存储介质,当存储介质中的指令由拍摄装置的处理器执行时,使得拍摄装置能够执行上述方法。A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the photographing apparatus, enable the photographing apparatus to perform the above method.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any relationship between these entities or operations. any such actual relationship or sequence exists. The terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion such that a process, method, article or device comprising a list of elements includes not only those elements, but also other not expressly listed elements, or also include elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
以上对本申请实施例所提供的方法和装置进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The methods and devices provided by the embodiments of the present application have been introduced in detail above, and specific examples are used to illustrate the principles and implementations of the present application. At the same time, for those of ordinary skill in the art, according to the idea of the application, there will be changes in the specific implementation and application scope. In summary, the content of this specification should not be construed as a limitation to the application. .

Claims (36)

  1. 一种全景图像生成方法,其特征在于,包括:A method for generating panoramic images, comprising:
    获取多张待拼接图像,所述多张待拼接图像由至少一个拍摄装置随着云台和/或可移动平台的运动朝不同的方位连续拍摄得到,所述方位包括朝向天空的方位;Acquiring multiple images to be spliced, the multiple images to be spliced are continuously photographed by at least one photographing device along with the movement of the pan/tilt and/or movable platform toward different orientations, and the orientations include orientations toward the sky;
    根据所述方位将所述多张待拼接图像进行拼接处理,生成全景图像。The plurality of images to be spliced are spliced according to the orientation to generate a panoramic image.
  2. 根据权利要求1所述的方法,其特征在于,所述拍摄装置的数量为两个,其中一个拍摄装置安装于可移动平台的机身上方以使得所述拍摄装置能够朝向天空进行拍摄。The method according to claim 1, wherein the number of the photographing devices is two, and one of the photographing devices is installed above the body of the movable platform so that the photographing device can shoot toward the sky.
  3. 根据权利要求2所述的方法,其特征在于,另一个拍摄装置安装于可移动平台的机身下方或者机身侧面。The method according to claim 2, wherein another photographing device is installed under the fuselage of the movable platform or on the side of the fuselage.
  4. 根据权利要求2所述的方法,其特征在于,两个所述拍摄装置分别通过两个云台安装于所述可移动平台上。The method according to claim 2, wherein the two photographing devices are respectively mounted on the movable platform through two pans.
  5. 根据权利要求1所述的方法,其特征在于,所述拍摄装置的数量为一个,所述拍摄装置安装于云台上,所述云台安装于所述可移动平台的机身侧面,所述云台能够朝上方转动以使得所述拍摄装置能够随着所述云台的转动朝向天空进行拍摄。The method according to claim 1, wherein the number of the photographing device is one, and the photographing device is mounted on a pan/tilt, and the pan/tilt is mounted on the side of the fuselage of the movable platform. The gimbal can be rotated upwards so that the photographing device can shoot towards the sky along with the rotation of the gimbal.
  6. 根据权利要求5所述的方法,其特征在于,所述云台的转动范围不小于180°。The method according to claim 5, wherein the rotation range of the head is not less than 180°.
  7. 根据权利要求6所述的方法,其特征在于,所述云台的转动范围包括所述云台绕俯仰轴转动的范围。The method according to claim 6, wherein the rotation range of the PTZ includes the rotation range of the PTZ around the pitch axis.
  8. 根据权利要求1所述的方法,其特征在于,所述待拼接图像的数量和/或所述拍摄装置进行拍摄的方位根据所述拍摄装置的视场角所确定。The method according to claim 1, wherein the number of the images to be stitched and/or the orientation of the photographing device to be photographed is determined according to the field of view of the photographing device.
  9. 根据权利要求1所述的方法,其特征在于,所述获取多张待拼接图像,包括:The method according to claim 1, wherein the acquiring a plurality of images to be spliced comprises:
    获取所述拍摄装置朝向天空拍摄得到的待拼接图像;以及,随着云台和/或可移动平台每转动指定角度,获取所述拍摄装置朝当前方位拍摄得到的待拼接图像。Acquiring the images to be stitched obtained by the photographing device facing the sky; and acquiring the images to be stitched obtained by photographing the photographing device facing the current orientation with each rotation of the pan/tilt and/or the movable platform by a specified angle.
  10. 根据权利要求9所述的方法,其特征在于,所述指定角度小于所述视场角。The method of claim 9, wherein the specified angle is smaller than the field of view.
  11. 根据权利要求9所述的方法,其特征在于,所述云台和/或可移动平台绕俯仰轴、偏航轴和/或横滚轴转动。The method according to claim 9, wherein the pan/tilt and/or the movable platform rotates around a pitch axis, a yaw axis and/or a roll axis.
  12. 根据权利要求1所述的方法,其特征在于,所述根据所述方位将所述多张待拼接图像进行拼接处理,包括:The method according to claim 1, wherein the performing stitching processing on the plurality of images to be stitched according to the orientation comprises:
    获取各个所述拍摄装置朝不同的方位拍摄时所述云台的姿态参数和/或所述可移动平台的姿态参数;Obtaining the attitude parameters of the gimbal and/or the movable platform when each of the shooting devices shoots in different directions;
    根据所述云台的姿态参数和/或所述可移动平台的姿态参数将所述多张待拼接图 像进行拼接处理。The plurality of images to be spliced are spliced according to the attitude parameters of the PTZ and/or the movable platform.
  13. 根据权利要求12所述的方法,其特征在于,所述根据所述云台的姿态参数和/或所述可移动平台的姿态参数将所述多张待拼接图像进行拼接处理,包括:The method according to claim 12, wherein the splicing processing of the plurality of images to be spliced according to the attitude parameters of the gimbal and/or the attitude parameters of the movable platform, comprising:
    从多张待拼接图像中获取所述拍摄装置朝向天空拍摄得到的天空图像,并提取所述天空图像的边缘特征点;Obtaining a sky image obtained by the photographing device facing the sky from a plurality of images to be spliced, and extracting edge feature points of the sky image;
    根据所述边缘特征点以及所述拍摄装置朝向天空拍摄时所述云台的姿态参数和/或所述可移动平台的姿态参数,将所述天空图像与其他待拼接图像进行拼接处理。The sky image and other images to be spliced are spliced according to the edge feature points and the attitude parameters of the gimbal and/or the movable platform when the photographing device shoots toward the sky.
  14. 根据权利要求13所述的方法,其特征在于,所述从多张待拼接图像中获取所述拍摄装置朝向天空拍摄得到的天空图像,还包括:The method according to claim 13, wherein the acquiring, from a plurality of images to be stitched, the sky image obtained by the photographing device facing the sky, further comprising:
    对所述拍摄装置朝向天空拍摄得到的待拼接图像进行识别,获得识别结果;Identifying the images to be stitched obtained by the shooting device facing the sky to obtain the identification result;
    根据识别结果确定所述天空图像。The sky image is determined according to the recognition result.
  15. 根据权利要求14所述的方法,其特征在于,所述对所述拍摄装置朝向天空的方位拍摄得到的待拼接图像进行识别,包括:The method according to claim 14, wherein the identifying the images to be stitched obtained from the orientation of the photographing device facing the sky comprises:
    将所述拍摄装置朝向天空拍摄得到的待拼接图像进行特征提取,获取图像特征信息;Perform feature extraction on the images to be spliced obtained by the shooting device facing the sky to obtain image feature information;
    将所述图像特征信息与预设的天空特征信息进行匹配。Matching the image feature information with preset sky feature information.
  16. 根据权利要求15所述的方法,其特征在于,所述天空特征信息包括以下至少一种:云层特征信息、星空特征信息、白天天空特征信息或者黑夜天空特征信息。The method according to claim 15, wherein the sky feature information includes at least one of the following: cloud layer feature information, starry sky feature information, daytime sky feature information, or night sky feature information.
  17. 根据权利要求1所述的方法,其特征在于,当所述拍摄装置的数量大于一个时,所述全景图像生成方法应用于其中一个拍摄装置上;The method according to claim 1, wherein when the number of the photographing devices is greater than one, the panoramic image generation method is applied to one of the photographing devices;
    其他的拍摄装置还用于将自身拍摄得到的待拼接图像传输给所述其中一个拍摄装置。The other photographing devices are also used for transmitting the images to be spliced obtained by themselves to the one of the photographing devices.
  18. 一种拍摄装置,其特征在于,所述拍摄装置安装于云台和/或可移动平台上,所述拍摄装置包括拍摄单元,存储器和处理器;A photographing device, characterized in that the photographing device is installed on a pan-tilt and/or a movable platform, and the photographing device comprises a photographing unit, a memory and a processor;
    所述存储器用于存储可执行指令;the memory for storing executable instructions;
    所述拍摄单元用于随着云台和/或可移动平台的运动朝不同的方位连续拍摄得到多张待拼接图像,所述方位包括朝向天空的方位;The photographing unit is used for continuously photographing a plurality of images to be spliced in different directions along with the movement of the head and/or the movable platform, and the directions include directions toward the sky;
    所述处理器执行所述可执行指令时,被配置为:获取所述多张待拼接图像;根据所述方位将所述多张待拼接图像进行拼接处理,生成全景图像。When the processor executes the executable instruction, it is configured to: acquire the plurality of images to be stitched; and perform stitching processing on the plurality of images to be stitched according to the orientation to generate a panoramic image.
  19. 根据权利要求18所述的装置,其特征在于,所述拍摄装置的数量为两个,其 中一个拍摄装置安装于可移动平台的机身上方以使得所述拍摄装置能够朝向天空进行拍摄。The device according to claim 18, wherein the number of the photographing devices is two, and one of the photographing devices is installed above the body of the movable platform so that the photographing device can shoot toward the sky.
  20. 根据权利要求19所述的装置,其特征在于,另一个拍摄装置安装于可移动平台的机身下方或者机身侧面。The device according to claim 19, wherein another photographing device is installed under the fuselage of the movable platform or on the side of the fuselage.
  21. 根据权利要求19所述的装置,其特征在于,两个所述拍摄装置分别通过两个云台安装于所述可移动平台上。The device according to claim 19, wherein the two photographing devices are respectively mounted on the movable platform through two pans.
  22. 根据权利要求18所述的装置,其特征在于,所述拍摄装置的数量为一个,所述拍摄装置安装于云台上,所述云台安装于所述可移动平台的机身侧面,所述云台能够朝上方转动以使得所述拍摄装置能够随着所述云台的转动朝向天空进行拍摄。The device according to claim 18, wherein the number of the photographing device is one, the photographing device is mounted on a pan-tilt, and the pan-tilt is mounted on the side of the fuselage of the movable platform, the The gimbal can be rotated upwards so that the photographing device can shoot towards the sky along with the rotation of the gimbal.
  23. 根据权利要求22所述的装置,其特征在于,所述云台的转动范围不小于180°。The device according to claim 22, wherein the rotation range of the head is not less than 180°.
  24. 根据权利要求23所述的装置,其特征在于,所述云台的转动范围包括所述云台绕俯仰轴转动的范围。The device according to claim 23, wherein the rotation range of the PTZ includes the rotation range of the PTZ around the pitch axis.
  25. 根据权利要求18所述的装置,其特征在于,所述待拼接图像的数量和/或所述拍摄装置进行拍摄的方位根据所述拍摄装置的视场角所确定。The device according to claim 18, wherein the number of the images to be stitched and/or the orientation of the photographing device to be photographed is determined according to the field of view of the photographing device.
  26. 根据权利要求18所述的装置,其特征在于,所述处理器还被配置为:获取所述拍摄装置朝向天空拍摄得到的待拼接图像;以及,随着云台和/或可移动平台每转动指定角度,获取所述拍摄装置朝当前方位拍摄得到的待拼接图像。The device according to claim 18, wherein the processor is further configured to: acquire an image to be stitched obtained by the photographing device facing the sky; The specified angle is obtained, and the image to be stitched obtained by the photographing device at the current orientation is obtained.
  27. 根据权利要求26所述的装置,其特征在于,所述指定角度小于所述视场角。27. The apparatus of claim 26, wherein the designated angle is smaller than the field of view.
  28. 根据权利要求26所述的装置,其特征在于,所述云台和/或可移动平台绕俯仰轴、偏航轴和/或横滚轴转动。The apparatus according to claim 26, wherein the pan/tilt and/or the movable platform rotates around a pitch axis, a yaw axis and/or a roll axis.
  29. 根据权利要求18所述的装置,其特征在于,所述处理器还被配置为:获取各个所述拍摄装置朝不同的方位拍摄时所述云台的姿态参数和/或所述可移动平台的姿态参数;根据所述云台的姿态参数和/或所述可移动平台的姿态参数将所述多张待拼接图像进行拼接处理。The device according to claim 18, wherein the processor is further configured to: acquire attitude parameters of the pan-tilt and/or the movable platform when each of the shooting devices shoots in different directions Attitude parameters; according to the attitude parameters of the pan/tilt head and/or the attitude parameters of the movable platform, the plurality of images to be spliced are spliced.
  30. 根据权利要求29所述的装置,其特征在于,所述处理器还被配置为:从多张待拼接图像中获取所述拍摄装置朝向天空拍摄得到的天空图像,并提取所述天空图像的边缘特征点;根据所述边缘特征点以及所述拍摄装置朝向天空拍摄时所述云台的姿态参数和/或所述可移动平台的姿态参数,将所述天空图像与其他待拼接图像进行拼接处理。The device according to claim 29, wherein the processor is further configured to: acquire a sky image obtained by the photographing device facing the sky from a plurality of images to be spliced, and extract the edge of the sky image feature points; according to the edge feature points and the attitude parameters of the head and/or the movable platform when the shooting device shoots toward the sky, the sky image and other images to be spliced are stitched together .
  31. 根据权利要求30所述的装置,其特征在于,所述处理器还被配置为:对所述拍摄装置朝向天空拍摄得到的待拼接图像进行识别,获得识别结果;根据识别结果确 定所述天空图像。The device according to claim 30, wherein the processor is further configured to: identify the images to be stitched obtained by the photographing device facing the sky to obtain a recognition result; determine the sky image according to the recognition result .
  32. 根据权利要求31所述的装置,其特征在于,所述处理器还被配置为:将所述拍摄装置朝向天空拍摄得到的待拼接图像进行特征提取,获取图像特征信息;将所述图像特征信息与预设的天空特征信息进行匹配。The device according to claim 31, wherein the processor is further configured to: perform feature extraction on the images to be stitched obtained by the photographing device facing the sky to obtain image feature information; Match with preset sky feature information.
  33. 根据权利要求32所述的装置,其特征在于,所述天空特征信息包括以下至少一种:云层特征信息、星空特征信息、白天天空特征信息或者黑夜天空特征信息。The device according to claim 32, wherein the sky feature information includes at least one of the following: cloud layer feature information, starry sky feature information, daytime sky feature information, or night sky feature information.
  34. 根据权利要求18所述的装置,其特征在于,当用于拍摄所述待拼接图像的所述拍摄装置的数量大于一个时,所述处理器还用于接收其他的拍摄装置拍摄得到的待拼接图像。The device according to claim 18, wherein when the number of the shooting devices for shooting the images to be spliced is greater than one, the processor is further configured to receive the images to be spliced obtained from other shooting devices. image.
  35. 一种飞行系统,其特征在于,包括:可移动平台、安装于可移动平台上的至少一个云台以及安装于所述云台上的至少一个拍摄装置;A flight system, characterized in that it comprises: a movable platform, at least one pan-tilt mounted on the movable platform, and at least one photographing device mounted on the pan-tilt;
    所述拍摄装置随着所述云台和/或所述可移动平台的运动朝不同的方位连续拍摄得到多张待拼接图像,所述方位包括朝向天空的方位;以及,根据所述方位将所述多张待拼接图像进行拼接处理,生成全景图像。The shooting device continuously shoots a plurality of images to be spliced in different directions along with the movement of the pan/tilt and/or the movable platform, and the directions include a direction toward the sky; The plurality of images to be spliced are spliced to generate a panoramic image.
  36. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如权利要求1-17中任一项所述的方法。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 implements the method described in any one of claims 1-17. method described.
PCT/CN2020/107101 2020-08-05 2020-08-05 Panoramic image generation method, photography apparatus, flight system, and storage medium WO2022027313A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/107101 WO2022027313A1 (en) 2020-08-05 2020-08-05 Panoramic image generation method, photography apparatus, flight system, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/107101 WO2022027313A1 (en) 2020-08-05 2020-08-05 Panoramic image generation method, photography apparatus, flight system, and storage medium

Publications (1)

Publication Number Publication Date
WO2022027313A1 true WO2022027313A1 (en) 2022-02-10

Family

ID=80119384

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/107101 WO2022027313A1 (en) 2020-08-05 2020-08-05 Panoramic image generation method, photography apparatus, flight system, and storage medium

Country Status (1)

Country Link
WO (1) WO2022027313A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115393196A (en) * 2022-10-25 2022-11-25 之江实验室 Infrared multi-sequence image seamless splicing method for unmanned aerial vehicle area array swinging

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205661673U (en) * 2016-06-14 2016-10-26 上海汇联皆景信息科技有限公司 360 degrees carry mechanisms that take photo by plane of unmanned aerial vehicle
CN107108043A (en) * 2016-01-29 2017-08-29 深圳市大疆创新科技有限公司 Unmanned vehicle and unmanned vehicle are taken photo by plane method
US20180186472A1 (en) * 2016-12-30 2018-07-05 Airmada Technology Inc. Method and apparatus for an unmanned aerial vehicle with a 360-degree camera system
CN108702444A (en) * 2017-08-31 2018-10-23 深圳市大疆创新科技有限公司 A kind of image processing method, unmanned plane and system
CN108900773A (en) * 2018-07-27 2018-11-27 武汉禾木林科技有限公司 A method of shooting very-high solution is taken photo by plane panorama sketch
US20190094889A1 (en) * 2017-09-27 2019-03-28 Intel IP Corporation Unmanned aerial vehicle alignment system
CN111163252A (en) * 2020-01-07 2020-05-15 影石创新科技股份有限公司 Panoramic shooting device, panoramic shooting system, shooting method and aircraft

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107108043A (en) * 2016-01-29 2017-08-29 深圳市大疆创新科技有限公司 Unmanned vehicle and unmanned vehicle are taken photo by plane method
CN205661673U (en) * 2016-06-14 2016-10-26 上海汇联皆景信息科技有限公司 360 degrees carry mechanisms that take photo by plane of unmanned aerial vehicle
US20180186472A1 (en) * 2016-12-30 2018-07-05 Airmada Technology Inc. Method and apparatus for an unmanned aerial vehicle with a 360-degree camera system
CN108702444A (en) * 2017-08-31 2018-10-23 深圳市大疆创新科技有限公司 A kind of image processing method, unmanned plane and system
US20190094889A1 (en) * 2017-09-27 2019-03-28 Intel IP Corporation Unmanned aerial vehicle alignment system
CN108900773A (en) * 2018-07-27 2018-11-27 武汉禾木林科技有限公司 A method of shooting very-high solution is taken photo by plane panorama sketch
CN111163252A (en) * 2020-01-07 2020-05-15 影石创新科技股份有限公司 Panoramic shooting device, panoramic shooting system, shooting method and aircraft

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115393196A (en) * 2022-10-25 2022-11-25 之江实验室 Infrared multi-sequence image seamless splicing method for unmanned aerial vehicle area array swinging
CN115393196B (en) * 2022-10-25 2023-03-24 之江实验室 Infrared multi-sequence image seamless splicing method for unmanned aerial vehicle area array swinging

Similar Documents

Publication Publication Date Title
WO2020014909A1 (en) Photographing method and device and unmanned aerial vehicle
CN108702444B (en) Image processing method, unmanned aerial vehicle and system
CN205263655U (en) A system, Unmanned vehicles and ground satellite station for automatic generation panoramic photograph
US11611811B2 (en) Video processing method and device, unmanned aerial vehicle and system
CN109976370B (en) Control method and device for vertical face surrounding flight, terminal and storage medium
CN107660337A (en) For producing the system and method for assembled view from fish eye camera
CN105045279A (en) System and method for automatically generating panorama photographs through aerial photography of unmanned aerial aircraft
WO2019183845A1 (en) Pan-tilt device control method, apparatus and system, computer storage medium and unmanned aerial vehicle
WO2021035731A1 (en) Control method and apparatus for unmanned aerial vehicle, and computer readable storage medium
WO2019104641A1 (en) Unmanned aerial vehicle, control method therefor and recording medium
CN109387186A (en) Mapping information acquisition methods, device, electronic equipment and storage medium
WO2021098453A1 (en) Target tracking method and unmanned aerial vehicle
WO2019128275A1 (en) Photographing control method and device, and aircraft
CN108513642B (en) Image processing method, unmanned aerial vehicle, ground console and image processing system thereof
WO2019227333A1 (en) Group photograph photographing method and apparatus
WO2023041013A1 (en) Video capturing method and apparatus using unmanned aerial vehicle, and unmanned aerial vehicle and storage medium
WO2020019106A1 (en) Gimbal and unmanned aerial vehicle control method, gimbal, and unmanned aerial vehicle
WO2020014953A1 (en) Image processing method and device
WO2022027313A1 (en) Panoramic image generation method, photography apparatus, flight system, and storage medium
WO2017181930A1 (en) Method and device for displaying flight direction, and unmanned aerial vehicle
WO2020237422A1 (en) Aerial surveying method, aircraft and storage medium
CN111862240B (en) Panoramic camera and calibration method thereof, panoramic image splicing method and storage medium
US11100617B2 (en) Deep learning method and apparatus for automatic upright rectification of virtual reality content
WO2019052197A1 (en) Aircraft parameter setting method and apparatus
CN111698412B (en) Dual-spectrum panoramic image acquisition method and device, unmanned aerial vehicle and client

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20947912

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20947912

Country of ref document: EP

Kind code of ref document: A1