The present application claims priority from Japanese Application No. 2008-166410, filed on Jun. 25, 2008, the content of which is incorporated herein by reference.
1. Field of the Invention
This invention relates to a single-plate imaging device for imaging a subject with a number of imaging bands of not less than 4 colors.
2. Description of the Related Art
Conventionally, filters of 3 primary colors are used in an imaging device. However, since color reproducibility is not necessarily good with the filters of 3 primary colors, it has been attempted to enhance the color reproducibility by increasing the number of color filters to realize multiband imaging.
As a known method for realizing multiband imaging, for example, Japanese Patent Application Laid-open Publication No. 2006-314043 describes a method including steps of switching a plurality of color filters provided in an optical path of an imaging optics, capturing images, each corresponding to each color in order, and synthesizing each image to obtain a color image. Another example is Japanese Patent Application Laid-open Publication No. 2004-172832 which describes a method including steps of separating an incident light from a subject with a half mirror or a dichroic mirror and obtaining spectral images of 3 colors with different wavelengths from each separated incident light to obtain images of a total of 6 colors. Japanese Patent Application Laid-open Publication No. 2005-286649 also describes a method including a step of imaging by using an imaging element having filters of not less than 4 colors in a single-plate imaging device.
Particularly, the single-plate imaging device using filters of not less than 4 colors is advantageous in that downsizing is possible and imaging time can also be shortened, since a filter switching mechanism and/or division of the optical path are unnecessary.
For example, in the imaging device disclosed in Japanese Patent Application Laid-open Publication No. 2005-286649, the light from a subject is collected by a lens 101, received on an imaging element 103 through regularly arrayed color filters of 6 colors, and converted into analog signals as shown in
However, in the multiband image pickup device using color filters as described above, since a filter of 1 color corresponds to each pixel of the imaging element, signals of the other colors for the pixel cannot be obtained. Therefore, as the above example, the other color signals of the pixel are derived from surrounding pixel signals by interpolating. As a result, there is a problem that to realize multiband imaging in more wavelengths incurs lower spatial resolution of each band image, more occurrences of false color and the like.
It is, therefore, an object of the invention made in view of the above point to provide a multiband image pickup method and device superior in color reproducibility, which is capable of imaging a subject with a number of imaging bands of not less than 4 colors and obtaining a color image of not less than 3 colors without lowering spatial resolution.
The first aspect of the invention, which achieves the object described above, is a multiband image pickup method for capturing a subject image with a single-plate imaging element having color filters of not less than 4 colors, the method comprising: an imaging step including sub-steps of performing a first imaging of the subject image, shifting the subject image by a predetermined shift amount so that each light having formed an image on a filter of a first color of the color filters forms an image on a position of the filters of a second color different from the first color of the color filters, and performing a second imaging; and a multiband image generation step of generating a multiband image of at least not less than 3 colors based on images obtained by the first imaging and the second imaging.
The second aspect of the invention resides in the multiband image pickup method according to the first aspect, wherein the imaging step comprises a plural sets of image capturing sub-step of performing a plural sets of the first imaging and the second imaging under different imaging conditions; and a selection sub-step of selecting a set of images from the plural sets of images obtained in the plural sets of image capturing sub-step, and the multiband image generation step generates a multiband image of at least not less than 3 colors based on the set of captured images selected at the selection sub-step.
The third aspect of the invention, which achieves the object described above, is a multiband image pickup device for capturing a subject image with a single-plate imaging element having color filters of not less than 4 colors through an imaging optics, the multiband image pickup device comprising: a shift unit for selectively shifting the subject image so that each light having formed an image on a filter of a first color of the color filters forms an image on a position of a filter of a second color different from the first color of the color filters; and an image processing unit for generating a multiband image of at least not less than 3 colors based on 2 images obtained by capturing with the imaging element before and after the shift of the subject image by the shift unit.
The forth aspect of the invention resides in the multiband image pickup device according to the third aspect, wherein the shift unit relatively shifts the imaging optics and the imaging element within an imaging plane.
The fifth aspect of the invention resides in the multiband image pickup device according to the third aspect, wherein the color filters are arrayed so that each light having formed an image on a filter of a third color different from the first color and the second color before the shift forms an image on a position of a filter of the same color as the third color after the shift.
The sixth aspect of the invention resides in the multiband image pickup device according to the third aspect, wherein the image processing unit comprises a multiband image synthesis unit for generating 2 images having number of bands less than the number of imaging bands based on 2 images obtained by each imaging before and after the shift and demosaicing each of the 2 images to generate a multiband image.
According to the invention, by using a single-plate imaging element having color filters of not less than 4 colors, the first imaging is performed, a subject image is shifted by a predetermined shift amount so that each light having formed an image on a filter of the first color of the color filters before the shift forms an image on a position of a filter of the second color different from the first color of the color filters after the shift, the second imaging is performed, and a multiband image of at least not less than 3 colors is generated based on images obtained by the first imaging and the second imaging, thereby it is possible to image the subject with imaging bands of not less than 4 colors and to obtain a color image of not less than 3 colors without lowering spatial resolution as compared to the case of imaging with imaging bands of 3 colors.
Preferred embodiments of the present invention are described below with reference to the accompanying drawings.
The multiband image pickup device 1 comprises an imaging lens 2, a release button 3, the imaging element 5, a shift drive unit 6, an image processing unit 7, an image memory unit 8 and a control unit 4 for controlling the whole operation.
When the release button 3 is pushed down, the control unit 4 instructs the imaging element 5 to perform a first imaging, and when the imaging is completed, the control unit 4 immediately controls a shift amount by the shift drive unit 6 to shift the imaging element 5 and instructs the imaging element 5 to perform a second imaging. Thereby, the first imaging and the second imaging are performed in series in short time. Here, the control unit 4 and the shift drive unit 6 constitute a shift unit. Additionally a well-known mechanism such as an ultrasonic motor and a piezo element which are used for shifting the imaging element in image stabilization can be used to constitute the shift unit 6.
Next, the pixel configuration and the shift amount of the color filter 11 of the imaging element 5 will be described below.
The color filter 11 is configured with filters in a unit array shown in
The control unit 4 shifts the imaging element 5 in a transverse direction (hereinafter referred to as a horizontal direction) thereof by 2 pixels by the shift drive unit 6, according to the pixel size of the filter.
By shifting the imaging element 5 as such, a pixel position where the subject image images on the imaging element 5 displaces as shown in
When imaging is performed in the multiband image pickup device 1, other than misregistration of pixels by the aforementioned shift of the imaging element 5, misregistration of pixels of captured image due to hand movement and the like occurs. The registration processing unit 53 calculates the misregistration of pixel position in a horizontal direction due to them, corrects the misregistration, and processes the image of the second imaging for processing in the multiband image synthesis unit 54.
Specifically, the registration processing unit 53, as the schematic configuration shown in
The registration amount calculation unit 63 performs each demosaicing process on the first captured image and the second captured image to generate an image of only G components from the G components extracted by the G component extraction units 61 and 62. Furthermore, while the 2 generated G images are relatively displaced in a horizontal direction, the correlation value of the images is calculated, thereby pixel misregistration of the second captured image to the first captured image in a relative position of both images where the value is the largest is determined to be a misregistration amount, the shift amount being expressed in number of pixels with a shift direction of the imaging element 5 being positive. The misregistration amount is also called registration correction amount because the registration correction can be performed by registering a pixel coordinate of the second captured image to a pixel coordinate of the first captured image according to the misregistration amount. In the misregistration amount, since the amount for 2 pixels is generated by shifting the imaging element 5, a shift amount showing an actual misregistration generated by hand movement and the like is a value after subtracting 2 pixels from the misregistration amount.
The calculation process of the registration correction amount (misregistration amount) will be more specifically described with reference to
As above, it is possible to detect a particular pixel position of the first captured image as corresponding to a position 2 pixels right to the same pixel position of the second captured image by using the G pixel component, and the subject image captured in a unit array with R11 and C44 as vertexes on a diagonal in
On the other hand,
However, in this example, relative to the unit array of RGOG-GBGC-RGOG-GBGC of the first captured image, an array of GRGO-CGBG-GRGO-CGBG with G14 and G17 as vertexes on a diagonal corresponds to the same subject image of the second image. Since this array is incompatible to a process by the multiband image synthesis unit 54 to be described, a pixel value of each pixel is calculated assuming the case that a pixel array of OGRG-GCGB-OGRG-GCGB is in a position of a pixel array of 4 rows and 4 columns including G14 and G47 by interpolation and the like in the registration calculation unit 64 in
For example, a pixel value in the assuming case that the O filter is in a position of G14 in
When the shift amount is a multiple of 4, since it is possible to obtain an image in OGRG-GCGB-OGRG-GCGB as a unit array by simply shifting a pixel coordinate according to the misregistration amount, the interpolation process in the registration calculation unit 64 described above becomes unnecessary. Although the misregistration amount is 3 pixels in the above example, even when the misregistration amount is not an integral multiple of the pixel size, it is possible to calculate the pixel value by interpolation in the registration calculation unit 64 as described above.
As above, the registration processing unit 53 outputs image signals of the first captured image in RGOG-GBGC-RGOG-GBGC as a unit array, and registers the second captured image to the first captured image, based on pixel values of each color of captured images from the first captured image memory unit 51 and the second captured image memory unit 52 as input, and further processes image signals of the second captured image to output image signals in OGRG-GCGB-OGRG-GCGB as a unit array corresponding to the pixel position of the above first captured image.
Next, the configuration of the multiband image synthesis unit 54 shown in
The demosaicing units 56 and 57 demosaic images in each Bayer array generated in the 3-band Bayer image creation unit 55 to generate each image of ROB and each image of OGC. The 5-band image synthesis unit 58 creates each image of 5 bands of ROGCB from each image of ROB and each image of OGC generated in the demosaicing units 56 and 57.
Next, the imaging operation of the subject using the multiband image pickup device 1 according to the present embodiment will be described with reference to the flow chart shown in
First, when the release button 3 is pressed down by a user, the control unit 4 performs the first imaging by the imaging element 5 (step S1). Then, the control unit 4 controls the shift amount by the shift drive unit 6 (step S2), shifts the imaging element 5 in a horizontal direction for 2 pixels (step S3), and performs the second imaging by the imaging element 5 again (step S4). The first imaging and the second imaging are performed in series in a short time.
The first captured image and the second captured image are each provided to the image processing unit 7, each temporarily stored in the first captured image memory unit 51 and the second captured image memory unit 52, and registered in the multiband image processing unit 41 within the image processing unit 7 shown in
The multiband image with 5 bands generated in the multiband image synthesis unit 54 is temporarily saved in the multiband image memory unit 42 in
As described above, according to the embodiment, since the imaging element 5 having the color filter 11 of 5 colors of ROGCB in a predetermined unit array is used, 2 images are captured before and after the shift of the imaging element 5 by the shift drive unit 6, and two 3-band images of RGB and OGC are generated from the 2 captured images, it is possible to suppress the occurrence of false color due to lowered spatial resolution and generate a 5-band image of superior color reproducibility from the two 3-band images, as compared to a conventional imaging with 3 bands. Also, by using the 5-band image, it is possible to generate an image with 3 bands of RGB of superior'color reproducibility.
Moreover, since 8 pixels, that is half of the unit array of the color filter 11 arrayed in 4 rows and 4 columns, are set to be G pixels, and G components are used to register before and after the shift of the imaging element 5, even when there is hand movement or a movement of the subject between the first captured image and the second captured image, it is possible to correct the displacement of the subject image on the imaging element due to this and suppress the occurrence of false color.
Furthermore, since the color filter 11 includes G components with high brightness in the same array and at the same ratio as the case of a conventional 3-band Bayer array, i.e. at a ratio of a half of the all pixels, it is possible to perform a conventional process using G components such as blur correction similar to a conventional way.
By shifting the imaging lens 2a as such, a pixel position where the subject 31 form an image on the imaging element displaces as shown in
Other configurations and functions are the same as the embodiment 1. Thereby, it is possible to capture a multiband image with 5 bands similar to the embodiment 1, and also to generate an image with 3 bands of RGB of superior color reproducibility by using the 5-band image.
As described above, according to the present embodiment, since the subject image formed on the imaging element 5 is shifted by shifting the imaging lens 2a, it is possible to obtain the same effect as the embodiment 1 by using a well-known mechanism for image stabilization as a shift mechanism within the lens.
Therefore, in the subject embodiment, a mode setting unit 10 is further provided in the embodiment 1 shown in
In the imaging of a multiband image, each mode is used for the following applications.
(1) Blur Prevention Priority:
When a subject being likely to be blurred is imaged, in addition to the imaging at an appropriate shutter speed calculated based on image signals obtained from the imaging element 5, 2 sets of imaging are performed at increased shutter speeds and a captured image with the least blurs is selected from a total of 3 sets of captured images.
(2) S/N Priority:
In addition to the imaging at the above appropriate shutter speed, 2 sets of imaging are performed at decreased shutter speeds and an captured image with the best S/N (Signal to Noise) ratio is selected from a total of 3 sets of captured images.
(3) AUTO:
Without specifying the above blur prevention priory or S/N priority, an image with comprehensively good image quality is selected from a total of 3 sets of multiband images captured at the above appropriate shutter steed, the increased shutter speed and the decreased shutter speed thereof.
(4) None:
Similar to the embodiment 1, only a set of imaging is performed at the above appropriate shutter speed.
Since other configurations of the embodiment are the same as those of the Embodiment 1, the description is omitted.
Next, the imaging operation of the multiband image pickup device 1 according to the subject embodiment will be described with reference to flow charts shown in
The process of obtaining an image at the step S11 will be described in more details below with reference to a flow chart shown in
Next, when it is detected that the release button 3 is pushed down, the control unit 4 calculates an appropriate shutter speed based on image signals obtained from the imaging element 5. Moreover, when the mode is “blur prevention priority”, 2 different shutter speeds higher than the appropriate shutter speed are calculated. When the mode is “S/N priority”, 2 different shutter speeds lower than the appropriate shutter speed are calculated. When the mode is “AUTO”, one shutter speed for each of higher and lower than the appropriate shutter speed is calculated. Thereby, in each mode of “blur prevention priority”, “S/N priority” and “AUTO”, 3 shutter speeds are respectively calculated (step S22). Additionally, when the mode is “none”, only the appropriate shutter speed is calculated.
Thereafter, the control unit 4 starts imaging. First, the control unit 4 performs the first imaging at the appropriate shutter speed (step S23). Next, the control unit 4, similarly to the embodiment 1, controls the shift amount by the shift drive unit 6 (step S24), shifts the imaging element 5 in a horizontal direction for 2 pixels (step S25) and performs the second imaging (step S26). The images from the first and the second imaging are provided to each image processing unit 7 and temporarily stored in the first captured image memory unit 51 and the second captured image, memory unit 52, respectively (step S27).
Next, when the set mode is “none”, the control unit 4, similar to the embodiment 1, register the first and the second captured images (step S32) and outputs it to the multiband image synthesis unit 34 in
On the other hand, when the mode is “blur prevention priority”, “S/N priority” or “AUTO”, a set of captured images are evaluated and the evaluation result is calculated as an evaluated value (step S29). Next, the control unit 4 sets the other 2 shutter speeds calculated at the step S22 in order, and repeatedly performs each step of the steps S23, S24, S25, S26, S27 and S29. When each set of 2 imaging is completed and calculation for image evaluated value is finished (step S30), the evaluation unit 59 compares 3 image evaluated values corresponding to the 3 shutter speeds to select a set of images with the highest evaluated value (step S31).
Thereafter, the evaluation unit 59 provides information on the set of images selected above to the registration processing unit 53, and the registration processing unit 53 performs a registration process on the set of images similarly to the embodiment 1 (step S32) and outputs the images from the first and the second imaging to the multiband image synthesis unit 54 (step S33).
Next, calculation of the evaluated value for the set of captured images in the step S29 will be described with reference to the flow chart shown in
The registration processing unit 53 provides the calculated misregistration amount and the images from the first and second imaging to the evaluation unit 59. In the evaluation unit 59, for example, ISO sensitivity, distributed value of signals calculated for the selected area having a small change in pixel value of G pixel, a number of saturated pixels, S/N evaluated value defined by a number of underexposed pixels and the like are calculated (step S 42).
Thereafter, in the evaluation unit 59, an image evaluated value is calculated from the misregistration amount calculated at the step S41 and the S/N evaluated value calculated at the step S42 by using a predetermined evaluation formula (step S43). Here, the evaluation formula can seta coefficient to put weight on the misregistration amount to calculate when the mode is “blur prevention priority” and put weight on the S/N evaluated amount to calculate when the mode is “S/N priority”. When the calculation of the image evaluated value is finished, the evaluation unit 59 saves the image evaluated value and notifies the completion of the image evaluated value calculation to the control unit 4.
As described above, according to the present embodiment, since the imaging of a plurality of sets of multiband images is performed at a shutter speed according to the imaging mode, the plurality of sets of captured images are evaluated to select the best set of images, it is possible to take a multiband image suitable for every imaging scene and condition in addition to the effects in the embodiment 1.
It should be noted that the invention is not limited to the above embodiments but various changes and modifications can be made. For example, although the color filters 11 of the imaging element 5 are composed of filters of 5 colors, it is not limited to this but possible to array filters of 4 colors or not less than 6 colors.
In the flow chart shown in the embodiment 1 in
Although the misregistration amount is calculated for the entire captured images in the registration processing unit 53, an area of prioritizing the misregistration correction may be determined. For example, background, foreground, designated subject, a subject automatically recognized or the like can be prioritized. When the subject automatically recognized is prioritized, the registration processing unit 53 is made to have a function for subject recognition or face recognition and prioritize the correction of area of the recognized subject, for example, by putting weight on the area of the recognized subject when calculating correlation of 2 G images.
Although the image evaluated value is calculated from the misregistration amount of the images of the first and the second imaging and the S/N value in the embodiment 3, correlation of the images from the first imaging and the image from the second imaging after the registration may be used instead of the misregistration amount. If the correlation is low, it can be determined that the difference between the first captured image and the second captured image after the registration are large, so the image quality is bad.