Image processing method, multi-view camera and computer medium
By calculating the weight coefficient and weighted average processing of image feature points in a multi-view camera, the problem of artifacts and color mutations in multi-view image fusion is solved, and higher consistency correction and detail accuracy are achieved.
Patent Information
- Application Number
- CN202411217331.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-02
- Publication Date
- 2024-10-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Multi-view images are prone to artifacts and color mutations during the fusion or correction process, which affects the consistency of the final imaging.
By obtaining the images captured by the multi-camera, the image feature points in the overlapping area and their original pixel brightness values are determined, and the weight coefficient is calculated based on the positional relationship between the feature points and the overlapping area, and a weighted average calculation is performed to determine the target pixel brightness value and reduce false alarms. Shadow and color mutations.
It achieves higher consistency correction between multi-view images, reduces artifacts and color mutations, and improves color consistency and detail accuracy after image fusion.
Smart Images

Figure CN118735801A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image processing, and in particular to an image processing method, a multi-eye camera and a computer medium. Background Art
[0002] In the field of computer vision and image processing, multi-view images refer to a collection of images obtained by taking the same scene from different positions or perspectives using two or more cameras (or sensors). These images provide different views of the scene, allowing for a more comprehensive and accurate perception and understanding of the scene.
[0003] The images taken by multi-cameras are affected by individual differences in sensors, lens vignetting, etc., and the consistency between multi-camera images is poor. In the process of multi-camera image fusion or correction, existing methods may produce obvious artifacts or color mutations at the image boundaries or transition areas, thus affecting the final image. Summary of the invention
[0004] The present invention aims to solve one of the technical problems in the related art to a certain extent. To this end, the present invention provides an image processing method, a multi-eye camera and a computer medium, which have the advantage of achieving multi-eye image consistency.
[0005] In order to achieve the above object, the present invention adopts the following technical solution: Acquire multiple images taken by the multi-camera main body, where there is an overlapping area between two adjacent images; Determine a plurality of image feature point pairs in each overlapping area, and original pixel brightness values of the plurality of image feature point pairs; the image feature point pairs include image feature points of the two adjacent images at the same position in the overlapping area; Determine the weight coefficients of the two image feature points in each of the image feature point pairs according to the positional relationships between the plurality of image feature point pairs and the overlapping area; wherein the weight coefficient is negatively correlated with the distance from the image feature point to the boundary line of the overlapping area on the corresponding image; According to the original pixel brightness values of the plurality of image feature point pairs and the corresponding weight coefficients, the target pixel brightness values of the plurality of image feature point pairs are determined; wherein the target pixel brightness values of the image feature point pairs correspond to the weighted average of the original pixel brightness values of the image feature point pairs.
[0006] Optionally, the multi-eye camera is a binocular camera, and the two adjacent images include a first image and a second image, and the weight coefficients of the two image feature points in each of the image feature point pairs are determined according to the positional relationship between the plurality of image feature point pairs and the overlapping area, including: Determine a first weight coefficient of each image feature point of the first image according to the positional relationship between the plurality of image feature points of the first image and the overlapping area; the first weight coefficient is negatively correlated with the distance from the image feature point of the first image to the boundary line of the overlapping area in the first image; Determining a second weight coefficient of each image feature point of the second image according to the first weight coefficient; wherein the sum of the first weight coefficient and the second weight coefficient is 1; Determining target pixel brightness values of the plurality of image feature point pairs according to original pixel brightness values of the plurality of image feature point pairs and corresponding weight coefficients includes: The product of the original pixel brightness value of the image feature point of the first image in the same image feature point pair and the corresponding first weight coefficient is added to the product of the original pixel brightness value of the image feature point of the second image and the corresponding second weight coefficient to obtain the target pixel brightness value of the corresponding image feature point pair.
[0007] Optionally, the calculation formula of the first weight coefficient is as shown in formula (1):
[0008] Wherein, i is one of the image feature points of the first image, wt i is the first weight coefficient; taking the length direction of the first image and the second image as the horizontal axis, then start w is the horizontal coordinate value of the boundary line of the overlapping area on the first image, where end w is the horizontal coordinate value of the boundary line of the overlapping area on the second image, where left iw is the horizontal coordinate value of one of the image feature points of the first image; The calculation formula of the second weight coefficient is shown in formula (2):
[0009] Wherein, j is one of the image feature points of the second image, wt j is the second weight coefficient.
[0010] Optionally, the pixel brightness value includes an R channel brightness value, a G channel brightness value, and a B channel brightness value, and the target pixel brightness value of the image feature point pair is calculated as shown in formula (3):
[0011]
[0012]
[0013]
[0014] Among them, Tar i is the target pixel brightness value of the image feature point pair, Tar Ri is the R channel brightness value of the target pixel brightness value of the image feature point pair, Tar Gi is the G channel brightness value of the target pixel brightness value of the image feature point pair, Tar Bi is the brightness value of the B channel in the brightness value of the target pixel of the image feature point pair; Left Ri 、Left Gi , and Left Bi are respectively the R channel brightness value, the G channel brightness value and the B channel brightness value of the pixel brightness value of one of the image feature points of the first image; Ri 、Right Gi , and Right Bi They are respectively the R channel brightness value, the G channel brightness value and the B channel brightness value in the pixel brightness values of the corresponding image feature points in the second image.
[0015] Optionally, the number of nodes in the first three-dimensional lookup table and the second three-dimensional lookup table are both (N+1)×(N+1)×(N+1); wherein N is the number of equal divisions of the R channel, the G channel and the B channel, and N=16.
[0016] Optionally, determining target pixel brightness values of the plurality of image feature point pairs according to original pixel brightness values of the plurality of image feature point pairs and corresponding weight coefficients, then comprises: Generate a first three-dimensional lookup table and a second three-dimensional lookup table according to a mapping relationship between original pixel brightness values and corresponding target pixel brightness values of a plurality of image feature point pairs; the first three-dimensional lookup table corresponds to the first image, and the second three-dimensional lookup table corresponds to the second image; According to the first three-dimensional lookup table and the second three-dimensional lookup table, pixel brightness values of two adjacent initial images are converted to obtain a corresponding first target image.
[0017] Optionally, the first three-dimensional lookup table includes a first R channel three-dimensional lookup table, a first G channel three-dimensional lookup table, and a first B channel three-dimensional lookup table; the second three-dimensional lookup table includes a second R channel three-dimensional lookup table, a second G channel three-dimensional lookup table, and a second B channel three-dimensional lookup table.
[0018] Optionally, performing pixel brightness value conversion on two adjacent initial images according to the first three-dimensional lookup table and the second three-dimensional lookup table to obtain a corresponding first target image includes: Determine the overlapping area of two adjacent initial images; Using the first three-dimensional lookup table, converting the pixel brightness value of a portion of one of the initial images corresponding to the overlapping area, and using the second three-dimensional lookup table, converting the pixel brightness value of a portion of the other initial image corresponding to the overlapping area; The two initial images after pixel brightness value conversion are spliced to obtain a corresponding first target image.
[0019] The present invention extracts multiple pairs of image feature points in the overlapping areas of two adjacent images based on image feature information, thereby accurately locating the color differences and transition areas of the overlapping areas of adjacent images. It is difficult to handle complex color differences and nonlinear changes between images by simply comparing and mapping pixel brightness values. By combining the original pixel brightness values and corresponding position information of the image feature point pairs, the color values are adjusted more accurately to adapt to the actual changes between images, reduce artifacts and color mutations after fusion, and achieve consistency correction between multiple images.
[0020] In addition, the present invention also provides a multi-eye camera, including a multi-eye camera body for acquiring multiple images; and also includes a memory and a processor, the memory storing a computer program, and the processor implementing any of the above-mentioned image processing methods when executing the computer program.
[0021] At the same time, the present invention also provides a computer-readable medium on which a computer program is stored, and when the computer program is executed by a processor, any of the above-mentioned image processing methods is implemented.
[0022] These features and advantages of the present invention will be disclosed in detail in the following specific embodiments and drawings. The best embodiments or means of the present invention will be described in detail in conjunction with the drawings, but they are not intended to limit the technical solutions of the present invention. In addition, there are multiple features, elements, and components that appear in each of the following texts and drawings, and different symbols or numbers are marked for convenience, but they all represent components with the same or similar structures or functions. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The present invention will be further described below in conjunction with the accompanying drawings: Figure 1 A schematic diagram of a flow chart of an image processing method according to an embodiment of the present invention; Figure 2 A schematic diagram of a flow chart of an image processing method according to another embodiment of the present invention; Figure 3 Schematic diagram of the modules of the multi-eye camera in the above embodiment of the present invention; Figure 4It is a schematic diagram of a computer-readable medium in the above embodiment of the present invention. DETAILED DESCRIPTION
[0024] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments in the implementation manner are intended to be used to explain the present invention and should not be construed as limiting the present invention.
[0025] References in this specification to "one embodiment" or "an example" or "an example" mean that a particular feature, structure, or characteristic described in conjunction with the embodiment itself may be included in at least one embodiment of the present patent disclosure. The appearance of the phrase "in one embodiment" in various places in the specification does not necessarily refer to the same embodiment.
[0026] As a first aspect of the present invention, there is provided an image processing method, such as Figure 1 As shown, the method includes: In step S110, a plurality of images taken by a multi-eye camera are acquired, and there is an overlapping area between two adjacent images.
[0027] In step S120, a plurality of image feature point pairs in each overlapping area and original pixel brightness values of the plurality of image feature point pairs are determined; the image feature point pairs include image feature points of the two adjacent images at the same position in the overlapping area.
[0028] In step S130, the weight coefficients of the two image feature points in each of the image feature point pairs are determined based on the positional relationship between the plurality of image feature point pairs and the overlapping area; wherein the weight coefficient is negatively correlated with the distance from the image feature point to the boundary line of the overlapping area on the corresponding image.
[0029] In step S140, target pixel brightness values of the plurality of image feature point pairs are determined based on the original pixel brightness values of the plurality of image feature point pairs and the corresponding weight coefficients; wherein the target pixel brightness values of the image feature point pairs correspond to the weighted average of the original pixel brightness values of the image feature point pairs.
[0030] According to the image feature information, multiple pairs of image feature points in the overlapping areas of two adjacent images are extracted, so as to accurately locate the color difference and transition area of the overlapping areas of adjacent images. It is difficult to handle complex color differences and nonlinear changes between images by simply comparing and mapping pixel brightness values. By combining the original pixel brightness values and corresponding position information of the image feature point pairs, the color values can be adjusted more accurately to adapt to the actual changes between images, reduce artifacts and color mutations after fusion, and achieve consistency correction between multiple images.
[0031] It can be understood that the image feature point pair includes image feature points of the two adjacent images at the same position in the overlapping area. For example, a plurality of images include a first image and a second image that are adjacent, and the first image and the second image have an overlapping area, then the image feature point pair includes an image feature point of the first image in the overlapping area and an image feature point of the second image at a corresponding position in the overlapping area, the original pixel brightness value of the image feature point pair is the original pixel brightness value of the image feature point of the first image and the original pixel brightness value of the image feature point at the corresponding position of the second image, and the target pixel brightness value of the image feature point pair is the target pixel brightness value of the image feature point of the first image and the target pixel brightness value of the image feature point at the corresponding position of the second image.
[0032] By extracting multiple image feature point pairs from the overlapping area of the first image and the second image, and using the pixel brightness values and positional relationships of these image feature point pairs, the corresponding weight coefficients of each image feature point pair are determined, and finally the target pixel brightness value is determined, thereby ensuring that the color differences and transition areas between images are accurately captured, thereby maintaining higher color consistency and detail accuracy during fusion or correction.
[0033] Optionally, the multi-eye camera is a binocular camera, and the two adjacent images include a first image and a second image, and the weight coefficients of the two image feature points in each of the image feature point pairs are determined according to the positional relationship between the plurality of image feature point pairs and the overlapping area, including: Determine a first weight coefficient of each image feature point of the first image according to the positional relationship between the plurality of image feature points of the first image and the overlapping area; the first weight coefficient is negatively correlated with the distance from the image feature point of the first image to the boundary line of the overlapping area in the first image; Determining a second weight coefficient of each image feature point of the second image according to the first weight coefficient; wherein the sum of the first weight coefficient and the second weight coefficient is 1; Determining target pixel brightness values of the plurality of image feature point pairs according to original pixel brightness values of the plurality of image feature point pairs and corresponding weight coefficients includes: The product of the original pixel brightness value of the image feature point of the first image in the same image feature point pair and the corresponding first weight coefficient is added to the product of the original pixel brightness value of the image feature point of the second image and the corresponding second weight coefficient to obtain the target pixel brightness value of the corresponding image feature point pair.
[0034] By determining the positions of the image feature points of the first image and the pairs of image feature points of the second image in the overlapping area, the corresponding weight coefficients are dynamically calculated, so that during the image fusion or correction process, the color consistency of the overlapping area of multiple images is achieved, and the continuity and smoothness of the color change between images are guaranteed, the transition is more natural, and it can adapt to overlapping areas of different shapes, sizes and positions.
[0035] In an optional implementation, the calculation formula of the first weight coefficient is as shown in formula (1):
[0036] Wherein, i is one of the image feature points of the first image, wt i is the first weight coefficient; taking the length direction of the first image and the second image as the horizontal axis, then start w is the horizontal coordinate value of the boundary line of the overlapping area on the first image, where end w is the horizontal coordinate value of the boundary line of the overlapping area on the second image, where left iw is the horizontal coordinate value of one of the image feature points of the first image; The calculation formula of the second weight coefficient is shown in formula (2):
[0037] Wherein, j is one of the image feature points of the second image, wt j is the second weight coefficient.
[0038] That is to say, if the image feature point pair in the overlapping area is closer to the first image, the target pixel brightness value of the image feature point pair adopts a larger weight of the image feature point of the first image. Similarly, if the image feature point pair in the overlapping area is closer to the second image, the target pixel brightness value of the image feature point pair adopts a larger weight of the image feature point of the second image.
[0039] Optionally, the pixel brightness value includes an R channel brightness value, a G channel brightness value, and a B channel brightness value, and the target pixel brightness value of the image feature point pair is calculated as shown in formula (3):
[0040]
[0041]
[0042]
[0043] Among them, Tar iis the target pixel brightness value of the image feature point pair, Tar Ri is the R channel brightness value of the target pixel brightness value of the image feature point pair, Tar Gi is the G channel brightness value of the target pixel brightness value of the image feature point pair, Tar Bi is the brightness value of the B channel in the brightness value of the target pixel of the image feature point pair; Left Ri 、Left Gi , and Left Bi are respectively the R channel brightness value, the G channel brightness value and the B channel brightness value of the pixel brightness value of one of the image feature points of the first image; Ri 、Right Gi , and Right Bi They are respectively the R channel brightness value, the G channel brightness value and the B channel brightness value in the pixel brightness values of the corresponding image feature points in the second image.
[0044] By calculating the product of the image feature point of the first image and the corresponding first weight coefficient, and the product of the image feature point of the first image and the corresponding second weight coefficient, the sum of the two products is determined as the target pixel brightness value, so as to accurately calculate the target pixel brightness value, thereby improving the accuracy of color correction. It should be noted that the R channel brightness value, the G channel brightness value and the B channel brightness value of the target pixel brightness value are calculated independently.
[0045] Optionally, after step S140, as Figure 2 As shown, including: In step S150, a first three-dimensional lookup table and a second three-dimensional lookup table are generated according to a mapping relationship between original pixel brightness values and corresponding target pixel brightness values of a plurality of image feature point pairs; the first three-dimensional lookup table corresponds to the first image, and the second three-dimensional lookup table corresponds to the second image; In step S160, pixel brightness values of two adjacent initial images are converted according to the first three-dimensional lookup table and the second three-dimensional lookup table to obtain a corresponding first target image.
[0046] The original pixel brightness values of the image feature point pairs are mapped one by one with the target pixel brightness values, and a first three-dimensional lookup table and a second three-dimensional lookup table are generated respectively. The mapping results obtained by calculation (i.e., the mapping relationship between the original pixel brightness values of the image feature point pairs and the target pixel brightness values) are stored in advance for direct reading, thereby avoiding repeated mapping calculations of pixel points, so that images of the same type can quickly complete the conversion of pixel brightness values through the first three-dimensional lookup table or the second three-dimensional lookup table, thereby improving image processing efficiency.
[0047] In an optional implementation, the number of nodes in the first three-dimensional lookup table and the second three-dimensional lookup table are both (N+1)×(N+1)×(N+1); wherein N is the number of equal parts of the R channel, the G channel, and the B channel, and N=16.
[0048] When looking up the table, the original pixel brightness value of the image feature point is first normalized. For example, the original pixel brightness value of the image feature point is (64, 128, 255), which can also refer to the RGB value (64, 128, 255). When using the first three-dimensional lookup table and the second three-dimensional lookup table, the target pixel brightness value corresponding to the point (64 / 14+1, 128 / 16+1, 255 / 16+1) is searched accordingly. By using the method of equal-interval sampling, the amount of data in the first three-dimensional lookup table and the second three-dimensional lookup table is reduced, thereby greatly reducing the dependence on memory resources and improving the query speed.
[0049] It should be pointed out that although the amount of data in the first three-dimensional lookup table and the second three-dimensional lookup table obtained by interval sampling is reduced, these nodes cannot describe all pixel values. Therefore, in some other embodiments, the target pixel brightness values of the image feature point pairs corresponding to the known nodes in the first three-dimensional lookup table and the second three-dimensional lookup table can be used by stereoscopic interpolation to obtain the calculation results of the image feature point pairs that cannot directly obtain the target pixel brightness values in the lookup table, thereby achieving higher-precision calculation results while reducing the system's consumption of memory resources. Of course, the above-mentioned N can also be 32 or 64.
[0050] Optionally, the first three-dimensional lookup table includes a first R channel three-dimensional lookup table, a first G channel three-dimensional lookup table, and a first B channel three-dimensional lookup table; the second three-dimensional lookup table includes a second R channel three-dimensional lookup table, a second G channel three-dimensional lookup table, and a second B channel three-dimensional lookup table.
[0051] By querying the data in three dimensions, the original pixel brightness values in the overlapping areas of the fused image are quickly mapped and converted, which speeds up the image processing.
[0052] In an optional implementation, converting pixel brightness values of two adjacent initial images according to the first three-dimensional lookup table and the second three-dimensional lookup table to obtain a corresponding first target image includes: Obtain the overlapping area of two adjacent initial images; Using the first three-dimensional lookup table, converting the pixel brightness value of a portion of one of the initial images corresponding to the overlapping area, and using the second three-dimensional lookup table, converting the pixel brightness value of a portion of the other initial image corresponding to the overlapping area; The two initial images after pixel brightness value conversion are spliced to obtain a corresponding first target image.
[0053] The pixel brightness values of the corresponding initial images are quickly converted through the first three-dimensional lookup table and the second three-dimensional lookup table, and then the two processed initial images are subjected to conventional image stitching and fusion processing to obtain a binocular stitching image, i.e., the first target image. Similarly, when the number of eyes exceeds 2, the overlapping areas between the two images can be processed accordingly.
[0054] At the same time, this embodiment also provides a multi-eye camera, such as Figure 3 As shown, including: The multi-camera body is used to obtain multiple images; the multi-camera body includes multiple lenses and image sensors, each lens is used to capture images at different angles or fields of view. The type and number of lenses depend on the specific application requirements. Each lens is connected to an image sensor, which converts the optical signal transmitted through the lens into an electrical signal, which is further processed and analyzed.
[0055] The multi-eye camera further includes one or more processors 101; The memory 102 stores one or more computer programs, and when the one or more computer programs are executed by the one or more processors 101, the one or more processors 101 implement the image processing method according to the first aspect of the present invention.
[0056] The electronic device may further include one or more I / O interfaces 103 connected between the processor 101 and the memory 102 and configured to implement information interaction between the processor 101 and the memory 102 .
[0057] Among them, the processor 101 is a device with data processing capabilities, including but not limited to a central processing unit (CPU) and the like; the memory 102 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I / O interface 103 (read-write interface) is connected between the processor 101 and the memory 102, and can realize information interaction between the processor 101 and the memory 102, including but not limited to a data bus (Bus) and the like.
[0058] In some embodiments, the processor 101 , the memory 102 , and the I / O interface 103 are connected to each other via a bus 104 , and further connected to other components of the computing device.
[0059] As a third aspect of the present invention, a computer readable medium is provided. Figure 4 As shown, a computer program is stored thereon, and when the computer program is executed by a processor, the image processing method provided by the first aspect of the present disclosure is implemented.
[0060] It will be understood by those skilled in the art that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. Accordingly, the computer program can be stored in a non-volatile computer-readable storage medium, and the computer program can implement the method of any of the above-mentioned embodiments when executed. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0061] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Those skilled in the art should understand that the present invention includes but is not limited to the contents described in the drawings and the above specific embodiments. Any modification that does not deviate from the functional and structural principles of the present invention will be included in the scope of the claims.
Claims
1. An image processing method, characterized in that: include: Acquire multiple images taken by the multi-camera main body, where there is an overlapping area between two adjacent images; Determine a plurality of image feature point pairs in each overlapping area, and original pixel brightness values of the plurality of image feature point pairs; the image feature point pairs include image feature points of the two adjacent images at the same position in the overlapping area; Determine the weight coefficients of the two image feature points in each of the image feature point pairs according to the positional relationships between the plurality of image feature point pairs and the overlapping area; wherein the weight coefficient is negatively correlated with the distance from the image feature point to the boundary line of the overlapping area on the corresponding image; According to the original pixel brightness values of the plurality of image feature point pairs and the corresponding weight coefficients, the target pixel brightness values of the plurality of image feature point pairs are determined; wherein the target pixel brightness values of the image feature point pairs correspond to the weighted average of the original pixel brightness values of the image feature point pairs.
2. The image processing method according to claim 1, characterized in that: The multi-eye camera is a binocular camera, and the two adjacent images include a first image and a second image. The weight coefficients of the two image feature points in each of the image feature point pairs are determined according to the positional relationship between the plurality of image feature point pairs and the overlapping area, including: Determine a first weight coefficient of each image feature point of the first image according to the positional relationship between the plurality of image feature points of the first image and the overlapping area; the first weight coefficient is negatively correlated with the distance from the image feature point of the first image to the boundary line of the overlapping area in the first image; Determining a second weight coefficient of each image feature point of the second image according to the first weight coefficient; wherein the sum of the first weight coefficient and the second weight coefficient is 1; Determining target pixel brightness values of the plurality of image feature point pairs according to original pixel brightness values of the plurality of image feature point pairs and corresponding weight coefficients includes: The product of the original pixel brightness value of the image feature point of the first image in the same image feature point pair and the corresponding first weight coefficient is added to the product of the original pixel brightness value of the image feature point of the second image and the corresponding second weight coefficient to obtain the target pixel brightness value of the corresponding image feature point pair.
3. The image processing method according to claim 2, characterized in that: The calculation formula of the first weight coefficient is shown in formula (1): Wherein, i is one of the image feature points of the first image, wt i is the first weight coefficient; taking the length direction of the first image and the second image as the horizontal axis, then start w is the horizontal coordinate value of the boundary line of the overlapping area on the first image, where end w is the horizontal coordinate value of the boundary line of the overlapping area on the second image, where left iw is the horizontal coordinate value of one of the image feature points of the first image; The calculation formula of the second weight coefficient is shown in formula (2): Wherein, j is one of the image feature points of the second image, wt j is the second weight coefficient.
4. The image processing method according to claim 3, characterized in that: The pixel brightness value includes the R channel brightness value, the G channel brightness value and the B channel brightness value. The target pixel brightness value of the image feature point pair is calculated as shown in formula (3): Among them, Tar i is the target pixel brightness value of the image feature point pair, Tar Ri is the R channel brightness value of the target pixel brightness value of the image feature point pair, Tar Gi is the G channel brightness value of the target pixel brightness value of the image feature point pair, Tar Bi is the brightness value of the B channel in the brightness value of the target pixel of the image feature point pair; Left Ri 、Left Gi , and Left Bi are respectively the R channel brightness value, the G channel brightness value and the B channel brightness value of the pixel brightness value of one of the image feature points of the first image; Ri 、Right Gi , and Right Bi They are respectively the R channel brightness value, the G channel brightness value and the B channel brightness value in the pixel brightness values of the corresponding image feature points in the second image.
5. The image processing method according to claim 4, characterized in that: The number of nodes in the first three-dimensional lookup table and the second three-dimensional lookup table are both (N+1)×(N+1)×(N+1); wherein N is the number of equally divided R channels, G channels, and B channels, and N=16.
6. The image processing method according to claim 2, characterized in that: The method further comprises: determining target pixel brightness values of the plurality of image feature point pairs according to the original pixel brightness values of the plurality of image feature point pairs and the corresponding weight coefficients; and then comprising: Generate a first three-dimensional lookup table and a second three-dimensional lookup table according to a mapping relationship between original pixel brightness values and corresponding target pixel brightness values of a plurality of image feature point pairs; the first three-dimensional lookup table corresponds to the first image, and the second three-dimensional lookup table corresponds to the second image; According to the first three-dimensional lookup table and the second three-dimensional lookup table, pixel brightness values of two adjacent initial images are converted to obtain a corresponding first target image.
7. The image processing method according to claim 6, characterized in that: The first three-dimensional lookup table includes a first R channel three-dimensional lookup table, a first G channel three-dimensional lookup table, and a first B channel three-dimensional lookup table; The second three-dimensional lookup table includes a second R channel three-dimensional lookup table, a second G channel three-dimensional lookup table, and a second B channel three-dimensional lookup table.
8. The image processing method according to claim 6, characterized in that: The converting pixel brightness values of two adjacent initial images according to the first three-dimensional lookup table and the second three-dimensional lookup table to obtain a corresponding first target image includes: Determine the overlapping area of two adjacent initial images; Using the first three-dimensional lookup table, converting the pixel brightness value of a portion of one of the initial images corresponding to the overlapping area, and using the second three-dimensional lookup table, converting the pixel brightness value of a portion of the other initial image corresponding to the overlapping area; The two initial images after pixel brightness value conversion are spliced to obtain a corresponding first target image.
9. A multi-eye camera, characterized in that: include: A multi-camera body for acquiring multiple images; one or more processors; A memory having one or more computer programs stored thereon, wherein when the one or more computer programs are executed by the one or more processors, the one or more processors implement the image processing method according to any one of claims 1 to 8.
10. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the image processing method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Image fusion method and device, image processing equipment and binocular system
CN112614164A
Image processing method and device, equipment and storage medium
CN115689903A
Large-scene image optimization method and optimization system thereof
CN118096629A
Image processing apparatus, image processing method, and storage medium
US20170064203A1
Color balance method and device, on-board equipment and storage medium
US20210144354A1
