The present disclosure relates to an imaging apparatus, and particularly to an imaging apparatus that produces stereoscopic images, an image processing method, and a program that instructs a computer to carry out the method.
There have been proposed digital still cameras, digital video camcorders (camera-recorder hybrids), and other imaging apparatus that produce image data for displaying stereoscopic images that allow a viewer to experience stereoscopic vision with the aid of parallax between the right and left eyes.
For example, there has been a proposed imaging apparatus that includes two lenses and one imaging device and produces two images (image for right vision and image for left vision) for displaying stereoscopic images (see JP-A-2004-309868, for example).
According to the technology of the related art described above, the two lenses and the one imaging device can be used to produce two images (image for right vision and image for left vision). To record the thus produced two images (image for right vision and image for left vision), it is, for example, assumed to use a predetermined recording format.
Stereoscopic images (image for right vision and image for left vision, for example) are often recorded based on a predetermined recording format as follows: Images to be recorded are thinned out or otherwise processed, and the resultant two images are handled as a single image. To record stereoscopic images based on a predetermined recording format, it is therefore important to reduce degradation in quality of the stereoscopic images due to the thinning-out or other processes.
Thus, it is desirable to reduce degradation in quality of stereoscopic images.
An embodiment of the present disclosure is directed to an imaging apparatus including two polarizers that are disposed in the vicinity of a diaphragm and polarize light from a subject, the two polarizers being a first polarizer and a second polarizer whose polarization directions are perpendicular to each other; two polarizers that polarize the light from the subject and are alternately disposed in a photodetection plane of an imaging device along a second direction perpendicular to a first direction, along which the first polarizer and the second polarizer are connected to each other, in such a way that the two polarizers extend in the second direction, the two polarizers being a third polarizer whose polarization direction is parallel to the polarization direction of the first polarizer and a fourth polarizer whose polarization direction is parallel to the polarization direction of the second polarizer; and an image processor that processes image data produced by the imaging device in such a way that image data produced based on light having passed through the first polarizer and the third polarizer are handled as first image data for displaying stereoscopic images and image data produced based on light having passed through the second polarizer and the fourth polarizer are handled as second image data for displaying the stereoscopic images. The embodiment of the present disclosure is also directed to an image processing method used with the imaging apparatus and a program that instructs a computer to carry out the method. The apparatus, the method, and the program allow image data produced based on the light having passed through the first polarizer and the third polarizer to be used as first image data for displaying stereoscopic images and image data produced based on the light having passed through the second polarizer and the fourth polarizer to be used as second image data for displaying the stereoscopic images.
In the embodiment, the imaging device may have pixels arranged in a matrix identified by the first direction and the second direction, and the third polarizer and the fourth polarizer may be alternately disposed on a predetermined arrangement unit basis, the predetermined arrangement unit being a line or lines extending in the second direction and the line corresponding to two pixels in the first direction in the imaging device. The configuration described above allows the first image data and the second image data to be produced by using image data produced by the imaging device having pixels arranged in a matrix identified by the first direction and the second direction and having the third polarizer and the fourth polarizer alternately disposed on a predetermined arrangement unit basis, the predetermined arrangement unit being a line or lines extending in the second direction and the line corresponding to two pixels in the first direction.
In the embodiment, the image processor may produce the first image data and the second image data by rearranging the image data produced by the imaging device on a predetermined unit basis, the predetermined unit being a line extending in the second direction and corresponding to each of the third polarizer and each of the fourth polarizer. The configuration described above allows the first image data and the second image data to be produced by the image data produced by the imaging device on a predetermined unit basis, the predetermined unit being a line extending in the second direction and corresponding to each of the third polarizers and each of the fourth polarizers.
In the embodiment, the image processor may produce the first image data and the second image data by summing the image data produced by the imaging device on a predetermined unit basis, the predetermined unit being a line extending in the second direction and corresponding to each of the third polarizers and each of the fourth polarizers, and then rearranging the summed image data. The configuration described above allows the first image data and the second image data to be produced by summing the image data produced by the imaging device on a predetermined unit basis, the predetermined unit being a line extending in the second direction and corresponding to each of the third polarizers and each of the fourth polarizers, and then rearranging the summed image data.
In the embodiment, the image processor may process the image data produced by the imaging device in such a way that image data sequentially read on a predetermined unit basis, the predetermined unit being a line extending in the second direction and corresponding to each of the third polarizers, are handled as the first image data, and image data sequentially read on a predetermined unit basis, the predetermined unit being a line extending in the second direction and corresponding to each of the fourth polarizers, are handled as the second image data. The configuration described above allows the image data produced by the imaging device to be processed in such a way that image data sequentially read on a predetermined unit basis, the predetermined unit being a line extending in the second direction and corresponding to each of the third polarizers, are handled as the first image data, and that image data sequentially read on a predetermined unit basis, the predetermined unit being a line extending in the second direction and corresponding to each of the fourth polarizers, are handled as the second image data.
In the embodiment, the image processor may process the image data produced by the imaging device in such a way that image data on a predetermined unit basis, the predetermined unit being a line extending in the second direction and corresponding to each of the third polarizers, are summed and the summed image data are then sequentially read and handled as the first image data, and that image data on a predetermined unit basis, the predetermined unit being a line extending in the second direction and corresponding to each of the fourth polarizers, are summed and the summed image data are then sequentially read and handled as the second image data. The configuration described above allows the image data produced by the imaging device to be processed in such a way that image data on a predetermined unit basis, the predetermined unit being a line extending in the second direction and corresponding to each of the third polarizers, are summed and the summed image data are then sequentially read and handled as the first image data, and that image data on a predetermined unit basis, the predetermined unit being a line extending in the second direction and corresponding to each of the fourth polarizers, are summed and the summed image data are then sequentially read and handled as the second image data.
In the embodiment, the pixels in the imaging device may be disposed in a primary color Bayer arrangement. The configuration described above allows the first image data and the second image data to be produced by using image data produced by the imaging device having pixels disposed in a primary color Bayer arrangement.
In the embodiment, the first polarizer and the second polarizer may be disposed adjacent to each other on opposite sides of the second direction as a boundary in the vicinity of the diaphragm in a single optical system that collects the light from the subject. The configuration described above allows the first image data and the second image data to be produced by using the first polarizer and the second polarizer disposed adjacent to each other on opposite sides of the second direction as a boundary in the vicinity of the diaphragm in a single optical system that collects the light from the subject.
In the embodiment, the first polarizer may be disposed in the vicinity of the diaphragm in a first optical system that collects the light from the subject, and the second polarizer may be disposed in the vicinity of the diaphragm in a second optical system that collects the light from the subject. The configuration described above allows the first image data and the second image data to be produced by using the first polarizer disposed in the vicinity of the diaphragm in the first optical system that collects the light from the subject and the second polarizer disposed in the vicinity of the diaphragm in the second optical system that collects the light from the subject.
In the embodiment, the image processor may produce the first image data and the second image data as image data to be recorded on a recording medium based on a predetermined recording format. The configuration described above allows the first image data and the second image data to be produced as image data to be recorded on a recording medium based on a predetermined recording format.
In the embodiment, the image processor may produce the first image data and the second image data as image data to be recorded on a recording medium based on a recording format using a side by side scheme. The configuration described above allows the first image data and the second image data to be produced as image data to be recorded on a recording medium based on a recording format using the side by side scheme.
In the embodiment, the first direction may be a direction of parallax associated with the stereoscopic images. The configuration described above allows the first image data and the second image data to be produced by setting the first direction to be a direction of parallax associated with the stereoscopic images.
The present disclosure can provide an excellent effect of reducing degradation in quality of stereoscopic images.
A mode for carrying out the present disclosure (hereinafter referred to as “embodiment”) will be described below. The description will be made in the following order:
1. First embodiment (image processing control: a case where an imaging apparatus including a single lens system (what is called a single-lens reflex 3D camera) produces stereoscopic images)
2. Second embodiment (image processing control: a case where an imaging apparatus including a plurality of lens systems (what is called a twin-lens 3D camera) produces stereoscopic images)
The imaging apparatus 100 includes the lens system 110, the pupil polarizing unit 120, the imaging device polarizing unit 130, the imaging device 140, an operation receiver 150, a controller 160, an image processor 170, and a storage unit 180. Directions involved in the following description are defined as follows: The horizontal axis is an X-axis direction; the vertical axis is a Y-axis direction; and the direction in which light travels is a Z-axis direction. The imaging apparatus 100 can, for example, be a digital camera, a digital video camcorder (camera-recorder hybrid, for example), or any other imaging apparatus. The imaging device 100 can, for example, be a front-surface-illuminated solid-state imaging device or a rear-surface-illuminated solid-state imaging device.
The lens system 110 includes an imaging lens 111, an image forming lens 112, and a diaphragm 113. The lens system 110 functions, for example, as a focus lens and a zoom lens.
The imaging lens 111 collects light incident from a subject. The imaging lens 111 includes a focus lens for focusing and a zoom lens for enlarging an image of the subject. The imaging lens 111 is typically formed of a combination of a plurality of lenses to correct chromatic and other aberrations.
The image forming lens 112 focuses light having passed through the pupil polarizing unit 120 and forms an image on the imaging device 140.
The diaphragm 113 has a function of limiting light to adjust the amount of collected light and is formed, for example, of a combination of a plurality of plate-shaped blades. Further, light from at least a single point on the subject is parallelized in the position of the diaphragm 113.
The lens system 110 may be formed of a single-focus lens or what is called a zoom lens. The configuration of the lens system 110 can be determined based on the specifications required for the lens system 110.
The pupil polarizing unit 120 includes a first polarizer 121 and a second polarizer 122 disposed along the vertical direction (Y-axis direction) and polarizes the light from the subject. The polarizer used herein means a component that converts natural light (non-polarized light) or circularly polarized light into linearly polarized light. Each of the first polarizer 121 and the second polarizer 122 can, for example, be a polarizer having a known configuration (polarizing plate or polarizing filter, for example).
The light incident on the lens system 110 is parallelized and then focused on the imaging device 140 (image is formed thereon), and the pupil polarizing unit 120 is preferably in a position in the lens system 110 where the light remains parallelized. Further, the pupil polarizing unit 120 is preferably disposed, for example, in a position where it does not affect the operation of the diaphragm 113 (a position closest possible to the diaphragm 113). For example, the pupil polarizing unit 120 is preferably disposed in the vicinity of the diaphragm 113 in the lens system 110. When the pupil polarizing unit 120 is disposed as described above, it is not typically necessary to redesign a new optical system of the lens system but it is only necessary to change the mechanical (physical) design of an existing lens system in such a way that the pupil polarizing unit 120 can be fixed thereto (or removably disposed therein). The pupil polarizing unit 120 can thus be disposed.
The pupil polarizing unit 120, when removably disposed in the lens system, can, for example, be configured similarly to the blades of the diaphragm in the lens system and disposed in the lens system. Alternatively, a member including the pupil polarizing unit 120 and an aperture can be so disposed in the lens system that the member pivotally moves around a pivotal axis parallel to the optical axis of the lens system. In this case, the member, when pivoted around the pivotal axis, allows light rays traveling through the lens system to pass through the aperture or the pupil polarizing unit 120. Still alternatively, the member including the pupil polarizing unit 120 and the aperture can be so disposed in the lens system that the member can slide in the direction perpendicular to the optical axis of the lens system. In this case, the member, when caused to slide, allows light rays traveling through the lens system to pass through the aperture or the pupil polarizing unit 120.
Further, for example, the pupil polarizing unit 120 has a circular outer shape, and each of the first polarizer 121 and the second polarizer 122 has a semicircular outer shape that occupies one half the pupil polarizing unit 120. In this case, the boundary between the first polarizer 121 and the second polarizer 122 extends along the vertical direction (Y-axis direction). The pupil polarizing unit 120, which is formed of the first polarizer 121 and the second polarizer 122, divides the light incident thereon into two light fluxes having different polarization states. Specifically, the pupil polarizing unit 120 is formed of polarizers symmetric with respect to the boundary (first polarizer 121 and second polarizer 122). The pupil polarizing unit 120, specifically, two portions thereof on the right and left sides defined with respect to the imaging apparatus 100 in an upright position, produces linearly polarized light fluxes having polarization directions perpendicular to each other or circularly polarized light fluxes having polarization directions oriented in opposite directions.
The first polarizer 121 is a polarizer (polarizing filter, for example) that polarizes an image of the subject intended to be viewed with the right eye (light intended to be received by the right eye). On the other hand, the second polarizer 122 is a polarizer (polarizing filter, for example) that polarizes an image of the subject intended to be viewed with the left eye (light intended to be received by the left eye). For example, a P polarizer (first polarizer 121) is disposed in a left portion of the pupil in the position of (in the vicinity of) the diaphragm 113, and an S polarizer (second polarizer 122) is disposed on a right portion of the pupil in the position of 113 (in the vicinity of) the diaphragm. The light having passed through each of the first polarizer 121 and the second polarizer 122 can thus be linearly polarized. The positions of the P polarizer and the S polarizer can be reversed. Alternatively, the light having passed through each of the first polarizer 121 and the second polarizer 122 may be circularly polarized (as long as the polarization directions of the circularly polarized light fluxes are oriented in opposite directions). In general, a transverse wave oscillating only in a specific direction is called a polarized wave, and the oscillation direction is called a polarization direction or a polarization axis. The orientation of the electric field of light coincides with the polarization direction.
As described above, the lens system 110 and the pupil polarizing unit 120 not only have zooming, focusing, light limiting, and other optical functions but also divides light into right and left images produced by light fluxes polarized perpendicular to each other (images corresponding to parallax between the right and left eyes) in the position of the diaphragm 113, which is the pupil position.
The imaging device polarizing unit 130 includes a third polarizer 131 and a fourth polarizer 132 (shown in
The imaging device 140 has pixels arranged in a matrix extending in the horizontal and vertical directions for producing image signals and has the imaging device polarizing unit 130 disposed on the light incident side of the imaging device 140. That is, the imaging device polarizing unit 130 and the imaging device 140 form a polarization image sensor. The imaging device 140 converts the light collected by the lens system 110 into an electric signal. That is, the imaging device 140 independently but simultaneously receives the right and left light fluxes separated by the pupil polarizing unit 120 (light fluxes corresponding to image for right vision and image for left vision). Image data for right vision and image data for left vision are thus produced based on the converted electric signal from the imaging device 140. The imaging device 140 can, for example, be a CCD (charge coupled device) sensor or a CMOS (complementary metal oxide semiconductor) sensor. The imaging device 140 can alternatively be a CMD (charge modulation device) sensor or any other signal amplification image sensor. In the configuration described above, an entrance pupil is positioned between the image forming lens 112 and the imaging device 140 but closer to the latter.
The operation receiver 150 receives an input issued by a user and outputs an operation signal according to the received input to the controller 160. For example, the operation receiver 150 receives an instruction to record still images (stereoscopic images) and an instruction to start (or stop) recording video images (stereoscopic images).
The controller 160 controls the entire imaging apparatus 100. For example, the controller 160 performs control according to an input issued by the user and received by the operation receiver 150.
The image processor 170 performs a various kinds of image processing on the electric signal outputted from the imaging device 140 and stores the electric signal (image data) having undergone the various kinds of image processing in the storage unit 180. For example, the image processor 170 converts the electric signal (image data) outputted from the imaging device 140 into image data for right vision and image data for left vision (what is called 3D image processing). The image processor 170 then stores the converted image data for right vision and image data for left vision as stereoscopic image contents in the storage unit 180. The image processor 170 further outputs the converted image data for right vision and image data for left vision as stereoscopic images to a display device (not shown) and displays them thereon.
The storage unit 180 is a recording medium on which a variety of data are stored. The storage unit 180 can, for example, be a semiconductor memory, an optical disc, and a hard disk drive. The semiconductor memory can, for example, be a flash ROM (read only memory) or a DRAM (dynamic random access memory). The optical disc can, for example, be a BD (Blu-ray Disc), a DVD (digital versatile disc), and a CD (compact disc). The storage unit 180 can alternatively be a storage device built in the imaging apparatus 100 or a memory card or any other removable medium (recording medium) that can be loaded and unloaded to and from the imaging apparatus 100.
The polarization directions of the first polarizer 121 and the second polarizer 122 are perpendicular to each other, as shown in
Now, for example, suppose that the pupil polarizing unit 120 has a circular outer shape having a radius r (=10 mm). Each of the first polarizer 121 and the second polarizer 122 has a semicircular shape that occupies one half the pupil polarizing unit 120. Now, the center of gravity determined based on the outer shape of the first polarizer 121 is called a center of gravity BC1 in the area of the first polarizer 121, and the center of gravity determined based on the outer shape of the second polarizer 122 is called a center of gravity BC2 in the area of the second polarizer 122. In this case, the distance between the center of gravity BC1 and the center of gravity BC2 (base line length) can be determined as follows: “(8r)/(3π) (=8.5 mm).”
The polarization directions of the third polarizers 131 and the fourth polarizers 132 are perpendicular to each other, as shown in
Now, for example, consider a case where the orientation of the electric field of the first pass-through light is parallel to the horizontal direction. In this case, the first pass-through light primarily has a P-wave (TM-wave) polarization component, and the second pass-through light primarily has an S-wave (TE-wave) polarization component. The orientation of the electric field of the first pass-through light is parallel to the orientation of the electric field of the third pass-through light (indicated by open arrows), and the orientation of the electric field of the second pass-through light is parallel to the orientation of the electric field of the fourth pass-through light (indicated by open arrows). The extinction ratio of each of the polarizers is preferably at least three, more preferably at least ten. The extinction ratio associated with the first polarizer 121 means the ratio between the two light components contained in the light having passed therethrough (that is, the ratio of the light component whose electric field is oriented in the horizontal direction to the light component whose electric field is oriented in the vertical direction). Similarly, the extinction ratio associated with the second polarizer 122 means the ratio between the two light components contained in the light having passed through the second polarizer 122 (that is, the ratio of the light component whose electric field is oriented in the vertical direction to the light component whose electric field is oriented in the horizontal direction).
The first pass-through light having passed through the first polarizer 121 passes through the third polarizers 131 and reaches the imaging device 140. Similarly, the second pass-through light having passed through the second polarizer 122 passes through the fourth polarizers 132 and reaches the imaging device 140. The image processor 170 produces stereoscopic images based on the first pass-through light (third pass-through light) and the second pass-through light (fourth pass-through light) having reached the imaging device 140, and the produced stereoscopic images have a base line length of binocular parallax that is equal to the distance between the center of gravity BC1 of the first polarizer 121 and the center of gravity BC2 of the second polarizer 122.
The Bayer arrangement is a pixel arrangement in which a basic block (group of pixels) formed of two pixels (in horizontal direction) by two pixels (in vertical direction) is periodically disposed. In
A third polarizers 131 corresponds to a column of pixels arranged along the vertical direction (Y-axis direction) (two pixels in the horizontal direction), as shown in
The configuration described above allows a strip of image extending in the vertical direction and produced based on light primarily having the P-wave component (image for right vision) and a strip of image extending in the vertical direction and produced based on light primarily having the S-wave component (image for left vision) to be alternately produced along the horizontal direction.
As described above, in the imaging apparatus 100, the pupil polarizing unit 120 (first polarizer 121 and second polarizer 122), which produces light fluxes polarized in directions perpendicular to each other, is disposed in the position of the diaphragm 113. The light incident on the lens system 110 is divided by the pupil polarizing unit 120 (first polarizer 121 and second polarizer 122) into light corresponding to the right side of the pupil and light corresponding to the left side of the pupil. Using the distance between the centers of gravity of the areas of the light fluxes passing through the right and left sides of the pupil (pass-through figures) as the base line length of binocular parallax, the imaging device polarizing unit 130 (third polarizer 131 and fourth polarizer 132) disposed in the position of the imaging device 140 produces an image for right vision and an image for left vision separately, and the imaging device 140 captures the images simultaneously. The third polarizers 131 and the fourth polarizers 132 in the position of the imaging device 140 are alternately disposed on a two-pixel line basis in parallel to the right/left division axis of the pupil polarizing unit 120 (first polarizer 121 and second polarizer 122).
As described above, the first polarizer 121 and the second polarizer 122 are two polarizers that are disposed in the vicinity of the diaphragm 113 and polarize the light from a subject, and the polarization directions of polarizers are perpendicular to each other. Now, let a first direction (direction of parallax associated with stereoscopic images produced by imaging apparatus 100, for example) be the direction along which the first polarizer 121 and the second polarizer 122 are connected to each other (horizontal direction (X-axis direction)). In this case, the third polarizers 131 are disposed, alternating with the fourth polarizers 132, in a photodetection plane of the imaging device 140 along a direction perpendicular to the first direction (second direction (vertical direction (Y-axis direction)) in such a way that the third polarizers 131 extend in the second direction and the polarization direction thereof is parallel to that of the first polarizer 121. The fourth polarizers 132 are disposed, alternating with the third polarizers 131, in the photodetection plane of the imaging device 140 along the second direction in such a way that the fourth polarizers 132 extend in the second direction and the polarization direction thereof is parallel to that of the second polarizer 122. The first polarizer 121 and the second polarizer 122 are disposed adjacent to each other on opposite sides of the second direction as a boundary in the vicinity of the diaphragm 113 in a single optical system (lens system 110).
The imaging device 140 has pixels arranged in a matrix identified by the first and second directions, and the pixels are disposed in a primary color Bayer arrangement. In this case, the third polarizers 131 and the fourth polarizers 132 are, for example, alternately disposed on a predetermined arrangement unit basis, the predetermined arrangement unit being a line extending in the second direction and corresponding to two pixels in the first direction in the imaging device 140.
In the first embodiment of the present disclosure, in which the description is made with reference to the Bayer arrangement according to which the pixels in the imaging device 140 are disposed, other arrangements can be used in the first embodiment of the present disclosure. For example, an interline arrangement, a G-stripe/RB checker arrangement, a G-stripe/RB complete checker arrangement, a checker complementary color arrangement, a stripe arrangement, an oblique stripe arrangement, a primary color difference arrangement, and a field color difference sequential arrangement can also be used in the first embodiment of the present disclosure. Further, for example, a frame color difference sequential arrangement, a MOS arrangement, a modified MOS arrangement, a frame interleave arrangement, and a field interleave arrangement can be used in the first embodiment of the present disclosure.
In
Specifically, the image of the circular object 201 is formed on the imaging device 140 in a position apart rightward from the image of the square object 200 by a distance (+Δx), as shown in
That is, the amount and direction of blur of an image of an object positioned on the near side of the square object 200 toward the imaging apparatus 100 (circular object 201) differ from the amount and direction of blur of an image of an object positioned on the far side of the square object 200 away from the imaging apparatus 100. Further, the amount and direction of blur of an image of the circular object 201 change in accordance with the distance between the square object 200 and the circular object 201. Resultant stereoscopic images have a base line distance of binocular parallax equal to the distance between the centers of gravity of the areas of the first polarizer 121 and the second polarizer 122 in the pupil polarizing unit 120.
Based on the thus produced image for left vision 221 and image for right vision 222, stereoscopic images can be produced in a known way. A planar image (two-dimensional image (that is, non-stereoscopic image)) can also be produced by combining the image data for right vision and the image data for left vision.
The imaging device 140 produces an electric signal for producing the image data for right vision based on the first pass-through light having passed through the third polarizers 131 and reached the imaging device 140. Similarly, the imaging device 140 produces an electric signal for producing the image data for left vision based on the second pass-through light having passed through the fourth polarizers 132 and reached the imaging device 140. The imaging device 140 outputs the thus produced electric signals simultaneously or alternately in time sequence. The image processor 170 performs image processing on the outputted electric signals (electric signals outputted from the imaging device 140 and used to produce image data for right vision and image data for left vision). The image processor 170 then records the image data having undergone the image processing as the image data for right vision and the image data for left vision in the storage unit 180.
The image for right vision and the image for left vision described above, which have been thinned out in the horizontal direction, may not allow stereoscopic images to be displayed appropriately. To produce image data for right vision and image data for left vision that allow stereoscopic images to be displayed appropriately, the image processor 170 performs demosaicing and interpolation (interpolation based, for example, on super-resolution processing) on the electric signals. The image processor 170 can thus produce image data for right vision and image data for left vision that allow stereoscopic images to be displayed appropriately.
In typical demosaicing, for example, the average of electric signals from pixels of the same color close to one another is used. In the first embodiment of the present disclosure, however, the group of pixels (column of pixels) for producing image data for right vision and the group of pixels (column of pixels) for producing image data for left vision are alternately repeated. For this reason, using values of pixels close to one another like typical demosaicing may disadvantageously not provide correct image data. To address the problem, in the first embodiment of the present disclosure, the demosaicing is performed in consideration of a result of judgment whether an electric signal from a pixel to be referred to is associated with image data for right vision or image data for left vision.
In
g′(4,4)=(g(3,4)+g(4,5)+g(5,4)+g(4,1)×W3)/(3.0+W3) (1)
The term g′ (i, j) in the left-hand side of Expression (1) means a G-pixel signal value in the pixel position (i, j). Similarly, the term g (i,j) in the right-hand side means an electric signal value of the G-pixel in the pixel position (i, j). Further, the denominator of “3.0” in the right-hand side represents a weight for the distance (W1) between a pixel of interest (pixel 250 (position (4,4))) and three G pixels (positions (3,4), (4,5), and (5,4)) adjacent thereto. That is, the denominator of “3.0” in the right-hand side corresponds, when the distance (W1) to each of the three G pixels (positions (3,4), (4,5), and (5,4)) is a predetermined value (1.0, for example) and the reciprocal of the distance is a weight, to the sum of the weights. In
The value W3 in the denominator and the numerator of the right-hand side represents a weight for the value of an electric signal from the G pixel (position (4,1)) apart from the pixel of interest by three pixels. In this example, W3 is “⅓”.
Now, Expression (1) is generalized to the following Expressions (2) and (3). Expression (2) is used to calculate a signal value for i of an even number (G pixel signal value corresponding to the position of an R pixel). Expression (3) is used to calculate a signal value for i of an odd number (G pixel signal value corresponding to the position of a B pixel).
g′(i,j)=(g(i−1,j)×W1+g(i,j+1)×W1+(g(i+1,j)×W1+g(i,j−3)×W3)/(W1×3.0+W3) (2)
g′(i,j)=(g(i−1,j)×W1+g(i,j+1)×W1+(g(i−1,j)×W1+g(i,j+3)×W3)/(W1×3.0+W3) (3)
In the above Expressions, for example, W1 and W3 can be set at 1.0 and ⅓, respectively.
The above example has been described with reference to the case where a G pixel signal value in the position of an R pixel is produced. The demosaicing can be similarly performed in a case where other pixel signal values are produced.
The demosaicing thus allows a pixel signal value in the position of each pixel to be produced, but each image has been sort of thinned out in this stage as described above. It is therefore necessary to produce a pixel signal value in an area where no pixel signal value is present by using interpolation, which can be any known method, such as a method using the average of the values of pixels close to the pixel of interest. The interpolation may be performed concurrently with the demosaicing. In the vertical direction, the image quality is perfectly maintained, and decrease in resolution of an entire image and other degradation in image quality are relatively low.
The imaging device 140 includes a substrate (silicon semiconductor substrate) 141, photoelectric conversion devices 142, a first planarizing film 143, a color filter 144, and on-chip lenses 145. A second planarizing film 146, an inorganic insulating primary layer 147, and the wire-grid polarizers 300 are stacked on the on-chip lenses 145.
The photoelectric conversion devices 142 are formed in the substrate 141. The first planarizing film 143, the color filter 144, the on-chip lenses 145, the second planarizing film 146, the inorganic insulating primary layer 147, and the wire-grid polarizers 300 are stacked on the photoelectric conversion devices 142. Each of the wire-grid polarizers 300 forms each of the third polarizers 131 and the fourth polarizers 132. The order in which the on-chip lenses, the color filter, and the wire-grid polarizers are stacked can be changed as appropriate.
The on-chip lenses 145 are planarized by the second planarizing film 146 deposited on the on-chip lenses 145, and a WGP processing stopper film (inorganic insulating primary layer 147) for forming the wire-grid polarizers 300 is deposited on the second planarizing film 146. The wire-grid polarizers 300 can be formed on the WGP processing stopper film based on aluminum microprocessing in a semiconductor step.
Wires 310 that form each of the wire-grid polarizers 300 are made, for example, of aluminum (Al) or an aluminum alloy. The interval between the wires 310 and the duty (=wire width divided by interval) thereof, the height thereof, and other parameters thereof will be described in detail with reference to
In
Specifically, in a wire-grid polarizer 301, which forms each of the third polarizers 131, wires 311 extend in parallel to the vertical direction. In a wire-grid polarizer 302, which forms each of the fourth polarizers 132, wires 312 extend in parallel to the horizontal direction. The direction in which the wires 310 extend is a light absorption axis in each of the wire-grid polarizers 300, and the direction perpendicular to the direction in which the wires 310 extend is a light transmission axis in each of the wire-grid polarizers 300.
Recording of stereoscopic images will next be described. Since stereoscopic images are formed of a plurality of images (image for right vision and image for left vision, for example), the plurality of images may not be recorded by using a format according to which planar images (what is called 2D images) are recorded (transportation format) unless the size of the images are changed. To store stereoscopic images by using a recording format for planar images, the plurality of images are often handled as a single image by thinning out or otherwise compressing image signals carrying the images.
Known recording formats are, for example, a side by side scheme, a top and bottom scheme, a line by line scheme, a checkerboard scheme, a frame sequential scheme, and an L+ parallax scheme. Among the recording formats described above, the side by side scheme, the top and bottom scheme, the line by line scheme, and the checkerboard scheme cause one-half image data carried by right and left image signals to be lost but can convert the size thereof into an image size of related art. For this reason, these schemes are widely used in broadcasting networks of related art. In particular, the side by side scheme is also employed in CS (communications satellite) digital broadcasting, BS (broadcasting satellite) digital broadcasting, and other types of broadcasting. That is, the side by side scheme is the most widely used in 3D video transportation.
In the frame sequential scheme and the L+ parallax scheme, each of which is a high definition-oriented scheme, the size of a stored image is larger than the size of a full-HD (full high definition) image. These schemes are therefore expected to be employed, for example, in communication between a reproducing apparatus and a display apparatus that will be available in the near future.
In view of the situations described above, in the first embodiment of the present disclosure, image data produced by the imaging device 140 are recorded by using the side by side scheme by way of example.
The image processor 170 converts image signals (image data) read from the imaging device 140 into image data that conform to the side by side scheme (image data to be recorded 410) by rearranging the image signals on a two-pixel line basis, as indicated by the arrows in
As described above, in the first embodiment of the present disclosure, since only the data from the groups of pixels (two-pixel line) in the vertical direction are so rearranged that the RAW data 420 are converted into image data that conform to the side by side scheme (image data to be recorded 430), the vertical resolution is maintained.
Consider now a case where the polarizers (horizontal lines) in the imaging device polarizing unit are alternately disposed in the vertical direction or the polarizers in the imaging device polarizing unit are disposed in a checkerboard pattern and image data are recorded based on the side by side scheme. In either case, the vertical and horizontal resolution degrades by at least a factor of two. In contrast, in the first embodiment of the present disclosure, the horizontal resolution degrades by a factor of two but the vertical resolution does not degrade. The first embodiment of the present disclosure therefore prevents degradation in image quality resulting from the conversion into image data that conforms to the side by side scheme (that is, degradation in horizontal and vertical resolution by at least a factor of two).
When stereoscopic images are recorded as described above, a subject can be reproduced in greater detail than in a case where the polarizers in the imaging device polarizing unit (horizontal lines) are alternately disposed in the vertical direction. That is, when the third polarizers 131 and the fourth polarizers 132 (vertical lines) in the imaging device polarizing unit 130 are alternately disposed in the horizontal direction, the vertical resolution does not degrade, whereby degradation in quality of stereoscopic images can be reduced.
In accordance with the procedure described above, the image processor 170 processes the image data produced by the imaging device 140 in such a way that image data produced based on the light having passed through the first polarizer 121 and the third polarizers 131 (first pass-through light) are handled as first image data (image data for right vision), and that image data produced based on the second pass-through light having passed through the second polarizer 122 and the fourth polarizers 132 are handled as second image data (image data for left vision). The first and second image data are used to display stereoscopic images.
The image processor 170 rearranges the image data produced by the imaging device 140 on a predetermined unit basis, the predetermined unit being a line extending in the second direction (vertical direction (Y-axis direction)) and corresponding to the third polarizer 131 and the fourth polarizer 132 to produce the first and second image data.
In other words, the image processor 170 produces the first and second image data as image data to be recorded in the storage unit 180 based on a predetermined recording format (side by side scheme, for example).
The above example has been described with reference to the case where image data to be recorded are produced by rearranging image signals read from the imaging device 140, but other image conversion methods may be used. For example, when image signals are read from the imaging device 140, the lines in one image that forms stereoscopic images (image for left vision, for example) maybe sequentially read on two-pixel basis, and the lines in the other image (image for right vision, for example) may then be sequentially read on two-pixel basis. The thus read image data can be used to produce image data that conform to the side by side scheme.
That is, the image processor 170 can handle the image data produced by the imaging device 140 as follows: image data sequentially read on a predetermined unit basis, the predetermined unit being a line extending in the second direction and corresponding to the third polarizer 131, are handled as first image data and image data sequentially read on a predetermined unit basis, the predetermined unit being a line extending in the second direction and corresponding to the fourth polarizer 132, are handled as second image data.
Recent imaging devices (image sensors) have an increasingly greater number of pixels, and some imaging devices having been recently developed have ten million pixels or greater. The number of pixels from which video images are formed, however, is about two millions in a full-HD image, and adjacent pixels are typically summed into a single pixel in many cases when they are used to form video images.
To this end, an imaging device having such a large number of pixels can have polarizers disposed every predetermined unit in advance in accordance with the number of pixels to be summed, the predetermined unit being those in the Bayer arrangement multiplied by N (N is an integer greater than or equal to one).
In the example shown in
As shown in
That is, the third polarizers 131 and the fourth polarizers 132 are, for example, alternately disposed on a predetermined arrangement unit basis, the predetermined arrangement unit being a line extending in the second direction and corresponding to four pixels in the first direction in the imaging device 140.
The image processor 170 sums the image data produced by the imaging device 140 on a predetermined unit basis, the predetermined unit being a line extending in the second direction and corresponding to the third polarizer 131 and the fourth polarizer 132, and then rearranges the summed image data. The image processor 170 can produce first image data and second image data by rearranging the summed image data. The summation may be performed by the image processor 170 or the imaging device 140.
The above example has been described with reference to the case where summed image signals are so rearranged that image data to be recorded are produced, but other image conversion methods may be used. For example, the image processor 170 may sum image data on a predetermined unit basis, the predetermined unit being a line extending in the second direction and corresponding to the third polarizer 131, and then handle sequentially read image data (summed image data) as the first image data. Similarly, the image processor 170 may sum image data on a predetermined unit basis, the predetermined unit being a line in the second direction and corresponding to the fourth polarizer 132, and then handle sequentially read image data (summed image data) as the second image data.
The operation of the imaging apparatus 100 in the first embodiment of the present disclosure will next be described with reference to the drawings.
The image processor 170 first acquires image data from all the pixels in the imaging device 140 (step S901). Step S901 is an example of the acquisition step set forth in the appended claims.
The image processor 170 then rearranges the image data acquired from the imaging device 140 (step S902). That is, the image processor 170 rearranges the image data on a predetermined unit basis, the predetermined unit being a group of pixels corresponding to each of the third polarizer 131 and the fourth polarizer 132, to produce image data that conform to the side by side scheme (step S902). Step S902 is an example of the image processing step set forth in the appended claims.
The image processor 170 then performs demosaicing on the image data that conform to the side by side scheme (step S903). The image processor 170 then outputs the image data that conform to the side by side scheme and have undergone the demosaicing (step S904). For example, the image processor 170 outputs the image data that conform to the side by side scheme and have undergone the demosaicing and stores the image data in the storage unit 180 (step S904).
The image processor 170 first acquires image data from groups of pixels corresponding to the third polarizers 131 (step S911). The image processor 170 then acquires image data from groups of pixels corresponding to the fourth polarizers 132 (step S912). Since image data are acquired from the imaging device 140 on a predetermined unit basis, the predetermined unit being images that form stereoscopic images as described above, the image processor 170 can produce image data that conform to the side by side scheme without having to rearrange the image data. Steps S911 and S912 are examples of the acquisition step set forth in the appended claims. Steps S911 and S912 are also examples of the image processing step set forth in the appended claims.
The image processor 170 then performs demosaicing on the image data that conform to the side by side scheme (step S913). The image processor 170 then outputs the image data that conform to the side by side scheme and have undergone the demosaicing (step S914). For example, the image processor 170 outputs the image data that conform to the side by side scheme and have undergone the demosaicing and stores the image data in the storage unit 180 (step S914).
In the first embodiment of the present disclosure, the side by side scheme, which is the most typical 3D video transportation scheme, is used, as described above. The vertical resolution of the image data produced by the imaging device 140 is therefore maintained when the image data are converted into a video signal that conforms to the side by side scheme, whereby degradation in quality of stereoscopic images can be reduced.
Further, stereoscopic images (3D video images) can be produced only by rearranging image data, which is relatively simple signal processing. Moreover, after the rearrangement of the right and left images, a typical HD signal processing algorithm can be used without any modification, whereby the scale of the circuit can be reduced.
The exterior structure and the operation of the wire-grid polarizer (WGP) in the first embodiment of the present disclosure will next be summarized.
For example, metal (aluminum) ribs are so formed that each of the ribs has a line width of several tens of nanometers, which is sufficiently smaller than the wavelength of light, and that the ribs are arranged at an interval of one hundred and several tens of nanometers. It is known that the thus formed ribs work as a reflective polarizing plate having excellent polarization separation characteristics, specifically, reflecting a polarization component parallel to the ribs and transmitting a polarization component perpendicular to the ribs.
Based on the fact that a crosstalk limit is 10%, how the interval, the duty (=wire width divided by interval), the height, and the number of cycle repetitions, which are necessary for the wire-grid polarizer to achieve an extinction ratio greater than or equal to 10, change the extinction ratio is calculated.
As shown in
As shown in
As shown in
As seen from
It is therefore believed that a necessary wire length is 2 μm or longer, and that a necessary total length in the direction in which the wires are arranged is similarly sized. Based on the assumption described above, it is believed that an appropriate cycle in the wire structure is 10 or greater when the wires are arranged at an interval of 200 nm.
From the results described above, the wire-grid polarizer preferably has the following structure when the wires are made of aluminum: The grid is so configured that the interval is 200 nm or smaller, the duty (=wire width divided by interval) is ⅓ or greater, the height is 50 nm or greater, and the cycle is 10 or greater.
As shown in
If light leaks from a pixel to an adjacent pixel due to scattering, diffraction, and other phenomena caused by the polarizers on the OCLs, the light leakage causes color contamination, ghost images, and noise. To address the problems, the light fluxes having been separated in the position of the diaphragm in accordance with the polarization direction, which form right and left images, are typically required to be precisely separated by the polarizers on the OCLs and incident on the pixels.
In general, a polarizer as an optical component, which produces a phase difference between an ordinary ray and an extraordinary ray, needs a certain thickness. Commercially available polarizers formed of a resin film have a thickness of several hundreds of micrometers, and those made of calcite, mica, quartz, or any other crystalline material have a thickness ranging from several hundreds to several micrometers. It has also been reported that a polarizer having a cyclic structure made, for example, of a photonic crystal has a thickness of 5 μm.
In view of the fact described above, for example, when polarizers are formed on OCLs in a current COMS image sensor having a pixel size of 2.5 μm or smaller, the polarizers, which detect polarization directions, are positioned above the pixel plane by at least 5 μm. It is therefore difficult to separate polarized light precisely without color contamination into the pixels on the silicon chip surface, which are arranged at an interval of 2.5 μm.
To address the problem described above, the wire-grid polarizers are used in the first embodiment of the present disclosure. For example, the wire-grid polarizers, the thickness of which can be several hundreds of nanometers, can be placed immediately above the OCLs.
As shown in
As described above, since the polarizers are formed immediately above the OCLs in the first embodiment of the present disclosure, the amount of light leakage into an adjacent pixel (color contamination) is small, whereby a clear image can be produced. Further, each wire-grid polarizer can be designed to achieve an arbitrary extinction ratio by appropriately setting the interval, the height, the duty, and other parameters. Moreover, the wire-grid polarizers, which can be formed in typical semiconductor processes, can be formed in compatibility with image sensor processes. Further, each polarizer can have an arbitrary polarization direction and can be formed on an arbitrary pixel.
Further, a small, single-panel (that is, single sensor) image sensor can be used to capture stereoscopic images (what is called 3D imaging). Moreover, an arbitrary polarized image can be produced for each pixel.
Further, according to the first embodiment of the present disclosure, since the imaging apparatus 100 is formed of a set of pupil polarizing unit 120 and imaging device polarizing unit 130 and one lens system 110, for example, right and left two different separated images can be simultaneously produced. A small, single-lens imaging apparatus having a simple structure with a small number of parts can thus be provided. That is, a small imaging apparatus capable of producing stereoscopic images at low cost can be provided.
Since two sets of lens and polarizing filter are not necessary, no shift or difference in zooming, limiting light, focusing, convergence angle, and other parameters will occur. Further, since the base line length of binocular parallax is relatively small, a natural stereoscopic sensation can be provided. Moreover, when the pupil polarizing unit 120 can be removably inserted at the position of the diaphragm 113, a planar image (two-dimensional image) and stereoscopic images (3D image) can be readily produced.
As compared with a time division method (that is, a method for alternately capturing right and left images in time sequence by switching right and left shutters at the position of the diaphragm), right and left images can be captured simultaneously and the number of mechanical parts can be reduced. Further, the image sensor can be functionally integrated. Moreover, any loss associated with shuttering or any decrease in efficiency of imaging resulting from an increase in temporal frequency will not occur, whereby a bright image can be produced.
The first embodiment of the present disclosure has been described with reference to the case where an imaging apparatus including one lens system produces stereoscopic images (what is called a single-lens reflex 3D camera). The first embodiment of the present disclosure is also applicable to an imaging apparatus including a plurality of lens systems and capable of producing stereoscopic images by using the lens systems (twin-lens 3D camera, for example). A second embodiment of the present disclosure will be described with reference to an imaging apparatus including a plurality of lens systems.
The imaging apparatus 500 includes first lens groups 511 and 513, second lens groups 512 and 514, a first polarizer 521, a second polarizer 522, mirrors 531 to 534, an imaging device polarizing unit 540, and an imaging device 550. The first polarizer 521 is disposed in the vicinity of a diaphragm (not shown) in a first optical system (first lens group 511 and second lens group 512) that collects light from a subject. The second polarizer 522 is disposed in the vicinity of a diaphragm (not shown) in a second optical system (first lens group 513 and second lens group 514). The imaging apparatus 500 thus includes two lens systems (first lens groups 511, 513 and second lens groups 512, 514) and one imaging device 550.
The first polarizer 521 corresponds to the first polarizer 121 shown in
The embodiments of the present disclosure are also applicable to other apparatus having an imaging capability that allows a variety of images (such as stereoscopic images) to be handled (such as mobile phones, navigations systems, and mobile media players).
The embodiments of the present disclosure are presented by way of example for embodying the present disclosure. As explicitly stated in the embodiments of the present disclosure, items in the embodiments of the present disclosure are related to specific inventive items set forth in the appended claims. Similarly, the specific inventive items in the appended claims are related to the items having the same names in the embodiments of the present disclosure. It is, however, noted that the present disclosure is not limited to the embodiments but can be embodied with a variety of changes made to the embodiments to the extent that the changes do not depart from the substance of the present disclosure.
Each of the procedures described in the embodiments of the present disclosure may be taken as a method including a series of processes of the procedure or may be taken as a program that instructs a computer to carry out the series of processes or a recording medium on which the program is recorded. Examples of the recording medium may include a CD (compact disc), an MD (minidisc), a DVD (digital versatile disk), a memory card, and a Blu-ray disc®.
It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and alterations may occur depending on design requirements and other factors insofar as they are within the scope of the appended claims or the equivalents thereof.
Number | Date | Country | Kind |
---|---|---|---|
2011-031486 | Feb 2011 | JP | national |
This Application is a Continuation Application of application Ser. No. 13/359,085, filed Jan. 26, 2012, which in turn claims priority from Japanese Priority Patent Application JP 2011-031486 filed in the Japan Patent Office on Feb. 17, 2011, the entire contents of which are hereby incorporated by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 13359085 | Jan 2012 | US |
Child | 15361264 | US |