The present invention relates to an image-capturing method and an image-capturing device.
As a background of the field of the present invention, there is JP-A-2010-161459. In the above patent application publication, it is stated that “PROBLEM TO BE SOLVED: To provide an infrared radiation imaging device capable of adjusting a composite ratio of a visible light component and an infrared component when imaging is executed under low illuminance. SOLUTION: In executing imaging under an infrared radiation imaging condition, an infrared combined imaging device processes white balance per color of an imaging signal generated under visible light imaging condition in which an infrared cut filter is inserted into an optical path, and generates a white-balanced imaging signal. The imaging device separates an imaging signal generated under the infrared radiation condition into a visible light component signal and an infrared component imaging signal, generates a visible light luminance signal and a chroma image signal from the visible light component imaging signal, and generates an infrared luminance signal from the infrared component imaging signal. The imaging device adjusts the composite ratio of the visible light luminance signal and the infrared luminance signal to generate a luminance image signal.”
Also, there is JP-A-2011-233983. In this patent application publication, it is stated that “PROBLEM TO BE SOLVED: To provide an imaging apparatus capable of obtaining a good color image even under low illuminance, such as in the night time or the like, and simultaneously obtaining a video with a brilliant contrast as in the case where an infrared illumination apparatus is used. SOLUTION: An imaging apparatus has: a solid-state imaging element 10; an infrared LED 70 that emits infrared light; a light-emission controller 60 that makes the infrared LED 70 carry out pulse emission of infrared light in the unit of frame time; and a signal processor 20 that respectively extracts a color image signal in the visible light and an image signal in the infrared light from the solid-state imaging element 10 in synchronization with non-light-emission period and light-emission period of the infrared LED 70. The solid-state imaging element 10 has an imaging region in which unit arrays, each having a picture element for receiving green visible light and infrared light, a picture element for receiving red visible light and infrared light, a picture element for receiving blue visible light and infrared light, and a picture element for receiving infrared light, are arranged in a matrix.”
In the invention disclosed in JP-A-2010-161459, it is necessary to acquire image-capturing signals under the visible light image-capturing condition and the infrared radiation image-capturing condition, respectively. In addition, the case in which there occurs change of an amount of light on a time base in an image-capturing environment such as flickering of a fluorescent lamp, pulse radiation of an LED illumination, and blinking light is not considered.
In the invention disclosed in JP-A-2011-233983, it is necessary to control the infrared LED. In addition, an image-capturing environment in which illumination light including infrared light such as solar light and halogen light exists is not considered.
Configurations described in the claims are adopted to resolve the above technical problems in the related art.
A plurality of means that achieve the above-described objects are included in the present application; according to one example, there is provided an image-capturing device including: an image-capturing element that executes photoelectric conversion on light including visible light and non-visible light and outputs a pixel signal; a visible light signal generating unit that extracts and outputs a visible light signal from the pixel signal from the image-capturing element; a light source color estimating unit that estimates a color temperature of a light source from the visible light signal from the visible light signal generating unit and outputs an estimation result; a white-balance adjusting unit that performs white balance correction on and outputs the visible light signal from the visible light signal generating unit according to the estimation result from the light source color estimating unit; a non-visible light signal generating unit that extracts and outputs a non-visible light signal from the pixel signal from the image-capturing element; and an image composing unit that combines and outputs the visible light signal subjected to white balance correction in the white-balance adjusting unit and the non-visible light signal from the non-visible light signal generating unit.
According to the present invention, visible light and non-visible light components from an object can be acquired as one combined image while the problems in the related art are resolved, and further a color balance thereof can be appropriately corrected. Other detailed advantages will be described with embodiments.
An image-capturing device of this embodiment includes: a lens 101 that focuses visible light/non-visible light from an object at a prescribed focal distance; an image-capturing element 102 that disperses the visible light/non-visible light focused by the lens 101 with various color filters, executes photoelectric conversion, and outputs a plurality of pixel signals corresponding to prescribed wavelength components; a demosaic processing unit 103 that executes demosaic processing on the pixel signals from the image-capturing element 102; a visible light signal generating unit 104 that executes operation processing on the pixel signals output from the demosaic processing unit 103 and extracts pixel signals for visible light components (visible light signals); a non-visible light signal generating unit 105 that executes operation processing on the pixel signals output from the demosaic processing unit 103 and extracts pixel signals for a non-visible light component (non-visible light signals); a light source color estimating unit 106 that estimates light source colors from the pixel signals from the visible light signal generating unit 104; a white-balance gain calculating unit 107 that calculates gain to perform white balance correction on the visible light signals which is an output of the visible light signal generating unit 104, based on a result of the light source color estimating unit 106; a white-balance adjusting unit 108 that performs white balance correction on the visible light signals output from the visible light signal generating unit 104, based on gain information from the white-balance gain calculating unit 107; an image composing unit 111 that combines the visible light signals on which white balance correction has been performed by the white-balance adjusting unit 108 and the non-visible light signals output from the non-visible light signal generating unit; a brightness signal generating unit 109 that generates brightness signals using pixel signals after composition output from the image composing unit 111; and a color-difference signal generating unit 110 that generates color-difference signals using the pixel signals after composition output from the image composing unit 111.
First, a method of acquiring individual signals of visible light components R, G, and B and a non-visible light component IR at the same time is described.
The demosaic processing unit 103 executes demosaic processing on output image signals of the image-capturing element 102 in which the different color filters are arranged, by interpolation processing and the like. In the interpolation processing, for example, because GIR, BIR, and NIR pixels do not exist at a pixel position of an RIR pixel, interpolated signals are generated from adjacent pixels of the same color by the interpolation processing and are output.
The visible light signal generating unit 104 executes matrix operations or the like on the pixel signals output from the demosaic processing unit 103, generates visible light signals, and outputs them. In addition, the non-visible light signal generating unit 105 executes matrix operations or the like on the pixel signals output from the demosaic processing unit 103, generates non-visible light signals, and outputs them. For example, the visible light signal generating unit 104 generates individual signals of R, G, and B as visible light signals, which do not include non-visible light or of which signal amounts are attenuated to prescribed amounts, by operation processing of the following expressions (1) to (3), and the non-visible light signal generating unit 105 generates IR signals as non-visible light signals, which do not include visible light components or of which signal amounts are attenuated to prescribed amounts, by operation processing of the following expression (4).
R=αrr×RIR+αrg×GIR+αrb×BIR+αri×NIR (1),
G=αgr×RIR+αgg×GIR+αgb×BIR+αgi×NIR (2),
B=αbr×RIR+αbg×GIR+αbb×BIR+αbi×NIR (3),
IR=αir×RIR+αig×GIR+αib×BIR+αii×NIR (4).
Here, each α represents a coefficient for each signal and, when the following expression (5) is given for the coefficients of α, for example,
the expressions (1) to (4) become the following expressions (6) to (9):
R=RIR−NIR (6),
G=GIR−NIR (7),
B=BIR−NIR (8),
IR=NIR (9).
As illustrated in
According to the configuration described above, the image signals corresponding to the visible light components and the image signal corresponding to the non-visible light component, which are image-captured at the same exposure time, can be acquired at the same time by an image-capturing process of only one frame. Incidentally, the near infrared light is exemplified as the non-visible light in this embodiment; however, ultraviolet light may be used and wavelengths are not limited to specific ones. In addition, in this embodiment, R, G, and B are exemplified as the visible light; however, for signals including visible light components such as complementary color signals, the same processing can be executed, an effect thereof is the same, and wavelengths are not limited to specific ones.
Next, a method of performing the white balance correction on the visible light signals R, G, and B is described. The light source color estimating unit 106 in this embodiment estimates a color temperature of illumination light radiated to an object based on ratios of signal levels of the visible light signals R, G, and B output from the visible light signal generating unit 104, and outputs an estimation result thereof. For example, there is a method of calculating ΣR, ΣG, and ΣB by integrating signal amounts of the visible light signals R, G, and B output from the visible light signal generating unit 104 across one screen of an image and outputting ΣR, ΣG, and ΣB as color distribution estimation information representing a color temperature of the illumination. Alternatively, there is a method of outputting relative ratios of calculated ΣR, ΣG, and ΣB as color distribution estimation information of the illumination.
The white-balance gain calculating unit 107 calculates gain values to equalize, or approximate to each other, individual values of ER, EG, and EB output from the light source color estimating unit 106 and outputs them; for example, as in the following expressions (10) to (12), Rgain, Ggain, and Bgain are calculated as the gain values to equalize the individual values and are output:
Rgain=ΣG/ΣR (10),
Ggain=ΣG/ΣG (11),
Bgain=ΣG/ΣB (12).
The white-balance adjusting unit 108 performs gain adjustment on the R, G, and B signals output from the visible light signal generating unit 104 by the following expressions (13) to (15), using the gain values Rgain, Ggain, and Bgain output from the white-balance gain calculating unit 107, and calculates and outputs R2, G2, and B2 on which the white balance correction has been executed:
R2=Rgain×R (13),
G2=Ggain×G (14),
B2=Bgain×B (15).
According to the configuration described above, the color temperature of the illumination can be estimated from the R, G, and B signals output from the visible light signal generating unit 104 and the white balance correction can be performed on the R, G, and B signals output from the visible light signal generating unit 104 based on the estimation result thereof.
Incidentally, although it is presumed that the white-balance gain calculating unit 107 calculates and outputs the gain values from the ratios of ΣR, ΣG, and ΣB, color temperature information corresponding to distributions of ΣR, ΣG, and ΣB may be previously held as a table, the color temperature information may be acquired from the table based on information of calculated ΣR, ΣG, and ΣB, and the color temperature information may be output.
Furthermore, although it is described that the light source color estimating unit 106 calculates ΣR, ΣG, and ΣB integrated for the individual signals of the visible light components R, G, and B output from the visible light signal generating unit 104 and outputs them, the color temperature of the illumination may be estimated using the individual signals of the visible light components R, G, and B output from the visible light signal generating unit 104 and the estimation result thereof may be output; for example, color-difference information may be generated from R, G, and B and the color temperature of the illumination may be estimated based on distribution information of a color-difference space; brightness information may be generated from R, G, and B, the illumination may be estimated according to a level of a brightness, and a color temperature thereof may be calculated; alternatively, a color temperature of the illumination may be estimated from each of a color-difference and a brightness.
According to the configuration described above, even in a state in which the visible light and the non-visible light are mixed in the pixel signals output from the image-capturing element, the color temperature can be estimated by the visible light signal in which the non-visible light has been excluded or its weight has been decreased, and the color temperature of the visible light components can be estimated more accurately.
Next, a method of combining the visible light signals after white balance correction and the non-visible light signals performed in the image composing unit 111 is described. In this embodiment, the visible light signals R2, G2, and B2 after white balance correction output from the white-balance adjusting unit 108 and the non-visible light signal IR output from the non-visible light signal generating unit 105 are combined as the following expressions (16) to (18):
Rout=R2+IR (16),
Gout=G2+IR (17),
Bout=B2+IR (18).
The brightness signal generating unit 109 calculates a brightness signal Y by the following expression using Rout, Gout, and Bout above and prescribed coefficients βyr, βyg, and βyb, and outputs it:
Y=βyr×Rout+βyg×Gout+βyb×Bout (19).
In addition, the color-difference signal generating unit 110 calculates color-difference signals U and V by the following expressions using Rout, Gout, and Bout and prescribed coefficients βur, βug, βub, βvr, βvg, and βvb, and outputs them:
U=βur×Rout+βug×Gout+βub×Bout (20),
V=βvr×Rout+βvg×Gout+βvb×Bout (21).
By using the configuration described above, the visible light components R, G, and B after white balance correction and the non-visible light component IR are combined, so that the brightness signal and the color-difference signal can be generated as one image.
In the case in which the amount of a non-visible light component included in the RIR signal, the amount of a non-visible light component included in the GIR signal, the amount of a non-visible light component included in the BIR signal, and the amount of a non-visible light component included in the NIR signal do not match with each other, when the expressions (1) to (4) are operated, the individual signals of R, G, and B may include negative values and error signals may be superposed individually. In this case, when error signal levels are different from each other, because a hue of output color different signals (ratio of U and V) changes, a tone of color may change and colors may become pseudo colors. However, as in this embodiment, the error signal level generated by subtracting the non-visible light signal IR can be cancelled or attenuated by adding the non-visible light signal IR to the R, G, and B signals after white balance correction again, the hue of the output color-difference signals (ratio of U and V) can be suppressed from changing, and the pseudo colors can be suppressed.
According to the configuration of this embodiment described above, the visible light signals and the non-visible light signals image-captured at the same exposure time can be acquired at the same time by an image-capturing process of only one frame. Namely, the visible light signals and the non-visible light signals do not need to be acquired individually and the image-capturing process can be simplified.
In the case of the process of acquiring the visible light signals and the non-visible light signals individually, a time difference occurs in the exposure time and, under a light source flickering at a high speed such as a fluorescent lamp and an LED, a problem may occur that a difference is generated in illumination light amounts between images; by adopting the configuration described in this embodiment, however, the visible light signals and the non-visible light signals image-captured at the equal exposure time can be acquired at the same time by the image-capturing process of only one frame, thereby resolving the above problem. Therefore, only the visible light signals can be accurately extracted and the color temperature estimation of the illumination and the white balance correction can be performed, regardless of the flicker.
Also, according to this embodiment, white balance correction is not performed on the non-visible light signals which a person can not recognize as color and white balance correction is performed only on the visible light signals which a person recognizes as color, so that superior white balance correction not causing the pseudo colors or the like to occur is enabled.
Moreover, according to this embodiment, an image in which the visible light signals after white balance correction and the non-visible light signals on which white balance correction is not executed have been combined can be generated and an output frame rate thereof can be equalized with a frame rate of image-capturing by the image-capturing element 102.
Furthermore, according to this embodiment, regardless of a ratio of the visible light components and the non-visible light component included in the illumination light, white balance correction can be performed on the visible light signals and superior color reproduction can be realized while an image in which the visible light signals after white balance correction and the non-visible light signals have been combined can be acquired. Namely, according to this embodiment, while an illumination environment may not need to be specified, a prescribed illumination does not need to be disposed, or a difference of illuminations existing on a field such as solar light, a fluorescent lamp, and halogen light does not affect, an image in which superior white balance correction has been performed or information of non-visible light has been superimposed can be obtained under various environments.
Although, in this embodiment, the brightness signal and the color-difference signal are output as the final output signals, it would work with the format of image information including color information; for example, it may be a configuration including an RGB signal generating unit to generate and output an RGB image in place of the brightness signal generating unit 109 and the color-difference signal generating unit 110, or a configuration including an HSV signal generating unit to generate and output information of brightness/saturation/hue.
This program is stored in a storage medium included in an image-capturing device or an information processing apparatus capable of acquiring an image and a control unit such as a CPU executes an operation according to the program, so that the same function as the image-capturing device of Embodiment 1 can be implemented by software.
In an image-capturing step 201, an image of one frame is acquired using an image-capturing element that can disperse light radiated from an object into prescribed wavelength components and perform image-capturing.
In a visible light signal/non-visible light signal separation step 202, signal processing is executed on the image captured in the image-capturing step 201 and signals are separated into image signals corresponding to visible light components (visible light signals) and image signals corresponding to a non-visible light component (non-visible light signals).
In a light source color estimation step 203, a color temperature of illumination light radiated to the object is estimated by analyzing signal distributions of only the visible light signals or both the visible light signals and the non-visible light signals out of the signals output from the visible light signal/non-visible light signal separation step 202.
In a visible light signal white balance adjustment step 204, white balance correction is performed on the visible light signals out of the signals separated in the visible light signal/non-visible light signal separation step 202 based on color temperature information obtained from the light source color estimation step 203.
In a visible light signal/non-visible light signal composition step 205, the visible light signals on which white balance correction has been performed in the visible light signal white balance adjustment step 204 and the non-visible light signals separated in the visible light signal/non-visible light signal separation step 202 are combined.
In an image data generating step 206, image data having color information such as an RGB image or a YUV image is generated from an image combined in the visible light signal/non-visible light signal composition step 205.
The image of one frame captured in the image-capturing step 201 in this embodiment may be an image of an array illustrated in
According to the configuration described above, as illustrated in
The other configuration, methods, and advantages are the same as those in Embodiment 1.
In
The image quality adjustment parameter calculating unit 302 in this embodiment receives the ratio information of the visible light signals and the non-visible light signals output, for example, from the ratio calculating unit 301 and, when the signal amount of the visible light signals is smaller than that of the non-visible light signals, it calculates gain to amplify the visible light signals and outputs it to the first gain adjusting unit 303 and calculates gain to attenuate the non-visible light signals and outputs it to the second gain adjusting unit 304. Also, when the signal amount of the visible light signals is larger than the signal amount of the non-visible light signals, for example, it may calculate gain to attenuate the visible light signals and output it to the first gain adjusting unit 303 and calculate gain to amplify the non-visible light signals and output it to the second gain adjusting unit 304.
By making each of the first gain adjusting unit 303 and the second gain adjusting unit 304 perform gain adjustment based on the gain information, signal levels are changed such that the visible light signals and the non-visible light signals become prescribed ratios to each other and are combined in the image composing unit 111. Namely, an image signal can be amplified for an object from which the visible light signals are not sufficiently obtained to have sufficient sensitivity and the image signal can be amplified for an object from which the non-visible light signals are not obtained sufficiently to have sufficient sensitivity.
Also, the image quality adjustment parameter calculating unit 302 in this embodiment can calculate gain to hold a visible light signal level and output it to the first gain adjusting unit 303 and can calculate gain to attenuate a non-visible light signal level and output it to the second gain adjusting unit 304 when the signal amount of the non-visible light signals is extremely smaller than that of the visible light signals. By letting each of the first gain adjusting unit 303 and the second gain adjusting unit 304 perform gain adjustment based on the gain information, the non-visible light signal level can be attenuated or eliminated to be combined with the visible light signals. Namely, in the non-visible light signals of which the signal amount is small, noise components become dominant, and an image with small noises and high visibility can be composed by suppressing superposition of the noise components.
Incidentally, if the ratio calculating unit 301 is configured to calculate and output ratios of the visible light signals and the non-visible light signals in a pixel unit, the above advantage can be obtained by simple processing. Also, if the ratio calculating unit 301 is configured to calculate and output the ratios after applying a band restriction filter such as a Gaussian filter to the visible light signals and the non-visible light signals in a pixel unit, respective signal amounts of the visible light signals and the non-visible light signals can be adjusted according to reflectance at each wavelength specific to each object for each object existing in a screen without being affected by fine dot pictures or noises. Moreover, if the ratio calculating unit 301 is configured to calculate and output an overall ratio after performing weighting to an entire screen or each region of the entire screen, respective signal amounts of the visible light signals and the non-visible light signals can be adjusted according to wavelength characteristics of illumination light radiated to an object which is pictured in an image of one acquired frame. Even when a combination of the gain adjusting methods using the ratios of the pixel unit, the ratios after application of the band restriction filter, or the ratio of the entire screen, the individual advantages can be obtained at the same time.
The image quality adjustment parameter calculating unit 302 in this embodiment may, for example, receive the ratio information of the visible light signals and the non-visible light signals output from the ratio calculating unit 301 and, when the signal amount of the visible light signals is smaller than that of the non-visible light signals, it can calculate gain to increase the saturation (deepen a color) and output it to the saturation changing unit 305. With this configuration, when the signal amount of the visible light signals treated as color information is small, the saturation can be increased, so that a problem that a color of an output image becomes faint can be mitigated.
Also, the image quality adjustment parameter calculating unit 302 in this embodiment may, for example, receive the ratio information of the visible light signals and the non-visible light signals output from the ratio calculating unit 301 and, when the signal amount of the visible light signals is extremely small for example, it can calculate gain to decrease the saturation (lighten a color) and output it to the saturation changing unit 305. With this configuration, when the signal amount of the visible light signals treated as color information is extremely small, that is, effective signals of an object are not obtained and only noise signals are obtained, color noise can be suppressed.
The other configuration, methods, and advantages are the same as those in Embodiment 1 or 2.
This program is stored in a storage medium included in an image-capturing device or an information processing apparatus capable of acquiring an image and a control unit such as a CPU executes an operation according to the program, so that the same function as the image-capturing device of Embodiment 1 can be implemented by software.
In an image-capturing step 401, an image of one frame is acquired using an image-capturing element that can disperse light radiated from an object into prescribed wavelength components and perform image-capturing.
In a visible light signal/non-visible light signal separation step 402, signal processing is executed on the image captured in the image-capturing step 401 and an image is separated into an image corresponding to visible light components (visible light signals) and an image corresponding to a non-visible light component (non-visible light signals).
In a light source color estimation step 403, a color temperature of illumination light radiated to the object is estimated by analyzing signal distributions of only the visible light signals or both the visible light signals and the non-visible light signals out of the signals output from the visible light signal/non-visible light signal separation step 402.
In a visible light signal white balance adjustment step 404, white balance correction is performed on the visible light signals out of the signals separated in the visible light signal/non-visible light signal separation step 402 based on color temperature information obtained from the light source color estimation step 403.
In a visible light/non-visible light ratio calculation step 405, a ratio of the visible light signals separated in the visible light signal/non-visible light signal separation step 402 or the visible light signals on which white balance correction has been performed in the visible light signal white balance adjustment step 404 and the non-visible light signals separated in the visible light signal/non-visible light signal separation step 402 is calculated.
In a visible light signal gain adjustment step 406, gain adjustment is performed on the visible light signals for which white balance correction is performed in the visible light signal white balance adjustment step 404, based on the ratio calculated in the visible light/non-visible light ratio calculation step 405.
In a non-visible light signal gain adjustment step 407, gain adjustment is performed on the non-visible light signals calculated in the visible light signal/non-visible light signal separation step 402, based on the ratio calculated in the visible light/non-visible light ratio calculation step 405.
In a visible light signal/non-visible light signal composition step 408, the visible light signals after the gain is adjusted in the visible light signal gain adjustment step 406 and the non-visible light signals after the gain is adjusted in the non-visible light signal gain adjustment step 407 are combined at a prescribed ratio to generate a composite signal.
In an image data generating step 409, image data having color information such as an RGB image or a YUV image is generated from an image combined in the visible light signal/non-visible light signal composition step 408.
The image-capturing step 401, the visible light signal/non-visible light signal separation step 402, the light source color estimation step 403, and the visible light signal white balance adjustment step 404 in this embodiment may be the same processings as those described in Embodiment 2.
According to the configuration described above, image signals for visible light components realizing appropriate color reproduction can be acquired by acquiring the visible light and the non-visible light radiated from the object in a single image-capturing process at once, separating it into signals corresponding to visible light components and a non-visible light component, and performing white balance correction only on the signals corresponding to the visible light components and, further, a combined image in which the image signals for the visible light components after white balance correction and the image signals for the non-visible light component have been adjusted at a prescribed ratio can be acquired; because they can become one image by composition, a file size of an output can be reduced.
Incidentally, in the visible light/non-visible light ratio calculation step 405 the ratios may be calculated in the pixel unit and in the visible light signal gain adjustment step 406 and the non-visible light signal gain adjustment step 407 the gain adjustments are performed in the pixel unit based on the ratios of the pixel unit to obtain the above advantages by the simple processing. In addition, by calculating the ratios after applying a band restriction filter such as a Gaussian filter to the visible light signals and the non-visible light signals in the pixel unit in the visible light/non-visible light ratio calculation step 405 and performing the gain adjustment in the same pixel unit based on the ratios of the pixel unit in the visible light signal gain adjustment step 406 and the non-visible light signal gain adjustment step 407, respective signal amounts of the visible light signals and the non-visible light signals can be adjusted according to reflectance at each wavelength specific to each object for each object existing in a screen without being affected by fine dot pictures or noises.
In addition, calculating in the visible light/non-visible light ratio calculation step 405 the overall ratio after performing weighting to an entire screen or each region of the entire screen, for example, and performing the gain adjustment based on the ratios of the pixel unit in the visible light signal gain adjustment step 406 and the non-visible light signal gain adjustment step 407 allow adjustment of respective signal amounts of the visible light signals and the non-visible light signals according to wavelength characteristics of illumination light radiated to an object which is pictured in an image of one acquired frame.
Although not illustrated in
For example, when the signal amount of the visible light signals is extremely small in the ratios calculated in the visible light/non-visible light ratio calculation step 405, the saturation may be changed such that the saturation is decreased (a color is lightened). By this configuration, when the signal amount of the visible light signals treated as the color information is extremely small, that is, an effective signal of an object is not obtained and only a noise signal is obtained, color noise can be suppressed.
The other configuration, methods, and advantages are the same as those in Embodiment 1, 2, or 3.
The optical filter unit 501 in this embodiment is an optical filter that cuts or attenuates a prescribed wavelength band for light from an object, which enters through a lens 101.
The filter driving unit 502 is a mechanism that loads and unloads the optical filter unit 501 on an optical path between the lens 101 and an image-capturing element 102.
The exposure control unit 503 calculates an exposure time, a signal amplification gain value, and the like in the image-capturing element 102 to realize an optimal exposure state based on an exposure time and a signal amplification gain value set to the image-capturing element 102 and a signal level of an image signal output from the image-capturing element 102, and sets them to the image-capturing element 102. In addition, the exposure control unit 503 controls the filter driving unit based on the exposure time and the signal amplification gain value set to the image-capturing element 102 and the signal level of the image signal output from the image-capturing element 102 to load and unload the optical filter unit 501 and outputs loading/unloading information of the optical filter unit 501 to the image quality adjustment parameter calculating unit 504.
Based on the loading/unloading information of the optical filter unit 501 output from the exposure control unit 503, the image quality adjustment parameter calculating unit 504 calculates gain information to control gain of visible light signals and outputs it to a first gain adjusting unit 303, and calculates gain information to control gain of a non-visible light signal and outputs it to a second gain adjusting unit 304.
In the above configuration, a description is given for the case where the optical filter unit 501 is configured as an optical filter transmitting visible light and cutting non-visible light, for example, and the exposure control unit 503 determines whether an amount of light incident on an image-capturing element 102 is sufficient based on the signal level of the image signal obtained from the image-capturing element 102 and the information of the exposure time and the signal amplification gain value set to the image-capturing element 102 to remove the optical filter unit 501 from the optical path between the lens 101 and the image-capturing element 102 when the amount of light is not sufficient and to insert the optical filter unit 501 into the optical path between the lens 101 and the image-capturing element 102 when the amount of light is sufficient.
According to the above configuration, the optical filter unit 501 is loaded on the optical path between the lens 101 and the image-capturing element 102 and an image of only the visible light can be acquired under an image-capturing condition in which an amount of light from an object is sufficient and sensitivity is superior, and the optical filter unit 501 is removed from the optical path between the lens 101 and the image-capturing element 102 to acquire the non-visible light along with the visible light at the same time so that the sensitivity can be improved under an image-capturing condition in which the amount of light from the object is not sufficient and the sensitivity is insufficient; a superior color image can be obtained in the entire image-capturing conditions.
In addition to the above configuration, the image quality adjustment parameter calculating unit 504 may calculate gain information to cancel or attenuate a non-visible light signal output from a non-visible light signal generating unit 105 and output the gain information to the second gain adjusting unit 304 under the image-capturing condition in which the optical filter unit 501 is inserted into the optical path between the lens 101 and the image-capturing element 102, when the amount of light is large. Because the non-visible light components are cut by the optical filter unit 501, an output of the non-visible light signal generating unit 105 is only noise signals; the noise signals then can be cancelled or attenuated and noise superposed on an image after final visible light/non-visible light composition can be further suppressed.
The other configuration, methods, and advantages are the same as those in Embodiment 1, 2, 3, or 4.
Pixels to which a color filter for RIR is arranged are to have sensitivity around wavelengths of red (R) of visible light and around wavelengths of near infrared light (IR), pixels to which a color filter for GIR is arranged are to have sensitivity around wavelengths of green (G) of the visible light and around wavelengths of near infrared light (IR), pixels to which a color filter for BIR is arranged are to have sensitivity around wavelengths of blue (B) of the visible light and around wavelengths of near infrared light (IR), and pixels to which a color filter for WIR is arranged are to have sensitivity around wavelengths of red (R), green (G), and blue (B) of the visible light and around wavelengths of near infrared light (IR).
The visible light signal generating unit 104 and the non-visible light signal generating unit 105 are the same as those in Embodiment 1; according to the pixel array of the image-capturing element 601 used in this embodiment, however, the visible light signals R, G, and B and the non-visible light signals IR are generated by the following matrix operation and are output:
R=αrr×RIR+αrg×GIR+αrb×BIR+αrw×WIR (22),
G=αgr×RIR+αgg×GIR+αgb×BIR+αgw×WIR (23),
B=αbr×RIR+αbg×GIR+αbb×BIR+αbw×WIR (24),
IR=αir×RIR+αig×GIR+αib×BIR+αiw×WIR (25).
Here, each α represents a coefficient for each signal and, when the following expression (26) is given for the coefficients of α, for example,
the expressions (22) to (25) become the following expressions (27) to (30):
R=(RIR−GIR−BIR+WIR)/2 (27),
G=(−RIR+GIR−BIR+WIR)/2 (28),
B=(−RIR−GIR+BIR+WIR)/2 (29),
IR=(RIR+GIR+BIR−WIR)/2 (30).
As illustrated in
According to the configuration described above, the image signals corresponding to the visible light components and the image signals corresponding to the non-visible light component, which are image-captured at the same exposure time, can be acquired at the same time by an image-capturing process of only one frame. Furthermore, by setting one of the four color filter arrays of the image-capturing element 601 to WIR, compared to an image-capturing element of an RGB Bayer array or the pixel array illustrated in
The high sensitivity pixel signal extracting unit 602 in this embodiment extracts the WIR pixels from the demosaic processing unit 103 and outputs to the saturation analyzing and light source color estimating unit 603. At this time, it may be configured that the pixel signals corresponding to WIR among the signals from the demosaic processing unit 103 may be appropriately selected and output. The saturation analyzing and light source color estimating unit 603 first determines whether the pixel is saturated by determining signal levels of the WIR pixel signals obtained from the high sensitivity pixel signal extracting unit 602. When as a determination result it is found to be saturated, the visible light signals are canceled or their weights are decreased and, when it is found not to be saturated, their weights are increased to 1 or more; thereafter, the light source color is estimated for the visible light signals with their weight changed, as described in the light source color estimating unit 106 in Embodiment 1.
Here, if sensitivity characteristics of the signals RIR, GIR, BIR, and WIR for the four color filter arrays from the image-capturing element 601 satisfy the following expression (31), the pixel of WIR can be defined as a pixel that is more easily saturated than the other three pixels:
RIR≤WIR^GIR≤WIR^BIR≤WIR (31).
When even one of the pixel signals used in the expressions (22) to (25) happens to be a saturated signal, that is, at least WIR is in a saturated state, the individual signals of R, G, B, and IR cannot be accurately extracted and it can be estimated that a false color occurs in a final image. In this embodiment, determination of whether a pseudo color occurs or not is performed as extraction of WIR and saturation determination thereof; when it is determined that it is saturated, the false color is expected to occur and the weights of the visible light signals used for estimation of the light source color can be decreased.
Namely, according to the configuration of this embodiment, the image signals corresponding to the visible light components and the image signals corresponding to the non-visible light component, which are image-captured at the same exposure time, can be acquired at the same time by the image-capturing process of only one frame, the light source color can be accurately estimated without being affected by the pseudo color occurring when the pixel is saturated, and superior white balance correction can be applied to the acquired visible light signals.
Incidentally, it is described here that the high sensitivity pixel signal extracting unit 602 extracts WIR; however, when the array of the image-capturing element illustrated in
The other configuration, methods, and advantages are the same as those in Embodiment 1, 2, 3, 4, or 5.
The wavelength analyzing and light source color estimating unit 701 receives visible light signals from a visible light signal generating unit 104 and non-visible light signals from a non-visible light signal generating unit 105, analyzes wavelength distributions of the respective visible light signals and the non-visible light signals, and estimates a light source color.
According to the configuration described above, a difference of an illumination between a fluorescent lamp or an LED hardly including the non-visible light signals and halogen light or xenon light having a similar distribution of the visible light components but including near infrared light can be determined at higher precision. Also, because the visible light signals and the non-visible light signals are acquired at the same exposure time and are used for the determination, the light source color can be accurately determined without being affected by a flicker component (brightness change generated due to a time difference) of the fluorescent lamp or the LED.
Furthermore, the wavelength analyzing and light source color estimating unit 701 may analyze each of the visible light signals from the visible light signal generating unit and the non-visible light signals from the non-visible light signal generating unit, divide pixels into Pixel Group 1 in which the non-visible light does not exist or is equal to or lower than a prescribed level and Pixel Group 2 in which the non-visible light exists or is higher than the prescribed level, and estimate a color temperature for each of Pixel Groups 1 and 2.
In this case, a white-balance gain calculating unit 107 selects (presets or user-selects) one of two color temperature estimation results of Pixel Groups 1 and 2 obtained from the wavelength analyzing and light source color estimating unit 701, calculates gain to perform white balance adjustment, and outputs it. According to the configuration described above, in a scene where a fluorescent lamp and solar light are mixed, for example, a color temperature can be estimated only from an image region illuminated by the fluorescent lamp and white balance processing can be executed in accordance with the fluorescent lamp. Therefore, the illumination of the fluorescent lamp or the LED, for example, hardly including the non-visible light signals and a light source having a similar distribution of the visible light components but including near infrared light can be differentiated individually at higher precision and the white balance correction can be performed more accurately in accordance with either one of light sources.
The other configuration, methods, and advantages are the same as those in Embodiment 1, 2, 3, 4, 5, or 6.
Incidentally, in the present invention, an image-capturing device in which a part or all of the components in the above embodiments are configured by hardware can be provided and an image-capturing method in which a part or all of the components are configured by software programs can be provided.
It should be further understood by those skilled in the art that although the foregoing description has been made on embodiments of the invention, the invention is not limited thereto and various changes and modifications may be made without departing from the spirit of the invention and the scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2014-174754 | Aug 2014 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
8767074 | Kim et al. | Jul 2014 | B2 |
9699429 | Kaizu | Jul 2017 | B2 |
20080199074 | Mitsunaga | Aug 2008 | A1 |
20090079834 | Otsu | Mar 2009 | A1 |
20090141974 | Ono | Jun 2009 | A1 |
20100238317 | Takeo | Sep 2010 | A1 |
20130002882 | Onozawa et al. | Jan 2013 | A1 |
20130093929 | Kouyama | Apr 2013 | A1 |
20140098265 | Hosaka | Apr 2014 | A1 |
20140320695 | Ozawa | Oct 2014 | A1 |
20150256800 | Sugiyama | Sep 2015 | A1 |
Number | Date | Country |
---|---|---|
2010-161459 | Jul 2010 | JP |
2011-233983 | Nov 2011 | JP |
WO 2013118337 | Aug 2013 | WO |
Entry |
---|
Tanaka, WO 2011001672 A1 English Translation. |
Extended European Search Report issued in counterpart European Application No. 15181950.5 dated Mar. 30, 2016 (six (6) pages). |
Number | Date | Country | |
---|---|---|---|
20160065926 A1 | Mar 2016 | US |