Imaging device and endoscope system
The pixel and image processing technique for polarized imaging devices addresses color distortion issues by using a 2×2 pixel arrangement and advanced processing, resulting in clear and high-resolution images with suppressed exposure artifacts.
Patent Information
- Application Number
- JP2023022655
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-16
- Publication Date
- 2024-08-28
AI Technical Summary
Existing imaging devices using variable retardation plates for polarized light imaging suffer from color distortion due to the plate's effect, leading to unclear images.
A pixel arrangement with 2×2 pixels detecting four different polarization components, combined with RGB color filters in a Bayer arrangement, and advanced image processing units to separate, interpolate, and rank polarization components for clear image generation.
Generates clear images by suppressing overexposure and underexposure, achieving high-resolution images with reduced aliasing distortion and improved color accuracy.
Smart Images

Figure 2024116840000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an imaging device and an endoscope system. [Background technology]
[0002] There is known an imaging device for observing the polarization state of light from a subject. For example, a technology has been proposed in which a plurality of color images with different polarization states are acquired in a time-division manner, a composite image is generated using polarization information of the subject based on the plurality of color images, and color correction is performed based on a reference image selected from the plurality of color images. In addition, a technology has been proposed in which whiteout and blackout are suppressed by using an HDR (High Dynamic Range) image obtained by combining a plurality of color images with different exposure conditions as a reference image (see, for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2017-191986 A Summary of the Invention [Problem to be solved by the invention]
[0004] In the above-mentioned technique, since a color image with different polarization states is obtained using a variable retardation plate, coloring occurs due to the variable retardation plate.
[0005] The present invention has been made in consideration of the above circumstances, and has an object to provide a technique for generating a clear image using a polarization image sensor. [Means for solving the problem]
[0006] An imaging device according to one embodiment of the present invention includes a polarization image sensor in which pixel groups, each having 2×2 pixels that detect four different polarization components for each pixel, are arranged two-dimensionally, and RGB color filters are arranged in a Bayer array for each pixel group; an interpolation processing unit that separates pixel values output from the polarization image sensor for each polarization component to generate four Bayer array images corresponding to the four polarization components, and calculates RGB values for each pixel by de-Bayering and up-converting each of the four Bayer array images; a luminance calculation unit that calculates a luminance value for each of the four polarization components from the RGB values for each of the four polarization components; and a luminance calculation unit that calculates the luminance values of the four polarization components from the RGB values for each of the four polarization components. The apparatus comprises a rank processing unit which ranks the four polarization components for each pixel in order of magnitude of their values; a reference generation unit which calculates a reference luminance value for each pixel by combining luminance values of multiple polarization components including at least the second and third ranked components; and a combination processing unit which a) outputs a reference RGB value by combining the RGB values of the multiple polarization components if the luminance value matches a predetermined threshold, b) outputs a composite RGB value by combining an upper RGB value by combining the RGB values of the first and second ranked polarization components with the reference RGB value if the reference luminance value is smaller than the threshold, and c) outputs a composite RGB value by combining a lower RGB value by combining the RGB values of the third and fourth ranked polarization components with the reference RGB value if the reference luminance value is smaller than the threshold.
[0007] Another aspect of the present invention is an endoscope system including the imaging device of the aspect. The endoscope system includes an endoscope including an insertion section having a tip portion directed toward a subject, a polarization image sensor provided in the tip portion, and a transmission cable provided in the insertion section for transmitting an output signal from the polarization image sensor, and an image processing device including an interpolation processing section, a luminance calculation section, a rank processing section, a reference generation section, and a synthesis processing section, and acquiring the output signal via the transmission cable.
[0008] Any combination of the above components or mutual substitution of the components or expressions of the present invention between methods, devices, systems, etc. are also valid as aspects of the present invention. Effect of the Invention
[0009] According to the present invention, a polarized image sensor can be used to produce a clear image. [Brief description of the drawings]
[0010] [Figure 1] 1 is a diagram illustrating a schematic configuration of an imaging device according to a first embodiment. [Diagram 2] FIG. 2 is a plan view illustrating a schematic configuration of a light detection layer of the polarization image sensor. [Diagram 3] FIG. 2 is a plan view illustrating a schematic configuration of a polarizer layer of the polarization image sensor. [Figure 4] FIG. 2 is a plan view illustrating a schematic configuration of a color filter layer of the polarization image sensor. [Diagram 5] FIG. 2 is a plan view illustrating a schematic configuration of a microlens layer of the polarization image sensor. [Figure 6] 10 is a diagram illustrating a flow of image processing by an interpolation processing unit. FIG. [Figure 7] FIG. 4 is a diagram illustrating a flow of image processing by a synthesis processing unit. [Figure 8] FIG. 11 is a diagram illustrating a schematic configuration of an imaging device according to a second embodiment. [Figure 9] FIG. 2 is a plan view illustrating a schematic configuration of a color filter layer of a non-polarized image sensor. [Figure 10] 11 is a graph showing an example of frequency characteristics of a low-pass filter used by a high-frequency extraction unit. [Figure 11] FIG. 4 is a diagram illustrating a flow of image processing by a second processing unit. [Figure 12] FIG. 13 is a diagram illustrating a schematic configuration of an imaging device according to a third embodiment. [Figure 13] FIG. 4 is a diagram illustrating a flow of image processing by a second processing unit. [Figure 14] FIG. 13 is a diagram illustrating a schematic configuration of an imaging device according to a fourth embodiment. [Figure 15] FIG. 13 is a diagram illustrating a schematic configuration of an imaging device according to a fifth embodiment. [Figure 16] FIG. 13 is a diagram illustrating an imaging unit according to a first configuration example of the fifth embodiment. [Figure 17] FIG. 13 is a diagram illustrating an imaging unit according to a second configuration example of the fifth embodiment. [Figure 18] FIG. 13 is a diagram illustrating an imaging unit according to a third configuration example of the fifth embodiment. [Figure 19] FIG. 13 is a diagram illustrating a schematic configuration of an endoscope system according to a sixth embodiment. [Figure 20] FIG. 13 is a diagram illustrating a schematic configuration of an endoscope system according to a seventh embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Specific numerical values and the like shown in the embodiment are merely examples for facilitating understanding of the invention, and do not limit the present invention unless otherwise specified. In the drawings, elements that are not directly related to the present invention are omitted.
[0012] (First embodiment) 1 is a diagram illustrating a schematic configuration of an imaging device 10 according to a first embodiment. The imaging device 10 includes an imaging unit 12 and an image processing device 14.
[0013] The imaging unit 12 includes an imaging lens 18 and a polarization image sensor 20 .
[0014] The imaging lens 18 is provided in front of the polarization image sensor 20. The imaging lens 18 is positioned to image the incident light 16 entering the imaging unit 12 onto the light receiving surface of the polarization image sensor 20. The imaging lens 18 may include any number of one or more optical lenses.
[0015] The polarization image sensor 20 includes a plurality of pixels for capturing an image of the incident light 16. The polarization image sensor 20 includes a light detection layer 22, a polarizer layer 24, a color filter layer 26, and a microlens layer 28. The light detection layer 22, the polarizer layer 24, the color filter layer 26, and the microlens layer 28 are arranged to overlap in the incident direction of the incident light 16. In the example of FIG. 1, the microlens layer 28, the color filter layer 26, the polarizer layer 24, and the light detection layer 22 are arranged in this order when viewed in the incident direction of the incident light 16. Note that the order in which the polarizer layer 24 and the color filter layer 26 are stacked does not matter, and for example, the microlens layer 28, the polarizer layer 24, the color filter layer 26, and the light detection layer 22 may be stacked in this order.
[0016] 2 is a plan view showing a schematic configuration of the light detection layer 22 of the polarization image sensor 20. The light detection layer 22 is configured similarly to a two-dimensional image sensor, such as a CCD (Charge Coupled Devices) sensor or a CMOS (Complementary Metal Oxide Semiconductor) sensor. The light detection layer 22 includes a photodiode 22a for detecting the incident light 16 and converting it into an electrical signal. The light detection layer 22 includes a plurality of photodiodes 22a that are two-dimensionally arranged. The light detection layer 22 includes, for example, one photodiode 22a for each pixel 30 of the polarization image sensor 20.
[0017] FIG. 3 is a plan view showing a schematic configuration of the polarizer layer 24 of the polarization image sensor 20. The polarizer layer 24 includes a first polarizer 24a, a second polarizer 24b, a third polarizer 24c, and a fourth polarizer 24d for detecting different polarization components for each pixel 30. That is, one of the four polarizers 24a to 24d is provided in one pixel 30. The first polarizer 24a selectively transmits a first polarization component that is linearly polarized in a first direction (for example, horizontal direction or 0 degree direction). The second polarizer 24b selectively transmits a second polarization component that is linearly polarized in a second direction (for example, right diagonal direction or 45 degree direction). The third polarizer 24c selectively transmits a third polarization component that is linearly polarized in a third direction (for example, vertical or 90 degree direction). The fourth polarizer 24d selectively transmits a fourth polarization component that is linearly polarized in a fourth direction (for example, left diagonal direction or 135 degree direction). The polarizers 24a to 24d are, for example, wire-grid type polarizers.
[0018] The polarizer layer 24 has a structure in which pixel groups 32, each having four pixels of 2×2 in length and width, are arranged two-dimensionally as a repeating unit. One pixel group 32 includes a first pixel provided with a first polarizer 24a, a second pixel provided with a second polarizer 24b, a third pixel provided with a third polarizer 24c, and a fourth pixel provided with a fourth polarizer 24d. The first polarizer 24a and the third polarizer 24c are provided in diagonal pixels in one pixel group 32. The second polarizer 24b and the fourth polarizer 24d are provided in diagonal pixels in one pixel group 32. Each of the four polarizers 24a to 24d is two-dimensionally arranged vertically and horizontally at every other pixel.
[0019] 4 is a plan view showing a schematic configuration of the color filter layer 26 of the polarization image sensor 20. The color filter layer 26 includes a red (R) filter 26a, a green (Gr) filter 26b, a blue (B) filter 26c, and a green (Gb) filter 26d arranged in a Bayer pattern for each pixel group 32. That is, one of the four color filters 26a to 26d is provided in one pixel group 32. Each of the four color filters 26a to 26d is arranged so as to occupy four pixels, 2×2 in length and width. The color filter layer 26 has a structure in which pixel sets 34, each of which includes four pixel groups 32 adjacent vertically and horizontally, are two-dimensionally arranged as a repeating unit. Each pixel set 34 includes 16 pixels, 4×4 in length and width.
[0020] 5 is a plan view showing a schematic configuration of the microlens layer 28 of the polarization image sensor 20. The microlens layer 28 includes a plurality of microlenses 28a arranged two-dimensionally. The microlens layer 28 includes, for example, one microlens 28a for each pixel 30 of the polarization image sensor 20.
[0021] Returning to Fig. 1, the image processing device 14 will be described. The image processing device 14 generates an image using the output signal of the polarization image sensor 20. The image processing device 14 includes a signal acquisition section 38, an interpolation processing section 40, a brightness calculation section 42, a rank processing section 44, a reference generation section 46, and a synthesis processing section 48.
[0022] The image processing device 14 may be configured by electronic circuits such as a DSP (Digital Signal Processor) or an ISP (Image Signal Processor) for executing signal processing or image processing by hardware. Each functional block constituting the image processing device 14 may be configured by one or more electronic circuits. The image processing device 14 may be realized by a combination of hardware and software. The hardware of the image processing device 14 may be realized by elements or mechanical devices such as a processor such as a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit), and a memory such as a ROM (Read Only Memory) or a RAM (Random Access Memory). The software of the image processing device 14 may be realized by a computer program or the like. In this case, the image processing device 14 is depicted as a functional block realized by cooperation of hardware and software. It is understood by those skilled in the art that the functional blocks of the image processing device 14 can be realized in various forms by a combination of hardware and software.
[0023] The signal acquisition section 38 acquires the image signal 36 output from the polarization image sensor 20. The image signal 36 corresponds to raw data output from the polarization image sensor 20, and is, for example, serial data of the pixel values of the pixels 30 read out in the order of the addresses of the pixels 30 of the polarization image sensor 20. The number of bits of the pixel values of the image signal 36 is not particularly limited, but is, for example, 12 bits.
[0024] The interpolation processing unit 40 generates color images of each of the four polarization components from the image signal 36 acquired by the signal acquisition unit 38. The interpolation processing unit 40 separates the pixel values included in the image signal 36 for each polarization component and generates four Bayer array images corresponding to the four polarization components. The interpolation processing unit 40 de-Bayers (Bayer conversion) and up-converts (horizontal and vertical interpolation) each of the four Bayer array images to generate four up-converted images in which the RGB values of each of the four polarization components are set for each pixel.
[0025] FIG. 6 is a diagram showing a schematic flow of image processing by the interpolation processing unit 40. For the sake of simplicity, FIG. 6 shows only 16 pixels, 4×4 in length and width, that constitute one pixel set 34. The input image 50 corresponds to RAW data based on the image signal 36, and only one pixel value is stored in each pixel 30. One pixel set 34 has 16 pixels that correspond to a combination of four colors (R, Gr, Gb, B) and four polarization components (1, 2, 3, 4). For example, pixel value R1 indicates the pixel value of a pixel of the first polarization component (1) of red (R) that has passed through the R filter 26a and the first polarizer 24a.
[0026] The interpolation processing unit 40 separates the input image 50 into four Bayer array images 52a, 52b, 52c, and 52d for each polarization component. The first Bayer array image 52a is composed of pixel values R1, Gr1, Gb1, and B1 of the first polarization component of four colors (R, Gr, Gb, and B). The positions (phases) of the pixel values R1, Gr1, Gb1, and B1 are common to the input image 50. The second Bayer array image 52b is composed of pixel values R2, Gr2, Gb2, and B2 of the second polarization component of four colors (R, Gr, Gb, and B). The positions (phases) of the pixel values R2, Gr2, Gb2, and B2 are common to the input image 50. The third Bayer array image 52c is composed of pixel values R3, Gr3, Gb3, and B3 of the third polarization component of four colors (R, Gr, Gb, and B). The positions (phases) of the pixel values R3, Gr3, Gb3, and B3 are common to the input image 50. The fourth Bayer array image 52d is composed of pixel values R4, Gr4, Gb4, and B4 of the fourth polarization components of four colors (R, Gr, Gb, and B). The positions (phases) of the pixel values R4, Gr4, Gb4, and B4 are common to the input image 50.
[0027] The interpolation processing unit 40 de-Bayers each of the four Bayer array images 52a to 52d to generate de-Bayered images 54a, 54b, 54c, and 54d in which one RGB value is stored for each 2×2 pixel (i.e., pixel group 32). The first de-Bayered image 54a is generated by de-Bayering the first Bayer array image 52a. Any known technique can be used for the de-Bayering process. The first de-Bayered image 54a is composed of RGB values RGB11, RGB12, RGB13, and RGB14 that correspond to the position (phase) of the pixel at which the first polarizer 24a is provided in the pixel group 32. Here, the RGB values are array data having pixel values (R, G, B) of R, G, and B values, respectively.
[0028] Unless otherwise specified, "RGB" in the following formulas basically means calculations using an array (R,G,B) with R, G, and B values, and means that it is a formula calculated for each of the R, G, and B values. In other words, the notation "RGB" is used for the purpose of simplifying the notation of the calculations of each of the R, G, and B values for explanation purposes.
[0029] The second de-Bayered image 54b is generated by de-Bayering the second Bayer array image 52b. The second de-Bayered image 54b is composed of RGB values RGB21, RGB22, RGB23, and RGB24 corresponding to the position (phase) of the pixel at which the second polarizer 24b is provided in the pixel group 32. The third de-Bayered image 54c is generated by de-Bayering the third Bayer array image 52c. The third de-Bayered image 54c is composed of RGB values RGB31, RGB32, RGB33, and RGB34 corresponding to the position (phase) of the pixel at which the third polarizer 24c is provided in the pixel group 32. The fourth de-Bayered image 54d is generated by de-Bayering the fourth Bayer array image 52d. The fourth de-Bayered image 54d is composed of RGB values RGB41, RGB42, RGB43, and RGB44 corresponding to the position (phase) of the pixel at which the fourth polarizer 24d is provided in the pixel group 32.
[0030] The interpolation processing unit 40 generates four up-converted images 56a, 56b, 56c, and 56d by up-converting each of the four de-Bayered images 54a to 54d. The interpolation processing unit 40 generates four up-converted images 56a to 56d by interpolating the pixel values of each of the four de-Bayered images 54a to 54d in the horizontal and vertical directions. Any known technology can be used for the up-conversion process. In the example of FIG. 6, up-conversion is performed at a factor of 2 both vertically and horizontally, but the magnification of the up-conversion process is not particularly important and can be configured to be variable to any magnification.
[0031] The first up-converted image 56a is generated from the first de-Bayered image 54a. The first up-converted image 56a further includes RGB values corresponding to the positions (phases) of pixels different from the pixels where the first polarizer 24a is provided. The first up-converted image 56a further includes, for example, RGB values RGB11b, RGB12b, RGB13b, and RGB14b corresponding to the positions (phases) of pixels where the second polarizer 24b is provided. The first up-converted image 56a further includes, for example, RGB values RGB11c, RGB12c, RGB13c, and RGB14c corresponding to the positions (phases) of pixels where the third polarizer 24c is provided. The first up-converted image 56a further includes, for example, RGB values RGB11d, RGB12d, RGB13d, and RGB14d corresponding to the positions (phases) of pixels where the fourth polarizer 24d is provided. Therefore, the first up-converted image 56a in FIG. 6 has RGB values of the first polarization component set for each pixel of the same number of pixels as the input image 50.
[0032] The second up-converted image 56b is generated from the second de-Bayered image 54b. The second up-converted image 56b further includes RGB values corresponding to the positions (phases) of pixels different from the pixels where the second polarizer 24b is provided. The second up-converted image 56b further includes, for example, RGB values RGB21a, RGB22a, RGB23a, and RGB24a corresponding to the positions (phases) of pixels where the first polarizer 24a is provided. The second up-converted image 56b further includes, for example, RGB values RGB21c, RGB22c, RGB23c, and RGB24c corresponding to the positions (phases) of pixels where the third polarizer 24c is provided. The second up-converted image 56b further includes, for example, RGB values RGB21d, RGB22d, RGB23d, and RGB24d corresponding to the positions (phases) of pixels where the fourth polarizer 24d is provided. Therefore, the second up-converted image 56b in FIG. 6 has RGB values of the second polarization component set for each pixel of the same number of pixels as the input image 50.
[0033] The third up-converted image 56c is generated from the third de-Bayered image 54c. The third up-converted image 56c further includes RGB values corresponding to the positions (phases) of pixels different from the pixels where the third polarizer 24c is provided. The third up-converted image 56c further includes, for example, RGB31a, RGB32a, RGB33a, and RGB34a that are RGB values corresponding to the positions (phases) of pixels where the first polarizer 24a is provided. The third up-converted image 56c further includes, for example, RGB31b, RGB32b, RGB33b, and RGB34b that are RGB values corresponding to the positions (phases) of pixels where the second polarizer 24b is provided. The third up-converted image 56c further includes, for example, RGB31d, RGB32d, RGB33d, and RGB34d that are RGB values corresponding to the positions (phases) of pixels where the fourth polarizer 24d is provided. Therefore, the third up-converted image 56c in FIG. 6 has RGB values of the third polarization component set for each pixel of the same number of pixels as the input image 50.
[0034] The fourth up-converted image 56d is generated from the fourth de-Bayered image 54d. The fourth up-converted image 56d further includes RGB values corresponding to the positions (phases) of pixels different from the pixels where the fourth polarizer 24d is provided. The fourth up-converted image 56d further includes, for example, RGB values RGB41a, RGB42a, RGB43a, and RGB44a corresponding to the positions (phases) of pixels where the first polarizer 24a is provided. The fourth up-converted image 56d further includes, for example, RGB values RGB41b, RGB42b, RGB43b, and RGB44b corresponding to the positions (phases) of pixels where the second polarizer 24b is provided. The fourth up-converted image 56d further includes, for example, RGB values RGB41c, RGB42c, RGB43c, and RGB44c corresponding to the positions (phases) of pixels where the third polarizer 24c is provided. 6 has the RGB values of the fourth polarization component set for each pixel of the same number of pixels as the input image 50.
[0035] The interpolation processing unit 40 generates four up-converted images 56a to 56d corresponding to the four polarization components in this manner, thereby calculating the RGB values of each of the four polarization components for each pixel. For example, the RGB values of the four polarization components in the pixel corresponding to pixel value R1 in the input image 50 in FIG. 6 are RGB11, RGB21a, RGB31a, and RGB41a.
[0036] Hereinafter, the RGB values of the four polarization components of each pixel output from the interpolation processing unit 40 will be represented as RGBa, RGBb, RGBc, and RGBd. RGBa is the RGB value of the first polarization component, RGBb is the RGB value of the second polarization component, RGBc is the RGB value of the third polarization component, and RGBd is the RGB value of the fourth polarization component. If the pixel corresponding to pixel value R1 in input image 50 in Fig. 6 is taken as the pixel of interest, then RGBa = RGB11, RGBb = RGB21a, RGBc = RGB31a, and RGBd = RGB41a.
[0037] 1, the luminance calculation unit 42 calculates the luminance value (Y value) of each of the four polarization components for each pixel from the RGB values (RGBa to RGBd) of each of the four polarization components. The luminance calculation unit 42 can calculate the Y value from the RGB values, for example, using the following formula (1) defined by the international standard (ITU-R BT.709) that specifies video signals for the HDTV broadcasting system. Y=0.2126R+0.7152G+0.0722B…(1) The luminance calculation section 42 calculates, for each pixel, a luminance value Ya of the first polarized component, a luminance value Yb of the second polarized component, a luminance value Yc of the third polarized component, and a luminance value Yd of the fourth polarized component.
[0038] The rank processing unit 44 ranks the four polarization components for each pixel in the order of the magnitude of the luminance values Ya to Yd of the four polarization components. The rank processing unit 44 outputs rank signals D1 to D4 indicating the first to fourth polarization components. The rank processing unit 44 outputs, for example, a first-rank signal D1 indicating the polarization component with the maximum luminance value, a second-rank signal D2 indicating the polarization component with the second largest luminance value, a third-rank signal D3 indicating the polarization component with the second largest luminance value, and a fourth-rank signal D4 indicating the polarization component with the minimum luminance value. Each of the rank signals D1 to D4 outputs, for example, one of values "0", "1", "2", and "3" as an identification value (number) for distinguishing the four polarization components. For example, the first polarization component is "0", the second polarization component is "1", the third polarization component is "2", and the fourth polarization component is "3". As an example, if the magnitude of the luminance value at a particular pixel is Yc>Yb>Yd>Ya, then the first order signal D1 = 2, the second order signal D2 = 1, the third order signal D3 = 3, and the fourth order signal D4 = 0. Note that the order of the four polarization components may differ for each pixel, so the output values of the four order signals D1 to D4 may differ for each pixel.
[0039] The reference generating unit 46 calculates a reference luminance value Ys for each pixel by combining the luminance values of a plurality of polarization components. The reference luminance value Ys can be calculated using the following formula (2). Ys=k1·Y1+k2·Y2+k3·Y3+k4·Y4…(2) Here, the luminance values Y1 to Y4 are the luminance values of the first to fourth polarized components ranked by the rank processing unit 44. The coefficients k1 to k4 are weighting coefficients for combining the luminance values Y1 to Y4. The coefficients k1 to k4 are set so that at least the second coefficient k2 and the third coefficient k3 are not 0. In other words, the reference luminance value Ys is calculated by combining at least the luminance values Y2 and Y3 of the second and third polarized components. Thereby, the reference luminance value Ys can represent an intermediate luminance value of the luminance values Y1 to Y4 of the four polarized components. For example, the four coefficients k1 to k4 can be k1=0, k2=0.5, k3=0.5, and k4=0. In this case, the reference luminance value Ys is the average value of the luminance values Y2 and Y3 of the second and third polarized components. For example, the four coefficients k1 to k4 can be set as k1 = 0.25, k2 = 0.25, k3 = 0.25, and k4 = 0.25. In this case, the reference luminance value Ys is the average value of the four polarization components Y1 to Y4.
[0040] The synthesis processing unit 48 calculates a composite RGB value for each pixel by synthesizing the RGB values of multiple polarization components. The synthesis processing unit 48 changes the calculation method of the composite RGB value depending on the magnitude of the reference luminance value Ys. When the reference luminance value Ys matches a predetermined threshold value Yth (i.e., Ys=Yth), the synthesis processing unit 48 sets the reference RGB value (RGBs) as the composite RGB value (RGBm) (i.e., RGBm=RGBs). The reference RGB value (RGBs) is a weighted average of the RGB values of the four polarization components using coefficients k1 to k4, and can be calculated using the following formula (3). RGBs=k1·RGB1+k2·RGB2+k3·RGB3+k4·RGB4…(3) Here, the values of coefficients k1 to k4 are the same as those when the reference generation unit 46 calculates the reference luminance value Ys. For example, k1 = 0, k2 = 0.5, k3 = 0.5, k4 = 0. Also, RGB1 to RGB4 are the RGB values of the first to fourth polarized components ranked by the ranking processing unit 44. The threshold value Yth is set to be a luminance value that appears to be of medium brightness between black (e.g., the minimum luminance value Ymin) and white (e.g., the maximum luminance value Ymax). For example, it can be set to a value of 18% of the maximum luminance value Ymax. When the luminance value is 12 bits, Ymax = 4095 and Yth = 737.
[0041] When the reference luminance value Ys is smaller than a predetermined threshold value Yth (that is, Ys < Yth), the composite processing unit 48 calculates a composite RGB value by combining the upper RGB value (RGBt) obtained by combining the RGB values of the first and second polarized components and the reference RGB value (RGBs). When the reference luminance value Ys is smaller than the threshold value Yth, by combining the upper RGB value having a value larger than the reference RGB value, the composite RGB value can be made larger than the reference RGB value. Thereby, black crush in dark pixels can be suppressed.
[0042] The upper RGB value (RGBt) is a weighted average value of the RGB value (RGB1) of the first polarized component and the RGB value (RGB2) of the second polarized component. The composite processing unit 48 can calculate the upper RGB value (RGBt) for each pixel using, for example, the following formula (4). RGBt=(RGB1·RGB1+RGB2·RGB2) / (RGB1+RGB2)…(4) In the above formula (4), since it is weighted by the magnitudes of the brightnesses of RGB1 and RGB2, the weight of the combination of the RGB value (RGB1) of the first polarized component becomes larger.
[0043] When Ys < Yth, the composite processing unit 48 can calculate the composite RGB value (RGBm) for each pixel using the following formula (5). RGBm=t·RGBt+(1-t)·RGBs…(5) Here, the upper weighting coefficient t can be calculated for each pixel using the following formula (6). t = (Yth - Ys) / Yth…(6) The upper weighting coefficient t is set to increase as the reference luminance value Ys decreases according to the above formula (6). For example, when Ys = Yth, t = 0, and in the above formula (5), RGBm = RGBs. When Ys = 0, t = 1, and in the above formula (5), RGBm = RGBt. Therefore, when Ys < Yth, as the reference luminance value Ys decreases (i.e., gets darker), the weighting of the upper RGB value (RGBt) in the combined RGB value (RGBm) increases, and the weighting of the reference RGB value (RGBs) decreases.
[0044] When the reference luminance value Ys is greater than a predetermined threshold value Yth (i.e., Ys > Yth), the combining processing unit 48 calculates a combined RGB value by combining a lower RGB value (RGBu) obtained by combining the RGB values of the third and fourth polarization components and the reference RGB value (RGBs). When the reference luminance value Ys is greater than the threshold value Yth, by combining a lower RGB value having a value smaller than the reference RGB value, the combined RGB value can be made smaller than the reference RGB value. Thereby, white bleeding in bright pixels can be suppressed.
[0045] The lower RGB value (RGBu) is a weighted average value of the RGB value (RGB3) of the third polarization component and the RGB value (RGB4) of the fourth polarization component. The combining processing unit 48 can calculate the upper RGB value (RGBu) for each pixel using, for example, the following formula (7). RGBu = [RGB4·(RGBmax - RGB4)+RGB3·(RGBmax - RGB3)] / [(RGBmax - RGB4)+(RGBmax - RGB3)]…(7) Here, RGBmax is the maximum pixel value of the RGB value. When the pixel value is 12 bits, RGBmax = 4095. In the above formula (7), a value obtained by subtracting the RGB value from the maximum pixel value (RGBmax) is used as the weighting coefficient. The value obtained by subtracting the RGB value from the maximum pixel value (RGBmax) represents the magnitude of the darkness of the RGB value. In the above formula (7), since the magnitudes of the darkness of RGB4 and RGB3 are weighted-averaged, the weighting of the combination of the RGB value (RGB4) of the fourth polarization component increases.
[0046] When Ys>Yth, the synthesis processing unit 48 can calculate the synthesis RGB value (RGBm) for each pixel using the following formula (8). RGBm=u·RGBu+(1-u)·RGBs…(8) Here, the lower-order weighting coefficient u can be calculated for each pixel using the following equation (9). u = (Ys - Yth) / (Ymax - Yth) ... (9) According to the above formula (9), the lower weighting coefficient u is set to increase as the reference luminance value Ys increases. For example, when Ys=Yth, u=0, and the above formula (8) becomes RGBm=RGBs. When Ys=Ymax, u=1, and the above formula (8) becomes RGBm=RGBu. Therefore, when Ys>Yth, as the reference luminance value Ys increases (i.e., becomes brighter), the weighting of the lower RGB value (RGBu) in the composite RGB value (RGBm) increases, and the weighting of the reference RGB value (RGBs) decreases.
[0047] Fig. 7 is a diagram showing a schematic flow of image processing by the synthesis processing unit 48. Fig. 7 shows a flow of processing from inputting the RGB values (RGBa to RGBd) of the four polarization components output from the interpolation processing unit 40 to outputting a synthetic RGB value (RGBm). Fig. 7 also shows the luminance calculation unit 42, rank processing unit 44, and reference generation unit 46.
[0048] The luminance calculation unit 42 uses the RGB values (RGBa to RGBd) of the four polarization components as input, and outputs the luminance values (Ya to Yd) of the four polarization components. The luminance calculation unit 42 calculates the luminance values (Ya to Yd) from the RGB values (RGBa to RGBd) using the above formula (1).
[0049] The rank processing unit 44 uses the luminance values (Ya to Yd) output from the luminance calculation unit 42 as input, ranks the magnitude of the luminance values, and outputs rank signals D1 to D4 indicating the ranks of the four polarized light components.
[0050] The reference generating unit 46 uses as input the luminance values (Ya to Yd) output from the luminance calculation unit 42 and the rank signals (D1 to D4) output from the rank processing unit 44, and outputs a reference luminance value Ys. The reference generating unit 46 calculates the reference luminance value Ys using the above formula (2). The reference generating unit 46 can use, for example, values of coefficients k1 to k4 specified by a register (not shown).
[0051] The synthesis processing unit 48 includes a reference synthesis unit 60 , an upper synthesis unit 62 , a lower synthesis unit 64 , a coefficient calculation unit 66 , and an output synthesis unit 68 .
[0052] The reference synthesis unit 60 uses the RGB values (RGBa to RGBd) of the four polarization components output from the interpolation processing unit 40 and the rank signals (D1 to D4) output from the rank processing unit 44 as inputs to calculate a reference RGB value (RGBs). The reference synthesis unit 60 calculates the reference RGB value (RGBs) using the above formula (3). The reference synthesis unit 60 sets the RGB value of the polarization component specified by the value of the first-order signal D1 as RGB1, the RGB value of the polarization component specified by the value of the second-order signal D2 as RGB2, the RGB value of the polarization component specified by the value of the third-order signal D3 as RGB3, and the RGB value of the polarization component specified by the value of the fourth-order signal D4 as RGB4. The reference synthesis unit 60 can use the values of the coefficients k1 to k4 specified by a register (not shown) common to the luminance calculation unit 42, for example.
[0053] The upper synthesis unit 62 calculates a higher RGB value (RGBt) using as input the RGB values (RGBa to RGBd) of the four polarization components output from the interpolation processing unit 40 and the first-order signal D1 and second-order signal D2 output from the rank processing unit 44. The upper synthesis unit 62 sets the RGB value of the polarization component specified by the value of the first-order signal D1 to RGB1, sets the RGB value of the polarization component specified by the value of the second-order signal D2 to RGB2, and calculates the higher RGB value (RGBt) using the above formula (4).
[0054] The lower synthesis unit 64 calculates a lower RGB value (RGBu) using, as inputs, the RGB values (RGBa to RGBd) of the four polarization components output from the interpolation processing unit 40 and the 3-bit signal D3 and 4-bit signal D4 output from the rank processing unit 44. The lower synthesis unit 64 designates the RGB value of the polarization component specified by the value of the 3-bit signal D3 as RGB3, designates the RGB value of the polarization component specified by the value of the 4-bit signal D4 as RGB4, and calculates the lower RGB value (RGBu) using the above formula (7).
[0055] The coefficient calculation unit 66 calculates a higher weighting coefficient t and a lower weighting coefficient u using, as an input, the reference luminance value Ys output from the reference synthesis unit 60. The coefficient calculation unit 66 calculates the higher weighting coefficient t using the above formula (6). The coefficient calculation unit 66 calculates the lower weighting coefficient u using the above formula (9). The coefficient calculation unit 66 can use, for example, the value of Yth specified by a register (not shown).
[0056] The output synthesis unit 68 calculates a synthesized RGB value (RGBm) using, as inputs, the reference luminance value Ys output from the reference generation unit 46, the reference RGB value (RGBs) output from the reference synthesis unit 60, the higher RGB value (RGBt) output from the higher synthesis unit 62, the lower RGB value (RGBu) output from the lower synthesis unit 64, and the higher weighting coefficient t and lower weighting coefficient u output from the coefficient calculation unit 66. The output synthesis unit 68: a) sets the synthesized RGB value (RGBm) to be the same as the reference RGB value (RGBs) when Ys = Yth; b) calculates the synthesized RGB value (RGBm) by synthesizing the higher RGB value (RGBt) and the reference RGB value (RGBs) using the above formula (5) when Ys < Yth; and c) calculates the synthesized RGB value (RGBm) by synthesizing the lower RGB value (RGBu) and the reference RGB value (RGBs) using the above formula (8) when Ys > Yth.
[0057] The output blending unit 68, for example, sequentially calculates a composite RGB value (RGBm) for each pixel for all pixels to be processed. In this way, the output blending unit 68 can generate a color image in which the RGB value of each pixel is the composite RGB value (RGBm).
[0058] According to this embodiment, a color image in which whiteout and blackout are suppressed can be generated by combining the RGB values of four polarization components acquired by using a polarization image sensor. When using a normal (non-polarized) image sensor that does not use a polarizer, a color image with whiteout and blackout may be generated depending on the way light is reflected on the subject. For example, when trying to capture a subject through glass, whiteout may occur due to light strongly reflected on the glass surface, resulting in an image in which the subject on the other side of the glass cannot be properly captured. In addition, when a subject is exposed to strong light, blackout may occur in the image in the shadow of the subject. According to this embodiment, by using a reference RGB value (RGBs) obtained by combining the RGB values of multiple polarization components including at least the second and third polarization components as the base of the pixel value, the influence of the highest (i.e., first) polarization component that may cause whiteout can be suppressed, and the influence of the lowest (i.e., fourth) polarization component that may cause blackout can be suppressed.
[0059] According to this embodiment, in a pixel having a relatively large reference luminance value Ys, the contribution of the lower RGB value (RGBu) is increased to calculate a composite RGB value (RGBm), so that the pixel value can be made smaller than when the reference RGB value is used. This makes it possible to suitably suppress the occurrence of blown-out highlights. For example, as the reference luminance value Ys increases, the weighting of the composite of the lower RGB value (RGBu) is increased, so that the occurrence of blown-out highlights can be more suitably suppressed. Also, in a pixel having a relatively small reference luminance value Ys, the contribution of the higher RGB value (RGBt) is increased to calculate a composite RGB value (RGBm), so that the pixel value can be made larger than when the reference RGB value is used. This makes it possible to suitably suppress the occurrence of crushed black. For example, as the reference luminance value Ys decreases, the weighting of the composite of the higher RGB value (RGBt) is increased, so that the occurrence of crushed black can be more suitably suppressed.
[0060] Second embodiment 8 is a diagram showing a schematic configuration of an imaging device 10A according to the second embodiment. The imaging device 10A according to the second embodiment includes an imaging unit 12A and an image processing device 14A. Hereinafter, the second embodiment will be described with a focus on differences from the first embodiment, and commonalities will be omitted as appropriate. In the drawings, the same reference numerals are given to configurations similar to those of the first embodiment.
[0061] The imaging unit 12A includes an imaging lens 18, a polarization image sensor 20, a non-polarized image sensor 70, and a light splitting element 80. The imaging lens 18 and the polarization image sensor 20 are configured similarly to the first embodiment. The imaging unit 12A differs from the first embodiment in that it further includes a non-polarized image sensor 70 and a light splitting element 80.
[0062] The light splitting element 80 is disposed after the imaging lens 18. The light splitting element 80 splits the incident light 16 that has passed through the imaging lens 18 into a first light 16a and a second light 16b. The first light 16a is incident on the polarization image sensor 20, and the second light 16b is incident on the non-polarized image sensor 70. The light splitting element 80 is, for example, a non-polarized beam splitter, and splits the incident light 16 into the first light 16a and the second light 16b at an intensity ratio of 1:1. The partial reflection surface of the light splitting element 80 is formed of a half mirror made of, for example, a metal thin film.
[0063] The polarized image sensor 20 captures an image of the first light 16a split by the light splitting element 80. The non-polarized image sensor 70 captures an image of the second light 16b split by the light splitting element 80. The polarized image sensor 20 and the non-polarized image sensor 70 are arranged coaxially with respect to the optical axis of the incident light 16. The imaging lens 18 is arranged to form an image of the incident light 16 on the light receiving surfaces of the polarized image sensor 20 and the non-polarized image sensor 70, respectively.
[0064] The non-polarized image sensor 70 includes a plurality of pixels for capturing an image of the incident light 16. The non-polarized image sensor 70 includes a light detection layer 72, a color filter layer 76, and a microlens layer 78. The non-polarized image sensor 70 differs from the polarized image sensor 20 in that the non-polarized image sensor 70 does not include a polarizer layer.
[0065] The number of pixels of the non-polarized image sensor 70 is greater than the number of pixel groups 32 arranged in the polarization image sensor 20. Therefore, the number of vertical and horizontal pixels of the non-polarized image sensor 70 is greater than half the number of vertical and horizontal pixels of the polarization image sensor 20. The number of vertical and horizontal pixels of the non-polarized image sensor 70 may be the same as the number of vertical and horizontal pixels of the polarization image sensor 20. The number of vertical and horizontal pixels of the non-polarized image sensor 70 may be greater than the number of vertical and horizontal pixels of the polarization image sensor 20, for example, two or four times the number of vertical and horizontal pixels of the polarization image sensor 20.
[0066] The light detection layer 72 is configured similarly to a two-dimensional image sensor such as a CCD (Charge Coupled Devices) sensor or a CMOS (Complementary Metal Oxide Semiconductor) sensor. The light detection layer 72 can be configured similarly to the light detection layer 22 of the polarization image sensor 20. The light detection layer 72 includes, for example, one photodiode for each pixel of the non-polarized image sensor 70. When the number of pixels of the non-polarized image sensor 70 and the number of pixels of the polarization image sensor 20 match, the light detection layer 72 may have the same specifications as the light detection layer 22 of the polarization image sensor 20.
[0067] 9 is a plan view showing a schematic configuration of the color filter layer 76 of the non-polarized image sensor 70. The color filter layer 76 includes a red (R) filter 76a, a green (Gr) filter 76b, a blue (B) filter 76c, and a green (Gb) filter 76d arranged in a Bayer array for each pixel 82 of the non-polarized image sensor 70. The color filter layer 76 has a structure in which pixel groups 84, each of which includes 2×2 pixels in the vertical and horizontal directions, are arranged two-dimensionally as repeating units.
[0068] 8, the microlens layer 78 includes a plurality of microlenses that are two-dimensionally arranged. The microlens layer 78 can be configured similarly to the microlens layer 28 of the polarized image sensor 20. The microlens layer 78 includes, for example, one microlens for each pixel 82 of the unpolarized image sensor 70.
[0069] The image processing device 14A generates an image using the output signal of the polarization image sensor 20 and the output signal of the non-polarization image sensor 70. The image processing device 14A includes a first processing unit 92, a second processing unit 94, and an addition processing unit 96.
[0070] The first processing unit 92 executes signal processing or image processing using as input the first image signal 36 output from the polarization image sensor 20. The first processing unit 92 includes a first signal acquisition unit 38, a first interpolation processing unit 40, a luminance calculation unit 42, a rank processing unit 44, a reference generation unit 46, and a synthesis processing unit 48. It realizes the same functions as the image processing device 14 according to the first embodiment.
[0071] The first processing unit 92 outputs a composite RGB value (RGBm) obtained by combining the RGB values of the four polarization components to the addition processing unit 96. The first processing unit 92 may output the RGB values (RGBa to RGBd) of the four polarization components to the addition processing unit 96, instead of the composite RGB value (RGBm). The first processing unit 92 may output the composite RGB value (RGBm) and the RGB values (RGBa to RGBd) of the four polarization components to the addition processing unit 96.
[0072] The second processing unit 94 performs signal processing or image processing using as input the second image signal 86 output from the non-polarized image sensor 70. The second processing unit 94 includes a second signal acquisition unit 98, a second interpolation processing unit 100, and a high-frequency extraction unit 102.
[0073] The second signal acquisition section 98 acquires a second image signal 86 output from the non-polarized image sensor 70. The second image signal 86 corresponds to raw (RAW) data output from the non-polarized image sensor 70, and is, for example, serial data of pixel values of each pixel 82 read out in the order of addresses of each pixel 82 of the non-polarized image sensor 70. The second image signal 86 is not strictly RAW data, but may be data in which correction processes such as white balance adjustment and gain adjustment have been performed on the RAW data. The number of bits of the pixel values of the second image signal 86 is not particularly limited, but is, for example, 12 bits.
[0074] The second interpolation processing unit 100 generates one color image from the second image signal 86 acquired by the second signal acquisition unit 98. The second interpolation processing unit 100 calculates RGB values to be set for each pixel 82 of the non-polarized image sensor 70 by performing a known de-Bayer process.
[0075] The second interpolation processing unit 100 may resize the de-Bayered image generated by the de-Bayering process when the number of pixels of the unpolarized image sensor 70 is different from the number of pixels of the polarized image sensor 20. In this way, the second interpolation processing unit 100 generates a color image whose number of pixels in both the vertical and horizontal directions is the same as that of the output image of the first processing unit 92.
[0076] The high frequency extraction unit 102 extracts high frequency components of the RGB values of each pixel of the color image output from the second interpolation processing unit 100, and generates a high frequency color image. The RGB values of each pixel of the high frequency color image are array data having pixel values (Rh, Gh, Bh) of the high frequency component of the R value (Rh), the high frequency component of the G value (Gh), and the high frequency component of the B value (Bh).
[0077] The high frequency extraction unit 102 can calculate high frequency components by extracting low frequency components from the color image output from the second interpolation processing unit 100 and subtracting the low frequency components from the original color image. As a low pass filter (LPF) for extracting low frequency components, for example, a FIR (Finite Impulse Response) filter with a cutoff frequency fc equal to ¼ of the sampling frequency fs (i.e., fc=fs / 4) can be used. Fig. 10 shows an example of the frequency characteristics of a low pass filter used by the high frequency extraction unit 102. Note that the LPF used in the high frequency extraction unit 102 is not limited to the one shown in Fig. 10, and the cutoff frequency fc may be smaller or larger than ¼ of the sampling frequency fs.
[0078] Fig. 11 is a diagram showing a schematic flow of image processing by the second processing unit 94. For the sake of simplicity, Fig. 11 shows only 16 pixels cut out in a 4 x 4 matrix. The input image 104 corresponds to RAW data based on the second image signal 86, and only one pixel value is stored for each pixel. The input image 104 is a Bayer array image corresponding to the array of the color filter layer 76.
[0079] The second interpolation processing unit 100 generates a de-Bayered image 106 from the input image 104. The de-Bayered image 106 is a color image in which RGB values are stored in each pixel. In the example of Fig. 11, the resizing process for the de-Bayered image 106 is omitted, but the second interpolation processing unit 100 may generate a color image by resizing the de-Bayered image 106.
[0080] The high frequency extraction unit 102 generates a high frequency color image 108 from the color image output from the second interpolation processing unit 100. The high frequency color image 108 is a color image in which high frequency RGB values (RGBh) indicating high frequency components of RGB values are stored in each pixel.
[0081] Returning to Fig. 8, the addition processing unit 96 generates a high-resolution color image by adding, for each pixel, the composite RGB value (RGBm) output from the composition processing unit 48 of the first processing unit 92 and the high-frequency RGB value (RGBh) output from the second processing unit 94. The RGB value (RGBhr) of each pixel of the high-resolution color image is the composite RGB value (RGBm) plus the high-frequency RGB value (RGBh), RGBhr = RGBm + RGBh. The addition processing unit 96 may calculate the high-resolution RGB value (RGBhr) using the formula RGBhr = RGBm + h RGBh by using a weighting coefficient h.
[0082] The addition processing unit 96 may add, for each pixel, the RGB values (RGBa to RGBd) of the four polarization components output from the first interpolation processing unit 40 of the first processing unit 92 and the high-frequency RGB value (RGBh) output from the second processing unit 94 to generate a high-resolution color image. The addition processing unit 96 may add the high-frequency RGB value (RGBh) to the RGB value (RGBa) of the first polarization component to calculate a high-resolution RGB value (RGBhra=RGBa+RGBh) of the first polarization component. The addition processing unit 96 may add the high-frequency RGB value (RGBh) to the RGB value (RGBb) of the second polarization component to calculate a high-resolution RGB value (RGBhrb=RGBb+RGBh) of the second polarization component. The addition processing unit 96 may add the high-frequency RGB value (RGBh) to the RGB value (RGBc) of the third polarization component to calculate a high-resolution RGB value (RGBhrc=RGBc+RGBh) of the third polarization component. The addition processing unit 96 may add the high-frequency RGB value (RGBh) to the RGB value (RGBd) of the fourth polarized component to calculate the high-resolution RGB value (RGBhrd=RGBd+RGBh) of the fourth polarized component.
[0083] According to this embodiment, a high-resolution color image can be generated by adding high-frequency components obtained from the output signal of the non-polarized image sensor 70 to a color image obtained from the output signal of the polarization image sensor 20. This makes it possible to obtain a high-resolution color image with suppressed aliasing without using an optical low-pass filter.
[0084] Since the polarization image sensor 20 uses pixel sets 34 each having 4×4 pixels as a repeating unit, the resolution is likely to be lower than that of a normal (non-polarized) image sensor using 2×2 pixels as a repeating unit. Furthermore, if an optical low-pass filter is applied to the polarization image sensor 20 in order to suppress aliasing, the polarization state will change due to the optical low-pass filter, making it impossible to detect the appropriate polarization component. As a result, when the polarization image sensor 20 is used, an optical low-pass filter cannot be employed, and therefore the aliasing may be noticeable in the image.
[0085] According to this embodiment, by using a non-polarized image sensor 70 that does not have a polarizer layer, it is possible to easily obtain an image with higher resolution than the polarization image sensor 20, and to extract high-frequency components that contribute to the high resolution. By adding such high-frequency components to the image obtained by using the polarization image sensor 20, it is possible to generate a color image with high resolution and reduced aliasing distortion.
[0086] According to this embodiment, it is possible to generate a color image in which blown-out highlights and crushed shadows are suppressed, as in the first embodiment. By adding high-frequency components (high-frequency RGB values, RGBh) to a color image in which blown-out highlights and crushed shadows are suppressed (composite RGB values, RGBm), it is possible to generate a more suitable color image (high-resolution RGB values, RGBhr) that has high resolution, suppresses aliasing distortion, and suppresses blown-out highlights and crushed shadows.
[0087] According to this embodiment, by adding the high-frequency component (RGBh) to the color images (RGBa to RGBd) of the four polarization components, a more preferable polarization color image (RGBhra to RGBhrd) can be generated that has high resolution and suppresses aliasing distortion.
[0088] The addition processing unit 96 according to the second embodiment may calculate only at least one of the high-resolution RGB values (RGBhra to RGBhrd) of the four polarization components without calculating the high-resolution RGB value (RGBhr) using the composite RGB value (RGBm). In this case, the first processing unit 92 may not include the luminance calculation unit 42, the rank processing unit 44, the reference generation unit 46, and the composite processing unit 48. The first processing unit 92 may include only the first signal acquisition unit 38 and the first interpolation processing unit 40.
[0089] Third embodiment 12 is a diagram showing a schematic configuration of an imaging device 10B according to a third embodiment. The imaging device 10B according to the third embodiment includes an imaging unit 12B and an image processing device 14B. Hereinafter, the third embodiment will be described with a focus on differences from the third embodiment, and commonalities will be omitted as appropriate. In the drawings, the same reference numerals are given to configurations similar to those of the first or second embodiment.
[0090] The imaging unit 12B includes an imaging lens 18, a polarization image sensor 20, a non-polarized image sensor 70B, and a light splitting element 80. The imaging lens 18 and the polarization image sensor 20 are configured similarly to the first embodiment. The light splitting element 80 is configured similarly to the second embodiment.
[0091] The non-polarized image sensor 70B includes a light detection layer 72 and a microlens layer 78. The non-polarized image sensor 70B differs from the non-polarized image sensor 70 according to the second embodiment in that it does not include a color filter layer 76. Since the non-polarized image sensor 70B does not include the color filter layer 76, it functions as a non-polarized monochrome image sensor.
[0092] The image processing device 14B includes a first processing unit 92, a second processing unit 94B, and an addition processing unit 96B. The first processing unit 92 is configured similarly to the second embodiment. The second processing unit 94B includes a second signal acquisition unit 98B, a second interpolation processing unit 100B, and a high frequency extraction unit 102B.
[0093] The second signal acquisition section 98B acquires a second image signal 86B output from the non-polarized image sensor 70B. The second image signal 86B corresponds to raw (RAW) data output from the non-polarized image sensor 70B, and is, for example, serial data of pixel values of each pixel 82 read out in the address order of each pixel 82 of the non-polarized image sensor 70B. The second image signal 86B is not strictly RAW data, but may be data in which correction processing such as gain adjustment has been performed on the RAW data. The number of bits of the pixel values of the second image signal 86 is not particularly limited, but is, for example, 12 bits.
[0094] The second interpolation processing unit 100B generates one monochrome image from the second image signal 86 acquired by the second signal acquisition unit 98. The second interpolation processing unit 100 outputs a luminance value (Y value) set for each pixel 82 of the non-polarized image sensor 70B. If the number of pixels of the non-polarized image sensor 70B is different from the number of pixels of the polarization image sensor 20, the second interpolation processing unit 100B resizes the monochrome image to generate a monochrome image whose number of pixels in both the vertical and horizontal directions matches that of the output image of the first processing unit 92. Note that if resizing is not required, the second processing unit 94B does not need to include the second interpolation processing unit 100B.
[0095] The high frequency extraction unit 102B extracts high frequency components of the luminance value (Y value) of each pixel of the monochrome image output from the second signal acquisition unit 98B or the second interpolation processing unit 100B, and generates a high frequency monochrome image. The high frequency extraction unit 102B extracts low frequency components from the monochrome image output from the second signal acquisition unit 98B or the second interpolation processing unit 100B, and can calculate the high frequency components by subtracting the low frequency components from the original monochrome image. As the LPF for extracting the low frequency components, a filter similar to that of the second embodiment shown in FIG. 10 can be used.
[0096] Fig. 13 is a diagram showing a schematic flow of image processing by the second processing unit 94B. For the sake of simplicity, Fig. 13 shows only 16 pixels cut out in a 4 x 4 matrix. The input image 110 corresponds to the pixel array of the RAW data based on the second image signal 86B, and only one pixel value is set for each pixel. The input image 110 is a monochrome image showing the luminance value (Y value) of each pixel.
[0097] The high frequency extraction section 102B generates a high frequency monochrome image 112 from a monochrome image that is the input image 110. The high frequency monochrome image 112 is a monochrome image in which a high frequency luminance value (Yh) indicating a high frequency component of the luminance value is set for each pixel.
[0098] Returning to FIG. 12, the addition processing unit 96B adds, for each pixel, the composite RGB value (RGBm) output from the combination processing unit 48 of the first processing unit 92 and the high-frequency luminance value (Yh) output from the second processing unit 94B to generate a high-resolution color image.
[0099] The RGB value (RGBhr) of each pixel of the high-resolution color image is obtained by adding a high-frequency luminance value (Yh) to the composite RGB value (RGBm), and is expressed as RGBhr=RGBm+Yh. For example, the values of each color (Rhr, Ghr, Bhr) of the high-resolution RGB value (RGBhr) are calculated by adding a common high-frequency luminance value Yh to each of the values (Rm, Gm, Bm) of each color of the composite RGB value (RGBm). In other words, Rhr=Rm+Yh, Ghr=Gm+Yh, Bhr=Bm+Yh.
[0100] The addition processing unit 96B may use the weighting coefficient h to calculate the high-resolution RGB value (RGBhr) using the formula RGBhr=RGBm+h·RGBh. The weighting coefficient h may be common to each color, or may be different for each color. In the latter case, the weighting coefficients hR, hG, and hB of each color may be used as Rhr=Rm+hR·Yh, Ghr=Gm+hG·Yh, and Bhr=Bm+hB·Yh. The weighting coefficients hR, hG, and hB of each color may be hR=0.2126, hG=0.7152, and hB=0.0722 based on ITU-R BT.709.
[0101] The addition processing unit 96B may add, for each pixel, the RGB values (RGBa to RGBd) of the four polarization components output from the first interpolation processing unit 40 of the first processing unit 92 and the high-frequency luminance value (Yh) output from the second processing unit 94B to generate a high-resolution color image. The addition processing unit 96B may add the high-frequency luminance value (Yh) to the RGB value (RGBa) of the first polarization component to calculate a high-resolution RGB value (RGBhra = RGBa + Yh) of the first polarization component. The addition processing unit 96B may add the high-frequency luminance value (Yh) to the RGB value (RGBb) of the second polarization component to calculate a high-resolution RGB value (RGBhrb = RGBb + Yh) of the second polarization component. The addition processing unit 96B may add the high-frequency luminance value (Yh) to the RGB value (RGBc) of the third polarization component to calculate a high-resolution RGB value (RGBhrc = RGBc + Yh) of the third polarization component. The addition processor 96B may add the high-frequency luminance value (Yh) to the RGB values (RGBd) of the fourth polarization component to calculate a high-resolution RGB value (RGBhrd=RGBd+Yh) of the fourth polarization component. When adding the high-frequency luminance value (Yh) to the RGB values (RGBa to RGBd) of the four polarization components, the addition processor 96B may use a weighting coefficient h or may use weighting coefficients hR, hG, and hB of each color.
[0102] According to this embodiment, it is possible to obtain the same effects as in the second embodiment. According to this embodiment, since high frequency components obtained from the output signal of the non-polarized monochrome image sensor are added, it is possible to reduce the costs of the non-polarized image sensor 70B and the second processing unit 94B.
[0103] The addition processing unit 96B according to the third embodiment may calculate only at least one of the high-resolution RGB values (RGBhra to RGBhrd) of the four polarization components, instead of calculating the high-resolution RGB value (RGBhr) using the composite RGB value (RGBm), as in the second embodiment. In this case, the first processing unit 92 may not include the luminance calculation unit 42, the rank processing unit 44, the reference generation unit 46, and the composite processing unit 48. The first processing unit 92 may include only the first signal acquisition unit 38 and the first interpolation processing unit 40.
[0104] (Fourth embodiment) 14 is a diagram showing a schematic configuration of an imaging device 10C according to a fourth embodiment. The imaging device 10C according to the third embodiment includes an imaging unit 12C and an image processing device 14C. The fourth embodiment will be described below with a focus on differences from the above-mentioned embodiments, and commonalities will be omitted as appropriate. In the drawings, the same reference numerals are given to configurations similar to those of the above-mentioned embodiments.
[0105] The imaging unit 12C includes an imaging lens 18, a polarization image sensor 20, a light dividing element 80C, a distance image sensor 120, and an illumination device 122. The imaging lens 18 and the polarization image sensor 20 are configured in the same manner as in the first embodiment.
[0106] The light splitting element 80C is disposed after the imaging lens 18. The light splitting element 80C splits the incident light 16 that has passed through the imaging lens 18 into visible light 16v and infrared light 16n. The visible light 16v is incident on the polarization image sensor 20, and the infrared light 16n is incident on the distance image sensor 120. The light splitting element 80C is, for example, a dichroic prism, and includes a dichroic mirror that selectively transmits visible light and selectively reflects infrared light. The dichroic mirror is, for example, formed of a dielectric multilayer film. The dichroic mirror is preferably a non-polarized dichroic mirror that has no polarization dependency. By employing a non-polarized dichroic mirror, it is possible to suppress a change in the polarization state of visible light that is incident on the polarization image sensor 20. The light splitting element 80C may be configured to selectively reflect visible light and selectively transmit infrared light. In this case, the positions of the polarization image sensor 20 and the distance image sensor 120 are interchanged.
[0107] The polarization image sensor 20 and the distance image sensor 120 are arranged coaxially with respect to the optical axis of the incident light 16. The imaging lens 18 is arranged to form an image of the incident light 16 on the light receiving surfaces of the polarization image sensor 20 and the non-polarized image sensor 70, respectively.
[0108] The distance image sensor 120 detects reflected light of infrared illumination light 124 irradiated from an illumination device 122 to an object. The distance image sensor 120 includes a plurality of pixels provided with an infrared light filter that selectively transmits infrared light. The distance image sensor 120 is, for example, a LIDAR (Light Detection And Ranging) sensor, and measures the distance to the object by a ToF (Time of Flight) method. The distance image sensor 120 outputs a distance value based on the elapsed time from the trigger timing of a pulse signal 116 supplied from a distance processing unit 126 to the light receiving timing of each pixel. The distance image sensor 120 outputs, for example, serial data of the distance value detected by each pixel as a distance image signal 118.
[0109] The illumination device 122 irradiates the subject with infrared illumination light 124. The illumination device 122 includes a laser diode array such as a VCSEL (Vertical Cavity Surface Emitting Laser). The illumination device 122 drives the laser diode array based on the pulse signal 116 supplied from the distance processing unit 126, and irradiates pulse illumination light synchronized with the trigger timing of the pulse signal 116.
[0110] The image processing device 14C includes a first processing unit 92, a distance processing unit 126, and a point cloud data generating unit 128. The first processing unit 92 is configured similarly to the second embodiment. The distance processing unit 126 includes a timing control unit 130, a distance signal acquisition unit 132, and a three-dimensional position calculation unit 134.
[0111] The timing control unit 130 generates a pulse signal 116 for driving the distance image sensor 120 and the lighting device 122. The distance signal acquisition unit 132 acquires a distance image signal 118 from the distance image sensor 120. The three-dimensional position calculation unit 134 uses the distance image signal 118 as an input to calculate coordinate values (x, y, z) indicating the three-dimensional position of the subject. The three-dimensional position calculation unit 134 calculates coordinate values (x, y, z) indicating the three-dimensional position for each pixel from the distance value detected at each pixel of the distance image sensor 120. The coordinate values (x, y, z) corresponding to each pixel correspond to the three-dimensional position of each reflection point on the surface of the subject of the infrared light incident on each pixel.
[0112] The point cloud data generating unit 128 generates point cloud data in which the RGB values output from the first processing unit 92 correspond to the coordinate values output from the distance processing unit 126 for each pixel. The point cloud data generating unit 128 can generate point cloud data that complies with the PLY (Polygon File Format) file format. In the PLY file format, array data of (x, y, z, R, G, B) is set for each pixel.
[0113] The point cloud data generator 128 may generate point cloud data in which the composite RGB value (RGBm) output from the composite processor 48 of the first processing unit 92 corresponds to the coordinate values (x, y, z) output from the distance processor 126 for each pixel. In this case, for example, using a PLY file format, array data of (x, y, z, Rm, Gm, Bm) is set for each pixel.
[0114] The point cloud data generating unit 128 may generate point cloud data in which the RGB values (RGBa to RGBd) of the four polarization components output from the first interpolation processing unit 40 of the first processing unit 92 correspond to the coordinate values (x, y, z) output from the distance processing unit 126 for each pixel. In this case, the point cloud data corresponds to the coordinate values (x, y, z), the RGB values (Ra, Ga, Ba) of the first polarization component, the RGB values (Rb, Gb, Bb) of the second polarization component, the RGB values (Rc, Gc, Bc) of the third polarization component, and the RGB values (Rd, Gd, Bd) of the fourth polarization component for each pixel. For example, using a PLY file format, array data of (x, y, z, Ra, Ga, Ba, Rb, Gb, Bb, Rc, Gc, Bc, Rd, Gd, Bd) is set for each pixel. The four polarization components may be set in ascending order (for example, 0 degrees, 45 degrees, 90 degrees, 135 degrees) or in descending order (for example, 135 degrees, 90 degrees, 45 degrees, 0 degrees).
[0115] According to this embodiment, it is possible to generate point cloud data in which composite RGB values (RGBm) and coordinate values (x, y, z) correspond to each pixel, and provide point cloud data in which whiteout and blackout are suppressed. By modeling the three-dimensional shape of a subject in a virtual space based on such point cloud data, it is possible to provide a three-dimensional model that does not look unnatural even when virtual lighting is applied to the subject in the virtual space.
[0116] According to this embodiment, it is possible to generate point cloud data in which the RGB values (RGBa to RGBd) of the four polarization components correspond to the coordinate values (x, y, z) for each pixel. By using such point cloud data, it is possible to calculate the normal vector for each pixel from the four polarization components. As a result, it is possible to generate a three-dimensional model of the subject by using the point cloud of the normal vector and distance information for each pixel.
[0117] Fifth embodiment 15 is a diagram showing a schematic configuration of an imaging device 10D according to a fifth embodiment. The imaging device 10D includes an imaging unit 12D and an image processing device 14D. The fifth embodiment will be described below with a focus on differences from the above-described embodiments, and commonalities will be omitted as appropriate. In the drawings, the same reference numerals are given to configurations similar to those of the above-described embodiments.
[0118] The imaging unit 12D includes an imaging lens 18, a light splitting element 140, a first image sensor 142, a second image sensor 144, a third image sensor 146, and an illumination device 122. The imaging unit 12D is a so-called three-chip camera, and splits incident light 16 that has passed through the imaging lens 18 into three lights 16a, 16b, and 16c using the light splitting element 140. The imaging unit 12D is configured to capture images of the incident light 16 with each of the first image sensor 142, the second image sensor 144, and the third image sensor 146.
[0119] The light splitting element 140 is a so-called three-plate prism. The first image sensor 142, the second image sensor 144, and the third image sensor 146 are a polarized image sensor, a non-polarized image sensor, or a distance image sensor. Specifically, one of the first image sensor 142, the second image sensor 144, and the third image sensor 146 is a polarized image sensor, another of the first image sensor 142, the second image sensor 144, and the third image sensor 146 is a non-polarized image sensor, and yet another of the first image sensor 142, the second image sensor 144, and the third image sensor 146 is a distance image sensor.
[0120] The polarization image sensor included in the imaging unit 12D is configured similarly to the polarization image sensor 20 according to the above-described embodiment. The polarization image sensor outputs a first image signal 36. The non-polarized image sensor included in the imaging unit 12D is configured similarly to the non-polarized image sensor 70 according to the above-described second embodiment or the non-polarized image sensor 70B according to the third embodiment. The non-polarized image sensor outputs a second image signal 86. The distance image sensor included in the imaging unit 12D is configured similarly to the distance image sensor 120 according to the above-described fourth embodiment. The distance image sensor operates in synchronization with a pulse signal 116, and outputs a distance image signal 118.
[0121] The illumination device 122 is configured in the same manner as in the above-described fourth embodiment. The illumination device 122 operates in synchronization with the pulse signal 116, and irradiates the subject with infrared illumination light 124.
[0122] The image processing device 14D includes a first processing unit 92, a second processing unit 94, an addition processing unit 96, a distance processing unit 126, and a point cloud data generating unit 128D. The first processing unit 92, the second processing unit 94, and the addition processing unit 96 can be configured similarly to the second or third embodiment described above. The distance processing unit 126 can be configured similarly to the fourth embodiment described above.
[0123] The point cloud data generator 128D generates point cloud data in which the high resolution RGB values (RGBhr or RGBhra to RGBhrd) output from the addition processor 96 correspond to the coordinate values (x, y, z) output from the distance processor 126 for each pixel.
[0124] The point cloud data generating unit 128D may generate point cloud data in which high-resolution RGB values (Rhr, Ghr, Bhr) using composite RGB values (RGBm) correspond to coordinate values (x, y, z) for each pixel. In this case, array data of (x, y, z, Rhr, Ghr, Bhr) is set for each pixel using, for example, a PLY file format.
[0125] The point cloud data generator 128D may generate point cloud data in which high-resolution RGB values (RGBhra to RGBhrd) using the RGB values (RGBa to RGBd) of the four polarization components are associated with coordinate values (x, y, z) for each pixel. In this case, the point cloud data associates the coordinate values (x, y, z), the high-resolution RGB values (Rhra, Ghra, Bhra) of the first polarization component, the high-resolution RGB values (Rhrb, Ghrb, Bhrb) of the second polarization component, the high-resolution RGB values (Rhrc, Ghrc, Bhrc) of the third polarization component, and the high-resolution RGB values (Rhrd, Ghrd, Bhrd) of the fourth polarization component with each pixel. For example, using a PLY file format, array data of (x, y, z, Rhra, Ghra, Bhra, Rhrb, Ghrb, Bhrb, Rhrc, Ghrc, Bhrc, Rhrd, Ghrd, Bhrd) is set for each pixel. The four polarization components may be set in ascending order (e.g., 0 degrees, 45 degrees, 90 degrees, 135 degrees) or in descending order (e.g., 135 degrees, 90 degrees, 45 degrees, 0 degrees).
[0126] According to this embodiment, it is possible to generate point cloud data in which high-resolution RGB values (RGBhr) using composite RGB values (RGBm) correspond to coordinate values (x, y, z) for each pixel. Since high-frequency components are added to the RGB values of the point cloud data, it is possible to provide more suitable point cloud data with high resolution, suppressed aliasing distortion, and suppressed whiteout and blackout. By modeling the three-dimensional shape of a subject in a virtual space based on such point cloud data, it is possible to provide a three-dimensional model that does not look unnatural even when virtual lighting is applied to the subject in the virtual space.
[0127] According to this embodiment, it is possible to generate point cloud data in which high-resolution RGB values (RGBhra to RGBhrd) using the RGB values (RGBa to RGBd) of the four polarization components correspond to coordinate values (x, y, z) for each pixel. Since high-frequency components are added to each of the RGB values of the four polarization components of the point cloud data, it is possible to provide more suitable point cloud data with high resolution and suppressed aliasing distortion. By using such point cloud data, it is possible to calculate the normal vector for each pixel from the four polarization components. As a result, it is possible to generate a three-dimensional model of the subject by using the point cloud of the normal vector and distance information for each pixel.
[0128] Fig. 16 is a diagram illustrating an imaging unit 136 according to a first configuration example of the fifth embodiment. The imaging unit 136 in Fig. 16 can be used as the imaging unit 12D in Fig. 15. The imaging unit 136 includes an imaging lens 138, a light splitting element 140, a first image sensor 142, a second image sensor 144, a third image sensor 146, and a retardation plate 148.
[0129] The light splitting element 140 includes a first prism 152, a second prism 154, and a third prism 156. The first prism 152 includes a first entrance surface 158, a first splitting surface 160, and a first exit surface 162. The second prism 154 includes a second entrance surface 164, a second splitting surface 166, and a second exit surface 168. The third prism 156 includes a third entrance surface 170 and a third exit surface 172. An air gap is provided between the first splitting surface 160 and the second entrance surface 164.
[0130] An incident light 180 incident on the first entrance surface 158 is split into a first reflected light 182 and a first transmitted light 184 by the first splitting surface 160. The first reflected light 182 reflected by the first splitting surface 160 is totally internally reflected by the first entrance surface 158, and then passes through the first exit surface 162 toward the first image sensor 142. The first transmitted light 184 transmitted through the first splitting surface 160 is split into a second reflected light 186 and a second transmitted light 188 by the second splitting surface 166. The second reflected light 186 reflected by the second splitting surface 166 is totally internally reflected by the second entrance surface 164, and then passes through the second exit surface 168 toward the second image sensor 144. The second transmitted light 188 transmitted through the second splitting surface 166 is totally internally reflected by the third entrance surface 170 and the third exit surface 172 toward the third image sensor 146.
[0131] In the first configuration example of FIG. 16, the first image sensor 142 can be the polarization image sensor 20. The first reflected light 182 heading toward the first image sensor 142 can change its polarization state by being reflected by the first splitting surface 160 and the first incident surface 158. That is, the polarization state of the first reflected light 182 can change from the polarization state of the incident light 180. In particular, when the first reflected light 182 is totally internally reflected by the first incident surface 158, which is the interface between the prism and the air, the polarization state of the first reflected light 182 can change significantly. If the polarization state of the first reflected light 182 changes from the polarization state of the incident light 180, the polarization image sensor 20 cannot correctly measure the polarization state of the incident light 180.
[0132] 16, in order to compensate for a change in the polarization state of the first reflected light 182 caused by the light splitting element 140, a retardation plate 148 is provided between the first image sensor 142 and the light splitting element 140. The retardation plate 148 has a phase difference set so as to reduce or cancel the phase difference between the s-polarized component and the p-polarized component of the first reflected light 182 caused by at least one of reflection at the first splitting surface 160 and reflection at the first entrance surface 158. The magnitude of the phase difference provided by the retardation plate 148 is not particularly limited, but is, for example, about 120 degrees.
[0133] When the first image sensor 142 is the polarization image sensor 20, the first splitting surface 160 is preferably provided with a non-polarizing beam splitter that is not wavelength-dependent. Here, "non-polarized" means that the effect on polarization is negligibly small. The non-polarizing beam splitter is configured so that the change in the polarization state before and after reflection and before and after transmission at the beam splitter is negligibly small. For example, a metal thin film can be used as the non-polarizing beam splitter that is not wavelength-dependent. A dielectric multilayer film designed to suppress the change in the polarization state can also be used as the non-polarizing beam splitter that is not wavelength-dependent. By providing a non-polarizing beam splitter on the first splitting surface 160, the change in the polarization state of the first reflected light 182 reflected at the first splitting surface 160 can be suppressed.
[0134] When the first image sensor 142 is the polarization image sensor 20, one of the second image sensor 144 and the third image sensor 146 is the non-polarized image sensor 70 or 70B, and the other of the second image sensor 144 and the third image sensor 146 is the distance image sensor 120. In this case, the second split surface 166 is preferably provided with a dichroic mirror that separates visible light and infrared light. For example, a dielectric multilayer film can be used as the dichroic mirror. When the second image sensor 144 is the non-polarized image sensor 70 or 70B, the dichroic mirror provided on the second split surface 166 is designed to selectively reflect visible light and selectively transmit infrared light. When the second image sensor 144 is the distance image sensor 120, the dichroic mirror provided on the second split surface 166 is designed to selectively transmit visible light and selectively reflect infrared light. Note that second splitting surface 166 may include a beam splitter that does not have wavelength dependency, such as a half mirror, instead of a dichroic mirror.
[0135] According to the first configuration example of FIG. 16, by using the light splitting element 140, the incident light 180 is captured using each of the polarization image sensor 20, the non-polarization image sensor 70 or 70B, and the distance image sensor 120, and a polarization image, a non-polarization image, and a distance image can be obtained. According to this embodiment, by using the polarization image sensor 20 as the first image sensor 142, a configuration can be achieved in which a dichroic mirror is not disposed on the optical path toward the polarization image sensor 20. This makes it possible to obtain a polarization image that is not affected by changes in the polarization state at the dichroic mirror. In addition, by providing a retardation plate 148 between the light splitting element 140 and the polarization image sensor 20 (first image sensor 142), it is possible to suppress changes in the polarization state of the first reflected light 182 that occur at at least one of the first splitting surface 160 and the first entrance surface 158. This makes it possible to obtain a polarization image in which changes in the polarization state of the incident light 180 are suppressed.
[0136] 17 is a diagram showing a schematic diagram of an imaging unit 136A according to a second configuration example of the fifth embodiment. The second configuration example differs from the first embodiment in that a retardation plate 148A is provided between the second image sensor 144 and the light dividing element 140. The second configuration example will be described below, focusing on the differences from the first configuration example, and the commonalities will be omitted as appropriate.
[0137] The imaging unit 136A includes an imaging lens 138, a light dividing element 140, a first image sensor 142, a second image sensor 144, a third image sensor 146, and a retardation plate 148A. In the second embodiment, the second image sensor 144 is the polarization image sensor 20. In the second embodiment, one of the first image sensor 142 and the third image sensor 146 is the non-polarization image sensor 70 or 70B, and the other of the first image sensor 142 and the third image sensor 146 is the distance image sensor 120.
[0138] When the first image sensor 142 is the non-polarized image sensor 70 or 70B and the third image sensor 146 is the distance image sensor 120, the first split surface 160 is preferably provided with a non-polarized beam splitter that has no wavelength dependency. By providing a non-polarized beam splitter on the first split surface 160, it is possible to suppress changes in the polarization state of the first transmitted light 184 that passes through the first split surface 160. When the first image sensor 142 is the non-polarized image sensor 70 or 70B and the third image sensor 146 is the distance image sensor 120, it is preferable that the second split surface 166 is a non-polarized dichroic mirror. The dichroic mirror provided on the second split surface 166 is designed to selectively reflect visible light and selectively transmit infrared light. By providing a non-polarized dichroic mirror on the second split surface 166, it is possible to suppress changes in the polarization state of the second reflected light 186 reflected on the second split surface 166. Note that second splitting surface 166 may include a non-polarizing beam splitter that has no wavelength dependency, such as a half mirror, instead of a dichroic mirror.
[0139] When the first image sensor 142 is the distance image sensor 120 and the third image sensor 146 is the non-polarized image sensor 70 or 70B, the first split surface 160 is preferably a non-polarized dichroic mirror. For example, a dielectric multilayer film designed to suppress changes in the polarization state from the visible range to the infrared range can be used as the non-polarized dichroic mirror. The dichroic mirror provided on the first split surface 160 is designed to selectively transmit visible light and selectively reflect infrared light. By providing the non-polarized dichroic mirror on the first split surface 160, changes in the polarization state of the first transmitted light 184 passing through the first split surface 160 can be suppressed. Note that the first split surface 160 may be provided with a non-polarized beam splitter that is not wavelength-dependent, instead of a dichroic mirror. When the first image sensor 142 is the distance image sensor 120 and the third image sensor 146 is the non-polarized image sensor 70 or 70B, it is preferable that the second split surface 166 is provided with a non-polarized beam splitter that has no wavelength dependency. By providing the second split surface 166 with a non-polarized beam splitter, it is possible to suppress changes in the polarization state of the second reflected light 186 reflected at the second split surface 166.
[0140] The phase difference of the phase difference plate 148A is set so as to reduce or cancel the phase difference between the s-polarized component and the p-polarized component of the second reflected light 186 caused by at least one of the transmission through the first splitting surface 160, the reflection at the second splitting surface 166, and the reflection at the second entrance surface 164. The phase difference plate 148A compensates for the change in the polarization state of the second reflected light 186 caused by the light splitting element 140. In particular, when the second reflected light 186 is totally internally reflected at the second entrance surface 164, which is the interface between the prism and the air, the polarization state of the second reflected light 186 may change significantly. The magnitude of the phase difference provided by the phase difference plate 148A is not particularly limited, but is, for example, about 120 degrees.
[0141] In the second configuration example of FIG. 17, the light splitting element 140 is used, and the incident light 180 is captured using the polarization image sensor 20, the non-polarized image sensor 70 or 70B, and the distance image sensor 120, respectively, to obtain a polarization image, a non-polarized image, and a distance image. According to this embodiment, the retardation plate 148A is provided between the light splitting element 140 and the polarization image sensor 20 (second image sensor 144), thereby suppressing a change in the polarization state of the second reflected light 186 that occurs at at least one of the first splitting surface 160, the second splitting surface 166, and the second entrance surface 164. According to this embodiment, the first splitting surface 160 or the second splitting surface 166 is provided with a non-polarized dichroic mirror, thereby obtaining a polarization image in which the change in the polarization state at the dichroic mirror is suppressed. According to this embodiment, the first splitting surface 160 or the second splitting surface 166 is provided with a non-polarized beam splitter, thereby obtaining a polarization image in which the change in the polarization state at the beam splitter is suppressed.
[0142] 18 is a diagram showing a schematic diagram of an imaging unit 136B according to a third configuration example of the fifth embodiment. The third configuration example differs from the first and second configuration examples described above in that the retardation plates 148, 148A are not provided. Hereinafter, the third configuration example will be described with a focus on the differences between the first and second configuration examples, and the commonalities will be omitted as appropriate.
[0143] The imaging unit 136B includes a first image sensor 142, a second image sensor 144, a third image sensor 146, and a light dividing element 140. In the third embodiment, the third image sensor 146 is a polarization image sensor 20. In the third embodiment, one of the first image sensor 142 and the second image sensor 144 is a non-polarized image sensor 70 or 70B, and the other of the first image sensor 142 and the second image sensor 144 is a distance image sensor 120.
[0144] When the first image sensor 142 is the non-polarized image sensor 70 or 70B and the second image sensor 144 is the distance image sensor 120, the first split surface 160 is preferably provided with a non-polarized beam splitter that has no wavelength dependency. By providing a non-polarized beam splitter on the first split surface 160, it is possible to suppress changes in the polarization state of the first transmitted light 184 that passes through the first split surface 160. When the first image sensor 142 is the non-polarized image sensor 70 or 70B and the second image sensor 144 is the distance image sensor 120, it is preferable that the second split surface 166 is a non-polarized dichroic mirror. The dichroic mirror provided on the second split surface 166 is designed to selectively transmit visible light and selectively reflect infrared light. By providing a non-polarized dichroic mirror on the second split surface 166, it is possible to suppress changes in the polarization state of the second transmitted light 188 that passes through the second split surface 166. Note that second splitting surface 166 may include a non-polarizing beam splitter that has no wavelength dependency, such as a half mirror, instead of a dichroic mirror.
[0145] When the first image sensor 142 is the distance image sensor 120 and the second image sensor 144 is the non-polarized image sensor 70 or 70B, the first split surface 160 is preferably a non-polarized dichroic mirror. The dichroic mirror provided on the first split surface 160 is designed to selectively transmit visible light and selectively reflect infrared light. By providing the non-polarized dichroic mirror on the first split surface 160, it is possible to suppress changes in the polarization state of the first transmitted light 184 that passes through the first split surface 160. Note that the first split surface 160 may be provided with a non-polarized beam splitter that has no wavelength dependency, instead of a dichroic mirror. When the first image sensor 142 is the distance image sensor 120 and the second image sensor 144 is the non-polarized image sensor 70 or 70B, the second split surface 166 is preferably provided with a non-polarized beam splitter that has no wavelength dependency. By providing a non-polarizing beam splitter on second splitting surface 166, changes in the polarization state of second transmitted light 188 passing through second splitting surface 166 can be suppressed.
[0146] In the third configuration example, the light splitting element 140 is used, and the incident light 180 is captured using the polarization image sensor 20, the non-polarized image sensor 70 or 70B, and the distance image sensor 120, respectively, to obtain a polarization image, a non-polarized image, and a distance image. According to this embodiment, the third image sensor 146 is the polarization image sensor 20, so that a configuration can be achieved in which total internal reflection does not occur on the optical path toward the polarization image sensor 20. This makes it possible to obtain a polarization image that is not affected by changes in the polarization state due to total internal reflection. According to this embodiment, the first splitting surface 160 and the second splitting surface 166 are provided with non-polarized dichroic mirrors or beam splitters, so that changes in the polarization state of the second transmitted light 188 due to transmission through the first splitting surface 160 and the second splitting surface 166 can be suppressed. This makes it possible to obtain an appropriate polarization image without providing a retardation plate between the light splitting element 140 and the polarization image sensor 20 (the third image sensor 146).
[0147] Sixth embodiment 19 is a diagram illustrating a schematic configuration of an endoscope system 200 according to a sixth embodiment. The endoscope system 200 includes an endoscope 202 and an image processing device 204. The endoscope 202 includes an insertion section 212 having a tip section 210, an operation section 214, and a connection section 216.
[0148] The insertion section 212 is a portion that is inserted into the inside of an observation target. The insertion section 212 is, for example, made of a flexible member, and is configured so that the orientation of the tip section 210 can be adjusted by bending the vicinity of the tip section 210. In this case, the endoscope 202 is configured as a flexible scope. The insertion section 212 may be made of a non-flexible member. In this case, the endoscope 202 is configured as a rigid scope.
[0149] The tip portion 210 is a portion that is directed toward a subject inside an observation target, and is provided at the tip of the insertion portion 212. An imaging unit 220 is provided inside the tip portion 210.
[0150] The operation unit 214 is a portion that is held by a user who uses the endoscope 202. The operation unit 214 is provided with an operation knob (not shown) for changing the orientation of the tip portion 210, and the like.
[0151] The connection unit 216 is an interface for connecting the endoscope 202 to the image processing device 204. An image signal output from the imaging unit 220 is transmitted to the image processing device 204 via the connection unit 216 through a transmission cable 230 provided inside the insertion portion 212 and the operation unit 214.
[0152] The image processing device 204 performs image processing using as input the image signal output from the imaging unit 220 and transmitted via the transmission cable 230 .
[0153] The endoscope system 200 may include any one of the imaging devices 10, 10A, 10B, 10C, and 10D according to the above-described embodiments. The imaging unit 220 may be configured similarly to the imaging units 12, 12A, 12B, 12C, 12D, 136, 136A, and 136B according to the above-described embodiments. The image processing device 204 may be configured similarly to any one of the image processing devices 14, 14A, 14B, 14C, and 14D according to the above-described embodiments.
[0154] The transmission cable 230 can transmit at least one of the first image signal 36, the second image signals 86, 86B, and the distance image signal 118 output from the imaging unit 220 to the image processing device 204. The transmission cable 230 can transmit the pulse signal 116 from the image processing device 204 to the imaging unit 220.
[0155] According to this embodiment, a clearer color image can be generated using an image signal acquired from the imaging unit 220 provided at the tip 210 of the endoscope 202. For example, a color image in which whiteout and blackout are suppressed can be generated by combining the RGB values of the four polarization components. Also, a high-resolution color image can be generated by adding a high-frequency component obtained from the output signal of the non-polarized image sensors 70 and 70B to a color image obtained from the output signal of the polarization image sensor 20. This allows a color image to be generated that is high-resolution and has suppressed aliasing. Also, by adding a high-frequency component to each color image of the four polarization components, a more suitable polarized color image can be generated that is high-resolution and has suppressed aliasing. Also, by further using a distance image sensor, point cloud data can be generated in which coordinate values indicating the three-dimensional position of the subject correspond to RGB values based on a clear color image. This allows a more suitable three-dimensional model of the subject to be generated.
[0156] Seventh embodiment 20 is a diagram showing a schematic configuration of an endoscope system 200A according to a seventh embodiment. The endoscope system 200A according to the seventh embodiment differs from the sixth embodiment in that it is configured as a twin-lens system. Hereinafter, the seventh embodiment will be described with a focus on the differences from the sixth embodiment, and commonalities will be omitted as appropriate. In the drawings, the same reference numerals are given to configurations similar to those of the sixth embodiment.
[0157] The endoscope system 200A includes an endoscope 202A and an image processing device 204A. The endoscope 202A includes an insertion section 212 having a tip portion 210, an operation section 214, and a connection section 216.
[0158] A first imaging unit 222 and a second imaging unit 224 are provided inside the tip portion 210. The first imaging unit 222 and the second imaging unit 224 are provided, for example, in parallel on the left and right. Each of the first imaging unit 222 and the second imaging unit 224 can be configured similarly to the imaging units 12, 12A, 12B, 12C, 12D, 136, 136A, and 136B according to the above-described embodiments.
[0159] A first transmission cable 232 and a second transmission cable 234 are provided inside the insertion portion 212 and the operation portion 214. The first transmission cable 232 transmits image signals and the like output from the first imaging unit 222. The second transmission cable 234 transmits image signals and the like output from the second imaging unit 224.
[0160] The image processing device 204A includes a first image processing section 242 and a second image processing section 244. The first image processing section 242 executes image processing using, as an input, an image signal output from the first imaging unit 222 and transmitted through the first transmission cable 232. The second image processing section 244 executes image processing using, as an input, an image signal output from the second imaging unit 224 and transmitted through the second transmission cable 234. Each of the first image processing section 242 and the second image processing section 244 can be configured in the same manner as any one of the image processing devices 14, 14A, 14B, 14C, and 14D according to the above-described embodiments.
[0161] According to this embodiment, a stereo image can be generated using image signals acquired from the first imaging unit 222 and the second imaging unit 224 provided at the tip portion 210 of the endoscope 202A. According to this embodiment, each of the left and right color images constituting the stereo image can be made into a clearer color image.
[0162] The present invention has been described above with reference to the above-mentioned embodiments, but the present invention is not limited to the above-mentioned embodiments, and appropriate combinations or substitutions of the configurations shown in each display example are also included in the present invention.
[0163] Several aspects of the disclosure are described below.
[0164] A first aspect of the present disclosure includes a polarization image sensor in which pixel groups each having 2×2 pixels that detect four different polarization components for each pixel are two-dimensionally arranged, and RGB color filters are arranged in a Bayer array for each of the pixel groups; an interpolation processing unit that separates pixel values output from the polarization image sensor for each polarization component to generate four Bayer array images corresponding to the four polarization components, and calculates RGB values of each of the four polarization components for each pixel by de-Bayering and up-converting each of the four Bayer array images; a brightness calculation unit that calculates a luminance value of each of the four polarization components from the RGB values of each of the four polarization components for each pixel; and an interpolation processing unit that calculates a luminance value of each of the four polarization components from the RGB values of each of the four polarization components for each pixel, in order of magnitude of the luminance values of the four polarization components. a reference generation unit that calculates a reference luminance value for each pixel by combining luminance values of a plurality of polarization components including at least the second and third ranked components; and a combination processing unit that a) outputs a reference RGB value by combining RGB values of the plurality of polarization components if the luminance value matches a predetermined threshold, b) outputs a composite RGB value by combining an upper RGB value by combining the RGB values of the first and second ranked polarization components and the reference RGB value if the reference luminance value is smaller than the threshold, and c) outputs a composite RGB value by combining a lower RGB value by combining the RGB values of the third and fourth ranked polarization components and the reference RGB value if the reference luminance value is smaller than the threshold.
[0165] In a first aspect, the synthesis processing unit may: b) for a pixel whose reference luminance value is smaller than the threshold value, increase a weighting of the synthesis of the higher RGB values as the reference luminance value becomes smaller; and c) for a pixel whose reference luminance value is larger than the threshold value, increase a weighting of the synthesis of the lower RGB values as the reference luminance value becomes larger.
[0166] In a first aspect, the imaging device may further include a non-polarized image sensor in which pixels are arranged in a two-dimensional manner with a number of pixels greater than the number of pixels arranged in the pixel group of the polarization image sensor; a light dividing element that divides incident light into light directed toward the polarization image sensor and light directed toward the non-polarized image sensor; a high frequency extraction unit that extracts high frequency components for each pixel using an output image of the image sensor; and an addition processing unit that adds the high frequency components to the RGB values output from the synthesis processing unit for each pixel to generate a high resolution image.
[0167] In a first aspect, the imaging device may further include a distance image sensor that measures a distance to a subject, a light dividing element that divides incident light into light toward the polarization image sensor and light toward the distance image sensor, a three-dimensional position calculation unit that calculates coordinate values indicating the three-dimensional position of the subject for each pixel using an output signal of the distance image sensor, and a point cloud data generation unit that generates point cloud data that corresponds, for each pixel, to the RGB values output from the synthesis processing unit and the coordinate values calculated by the three-dimensional position calculation unit.
[0168] In a first aspect, the imaging device may further include a non-polarized image sensor in which pixels are arranged in a two-dimensional manner with a number of pixels greater than the number of pixels arranged in the pixel group of the polarization image sensor; a distance image sensor that measures the distance to a subject; a light dividing element that divides incident light into light toward the polarization image sensor, light toward the non-polarized image sensor, and light toward the distance image sensor; a high frequency extraction unit that extracts high frequency components for each pixel using an output image of the image sensor; an addition processing unit that adds the high frequency components to the RGB values output from the synthesis processing unit for each pixel to generate a high resolution image; a three-dimensional position calculation unit that calculates coordinate values indicating the three-dimensional position of the subject for each pixel using the output signal of the distance image sensor; and a point cloud data generation unit that generates point cloud data in which the RGB values of the high resolution image generated by the addition processing unit and the coordinate values calculated by the three-dimensional position calculation unit correspond to each pixel.
[0169] a non-polarized image sensor in which pixels having a number of pixels greater than the number of pixels of the pixel groups of the polarized image sensor are arranged in a two-dimensional array; a light splitting element that splits incident light into light directed toward the polarized image sensor and light directed toward the non-polarized image sensor; an interpolation processing unit that separates pixel values output from the polarized image sensor for each polarization component to generate four Bayer array images corresponding to the four polarization components, and calculates RGB values of each of the four polarization components for each pixel by de-Bayering and up-converting each of the four Bayer array images; a high-frequency extraction unit that extracts high-frequency components for each pixel using an output image of the non-polarized image sensor; and an addition processing unit that adds the high-frequency components to the RGB values of each of the four polarization components output from the interpolation processing unit for each pixel, thereby generating four high-resolution images corresponding to the four polarization components.
[0170] In the first or second aspect, the non-polarized image sensor is a color image sensor in which RGB color filters are arranged in a Bayer array for each pixel, and the high frequency extraction unit extracts high frequency components from the RGB values for each pixel calculated by de-Bayering the Bayer array image output from the non-polarized image sensor, and the addition processing unit may add RGB values indicating the high frequency components to the RGB values of each of the four polarization components for each pixel.
[0171] In the first or second aspect, the non-polarized image sensor may be a monochrome image sensor without a color filter, the high frequency extraction unit may extract high frequency components from the luminance value of each pixel output from the monochrome image sensor, and the addition processing unit may add the luminance value indicating the high frequency component to each of the RGB values of the four polarization components for each pixel.
[0172] In a second aspect, the imaging device may further include a distance image sensor that measures a distance to a subject, and the light dividing element may further divide the incident light into light directed toward the distance image sensor, and may further include a three-dimensional position calculation unit that calculates coordinate values indicating the three-dimensional position of the subject for each pixel using an output signal of the distance image sensor, and a point cloud data generation unit that generates point cloud data that corresponds, for each pixel, to the RGB values of each of the four high-resolution images output from the addition processing unit and the coordinate values calculated by the three-dimensional position calculation unit.
[0173] A third aspect of the present disclosure is an endoscope system including the imaging device of the first or second aspect. The endoscope system includes an endoscope including an insertion section having a tip portion directed toward a subject and a transmission cable provided inside the insertion section, and an image processing device that acquires a signal via the transmission cable.
[0174] In a third aspect, the polarization image sensor may be provided within the tip portion, the transmission cable may transmit an output signal of the polarization image sensor, and the image processing device may include the interpolation processing unit, the brightness calculation unit, the rank processing unit, the reference generation unit and the synthesis processing unit, and may acquire the output signal of the polarization image sensor.
[0175] In a third aspect, the polarized image sensor, the non-polarized image sensor and the light splitting element are provided within the tip portion, the transmission cable transmits output signals of the polarized image sensor and the non-polarized image sensor, and the image processing device may include the interpolation processing unit, the pre-high frequency extraction unit and the addition processing unit, and acquire the output signals of the polarized image sensor and the non-polarized image sensor. [Explanation of symbols]
[0176] 10, 10A, 10B, 10C, 10D...imaging device, 12, 12A, 12B, 12C, 12D...imaging unit, 14, 14A, 14B, 14C, 14D...image processing device, 16...incident light, 18...imaging lens, 20...polarized image sensor, 22...light detection layer, 24...polarizer layer, 26...color filter layer, 28...microlens layer, 30...pixel, 32...pixel group, 34...pixel set, 38...signal acquisition unit, 40...interpolation processing unit, 42...luminance calculation unit, 44...rank processing unit, 46...reference generation unit, 48...combination processing unit, 60...reference combination unit, 62...upper combination unit, 64...lower combination unit, 66...coefficient calculation unit output portion, 68...output combining portion, 70, 70B...non-polarized image sensor, 72...light detection layer, 76...color filter layer, 78...microlens layer, 80, 80C...light dividing element, 82...pixel, 84...pixel group, 96, 96B...addition processing portion, 102, 102B...high frequency extraction portion, 120...distance image sensor, 128, 128D...point cloud data generation portion, 134...three-dimensional position calculation portion, 140...light dividing element, 200, 200A...endoscope system, 202, 202A...endoscope, 204, 204A...image processing device, 210...tip portion, 212...insertion portion, 220...imaging unit, 230...transmission cable.
Claims
1. a polarization image sensor in which pixel groups each having 2×2 pixels that detect four different polarization components for each pixel are two-dimensionally arranged, and RGB color filters are arranged in a Bayer array for each pixel group; an interpolation processing unit that separates pixel values output from the polarization image sensor for each polarization component to generate four Bayer array images corresponding to the four polarization components, and calculates RGB values of each of the four polarization components for each pixel by de-Bayering and up-converting each of the four Bayer array images; a luminance calculation unit that calculates a luminance value of each of the four polarization components for each pixel from the RGB values of the four polarization components; a rank processing unit that ranks the four polarization components for each pixel in descending order of the luminance values of the four polarization components; a reference generating unit that calculates a reference luminance value for each pixel by combining luminance values of a plurality of polarization components including at least the second and third luminance components; an imaging device comprising: a) a synthesis processing unit that outputs a reference RGB value obtained by synthesizing the RGB values of the multiple polarization components when the brightness value matches a predetermined threshold; b) a synthesis RGB value obtained by synthesizing an upper RGB value obtained by synthesizing the RGB values of the first and second polarization components and the reference RGB value when the reference brightness value is smaller than the threshold; and c) a synthesis processing unit that outputs a synthesis RGB value obtained by synthesizing a lower RGB value obtained by synthesizing the RGB values of the third and fourth polarization components and the reference RGB value when the reference brightness value is smaller than the threshold.
2. The synthesis processing unit includes: b) for a pixel having a reference luminance value smaller than the threshold, a weighting of the composition of the higher order RGB values is increased as the reference luminance value becomes smaller; The imaging device according to claim 1 , wherein c) for a pixel whose reference luminance value is greater than the threshold value, the weighting of the combination of the lower RGB values is increased as the reference luminance value increases.
3. a non-polarized image sensor in which pixels are two-dimensionally arranged, the number of pixels being greater than the number of pixels arranged in the pixel group of the polarization image sensor; a light splitting element that splits incident light into light directed toward the polarized image sensor and light directed toward the non-polarized image sensor; a high frequency extraction unit that extracts high frequency components for each pixel using an output image of the image sensor; The imaging device according to claim 1 , further comprising an addition processing unit that adds the high-frequency component to the RGB value output from the synthesis processing unit for each pixel to generate a high-resolution image.
4. A distance image sensor that measures the distance to a subject; a light splitting element that splits incident light into light directed toward the polarization image sensor and light directed toward the distance image sensor; a three-dimensional position calculation unit that calculates, for each pixel, a coordinate value indicating a three-dimensional position of the subject using an output signal from the range image sensor; The imaging device according to claim 1 , further comprising: a point cloud data generation unit that generates point cloud data in which the RGB values output from the synthesis processing unit correspond to the coordinate values calculated by the three-dimensional position calculation unit for each pixel.
5. a non-polarized image sensor in which pixels are two-dimensionally arranged, the number of pixels being greater than the number of pixels arranged in the pixel group of the polarization image sensor; A distance image sensor that measures the distance to a subject; a light dividing element that divides incident light into light directed toward the polarization image sensor, light directed toward the non-polarization image sensor, and light directed toward the distance image sensor; a high frequency extraction unit that extracts high frequency components for each pixel using an output image of the image sensor; an addition processing unit that adds the high-frequency components to the RGB values output from the synthesis processing unit for each pixel to generate a high-resolution image; a three-dimensional position calculation unit that calculates, for each pixel, a coordinate value indicating a three-dimensional position of the subject using an output signal from the range image sensor; The imaging device according to claim 1 , further comprising a point cloud data generation unit that generates point cloud data in which the RGB values of the high-resolution image generated by the addition processing unit correspond to the coordinate values calculated by the three-dimensional position calculation unit for each pixel.
6. An endoscope system including the imaging device according to any one of claims 1 to 5, an endoscope including an insertion section having a tip portion directed toward a subject, the polarization image sensor being provided within the tip portion, and a transmission cable being provided within the insertion section for transmitting an output signal from the polarization image sensor; an image processing device comprising the interpolation processing unit, the brightness calculation unit, the rank processing unit, the reference generation unit and the synthesis processing unit, and acquiring the output signal via the transmission cable;
Citation Information
Patent Citations
Endoscope image processing device, endoscope image processing method, program, and endoscope system
JP2016106932A
Imaging apparatus, control method of the same, and program
JP2021097345A
Imaging apparatus and control method thereof
JP2021141446A
Image processing device
WO2008149489A1
Image pickup processing device and endoscope
WO2013175686A1
