Camera distributed online fusion splicing method for large-scale scene monitoring

By combining a short-focus panoramic camera and multiple telephoto cameras, the dual guarantee of large field of view and high definition is achieved, and a comprehensive and detailed panoramic picture is generated, which solves the contradiction between the field of view and definition in the traditional stitching method, and improves the Efficiency and effectiveness of large-scale scene monitoring.

CN118828201AInactive Publication Date: 2024-10-22SICHUAN NATIONAL INNOVATION VISION UHD VIDEO TECHNOLOGY CO LTD

Patent Information

Application Number
CN202411211606.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-10-22
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional video splicing methods are difficult to balance the field of view and clarity in large scene monitoring. Telephoto cameras have small fields of view and complex deployment, and short-focus panoramic cameras cannot meet the needs of high-precision monitoring.

Method used

Combined with a short-focus panoramic camera and multiple telephoto cameras, a comprehensive and detailed panoramic image is generated through cropping, coordinate mapping, image transformation and fusion splicing, ensuring the double guarantee of large field of view and high definition.

Benefits of technology

It achieves the dual guarantee between field of view and clarity, improves the efficiency and effect of large-scene monitoring, and solves the contradiction between field of view and clarity in traditional splicing methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118828201A_ABST
    Figure CN118828201A_ABST
Patent Text Reader

Abstract

The invention provides a camera distributed online fusion splicing method for large-scale scene monitoring, and relates to the technical field of image splicing, and the method comprises the steps: collecting a panoramic image through a short-focus camera, and guaranteeing the coverage of an overall visual field; meanwhile, local key areas in the panoramic image are collected through a plurality of long-focus cameras so as to ensure the definition of the areas, local images of the long-focus cameras are seamlessly fused into the panoramic image through the steps of fine cutting, coordinate mapping, image transformation, fusion splicing and the like, and finally the comprehensive panoramic image with rich details is generated. The splicing method provided by the invention not only solves the contradiction between the visual field and the definition in the traditional splicing method, but also improves the efficiency and the effect of large-scale scene monitoring.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image stitching, and in particular to a distributed online fusion and stitching method of cameras for large-scale scene monitoring. Background Art

[0002] With the rapid development of science and technology, video surveillance systems are playing an increasingly important role in many fields such as security, monitoring, and intelligent transportation. These systems not only require the ability to monitor and record a wide range of scene information in real time, but also put forward higher requirements on the clarity, field of view, and splicing effect of the video images. As a key means to improve monitoring performance, the importance of multi-channel camera video splicing technology is self-evident.

[0003] Traditional video stitching methods face many challenges in large-scale scene monitoring. On the one hand, although relying solely on telephoto cameras for stitching can ensure the clarity of key areas to a certain extent, it is limited by the small field of view of telephoto cameras and often cannot cover the entire monitoring area. In addition, a high degree of overlap is required between multiple telephoto cameras, which puts strict requirements on the placement of cameras and increases the complexity and cost of system deployment. On the other hand, although short-focus panoramic cameras can provide a larger field of view, due to their imaging characteristics, it is often difficult to maintain sufficient clarity in key areas and it is difficult to meet the needs of high-precision monitoring.

[0004] Therefore, it is necessary to provide a distributed online fusion and stitching method for cameras in large-scale scene monitoring to solve the above technical problems. Summary of the invention

[0005] In order to solve the above technical problems, the present invention provides a distributed online fusion and stitching method of cameras for large-scene monitoring, which achieves the dual guarantee of large field of view and high definition by combining the advantages of a short-focus panoramic camera and multiple long-focus cameras.

[0006] The present invention provides a distributed online fusion and stitching method for cameras used in large-scale scene monitoring, which is configured with a short-focus camera and multiple long-focus cameras for collecting panoramic images. The multiple long-focus cameras are respectively used to collect local images in the panoramic image. All local images are fused into the panoramic image through the stitching method to generate a panoramic picture that is both comprehensive and rich in details.

[0007] Specifically, the splicing method comprises the following steps:

[0008] S1: cropping corresponding telephoto images, determining a to-be-joined region of each telephoto image in the panoramic image, and obtaining first region coordinates of the to-be-joined region in each telephoto image;

[0009] S2: calculating and determining second area coordinates of the area to be stitched in the panoramic image based on the relative position relationship between each telephoto camera and the panoramic camera and the first area coordinates;

[0010] S3: establishing a coordinate point pair relationship based on the first region coordinates and the second region coordinates, and calculating a transformation matrix based on the coordinate point pair relationship, wherein the transformation matrix is ​​used to represent the transformation of the to-be-stitched region in the telephoto image into the panoramic image;

[0011] S4: performing image transformation on all the areas to be spliced ​​based on the transformation matrix to obtain multiple transformed images;

[0012] S5: Integrate each transformed image into the panoramic image according to the corresponding second area coordinates, realize the fusion and stitching of the telephoto image in large scene monitoring, and generate a panoramic picture that is both comprehensive and rich in details.

[0013] Preferably, step S2 comprises the following steps:

[0014] S21: reading the relative position relationship of each telephoto camera and panoramic camera, wherein the relative position relationship includes the coordinates, orientation and camera intrinsic parameters of each camera in three-dimensional space;

[0015] S22: establishing a unified coordinate system based on the read coordinates, orientations, and camera internal parameters, where the coordinate system is used to represent the relative positions of each telephoto camera and the panoramic camera;

[0016] S23: Based on the unified coordinate system, using the internal parameters of the telephoto camera and the relative position of the telephoto camera and the panoramic camera, determining the mapping relationship between the telephoto camera field of view and the panoramic image;

[0017] S24: Based on the mapping relationship, second region coordinates corresponding to the to-be-joined regions in each telephoto image in the panoramic image are calculated.

[0018] Preferably, step S3 comprises the following steps:

[0019] S31: matching the first region coordinates of the to-be-joined region of each telephoto image with the second region coordinates in the panoramic image to generate a coordinate point pair relationship, wherein the coordinate point pair relationship includes a one-to-one corresponding coordinate point pair set;

[0020] S32: Based on the one-to-one corresponding coordinate point pair set, calculate the transformation matrix by the least square method.

[0021] Preferably, in step S3, the calculation formula of the transformation matrix is:

[0022]

[0023] Among them, (X, Y) is the coordinate before transformation, (u, v) is the coordinate after transformation, and H is the homography matrix, which is expressed as:

[0024]

[0025] Preferably, step S4 comprises the following steps:

[0026] S41: traversing the to-be-joined areas in all telephoto images, and cutting out corresponding image blocks from the telephoto images according to the corresponding first area coordinates;

[0027] S42: Apply the calculated transformation matrix to each cropped image block;

[0028] S43: Save the transformed image block as a transformed image, and sort all generated transformed images according to the corresponding second region coordinates.

[0029] Preferably, step S5 comprises the following steps:

[0030] S51: performing color correction on all transformed images, and constructing a mask in which the transformed images after color correction are fused with the panoramic image;

[0031] S52: Use Gaussian filter to blur the edge of mask;

[0032] S53: Use a mask-based weighted fusion method to superimpose the transformed image into the panoramic image to complete the fusion stitching.

[0033] Preferably, in step S51, color correction is performed on all transformed images, including correcting the color of the transformed telephoto image to the color of the corresponding area in the panoramic image, wherein the calculation formula for color correction is:

[0034] C=(L1-m1)×(s2 / s1)+m2

[0035] Among them, C is the color corrected image, L1 is the corrected image, m1 and m2 are the color means of the corrected image and the target image, respectively, and s1 and s2 are the color standard deviations of the corrected image and the target image, respectively.

[0036] Compared with the related art, the distributed online fusion and stitching method of cameras for large-scale scene monitoring provided by the present invention has the following beneficial effects:

[0037] The present invention achieves the dual guarantee of large field of view and high definition by combining the advantages of a short-focus panoramic camera and multiple telephoto cameras. Specifically, the method uses a short-focus camera to capture panoramic images to ensure coverage of the overall field of view; at the same time, multiple telephoto cameras are used to capture local key areas within the panoramic image to ensure the clarity of these areas. Through fine cropping, coordinate mapping, image transformation, and fusion stitching, the local image of the telephoto camera is seamlessly integrated into the panoramic image, ultimately generating a panoramic picture that is both comprehensive and rich in details. The stitching method of the present application not only solves the contradiction between field of view and clarity in traditional stitching methods, but also improves the efficiency and effect of large-scene monitoring. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A flowchart of a distributed online fusion and splicing method for cameras used in large-scale scene monitoring provided by the present invention;

[0039] Figure 2 This is a fusion splicing effect diagram of the present invention. DETAILED DESCRIPTION

[0040] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only the parts related to the present invention, rather than all structures, are shown in the accompanying drawings. In addition, the embodiments of the present invention and the features in the embodiments may be combined with each other without conflict.

[0041] It should also be noted that, for ease of description, only the part relevant to the present invention but not all the content is shown in the accompanying drawings. It should be mentioned before discussing the exemplary embodiments in more detail that some exemplary embodiments are described as the processing or method described as a flow chart. Although the flow chart describes each operation (or step) as being processed sequentially, many operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. When its operation is completed, the processing can be terminated, but it can also have additional steps not included in the accompanying drawings. The processing can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.

[0042] The present invention provides a distributed online fusion and stitching method for cameras used in large-scale scene monitoring, which is configured with a short-focus camera and multiple long-focus cameras for collecting panoramic images. The multiple long-focus cameras are respectively used to collect local images in the panoramic image. All local images are fused into the panoramic image through the stitching method to generate a panoramic picture that is both comprehensive and rich in details.

[0043] In this embodiment, a panoramic picture is generated by the synergy of a short-focus camera and multiple long-focus cameras, wherein a short-focus camera generally refers to a camera with a wide-angle lens with a shorter focal length, which can capture a very wide field of view. In this application, the main task of the short-focus camera is to capture a panoramic image of the entire scene, providing a wide viewing angle.

[0044] Telephoto cameras, on the other hand, are equipped with lenses with longer focal lengths, which allows them to capture details of distant objects. Telephoto cameras are often used to capture specific local areas that contain objects or details that require special attention. Because telephoto cameras focus on a smaller area, they are able to provide higher resolution of details than short-focus cameras.

[0045] Specifically, the splicing method comprises the following steps:

[0046] S1: Cropping corresponding telephoto images, determining a to-be-joined region of each telephoto image in the panoramic image, and acquiring first region coordinates of the to-be-joined region in each telephoto image.

[0047] In this embodiment, the specific implementation includes the following steps:

[0048] Data preparation: Get the original images taken by each telephoto camera.

[0049] Image preprocessing: Preprocess the original image, including but not limited to noise reduction and contrast enhancement.

[0050] Feature detection: Use feature detection algorithms (including but not limited to SIFT, SURF, ORB) to identify key points and feature areas in the image.

[0051] Region of interest determination: The region of interest (ROI) in the telephoto image is determined based on the results of feature detection. These regions usually contain important detail information.

[0052] Coordinate recording: Record the coordinate range of each region of interest in the telephoto image (first region coordinates).

[0053] S2: Calculate and determine the second area coordinates of the area to be stitched in the panoramic image based on the relative position relationship between each telephoto camera and the panoramic camera and the first area coordinates.

[0054] Specifically, step S2 includes the following steps:

[0055] S21: Reading the relative position relationship between each telephoto camera and the panoramic camera, wherein the relative position relationship includes the coordinates, orientations, and camera intrinsic parameters of each camera in three-dimensional space.

[0056] In this embodiment, the three-dimensional spatial coordinates and orientation information of the pre-calibrated telephoto camera and panoramic camera are read, and the internal parameters of each camera (such as focal length, pixel size, principal point offset, etc.) are read.

[0057] S22: establishing a unified coordinate system based on the read coordinates, orientations, and camera internal parameters, where the coordinate system is used to characterize the relative positions of the telephoto cameras and the panoramic camera.

[0058] In this embodiment, the location of the panoramic camera is selected as the origin, and the position and orientation information of all cameras are converted to the same coordinate system.

[0059] S23: Based on the unified coordinate system, the mapping relationship between the telephoto camera field of view and the panoramic image is determined using the internal parameters of the telephoto camera and the relative position of the telephoto camera and the panoramic camera.

[0060] In this embodiment, a perspective projection model is used to determine the mapping relationship between the telephoto camera field of view and the panoramic image, wherein perspective projection is a process of mapping points in a three-dimensional space onto a two-dimensional plane, which simulates the visual effect of the real world.

[0061] Mapping function: Create a mathematical function that can map points in the telephoto camera's field of view to corresponding points in the panoramic image. Specifically, it calculates the relative pose (position and orientation) between the two cameras and uses the camera's intrinsic parameters to determine the position of each pixel in space and project it onto the panoramic image.

[0062] S24: Based on the mapping relationship, second region coordinates corresponding to the to-be-joined regions in each telephoto image in the panoramic image are calculated.

[0063] In this embodiment, the established mapping relationship is used to map the coordinates of the first area in the telephoto image to the panoramic image to obtain the coordinates of the second area. In addition, it is necessary to verify whether the mapped coordinates are correct and make fine adjustments if necessary. This step can be performed by comparing the difference between the mapped coordinates and the expected position.

[0064] S3: establishing a coordinate point pair relationship based on the first area coordinates and the second area coordinates, and calculating a transformation matrix based on the coordinate point pair relationship, wherein the transformation matrix is ​​used to represent the transformation of the area to be stitched in the telephoto image into the panoramic image.

[0065] Specifically, step S3 includes the following steps:

[0066] S31: Matching the first area coordinates of the area to be stitched in each telephoto image with its second area coordinates in the panoramic image to generate a coordinate point pair relationship, wherein the coordinate point pair relationship includes a one-to-one corresponding coordinate point pair set.

[0067] In this embodiment, a one-to-one matching relationship is established between the pixel coordinates of the area to be stitched in the telephoto image and the corresponding pixel coordinates in the panoramic image by calculating the first area coordinates and the second area coordinates; a set of all one-to-one corresponding coordinate point pairs is generated, each point pair represents the mapping relationship between a pixel point of the telephoto image and a pixel point at a corresponding position in the panoramic image, ensuring that all coordinates have been converted into a unified coordinate system for matching.

[0068] S32: Based on the one-to-one corresponding coordinate point pair set, calculate the transformation matrix by the least square method.

[0069] Specifically, in step S3, the calculation formula of the transformation matrix is:

[0070]

[0071] Among them, (X, Y) is the coordinate before transformation, (u, v) is the coordinate after transformation, and H is the homography matrix, which is expressed as:

[0072]

[0073] In this embodiment, the least square method is a commonly used method for estimating the value of the unknown parameter so that the sum of the square errors between the observed value and the theoretical value is minimized, and the least square method is used to solve the homography matrix, which is used to describe the mapping relationship from the telephoto image to the panoramic image. Among them, the homography matrix is ​​a special transformation matrix, which is a 3x3 matrix that can represent the perspective transformation between planes.

[0074] S4: performing image transformation on all the areas to be spliced ​​based on the transformation matrix to obtain a plurality of transformed images.

[0075] Specifically, step S4 includes the following steps:

[0076] S41: traversing the to-be-joined areas in all telephoto images, and cutting out corresponding image blocks from the telephoto images according to the corresponding first area coordinates.

[0077] In this embodiment, the area to be stitched in each telephoto image is traversed, and according to the first area coordinates (ie, the coordinate points in the telephoto image) determined in step S31, the corresponding image blocks are accurately cropped from the telephoto image.

[0078] S42: Apply the calculated transformation matrix to each cropped image block.

[0079] In this embodiment, the calculated homography matrix is ​​used to perform perspective transformation on each cropped image block to map the image blocks from the space of the telephoto image to the space of the panoramic image, and an image transformation operation is performed to ensure that the image blocks are accurately placed at corresponding positions in the panoramic image.

[0080] S43: Save the transformed image block as a transformed image, and sort all generated transformed images according to the corresponding second region coordinates.

[0081] In this embodiment, each transformed image block is saved to ensure that each transformed image has a clear identifier, so that in the subsequent stitching process, all transformed images are sorted according to the second region coordinates determined in step S31. This can be accomplished by a simple sorting algorithm (including but not limited to quick sorting, merge sorting, etc.) to ensure that the transformed images are stitched into the panoramic image in the correct order.

[0082] Make sure all transformed images are properly saved and managed so that they can be used in the next step of the image fusion process.

[0083] S5: Integrate each transformed image into the panoramic image according to the corresponding second area coordinates, realize the fusion and stitching of the telephoto image in large scene monitoring, and generate a panoramic picture that is both comprehensive and rich in details.

[0084] Specifically, step S5 includes the following steps:

[0085] S51: performing color correction on all transformed images, and constructing a mask in which the transformed images after color correction are fused with the panoramic image.

[0086] In this embodiment, since different images may have differences in lighting conditions, color temperature, etc., it is necessary to perform color correction on each transformed image, which can be achieved through a lookup table, color space conversion, etc.

[0087] A mask is created for each transformed image, and the size of the mask is consistent with the transformed image. The value in the mask can be set according to the size and shape of the overlapping area between the transformed image and the panoramic image. For example, the mask value in the center area of ​​the transformed image is higher, and the mask value in the edge area is lower to ensure that the details in the center area are displayed first.

[0088] Specifically, in step S51, color correction is performed on all transformed images, including correcting the color of the transformed telephoto image to the color of the corresponding area in the panoramic image, wherein the calculation formula for color correction is:

[0089] C=(L1-m1)×(s2 / s1)+m2

[0090] Among them, C is the color corrected image, L1 is the corrected image, m1 and m2 are the color means of the corrected image and the target image, respectively, and s1 and s2 are the color standard deviations of the corrected image and the target image, respectively.

[0091] S52: Use a Gaussian filter to blur the edge of the mask.

[0092] In this embodiment, a Gaussian filter is used to perform edge blurring on the mask to reduce the obvious boundary that may be generated between the transformed image and the panoramic image. The size and standard deviation of the Gaussian filter can be adjusted according to actual needs to achieve an ideal blurring effect.

[0093] By applying a Gaussian filter to the mask, the edges in the mask can be made softer, resulting in a more natural transition effect during the fusion process.

[0094] S53: Use a mask-based weighted fusion method to superimpose the transformed image into the panoramic image to complete the fusion stitching.

[0095] In this embodiment, the transformed image is fused with the corresponding part in the panoramic image according to the weight defined in the mask. Specifically, for each pixel, its final color value is obtained by weighted averaging the color values ​​of the corresponding position in the transformed image and the panoramic image according to the weight in the mask.

[0096] All transformed images are fused into the panoramic image in the above manner, and finally a high-quality panoramic picture is formed that contains both the large scene information of the panoramic image and the local details of the telephoto image.

[0097] The working principle of the distributed online fusion splicing method for cameras in large-scale scene monitoring provided by the present invention is as follows:

[0098] First, the telephoto camera is used to capture local images in the panoramic image, and these images are cropped to determine the areas to be stitched in the panoramic image and their corresponding coordinates. Then, the relative position relationship between the telephoto camera and the panoramic camera, as well as the camera's internal parameters, are used to calculate and determine the exact positions of these areas to be stitched in the panoramic image.

[0099] In order to accurately fuse the telephoto image into the panoramic image, the method calculates a transformation matrix that describes how to transform the area to be stitched in the telephoto image to the corresponding position in the panoramic image. This step is achieved by matching the coordinate point pairs in the telephoto image and the panoramic image and using optimization algorithms such as the least squares method.

[0100] After completing the calculation of the transformation matrix, the method will traverse the areas to be stitched in all telephoto images, perform image cropping and transformation processing, and generate transformed images. These transformed images are then sorted and prepared according to their corresponding positions in the panoramic image for the next step of fusion stitching.

[0101] In the fusion and stitching stage, all transformed images are first color corrected to ensure that they are consistent in color with the corresponding areas in the panoramic image. Subsequently, a fusion mask is constructed for each transformed image, and the mask edge is blurred using a Gaussian filter to reduce the abruptness of the fusion boundary. Finally, the transformed image is superimposed on the panoramic image using a mask-based weighted fusion method to complete the final fusion stitching. This process not only retains the comprehensiveness of the panoramic image, but also enriches the detailed information of the monitoring screen through the detail capture capability of the telephoto camera.

[0102] The present application is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0103] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0104] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

Claims

1. A distributed online fusion and splicing method for cameras in large-scale scene monitoring, characterized in that: A short-focus camera and a plurality of long-focus cameras are configured for capturing a panoramic image, wherein the plurality of long-focus cameras are respectively used to capture local images within the panoramic image, and all the local images are fused into the panoramic image through the stitching method to generate a panoramic picture that is both comprehensive and rich in details; Specifically, the splicing method comprises the following steps: S1: cropping corresponding telephoto images, determining a to-be-joined region of each telephoto image in the panoramic image, and obtaining first region coordinates of the to-be-joined region in each telephoto image; S2: calculating and determining second area coordinates of the area to be stitched in the panoramic image based on the relative position relationship between each telephoto camera and the panoramic camera and the first area coordinates; S3: establishing a coordinate point pair relationship based on the first region coordinates and the second region coordinates, and calculating a transformation matrix based on the coordinate point pair relationship, wherein the transformation matrix is ​​used to represent the transformation of the to-be-stitched region in the telephoto image into the panoramic image; S4: performing image transformation on all the areas to be spliced ​​based on the transformation matrix to obtain multiple transformed images; S5: Integrate each transformed image into the panoramic image according to the corresponding second area coordinates, realize the fusion and stitching of the telephoto image in large scene monitoring, and generate a panoramic picture that is both comprehensive and rich in details.

2. According to claim 1, a camera distributed online fusion and splicing method for large-scale scene monitoring is characterized in that: Step S2 includes the following steps: S21: reading the relative position relationship of each telephoto camera and panoramic camera, wherein the relative position relationship includes the coordinates, orientation and camera intrinsic parameters of each camera in three-dimensional space; S22: establishing a unified coordinate system based on the read coordinates, orientations, and camera internal parameters, where the coordinate system is used to represent the relative positions of each telephoto camera and the panoramic camera; S23: Based on the unified coordinate system, using the internal parameters of the telephoto camera and the relative position of the telephoto camera and the panoramic camera, determining the mapping relationship between the telephoto camera field of view and the panoramic image; S24: Based on the mapping relationship, second region coordinates corresponding to the to-be-joined regions in each telephoto image in the panoramic image are calculated.

3. The method for distributed online fusion and splicing of cameras for large-scale scene monitoring according to claim 2 is characterized in that: Step S3 includes the following steps: S31: matching the first region coordinates of the to-be-joined region of each telephoto image with the second region coordinates in the panoramic image to generate a coordinate point pair relationship, wherein the coordinate point pair relationship includes a one-to-one corresponding coordinate point pair set; S32: Based on the one-to-one corresponding coordinate point pair set, calculate the transformation matrix by the least square method.

4. The method for distributed online fusion and splicing of cameras for large-scale scene monitoring according to claim 3 is characterized in that: In step S3, the calculation formula of the transformation matrix is: Among them, (X, Y) is the coordinate before transformation, (u, v) is the coordinate after transformation, and H is the homography matrix, which is expressed as:

5. The method for distributed online fusion and stitching of cameras for large-scale scene monitoring according to claim 4 is characterized in that: Step S4 includes the following steps: S41: traversing the to-be-joined areas in all telephoto images, and cutting out corresponding image blocks from the telephoto images according to the corresponding first area coordinates; S42: Apply the calculated transformation matrix to each cropped image block; S43: Save the transformed image block as a transformed image, and sort all generated transformed images according to the corresponding second region coordinates.

6. The method for distributed online fusion and stitching of cameras for large-scale scene monitoring according to claim 5 is characterized in that: Step S5 includes the following steps: S51: performing color correction on all transformed images, and constructing a mask in which the transformed images after color correction are fused with the panoramic image; S52: Use Gaussian filter to blur the edge of mask; S53: Use a mask-based weighted fusion method to superimpose the transformed image into the panoramic image to complete the fusion stitching.

7. The method for distributed online fusion and stitching of cameras for large-scale scene monitoring according to claim 6 is characterized in that: In step S51, color correction is performed on all transformed images, including correcting the color of the transformed telephoto image to the color of the corresponding area in the panoramic image, wherein the calculation formula for color correction is: C=(L1-m1)×(s2 / s1)+m2 Among them, C is the color corrected image, L1 is the corrected image, m1 and m2 are the color means of the corrected image and the target image, respectively, and s1 and s2 are the color standard deviations of the corrected image and the target image, respectively.

Citation Information

Patent Citations

  • Panoramic video rapid splicing method and system

    CN110782394A

  • Camera control method and device and computer readable storage medium

    CN112956182A

  • Multi-view splicing method and system applied to large-view-field monitoring scene

    CN118247142A

  • Image fusion method and apparatus, storage medium, and terminal

    US20220327674A1

  • Camera control method, device, and computer readable storage medium

    WO2021138856A1

Cited By

  • Method for quickly searching linkage monitoring camera in panoramic video

    CN120881219A

  • A method for fast finding a linked surveillance camera within a panoramic video

    CN120881219B