Image processing method and apparatus, device, and storage medium

By constructing an undirected graph in the SLAM device and using the color propagation coefficient to process image color, the problem of uneven coloring of 3D models under multi-camera shooting was solved, achieving consistency in image color and brightness, and improving the visual effect of 3D reconstruction.

WO2026242475A1PCT designated stage Publication Date: 2026-11-26REALSEE (BEIJING) TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2026/072029
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-23
Filing Date
2026-01-12
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

In SLAM devices, differences in white balance and exposure among multiple cameras can lead to inconsistent coloring effects in the stitched 3D model, resulting in uneven color and brightness.

Method used

By projecting images from an image sequence onto the panoramic camera space, an undirected graph is constructed. The color propagation coefficient is determined using the co-view relationship, and image color processing is performed based on the color values ​​of the target nodes to adjust the color values ​​of the images to achieve consistency.

Benefits of technology

It achieves consistency in image color and brightness under different camera shooting angles and content, improves the visual coherence and realism of 3D point clouds and models, and avoids the problem of large differences in color values.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2026072029_26112026_PF_FP_ABST
    Figure CN2026072029_26112026_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present disclosure are an image processing method and apparatus, a device, and a storage medium. The method comprises: projecting each image in an image sequence into a panoramic camera space, determining co-visibility relationships between images in the image sequence, and constructing an undirected graph; and with a color value of a target node serving as a reference color value, using the undirected graph to determine color propagation coefficients corresponding to other nodes, and using the color propagation coefficients to perform image color processing on images represented by the nodes, such that color values of the nodes in the undirected graph tend to be consistent. Thus, when images captured at the same moment exhibit inconsistencies in color and brightness due to different camera photographic angles and captured content, color value processing can be performed on the images, such that the images having co-visibility relationships have similar color values, which is conducive to improving the visual continuity and fidelity of color values of a point cloud or a three-dimensional model.
Need to check novelty before this filing date? Find Prior Art

Description

Image processing methods, apparatus, devices and storage media

[0001] This disclosure claims priority to Chinese Patent Application No. CN202510678169.0, filed on May 23, 2025, entitled "Image Processing Method, Apparatus, Device and Storage Medium", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This disclosure relates to three-dimensional reconstruction technology, image processing technology, and in particular an image processing method, apparatus, device, and storage medium. Background Technology

[0003] Simultaneous Localization and Mapping (SLAM) devices typically include a lidar unit and a camera. The lidar unit performs laser scanning of the surrounding environment to acquire 3D spatial information and generate a corresponding point cloud. The camera unit acquires images of the surrounding environment so that the color values ​​of each point in the point cloud can be used to color the point cloud generated by the lidar or the 3D model obtained from the 3D reconstruction.

[0004] In the image acquisition process of 3D reconstruction, due to the limited field of view of a single camera, SLAM equipment typically uses multiple cameras to acquire images in order to obtain a wider range of visual information. The images acquired by the multiple cameras are then stitched together to obtain a complete view. However, because different cameras have different shooting angles and capture different content at the same shooting moment, their white balance and exposure vary, resulting in inconsistent colors and brightness in different areas of the stitched complete view. This leads to poor color rendering of point clouds or 3D models. Summary of the Invention

[0005] To address the aforementioned technical problems, embodiments of this disclosure provide an image processing method, apparatus, device, and storage medium.

[0006] One aspect of this disclosure provides an image processing method, including:

[0007] Based on the camera intrinsic parameters of at least one of the multiple cameras, corresponding images in the image sequence are projected onto the panoramic camera space and the co-view relationship between the images in the image sequence is determined. The image sequence includes images acquired by the multiple cameras at the same image acquisition time. The panoramic camera space is the three-dimensional space corresponding to the panoramic camera model used to acquire panoramic images of the target scene. Images with co-view relationships have an intersection within the image acquisition range corresponding to them in the panoramic camera space.

[0008] An undirected graph corresponding to the image sequence is constructed using the images as nodes and the co-visibility relationships between the images as edges.

[0009] Using the color value of the target node as the reference color value, at least one color propagation coefficient corresponding to a node is determined through the undirected graph, and the image color processing of the image represented by the corresponding node is performed using the color propagation coefficient. The color propagation coefficient is used to characterize the degree of adjustment required to adjust the color value of the image to the reference color value. The color value includes at least one of chromaticity value and luminance value.

[0010] Optionally, the step of using the color value of the target node as a reference color value, determining the color propagation coefficient corresponding to at least one node through the undirected graph, and using the color propagation coefficient to perform image color processing on the image represented by the corresponding node includes:

[0011] Using the target node as the starting point for color propagation, the color propagation coefficients of the nodes connected to the target node in the undirected graph are determined, and image color processing is performed on the images represented by the nodes connected to the target node.

[0012] Mark the target node and the node that has completed image color processing as propagated nodes;

[0013] Determine the color propagation coefficients of the nodes connected to the propagated nodes in the undirected graph, and perform image color processing on the images represented by the nodes connected to the propagated nodes until the nodes in the undirected graph are marked as propagated nodes.

[0014] Optionally, determining the color propagation coefficients of nodes connected to the propagated nodes in the undirected graph, and performing image color processing on the image represented by the nodes connected to the propagated nodes, includes:

[0015] Identify the unpropagated nodes in the undirected graph that are connected to the propagated nodes;

[0016] For at least one propagated node, the color propagation coefficient of the unpropagated node connected to the propagated node is determined based on the first color value of the propagated node and the second color value of the unpropagated node connected to the propagated node.

[0017] Based on the color propagation coefficient of the unpropagated node connected to the propagated node, image color processing is performed on the image represented by the unpropagated node connected to the propagated node, wherein the color value of the unpropagated node after image color processing is the product of the second color value and the color propagation coefficient.

[0018] Optionally, determining the color propagation coefficient of the unpropagated node connected to the propagated node based on the first color value of the propagated node and the second color value of the unpropagated node connected to the propagated node includes:

[0019] In response to the ratio of the first color value to the second color value being less than or equal to a coefficient threshold, the ratio of the first color value to the second color value is determined as the color propagation coefficient;

[0020] In response to the ratio of the first color value to the second color value being greater than the coefficient threshold, the color propagation coefficient is determined based on the coefficient compression curve, wherein the coefficient compression curve is a logarithmic curve with the ratio of the first color value to the second color value as the independent variable.

[0021] Optionally, before determining the color propagation coefficient corresponding to at least one node through the undirected graph using the color value of the target node as the reference color value, and performing image color processing on the image represented by the corresponding node using the color propagation coefficient, the method further includes:

[0022] Based on preset filtering conditions, target nodes are determined from the undirected graph, wherein the preset filtering conditions include at least one of the following:

[0023] The image color variance is minimized, where the image color variance is the variance of the color values ​​of the pixels in the image represented by the node.

[0024] The color temporal change value of the corresponding camera is the smallest. The color temporal change value is used to characterize the amount of change in the average color value of the image captured by the same camera at different image acquisition times. The average color value is the average value of the color values ​​of the pixels in the image.

[0025] The node with the minimum distance value is defined as the sum of the differences between the node's average color value and that of other nodes in the undirected graph.

[0026] Optionally, before determining the color propagation coefficient corresponding to at least one node through the undirected graph using the color value of the target node as the reference color value, and performing image color processing on the image represented by the corresponding node using the color propagation coefficient, the method further includes:

[0027] For each edge connecting two nodes, the common viewing region of the two nodes is determined by image feature matching. The common viewing region is the region with the same image content in the image that has a common viewing relationship.

[0028] The average color value of the pixels within the common viewing area of ​​each node is determined as the color value of that node.

[0029] Optionally, before determining the average color value of the pixels within the common viewing area of ​​each node as the color value of that node, the method further includes:

[0030] A matching block of at least one pixel is determined based on a preset matching block size. The matching block is an image region centered on the pixel and with a size equal to the preset matching block size.

[0031] The average color value of the pixels within the matching block is determined as the color value of the center pixel of the matching block.

[0032] Another aspect of this disclosure provides an image processing apparatus, comprising:

[0033] The first determining module is used to project corresponding images in an image sequence onto a panoramic camera space based on the camera intrinsic parameters of at least one of the multiple cameras and to determine the co-view relationship between the images in the image sequence. The image sequence includes images acquired by the multiple cameras at the same image acquisition time. The panoramic camera space is a three-dimensional space corresponding to a panoramic camera model used for panoramic image acquisition of a target scene. Images with co-view relationships have an intersection within the corresponding image acquisition range in the panoramic camera space.

[0034] The construction module is used to construct an undirected graph corresponding to the image sequence, using the images as nodes and the co-view relationships between the images as edges.

[0035] The processing module is used to determine the color propagation coefficient corresponding to at least one node through the undirected graph, based on the color value of the target node as the reference color value, and to perform image color processing on the image represented by the corresponding node using the color propagation coefficient. The color propagation coefficient is used to characterize the degree of adjustment required to adjust the color value of the image to the reference color value. The color value includes at least one of chromaticity value and luminance value.

[0036] In another aspect of this disclosure, an electronic device is provided, comprising:

[0037] Memory, used to store computer programs;

[0038] A processor is configured to execute a computer program stored in the memory, wherein, when the computer program is executed, it implements the methods described above.

[0039] In another aspect of this disclosure, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the methods described above.

[0040] In another aspect of this disclosure, a computer program is provided, including computer program instructions that, when executed by a processor, implement the method described above.

[0041] Based on the embodiments of this disclosure, by projecting each image in the image sequence onto the panoramic camera space, the co-viewing relationship between the images in the image sequence is determined and an undirected graph is constructed accordingly. Using the color value of the target node as the reference color value, color value propagation is performed using the undirected graph to determine the color propagation coefficients corresponding to other nodes. The color propagation coefficients are then used to process the image color of the corresponding node, making the color values ​​of each node in the undirected graph tend to be consistent. This allows for color value processing of images even when the colors and brightness of images acquired at the same time are inconsistent due to different camera shooting angles and shooting content. This makes the color values ​​of images with co-viewing relationships similar, solving the problems of uneven coloring and poor preview effects in 3D point clouds or 3D models. It also avoids the problem of large differences in point color values ​​within the same point cloud area or 3D model area, helping to improve the visual coherence and realism of the color values ​​of point clouds or 3D models.

[0042] The technical solutions of this disclosure will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description

[0043] The accompanying drawings, which form part of this specification, illustrate embodiments of this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0044] Figure 1 is a flowchart of an embodiment of the image processing method of this disclosure;

[0045] Figure 2 is an exemplary effect diagram of projecting an image onto the panoramic camera space in an embodiment of this disclosure;

[0046] Figure 3 is an exemplary schematic diagram of an undirected graph provided in an embodiment of this disclosure;

[0047] Figure 4 is a flowchart of another embodiment of the image processing method of this disclosure;

[0048] Figure 5 is a flowchart of another embodiment of the image processing method of this disclosure;

[0049] Figure 6 is a schematic diagram of the structure of an embodiment of the image processing apparatus of this disclosure;

[0050] Figure 7 is a schematic diagram of another embodiment of the image processing apparatus of this disclosure;

[0051] Figure 8 is a schematic diagram of an application embodiment of the electronic device disclosed herein. Detailed Implementation

[0052] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values ​​of the components and steps set forth in these embodiments do not limit the scope of the present disclosure.

[0053] Those skilled in the art will understand that the terms "first," "second," etc., in the embodiments of this disclosure are only used to distinguish different steps, devices, or modules, and do not represent any specific technical meaning, nor do they indicate a necessary logical order between them.

[0054] It should also be understood that in the embodiments disclosed herein, "a plurality of" may refer to two or more, and "at least one" may refer to one, two or more.

[0055] It should also be understood that any component, data or structure mentioned in the embodiments of this disclosure can generally be understood as one or more unless expressly defined or given to the contrary in the context.

[0056] Furthermore, the term "and / or" in this disclosure is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this disclosure generally indicates that the preceding and following related objects have an "or" relationship.

[0057] It should also be understood that the description of the various embodiments in this disclosure emphasizes the differences between the various embodiments, and the similarities or similarities can be referred to each other. For the sake of brevity, they will not be described in detail.

[0058] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit this disclosure or its application or use.

[0059] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.

[0060] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.

[0061] This disclosure can be applied to electronic devices such as SLAM devices, terminal devices, computer systems, and servers, and can operate with a wide range of other general-purpose or special-purpose computing system environments or configurations. Examples of well-known terminal devices, computing systems, environments, and / or configurations suitable for use with electronic devices such as SLAM devices, terminal devices, computer systems, and servers include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computer systems, and distributed cloud computing environments including any of the above systems, etc.

[0062] Electronic devices such as SLAM devices, terminal devices, computer systems, and servers can be described in the general context of computer-executable instructions (such as program modules) executed by a computer system. Typically, program modules can include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. Computer systems / servers can be implemented in distributed cloud computing environments, where tasks are executed by remote processing devices linked through communication networks. In distributed cloud computing environments, program modules can reside on local or remote computing system storage media, including storage devices.

[0063] Figure 1 is a flowchart of an image processing method provided in an exemplary embodiment of this disclosure. The image processing method of this disclosure can be implemented by an electronic device with image processing capabilities. This electronic device may include, but is not limited to, SLAM devices, smartphones, laptops, desktop computers, etc. This disclosure uses a SLAM device as an example for illustration.

[0064] As shown in Figure 1, the method includes the following steps:

[0065] Step 101: Based on the camera intrinsic parameters of at least one of the multiple cameras, project the corresponding images in the image sequence to the panoramic camera space and determine the co-view relationship between the images in the image sequence.

[0066] The image sequence includes images captured by multiple cameras at the same acquisition time. The panoramic camera space is the 3D space corresponding to the panoramic camera model used for panoramic image acquisition of the target scene (i.e., the scene that needs to be reconstructed in 3D). The target scene is the scene that needs to be reconstructed in 3D. Images with a common viewing relationship have overlapping image acquisition ranges in the panoramic camera space. Figure 2 shows an exemplary effect of projecting images captured by 6 cameras onto the panoramic camera space.

[0067] In one possible implementation, the image sequence is obtained by multiple cameras in a SLAM device capturing images of the target scanning scene at the same time. To avoid missing information, adjacent cameras typically have similar shooting angles, resulting in overlapping content in two or more adjacent images. For example, the left half of the first image and the right half of the second image might capture the same area of ​​the target scanning scene. As the SLAM device moves, its LiDAR performs laser scanning on the target scanning scene and generates corresponding point clouds to obtain three-dimensional spatial information. By projecting each image in the image sequence onto the panoramic camera space, it is possible to determine whether there is content overlap between the images, i.e., whether there is a shared view relationship.

[0068] Optionally, the co-viewing relationship between images can be determined by calculating the point cloud coordinate range corresponding to each image. Images with overlapping point cloud coordinate ranges have a co-viewing relationship. The point cloud coordinate range corresponding to an image is the coordinate range of the point cloud projected onto that image in the world coordinate system. The point cloud coordinate range of an image can be calculated using parameters such as the coordinates of each point in the point cloud in the world coordinate system, camera pose, LiDAR-camera extrinsic parameters, and camera intrinsic parameters. Specific calculation methods can be found in relevant technologies and are not detailed here. The camera pose characterizes the position and attitude of the camera in the world coordinate system, and the LiDAR-camera extrinsic parameters, i.e., the extrinsic parameters of the LiDAR relative to the camera, characterize the relative position and attitude of the LiDAR relative to the camera in the world coordinate system. The co-viewing relationship between images in an image sequence is determined based on whether there is an intersection between the point cloud coordinate ranges corresponding to the images. For example, two images with an intersection point cloud size larger than a preset point cloud size can be identified as a pair of images with a co-viewing relationship.

[0069] In an optional example, step 101 can be executed by the processor calling the corresponding instruction stored in memory, or by the first determining module 601 run by the processor.

[0070] Step 102: Construct an undirected graph corresponding to the image sequence, using images as nodes and the common-view relationships between images as edges.

[0071] In this undirected graph, each edge connects nodes corresponding to two images that share a common view relationship. Optionally, if there exists an independent node, that is, a node that is not connected to any other node by any edge, then that node can be removed from the undirected graph. The image corresponding to that node does not share a common view with any other image, so there is no need to adjust the color value. The resulting undirected graph then has nodes connected to at least one of the other nodes.

[0072] Schematic, Figure 3 shows an exemplary undirected graph. As shown in Figure 3, in this undirected graph, the image represented by node 1 has a shared view relationship with the images represented by nodes 0, 2, 3, and 4. The image represented by node 5 has a shared view relationship only with the image represented by node 4, and the image represented by node 6 has a shared view relationship only with the image represented by node 3.

[0073] In an optional example, step 102 can be executed by the processor calling the corresponding instruction stored in memory, or by the building module 602 run by the processor.

[0074] Step 103: Using the color value of the target node as the base color value, determine the color propagation coefficient corresponding to at least one node through the undirected graph, and use the color propagation coefficient corresponding to at least one node to perform image color processing on the image represented by the corresponding node.

[0075] The color value can include at least one of the chromaticity value and the luminance value. That is, the color value can be a chromaticity value, a luminance value, or a vector composed of chromaticity value and luminance value.

[0076] Optionally, color values ​​can be YCrCb values ​​(also known as YUV values), where Y is the luminance value and U and V are chromaticity values ​​used to describe hue and saturation.

[0077] In this embodiment of the disclosure, the target node can be any one or more nodes in the undirected graph, or it can be one or more nodes selected from the nodes in the undirected graph based on preset filtering conditions. For example, the target node can be the node corresponding to the image taken by the camera with the smallest color value difference in the time series, that is, the node with the highest reliability of color value. This embodiment of the disclosure does not limit the method of determining the target node.

[0078] In this embodiment, the color propagation coefficient is used to characterize the degree of adjustment required to adjust the color values ​​of an image to a reference color value. For example, if the color propagation coefficient corresponding to node A is 0.8, the target color value of the image represented by node A can be calculated by multiplying the original color value of the image represented by node A by the color propagation coefficient 0.8. Based on this target color value, the image data of the image represented by node A is modified to obtain the image after color processing. Since the color propagation coefficient characterizes the degree of adjustment required to adjust the color values ​​of an image to a reference color value, image color processing based on the color propagation coefficient converts the color values ​​of the images represented by each node into the color values ​​corresponding to the target node, making the color values ​​of the images corresponding to each node in the undirected graph consistent.

[0079] In an optional example, step 103 can be executed by the processor calling the corresponding instruction stored in memory, or by the processing module 603 run by the processor.

[0080] Based on the embodiments of this disclosure, by projecting each image in the image sequence onto the panoramic camera space, the co-viewing relationship between the images in the image sequence is determined and an undirected graph is constructed accordingly. Using the color value of the target node as the reference color value, color value propagation is performed using the undirected graph to determine the color propagation coefficients corresponding to other nodes. The color propagation coefficients are then used to process the image color of the corresponding node, making the color values ​​of each node in the undirected graph tend to be consistent. This allows for color value processing of images even when the colors and brightness of images acquired at the same time are inconsistent due to different camera shooting angles and shooting content. This makes the color values ​​of images with co-viewing relationships similar, solving the problems of uneven coloring and poor preview effects in 3D point clouds or 3D models. It also avoids the problem of large differences in point color values ​​within the same point cloud area or 3D model area, helping to improve the visual coherence and realism of the color values ​​of point clouds or 3D models.

[0081] In one possible implementation, when determining the color propagation coefficient of at least one node, the structure of an undirected graph can be utilized to continuously propagate the color value of the target node, starting from the target node. As shown in Figure 4, step 103 above may include the following steps:

[0082] Step 103a: Using the target node as the starting point for color propagation, determine the color propagation coefficients of the nodes connected to the target node in the undirected graph, and perform image color processing on the images represented by the nodes connected to the target node.

[0083] Optionally, after selecting the target node, a first color value propagation is performed. First, the nodes connected to the target node are determined. Then, based on the reference color value and the color value of the node connected to the target node, the color propagation coefficient corresponding to the node connected to the target node is determined, and image color processing is performed on the image represented by the node connected to the target node.

[0084] As illustrated in Figure 3, with node 1 as the target node, the first color value propagation calculates the color propagation coefficients and performs image color processing on nodes 0, 2, 3, and 4.

[0085] Step 103b: Mark the target node and the node that has completed image color processing as propagated nodes.

[0086] After the first and subsequent color value propagation is completed, the target node and the node that has completed image color processing are marked as propagated nodes, and the remaining nodes in the undirected graph are unpropagated nodes. As in the example in step 103a, nodes 1, 0, 2, 3, and 4 are propagated nodes, and nodes 5 and 6 are unpropagated nodes.

[0087] Step 103c: Based on the structure of the undirected graph, determine the color propagation coefficient of the nodes connected to the propagated nodes in the undirected graph, and perform image color processing on the images corresponding to the nodes connected to the propagated nodes until the nodes in the undirected graph are marked as propagated nodes.

[0088] After the first color value propagation based on the target node, the color propagation coefficients of nodes connected to the propagated nodes can be determined using the target node and other propagated nodes, and image color processing can be performed. Then, the node is updated as a propagated node, and the iteration continues until at least a preset number of nodes in the undirected graph are marked as propagated nodes. For example, the iteration stops when a preset number or a preset proportion of nodes in the undirected graph are marked as propagated nodes, or when all nodes in the undirected graph that have a common view relationship are marked as propagated nodes.

[0089] In one possible implementation, the color propagation coefficient can be calculated based on the color value of the propagated node and the color value of the unpropagated node connected to the propagated node. Accordingly, step 103c may include the following steps:

[0090] Step 1: Based on the structure of the undirected graph, determine the unpropagated nodes that are connected to the propagated nodes in the undirected graph.

[0091] As illustrated in the example in step 103a, the undirected graph also includes an unpropagated node 5 connected to the propagated node 4, and an unpropagated node 6 connected to the propagated node 3.

[0092] Step 2: For at least one propagated node, determine the color propagation coefficient of the unpropagated node connected to the propagated node based on the first color value of the propagated node and the second color value of the unpropagated node connected to the propagated node.

[0093] In one possible implementation, the color propagation coefficient of a non-propagated node connected to a propagated node can be determined based on the ratio of a first color value to a second color value. Specifically, the color propagation coefficients of the Y, U, and V channels can be determined based on the ratios of the Y, U, and V channels in the first and second color values, respectively. Illustratively, taking luminance Y as an example, when node A is a propagated node, the color propagation coefficient ω corresponding to node B can be calculated based on the luminance Ya of node A and the luminance Yb ​​of node B connected to node A. y =Ya / Yb, where ω y A floating-point number greater than or equal to 0. The color propagation coefficient ω based on node B. y Image color processing is performed by propagating the brightness of node A to node B. The image color processing process can be represented by the following equation (1): Yb'=ω y·Yb formula (1)

[0094] Where Yb' is the color value of node B after image color processing.

[0095] In another possible implementation, to avoid the color values ​​of the image represented by the nodes after image color processing exceeding a preset color value range (e.g., brightness exceeding 255) when the color propagation coefficient is large, this disclosure provides a color value compression curve, which can be used to calculate the color propagation coefficient corresponding to the unpropagated nodes. Specifically, in response to the ratio of the first color value to the second color value being less than or equal to a preset coefficient threshold (e.g., 0.5), the ratio of the first color value to the second color value is determined as the color propagation coefficient; in response to the ratio of the first color value to the second color value being greater than the coefficient threshold, the color propagation coefficient is determined based on the coefficient compression curve, wherein the coefficient compression curve is a logarithmic curve with the ratio of the first color value to the second color value as the independent variable.

[0096] To illustrate, taking brightness value as an example, the expression for the coefficient compression curve is shown in equation (2) below: ω y =Ya / Yb, 0<ω y <k

[0097] Where k is the coefficient threshold, and the value of k is greater than 0 and less than 1. The specific value can be configured according to actual needs and can be updated as needed.

[0098] Using the color propagation coefficient calculated from the above coefficient compression curve for image color processing can make the image brightness more uniform while preventing overexposure.

[0099] Step 3: Based on the color propagation coefficient of the unpropagated node connected to the propagated node, perform image color processing on the image of the unpropagated node connected to the propagated node. After image color processing, the color value of the unpropagated node is the product of the second color value and the color propagation coefficient.

[0100] In one possible implementation, to further optimize the point cloud coloring effect, the image with the best color effect can be selected as the target node, i.e., as the color propagation reference. Accordingly, prior to step 103 above, the image processing method may further include the following steps:

[0101] Based on preset filtering criteria, target nodes are determined from an undirected graph. These preset filtering criteria may include at least one of the following:

[0102] A. The image color variance is minimized, where the image color variance is the variance of the color values ​​of the pixels in the image corresponding to the node;

[0103] B. The corresponding camera has the smallest color temporal change value. The color temporal change value is used to characterize the change in the average color value of the image acquired by the same camera at different image acquisition times. The average color value is the average color value of the pixels in the image.

[0104] C. The node distance value is the minimum, where the node distance value is the sum of the differences between the node and the average color values ​​of other nodes in the undirected graph.

[0105] The color values ​​can be selected from the red, green, and blue (RGB) color channels. Using preset filter condition A, images with relatively uniform color values ​​can be selected. These images, due to their even color distribution and minimal variation, avoid camera overexposure caused by sudden color changes, resulting in more reliable color values. Using preset filter condition B, images with minimal differences in the acquisition environment and stable camera parameters can be selected. Using preset filter condition C, images with the smallest total color difference from other nodes can be selected, minimizing the degree of color value variation in the image.

[0106] In an optional example, the operation of determining the target node from the undirected graph based on preset filtering conditions can be executed by the processor calling the corresponding instructions stored in memory, or by the filtering module run by the processor.

[0107] In one possible implementation, since this embodiment optimizes the color differences of different images in the shared viewing area and determines the degree of color value adjustment, for a pair of nodes with a shared viewing relationship, the average color value of the pixels in the shared viewing area of ​​the corresponding images can be determined as the color value of that image (node). As shown in Figure 5, before step 103 above, the image processing method may further include the following steps:

[0108] Step 501: For each edge connecting two nodes, determine the common viewing area of ​​the two nodes by image feature matching.

[0109] Among them, the co-viewing region is the region with the same image content in images that have a co-viewing relationship.

[0110] Optionally, for each pair of images with a shared viewing relationship (i.e., the two nodes connected by each edge), the shared viewing region of the pair of images can be determined through feature matching. This region represents the corresponding area of ​​overlapping image content in the two images. Feature matching can be implemented using recognition models or boundary feature matching methods, etc. Specific implementation details can be found in relevant technologies and will not be elaborated here. It's important to note that for the same image, the shared viewing region with different images may be located in different positions within the same image. For example, the shared viewing region of image a with image b may be located in the left half of image a, while the shared viewing region of image a with image c may be located in the right half of image a.

[0111] In an optional example, step 501 can be executed by the processor calling the corresponding instruction stored in memory, or by the second determining module 701 run by the processor.

[0112] Step 502: Determine the average color value of the pixels within the common viewing area of ​​each node as the color value of that node.

[0113] Optionally, for two nodes in a shared viewing relationship, their respective average color values ​​can be determined directly by the average color value of the pixels within the shared viewing area. The average color value is the ratio of the sum of the color values ​​of the pixels within the shared viewing area to the number of pixels.

[0114] Optionally, considering the color value error and robustness of individual pixels, a local window, i.e., a matching block, can be used to determine the color value of a pixel, thereby improving the accuracy of the image color value and gain coefficient. Therefore, before step 502, this embodiment of the disclosure may further include the following steps:

[0115] Based on a preset matching block size, a matching block of at least one pixel is determined. In an optional example, this step can be executed by the processor calling the corresponding instruction stored in memory, or by the fourth determining module run by the processor. The average color value of the pixels within the matching block is determined as the color value of the center pixel of the matching block. In an optional example, this step can be executed by the processor calling the corresponding instruction stored in memory, or by the fifth determining module run by the processor.

[0116] Among them, the matching block is an image region centered on a pixel and with a size that is a preset matching block size.

[0117] The size of the preset matching block can be configured according to specific needs and can be updated as needed. The specific value of the preset size or the preset matching block size in this embodiment is not limited. For example, if the preset matching block size is 3*3, where "3" represents 3 pixels, then for any pixel in the common viewing area, the pixel and its surrounding 8 pixels are determined as the matching block corresponding to the pixel, and the average of the actual color values ​​of the 9 pixels in the matching block is determined as the color value of the pixel.

[0118] Therefore, based on step 502, the color value of the pixel participating in the image color value calculation is the average of the actual color values ​​of the pixels in the corresponding matching block.

[0119] In an optional example, step 502 can be executed by the processor calling the corresponding instructions stored in memory, or it can be executed by the third determining module 702 run by the processor. In one possible implementation, to further improve the accuracy of the node's color values ​​and avoid interference from special pixels, step 502 may include the following steps:

[0120] Step 502a: Use the interquartile range (IQR) method to determine the first pixel point within the common viewing area.

[0121] The first pixel includes pixels whose pixel color difference is greater than the upper quartile. The pixel color difference is the difference in color values ​​of a co-viewing pixel pair. A co-viewing pixel pair refers to a pair of pixels in the corresponding image that are the same point in the intersection of point clouds.

[0122] In this embodiment, the quartile is defined as follows: the pixel color difference of all common-view pixel pairs within the common-view area is arranged in ascending order and divided into four equal parts. The pixel color difference at the three dividing points includes the first quartile (i.e., the pixel color difference at the lower quartile or 25th quartile), the second quartile (i.e., the pixel color difference at the median), and the third quartile (i.e., the pixel color difference at the upper quartile or 75th quartile). Pixels with a pixel color difference greater than the upper quartile are defined as the first pixel.

[0123] Next, proceed to step 502c.

[0124] Step 502b: Perform object recognition on the image. In response to the existence of a target object belonging to a preset object type, determine the second pixel point corresponding to the target object.

[0125] The preset object type can include, but is not limited to, object types with low reliability of color values ​​such as glass, mirrors, screens, and transient objects. The target object is the object in the image that belongs to the preset object type. Optionally, in one possible implementation, the image corresponding to each node can be input into a pre-trained object recognition model, and the object recognition model outputs the various object types contained in the image and the image regions corresponding to each object type. The pixels in the image region corresponding to the preset object type are determined as the second pixel. The object recognition model can be a deep learning model, such as a neural network (NN) model, and this disclosure does not limit this.

[0126] It should be noted that there is no strict order of execution for steps 502a and 502b; they can be executed simultaneously or in any order.

[0127] Step 502c: Remove the first and second pixels within the shared viewing area to obtain the target pixels within the shared viewing area.

[0128] Step 502d: Determine the average color value of the target pixel as the color value of the node.

[0129] Removing the first pixel reduces interference from abnormal pixels in image acquisition on color value calculation, while removing the second pixel avoids interference from pixels with low color value reliability. Obtaining the color value corresponding to a node based on the average color values ​​of the retained target pixels improves the reliability of the node's color value, thereby increasing the accuracy of subsequent gain coefficient calculation.

[0130] Based on the embodiments of this disclosure, the color value of a pixel is determined by using a matching block, and pixels with large differences in color values ​​and low reliability of color values ​​in the common viewing area are filtered out. Then, the image color value corresponding to the node is determined based on the average color value of the pixels in the common viewing area. This can reduce the impact of errors on the color value of the node, improve robustness, and thus improve the reliability of the color propagation coefficient.

[0131] Any of the image processing methods provided in this disclosure can be executed by any suitable device with data processing capabilities, including but not limited to: terminal devices and servers. Alternatively, any of the image processing methods provided in this disclosure can be executed by a processor, such as by a processor executing any of the image processing methods mentioned in this disclosure by calling corresponding instructions stored in memory. Further details will not be elaborated below.

[0132] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as ROM, RAM, magnetic disk, or optical disk.

[0133] Figure 6 shows a structural block diagram of an image processing apparatus provided in an exemplary embodiment of the present disclosure. The image processing apparatus of this embodiment can be used to implement the image processing method of the above embodiments. As shown in Figure 6, the image processing apparatus includes:

[0134] The first determining module 601 is used to project corresponding images in an image sequence to a panoramic camera space based on the camera intrinsic parameters of at least one of the multiple cameras and to determine the co-view relationship between the images in the image sequence. The image sequence includes images acquired by the multiple cameras at the same image acquisition time. The panoramic camera space is the three-dimensional space corresponding to the panoramic camera model used to acquire panoramic images of the target scene. Images with co-view relationships have an intersection within the corresponding image acquisition range in the panoramic camera space.

[0135] Construction module 602 is used to construct an undirected graph corresponding to the image sequence, with images as nodes and the co-visibility relationship between images determined by the first determining module 601 as edges;

[0136] The processing module 603 is used to determine the color propagation coefficient corresponding to at least one node through the undirected graph constructed by the construction module 602, based on the color value of the target node as the reference color value, and to perform image color processing on the image represented by the corresponding node using the color propagation coefficient. The color propagation coefficient is used to characterize the degree of adjustment required to adjust the color value of the image to the reference color value, wherein the color value includes at least one of chromaticity value and luminance value.

[0137] Optionally, in one possible implementation, the processing module 603 is specifically used for:

[0138] Using the target node as the starting point for color propagation, determine the color propagation coefficient of the nodes connected to the target node in the undirected graph, and perform image color processing on the images corresponding to the nodes connected to the target node.

[0139] Mark the target node and the node that has completed image color processing as propagated nodes;

[0140] Determine the color propagation coefficients of nodes connected to propagated nodes in the undirected graph, and perform image color processing on the images represented by the nodes connected to propagated nodes until the nodes in the undirected graph are marked as propagated nodes.

[0141] Optionally, in one possible implementation, the processing module 603 is specifically used for:

[0142] Identify the unpropagated nodes in an undirected graph that are connected to already propagated nodes;

[0143] For at least one propagated node, the color propagation coefficient of the unpropagated node connected to the propagated node is determined based on the first color value of the propagated node and the second color value of the unpropagated node connected to the propagated node.

[0144] Based on the color propagation coefficient of the unpropagated nodes connected to the propagated nodes, image color processing is performed on the image represented by the unpropagated nodes connected to the propagated nodes. After image color processing, the color value of the unpropagated nodes is the product of the second color value and the color propagation coefficient.

[0145] Optionally, in one possible implementation, the processing module 603 described above can specifically be used for:

[0146] When the ratio of the first color value to the second color value is less than or equal to the coefficient threshold, the ratio of the first color value to the second color value is determined as the color propagation coefficient.

[0147] In response to the ratio of the first color value to the second color value being greater than the coefficient threshold, the color propagation coefficient is determined based on the coefficient compression curve, where the coefficient compression curve is a logarithmic curve with the ratio of the first color value to the second color value as the independent variable.

[0148] Optionally, in one possible implementation, the image processing apparatus may further include (not shown in the figures):

[0149] A filtering module is used to determine target nodes from an undirected graph based on preset filtering conditions, which may include at least one of the following:

[0150] The image color variance is minimized, which is the variance of the color values ​​of the pixels in the image corresponding to the node.

[0151] The color temporal variation value corresponding to the camera is the smallest. This color temporal variation value is used to characterize the amount of change in the average color value of the image captured by the same camera at different image acquisition times. The average color value is the average color value of the pixels in the image.

[0152] The node with the smallest distance value is the sum of the differences between the node and the average color values ​​of all other nodes in the undirected graph.

[0153] Optionally, in another embodiment, as shown in FIG7, the image processing apparatus may further include:

[0154] The second determining module 701 is used to determine the common viewing region of two nodes connected by each edge by image feature matching. The common viewing region is the region with the same image content in the image with the common viewing relationship.

[0155] The third determining module 702 is used to determine the average color value of the pixels in the common viewing area of ​​each node as the color value of that node.

[0156] Optionally, in one possible implementation, the image processing apparatus may further include (not shown in the figures):

[0157] The fourth determining module is used to determine a matching block of at least one pixel based on a preset matching block size. The matching block is an image region centered on the pixel and with a size equal to the preset matching block size.

[0158] The fifth determining module is used to determine the average color value of the pixels within the matching block as the color value of the center pixel of the matching block.

[0159] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. The same, similar, or corresponding parts between the embodiments can be referred to, combined with, or cited from each other. Since the method and apparatus embodiments are basically corresponding, relevant parts can be referred to in the corresponding descriptions. The methods and apparatuses of the embodiments in this disclosure also correspond to each other in specific implementation and beneficial technical effects; related content can be referred to in conjunction with each other and will not be repeated here.

[0160] In addition, this disclosure also provides an electronic device, including:

[0161] Memory, used to store computer programs;

[0162] A processor is configured to execute a computer program stored in the memory, wherein when the computer program is executed, it implements the image processing method described in any of the above embodiments of the present disclosure.

[0163] Figure 8 is a schematic diagram of an application embodiment of the electronic device of this disclosure. The electronic device according to an embodiment of this disclosure will now be described with reference to Figure 8. The electronic device may be either or both of a first device and a second device, or a standalone device independent of them, which may communicate with the first and second devices to receive acquired input signals from them.

[0164] As shown in Figure 8, the electronic device includes one or more processors and a memory.

[0165] A processor can be a central processing unit (CPU) or other form of processing unit with data processing and / or instruction execution capabilities, and can control other components in an electronic device to perform desired functions.

[0166] The memory may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor may execute the program instructions to implement the image processing methods of the various embodiments of this disclosure described above and / or other desired functions.

[0167] In one example, the electronic device may also include input devices and output devices, which are interconnected via a bus system and / or other forms of connection mechanism (not shown).

[0168] In addition, the input device may include, for example, a keyboard, a mouse, etc.

[0169] This output device can output various information to the outside, including determined distance information, direction information, etc. The output device may include, for example, a display, a speaker, a printer, and a communication network and its connected remote output devices, etc.

[0170] Of course, for simplicity, Figure 8 only shows some of the components of the electronic device that are relevant to this disclosure, omitting components such as buses, input / output interfaces, etc. In addition, the electronic device may include any other suitable components depending on the specific application.

[0171] In addition to the methods and apparatus described above, embodiments of this disclosure may also be computer program products comprising computer program instructions that, when executed by a processor, cause the processor to perform the steps in the image processing methods according to various embodiments of this disclosure as described in the foregoing portion of this specification.

[0172] The computer program product can be written in any combination of one or more programming languages ​​to perform the operations of the embodiments of this disclosure. The programming languages ​​include object-oriented programming languages ​​such as Java and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on a user's computing device, partially on a user's computing device, as a standalone software package, partially on a user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0173] Furthermore, embodiments of this disclosure may also be computer-readable storage media storing computer program instructions that, when executed by a processor, cause the processor to perform the steps in the image processing methods according to various embodiments of this disclosure as described in the foregoing portion of this specification.

[0174] The computer-readable storage medium may be any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may, for example, include, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0175] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as ROM, RAM, magnetic disk, or optical disk.

[0176] The basic principles of this disclosure have been described above with reference to specific embodiments. However, it should be noted that the advantages, benefits, and effects mentioned in this disclosure are merely examples and not limitations, and should not be considered as essential features of each embodiment of this disclosure. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not limit the scope of this disclosure to the necessity of employing the aforementioned specific details for implementation.

[0177] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For system embodiments, since they largely correspond to method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.

[0178] The block diagrams of the devices involved in this disclosure are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices can be connected, arranged, and configured in any manner. Words such as “comprising,” “including,” “having,” etc., are open-ended terms meaning “including but not limited to,” and are used interchangeably with them. The terms “or” and “and” as used herein refer to the terms “and / or,” and are used interchangeably with them unless the context clearly indicates otherwise. The term “such as” as used herein refers to the phrase “such as but not limited to,” and is used interchangeably with it.

[0179] The methods and apparatus of this disclosure may be implemented in many ways. For example, they may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order of steps for the methods is for illustrative purposes only, and the steps of the methods of this disclosure are not limited to the order specifically described above unless otherwise specifically stated. Furthermore, in some embodiments, this disclosure may also be implemented as a program recorded on a recording medium, the program including machine-readable instructions for implementing the methods according to this disclosure. Thus, this disclosure also covers recording media storing programs for performing the methods according to this disclosure.

[0180] It should also be noted that in the apparatus and method of this disclosure, the components or steps can be disassembled and / or recombined. These disassemblies and / or recombinations should be considered as equivalent solutions to this disclosure.

[0181] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use this disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of this disclosure. Therefore, this disclosure is not intended to be limited to the aspects shown herein, but rather to be carried out within the widest scope consistent with the principles and novel features disclosed herein.

[0182] The above description has been given for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of this disclosure to the forms disclosed herein. Although numerous exemplary aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations therein.

Claims

1. An image processing method, characterized by, include: Based on the camera intrinsic parameters of at least one of the multiple cameras, corresponding images in the image sequence are projected onto the panoramic camera space and the co-view relationship between the images in the image sequence is determined. The image sequence includes images acquired by the multiple cameras at the same image acquisition time. The panoramic camera space is the three-dimensional space corresponding to the panoramic camera model used to acquire panoramic images of the target scene. Images with co-view relationships have an intersection within the image acquisition range corresponding to them in the panoramic camera space. An undirected graph corresponding to the image sequence is constructed using the images as nodes and the co-visibility relationships between the images as edges. Using the color value of the target node as the reference color value, at least one color propagation coefficient corresponding to a node is determined through the undirected graph, and the image color processing of the image represented by the corresponding node is performed using the color propagation coefficient. The color propagation coefficient is used to characterize the degree of adjustment required to adjust the color value of the image to the reference color value. The color value includes at least one of chromaticity value and luminance value.

2. The method of claim 1, wherein, The process of using the color value of the target node as a reference color value, determining the color propagation coefficient corresponding to at least one node through the undirected graph, and using the color propagation coefficient to perform image color processing on the image represented by the corresponding node includes: Using the target node as the starting point for color propagation, the color propagation coefficients of the nodes connected to the target node in the undirected graph are determined, and image color processing is performed on the images represented by the nodes connected to the target node. Mark the target node and the node that has completed image color processing as propagated nodes; Determine the color propagation coefficients of the nodes connected to the propagated nodes in the undirected graph, and perform image color processing on the images represented by the nodes connected to the propagated nodes until the nodes in the undirected graph are marked as propagated nodes.

3. The method of claim 2, wherein, The step of determining the color propagation coefficients of nodes connected to the propagated nodes in the undirected graph and performing image color processing on the images represented by the nodes connected to the propagated nodes includes: Identify the unpropagated nodes in the undirected graph that are connected to the propagated nodes; For at least one propagated node, the color propagation coefficient of the unpropagated node connected to the propagated node is determined based on the first color value of the propagated node and the second color value of the unpropagated node connected to the propagated node. Based on the color propagation coefficient of the unpropagated node connected to the propagated node, image color processing is performed on the image represented by the unpropagated node connected to the propagated node, wherein the color value of the unpropagated node after image color processing is the product of the second color value and the color propagation coefficient.

4. The method of claim 3, wherein, The step of determining the color propagation coefficient of the unpropagated nodes connected to the propagated nodes based on the first color value of the propagated nodes and the second color value of the unpropagated nodes connected to the propagated nodes includes: In response to the ratio of the first color value to the second color value being less than or equal to a coefficient threshold, the ratio of the first color value to the second color value is determined as the color propagation coefficient; In response to the ratio of the first color value to the second color value being greater than the coefficient threshold, the color propagation coefficient is determined based on the coefficient compression curve, wherein the coefficient compression curve is a logarithmic curve with the ratio of the first color value to the second color value as the independent variable.

5. The method according to any one of claims 1 to 4, characterized in that, Before determining the color propagation coefficient corresponding to at least one node through the undirected graph, using the color value of the target node as the reference color value, and performing image color processing on the image represented by the corresponding node using the color propagation coefficient, the method further includes: Based on preset filtering conditions, target nodes are determined from the undirected graph, wherein the preset filtering conditions include at least one of the following: The image color variance is minimized, where the image color variance is the variance of the color values ​​of the pixels in the image represented by the node. The color temporal change value of the corresponding camera is the smallest. The color temporal change value is used to characterize the amount of change in the average color value of the image captured by the same camera at different image acquisition times. The average color value is the average value of the color values ​​of the pixels in the image. The node with the minimum distance value is defined as the sum of the differences between the node's average color value and that of other nodes in the undirected graph.

6. The method according to any one of claims 1 to 4, characterized in that, Before determining the color propagation coefficient corresponding to at least one node through the undirected graph, using the color value of the target node as the reference color value, and performing image color processing on the image represented by the corresponding node using the color propagation coefficient, the method further includes: For each edge connecting two nodes, the common viewing region of the two nodes is determined by image feature matching. The common viewing region is the region with the same image content in the image that has a common viewing relationship. The average color value of the pixels within the common viewing area of ​​each node is determined as the color value of that node.

7. The method of claim 6, wherein, Before determining the average color value of the pixels within the common viewing area of ​​each node as the color value of that node, the method further includes: A matching block of at least one pixel is determined based on a preset matching block size. The matching block is an image region centered on the pixel and with a size equal to the preset matching block size. The average color value of the pixels within the matching block is determined as the color value of the center pixel of the matching block.

8. An image processing apparatus characterized by comprising: include: The first determining module is used to project corresponding images in an image sequence onto a panoramic camera space based on the camera intrinsic parameters of at least one of the multiple cameras and to determine the co-view relationship between the images in the image sequence. The image sequence includes images acquired by the multiple cameras at the same image acquisition time. The panoramic camera space is a three-dimensional space corresponding to a panoramic camera model used for panoramic image acquisition of a target scene. Images with co-view relationships have an intersection within the corresponding image acquisition range in the panoramic camera space. The construction module is used to construct an undirected graph corresponding to the image sequence, using the images as nodes and the co-view relationships between the images as edges. The processing module is used to determine the color propagation coefficient corresponding to at least one node through the undirected graph, based on the color value of the target node as the reference color value, and to perform image color processing on the image represented by the corresponding node using the color propagation coefficient. The color propagation coefficient is used to characterize the degree of adjustment required to adjust the color value of the image to the reference color value. The color value includes at least one of chromaticity value and luminance value.

9. An electronic device, comprising: include: Memory, used to store computer programs; A processor for executing a computer program stored in the memory, wherein when the computer program is executed, it implements the method described in any one of claims 1-7.

10. A computer-readable storage medium having stored thereon a computer program, characterized in that, When the computer program is executed by a processor, it implements the method described in any one of claims 1-7.