Image processing device, image processing method, and image processing system
The image processing device addresses color saturation issues by using a calculation and correction unit to adjust signal values, ensuring accurate color representation and preventing image quality degradation.
Patent Information
- Application Number
- JP2021010664
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-04-16
- Filing Date
- 2021-01-26
- Publication Date
- 2024-10-02
- Estimated Expiration
- 2041-01-26
AI Technical Summary
Existing image processing devices suffer from color saturation issues that lead to images being colored in a different hue from the actual color, resulting in degraded image quality.
An image processing device that includes a calculation unit to determine color saturation, a saturation determination section to identify saturated colors, and a correction unit to adjust signal values to correct color saturation, using matrix calculations and averaging techniques to ensure accurate color representation.
The device effectively suppresses image quality deterioration by correcting saturated colors, ensuring images maintain their original hues and preventing unwanted color shifts.
Smart Images

Figure 0007560213000002 
Figure 0007560213000003 
Figure 0007560213000004
Abstract
Description
[Technical field]
[0001] The present disclosure relates to an image processing device, an image processing method, and an image processing system. [Background technology]
[0002] Conventionally, a device has been disclosed that includes a white pixel that transmits all wavelengths, a first color separation pixel having a multilayer film or photonic crystal that cuts off a wavelength range higher than a first wavelength, and a second color separation pixel having a multilayer film or photonic crystal that cuts off a wavelength range higher than a second wavelength that is higher than the first wavelength (see Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2008-205940 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, in the device of Patent Document 1, when color saturation occurs, the generated image is colored in a color different from the actual color, resulting in a decrease in image quality.
[0005] Therefore, the present disclosure provides an image processing device, an image processing method, and an image processing system that can suppress deterioration of image quality. [Means for solving the problem]
[0006] An image processing device according to one embodiment of the present disclosure includes a calculation unit that calculates signal values of a second plurality of colors using signal values of a first plurality of colors obtained from an image sensor, a saturation determination unit that determines whether at least one of the first plurality of colors is saturated using the signal values of the first plurality of colors, and a correction unit that corrects the signal value of at least one of the second plurality of colors and outputs the corrected signal value when the saturation determination unit determines that at least one of the first plurality of colors is saturated.
[0007] An image processing method according to one embodiment of the present disclosure calculates signal values of a second plurality of colors using signal values of a first plurality of colors obtained from an image sensor, determines whether at least one of the first plurality of colors is saturated using the signal values of the first plurality of colors, and if it is determined that at least one of the first plurality of colors is saturated, corrects the signal value of at least one of the second plurality of colors and outputs the corrected signal value.
[0008] An image processing system according to one embodiment of the present disclosure includes a plurality of the image processing devices described above, and the plurality of image processing devices process a plurality of exposure images obtained by imaging with different exposure times, the plurality of exposure images being formed by signal values of the first plurality of colors. Effect of the Invention
[0009] The image processing device, image processing method, and image processing system disclosed herein can suppress degradation of image quality. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is a block diagram showing an image processing device according to the first embodiment. [Diagram 2] FIG. 2 is a diagram for explaining correction by the correction unit of the image processing device of FIG. 1, and is a diagram for explaining a case where the average value of the signal values of one or more colors that are not subject to correction is used as the corrected signal value of a color that is subject to correction. [Diagram 3]FIG. 3 is a diagram for explaining the correction performed by the correction unit of the image processing device of FIG. 1, and is a diagram for explaining the case where the signal value of the color to be corrected is set to the signal value after correction of the color to be corrected. [Figure 4] FIG. 4 is a flow chart showing an example of the operation of the saturation determination unit of the image processing device of FIG. [Diagram 5] FIG. 5 is a flow chart showing an example of the operation of the correction unit of the image processing device in FIG. [Figure 6] FIG. 6 is a block diagram showing an image processing device according to the second embodiment. [Figure 7] FIG. 7 is a diagram for explaining the smoothing process in the spatial direction by the smoothing filter of the image processing device of FIG. [Figure 8] FIG. 8 is a diagram for explaining the smoothing process in the time direction by the smoothing filter of the image processing device of FIG. [Figure 9] FIG. 9 is a block diagram showing an image processing system according to the third embodiment. [Figure 10] FIG. 10 is a block diagram showing an image processing system according to the fourth embodiment. [Figure 11] FIG. 11 is a diagram illustrating an example of the interpolation filter. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, the embodiment will be specifically described with reference to the drawings.
[0012] In addition, the embodiments described below are all comprehensive or specific examples. The numerical values, shapes, materials, components, arrangement and connection forms of components, steps, and order of steps shown in the following embodiments are examples and are not intended to limit the present disclosure. In addition, among the components in the following embodiments, components that are not described in an independent claim showing the highest concept are described as optional components. In addition, each figure is a schematic diagram and is not necessarily illustrated strictly. In addition, in each figure, the same components are given the same reference numerals.
[0013] (Embodiment 1) The image processing device 10 according to the first embodiment will be described.
[0014] 1 is a block diagram showing an image processing device 10 according to Embodiment 1. The functional configuration of the image processing device 10 will be described with reference to FIG.
[0015] 1, the image processing device 10 includes a calculation unit 12, a saturation determination unit 14, and a correction unit 16. For example, the calculation unit 12, the saturation determination unit 14, and the correction unit 16 are realized by circuits or the like.
[0016] The calculation unit 12 calculates signal values of a second plurality of colors using signal values of a first plurality of colors obtained from an image sensor (not shown). The signal values are values of components expressing a color space, such as luminance and color difference. For example, the color space is an RGB color space, a YUV color space, or the like.
[0017] The image sensor has a plurality of pixels (not shown) arranged side by side. Each of the plurality of pixels outputs a signal value according to the amount of light received. In the first embodiment, the plurality of pixels is composed of a plurality of red pixels, a plurality of blue pixels, and a plurality of white pixels. The red pixels receive light that has passed through a filter that transmits light in a red wavelength region, and output a signal value according to the amount of light received. The blue pixels receive light that has passed through a filter that transmits light in a blue wavelength region, and output a signal value according to the amount of light received. The white pixels receive light that has passed through a filter that transmits light in all wavelength regions, and output a signal value according to the amount of light received. The white pixels may receive light that has not passed through a filter, and output a signal value according to the amount of light received. For example, the red wavelength region is 620 nm to 750 nm, the blue wavelength region is 450 nm to 495 nm, and the entire wavelength region is the entire wavelength region of visible light.
[0018] The calculation unit 12 acquires a red signal value output from a red pixel of the image sensor and a blue signal value output from a blue pixel of the image sensor. The calculation unit 12 also acquires a signal value output from a white pixel of the image sensor, which is a signal value of a color of light that has passed through a filter that transmits light in the entire wavelength range and has been received by the image sensor. Thus, in the first embodiment, the first multiple colors are red, blue, and the color of light that has passed through a filter that transmits light in the entire wavelength range and has been received by the image sensor. In the following description, the color of light that has passed through a filter that transmits light in the entire wavelength range and has been received by the image sensor may be called clear.
[0019] The calculation unit 12 calculates the red signal value, the blue signal value, and the green signal value using the red signal value, the blue signal value, and the clear signal value acquired from the image sensor. Thus, in the first embodiment, the second plurality of colors are red, blue, and green, and the calculation unit 12 calculates the signal value of a color not included in the first plurality of colors using the signal values of the first plurality of colors acquired from the image sensor. In the following description, the red signal value of the first plurality of colors may be indicated by R, the blue signal value by B, and the clear signal value by C. In the following description, the red signal value of the second plurality of colors may be indicated by R1, the blue signal value by B1, and the green signal value by G1.
[0020] The calculation unit 12 calculates the following formula using R, B, and C:
number
[0021] The saturation determination unit 14 uses the signal values of the first plurality of colors output from the image sensor and input to the calculation unit 12 to determine whether or not at least one of the first plurality of colors is saturated. In the first embodiment, the saturation determination unit 14 uses the signal value of the clear to determine whether or not the clear is saturated. Specifically, the saturation determination unit 14 determines whether or not the signal value of the clear is equal to or greater than a predetermined threshold, and if the signal value of the clear is equal to or greater than the predetermined threshold, determines that the clear is saturated, and if the signal value of the clear is not equal to or greater than the predetermined threshold, determines that the clear is not saturated. For example, if the signal value of the clear is an 8-bit value, the predetermined threshold is set to 255. In this case, the saturation determination unit 14 determines whether or not the signal value of the clear is equal to or greater than 255, and if the signal value of the clear is equal to or greater than 255, determines that the clear is saturated, and if the signal value of the clear is not equal to or greater than 255, determines that the clear is not saturated.
[0022] When the saturation determination unit 14 determines that at least one of the first plurality of colors is saturated, the correction unit 16 corrects at least one signal value of the second plurality of colors calculated by the calculation unit 12, and outputs the corrected signal value. Specifically, the correction unit 16 corrects a signal value of a color that is not included in the first plurality of colors among the second plurality of colors and is calculated using a signal value of a saturated color. In the first embodiment, when the saturation determination unit 14 determines that clear is saturated, the correction unit 16 corrects the signal value of green among the second plurality of colors, and outputs the corrected signal value of the green. Thus, in the first embodiment, the color to be corrected among the second plurality of colors is green. In the following description, the corrected signal value of green among the second plurality of colors may be indicated as G2.
[0023] The correction section 16 includes an average value calculation section 18 and a maximum value selection section 20 .
[0024] The average value calculation unit 18 calculates the average value of the signal values of one or more colors that are not subject to correction among the second plurality of colors. In the first embodiment, the one or more colors that are not subject to correction among the second plurality of colors are red and blue, and the average value calculation unit 18 calculates the average values of the red signal values and the blue signal values using the red signal values and the blue signal values among the second plurality of colors.
[0025] Maximum value selection unit 20 compares the signal value of the color to be corrected among the second plurality of colors with the average value of the signal values of one or more colors not to be corrected among the second plurality of colors, i.e., the average value calculated by average value calculation unit 18, and selects the larger of the signal value of the color to be corrected and the average value. In the first embodiment, maximum value selection unit 20 compares the signal value of green among the second plurality of colors with the average values of the signal values of red and blue among the second plurality of colors, and selects the larger of these.
[0026] If the saturation determination unit 14 determines that the clear is saturated (see "yes" in FIG. 1), the correction unit 16 outputs the value selected by the maximum value selection unit 20 as G2.
[0027] On the other hand, if the saturation determination unit 14 determines that the clear is not saturated (see no in FIG. 1), the correction unit 16 outputs G1 as G2.
[0028] Fig. 2 is a diagram for explaining the correction by the correction unit 16 of the image processing device 10 of Fig. 1, and is a diagram for explaining a case where an average value of the signal values of one or more colors not to be corrected is set as the corrected signal value of the color to be corrected. Fig. 3 is a diagram for explaining the correction by the correction unit 16 of the image processing device 10 of Fig. 1, and is a diagram for explaining a case where the signal value of the color to be corrected is set as the corrected signal value of the color to be corrected. The correction by the correction unit 16 will be described with reference to Figs. 2 and 3.
[0029] For example, when the clear is saturated as shown in (a) of Fig. 2, the R1, B1, and G1 calculated by the calculation unit 12 will be values as shown in (b) of Fig. 2. However, R1, B1, and G1 should be values as shown in (c) of Fig. 2. In this way, when the clear is saturated as shown in (a) of Fig. 2, the G1 calculated by the calculation unit 12 differs from the G1 that should be calculated. As a result, although the color was originally whitish, it appears to be colored magenta in the image.
[0030] Therefore, as shown in (d) of Fig. 2, the correction unit 16 outputs the average value of R1 and B1 as G2. It can be seen that G2 is a value closer to the original G1 (see (c) of Fig. 2) than G1 (see (b) of Fig. 2) calculated by the calculation unit 12. Therefore, it is possible to make the image closer to the original color.
[0031] Also, for example, as shown in Fig. 3(a), when the clear is saturated in a state where R and B are smaller than those shown in Fig. 2(a), the R1, B1, and G1 calculated by the calculation unit 12 will be values as shown in Fig. 3(b). In this case, R1, B1, and G1 should be values as shown in Fig. 3(c). Thus, even when the clear is saturated as shown in Fig. 3(a), the G1 calculated by the calculation unit 12 is different from the G1 that should be calculated.
[0032] Here, as shown in Fig. 3(d), similarly to the above-mentioned case, when the average value of R1 and B1 is output as G2, G2 becomes a value smaller than G1 (see Fig. 3(b)) calculated by the calculation unit 12, and it is found that G2 is a value farther from the original G1 (see Fig. 3(c)) than G1. Thus, when the average value of R1 and B1 is output as G2, there are cases where G2 becomes a value farther from the original G1 (see Fig. 3(c)) than G1 (see Fig. 3(b)) calculated by the calculation unit 12.
[0033] From the above, when the average value of R1 and B1 is greater than G1 calculated by the calculation unit 12, the correction unit 16 outputs the average value as G2. On the other hand, when G1 calculated by the calculation unit 12 is greater than the average value of R1 and B1, the correction unit 16 outputs G1 as G2.
[0034] The configuration of the image processing device 10 in this embodiment has been described above.
[0035] Next, the operation of the image processing device 10 in this embodiment will be described.
[0036] 4 is a flow chart showing an example of the operation of the saturation determination section 14 of the image processing device 10. With reference to FIG.
[0037] 4, first, the saturation determination unit 14 determines whether or not the signal value of clear among the first plurality of colors is equal to or greater than a predetermined threshold value (step S1). The predetermined threshold value is set in advance and stored in a memory (not shown) or the like. As described above, for example, when the signal value of clear is an 8-bit value, the predetermined threshold value is set to 255. In this case, the saturation determination unit 14 determines whether or not the signal value of clear is equal to or greater than 255.
[0038] If the signal value of clear among the first plurality of colors is equal to or greater than a predetermined threshold (Yes in step S1), the saturation determination unit 14 determines that clear is saturated (step S2). For example, if the predetermined threshold is set to 255, the saturation determination unit 14 determines that clear is saturated if the signal value of clear is equal to or greater than 255.
[0039] On the other hand, if the clear signal value is not equal to or greater than the predetermined threshold (No in step S1), the saturation determination unit 14 determines that the clear is not saturated (step S3). For example, if the predetermined threshold is set to 255, the saturation determination unit 14 determines that the clear is not saturated unless the clear signal value is equal to or greater than 255.
[0040] 5 is a flow chart showing an example of the operation of the correction unit 16 of the image processing device 10. With reference to FIG. 5, an example of the operation of the correction unit 16 will be described.
[0041] 5, first, the correction unit 16 determines whether or not the clear is determined to be saturated (step S11). Specifically, the correction unit 16 determines whether or not the saturation determination unit 14 determines whether or not the clear is determined to be saturated.
[0042] If the saturation determination unit 14 determines that the clear is saturated (Yes in step S11), the correction unit 16 calculates the average value of the red signal value and the blue signal value of the second plurality of colors (step S12). For example, if the red signal value and the blue signal value are 8-bit values, the red signal value is 100, and the blue signal value is 150, the correction unit 16 calculates 125 as the average value.
[0043] After calculating the average value of the red signal value and the blue signal value among the second plurality of colors, the correction unit 16 outputs the larger of the green signal value among the second plurality of colors and the average value as the corrected signal value of the green color (step S13).
[0044] If the saturation determination unit 14 determines that the clear is not saturated (No in step S11), the correction unit 16 outputs the signal value of the green color among the second plurality of colors as the corrected signal value of the green color (step S14).
[0045] The image processing device 10 according to the present embodiment has been described above.
[0046] As described above, the image processing device 10 in this embodiment includes a calculation unit 12 that calculates signal values of a second plurality of colors using signal values of a first plurality of colors obtained from the image sensor, a saturation determination unit 14 that uses the signal values of the first plurality of colors to determine whether or not at least one of the first plurality of colors is saturated, and a correction unit 16 that corrects the signal value of at least one of the second plurality of colors and outputs the corrected signal value when the saturation determination unit 14 determines that at least one of the first plurality of colors is saturated.
[0047] According to this, when at least one of the first plurality of colors is saturated and at least one signal value of the second plurality of colors is different from the value that should be calculated, the signal value can be corrected and output. Therefore, it is possible to prevent the color of the image from becoming different from the actual color due to the signal value of the second plurality of colors being different from the value that should be calculated, and to prevent deterioration of the image quality.
[0048] Furthermore, in the image processing device 10 of this embodiment, the correction unit 16 compares the signal value of the color to be corrected among the second plurality of colors with the average value of the signal values of one or more colors to be not corrected among the second plurality of colors, and outputs the larger of the signal value of the color to be corrected and the average value as the corrected signal value of the color to be corrected.
[0049] When the average value of the signal values of one or more colors that are not the subject of correction is greater than the signal value of the color that is the subject of correction, the signal value that should be calculated for the color that is the subject of correction tends to be close to the average value. Therefore, by outputting the average value as the corrected signal value of the color that is the subject of correction, it becomes easier to bring the color of the image closer to the original color.
[0050] On the other hand, when the signal value of the color to be corrected is greater than the average value of the signal values of one or more colors that are not to be corrected, the signal value that should be calculated for the color to be corrected tends to be close to the signal value of the color to be corrected. Therefore, by outputting the signal value of the color to be corrected as the corrected signal value of the color to be corrected, it becomes easier to bring the color of the image closer to the original color.
[0051] This makes it possible to prevent the colors of the image from differing from the actual colors, and further prevents deterioration of the image quality.
[0052] Furthermore, the correction unit 16 outputs the average value of the signal values of one or more colors that are not the subject of correction among the second plurality of colors as the corrected signal value of the color that is the subject of correction among the second plurality of colors.
[0053] This makes it easier to prevent areas that were originally whitish in color from being colored in the image, further preventing degradation of image quality.
[0054] In the image processing device 10 according to the present embodiment, the first plurality of colors includes clear.
[0055] This allows a large amount of light to be taken in, thereby preventing a decrease in the quality of images captured at night, etc.
[0056] Furthermore, in the image processing device 10 of this embodiment, the saturation determination unit 14 determines whether or not clear of the first plurality of colors is saturated.
[0057] According to this, since clear is more likely to saturate than other colors, it is easy to determine whether or not at least one of the first plurality of colors is saturated.
[0058] Furthermore, in the image processing device 10 of this embodiment, the correction unit 16 corrects the signal values of a color among the second plurality of colors that is not included in the first plurality of colors.
[0059] The signal value of a color among the second plurality of colors that is not among the first plurality of colors may be calculated using the signal value of a color among the first plurality of colors that is saturated. In this case, the signal value of a color that is not among the first plurality of colors is likely to differ from the value that should be calculated. Therefore, by correcting the signal value of a color that is not among the first plurality of colors, the signal value can be easily brought closer to the value that should be calculated, and deterioration of image quality can be further suppressed.
[0060] Furthermore, in the image processing device 10 of this embodiment, the first plurality of colors are red, blue, and clear, and the second plurality of colors are red, blue, and green, and the correction unit 16 corrects the signal value of green among the second plurality of colors and calculates an average value using the signal value of red and the signal value of blue.
[0061] According to this, the green color of the second plurality of colors can be calculated using the red color, the blue color, and the clear color. Also, when the clear color is saturated, the green color signal value can be corrected using the average value of the red color signal value and the blue color signal value, and deterioration of the image quality can be further suppressed.
[0062] (Embodiment 2) Next, an image processing device 10a according to the second embodiment will be described.
[0063] 6 is a block diagram showing an image processing device 10a according to embodiment 2. The image processing device 10a mainly differs from the image processing device 10 in that the image processing device 10a further includes a smoothing filter 22. In the following description, the differences from the image processing device 10 will be mainly described.
[0064] As shown in FIG. 6, the image processing device 10a further includes a smoothing filter 22. When the saturation determination unit 14 determines that at least one of the first plurality of colors is saturated, the smoothing filter 22 performs a smoothing process on the corrected green signal value output by the correction unit 16 in at least one of the spatial direction and the temporal direction. The smoothing filter 22 also performs a smoothing process on the red signal value and the blue signal value calculated by the calculation unit 12 in at least one of the spatial direction and the temporal direction. The smoothing filter 22 outputs the red signal value, the blue signal value, and the green signal value after the smoothing process. In the following description, the red signal value after the smoothing process may be indicated by R3, the blue signal value after the smoothing process may be indicated by B3, and the green signal value after the smoothing process may be indicated by G3.
[0065] 7 is a diagram for explaining the spatial smoothing process by the smoothing filter 22 of the image processing device 10a of FIG. 6. As shown in FIG. 7, for example, when a plurality of pixels of a display are arranged side by side, the calculation unit 12 acquires R, B, and C for each of the plurality of pixels, and calculates R1, B1, and G1. The saturation determination unit 14 determines whether or not the clear is saturated for each of the plurality of pixels. The correction unit 16 corrects G1 for each of the plurality of pixels, and outputs G2.
[0066] For example, when the saturation determination unit 14 determines that the clear of pixel 24 among the multiple pixels is saturated, the smoothing filter 22 performs a smoothing process in the spatial direction on R1, B1, and G2 of pixel 24. Specifically, for example, the smoothing filter 22 refers to R1, B1, and G2 of pixel 26 adjacent to pixel 24 and R1, B1, and G2 of pixel 28, performs a smoothing process on R1, B1, and G2 of pixel 24, and outputs R3, B3, and G3. In this way, the smoothing filter 22 performs a smoothing process in the spatial direction on R1, B1, and G2.
[0067] Fig. 8 is a diagram for explaining the smoothing process in the time direction by the smoothing filter 22 of the image processing device 10a of Fig. 6. As shown in Fig. 8, for example, when the saturation determination unit 14 determines that the clear is saturated for pixel 24b among the multiple pixels, the smoothing filter 22 performs a smoothing process in the time direction (see arrow A in Fig. 8) on R1, B1, and G2 for pixel 24b. Specifically, for example, the smoothing filter 22 refers to R1, B1, and G2 of pixel 24a ahead of pixel 24b in the time direction and R1, B1, and G2 of pixel 24c behind pixel 24b, performs a smoothing process on R1, B1, and G2 of pixel 24b, and outputs R3, B3, and G3.
[0068] The image processing device 10a according to the present embodiment has been described above.
[0069] As described above, the image processing device 10a in this embodiment further includes a smoothing filter 22 that performs a smoothing process in at least one of the spatial direction and the temporal direction on the corrected signal value output by the correction unit 16 when the saturation determination unit 14 determines that at least one of the first plurality of colors is saturated.
[0070] According to this, when the saturation determination unit 14 determines that at least one of the first plurality of colors is saturated, the smoothing filter 22 performs a smoothing process on the corrected signal value, thereby preventing a decrease in image quality.
[0071] (Embodiment 3) Next, an image processing system 100 according to a third embodiment will be described.
[0072] Fig. 9 is a block diagram showing an image processing system 100 according to the third embodiment. As shown in Fig. 9, the image processing system 100 includes a plurality of image processing devices 10b to 10d. The plurality of image processing devices 10b to 10d have the same configuration as the above-mentioned image processing device 10. In other words, the image processing system 100 includes a plurality of the above-mentioned image processing devices 10.
[0073] The image processing devices 10b-10d are arranged in parallel and process a plurality of exposure images obtained by imaging with different exposure times and formed by signal values of a first plurality of colors. As described above, the image processing devices 10b-10d each have the same configuration as the image processing device 10, so the description of the image processing device 10 described above will be referred to and detailed description of the image processing devices 10b-10d will be omitted.
[0074] The image processing device 10b processes a first exposure image captured by a first exposure time among the multiple exposure images. Specifically, the image processing device 10b processes the first exposure image by acquiring signal values of the first multiple colors forming the first exposure image and processing the signal values of the first multiple colors. The signal values of the first multiple colors are a red signal value (see Ra in FIG. 9), a blue signal value (see Ba in FIG. 9), and a clear signal value (see Ca in FIG. 9). The image processing device 10b performs processing similar to that of the image processing device 10 described in the first embodiment using the signal values of the first multiple colors, and outputs a red signal value (see R1a in FIG. 9), a blue signal value (see B1a in FIG. 9), and a corrected green signal value (see G2a in FIG. 9) among the second multiple colors. In this way, the image processing device 10b processes the first exposure image by processing the signal values of the first multiple colors forming the first exposure image.
[0075] The image processing device 10c processes a second exposure image captured by a second exposure time among the multiple exposure images. Specifically, the image processing device 10c acquires signal values of a first plurality of colors forming the second exposure image, and processes the signal values of the first plurality of colors, thereby processing the second exposure image. The signal values of the first plurality of colors are a red signal value (see Rb in FIG. 9), a blue signal value (see Bb in FIG. 9), and a clear signal value (see Cb in FIG. 9). The image processing device 10c performs processing similar to that of the image processing device 10 described in the first embodiment, using the signal values of the first plurality of colors, and outputs a red signal value (see R1b in FIG. 9), a blue signal value (see B1b in FIG. 9), and a corrected green signal value (see G2b in FIG. 9) among the second plurality of colors. In this way, the image processing device 10c processes the second exposure image by processing the signal values of the first plurality of colors forming the second exposure image. For example, the second exposure time is longer than the first exposure time.
[0076] The image processing device 10d processes a third exposure image captured by a third exposure time among the multiple exposure images. Specifically, the image processing device 10d obtains signal values of a first plurality of colors forming the third exposure image, and processes the signal values of the first plurality of colors, thereby processing the third exposure image. The signal values of the first plurality of colors are a red signal value (see Rc in FIG. 9), a blue signal value (see Bc in FIG. 9), and a clear signal value (see Cc in FIG. 9). The image processing device 10d performs processing similar to that of the image processing device 10 described in the first embodiment, using the signal values of the first plurality of colors, and outputs a red signal value (see R1c in FIG. 9), a blue signal value (see B1c in FIG. 9), and a corrected green signal value (see G2c in FIG. 9) among the second plurality of colors. In this way, the image processing device 10d processes the third exposure image by processing the signal values of the first plurality of colors forming the third exposure image. For example, the third exposure time is longer than the first exposure time and longer than the second exposure time.
[0077] In the third embodiment, the number of image processing devices is three, but the number of image processing devices is not limited to three. For example, the number of image processing devices may be two, or four or more.
[0078] In the third embodiment, the image processing system 100 includes a plurality of image processing devices 10. However, the present invention is not limited to this. For example, the image processing system may include a plurality of image processing devices 10a.
[0079] The image processing system 100 according to the present embodiment has been described above.
[0080] As described above, the image processing system 100 in this embodiment includes a plurality of the image processing devices 10 described above, and the plurality of image processing devices 10 process a plurality of exposure images obtained by imaging with different exposure times, the plurality of exposure images being formed by signal values of a first plurality of colors.
[0081] According to this, when imaging is performed with different exposure times, a plurality of exposure images obtained by the imaging can be processed by a plurality of image processing devices 10.
[0082] (Embodiment 4) Next, an image processing device 10e according to the fourth embodiment will be described.
[0083] 10 is a block diagram showing an image processing device 10e according to embodiment 4. The image processing device 10e mainly differs from the image processing device 10 in that the image processing device 10e further includes a demosaic processing unit 30. In the following description, the differences from the image processing device 10 will be mainly described.
[0084] 10, the image processing device 10e further includes a demosaic processing unit 30 in front of the calculation unit 12. The demosaic processing unit 30 performs demosaic processing on original image data (RAW image) acquired from an image sensor (not shown) using an interpolation filter to calculate signal values of a first plurality of colors. The demosaic processing unit 30 outputs the calculated signal values of the first plurality of colors to the calculation unit 12.
[0085] In this embodiment, the first plurality of colors are red, blue, and clear, and the demosaic processor 30 calculates a signal value of red, a signal value of blue, and a signal value of clear by using an interpolation filter on the RAW image acquired from the image sensor. Specifically, the demosaic processor 30 focuses on each of the plurality of pixels of the image sensor and calculates signal values of the first plurality of colors corresponding to each of the plurality of pixels. In the following description, a pixel of the plurality of pixels of the image sensor that the demosaic processor 30 focuses on may be called a pixel of interest. For example, when the interpolation filter calculates signal values of the first plurality of colors at a pixel of interest, the signal values of colors different from the color of the pixel of interest are calculated using values of pixels adjacent to the pixel of interest and having the same color.
[0086] FIG. 11 is a diagram illustrating an example of the interpolation filter.
[0087] FIG. 11(a) is a diagram for explaining a case where the pixel of interest is a red pixel. As shown in FIG. 11(a), the red signal value output from the pixel of interest is RI, the blue signal values output from the blue pixels adjacent to the pixel of interest are BI, BII, BIII, and BIV, and the clear signal values output from the white pixels adjacent to the pixel of interest are CI, CII, CIII, and CIV. In this case, the demosaic processing unit 30 outputs RI as the red signal value of the first plurality of colors, outputs the average value of BI, BII, BIII, and BIV output from the blue pixels adjacent to the pixel of interest as the blue signal value, and outputs the average value of CI, CII, CIII, and CIV output from the white pixels adjacent to the pixel of interest as the clear signal value. That is, the demosaic processing unit 30 outputs R=RI, B=(BI+BII+BIII+BIV) / 4, and C=(CI+CII+CIII+CIV) / 4 to the calculation unit 12.
[0088] FIG. 11(b) is a diagram for explaining a case where the pixel of interest is a blue pixel. As shown in FIG. 11(b), the blue signal value output from the pixel of interest is BI, the red signal values output from the multiple red pixels adjacent to the pixel of interest are RI, RII, RIII, and RIV, and the clear signal values output from the multiple white pixels adjacent to the pixel of interest are CI, CII, CIII, and CIV. In this case, the demosaic processing unit 30 outputs BI as the blue signal value of the first multiple colors, outputs the average value of RI, RII, RIII, and RIV output from the multiple red pixels adjacent to the pixel of interest as the red signal value, and outputs the average value of CI, CII, CIII, and CIV output from the multiple white pixels adjacent to the pixel of interest as the clear signal value. That is, the demosaic processing unit 30 sets B=BI, R=(RI+RII+RIII+RIV) / 4, and C=(CI+CII+CIII+CIV) / 4 to the calculation unit 12.
[0089] FIG. 11(c) is a diagram for explaining a case where the pixel of interest is a white pixel. As shown in FIG. 11(c), the clear signal value output from the pixel of interest is CIII, the red signal values output from the multiple red pixels adjacent to the pixel of interest are RI and RII, and the blue signal values output from the multiple blue pixels adjacent to the pixel of interest are BI and BII. In this case, the demosaic processing unit 30 outputs CIII as the clear signal value of the first multiple colors, outputs the average value of RI and RII output from the multiple red pixels adjacent to the pixel of interest as the red signal value, and outputs the average value of BI and BII output from the multiple blue pixels adjacent to the pixel of interest as the blue signal value. That is, the demosaic processing unit 30 outputs C=CIII, R=(RI+RII) / 2, and B=(BI+BII) / 2 to the calculation unit 12.
[0090] The demosaic processor 30 may adaptively switch the interpolation filter according to the magnitude of the difference between the signal values output from the pixels of the same color adjacent to the pixel of interest. That is, the demosaic processor 30 may switch the interpolation filter according to the difference between two signal values output from two pixels adjacent to the pixel of interest and having the same color. For example, when calculating a signal value of a color different from the color of the pixel of interest among the first plurality of colors, if the difference between the two signal values output from two pixels of the same color adjacent to the pixel of interest is equal to or less than a predetermined threshold, the demosaic processor 30 may switch to an interpolation filter that outputs an average value of the two signal values, and if the difference between the two signal values is greater than a predetermined threshold, it may switch to an interpolation filter that outputs a value smaller than the average value.
[0091] Also, an interpolation filter may be used that outputs a value calculated by a weighted average instead of an average value. The threshold value may be set for each color, or may be variable.
[0092] The image processing device 10e according to the present embodiment has been described above.
[0093] As described above, the image processing device 10e in this embodiment further includes a demosaic processing unit 30, located upstream of the calculation unit 12, which performs demosaic processing on the RAW image acquired from the image sensor using an interpolation filter to calculate signal values of the first plurality of colors.
[0094] This makes it possible to obtain signal values of the first plurality of colors, that is, a red signal value, a blue signal value, and a clear signal value, from the RAW image.
[0095] Furthermore, the demosaic processing unit 30 switches the interpolation filter according to the difference between the signal values of two colors that are output from two pixels adjacent to the pixel of interest and have the same color.
[0096] This reduces the loss of color balance for pixels that have a large difference in signal value from adjacent pixels, such as at edges, and therefore further reduces coloring in the image obtained in the subsequent processing stage.
[0097] (Other embodiments, etc.) Although the image processing device, image processing method, and image processing system according to one or more aspects have been described based on the embodiments, the present disclosure is not limited to these embodiments. As long as the modifications do not deviate from the spirit of the present disclosure, modifications that are conceivable by those skilled in the art may also be included within the scope of the present disclosure.
[0098] In the above embodiment, the first plurality of colors is red, blue, and clear, but is not limited thereto. The first plurality of colors may be any two or more colors.
[0099] In the above embodiment, the second plurality of colors is red, blue, and green, but is not limited thereto. The second plurality of colors may be any two or more colors.
[0100] In the above-mentioned embodiment, the calculation unit 12 calculates the signal values of the second plurality of colors using three signal values, namely, a red signal value, a blue signal value, and a clear signal value, but the present invention is not limited to this. For example, the calculation unit may calculate the signal values of the second plurality of colors including blue using three signal values, namely, a red signal value, a green signal value, and a clear signal value, or may calculate the signal values of the second plurality of colors using three signal values, namely, a red signal value, a clear signal value, and another clear signal value. The calculation unit may also calculate the signal values of the second plurality of colors using four signal values, namely, a red signal value, a clear signal value, another clear signal value, and yet another clear signal value. The calculation unit may also calculate the signal values of the second plurality of colors using five or more signal values.
[0101] In the above embodiment, the saturation determination unit 14 determines whether or not the clear color of the first plurality of colors is saturated, but the present invention is not limited to this. For example, the saturation determination unit 14 may determine whether or not two colors, clear and red, of the first plurality of colors are saturated. In this case, for example, if it is determined that two colors, clear and red, of the first plurality of colors are saturated, the correction unit 16 may correct the signal value of red and the signal value of green of the second plurality of colors. [Industrial Applicability]
[0102] The present disclosure can be used in imaging devices that capture images. [Explanation of symbols]
[0103] 10, 10a, 10b, 10c, 10d, 10e Image processing device 12 Arithmetic section 14 Saturation judgment section 16 Correction section 18 Average value calculation section 20 Maximum value selection section 22 Smoothing Filters 30 Demosaic Processing Unit 100 Image Processing System
Claims
1. a calculation unit that calculates signal values of a second plurality of colors using signal values of a first plurality of colors obtained from the image sensor; a saturation determination unit that determines whether or not at least one of the first plurality of colors is saturated by using signal values of the first plurality of colors; a correction unit that corrects the signal value of at least one of the second plurality of colors when the saturation determination unit determines that at least one of the first plurality of colors is saturated, so as to make an image reproduced from the signal values of the second plurality of colors closer to an original color, and outputs the corrected signal value. Image processing device.
2. the correction unit compares a signal value of a color to be corrected among the second plurality of colors with an average value of signal values of one or more colors not to be corrected among the second plurality of colors, and outputs the larger of the signal value of the color to be corrected and the average value as a corrected signal value of the color to be corrected. The image processing device according to claim 1 .
3. the correction unit outputs an average value of signal values of one or more colors that are not to be corrected among the second plurality of colors as a corrected signal value of the color that is to be corrected among the second plurality of colors. The image processing device according to claim 1 .
4. the first plurality of colors includes colors of light transmitted through a filter that transmits light of a full wavelength range and received by the image sensor; 4. The image processing device according to claim 2 or 3.
5. the saturation determination unit determines whether a color of light that has passed through the filter and is received by the image sensor is saturated, among the first plurality of colors. The image processing device according to claim 4.
6. the correction unit corrects a signal value of a color among the second plurality of colors that is not included in the first plurality of colors; The image processing device according to claim 2 .
7. the first plurality of colors being red, blue, and a color of light transmitted through the filter and received by the image sensor; the second plurality of colors being red, blue, and green; the correction unit corrects a signal value of green among the second plurality of colors, and calculates the average value using a signal value of red and a signal value of blue.
6. The image processing device according to claim 4 or 5.
8. a smoothing filter that performs a smoothing process in at least one of a spatial direction and a time direction on the corrected signal value output by the correction unit when the saturation determination unit determines that at least one of the first plurality of colors is saturated; The image processing device according to claim 1 .
9. a demosaic processing unit, disposed before the calculation unit, for performing demosaic processing on the raw image acquired from the image sensor using an interpolation filter to calculate signal values of the first plurality of colors. The image processing device according to claim 1 .
10. the demosaic processing unit switches the interpolation filter in accordance with a difference between two signal values that are output from two pixels adjacent to a pixel of interest and have the same color. The image processing device according to claim 9 .
11. calculating signal values of a second plurality of colors using signal values of a first plurality of colors obtained from the image sensor; using the signal values of the first plurality of colors to determine whether at least one of the first plurality of colors is saturated; when it is determined that at least one of the first plurality of colors is saturated, correcting the signal value of at least one of the second plurality of colors so that an image reproduced from the signal values of the second plurality of colors approaches an original color, and outputting the corrected signal value. Image processing methods.
12. A plurality of image processing devices according to any one of claims 1 to 10 are provided, the plurality of image processing devices process a plurality of exposure images obtained by imaging with different exposure times, the plurality of exposure images being formed by signal values of the first plurality of colors; Image processing system.
Citation Information
Patent Citations
Solid-state imaging apparatus and imaging apparatus
JP2008205940A
Solid-state imaging apparatus
JP2009050030A
Solid-state imaging apparatus, and imaging apparatus
JP2012074763A
Image processing apparatus, image processing method, and program
JP2019140674A
Image processing device, image-capturing element, image processing method, and program
WO2013145487A1
