Image processing apparatus and polarization sensor
The image processing device and polarization sensor address the trade-off between extinction ratio and sensitivity by controlling these parameters, enhancing image quality and adaptability through the use of an extinction ratio control unit and image processing unit, effectively managing sensitivity and extinction ratio in imaging systems.
Patent Information
- Application Number
- PCT/JP2024/008176
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-29
- Filing Date
- 2024-03-05
- Publication Date
- 2024-10-03
AI Technical Summary
Conventional imaging systems face a trade-off between extinction ratio and sensitivity, where increasing the extinction ratio typically results in decreased sensitivity, and there is a need to control both parameters effectively.
An image processing device and polarization sensor that include an extinction ratio control unit to set a specified extinction ratio, a polarization acquisition unit to capture images with controlled extinction ratio, and an image processing unit to generate corrected images, allowing for independent control of extinction ratio and sensitivity.
Enables the simultaneous control of extinction ratio and sensitivity, improving image quality by maintaining sensitivity while achieving desired extinction ratios, and allowing for adaptive imaging modes to optimize performance in various conditions.
Smart Images

Figure JP2024008176_03102024_PF_FP_ABST
Abstract
Description
Image processing device and polarization sensor
[0001] The present disclosure relates to an image processing device and a polarization sensor, and more particularly to an image processing device and a polarization sensor that are capable of controlling both the extinction ratio and the sensitivity.
[0002] Conventionally, there is an imaging system that generates polarized images in multiple polarization directions by placing a polarizer in front of an imaging unit that performs photoelectric conversion. For example, Patent Document 1 discloses an imaging system that generates polarized images in multiple polarization directions with high extinction ratios, and uses the generated polarized images to separate specular reflection components and diffuse reflection components, thereby generating an image from which the specular reflection component has been removed.
[0003] Patent No. 6673327
[0004] Generally, there is a trade-off between extinction ratio and sensitivity, and when a polarizer is placed in front of the imaging section, sensitivity decreases compared to a normal image sensor without a polarizer. In the past, sensitivity was often not an issue when the light source was controlled, and sensors were used to maximize the extinction ratio. There was no attempt to increase sensitivity at the expense of the extinction ratio.
[0005] The present disclosure has been made in view of these circumstances, and makes it possible to control both the extinction ratio and the sensitivity.
[0006] An image processing device according to a first aspect of the present disclosure includes: an extinction ratio control unit that controls the polarization state of incident light to achieve a specified extinction ratio; a polarization acquisition unit that captures the incident light with the controlled extinction ratio and acquires a polarized image; and an image processing unit that uses the specified extinction ratio and the polarized image to generate a corrected image in which deterioration of the extinction ratio has been corrected.
[0007] In a first aspect of the present disclosure, the polarization state of incident light is controlled to have a specified extinction ratio, the incident light with the controlled extinction ratio is imaged to obtain a polarized image, and a corrected image in which the extinction ratio degradation has been corrected is generated using the specified extinction ratio and the polarized image.
[0008] A polarization sensor according to a second aspect of the present disclosure includes an extinction ratio control unit that controls the polarization state of incident light to achieve a specified extinction ratio, and a polarization acquisition unit that captures an image of the incident light whose extinction ratio has been controlled, and acquires a polarization image.
[0009] In a second aspect of the present disclosure, the polarization state of incident light is controlled to have a specified extinction ratio, and the incident light with the controlled extinction ratio is imaged to obtain a polarized image.
[0010] The image processing device and the polarization sensor may be independent devices or may be modules incorporated into other devices.
[0011] FIG. 1 is a block diagram of a first embodiment of an image processing device according to the present disclosure. FIG. 2 is a diagram illustrating an example of an arrangement of polarizers arranged in front of pixels. FIG. 3 is a diagram illustrating an example of extinction ratio control. FIG. 4 is a diagram illustrating an example of an arrangement of color filters. FIG. 5 is a diagram illustrating an example of a combination of a polarizer arrangement and a color filter arrangement. FIG. 6 is a flowchart illustrating image processing by the image processing device according to the first embodiment. FIG. 7 is a diagram illustrating a plurality of operation modes in the image processing device according to the first embodiment. FIG. 8 is a block diagram of a second embodiment of an image processing device according to the present disclosure. FIG. 9 is a flowchart illustrating extinction ratio calculation processing by an extinction ratio calculation unit according to the second embodiment. FIG. 10 is a block diagram of a third embodiment of an image processing device according to the present disclosure. FIG. 11 is a diagram illustrating a specific configuration example of an extinction ratio control unit. FIG. 12 is a diagram illustrating the relationship between unpolarized light incident on a polarization optical system and outgoing light. FIG. 13 is a diagram illustrating the brightness of light observed by an imaging unit. FIG. 14 is a diagram illustrating an example combination of an imaging unit and polarizers according to the third embodiment. FIG. 15 is a block diagram illustrating an example configuration of hardware of a computer according to the present disclosure.
[0012] Hereinafter, modes for carrying out the technology of the present disclosure (hereinafter referred to as embodiments) will be described with reference to the accompanying drawings. In this specification and drawings, components having substantially the same functional configuration will be assigned the same reference numerals, and redundant description will be omitted. The description will be given in the following order: 1. First embodiment of image processing device (configuration in which an extinction ratio designation unit designates an extinction ratio) 2. Second embodiment of image processing device (configuration in which an extinction ratio calculation unit designates an extinction ratio) 3. Third embodiment of image processing device (configuration in which an extinction ratio control unit includes a polarization optical system) 4. Example computer configuration
[0013] 1. First Embodiment of Image Processing Apparatus Block Diagram of Image Processing Apparatus FIG. 1 is a block diagram of a first embodiment of an image processing apparatus according to the present disclosure.
[0014] The image processing device 1 in FIG. 1 is a device that generates a polarized image and performs predetermined image processing on the generated polarized image.
[0015] The image processing device 1 includes an extinction ratio control unit 11, a polarization acquisition unit 12, an image processing unit 13, and an extinction ratio designation unit 14. The extinction ratio control unit 11 and the polarization acquisition unit 12 are configured as at least a part of a polarization sensor 21. The polarization sensor 21 includes an imaging unit in which a plurality of pixels are arranged two-dimensionally in a matrix, and each pixel photoelectrically converts incident light to generate an imaging signal, and a polarizer (polarizing filter) that generates polarized light of a predetermined polarization direction from unpolarized incident light. The imaging unit is configured using imaging elements such as a CMOS (Complementary Metal Oxide Semiconductor) sensor or a CCD (Charge Coupled Device). The polarizer is configured to be able to control the polarization state of the incident light and change the extinction ratio.
[0016] The extinction ratio control unit 11 includes a polarizer disposed on the front surface (light incident surface) of each pixel and controls the extinction ratio of the polarizer of each pixel so that the extinction ratio becomes equal to the extinction ratio e (e is a value greater than or equal to 1) supplied from the extinction ratio specification unit 14. The minimum control unit for the extinction ratio is the pixel. The extinction ratio can be controlled not only on a pixel-by-pixel basis, but also on a line (row) basis, a column (column) basis, or an area-by-area basis (multiple pixels). The entire screen may be set to the same extinction ratio (uniform across the screen). When the extinction ratio control unit 11 controls the extinction ratio of a pixel to e, the luminance (intensity) of polarized light in the target polarization direction, i.e., the polarization direction passed to the polarization acquisition unit 12, is e, and the luminance (intensity) of polarized light in the non-target polarization direction, i.e., perpendicular to the target polarization direction, is 1. When the extinction ratio control unit 11 controls the extinction ratio e of a pixel to 1 (target polarization direction:non-target polarization direction = 1:1), the polarization function is turned off. Hereinafter, the polarization direction of the polarizer is also referred to as the polarization angle.
[0017] The polarization acquisition unit 12 includes an imaging unit in which multiple pixels are arranged two-dimensionally in a matrix. The imaging unit captures unpolarized incident light that has passed through a polarizer controlled by the extinction ratio control unit 11, and generates and acquires a RAW image, which is a polarized image. Each pixel in the imaging unit may be equipped with an R (red), G (green), or B (blue) color filter. In this case, the RAW image is composed of an image signal of a specific R, G, or B color. The polarization acquisition unit 12 performs demosaic processing on the generated RAW image and supplies the generated demosaic image to the image processing unit 13. If the polarizer has four polarization angles (0 degrees, 45 degrees, 90 degrees, and 135 degrees) and no color filters are used, the demosaic image will be a monochrome image with four channels. If the polarizer has four polarization angles (0 degrees, 45 degrees, 90 degrees, and 135 degrees) and R, G, and B color filters are used, the demosaic image will be a color image (RGB image) with 12 channels.
[0018] The image processing unit 13 includes an extinction ratio correction unit 31 that generates a corrected image in which the deterioration of the extinction ratio has been corrected. The extinction ratio correction unit 31 receives the demosaiced image from the polarization acquisition unit 12 and the extinction ratio e from the extinction ratio specification unit 14. Since the extinction ratio e is known, the extinction ratio correction unit 31 performs an extinction ratio correction process to correct the imaging signal of the demosaiced image received from the polarization acquisition unit 12 to an imaging signal at an ideal polarization angle before the extinction ratio deteriorated. The extinction ratio correction unit 31 outputs the demosaiced image (corrected image) after the correction process, which is composed of imaging signals at the ideal polarization angle, to the outside of the device. Note that if the extinction ratio e is set to 1 in the extinction ratio control unit 11 and polarization control is not being performed, correction is not necessary and is not performed.
[0019] The extinction ratio specifying unit 14 determines the extinction ratio e and supplies it to the extinction ratio control unit 11 and the extinction ratio correction unit 31. The extinction ratio specifying unit 14 determines the extinction ratio e according to, for example, the operation mode of the polarization sensor 21 and specifies it to the extinction ratio control unit 11 and the extinction ratio correction unit 31. The extinction ratio specifying unit 14 may be configured as a part of the polarization sensor 21.
[0020] FIG. 2 shows an example of an arrangement of polarizers placed in front of pixels.
[0021] Figure 2A shows an example in which polarizers with polarization angles (polarization directions) of 0 degrees, 45 degrees, 90 degrees, and 135 degrees are arranged in four 2 x 2 pixels, and these four 2 x 2 pixels are used as repeating units in the row and column directions of the imaging section.
[0022] Figure 2B shows an example in which polarizers with polarization angles (polarization directions) of 0 degrees, 45 degrees, 90 degrees, and 135 degrees are arranged in 2 x 2 four-pixel units, with a total of 16 pixels at 0 degrees, 45 degrees, 90 degrees, and 135 degrees as the repeating unit.
[0023] Figures 2A and 2B show examples in which polarizers are arranged in all pixels, while Figure 2C shows an example in which some pixels have polarizers and some do not. In Figure 2C, a 2 × 2 repeating unit of four pixels is configured, with each repeating unit of four pixels consisting of one pixel with a 0-degree polarizer, one pixel with a 45-degree polarizer, and two pixels without a polarizer. When an unpolarized image signal, an image signal with a polarization angle of 0 degrees, and an image signal with a polarization angle of 45 degrees are obtained, the image signal with a polarization angle of 90 degrees can be calculated from the difference between the unpolarized image signal and the image signal with a polarization angle of 0 degrees, and the image signal with a polarization angle of 135 degrees can be calculated from the difference between the unpolarized image signal and the image signal with a polarization angle of 45 degrees. Therefore, an arrangement such as Figure 2C is possible in which two polarization angles and unpolarized image signals can be obtained.
[0024] The polarizer arrangement example shown in Fig. 2 is merely an example and is not limited to this example. For example, four types of polarizers with angles of 0 degree, 45 degrees, 90 degrees, and 135 degrees are arranged in Fig. 2A and 2B, but only two types of polarizers with angles of 0 degree and 45 degrees may be arranged in all pixels.
[0025] 3 shows an example of extinction ratio control by the extinction ratio control unit 11. In FIG. 3, the polarizer arrangement is shown as an example of arrangement A in FIG.
[0026] Fig. 3A shows an example in which the extinction ratio control unit 11 controls the extinction ratio on a pixel-by-pixel basis. In Fig. 3A, the numerical values such as "10," "20," "30," and "40" written in the pixels represent the extinction ratio.
[0027] 3B shows an example in which the extinction ratio control unit 11 controls the extinction ratio in units of columns. In the example shown in FIG. 3B, the control unit is two columns, each consisting of two pixels in the row direction, but it can also be one column or three or more columns. Furthermore, although not shown in the figure, it is also possible to control in units of one or more lines.
[0028] 3C shows an example in which the extinction ratio control unit 11 controls the extinction ratio in area units, where the control unit is 16 pixels, each consisting of four pixels in the row direction and four pixels in the column direction.
[0029] FIG. 4 shows an example of the arrangement of color filters when color filters are arranged in the imaging section of the polarization acquisition section 12.
[0030] FIG. 4A shows an example of a color filter arrangement in a so-called Bayer array, in which G, B, R, and G color filters are arranged in the four pixels that make up the repeating unit, with 2×2 four pixels as the repeating unit.
[0031] FIG. 4B shows an example of a quad-Bayer color filter arrangement in which the arrangement unit for one color is 2×2=4 pixels, and G, B, R, G color filters are arranged in a Bayer array in 2×2=4 pixel units.
[0032] Figure 4C shows an example of an RGBW color filter array in which G, B, R, and W color filters are arranged on the four pixels that make up a 2x2 repeating unit. The W color filter is a color filter that transmits light of all R, G, and B colors (wavelengths), and is sometimes called C (clear).
[0033] FIG. 4D shows an example of a quad RGBW color filter arrangement in which the arrangement unit for one color is 2×2=4 pixels, and G, B, R, and W color filters are arranged in 2×2=4 pixel units.
[0034] The color filter arrangement shown in Fig. 4 is merely an example, and is not limited to this example. For example, color filters of complementary colors such as yellow (Y), cyan (Cy), and magenta (Mg) may be arranged.
[0035] FIG. 5 shows an example of a combination of a polarizer array and a color filter array.
[0036] FIG. 5A shows an example of an arrangement in which the polarizer array shown in FIG. 2B and the color filter array shown in FIG. 4A are combined.
[0037] FIG. 5B shows an example of an arrangement in which the polarizer array shown in FIG. 2A and the color filter array shown in FIG. 4B are combined.
[0038] FIG. 5C shows an example of an arrangement in which the polarizer array shown in FIG. 2C and the color filter array shown in FIG. 4D are combined.
[0039] The polarization sensor 21 is configured by combining any of the polarizer arrays described with reference to FIG. 2 and any of the color filter arrays described with reference to FIG.
[0040] Next, the extinction ratio correction process performed by the extinction ratio correction unit 31 will be described.
[0041] First, the extinction ratio correction process will be described when the polarizer arrangement has four polarization angles of 0 degrees, 45 degrees, 90 degrees, and 135 degrees as shown in FIGS. 2A and 2B.
[0042] The image pickup signals I0′ and I1 are supplied from the polarization acquisition unit 12 to the extinction ratio correction unit 31 at polarization angles of 0 degrees and 90 degrees, respectively. 90 ', and the image signals to be restored at ideal polarization angles of 0 degrees and 90 degrees are I0 and I 90 Then, the image signal I0' with a polarization angle of 0 degrees and the image signal I 90 ' is expressed by the following formulas (1) and (2).
[0043] Equation (2) can be transformed into the following equation (3), and the following equation (4) can be obtained from equations (1) and (3): Further transforming equation (4) gives the image pickup signals I0 and I1 at ideal polarization angles of 0 degrees and 90 degrees. 90 can be calculated using the following equations (5) and (6): 45 and I 135 can be calculated in the same way.
[0044] Next, we will explain the extinction ratio correction process when the polarizer arrangement is configured with two polarization angles, 0 degrees and 90 degrees, and unpolarized light, as shown in Fig. 2C. If the unpolarized image signal supplied from the polarization acquisition unit 12 to the extinction ratio correction unit 31 is I, the image signal I0' with a polarization angle of 0 degrees is expressed by the following equation (7). Equation (7) can be transformed into equation (8), and finally, the image signal I0 with an ideal polarization angle of 0 degrees that we want to restore can be calculated by equation (9). The image signal I0 with an ideal polarization angle of 45 degrees is expressed by equation (9). 45 can be calculated in the same way.
[0045] As described above, if the extinction ratio e is known, the observed image signals I0' and I 45 ', I 90 ', I 135 From the extinction ratio e, the image signals I0, I1 at ideal polarization angles of 0 degrees, 45 degrees, 90 degrees, and 135 degrees before deterioration are obtained. 45 , I 90 , I 135 The extinction ratio correction unit 31 calculates the image signals I0 and I1 at the ideal polarization angles after the correction process. 45 , I 90 , or I 135 is output to the outside of the device.
[0046] <Flowchart of Image Processing Device of First Embodiment> Image processing by the image processing device 1 of the first embodiment will be described with reference to the flowchart in Fig. 6. This processing is started, for example, when an operation mode is designated on the operation unit of the image processing device 1 and an instruction to start processing is given.
[0047] First, in step S11, the extinction ratio specifying unit 14 specifies an extinction ratio e corresponding to the operation mode to the extinction ratio control unit 11 and the extinction ratio correction unit 31. In step S12, the extinction ratio control unit 11 controls the polarizer of each pixel so as to achieve the extinction ratio specified by the extinction ratio specifying unit 14. The polarizer may be controlled in units of pixels, lines, columns, or areas.
[0048] In step S13, the polarization acquisition unit 12 generates and acquires a RAW image, which is a polarization image obtained by receiving light that has passed through the polarizer of each pixel controlled to the extinction ratio e. Next, in step S14, the polarization acquisition unit 12 performs demosaic processing on the acquired RAW image to generate a demosaic image. If the polarizer has four polarization angles (0 degrees, 45 degrees, 90 degrees, and 135 degrees) and no color filters are used, the demosaic image will be a 4-channel monochrome image. If the polarizer has four polarization angles (0 degrees, 45 degrees, 90 degrees, and 135 degrees) and R, G, and B color filters are used, the demosaic image will be a 12-channel color image (RGB image). For the demosaic processing, known techniques such as those disclosed in Japanese Patent No. 6750633 and Japanese Patent No. 7070423 can be used.
[0049] In step S15, the extinction ratio correction unit 31 of the image processing unit 13 acquires the demosaic image supplied from the polarization acquisition unit 12 and performs extinction ratio correction processing. That is, the extinction ratio correction unit 31 generates a corrected image by correcting the imaging signal of the demosaic image to an imaging signal of an ideal polarization angle before the extinction ratio deteriorates, and outputs the corrected image to the outside of the device.
[0050] This completes the image processing by the image processing device 1 of the first embodiment. The corrected images output to the outside of the device are, for example, four monochrome images corresponding to four angles of 0 degrees, 45 degrees, 90 degrees, and 135 degrees, or 12 color images corresponding to the four angles.
[0051] In the example described above, the polarization acquisition unit 12 performs demosaic processing on the RAW image to generate the demosaic image. However, the polarization acquisition unit 12 may output the RAW image to the image processing unit 13, and the image processing unit 13 may perform demosaic processing. In other words, the demosaic processing may be performed by either the polarization acquisition unit 12 or the image processing unit 13.
[0052] FIG. 7 is a table summarizing a plurality of operation modes that can be performed in the image processing device 1 of the first embodiment and the extinction ratio control in each operation mode.
[0053] The image processing device 1 has four operation modes: a polarization-off imaging mode, a polarization-on-off imaging mode, a polarization-variable imaging mode, and a polarization-on-off video imaging mode.
[0054] The polarization-off imaging mode is a mode in which imaging is performed with the polarization function always off. In the polarization-off imaging mode, the extinction ratio specification unit 14 specifies an extinction ratio of 1 to the extinction ratio control unit 11, and the extinction ratio control unit 11 controls the extinction ratio of the polarizer of each pixel so that the extinction ratio becomes 1. The extinction ratio is controlled in units of the entire screen, and the extinction ratio is uniform within the plane. Since the polarization function is always off, there is no judgment standard for polarization control. In the polarization-off imaging mode, images can be captured without degradation in sensitivity or resolution.
[0055] The polarization on / off imaging mode is a mode in which imaging is performed by switching the polarization function on and off. In the polarization on / off imaging mode, the extinction ratio designation unit 14 designates an extinction ratio of 1 to the extinction ratio control unit 11 when the polarization function is off, and designates an extinction ratio of e max is specified to the extinction ratio control unit 11. The extinction ratio e max is the extinction ratio when the polarization function is at its maximum performance. The extinction ratio control unit 11 determines the extinction ratio 1 or e max The extinction ratio of the polarizer of each pixel is controlled so that the extinction ratio is uniform across the entire screen. When the extinction ratio control unit 14 determines that the image capture is being performed in a dark place based on, for example, the exposure time, the gain value, the F-number information of the lens, etc., the extinction ratio control unit 14 controls the extinction ratio to be equal to or smaller than e max In the polarization-off imaging mode, it is possible to image with reduced sensitivity degradation.
[0056] The polarization variable imaging mode is a mode in which imaging is performed by adaptively switching the extinction ratio e. In the polarization variable imaging mode, the extinction ratio specifying unit 14 specifies a value greater than 1 and e max The optimum extinction ratio e is within the following range: d The extinction ratio control unit 11 specifies the specified extinction ratio e dThe extinction ratio control unit is a pixel unit, a line unit, a column unit, an area unit, or the entire screen (uniform in-plane). The extinction ratio control unit 14 controls the extinction ratio e d and the extinction ratio e d In the table, the darker the place, the closer the extinction ratio e d In the polarization variable imaging mode, in a dark and noisy environment, the extinction ratio e can be increased so that the amplitude of the polarization direction is not hidden by noise, and the extinction ratio e can be specified so that the sensitivity is maintained as much as possible (the extinction ratio e is reduced).
[0057] The polarization on-off video imaging mode is a mode in which a video is captured with the polarization function off and a video with the polarization function on. In the polarization on-off video imaging mode, the extinction ratio specifying unit 14 specifies an extinction ratio of 1 to the extinction ratio control unit 11 to turn off the polarization function in even-numbered frames, and an extinction ratio e max is specified to the extinction ratio control unit 11 to turn on the polarization function. The extinction ratio control unit 11 uses the specified extinction ratio 1 or e max The extinction ratio of the polarizer of each pixel is controlled so that the extinction ratio is 1 or e depending on whether the frame number is odd or even. max In the polarization on / off video imaging mode, two types of video can be generated by interpolating between even-numbered frames and between odd-numbered frames: a video of normal images with the polarization function on, and a video of polarized images with the polarization function off. Furthermore, because the sensitivity of polarized images is half that of normal images, it is possible to generate HDR video with an expanded dynamic range by treating normal images as high-sensitivity images and polarized images as low-sensitivity images. The interpolation process for generating the video and the process for generating the HDR image can be performed by the image processing unit 13.
[0058] According to the image processing device 1 of the first embodiment, it is possible to control both the extinction ratio and the sensitivity of the image processing device 1 having a polarization function.
[0059] 2. Second Embodiment of Image Processing Device Block Diagram of Image Processing Device FIG. 8 is a block diagram of a second embodiment of an image processing device according to the present disclosure.
[0060] In the second embodiment of FIG. 8, parts corresponding to those in the first embodiment shown in FIG. 1 are given the same reference numerals, and the description of those parts will be omitted as appropriate.
[0061] The image processing device 1 of the second embodiment includes an extinction ratio control unit 11, a polarization acquisition unit 12, and an image processing unit 13. The image processing unit 13 has an extinction ratio correction unit 31 and an extinction ratio calculation unit 32. Therefore, compared to the first embodiment, the image processing device 1 of the second embodiment has a configuration in which the extinction ratio designation unit 14 is omitted, and instead, an extinction ratio calculation unit 32 is newly provided in the image processing unit 13.
[0062] In the first embodiment, the extinction ratio specifying unit 14 determines the extinction ratio e according to, for example, the operation mode and specifies it to the extinction ratio control unit 11. In the second embodiment, the extinction ratio calculation unit 32 calculates an optimal extinction ratio e using the demosaic image after extinction ratio correction processing generated by the extinction ratio correction unit 31, and specifies it to the extinction ratio control unit 11. The extinction ratio control unit 11 controls the extinction ratio so that it becomes the extinction ratio specified by the extinction ratio calculation unit 32. The extinction ratio can be controlled in units of pixels, lines, columns, areas, or the entire screen (uniform across the screen).
[0063] For example, when controlling the extinction ratio on a pixel-by-pixel basis, the extinction ratio calculation unit 32 calculates the average and variance of pixel values from multiple demosaic images that are consecutive in the time direction. The extinction ratio calculation unit 32 refers to an internally stored extinction ratio table that associates the average and variance of pixel values with the extinction ratio, and determines the extinction ratio that corresponds to the calculated average and variance of pixel values, thereby calculating an optimal extinction ratio e. As the noise in an image increases, the average of pixel values decreases and the variance increases, so the average and variance of pixel values can be considered as noise parameters that indicate the degree of noise in an image.
[0064] <Flowchart of Image Processing Device According to Second Embodiment> The extinction ratio calculation process performed by the extinction ratio calculation unit 32 according to the second embodiment will be described with reference to the flowchart in Fig. 9. This process is started, for example, when a demosaic image after extinction ratio correction is supplied from the extinction ratio correction unit 31. The extinction ratio calculation process in Fig. 9 is an example of controlling the extinction ratio on a pixel-by-pixel basis.
[0065] First, in step S31 , the extinction ratio calculation unit 32 acquires a plurality of demosaic images that are successive in the time direction and are supplied from the extinction ratio correction unit 31 .
[0066] In step S32, the extinction ratio calculation unit 32 calculates the average and variance of pixel values of a plurality of demosaic images for each pixel of the demosaic images.
[0067] In step S33, the extinction ratio calculation unit 32 refers to an internally stored extinction ratio table for each pixel of the demosaic image, and calculates the optimal extinction ratio e by determining the extinction ratio corresponding to the average and variance of the calculated pixel values.
[0068] In step S34, the extinction ratio calculation unit 32 supplies the calculated optimum extinction ratio e for each pixel to the extinction ratio control unit 11, thereby specifying the extinction ratio e for each pixel to the extinction ratio control unit 11.
[0069] This completes the extinction ratio calculation process by the extinction ratio calculation unit 32. After the extinction ratio e of each pixel is specified by the extinction ratio control unit 11, steps S12 to S15 of the image processing described with reference to FIG.
[0070] 9 is an example in which the extinction ratio control unit is pixel unit, but the extinction ratio can be controlled in a similar manner in any of line unit, column unit, area unit, and entire screen unit. The extinction ratio calculation unit 32 calculates noise parameters according to the extinction ratio control unit, and calculates the optimal extinction ratio e by referring to the extinction ratio table.
[0071] According to the extinction ratio calculation process of FIG. 9 , in a noisy environment, the extinction ratio e can be increased so that the amplitude in the polarization direction is not hidden by noise, and the extinction ratio e can be specified so that sensitivity is maintained as much as possible (the extinction ratio e is reduced).
[0072] Furthermore, the unit for calculating the optimal extinction ratio e can be any of pixel units, line units, column units, area units, or the entire screen, and the control unit may be adaptively changed depending on, for example, the magnitude of the change in brightness of multiple consecutive demosaic images in the time direction.
[0073] In the above example, the extinction ratio calculation unit 32 uses the mean and variance of pixel values calculated using multiple demosaic images consecutive in the time direction as noise parameters and calculates the optimal extinction ratio e using the noise parameters. Alternatively, the extinction ratio calculation unit 32 may calculate the optimal extinction ratio e using an estimation model that estimates the optimal extinction ratio e using model parameters learned through machine learning. In the learning process for learning the model parameters of the estimation model, the relationship between a large number of demosaic images after extinction ratio correction processing in which the extinction ratio e is set to various values and the execution results of an application executed downstream of the image processing device 1 at that time is learned as the model parameters of the estimation model. The application executed downstream of the image processing device 1 may be, for example, a recognition processing application. By implementing an estimation model using the model parameters obtained through learning as the extinction ratio calculation unit 32, the extinction ratio calculation unit 32 can calculate an extinction ratio e that maximizes the performance of the application executed downstream of the image processing device 1 and specify the calculated extinction ratio e to the extinction ratio control unit 11. The estimation model may be prepared for each pixel, line, column, area, or entire screen control unit, or an estimation model may be trained such that the control unit itself is variable.
[0074] The extinction ratio calculation unit 32 may calculate an optimal extinction ratio e based on the luminance distribution across the entire screen of the demosaic image after the extinction ratio correction process. For example, the extinction ratio is changed so that the luminance distribution characteristics across the entire screen of the demosaic image are uniform (within a predetermined range), and the luminance is changed in accordance with the extinction ratio, making it possible to control the extinction ratio so as to uniform the luminance distribution characteristics across the entire screen.
[0075] According to the image processing device 1 of the second embodiment, it is possible to control both the extinction ratio and the sensitivity of the image processing device 1 having a polarization function.
[0076] 3. Third Embodiment of Image Processing Device Block Diagram of Image Processing Device FIG. 10 is a block diagram of a third embodiment of an image processing device according to the present disclosure.
[0077] In the third embodiment of FIG. 10, parts corresponding to those in the second embodiment shown in FIG. 8 are given the same reference numerals, and the description of those parts will be omitted as appropriate.
[0078] In the image processing device 1 of the third embodiment, the extinction ratio control unit 11 and the polarization acquisition unit 12 in the second embodiment shown in Fig. 8 are changed to an extinction ratio control unit 41 and a polarization acquisition unit 42. In the third embodiment, the polarization acquisition unit 42 corresponds to the polarization sensor 21 and includes an imaging unit and a polarizer.
[0079] The extinction ratio control unit 41 is disposed in front of (on the light incident surface side of) the polarization acquisition unit 42, and controls the polarization state of light incident on the polarization acquisition unit 42, thereby controlling the extinction ratio of polarized light acquired by the imaging unit of the polarization acquisition unit 42. In other words, the extinction ratio control unit 41 controls the combined extinction ratio of the polarization state of light passing through the extinction ratio control unit 41 and the polarization state of light by the polarizer of the polarization acquisition unit 42.
[0080] <Specific Configuration Example of Extinction Ratio Control Unit> FIG. 11 is a diagram showing a specific configuration example of the extinction ratio control unit 41. As shown in FIG.
[0081] The extinction ratio control unit 41 includes a polarization optical system 50 that controls the polarization state of incident light. The polarization optical system 50 includes a polarizing beam splitter 51, a reflecting prism 52, a polarization combining prism 53, and a liquid crystal 54. The polarization optical system 50 converts unpolarized light Lin having various polarization directions into light having a desired polarization direction and outputs the converted light as output light Lout. Because the polarization optical system 50 is disposed in front of the polarization sensor 21 serving as the polarization acquisition unit 42, the polarization state is controlled over the entire screen (uniformly across the screen).
[0082] The polarizing beam splitter 51 splits the unpolarized light Lin into two beams of light (vertical linear polarization and horizontal linear polarization) whose polarization directions are orthogonal to each other at the reflecting surface 61. Specifically, the polarizing beam splitter 51 splits the unpolarized light Lin into linearly polarized light L(A) with a polarization angle of 0 degrees and linearly polarized light L(B) with a polarization angle of 90 degrees.
[0083] The reflecting prism 52 refracts the linearly polarized light L(B) with a polarization angle of 90 degrees so that it is incident on the polarization combining prism 53. A liquid crystal 54 is disposed between the reflecting prism 52 and the polarization combining prism 53 on the optical axis along which the reflecting prism 52 causes the linearly polarized light L(B) with a polarization angle of 90 degrees to be incident on the polarization combining prism 53. The linearly polarized light L(B) with a polarization angle of 90 degrees after passing through the liquid crystal 54 is refracted by a polarizer φ w The polarized light is referred to as linearly polarized light L(B)'.
[0084] The polarization combining prism 53 transmits the linearly polarized light L(A) having a polarization angle of 0 degrees that has been transmitted through the polarization beam splitter 51, while transmitting the linearly polarized light φ w The linearly polarized light L(B)′ at a polarization angle of 0° is reflected by the reflecting surface 62. As a result, the output light Lout of the polarization optical system 50 is the linearly polarized light L(A) at a polarization angle of 0° and the linearly polarized light L(B)′ at a polarization angle of 0° that has passed through the liquid crystal 54. w The resulting light is a composite of the 100° linearly polarized light L(B)′ and the 150° linearly polarized light L(B)′.
[0085] The liquid crystal 54 changes the polarization angle of the linearly polarized light L(B) having a polarization angle of 90 degrees emitted from the reflecting prism 52 to an arbitrary polarization angle φ in accordance with the extinction ratio e specified by the extinction ratio calculation unit 32. w Rotate to φ w The light is then incident on the polarization synthesizing prism 53 as linearly polarized light L(B)′.
[0086] When the liquid crystal 54 does not change the polarization angle (polarization angle φ w = 0), the output light Lout of the polarization optical system 50 is light obtained by combining linearly polarized light L(A) with a polarization angle of 0 degrees and linearly polarized light L(B) with a polarization angle of 90 degrees, which is the same as when there is no polarization optical system 50. In this case, the RAW image acquired by the polarization acquisition unit 42 is an image with the highest extinction ratio.
[0087] The liquid crystal 54 changes the polarization angle to φ wWhen the polarization angle is changed by only φ, the output light Lout from the polarization optical system 50 is linearly polarized light L(A) with a polarization angle of 0 degrees and linearly polarized light L(B) with a polarization angle of 0 degrees. w The resulting light is a composite of the linearly polarized light L(B)′ and the linearly polarized light L(B)′, resulting in a light with a deteriorated extinction ratio. w When the polarization optical system 50 is rotated by 1°, the extinction ratio of the output light Lout from the polarization optical system 50 is intentionally degraded, and the sensitivity is increased.
[0088] Referring to FIG. 12, the relationship between the unpolarized light Lin incident on the polarization optical system 50 and the output light Lout will be further described using the Stokes vector of light.
[0089] The Stokes vector of the incident light Lin, which is unpolarized light, is expressed by equation (10). The Stokes vector is a vector that indicates the polarization state of light, and s 0 Or s 3 The Stokes parameters s 0 is the unpolarized light intensity signal, and the Stokes parameter s 1 is the differential signal between the horizontal linear polarization component and the vertical linear polarization component, and the Stokes parameter s 2 is the differential signal between the 45-degree linear polarization component and the 135-degree linear polarization component, and the Stokes parameter s 3 is the differential signal between the right-handed circularly polarized component and the left-handed circularly polarized component, and
[0090] In this embodiment, a linear polarizer is used as the polarizer to acquire a polarization image, and therefore, equation (10) is expressed as follows: 0 Or s 3 Among these, three types of Stokes parameters s 0 Or s 2 is expressed using only
[0091] The linearly polarized light L(A) with a polarization angle of 0 degrees and the linearly polarized light L(B) with a polarization angle of 90 degrees, which are separated by the reflecting surface 61 of the polarizing beam splitter 51, are expressed by the following equations (11) and (12). In addition, the polarization angle of the linearly polarized light L(B) with a polarization angle of 90 degrees is changed by the liquid crystal 54 to an arbitrary polarization angle φ w Controlled to φw The linearly polarized light L(B)′ is expressed by equation (13). φ w The linearly polarized light L(B)' is a light beam L(B) polarized at a polarization angle of 90 degrees, which is polarized at an arbitrary polarization angle φ w In equations (11) and (12), the coefficient multiplied by the Stokes vector of the incident light L is the Mueller matrix M of the polarizer with the polarization direction θ, and the Mueller matrix M is expressed by the following equation (14):
[0092] The output light Lout from the polarization optical system 50 is a linearly polarized light L(A) with a polarization angle of 0 degrees and a linearly polarized light L(B) with a polarization angle of φ w Since the polarized light L(B) is obtained by combining the polarized light L(B) with the linearly polarized light L(B)′, the equation (15) is obtained. The light Lout emitted from the polarization optical system 50 is incident on the polarizer of the polarization sensor 21 which is the polarization acquisition unit 42 .
[0093] FIG. 13 is a diagram illustrating the brightness of light observed by the imaging unit when the output light Lout is incident on polarizers with polarization angles of 0 degrees, 45 degrees, 90 degrees, and 135 degrees.
[0094] The Stokes parameter s is the brightness observed at a pixel with a polarizer having a polarization angle of 0 degrees, 45 degrees, 90 degrees, or 135 degrees. 0 are expressed by equations (16) to (19), respectively.
[0095] With reference to equations (16) to (19), it can be seen that when the polarization optical system 50 is provided as the extinction ratio control unit 41, the luminance can be increased in pixels in which polarizers with polarization angles of 0 degrees and 45 degrees are arranged, compared to the luminance of 0.5 in the case in which the polarization optical system 50 is not provided. In pixels with polarization angles of 0 degrees and 45 degrees, the polarization angle φ of the liquid crystal 54 that maximizes the luminance is w is 22.5 degrees.
[0096] In the image processing device 1 of the third embodiment, the arrangement of the imaging unit and polarizer of the polarization sensor 21 is not particularly limited, and any of the configurations described with reference to Figures 2, 5, etc. can be employed. For example, the polarization sensor 21 shown in Figure 14A has pixels with polarizers at polarization angles of 0 degrees and 45 degrees and non-polarized pixels, or the polarization sensor 21 shown in Figure 14B has pixels with polarizers at polarization angles of 0 degrees, 45 degrees, 90 degrees, and 135 degrees. However, as described with reference to Figures 12 and 13, because brightness can be increased in pixels with polarizers at polarization angles of 0 degrees and 45 degrees, in order to increase the sensitivity of the polarization sensor 21, it is preferable to employ a polarization sensor 21 with polarizers at polarization angles of 0 degrees and 45 degrees, as shown in Figure 14A.
[0097] The extinction ratio control unit 41 adjusts the polarization angle φ of the liquid crystal 54 of the polarization optical system 50 in accordance with the extinction ratio e. w Since the extinction ratio correction unit 31 of the image processing unit 13 controls the extinction ratio by itself, it is possible to calculate the luminance of each pixel that is increased at the expense of the extinction ratio. As in the first and second embodiments, the extinction ratio correction unit 31 of the image processing unit 13 is able to calculate an image pickup signal at an ideal polarization angle before the extinction ratio deteriorates.
[0098] According to the image processing device 1 of the third embodiment, it is possible to control both the extinction ratio and the sensitivity of the image processing device 1 having a polarization function.
[0099] The image processing device 1 of the third embodiment is configured, as in the second embodiment, so that the extinction ratio calculation unit 32 of the image processing unit 13 calculates the optimum extinction ratio e and assigns it to the extinction ratio control unit 41. However, as in the first embodiment, the image processing device 1 may be configured so that the extinction ratio assignment unit 14 assigns the extinction ratio e to the extinction ratio control unit 41.
[0100] 4. Example of Computer Configuration The series of image processing steps performed by the image processing device 1 described above can be executed by hardware or software. When the series of processes are executed by software, the programs that make up the software are installed in a computer. Here, the computer includes a microcomputer built into dedicated hardware, and a general-purpose personal computer, for example, that can execute various functions by installing various programs.
[0101] FIG. 15 is a block diagram showing an example of the hardware configuration of a computer that executes the above-described series of processes by a program.
[0102] In the computer, a CPU (Central Processing Unit) 101, a ROM (Read Only Memory) 102, and a RAM (Random Access Memory) 103 are interconnected by a bus 104.
[0103] An input / output interface 105 is also connected to the bus 104. An input unit 106, an output unit 107, a storage unit 108, a communication unit 109, and a drive 110 are connected to the input / output interface 105.
[0104] The input unit 106 includes a keyboard, a mouse, a microphone, a touch panel, an input terminal, etc. The output unit 107 includes a display, a speaker, an output terminal, etc. The storage unit 108 includes a hard disk, a solid state drive (SSD), a RAM disk, a non-volatile memory, etc. The communication unit 109 includes a network interface, etc. The drive 110 drives a removable recording medium 111 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory.
[0105] In a computer configured as described above, the CPU 101 performs the above-described series of processes by, for example, loading a program stored in the storage unit 108 into the RAM 103 via the input / output interface 105 and the bus 104 and executing the program. The RAM 103 also stores data necessary for the CPU 101 to execute various processes as appropriate.
[0106] The program executed by the computer (CPU 101) can be provided by being recorded on a removable recording medium 111 such as a package medium, for example. The program can also be provided via a wired or wireless transmission medium such as a local area network, the Internet, or digital satellite broadcasting.
[0107] In a computer, the program can be installed in the storage unit 108 via the input / output interface 105 by inserting the removable recording medium 111 into the drive 110. The program can also be received by the communication unit 109 via a wired or wireless transmission medium and installed in the storage unit 108. Alternatively, the program can be installed in advance in the ROM 102 or the storage unit 108.
[0108] In this specification, the steps described in the flowcharts may be performed in chronological order in the order described, but they do not necessarily have to be processed in chronological order, and may be performed in parallel or at any necessary timing, such as when a call is made.
[0109] The embodiments of the present disclosure are not limited to the above-described embodiments, and various modifications are possible within the scope of the gist of the technology of the present disclosure.
[0110] For example, it is possible to adopt a configuration in which all or part of the above-described embodiments are combined.
[0111] For example, the technology of the present disclosure can be configured as a cloud computing system in which a single function is shared and processed collaboratively by multiple devices via a network.
[0112] Each step described in the above flowchart can be executed by one device or can be shared and executed by multiple devices. Furthermore, if one step includes multiple processes, the multiple processes included in that one step can be executed by one device or can be shared and executed by multiple devices.
[0113] The effects described in this specification are merely examples and are not limiting, and there may be effects other than those described in this specification.
[0114] The technology disclosed herein may employ the following configurations: (1) An image processing device comprising: an extinction ratio control unit that controls the polarization state of incident light to achieve a specified extinction ratio; a polarization acquisition unit that captures the incident light with the controlled extinction ratio and acquires a polarized image; and an image processing unit that generates a corrected image in which extinction ratio degradation has been corrected using the specified extinction ratio and the polarized image. (2) The image processing device described in (1), in which the extinction ratio control unit includes a polarizer arranged in front of pixels and controls the extinction ratio of the polarizer to achieve the specified extinction ratio. (3) The image processing device described in (1) or (2), in which the polarization acquisition unit acquires RAW images at multiple polarization angles as the polarized images and performs demosaic processing to acquire monochrome images or color images at multiple polarization angles. (4) The image processing device described in any of (1) to (3), in which the image processing unit calculates an imaging signal at a polarization angle before degradation at the specified extinction ratio occurs and generates the corrected image. (5) The image processing device according to any one of (1) to (4), wherein the image processing unit has an extinction ratio calculation unit that calculates an extinction ratio based on a noise parameter of the corrected image, and the extinction ratio control unit controls the extinction ratio to be the extinction ratio calculated by the extinction ratio calculation unit. (6) The image processing device according to (5), wherein the noise parameter is calculated using a plurality of the corrected images in the time direction. (7) The image processing device according to (5) or (6), wherein the noise parameter is calculated from the average and variance of pixel values of the plurality of the corrected images. (8) The image processing device according to any one of (1) to (7), wherein the extinction ratio control unit controls the incident light to have a specified extinction ratio by rotating one of the linearly polarized light beams separated into first and second linearly polarized light beams, the polarization directions of which are orthogonal to each other, in an arbitrary polarization direction. (9) The image processing device according to (8), wherein the extinction ratio control unit controls the extinction ratio to deteriorate the extinction ratio and increase sensitivity by rotating the one of the linearly polarized light beams in an arbitrary polarization direction. (10) The image processing device according to (8) or (9), wherein the polarization acquisition unit has a polarizer and an imaging unit, and the polarization angle of the polarizer is 0 degrees or 45 degrees.(11) The image processing device according to any one of (1) to (10), wherein the extinction ratio control unit controls the extinction ratio in pixel units, line units, column units, area units, or the entire screen. (12) The image processing device according to any one of (1) to (11), further comprising an extinction ratio designation unit that designates the extinction ratio, wherein the extinction ratio control unit controls the extinction ratio to be the extinction ratio designated by the extinction ratio designation unit. (13) The image processing device according to any one of (1) to (12), wherein the image processing unit generates an HDR image using a normal image with a polarization function turned off and the polarized image with a polarization function turned on. (14) A polarization sensor comprising: an extinction ratio control unit that controls the polarization state of incident light to control it to be a designated extinction ratio; and a polarization acquisition unit that captures the incident light with the controlled extinction ratio and acquires a polarized image.
[0115] REFERENCE SIGNS LIST 1 Image processing device, 11 Extinction ratio control unit, 12 Polarization acquisition unit, 13 Image processing unit, 14 Extinction ratio designation unit, 21 Polarization sensor, 31 Extinction ratio correction unit, 32 Extinction ratio calculation unit, 41 Extinction ratio control unit, 42 Polarization acquisition unit, 50 Polarization optical system, 51 Polarizing beam splitter, 52 Reflecting prism, 53 Polarization synthesis prism, 54 Liquid crystal, 61 Reflecting surface, 62 Reflecting surface, 101 CPU, 102 ROM, 103 RAM, 106 Input unit, 107 Output unit, 108 Storage unit, 109 Communication unit
Claims
1. An image processing device comprising: an extinction ratio control unit that controls the polarization state of incident light to achieve a specified extinction ratio; a polarization acquisition unit that images the incident light with the controlled extinction ratio and acquires a polarized image; and an image processing unit that uses the specified extinction ratio and the polarized image to generate a corrected image in which degradation of the extinction ratio has been corrected.
2. The image processing device according to claim 1, wherein the extinction ratio control section includes a polarizer disposed in front of the pixel, and controls the extinction ratio of the polarizer to be a designated extinction ratio.
3. The image processing device according to claim 1, wherein the polarization acquisition section acquires RAW images at a plurality of polarization angles as the polarized images, performs demosaic processing, and acquires monochrome or color images at a plurality of polarization angles.
4. The image processing device according to claim 1, wherein the image processing section calculates an imaging signal at a polarization angle before degradation at the specified extinction ratio, and generates the corrected image.
5. The image processing device according to claim 1, wherein the image processing section has an extinction ratio calculation section that calculates an extinction ratio based on a noise parameter of the corrected image, and the extinction ratio control section controls the extinction ratio to be the extinction ratio calculated by the extinction ratio calculation section.
6. The image processing device according to claim 5, wherein the noise parameters are calculated using a plurality of the corrected images in the time direction.
7. The image processing device according to claim 5, wherein the noise parameter is calculated from an average and a variance of pixel values of a plurality of the corrected images.
8. The image processing device according to claim 1, wherein the extinction ratio control unit controls the incident light to have a specified extinction ratio by rotating one of the linearly polarized light components separated into a first linearly polarized light and a second linearly polarized light having mutually orthogonal polarization directions to an arbitrary polarization direction.
9. The image processing device according to claim 8, wherein the extinction ratio control section controls the extinction ratio by rotating the one linearly polarized light in an arbitrary polarization direction to deteriorate the extinction ratio and increase sensitivity.
10. The image processing device according to claim 8, wherein the polarization acquisition section has a polarizer and an imaging section, and the polarization angle of the polarizer is 0 degrees or 45 degrees.
11. The image processing device according to claim 1, wherein the extinction ratio control unit controls the extinction ratio in units of pixels, lines, columns, areas, or the entire screen.
12. The image processing device according to claim 1, further comprising an extinction ratio designation section that designates the extinction ratio, wherein the extinction ratio control section controls the extinction ratio to be the extinction ratio designated by the extinction ratio designation section.
13. The image processing device according to claim 1, wherein the image processing unit generates an HDR image using a normal image with a polarization function turned off and the polarized image with the polarization function turned on.
14. A polarization sensor comprising: an extinction ratio control unit that controls the polarization state of incident light to achieve a specified extinction ratio; and a polarization acquisition unit that images the incident light with the extinction ratio controlled and acquires a polarized image.
Citation Information
Patent Citations
Polarization imaging device and calibration method of polarization imaging device
CN114217450A
Polarizing device, polarizing filter, controller and program
JP2008096461A
Image pickup device and image processing method and program
JP2013090085A
Imaging device and imaging system
JP2015194388A
Automatic polarization adjustment device and method
JP2021526244A
