Image processing device and image processing method

The image processing device addresses the challenge of processing non-Bayer array images by converting and reflecting additional color information, improving color reproducibility and image resolution in camera systems.

WO2024176748A1PCT designated stage expired Publication Date: 2024-08-29SONY SEMICON SOLUTIONS CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/002739
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-22
Filing Date
2024-01-30
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Conventional camera systems struggle to process images with color filter arrangements different from the Bayer array, leading to deterioration in color reproducibility and image resolution, especially when additional colors beyond the primary colors are involved.

Method used

An image processing device with a remosaic processing unit that converts images with primary colors and additional colors into a Bayer array, and an image processing unit that generates and reflects color information of additional colors, improving color reproducibility by using a combination of demosaic processing, white balance, color conversion matrices, and 2D-LUTs.

Benefits of technology

Enhances color reproducibility and image processing capabilities, allowing camera systems to handle images with non-Bayer arrays while maintaining accurate color representation and resolution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024002739_29082024_PF_FP_ABST
    Figure JP2024002739_29082024_PF_FP_ABST
Patent Text Reader

Abstract

An image processing device according to an embodiment has a remosaic processing unit and an image processing unit. The remosaic processing unit converts an array of three-primary-color pixels in an input image that includes pixels in red, green, and blue, which are the three primary colors of light, and pixels in colors other than the three primary colors to a Bayer array and generates a first three-primary-color image that includes color information for the three primary colors and does not include color information for colors other than the three primary colors. The image processing unit generates a second three-primary-color image from an input image, the second three-primary-color image including color information for the three primary colors and color information for colors other than the three primary colors.
Need to check novelty before this filing date? Find Prior Art

Description

Image processing device and image processing method

[0001] The present disclosure relates to an image processing device and an image processing method.

[0002] A digital camera includes an image sensor that includes multiple image sensors corresponding to the pixels of a captured image. Each image sensor is provided with a color filter that selectively transmits light of a specific wavelength, such as red, green, or blue, which are the three primary colors of light.

[0003] The image sensor photoelectrically converts light transmitted through the color filters using each imaging element to generate a three-primary-color image, which is then output to a downstream camera system. The camera system performs color information interpolation and correction on the three-primary-color image input from the image sensor, and outputs the image to a display device or storage device.

[0004] The most common color filter arrangement to date has been the Bayer array, in which green and blue color filters are alternately arranged in the row direction of pixels, and green and red color filters are alternately arranged in the column direction of pixels.

[0005] In recent years, with the aim of increasing the number and functionality of digital cameras, image sensors have been developed in which color filters are arranged in an array other than the Bayer array, such as QBC (Quad Bayer Coding).

[0006] In QBC, pixel blocks of four adjacent pixels provided with green color filters and pixel blocks of four adjacent pixels provided with blue color filters are alternately arranged in the row direction, and in QBC, pixel blocks of four adjacent pixels provided with green color filters and pixel blocks of four adjacent pixels provided with red color filters are alternately arranged in the row direction.

[0007] This allows the image sensor to prevent degradation of image resolution, for example, at night or in low light. However, typical downstream camera systems are predicated on input images in a Bayer array, and therefore cannot process images with arrays other than the Bayer array. Furthermore, developing a camera system that can process images with arrays other than the Bayer array requires a lot of time and cost.

[0008] In daytime or high-illumination situations, the image sensor can further increase the image resolution by converting the pixels of an image captured by QBC into a Bayer array. The process of converting an array other than the Bayer array into the Bayer array is called re-mosaic processing (see, for example, Patent Document 1).

[0009] Furthermore, when the image sensor can only receive the three primary colors of red, green, and blue light, it has difficulty faithfully reproducing natural colors because its spectral characteristics differ from those of the human eye. For this reason, if the image sensor is provided with a color filter that can receive light of colors other than the three primary colors in addition to the three primary colors, the reproducibility of natural colors can be improved.

[0010] JP 2013-66146 A

[0011] However, a typical camera system cannot process an image that includes pixels of the three primary colors that are not arranged in a Bayer array and pixels of colors other than the three primary colors. Therefore, the image sensor must perform re-mosaic processing on the image that includes pixels of the three primary colors and pixels of colors other than the three primary colors and output the image to the camera system. However, when re-mosaic processing is performed on an image that includes pixels of the three primary colors and pixels of colors other than the three primary colors, color information other than the three primary colors is lost, resulting in reduced color reproducibility.

[0012] Therefore, the present disclosure proposes an image processing device and an image processing method that can improve color reproducibility while performing re-mosaic processing.

[0013] An image processing device according to the present disclosure includes a re-mosaic processing unit and an image processing unit. The re-mosaic processing unit converts an arrangement of pixels of the three primary colors of light, red, green, and blue, in an input image including pixels of the three primary colors and pixels of colors other than the three primary colors, into a Bayer arrangement to generate a first three-primary color image including color information of the three primary colors but not including color information of the other colors. The image processing unit generates a second three-primary color image from the input image including color information of the three primary colors and color information of the other colors.

[0014] FIG. 1 is a schematic configuration diagram of an image processing device according to an embodiment. FIG. 2 is a functional block diagram showing an example configuration of an image processing device according to an embodiment. FIG. 3 is an explanatory diagram of reduced demosaicing processing according to an embodiment. FIG. 4 is a diagram showing an example of a 2D-LUT according to an embodiment. FIG. 5 is a schematic configuration diagram of an image processing device according to a first modified example of an embodiment. FIG. 6 is a functional block diagram showing an example configuration of an image processing device according to a first modified example of an embodiment. FIG. 7 is a functional block diagram showing an example configuration of an image processing device according to a second modified example of an embodiment. FIG. 8 is an explanatory diagram of a modified example of an input image according to an embodiment.

[0015] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings. In the following embodiments, the same components are designated by the same reference numerals, and redundant description will be omitted.

[0016] [1. Schematic Configuration of Image Processing Device According to Embodiment] First, the schematic configuration of an image processing device according to an embodiment will be described with reference to Fig. 1. Fig. 1 is a schematic configuration diagram of an image processing device 1 according to an embodiment. As shown in Fig. 1, the image processing device 1 is connected between an imaging unit 10 and a camera system 20. The imaging unit 10 includes a plurality of imaging elements corresponding to each pixel of a captured image.

[0017] The multiple image sensors are arranged in a matrix and each is provided with a color filter that selectively transmits light of a specific wavelength. The image sensors of a typical image capture unit are provided with a color filter that selectively transmits light of one of the three primary colors of light: red, green, and blue.

[0018] However, it is difficult for the downstream camera system 20 to faithfully reproduce natural colors if the imaging unit 10 can receive only three colors of light, red, green, and blue. For this reason, the imaging element included in the imaging unit 10 of the embodiment is provided with a color filter that selectively transmits light of one of the three primary colors of color: cyan, magenta, and yellow, in addition to the three primary colors of light.

[0019] That is, each image sensor is provided with a color filter that selectively transmits light of one of the colors red, green, blue, cyan, magenta, and yellow. Therefore, the arrangement of the color filters in the image capturing unit 10 is different from the Bayer arrangement.

[0020] In the following description, red will be referred to as R (Red), green as G (Green), blue as B (Blue), cyan as C (Cyan), magenta as M (Magenta), and yellow as Y (Yellow).

[0021] Each imaging element photoelectrically converts the incident light that has passed through the lens and each color filter into a signal charge corresponding to the amount of light received, generating an image containing color information for the six colors R, G, B, C, Y, and M (hereinafter referred to as "input image P1") and inputting it to the image processing device 1.

[0022] As described above, in this embodiment, the array of color filters included in the imaging unit 10 is different from the Bayer array, and therefore the array of pixel colors in the input image P1 is also different from the Bayer array.

[0023] In contrast, the camera system 20 connected at a later stage cannot process an input image P1 with an arrangement other than the Bayer arrangement if it is assumed that the pixel color arrangement in the image to be processed is a Bayer arrangement.

[0024] For this reason, the image processing device 1 includes a re-mosaic processing unit 2. The re-mosaic processing unit 2 converts the arrangement of R, G, and B pixels in an input image P1 containing R, G, B, C, M, and Y pixels into a Bayer arrangement, generates a first three-primary-color image P2 containing R, G, and B color information but not C, M, and Y color information, and outputs the first three-primary-color image P2 to the camera system 20.

[0025] This allows the camera system 20 to process the first three-primary-color image P2 input from the image processing device 1. The camera system 20 includes a demosaic processing unit 21, a white balance (hereinafter referred to as "WB") processing unit 22, a color conversion matrix (hereinafter referred to as "CCM") processing unit 23, and a gamma correction processing unit 24.

[0026] The demosaic processing unit 21 complements the color information of each pixel in the Bayer array in the first three-primary-color image P2 based on the color information of adjacent pixels, and outputs the complemented color information to the WB processing unit 22. The WB processing unit 22 performs processing to adjust the reference for white in the first three-primary-color image P2 so that the white color in the first three-primary-color image P2, with the color information input from the demosaic processing unit 21 complemented, remains white regardless of the color temperature of the light source, and outputs the result to the CCM processing unit 23. Specific examples of WB processing will be described later.

[0027] The CCM processing unit 23 converts the color tones of the first three-primary-color image P2 into color tones desired by the user by convolving a preset color conversion matrix with color information of each pixel in the first three-primary-color image P2 that has been subjected to WB processing, and outputs the converted color tones to the gamma correction processing unit 24. A specific example of CCM processing will be described later.

[0028] The gamma correction processing unit 24 corrects the color information of the first three-primary-color image P2 so that the color information corresponds to a gamma value specific to the display device, so that the colors of the first three-primary-color image P2 that has been subjected to CCM processing are correctly displayed on the display device. The gamma correction processing unit 24 outputs the first three-primary-color image P2 after the gamma correction to, for example, a display device or a storage device.

[0029] In this way, the camera system 20 can process the first three-primary color image P2, but since the first three-primary color image contains only R, G, and B color information and does not contain C, M, and Y color information, there is room for improvement in the reproducibility of natural colors.

[0030] Therefore, the image processing device 1 according to the embodiment includes, in addition to the re-mosaic processing unit 2, an image processing unit 3 that generates, from the input image P1, a second three-primary-color image that includes color information other than R, G, and B. For example, the image processing unit 3 generates, from the input image P1, the second three-primary-color image that includes color information of R, G, B, C, M, and Y.

[0031] Then, the image processing unit 3 generates information from the second three-primary color image necessary to reflect, for example, C, M, and Y color information in the first three-primary color image P2 in the downstream camera system 20, and outputs the information to the camera system 20.

[0032] For example, the image processing unit 3 calculates the coefficients of a color transformation matrix (hereinafter referred to as "parameters PM") to be multiplied by the R, G, and B color information in order to reflect the C, M, and Y color information in the CCM processing unit 23 of the camera system 20, and outputs the coefficients to the CCM processing unit 23.

[0033] This allows the image processing device 1 to reflect, for example, color information of C, M, and Y in the first three-primary-color image P2 in the downstream camera system 20. Therefore, the image processing device 1 can improve the reproducibility of natural colors in the input image P1 while performing re-mosaic processing even in the camera system 20 that can only process images in the Bayer array.

[0034] 2. Configuration Example of Image Processing Apparatus Next, a configuration example of the image processing apparatus 1 according to the embodiment will be described with reference to Fig. 2. Fig. 2 is a functional block diagram showing a configuration example of the image processing apparatus 1 according to the embodiment.

[0035] 2, the image processing device 1 includes a re-mosaic processing unit 2 and an image processing unit 3. The image processing unit 3 includes a 6-color WB processing unit 31, a reduced demosaic processing unit 32, a 3×3 CCM processing unit 33, a 2D-LUT processing unit 34, a 3×6 CCM processing unit 35, a 2D-LUT processing unit 36, and a parameter estimation processing unit 37.

[0036] The re-mosaic processing unit 2, 6-color WB processing unit 31, reduced demosaic processing unit 32, 3x3 CCM processing unit 33, 2D-LUT processing unit 34, 3x6 CCM processing unit 35, 2D-LUT processing unit 36, and parameter estimation processing unit 37 are partially or entirely configured using hardware such as an ASIC (Application Specific Integrated Circuit) or FPGA (Field Programmable Gate Array).

[0037] In addition, the re-mosaic processing unit 2, 6-color WB processing unit 31, reduced demosaic processing unit 32, 3x3 CCM processing unit 33, 2D-LUT processing unit 34, 3x6 CCM processing unit 35, 2D-LUT processing unit 36, and parameter estimation processing unit 37 may be configured by software.

[0038] In this case, the image processing device 1 includes various circuits and a microcomputer having a CPU (Central Processing Unit), ROM (Read Only Memory), RAM (Random Access Memory), etc. The CPU executes a program stored in the ROM using the RAM as a working area, thereby functioning as a re-mosaic processing unit 2, a 6-color WB processing unit 31, a reduced demosaic processing unit 32, a 3×3 CCM processing unit 33, a 2D-LUT processing unit 34, a 3×6 CCM processing unit 35, a 2D-LUT processing unit 36, and a parameter estimation processing unit 37.

[0039] The re-mosaic processing unit 2 converts the pixel arrangement of the input image P1, which has an arrangement different from the Bayer arrangement, into a Bayer arrangement to generate a first three-primary color image P2 that contains R, G, and B color information but does not contain C, M, and Y color information, and outputs a second three-primary color image P3 to the camera system 20.

[0040] The six-color WB processing unit 31 performs processing to adjust the reference for white in the first three-primary-color image P2 so that the white in the input image P1 remains white regardless of the color temperature of the light source. Specifically, the six-color WB processing unit 31 multiplies the pixel values ​​of the color information R, G, B, C, M, and Y in the white region of the input image P1 by a gain (wbr) using the following formula (1) so that the pixel values ​​become the same pixel value.

[0041] The input image P1 after the six-color WB processing is output to the reduced demosaic processing unit 32. The WB processing unit 22 of the camera system 20 performs WB processing on the first three-primary-color image P2 using the R, G, and B expressions in equation (1).

[0042] The reduction demosaic processing unit 32 designates blocks of a predetermined size, indicated by bold lines, within the input image P1 after six-color WB processing, as shown in Fig. 3. The reduction demosaic processing unit 32 then averages the pixel values ​​of each color (R in the example shown in Fig. 3) within each block and aggregates them into one pixel.

[0043] The reduced demosaic processing unit 32 similarly averages the pixel values ​​within each block for G, B, C, M, and Y and aggregates them into one pixel to generate a reduced image containing color information for six planes (six colors), and outputs this to the 3x6 CCM processing unit 35.

[0044] In addition, the reduced demosaic processing unit 32 averages the pixel values ​​within each block for R, G, and B and aggregates them into one pixel to generate a reduced image containing color information for three sides (three colors), and outputs it to the 3x3 CCM processing unit 33.

[0045] By increasing the size of the specified block, the downscaling demosaic processing unit 32 can generate a downsized image with fewer pixels for the input image P1, which allows the image processing unit 3 to reduce the amount of memory used in subsequent image processing.

[0046] The 3x3 CCM processing unit 33 performs 3x3 CCM processing to convert the R, G, B values ​​of each pixel in a reduced image that contains R, G, B color information but does not contain C, M, Y color information, by convolving the 3x3 matrix of equation (2) with the R, G, B values ​​of each pixel. The 3×3 CCM processing unit 33 outputs the reduced image after the 3×3 CCM processing to the 2D-LUT processing unit 34. Note that the CCM processing unit 23 of the camera system 20 performs the same 3×3 CCM processing as the 3×3 CCM processing unit 33.

[0047] The 3x6 CCM processing unit 35 performs 3x6 CCM processing to convert the R, G, B, C, M, Y values ​​of each pixel in a reduced image containing R, G, B, C, M, Y color information into values ​​close to the true R, G, B values ​​by convolving the 3x6 matrix of equation (3) with the R, G, B, C, M, Y values ​​of each pixel. The 3×6 CCM processing unit 35 outputs the reduced image after the 3×6 CCM processing to the 2D-LUT processing unit 36 ​​.

[0048] The 2D-LUT processing units 34 and 36 convert the R, G, and B pixel values ​​of the reduced images input to them into values ​​in the HLS space consisting of three components: hue (H), lightness (L), and saturation (S).

[0049] The 2D-LUT processing units 34, 36 then use, for example, the LUT (Look Up Table) shown in Fig. 4 to fine-tune the hue (H) and saturation (S) values, thereby reproducing colors that could not be fully expressed by CCM alone. When the LUT shown in Fig. 4 is used, for example, the hue (H) values ​​at saturation (S): 11-13 are converted to 65, 70, and 65, respectively.

[0050] The 2D-LUT processing unit 34 outputs a three-primary color image that includes color information of R, G, and B but does not include color information of C, M, and Y to the parameter estimation processing unit 37. The 2D-LUT processing unit 36 ​​outputs a three-primary color image that includes color information of R, G, B, C, M, and Y to the parameter estimation processing unit 37.

[0051] In this way, the image processing unit 3 divides the input image P1 into multiple blocks, averages the color information of multiple pixels of the same color for each of the R, G, B, C, M, and Y colors contained in each block, and aggregates them into one pixel to generate a reduced image of the input image P1.The image processing unit 3 then generates a second three-primary-color image P3 containing the color information of R, G, B, C, M, and Y from the reduced image.

[0052] The image processing unit 3 also divides the input image P1 into a plurality of blocks, averages the color information of a plurality of pixels of the same color for each of the R, G, and B colors contained in each block, and aggregates them into a single pixel to generate a reduced image of the input image P1. The image processing unit 3 then generates a third three-primary-color image P4 from the reduced image, which contains the R, G, and B color information but does not contain the C, M, and Y color information.

[0053] The parameter estimation processing unit 37 compares the second three-primary color image P3 with the third three-primary color image P4 to calculate the parameters PM of the color transformation matrix to be multiplied by the color information of the three primary colors in the first three-primary color image P2, and outputs the parameters PM to the CCM processing unit 23 of the camera system 20.

[0054] At this time, the parameter estimation processing unit 37 calculates a parameter PM that brings the hue and saturation of the first three-primary-color image P2 closer to the hue and saturation of the second three-primary-color image P3. Then, the parameter estimation processing unit 37 calculates the parameter a 00 , a 01 , a 02 , a 10 , a 11 , a 12 , a 20 , a 21 , a 22 The value of is replaced with the calculated parameter PM and overwritten.

[0055] The camera system 20 performs CCM processing using equation (2) to which the parameter PM is applied, thereby generating a three-primary-color image that reflects the C, M, and Y color information of the input image P1. This allows the image processing device 1 to improve the color reproducibility of the camera system while performing re-mosaic processing.

[0056] 3. First Modification of Image Processing Device Next, an image processing device according to a first modification of the embodiment will be described with reference to Fig. 5 and Fig. 6. Fig. 5 is a schematic configuration diagram of an image processing device 1A according to the first modification of the embodiment. Fig. 6 is a functional block diagram showing an example configuration of the image processing device 1A according to the first modification of the embodiment.

[0057] 5, the image processing device 1A includes a re-mosaic processing unit 2 and an image processing unit 3A. Similar to the re-mosaic processing unit 2 shown in Fig. 1, the re-mosaic processing unit 2 converts an input image P1 containing the colors R, G, B, C, M, and Y into a first three-primary-color image P2 in a Bayer array and outputs the image to the camera system 20A.

[0058] The image processing unit 3A generates a second three-primary-color image P3 including color information of R, G, B, C, M, and Y from the input image P1 instead of the parameters PM, and outputs the image P3 to the camera system 20A. Specifically, as shown in FIG. 6 , the image processing unit 3A includes a six-color WB processing unit 31, a reduced demosaic processing unit 32, a 3×6 CCM processing unit 35, and a 2D-LUT processing unit 36.

[0059] The 6-color WB processing unit 31, the reduced demosaic processing unit 32, the 3×6 CCM processing unit 35, and the 2D-LUT processing unit 36 ​​shown in FIG. 6 perform the same processing as the 6-color WB processing unit 31, the reduced demosaic processing unit 32, the 3×6 CCM processing unit 35, and the 2D-LUT processing unit 36 ​​shown in FIG. 2.

[0060] On the other hand, as shown in Fig. 5, a camera system 20A according to the first modification includes an image synthesis unit 25 in addition to the components included in the camera system 20 shown in Fig. 2. The image synthesis unit 25 synthesizes a first three-primary-color image P2, which includes R, G, and B color information and does not include C, M, and Y color information and is input from the gamma correction processing unit 24, with a second three-primary-color image P3, which includes R, G, B, C, M, and Y color information and is input from the image processing device 1A.

[0061] As a result, the image processing device 1 can generate a three-primary color image that reflects the C, M, and Y color information of the input image P1 using the camera system 20A, even without the 3x3 CCM processing unit 33, 2D-LUT processing unit 34, and parameter estimation processing unit 37 shown in Figure 2.

[0062] 4. Image Processing Device According to Second Modification Next, an image processing device according to a second modification of the embodiment will be described with reference to Fig. 7. Fig. 7 is a functional block diagram showing an example of the configuration of an image processing device 1B according to the second modification of the embodiment.

[0063] 7, the image processing unit 3B of the image processing device 1B includes a six-color WB processing unit 31 and a machine learning model 38. The six-color WB processing unit 31 is the same as the six-color WB processing unit 31 shown in Fig. 2. The machine learning model 38 includes a deep neural network (DNN) or a convolutional neural network (CNN).

[0064] The machine learning model 38 is an arithmetic processing circuit that has been machine-trained to output parameters PM identical to the parameters PM output by the parameter estimation processing unit 37 shown in Figure 2 when an input image P1 is input from the six-color WB processing unit 31.

[0065] That is, the machine learning model 38 performs machine learning to calculate parameters PM that bring the hue and saturation of the first three-primary-color image P2 closer to the hue and saturation of the second three-primary-color image P3 from the input image P1.

[0066] For example, the machine learning model 38 is constructed by repeatedly performing machine learning on training data that takes an input image P1 as input and, when the input image P1 is input, the parameter PM output from the image processing unit 3 shown in Figure 2 as the correct answer, while changing the subject of the input image P1.

[0067] As a result, the image processing device 1B can calculate parameters PM from the input image P1 and output them to the downstream camera system 20, just like the image processing unit 3 shown in Figure 2, using an image processing unit 3B which has a simpler hardware configuration than the image processing unit 3 shown in Figure 2.

[0068] [5. Modified Example of Input Image] Next, a modified example of the input image P1 will be described with reference to Fig. 8. Fig. 8 is an explanatory diagram of a modified example of the input image according to the embodiment. In the examples shown in Figs. 1 to 7, the input image P1 including color information of R, G, B, C, M, and Y has been described as an example, but the input image according to the embodiment is not limited to an image including color information of R, G, B, C, M, and Y.

[0069] For example, as shown in Fig. 8, the input image may be an image that includes color information of R, G, B, and C, but does not include color information of M and Y. Alternatively, the input image may be an image that includes color information of at least one of C, M, and Y, as well as color information of R, G, and B. Alternatively, the input image may be an image that includes color information of colors other than C, M, and Y. In this case, for example, the image processing device 1 performs CCM processing using a determinant corresponding to the type of color included in the input image, instead of equation (3).

[0070] The effects described in this specification are merely examples and are not limiting, and other effects may also be present.

[0071] [6. Supplementary Note] The present technology may also be configured as follows: (1) An image processing device including: a re-mosaic processing unit that converts an arrangement of pixels of the three primary colors of light, red, green, and blue, in an input image including pixels of the three primary colors and pixels of colors other than the three primary colors, into a Bayer arrangement to generate a first three-primary color image that includes color information of the three primary colors but does not include color information of the colors other than the three primary colors; and an image processing unit that generates a second three-primary color image that includes color information of the three primary colors and color information of the colors other than the three primary colors from the input image. (2) The image processing device according to (1), wherein the re-mosaic processing unit outputs the first three-primary-color image to a downstream camera system, and the image processing unit generates a third three-primary-color image from the input image, which includes color information of the three primary colors and does not include color information other than the three primary colors, compares the second three-primary-color image with the third three-primary-color image, calculates coefficients of a color transformation matrix to be multiplied by the color information of the three primary colors in the first three-primary-color image, and outputs the coefficients to the camera system. (3) The image processing device according to (2), wherein the image processing unit calculates the coefficients that bring the hue and saturation of the first three-primary-color image closer to the hue and saturation of the second three-primary-color image. (4) The image processing device according to (1), wherein the re-mosaic processing unit outputs the first three-primary-color image to a downstream camera system, and the image processing unit outputs the second three-primary-color image to the camera system. (5) The image processing device according to any one of (1) to (4), wherein the image processing unit divides the input image into a plurality of blocks, averages color information of a plurality of pixels of the same color for each of the three primary colors and a color other than the three primary colors included in each block, aggregates them into one pixel to generate a reduced image of the input image, and generates the second three-primary color image from the reduced image. (6) The image processing device according to (2) or (3), wherein the image processing unit divides the input image into a plurality of blocks, averages color information of a plurality of pixels of the same color for each of the three primary colors included in each block, aggregates them into one pixel to generate a reduced image of the input image, and generates the third three-primary color image from the reduced image.(7) The image processing device according to (1), wherein the image processing unit has a machine learning model that has been trained by machine learning to calculate, from the input image, coefficients for a color transformation matrix to be multiplied by color information of the three primary colors in the first three primary color image, which coefficients bring the hue and saturation of the first three primary color image closer to the hue and saturation of the second three primary color image. (8) An image processing method executed by an image processing device, the image processing method including: converting an arrangement of pixels of the three primary colors in an input image, which includes pixels of red, green, and blue, which are the three primary colors of light, and pixels of colors other than the three primary colors, into a Bayer arrangement to generate a first three primary color image that includes color information of the three primary colors but does not include color information other than the three primary colors; and generating a second three primary color image that includes color information of the three primary colors and color information other than the three primary colors from the input image.

[0072] 1, 1A, 1B Image processing device 10 Imaging unit 2 Re-mosaic processing unit 3, 3A, 3B Image processing unit 31 6-color WB processing unit 32 Reduced demosaic processing unit 33 3×3 CCM processing unit 34, 36 2D-LUT processing unit 35 3×6 CCM processing unit 37 Parameter estimation processing unit 38 Machine learning model 20, 20A Camera system 21 Demosaic processing unit 22 WB processing unit 23 CCM processing unit 24 Gamma correction processing unit 25 Image synthesis unit P1 Input image P2 First three-primary color image P3 Second three-primary color image P4 Third three-primary color image PM Parameter

Claims

1. An image processing device having: a re-mosaic processing unit that converts an arrangement of pixels of the three primary colors of light, red, green, and blue, and pixels of colors other than the three primary colors in an input image into a Bayer arrangement to generate a first three-primary color image that contains color information of the three primary colors and does not contain color information of the other colors; and an image processing unit that generates a second three-primary color image from the input image that contains color information of the three primary colors and color information of the other colors.

2. The image processing device described in claim 1, wherein the re-mosaic processing unit outputs the first three-primary color image to a downstream camera system, and the image processing unit generates a third three-primary color image from the input image that contains color information of the three primary colors and does not contain color information other than the three primary colors, compares the second three-primary color image with the third three-primary color image, calculates coefficients of a color transformation matrix to be multiplied by the color information of the three primary colors in the first three-primary color image, and outputs the coefficients to the camera system.

3. The image processing device according to claim 2, wherein the image processing unit calculates the coefficients that bring the hue and saturation of the first three-primary-color image closer to the hue and saturation of the second three-primary-color image.

4. The image processing device according to claim 1, wherein the re-mosaic processing unit outputs the first three-primary-color image to a downstream camera system, and the image processing unit outputs the second three-primary-color image to the camera system.

5. The image processing device according to claim 1, wherein the image processing unit divides the input image into a plurality of blocks, averages color information of a plurality of pixels of the same color for each of the three primary colors and colors other than the three primary colors contained in the block, aggregates the average color information into one pixel to generate a reduced image of the input image, and generates the second three primary color image from the reduced image.

6. The image processing device according to claim 2, wherein the image processing unit divides the input image into a plurality of blocks, averages color information of a plurality of pixels of the same color for each of the three primary colors contained in the block, aggregates the averaged color information into one pixel to generate a reduced image of the input image, and generates the third three primary color image from the reduced image.

7. The image processing device according to claim 1, wherein the image processing unit has a machine learning model that has been machine-trained to calculate coefficients for a color transformation matrix to be multiplied by the color information of the three primary colors in the first three primary color image, the coefficients being used to approximate the hue and saturation of the first three primary color image from the input image to the hue and saturation of the second three primary color image.

8. An image processing method executed by an image processing device, comprising: converting an arrangement of pixels of the three primary colors of light, red, green, and blue, in an input image containing pixels of the three primary colors and pixels of colors other than the three primary colors, into a Bayer arrangement to generate a first three primary color image containing color information of the three primary colors but not containing color information other than the three primary colors; and generating a second three primary color image containing color information of the three primary colors and color information other than the three primary colors from the input image.

Citation Information

Patent Citations

  • Image processor, image processing method and program

    JP2013219705A

  • Solid-state imaging device and electronic apparatus

    WO2021171797A1

  • Image sensor and imaging apparatus

    WO2022111015A1