WO2019192359A1 - Vehicle panoramic video display system and method, and vehicle controller - Google Patents

Vehicle panoramic video display system and method, and vehicle controller Download PDF

Info

Publication number
WO2019192359A1
WO2019192359A1 PCT/CN2019/079732 CN2019079732W WO2019192359A1 WO 2019192359 A1 WO2019192359 A1 WO 2019192359A1 CN 2019079732 W CN2019079732 W CN 2019079732W WO 2019192359 A1 WO2019192359 A1 WO 2019192359A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
vehicle
panoramic
information
spliced
Prior art date
Application number
PCT/CN2019/079732
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 杭州海康威视数字技术股份有限公司
Publication of WO2019192359A1 publication Critical patent/WO2019192359A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R1/00Optical viewing arrangements; Real-time viewing arrangements for drivers or passengers using optical image capturing systems, e.g. cameras or video systems specially adapted for use in or on vehicles
    • B60R1/20Real-time viewing arrangements for drivers or passengers using optical image capturing systems, e.g. cameras or video systems specially adapted for use in or on vehicles
    • B60R1/22Real-time viewing arrangements for drivers or passengers using optical image capturing systems, e.g. cameras or video systems specially adapted for use in or on vehicles for viewing an area outside the vehicle, e.g. the exterior of the vehicle
    • B60R1/23Real-time viewing arrangements for drivers or passengers using optical image capturing systems, e.g. cameras or video systems specially adapted for use in or on vehicles for viewing an area outside the vehicle, e.g. the exterior of the vehicle with a predetermined field of view
    • B60R1/27Real-time viewing arrangements for drivers or passengers using optical image capturing systems, e.g. cameras or video systems specially adapted for use in or on vehicles for viewing an area outside the vehicle, e.g. the exterior of the vehicle with a predetermined field of view providing all-round vision, e.g. using omnidirectional cameras
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R2300/00Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle
    • B60R2300/10Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by the type of camera system used
    • B60R2300/105Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by the type of camera system used using multiple cameras
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R2300/00Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle
    • B60R2300/30Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by the type of image processing
    • B60R2300/303Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by the type of image processing using joined images, e.g. multiple camera images
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R2300/00Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle
    • B60R2300/80Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by the intended use of the viewing arrangement
    • B60R2300/8093Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by the intended use of the viewing arrangement for obstacle warning

Definitions

  • the present application relates to the field of intelligent assisted driving technology, and in particular, to a vehicle panoramic video display system, method, and vehicle controller.
  • the intelligent assisted driving technology of the vehicle plays an important role in driving safety and efficient driving efficiency.
  • the use of intelligent assisted driving technology can largely avoid traffic accidents caused by driving errors of the driver of the vehicle.
  • the driving recorder is used to capture the road condition ahead of the vehicle, and based on the captured video, it is identified whether there is an obstacle target ahead of the vehicle, and if the obstacle target is identified, an early warning signal is generated, and according to the The warning signal prompts the driver to avoid obstacles.
  • the factors affecting the driving safety of the vehicle include not only the obstacles directly in front of the vehicle, but also the driving state of the driver affecting the driving safety. For example, the driver is in a fatigue driving state, and the probability of a traffic accident is also increased.
  • a camera is added to the driving recorder for collecting the driver's eye information, and by analyzing the driver's eye information, if it is determined that the driver is in a fatigue driving state, or based on the above-mentioned shooting road conditions.
  • the video recognizes that there is an obstacle target in front of the vehicle, and generates an early warning signal, and according to the warning signal, prompts the driver to have a safety hazard.
  • the driving recorder can only capture the road condition directly in front of the vehicle and the driver's video, and it is impossible to photograph the side of the vehicle, and the safety of the side of the vehicle is difficult to be secured; and the driving recorder is performing When the video is displayed, the in-vehicle video or the off-camera video is displayed independently, and the driver cannot observe the overall situation of the vehicle in a macroscopic view, and the display effect is poor.
  • the purpose of the embodiments of the present application is to provide a vehicle panoramic video display system, method, and vehicle controller to improve the safety of driving the vehicle and the display effect of the captured video.
  • the specific technical solutions are as follows:
  • an embodiment of the present application provides a vehicle panoramic video display system, where the system includes an in-vehicle video collector, a vehicle controller, and an in-vehicle display;
  • the vehicle video capture device includes a plurality of cameras, and each camera captures original video in the coverage area, and the total coverage area of all the cameras in the vehicle video collector is greater than or equal to 360 degrees; the original video collected by each camera is sent to The vehicle controller;
  • the vehicle controller is configured to receive the original video collected by each camera sent by the vehicle video capture device; and search for a pre-established panoramic synthesis mapping table, respectively generate a video to be spliced corresponding to each original video and a video to be spliced a splicing relationship
  • the panorama synthesis mapping table includes a correspondence between pixel coordinates of the video to be spliced and pixel coordinates of the original video; and splicing the video to be spliced according to the splicing relationship to generate a panoramic video; Sended to the on-board display;
  • the on-board display is configured to receive the panoramic video sent by the onboard controller; and display the panoramic video by using a preset display policy.
  • an embodiment of the present application provides a vehicle panoramic video display method, which is applied to an in-vehicle controller, and the method includes:
  • the video to be spliced is spliced to generate a panoramic video
  • the panoramic video is sent to the onboard display.
  • an embodiment of the present application provides an onboard controller, where the onboard controller includes a processor and a memory;
  • the memory is configured to store a computer program
  • the processor when executing the program stored on the memory, implements the following steps:
  • the video to be spliced is spliced to generate a panoramic video
  • the panoramic video is sent to the onboard display.
  • the embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, the following steps are implemented:
  • the video to be spliced is spliced to generate a panoramic video
  • the panoramic video is sent to the onboard display.
  • the vehicle panoramic video display system includes an in-vehicle video collector, a vehicle controller, and an in-vehicle display.
  • the vehicle video capture device includes a plurality of cameras, each camera respectively collects original video in the coverage area, and sends the original video collected by each camera to the vehicle controller; the vehicle controller is used to find a pre-established panoramic synthesis mapping table.
  • Panoramic shooting of the surrounding conditions of the vehicle to effectively improve the safety of the vehicle and the vehicle controller synthesizes the panoramic video by splicing the video to be spliced corresponding to the original video collected by each camera, and using the vehicle display to view the panorama
  • the display of the video effectively improves the display effect of the video, and enables the driver to more intuitively observe the surroundings of the vehicle from the display content, thereby improving the driver's interactive experience.
  • FIG. 1 is a schematic structural diagram of a vehicle panoramic video display system according to an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a method for displaying a vehicle panoramic video according to an embodiment of the present application
  • FIG. 3a is a schematic structural diagram of a corresponding fisheye device including a video processing chip
  • FIG. 3b is a schematic structural diagram of a corresponding fisheye device without a video processing chip
  • FIG. 4 is a schematic flowchart of a working mechanism of an on-board controller according to an embodiment of the present application
  • FIG. 5 is a schematic flowchart of a process for generating a panoramic synthesis mapping table according to an embodiment of the present application
  • FIG. 6 is a schematic structural diagram of a panoramic synthesis mapping table according to an embodiment of the present application.
  • FIG. 7 is a schematic flowchart of a panoramic video generation process according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of adjusting a panoramic video when a driver's posture changes according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of adjusting a panoramic video when an object of an obstacle outside the vehicle is recognized according to an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a vehicle panoramic video display system according to another embodiment of the present application.
  • FIG. 11 is a schematic diagram of adjustment of panoramic video when a steering wheel of a vehicle rotates according to an embodiment of the present application.
  • FIG. 12 is a schematic diagram showing the display of a panoramic video when the steering wheel angle is ⁇ 0 according to an embodiment of the present application.
  • 12b is a schematic diagram showing the display of a panoramic video when the steering wheel angle is ⁇ 1 according to an embodiment of the present application;
  • FIG. 13 is a schematic structural diagram of an on-board controller according to an embodiment of the present application.
  • the embodiment of the present application provides a vehicle panoramic video display system, method, and vehicle controller, which are respectively described in detail below.
  • FIG. 1 is a schematic structural diagram of a vehicle panoramic video display system, including: a vehicle video capture device 110 , a vehicle controller 120 , and a vehicle Display 130.
  • the vehicle panoramic video display method provided by the embodiment of the present application is introduced from the perspective of the interaction of the devices in the vehicle panoramic video display system as shown in FIG. 1.
  • the vehicle panoramic video display method can be Including the following steps.
  • each camera in the vehicle video capture device separately collects the original video in the coverage area.
  • the car video capture device is mounted on the vehicle and can be located in the front of the vehicle.
  • the vehicle video capture device includes a plurality of cameras, and the total coverage area of all the cameras is greater than or equal to 360 degrees.
  • the in-vehicle video collector can include four cameras, each of which covers a coverage area of 90 degrees, and the total coverage area of the four cameras is a 360-degree coverage area; for example, in a car video collector. It can include 3 cameras, each of which has a coverage area of 120 degrees, and the total coverage area of the three cameras is a 360-degree coverage area.
  • the coverage area of each camera in the vehicle video capture device may not be equal.
  • the vehicle video capture device may include five cameras, the coverage area of two cameras is a coverage area of 90 degrees, and the coverage areas of the other three cameras are A coverage area of 60 degrees; for example, the vehicle video capture device may include five cameras, and the coverage areas of the cameras are 45 degrees, 60 degrees, 65 degrees, 90 degrees, and 100 degrees, respectively.
  • the coverage area of the camera is the area covered by the camera's field of view.
  • the in-vehicle video collector may be a fisheye device.
  • the fisheye device shown in Figure 3a and the fisheye device shown in Figure 3b are both back-to-back fisheye cameras (first fisheye)
  • the camera 301 and the second fisheye camera 302) are composed.
  • the fisheye device shown in Fig. 3a includes a video processing chip 303, and the fisheye device shown in Fig. 3b does not include a video processing chip.
  • the difference between the two types of fisheye equipment is whether it has video processing capability, and the video processing chip can realize functions such as panoramic video synthesis and intelligent detection.
  • the fisheye lens device shown in Fig. 3a includes the video processing chip 303, the size and weight of the fisheye device are significantly heavier than the binocular device shown in Fig.
  • the fisheye device shown in FIG. 3b the fisheye device without the video processing chip, the panoramic video synthesis function, and only the video capture can be used, and the fisheye device can complete the image filtering.
  • Basic image processing functions such as noise and white balance. In this way, the system cost can be effectively controlled, the miniaturization of the fisheye device can be facilitated, and the baseline convergence between the cameras can be reduced.
  • Each camera in the car video capture device may not have consistent key parameters and installation parameters, including but not limited to camera internal parameters, field of view angle, distortion, focal length, etc.; installation parameters include but are not limited to installation position, installation angle Wait. As long as the total coverage area of all cameras satisfies greater than or equal to 360 degrees.
  • the vehicle video collector sends the original video collected by each camera to the vehicle controller.
  • the vehicle controller is a device installed in the central control position of the vehicle, communicating with the vehicle host and the communication bus according to a prescribed protocol, and completing the collection, storage and transmission of information.
  • the vehicle video capture device sends the original video collected by each camera to the vehicle controller, so that the vehicle controller can complete functions such as panoramic video generation and intelligent detection.
  • the original video collected by each camera may be transmitted through the interaction module.
  • the original video captured by each camera can be transmitted between the vehicle video capture device and the vehicle controller through an interactive module.
  • the interaction module includes a communication bus between the vehicle video capture device and the vehicle controller, various data protocols, and a vehicle video capture device. Communication interface between communication interface and vehicle controller.
  • the communication bus may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus.
  • the original video captured by each camera can also be transmitted by wireless transmission between the vehicle video capture device and the vehicle controller, and will not be described here.
  • the in-vehicle controller searches for a pre-established panoramic synthesis mapping table, and respectively generates a stitching relationship between the video to be stitched corresponding to each original video and each video to be stitched.
  • the panoramic composition map includes the correspondence between the pixel coordinates of the video to be stitched and the pixel coordinates of the original video.
  • the working mechanism of the vehicle controller is as shown in FIG. 4, and the vehicle controller stores a panoramic synthesis mapping table and an intelligent detection model file.
  • the function of the on-board controller is to complete, including but not limited to, panoramic video generation, intelligent detection, etc., output panoramic video and detection information, and can perform viewpoint and perspective transformation on the panoramic video according to the control information input to realize panoramic roaming.
  • the panoramic synthesis map is pre-established and stored in the onboard controller, and the panoramic synthesis map is used to synthesize panoramic video.
  • the panoramic synthesis mapping table describes a one-to-one correspondence between the pixels of the video to be spliced and the pixels of the original video.
  • the panoramic synthesis mapping table stores the pixel coordinates of the video and the splicing relationship between the videos to be spliced.
  • the method for establishing the panoramic synthesis mapping table may include the following steps: acquiring sample images collected by each camera in the vehicle video capture device, and participating in each camera of the vehicle video collector calibration Camera external reference; according to each camera internal reference, each sample image is spherically projected to generate a spherical projection image corresponding to each sample image; according to each camera external parameter, the relative positional relationship between each spherical projection image is obtained; according to the relative positional relationship Convert and crop each spherical projection image to obtain a panoramic composition map.
  • the sample image is a pre-acquired image when the vehicle video capture device establishes the panoramic synthesis mapping table, and the sample image may be a pre-photographed image, or may be any video frame in the pre-acquired video sample, or multiple video frames;
  • the sample image may also be any video frame or multiple video frames extracted from the original video before the panoramic video is generated for the original video captured by each camera.
  • the camera internal parameter or the camera external parameter is often pre-calibrated. Therefore, each camera internal parameter or each camera external parameter can be obtained directly through each sample image.
  • a process of generating a panoramic synthesis map is provided.
  • the transformation of the two images may be: using one of the images as a reference, and transforming the other image to achieve seamless mosaic of the panorama.
  • the internal parameters and external parameters of the camera can be obtained by offline calibration, and the relative positional relationship between the images/videos collected by each camera is also fixed, and the coordinate image can be
  • the coordinates of the spherical projection are expanded and transformed, and after cropping, a panoramic composite mapping table can be obtained.
  • the panorama synthesis map is only relevant to the resolution of the input image. With off-line calibration, only one calibration is required for each car video collector, which can quickly generate panoramic video.
  • the process of generating the panoramic synthesis mapping table may also be generated according to an inverse process, establishing an empty panoramic mapping table, and establishing a correspondence between the panoramic composite mapping table and the original image through inverse transformation and pseudo projection expansion.
  • the method for establishing the panoramic synthesis mapping table may include the following steps: acquiring sample images collected by each camera in the vehicle video capture device, and participating in each camera of the vehicle video collector calibration a camera external parameter; establishing a first panoramic mapping table, the content of the first panoramic mapping table is empty; according to each camera external parameter, obtaining a positional relationship between each preset area in the first panoramic mapping table; according to the positional relationship, each The preset area is inversely transformed to obtain an inverse transformation area of each preset area; according to each camera internal parameter, spherical image projection is performed on each sample image to generate a spherical projection image corresponding to each sample image; according to each spherical projection image and each inverse transformation The correspondence between the regions determines the panoramic composition map.
  • the panoramic synthesis map can be generated by the above positive process or the inverse process, and the positive process generates a panoramic synthesis map with less time, and the inverse process generates a panoramic synthesis map with higher accuracy.
  • the external parameters of each camera of the car video capture device are often fixed. After the car video capture device is installed, the external position of the camera installation position and installation angle are fixed, but the camera internal reference and the camera external reference need to be pre-independent.
  • the auxiliary calibration equipment is calibrated. In order to reduce the number of auxiliary calibration equipment, in order to improve the efficiency of internal reference and external reference calibration, the external reference of the camera in the image can be calibrated by the external reference to calculate the internal reference of the camera, that is, only the external parameters of each camera need to be calibrated.
  • the internal parameters of each camera can be obtained by the preset internal parameter detection algorithm, and the internal reference parameters of each camera are not required to be calibrated by a separate internal reference calibration auxiliary device.
  • the manner of establishing the panoramic synthesis mapping table may further include: acquiring an external reference calibration image collected by each camera in the vehicle video capture device, and a calibration camera outside the calibration image of each external reference. Detecting; detecting the outer edge of the effective region of each external reference calibration image; fitting the outer edge of the effective region of each external reference calibration image by curve fitting, obtaining the outer contour of the effective region of each external reference calibration image; calibrating based on each external parameter
  • the outer contour of the effective area of the image determines the camera internal parameters for collecting the calibration images of the external parameters; according to the internal parameters of each camera, the spherical images of the external reference calibration images are respectively spherically generated, and the spherical projection images corresponding to the external reference calibration images are generated; according to the respective cameras
  • the outer parameter obtains a relative positional relationship between the spherical projection images; and according to the relative positional relationship, each spherical projection image is transformed and cropped to obtain a panoramic composite mapping table.
  • the external reference calibration image is an image of the vehicle-mounted video collector that is pre-acquired based on the external parameters of each camera when establishing the panoramic composite mapping table.
  • the external reference calibration image may be a pre-photographed image, or may be a video pre-acquired based on each camera external parameter. Any video frame in the sample, or multiple video frames; the external reference calibration image may also be any video frame or multiple video frames extracted from the original video before the panoramic video is generated for the original video captured by each camera. .
  • the camera external parameter is pre-calibrated in the external reference calibration image. Therefore, the calibration external camera parameters can be obtained directly from each external reference calibration image.
  • the method of detecting the outer edge of the effective area of each external reference calibration image may detect the outer edge of the effective area by recognizing the transition edge of the black and white area of the image, or search for the four farthest points of the outer edge of the effective area by means of a straight line search.
  • the outer edge of the effective area is obtained by connecting the four farthest points.
  • the panoramic synthesis map may also be generated through the inverse process by using the camera external parameters and the calculated camera internal parameters based on the calibration of the external reference calibration image.
  • the manner of establishing the panoramic synthesis mapping table may further include: acquiring an external reference calibration image collected by each camera in the vehicle video capture device, and a calibration camera outside the calibration image of each external reference. Detecting; detecting the outer edge of the effective region of each external reference calibration image; fitting the outer edge of the effective region of each external reference calibration image by curve fitting, obtaining the outer contour of the effective region of each external reference calibration image; calibrating based on each external parameter An outer contour of the effective area of the image, determining a camera internal parameter for collecting the calibration image of each foreign parameter; establishing a first panoramic mapping table, the content of the first panoramic mapping table is empty; according to each camera external parameter, obtaining each of the first panoramic mapping table Positional relationship between preset areas; inversely transforming each preset area according to the positional relationship, and obtaining an inverse transformation area of each preset area; performing spherical projection on each of the external reference calibration images according to each camera internal parameter, generating each a spherical projection
  • the panoramic synthesis mapping table includes respective mapping tables of the cameras in the in-vehicle video collector, and there is an overlapping area between the two mapping tables.
  • the panoramic synthesis mapping table is divided into two parts, a first fisheye camera mapping table 601 and a second fisheye camera mapping table. 602, which respectively represents the mapping relationship between the images acquired by the two fisheye cameras in the plane panorama.
  • the first fisheye camera mapping table 601 and the second fisheye camera mapping table 602 each have an overlapping area representing the overlapping area of the two fisheye cameras on the field of view, and the contents in the two overlapping areas are the same.
  • the splicing relationship between the video to be spliced and the spliced video to be spliced corresponding to the original video may be generated for each original video by using a pre-established panoramic compositing mapping table.
  • S204 The vehicle controller splices the video to be spliced according to the splicing relationship to generate a panoramic video.
  • the panoramic synthesis mapping table needs to be stored in the vehicle controller, and when the vehicle video collector collects the video, the panoramic synthesis mapping table is used. Looking up the table, the video to be spliced is obtained, and the panoramic video can be generated by splicing and merging the videos to be spliced.
  • the splicing relationship is given in the splicing relationship, for example, the first column of pixels of the second video to be spliced overlaps with the twentieth column of the first video to be spliced, and the second video to be spliced is flipped 45 After the degree overlaps with the first video to be stitched and so on.
  • the panoramic synthesis mapping table is generated based on the sample image, when the video is spliced, the video frames may be spliced, and then the spliced video frames are video-combined to obtain a panoramic video.
  • the S203 may include: searching for a pre-established panoramic synthesis mapping table, respectively generating a video frame to be spliced corresponding to each video frame in each original video and a video frame to be spliced Splicing relationship; for each video frame to be spliced generated by the same original video, using a preset video generation technology to generate a video to be spliced.
  • the S204 may include: splicing corresponding video frames to be spliced in each video to be spliced according to a splicing relationship between the video frames to be spliced, to obtain multiple panoramic images; and using preset video generation technology based on each panoramic image , generate a panoramic video.
  • the splicing relationship between the video frames to be spliced and the video frames to be spliced corresponding to each video frame in the original video can be obtained based on the panoramic compositing mapping table. Since the video is generated by the video frame, the preset video generation technology can be used to generate the splicing relationship. For the video to be spliced, the preset video generation technology specifies the order of the video frames in the video and the playback speed when the video is generated. Based on the splicing relationship between the video frames to be spliced, the corresponding video frames to be spliced may be spliced to obtain multiple panoramic images, and the panoramic video may be generated by using a preset video generation technology.
  • the panoramic video can be a two-dimensional video or a three-dimensional video. Since the three-dimensional video can more clearly display the spatial positional relationship between obstacles, vehicles, and drivers in the three-dimensional space, the panoramic video is mainly three-dimensional video.
  • the S204 may be specifically: splicing each video to be spliced according to a splicing relationship to generate a two-dimensional video; and performing three-dimensional projection on the two-dimensional video according to a preset three-dimensional projection manner, Panoramic video.
  • the vehicle video capture device as the fisheye device as an example
  • the video collected by the two fisheye cameras is used to look up the table by using the panoramic synthesis mapping table, and two videos to be stitched are obtained, according to the stitching relationship.
  • the two videos to be stitched are stitched together to generate a two-dimensional video, and a three-dimensional spherical panoramic video can be generated by performing spherical rendering on the two-dimensional video.
  • the video frames collected by the two fisheye cameras can also be extracted, and the panoramic synthesis map is used to perform the table lookup, and two subgraphs to be spliced are obtained, and two are to be spliced.
  • the sub-picture is spliced by the image to obtain a two-dimensional panoramic image.
  • the two-dimensional panoramic video is generated, and the two-dimensional panoramic video is spherically rendered to generate a three-dimensional spherical panoramic video.
  • the 2D panoramic video can generate corresponding 3D spherical panoramic video through cylindrical projection, cube projection and other projection methods.
  • the two-dimensional panoramic image may be spherically projected to obtain a three-dimensional panoramic image, and a three-dimensional spherical panoramic video is generated by a video generation technology, which is not specifically limited herein.
  • the vehicle controller sends the panoramic video to the vehicle display.
  • the in-vehicle display is a display device for displaying panoramic video installed in a centrally controlled position of the vehicle.
  • the panoramic video can be transmitted through the interaction module between the onboard controller and the onboard display.
  • the panoramic video can be transmitted between the vehicle controller and the vehicle display through the interaction module.
  • the interaction module includes a communication bus between the vehicle controller and the vehicle display, various data protocols, and a communication interface of the vehicle controller and a communication interface of the vehicle display.
  • the communication bus may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus.
  • the panoramic video can also be transmitted between the on-board controller and the on-board display by wireless transmission, and will not be described here.
  • the on-board display displays a panoramic video by using a preset display strategy.
  • the preset display strategy may be to clear the content that has been displayed on the in-vehicle display, and then display the panoramic video; for the panoramic video of the three-dimensional spherical surface, the preset display strategy may also be a three-dimensional display mode, which is not described here.
  • the method further includes the following steps: the vehicle controller acquires vehicle state information; the vehicle controller determines the to-be-processed information of the panoramic video according to the vehicle state information; and the vehicle controller is configured according to the vehicle
  • the information to be processed is processed by the panoramic video to obtain a processed panoramic video.
  • S205 may specifically be: the vehicle controller sends the processed panoramic video to the on-board display.
  • the S206 may specifically be: the on-vehicle display displays the processed panoramic video after a preset display strategy.
  • the vehicle state information may include steering wheel rotation information, driver attitude change information, vehicle exterior obstacle target information, and the like, corresponding to the in-vehicle device state, the driver state, and the vehicle exterior state, respectively.
  • the processing of the panoramic video may be an adjustment of parameters such as a viewing angle and a viewpoint.
  • the vehicle status information includes driver attitude change information.
  • the vehicle video capture device can also be used to identify driver attitude change information and transmit driver attitude change information to the vehicle controller.
  • the step of acquiring the vehicle state information by the vehicle controller may be specifically: the vehicle controller acquires driver posture change information sent by the vehicle video collector.
  • the step of determining, by the in-vehicle controller, the information to be processed of the panoramic video according to the vehicle state information may be specifically: the vehicle controller determines the viewpoint conversion parameter of the panoramic video by the viewpoint conversion relationship according to the driver posture change information.
  • the step of the vehicle controller processing the panoramic video according to the to-be-processed information to obtain the processed panoramic video may be: the vehicle controller performs the viewpoint update on the panoramic video according to the viewpoint conversion parameter, and obtains the panoramic video after the viewpoint update.
  • the step of the vehicle controller transmitting the processed panoramic video to the in-vehicle display may be: the vehicle controller sends the updated panoramic video of the viewpoint to the on-board display.
  • the step of displaying the processed panoramic video through the preset display strategy of the on-vehicle display may be: the on-board display passes the preset display strategy, and displays the panoramic video after the viewpoint update.
  • the driver's posture has changed. For example, the driver's body leans back and causes the head to move.
  • the camera in the car video collector that recognizes the inside of the car recognizes the change of the human body posture, and transmits the collected human body posture change video to the vehicle.
  • the controller detects that the driver's head has a displacement of (x m , y m , z m ), and the vehicle controller adjusts the viewpoint of the panoramic video by the parameter, and the viewpoint is (x 0 , y 0 , z 0 )
  • the change is (x 1 , y 1 , z 1 )
  • the viewpoint transformation parameter can be described as:
  • k x , k y and k z are viewpoint control parameters and can be set in advance.
  • the vehicle controller performs motion analysis and tracking, and uses the motion information to the panoramic view.
  • the viewpoint is updated to establish an interaction between the in-vehicle personnel and the vehicle panoramic video display system.
  • the vehicle status information may include: an off-vehicle obstacle target information.
  • the vehicle video collector can also be used to identify the obstacle information of the vehicle outside the vehicle and send the obstacle information of the vehicle to the vehicle controller.
  • the step of acquiring the vehicle state information by the vehicle controller may be specifically: the vehicle controller acquires the vehicle obstacle target information identified by the vehicle video collector.
  • the step of determining, by the vehicle controller, the information to be processed of the panoramic video according to the vehicle status information may specifically be: the vehicle controller determines the category information of the obstacle outside the vehicle according to the target information of the obstacle outside the vehicle, and the obstacle video in the panoramic video Location information in .
  • the step of the vehicle controller processing the panoramic video according to the to-be-processed information to obtain the processed panoramic video may specifically be: the vehicle controller superimposes the category information and the location information on the panoramic video to obtain the panoramic video after the superimposed information.
  • the step of the vehicle controller transmitting the processed panoramic video to the vehicle display may be: the vehicle controller sends the panoramic video after the superimposed information to the on-board display.
  • the step of displaying the processed panoramic video through the preset display strategy of the on-vehicle display may specifically be: the on-vehicle display passes the preset display strategy, and displays the panoramic video after the superimposed information.
  • the camera facing the outside of the car in the car video capture device can capture the obstacle target that affects the vehicle outside the vehicle.
  • the category information of the obstacle outside the vehicle and the position information of the obstacle outside the vehicle in the panoramic video can be obtained.
  • the category information and location information of the external obstacle target are superimposed on the panoramic video and displayed on the on-board display, and the warning purpose of the obstacle target can be achieved, as shown in FIG.
  • the vehicle panoramic video display system includes an in-vehicle video collector, a vehicle controller, and an in-vehicle display.
  • the vehicle video capture device includes a plurality of cameras, each camera respectively collects original video in the coverage area, and sends the original video collected by each camera to the vehicle controller; the vehicle controller is used to find a pre-established panoramic synthesis mapping table. Generating a splicing relationship between the video to be spliced corresponding to each original video and each video to be spliced respectively; according to the splicing relationship, splicing each video to be spliced to generate a panoramic video, and transmitting the generated panoramic video to the vehicle display; Used to display the received panoramic video through a preset display policy.
  • the vehicle controller Since the total coverage area of all the cameras in the vehicle video capture device is greater than or equal to 360 degrees, during the running of the vehicle, not only the road ahead of the vehicle is photographed, but also the side of the vehicle and the interior of the vehicle are photographed, and the 360 degree has no dead angle. Panoramic shooting of the surrounding conditions of the vehicle to effectively improve the safety of the vehicle; and the vehicle controller synthesizes the panoramic video by splicing the video to be spliced corresponding to the original video collected by each camera, and using the vehicle display to view the panorama The display of the video effectively improves the display effect of the video, and enables the driver to more intuitively observe the surroundings of the vehicle from the display content, thereby improving the driver's interactive experience.
  • a closed loop is formed between the vehicle video capture device, the vehicle controller and the vehicle display, which can provide useful support for assisted driving.
  • migrating the video splicing function from the vehicle video capture device to the vehicle controller not only saves the purchase cost of the display processing device, but also contributes to the miniaturization of the vehicle video capture device, reduces the baseline convergence between the cameras, and reduces the parallax. Improve the quality of the stitching.
  • FIG. 10 it is a schematic structural diagram of another vehicle panoramic video display system, which includes the following devices: an in-vehicle video collector 1010 and an on-board controller. 1020. On-board display 1030 and body sensor 1040.
  • the interaction between the in-vehicle video capture device 1010, the in-vehicle controller 1020, and the in-vehicle display 1030 is as shown in FIG. 2, and details are not described herein again.
  • the body sensor 1040 is configured to collect steering wheel rotation information and transmit steering wheel rotation information to the onboard controller 1020.
  • the vehicle controller 1020 can also be configured to receive the steering wheel rotation information sent by the vehicle body sensor 1040; according to the steering wheel rotation information, obtain the rotation angle information of the panoramic video by the rotation angle conversion; rotate the information according to the rotation angle of the viewing angle, and obtain the rotation conversion of the panoramic video.
  • the converted panoramic video; the converted panoramic video is transmitted to the in-vehicle display 1030.
  • the in-vehicle display 1030 is further configured to receive the converted panoramic video sent by the on-board controller 1020; and display the converted panoramic video through a preset display policy.
  • the driver's field of vision changes, and the direction of change is related to the direction of rotation of the steering wheel.
  • the steering wheel rotation information is sent to the vehicle controller, and the vehicle controller recalculates the angle of view.
  • the panoramic video after changing the viewing angle is displayed by the in-vehicle display.
  • the vehicle panoramic video display system further includes a vehicle body sensor for collecting steering wheel rotation information.
  • the vehicle body sensor rotates, the vehicle body sensor transmits the panoramic video after the angle of view rotation to the vehicle display, and the display of the vehicle display is performed. Displaying the scene after the vehicle is deflected facilitates the driver's intuitive observation of the driving environment and has a high intelligent assisted driving effect.
  • the embodiment of the present invention further provides an onboard controller, as shown in FIG. 13, which may include a processor 1301 and a memory 1302.
  • the memory 1302 is configured to store a computer program.
  • the processor 1301 is configured to execute the The following steps are implemented in the program stored on the memory 1302.
  • the panoramic composite mapping table includes Corresponding relationship between the pixel coordinates of the video to be stitched and the pixel coordinates of the original video; according to the stitching relationship, the video to be stitched is stitched to generate a panoramic video; and the panoramic video is sent to the in-vehicle display.
  • the processor 1301 may further implement the following steps: acquiring a sample image collected by each camera in the in-vehicle video collector, and each camera internal reference of the vehicle video collector calibration And each camera external parameter; performing spherical projection on each sample image according to each camera internal parameter to generate a spherical projection image corresponding to each sample image; and obtaining a spherical projection image according to each camera external parameter a relative positional relationship; transforming and cropping the spherical projection images according to the relative positional relationship to obtain a panoramic composition mapping table.
  • the processor 1301 may further implement the following steps: acquiring a sample image collected by each camera in the in-vehicle video collector, and each camera internal reference of the vehicle video collector calibration And establishing a first panoramic mapping table, where the content of the first panoramic mapping table is empty; according to the external parameters of the cameras, obtaining a position between each preset area in the first panoramic mapping table And performing inverse transformation on the preset regions according to the positional relationship to obtain an inverse transform region of each preset region; performing spherical projection on each sample image according to each camera internal parameter, generating the A spherical projection image corresponding to each sample image; and a panoramic composition mapping table is determined according to a correspondence relationship between each spherical projection image and each inverse transformation region.
  • the processor 1301 may further implement the following steps: acquiring an external reference calibration image collected by each camera in the vehicle video capture device, and a calibration camera in each external reference calibration image. External parameter; detecting an outer edge of the effective region of the external reference calibration image; fitting the outer edge of the effective region of the external reference calibration image by curve fitting to obtain an effective region of the external reference calibration image a contour; determining, according to an outer contour of the effective region of the external reference calibration image, a camera internal reference for acquiring the calibration image of each external reference; and performing spherical projection on each of the external reference calibration images according to each camera internal reference, generating a a spherical projection image corresponding to each external reference calibration image; obtaining a relative positional relationship between each spherical projection image according to each camera external parameter; and transforming and cutting the spherical projection images according to the relative positional relationship Panorama synthesis map.
  • the processor 1301 may further implement the following steps: acquiring an external reference calibration image collected by each camera in the vehicle video capture device, and a calibration camera in each external reference calibration image. External parameter; detecting an outer edge of the effective region of the external reference calibration image; fitting the outer edge of the effective region of the external reference calibration image by curve fitting to obtain an effective region of the external reference calibration image a contour; determining, according to an outer contour of the effective area of the external reference calibration image, a camera internal parameter for collecting the external reference calibration image; establishing a first panoramic mapping table, wherein the content of the first panoramic mapping table is empty; Each camera external parameter obtains a positional relationship between each preset area in the first panoramic mapping table; and inversely transforms each preset area according to the positional relationship to obtain an inverse of each preset area Converting a region; performing spherical projection on each of the external reference calibration images according to each camera internal parameter, and generating a spherical projection image corresponding to each external reference calibration image
  • the panoramic synthesis mapping table includes a mapping table of each camera in the in-vehicle video collector, and there is an overlapping area between the two mapping tables.
  • the processor 1301 is configured to implement the pre-established panoramic synthesis mapping table, and respectively generate a splicing relationship between the video to be spliced corresponding to each original video and each video to be spliced.
  • the following steps may be implemented: searching for a pre-established panoramic synthesis mapping table, respectively generating a splicing relationship between the video frames to be spliced corresponding to each video frame in each original video and the video frames to be spliced;
  • the generated video frames to be spliced are generated by using a preset video generation technology to generate a video to be spliced.
  • the processor 1301 When the processor 1301 performs the step of splicing the video to be spliced according to the splicing relationship to generate a panoramic video, the following steps may be specifically implemented: according to the splicing relationship between the video frames to be spliced, Each of the corresponding video frames to be spliced in each video to be spliced is spliced to obtain a plurality of panoramic images; and based on each panoramic image, a panoramic video is generated by using a preset video generation technology.
  • the processor 1301 when the processor 1301 implements the step of splicing each video to be spliced according to the splicing relationship to generate a panoramic video, the following steps may be specifically implemented: The splicing relationship is performed, and the video to be spliced is spliced to generate a two-dimensional video; according to the preset three-dimensional projection mode, the two-dimensional video is three-dimensionally projected to obtain a panoramic video.
  • the processor 1301 may further implement the following steps: acquiring vehicle state information; determining, according to the vehicle state information, pending information of the panoramic video; according to the to-be-processed Information, processing the panoramic video to obtain a processed panoramic video.
  • the processor 1301 When the processor 1301 implements the step of transmitting the panoramic video to the in-vehicle display, specifically, the processor 1301 may be configured to: send the processed panoramic video to the in-vehicle display.
  • the vehicle status information includes steering wheel rotation information.
  • the processor 1301 may specifically implement the following steps: acquiring steering wheel rotation information collected by the vehicle body sensor.
  • the processor 1301 may specifically implement the following steps: according to the steering wheel rotation information, the rotation angle is converted to obtain the The perspective of the panoramic video rotates the information.
  • the processor 1301 When the processor 1301 performs the step of processing the panoramic video according to the to-be-processed information to obtain the processed panoramic video, specifically, the following steps may be implemented: rotating the information according to the viewing angle, The panoramic video is rotated and transformed to obtain a transformed panoramic video.
  • the processor 1301 may specifically implement the step of transmitting the converted panoramic video to the in-vehicle display when the step of transmitting the processed panoramic video to the in-vehicle display is implemented.
  • the vehicle state information includes driver posture change information.
  • the processor 1301 may specifically implement the following steps: acquiring driver posture change information recognized by the in-vehicle video collector.
  • the processor 1301 when implementing the step of determining the to-be-processed information of the panoramic video according to the vehicle state information, may specifically implement the following steps: determining, according to the driver attitude change information, a viewpoint transformation relationship The viewpoint conversion parameter of the panoramic video.
  • the processor 1301 When the processor 1301 performs the step of processing the panoramic video according to the to-be-processed information to obtain the processed panoramic video, specifically, the following steps may be implemented: according to the viewpoint transformation parameter, The panoramic video is updated by the viewpoint to obtain a panoramic video after the viewpoint is updated.
  • the processor 1301 implements the step of transmitting the processed panoramic video to the in-vehicle display
  • the processor 1301 may be configured to: send the panoramic video after the view update to the on-board display.
  • the vehicle status information includes: an off-vehicle obstacle target information.
  • the processor 1301 may specifically implement the following steps: acquiring the vehicle exterior obstacle target information identified by the vehicle video capture device.
  • the processor 1301 when implementing the step of determining the to-be-processed information of the panoramic video according to the vehicle state information, may specifically implement the following steps: determining an obstacle outside the vehicle according to the target information of the vehicle exterior obstacle Category information, and location information of the outer obstacle in the panoramic video.
  • the processor 1301 When the processor 1301 performs the step of processing the panoramic video according to the to-be-processed information to obtain the processed panoramic video, the following steps may be specifically implemented: the category information and the location information. Superimposed on the panoramic video to obtain a panoramic video after superimposing information.
  • the processor 1301 When the processor 1301 is configured to send the processed panoramic video to the in-vehicle display, the processor 1301 may specifically implement the step of: transmitting the panoramic video after the superimposed information to the in-vehicle display.
  • the in-vehicle video collector is a fisheye device.
  • the processor 1301 implements the step of acquiring the original video collected by each camera in the vehicle video capture device, the following steps may be specifically implemented: acquiring the original video separately collected by the two fisheye cameras in the fisheye device.
  • Data transmission between the memory 1302 and the processor 1301 may be performed by means of a wired connection or a wireless connection, and the computer device may communicate with other devices through a wired communication interface or a wireless communication interface. It should be noted that only an example of transmitting data between the processor 1301 and the memory 1302 via the bus is shown in FIG. 13, and is not limited to a specific transmission mode.
  • the above memory may include a RAM (Random Access Memory), and may also include NVM (Non-Volatile Memory), such as at least one disk storage.
  • NVM Non-Volatile Memory
  • the memory may also be at least one storage device located away from the processor.
  • the processor may be a general-purpose processor, including a CPU (Central Processing Unit), an NP (Network Processor), or the like; or a DSP (Digital Signal Processor) or an ASIC (Application) Specific Integrated Circuit, FPGA (Field-Programmable Gate Array) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
  • CPU Central Processing Unit
  • NP Network Processor
  • DSP Digital Signal Processor
  • ASIC Application) Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • other programmable logic device discrete gate or transistor logic device, discrete hardware components.
  • the embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores a computer program, a computer program, corresponding to the vehicle-mounted panoramic video display method applied to the vehicle-mounted controller provided by the above embodiment. All steps of the in-vehicle panoramic video display method applied to the on-vehicle controller of the embodiment of the present application are implemented when executed by the processor.
  • the vehicle controller splicing and synthesizing the video to be spliced corresponding to the original video collected by each camera
  • the panoramic video is then displayed by the on-board display, which effectively improves the display effect of the video, enables the driver to more intuitively observe the surroundings of the vehicle from the display content, and improves the driver's interactive experience.
  • the computer readable storage medium stores an application program that executes the on-vehicle panoramic video display method applied to the on-vehicle controller provided by the embodiment of the present application at runtime, and thus can realize: the total coverage area of all the cameras in the vehicle video capture device It is greater than or equal to 360 degrees.
  • the running of the vehicle not only the road ahead of the vehicle is photographed, but also the side of the vehicle and the inside of the vehicle are photographed. 360 degrees without panoramic view, the panoramic view of the surrounding conditions of the vehicle is effectively improved.
  • the vehicle controller synthesizes the panoramic video by splicing the video to be spliced corresponding to the original video collected by each camera, and then displaying the panoramic video by using the vehicle display, thereby effectively improving the display effect of the video. It can make the driver more intuitively observe the situation around the vehicle from the display content, and improve the driver's interactive experience.
  • the embodiment of the present application provides an application program for performing at runtime: the vehicle panoramic video image applied to the vehicle controller provided by the embodiment of the present application Display method.
  • the application performs the on-vehicle panoramic video display method applied to the on-board controller provided by the embodiment of the present application during operation, so that the total coverage area of all the cameras in the on-board video collector is greater than or equal to 360.
  • the process of driving the vehicle not only the road ahead of the vehicle is photographed, but also the side of the vehicle and the inside of the vehicle are photographed, and 360-degree panoramic view of the surroundings of the vehicle is performed without dead angle, thereby effectively improving the safety of the vehicle.
  • the vehicle controller synthesizes the panoramic video by splicing the video to be spliced corresponding to the original video collected by each camera, and then displaying the panoramic video by using the vehicle display, thereby effectively improving the display effect of the video and enabling driving
  • the staff intuitively observed the surrounding conditions of the vehicle from the display content and improved the driver's interactive experience.
  • the on-board controller the computer readable storage medium, and the application embodiment, since the method content involved is basically similar to the foregoing method embodiment, the description is relatively simple, and the relevant parts refer to the description of the method embodiment. Just fine.

Abstract

A vehicle panoramic video display system and method and a vehicle controller, the system comprising: a vehicle video collector (1010), a vehicle controller (1020) and a vehicle display (1030), wherein the vehicle video collector (1010) comprises a plurality of cameras; each camera separately collects original videos in a coverage area, and the total coverage area of all of the cameras in the vehicle video collector (1010) is greater than or equal to 360 degrees; and the original videos collected by the each camera are sent to the vehicle controller (1020). The vehicle controller (1020) is used to search for a pre-established panoramic synthesis mapping table and to respectively generate a video to be spliced that corresponds to each original video and a splicing relationship between each video to be spliced; the videos to be spliced are spliced according to the splicing relationship so as to generate a panoramic video; and the panoramic video is sent to the vehicle display (1030). The vehicle display (1030) is used to display the panoramic video by means of a preset display policy. By means of the present solution, the safety of driving a vehicle and the display effect of a captured video may be improved.

Description

一种车载全景视频显示系统、方法及车载控制器Vehicle panoramic video display system, method and vehicle controller
本申请要求于2018年4月2日提交中国专利局、申请号为201810284336.3发明名称为“一种车载全景视频显示系统、方法及车载控制器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority from the Chinese Patent Application entitled "A Car Panoramic Video Display System, Method, and Vehicle Controller" by the Chinese Patent Office on April 2, 2018, the application number is 201101828336.3, the entire contents of which are incorporated by reference. Combined in this application.
技术领域Technical field
本申请涉及智能辅助驾驶技术领域,特别涉及一种车载全景视频显示系统、方法及车载控制器。The present application relates to the field of intelligent assisted driving technology, and in particular, to a vehicle panoramic video display system, method, and vehicle controller.
背景技术Background technique
车辆的智能辅助驾驶技术对于行车安全和高效的行车效率有着非常重要的作用,利用智能辅助驾驶技术可以在很大程度上避免因为车辆驾驶员的驾驶失误而导致的交通事故。The intelligent assisted driving technology of the vehicle plays an important role in driving safety and efficient driving efficiency. The use of intelligent assisted driving technology can largely avoid traffic accidents caused by driving errors of the driver of the vehicle.
在智能辅助驾驶技术中,有一种基于视频信息的智能辅助驾驶方式。该智能辅助驾驶方式中,利用行车记录仪对车辆行驶前方的路况进行拍摄,基于所拍摄的视频,识别车辆行驶前方是否存在障碍物目标,若识别到障碍物目标,则产生预警信号,并根据该预警信号提示驾驶员躲避障碍物。但是,影响车辆行驶安全的因素不仅仅包括车辆行驶正前方的障碍物,驾驶员的驾驶状态也影响着行驶安全,例如驾驶员处于疲劳驾驶状态,发生交通事故的几率也会变大。In the intelligent assisted driving technology, there is an intelligent assisted driving method based on video information. In the intelligent assisted driving mode, the driving recorder is used to capture the road condition ahead of the vehicle, and based on the captured video, it is identified whether there is an obstacle target ahead of the vehicle, and if the obstacle target is identified, an early warning signal is generated, and according to the The warning signal prompts the driver to avoid obstacles. However, the factors affecting the driving safety of the vehicle include not only the obstacles directly in front of the vehicle, but also the driving state of the driver affecting the driving safety. For example, the driver is in a fatigue driving state, and the probability of a traffic accident is also increased.
为了应对上述问题,在行车记录仪上增加一个摄像头,用于采集驾驶员的眼部信息,通过对驾驶员眼部信息的分析,若确定驾驶员处于疲劳驾驶状态,或者基于上述拍摄前方路况的视频,识别到车辆行驶前方存在障碍物目标,则产生预警信号,并根据该预警信号提示驾驶员存在安全隐患。但是,基于上述方案,行车记录仪仅仅可以拍摄到车辆正前方的路况和驾驶员的视频,对于车辆侧方的情况无法拍摄,车辆侧方的安全性难以得到保障;并且,行车记录仪在进行拍摄视频显示时,对于拍摄的车内视频或者车外视频进行独立显示,驾驶员无法宏观观察车辆行驶的整体情况,显示效果差。In order to cope with the above problem, a camera is added to the driving recorder for collecting the driver's eye information, and by analyzing the driver's eye information, if it is determined that the driver is in a fatigue driving state, or based on the above-mentioned shooting road conditions. The video recognizes that there is an obstacle target in front of the vehicle, and generates an early warning signal, and according to the warning signal, prompts the driver to have a safety hazard. However, based on the above scheme, the driving recorder can only capture the road condition directly in front of the vehicle and the driver's video, and it is impossible to photograph the side of the vehicle, and the safety of the side of the vehicle is difficult to be secured; and the driving recorder is performing When the video is displayed, the in-vehicle video or the off-camera video is displayed independently, and the driver cannot observe the overall situation of the vehicle in a macroscopic view, and the display effect is poor.
发明内容Summary of the invention
本申请实施例的目的在于提供一种车载全景视频显示系统、方法及车载控制器,以提高车辆行驶的安全性及拍摄视频的显示效果。具体技术方案如下:The purpose of the embodiments of the present application is to provide a vehicle panoramic video display system, method, and vehicle controller to improve the safety of driving the vehicle and the display effect of the captured video. The specific technical solutions are as follows:
第一方面,本申请实施例提供了一种车载全景视频显示系统,所述系统包括车载视频采集器、车载控制器及车载显示器;In a first aspect, an embodiment of the present application provides a vehicle panoramic video display system, where the system includes an in-vehicle video collector, a vehicle controller, and an in-vehicle display;
所述车载视频采集器中包括多个摄像头,各摄像头分别采集覆盖区域内 的原始视频,所述车载视频采集器中所有摄像头的总覆盖区域大于或等于360度;发送各摄像头采集的原始视频至所述车载控制器;The vehicle video capture device includes a plurality of cameras, and each camera captures original video in the coverage area, and the total coverage area of all the cameras in the vehicle video collector is greater than or equal to 360 degrees; the original video collected by each camera is sent to The vehicle controller;
所述车载控制器,用于接收所述车载视频采集器发送的各摄像头采集的原始视频;查找预先建立的全景合成映射表,分别生成各原始视频对应的待拼接视频及各待拼接视频间的拼接关系,所述全景合成映射表中包括待拼接视频的像素坐标与原始视频的像素坐标的对应关系;根据所述拼接关系,将各待拼接视频进行拼接,生成全景视频;将所述全景视频发送至所述车载显示器;The vehicle controller is configured to receive the original video collected by each camera sent by the vehicle video capture device; and search for a pre-established panoramic synthesis mapping table, respectively generate a video to be spliced corresponding to each original video and a video to be spliced a splicing relationship, the panorama synthesis mapping table includes a correspondence between pixel coordinates of the video to be spliced and pixel coordinates of the original video; and splicing the video to be spliced according to the splicing relationship to generate a panoramic video; Sended to the on-board display;
所述车载显示器,用于接收所述车载控制器发送的所述全景视频;利用预设显示策略,显示所述全景视频。The on-board display is configured to receive the panoramic video sent by the onboard controller; and display the panoramic video by using a preset display policy.
第二方面,本申请实施例提供了一种车载全景视频显示方法,应用于车载控制器,所述方法包括:In a second aspect, an embodiment of the present application provides a vehicle panoramic video display method, which is applied to an in-vehicle controller, and the method includes:
获取车载视频采集器中各摄像头采集的原始视频;Obtaining the original video collected by each camera in the car video collector;
查找预先建立的全景合成映射表,分别生成各原始视频对应的待拼接视频及各待拼接视频间的拼接关系,所述全景合成映射表中包括待拼接视频的像素坐标与原始视频的像素坐标的对应关系;Searching for a pre-established panoramic synthesis mapping table, respectively, to generate a splicing relationship between the video to be spliced corresponding to each original video and each video to be spliced, wherein the panoramic compositing mapping table includes pixel coordinates of the video to be spliced and pixel coordinates of the original video. Correspondence relationship
根据所述拼接关系,将各待拼接视频进行拼接,生成全景视频;According to the splicing relationship, the video to be spliced is spliced to generate a panoramic video;
将所述全景视频发送至车载显示器。The panoramic video is sent to the onboard display.
第三方面,本申请实施例提供了一种车载控制器,所述车载控制器中包括处理器和存储器;In a third aspect, an embodiment of the present application provides an onboard controller, where the onboard controller includes a processor and a memory;
所述存储器,用于存放计算机程序;The memory is configured to store a computer program;
所述处理器,用于执行所述存储器上所存放的程序时,实现如下步骤:The processor, when executing the program stored on the memory, implements the following steps:
获取车载视频采集器中各摄像头采集的原始视频;Obtaining the original video collected by each camera in the car video collector;
查找预先建立的全景合成映射表,分别生成各原始视频对应的待拼接视频及各待拼接视频间的拼接关系,所述全景合成映射表中包括待拼接视频的像素坐标与原始视频的像素坐标的对应关系;Searching for a pre-established panoramic synthesis mapping table, respectively, to generate a splicing relationship between the video to be spliced corresponding to each original video and each video to be spliced, wherein the panoramic compositing mapping table includes pixel coordinates of the video to be spliced and pixel coordinates of the original video. Correspondence relationship
根据所述拼接关系,将各待拼接视频进行拼接,生成全景视频;According to the splicing relationship, the video to be spliced is spliced to generate a panoramic video;
将所述全景视频发送至车载显示器。The panoramic video is sent to the onboard display.
第四方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时,实现如下步骤:In a fourth aspect, the embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, the following steps are implemented:
获取车载视频采集器中各摄像头采集的原始视频;Obtaining the original video collected by each camera in the car video collector;
查找预先建立的全景合成映射表,分别生成各原始视频对应的待拼接视频及各待拼接视频间的拼接关系,所述全景合成映射表中包括待拼接视频的像素坐标与原始视频的像素坐标的对应关系;Searching for a pre-established panoramic synthesis mapping table, respectively, to generate a splicing relationship between the video to be spliced corresponding to each original video and each video to be spliced, wherein the panoramic compositing mapping table includes pixel coordinates of the video to be spliced and pixel coordinates of the original video. Correspondence relationship
根据所述拼接关系,将各待拼接视频进行拼接,生成全景视频;According to the splicing relationship, the video to be spliced is spliced to generate a panoramic video;
将所述全景视频发送至车载显示器。The panoramic video is sent to the onboard display.
综上可见,本申请实施例提供的方案中,车载全景视频显示系统包括车载视频采集器、车载控制器和车载显示器。车载视频采集器中包括多个摄像头,各摄像头分别采集覆盖区域内的原始视频,并将各摄像头采集的原始视频发送至车载控制器;车载控制器,用于查找预先建立的全景合成映射表,分别生成各原始视频对应的待拼接视频及各待拼接视频间的拼接关系;根据该拼接关系,将各待拼接视频进行拼接,生成全景视频,并将生成的全景视频发送至车载显示器;车载显示器,用于经过预设显示策略,显示所接收到的全景视频。由于车载视频采集器中所有摄像头的总覆盖区域大于或等于360度,在车辆行驶过程中,不仅仅对车辆行驶前方路况进行拍摄、还对车辆的侧方以及车辆内部进行拍摄,360度无死角地对车辆的四周情况进行全景拍摄,有效提高车辆行驶的安全性;并且,车载控制器通过将各摄像头采集的原始视频所对应的待拼接视频进行拼接,合成全景视频,利用车载显示器对该全景视频进行显示,有效提高了视频的显示效果,能够使驾驶员更直观的从显示内容中观察到车辆的四周情况,提高了驾驶员的交互体验。In summary, in the solution provided by the embodiment of the present application, the vehicle panoramic video display system includes an in-vehicle video collector, a vehicle controller, and an in-vehicle display. The vehicle video capture device includes a plurality of cameras, each camera respectively collects original video in the coverage area, and sends the original video collected by each camera to the vehicle controller; the vehicle controller is used to find a pre-established panoramic synthesis mapping table. Generating a splicing relationship between the video to be spliced corresponding to each original video and each video to be spliced respectively; according to the splicing relationship, splicing each video to be spliced to generate a panoramic video, and transmitting the generated panoramic video to the vehicle display; Used to display the received panoramic video through a preset display policy. Since the total coverage area of all the cameras in the vehicle video capture device is greater than or equal to 360 degrees, during the running of the vehicle, not only the road ahead of the vehicle is photographed, but also the side of the vehicle and the interior of the vehicle are photographed, and the 360 degree has no dead angle. Panoramic shooting of the surrounding conditions of the vehicle to effectively improve the safety of the vehicle; and the vehicle controller synthesizes the panoramic video by splicing the video to be spliced corresponding to the original video collected by each camera, and using the vehicle display to view the panorama The display of the video effectively improves the display effect of the video, and enables the driver to more intuitively observe the surroundings of the vehicle from the display content, thereby improving the driver's interactive experience.
附图说明DRAWINGS
图1为本申请一实施例的车载全景视频显示系统的结构示意图;1 is a schematic structural diagram of a vehicle panoramic video display system according to an embodiment of the present application;
图2为本申请实施例的车载全景视频显示方法的流程示意图;2 is a schematic flowchart of a method for displaying a vehicle panoramic video according to an embodiment of the present application;
图3a为相应的包含视频处理芯片的双鱼眼设备的结构示意图;FIG. 3a is a schematic structural diagram of a corresponding fisheye device including a video processing chip; FIG.
图3b为相应的不包含视频处理芯片的双鱼眼设备的结构示意图;FIG. 3b is a schematic structural diagram of a corresponding fisheye device without a video processing chip; FIG.
图4为本申请实施例的车载控制器的工作机制流程示意图;4 is a schematic flowchart of a working mechanism of an on-board controller according to an embodiment of the present application;
图5为本申请实施例的全景合成映射表生成过程的流程示意图;FIG. 5 is a schematic flowchart of a process for generating a panoramic synthesis mapping table according to an embodiment of the present application;
图6为本申请实施例的全景合成映射表的结构示意图;FIG. 6 is a schematic structural diagram of a panoramic synthesis mapping table according to an embodiment of the present application;
图7为本申请实施例的全景视频生成过程的流程示意图;FIG. 7 is a schematic flowchart of a panoramic video generation process according to an embodiment of the present application;
图8为本申请实施例的驾驶员姿态发生变化时全景视频的调整示意图;FIG. 8 is a schematic diagram of adjusting a panoramic video when a driver's posture changes according to an embodiment of the present application; FIG.
图9为本申请实施例的识别到车外障碍物目标时全景视频的调整示意图;FIG. 9 is a schematic diagram of adjusting a panoramic video when an object of an obstacle outside the vehicle is recognized according to an embodiment of the present application;
图10为本申请另一实施例的车载全景视频显示系统的结构示意图;FIG. 10 is a schematic structural diagram of a vehicle panoramic video display system according to another embodiment of the present application; FIG.
图11为本申请实施例的车辆方向盘发生转动时全景视频的调整示意图;FIG. 11 is a schematic diagram of adjustment of panoramic video when a steering wheel of a vehicle rotates according to an embodiment of the present application; FIG.
图12a为本申请实施例的方向盘转角为β 0时全景视频的显示示意图; FIG. 12 is a schematic diagram showing the display of a panoramic video when the steering wheel angle is β 0 according to an embodiment of the present application; FIG.
图12b为本申请实施例的方向盘转角为β 1时全景视频的显示示意图; 12b is a schematic diagram showing the display of a panoramic video when the steering wheel angle is β 1 according to an embodiment of the present application;
图13为本申请实施例的车载控制器的结构示意图。FIG. 13 is a schematic structural diagram of an on-board controller according to an embodiment of the present application.
具体实施方式detailed description
为使本申请的目的、技术方案、及优点更加清楚明白,以下参照附图并举实施例,对本申请进一步详细说明。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the objects, technical solutions, and advantages of the present application more comprehensible, the present application will be further described in detail below with reference to the accompanying drawings. It is apparent that the described embodiments are only a part of the embodiments of the present application, and not all of them. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
为了提高车辆行驶的安全性及拍摄视频的显示效果,本申请实施例提供了一种车载全景视频显示系统、方法及车载控制器,以下分别进行详细说明。In order to improve the safety of driving the vehicle and the display effect of the captured video, the embodiment of the present application provides a vehicle panoramic video display system, method, and vehicle controller, which are respectively described in detail below.
本申请实施例提供了一种车载全景视频显示系统,如图1所示,为车载全景视频显示系统的结构示意图,该车载全景视频显示系统包括:车载视频采集器110、车载控制器120以及车载显示器130。The embodiment of the present application provides a vehicle panoramic video display system, as shown in FIG. 1 , which is a schematic structural diagram of a vehicle panoramic video display system, including: a vehicle video capture device 110 , a vehicle controller 120 , and a vehicle Display 130.
下面,首先从如图1所示的车载全景视频显示系统中各设备的交互角度,对本申请实施例所提供的车载全景视频显示方法进行介绍,如图2所示,该车载全景视频显示方法可以包括如下步骤。In the following, the vehicle panoramic video display method provided by the embodiment of the present application is introduced from the perspective of the interaction of the devices in the vehicle panoramic video display system as shown in FIG. 1. As shown in FIG. 2, the vehicle panoramic video display method can be Including the following steps.
S201,车载视频采集器中各摄像头分别采集覆盖区域内的原始视频。In S201, each camera in the vehicle video capture device separately collects the original video in the coverage area.
车载视频采集器安装在车辆上,可以位于车辆前挡的位置。车载视频采集器中包括多个摄像头,并且所有摄像头的总覆盖区域大于或等于360度。例如,车载视频采集器中可以包括4个摄像头,每个摄像头的覆盖区域为90度的覆盖区域,则这4个摄像头的总覆盖区域为360度的覆盖区域;再例如,车载视频采集器中可以包括3个摄像头,每个摄像头的覆盖区域为120度的覆盖区域,则这3个摄像头的总覆盖区域为360度的覆盖区域。车载视频采集器中各摄像头的覆盖区域可以不相等,例如,车载视频采集器中可以包括5个摄像头,有两个摄像头的覆盖区域为90度的覆盖区域,而另外三个摄像头的覆盖区域为60度的覆盖区域;再例如,车载视频采集器中可以包括5个摄像头,各摄像头的覆盖区域分别为45度、60度、65度、90度、100度的覆盖区域。摄像头的覆盖区域,为摄像头的视场角所覆盖的区域。The car video capture device is mounted on the vehicle and can be located in the front of the vehicle. The vehicle video capture device includes a plurality of cameras, and the total coverage area of all the cameras is greater than or equal to 360 degrees. For example, the in-vehicle video collector can include four cameras, each of which covers a coverage area of 90 degrees, and the total coverage area of the four cameras is a 360-degree coverage area; for example, in a car video collector. It can include 3 cameras, each of which has a coverage area of 120 degrees, and the total coverage area of the three cameras is a 360-degree coverage area. The coverage area of each camera in the vehicle video capture device may not be equal. For example, the vehicle video capture device may include five cameras, the coverage area of two cameras is a coverage area of 90 degrees, and the coverage areas of the other three cameras are A coverage area of 60 degrees; for example, the vehicle video capture device may include five cameras, and the coverage areas of the cameras are 45 degrees, 60 degrees, 65 degrees, 90 degrees, and 100 degrees, respectively. The coverage area of the camera is the area covered by the camera's field of view.
在本申请的一种可能的实施方式中,车载视频采集器可以为双鱼眼设备。In a possible implementation manner of the present application, the in-vehicle video collector may be a fisheye device.
如图3a及图3b所示,为两种典型的双鱼眼设备,图3a所示的双鱼眼设备以及图3b所示的双鱼眼设备都是由两个背靠背的鱼眼摄像头(第一鱼眼摄像头301和第二鱼眼摄像头302)组成,图3a所示的双鱼眼设备包含视频处理芯片303,图3b所示的双鱼眼设备不包含视频处理芯片。两种双鱼眼设备的区别在于是否具备视频处理能力,视频处理芯片可以实现全景视频合成、智能检测等功能。但是由于图3a所示的双鱼眼设备中包含有视频处理芯片303,该双鱼眼设备的体积和重量要明显重于图3b所示的双鱼眼设备,且成本更高,不易进行装配。因此,在本实施例中,可以采用图3b所示的双鱼眼设备,不包含视频处理芯片的双鱼眼设备,不具备全景视频合成功能,只进行视频采集,双鱼眼设备自身可以完成图像滤波去噪、白平衡等基本图像处理功能。这样,可以有效控制系统成本、有助于双鱼眼设备的小型化、减少摄像头之间的基线聚。As shown in Figures 3a and 3b, for two typical fisheye devices, the fisheye device shown in Figure 3a and the fisheye device shown in Figure 3b are both back-to-back fisheye cameras (first fisheye) The camera 301 and the second fisheye camera 302) are composed. The fisheye device shown in Fig. 3a includes a video processing chip 303, and the fisheye device shown in Fig. 3b does not include a video processing chip. The difference between the two types of fisheye equipment is whether it has video processing capability, and the video processing chip can realize functions such as panoramic video synthesis and intelligent detection. However, since the fisheye lens device shown in Fig. 3a includes the video processing chip 303, the size and weight of the fisheye device are significantly heavier than the binocular device shown in Fig. 3b, and the cost is higher, and assembly is difficult. Therefore, in this embodiment, the fisheye device shown in FIG. 3b, the fisheye device without the video processing chip, the panoramic video synthesis function, and only the video capture can be used, and the fisheye device can complete the image filtering. Basic image processing functions such as noise and white balance. In this way, the system cost can be effectively controlled, the miniaturization of the fisheye device can be facilitated, and the baseline convergence between the cameras can be reduced.
车载视频采集器中的各摄像头,可以不具有一致的关键参数和安装参数,关键参数包括但不限于摄像头内参、视场角、畸变量、焦距等;安装参数包括但不限于安装位置、安装角度等。只要所有摄像头的总覆盖区域满足大于或等于360度即可。Each camera in the car video capture device may not have consistent key parameters and installation parameters, including but not limited to camera internal parameters, field of view angle, distortion, focal length, etc.; installation parameters include but are not limited to installation position, installation angle Wait. As long as the total coverage area of all cameras satisfies greater than or equal to 360 degrees.
S202,车载视频采集器将各摄像头采集的原始视频发送至车载控制器。S202. The vehicle video collector sends the original video collected by each camera to the vehicle controller.
车载控制器是一种安装在车辆中控位置的、与车辆主机和通信总线按照规定协议进行通信、完成信息的采集、存储和传输的设备。车载视频采集器将各摄像头采集的原始视频发送至车载控制器,以使车载控制器完成全景视频生成、智能检测等功能。The vehicle controller is a device installed in the central control position of the vehicle, communicating with the vehicle host and the communication bus according to a prescribed protocol, and completing the collection, storage and transmission of information. The vehicle video capture device sends the original video collected by each camera to the vehicle controller, so that the vehicle controller can complete functions such as panoramic video generation and intelligent detection.
在本申请的一种可能的实施方式中,车载视频采集器与车载控制器之间,可以通过交互模块传输各摄像头采集的原始视频。In a possible implementation manner of the present application, between the vehicle video capture device and the vehicle controller, the original video collected by each camera may be transmitted through the interaction module.
车载视频采集器与车载控制器之间可以通过交互模块传输各摄像头采集的原始视频,交互模块包括车载视频采集器与车载控制器之间的通信总线、各种数据协议,以及车载视频采集器的通信接口和车载控制器的通信接口。通信总线可以是PCI(Peripheral Component Interconnect,外设部件互连标准)总线或EISA(Extended Industry Standard Architecture,扩展工业标准结构)总线等。The original video captured by each camera can be transmitted between the vehicle video capture device and the vehicle controller through an interactive module. The interaction module includes a communication bus between the vehicle video capture device and the vehicle controller, various data protocols, and a vehicle video capture device. Communication interface between communication interface and vehicle controller. The communication bus may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus.
车载视频采集器与车载控制器之间还可以通过无线传输的方式传输各摄像头采集的原始视频,这里不再赘述。The original video captured by each camera can also be transmitted by wireless transmission between the vehicle video capture device and the vehicle controller, and will not be described here.
S203,车载控制器查找预先建立的全景合成映射表,分别生成各原始视频对应的待拼接视频及各待拼接视频间的拼接关系。S203. The in-vehicle controller searches for a pre-established panoramic synthesis mapping table, and respectively generates a stitching relationship between the video to be stitched corresponding to each original video and each video to be stitched.
全景合成映射表中包括待拼接视频的像素坐标与原始视频的像素坐标的对应关系。车载控制器的工作机制如图4所示,车载控制器中存储有全景合成映射表及智能检测模型文件。车载控制器的功能是完成包括但不限于全景视频生成、智能检测等,输出全景视频和检测信息,并能够根据控制信息输入对全景视频进行视点和视角变换,实现全景漫游。The panoramic composition map includes the correspondence between the pixel coordinates of the video to be stitched and the pixel coordinates of the original video. The working mechanism of the vehicle controller is as shown in FIG. 4, and the vehicle controller stores a panoramic synthesis mapping table and an intelligent detection model file. The function of the on-board controller is to complete, including but not limited to, panoramic video generation, intelligent detection, etc., output panoramic video and detection information, and can perform viewpoint and perspective transformation on the panoramic video according to the control information input to realize panoramic roaming.
全景合成映射表预先建立、并且已存储在车载控制器内,全景合成映射表用于合成全景视频。全景合成映射表描述了待拼接视频的像素与原始视频的像素间的一一对应关系,全景合成映射表中存储了视频的像素坐标,以及各待拼接视频间的拼接关系。The panoramic synthesis map is pre-established and stored in the onboard controller, and the panoramic synthesis map is used to synthesize panoramic video. The panoramic synthesis mapping table describes a one-to-one correspondence between the pixels of the video to be spliced and the pixels of the original video. The panoramic synthesis mapping table stores the pixel coordinates of the video and the splicing relationship between the videos to be spliced.
在本申请的一种可能的实施方式中,全景合成映射表的建立方式,可以包括如下步骤:获取车载视频采集器中各摄像头采集的样本图像,以及车载视频采集器标定的各摄像头内参及各摄像头外参;根据各摄像头内参,对各样本图像分别进行球面投影,生成各样本图像对应的球面投影图像;根据各摄像头外参,获得各球面投影图像之间的相对位置关系;根据相对位置关系,对各球面投影图像进行变换、裁剪,得到全景合成映射表。In a possible implementation manner of the present application, the method for establishing the panoramic synthesis mapping table may include the following steps: acquiring sample images collected by each camera in the vehicle video capture device, and participating in each camera of the vehicle video collector calibration Camera external reference; according to each camera internal reference, each sample image is spherically projected to generate a spherical projection image corresponding to each sample image; according to each camera external parameter, the relative positional relationship between each spherical projection image is obtained; according to the relative positional relationship Convert and crop each spherical projection image to obtain a panoramic composition map.
样本图像为车载视频采集器在建立全景合成映射表时,预先采集的图像,样本图像可以是预先拍摄的图片,也可以是预先采集的视频样本中的任一视频帧,或多个视频帧;样本图像还可以是在对各摄像头采集的原始视频进行全景视频生成之前,从原始视频中提取的任一视频帧或者多个视频帧。在样本图像中往往预先标定了摄像头内参或者摄像头外参,因此,可以直接通过 各样本图像获取到标定的各摄像头内参或者各摄像头外参。The sample image is a pre-acquired image when the vehicle video capture device establishes the panoramic synthesis mapping table, and the sample image may be a pre-photographed image, or may be any video frame in the pre-acquired video sample, or multiple video frames; The sample image may also be any video frame or multiple video frames extracted from the original video before the panoramic video is generated for the original video captured by each camera. In the sample image, the camera internal parameter or the camera external parameter is often pre-calibrated. Therefore, each camera internal parameter or each camera external parameter can be obtained directly through each sample image.
以车载视频采集器为双鱼眼设备为例,如图5所示,提供了全景合成映射表的生成过程。获取两个鱼眼摄像头分别采集的样本图像,经过球面投影将两个样本图像展开,生成无畸变的球面投影图像,然后根据摄像头外参,获得两个图像间的相对位置关系,根据该相对位置关系,对两个图像进行变换、裁剪,得到全景合成映射表。对两个图像进行变换可以是:以其中的一幅图像为基准,对另外一幅图像进行变换,以达到全景无缝拼接的目的。Taking the vehicle video recorder as a fisheye device as an example, as shown in FIG. 5, a process of generating a panoramic synthesis map is provided. Obtaining the sample images collected by the two fisheye cameras separately, and expanding the two sample images through spherical projection to generate an undistorted spherical projection image, and then obtaining a relative positional relationship between the two images according to the external parameters of the camera, according to the relative position Relationship, transforming and cropping two images to obtain a panoramic composition map. The transformation of the two images may be: using one of the images as a reference, and transforming the other image to achieve seamless mosaic of the panorama.
由于车载视频采集器中各摄像头的相对位置关系固定,摄像头的内参和外参可以通过离线标定的方式获得,各摄像头采集的图像/视频之间的相对位置关系也是固定的,则可以对坐标图像的坐标进行球面投影展开和变换,并经过裁剪,可得到全景合成映射表。全景合成映射表只与输入图像的分辨率相关。采用离线标定的方式,对于每台车载视频采集器只需要标定一次,可快速生成全景视频。Since the relative positional relationship of each camera in the vehicle video capture device is fixed, the internal parameters and external parameters of the camera can be obtained by offline calibration, and the relative positional relationship between the images/videos collected by each camera is also fixed, and the coordinate image can be The coordinates of the spherical projection are expanded and transformed, and after cropping, a panoramic composite mapping table can be obtained. The panorama synthesis map is only relevant to the resolution of the input image. With off-line calibration, only one calibration is required for each car video collector, which can quickly generate panoramic video.
全景合成映射表的生成过程还可以是按照逆过程来生成,建立空的全景映射表,通过逆变换、拟投影展开,建立全景合成映射表与原始图像之间的对应关系。The process of generating the panoramic synthesis mapping table may also be generated according to an inverse process, establishing an empty panoramic mapping table, and establishing a correspondence between the panoramic composite mapping table and the original image through inverse transformation and pseudo projection expansion.
在本申请的一种可能的实施方式中,全景合成映射表的建立方式,可以包括如下步骤:获取车载视频采集器中各摄像头采集的样本图像,以及车载视频采集器标定的各摄像头内参及各摄像头外参;建立第一全景映射表,第一全景映射表的内容为空;根据各摄像头外参,得到第一全景映射表中各预设区域之间的位置关系;根据位置关系,对各预设区域进行逆变换,得到各预设区域的逆变换区域;根据各摄像头内参,对各样本图像分别进行球面投影,生成各样本图像对应的球面投影图像;根据各球面投影图像与各逆变换区域之间的对应关系,确定全景合成映射表。In a possible implementation manner of the present application, the method for establishing the panoramic synthesis mapping table may include the following steps: acquiring sample images collected by each camera in the vehicle video capture device, and participating in each camera of the vehicle video collector calibration a camera external parameter; establishing a first panoramic mapping table, the content of the first panoramic mapping table is empty; according to each camera external parameter, obtaining a positional relationship between each preset area in the first panoramic mapping table; according to the positional relationship, each The preset area is inversely transformed to obtain an inverse transformation area of each preset area; according to each camera internal parameter, spherical image projection is performed on each sample image to generate a spherical projection image corresponding to each sample image; according to each spherical projection image and each inverse transformation The correspondence between the regions determines the panoramic composition map.
通过上述正过程或者逆过程均可以生成全景合成映射表,正过程生成全景合成映射表的耗时更短,而逆过程生成全景合成映射表的准确度更高。The panoramic synthesis map can be generated by the above positive process or the inverse process, and the positive process generates a panoramic synthesis map with less time, and the inverse process generates a panoramic synthesis map with higher accuracy.
车载视频采集器的各摄像头外参往往是固定的,在车载视频采集器安装好之后,各摄像头的安装位置、安装角度等外参固定不变,但是摄像头内参和摄像头外参都需要预先由另外的辅助标定设备进行标定。为了减少辅助标定设备的数量,以提高内参和外参标定的效率,可以通过外参标定图像中标定的摄像头外参,计算出摄像头内参,也就是说,只需要对各摄像头外参进行标定,通过预设的内参检测算法可得到各摄像头内参,而不需要单独的内参标定辅助设备对各摄像头内参进行标定。The external parameters of each camera of the car video capture device are often fixed. After the car video capture device is installed, the external position of the camera installation position and installation angle are fixed, but the camera internal reference and the camera external reference need to be pre-independent. The auxiliary calibration equipment is calibrated. In order to reduce the number of auxiliary calibration equipment, in order to improve the efficiency of internal reference and external reference calibration, the external reference of the camera in the image can be calibrated by the external reference to calculate the internal reference of the camera, that is, only the external parameters of each camera need to be calibrated. The internal parameters of each camera can be obtained by the preset internal parameter detection algorithm, and the internal reference parameters of each camera are not required to be calibrated by a separate internal reference calibration auxiliary device.
在本申请的一种可能的实施方式中,全景合成映射表的建立方式,还可以包括:获取车载视频采集器中各摄像头采集的外参标定图像,及各外参标定图像中标定的摄像头外参;检测各外参标定图像的有效区域外边缘;利用曲线拟合,拟合各外参标定图像的有效区域外边缘,得到各外参标定图像的 有效区域的外轮廓;基于各外参标定图像的有效区域的外轮廓,确定采集各外参标定图像的摄像头内参;根据各摄像头内参,对各外参标定图像分别进行球面投影,生成各外参标定图像对应的球面投影图像;根据各摄像头外参,获得各球面投影图像之间的相对位置关系;根据所述相对位置关系,对各球面投影图像进行变换、裁剪,得到全景合成映射表。In a possible implementation manner of the present application, the manner of establishing the panoramic synthesis mapping table may further include: acquiring an external reference calibration image collected by each camera in the vehicle video capture device, and a calibration camera outside the calibration image of each external reference. Detecting; detecting the outer edge of the effective region of each external reference calibration image; fitting the outer edge of the effective region of each external reference calibration image by curve fitting, obtaining the outer contour of the effective region of each external reference calibration image; calibrating based on each external parameter The outer contour of the effective area of the image determines the camera internal parameters for collecting the calibration images of the external parameters; according to the internal parameters of each camera, the spherical images of the external reference calibration images are respectively spherically generated, and the spherical projection images corresponding to the external reference calibration images are generated; according to the respective cameras The outer parameter obtains a relative positional relationship between the spherical projection images; and according to the relative positional relationship, each spherical projection image is transformed and cropped to obtain a panoramic composite mapping table.
外参标定图像为车载视频采集器在建立全景合成映射表时,基于各摄像头外参预先采集的图像,外参标定图像可以是预先拍摄的图片,也可以是预先基于各摄像头外参采集的视频样本中的任一视频帧,或多个视频帧;外参标定图像还可以是在对各摄像头采集的原始视频进行全景视频生成之前,从原始视频中提取的任一视频帧或者多个视频帧。在外参标定图像中预先标定了摄像头外参,因此,可以直接通过各外参标定图像获取到标定的各摄像头外参。The external reference calibration image is an image of the vehicle-mounted video collector that is pre-acquired based on the external parameters of each camera when establishing the panoramic composite mapping table. The external reference calibration image may be a pre-photographed image, or may be a video pre-acquired based on each camera external parameter. Any video frame in the sample, or multiple video frames; the external reference calibration image may also be any video frame or multiple video frames extracted from the original video before the panoramic video is generated for the original video captured by each camera. . The camera external parameter is pre-calibrated in the external reference calibration image. Therefore, the calibration external camera parameters can be obtained directly from each external reference calibration image.
检测各外参标定图像的有效区域外边缘的方式可以通过对图像黑白区域过渡边缘的识别检测到有效区域外边缘,也可以为直线搜索的方式搜索得到有效区域外边缘的四个最远点,通过对这四个最远点进行连线得到有效区域外边缘。能够检测得到有效区域外边缘的方式均属于本实施例的保护范围,这里不再一一赘述。The method of detecting the outer edge of the effective area of each external reference calibration image may detect the outer edge of the effective area by recognizing the transition edge of the black and white area of the image, or search for the four farthest points of the outer edge of the effective area by means of a straight line search. The outer edge of the effective area is obtained by connecting the four farthest points. The manner of detecting the outer edge of the effective area belongs to the protection scope of the embodiment, and details are not described herein again.
利用上述基于外参标定图像中标定的摄像头外参及计算得到的摄像头内参,也可以经过逆过程生成全景合成映射表。The panoramic synthesis map may also be generated through the inverse process by using the camera external parameters and the calculated camera internal parameters based on the calibration of the external reference calibration image.
在本申请的一种可能的实施方式中,全景合成映射表的建立方式,还可以包括:获取车载视频采集器中各摄像头采集的外参标定图像,及各外参标定图像中标定的摄像头外参;检测各外参标定图像的有效区域外边缘;利用曲线拟合,拟合各外参标定图像的有效区域外边缘,得到各外参标定图像的有效区域的外轮廓;基于各外参标定图像的有效区域的外轮廓,确定采集各外参标定图像的摄像头内参;建立第一全景映射表,第一全景映射表的内容为空;根据各摄像头外参,得到第一全景映射表中各预设区域之间的位置关系;根据位置关系,对各预设区域进行逆变换,得到各预设区域的逆变换区域;根据各摄像头内参,对各外参标定图像分别进行球面投影,生成各外参标定图像对应的球面投影图像;根据各球面投影图像与各逆变换区域之间的对应关系,确定全景合成映射表。In a possible implementation manner of the present application, the manner of establishing the panoramic synthesis mapping table may further include: acquiring an external reference calibration image collected by each camera in the vehicle video capture device, and a calibration camera outside the calibration image of each external reference. Detecting; detecting the outer edge of the effective region of each external reference calibration image; fitting the outer edge of the effective region of each external reference calibration image by curve fitting, obtaining the outer contour of the effective region of each external reference calibration image; calibrating based on each external parameter An outer contour of the effective area of the image, determining a camera internal parameter for collecting the calibration image of each foreign parameter; establishing a first panoramic mapping table, the content of the first panoramic mapping table is empty; according to each camera external parameter, obtaining each of the first panoramic mapping table Positional relationship between preset areas; inversely transforming each preset area according to the positional relationship, and obtaining an inverse transformation area of each preset area; performing spherical projection on each of the external reference calibration images according to each camera internal parameter, generating each a spherical projection image corresponding to the external reference calibration image; according to the correspondence between each spherical projection image and each inverse transformation region, Panorama predetermined mapping table.
在本申请的一种可能的实施方式中,全景合成映射表包括车载视频采集器中各摄像头各自的映射表,各映射表两两之间存在重叠区域。In a possible implementation manner of the present application, the panoramic synthesis mapping table includes respective mapping tables of the cameras in the in-vehicle video collector, and there is an overlapping area between the two mapping tables.
相邻两个摄像头采集的样本图像的重叠区域中内容相同。以车载视频采集器为双鱼眼设备为例,如图6所示的全景合成映射表结构,全景合成映射表分为两个部分,第一鱼眼摄像头映射表601和第二鱼眼摄像头映射表602,分别代表两个鱼眼摄像头所采集图像在平面全景图中映射关系。第一鱼眼摄像头映射表601和第二鱼眼摄像头映射表602都存在一个重叠区域,代表了 两个鱼眼摄像头在视场上的重叠区域,两个重叠区域内的内容相同。通过查找预先建立的全景合成映射表,针对各原始视频,可以生成该原始视频对应的待拼接视频及各待拼接视频间的拼接关系。The content of the overlapping image of the sample images acquired by two adjacent cameras is the same. Taking the vehicle video recorder as a fisheye device as an example, as shown in the panoramic composite mapping table structure shown in FIG. 6, the panoramic synthesis mapping table is divided into two parts, a first fisheye camera mapping table 601 and a second fisheye camera mapping table. 602, which respectively represents the mapping relationship between the images acquired by the two fisheye cameras in the plane panorama. The first fisheye camera mapping table 601 and the second fisheye camera mapping table 602 each have an overlapping area representing the overlapping area of the two fisheye cameras on the field of view, and the contents in the two overlapping areas are the same. The splicing relationship between the video to be spliced and the spliced video to be spliced corresponding to the original video may be generated for each original video by using a pre-established panoramic compositing mapping table.
S204,车载控制器根据拼接关系,将各待拼接视频进行拼接,生成全景视频。S204: The vehicle controller splices the video to be spliced according to the splicing relationship to generate a panoramic video.
通过离线标定,对于一台各摄像头相对位置固定不变的车载视频采集器,只需要将全景合成映射表存储在车载控制器中,当车载视频采集器采集到视频时,利用全景合成映射表进行查表,得到待拼接视频,通过对各待拼接视频进行拼接融合,可生成全景视频。拼接关系中给出了各待拼接视频的拼接方式,例如,第二个待拼接视频的第一列像素与第一个待拼接视频的第二十列像素重叠、第二个待拼接视频翻转45度后与第一个待拼接视频重叠等等。Through off-line calibration, for a car video collector with a fixed relative position of each camera, only the panoramic synthesis mapping table needs to be stored in the vehicle controller, and when the vehicle video collector collects the video, the panoramic synthesis mapping table is used. Looking up the table, the video to be spliced is obtained, and the panoramic video can be generated by splicing and merging the videos to be spliced. The splicing relationship is given in the splicing relationship, for example, the first column of pixels of the second video to be spliced overlaps with the twentieth column of the first video to be spliced, and the second video to be spliced is flipped 45 After the degree overlaps with the first video to be stitched and so on.
由于全景合成映射表是基于样本图像生成的,因此,在进行视频拼接时,可以是对视频帧进行拼接,再对拼接后的视频帧进行视频合成,得到全景视频。Since the panoramic synthesis mapping table is generated based on the sample image, when the video is spliced, the video frames may be spliced, and then the spliced video frames are video-combined to obtain a panoramic video.
在本申请的一种可能的实施方式中,S203可以包括:查找预先建立的全景合成映射表,分别生成各原始视频中每个视频帧对应的待拼接视频帧及各待拼接视频帧之间的拼接关系;针对同一原始视频生成的各待拼接视频帧,利用预设视频生成技术,生成待拼接视频。In a possible implementation manner of the present application, the S203 may include: searching for a pre-established panoramic synthesis mapping table, respectively generating a video frame to be spliced corresponding to each video frame in each original video and a video frame to be spliced Splicing relationship; for each video frame to be spliced generated by the same original video, using a preset video generation technology to generate a video to be spliced.
则S204可以包括:根据各待拼接视频帧之间的拼接关系,分别将各待拼接视频中对应的待拼接视频帧进行拼接,得到多个全景图像;基于各全景图像,利用预设视频生成技术,生成全景视频。The S204 may include: splicing corresponding video frames to be spliced in each video to be spliced according to a splicing relationship between the video frames to be spliced, to obtain multiple panoramic images; and using preset video generation technology based on each panoramic image , generate a panoramic video.
基于全景合成映射表,可以得到原始视频中各视频帧对应的待拼接视频帧以及各待拼接视频帧之间的拼接关系,由于视频是由视频帧生成的,利用预设视频生成技术,可生成待拼接视频,预设视频生成技术中规定了视频生成时,各视频帧在视频中的顺序以及播放速度。基于待拼接视频帧之间的拼接关系,可以将对应的待拼接视频帧进行拼接,得到多个全景图像,通过预设视频生成技术可生成全景视频。The splicing relationship between the video frames to be spliced and the video frames to be spliced corresponding to each video frame in the original video can be obtained based on the panoramic compositing mapping table. Since the video is generated by the video frame, the preset video generation technology can be used to generate the splicing relationship. For the video to be spliced, the preset video generation technology specifies the order of the video frames in the video and the playback speed when the video is generated. Based on the splicing relationship between the video frames to be spliced, the corresponding video frames to be spliced may be spliced to obtain multiple panoramic images, and the panoramic video may be generated by using a preset video generation technology.
全景视频可以是二维视频,也可以是三维视频。由于三维视频更能够清楚显示立体空间中障碍物、车辆、驾驶员之间的空间位置关系,因此,全景视频主要是三维视频。The panoramic video can be a two-dimensional video or a three-dimensional video. Since the three-dimensional video can more clearly display the spatial positional relationship between obstacles, vehicles, and drivers in the three-dimensional space, the panoramic video is mainly three-dimensional video.
在本申请的一种可能的实施方式中,S204具体可以为:根据拼接关系,将各待拼接视频进行拼接,生成二维视频;根据预设三维投影方式,将二维视频进行三维投影,得到全景视频。In a possible implementation manner of the present application, the S204 may be specifically: splicing each video to be spliced according to a splicing relationship to generate a two-dimensional video; and performing three-dimensional projection on the two-dimensional video according to a preset three-dimensional projection manner, Panoramic video.
以车载视频采集器为双鱼眼设备为例,当双鱼眼设备采集到视频时,针对两个鱼眼摄像头采集的视频,利用全景合成映射表进行查表,得到两个待拼接视频,根据拼接关系,拼接两个待拼接视频,生成二维视频,通过对二维视频进行球面渲染,可以生成三维球面全景视频。Taking the vehicle video capture device as the fisheye device as an example, when the fisheye device collects the video, the video collected by the two fisheye cameras is used to look up the table by using the panoramic synthesis mapping table, and two videos to be stitched are obtained, according to the stitching relationship. The two videos to be stitched are stitched together to generate a two-dimensional video, and a three-dimensional spherical panoramic video can be generated by performing spherical rendering on the two-dimensional video.
如图7所示,当双鱼眼设备采集到视频时,还可以从中提取两个鱼眼摄像头采集的视频帧,利用全景合成映射表进行查表,得到两幅待拼接子图,两个待拼接子图经过图像拼接,得到一副二维全景图像,经过视频生成技术,生成二维全景视频,二维全景视频经过球面渲染,可以生成三维球面全景视频。二维全景视频可以经过柱面投影、立方体投影等投影方式生成相应的三维球面全景视频。也可以是先对二维全景图像进行球面投影,得到三维全景图像,通过视频生成技术,生成三维球面全景视频,这里不做具体限定。As shown in FIG. 7 , when the fisheye device collects the video, the video frames collected by the two fisheye cameras can also be extracted, and the panoramic synthesis map is used to perform the table lookup, and two subgraphs to be spliced are obtained, and two are to be spliced. The sub-picture is spliced by the image to obtain a two-dimensional panoramic image. After the video generation technology, the two-dimensional panoramic video is generated, and the two-dimensional panoramic video is spherically rendered to generate a three-dimensional spherical panoramic video. The 2D panoramic video can generate corresponding 3D spherical panoramic video through cylindrical projection, cube projection and other projection methods. Alternatively, the two-dimensional panoramic image may be spherically projected to obtain a three-dimensional panoramic image, and a three-dimensional spherical panoramic video is generated by a video generation technology, which is not specifically limited herein.
S205,车载控制器将全景视频发送至车载显示器。S205. The vehicle controller sends the panoramic video to the vehicle display.
车载显示器是一种安装在车辆中控位置的、用于显示全景视频的显示设备。The in-vehicle display is a display device for displaying panoramic video installed in a centrally controlled position of the vehicle.
在本申请的一种可能的实施方式中,车载控制器与车载显示器之间,可以通过交互模块传输全景视频。In a possible implementation manner of the present application, the panoramic video can be transmitted through the interaction module between the onboard controller and the onboard display.
车载控制器与车载显示器之间可以通过交互模块传输全景视频,交互模块包括车载控制器与车载显示器之间的通信总线、各种数据协议,以及车载控制器的通信接口和车载显示器的通信接口。通信总线可以是PCI(Peripheral Component Interconnect,外设部件互连标准)总线或EISA(Extended Industry Standard Architecture,扩展工业标准结构)总线等。The panoramic video can be transmitted between the vehicle controller and the vehicle display through the interaction module. The interaction module includes a communication bus between the vehicle controller and the vehicle display, various data protocols, and a communication interface of the vehicle controller and a communication interface of the vehicle display. The communication bus may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus.
车载控制器与车载显示器之间还可以通过无线传输的方式传输全景视频,这里不再赘述。The panoramic video can also be transmitted between the on-board controller and the on-board display by wireless transmission, and will not be described here.
S206,车载显示器利用预设显示策略,显示全景视频。S206. The on-board display displays a panoramic video by using a preset display strategy.
预设显示策略可以是将车载显示器中已显示的内容清空,再显示全景视频;对于三维球面的全景视频,预设显示策略还可以是三维显示方式,这里不再赘述。The preset display strategy may be to clear the content that has been displayed on the in-vehicle display, and then display the panoramic video; for the panoramic video of the three-dimensional spherical surface, the preset display strategy may also be a three-dimensional display mode, which is not described here.
由于车辆内部和车辆外部的场景内车辆状态在不断发生变化,例如方向盘转动、行驶前方出现障碍物、驾驶员姿态变化等等。在车辆状态发生变化时,需要对全景视频进行调整,以便车载显示器能够显示调整后的全景视频,为驾驶员提供更为直观的车辆场景。Vehicle conditions in the interior of the vehicle and outside the vehicle are constantly changing, such as steering wheel rotation, obstacles in front of the vehicle, changes in driver attitude, and the like. When the vehicle status changes, the panoramic video needs to be adjusted so that the on-board display can display the adjusted panoramic video to provide the driver with a more intuitive vehicle scene.
在本申请的一种可能的实施方式中,在S204之后,还可以包括如下步骤:车载控制器获取车辆状态信息;车载控制器根据车辆状态信息,确定全景视频的待处理信息;车载控制器根据待处理信息,对全景视频进行处理,得到处理后的全景视频。In a possible implementation manner of the present application, after S204, the method further includes the following steps: the vehicle controller acquires vehicle state information; the vehicle controller determines the to-be-processed information of the panoramic video according to the vehicle state information; and the vehicle controller is configured according to the vehicle The information to be processed is processed by the panoramic video to obtain a processed panoramic video.
则S205具体可以为:车载控制器将处理后的全景视频发送至车载显示器。Then, S205 may specifically be: the vehicle controller sends the processed panoramic video to the on-board display.
S206具体可以为:车载显示器经过预设显示策略,显示处理后的全景视频。The S206 may specifically be: the on-vehicle display displays the processed panoramic video after a preset display strategy.
车辆状态信息可以包括方向盘转动信息、驾驶员姿态变化信息、车外障碍物目标信息等,分别对应的车内设备状态、驾驶员状态和车辆外部状态。对全景视频的处理可以是对视角、视点等参数的调整。The vehicle state information may include steering wheel rotation information, driver attitude change information, vehicle exterior obstacle target information, and the like, corresponding to the in-vehicle device state, the driver state, and the vehicle exterior state, respectively. The processing of the panoramic video may be an adjustment of parameters such as a viewing angle and a viewpoint.
在本申请的一种可能的实施方式中,车辆状态信息包括驾驶员姿态变化信息。In a possible implementation of the present application, the vehicle status information includes driver attitude change information.
车载视频采集器,还可以用于识别驾驶员姿态变化信息,并发送驾驶员姿态变化信息至车载控制器。The vehicle video capture device can also be used to identify driver attitude change information and transmit driver attitude change information to the vehicle controller.
车载控制器获取车辆状态信息的步骤,具体可以为:车载控制器获取车载视频采集器发送的驾驶员姿态变化信息。The step of acquiring the vehicle state information by the vehicle controller may be specifically: the vehicle controller acquires driver posture change information sent by the vehicle video collector.
车载控制器根据车辆状态信息,确定全景视频的待处理信息的步骤,具体可以为:车载控制器根据驾驶员姿态变化信息,通过视点变换关系,确定全景视频的视点变换参数。The step of determining, by the in-vehicle controller, the information to be processed of the panoramic video according to the vehicle state information may be specifically: the vehicle controller determines the viewpoint conversion parameter of the panoramic video by the viewpoint conversion relationship according to the driver posture change information.
车载控制器根据待处理信息,对全景视频进行处理,得到处理后的全景视频的步骤,具体可以为:车载控制器根据视点变换参数,对全景视频进行视点更新,得到视点更新后的全景视频。The step of the vehicle controller processing the panoramic video according to the to-be-processed information to obtain the processed panoramic video may be: the vehicle controller performs the viewpoint update on the panoramic video according to the viewpoint conversion parameter, and obtains the panoramic video after the viewpoint update.
车载控制器将处理后的全景视频发送至车载显示器的步骤,具体可以为:车载控制器将视点更新后的全景视频发送至车载显示器。The step of the vehicle controller transmitting the processed panoramic video to the in-vehicle display may be: the vehicle controller sends the updated panoramic video of the viewpoint to the on-board display.
车载显示器经过预设显示策略,显示处理后的全景视频的步骤,具体可以为:车载显示器经过预设显示策略,显示视点更新后的全景视频。The step of displaying the processed panoramic video through the preset display strategy of the on-vehicle display may be: the on-board display passes the preset display strategy, and displays the panoramic video after the viewpoint update.
驾驶员姿态发生了变化,例如,驾驶员身体后倾导致头部发生运动,此时,车载视频采集器中朝向车厢内部的摄像头识别到人体姿态变化,将采集到的人体姿态变化视频发送至车载控制器,车载控制器检测到驾驶员的头部发生了(x m,y m,z m)的位移,车载控制器通过该参数调整全景视频的视点,视点由(x 0,y 0,z 0)变化为(x 1,y 1,z 1),视点变换参数可以描述为: The driver's posture has changed. For example, the driver's body leans back and causes the head to move. At this time, the camera in the car video collector that recognizes the inside of the car recognizes the change of the human body posture, and transmits the collected human body posture change video to the vehicle. The controller detects that the driver's head has a displacement of (x m , y m , z m ), and the vehicle controller adjusts the viewpoint of the panoramic video by the parameter, and the viewpoint is (x 0 , y 0 , z 0 ) The change is (x 1 , y 1 , z 1 ), and the viewpoint transformation parameter can be described as:
Figure PCTCN2019079732-appb-000001
Figure PCTCN2019079732-appb-000001
k x、k y与k z为视点控制参数,可以预先设定。如图8所示,当驾驶员的姿态发生变化时,朝向车厢内部的摄像头可以对车内驾驶员进行视频采集和姿态变化的识别,车载控制器进行运动分析和跟踪,并利用运动信息对全景视点进行更新,从而建立了车内人员与车载全景视频显示系统之间的交互。 k x , k y and k z are viewpoint control parameters and can be set in advance. As shown in FIG. 8, when the driver's posture changes, the camera facing the interior of the vehicle can recognize the video capture and posture change of the driver inside the vehicle, the vehicle controller performs motion analysis and tracking, and uses the motion information to the panoramic view. The viewpoint is updated to establish an interaction between the in-vehicle personnel and the vehicle panoramic video display system.
在本申请的一种可能的实施方式中,车辆状态信息可以包括:车外障碍物目标信息。In a possible implementation manner of the present application, the vehicle status information may include: an off-vehicle obstacle target information.
车载视频采集器,还可以用于识别车外障碍物目标信息,并发送车外障碍物目标信息至车载控制器。The vehicle video collector can also be used to identify the obstacle information of the vehicle outside the vehicle and send the obstacle information of the vehicle to the vehicle controller.
车载控制器获取车辆状态信息的步骤,具体可以为:车载控制器获取车载视频采集器识别的车外障碍物目标信息。The step of acquiring the vehicle state information by the vehicle controller may be specifically: the vehicle controller acquires the vehicle obstacle target information identified by the vehicle video collector.
车载控制器根据车辆状态信息,确定全景视频的待处理信息的步骤,具体可以为:车载控制器根据车外障碍物目标信息,确定车外障碍物的类别信息,以及车外障碍物在全景视频中的位置信息。The step of determining, by the vehicle controller, the information to be processed of the panoramic video according to the vehicle status information may specifically be: the vehicle controller determines the category information of the obstacle outside the vehicle according to the target information of the obstacle outside the vehicle, and the obstacle video in the panoramic video Location information in .
车载控制器根据待处理信息,对全景视频进行处理,得到处理后的全景视频的步骤,具体可以为:车载控制器将类别信息以及位置信息叠加至全景视频上,得到叠加信息后的全景视频。The step of the vehicle controller processing the panoramic video according to the to-be-processed information to obtain the processed panoramic video may specifically be: the vehicle controller superimposes the category information and the location information on the panoramic video to obtain the panoramic video after the superimposed information.
车载控制器将处理后的全景视频发送至车载显示器的步骤,具体可以为:车载控制器将叠加信息后的全景视频发送至车载显示器。The step of the vehicle controller transmitting the processed panoramic video to the vehicle display may be: the vehicle controller sends the panoramic video after the superimposed information to the on-board display.
车载显示器经过预设显示策略,显示处理后的全景视频的步骤,具体可以为:车载显示器经过预设显示策略,显示叠加信息后的全景视频。The step of displaying the processed panoramic video through the preset display strategy of the on-vehicle display may specifically be: the on-vehicle display passes the preset display strategy, and displays the panoramic video after the superimposed information.
车载视频采集器中朝向车厢外部的摄像头可以拍摄到车外有影响车辆行驶的障碍目标,通过分析可以得到车外障碍物的类别信息,以及车外障碍物在全景视频中的位置信息,将车外障碍物目标的类别信息和位置信息叠加到全景视频上并在车载显示器中显示,可以达到障碍物目标的预警目的,如图9所示。The camera facing the outside of the car in the car video capture device can capture the obstacle target that affects the vehicle outside the vehicle. Through analysis, the category information of the obstacle outside the vehicle and the position information of the obstacle outside the vehicle in the panoramic video can be obtained. The category information and location information of the external obstacle target are superimposed on the panoramic video and displayed on the on-board display, and the warning purpose of the obstacle target can be achieved, as shown in FIG.
应用本实施例,车载全景视频显示系统包括车载视频采集器、车载控制器和车载显示器。车载视频采集器中包括多个摄像头,各摄像头分别采集覆盖区域内的原始视频,并将各摄像头采集的原始视频发送至车载控制器;车载控制器,用于查找预先建立的全景合成映射表,分别生成各原始视频对应的待拼接视频及各待拼接视频间的拼接关系;根据该拼接关系,将各待拼接视频进行拼接,生成全景视频,并将生成的全景视频发送至车载显示器;车载显示器,用于经过预设显示策略,显示所接收到的全景视频。由于车载视频采集器中所有摄像头的总覆盖区域大于或等于360度,在车辆行驶过程中,不仅仅对车辆行驶前方路况进行拍摄、还对车辆的侧方以及车辆内部进行拍摄,360度无死角地对车辆的四周情况进行全景拍摄,有效提高车辆行驶的安全性;并且,车载控制器通过将各摄像头采集的原始视频所对应的待拼接视频进行拼接,合成全景视频,利用车载显示器对该全景视频进行显示,有效提高了视频的显示效果,能够使驾驶员更直观的从显示内容中观察到车辆的四周情况,提高了驾驶员的交互体验。车载全景视频显示系统中车载视频采集器、车载控制器和车载显示器之间构成了闭合环路,可以为辅助驾驶提供有益支撑。并且,将视频拼接功能从车载视频采集器迁移到车载控制器上,不仅节约显示处理设备的购买成本,而且有助于车载视频采集器的小型化,减少摄像头之间的基线聚、减少视差,提高了拼接质量。With the embodiment, the vehicle panoramic video display system includes an in-vehicle video collector, a vehicle controller, and an in-vehicle display. The vehicle video capture device includes a plurality of cameras, each camera respectively collects original video in the coverage area, and sends the original video collected by each camera to the vehicle controller; the vehicle controller is used to find a pre-established panoramic synthesis mapping table. Generating a splicing relationship between the video to be spliced corresponding to each original video and each video to be spliced respectively; according to the splicing relationship, splicing each video to be spliced to generate a panoramic video, and transmitting the generated panoramic video to the vehicle display; Used to display the received panoramic video through a preset display policy. Since the total coverage area of all the cameras in the vehicle video capture device is greater than or equal to 360 degrees, during the running of the vehicle, not only the road ahead of the vehicle is photographed, but also the side of the vehicle and the interior of the vehicle are photographed, and the 360 degree has no dead angle. Panoramic shooting of the surrounding conditions of the vehicle to effectively improve the safety of the vehicle; and the vehicle controller synthesizes the panoramic video by splicing the video to be spliced corresponding to the original video collected by each camera, and using the vehicle display to view the panorama The display of the video effectively improves the display effect of the video, and enables the driver to more intuitively observe the surroundings of the vehicle from the display content, thereby improving the driver's interactive experience. In the vehicle panoramic video display system, a closed loop is formed between the vehicle video capture device, the vehicle controller and the vehicle display, which can provide useful support for assisted driving. Moreover, migrating the video splicing function from the vehicle video capture device to the vehicle controller not only saves the purchase cost of the display processing device, but also contributes to the miniaturization of the vehicle video capture device, reduces the baseline convergence between the cameras, and reduces the parallax. Improve the quality of the stitching.
基于图1所示的车载全景视频显示系统,如图10所示,为另一种车载全景视频显示系统的结构示意图,该车载全景视频显示系统包括以下设备:车载视频采集器1010、车载控制器1020、车载显示器1030以及车身传感器1040。Based on the vehicle panoramic video display system shown in FIG. 1 , as shown in FIG. 10 , it is a schematic structural diagram of another vehicle panoramic video display system, which includes the following devices: an in-vehicle video collector 1010 and an on-board controller. 1020. On-board display 1030 and body sensor 1040.
车载视频采集器1010、车载控制器1020以及车载显示器1030之间的交互如图2所示,这里不再赘述。The interaction between the in-vehicle video capture device 1010, the in-vehicle controller 1020, and the in-vehicle display 1030 is as shown in FIG. 2, and details are not described herein again.
车身传感器1040,用于采集方向盘转动信息,并将方向盘转动信息发送 至车载控制器1020。The body sensor 1040 is configured to collect steering wheel rotation information and transmit steering wheel rotation information to the onboard controller 1020.
车载控制器1020,还可以用于接收车身传感器1040发送的方向盘转动信息;根据方向盘转动信息,通过转动角度换算,得到全景视频的视角转动信息;按照视角转动信息,对全景视频进行转动变换,得到变换后的全景视频;将变换后的全景视频发送至车载显示器1030。The vehicle controller 1020 can also be configured to receive the steering wheel rotation information sent by the vehicle body sensor 1040; according to the steering wheel rotation information, obtain the rotation angle information of the panoramic video by the rotation angle conversion; rotate the information according to the rotation angle of the viewing angle, and obtain the rotation conversion of the panoramic video. The converted panoramic video; the converted panoramic video is transmitted to the in-vehicle display 1030.
车载显示器1030,还可以用于接收车载控制器1020发送的变换后的全景视频;经过预设显示策略,显示变换后的全景视频。The in-vehicle display 1030 is further configured to receive the converted panoramic video sent by the on-board controller 1020; and display the converted panoramic video through a preset display policy.
车辆方向盘发生转动,驾驶员的视野范围会发生变化,变化方向与方向盘的转动方向相关,车身传感器在采集到方向盘转动信息后,将该方向盘转动信息发送至车载控制器,车载控制器重新计算视角来生成相应视角的全景视频,如图11所示,变换视角后的全景视频通过车载显示器显示。When the steering wheel of the vehicle rotates, the driver's field of vision changes, and the direction of change is related to the direction of rotation of the steering wheel. After the body sensor collects the steering wheel rotation information, the steering wheel rotation information is sent to the vehicle controller, and the vehicle controller recalculates the angle of view. To generate a panoramic video of the corresponding perspective, as shown in FIG. 11, the panoramic video after changing the viewing angle is displayed by the in-vehicle display.
如图12a及图12b所示,当方向盘转角由如图12a所示的β 0变化到如图12b所示的β 1时,全景视频的偏转视角由β 0变化到β 1,视图出现水平方向旋转。 As shown in Fig. 12a and Fig. 12b, when the steering wheel angle is changed from β 0 as shown in Fig. 12a to β 1 as shown in Fig. 12b, the deflection angle of the panoramic video is changed from β 0 to β 1 , and the view appears horizontally. Rotate.
应用本实施例,车载全景视频显示系统中还包括用于采集方向盘转动信息的车身传感器,车身传感器在采集到方向盘发生转动时,发送视角转动后的全景视频至车载显示器,通过车载显示器的显示,对车辆发生偏转后的场景进行显示,利于驾驶员对驾驶环境的直观观察,具有较高的智能辅助驾驶效果。In this embodiment, the vehicle panoramic video display system further includes a vehicle body sensor for collecting steering wheel rotation information. When the vehicle body sensor rotates, the vehicle body sensor transmits the panoramic video after the angle of view rotation to the vehicle display, and the display of the vehicle display is performed. Displaying the scene after the vehicle is deflected facilitates the driver's intuitive observation of the driving environment and has a high intelligent assisted driving effect.
本发明实施例还提供了一种车载控制器,如图13所示,可以包括处理器1301和存储器1302;所述存储器1302,用于存放计算机程序;所述处理器1301,用于执行所述存储器1302上所存放的程序时,实现如下步骤。The embodiment of the present invention further provides an onboard controller, as shown in FIG. 13, which may include a processor 1301 and a memory 1302. The memory 1302 is configured to store a computer program. The processor 1301 is configured to execute the The following steps are implemented in the program stored on the memory 1302.
获取车载视频采集器中各摄像头采集的原始视频;查找预先建立的全景合成映射表,分别生成各原始视频对应的待拼接视频及各待拼接视频间的拼接关系,所述全景合成映射表中包括待拼接视频的像素坐标与原始视频的像素坐标的对应关系;根据所述拼接关系,将各待拼接视频进行拼接,生成全景视频;将所述全景视频发送至车载显示器。Acquiring the original video collected by each camera in the vehicle video capture device; searching for a pre-established panoramic synthesis mapping table, respectively generating a splicing relationship between the video to be spliced corresponding to each original video and the video to be spliced, wherein the panoramic composite mapping table includes Corresponding relationship between the pixel coordinates of the video to be stitched and the pixel coordinates of the original video; according to the stitching relationship, the video to be stitched is stitched to generate a panoramic video; and the panoramic video is sent to the in-vehicle display.
在本申请的一种可能的实施方式中,所述处理器1301还可以实现如下步骤:获取所述车载视频采集器中各摄像头采集的样本图像,以及所述车载视频采集器标定的各摄像头内参及各摄像头外参;根据所述各摄像头内参,对各样本图像分别进行球面投影,生成所述各样本图像对应的球面投影图像;根据所述各摄像头外参,获得各球面投影图像之间的相对位置关系;根据所述相对位置关系,对所述各球面投影图像进行变换、裁剪,得到全景合成映射表。In a possible implementation manner of the present application, the processor 1301 may further implement the following steps: acquiring a sample image collected by each camera in the in-vehicle video collector, and each camera internal reference of the vehicle video collector calibration And each camera external parameter; performing spherical projection on each sample image according to each camera internal parameter to generate a spherical projection image corresponding to each sample image; and obtaining a spherical projection image according to each camera external parameter a relative positional relationship; transforming and cropping the spherical projection images according to the relative positional relationship to obtain a panoramic composition mapping table.
在本申请的一种可能的实施方式中,所述处理器1301还可以实现如下步骤:获取所述车载视频采集器中各摄像头采集的样本图像,以及所述车载视频采集器标定的各摄像头内参及各摄像头外参;建立第一全景映射表,所述 第一全景映射表的内容为空;根据所述各摄像头外参,得到所述第一全景映射表中各预设区域之间的位置关系;根据所述位置关系,对所述各预设区域进行逆变换,得到所述各预设区域的逆变换区域;根据所述各摄像头内参,对各样本图像分别进行球面投影,生成所述各样本图像对应的球面投影图像;根据各球面投影图像与各逆变换区域之间的对应关系,确定全景合成映射表。In a possible implementation manner of the present application, the processor 1301 may further implement the following steps: acquiring a sample image collected by each camera in the in-vehicle video collector, and each camera internal reference of the vehicle video collector calibration And establishing a first panoramic mapping table, where the content of the first panoramic mapping table is empty; according to the external parameters of the cameras, obtaining a position between each preset area in the first panoramic mapping table And performing inverse transformation on the preset regions according to the positional relationship to obtain an inverse transform region of each preset region; performing spherical projection on each sample image according to each camera internal parameter, generating the A spherical projection image corresponding to each sample image; and a panoramic composition mapping table is determined according to a correspondence relationship between each spherical projection image and each inverse transformation region.
在本申请的一种可能的实施方式中,所述处理器1301还可以实现如下步骤:获取所述车载视频采集器中各摄像头采集的外参标定图像,及各外参标定图像中标定的摄像头外参;检测所述各外参标定图像的有效区域外边缘;利用曲线拟合,拟合所述各外参标定图像的有效区域外边缘,得到所述各外参标定图像的有效区域的外轮廓;基于所述各外参标定图像的有效区域的外轮廓,确定采集所述各外参标定图像的摄像头内参;根据各摄像头内参,对所述各外参标定图像分别进行球面投影,生成所述各外参标定图像对应的球面投影图像;根据各摄像头外参,获得各球面投影图像之间的相对位置关系;根据所述相对位置关系,对所述各球面投影图像进行变换、裁剪,得到全景合成映射表。In a possible implementation manner of the present application, the processor 1301 may further implement the following steps: acquiring an external reference calibration image collected by each camera in the vehicle video capture device, and a calibration camera in each external reference calibration image. External parameter; detecting an outer edge of the effective region of the external reference calibration image; fitting the outer edge of the effective region of the external reference calibration image by curve fitting to obtain an effective region of the external reference calibration image a contour; determining, according to an outer contour of the effective region of the external reference calibration image, a camera internal reference for acquiring the calibration image of each external reference; and performing spherical projection on each of the external reference calibration images according to each camera internal reference, generating a a spherical projection image corresponding to each external reference calibration image; obtaining a relative positional relationship between each spherical projection image according to each camera external parameter; and transforming and cutting the spherical projection images according to the relative positional relationship Panorama synthesis map.
在本申请的一种可能的实施方式中,所述处理器1301还可以实现如下步骤:获取所述车载视频采集器中各摄像头采集的外参标定图像,及各外参标定图像中标定的摄像头外参;检测所述各外参标定图像的有效区域外边缘;利用曲线拟合,拟合所述各外参标定图像的有效区域外边缘,得到所述各外参标定图像的有效区域的外轮廓;基于所述各外参标定图像的有效区域的外轮廓,确定采集所述各外参标定图像的摄像头内参;建立第一全景映射表,所述第一全景映射表的内容为空;根据各摄像头外参,得到所述第一全景映射表中各预设区域之间的位置关系;根据所述位置关系,对所述各预设区域进行逆变换,得到所述各预设区域的逆变换区域;根据各摄像头内参,对所述各外参标定图像分别进行球面投影,生成所述各外参标定图像对应的球面投影图像;根据各球面投影图像与各逆变换区域之间的对应关系,确定全景合成映射表。In a possible implementation manner of the present application, the processor 1301 may further implement the following steps: acquiring an external reference calibration image collected by each camera in the vehicle video capture device, and a calibration camera in each external reference calibration image. External parameter; detecting an outer edge of the effective region of the external reference calibration image; fitting the outer edge of the effective region of the external reference calibration image by curve fitting to obtain an effective region of the external reference calibration image a contour; determining, according to an outer contour of the effective area of the external reference calibration image, a camera internal parameter for collecting the external reference calibration image; establishing a first panoramic mapping table, wherein the content of the first panoramic mapping table is empty; Each camera external parameter obtains a positional relationship between each preset area in the first panoramic mapping table; and inversely transforms each preset area according to the positional relationship to obtain an inverse of each preset area Converting a region; performing spherical projection on each of the external reference calibration images according to each camera internal parameter, and generating a spherical projection image corresponding to each external reference calibration image; The panoramic composition map is determined according to the correspondence between each spherical projection image and each inverse transform region.
在本申请的一种可能的实施方式中,所述全景合成映射表包括所述车载视频采集器中各摄像头各自的映射表,各映射表两两之间存在重叠区域。In a possible implementation manner of the present application, the panoramic synthesis mapping table includes a mapping table of each camera in the in-vehicle video collector, and there is an overlapping area between the two mapping tables.
在本申请的一种可能的实施方式中,所述处理器1301在实现所述查找预先建立的全景合成映射表,分别生成各原始视频对应的待拼接视频及各待拼接视频间的拼接关系的步骤时,具体可以实现如下步骤:查找预先建立的全景合成映射表,分别生成各原始视频中每个视频帧对应的待拼接视频帧及各待拼接视频帧之间的拼接关系;针对同一原始视频生成的各待拼接视频帧,利用预设视频生成技术,生成待拼接视频。In a possible implementation manner of the present application, the processor 1301 is configured to implement the pre-established panoramic synthesis mapping table, and respectively generate a splicing relationship between the video to be spliced corresponding to each original video and each video to be spliced. In the step, the following steps may be implemented: searching for a pre-established panoramic synthesis mapping table, respectively generating a splicing relationship between the video frames to be spliced corresponding to each video frame in each original video and the video frames to be spliced; The generated video frames to be spliced are generated by using a preset video generation technology to generate a video to be spliced.
所述处理器1301在实现所述根据所述拼接关系,将各待拼接视频进行拼接,生成全景视频的步骤时,具体可以实现如下步骤:根据所述各待拼接视 频帧之间的拼接关系,分别将各待拼接视频中对应的所有待拼接视频帧进行拼接,得到多个全景图像;基于各全景图像,利用预设视频生成技术,生成全景视频。When the processor 1301 performs the step of splicing the video to be spliced according to the splicing relationship to generate a panoramic video, the following steps may be specifically implemented: according to the splicing relationship between the video frames to be spliced, Each of the corresponding video frames to be spliced in each video to be spliced is spliced to obtain a plurality of panoramic images; and based on each panoramic image, a panoramic video is generated by using a preset video generation technology.
在本申请的一种可能的实施方式中,所述处理器1301在实现所述根据所述拼接关系,将各待拼接视频进行拼接,生成全景视频的步骤时,具体可以实现如下步骤:根据所述拼接关系,将各待拼接视频进行拼接,生成二维视频;根据预设三维投影方式,将所述二维视频进行三维投影,得到全景视频。In a possible implementation manner of the present application, when the processor 1301 implements the step of splicing each video to be spliced according to the splicing relationship to generate a panoramic video, the following steps may be specifically implemented: The splicing relationship is performed, and the video to be spliced is spliced to generate a two-dimensional video; according to the preset three-dimensional projection mode, the two-dimensional video is three-dimensionally projected to obtain a panoramic video.
在本申请的一种可能的实施方式中,所述处理器1301还可以实现如下步骤:获取车辆状态信息;根据所述车辆状态信息,确定所述全景视频的待处理信息;根据所述待处理信息,对所述全景视频进行处理,得到处理后的全景视频。In a possible implementation manner of the present application, the processor 1301 may further implement the following steps: acquiring vehicle state information; determining, according to the vehicle state information, pending information of the panoramic video; according to the to-be-processed Information, processing the panoramic video to obtain a processed panoramic video.
所述处理器1301在实现所述将所述全景视频发送至车载显示器的步骤时,具体可以实现如下步骤:将所述处理后的全景视频发送至车载显示器。When the processor 1301 implements the step of transmitting the panoramic video to the in-vehicle display, specifically, the processor 1301 may be configured to: send the processed panoramic video to the in-vehicle display.
在本申请的一种可能的实施方式中,所述车辆状态信息包括方向盘转动信息。In a possible implementation manner of the present application, the vehicle status information includes steering wheel rotation information.
所述处理器1301在实现所述获取车辆状态信息的步骤时,具体可以实现如下步骤:获取车身传感器采集的方向盘转动信息。When the step of acquiring the vehicle state information is implemented, the processor 1301 may specifically implement the following steps: acquiring steering wheel rotation information collected by the vehicle body sensor.
所述处理器1301在实现所述根据所述车辆状态信息,确定所述全景视频的待处理信息的步骤时,具体可以实现如下步骤:根据所述方向盘转动信息,通过转动角度换算,得到所述全景视频的视角转动信息。When the processor 1301 determines the step of determining the to-be-processed information of the panoramic video according to the vehicle state information, the processor 1301 may specifically implement the following steps: according to the steering wheel rotation information, the rotation angle is converted to obtain the The perspective of the panoramic video rotates the information.
所述处理器1301在实现所述根据所述待处理信息,对所述全景视频进行处理,得到处理后的全景视频的步骤时,具体可以实现如下步骤:按照所述视角转动信息,对所述全景视频进行转动变换,得到变换后的全景视频。When the processor 1301 performs the step of processing the panoramic video according to the to-be-processed information to obtain the processed panoramic video, specifically, the following steps may be implemented: rotating the information according to the viewing angle, The panoramic video is rotated and transformed to obtain a transformed panoramic video.
所述处理器1301在实现所述将所述处理后的全景视频发送至车载显示器的步骤时,具体可以实现如下步骤:将所述变换后的全景视频发送至车载显示器。The processor 1301 may specifically implement the step of transmitting the converted panoramic video to the in-vehicle display when the step of transmitting the processed panoramic video to the in-vehicle display is implemented.
在本申请的一种可能的实施方式中,所述车辆状态信息包括驾驶员姿态变化信息。In a possible implementation manner of the present application, the vehicle state information includes driver posture change information.
所述处理器1301在实现所述获取车辆状态信息的步骤时,具体可以实现如下步骤:获取所述车载视频采集器识别的驾驶员姿态变化信息。When the step of acquiring the vehicle state information is implemented, the processor 1301 may specifically implement the following steps: acquiring driver posture change information recognized by the in-vehicle video collector.
所述处理器1301在实现所述根据所述车辆状态信息,确定所述全景视频的待处理信息的步骤时,具体可以实现如下步骤:根据所述驾驶员姿态变化信息,通过视点变换关系,确定所述全景视频的视点变换参数。The processor 1301, when implementing the step of determining the to-be-processed information of the panoramic video according to the vehicle state information, may specifically implement the following steps: determining, according to the driver attitude change information, a viewpoint transformation relationship The viewpoint conversion parameter of the panoramic video.
所述处理器1301在实现所述根据所述待处理信息,对所述全景视频进行处理,得到处理后的全景视频的步骤时,具体可以实现如下步骤:根据所述视点变换参数,对所述全景视频进行视点更新,得到视点更新后的全景视频。When the processor 1301 performs the step of processing the panoramic video according to the to-be-processed information to obtain the processed panoramic video, specifically, the following steps may be implemented: according to the viewpoint transformation parameter, The panoramic video is updated by the viewpoint to obtain a panoramic video after the viewpoint is updated.
所述处理器1301在实现所述将所述处理后的全景视频发送至车载显示器 的步骤时,具体可以实现如下步骤:将所述视点更新后的全景视频发送至车载显示器。When the processor 1301 implements the step of transmitting the processed panoramic video to the in-vehicle display, specifically, the processor 1301 may be configured to: send the panoramic video after the view update to the on-board display.
在本申请的一种可能的实施方式中,所述车辆状态信息包括:车外障碍物目标信息。In a possible implementation manner of the present application, the vehicle status information includes: an off-vehicle obstacle target information.
所述处理器1301在实现所述获取车辆状态信息的步骤时,具体可以实现如下步骤:获取所述车载视频采集器识别的车外障碍物目标信息。When the step of acquiring the vehicle state information is implemented, the processor 1301 may specifically implement the following steps: acquiring the vehicle exterior obstacle target information identified by the vehicle video capture device.
所述处理器1301在实现所述根据所述车辆状态信息,确定所述全景视频的待处理信息的步骤时,具体可以实现如下步骤:根据所述车外障碍物目标信息,确定车外障碍物的类别信息,以及所述车外障碍物在所述全景视频中的位置信息。The processor 1301, when implementing the step of determining the to-be-processed information of the panoramic video according to the vehicle state information, may specifically implement the following steps: determining an obstacle outside the vehicle according to the target information of the vehicle exterior obstacle Category information, and location information of the outer obstacle in the panoramic video.
所述处理器1301在实现所述根据所述待处理信息,对所述全景视频进行处理,得到处理后的全景视频的步骤时,具体可以实现如下步骤:将所述类别信息以及所述位置信息叠加至所述全景视频上,得到叠加信息后的全景视频。When the processor 1301 performs the step of processing the panoramic video according to the to-be-processed information to obtain the processed panoramic video, the following steps may be specifically implemented: the category information and the location information. Superimposed on the panoramic video to obtain a panoramic video after superimposing information.
所述处理器1301在实现所述将所述处理后的全景视频发送至车载显示器的步骤时,具体可以实现如下步骤:将所述叠加信息后的全景视频发送至车载显示器。When the processor 1301 is configured to send the processed panoramic video to the in-vehicle display, the processor 1301 may specifically implement the step of: transmitting the panoramic video after the superimposed information to the in-vehicle display.
在本申请的一种可能的实施方式中,所述车载视频采集器为双鱼眼设备。In a possible implementation manner of the application, the in-vehicle video collector is a fisheye device.
所述处理器1301在实现所述获取车载视频采集器中各摄像头采集的原始视频的步骤时,具体可以实现如下步骤:获取双鱼眼设备中两个鱼眼摄像头分别采集的原始视频。When the processor 1301 implements the step of acquiring the original video collected by each camera in the vehicle video capture device, the following steps may be specifically implemented: acquiring the original video separately collected by the two fisheye cameras in the fisheye device.
存储器1302与处理器1301之间可以通过有线连接或者无线连接的方式进行数据传输,并且计算机设备可以通过有线通信接口或者无线通信接口与其他的设备进行通信。需要说明的一点,图13中只给出了处理器1301与存储器1302之间通过总线传输数据的示例,并不是对具体传输方式的限定。Data transmission between the memory 1302 and the processor 1301 may be performed by means of a wired connection or a wireless connection, and the computer device may communicate with other devices through a wired communication interface or a wireless communication interface. It should be noted that only an example of transmitting data between the processor 1301 and the memory 1302 via the bus is shown in FIG. 13, and is not limited to a specific transmission mode.
上述存储器可以包括RAM(Random Access Memory,随机存取存储器),也可以包括NVM(Non-Volatile Memory,非易失性存储器),例如至少一个磁盘存储器。在本申请的一种可能的实施方式中,存储器还可以是至少一个位于远离于上述处理器的存储装置。The above memory may include a RAM (Random Access Memory), and may also include NVM (Non-Volatile Memory), such as at least one disk storage. In a possible implementation manner of the present application, the memory may also be at least one storage device located away from the processor.
上述处理器可以是通用处理器,包括CPU(Central Processing Unit,中央处理器)、NP(Network Processor,网络处理器)等;还可以是DSP(Digital Signal Processor,数字信号处理器)、ASIC(Application Specific Integrated Circuit,专用集成电路)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The processor may be a general-purpose processor, including a CPU (Central Processing Unit), an NP (Network Processor), or the like; or a DSP (Digital Signal Processor) or an ASIC (Application) Specific Integrated Circuit, FPGA (Field-Programmable Gate Array) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
另外,相应于上述实施例所提供的应用于车载控制器的车载全景视频显示方法,本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质内存储有计算机程序,计算机程序在被处理器执行时实现本申请实施例 应用于车载控制器的车载全景视频显示方法的所有步骤。In addition, the embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores a computer program, a computer program, corresponding to the vehicle-mounted panoramic video display method applied to the vehicle-mounted controller provided by the above embodiment. All steps of the in-vehicle panoramic video display method applied to the on-vehicle controller of the embodiment of the present application are implemented when executed by the processor.
通过上述车载控制器,能够实现:由于车载视频采集器中所有摄像头的总覆盖区域大于或等于360度,在车辆行驶过程中,不仅仅对车辆行驶前方路况进行拍摄、还对车辆的侧方以及车辆内部进行拍摄,360度无死角地对车辆的四周情况进行全景拍摄,有效提高车辆行驶的安全性;并且,车载控制器通过将各摄像头采集的原始视频所对应的待拼接视频进行拼接,合成全景视频,然后利用车载显示器对该全景视频进行显示,有效提高了视频的显示效果,能够使驾驶员更直观的从显示内容中观察到车辆的四周情况,提高了驾驶员的交互体验。Through the above-mentioned on-board controller, it can be realized that since the total coverage area of all the cameras in the vehicle video capture device is greater than or equal to 360 degrees, during the running of the vehicle, not only the road ahead of the vehicle is photographed, but also the side of the vehicle and The inside of the vehicle is photographed, and the surrounding conditions of the vehicle are panoramicly photographed without a dead angle at 360 degrees, thereby effectively improving the safety of the vehicle traveling; and the vehicle controller splicing and synthesizing the video to be spliced corresponding to the original video collected by each camera The panoramic video is then displayed by the on-board display, which effectively improves the display effect of the video, enables the driver to more intuitively observe the surroundings of the vehicle from the display content, and improves the driver's interactive experience.
上述计算机可读存储介质存储有在运行时执行本申请实施例所提供的应用于车载控制器的车载全景视频显示方法的应用程序,因此能够实现:由于车载视频采集器中所有摄像头的总覆盖区域大于或等于360度,在车辆行驶过程中,不仅仅对车辆行驶前方路况进行拍摄、还对车辆的侧方以及车辆内部进行拍摄,360度无死角地对车辆的四周情况进行全景拍摄,有效提高车辆行驶的安全性;并且,车载控制器通过将各摄像头采集的原始视频所对应的待拼接视频进行拼接,合成全景视频,然后利用车载显示器对该全景视频进行显示,有效提高了视频的显示效果,能够使驾驶员更直观的从显示内容中观察到车辆的四周情况,提高了驾驶员的交互体验。The computer readable storage medium stores an application program that executes the on-vehicle panoramic video display method applied to the on-vehicle controller provided by the embodiment of the present application at runtime, and thus can realize: the total coverage area of all the cameras in the vehicle video capture device It is greater than or equal to 360 degrees. During the running of the vehicle, not only the road ahead of the vehicle is photographed, but also the side of the vehicle and the inside of the vehicle are photographed. 360 degrees without panoramic view, the panoramic view of the surrounding conditions of the vehicle is effectively improved. The safety of the vehicle travels; and the vehicle controller synthesizes the panoramic video by splicing the video to be spliced corresponding to the original video collected by each camera, and then displaying the panoramic video by using the vehicle display, thereby effectively improving the display effect of the video. It can make the driver more intuitively observe the situation around the vehicle from the display content, and improve the driver's interactive experience.
另外,相应于上述实施例所提供的车载全景视频显示方法,本申请实施例提供了一种应用程序,用于在运行时执行:本申请实施例所提供的应用于车载控制器的车载全景视频显示方法。In addition, corresponding to the vehicular panoramic video display method provided by the foregoing embodiment, the embodiment of the present application provides an application program for performing at runtime: the vehicle panoramic video image applied to the vehicle controller provided by the embodiment of the present application Display method.
本实施例中,应用程序在运行时执行本申请实施例所提供的应用于车载控制器的车载全景视频显示方法,因此能够实现:由于车载视频采集器中所有摄像头的总覆盖区域大于或等于360度,在车辆行驶过程中,不仅仅对车辆行驶前方路况进行拍摄、还对车辆的侧方以及车辆内部进行拍摄,360度无死角地对车辆的四周情况进行全景拍摄,有效提高车辆行驶的安全性;并且,车载控制器通过将各摄像头采集的原始视频所对应的待拼接视频进行拼接,合成全景视频,然后利用车载显示器对该全景视频进行显示,有效提高了视频的显示效果,能够使驾驶员更直观的从显示内容中观察到车辆的四周情况,提高了驾驶员的交互体验。In this embodiment, the application performs the on-vehicle panoramic video display method applied to the on-board controller provided by the embodiment of the present application during operation, so that the total coverage area of all the cameras in the on-board video collector is greater than or equal to 360. In the process of driving the vehicle, not only the road ahead of the vehicle is photographed, but also the side of the vehicle and the inside of the vehicle are photographed, and 360-degree panoramic view of the surroundings of the vehicle is performed without dead angle, thereby effectively improving the safety of the vehicle. And the vehicle controller synthesizes the panoramic video by splicing the video to be spliced corresponding to the original video collected by each camera, and then displaying the panoramic video by using the vehicle display, thereby effectively improving the display effect of the video and enabling driving The staff intuitively observed the surrounding conditions of the vehicle from the display content and improved the driver's interactive experience.
对于车载控制器、计算机可读存储介质以及应用程序实施例而言,由于其所涉及的方法内容基本相似于前述的方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。For the on-board controller, the computer readable storage medium, and the application embodiment, since the method content involved is basically similar to the foregoing method embodiment, the description is relatively simple, and the relevant parts refer to the description of the method embodiment. Just fine.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要 素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply such entities or operations. There is any such actual relationship or order between them. Furthermore, the term "comprises" or "comprises" or "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置、车载控制器、计算机可读存储介质以及应用程序实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in the present specification are described in a related manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device, the on-board controller, the computer readable storage medium, and the application embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and the relevant portions can be referred to the description of the method embodiment.
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。The above is only the preferred embodiment of the present application, and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc., which are made within the spirit and principles of the present application, should be included in the present application. Within the scope of protection.

Claims (21)

  1. 一种车载全景视频显示系统,其特征在于,所述系统包括车载视频采集器、车载控制器及车载显示器;A vehicle panoramic video display system, characterized in that the system comprises an in-vehicle video collector, a vehicle controller and an on-board display;
    所述车载视频采集器中包括多个摄像头,各摄像头分别采集覆盖区域内的原始视频,所述车载视频采集器中所有摄像头的总覆盖区域大于或等于360度;发送各摄像头采集的原始视频至所述车载控制器;The vehicle video capture device includes a plurality of cameras, and each camera captures original video in the coverage area, and the total coverage area of all the cameras in the vehicle video collector is greater than or equal to 360 degrees; the original video collected by each camera is sent to The vehicle controller;
    所述车载控制器,用于接收所述车载视频采集器发送的各摄像头采集的原始视频;查找预先建立的全景合成映射表,分别生成各原始视频对应的待拼接视频及各待拼接视频间的拼接关系,所述全景合成映射表中包括待拼接视频的像素坐标与原始视频的像素坐标的对应关系;根据所述拼接关系,将各待拼接视频进行拼接,生成全景视频;将所述全景视频发送至所述车载显示器;The vehicle controller is configured to receive the original video collected by each camera sent by the vehicle video capture device; and search for a pre-established panoramic synthesis mapping table, respectively generate a video to be spliced corresponding to each original video and a video to be spliced a splicing relationship, the panorama synthesis mapping table includes a correspondence between pixel coordinates of the video to be spliced and pixel coordinates of the original video; and splicing the video to be spliced according to the splicing relationship to generate a panoramic video; Sended to the on-board display;
    所述车载显示器,用于接收所述车载控制器发送的所述全景视频;利用预设显示策略,显示所述全景视频。The on-board display is configured to receive the panoramic video sent by the onboard controller; and display the panoramic video by using a preset display policy.
  2. 根据权利要求1所述的系统,其特征在于,所述车载视频采集器为双鱼眼设备。The system of claim 1 wherein said in-vehicle video capture device is a binocular device.
  3. 根据权利要求1所述的系统,其特征在于,所述车载视频采集器与所述车载控制器之间,通过信息交互模块传输各摄像头采集的原始视频;The system according to claim 1, wherein the original video captured by each camera is transmitted between the in-vehicle video collector and the on-board controller through an information interaction module;
    所述车载控制器与所述车载显示器之间,通过信息交互模块传输所述全景视频。The panoramic video is transmitted between the onboard controller and the onboard display through an information interaction module.
  4. 根据权利要求1所述的系统,其特征在于,所述系统还包括:车身传感器;The system of claim 1 wherein said system further comprises: a body sensor;
    所述车身传感器,用于采集方向盘转动信息;将所述方向盘转动信息发送至所述车载控制器;The vehicle body sensor is configured to collect steering wheel rotation information; and send the steering wheel rotation information to the vehicle controller;
    所述车载控制器,还用于接收所述车身传感器发送的所述方向盘转动信息;根据所述方向盘转动信息,通过转动角度换算,得到所述全景视频的视角转动信息;按照所述视角转动信息,对所述全景视频进行转动变换,得到变换后的全景视频;将所述变换后的全景视频发送至所述车载显示器;The vehicle controller is further configured to receive the steering wheel rotation information sent by the vehicle body sensor; according to the steering wheel rotation information, obtain the perspective rotation information of the panoramic video by rotating angle conversion; and rotate the information according to the perspective Rotating and transforming the panoramic video to obtain a transformed panoramic video; and transmitting the converted panoramic video to the on-board display;
    所述车载显示器,还用于接收所述车载控制器发送的所述变换后的全景视频;利用预设显示策略,显示所述变换后的全景视频。The on-board display is further configured to receive the converted panoramic video sent by the onboard controller; and display the converted panoramic video by using a preset display policy.
  5. 根据权利要求1所述的系统,其特征在于,The system of claim 1 wherein:
    所述车载视频采集器,还用于识别驾驶员姿态变化信息;发送所述驾驶员姿态变化信息至所述车载控制器;The vehicle video capture device is further configured to identify driver attitude change information; and send the driver posture change information to the onboard controller;
    所述车载控制器,还用于接收所述车载视频采集器发送的所述驾驶员姿态变化信息;根据所述驾驶员姿态变化信息,通过视点变换关系,确定所述全景视频的视点变换参数;根据所述视点变换参数,对所述全景视频进行视点更新,得到视点更新后的全景视频;将所述视点更新后的全景视频发送至 所述车载显示器;The vehicle controller is further configured to receive the driver attitude change information sent by the vehicle video capture device, and determine a viewpoint transformation parameter of the panoramic video by using a viewpoint transformation relationship according to the driver posture change information; And performing a viewpoint update on the panoramic video according to the viewpoint conversion parameter to obtain a panoramic video after the viewpoint update; and transmitting the panoramic video after the viewpoint update to the on-board display;
    所述车载显示器,还用于接收所述车载控制器发送的所述视点更新后的全景视频;利用预设显示策略,显示所述视点更新后的全景视频。The on-board display is further configured to receive the panoramic video after the view update sent by the onboard controller, and display the updated panoramic video of the view by using a preset display policy.
  6. 根据权利要求1所述的系统,其特征在于,The system of claim 1 wherein:
    所述车载视频采集器,还用于识别车外障碍物目标信息;发送所述车外障碍物目标信息至所述车载控制器;The in-vehicle video collector is further configured to identify an off-vehicle obstacle target information; and send the off-vehicle obstacle target information to the on-board controller;
    所述车载控制器,还用于接收所述车载视频采集器发送的所述车外障碍物目标信息;根据所述车外障碍物目标信息,确定车外障碍物的类别信息,以及所述车外障碍物在所述全景视频中的位置信息;将所述类别信息以及所述位置信息叠加至所述全景视频上,得到叠加信息后的全景视频;将所述叠加信息后的全景视频发送至所述车载显示器;The vehicle controller is further configured to receive the vehicle exterior obstacle target information sent by the vehicle video capture device; determine, according to the vehicle exterior obstacle object information, category information of the vehicle exterior obstacle, and the vehicle Location information of the external obstacle in the panoramic video; superimposing the category information and the location information on the panoramic video to obtain a panoramic video after superimposing information; sending the panoramic video after the superimposed information to The vehicle display;
    所述车载显示器,还用于接收所述车载控制器发送的所述叠加信息后的全景视频;利用预设显示策略,显示所述叠加信息后的全景视频。The in-vehicle display is further configured to receive the panoramic video after the superimposed information sent by the on-board controller; and display the panoramic video after the superimposed information by using a preset display strategy.
  7. 一种车载全景视频显示方法,其特征在于,应用于车载控制器,所述方法包括:The invention relates to a vehicle panoramic video display method, which is characterized in that it is applied to an on-board controller, and the method comprises:
    获取车载视频采集器中各摄像头采集的原始视频;Obtaining the original video collected by each camera in the car video collector;
    查找预先建立的全景合成映射表,分别生成各原始视频对应的待拼接视频及各待拼接视频间的拼接关系,所述全景合成映射表中包括待拼接视频的像素坐标与原始视频的像素坐标的对应关系;Searching for a pre-established panoramic synthesis mapping table, respectively, to generate a splicing relationship between the video to be spliced corresponding to each original video and each video to be spliced, wherein the panoramic compositing mapping table includes pixel coordinates of the video to be spliced and pixel coordinates of the original video. Correspondence relationship
    根据所述拼接关系,将各待拼接视频进行拼接,生成全景视频;According to the splicing relationship, the video to be spliced is spliced to generate a panoramic video;
    将所述全景视频发送至车载显示器。The panoramic video is sent to the onboard display.
  8. 根据权利要求7所述的方法,其特征在于,所述全景合成映射表的建立方式,包括:The method according to claim 7, wherein the manner in which the panoramic synthesis mapping table is established includes:
    获取所述车载视频采集器中各摄像头采集的样本图像,以及所述车载视频采集器标定的各摄像头内参及各摄像头外参;Acquiring a sample image collected by each camera in the vehicle video capture device, and participating in each camera of the camera calibration by the on-board video collector;
    根据所述各摄像头内参,对各样本图像分别进行球面投影,生成所述各样本图像对应的球面投影图像;Performing a spherical projection on each sample image according to each of the camera internal parameters to generate a spherical projection image corresponding to each sample image;
    根据所述各摄像头外参,获得各球面投影图像之间的相对位置关系;Obtaining a relative positional relationship between the spherical projection images according to the external parameters of the cameras;
    根据所述相对位置关系,对所述各球面投影图像进行变换、裁剪,得到全景合成映射表。The respective spherical projection images are transformed and cropped according to the relative positional relationship to obtain a panoramic composition mapping table.
  9. 根据权利要求7所述的方法,其特征在于,所述全景合成映射表的建立方式,包括:The method according to claim 7, wherein the manner in which the panoramic synthesis mapping table is established includes:
    获取所述车载视频采集器中各摄像头采集的样本图像,以及所述车载视频采集器标定的各摄像头内参及各摄像头外参;Acquiring a sample image collected by each camera in the vehicle video capture device, and participating in each camera of the camera calibration by the on-board video collector;
    建立第一全景映射表,所述第一全景映射表的内容为空;Establishing a first panoramic mapping table, where the content of the first panoramic mapping table is empty;
    根据所述各摄像头外参,得到所述第一全景映射表中各预设区域之间的位置关系;Obtaining a positional relationship between each preset area in the first panoramic mapping table according to the external parameters of the cameras;
    根据所述位置关系,对所述各预设区域进行逆变换,得到所述各预设区域的逆变换区域;Performing inverse transform on each preset area according to the positional relationship to obtain an inverse transform area of each preset area;
    根据所述各摄像头内参,对各样本图像分别进行球面投影,生成所述各样本图像对应的球面投影图像;Performing a spherical projection on each sample image according to each of the camera internal parameters to generate a spherical projection image corresponding to each sample image;
    根据各球面投影图像与各逆变换区域之间的对应关系,确定全景合成映射表。A panoramic composition map is determined based on the correspondence between each spherical projection image and each inverse transform region.
  10. 根据权利要求7所述的方法,其特征在于,所述全景合成映射表的建立方式,包括:The method according to claim 7, wherein the manner in which the panoramic synthesis mapping table is established includes:
    获取所述车载视频采集器中各摄像头采集的外参标定图像,及各外参标定图像中标定的摄像头外参;Obtaining an external reference calibration image acquired by each camera in the vehicle video capture device, and a camera external reference calibrated in each external reference calibration image;
    检测所述各外参标定图像的有效区域外边缘;Detecting an outer edge of an effective area of the external reference calibration image;
    利用曲线拟合,拟合所述各外参标定图像的有效区域外边缘,得到所述各外参标定图像的有效区域的外轮廓;Using the curve fitting, fitting the outer edge of the effective region of the external reference calibration image to obtain the outer contour of the effective region of the external reference calibration image;
    基于所述各外参标定图像的有效区域的外轮廓,确定采集所述各外参标定图像的摄像头内参;Determining, according to the outer contour of the effective area of the external reference calibration image, the camera internal reference for collecting the external reference calibration image;
    根据各摄像头内参,对所述各外参标定图像分别进行球面投影,生成所述各外参标定图像对应的球面投影图像;Performing a spherical projection on each of the external reference calibration images according to each camera internal reference to generate a spherical projection image corresponding to each of the external reference calibration images;
    根据各摄像头外参,获得各球面投影图像之间的相对位置关系;Obtaining a relative positional relationship between each spherical projection image according to each camera external parameter;
    根据所述相对位置关系,对所述各球面投影图像进行变换、裁剪,得到全景合成映射表。The respective spherical projection images are transformed and cropped according to the relative positional relationship to obtain a panoramic composition mapping table.
  11. 根据权利要求7所述的方法,其特征在于,所述全景合成映射表的建立方式,包括:The method according to claim 7, wherein the manner in which the panoramic synthesis mapping table is established includes:
    获取所述车载视频采集器中各摄像头采集的外参标定图像,及各外参标定图像中标定的摄像头外参;Obtaining an external reference calibration image acquired by each camera in the vehicle video capture device, and a camera external reference calibrated in each external reference calibration image;
    检测所述各外参标定图像的有效区域外边缘;Detecting an outer edge of an effective area of the external reference calibration image;
    利用曲线拟合,拟合所述各外参标定图像的有效区域外边缘,得到所述各外参标定图像的有效区域的外轮廓;Using the curve fitting, fitting the outer edge of the effective region of the external reference calibration image to obtain the outer contour of the effective region of the external reference calibration image;
    基于所述各外参标定图像的有效区域的外轮廓,确定采集所述各外参标定图像的摄像头内参;Determining, according to the outer contour of the effective area of the external reference calibration image, the camera internal reference for collecting the external reference calibration image;
    建立第一全景映射表,所述第一全景映射表的内容为空;Establishing a first panoramic mapping table, where the content of the first panoramic mapping table is empty;
    根据各摄像头外参,得到所述第一全景映射表中各预设区域之间的位置关系;Obtaining a positional relationship between each preset area in the first panoramic mapping table according to each camera external parameter;
    根据所述位置关系,对所述各预设区域进行逆变换,得到所述各预设区域的逆变换区域;Performing inverse transform on each preset area according to the positional relationship to obtain an inverse transform area of each preset area;
    根据各摄像头内参,对所述各外参标定图像分别进行球面投影,生成所述各外参标定图像对应的球面投影图像;Performing a spherical projection on each of the external reference calibration images according to each camera internal reference to generate a spherical projection image corresponding to each of the external reference calibration images;
    根据各球面投影图像与各逆变换区域之间的对应关系,确定全景合成映 射表。A panoramic synthetic map is determined based on the correspondence between each spherical projection image and each inverse transform region.
  12. 根据权利要求8至11任一所述的方法,其特征在于,所述全景合成映射表包括所述车载视频采集器中各摄像头各自的映射表,各映射表两两之间存在重叠区域。The method according to any one of claims 8 to 11, wherein the panoramic composition mapping table comprises a mapping table of each camera in the in-vehicle video collector, and there is an overlapping area between the two mapping tables.
  13. 根据权利要求8至11任一所述的方法,其特征在于,所述查找预先建立的全景合成映射表,分别生成各原始视频对应的待拼接视频及各待拼接视频间的拼接关系,包括:The method according to any one of claims 8 to 11, wherein the searching for a pre-established panoramic synthesis mapping table respectively generates a splicing relationship between the video to be spliced corresponding to each original video and the video to be spliced, including:
    查找预先建立的全景合成映射表,分别生成各原始视频中每个视频帧对应的待拼接视频帧及各待拼接视频帧之间的拼接关系;Searching for a pre-established panoramic synthesis mapping table, respectively generating a splicing relationship between the video frames to be spliced corresponding to each video frame in each original video and the video frames to be spliced;
    针对同一原始视频生成的各待拼接视频帧,利用预设视频生成技术,生成待拼接视频;The video to be spliced is generated by using a preset video generation technology for each video frame to be spliced generated by the same original video;
    所述根据所述拼接关系,将各待拼接视频进行拼接,生成全景视频,包括:According to the splicing relationship, the video to be spliced is spliced to generate a panoramic video, including:
    根据所述各待拼接视频帧之间的拼接关系,分别将各待拼接视频中对应的所有待拼接视频帧进行拼接,得到多个全景图像;And splicing, according to the splicing relationship between the video frames to be spliced, all the video frames to be spliced in the video to be spliced, to obtain a plurality of panoramic images;
    基于各全景图像,利用预设视频生成技术,生成全景视频。Based on each panoramic image, a panoramic video is generated using a preset video generation technique.
  14. 根据权利要求7所述的方法,其特征在于,所述根据所述拼接关系,将各待拼接视频进行拼接,生成全景视频,包括:The method according to claim 7, wherein the splicing the video to be spliced according to the splicing relationship to generate a panoramic video comprises:
    根据所述拼接关系,将各待拼接视频进行拼接,生成二维视频;According to the splicing relationship, the video to be spliced is spliced to generate a two-dimensional video;
    根据预设三维投影方式,将所述二维视频进行三维投影,得到全景视频。The two-dimensional video is three-dimensionally projected according to a preset three-dimensional projection manner to obtain a panoramic video.
  15. 根据权利要求7所述的方法,其特征在于,在所述根据所述拼接关系,将各待拼接视频进行拼接,生成全景视频之后,所述方法还包括:The method according to claim 7, wherein after the splicing of the video to be spliced according to the splicing relationship to generate a panoramic video, the method further includes:
    获取车辆状态信息;Obtaining vehicle status information;
    根据所述车辆状态信息,确定所述全景视频的待处理信息;Determining, to be processed, the information of the panoramic video according to the vehicle status information;
    根据所述待处理信息,对所述全景视频进行处理,得到处理后的全景视频;And processing the panoramic video according to the to-be-processed information to obtain a processed panoramic video;
    所述将所述全景视频发送至车载显示器,包括:The transmitting the panoramic video to the on-board display comprises:
    将所述处理后的全景视频发送至车载显示器。The processed panoramic video is transmitted to the in-vehicle display.
  16. 根据权利要求15所述的方法,其特征在于,所述车辆状态信息包括方向盘转动信息;The method of claim 15 wherein said vehicle status information comprises steering wheel rotation information;
    所述获取车辆状态信息,包括:The obtaining vehicle status information includes:
    获取车身传感器采集的方向盘转动信息;Obtain steering wheel rotation information collected by the body sensor;
    所述根据所述车辆状态信息,确定所述全景视频的待处理信息,包括:Determining the to-be-processed information of the panoramic video according to the vehicle status information, including:
    根据所述方向盘转动信息,通过转动角度换算,得到所述全景视频的视角转动信息;Obtaining rotation angle information of the panoramic video according to the rotation information of the steering wheel;
    所述根据所述待处理信息,对所述全景视频进行处理,得到处理后的全景视频,包括:The processing, according to the to-be-processed information, processing the panoramic video to obtain a processed panoramic video, including:
    按照所述视角转动信息,对所述全景视频进行转动变换,得到变换后的全景视频;Rotating the panoramic video according to the rotation information of the viewing angle to obtain a transformed panoramic video;
    所述将所述处理后的全景视频发送至车载显示器,包括:The transmitting the processed panoramic video to the on-board display comprises:
    将所述变换后的全景视频发送至车载显示器。The transformed panoramic video is transmitted to the in-vehicle display.
  17. 根据权利要求15所述的方法,其特征在于,所述车辆状态信息包括驾驶员姿态变化信息;The method of claim 15 wherein said vehicle status information comprises driver attitude change information;
    所述获取车辆状态信息,包括:The obtaining vehicle status information includes:
    获取所述车载视频采集器识别的驾驶员姿态变化信息;Obtaining driver posture change information recognized by the in-vehicle video collector;
    所述根据所述车辆状态信息,确定所述全景视频的待处理信息,包括:Determining the to-be-processed information of the panoramic video according to the vehicle status information, including:
    根据所述驾驶员姿态变化信息,通过视点变换关系,确定所述全景视频的视点变换参数;Determining, according to the driver posture change information, a viewpoint conversion parameter of the panoramic video by a viewpoint conversion relationship;
    所述根据所述待处理信息,对所述全景视频进行处理,得到处理后的全景视频,包括:The processing, according to the to-be-processed information, processing the panoramic video to obtain a processed panoramic video, including:
    根据所述视点变换参数,对所述全景视频进行视点更新,得到视点更新后的全景视频;Performing a viewpoint update on the panoramic video according to the viewpoint transformation parameter to obtain a panoramic video after the viewpoint update;
    所述将所述处理后的全景视频发送至车载显示器,包括:The transmitting the processed panoramic video to the on-board display comprises:
    将所述视点更新后的全景视频发送至车载显示器。The panoramic video after the viewpoint update is sent to the in-vehicle display.
  18. 根据权利要求15所述的方法,其特征在于,所述车辆状态信息包括:车外障碍物目标信息;The method according to claim 15, wherein the vehicle status information comprises: an off-vehicle obstacle target information;
    所述获取车辆状态信息,包括:The obtaining vehicle status information includes:
    获取所述车载视频采集器识别的车外障碍物目标信息;Acquiring the target information of the vehicle exterior obstacle identified by the vehicle video capture device;
    所述根据所述车辆状态信息,确定所述全景视频的待处理信息,包括:Determining the to-be-processed information of the panoramic video according to the vehicle status information, including:
    根据所述车外障碍物目标信息,确定车外障碍物的类别信息,以及所述车外障碍物在所述全景视频中的位置信息;Determining, according to the vehicle exterior obstacle target information, category information of an obstacle outside the vehicle, and location information of the exterior obstacle in the panoramic video;
    所述根据所述待处理信息,对所述全景视频进行处理,得到处理后的全景视频,包括:The processing, according to the to-be-processed information, processing the panoramic video to obtain a processed panoramic video, including:
    将所述类别信息以及所述位置信息叠加至所述全景视频上,得到叠加信息后的全景视频;Superimposing the category information and the location information on the panoramic video to obtain a panoramic video after superimposing information;
    所述将所述处理后的全景视频发送至车载显示器,包括:The transmitting the processed panoramic video to the on-board display comprises:
    将所述叠加信息后的全景视频发送至车载显示器。The panoramic video after the superimposed information is sent to the on-board display.
  19. 根据权利要求7所述的方法,其特征在于,所述车载视频采集器为双鱼眼设备;The method according to claim 7, wherein the in-vehicle video collector is a fisheye device;
    所述获取车载视频采集器中各摄像头采集的原始视频,包括:The acquiring the original video collected by each camera in the vehicle video capture device includes:
    获取双鱼眼设备中两个鱼眼摄像头分别采集的原始视频。Obtain the original video captured by the two fisheye cameras in the fisheye device.
  20. 一种车载控制器,其特征在于,所述车载控制器中包括处理器和存储器;An on-board controller, characterized in that the on-board controller includes a processor and a memory;
    所述存储器,用于存放计算机程序;The memory is configured to store a computer program;
    所述处理器,用于执行所述存储器上所存放的程序时,实现如下步骤:The processor, when executing the program stored on the memory, implements the following steps:
    获取车载视频采集器中各摄像头采集的原始视频;Obtaining the original video collected by each camera in the car video collector;
    查找预先建立的全景合成映射表,分别生成各原始视频对应的待拼接视频及各待拼接视频间的拼接关系,所述全景合成映射表中包括待拼接视频的像素坐标与原始视频的像素坐标的对应关系;Searching for a pre-established panoramic synthesis mapping table, respectively, to generate a splicing relationship between the video to be spliced corresponding to each original video and each video to be spliced, wherein the panoramic compositing mapping table includes pixel coordinates of the video to be spliced and pixel coordinates of the original video. Correspondence relationship
    根据所述拼接关系,将各待拼接视频进行拼接,生成全景视频;According to the splicing relationship, the video to be spliced is spliced to generate a panoramic video;
    将所述全景视频发送至车载显示器。The panoramic video is sent to the onboard display.
  21. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时,实现如下步骤:A computer readable storage medium, wherein the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, the following steps are implemented:
    获取车载视频采集器中各摄像头采集的原始视频;Obtaining the original video collected by each camera in the car video collector;
    查找预先建立的全景合成映射表,分别生成各原始视频对应的待拼接视频及各待拼接视频间的拼接关系,所述全景合成映射表中包括待拼接视频的像素坐标与原始视频的像素坐标的对应关系;Searching for a pre-established panoramic synthesis mapping table, respectively, to generate a splicing relationship between the video to be spliced corresponding to each original video and each video to be spliced, wherein the panoramic compositing mapping table includes pixel coordinates of the video to be spliced and pixel coordinates of the original video. Correspondence relationship
    根据所述拼接关系,将各待拼接视频进行拼接,生成全景视频;According to the splicing relationship, the video to be spliced is spliced to generate a panoramic video;
    将所述全景视频发送至车载显示器。The panoramic video is sent to the onboard display.
PCT/CN2019/079732 2018-04-02 2019-03-26 Vehicle panoramic video display system and method, and vehicle controller WO2019192359A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810284336.3A CN110341597B (en) 2018-04-02 2018-04-02 Vehicle-mounted panoramic video display system and method and vehicle-mounted controller
CN201810284336.3 2018-04-02

Publications (1)

Publication Number Publication Date
WO2019192359A1 true WO2019192359A1 (en) 2019-10-10

Family

ID=68099752

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/079732 WO2019192359A1 (en) 2018-04-02 2019-03-26 Vehicle panoramic video display system and method, and vehicle controller

Country Status (2)

Country Link
CN (1) CN110341597B (en)
WO (1) WO2019192359A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113240615A (en) * 2021-05-20 2021-08-10 北京城市网邻信息技术有限公司 Image processing method, image processing device, electronic equipment and computer readable storage medium

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112818726A (en) * 2019-11-15 2021-05-18 杭州海康威视数字技术股份有限公司 Vehicle violation early warning method, device, system and storage medium
US11055835B2 (en) 2019-11-19 2021-07-06 Ke.com (Beijing) Technology, Co., Ltd. Method and device for generating virtual reality data
CN111105347B (en) * 2019-11-19 2020-11-13 贝壳找房(北京)科技有限公司 Method, device and storage medium for generating panoramic image with depth information
CN111137210A (en) * 2019-11-28 2020-05-12 天津津航技术物理研究所 Vehicle-mounted panoramic observation system
CN111447431A (en) * 2020-04-02 2020-07-24 深圳普捷利科技有限公司 Naked eye 3D display method and system applied to vehicle-mounted all-around camera shooting
CN111546986A (en) * 2020-04-30 2020-08-18 北京大椽科技有限公司 Trailer panoramic looking-around method
CN111757057B (en) * 2020-06-17 2022-06-17 广州市泰睿科技有限公司 Panoramic all-around display method, device, equipment and storage medium
CN111815752B (en) * 2020-07-16 2022-11-29 展讯通信(上海)有限公司 Image processing method and device and electronic equipment
CN114425991B (en) * 2020-10-29 2023-12-29 上海博泰悦臻网络技术服务有限公司 Image processing method, medium, device and image processing system
CN112606829A (en) * 2020-12-16 2021-04-06 广州市车智连电子有限公司 Auxiliary parking system based on panoramic stitching data mapping
CN112509179A (en) * 2020-12-18 2021-03-16 大连理工大学 Automobile black box with omnidirectional collision perception and three-dimensional scene reappearance inside and outside automobile
CN112550469A (en) * 2020-12-25 2021-03-26 浙江零跑科技有限公司 Automobile perspective A column module and display method
CN113715826B (en) * 2021-08-31 2023-03-21 深圳市同进视讯技术有限公司 Vehicle driving assisting method and device based on vehicle-mounted real-time monitoring

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1987357A (en) * 2006-12-26 2007-06-27 浙江工业大学 Intelligent parking auxiliary device based on omnibearing computer sight
US20090207045A1 (en) * 2008-02-14 2009-08-20 Mando Corporation Method and apparatus for detecting target parking position by using two reference points, and parking assist system using the same
CN102111610A (en) * 2010-05-21 2011-06-29 深圳安科智能视频技术有限公司 Panoramic image generating method for assisting driving
CN104851076A (en) * 2015-05-27 2015-08-19 武汉理工大学 Panoramic 360-degree-view parking auxiliary system for commercial vehicle and pick-up head installation method
CN107627959A (en) * 2017-09-20 2018-01-26 鹰驾科技(深圳)有限公司 The panoramic video monitoring method and system of motor vehicle

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1165004A (en) * 1997-08-12 1999-03-05 Sony Corp Panoramic image pickup device
CN102045546B (en) * 2010-12-15 2013-07-31 广州致远电子股份有限公司 Panoramic parking assist system
CN102629372A (en) * 2012-02-22 2012-08-08 北京工业大学 360 degree panoramic aerial view generation method used for assisting vehicle driving
CN103617606B (en) * 2013-11-26 2016-09-14 中科院微电子研究所昆山分所 For assisting the vehicle multi-angle panorama generation method of driving
CN106856000B (en) * 2015-12-09 2021-02-05 广州汽车集团股份有限公司 Seamless splicing processing method and system for vehicle-mounted panoramic image
CN106855999A (en) * 2015-12-09 2017-06-16 宁波芯路通讯科技有限公司 The generation method and device of automobile panoramic view picture
CN105957010A (en) * 2016-05-19 2016-09-21 沈祥明 Vehicle-mounted image splicing system
CN107644394B (en) * 2016-07-21 2021-03-30 完美幻境(北京)科技有限公司 3D image processing method and device
CN107424120A (en) * 2017-04-12 2017-12-01 湖南源信光电科技股份有限公司 A kind of image split-joint method in panoramic looking-around system
CN107507131B (en) * 2017-08-08 2021-02-23 广州市安晓科技有限责任公司 360-degree panoramic reverse image generation method based on single camera

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1987357A (en) * 2006-12-26 2007-06-27 浙江工业大学 Intelligent parking auxiliary device based on omnibearing computer sight
US20090207045A1 (en) * 2008-02-14 2009-08-20 Mando Corporation Method and apparatus for detecting target parking position by using two reference points, and parking assist system using the same
CN102111610A (en) * 2010-05-21 2011-06-29 深圳安科智能视频技术有限公司 Panoramic image generating method for assisting driving
CN104851076A (en) * 2015-05-27 2015-08-19 武汉理工大学 Panoramic 360-degree-view parking auxiliary system for commercial vehicle and pick-up head installation method
CN107627959A (en) * 2017-09-20 2018-01-26 鹰驾科技(深圳)有限公司 The panoramic video monitoring method and system of motor vehicle

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113240615A (en) * 2021-05-20 2021-08-10 北京城市网邻信息技术有限公司 Image processing method, image processing device, electronic equipment and computer readable storage medium
CN113240615B (en) * 2021-05-20 2022-06-07 北京城市网邻信息技术有限公司 Image processing method, image processing device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN110341597B (en) 2020-11-27
CN110341597A (en) 2019-10-18

Similar Documents

Publication Publication Date Title
WO2019192359A1 (en) Vehicle panoramic video display system and method, and vehicle controller
US9858639B2 (en) Imaging surface modeling for camera modeling and virtual view synthesis
CN108765496A (en) A kind of multiple views automobile looks around DAS (Driver Assistant System) and method
JP5444338B2 (en) Vehicle perimeter monitoring device
CN105763854B (en) A kind of omnidirectional imaging system and its imaging method based on monocular cam
JP5682788B2 (en) Vehicle periphery monitoring device
US8576285B2 (en) In-vehicle image processing method and image processing apparatus
JP5455124B2 (en) Camera posture parameter estimation device
US20140114534A1 (en) Dynamic rearview mirror display features
JP5321711B2 (en) Vehicle periphery monitoring device and video display method
JP4643860B2 (en) VISUAL SUPPORT DEVICE AND SUPPORT METHOD FOR VEHICLE
JP5516998B2 (en) Image generation device
JP2012040883A (en) Device for generating image of surroundings of vehicle
WO2017043331A1 (en) Image processing device and image processing method
JPWO2019003910A1 (en) Image processing apparatus, image processing method, and program
KR101278654B1 (en) Apparatus and method for displaying arround image of vehicle
JP2023505891A (en) Methods for measuring environmental topography
CN206287929U (en) A kind of 3D panoramas parking apparatus and system
KR20130071842A (en) Apparatus and method for providing environment information of vehicle
JP2011028634A (en) Image display device for vehicle
JP6977725B2 (en) Image processing device and image processing method
WO2021131481A1 (en) Display device, display method, and display program
KR20130024066A (en) Apparatus for supporing parking of vehicle and method for the same
JP2009020647A (en) Three-dimensional object detection method and solid object detection device
JP4339749B2 (en) Image generation method and image generation apparatus

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

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

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19781257

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 19.04.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19781257

Country of ref document: EP

Kind code of ref document: A1