WO2022140970A1 - Panoramic image generation method and apparatus, movable platform and storage medium - Google Patents

Panoramic image generation method and apparatus, movable platform and storage medium Download PDF

Info

Publication number
WO2022140970A1
WO2022140970A1 PCT/CN2020/140351 CN2020140351W WO2022140970A1 WO 2022140970 A1 WO2022140970 A1 WO 2022140970A1 CN 2020140351 W CN2020140351 W CN 2020140351W WO 2022140970 A1 WO2022140970 A1 WO 2022140970A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
images
auxiliary camera
camera device
processor
Prior art date
Application number
PCT/CN2020/140351
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/140351 priority Critical patent/WO2022140970A1/en
Publication of WO2022140970A1 publication Critical patent/WO2022140970A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration by the use of more than one image, e.g. averaging, subtraction
    • 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

Definitions

  • the present application relates to the technical field of movable platforms, and in particular, to a method, device, movable platform and storage medium for generating panoramic images.
  • the maximum limit of the pitch axis of the gimbal is generally not more than 30 degrees.
  • the present application provides a panorama image generating method, device, movable platform and storage medium, so as to improve the quality of panorama images captured and generated based on the movable platform.
  • the present application provides a method for generating a panoramic image, the method comprising:
  • the field of view of the auxiliary camera device includes the movable platform.
  • the present application further provides a panoramic image generating device, the panoramic image generating device comprising a memory and a processor;
  • the memory is used to store computer programs
  • the processor is configured to execute the computer program and implement the following steps when executing the computer program:
  • the field of view of the auxiliary camera device includes the movable platform.
  • the present application further provides a movable platform, where the movable platform includes the above-mentioned panoramic image generating apparatus.
  • the present application further provides 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 can realize the above-mentioned panoramic image generation method.
  • the panorama image generating method, device, movable platform and storage medium disclosed in the present application by acquiring at least one first image captured by the main camera device mounted on the movable platform within the field of view of the main camera device, and acquiring a possible first image.
  • There is an overlapping range between the field range and the field of view range of the auxiliary camera device and image fusion processing is performed on the acquired at least one first image and at least one second image to generate a corresponding panoramic image.
  • the panoramic image obtained by the operation is more natural and real, and the quality of the panoramic image is improved.
  • FIG. 1 is a schematic block diagram of a movable platform provided by an embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of an unmanned aerial vehicle provided by an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of steps of a method for generating a panoramic image provided by an embodiment of the present application
  • FIG. 4 is a schematic diagram of an auxiliary camera device selection interface provided by an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of steps of another panoramic image generation method provided by an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of steps of another panoramic image generation method provided by an embodiment of the present application.
  • FIG. 7 is a schematic block diagram of a panoramic image generating apparatus provided by an embodiment of the present application.
  • the embodiments of the present application provide a panorama image generating method, device, movable platform and storage medium, which are used to improve the quality of panorama images captured and generated based on the movable platform.
  • the movable platform includes but is not limited to unmanned aerial vehicles, such as rotary-wing aircraft, including single-rotor aircraft, dual-rotor aircraft, tri-rotor aircraft, quad-rotor aircraft, hexa-rotor aircraft, octa-rotor aircraft, ten-rotor aircraft, twelve-rotor aircraft Rotorcraft, etc.
  • unmanned aerial vehicles such as rotary-wing aircraft, including single-rotor aircraft, dual-rotor aircraft, tri-rotor aircraft, quad-rotor aircraft, hexa-rotor aircraft, octa-rotor aircraft, ten-rotor aircraft, twelve-rotor aircraft Rotorcraft, etc.
  • the movable platform may also be other types of unmanned aerial vehicles or movable devices, such as fixed-wing unmanned aerial vehicles, and the embodiment of the present application is not limited thereto.
  • the movable platform 1000 may include a body 100 , a power system 200 provided in the body 100 , a panoramic image generating device 300 , a main camera device 400 and at least one auxiliary camera device 500 .
  • the power system 200 is used to provide power for the movable platform 1000;
  • the main camera device 400 and at least one auxiliary camera device 500 include but are not limited to cameras, which are used to capture images in different fields of view;
  • the panoramic image generation device 300 is used for Panoramic images are generated from images captured by the main camera 400 and the at least one auxiliary camera 500 in different fields of view.
  • At least one auxiliary camera device 500 includes two or more up-view cameras, the up-view cameras are usually used for obstacle avoidance, and the images captured by the up-view cameras are generally of low resolution and poor signal-to-noise ratio. , the dynamic range is small.
  • the power system 200 may include one or more electronic governors (referred to as ESCs for short), one or more propellers, and one or more motors corresponding to the one or more propellers, wherein the motors are connected to the electronic between the governor and the propeller.
  • the electronic governor is used to provide driving current to the motor to control the speed of the motor.
  • the motor is used to drive the propeller to rotate, thereby providing power for the flight of the movable platform 1000, which enables the movable platform 1000 to achieve one or more degrees of freedom movement.
  • the movable platform 1000 can rotate about one or more axes of rotation.
  • the motor may be a DC motor or an AC motor.
  • the motor may be a brushless motor or a brushed motor.
  • the unmanned aerial vehicle includes a plurality of propellers, an anti-shake gimbal, a camera and at least one upward-looking camera (not shown).
  • operations such as UAV attitude adjustment and UAV hovering can be realized by controlling the rotation of the propeller.
  • the first image can be captured by a camera, and the second image can be captured by at least one upward-looking camera.
  • the panoramic image generation method provided by the embodiments of the present application will be described in detail below based on the movable platform 1000 . It should be noted that the movable platform 1000 in FIG. 1 is only used to explain the panoramic image generation method provided by the embodiment of the present application, but does not constitute a limitation on the application scenario of the panoramic image generation method provided by the embodiment of the present application.
  • FIG. 3 is a schematic flowchart of a method for generating a panoramic image provided by an embodiment of the present application.
  • the method can be used in any movable platform provided by the above embodiments, so as to improve the quality of the panoramic image captured and generated based on the movable platform.
  • the panoramic image generation method specifically includes steps S101 to S103 .
  • S102 Acquire at least one second image captured by at least one auxiliary camera device mounted on the movable platform within the field of view of the auxiliary camera device, where the field of view of the auxiliary camera device includes the movable platform In the upper area of the platform, there is an overlapping range between the field of view of the main camera device and the field of view of the auxiliary camera device.
  • the movable platform is loaded with a main camera device and one or more auxiliary camera devices.
  • the field of view of the main camera device includes the front, rear, left, and right regions of the movable platform and the movable platform.
  • the field of view of the auxiliary camera device includes the upper region of the movable platform, wherein the field of view of the main camera device and the field of view of the auxiliary camera device have overlapping and non-overlapping ranges.
  • One or more images are taken within the field of view of the main camera by using the main camera, and one or more images are taken within the field of view of the corresponding auxiliary camera by using one or more auxiliary cameras.
  • the image captured by the main camera device is hereinafter referred to as the first image
  • the image captured by the auxiliary camera device is referred to as the second image.
  • the panoramic image generation method may further include: when the main camera device is in the main camera device When capturing the first image of each column within the field of view of the camera device, the at least one auxiliary camera device captures the second image within the field of view of the auxiliary camera device.
  • the main camera captures the first image of each column within the field of view of the main camera
  • the One or more auxiliary camera devices capture second images within the field of view of the auxiliary camera devices, so as to obtain a plurality of first images and a plurality of second images.
  • the panoramic image generated by using the multiple first images and the multiple second images improves the image quality of the panoramic image compared to the panoramic image generated only by using the single first image and the single second image.
  • the panoramic image generation method may further include: According to the FOV (Field of view, field of view) information corresponding to the plurality of auxiliary camera devices loaded on the movable platform and the FOV information corresponding to the main camera device, the selected auxiliary camera device is selected from the plurality of auxiliary camera devices. at least one auxiliary camera device.
  • FOV Field of view, field of view
  • one or more auxiliary camera devices are selected from the plurality of auxiliary camera devices to capture the second image according to the FOV information corresponding to the main camera device and the FOV information corresponding to each auxiliary camera device.
  • there are overlapping ranges and non-overlapping ranges between the field of view range of the selected one or more auxiliary camera devices and the field of view range of the main camera device so that there may be an overlapping portion between the second image captured and the first image, according to The second image and the first image may generate a panoramic image.
  • the number of the second image is not so many, thereby reducing the workload of subsequent processing of the second image.
  • the at least one auxiliary camera is selected from the plurality of auxiliary camera devices according to the FOV information corresponding to the plurality of auxiliary camera devices loaded on the movable platform and the FOV information corresponding to the main camera device
  • the apparatus may include selecting a single auxiliary camera device from the plurality of auxiliary camera devices if the FOV of the auxiliary camera device is greater than or equal to a preset FOV threshold.
  • the captured second image When the FOV of a certain auxiliary camera device is greater than or equal to the preset FOV threshold, that is, when the FOV of the auxiliary camera device is larger, the captured second image also covers a larger area. A single of the secondary cameras is selected for the second image capture.
  • the movable platform can be rotated to cover -180 to 180 degrees in the longitude direction.
  • the auxiliary camera device and the main camera device can completely cover the latitude direction of -90 to 90 degrees. It can cover the area corresponding to the entire 360*180 spherical panorama.
  • acquiring at least one second image captured by at least one auxiliary camera device mounted on the movable platform within the field of view of the auxiliary camera device may include: if the FOV of the auxiliary camera device greater than or equal to the preset FOV threshold, obtain a single second image captured by a single auxiliary camera; if the FOV of the auxiliary camera is less than the preset FOV threshold, obtain a single auxiliary camera The plurality of second images captured at different orientations are rotated, or the plurality of second images captured by one or more of the auxiliary camera devices are acquired.
  • a single second image is captured by the auxiliary camera device.
  • the main camera device captures the first image of the first column within the field of view of the main camera device
  • a second image is captured by the auxiliary camera device.
  • the FOV of a single auxiliary camera device is less than the preset FOV threshold, that is, when the FOV of a single auxiliary camera device is small, for example, only a local area within a preset angle above the movable platform can be captured by a single auxiliary camera device at a time, Then, a plurality of second images are captured at different orientations by rotating the single auxiliary camera device, or a plurality of second images are captured by using a plurality of auxiliary camera devices.
  • an area within a preset angle above the movable platform can be covered.
  • each second image is captured by a single auxiliary camera device, thereby obtaining two second images.
  • each of the plurality of auxiliary camera devices can also capture a second image, so as to obtain a plurality of first images. For two images, for example, if one second image is captured in each of the first column and the fifth column by two auxiliary camera devices, four second images are obtained.
  • the panoramic image generating method may further include: displaying an auxiliary camera device selection interface for a user to select from a plurality of auxiliary camera devices mounted on the movable platform displayed on the auxiliary camera device selection interface , select a target auxiliary camera device; and determine the target auxiliary camera device selected by the user as the at least one auxiliary camera device.
  • a preset auxiliary camera device selection interface is displayed, wherein the auxiliary camera device selection interface displays a plurality of auxiliary camera devices loaded on the movable platform.
  • the user can select one or more target auxiliary camera devices from the plurality of auxiliary camera devices mounted on the movable platform displayed on the auxiliary camera device selection interface. Based on the user's selection operation, one or more target auxiliary camera apparatuses selected by the user are determined as at least one auxiliary camera apparatus for capturing the second image. For example, as shown in FIG.
  • the auxiliary camera device 1, the auxiliary camera device 2, the auxiliary camera device 3, and the auxiliary camera device i loaded on the movable platform are displayed on the auxiliary camera device selection interface.
  • the auxiliary camera 1 and the auxiliary camera 2 are selected, the auxiliary camera 1 and the auxiliary camera 2 are determined as the auxiliary camera for capturing the second image. Determining the at least one auxiliary camera device through a user operation further improves the user's interactive experience.
  • the panoramic image generating method may further include: selecting the at least one auxiliary camera device from a plurality of auxiliary camera devices loaded on the movable platform according to the current shooting mode.
  • Shooting based on a movable platform includes a variety of shooting modes, including but not limited to vertical panorama mode, spherical panorama mode, and the like.
  • different auxiliary camera devices are used for shooting the second image.
  • one or more auxiliary camera devices are selected from the plurality of auxiliary camera devices mounted on the movable platform for shooting the second image.
  • the selecting the at least one auxiliary camera device from the plurality of auxiliary camera devices loaded on the movable platform according to the current shooting mode may include: if the current shooting mode is the vertical panorama mode, from the A single auxiliary camera device is selected from the plurality of auxiliary camera devices; if the current shooting mode is a spherical panorama mode, more than one auxiliary camera device is selected from the plurality of auxiliary camera devices.
  • the current shooting mode is the vertical panorama mode
  • multiple auxiliary camera devices loaded on the movable platform are required. to select a single secondary camera for capturing the second image.
  • the current shooting mode is spherical panorama mode
  • multiple auxiliary camera devices mounted on the movable platform One or more auxiliary camera devices are selected for capturing the second image. Selecting the auxiliary camera device according to the current shooting mode can not only meet the shooting requirements, but also avoid the use of too many auxiliary camera devices, resulting in waste of resources.
  • image fusion processing is performed on the at least one first image and the at least one second image. For example, if a first image is captured by the main camera device, and a second image is captured by each of the two auxiliary camera devices, image fusion processing is performed on the first image and the two second images obtained by shooting to generate the corresponding panoramic image.
  • step S104 may be included before step S103 , and step S103 may include sub-step S1031 .
  • S104 Perform image preprocessing on the at least one first image or the at least one second image, so that the resolution of the at least one first image is the same as the resolution of the at least one second image match.
  • image preprocessing is performed on the at least one first image or the at least one second image.
  • the preprocessing matches the resolution of the at least one first image with the resolution of the at least one second image.
  • the image preprocessing includes but is not limited to image upsampling processing, image downsampling processing, and the like.
  • image fusion processing is performed on the at least one first image and the at least one second image whose resolutions are matched, compared to directly performing image fusion on the obtained at least one first image and at least one second image
  • the fusion process further improves the image quality of the generated panoramic image.
  • performing image preprocessing on the at least one first image or the at least one second image may include: if the resolution of the at least one second image is smaller than that of the at least one first image If the resolution of the at least one second image is larger than the resolution of the at least one first image, perform image upsampling processing on the at least one second image; Perform image downsampling processing on the at least one second image, or perform image upsampling processing on the at least one first image.
  • the resolution of the second image is smaller than the resolution of the first image, that is, the resolution of the first image is high, and the resolution of the second image is low.
  • the sampling process increases the resolution of the second image, so that the resolution of the at least one first image matches the resolution of the at least one second image.
  • the resolution of the second image is greater than the resolution of the first image, that is, the resolution of the first image is low, and the resolution of the second image is high.
  • the down-sampling process increases the resolution of the second image, or performs image up-sampling processing on each first image, so that the resolution of at least one first image matches the resolution of at least one second image.
  • performing image upsampling processing on the at least one second image may include: inputting the at least one second image into a neural network model to perform superdivision upsampling processing; or, using a bicubic interpolation algorithm Perform image upsampling processing on the at least one second image.
  • a neural network super-resolution technique can be used to input at least one second image into a corresponding neural network model for super-resolution and up-sampling processing, and output a high-resolution second image .
  • an interpolation algorithm such as a bicubic interpolation algorithm, is used to perform image upsampling processing on at least one second image to obtain at least one second image with high resolution.
  • step S105 may be included before step S103 , and step S103 may include sub-step S1032 .
  • S105 Perform HDR fusion processing on a plurality of the second images captured by each of the auxiliary camera devices, respectively, to generate a high dynamic range image corresponding to each of the auxiliary camera devices.
  • the HDR (High-Dynamic Range, high dynamic lighting rendering) fusion processing is performed on the plurality of second images to generate a high dynamic range image corresponding to each auxiliary camera device.
  • the auxiliary camera 1 and the auxiliary camera 2 are used to capture multiple second images, respectively, the multiple second images captured by the auxiliary camera 1 are subjected to HDR fusion processing to generate the corresponding first high dynamic range image.
  • image fusion processing is performed on at least one first image captured by the main camera device and a high dynamic range image generated by performing HDR fusion processing.
  • image fusion processing is performed on at least one first image, the first high dynamic range image, and the second high dynamic range image.
  • the image quality of the generated panoramic image is further improved.
  • HDR fusion processing is performed on a plurality of second images captured by each auxiliary camera device to generate a high dynamic image corresponding to each auxiliary camera device. range image. If the resolution of the at least one high dynamic range image is smaller than the resolution of the at least one first image, perform image upsampling processing on the at least one high dynamic range image. If the resolution of at least one high dynamic range image is greater than the resolution of at least one first image, perform image downsampling processing on at least one high dynamic range image, or perform image upsampling processing on at least one first image .
  • the process before performing image fusion processing on the at least one first image and the at least one second image, may include: when the first image includes multiple images, performing image fusion processing on the multiple first images. Perform image fusion processing on the images to obtain a corresponding first fusion image; when the second images include multiple images, perform image fusion processing on the plurality of second images to obtain a corresponding second fusion image; Performing image fusion processing on the at least one first image and the at least one second image may include: performing image fusion processing on the first fusion image and the second fusion image.
  • first images are captured by the main camera device within the field of view of the main camera device to obtain multiple first images, and image fusion processing is performed on the multiple first images to obtain the corresponding first images. a fused image.
  • image fusion processing is also performed on the plurality of second images to obtain corresponding second fusion images. Then, image fusion processing is performed on the first fused image and the second fused image to generate a corresponding panoramic image.
  • illumination compensation is performed on the plurality of first images, so that the brightness of the plurality of first images is consistent, thereby avoiding the fusion of the plurality of first images. Brightness differences appear in the first fused image.
  • illumination compensation is performed on the plurality of second images, so that the brightness of the plurality of second images is consistent.
  • first perform illumination compensation on the first fusion image and the second fusion image so that the brightness of the first fusion image and the second fusion image are consistent, so as to ensure The quality of the resulting panorama image.
  • performing image fusion processing on the plurality of second images to obtain the corresponding second fused images may include: performing latitude and longitude mapping on the plurality of second images to obtain the corresponding plurality of second local regions image; perform a first seam finding operation on a plurality of the second local area images; according to the results of the first seam finding operation, perform multi-band fusion () processing on a plurality of the second local area images to obtain the second Fused images.
  • the second image includes the img_up_1 image and the img_up_2 image
  • a seam finding operation is performed on the two second local area images sph_up_1 and sph_up_2.
  • the seam finding operation of the two second local area images sph_up_1 and sph_up_2 is hereinafter referred to as the first seam finding operation.
  • performing the first seam finding operation on the plurality of second partial area images may include: acquiring a first overlapping area of the plurality of second partial area images; performing the first overlapping area according to the first overlapping area. The first seam finding operation is described.
  • the overlapping area of the two second partial area images sph_up_1 and sph_up_2 is hereinafter referred to as the first overlapping area.
  • before performing latitude and longitude mapping on the plurality of second images may include: optimizing the internal parameter matrix and the external parameter matrix corresponding to the plurality of second images; Performing latitude and longitude mapping may include: performing latitude and longitude mapping on a plurality of the second images according to the optimized internal parameter matrix and the external parameter matrix corresponding to a plurality of the second images to obtain a plurality of the second partial images.
  • area images, and multiple mask images corresponding to the second partial area images; the acquiring the first overlapping area of the multiple second partial area images may include: corresponding to the multiple second partial area images The mask image is obtained, and the first overlapping area of a plurality of the second partial area images is obtained.
  • the internal and external parameters of the main camera device and the auxiliary camera device are first calibrated, and the main camera device is centered, that is, under the condition that the yaw, pitch, and roll angles are all set to 0, the internal and external parameters of the auxiliary camera device are calibrated to obtain the auxiliary camera.
  • the internal parameter matrix K and the external parameter matrix (including the rotation matrix R and the translation matrix T) of the device are generally ignored when the translation matrix T is used.
  • the auxiliary camera device includes the auxiliary camera device 1 and the auxiliary camera device 2, the internal parameter matrix K_up_1 and the external parameter matrix (R_up_1, T_up_1) of the auxiliary camera device 1 and the internal parameter matrix K_up_2 and the external parameter matrix ( R_up_2, T_up_2).
  • the internal parameter matrix corresponding to the first image captured by the main camera device and the second image captured by the auxiliary camera device are known, and the pose relationship between the two first images can be directly obtained by
  • the IMU (Inertial measurement unit, inertial measurement unit) data of the two first images is derived, and the pose relationship between the first image and the second image can be derived through the IMU data or the calibrated rotation matrix R, so as to obtain the external image of the second image. parameter matrix.
  • the optimizing the internal parameter matrices and the external parameter matrices corresponding to the plurality of second images may include: based on the at least one first image, determining, based on the at least one first image, to perform the process with the plurality of second images.
  • the target first image matched by the image feature points; the determined first target image and a plurality of the second images are subjected to image feature point matching to obtain corresponding image feature point matching information; the image feature point matching information , and the internal parameter matrix and external parameter matrix corresponding to the first image of the target, the internal parameter matrix and the external parameter matrix corresponding to a plurality of the second images, input beam method adjustment model processing, and obtain a plurality of the second images corresponding to The optimized internal parameter matrix and the external parameter matrix.
  • the first image of the single image is determined as the target first image; if the first image includes multiple images, all the first images are determined as the target first image. , or select several first images from the plurality of first images according to preset rules, and determine them as the target first images.
  • the main camera device captures first images of multiple rows and columns within the field of view of the main camera device to obtain first images of multiple rows and columns.
  • the first image of the interval column from the first images of the plurality of columns, it is determined as the target first image.
  • the first images in columns 1, 3, 5, and 7 are selected to be determined as the target first images.
  • the external parameter matrix (rotation matrix R) corresponding to each second image includes the pose data between each second image and other second images, and the pose data between each second image and the target first image .
  • the pose data between each second image and the target first image is derived from the calibrated rotation matrix R, or derived from the IMU data of each second image and the IMU data of the target first image.
  • the second image includes the img_up_1 image and the img_up_2 image
  • the optimized internal parameter matrix K_up_refine2 and the external parameter matrix R_up_refine_2 corresponding to the img_up_2 image are obtained.
  • the optimized internal parameter matrix and external parameter matrix corresponding to the img_up_1 image and the img_up_2 image map the img_up_1 image and the img_up_2 image to the latitude and longitude to obtain the second local area image corresponding to the img_up_1 image sph_up_1, sph_up_1 corresponding mask image mask_up_1, and img_up_2
  • the mask image mask_up_2 corresponding to the second local area images sph_up_2 and sph_up_2 corresponding to the images.
  • the mask image mask_up_1 and the mask image mask_up_2 extract the first overlapping area of the two second local area images sph_up_1 and sph_up_2.
  • the first seam finding operation is performed according to the first overlapping area, and a curve with the smallest difference is found in the first overlapping area. After that, based on the curve with the smallest difference obtained by the first seam finding operation, perform multi-band blend processing on the two second local area images sph_up_1 and sph_up_2 to obtain the second fusion image sph_up and the second The mask image mask_up corresponding to the fusion image sph_up.
  • ERP equirectangular projection, spherical projection
  • the second overlapping area of the first fused image sph_side and the second fused image sph_up is extracted.
  • a second seam finding operation is performed according to the second overlapping area, and a curve with the smallest difference is found in the second overlapping area.
  • multi-band fusion processing is performed on the first fusion image sph_side and the second fusion image sph_up to obtain a corresponding panoramic image.
  • At least one first image captured by the main camera mounted on the movable platform within the field of view of the main camera is acquired, and at least one auxiliary camera mounted on the movable platform is acquired in the field of view of the auxiliary camera.
  • FIG. 7 is a schematic block diagram of a panoramic image generating apparatus provided by an embodiment of the present application.
  • the panoramic image generating apparatus 300 may include a processor 311 and a memory 312, and the processor 311 and the memory 312 are connected through a bus, such as an I2C (Inter-integrated Circuit) bus.
  • a bus such as an I2C (Inter-integrated Circuit) bus.
  • the processor 311 may be a micro-controller unit (Micro-controller Unit, MCU), a central processing unit (Central Processing Unit, CPU), or a digital signal processor (Digital Signal Processor, DSP) or the like.
  • MCU Micro-controller Unit
  • CPU Central Processing Unit
  • DSP Digital Signal Processor
  • the memory 312 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, or a mobile hard disk, and the like.
  • Various computer programs to be executed by the processor 311 are stored in the memory 312 .
  • the processor is used for running the computer program stored in the memory, and implements the following steps when executing the computer program:
  • the field of view of the auxiliary camera device includes the movable platform.
  • the processor before performing the image fusion processing on the at least one first image and the at least one second image, the processor is configured to:
  • the processor When implementing the image fusion processing on the at least one first image and the at least one second image, the processor is configured to implement:
  • the processor when implementing the image preprocessing on the at least one first image or the at least one second image, the processor is configured to implement:
  • the resolution of the at least one second image is smaller than the resolution of the at least one first image, perform image upsampling processing on the at least one second image;
  • the resolution of the at least one second image is greater than the resolution of the at least one first image, perform image downsampling processing on the at least one second image, or perform image downsampling on the at least one second image, or perform an image downsampling process on the at least one second image.
  • An image is subjected to image upsampling processing.
  • the processor when implementing the image upsampling process on the at least one second image, is configured to implement:
  • An image upsampling process is performed on the at least one second image by using a bicubic interpolation algorithm.
  • the processor before performing the image fusion processing on the at least one first image and the at least one second image, the processor is configured to:
  • the processor When implementing the image fusion processing on the at least one first image and the at least one second image, the processor is configured to implement:
  • the processor before performing the image fusion processing on the at least one first image and the at least one second image, the processor is configured to:
  • the first images include multiple sheets
  • image fusion processing is performed on the multiple sheets of the first images to obtain corresponding first fusion images
  • image fusion processing is performed on the multiple sheets of the second images to obtain corresponding second fusion images
  • the processor When implementing the image fusion processing on the at least one first image and the at least one second image, the processor is used to implement:
  • the processor when implementing the image fusion processing on the plurality of second images to obtain the corresponding second fused images, the processor is configured to implement:
  • multi-band fusion processing is performed on a plurality of the second local area images to obtain the second fusion image.
  • the processor when implementing the first seam finding operation on the plurality of second partial region images, is configured to implement:
  • the first seam finding operation is performed according to the first overlapping area.
  • the processor before the processor implements the latitude and longitude mapping on the plurality of second images, the processor is configured to implement:
  • the processor When implementing the latitude and longitude mapping on the plurality of second images, the processor is configured to implement:
  • the optimized internal parameter matrix and the external parameter matrix corresponding to the plurality of second images perform latitude and longitude mapping on the plurality of second images to obtain a plurality of the second local area images and a plurality of a mask image corresponding to the second local area image;
  • the processor When implementing the acquiring of the first overlapping area of the plurality of second partial area images, the processor is configured to implement:
  • the first overlapping area of the plurality of second partial area images is acquired according to the mask images corresponding to the plurality of second partial area images.
  • the processor when implementing the optimization of the internal parameter matrices and the external parameter matrices corresponding to the plurality of second images, the processor is configured to implement:
  • the matching information of the image feature points, the internal parameter matrix and the external parameter matrix corresponding to the first image of the target, the internal parameter matrix and the external parameter matrix corresponding to the plurality of second images, and the input beam method adjustment model are processed to obtain The optimized internal parameter matrix and the external parameter matrix corresponding to the plurality of second images.
  • the extrinsic parameter matrix corresponding to each of the second images includes pose data between each of the second images and other second images, and each of the second images and the The pose data between the first images of the target, wherein the pose data between each of the second images and the first image of the target is determined by a calibrated rotation matrix, or the IMU of each second image.
  • the data is generated with the IMU data of the first image of the target.
  • the processor when implementing the determining, based on the at least one first image, the target first image to be matched with the image feature points of the plurality of second images, the processor is configured to implement:
  • the at least one first image includes a single image, determining the single first image as the target first image;
  • the at least one first image includes multiple images, determine all the first images as the target first image, or select several first images from the multiple first images according to a preset rule an image, determined as the first image of the target.
  • the plurality of first images include multiple columns, and the processor selects a plurality of first images from the plurality of first images according to a preset rule, and determines them as the target The first image is used to achieve:
  • the first images in the interval column are selected and determined as the target first images.
  • the processor is further configured to:
  • the at least one auxiliary camera device performs the first image capture within the field of view of the auxiliary camera device The second image is taken.
  • the processor is further configured to:
  • the at least one auxiliary camera device is selected from the plurality of auxiliary camera devices according to the FOV information corresponding to the plurality of auxiliary camera devices mounted on the movable platform and the FOV information corresponding to the main camera device.
  • the processor implements the method according to the FOV information corresponding to the plurality of auxiliary camera devices loaded on the movable platform and the FOV information corresponding to the main camera device, from the plurality of auxiliary camera devices.
  • the at least one auxiliary camera device is selected in the camera device, it is used to realize:
  • a single auxiliary camera device is selected from the plurality of auxiliary camera devices.
  • the processor when the processor implements the acquiring at least one second image captured by at least one auxiliary camera device mounted on the movable platform within the field of view of the auxiliary camera device, use To achieve:
  • auxiliary camera device If the FOV of the auxiliary camera device is greater than or equal to a preset FOV threshold, acquiring a single second image captured by a single auxiliary camera device;
  • the FOV of the auxiliary camera device is less than the preset FOV threshold, acquire multiple second images shot by a single auxiliary camera device rotated in different directions, or acquire images shot by more than one auxiliary camera device a plurality of the second images.
  • the processor is further configured to:
  • auxiliary camera device selection interface for the user to select a target auxiliary camera device from a plurality of auxiliary camera devices mounted on the movable platform displayed on the auxiliary camera device selection interface;
  • the target auxiliary camera device selected by the user is determined as the at least one auxiliary camera device.
  • the processor is further configured to:
  • the at least one auxiliary camera device is selected from a plurality of auxiliary camera devices loaded on the movable platform according to the current shooting mode.
  • the processor when the processor selects the at least one auxiliary camera device from a plurality of auxiliary camera devices loaded on the movable platform according to the current shooting mode, the processor specifically implements:
  • the current shooting mode is a vertical panorama mode, selecting a single auxiliary camera device from the plurality of auxiliary camera devices;
  • the current shooting mode is a spherical panorama mode, selecting one or more of the auxiliary camera devices from the plurality of auxiliary camera devices.
  • the embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program, the computer program includes program instructions, and the processor executes the program instructions to implement the present application The steps of the panorama image generating method provided by the embodiment.
  • the computer-readable storage medium may be the internal storage unit of the movable platform or the panoramic image generating device described in the foregoing embodiments, such as a hard disk or memory of the movable platform or the panoramic image generating device.
  • the computer-readable storage medium can also be an external storage device of the movable platform or the panoramic image generation device, such as a plug-in hard disk equipped on the movable platform or the panoramic image generation device, a smart memory card (Smart Media) Card, SMC), secure digital (Secure Digital, SD) card, flash memory card (Flash Card), etc.

Abstract

A panoramic image generation method and apparatus, a movable platform and a storage medium. The method comprises: acquiring at least one first image, which is photographed, by means of a main photographic apparatus mounted on a movable platform, within the field of view of the main photographic apparatus (S101); acquiring at least one second image, which is photographed, by means of at least one auxiliary photographic apparatus mounted on the movable platform, within the field of view range of the at least one auxiliary photographic apparatus, wherein the field of view range of the at least one auxiliary photographic apparatus comprises an upper area of the movable platform, and there is an overlapping range between the field of view range of the main photographic apparatus and the field of view range of the at least one auxiliary photographic apparatus (S102); and performing image fusion processing on the at least one first image and the at least one second image, so as to generate a corresponding panoramic image (S103).

Description

全景图像生成方法、装置、可移动平台及存储介质Panoramic image generation method, device, movable platform and storage medium 技术领域technical field
本申请涉及可移动平台技术领域,尤其涉及一种全景图像生成方法、装置、可移动平台及存储介质。The present application relates to the technical field of movable platforms, and in particular, to a method, device, movable platform and storage medium for generating panoramic images.
背景技术Background technique
可移动平台(如无人机)上搭载的摄像头有着重要的应用,可应用于航拍、巡检等领域。目前,在可移动平台的设计中,云台pitch轴最大限位一般不超过30度,加上摄像头上方存在机身遮挡,导致摄像头无法拍摄到可移动平台正上方的图像。因而,在进行全景拍摄时,生成的全景图像就会缺少“天空”等可移动平台上方部分,需要采取一定的手段进行填充,填充操作繁琐,而且填充的“天空”是虚假的,效果差,不自然。Cameras mounted on mobile platforms (such as drones) have important applications and can be used in aerial photography, inspection and other fields. At present, in the design of the movable platform, the maximum limit of the pitch axis of the gimbal is generally not more than 30 degrees. In addition, there is a fuselage occlusion above the camera, so that the camera cannot capture the image directly above the movable platform. Therefore, when performing panoramic shooting, the generated panoramic image will lack the upper part of the movable platform such as the "sky", which needs to be filled by certain means. The filling operation is cumbersome, and the filled "sky" is false and the effect is poor. unnatural.
因此,如何提高可移动平台拍摄生成的全景图像质量成为亟待解决的问题。Therefore, how to improve the quality of the panoramic image captured by the movable platform has become an urgent problem to be solved.
发明内容SUMMARY OF THE INVENTION
基于此,本申请提供了一种全景图像生成方法、装置、可移动平台及存储介质,以提高基于可移动平台拍摄生成的全景图像的质量。Based on this, the present application provides a panorama image generating method, device, movable platform and storage medium, so as to improve the quality of panorama images captured and generated based on the movable platform.
第一方面,本申请提供了一种全景图像生成方法,所述方法包括:In a first aspect, the present application provides a method for generating a panoramic image, the method comprising:
获取可移动平台上装载的主摄像装置在所述主摄像装置的视场范围内拍摄的至少一张第一图像;acquiring at least one first image captured by the main camera mounted on the movable platform within the field of view of the main camera;
获取所述可移动平台上装载的至少一个辅摄像装置在所述辅摄像装置的视场范围内拍摄的至少一张第二图像,所述辅摄像装置的视场范围包括所述可移动平台的上方区域,所述主摄像装置的视场范围与所述辅摄像装置的视场范围之间存在重叠范围;Obtain at least one second image captured by at least one auxiliary camera device mounted on the movable platform within the field of view of the auxiliary camera device, where the field of view of the auxiliary camera device includes the movable platform. In the upper area, there is an overlapping range between the field of view of the main camera device and the field of view of the auxiliary camera device;
对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理,生成对应的全景图像。Perform image fusion processing on the at least one first image and the at least one second image to generate a corresponding panoramic image.
第二方面,本申请还提供了一种全景图像生成装置,所述全景图像生成装置包括存储器和处理器;In a second aspect, the present application further provides a panoramic image generating device, the panoramic image generating device comprising a memory and a processor;
所述存储器用于存储计算机程序;the memory is used to store computer programs;
所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processor is configured to execute the computer program and implement the following steps when executing the computer program:
获取可移动平台上装载的主摄像装置在所述主摄像装置的视场范围内拍摄的至少一张第一图像;acquiring at least one first image captured by the main camera mounted on the movable platform within the field of view of the main camera;
获取所述可移动平台上装载的至少一个辅摄像装置在所述辅摄像装置的视场范围内拍摄的至少一张第二图像,所述辅摄像装置的视场范围包括所述可移动平台的上方区域,所述主摄像装置的视场范围与所述辅摄像装置的视场范围之间存在重叠范围;Obtain at least one second image captured by at least one auxiliary camera device mounted on the movable platform within the field of view of the auxiliary camera device, where the field of view of the auxiliary camera device includes the movable platform. In the upper area, there is an overlapping range between the field of view of the main camera device and the field of view of the auxiliary camera device;
对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理,生成对应的全景图像。Perform image fusion processing on the at least one first image and the at least one second image to generate a corresponding panoramic image.
第三方面,本申请还提供了一种可移动平台,所述可移动平台包括如上述的全景图像生成装置。In a third aspect, the present application further provides a movable platform, where the movable platform includes the above-mentioned panoramic image generating apparatus.
第四方面,本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如上述的全景图像生成方法。In a fourth aspect, the present application further provides 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 can realize the above-mentioned panoramic image generation method.
本申请公开的全景图像生成方法、装置、可移动平台及存储介质,通过获取可移动平台上装载的主摄像装置在主摄像装置的视场范围内拍摄的至少一张第一图像,以及获取可移动平台上装载的至少一个辅摄像装置在辅摄像装置的视场范围内拍摄的至少一张第二图像,其中,辅摄像装置的视场范围包括可移动平台的上方区域,主摄像装置的视场范围与辅摄像装置的视场范围之间存在重叠范围,并对所获取的至少一张第一图像和至少一张第二图像进行图像融合处理,生成对应的全景图像,相比于通过填充操作获得的全景图像,更加自然和真实,提高了全景图像的质量。The panorama image generating method, device, movable platform and storage medium disclosed in the present application, by acquiring at least one first image captured by the main camera device mounted on the movable platform within the field of view of the main camera device, and acquiring a possible first image. At least one second image captured by at least one auxiliary camera device mounted on the mobile platform within the field of view of the auxiliary camera device, wherein the field of view of the auxiliary camera device includes the upper area of the movable platform, and the field of view of the main camera device. There is an overlapping range between the field range and the field of view range of the auxiliary camera device, and image fusion processing is performed on the acquired at least one first image and at least one second image to generate a corresponding panoramic image. The panoramic image obtained by the operation is more natural and real, and the quality of the panoramic image is improved.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not limiting of the present application.
附图说明Description of drawings
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. For those of ordinary skill, other drawings can also be obtained from these drawings without any creative effort.
图1是本申请实施例提供的一种可移动平台的示意性框图;1 is a schematic block diagram of a movable platform provided by an embodiment of the present application;
图2是本申请实施例提供的一种无人机的结构示意图;2 is a schematic structural diagram of an unmanned aerial vehicle provided by an embodiment of the present application;
图3是本申请实施例提供的一种全景图像生成方法的步骤示意流程图;3 is a schematic flowchart of steps of a method for generating a panoramic image provided by an embodiment of the present application;
图4是本申请实施例提供的一种辅摄像装置选择界面的示意图;4 is a schematic diagram of an auxiliary camera device selection interface provided by an embodiment of the present application;
图5是本申请实施例提供的另一种全景图像生成方法的步骤示意流程图;5 is a schematic flowchart of steps of another panoramic image generation method provided by an embodiment of the present application;
图6是本申请实施例提供的另一种全景图像生成方法的步骤示意流程图;6 is a schematic flowchart of steps of another panoramic image generation method provided by an embodiment of the present application;
图7是本申请的实施例提供的全景图像生成装置的示意性框图。FIG. 7 is a schematic block diagram of a panoramic image generating apparatus provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, 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.
附图中所示的流程图仅是示例说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解、组合或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowcharts shown in the figures are for illustration only, and do not necessarily include all contents and operations/steps, nor do they have to be performed in the order described. For example, some operations/steps can also be decomposed, combined or partially combined, so the actual execution order may be changed according to the actual situation.
应当理解,在此本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。如在本申请说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It should be understood that the terms used in the specification of the present application herein are for the purpose of describing particular embodiments only and are not intended to limit the present application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural unless the context clearly dictates otherwise.
还应当进理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It will also be understood that, as used in this specification and the appended claims, the term "and/or" refers to and including any and all possible combinations of one or more of the associated listed items .
下面结合附图,对本申请的一些实施方式作详细说明。在不冲突的情况下, 下述的实施例及实施例中的特征可以相互组合。Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The following embodiments and features of the embodiments may be combined with each other without conflict.
本申请的实施例提供了一种全景图像生成方法、装置、可移动平台及存储介质,用于实现提高基于可移动平台拍摄生成的全景图像的质量。The embodiments of the present application provide a panorama image generating method, device, movable platform and storage medium, which are used to improve the quality of panorama images captured and generated based on the movable platform.
其中,该可移动平台包括但不限于无人机,例如旋翼型飞行器,包括单旋翼飞行器、双旋翼飞行器、三旋翼飞行器、四旋翼飞行器、六旋翼飞行器、八旋翼飞行器、十旋翼飞行器、十二旋翼飞行器等。当然,可移动平台也可以是其他类型的无人机或可移动装置,比如固定翼无人机,本申请实施例不限于此。Wherein, the movable platform includes but is not limited to unmanned aerial vehicles, such as rotary-wing aircraft, including single-rotor aircraft, dual-rotor aircraft, tri-rotor aircraft, quad-rotor aircraft, hexa-rotor aircraft, octa-rotor aircraft, ten-rotor aircraft, twelve-rotor aircraft Rotorcraft, etc. Of course, the movable platform may also be other types of unmanned aerial vehicles or movable devices, such as fixed-wing unmanned aerial vehicles, and the embodiment of the present application is not limited thereto.
请参阅图1,图1为本申请实施例提供的一种可移动平台的示意性框图。如图1所示,可移动平台1000可以包括机体100、设于机体100内的动力系统200、全景图像生成装置300、以及主摄像装置400和至少一个辅摄像装置500。其中,动力系统200用于为可移动平台1000提供动力;主摄像装置400和至少一个辅摄像装置500包括但不限于摄像头,用于拍摄不同视场范围的图像;全景图像生成装置300用于根据主摄像装置400和至少一个辅摄像装置500拍摄的不同视场范围的图像生成全景图像。Please refer to FIG. 1 , which is a schematic block diagram of a movable platform according to an embodiment of the present application. As shown in FIG. 1 , the movable platform 1000 may include a body 100 , a power system 200 provided in the body 100 , a panoramic image generating device 300 , a main camera device 400 and at least one auxiliary camera device 500 . Wherein, the power system 200 is used to provide power for the movable platform 1000; the main camera device 400 and at least one auxiliary camera device 500 include but are not limited to cameras, which are used to capture images in different fields of view; the panoramic image generation device 300 is used for Panoramic images are generated from images captured by the main camera 400 and the at least one auxiliary camera 500 in different fields of view.
示例性的,至少一个辅摄像装置500包括两个或两个以上的上视摄像头,上视摄像头通常是用于避障的,上视摄像头拍摄的图像一般分辨率较低、信噪比较差、动态范围较小。Exemplarily, at least one auxiliary camera device 500 includes two or more up-view cameras, the up-view cameras are usually used for obstacle avoidance, and the images captured by the up-view cameras are generally of low resolution and poor signal-to-noise ratio. , the dynamic range is small.
示例性的,动力系统200可以包括一个或多个电子调速器(简称为电调)、一个或多个螺旋桨以及与一个或多个螺旋桨相对应的一个或多个电机,其中电机连接在电子调速器与螺旋桨之间。电子调速器用于提供驱动电流给电机,以控制电机的转速。电机用于驱动螺旋桨旋转,从而为可移动平台1000的飞行提供动力,该动力使得可移动平台1000能够实现一个或多个自由度的运动。在某些实施例中,可移动平台1000可以围绕一个或多个旋转轴旋转。应理解,电机可以是直流电机,也可以交流电机。另外,电机可以是无刷电机,也可以是有刷电机。Exemplarily, the power system 200 may include one or more electronic governors (referred to as ESCs for short), one or more propellers, and one or more motors corresponding to the one or more propellers, wherein the motors are connected to the electronic between the governor and the propeller. The electronic governor is used to provide driving current to the motor to control the speed of the motor. The motor is used to drive the propeller to rotate, thereby providing power for the flight of the movable platform 1000, which enables the movable platform 1000 to achieve one or more degrees of freedom movement. In certain embodiments, the movable platform 1000 can rotate about one or more axes of rotation. It should be understood that the motor may be a DC motor or an AC motor. In addition, the motor may be a brushless motor or a brushed motor.
示例性的,以可移动平台1000为无人机为例,如图2所示,无人机包括多个螺旋桨、防抖云台、以及相机和至少一个上视摄像头(未示出)。其中,通过控制螺旋桨的旋转可以实现无人机姿态调整、无人机悬停等操作。通过相机可进行第一图像拍摄,通过至少一个上视摄像头可进行第二图像拍摄。Exemplarily, taking the movable platform 1000 as an unmanned aerial vehicle as an example, as shown in FIG. 2 , the unmanned aerial vehicle includes a plurality of propellers, an anti-shake gimbal, a camera and at least one upward-looking camera (not shown). Among them, operations such as UAV attitude adjustment and UAV hovering can be realized by controlling the rotation of the propeller. The first image can be captured by a camera, and the second image can be captured by at least one upward-looking camera.
可以理解的,上述对于可移动平台1000各部件的命名仅仅出于标识的目的,并不因此对本申请实施例进行限制。It can be understood that the above naming of the components of the movable platform 1000 is only for the purpose of identification, and therefore does not limit the embodiments of the present application.
以下将基于可移动平台1000对本申请的实施例提供的全景图像生成方法进行详细介绍。需知,图1中的可移动平台1000仅用于解释本申请实施例提供的全景图像生成方法,但并不构成对本申请实施例提供的全景图像生成方法的应用场景的限定。The panoramic image generation method provided by the embodiments of the present application will be described in detail below based on the movable platform 1000 . It should be noted that the movable platform 1000 in FIG. 1 is only used to explain the panoramic image generation method provided by the embodiment of the present application, but does not constitute a limitation on the application scenario of the panoramic image generation method provided by the embodiment of the present application.
请参阅图3,图3是本申请的实施例提供的一种全景图像生成方法的示意流程图。该方法可以用于上述实施例提供的任意一种可移动平台中,以实现提高基于可移动平台拍摄生成的全景图像的质量。Please refer to FIG. 3 , which is a schematic flowchart of a method for generating a panoramic image provided by an embodiment of the present application. The method can be used in any movable platform provided by the above embodiments, so as to improve the quality of the panoramic image captured and generated based on the movable platform.
如图3所示,该全景图像生成方法具体包括步骤S101至步骤S103。As shown in FIG. 3 , the panoramic image generation method specifically includes steps S101 to S103 .
S101、获取可移动平台上装载的主摄像装置在所述主摄像装置的视场范围内拍摄的至少一张第一图像。S101. Acquire at least one first image captured by a main camera device mounted on a movable platform within a field of view of the main camera device.
S102、获取所述可移动平台上装载的至少一个辅摄像装置在所述辅摄像装置的视场范围内拍摄的至少一张第二图像,所述辅摄像装置的视场范围包括所述可移动平台的上方区域,所述主摄像装置的视场范围与所述辅摄像装置的视场范围之间存在重叠范围。S102: Acquire at least one second image captured by at least one auxiliary camera device mounted on the movable platform within the field of view of the auxiliary camera device, where the field of view of the auxiliary camera device includes the movable platform In the upper area of the platform, there is an overlapping range between the field of view of the main camera device and the field of view of the auxiliary camera device.
可移动平台上装载有主摄像装置以及一个或多个辅摄像装置,示例性的,主摄像装置的视场范围包括可移动平台的前侧、后侧、左侧、右侧区域以及可移动平台的下方区域,辅摄像装置的视场范围包括可移动平台的上方区域,其中,主摄像装置的视场范围与辅摄像装置的视场范围之间存在重叠范围以及不重叠范围。The movable platform is loaded with a main camera device and one or more auxiliary camera devices. Exemplarily, the field of view of the main camera device includes the front, rear, left, and right regions of the movable platform and the movable platform. The field of view of the auxiliary camera device includes the upper region of the movable platform, wherein the field of view of the main camera device and the field of view of the auxiliary camera device have overlapping and non-overlapping ranges.
通过采用主摄像装置在主摄像装置的视场范围内拍摄一张或多张图像,并通采用一个或多个辅摄像装置在对应辅摄像装置的视场范围内拍摄一张或多张图像。为了便于描述,下文将主摄像装置拍摄的图像称为第一图像,将辅摄像装置拍摄的图像称为第二图像。One or more images are taken within the field of view of the main camera by using the main camera, and one or more images are taken within the field of view of the corresponding auxiliary camera by using one or more auxiliary cameras. For convenience of description, the image captured by the main camera device is hereinafter referred to as the first image, and the image captured by the auxiliary camera device is referred to as the second image.
在一些实施例中,采用主摄像装置在主摄像装置的视场范围内进行多行多列的第一图像拍摄,所述全景图像生成方法还可以包括:当所述主摄像装置在所述主摄像装置的视场范围内进行每一列的所述第一图像拍摄时,所述至少一个辅摄像装置在所述辅摄像装置的视场范围内进行所述第二图像拍摄。In some embodiments, using a main camera device to capture multiple rows and multiple columns of first images within the field of view of the main camera device, the panoramic image generation method may further include: when the main camera device is in the main camera device When capturing the first image of each column within the field of view of the camera device, the at least one auxiliary camera device captures the second image within the field of view of the auxiliary camera device.
例如,假设通过主摄像装置在主摄像装置的视场范围内进行3行8列的第一图像拍摄,当主摄像装置在主摄像装置的视场范围内进行每一列的第一图像拍摄时,通过一个或多个辅摄像装置在辅摄像装置的视场范围内进行第二图像拍摄,从而获得多张第一图像和多张第二图像。通过多张第一图像和多张第二图像生成的全景图像,相比于仅通过单张第一图像和单张第二图像生成的全景图像,提升了全景图像的图像质量。For example, it is assumed that 3 rows and 8 columns of first images are captured by the main camera within the field of view of the main camera. When the main camera captures the first image of each column within the field of view of the main camera, the One or more auxiliary camera devices capture second images within the field of view of the auxiliary camera devices, so as to obtain a plurality of first images and a plurality of second images. The panoramic image generated by using the multiple first images and the multiple second images improves the image quality of the panoramic image compared to the panoramic image generated only by using the single first image and the single second image.
在一些实施例中,当可移动平台上装载有多个辅摄像装置时,可以选取该多个辅摄像装置中的部分辅摄像装置进行第二图像拍摄,所述全景图像生成方法还可以包括:根据所述可移动平台上装载的多个辅摄像装置对应的FOV(Field of view,视场角)信息、以及所述主摄像装置对应的FOV信息,从所述多个辅摄像装置中选择所述至少一个辅摄像装置。In some embodiments, when a plurality of auxiliary cameras are mounted on the movable platform, some of the plurality of auxiliary cameras may be selected to capture the second image, and the panoramic image generation method may further include: According to the FOV (Field of view, field of view) information corresponding to the plurality of auxiliary camera devices loaded on the movable platform and the FOV information corresponding to the main camera device, the selected auxiliary camera device is selected from the plurality of auxiliary camera devices. at least one auxiliary camera device.
由于不同辅摄像装置对应的FOV不同,根据主摄像装置对应的FOV信息,以及每个辅摄像装置对应的FOV信息,从多个辅摄像装置中选择一个或多个辅摄像装置进行第二图像拍摄,选择的一个或多个辅摄像装置的视场范围与主摄像装置的视场范围之间存在重叠范围以及不重叠范围,这样拍摄的第二图像和第一图像之间可以存在重叠部分,根据第二图像和第一图像可以生成全景图像。并且,由于没有采用所有的辅摄像装置进行第二图像拍摄,第二图像的数量没有那么多,从而也降低了后续对第二图像进行处理的任务量。Since the FOV corresponding to different auxiliary camera devices is different, one or more auxiliary camera devices are selected from the plurality of auxiliary camera devices to capture the second image according to the FOV information corresponding to the main camera device and the FOV information corresponding to each auxiliary camera device. , there are overlapping ranges and non-overlapping ranges between the field of view range of the selected one or more auxiliary camera devices and the field of view range of the main camera device, so that there may be an overlapping portion between the second image captured and the first image, according to The second image and the first image may generate a panoramic image. In addition, since not all the auxiliary camera devices are used to capture the second image, the number of the second image is not so many, thereby reducing the workload of subsequent processing of the second image.
示例性的,根据所述可移动平台上装载的多个辅摄像装置对应的FOV信息、以及所述主摄像装置对应的FOV信息,从所述多个辅摄像装置中选择所述至少一个辅摄像装置可以包括:若所述辅摄像装置的FOV大于或等于预设FOV阈值,则从所述多个辅摄像装置中选择单个所述辅摄像装置。Exemplarily, the at least one auxiliary camera is selected from the plurality of auxiliary camera devices according to the FOV information corresponding to the plurality of auxiliary camera devices loaded on the movable platform and the FOV information corresponding to the main camera device The apparatus may include selecting a single auxiliary camera device from the plurality of auxiliary camera devices if the FOV of the auxiliary camera device is greater than or equal to a preset FOV threshold.
当某个辅摄像装置的FOV大于或等于预设FOV阈值,也即该辅摄像装置的FOV较大时,拍摄的第二图像也对应覆盖较大区域,因此,可以从多个辅摄像装置中选择单个该辅摄像装置用于进行第二图像拍摄。When the FOV of a certain auxiliary camera device is greater than or equal to the preset FOV threshold, that is, when the FOV of the auxiliary camera device is larger, the captured second image also covers a larger area. A single of the secondary cameras is selected for the second image capture.
例如,可以通过旋转可移动平台来覆盖经度方向-180~180度,只要某个辅摄像装置与主摄像装置能完整覆盖纬度方向-90~90度,那么通过该辅摄像装置与主摄像装置就可以覆盖整个360*180球形全景图对应的区域。For example, the movable platform can be rotated to cover -180 to 180 degrees in the longitude direction. As long as a certain auxiliary camera device and the main camera device can completely cover the latitude direction of -90 to 90 degrees, then the auxiliary camera device and the main camera device can completely cover the latitude direction of -90 to 90 degrees. It can cover the area corresponding to the entire 360*180 spherical panorama.
在一些实施例中,获取所述可移动平台上装载的至少一个辅摄像装置在所 述辅摄像装置的视场范围内拍摄的至少一张第二图像可以包括:若所述辅摄像装置的FOV大于或等于预设FOV阈值,则获取单个所述辅摄像装置拍摄的单张所述第二图像;若所述辅摄像装置的FOV小于所述预设FOV阈值,则获取单个所述辅摄像装置旋转在不同方位拍摄的多张所述第二图像,或者获取一个以上的所述辅摄像装置拍摄的多张所述第二图像。In some embodiments, acquiring at least one second image captured by at least one auxiliary camera device mounted on the movable platform within the field of view of the auxiliary camera device may include: if the FOV of the auxiliary camera device greater than or equal to the preset FOV threshold, obtain a single second image captured by a single auxiliary camera; if the FOV of the auxiliary camera is less than the preset FOV threshold, obtain a single auxiliary camera The plurality of second images captured at different orientations are rotated, or the plurality of second images captured by one or more of the auxiliary camera devices are acquired.
当某个辅摄像装置的FOV大于或等于预设FOV阈值,也即该辅摄像装置的FOV较大时,比如,通过该辅摄像装置一次就可以拍摄到可移动平台上方预设角度内的区域,则通过该辅摄像装置拍摄单张第二图像。例如,当主摄像装置在主摄像装置的视场范围内进行第一列的第一图像拍摄时,通过该辅摄像装置拍摄一张第二图像。When the FOV of a certain auxiliary camera device is greater than or equal to the preset FOV threshold, that is, when the FOV of the auxiliary camera device is relatively large, for example, an area within a preset angle above the movable platform can be photographed once through the auxiliary camera device , a single second image is captured by the auxiliary camera device. For example, when the main camera device captures the first image of the first column within the field of view of the main camera device, a second image is captured by the auxiliary camera device.
反之,若单个辅摄像装置的FOV小于预设FOV阈值,也即单个辅摄像装置的FOV较小时,比如,通过单个辅摄像装置一次只能拍摄到可移动平台上方预设角度内的局部区域,则通过旋转该单个辅摄像装置在不同方位拍摄多张第二图像,或者,通过多个辅摄像装置拍摄多张第二图像。不管是通过旋转单个辅摄像装置在不同方位拍摄多张第二图像,还是通过多个辅摄像装置拍摄多张第二图像,都可以覆盖可移动平台上方预设角度内的区域。Conversely, if the FOV of a single auxiliary camera device is less than the preset FOV threshold, that is, when the FOV of a single auxiliary camera device is small, for example, only a local area within a preset angle above the movable platform can be captured by a single auxiliary camera device at a time, Then, a plurality of second images are captured at different orientations by rotating the single auxiliary camera device, or a plurality of second images are captured by using a plurality of auxiliary camera devices. Regardless of whether a plurality of second images are captured in different directions by rotating a single auxiliary camera device, or a plurality of second images are captured by a plurality of sub-camera devices, an area within a preset angle above the movable platform can be covered.
例如,当主摄像装置在主摄像装置的视场范围内进行第一列和第五列的第一图像拍摄时,通过单个辅摄像装置各拍摄一张第二图像,从而获得两张第二图像。当然,当主摄像装置在主摄像装置的视场范围内进行第一列和第五列的第一图像拍摄时,也可以通过多个辅摄像装置各拍摄一张第二图像,从而获得多张第二图像,比如,若通过两个辅摄像装置在第一列和第五列各拍摄一张第二图像,则获得四张第二图像。For example, when the main camera device captures the first images of the first column and the fifth column within the field of view of the main camera device, each second image is captured by a single auxiliary camera device, thereby obtaining two second images. Of course, when the main camera device captures the first images of the first column and the fifth column within the field of view of the main camera device, each of the plurality of auxiliary camera devices can also capture a second image, so as to obtain a plurality of first images. For two images, for example, if one second image is captured in each of the first column and the fifth column by two auxiliary camera devices, four second images are obtained.
在一些实施例中,所述全景图像生成方法还可以包括:显示辅摄像装置选择界面,以供用户从所述辅摄像装置选择界面上显示的所述可移动平台上装载的多个辅摄像装置中,选择目标辅摄像装置;将用户选择的所述目标辅摄像装置,确定为所述至少一个辅摄像装置。In some embodiments, the panoramic image generating method may further include: displaying an auxiliary camera device selection interface for a user to select from a plurality of auxiliary camera devices mounted on the movable platform displayed on the auxiliary camera device selection interface , select a target auxiliary camera device; and determine the target auxiliary camera device selected by the user as the at least one auxiliary camera device.
针对于可移动平台上装载的多个辅摄像装置,在进行第二图像拍摄之前,显示预设的辅摄像装置选择界面,其中,该辅摄像装置选择界面上显示可移动平台上装载的多个辅摄像装置,用户可以从辅摄像装置选择界面上显示的可移 动平台上装载的多个辅摄像装置中,选择一个或多个目标辅摄像装置。基于用户的选择操作,将用户选择的一个或多个目标辅摄像装置,确定为用于拍摄第二图像的至少一个辅摄像装置。例如,如图4所示,在辅摄像装置选择界面上显示可移动平台上装载的辅摄像装置1、辅摄像装置2、辅摄像装置3……辅摄像装置i,用户从这多个辅摄像装置中,选择辅摄像装置1和辅摄像装置2,则将辅摄像装置1和辅摄像装置2确定为用于拍摄第二图像的辅摄像装置。通过用户操作来确定该至少一个辅摄像装置,也进一步提高了用户的交互体验。For a plurality of auxiliary camera devices loaded on the movable platform, before the second image is captured, a preset auxiliary camera device selection interface is displayed, wherein the auxiliary camera device selection interface displays a plurality of auxiliary camera devices loaded on the movable platform. For the auxiliary camera device, the user can select one or more target auxiliary camera devices from the plurality of auxiliary camera devices mounted on the movable platform displayed on the auxiliary camera device selection interface. Based on the user's selection operation, one or more target auxiliary camera apparatuses selected by the user are determined as at least one auxiliary camera apparatus for capturing the second image. For example, as shown in FIG. 4 , the auxiliary camera device 1, the auxiliary camera device 2, the auxiliary camera device 3, and the auxiliary camera device i loaded on the movable platform are displayed on the auxiliary camera device selection interface. In the device, if the auxiliary camera 1 and the auxiliary camera 2 are selected, the auxiliary camera 1 and the auxiliary camera 2 are determined as the auxiliary camera for capturing the second image. Determining the at least one auxiliary camera device through a user operation further improves the user's interactive experience.
在一些实施例中,所述全景图像生成方法还可以包括:根据当前拍摄模式,从所述可移动平台上装载的多个辅摄像装置中选择所述至少一个辅摄像装置。In some embodiments, the panoramic image generating method may further include: selecting the at least one auxiliary camera device from a plurality of auxiliary camera devices loaded on the movable platform according to the current shooting mode.
基于可移动平台进行拍摄包括有多种拍摄模式,包括但不限于垂直全景模式、球形全景模式等。对于不同的拍摄模式,相应地,采用不同的辅摄像装置用于拍摄第二图像。在实际拍摄当中,根据当前拍摄模式,从可移动平台上装载的多个辅摄像装置中选择一个或多个辅摄像装置,用于拍摄第二图像。Shooting based on a movable platform includes a variety of shooting modes, including but not limited to vertical panorama mode, spherical panorama mode, and the like. For different shooting modes, correspondingly, different auxiliary camera devices are used for shooting the second image. During actual shooting, according to the current shooting mode, one or more auxiliary camera devices are selected from the plurality of auxiliary camera devices mounted on the movable platform for shooting the second image.
示例性的,所述根据当前拍摄模式,从所述可移动平台上装载的多个辅摄像装置中选择所述至少一个辅摄像装置可以包括:若所述当前拍摄模式为垂直全景模式,则从所述多个辅摄像装置中选择单个所述辅摄像装置;若所述当前拍摄模式为球形全景模式,则从所述多个辅摄像装置中选择一个以上的所述辅摄像装置。Exemplarily, the selecting the at least one auxiliary camera device from the plurality of auxiliary camera devices loaded on the movable platform according to the current shooting mode may include: if the current shooting mode is the vertical panorama mode, from the A single auxiliary camera device is selected from the plurality of auxiliary camera devices; if the current shooting mode is a spherical panorama mode, more than one auxiliary camera device is selected from the plurality of auxiliary camera devices.
对于垂直全景模式,要求拍摄到可移动平台上方区域的范围不大,单个辅摄像装置可满足要求,因此,若当前拍摄模式为垂直全景模式,则从可移动平台上装载的多个辅摄像装置中选择单个辅摄像装置,用于拍摄第二图像。对于球形全景模式,要求拍摄到可移动平台球形全部区域的范围,单个辅摄像装置可能无法满足要求,因此,若当前拍摄模式为球形全景模式,则从可移动平台上装载的多个辅摄像装置中选择一个以上的辅摄像装置,用于拍摄第二图像。根据当前拍摄模式来选择辅摄像装置,既能满足拍摄要求,也避免采用过多的辅摄像装置,造成资源浪费。For the vertical panorama mode, the area above the movable platform is not required to be photographed, and a single auxiliary camera device can meet the requirements. Therefore, if the current shooting mode is the vertical panorama mode, multiple auxiliary camera devices loaded on the movable platform are required. to select a single secondary camera for capturing the second image. For spherical panorama mode, it is required to capture the entire spherical area of the movable platform, and a single auxiliary camera device may not meet the requirements. Therefore, if the current shooting mode is spherical panorama mode, multiple auxiliary camera devices mounted on the movable platform One or more auxiliary camera devices are selected for capturing the second image. Selecting the auxiliary camera device according to the current shooting mode can not only meet the shooting requirements, but also avoid the use of too many auxiliary camera devices, resulting in waste of resources.
S103、对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理,生成对应的全景图像。S103. Perform image fusion processing on the at least one first image and the at least one second image to generate a corresponding panoramic image.
通过主摄像装置和辅摄像装置获得至少一张第一图像和至少一张第二图像 后,对该至少一张第一图像和至少一张第二图像进行图像融合处理。比如,若通过主摄像装置拍摄一张第一图像,通过两个辅摄像装置各自拍摄一张第二图像,则对拍摄获得的一张第一图像和两张第二图像进行图像融合处理,生成对应的全景图像。After obtaining at least one first image and at least one second image through the main camera device and the auxiliary camera device, image fusion processing is performed on the at least one first image and the at least one second image. For example, if a first image is captured by the main camera device, and a second image is captured by each of the two auxiliary camera devices, image fusion processing is performed on the first image and the two second images obtained by shooting to generate the corresponding panoramic image.
在一些实施例中,如图5所示,步骤S103之前可以包括步骤S104,步骤S103可以包括子步骤S1031。In some embodiments, as shown in FIG. 5 , step S104 may be included before step S103 , and step S103 may include sub-step S1031 .
S104、对所述至少一张第一图像或所述至少一张第二图像进行图像预处理,以使所述至少一张第一图像的分辨率与所述至少一张第二图像的分辨率匹配。S104: Perform image preprocessing on the at least one first image or the at least one second image, so that the resolution of the at least one first image is the same as the resolution of the at least one second image match.
S1031、对分辨率匹配的所述至少一张第一图像和所述至少一张第二图像进行图像融合处理。S1031. Perform image fusion processing on the at least one first image and the at least one second image whose resolutions are matched.
由于是分别采用主摄像装置和辅摄像装置拍摄获得的至少一张第一图像和至少一张第二图像,第一图像和第二图像的分辨率会有所不同。因此,为了更好的融合效果,在获得至少一张第一图像和至少一张第二图像后,先对该至少一张第一图像或该至少一张第二图像进行图像预处理,通过图像预处理使该至少一张第一图像的分辨率与该至少一张第二图像的分辨率匹配。其中,图像预处理包括但不限于图像上采样处理、图像下采样处理等。然后,再对分辨率匹配的该至少一张第一图像和该至少一张第二图像进行图像融合处理,相比于直接对获得的至少一张第一图像和至少一张第二图像进行图像融合处理,进一步提高了生成的全景图像的图像质量。Since at least one first image and at least one second image are obtained by using the main camera device and the auxiliary camera device to capture, respectively, the resolutions of the first image and the second image will be different. Therefore, in order to achieve a better fusion effect, after obtaining at least one first image and at least one second image, image preprocessing is performed on the at least one first image or the at least one second image. The preprocessing matches the resolution of the at least one first image with the resolution of the at least one second image. The image preprocessing includes but is not limited to image upsampling processing, image downsampling processing, and the like. Then, image fusion processing is performed on the at least one first image and the at least one second image whose resolutions are matched, compared to directly performing image fusion on the obtained at least one first image and at least one second image The fusion process further improves the image quality of the generated panoramic image.
在一些实施例中,对所述至少一张第一图像或所述至少一张第二图像进行图像预处理可以包括:若所述至少一张第二图像的分辨率小于所述至少一张第一图像的分辨率,则对所述至少一张第二图像进行图像上采样处理;若所述至少一张第二图像的分辨率大于所述至少一张第一图像的分辨率,则对所述至少一张第二图像进行图像下采样处理,或者对所述至少一张第一图像进行图像上采样处理。In some embodiments, performing image preprocessing on the at least one first image or the at least one second image may include: if the resolution of the at least one second image is smaller than that of the at least one first image If the resolution of the at least one second image is larger than the resolution of the at least one first image, perform image upsampling processing on the at least one second image; Perform image downsampling processing on the at least one second image, or perform image upsampling processing on the at least one first image.
一种情况下,第二图像的分辨率小于第一图像的分辨率,也即第一图像的分辨率高,第二图像的分辨率低,此时,对每一张第二图像进行图像上采样处理,提高第二图像的分辨率,使得至少一张第一图像的分辨率与至少一张第二图像的分辨率匹配。In one case, the resolution of the second image is smaller than the resolution of the first image, that is, the resolution of the first image is high, and the resolution of the second image is low. The sampling process increases the resolution of the second image, so that the resolution of the at least one first image matches the resolution of the at least one second image.
另一种情况下,第二图像的分辨率大于第一图像的分辨率,也即第一图像的分辨率低,第二图像的分辨率高,此时,对每一张第二图像进行图像下采样处理,提高第二图像的分辨率,或者,对每一张第一图像进行图像上采样处理,使得至少一张第一图像的分辨率与至少一张第二图像的分辨率匹配。In another case, the resolution of the second image is greater than the resolution of the first image, that is, the resolution of the first image is low, and the resolution of the second image is high. The down-sampling process increases the resolution of the second image, or performs image up-sampling processing on each first image, so that the resolution of at least one first image matches the resolution of at least one second image.
在一些实施例中,对所述至少一张第二图像进行图像上采样处理可以包括:将所述至少一张第二图像输入神经网络模型进行超分上采样处理;或者,采用双三次插值算法对所述至少一张第二图像进行图像上采样处理。In some embodiments, performing image upsampling processing on the at least one second image may include: inputting the at least one second image into a neural network model to perform superdivision upsampling processing; or, using a bicubic interpolation algorithm Perform image upsampling processing on the at least one second image.
为了提高第二图像的分辨率,示例性的,可以采用神经网络超分技术,将至少一张第二图像输入相应的神经网络模型中进行超分上采样处理,输出高分辨率的第二图像。又或者,采用插值算法,比如双三次插值算法,对至少一张第二图像进行图像上采样处理,获得高分辨率的至少一张第二图像。In order to improve the resolution of the second image, exemplarily, a neural network super-resolution technique can be used to input at least one second image into a corresponding neural network model for super-resolution and up-sampling processing, and output a high-resolution second image . Alternatively, an interpolation algorithm, such as a bicubic interpolation algorithm, is used to perform image upsampling processing on at least one second image to obtain at least one second image with high resolution.
在一些实施例中,如图6所示,步骤S103之前可以包括步骤S105,步骤S103可以包括子步骤S1032。In some embodiments, as shown in FIG. 6 , step S105 may be included before step S103 , and step S103 may include sub-step S1032 .
S105、分别将每个所述辅摄像装置拍摄的多张所述第二图像进行HDR融合处理,生成每个所述辅摄像装置对应的高动态范围图像。S105. Perform HDR fusion processing on a plurality of the second images captured by each of the auxiliary camera devices, respectively, to generate a high dynamic range image corresponding to each of the auxiliary camera devices.
S1032、对所述至少一张第一图像和所述高动态范围图像进行图像融合处理。S1032. Perform image fusion processing on the at least one first image and the high dynamic range image.
若通过一个或多个辅摄像装置各自拍摄了多张第二图像,为了进一步提高全景图像的质量,在进行第一图像和第二图像的图像融合处理之前,先对每个辅摄像装置拍摄的多张第二图像进行HDR(High-Dynamic Range,高动态光照渲染)融合处理,生成每个辅摄像装置对应的高动态范围图像。比如,若采用辅摄像装置1和辅摄像装置2各自拍摄了多张第二图像,则分别将辅摄像装置1拍摄的多张第二图像进行HDR融合处理,生成对应的第一高动态范围图像,将辅摄像装置2拍摄的多张第二图像进行HDR融合处理,生成对应的第二高动态范围图像。然后,再对主摄像装置拍摄的至少一张第一图像、以及进行HDR融合处理生成的高动态范围图像进行图像融合处理。比如,将至少一张第一图像和第一高动态范围图像、第二高动态范围图像进行图像融合处理。相比于直接对获得的至少一张第一图像和至少一张第二图像进行图像融合处理,进一步提高了生成的全景图像的图像质量。If multiple second images are captured by one or more auxiliary camera devices, in order to further improve the quality of the panoramic image, before performing the image fusion processing of the first image and the second image, the HDR (High-Dynamic Range, high dynamic lighting rendering) fusion processing is performed on the plurality of second images to generate a high dynamic range image corresponding to each auxiliary camera device. For example, if the auxiliary camera 1 and the auxiliary camera 2 are used to capture multiple second images, respectively, the multiple second images captured by the auxiliary camera 1 are subjected to HDR fusion processing to generate the corresponding first high dynamic range image. , performing HDR fusion processing on the plurality of second images captured by the auxiliary camera device 2 to generate a corresponding second high dynamic range image. Then, image fusion processing is performed on at least one first image captured by the main camera device and a high dynamic range image generated by performing HDR fusion processing. For example, image fusion processing is performed on at least one first image, the first high dynamic range image, and the second high dynamic range image. Compared with directly performing image fusion processing on the obtained at least one first image and at least one second image, the image quality of the generated panoramic image is further improved.
在一些实施例中,在进行第一图像和第二图像的图像融合处理之前,先对每个辅摄像装置拍摄的多张第二图像进行HDR融合处理,生成每个辅摄像装置对应的高动态范围图像。若至少一张高动态范围图像的分辨率小于至少一张第一图像的分辨率,则对至少一张高动态范围图像进行图像上采样处理。若至少一张高动态范围图像的分辨率大于至少一张第一图像的分辨率,则对至少一张高动态范围图像进行图像下采样处理,或者对至少一张第一图像进行图像上采样处理。使得至少一张第一图像的分辨率与至少一张高动态范围图像的分辨率匹配,然后再对分辨率匹配的至少一张第一图像和至少一张高动态范围图像进行图像融合处理,生成对应的全景图像。通过HDR融合处理以及图像上/下采样处理,更进一步提高了全景图像的质量。In some embodiments, before performing the image fusion processing of the first image and the second image, HDR fusion processing is performed on a plurality of second images captured by each auxiliary camera device to generate a high dynamic image corresponding to each auxiliary camera device. range image. If the resolution of the at least one high dynamic range image is smaller than the resolution of the at least one first image, perform image upsampling processing on the at least one high dynamic range image. If the resolution of at least one high dynamic range image is greater than the resolution of at least one first image, perform image downsampling processing on at least one high dynamic range image, or perform image upsampling processing on at least one first image . Match the resolution of the at least one first image with the resolution of the at least one high dynamic range image, and then perform image fusion processing on the at least one first image and the at least one high dynamic range image whose resolutions match, to generate the corresponding panoramic image. Through HDR fusion processing and image up/down sampling processing, the quality of panoramic images is further improved.
在一些实施例中,对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理之前可以包括:当所述第一图像包括多张时,对多张所述第一图像进行图像融合处理,获得对应的第一融合图像;当所述第二图像包括多张时,对多张所述第二图像进行图像融合处理,获得对应的第二融合图像;所述对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理可以包括:对所述第一融合图像和所述第二融合图像进行图像融合处理。In some embodiments, before performing image fusion processing on the at least one first image and the at least one second image, the process may include: when the first image includes multiple images, performing image fusion processing on the multiple first images. Perform image fusion processing on the images to obtain a corresponding first fusion image; when the second images include multiple images, perform image fusion processing on the plurality of second images to obtain a corresponding second fusion image; Performing image fusion processing on the at least one first image and the at least one second image may include: performing image fusion processing on the first fusion image and the second fusion image.
例如,假设通过主摄像装置在主摄像装置的视场范围内进行3行8列的第一图像拍摄,获得多张第一图像,对该多张第一图像进行图像融合处理,获得对应的第一融合图像。相应地,若通过至少一个辅摄像装置在辅摄像装置的视场范围内拍摄了多张第二图像,也对该多张第二图像进行图像融合处理,获得对应的第二融合图像。然后,再对第一融合图像和第二融合图像进行图像融合处理,生成对应的全景图像。For example, it is assumed that 3 rows and 8 columns of first images are captured by the main camera device within the field of view of the main camera device to obtain multiple first images, and image fusion processing is performed on the multiple first images to obtain the corresponding first images. a fused image. Correspondingly, if a plurality of second images are captured by at least one auxiliary camera device within the field of view of the auxiliary camera device, image fusion processing is also performed on the plurality of second images to obtain corresponding second fusion images. Then, image fusion processing is performed on the first fused image and the second fused image to generate a corresponding panoramic image.
在一些实施例中,对多张第一图像进行图像融合处理之前,先对多张第一图像进行光照补偿,以使得多张第一图像的亮度一致,从而避免多张第一图像融合生成的第一融合图像出现亮度差异。In some embodiments, before performing image fusion processing on the plurality of first images, illumination compensation is performed on the plurality of first images, so that the brightness of the plurality of first images is consistent, thereby avoiding the fusion of the plurality of first images. Brightness differences appear in the first fused image.
同样地,对多张第二图像进行图像融合处理之前,先对多张第二图像进行光照补偿,以使得多张第二图像的亮度一致。以及,对第一融合图像和第二融合图像进行图像融合处理之前,先对第一融合图像和第二融合图像进行光照补偿,以使得第一融合图像和第二融合图像的亮度一致,从而确保生成的全景图 像的质量。Similarly, before performing image fusion processing on the plurality of second images, illumination compensation is performed on the plurality of second images, so that the brightness of the plurality of second images is consistent. And, before performing image fusion processing on the first fusion image and the second fusion image, first perform illumination compensation on the first fusion image and the second fusion image, so that the brightness of the first fusion image and the second fusion image are consistent, so as to ensure The quality of the resulting panorama image.
在一些实施例中,对多张所述第二图像进行图像融合处理,获得对应的第二融合图像可以包括:对多张所述第二图像进行经纬度映射,获得对应的多张第二局部区域图像;对多张所述第二局部区域图像执行第一找缝操作;根据第一找缝操作结果,对多张所述第二局部区域图像进行多频段融合()处理,获得所述第二融合图像。In some embodiments, performing image fusion processing on the plurality of second images to obtain the corresponding second fused images may include: performing latitude and longitude mapping on the plurality of second images to obtain the corresponding plurality of second local regions image; perform a first seam finding operation on a plurality of the second local area images; according to the results of the first seam finding operation, perform multi-band fusion () processing on a plurality of the second local area images to obtain the second Fused images.
例如,假设第二图像包括img_up_1图像和img_up_2图像,分别对img_up_1图像和img_up_2图像进行经纬度映射,获得img_up_1图像对应的第二局部区域图像sph_up_1,以及img_up_2图像对应的第二局部区域图像sph_up_2。之后,对sph_up_1和sph_up_2两张第二局部区域图像执行找缝操作。为了便于区分描述,下文将对sph_up_1和sph_up_2两张第二局部区域图像的找缝操作称为第一找缝操作。For example, assuming that the second image includes the img_up_1 image and the img_up_2 image, respectively perform latitude and longitude mapping on the img_up_1 image and the img_up_2 image to obtain the second local area image sph_up_1 corresponding to the img_up_1 image and the second local area image sph_up_2 corresponding to the img_up_2 image. After that, a seam finding operation is performed on the two second local area images sph_up_1 and sph_up_2. In order to facilitate the distinguishing description, the seam finding operation of the two second local area images sph_up_1 and sph_up_2 is hereinafter referred to as the first seam finding operation.
在一些实施例中,对多张所述第二局部区域图像执行第一找缝操作可以包括:获取多张所述第二局部区域图像的第一重叠区域;根据所述第一重叠区域执行所述第一找缝操作。In some embodiments, performing the first seam finding operation on the plurality of second partial area images may include: acquiring a first overlapping area of the plurality of second partial area images; performing the first overlapping area according to the first overlapping area. The first seam finding operation is described.
仍以上述sph_up_1和sph_up_2两张第二局部区域图像为例,提取sph_up_1和sph_up_2两张第二局部区域图像的重叠区域,根据重叠区域执行找缝操作,在重叠区域找到一条差异最小的曲线。为了便于区分描述,下文将sph_up_1和sph_up_2两张第二局部区域图像的重叠区域称为第一重叠区域。Still taking the above-mentioned two second local area images sph_up_1 and sph_up_2 as examples, extract the overlapping area of the two second local area images sph_up_1 and sph_up_2, perform a seam finding operation according to the overlapping area, and find a curve with the smallest difference in the overlapping area. In order to facilitate the distinguishing description, the overlapping area of the two second partial area images sph_up_1 and sph_up_2 is hereinafter referred to as the first overlapping area.
在一些实施例中,对多张所述第二图像进行经纬度映射之前可以包括:对多张所述第二图像对应的内参矩阵和外参矩阵进行优化;所述对多张所述第二图像进行经纬度映射可以包括:根据多张所述第二图像对应的优化后的所述内参矩阵和所述外参矩阵,将多张所述第二图像进行经纬度映射,获得多张所述第二局部区域图像、以及多张所述第二局部区域图像对应的掩码图像;所述获取多张所述第二局部区域图像的第一重叠区域可以包括:根据多张所述第二局部区域图像对应的所述掩码图像,获取多张所述第二局部区域图像的所述第一重叠区域。In some embodiments, before performing latitude and longitude mapping on the plurality of second images may include: optimizing the internal parameter matrix and the external parameter matrix corresponding to the plurality of second images; Performing latitude and longitude mapping may include: performing latitude and longitude mapping on a plurality of the second images according to the optimized internal parameter matrix and the external parameter matrix corresponding to a plurality of the second images to obtain a plurality of the second partial images. area images, and multiple mask images corresponding to the second partial area images; the acquiring the first overlapping area of the multiple second partial area images may include: corresponding to the multiple second partial area images The mask image is obtained, and the first overlapping area of a plurality of the second partial area images is obtained.
其中,先对主摄像装置和辅摄像装置进行内外参标定,在主摄像装置居中,也即yaw、pitch、roll角全都置为0的条件下,对辅摄像装置进行内外参标定, 获得辅摄像装置内参矩阵K、以及外参矩阵(包括旋转矩阵R、平移矩阵T),一般平移矩阵T使用时被忽略。例如,若辅摄像装置包括辅摄像装置1和辅摄像装置2,获取辅摄像装置1的内参矩阵K_up_1、外参矩阵(R_up_1,T_up_1),以及辅摄像装置2的内参矩阵K_up_2、外参矩阵(R_up_2,T_up_2)。Among them, the internal and external parameters of the main camera device and the auxiliary camera device are first calibrated, and the main camera device is centered, that is, under the condition that the yaw, pitch, and roll angles are all set to 0, the internal and external parameters of the auxiliary camera device are calibrated to obtain the auxiliary camera. The internal parameter matrix K and the external parameter matrix (including the rotation matrix R and the translation matrix T) of the device are generally ignored when the translation matrix T is used. For example, if the auxiliary camera device includes the auxiliary camera device 1 and the auxiliary camera device 2, the internal parameter matrix K_up_1 and the external parameter matrix (R_up_1, T_up_1) of the auxiliary camera device 1 and the internal parameter matrix K_up_2 and the external parameter matrix ( R_up_2, T_up_2).
基于标定的内参矩阵和外参矩阵,主摄像装置拍摄的第一图像和辅摄像装置拍摄的第二图像对应的内参矩阵是已知的,两张第一图像之间的位姿关系可以直接通过两张第一图像的IMU(Inertial measurement unit,惯性测量单元)数据推导,第一图像与第二图像间的位姿关系可以通过IMU数据或标定的旋转矩阵R推导,从而获得第二图像的外参矩阵。Based on the calibrated internal parameter matrix and external parameter matrix, the internal parameter matrix corresponding to the first image captured by the main camera device and the second image captured by the auxiliary camera device are known, and the pose relationship between the two first images can be directly obtained by The IMU (Inertial measurement unit, inertial measurement unit) data of the two first images is derived, and the pose relationship between the first image and the second image can be derived through the IMU data or the calibrated rotation matrix R, so as to obtain the external image of the second image. parameter matrix.
使用中时,通过对多张第二图像对应的内参矩阵和外参矩阵进行优化,获得更加准确的第二图像对应的内参矩阵和外参矩阵。在一些实施例中,所述对多张所述第二图像对应的内参矩阵和外参矩阵进行优化可以包括:基于所述至少一张第一图像,确定待与多张所述第二图像进行图像特征点匹配的目标第一图像;将确定的所述目标第一图像与多张所述第二图像进行图像特征点匹配,获得对应的图像特征点匹配信息;将所述图像特征点匹配信息、以及所述目标第一图像对应的内参矩阵和外参矩阵、多张所述第二图像对应的内参矩阵和外参矩阵,输入光束法平差模型处理,获得多张所述第二图像对应的优化后的所述内参矩阵和所述外参矩阵。In use, by optimizing the internal parameter matrix and the external parameter matrix corresponding to the plurality of second images, more accurate internal parameter matrix and external parameter matrix corresponding to the second image are obtained. In some embodiments, the optimizing the internal parameter matrices and the external parameter matrices corresponding to the plurality of second images may include: based on the at least one first image, determining, based on the at least one first image, to perform the process with the plurality of second images. The target first image matched by the image feature points; the determined first target image and a plurality of the second images are subjected to image feature point matching to obtain corresponding image feature point matching information; the image feature point matching information , and the internal parameter matrix and external parameter matrix corresponding to the first image of the target, the internal parameter matrix and the external parameter matrix corresponding to a plurality of the second images, input beam method adjustment model processing, and obtain a plurality of the second images corresponding to The optimized internal parameter matrix and the external parameter matrix.
示例性的,若第一图像包括单张,则将该单张的第一图像确定为目标第一图像;若第一图像包括多张,则将全部的第一图像,确定为目标第一图像,或者从多张第一图像中按照预设规则选取若干第一图像,确定为目标第一图像。Exemplarily, if the first image includes a single image, the first image of the single image is determined as the target first image; if the first image includes multiple images, all the first images are determined as the target first image. , or select several first images from the plurality of first images according to preset rules, and determine them as the target first images.
示例性的,主摄像装置在主摄像装置的视场范围内进行多行多列的第一图像拍摄,获得多行多列的第一图像。通过从多列的第一图像中,选择间隔列的第一图像,确定为目标第一图像。例如,选择1、3、5、7列的第一图像确定为目标第一图像。Exemplarily, the main camera device captures first images of multiple rows and columns within the field of view of the main camera device to obtain first images of multiple rows and columns. By selecting the first image of the interval column from the first images of the plurality of columns, it is determined as the target first image. For example, the first images in columns 1, 3, 5, and 7 are selected to be determined as the target first images.
每张第二图像对应的外参矩阵(旋转矩阵R)包括每张第二图像与其他第二图像之间的位姿数据、以及每张第二图像与目标第一图像之间的位姿数据。其中,每张第二图像与目标第一图像之间的位姿数据由标定的旋转矩阵R推导得到,或由每张第二图像的IMU数据与目标第一图像的IMU数据推导得到。The external parameter matrix (rotation matrix R) corresponding to each second image includes the pose data between each second image and other second images, and the pose data between each second image and the target first image . The pose data between each second image and the target first image is derived from the calibrated rotation matrix R, or derived from the IMU data of each second image and the IMU data of the target first image.
之后,将确定的目标第一图像与多张第二图像进行图像特征点匹配,获得对应的图像特征点匹配信息,将获得的图像特征点匹配信息、以及目标第一图像对应的内参矩阵和外参矩阵、多张第二图像对应的内参矩阵和外参矩阵,输入Bundle Adjustment光束法平差模型处理,获得目标第一图像对应的优化后的内参矩阵和外参矩阵,以及多张第二图像对应的优化后的内参矩阵和外参矩阵。例如,仍假设第二图像包括img_up_1图像和img_up_2图像,获得img_up_1图像对应的优化后的内参矩阵K_up_refine1、外参矩阵R_up_refine_1,以及img_up_2图像对应的优化后的内参矩阵K_up_refine2、外参矩阵R_up_refine_2。After that, perform image feature point matching on the determined target first image and multiple second images to obtain corresponding image feature point matching information, and match the obtained image feature point matching information, as well as the internal parameter matrix and external parameter matrix corresponding to the target first image. The parameter matrix, the internal parameter matrix and the external parameter matrix corresponding to multiple second images, input the Bundle Adjustment beam method adjustment model for processing, and obtain the optimized internal parameter matrix and external parameter matrix corresponding to the target first image, as well as multiple second images. The corresponding optimized internal parameter matrix and external parameter matrix. For example, it is still assumed that the second image includes the img_up_1 image and the img_up_2 image, and the optimized internal parameter matrix K_up_refine1 and the external parameter matrix R_up_refine_1 corresponding to the img_up_1 image, and the optimized internal parameter matrix K_up_refine2 and the external parameter matrix R_up_refine_2 corresponding to the img_up_2 image are obtained.
根据img_up_1图像和img_up_2图像对应的优化后的内参矩阵和外参矩阵,将img_up_1图像和img_up_2图像行经纬度映射,获得img_up_1图像对应的第二局部区域图像sph_up_1、sph_up_1对应的掩码图像mask_up_1,以及img_up_2图像对应的第二局部区域图像sph_up_2、sph_up_2对应的掩码图像mask_up_2。根据掩码图像mask_up_1和掩码图像mask_up_2,提取sph_up_1和sph_up_2两张第二局部区域图像的第一重叠区域。According to the optimized internal parameter matrix and external parameter matrix corresponding to the img_up_1 image and the img_up_2 image, map the img_up_1 image and the img_up_2 image to the latitude and longitude to obtain the second local area image corresponding to the img_up_1 image sph_up_1, sph_up_1 corresponding mask image mask_up_1, and img_up_2 The mask image mask_up_2 corresponding to the second local area images sph_up_2 and sph_up_2 corresponding to the images. According to the mask image mask_up_1 and the mask image mask_up_2, extract the first overlapping area of the two second local area images sph_up_1 and sph_up_2.
根据第一重叠区域执行第一找缝操作,在第一重叠区域找到一条差异最小的曲线。之后,基于第一找缝操作得到的这条差异最小的曲线,对sph_up_1和sph_up_2两张第二局部区域图像进行多频段融合(multi-band blend)处理,获得第二融合图像sph_up、以及第二融合图像sph_up对应的掩码图像mask_up。The first seam finding operation is performed according to the first overlapping area, and a curve with the smallest difference is found in the first overlapping area. After that, based on the curve with the smallest difference obtained by the first seam finding operation, perform multi-band blend processing on the two second local area images sph_up_1 and sph_up_2 to obtain the second fusion image sph_up and the second The mask image mask_up corresponding to the fusion image sph_up.
同时,对第一图像进行ERP(equirectangular projection,球面投影)处理,得到第一图像对应的第一融合图像sph_side、以及第一融合图像sph_side对应的掩码图像mask_side。At the same time, ERP (equirectangular projection, spherical projection) processing is performed on the first image to obtain a first fusion image sph_side corresponding to the first image and a mask image mask_side corresponding to the first fusion image sph_side.
然后,根据掩码图像mask_side和掩码图像mask_up,提取第一融合图像sph_side和第二融合图像sph_up的第二重叠区域。根据第二重叠区域执行第二找缝操作,在第二重叠区域找到一条差异最小的曲线。之后,基于第二找缝操作得到的这条差异最小的曲线,对第一融合图像sph_side和第二融合图像sph_up进行多频段融合处理,获得对应的全景图像。Then, according to the mask image mask_side and the mask image mask_up, the second overlapping area of the first fused image sph_side and the second fused image sph_up is extracted. A second seam finding operation is performed according to the second overlapping area, and a curve with the smallest difference is found in the second overlapping area. After that, based on the curve with the smallest difference obtained by the second seam finding operation, multi-band fusion processing is performed on the first fusion image sph_side and the second fusion image sph_up to obtain a corresponding panoramic image.
上述实施例通过获取可移动平台上装载的主摄像装置在主摄像装置的视场范围内拍摄的至少一张第一图像,以及获取可移动平台上装载的至少一个辅摄像装置在辅摄像装置的视场范围内拍摄的至少一张第二图像,其中,辅摄像装 置的视场范围包括可移动平台的上方区域,主摄像装置的视场范围与辅摄像装置的视场范围之间存在重叠范围,并对所获取的至少一张第一图像和至少一张第二图像进行图像融合处理,生成对应的全景图像,相比于通过填充操作获得的全景图像,更加自然和真实,提高了全景图像的质量。In the above-mentioned embodiments, at least one first image captured by the main camera mounted on the movable platform within the field of view of the main camera is acquired, and at least one auxiliary camera mounted on the movable platform is acquired in the field of view of the auxiliary camera. At least one second image captured within the field of view, wherein the field of view of the auxiliary camera device includes the upper area of the movable platform, and there is an overlapping range between the field of view of the main camera device and the field of view of the auxiliary camera device , and perform image fusion processing on the obtained at least one first image and at least one second image to generate a corresponding panoramic image, which is more natural and realistic than the panoramic image obtained by the filling operation, and improves the panoramic image. the quality of.
请参阅图7,图7是本申请一实施例提供的全景图像生成装置的示意性框图。Please refer to FIG. 7 , which is a schematic block diagram of a panoramic image generating apparatus provided by an embodiment of the present application.
如图7所示,该全景图像生成装置300可以包括包括处理器311和存储器312,处理器311和存储器312通过总线连接,该总线比如为I2C(Inter-integrated Circuit)总线。As shown in FIG. 7 , the panoramic image generating apparatus 300 may include a processor 311 and a memory 312, and the processor 311 and the memory 312 are connected through a bus, such as an I2C (Inter-integrated Circuit) bus.
具体地,处理器311可以是微控制单元(Micro-controller Unit,MCU)、中央处理单元(Central Processing Unit,CPU)或数字信号处理器(Digital Signal Processor,DSP)等。Specifically, the processor 311 may be a micro-controller unit (Micro-controller Unit, MCU), a central processing unit (Central Processing Unit, CPU), or a digital signal processor (Digital Signal Processor, DSP) or the like.
具体地,存储器312可以是Flash芯片、只读存储器(ROM,Read-Only Memory)磁盘、光盘、U盘或移动硬盘等。存储器312中存储有供处理器311执行的各种计算机程序。Specifically, the memory 312 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, or a mobile hard disk, and the like. Various computer programs to be executed by the processor 311 are stored in the memory 312 .
其中,所述处理器用于运行存储在存储器中的计算机程序,并在执行所述计算机程序时实现如下步骤:Wherein, the processor is used for running the computer program stored in the memory, and implements the following steps when executing the computer program:
获取可移动平台上装载的主摄像装置在所述主摄像装置的视场范围内拍摄的至少一张第一图像;acquiring at least one first image captured by the main camera mounted on the movable platform within the field of view of the main camera;
获取所述可移动平台上装载的至少一个辅摄像装置在所述辅摄像装置的视场范围内拍摄的至少一张第二图像,所述辅摄像装置的视场范围包括所述可移动平台的上方区域,所述主摄像装置的视场范围与所述辅摄像装置的视场范围之间存在重叠范围;Obtain at least one second image captured by at least one auxiliary camera device mounted on the movable platform within the field of view of the auxiliary camera device, where the field of view of the auxiliary camera device includes the movable platform. In the upper area, there is an overlapping range between the field of view of the main camera device and the field of view of the auxiliary camera device;
对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理,生成对应的全景图像。Perform image fusion processing on the at least one first image and the at least one second image to generate a corresponding panoramic image.
在一些实施例中,所述处理器在实现所述对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理之前,用于实现:In some embodiments, before performing the image fusion processing on the at least one first image and the at least one second image, the processor is configured to:
对所述至少一张第一图像或所述至少一张第二图像进行图像预处理,以使所述至少一张第一图像的分辨率与所述至少一张第二图像的分辨率匹配;performing image preprocessing on the at least one first image or the at least one second image so that the resolution of the at least one first image matches the resolution of the at least one second image;
所述处理器在实现所述对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理时,用于实现:When implementing the image fusion processing on the at least one first image and the at least one second image, the processor is configured to implement:
对分辨率匹配的所述至少一张第一图像和所述至少一张第二图像进行图像融合处理。Perform image fusion processing on the at least one first image and the at least one second image whose resolutions are matched.
在一些实施例中,所述处理器在实现所述对所述至少一张第一图像或所述至少一张第二图像进行图像预处理时,用于实现:In some embodiments, when implementing the image preprocessing on the at least one first image or the at least one second image, the processor is configured to implement:
若所述至少一张第二图像的分辨率小于所述至少一张第一图像的分辨率,则对所述至少一张第二图像进行图像上采样处理;If the resolution of the at least one second image is smaller than the resolution of the at least one first image, perform image upsampling processing on the at least one second image;
若所述至少一张第二图像的分辨率大于所述至少一张第一图像的分辨率,则对所述至少一张第二图像进行图像下采样处理,或者对对所述至少一张第一图像进行图像上采样处理。If the resolution of the at least one second image is greater than the resolution of the at least one first image, perform image downsampling processing on the at least one second image, or perform image downsampling on the at least one second image, or perform an image downsampling process on the at least one second image. An image is subjected to image upsampling processing.
在一些实施例中,所述处理器在实现所述对所述至少一张第二图像进行图像上采样处理时,用于实现:In some embodiments, when implementing the image upsampling process on the at least one second image, the processor is configured to implement:
将所述至少一张第二图像输入神经网络模型进行超分上采样处理;或者inputting the at least one second image into a neural network model for super-sampling and upsampling; or
采用双三次插值算法对所述至少一张第二图像进行图像上采样处理。An image upsampling process is performed on the at least one second image by using a bicubic interpolation algorithm.
在一些实施例中,所述处理器在实现所述对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理之前,用于实现:In some embodiments, before performing the image fusion processing on the at least one first image and the at least one second image, the processor is configured to:
分别将每个所述辅摄像装置拍摄的多张所述第二图像进行HDR融合处理,生成每个所述辅摄像装置对应的高动态范围图像;respectively performing HDR fusion processing on a plurality of the second images captured by each of the auxiliary cameras to generate a high dynamic range image corresponding to each of the auxiliary cameras;
所述处理器在实现所述对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理时,用于实现:When implementing the image fusion processing on the at least one first image and the at least one second image, the processor is configured to implement:
对所述至少一张第一图像和所述高动态范围图像进行图像融合处理。Perform image fusion processing on the at least one first image and the high dynamic range image.
在一些实施例中,所述处理器在实现所述对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理之前,用于实现:In some embodiments, before performing the image fusion processing on the at least one first image and the at least one second image, the processor is configured to:
当所述第一图像包括多张时,对多张所述第一图像进行图像融合处理,获得对应的第一融合图像;When the first images include multiple sheets, image fusion processing is performed on the multiple sheets of the first images to obtain corresponding first fusion images;
当所述第二图像包括多张时,对多张所述第二图像进行图像融合处理,获得对应的第二融合图像;When the second images include multiple sheets, image fusion processing is performed on the multiple sheets of the second images to obtain corresponding second fusion images;
所述处理器在实现所述对所述至少一张第一图像和所述至少一张第二图像 进行图像融合处理时,用于实现:When implementing the image fusion processing on the at least one first image and the at least one second image, the processor is used to implement:
对所述第一融合图像和所述第二融合图像进行图像融合处理。Perform image fusion processing on the first fusion image and the second fusion image.
在一些实施例中,所述处理器在实现所述对多张所述第二图像进行图像融合处理,获得对应的第二融合图像时,用于实现:In some embodiments, when implementing the image fusion processing on the plurality of second images to obtain the corresponding second fused images, the processor is configured to implement:
对多张所述第二图像进行经纬度映射,获得对应的多张第二局部区域图像;Performing latitude and longitude mapping on a plurality of the second images to obtain a plurality of corresponding second local area images;
对多张所述第二局部区域图像执行第一找缝操作;performing a first seam finding operation on a plurality of the second local area images;
根据第一找缝操作结果,对多张所述第二局部区域图像进行多频段融合处理,获得所述第二融合图像。According to the result of the first seam finding operation, multi-band fusion processing is performed on a plurality of the second local area images to obtain the second fusion image.
在一些实施例中,所述处理器在实现所述对多张所述第二局部区域图像执行第一找缝操作时,用于实现:In some embodiments, when implementing the first seam finding operation on the plurality of second partial region images, the processor is configured to implement:
获取多张所述第二局部区域图像的第一重叠区域;acquiring a first overlapping area of a plurality of the second partial area images;
根据所述第一重叠区域执行所述第一找缝操作。The first seam finding operation is performed according to the first overlapping area.
在一些实施例中,所述处理器在实现所述对多张所述第二图像进行经纬度映射之前,用于实现:In some embodiments, before the processor implements the latitude and longitude mapping on the plurality of second images, the processor is configured to implement:
对多张所述第二图像对应的内参矩阵和外参矩阵进行优化;Optimizing the internal parameter matrix and the external parameter matrix corresponding to the plurality of second images;
所述处理器在实现所述对多张所述第二图像进行经纬度映射时,用于实现:When implementing the latitude and longitude mapping on the plurality of second images, the processor is configured to implement:
根据多张所述第二图像对应的优化后的所述内参矩阵和所述外参矩阵,将多张所述第二图像进行经纬度映射,获得多张所述第二局部区域图像、以及多张所述第二局部区域图像对应的掩码图像;According to the optimized internal parameter matrix and the external parameter matrix corresponding to the plurality of second images, perform latitude and longitude mapping on the plurality of second images to obtain a plurality of the second local area images and a plurality of a mask image corresponding to the second local area image;
所述处理器在实现所述获取多张所述第二局部区域图像的第一重叠区域时,用于实现:When implementing the acquiring of the first overlapping area of the plurality of second partial area images, the processor is configured to implement:
根据多张所述第二局部区域图像对应的所述掩码图像,获取多张所述第二局部区域图像的所述第一重叠区域。The first overlapping area of the plurality of second partial area images is acquired according to the mask images corresponding to the plurality of second partial area images.
在一些实施例中,所述处理器在实现所述对多张所述第二图像对应的内参矩阵和外参矩阵进行优化时,用于实现:In some embodiments, when implementing the optimization of the internal parameter matrices and the external parameter matrices corresponding to the plurality of second images, the processor is configured to implement:
基于所述至少一张第一图像,确定待与多张所述第二图像进行图像特征点匹配的目标第一图像;determining, based on the at least one first image, a target first image to be matched with a plurality of the second images for image feature point matching;
将确定的所述目标第一图像与多张所述第二图像进行图像特征点匹配,获得对应的图像特征点匹配信息;Perform image feature point matching on the determined first image of the target and a plurality of the second images to obtain corresponding image feature point matching information;
将所述图像特征点匹配信息、以及所述目标第一图像对应的内参矩阵和外参矩阵、多张所述第二图像对应的内参矩阵和外参矩阵,输入光束法平差模型处理,获得多张所述第二图像对应的优化后的所述内参矩阵和所述外参矩阵。The matching information of the image feature points, the internal parameter matrix and the external parameter matrix corresponding to the first image of the target, the internal parameter matrix and the external parameter matrix corresponding to the plurality of second images, and the input beam method adjustment model are processed to obtain The optimized internal parameter matrix and the external parameter matrix corresponding to the plurality of second images.
在一些实施例中,每张所述第二图像对应的所述外参矩阵包括每张所述第二图像与其他第二图像之间的位姿数据、以及每张所述第二图像与所述目标第一图像之间的位姿数据,其中,每张所述第二图像与所述目标第一图像之间的位姿数据由标定的旋转矩阵,或每张所述第二图像的IMU数据与所述目标第一图像的IMU数据生成。In some embodiments, the extrinsic parameter matrix corresponding to each of the second images includes pose data between each of the second images and other second images, and each of the second images and the The pose data between the first images of the target, wherein the pose data between each of the second images and the first image of the target is determined by a calibrated rotation matrix, or the IMU of each second image. The data is generated with the IMU data of the first image of the target.
在一些实施例中,所述处理器在实现所述基于所述至少一张第一图像,确定待与多张所述第二图像进行图像特征点匹配的目标第一图像时,用于实现:In some embodiments, when implementing the determining, based on the at least one first image, the target first image to be matched with the image feature points of the plurality of second images, the processor is configured to implement:
若所述至少一张第一图像包括单张,则将单张的所述第一图像确定为所述目标第一图像;If the at least one first image includes a single image, determining the single first image as the target first image;
若所述至少一张第一图像包括多张,则将全部的所述第一图像,确定为所述目标第一图像,或者从多张所述第一图像中,按照预设规则选取若干第一图像,确定为所述目标第一图像。If the at least one first image includes multiple images, determine all the first images as the target first image, or select several first images from the multiple first images according to a preset rule an image, determined as the first image of the target.
在一些实施例中,多张所述第一图像包括多列,所述处理器在实现所述从多张所述第一图像中,按照预设规则选取若干第一图像,确定为所述目标第一图像时,用于实现:In some embodiments, the plurality of first images include multiple columns, and the processor selects a plurality of first images from the plurality of first images according to a preset rule, and determines them as the target The first image is used to achieve:
从多列的所述第一图像中,选择间隔列的所述第一图像,确定为所述目标第一图像。From the first images in the plurality of columns, the first images in the interval column are selected and determined as the target first images.
在一些实施例中,所述处理器还用于实现:In some embodiments, the processor is further configured to:
当所述主摄像装置在所述主摄像装置的视场范围内进行每一列的所述第一图像拍摄时,所述至少一个辅摄像装置在所述辅摄像装置的视场范围内进行所述第二图像拍摄。When the main camera device captures the first image of each column within the field of view of the main camera device, the at least one auxiliary camera device performs the first image capture within the field of view of the auxiliary camera device The second image is taken.
在一些实施例中,所述处理器还用于实现:In some embodiments, the processor is further configured to:
根据所述可移动平台上装载的多个辅摄像装置对应的FOV信息、以及所述主摄像装置对应的FOV信息,从所述多个辅摄像装置中选择所述至少一个辅摄像装置。The at least one auxiliary camera device is selected from the plurality of auxiliary camera devices according to the FOV information corresponding to the plurality of auxiliary camera devices mounted on the movable platform and the FOV information corresponding to the main camera device.
在一些实施例中,所述处理器在实现所述根据所述可移动平台上装载的多 个辅摄像装置对应的FOV信息、以及所述主摄像装置对应的FOV信息,从所述多个辅摄像装置中选择所述至少一个辅摄像装置时,用于实现:In some embodiments, the processor implements the method according to the FOV information corresponding to the plurality of auxiliary camera devices loaded on the movable platform and the FOV information corresponding to the main camera device, from the plurality of auxiliary camera devices. When the at least one auxiliary camera device is selected in the camera device, it is used to realize:
若所述辅摄像装置的FOV大于或等于预设FOV阈值,则从所述多个辅摄像装置中选择单个所述辅摄像装置。If the FOV of the auxiliary camera device is greater than or equal to a preset FOV threshold, a single auxiliary camera device is selected from the plurality of auxiliary camera devices.
在一些实施例中,所述处理器在实现所述获取所述可移动平台上装载的至少一个辅摄像装置在所述辅摄像装置的视场范围内拍摄的至少一张第二图像时,用于实现:In some embodiments, when the processor implements the acquiring at least one second image captured by at least one auxiliary camera device mounted on the movable platform within the field of view of the auxiliary camera device, use To achieve:
若所述辅摄像装置的FOV大于或等于预设FOV阈值,则获取单个所述辅摄像装置拍摄的单张所述第二图像;If the FOV of the auxiliary camera device is greater than or equal to a preset FOV threshold, acquiring a single second image captured by a single auxiliary camera device;
若所述辅摄像装置的FOV小于所述预设FOV阈值,则获取单个所述辅摄像装置旋转在不同方位拍摄的多张所述第二图像,或者获取一个以上的所述辅摄像装置拍摄的多张所述第二图像。If the FOV of the auxiliary camera device is less than the preset FOV threshold, acquire multiple second images shot by a single auxiliary camera device rotated in different directions, or acquire images shot by more than one auxiliary camera device a plurality of the second images.
在一些实施例中,所述处理器还用于实现:In some embodiments, the processor is further configured to:
显示辅摄像装置选择界面,以供用户从所述辅摄像装置选择界面上显示的所述可移动平台上装载的多个辅摄像装置中,选择目标辅摄像装置;displaying an auxiliary camera device selection interface for the user to select a target auxiliary camera device from a plurality of auxiliary camera devices mounted on the movable platform displayed on the auxiliary camera device selection interface;
将用户选择的所述目标辅摄像装置,确定为所述至少一个辅摄像装置。The target auxiliary camera device selected by the user is determined as the at least one auxiliary camera device.
在一些实施例中,所述处理器还用于实现:In some embodiments, the processor is further configured to:
根据当前拍摄模式,从所述可移动平台上装载的多个辅摄像装置中选择所述至少一个辅摄像装置。The at least one auxiliary camera device is selected from a plurality of auxiliary camera devices loaded on the movable platform according to the current shooting mode.
在一些实施例中,所述处理器在实现所述根据当前拍摄模式,从所述可移动平台上装载的多个辅摄像装置中选择所述至少一个辅摄像装置时,具体实现:In some embodiments, when the processor selects the at least one auxiliary camera device from a plurality of auxiliary camera devices loaded on the movable platform according to the current shooting mode, the processor specifically implements:
若所述当前拍摄模式为垂直全景模式,则从所述多个辅摄像装置中选择单个所述辅摄像装置;If the current shooting mode is a vertical panorama mode, selecting a single auxiliary camera device from the plurality of auxiliary camera devices;
若所述当前拍摄模式为球形全景模式,则从所述多个辅摄像装置中选择一个以上的所述辅摄像装置。If the current shooting mode is a spherical panorama mode, selecting one or more of the auxiliary camera devices from the plurality of auxiliary camera devices.
本申请的实施例中还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序中包括程序指令,所述处理器执行所述程序指令,实现本申请实施例提供的全景图像生成方法的步骤。The embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program, the computer program includes program instructions, and the processor executes the program instructions to implement the present application The steps of the panorama image generating method provided by the embodiment.
其中,所述计算机可读存储介质可以是前述实施例所述的可移动平台或全 景图像生成装置的内部存储单元,例如所述可移动平台或全景图像生成装置的硬盘或内存。所述计算机可读存储介质也可以是所述可移动平台或全景图像生成装置的外部存储设备,例如所述可移动平台或全景图像生成装置上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。Wherein, the computer-readable storage medium may be the internal storage unit of the movable platform or the panoramic image generating device described in the foregoing embodiments, such as a hard disk or memory of the movable platform or the panoramic image generating device. The computer-readable storage medium can also be an external storage device of the movable platform or the panoramic image generation device, such as a plug-in hard disk equipped on the movable platform or the panoramic image generation device, a smart memory card (Smart Media) Card, SMC), secure digital (Secure Digital, SD) card, flash memory card (Flash Card), etc.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of various equivalents within the technical scope disclosed in the present application. Modifications or substitutions shall be covered by the protection scope of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (42)

  1. 一种全景图像生成方法,其特征在于,包括:A method for generating panoramic images, comprising:
    获取可移动平台上装载的主摄像装置在所述主摄像装置的视场范围内拍摄的至少一张第一图像;acquiring at least one first image captured by the main camera mounted on the movable platform within the field of view of the main camera;
    获取所述可移动平台上装载的至少一个辅摄像装置在所述辅摄像装置的视场范围内拍摄的至少一张第二图像,所述辅摄像装置的视场范围包括所述可移动平台的上方区域,所述主摄像装置的视场范围与所述辅摄像装置的视场范围之间存在重叠范围;Obtain at least one second image captured by at least one auxiliary camera device mounted on the movable platform within the field of view of the auxiliary camera device, where the field of view of the auxiliary camera device includes the movable platform. In the upper area, there is an overlapping range between the field of view of the main camera device and the field of view of the auxiliary camera device;
    对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理,生成对应的全景图像。Perform image fusion processing on the at least one first image and the at least one second image to generate a corresponding panoramic image.
  2. 根据权利要求1所述的方法,其特征在于,所述对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理之前,包括:The method according to claim 1, wherein before performing image fusion processing on the at least one first image and the at least one second image, the method comprises:
    对所述至少一张第一图像或所述至少一张第二图像进行图像预处理,以使所述至少一张第一图像的分辨率与所述至少一张第二图像的分辨率匹配;performing image preprocessing on the at least one first image or the at least one second image so that the resolution of the at least one first image matches the resolution of the at least one second image;
    所述对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理,包括:The performing image fusion processing on the at least one first image and the at least one second image includes:
    对分辨率匹配的所述至少一张第一图像和所述至少一张第二图像进行图像融合处理。Perform image fusion processing on the at least one first image and the at least one second image whose resolutions are matched.
  3. 根据权利要求2所述的方法,其特征在于,所述对所述至少一张第一图像或所述至少一张第二图像进行图像预处理,包括:The method according to claim 2, wherein the performing image preprocessing on the at least one first image or the at least one second image comprises:
    若所述至少一张第二图像的分辨率小于所述至少一张第一图像的分辨率,则对所述至少一张第二图像进行图像上采样处理;If the resolution of the at least one second image is smaller than the resolution of the at least one first image, perform image upsampling processing on the at least one second image;
    若所述至少一张第二图像的分辨率大于所述至少一张第一图像的分辨率,则对所述至少一张第二图像进行图像下采样处理,或者对所述至少一张第一图像进行图像上采样处理。If the resolution of the at least one second image is greater than the resolution of the at least one first image, perform image down-sampling processing on the at least one second image, or perform image downsampling on the at least one second image, or perform an image downsampling process on the at least one first image. The image is subjected to image upsampling processing.
  4. 根据权利要求3所述的方法,其特征在于,所述对所述至少一张第二图像进行图像上采样处理,包括:The method according to claim 3, wherein the performing image upsampling processing on the at least one second image comprises:
    将所述至少一张第二图像输入神经网络模型进行超分上采样处理;或者inputting the at least one second image into a neural network model for super-sampling and upsampling; or
    采用双三次插值算法对所述至少一张第二图像进行图像上采样处理。An image upsampling process is performed on the at least one second image by using a bicubic interpolation algorithm.
  5. 根据权利要求1所述的方法,其特征在于,所述对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理之前,包括:The method according to claim 1, wherein before performing image fusion processing on the at least one first image and the at least one second image, the method comprises:
    分别将每个所述辅摄像装置拍摄的多张所述第二图像进行HDR融合处理,生成每个所述辅摄像装置对应的高动态范围图像;respectively performing HDR fusion processing on a plurality of the second images captured by each of the auxiliary cameras to generate a high dynamic range image corresponding to each of the auxiliary cameras;
    所述对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理,包括:The performing image fusion processing on the at least one first image and the at least one second image includes:
    对所述至少一张第一图像和所述高动态范围图像进行图像融合处理。Perform image fusion processing on the at least one first image and the high dynamic range image.
  6. 根据权利要求1所述的方法,其特征在于,所述对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理之前,包括:The method according to claim 1, wherein before performing image fusion processing on the at least one first image and the at least one second image, the method comprises:
    当所述第一图像包括多张时,对多张所述第一图像进行图像融合处理,获得对应的第一融合图像;When the first images include multiple sheets, image fusion processing is performed on the multiple sheets of the first images to obtain corresponding first fusion images;
    当所述第二图像包括多张时,对多张所述第二图像进行图像融合处理,获得对应的第二融合图像;When the second images include multiple sheets, image fusion processing is performed on the multiple sheets of the second images to obtain corresponding second fusion images;
    所述对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理,包括:The performing image fusion processing on the at least one first image and the at least one second image includes:
    对所述第一融合图像和所述第二融合图像进行图像融合处理。Perform image fusion processing on the first fusion image and the second fusion image.
  7. 根据权利要求6所述的方法,其特征在于,所述对多张所述第二图像进行图像融合处理,获得对应的第二融合图像,包括:The method according to claim 6, wherein the performing image fusion processing on a plurality of the second images to obtain the corresponding second fusion images, comprising:
    对多张所述第二图像进行经纬度映射,获得对应的多张第二局部区域图像;Performing latitude and longitude mapping on a plurality of the second images to obtain a plurality of corresponding second local area images;
    对多张所述第二局部区域图像执行第一找缝操作;performing a first seam finding operation on a plurality of the second local area images;
    根据第一找缝操作结果,对多张所述第二局部区域图像进行多频段融合处理,获得所述第二融合图像。According to the result of the first seam finding operation, multi-band fusion processing is performed on a plurality of the second local area images to obtain the second fusion image.
  8. 根据权利要求7所述的方法,其特征在于,所述对多张所述第二局部区域图像执行第一找缝操作,包括:The method according to claim 7, wherein the performing the first seam finding operation on the plurality of second partial region images comprises:
    获取多张所述第二局部区域图像的第一重叠区域;acquiring a first overlapping area of a plurality of the second partial area images;
    根据所述第一重叠区域执行所述第一找缝操作。The first seam finding operation is performed according to the first overlapping area.
  9. 根据权利要求7或8所述的方法,其特征在于,所述对多张所述第二图 像进行经纬度映射之前,包括:The method according to claim 7 or 8, wherein before the performing latitude and longitude mapping on a plurality of the second images, the method comprises:
    对多张所述第二图像对应的内参矩阵和外参矩阵进行优化;Optimizing the internal parameter matrix and the external parameter matrix corresponding to the plurality of second images;
    所述对多张所述第二图像进行经纬度映射,包括:The performing latitude and longitude mapping on the plurality of second images includes:
    根据多张所述第二图像对应的优化后的所述内参矩阵和所述外参矩阵,将多张所述第二图像进行经纬度映射,获得多张所述第二局部区域图像、以及多张所述第二局部区域图像对应的掩码图像;According to the optimized internal parameter matrix and the external parameter matrix corresponding to the plurality of second images, perform latitude and longitude mapping on the plurality of second images to obtain a plurality of the second local area images and a plurality of a mask image corresponding to the second local area image;
    所述获取多张所述第二局部区域图像的第一重叠区域,包括:The acquiring the first overlapping area of the second partial area images includes:
    根据多张所述第二局部区域图像对应的所述掩码图像,获取多张所述第二局部区域图像的所述第一重叠区域。The first overlapping area of the plurality of second partial area images is acquired according to the mask images corresponding to the plurality of second partial area images.
  10. 根据权利要求9所述的方法,其特征在于,所述对多张所述第二图像对应的内参矩阵和外参矩阵进行优化,包括:The method according to claim 9, wherein the optimizing the internal parameter matrix and the external parameter matrix corresponding to the plurality of second images comprises:
    基于所述至少一张第一图像,确定待与多张所述第二图像进行图像特征点匹配的目标第一图像;determining, based on the at least one first image, a target first image to be matched with a plurality of the second images for image feature point matching;
    将确定的所述目标第一图像与多张所述第二图像进行图像特征点匹配,获得对应的图像特征点匹配信息;Perform image feature point matching on the determined first image of the target and a plurality of the second images to obtain corresponding image feature point matching information;
    将所述图像特征点匹配信息、以及所述目标第一图像对应的内参矩阵和外参矩阵、多张所述第二图像对应的内参矩阵和外参矩阵,输入光束法平差模型处理,获得多张所述第二图像对应的优化后的所述内参矩阵和所述外参矩阵。The matching information of the image feature points, the internal parameter matrix and the external parameter matrix corresponding to the first image of the target, the internal parameter matrix and the external parameter matrix corresponding to the plurality of second images, and the input beam method adjustment model are processed to obtain The optimized internal parameter matrix and the external parameter matrix corresponding to the plurality of second images.
  11. 根据权利要求10所述的方法,其特征在于,每张所述第二图像对应的所述外参矩阵包括每张所述第二图像与其他第二图像之间的位姿数据、以及每张所述第二图像与所述目标第一图像之间的位姿数据,其中,每张所述第二图像与所述目标第一图像之间的位姿数据由标定的旋转矩阵,或每张所述第二图像的IMU数据与所述目标第一图像的IMU数据生成。The method according to claim 10, wherein the extrinsic parameter matrix corresponding to each second image comprises pose data between each second image and other second images, and each The pose data between the second image and the target first image, wherein the pose data between each second image and the target first image is determined by a calibrated rotation matrix, or each The IMU data of the second image is generated with the IMU data of the target first image.
  12. 根据权利要求10或11所述的方法,其特征在于,所述基于所述至少一张第一图像,确定待与多张所述第二图像进行图像特征点匹配的目标第一图像,包括:The method according to claim 10 or 11, wherein the determining, based on the at least one first image, the target first image to be matched with the image feature points of the plurality of second images comprises:
    若所述至少一张第一图像包括单张,则将单张的所述第一图像确定为所述目标第一图像;If the at least one first image includes a single image, determining the single first image as the target first image;
    若所述至少一张第一图像包括多张,则将全部的所述第一图像,确定为所 述目标第一图像,或者从多张所述第一图像中,按照预设规则选取若干第一图像,确定为所述目标第一图像。If the at least one first image includes multiple images, determine all the first images as the target first image, or select several first images from the multiple first images according to a preset rule an image, determined as the first image of the target.
  13. 根据权利要求12所述的方法,其特征在于,多张所述第一图像包括多列,所述从多张所述第一图像中,按照预设规则选取若干第一图像,确定为所述目标第一图像,包括:The method according to claim 12, wherein the plurality of first images include multiple columns, and the plurality of first images are selected from the plurality of first images according to a preset rule, and are determined as the Target first image, including:
    从多列的所述第一图像中,选择间隔列的所述第一图像,确定为所述目标第一图像。From the first images in the plurality of columns, the first images in the interval column are selected and determined as the target first images.
  14. 根据权利要求1至13任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 13, wherein the method further comprises:
    当所述主摄像装置在所述主摄像装置的视场范围内进行每一列的所述第一图像拍摄时,所述至少一个辅摄像装置在所述辅摄像装置的视场范围内进行所述第二图像拍摄。When the main camera device captures the first image of each column within the field of view of the main camera device, the at least one auxiliary camera device performs the first image capture within the field of view of the auxiliary camera device The second image is taken.
  15. 根据权利要求1至14任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 14, wherein the method further comprises:
    根据所述可移动平台上装载的多个辅摄像装置对应的FOV信息、以及所述主摄像装置对应的FOV信息,从所述多个辅摄像装置中选择所述至少一个辅摄像装置。The at least one auxiliary camera device is selected from the plurality of auxiliary camera devices according to the FOV information corresponding to the plurality of auxiliary camera devices mounted on the movable platform and the FOV information corresponding to the main camera device.
  16. 根据权利要求15所述的方法,其特征在于,所述根据所述可移动平台上装载的多个辅摄像装置对应的FOV信息、以及所述主摄像装置对应的FOV信息,从所述多个辅摄像装置中选择所述至少一个辅摄像装置,包括:The method according to claim 15, wherein, according to the FOV information corresponding to the plurality of auxiliary camera devices and the FOV information corresponding to the main camera device loaded on the movable platform, the data are obtained from the plurality of auxiliary cameras. Selecting the at least one auxiliary camera device from the auxiliary camera devices includes:
    若所述辅摄像装置的FOV大于或等于预设FOV阈值,则从所述多个辅摄像装置中选择单个所述辅摄像装置。If the FOV of the auxiliary camera device is greater than or equal to a preset FOV threshold, a single auxiliary camera device is selected from the plurality of auxiliary camera devices.
  17. 根据权利要求1至16任一项所述的方法,其特征在于,所述获取所述可移动平台上装载的至少一个辅摄像装置在所述辅摄像装置的视场范围内拍摄的至少一张第二图像,包括:The method according to any one of claims 1 to 16, wherein the acquiring at least one image captured by at least one auxiliary camera device mounted on the movable platform within the field of view of the auxiliary camera device Second image, including:
    若所述辅摄像装置的FOV大于或等于预设FOV阈值,则获取单个所述辅摄像装置拍摄的单张所述第二图像;If the FOV of the auxiliary camera device is greater than or equal to a preset FOV threshold, acquiring a single second image captured by a single auxiliary camera device;
    若所述辅摄像装置的FOV小于所述预设FOV阈值,则获取单个所述辅摄像装置旋转在不同方位拍摄的多张所述第二图像,或者获取一个以上的所述辅 摄像装置拍摄的多张所述第二图像。If the FOV of the auxiliary camera device is less than the preset FOV threshold, acquire multiple second images shot by a single auxiliary camera device rotated in different directions, or acquire images shot by more than one auxiliary camera device a plurality of the second images.
  18. 根据权利要求1至14任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 14, wherein the method further comprises:
    显示辅摄像装置选择界面,以供用户从所述辅摄像装置选择界面上显示的所述可移动平台上装载的多个辅摄像装置中,选择目标辅摄像装置;displaying an auxiliary camera device selection interface for the user to select a target auxiliary camera device from a plurality of auxiliary camera devices mounted on the movable platform displayed on the auxiliary camera device selection interface;
    将用户选择的所述目标辅摄像装置,确定为所述至少一个辅摄像装置。The target auxiliary camera device selected by the user is determined as the at least one auxiliary camera device.
  19. 根据权利要求1至14任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 14, wherein the method further comprises:
    根据当前拍摄模式,从所述可移动平台上装载的多个辅摄像装置中选择所述至少一个辅摄像装置。The at least one auxiliary camera device is selected from a plurality of auxiliary camera devices loaded on the movable platform according to the current shooting mode.
  20. 根据权利要求19所述的方法,其特征在于,所述根据当前拍摄模式,从所述可移动平台上装载的多个辅摄像装置中选择所述至少一个辅摄像装置,包括:The method according to claim 19, wherein the selecting the at least one auxiliary camera device from a plurality of auxiliary camera devices loaded on the movable platform according to the current shooting mode comprises:
    若所述当前拍摄模式为垂直全景模式,则从所述多个辅摄像装置中选择单个所述辅摄像装置;If the current shooting mode is a vertical panorama mode, selecting a single auxiliary camera device from the plurality of auxiliary camera devices;
    若所述当前拍摄模式为球形全景模式,则从所述多个辅摄像装置中选择一个以上的所述辅摄像装置。If the current shooting mode is a spherical panorama mode, selecting one or more of the auxiliary camera devices from the plurality of auxiliary camera devices.
  21. 一种全景图像生成装置,其特征在于,所述全景图像生成装置包括存储器和处理器;A panoramic image generation device, characterized in that the panoramic image generation device includes a memory and a processor;
    所述存储器用于存储计算机程序;the memory is used to store computer programs;
    所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processor is configured to execute the computer program and implement the following steps when executing the computer program:
    获取可移动平台上装载的主摄像装置在所述主摄像装置的视场范围内拍摄的至少一张第一图像;acquiring at least one first image captured by the main camera mounted on the movable platform within the field of view of the main camera;
    获取所述可移动平台上装载的至少一个辅摄像装置在所述辅摄像装置的视场范围内拍摄的至少一张第二图像,所述辅摄像装置的视场范围包括所述可移动平台的上方区域,所述主摄像装置的视场范围与所述辅摄像装置的视场范围之间存在重叠范围;Obtain at least one second image captured by at least one auxiliary camera device mounted on the movable platform within the field of view of the auxiliary camera device, where the field of view of the auxiliary camera device includes the movable platform. In the upper area, there is an overlapping range between the field of view of the main camera device and the field of view of the auxiliary camera device;
    对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理,生 成对应的全景图像。Perform image fusion processing on the at least one first image and the at least one second image to generate a corresponding panoramic image.
  22. 根据权利要求21所述的装置,其特征在于,所述处理器在实现所述对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理之前,用于实现:The apparatus according to claim 21, wherein, before performing the image fusion processing on the at least one first image and the at least one second image, the processor is configured to:
    对所述至少一张第一图像或所述至少一张第二图像进行图像预处理,以使所述至少一张第一图像的分辨率与所述至少一张第二图像的分辨率匹配;performing image preprocessing on the at least one first image or the at least one second image so that the resolution of the at least one first image matches the resolution of the at least one second image;
    所述处理器在实现所述对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理时,用于实现:When implementing the image fusion processing on the at least one first image and the at least one second image, the processor is configured to implement:
    对分辨率匹配的所述至少一张第一图像和所述至少一张第二图像进行图像融合处理。Perform image fusion processing on the at least one first image and the at least one second image whose resolutions are matched.
  23. 根据权利要求22所述的装置,其特征在于,所述处理器在实现所述对所述至少一张第一图像或所述至少一张第二图像进行图像预处理时,用于实现:The apparatus according to claim 22, wherein, when the processor performs image preprocessing on the at least one first image or the at least one second image, the processor is configured to:
    若所述至少一张第二图像的分辨率小于所述至少一张第一图像的分辨率,则对所述至少一张第二图像进行图像上采样处理;If the resolution of the at least one second image is smaller than the resolution of the at least one first image, perform image upsampling processing on the at least one second image;
    若所述至少一张第二图像的分辨率大于所述至少一张第一图像的分辨率,则对所述至少一张第二图像进行图像下采样处理,或者对对所述至少一张第一图像进行图像上采样处理。If the resolution of the at least one second image is greater than the resolution of the at least one first image, perform image downsampling processing on the at least one second image, or perform image downsampling on the at least one second image, or perform an image downsampling process on the at least one second image. An image is subjected to image upsampling processing.
  24. 根据权利要求23所述的装置,其特征在于,所述处理器在实现所述对所述至少一张第二图像进行图像上采样处理时,用于实现:The apparatus according to claim 23, wherein, when the processor implements the image upsampling processing on the at least one second image, the processor is configured to implement:
    将所述至少一张第二图像输入神经网络模型进行超分上采样处理;或者inputting the at least one second image into a neural network model for super-sampling and upsampling; or
    采用双三次插值算法对所述至少一张第二图像进行图像上采样处理。An image upsampling process is performed on the at least one second image by using a bicubic interpolation algorithm.
  25. 根据权利要求21所述的装置,其特征在于,所述处理器在实现所述对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理之前,用于实现:The apparatus according to claim 21, wherein before performing the image fusion processing on the at least one first image and the at least one second image, the processor is configured to:
    分别将每个所述辅摄像装置拍摄的多张所述第二图像进行HDR融合处理,生成每个所述辅摄像装置对应的高动态范围图像;respectively performing HDR fusion processing on a plurality of the second images captured by each of the auxiliary cameras to generate a high dynamic range image corresponding to each of the auxiliary cameras;
    所述处理器在实现所述对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理时,用于实现:When implementing the image fusion processing on the at least one first image and the at least one second image, the processor is configured to implement:
    对所述至少一张第一图像和所述高动态范围图像进行图像融合处理。Perform image fusion processing on the at least one first image and the high dynamic range image.
  26. 根据权利要求21所述的装置,其特征在于,所述处理器在实现所述对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理之前,用于实现:The apparatus according to claim 21, wherein before performing the image fusion processing on the at least one first image and the at least one second image, the processor is configured to:
    当所述第一图像包括多张时,对多张所述第一图像进行图像融合处理,获得对应的第一融合图像;When the first images include multiple sheets, image fusion processing is performed on the multiple sheets of the first images to obtain corresponding first fusion images;
    当所述第二图像包括多张时,对多张所述第二图像进行图像融合处理,获得对应的第二融合图像;When the second images include multiple sheets, image fusion processing is performed on the multiple sheets of the second images to obtain corresponding second fusion images;
    所述处理器在实现所述对所述至少一张第一图像和所述至少一张第二图像进行图像融合处理时,用于实现:When implementing the image fusion processing on the at least one first image and the at least one second image, the processor is configured to implement:
    对所述第一融合图像和所述第二融合图像进行图像融合处理。Perform image fusion processing on the first fusion image and the second fusion image.
  27. 根据权利要求26所述的装置,其特征在于,所述处理器在实现所述对多张所述第二图像进行图像融合处理,获得对应的第二融合图像时,用于实现:The device according to claim 26, wherein, when the processor implements the image fusion processing on a plurality of the second images to obtain the corresponding second fusion images, the processor is configured to implement:
    对多张所述第二图像进行经纬度映射,获得对应的多张第二局部区域图像;Performing latitude and longitude mapping on a plurality of the second images to obtain a plurality of corresponding second local area images;
    对多张所述第二局部区域图像执行第一找缝操作;performing a first seam finding operation on a plurality of the second local area images;
    根据第一找缝操作结果,对多张所述第二局部区域图像进行多频段融合处理,获得所述第二融合图像。According to the result of the first seam finding operation, multi-band fusion processing is performed on a plurality of the second local area images to obtain the second fusion image.
  28. 根据权利要求27所述的装置,其特征在于,所述处理器在实现所述对多张所述第二局部区域图像执行第一找缝操作时,用于实现:The device according to claim 27, wherein, when the processor performs the first seam finding operation on the plurality of second partial region images, the processor is configured to:
    获取多张所述第二局部区域图像的第一重叠区域;acquiring a first overlapping area of a plurality of the second partial area images;
    根据所述第一重叠区域执行所述第一找缝操作。The first seam finding operation is performed according to the first overlapping area.
  29. 根据权利要求27或28所述的装置,其特征在于,所述处理器在实现所述对多张所述第二图像进行经纬度映射之前,用于实现:The apparatus according to claim 27 or 28, wherein, before the processor performs the latitude and longitude mapping on the plurality of second images, the processor is configured to:
    对多张所述第二图像对应的内参矩阵和外参矩阵进行优化;Optimizing the internal parameter matrix and the external parameter matrix corresponding to the plurality of second images;
    所述处理器在实现所述对多张所述第二图像进行经纬度映射时,用于实现:When implementing the latitude and longitude mapping on the plurality of second images, the processor is configured to implement:
    根据多张所述第二图像对应的优化后的所述内参矩阵和所述外参矩阵,将多张所述第二图像进行经纬度映射,获得多张所述第二局部区域图像、以及多张所述第二局部区域图像对应的掩码图像;According to the optimized internal parameter matrix and the external parameter matrix corresponding to the plurality of second images, perform latitude and longitude mapping on the plurality of second images to obtain a plurality of the second local area images and a plurality of a mask image corresponding to the second local area image;
    所述处理器在实现所述获取多张所述第二局部区域图像的第一重叠区域时,用于实现:When implementing the acquiring of the first overlapping area of the plurality of second partial area images, the processor is configured to implement:
    根据多张所述第二局部区域图像对应的所述掩码图像,获取多张所述第二局部区域图像的所述第一重叠区域。The first overlapping area of the plurality of second partial area images is acquired according to the mask images corresponding to the plurality of second partial area images.
  30. 根据权利要求29所述的装置,其特征在于,所述处理器在实现所述对多张所述第二图像对应的内参矩阵和外参矩阵进行优化时,用于实现:The apparatus according to claim 29, wherein, when the processor implements the optimization of the internal parameter matrices and the external parameter matrices corresponding to the plurality of second images, the processor is configured to implement:
    基于所述至少一张第一图像,确定待与多张所述第二图像进行图像特征点匹配的目标第一图像;determining, based on the at least one first image, a target first image to be matched with a plurality of the second images for image feature point matching;
    将确定的所述目标第一图像与多张所述第二图像进行图像特征点匹配,获得对应的图像特征点匹配信息;Perform image feature point matching on the determined first image of the target and a plurality of the second images to obtain corresponding image feature point matching information;
    将所述图像特征点匹配信息、以及所述目标第一图像对应的内参矩阵和外参矩阵、多张所述第二图像对应的内参矩阵和外参矩阵,输入光束法平差模型处理,获得多张所述第二图像对应的优化后的所述内参矩阵和所述外参矩阵。The matching information of the image feature points, the internal parameter matrix and the external parameter matrix corresponding to the first image of the target, the internal parameter matrix and the external parameter matrix corresponding to the plurality of second images, and the input beam method adjustment model are processed to obtain The optimized internal parameter matrix and the external parameter matrix corresponding to the plurality of second images.
  31. 根据权利要求30所述的装置,其特征在于,每张所述第二图像对应的所述外参矩阵包括每张所述第二图像与其他第二图像之间的位姿数据、以及每张所述第二图像与所述目标第一图像之间的位姿数据,其中,每张所述第二图像与所述目标第一图像之间的位姿数据由标定的旋转矩阵,或每张所述第二图像的IMU数据与所述目标第一图像的IMU数据生成。The device according to claim 30, wherein the extrinsic parameter matrix corresponding to each second image comprises pose data between each second image and other second images, and each The pose data between the second image and the target first image, wherein the pose data between each second image and the target first image is determined by a calibrated rotation matrix, or each The IMU data of the second image is generated with the IMU data of the target first image.
  32. 根据权利要求30或31所述的装置,其特征在于,所述处理器在实现所述基于所述至少一张第一图像,确定待与多张所述第二图像进行图像特征点匹配的目标第一图像时,用于实现:The apparatus according to claim 30 or 31, wherein the processor is performing the determining, based on the at least one first image, the target to be matched with the image feature points of the plurality of second images The first image is used to achieve:
    若所述至少一张第一图像包括单张,则将单张的所述第一图像确定为所述目标第一图像;If the at least one first image includes a single image, determining the single first image as the target first image;
    若所述至少一张第一图像包括多张,则将全部的所述第一图像,确定为所述目标第一图像,或者从多张所述第一图像中,按照预设规则选取若干第一图像,确定为所述目标第一图像。If the at least one first image includes multiple images, determine all the first images as the target first image, or select several first images from the multiple first images according to a preset rule an image, determined as the first image of the target.
  33. 根据权利要求32所述的装置,其特征在于,多张所述第一图像包括多列,所述处理器在实现所述从多张所述第一图像中,按照预设规则选取若干第一图像,确定为所述目标第一图像时,用于实现:The apparatus according to claim 32, wherein the plurality of first images includes multiple columns, and the processor selects a plurality of first images according to a preset rule in implementing the selection from the plurality of first images The image, when determined as the first image of the target, is used to achieve:
    从多列的所述第一图像中,选择间隔列的所述第一图像,确定为所述目标第一图像。From the first images in the plurality of columns, the first images in the interval column are selected and determined as the target first images.
  34. 根据权利要求21至33任一项所述的装置,其特征在于,所述处理器还用于实现:The apparatus according to any one of claims 21 to 33, wherein the processor is further configured to implement:
    当所述主摄像装置在所述主摄像装置的视场范围内进行每一列的所述第一图像拍摄时,所述至少一个辅摄像装置在所述辅摄像装置的视场范围内进行所述第二图像拍摄。When the main camera device captures the first image of each column within the field of view of the main camera device, the at least one auxiliary camera device performs the first image capture within the field of view of the auxiliary camera device The second image is taken.
  35. 根据权利要求21至34任一项所述的装置,其特征在于,所述处理器还用于实现:The apparatus according to any one of claims 21 to 34, wherein the processor is further configured to implement:
    根据所述可移动平台上装载的多个辅摄像装置对应的FOV信息、以及所述主摄像装置对应的FOV信息,从所述多个辅摄像装置中选择所述至少一个辅摄像装置。The at least one auxiliary camera device is selected from the plurality of auxiliary camera devices according to the FOV information corresponding to the plurality of auxiliary camera devices mounted on the movable platform and the FOV information corresponding to the main camera device.
  36. 根据权利要求35所述的装置,其特征在于,所述处理器在实现所述根据所述可移动平台上装载的多个辅摄像装置对应的FOV信息、以及所述主摄像装置对应的FOV信息,从所述多个辅摄像装置中选择所述至少一个辅摄像装置时,用于实现:The device according to claim 35, wherein the processor implements the FOV information corresponding to the plurality of auxiliary camera devices loaded on the movable platform and the FOV information corresponding to the main camera device , when the at least one auxiliary camera device is selected from the plurality of auxiliary camera devices, it is used to implement:
    若所述辅摄像装置的FOV大于或等于预设FOV阈值,则从所述多个辅摄像装置中选择单个所述辅摄像装置。If the FOV of the auxiliary camera device is greater than or equal to a preset FOV threshold, a single auxiliary camera device is selected from the plurality of auxiliary camera devices.
  37. 根据权利要求21至36任一项所述的装置,其特征在于,所述处理器在实现所述获取所述可移动平台上装载的至少一个辅摄像装置在所述辅摄像装置的视场范围内拍摄的至少一张第二图像时,用于实现:The device according to any one of claims 21 to 36, characterized in that, when the processor realizes the acquisition of the field of view of at least one auxiliary camera device loaded on the movable platform in the auxiliary camera device When at least one second image is captured within, it is used to achieve:
    若所述辅摄像装置的FOV大于或等于预设FOV阈值,则获取单个所述辅摄像装置拍摄的单张所述第二图像;If the FOV of the auxiliary camera device is greater than or equal to a preset FOV threshold, acquiring a single second image captured by a single auxiliary camera device;
    若所述辅摄像装置的FOV小于所述预设FOV阈值,则获取单个所述辅摄像装置旋转在不同方位拍摄的多张所述第二图像,或者获取一个以上的所述辅摄像装置拍摄的多张所述第二图像。If the FOV of the auxiliary camera device is less than the preset FOV threshold, acquire multiple second images shot by a single auxiliary camera device rotated in different directions, or acquire images shot by more than one auxiliary camera device a plurality of the second images.
  38. 根据权利要求21至34任一项所述的装置,其特征在于,所述处理器还用于实现:The apparatus according to any one of claims 21 to 34, wherein the processor is further configured to implement:
    显示辅摄像装置选择界面,以供用户从所述辅摄像装置选择界面上显示的所述可移动平台上装载的多个辅摄像装置中,选择目标辅摄像装置;displaying an auxiliary camera device selection interface for the user to select a target auxiliary camera device from a plurality of auxiliary camera devices mounted on the movable platform displayed on the auxiliary camera device selection interface;
    将用户选择的所述目标辅摄像装置,确定为所述至少一个辅摄像装置。The target auxiliary camera device selected by the user is determined as the at least one auxiliary camera device.
  39. 根据权利要求21至34任一项所述的装置,其特征在于,所述处理器还用于实现:The apparatus according to any one of claims 21 to 34, wherein the processor is further configured to implement:
    根据当前拍摄模式,从所述可移动平台上装载的多个辅摄像装置中选择所述至少一个辅摄像装置。The at least one auxiliary camera device is selected from a plurality of auxiliary camera devices loaded on the movable platform according to the current shooting mode.
  40. 根据权利要求39所述的装置,其特征在于,所述处理器在实现所述根据当前拍摄模式,从所述可移动平台上装载的多个辅摄像装置中选择所述至少一个辅摄像装置时,具体实现:The device according to claim 39, wherein when the processor selects the at least one auxiliary camera device from a plurality of auxiliary camera devices loaded on the movable platform according to the current shooting mode ,Implementation:
    若所述当前拍摄模式为垂直全景模式,则从所述多个辅摄像装置中选择单个所述辅摄像装置;If the current shooting mode is a vertical panorama mode, selecting a single auxiliary camera device from the plurality of auxiliary camera devices;
    若所述当前拍摄模式为球形全景模式,则从所述多个辅摄像装置中选择一个以上的所述辅摄像装置。If the current shooting mode is a spherical panorama mode, selecting one or more of the auxiliary camera devices from the plurality of auxiliary camera devices.
  41. 一种可移动平台,其特征在于,所述可移动平台包括如权利要求21至40中任一项所述的全景图像生成装置。A movable platform, characterized in that, the movable platform comprises the panoramic image generating device according to any one of claims 21 to 40.
  42. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如权利要求1至20中任一项所述的全景图像生成方法。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 to 20. The panoramic image generation method described above.
PCT/CN2020/140351 2020-12-28 2020-12-28 Panoramic image generation method and apparatus, movable platform and storage medium WO2022140970A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/140351 WO2022140970A1 (en) 2020-12-28 2020-12-28 Panoramic image generation method and apparatus, movable platform and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/140351 WO2022140970A1 (en) 2020-12-28 2020-12-28 Panoramic image generation method and apparatus, movable platform and storage medium

Publications (1)

Publication Number Publication Date
WO2022140970A1 true WO2022140970A1 (en) 2022-07-07

Family

ID=82259838

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/140351 WO2022140970A1 (en) 2020-12-28 2020-12-28 Panoramic image generation method and apparatus, movable platform and storage medium

Country Status (1)

Country Link
WO (1) WO2022140970A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107369128A (en) * 2017-05-30 2017-11-21 深圳晨芯时代科技有限公司 A kind of 720 degree of panoramic picture image pickup methods
WO2018081924A1 (en) * 2016-11-01 2018-05-11 深圳岚锋创视网络科技有限公司 Method, system and photographing device for generating panoramic image
CN108513567A (en) * 2017-03-23 2018-09-07 深圳市大疆创新科技有限公司 The method and unmanned vehicle of image co-registration
CN108769569A (en) * 2018-04-10 2018-11-06 中科院微电子研究所昆山分所 A kind of 360 degree of stereoscopic full views observation systems and method for unmanned plane

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018081924A1 (en) * 2016-11-01 2018-05-11 深圳岚锋创视网络科技有限公司 Method, system and photographing device for generating panoramic image
CN108513567A (en) * 2017-03-23 2018-09-07 深圳市大疆创新科技有限公司 The method and unmanned vehicle of image co-registration
CN107369128A (en) * 2017-05-30 2017-11-21 深圳晨芯时代科技有限公司 A kind of 720 degree of panoramic picture image pickup methods
CN108769569A (en) * 2018-04-10 2018-11-06 中科院微电子研究所昆山分所 A kind of 360 degree of stereoscopic full views observation systems and method for unmanned plane

Similar Documents

Publication Publication Date Title
US20210105403A1 (en) Method for processing image, image processing apparatus, multi-camera photographing apparatus, and aerial vehicle
WO2019161813A1 (en) Dynamic scene three-dimensional reconstruction method, apparatus and system, server, and medium
CN205263655U (en) A system, Unmanned vehicles and ground satellite station for automatic generation panoramic photograph
US20180160045A1 (en) Method and device of image processing and camera
US20170220037A1 (en) System and method for utilization of multiple-camera network to capture static and/or motion scenes
WO2019041276A1 (en) Image processing method, and unmanned aerial vehicle and system
US20200221062A1 (en) Image processing method and device
WO2019155335A1 (en) Unmanned aerial vehicle including an omnidirectional depth sensing and obstacle avoidance aerial system and method of operating same
KR101896654B1 (en) Image processing system using drone and method of the same
CN111344644A (en) Techniques for motion-based automatic image capture
CN113273172A (en) Panorama shooting method, device and system and computer readable storage medium
US20210009270A1 (en) Methods and system for composing and capturing images
US20220103799A1 (en) Image data processing method and apparatus, image processing chip, and aircraft
JP2019045991A (en) Generation device, generation method and program
JP2019110462A (en) Control device, system, control method, and program
CN108521801A (en) A kind of control method, device, equipment and aircraft
JP2019216343A (en) Determination device, moving body, determination method, and program
US20210404840A1 (en) Techniques for mapping using a compact payload in a movable object environment
WO2020019175A1 (en) Image processing method and apparatus, and photographing device and unmanned aerial vehicle
WO2021262704A1 (en) Post-processing of mapping data for improved accuracy and noise-reduction
WO2022077790A1 (en) Representation data generation of three-dimensional mapping data
WO2022140970A1 (en) Panoramic image generation method and apparatus, movable platform and storage medium
JP2018201119A (en) Mobile platform, flying object, support apparatus, portable terminal, method for assisting in photography, program, and recording medium
US20210256732A1 (en) Image processing method and unmanned aerial vehicle
US20220113421A1 (en) Online point cloud processing of lidar and camera data

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: 20967321

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: 20967321

Country of ref document: EP

Kind code of ref document: A1