WO2006043563A1 - ノイズ除去装置 - Google Patents

ノイズ除去装置 Download PDF

Info

Publication number
WO2006043563A1
WO2006043563A1 PCT/JP2005/019138 JP2005019138W WO2006043563A1 WO 2006043563 A1 WO2006043563 A1 WO 2006043563A1 JP 2005019138 W JP2005019138 W JP 2005019138W WO 2006043563 A1 WO2006043563 A1 WO 2006043563A1
Authority
WO
WIPO (PCT)
Prior art keywords
image signal
noise
unit
dark current
component
Prior art date
Application number
PCT/JP2005/019138
Other languages
English (en)
French (fr)
Inventor
Kazuhiro Suzuki
Keishi Kato
Original Assignee
Sanyo Electric Co., Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co., Ltd filed Critical Sanyo Electric Co., Ltd
Priority to US11/577,787 priority Critical patent/US7924329B2/en
Priority to JP2006543014A priority patent/JP4601623B2/ja
Publication of WO2006043563A1 publication Critical patent/WO2006043563A1/ja

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/60Noise processing, e.g. detecting, correcting, reducing or removing noise
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/60Noise processing, e.g. detecting, correcting, reducing or removing noise
    • H04N25/63Noise processing, e.g. detecting, correcting, reducing or removing noise applied to dark current

Definitions

  • the present invention relates to an apparatus for removing noise from an image sensor used for a digital camera, a mobile phone, or the like.
  • Image sensors such as CCDs and CMOS sensors used in digital cameras and mobile phones have a noise pattern that is determined to some extent due to the influence of dark current flowing in the image sensor that constitutes the pixels even in the absence of light. (Dark current noise) occurs.
  • Patent Document 1 discloses an apparatus for removing the dark current noise.
  • the dark current noise component which is an image captured by the image sensor with the shutter closed, is compressed in advance by orthogonal transformation and quantization and stored in a memory, and the image is actually captured. Then, the dark current noise is removed by subtracting the dark current noise component decoded by the orthogonal inverse transform from the image signal.
  • Orthogonal transformation and quantization which is a method for compressing dark current noise disclosed in Patent Document 1, uses a well-known method for image compression. This method uses the general property of images that information is biased to low-frequency components when image signals are orthogonally transformed. Even if high-frequency component information is cut by quantization, the image quality is not much. Does not have a big impact.
  • Patent Document 1 Japanese Patent Laid-Open No. 11-298762
  • the present invention has been made in order to solve the above-described problems.
  • the dark current noise component is highly compressed while maintaining characteristics with many high frequency components.
  • An object of the present invention is to provide a noise removing device that can be memorized.
  • the dark current noise component varies greatly depending on the temperature and exposure time of the image sensor at the time of image capture and the gain multiplied when the image signal is extracted as an analog signal from the output of the image sensor, it was captured in advance.
  • the magnitude of the dark current noise component and the magnitude of the dark current noise component included in the image component captured in the actual imaging state are different.
  • the dark current noise removal device disclosed in Patent Document 1 includes compression and expansion processing, the dark current noise component is stored in advance and the dark signal noise component is subtracted as it is, so that the image signal force is also correct. There was a problem that dark current noise components could not be removed.
  • the present invention has been made to solve the above-described problems, and an object of the present invention is to provide a noise removing device capable of accurately removing a dark current noise component contained in an image signal.
  • the signal output from the image sensor includes various noises in addition to smear noise.
  • fixed pattern noise has a high temperature dependence of the dark current that causes it, and when the temperature of the image sensor rises by 7 degrees, the magnitude of the solid pattern noise doubles.
  • Fixed pattern noise increases in proportion to the exposure time. Therefore, since the fixed pattern noise of the signal that also outputs the image sensor force changes greatly depending on the temperature of the image sensor and the exposure time, the device described in Japanese Patent Application Laid-Open No. 2004-172925 is used when estimating the smear noise. There is a problem that the accuracy of removing smear noise is deteriorated due to the influence of the fixed pattern noise.
  • the present invention has been made in order to solve the above-described problems, and noise that can remove each of a plurality of noise components included in a signal output from an image sensor with high accuracy.
  • An object is to provide a removal device.
  • An embodiment of the present invention in the first means relates to a noise removing device.
  • This device obtains the distribution of the size of the first image signal of some or all of the pixels constituting the image sensor with respect to the first image signal captured by the image sensor in a state where light is blocked. Therefore, the distribution force also specifies a range including a peak of the magnitude taken by the first image signal, and a noise distribution analysis unit that sets a threshold value within the range, and the imaging element in a state where light is blocked.
  • a quantization unit that quantizes the second image signal imaged by the first threshold based on the threshold, an inverse quantization unit that inversely quantizes the quantized second image signal, and incident light And a subtracting unit that subtracts the inversely quantized second image signal from the third image signal imaged by the imaging element in this state.
  • the “light-blocked state” refers to a state in which light is not transmitted to the image sensor by closing the shutter provided on the front surface of the image sensor. Includes a “substantially blocked light” state where the light is incident on the image sensor.
  • noise component Most of the first and second image signals imaged in a state where light is blocked are noise components due to dark current of the imaging element. Therefore, according to this aspect, this noise component
  • the amount of information on the noise component can be reduced, the memory capacity required to store the noise component can be reduced, and the size of the noise component when quantizing can be reduced.
  • the distribution power of the noise component is determined, the range where the size of the noise component is concentrated is identified, and quantization compression is performed within that range, so the noise component can be highly compressed while maintaining the characteristics of noise with many high frequency components. It is possible to memorize it.
  • the first image signal and the second image signal may be taken at different times. According to this, since the quantization threshold value is set and quantized using two image signals captured at different times, it is not necessary to temporarily store the captured image signal. Memory capacity can be reduced by the amount.
  • the first image signal and the second image signal are the same image signal
  • the noise distribution analyzer divides the first image signal into a plurality of regions, The distribution of the magnitude of the first image signal is obtained for each divided area, the range including the peak of the magnitude taken by the first image signal is identified from this distribution, and the threshold value is set within this range. May be. According to this, since the noise component, which is the captured image signal, is stored, the number of times that the image signal is captured in a state where light is blocked is only one, so that the quantization of the dark current noise component is simple and short. It is possible to do in time.
  • the apparatus further comprises a band separation unit that divides the first image signal and the second image signal into a low-frequency component and a high-frequency component, and the noise distribution analysis unit for the high-frequency component And adding the quantization unit and the inverse quantization unit, adding the low frequency component and the high frequency component inversely quantized by the inverse quantization unit, and inputting this to the subtraction unit May be.
  • the noise component differs from pixel to pixel, the high-frequency component is dominant, but depending on the device characteristics and power supply, the low-frequency component may be mixed into the acquired noise information. In such a case, it is possible to restore the noise component more accurately by separating the dark current noise into a low frequency component and a high frequency component and performing the compression processing of the present invention on this high frequency component. is there.
  • the apparatus further comprises a compression unit that compresses the low-frequency component by a method independent of the high-frequency component, and an expansion unit that expands the compressed low-frequency component. After adding the component and the high frequency component dequantized by the dequantization unit, May be input to the subtracting unit. According to this, by compressing the low-frequency component and the high-frequency component by independent methods, it is possible to restore the noise component more accurately because the compression can be performed by a method suitable for the characteristics of each component. .
  • Another aspect of the present invention in the second means relates to a noise removal method.
  • the step of obtaining the distribution of the magnitude of the dark current noise component with respect to the image signal captured by the imaging device in a state where light is blocked, and the range including the peak of the magnitude of the dark current noise component are specified.
  • the amount of information of the dark current noise component can be reduced by quantizing the dark current noise component, and the memory capacity required to store the dark current noise component can be reduced. can do.
  • the distribution of the magnitude of the dark current noise component is obtained, the range where the magnitude of the dark current noise component is concentrated is identified from the distribution, and quantization compression is performed within that range.
  • An aspect of the present invention in the second means relates to a noise removal apparatus.
  • the apparatus includes: a compression unit that compresses the first image signal obtained by the imaging element in a state where light is blocked; a decompression unit that decompresses the compressed first image signal; and a compression unit that compresses the compressed first image signal. Based on a comparison between the state of the first image signal before being imaged and the state of the second image signal obtained by the imaging device in the state where light is incident, the first image signal is expanded from the expanded first image signal.
  • a noise component prediction unit that predicts a noise component included in the second image signal; and a subtraction unit that subtracts the predicted noise component from the second image signal.
  • the state in which light is blocked refers to a state in which light does not reach the image sensor by closing a shutter provided in front of the image sensor, and is not completely blocked. It also includes “a state where light is substantially blocked” such that light leaked into the image sensor is incident on the image sensor. In addition, the first image signal is almost equal to the noise component caused by the dark current when this is imaged.
  • the image signal obtained according to the condition for capturing the first image signal Since the relationship between the magnitude and the magnitude of the image signal obtained according to the conditions under which the second image signal is captured can be determined, the first image signal is changed to the second image signal based on this relation.
  • the included noise component can be predicted. Therefore, the second image force can also accurately remove the noise component by subtracting the predicted noise component.
  • the state of the first image signal is a magnitude of a signal output from a light shielding region force included in the first image signal before being compressed
  • the second image The state of the signal may be the magnitude of the signal output from the light shielding area force included in the second image signal.
  • the noise component prediction unit outputs the light shielding area force included in the second image signal and the magnitude of the output signal and the light shielding area included in the first image signal before being compressed.
  • a noise component included in the second image signal may be predicted by obtaining a ratio to the magnitude of the signal and multiplying the expanded first image signal by the ratio.
  • a signal output from a region in which light included in the second image signal is not incident is substantially equal to a noise component caused by the dark current generated under the condition of capturing the second image signal.
  • the signal output from the region where the light included in the first image signal is not incident is substantially equal to the noise component caused by the dark current generated under the condition where the first image signal is captured. Therefore, the noise component contained in the second image signal can be predicted by calculating the ratio with the magnitude of these signals and multiplying this ratio by the first image signal. By subtracting the predicted noise component from the image source, it is possible to remove the noise component with high accuracy.
  • the image processing apparatus further includes a preprocessing unit that performs preprocessing for predicting a noise component included in the second image signal with respect to the compressed first image signal, and the extension.
  • the unit may expand the preprocessed first image signal. According to this, the pre-processing for predicting the noise component included in the second image signal is performed on the first image once compressed.
  • the image signal is not compressed but is compressed. Since the compressed image signal has a smaller data amount than the expanded image signal, the amount of calculation can be reduced.
  • the pre-processing unit separates the compressed first image signal into a low-frequency component and a high-frequency component, and the expansion unit includes the low-frequency component.
  • the noise component prediction unit predicts the high frequency component of the noise component included in the second image signal from the expanded high frequency component and then expands the low frequency component.
  • the noise component included in the second image signal may be predicted by adding the component.
  • dark current noise included in an image signal contains many high-frequency components, and is greatly influenced by imaging conditions such as temperature and exposure time.
  • low frequency components are dominated by noise due to power supply and device characteristics, and this is relatively less affected by imaging conditions such as temperature and exposure time.
  • the prediction process is performed on the high-frequency component having a large influence of the imaging condition except for the low-frequency component having a small influence of the imaging condition, a more accurate noise component can be predicted. Therefore, noise components included in the image can be accurately removed.
  • the state of the first image signal is the magnitude of the high-frequency component of the signal output from the light shielding region force included in the first image signal before compression.
  • the state of the second image signal is the magnitude of the high-frequency component of the signal output from the light shielding region included in the second image signal, and the noise component prediction unit is included in the second image signal.
  • the ratio of the high frequency component of the outputted signal to the high frequency component of the output signal and the size of the high frequency component of the output signal of the light shielding region force output included in the first image signal before being compressed is obtained.
  • the high frequency component of the noise component contained in the second image signal may be predicted by multiplying the high frequency component of the first image signal by the ratio.
  • the compression unit obtains a distribution of the size of the first image signal of some or all of the pixels with respect to the first image signal, and distributes the distribution power of the first image signal.
  • a range including a peak of the magnitude taken by the image signal is specified, and a noise distribution analysis unit for setting a quantization threshold within the range, and a quantizer based on the threshold for the first image signal. And a quantization unit that performs the conversion. According to this, when storing the first image signal, quantization compression is performed within a range including the peak of the size taken by the first image signal, so that the noise characteristic that there are many high frequency components is maintained.
  • the first image signal can be compressed and stored.
  • An aspect of the present invention according to the third means relates to a noise removing device.
  • This apparatus includes a fixed pattern noise removing unit that removes fixed pattern noise caused by dark current of the image sensor from the image signal output from the image sensor, and an incident light from the image signal from which the fixed pattern noise has been removed.
  • a smear noise removing unit that removes smear noise caused by the smear noise.
  • the fixed pattern noise force that has temperature dependence and increases in proportion to the exposure time is removed from the image signal before removing the smear noise. Therefore, the smear noise can be estimated using the image signal from which the fixed pattern noise has been removed, and the smear noise can be accurately removed.
  • the noise removing device described in the first means or the second means described above may be used. According to this aspect, it is possible to effectively remove fixed pattern noise.
  • the smear noise removing unit receives each light reception from the image signal from which the fixed pattern noise has been removed, every time information charges accumulated in each light receiving bit of the image sensor are transferred in a vertical direction. Smear noise may be removed by subtracting a value obtained by sequentially adding the amount of smear charge mixed from the bit. According to this aspect, it is possible to effectively remove smear noise.
  • a fixed defect noise removing unit that removes fixed defect noise caused by defects at the time of manufacturing the image sensor from the image signal from which the smear noise has been removed may be further provided. Yes.
  • the smear noise is removed before the fixed defect noise is removed, it is possible to determine a defective pixel that is not affected by the signal level saturated by the smear noise.
  • the interpolated image signal can be generated from the image signal from which fixed pattern noise with a large noise level has been removed, so that fixed defect noise can be removed more naturally. It becomes.
  • the fixed defect noise removing unit determines whether or not each pixel of the image sensor is a fixed defect, and if it is determined as a fixed defect, calculates a peripheral pixel force interpolation value and determines the fixed defect. It may be replaced with a value. According to this aspect, fixed defect noise can be effectively removed.
  • the image processing apparatus may further include a random noise removing unit that removes random noise caused by thermal fluctuation of the image sensor from the image signal from which the fixed defect noise has been removed.
  • the image processing apparatus further includes an offset removal unit that removes an offset component included in the image signal, and the image signal input to the offset removal unit is obtained by removing fixed pattern noise by the fixed pattern noise removal unit. There may be.
  • the offset component since the offset component is calculated after removing the fixed pattern noise, the offset component can be accurately removed without being affected by the fixed pattern noise in the calculation of the offset component. Become.
  • the offset removal unit extracts an image signal of a pixel belonging to the light-shielding region of the imaging element from the image signal input to the offset removal unit, and calculates an average value of the size of the extracted image signal.
  • the noise removal performance can be improved.
  • FIG. 1 is a configuration diagram of a digital camera 100 according to a first embodiment.
  • FIG. 2 is a diagram showing the distribution of the magnitude of dark current noise components.
  • FIG. 3 is a diagram for explaining that a range including a peak of a magnitude taken by a dark current noise component is specified, and a quantization threshold and a representative value are calculated within the range.
  • FIG. 4 is a configuration diagram of a digital camera 110 according to a second embodiment.
  • FIG. 5 is a diagram for explaining that a dark current noise component is divided into a plurality of lines.
  • FIG. 6 is a configuration diagram of a digital camera 120 according to a third embodiment.
  • FIG. 7 is a configuration diagram of a digital camera 1100 according to a fourth embodiment.
  • FIG. 8 is a diagram showing the distribution of the magnitude of dark current noise components.
  • FIG. 9 is a diagram for explaining that a range including a peak of a magnitude taken by a dark current noise component is specified, and that a quantization threshold and a representative value are calculated within the range.
  • FIG. 10 is a configuration diagram of a digital camera 2100 according to a fifth embodiment.
  • FIG. 11 is a block diagram of a fixed pattern noise removing unit 2010 according to the fifth embodiment.
  • FIG. 12 is a configuration diagram of a smear noise removing unit 2011 according to the fifth embodiment.
  • FIG. 13 is a block diagram of a fixed defect noise removing unit 2012 according to Embodiment 5.
  • FIG. 14 is a diagram for explaining a fixed defect determination method.
  • FIG. 15 is a configuration diagram of a digital camera 2110 according to the sixth embodiment.
  • FIG. 16 is a configuration diagram of an offset removal unit 2014 according to Embodiment 6.
  • FIG. 1 is a diagram showing a configuration of a digital camera 100 provided with a dark current noise removing apparatus 1 according to a preferred embodiment 1 of the present invention.
  • This configuration can be realized in hardware by a CPU, memory, or other LSI of any computer, and in software, it can be realized by a program with an encoding function loaded in the memory. It draws functional blocks that are realized by their cooperation. Therefore, those skilled in the art will understand that these functional blocks can be realized in various forms by hardware only, software only, or their combination.
  • the digital camera 100 includes a dark current noise removing device 1, a lens 2, a shutter 3, an imaging element 4, an AZD conversion unit 5, and a recording medium 6.
  • the light reflected by the subject enters the image sensor 4 through the lens 2 and the shutter 3.
  • the image sensor 4 converts the incident light into an electrical signal and outputs it as an image signal.
  • Examples of the image pickup device 4 include a CCD and a CMOS sensor.
  • the image signal output from the image sensor 4 is converted into, for example, a 10-bit digital signal by the AZD conversion unit 5, and then the dark current noise is removed by the dark current noise removal device 1 and recorded on the recording medium 6. Is done.
  • the dark current noise removing device 1 uses an image signal that has been picked up by the image pickup device 4 with the shutter 3 closed, and converted into a digital signal by the AZD conversion unit 5 as a current noise. It is stored as a component, and this power is calculated from the image signal captured during actual imaging. The dark current noise is removed by subtracting the current noise component. When storing this dark current noise component, the distribution of the magnitude of the dark current noise component of all pixels constituting the image is obtained, and the range including the peak of the dark current noise component is examined from this distribution, and the quantum within that range is determined. Perform compression.
  • the magnitude of the dark current noise component referred to here is a value represented by a digital signal obtained by the AZD conversion unit 5.
  • the dark current noise removal apparatus 1 includes a noise distribution analysis unit 10, a quantization unit 12, a memory 14, an inverse quantization unit 16, and a subtraction unit 18.
  • the noise distribution analysis unit 10 counts for each pixel how many pixels appear for each possible value in all pixels, Find its distribution.
  • the dark current noise component of an image composed of 10 pixels has the following values for each pixel.
  • the noise distribution analysis unit 10 obtains the number of appearing pixels of each value as follows.
  • Value 5 2 pixels
  • value 6 0 pixels
  • value 7 0 pixels.
  • the number of pixels of the image actually obtained from the image sensor 4 is several hundred thousand or even millions of pixels.
  • the value that the dark current noise component can take is determined by the resolution of the AZD converter 5. For example, if the AZD converter 5 has a 10-bit resolution, what value can the dark current noise component take? ⁇ 1023.
  • the noise distribution analysis unit 10 obtains the number of appearing pixels for each possible value of 0 to 1023 for the dark current noise components of all the pixels obtained by the image sensor 4. As a result, the distribution shown in Fig. 2 can be obtained.
  • the noise distribution analysis unit 10 identifies ranges A to B where the dark current noise components are concentrated as shown in FIG.
  • the lower limit A of this range is the value of the dark current noise component having the pixel power of the xZ512 pixel, counting from the smaller of the pixel values, where X is the number of pixels used to determine the distribution.
  • the upper limit B is the value of the dark current noise component of the xZ512 pixel, counting from the largest pixel value.
  • the divisor is not limited to 512, and may be an arbitrary value. Different divisors may be used for the lower limit A and the upper limit B. Furthermore, the divisor may be variable and set from the outside.
  • the position of the peak of the distribution of the dark current noise component is specified, the number of pixels existing from the lower limit A to this peak, and the upper limit B Force Number of pixels existing up to this peak
  • the lower limit A and the upper limit B may be set so that a certain number of pixels is obtained.
  • THn DA + (2n + l) ⁇ (DB-DA) / (2- (N—l)) ⁇ ⁇ ⁇ ⁇ (1)
  • Vn DA + 2n- (DB-DA) / (2- (N-l))
  • DA and DB represent the values of the dark current noise component at the lower limit A and the upper limit B, respectively.
  • the threshold value THn is sent to the quantization unit 12, while the representative value Vn is sent to the inverse quantization unit 16.
  • the quantization unit 12 quantizes the dark current noise component obtained when the shutter 3 is closed and refers to the quantization threshold obtained by the noise distribution analysis unit 10. .
  • quantization is performed by the method described below while referring to the threshold value THn obtained by Equation (1) to obtain post-quantization data OC.
  • the quantized data ⁇ is set to zero. If the dark current noise component a is greater than or equal to the threshold ⁇ ( ⁇ 2), the quantized data ⁇ is (N ⁇ l). The dark current noise component a is greater than or equal to the threshold TH (n-l) and less than THn. In this case, the quantized data is n.
  • the noise distribution analysis unit 10 and the quantization unit 12 are examples of the “means for performing quantization of noise components” in the present invention.
  • the data ⁇ quantized by the quantization unit 12 is stored in the memory 14.
  • the capacity required for the memory 14 may be smaller than that required when the dark current noise component is quantized.
  • the quantized data a takes a value from 0 to 15. That is, the dark current noise component that was originally represented by 10 bits per pixel can be represented by 4 bits after quantization. Therefore, if a dark current noise component of 1 million pixels is stored in the memory 14 if it is not quantized, a capacity of 10 million bits is required, but if it is quantized, 4 million bits are enough.
  • the inverse quantization unit 16 is a dark current quantized from the memory 14 in accordance with the timing at which an image signal captured with the shutter 3 opened during actual imaging is output from the AZD conversion unit 5.
  • the noise component is read out and dequantized and decoded while referring to the representative value input from the noise distribution analyzer 10.
  • the subtracting unit 18 subtracts the dark current noise component inversely quantized by the inverse quantizing unit 16 from the image signal force captured at the time of actual imaging.
  • the image sensor 4 captures an image with the shirt 3 closed. At this time, light is incident on the image sensor 4.
  • the signal output from the image sensor 4 is a dark current noise component.
  • This dark current noise component is converted into a digital signal by the AZD conversion unit 5 and then input to the noise distribution analysis unit 10.
  • the noise distribution analysis unit 10 obtains the distribution of the dark current noise component force and magnitude of all pixels, examines the range including the peak of the dark current noise component from this distribution, and represents the quantization threshold THn within that range as a representative. Calculate the value Vn.
  • the dark current noise component is imaged by the image sensor 4 with the shutter 3 closed again.
  • This dark current noise component is converted into a digital signal by the AZD converter 5 and then input to the quantizer 12.
  • the quantization unit 12 is obtained by the noise distribution analysis unit 10.
  • the dark current noise component is quantized based on the threshold value, and the memory 14 stores the quantized dark current noise component.
  • the above operation is the operation up to the stage before actually imaging the subject.
  • the operation so far, that is, storing the quantized dark current noise component in the memory 14 may be performed at every imaging, or may be performed when the digital camera is turned on.
  • it may be configured to provide an imaging time detection unit (not shown) and instruct the current noise removal device 1 to quantize and store the dark current noise component when the imaging time is detected.
  • dark current noise is easily affected by the temperature environment around the image sensor, the dark current noise component value can be obtained with the highest accuracy when stored immediately before imaging.
  • a power-on detection unit (not shown) is provided, and if power-on is detected, the dark current noise removal device 1 is instructed to quantize and store the dark current noise component. Good.
  • the quantized dark current noise component may be stored in the memory 14 when the digital camera is manufactured.
  • a timer (not shown) may be provided in the digital camera so that the dark current noise removal device 1 is instructed to quantize and store the dark current noise component at regular intervals.
  • the image sensor 4 captures an image with the shutter 3 opened.
  • the image signal output from the image sensor 4 is converted into a digital signal by the AZD converter 5 and then sent to the subtractor 18.
  • the inverse quantization unit 16 reads the quantized dark current noise component stored in the memory 14 in accordance with the timing at which the image signal is output from the AZD conversion unit 5, and the noise distribution analysis unit 10
  • the dark current noise component is inversely quantized while referring to the calculated representative value.
  • the inversely quantized dark current noise component is input to the subtracting unit 18, and the subtracting unit 18 subtracts the inversely quantized dark current noise component from the image signal power.
  • the negative current noise component can be removed from the image signal.
  • the image signal from which the dark current noise component has been removed is recorded on the recording medium 6.
  • the amount of information of the dark current noise component is greatly increased by quantizing the dark current noise component.
  • the amount of memory required to store the dark current noise component can be reduced.
  • the quantization threshold value is set and quantized using two dark current noise components captured at different times, the captured dark current noise components are temporarily stored. Memory capacity that is not necessary can be reduced.
  • the quantization threshold is set using the dark current noise component obtained first, but it is only necessary to retain the dark current noise component for the moment of the quantization threshold setting. You may delete the data.
  • quantization is performed using the dark current noise component acquired next, but it is only necessary to retain the dark current noise component for the moment of the quantization, and thereafter erase the dark current noise component data. Also good. Since it is not necessary to maintain a dark current noise component between the quantization threshold setting process and the quantization process, the memory capacity can be reduced.
  • FIG. 4 is a diagram showing a configuration of a digital camera 110 provided with the dark current noise removing apparatus 7 according to the preferred embodiment 2 of the present invention.
  • the digital camera 110 has a configuration in which a noise distribution analysis unit 20 having a function different from that of the noise distribution analysis unit 10 of the digital camera 100 according to the first embodiment is arranged, and a line memory 22 is further added.
  • the same components as those in the first embodiment are denoted by the same reference numerals and description thereof is omitted.
  • the noise distribution analysis unit 20 in the second embodiment is different from the noise distribution analysis unit 10 in the first embodiment in that the distribution of the magnitude of the dark current noise component is performed over all pixels. Then, the dark current noise component is divided into multiple line areas as shown in Fig. 5, the distribution of the magnitude of the dark current noise component is obtained within the divided range, and the quantization threshold and representative value are calculated. It is in the point to put out. In addition, the noise distribution analysis unit 20 stores the dark current noise components of a plurality of lines for which the quantization threshold and the representative value are calculated in the line memory 22.
  • the image sensor 4 images the dark current noise component.
  • This dark current noise component is converted into a digital signal by the AZD converter 5 and then input to the noise distribution analyzer 20.
  • the noise distribution analysis unit 20 obtains the magnitude distribution from the dark current noise components of the pixels in the first plurality of lines, and calculates the quantization threshold and the representative value based on this distribution. Further, the noise distribution analysis unit 20 obtains the distribution, and stores the dark current noise components of a plurality of lines whose quantization thresholds and representative values are calculated in the line memory 22.
  • the quantization unit 12 reads the dark current noise component stored in the line memory 22, performs quantization while referring to the threshold value calculated by the noise distribution analysis unit 20, and performs this quantization.
  • the dark current noise component is stored in the memory 14.
  • the noise distribution analysis unit 20 obtains the distribution of the magnitude of the dark current noise component for the pixels existing in the next multiple lines, and calculates the quantization threshold and the representative value from this distribution.
  • the dark current noise components of the plurality of lines are overwritten in the line memory 22.
  • the noise distribution analysis unit 20, the quantization unit 12, and the line memory 22 repeat the above operation for each of a plurality of lines to perform quantization compression on all the pixels of the dark current noise component.
  • the quantized dark current noise component can be stored in the memory 14.
  • the above operation is the operation up to the stage before actually imaging the subject. Since the operation when actually imaging the subject is the same as the operation described in the first embodiment, the description is omitted.
  • the dark current noise component is divided into a plurality of regions, the distribution of the magnitude of the dark current noise component is obtained for each region, the quantization threshold value and the representative value are calculated, and Line memo is the dark current noise component of the area where the representative value is calculated. Since the dark current noise component stored in the line memory is quantized, the dark current noise component can be imaged only once, and the dark current noise component can be quantized. It can be performed easily and in a short time.
  • FIG. 6 is a diagram showing a configuration of a digital camera 120 including the dark current noise removing device 8 according to the preferred embodiment 3 of the present invention.
  • the digital camera 120 has a configuration in which a band separation unit 24, a compression unit 28, a memory 30, an expansion unit 32, and an addition unit 34 are added to the digital camera 100 according to the first embodiment.
  • the same components as those in the first embodiment are denoted by the same reference numerals and description thereof is omitted.
  • the band separation unit 24 separates the dark current noise component into a low frequency component and a high frequency component.
  • the compression unit 28 performs compression processing on the low-frequency component separated by the band separation unit 24.
  • compression methods there are a method of taking a difference between low frequency components between a pixel to be compressed and an adjacent pixel, and a method of dividing and quantizing a low frequency component by a predetermined quantization coefficient. Alternatively, a combination of these methods may be used in which low-frequency components are extracted at predetermined pixel intervals and low-frequency components of other pixels are discarded.
  • the memory 30 stores the low frequency component compressed by the compression unit 28.
  • the expansion unit 32 reads the compressed low frequency component stored in the memory 30 and performs expansion processing. For example, when the low frequency component is compressed by the compression unit 28 by the method of taking the difference between the adjacent pixel to be compressed and the low frequency component, the value stored in the memory 30 and the low frequency component of the adjacent pixel are calculated. The expansion process is performed by adding. In addition, when compressed by a method of quantization by dividing by a predetermined quantization coefficient, expansion processing is performed by multiplying a value stored in the memory 30 by a quantization coefficient. In addition, when the low frequency components are extracted at a predetermined pixel interval and compressed by a method of discarding the low frequency components of other pixels, the low frequency components of the pixels stored in the memory 30 are filtered. Thus, the low frequency components of all pixels are obtained and the expansion process is performed.
  • the noise distribution analysis unit 10, the quantization unit 12, the memory 14, and the inverse quantization unit 16 have the same functions as those provided in the digital camera according to the first embodiment. It works against the high-frequency component of the dark current noise separated at the separation part 24. [0082]
  • the adder 34 adds the low-frequency component of the dark current noise expanded by the expander 32 and the high-frequency component of the dark current noise inversely quantized by the inverse quantization unit 16 to add dark current noise. Is decrypted.
  • the dark current noise component imaged with the shirt 3 closed is converted into a digital signal by the AZD conversion unit 5 and then separated into a low frequency component and a high frequency component by the band separation unit 24.
  • the noise distribution analysis unit 10 obtains a distribution of the size of the high frequency component over all pixels, and calculates a quantization threshold and a representative value for the high frequency component based on this distribution.
  • the dark current noise component is imaged by the image sensor 4 with the shutter 3 closed again, converted into a digital signal by the AZD converter 5, and then the low frequency component by the band separator 24. And high frequency components.
  • the low frequency component is compressed by the compression unit 28, and the compressed low frequency component is stored in the memory 30.
  • the high frequency component is input to the quantization unit 12, quantized based on the threshold value obtained by the noise distribution analysis unit 10, and the quantized high frequency component is stored in the memory 14.
  • the above operations are operations up to the stage before actually imaging the subject. Next, the operation when actually imaging a subject will be described.
  • the image sensor 4 captures an image with the shutter 3 opened.
  • the image signal output from the image sensor 4 is converted into a digital signal by the AZD conversion unit 5 and then sent to the subtraction unit 18.
  • the decompression unit 32 reads out the low-frequency component of the quantized dark current noise stored in the memory 30 in accordance with the timing at which the image signal is output from the AZD conversion unit 5, and the dark current noise. Stretch low frequency components.
  • the inverse quantization unit 16 reads the high-frequency component of the quantized dark current noise stored in the memory 14 in accordance with the timing at which the image signal is output from the AZD conversion unit 5.
  • the high frequency component of the dark current noise is inversely quantized while referring to the representative value calculated by the noise distribution analysis unit 10.
  • the dark current noise component is decoded by adding the inversely quantized low frequency component and high frequency component by the adding unit 34.
  • the dark current noise component is input to the subtracting unit 18, and the dark current noise component obtained by dequantizing the image signal force by the subtracting unit 18 is subtracted to remove the dark current noise component from the image signal. Leave.
  • the dark current noise itself varies from pixel to pixel, the high frequency component is dominant.
  • the low frequency component may be mixed into the acquired noise information. According to the third embodiment, the following operational effects can be enjoyed.
  • the dark current noise is separated into a low frequency component and a high frequency component, the distribution of the magnitude is obtained for the dominant high frequency component in the dark current noise, and the dark current noise is calculated from the distribution. It is possible to restore dark current noise more accurately by specifying a range that includes the peak of the magnitude taken by the high-frequency component and performing quantization compression within that range.
  • the force shown in the example of the digital camera is not limited thereto, and the dark current noise removing device according to the embodiment of the present invention can be provided as long as the image sensor is provided. .
  • the quantization threshold is determined in the divided range, and the quantization is performed is shown.
  • the quantization threshold is determined from one dark current noise component of two dark current noise components captured at different times, and the other dark current noise is determined. It may be possible to select which quantization method to use, which may add a process for quantizing the component.
  • the line memory is divided into noise distribution components as in the second embodiment.
  • a low frequency component and a high frequency component of a plurality of lines used in the noise distribution analysis units 10 and 26 may be stored in these line memories by being added between the analysis unit 10 and the quantization unit 12.
  • the dark current noise component can be divided into a plurality of lines, and the quantization threshold of the dark current noise component can be set and quantized within the divided range. It is possible to enjoy the same effects as those of the second embodiment.
  • FIG. 7 is a diagram showing a configuration of a digital camera 1100 provided with a dark current noise removing apparatus 1001 according to a preferred embodiment 4 of the present invention.
  • This configuration can be realized in hardware by any computer's CPU, memory, or other LSI, and in software, it can be realized by a program with an encoding function loaded in memory. Describes functional blocks realized by collaboration. Therefore, those skilled in the art will understand that these functional blocks can be realized in various forms by hardware only, software only, or a combination thereof.
  • the digital camera 1100 includes the power of the eddy current noise removing device 1001, a lens 1002, a shirter 1003, an image sensor 1004, an AZD conversion unit 1005, and a recording medium 1006.
  • the light reflected by the subject enters the image sensor 1004 through the lens 1002 and the shutter 1003.
  • the image sensor 1004 converts the incident light into an electric signal and outputs it as an image signal. Examples of the image sensor 1004 include a CCD and a CMOS sensor.
  • the image signal output from the image sensor 1004 is converted into, for example, a 10-bit digital signal by the AZD conversion unit 1005.
  • the value represented by this digital signal corresponds to “the magnitude of the image signal” of the present invention. Further, when an image signal converted into a digital signal is separated into a low frequency component and a high frequency component, the value of each component represented by the digital signal is also included in the “image signal size”.
  • the image signal converted into a digital signal by the AZD conversion unit is recorded on the recording medium 1006 after dark current noise is removed by the dark current noise removing device 1001.
  • the dark current noise removing apparatus 1001 is imaged by the imaging element 1004 with the shutter 1003 closed, and converted into a digital signal by the A / D conversion unit 1005.
  • the image signal is stored as a dark current noise component, and the image signal force captured at the time of actual imaging is subtracted from the dark current noise component to remove the dark current noise.
  • the distribution of the magnitude of the dark current noise component of all pixels constituting the image is obtained, and the range including the peak of the dark current noise component is examined from this distribution, and the quantum within that range is determined. Perform compression.
  • the magnitude of the dark current noise component mentioned here is a value represented by a digital signal obtained by the AZD conversion unit 1005.
  • the dark current noise removing apparatus 1001 compares the state when the dark current noise component is captured in advance with the state when the image signal is captured. Based on this comparison, the dark current noise component included in the image signal is predicted from the dark current noise component captured in advance. For example, since there is a region where light is not always incident in the image sensor 1004, an image signal output from the region can be regarded as a dark current noise component in the pixel. Therefore, among the image signals captured in the light incident state, the image signal output from the pixel belonging to the region where the light is not always incident (the light shielding region) and the dark current noise component captured in advance from the same pixel. By calculating the ratio of the output dark current noise component and multiplying this ratio by the entire dark current noise component that has been imaged in advance, the dark current noise component included in the image signal is accurately predicted.
  • the dark current noise removing apparatus 1001 separates the dark current noise and the image signal output from the light-shielding area, which are captured in advance, into a low frequency component and a high frequency component, and compares these high frequency components with each other.
  • the above-described prediction is performed using dark current high-frequency components imaged in advance. This is because dark current noise varies from pixel to pixel and contains a lot of high-frequency components and is not affected by location. On the other hand, low-frequency components are affected by location such as power supply and device characteristics. This is because the noise is dominant, so if the prediction process including the low frequency component is performed, the dark current noise cannot be predicted correctly.
  • the dark current noise removal apparatus 1011 includes a noise distribution analysis unit 1010, a quantization unit 1012, a memory 1014, a first inverse quantization unit 1018, a second inverse quantization unit 1020, a high frequency extraction unit 1022, a multiplication coefficient setting unit 1024.
  • Noise distribution analyzer 1010 is a shirt For the dark current noise component obtained when the image is taken with the shutter 1003 closed, the number of pixels that appear for each possible value is counted for all pixels, and the distribution is obtained.
  • the dark current noise component of an image composed of 10 pixels has the following values for each pixel.
  • the noise distribution analysis unit 1010 obtains the number of appearing pixels of each value as follows.
  • Value 5 2 pixels
  • value 6 0 pixels
  • value 7 0 pixels.
  • the number of pixels of an image actually obtained from the image sensor 1004 is several hundred thousand or even millions of pixels.
  • the value that the dark current noise component can take is determined by the resolution of the AZD converter 1005.
  • the values that the dark current noise component can take are 0 to 1023.
  • the noise distribution analysis unit 1010 obtains the number of appearing pixels of the possible values 0 to 1023 for the dark current noise components of all the pixels obtained by the imaging element 1004. As a result, the distribution shown in Fig. 8 can be obtained.
  • the noise distribution analysis unit 1010 identifies ranges A to B including the peak of the dark current noise component as shown in FIG.
  • the lower limit A of this range is the value of the dark current noise component having the pixel power of the xZ512 pixel, counting from the smaller of the pixel values, where X is the number of pixels used to determine the distribution.
  • the upper limit B is the value of the dark current noise component of the xZ512 pixel, counting from the largest pixel value.
  • the divisor is not limited to 512, and may be an arbitrary value. Different divisors for the lower limit A and the upper limit B may be used. Furthermore, the divisor may be variable and set from the outside.
  • the position of the peak of the distribution of the dark current noise component is specified, the number of pixels existing from the lower limit A to this peak, and the upper limit B. Force Number of pixels existing up to this peak
  • the lower limit A and the upper limit B may be set so that a certain number of pixels is obtained.
  • the noise distribution analysis unit 1010 specifies the ranges A to B, and calculates a quantization threshold and a representative value so as to quantize and compress the threshold within the range. For example, consider the case where the dark current noise component is quantized into N stages as shown in Fig. 9.
  • quantization level n 0, 1, 2,..., N ⁇ 1
  • the noise distribution analysis unit 1010 obtains the threshold value THn between the quantization level n and the quantization level (n + 1) and the representative value Vn of the quantization level n by the following equation.
  • THn DA + (2n + l) ⁇ (DB-DA) / (2-(N— 1)) ⁇ ⁇ ⁇ ⁇ (3)
  • Vn DA + 2n- (DB-DA) / (2-(N-l)) ⁇ ⁇ ⁇ (4)
  • DA and DB represent the values of the dark current noise component at the lower limit A and the upper limit B, respectively.
  • the threshold value T Hn is sent to the quantization unit 1012.
  • the dark current noise component DA at the threshold THn, the representative value Vn, and the lower limit A is sent to the first inverse quantization unit 1018 and the second inverse quantization unit 1020.
  • the quantization unit 1012 quantizes the dark current noise component obtained when the shutter 1003 is closed and refers to the quantization threshold obtained by the noise distribution analysis unit 1010. .
  • quantization is performed by the method described below while referring to the threshold value THn obtained by Equation (3) to obtain post-quantization data a.
  • the quantized data a is set to zero. If the dark current noise component a is greater than or equal to the threshold TH (N ⁇ 2), the quantized data ⁇ is (N ⁇ l). If the dark current noise component a is greater than or equal to the threshold TH (n ⁇ l) and less than THn, the quantized data ex is n.
  • the data ⁇ quantized by the quantization unit 1012 is stored in the memory 1014.
  • the capacity required for the memory 1014 may be smaller than that required when the dark current noise component is quantized.
  • the quantized data ⁇ takes a value from 0 to 15.
  • the dark current noise component that was originally represented by 10 bits per pixel can be represented by 4 bits after quantization. Therefore, if a dark current noise component of 1 million pixels is stored in the memory 1014, if it is not quantized, 10 It needs 4 million bits when it is quantized while it needs a capacity of 400 million bits
  • the low-frequency / high-frequency separation unit 1016 is quantized from the memory 1014 in accordance with the timing when the image signal captured with the shutter 1003 opened during actual imaging is output from the AZD conversion unit 1005.
  • the dark current noise component is read and separated into a low frequency component and a high frequency component.
  • the low frequency / high frequency separation unit 1016 separates the quantized high-frequency noise component Q of a certain pixel X into a low frequency component L and a high frequency component H according to the following equation.
  • Q to Q are the quantum of each of the 15 pixels adjacent to the left side of pixel X x + 1 x + 15
  • the function min2 is the function that outputs the second smallest value among the values listed in parentheses.
  • the low-frequency / high-frequency separation method using Equations (5) and (6) is the dark current noise component of 16 pixels in total, 15 pixels that are adjacent to the left side of the pixel to be separated.
  • the second lowest value is the low frequency component, and the dark current noise component of the pixel to be separated is subtracted from the low frequency component.
  • the reason why the low frequency component is not set to the minimum value among the dark current noise components of 16 pixels is to prevent the low level signal output by the defective pixel from being the low frequency component.
  • the first inverse quantization unit 1018 is a high-frequency component separated by the low-frequency / high-frequency separation unit 1016
  • H is dequantized, for example, according to the following equation.
  • IH H X (Vn-THn) ⁇ ⁇ ⁇ (7)
  • IH is the high-frequency component of the dark current noise that has been dequantized, and this IH is the multiplier 1
  • IL x is a low-frequency component of inversely quantized dark current noise.
  • the second inverse quantization unit 10 20 sends the value obtained by adding the value DA of the dark current noise component at the lower limit A input from the noise distribution analysis unit 1010 to the IL to the addition unit 1028.
  • the high-frequency extraction unit 1022 outputs an image output from a light shielding region force provided at the end of the image sensor 1004 with respect to an image signal captured with the shutter 1003 closed and the shutter 1003 opened.
  • Signal force A high frequency component is extracted, an average value of the high frequency component is obtained, and output to the multiplication coefficient setting unit 1024.
  • the high-frequency component is calculated using the equations (5) and (6) as in the low-frequency 'high-frequency separation unit 10 16.
  • Multiplication coefficient setting section 1024 obtains and stores the average value of the high-frequency component in the light-shielding area calculated by high-frequency extraction section 1022 from the dark current noise component imaged in advance with shutter 1003 closed. . Further, the high frequency extraction unit 1022 obtains the average value of the high frequency components of the light shielding region in the image signal captured with the shutter 1003 opened. Of the image signals captured in this state, the image signal output from the pixel in the light shielding area is a dark current noise component in the pixel at the time when the image is captured.
  • the ratio of the dark current noise component stored in advance to the average value of the high frequency component of the light shielding region is obtained, and this ratio is multiplied by the high frequency component of the dark current noise that is inversely quantized as a multiplication coefficient. Therefore, it is possible to predict a high-frequency component of dark current noise included in the captured image signal.
  • the multiplication unit 1026 multiplies the high-frequency component of the dark current noise component expanded by the first inverse quantization unit by the multiplication coefficient output from the multiplication coefficient setting unit 1024, so that it is included in the image signal.
  • the high frequency component of the dark current noise component is predicted.
  • the adding unit 1028 generates a dark current noise component by adding the value output from the second inverse quantization unit to the predicted high frequency component. Then, the dark current noise is removed from the image signal by subtracting the dark current noise component generated by the adder 1028 from the image signal captured in the actual imaging state by the subtractor 1030.
  • the image sensor 1004 captures an image with the shirt 1003 closed. At this time, the image sensor 100 Since no light is incident on 4, the image signal output from the image sensor 1004 is a negative current noise component (A).
  • the dark current noise component (A) is converted into a digital signal by the AZD conversion unit 1005 and then input to the noise distribution analysis unit 1010.
  • the noise distribution analysis unit 1010 obtains the magnitude distribution from the dark current noise components of all the pixels, and calculates the quantization threshold TH n and the representative value Vn based on this distribution.
  • the dark current noise component (B) is imaged by the image sensor 1004 with the shutter 1003 closed again.
  • This dark current noise component (B) is converted into a digital signal by the AZD conversion unit 1005 and then input to the quantization unit 1012.
  • the quantization unit 1012 quantizes the dark current noise component (B) based on the threshold value Vn obtained by the noise distribution analysis unit 1010.
  • the memory 1014 stores the quantized dark current noise component (B).
  • the dark current noise component (B) imaged at this time is also input to the high-frequency extraction unit 1022.
  • the high frequency extraction unit 1022 extracts the dark current noise component (B) force high frequency component included in the light shielding region of the image sensor 1004, and obtains an average value thereof. This average value is sent to the multiplication coefficient setting unit 1024 and stored therein.
  • the operation up to here is the operation up to the stage before actually imaging the subject.
  • the operation up to this point can be performed at every imaging, or can be performed when the digital camera is turned on.
  • an imaging detection unit (not shown) may be provided, and when the imaging is detected, the dark current noise removing device 1001 may be instructed to perform the operation up to this stage. Since the dark current noise is easily affected by the temperature environment around the image sensor, the value of the dark current noise component can be obtained with the highest accuracy when stored immediately before imaging.
  • a power-on detection unit (not shown) may be provided, and when power-on is detected, the dark current noise removing device 1001 may be instructed to perform the operation up to this stage.
  • the operation up to the stage before actually capturing an image of the subject may be performed at the time of manufacturing the digital camera.
  • a timer (not shown) may be provided in the digital camera so that the dark current noise removing apparatus 1001 is instructed to perform the operation up to this stage at regular intervals.
  • an operation when actually imaging a subject will be described.
  • an image (C) is captured by the image sensor 1004 with the shutter 1003 opened.
  • the image signal (C) output from the image sensor 1004 is converted into a digital signal by the AZD conversion unit 1005 and then sent to the subtraction unit 1030 and also to the high frequency extraction unit 1022.
  • the high frequency extraction unit 1022 extracts high frequency components from the image signal (C) included in the light shielding region of the image sensor 1004, obtains an average value thereof, and sends this to the multiplication coefficient setting unit 1024.
  • the multiplication coefficient setting unit 1024 stores the average value of the high-frequency component of the image signal (C) contained in the light-shielding region transmitted from the high-frequency extraction unit and the high-frequency component of the dark current noise component (B) stored. The ratio with the average value is calculated and sent to the multiplication unit 1026 as a multiplication coefficient.
  • the low-frequency / high-frequency separation unit 1016 performs quantization of the dark current noise component (B) stored in the memory 1014 in accordance with the timing at which the image signal (C) is output from the AZD conversion unit 1005. ) And is separated into a low frequency component (BL) and a high frequency component (BH).
  • the separated high-frequency component (BH) is dequantized by the first dequantization unit 1018, and then multiplied by the multiplication coefficient obtained by the multiplication coefficient setting unit 1024 in the multiplication unit 1026, thereby generating an image.
  • the high frequency component of the dark current noise component included in the signal is predicted and sent to the adder 1028.
  • the separated low frequency component (BL) is dequantized by the second dequantization unit 1020 and then sent to the addition unit 1028.
  • the adding unit 1028 adds dark current noise (BD) by adding the low frequency component (BL) of the dark current noise that has been dequantized and the high frequency component (BH) of the predicted dark current noise. Restore.
  • the restored dark current noise component (BD) is input to the subtractor 1030, and the dark current noise component (BD) restored from the image signal (C) by the subtractor 1030 is subtracted. Thereby, the dark current noise component (BD) can be removed from the image signal (C). Then, the image signal (CD) from which the dark current noise component (BD) is removed is recorded on the recording medium 1006.
  • the force shown in the example of the digital camera is not limited thereto, and the dark current noise removing device according to the embodiment of the present invention is not limited to that provided with an imaging element. Can be provided.
  • the high frequency extraction unit 1022 has shown an example in which the image signal force output from the light shielding region is extracted from the high frequency components of a plurality of pixels, and the average value of the high frequency components is obtained. However, it is not limited to this, but the median or root mean square of the high frequency components of multiple pixels may be obtained.
  • the high-frequency extraction unit 1022 obtains the average value of the high-frequency components of a plurality of pixels from which the dark current noise component and the image signal force are also extracted, and the multiplication coefficient setting unit 1024 calculates these values.
  • the power of calculating the multiplication factor by calculating the ratio of the average value The ratio of each ratio is obtained for each pixel with respect to the dark current noise component extracted by the high frequency extraction unit 1022 and the high frequency component of the image signal.
  • the average value, median value, or mean square value may be used as the multiplication coefficient.
  • FIG. 10 is a diagram showing a configuration of a digital camera 2100 provided with a noise removal device 2001 according to a preferred embodiment 5 of the present invention.
  • This configuration can be realized in hardware by any computer's CPU, memory, or other LSI, and in software it can be realized by a program with an encoding function loaded in the memory. Describes functional blocks realized through collaboration. Therefore, those skilled in the art will understand that these functional blocks can be realized in various forms by hardware only, software only, or a combination thereof.
  • the digital camera 2100 includes the power of the noise removal device 2001, an image sensor 2002, an analog front end (AFE) 2003, an image compression device 2004, and a recording medium 2005.
  • the digital camera 2100 converts the light incident on the image sensor 2002 into an electric signal, and the AFE 2003 takes out the image signal power of the image sensor 2002 and amplifies it, and then converts it into a digital signal.
  • the image signal extracted by AFE2003 contains various noise components, and these noise components are removed by a noise removal device 2001 described later. Then, the image signal from which noise has been removed by the image compression apparatus 2004 is compressed and recorded on the recording medium 2005.
  • the noise removal apparatus 2001 includes a fixed pattern noise removal unit 2010, a smear noise removal unit 2011, a fixed defect noise removal unit 2012, and a random noise removal unit 2013.
  • FIG. 11 is a diagram showing the configuration of the fixed pattern noise removing unit 2010.
  • the fixed pattern noise removal unit 2010 includes a memory 2020 and a subtraction unit 2021.
  • the memory 2020 stores in advance an image signal captured by the imaging element 2002 in a state where no light is incident. Alternatively, the image signal may be compressed and stored in the memory 2020, or information associated with the image signal may be stored. An image signal picked up with no light incident corresponds to fixed pattern noise caused by dark current.
  • the image is input to the fixed pattern noise removing unit 2010 via the image signal force AFE2003 picked up by the image pickup device 2002 in an actual image pickup state, that is, in a state where light is incident, the image is matched with this timing.
  • the fixed pattern noise of each pixel constituting the signal is read from the memory 2020 and sent to the subtraction unit 2021. What is stored in memory 2020 If the compressed image signal or the information associated with the image signal is read out from the memory 2020, the image signal compressed for each pixel or the information associated with the image signal is read out in accordance with the above timing. It is also possible to restore the fixed pattern noise to the subtraction unit 2021 after restoring the fixed pattern noise from the signal or information. Then, the subtraction unit 2021 removes the fixed pattern noise by subtracting the fixed pattern noise from the image signal picked up with light incident thereon.
  • This fixed pattern noise removing unit 2010 may take a configuration such as the dark current noise removing devices 1, 7, 8, 1001 described in the first to fourth embodiments.
  • the fixed pattern noise referred to in this embodiment corresponds to the dark current noise in the first to fourth embodiments.
  • FIG. 12 is a diagram showing a configuration of the smear noise removing unit 2011.
  • the smear noise removal unit 201 1 includes a subtraction unit 2030, an addition unit 2031, a line memory 2032, a coefficient generation unit 2033, and a multiplication unit 2034.
  • the subtracting unit 2030 also subtracts the first smear noise component Dl (n) from the image signal Sl (n) force that is continuously input in units of one row, and outputs it as an image signal S 2 (n) that does not include the smear noise component.
  • the adder 2031 adds the image signal S2 (n) output from the subtractor 2030 and the cumulative addition data T (n) read from the line memory 2032 and supplies the added data to the line memory 2032.
  • the line memory 2032 is reset every time the input of the image signal SI ( ⁇ ) for one screen is completed, and stores the addition data input from the addition unit 2031 for each line. As a result, the image signal S2 (n) of one screen is accumulated in each column in the adder 2031, and the accumulated data T (n) is stored in the line memory 2032.
  • the coefficient generator 2033 In response to the exposure data L (m) indicating the exposure state of the image sensor 2002, the coefficient generator 2033 generates a coefficient k corresponding to the exposure period for each light receiving bit of the image sensor 2002, and a multiplier 2034 To supply.
  • the multiplication unit 2034 multiplies the cumulative addition data T (n) read from the line memory 2032 by the coefficient k to generate a smear noise component Dl (n).
  • the information charge accumulated in each light receiving bit of the image pickup device 2002 is transferred to the light receiving bit each time the information charge stored in the light receiving bit is transferred in the vertical direction. Amounts are accumulated sequentially. Then, since the smear noise component mixed in the process of transferring information charges is represented by the cumulative addition value, the smear noise can be removed by subtracting this value from the image signal SI (n).
  • the fixed defect noise removing unit 2012 determines whether or not each pixel is a fixed defect, and if it is determined as a fixed defect, calculates a peripheral pixel force interpolation value and replaces it with that value.
  • FIG. 13 is a diagram showing a configuration of the fixed defect noise removing unit 2012.
  • the fixed defect noise removal unit 2012 includes a line memory 2040, a fixed defect determination unit 2041, an interpolation value calculation unit 2042, and an interpolation value replacement unit 2043.
  • the line memory 2040 stores image signals that are continuously input in units of one row for each row.
  • the line memory 2040 can store image signals for seven lines. When an image signal for 7 lines is stored and a new image signal is input, the image signal of the row stored at the oldest time is overwritten with the newly input image signal. From this, the contents of the line memory 2040 are updated.
  • the fixed defect determination unit 2041 determines whether or not there is a fixed defect for each pixel. For example, when determining whether or not the pixel F7 shown in FIG. 14 is a fixed defect, the line memory 2 040 also reads the image signals of the peripheral pixels D5, D7, D9, F5, F9, H5, H7, and H9. Then, the maximum and minimum values of the image signals of these peripheral pixels are obtained and compared with the size of the image signal of pixel F7. As a result, when the magnitude power of the image signal of the pixel F7 is abnormally larger than the maximum value of the image signals of the peripheral pixels, or abnormally smaller than the minimum value, it is determined that the pixel F7 is a fixed defect. In other cases, it is determined that there is no fixed defect. The fixed defect determination unit 2041 performs this determination for all pixels constituting the image.
  • the interpolation value calculation unit 2042 calculates an interpolation value from the values of the surrounding pixels for the pixel whose fixed defect determination unit 2041 determines whether or not it is a fixed defect.
  • the interpolation value replacement unit 2043 replaces the image signal of the pixel with the interpolation value calculated by the interpolation value calculation unit 2042 and outputs it to the outside.
  • the fixed defect noise is removed by outputting the image signal of the pixel as it is.
  • the random noise removal unit 2013 is substantially the same as the configuration of the fixed defect noise removal unit 2012 shown in FIG. 13, but when determining the presence or absence of random noise, the maximum value of the image signal of surrounding pixels is set as the upper threshold. When the minimum value of the image signal of the surrounding pixels is set as the lower threshold, and the magnitude of the image signal of the pixel to be judged is out of the range force indicated by the upper threshold and the lower threshold It is determined that there is random noise. If it is determined that there is random noise, it is replaced with the interpolated value calculated for the pixel value of the peripheral pixel. If it is determined that there is no random noise, the image signal of that pixel is output as it is.
  • the digital camera 2100 captures an image with the image sensor 2002 in a state where light is not incident.
  • the image captured at this time represents a fixed pattern noise component caused by dark current.
  • This image is sent to the fixed pattern noise removal unit 201 of the noise removal apparatus 2001 via the AFE 2003 and stored.
  • the operation so far is the operation up to the stage before the subject is actually imaged.
  • the operation up to this point can be performed at every imaging, or can be performed when the digital camera is turned on.
  • an imaging detection unit (not shown) may be provided, and when the imaging is detected, the fixed pattern noise removal unit 2010 may be instructed to perform the operation up to this stage. Since the dark current noise is easily affected by the temperature environment around the image sensor, the dark current noise component value can be obtained with the highest accuracy when stored immediately before imaging.
  • a power-on detection unit (not shown) may be provided, and when power-on is detected, the fixed pattern noise removal unit 2010 may be instructed to perform the operation up to this stage.
  • the operation up to the stage before actually capturing an image of the subject may be performed at the time of manufacturing the digital camera.
  • a timer (not shown) may be provided in the digital camera, and the fixed pattern noise removal unit 2010 may be instructed to perform the operation up to this stage at regular intervals.
  • the digital camera 2100 picks up an image with the image pickup element 2002 in a state where light is incident, and the image signal is sent to the noise removing device 2001 via the AFE 2003.
  • the noise removing apparatus 2001 first, the fixed pattern noise removing unit 2010 removes fixed pattern noise from the image signal, and then the smear noise removing unit 2011 removes smear noise.
  • the fixed defect noise removing unit 2012 removes fixed defect noise, and the random noise removing unit 2013 removes random noise. This order eliminated multiple noises
  • the image signal is compressed by the image compression apparatus 2004 and recorded on the recording medium 2005.
  • the fifth embodiment is characterized in that a plurality of noises are removed in the order of fixed pattern noise, smear noise, fixed defect noise, and random noise by the noise removing device 2001. For each reason, each noise can be accurately removed.
  • smear noise requires estimation of the amount of incident light as described above. Since this estimation is performed based on an image signal obtained by imaging, there is a lot of noise in this image signal, and the accuracy of estimation of the amount of incident light deteriorates. As a result, the calculation accuracy of smear noise to be removed deteriorates.
  • it is difficult to accurately estimate smear noise if fixed pattern noise that is temperature dependent and increases in proportion to the exposure time is included in the image signal used for estimation. Therefore, it is desirable to remove the fixed pattern noise from the image signal before removing the smear noise.
  • fixed defect noise is preferably performed on an image from which noise has been removed to some extent, since interpolation pixels for replacement with defective pixel determination are performed based on surrounding pixels. Also, depending on the amount of incident light, the smear noise may have reached a level that saturates the signal level, and the fixed defect noise will be buried. For this reason, it is desirable to remove smear noise before removing fixed defect noise.
  • the random noise has a very small signal level compared to other noises, and has little effect on the removal of smear noise and fixed defect noise. However, there may be noticeable image roughness. Since this random noise removal uses a method of estimation interpolation from the characteristics of surrounding pixels, it is desirable to dispose other noise components and place them in the final stage of noise removal that is a pixel close to the true pixel value. As described above, random noise is very small compared to other noises, so the random noise removing unit may be omitted from the noise removing device 2001.
  • the fixed pattern noise is removed first, followed by the smear noise, and then the fixed defect noise.
  • Each noise can be removed with the highest accuracy.
  • each noise including random noise can be removed with the highest accuracy by removing after removing other noise components.
  • FIG. 15 is a diagram showing a configuration of a digital camera 2110 provided with a noise removal device 2006 according to a preferred embodiment 6 of the present invention.
  • This noise removal device 2006 has a configuration in which an offset removal unit 2014 is added after the random noise removal unit 2013 to the noise removal device 2001 of FIG.
  • the same components as those in the fifth embodiment are denoted by the same reference numerals and description thereof is omitted.
  • the image signal output from the image sensor 2002 is not completely zero even if it is a black level image signal, and includes a certain offset component.
  • the offset removal unit 2014 also removes this offset component from this image signal force.
  • FIG. 16 is a diagram showing a configuration of the offset removing unit 2014.
  • the offset removal unit 2014 includes an offset calculation unit 2050, a memory 2051, and a subtraction unit 2052.
  • the offset calculation unit 2050 extracts image signals of some pixels belonging to a region (light-shielding region) where light provided at the end of the image sensor 2002 is not incident from the image signal output from the image sensor 2002. . Since the magnitude of the image signal output from the light shielding area cover is the magnitude of the black level in the image sensor 2002, the offset calculation unit 2050 uses the average value of the magnitude of the image signal as an offset component. The value is stored in the memory 2051. Then, the offset component is removed by subtracting the offset component stored in the memory 2051 from the image signal force by the subtracting unit 2052.
  • the digital camera 2110 shown in FIG. 15 Based on this configuration, the operation of the digital camera 2110 shown in FIG. 15 will be described. First, similar to the digital camera 2100 shown in FIG. 10, the digital camera 2110 captures an image with the image sensor 2002 in a state where light is not incident, and this image is fixed to the noise removal device 2006 via the AFE2003. It is sent to the pattern noise removal unit 2010 and stored as a fixed pattern noise.
  • the operation up to here is the operation up to the stage before the subject is actually imaged.
  • the digital camera 2110 picks up an image with the image pickup element 2002 in a state where light is incident, and the image signal is sent to the noise removing device 2006 through the AFE 2003.
  • the noise removal device 2006 the fixed pattern noise is first removed from the image signal by the fixed pattern noise removal unit 2010.
  • the smear noise removal unit 2011 removes the smear noise.
  • fixed defect noise removal unit 2012 removes fixed defect noise
  • random noise removal unit 2013 removes random noise.
  • the offset removal unit 2014 removes the offset component.
  • the image signal from which a plurality of noises are removed in this order is compressed by the image compression device 2004 and recorded on the recording medium 2005.
  • the sixth embodiment is characterized in that the offset component is removed after the fixed pattern noise is removed by the noise removing device 2006, and the offset component can be accurately removed for the following reason. Yes. That is, when calculating the offset component, the power to use the image signal of the pixel belonging to the light-shielding region of the imaging element 2002. This image signal includes a lot of fixed pattern noise caused by dark current. As described above, the fixed pattern noise has temperature dependence and increases in proportion to the exposure time. Therefore, if the offset component is calculated while including the fixed pattern noise, the calculation accuracy is deteriorated. Therefore, it is desirable to remove fixed pattern noise before removing offset components. As a result, the accuracy of removing the offset component is improved, and the image quality can be improved.
  • the force shown in the example in which the offset removing unit 2014 is arranged after the random noise removing unit 2013 is not limited to this.
  • the offset removing unit 2014 is not limited to the fixed pattern noise removing unit 2010. If it is arranged at a later stage, it is included in the category of the present invention.
  • the force shown in the example of the digital camera is not limited thereto, and the noise removal device according to the embodiment of the present invention can be provided as long as the image pickup device is provided. .
  • the present invention can be used in an apparatus that removes noise from an image sensor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Transforming Light Signals Into Electric Signals (AREA)
  • Studio Devices (AREA)

Abstract

 高周波成分の多い特性を保ちつつ、暗電流ノイズ成分を高圧縮して記憶させることができるノイズ除去装置を提供する。ノイズ分布分析部10は、少なくとも一部の画素の暗電流ノイズ成分から、その大きさの分布を求め、この分布に基づき量子化の閾値と代表値を算出する。量子化部12は、算出した閾値を基に、暗電流ノイズ成分を量子化し、メモリ14はこの量子化された暗電流ノイズ成分を記憶する。逆量子化部16は、メモリ14に記憶された量子化された暗電流ノイズ成分に対し、ノイズ分布分析部10で算出された代表値を参照しながら、暗電流ノイズ成分を逆量子化する。この逆量子化された暗電流ノイズ成分は減算部18に入力され、減算部18によって画像信号から逆量子化された暗電流ノイズ成分を差し引く。

Description

明 細 書
ノイズ除去装置
技術分野
[0001] 本発明は、デジタルカメラや携帯電話機等に用いられる撮像素子のノイズを除去す る装置に関する。
背景技術
[0002] デジタルカメラや携帯電話機に用いられる CCDや CMOSセンサなどの撮像素子 は、光が入射されない状況下においても、画素を構成する撮像素子に流れる暗電流 の影響により、ある程度決まったパターンのノイズ(暗電流ノイズ)が発生する。
[0003] 特許文献 1には、この暗電流ノイズを除去するための装置が開示されている。この 装置は、シャッターを閉じた状態で撮像素子にて撮像された画像である暗電流ノイズ 成分を、予め直交変換及び量子化によって圧縮してからメモリに記憶しておき、実際 に画像が撮像されると、この画像信号から直交逆変換によって復号された暗電流ノィ ズ成分を差し引くことで、暗電流ノイズを除去する。
[0004] この特許文献 1で開示された暗電流ノイズを圧縮する方法である直交変換及び量 子化は、画像圧縮でよく知られた方法を使用している。この方法は、画像信号を直交 変換した場合、低周波成分に情報が偏る、という画像の一般的な性質を利用したも のであり、量子化によって高周波成分の情報をカットしても、画質にそれほど大きな 影響を与えない。
特許文献 1:特開平 11― 298762号公報
発明の開示
発明が解決しょうとする課題
[0005] (第 1の課題)
暗電流ノイズ成分は高周波成分を多く含むので、この高周波成分の情報をカットし てしまうと、暗電流ノイズ成分を正しく復号することができない。したがって、直交変換 及び量子化によって暗電流ノイズ成分を圧縮する場合、この高周波成分の情報を力 ットすることができず、圧縮率を高くすることができない、という問題があった。 [0006] この発明は、上記のような課題を解決するためになされたものであり、暗電流ノイズ を削減する装置において、高周波成分の多い特性を保ちつつ、暗電流ノイズ成分を 高圧縮して記憶させることができるノイズ除去装置を提供することを目的とする。
[0007] (第 2の課題)
暗電流ノイズ成分は、撮像した時点での撮像素子の温度や露光時間、および撮像 素子の出力から画像信号をアナログ信号として取り出す際に乗ずるゲインなどによつ て、大きく変化するため、予め撮像した暗電流ノイズ成分の大きさと、実際の撮像状 態で撮像した画像成分に含まれる暗電流ノイズ成分の大きさは、異なったものになる 。しかしながら、特許文献 1で開示された暗電流ノイズ除去装置は、圧縮,伸張の処 理が入るものの、予め記憶してぉ 、た暗電流ノイズ成分をそのまま画像信号力 差し 引くので、画像信号力も正しく暗電流ノイズ成分を除去できない、といった問題があつ た。
[0008] この発明は、上記のような課題を解決するためになされたものであり、画像信号に 含まれる暗電流ノイズ成分を精度良く除去することができるノイズ除去装置を提供す ることを目的とする。
[0009] (第 3の課題)
デジタルカメラや携帯電話機に用いられて ヽる CCDや CMOSセンサなどの撮像 素子から出力される信号は、画像信号の他に、暗電流成分による固定パターンノィ ズ、強烈な入射光によって発生するスミアノイズ、 CCDの製造時の欠陥による固定欠 陥ノイズ、デバイスの熱的な揺らぎに起因するランダムノイズを含んでいる。したがつ て、撮像素子の出力された信号力もこれらのノイズ成分を除去することが必要である 。特開 2004— 172925号公報には、撮像素子にて撮像された信号から、先にスミア ノイズを除去した後、暗電流による固定パターンノイズを除去する装置が開示されて いる。
[0010] ところで、このスミアノイズを回路によって除去する場合、スミアノイズの大きさを推定 するために、撮像素子に入射された光量を推定する必要がある力 この入射光量の 推定は、撮像素子力も出力された信号をもとに行うことになる。したがって、スミアノィ ズの推定精度を考えた場合、推定に使用する信号には、ノイズを含んでいないほうが よい。
[0011] し力しながら、前述したとおり撮像素子から出力された信号には、スミアノイズ以外 にも様々なノイズを含んでいる。なかでも、固定パターンノイズは、その原因となる暗 電流が高い温度依存性を持っており、撮像素子の温度が 7度上昇すると、固体バタ ーンノイズの大きさが 2倍になる。また、固定パターンノイズは露光時間に比例して増 大する。したがって、撮像素子力も出力される信号は、撮像素子の温度や露光時間 に応じて固定パターンノイズが大きく変化するため、特開 2004— 172925号公報に 記載された装置では、スミアノイズを推定するときに、この固定パターンノイズの影響 を大きく受け、スミアノイズの除去精度が悪くなる、といった問題があった。
[0012] この発明は、上記のような課題を解決するためになされたものであり、撮像素子から 出力された信号に含まれる複数のノイズ成分を、それぞれ精度よく除去することが可 能なノイズ除去装置を提供することを目的とする。
課題を解決するための手段
[0013] (第 1の手段)
第 1の手段における本発明のある態様は、ノイズ除去装置に関する。この装置は、 光を遮断した状態で撮像素子によって撮像された第 1の画像信号に対し、前記撮像 素子を構成する一部もしくは全部の画素の前記第 1の画像信号の大きさの分布を求 め、この分布力も前記第 1の画像信号の取る大きさのピークを含む範囲を特定し、こ の範囲の中で閾値を設定するノイズ分布分析部と、光を遮断した状態で前記撮像素 子によって撮像された第 2の画像信号に対し、前記閾値を基に量子化を行う量子化 部と、前記量子化された第 2の画像信号を逆量子化する逆量子化部と、光を入射し た状態で撮像素子にて撮像された第 3の画像信号から前記逆量子化された第 2の画 像信号を減算する減算部と、を具備する。ここで、「光を遮断した状態」は、撮像素子 の前面に設けられたシャッターを閉じる等して、撮像素子に光が届かないようにした 状態を指し、完全に遮断されずに漏れた光が撮像素子に入射されるような「実質的 に光を遮断した状態」をも含む。
[0014] 光を遮断した状態で撮像された第 1及び第 2の画像信号は、そのほとんどが撮像素 子の暗電流によるノイズ成分である。したがって、この態様によれば、このノイズ成分 を量子化することによりノイズ成分の情報量を削減することができ、ノイズ成分を記憶 させるのに必要なメモリの容量を小さくすることができるとともに、量子化を行う際、ノィ ズ成分の大きさの分布を求め、その分布力 ノイズ成分の大きさが集中している範囲 を特定し、その範囲内において量子化圧縮を行うため、高周波成分が多いノイズの 特性を保ちつつノイズ成分を高圧縮で記憶させておくことが可能である。
[0015] この態様において、前記第 1の画像信号と前記第 2の画像信号は、異なる時刻に撮 像されたものであってもよい。これによれば、異なる時刻において撮像された 2つの画 像信号を使用して、量子化閾値の設定と量子化を行うので、撮像した画像信号を一 時的に記憶しておく必要がなぐその分だけメモリ容量を削減することができる。
[0016] この態様において、前記第 1の画像信号と前記第 2の画像信号は、同じ画像信号 であり、前記ノイズ分布分析部は、前記第 1の画像信号を複数の領域に分割し、この 分割した領域毎に前記第 1の画像信号の大きさの分布を求め、この分布から前記第 1の画像信号の取る大きさのピークを含む範囲を特定し、この範囲の中で閾値を設 定してもよい。これによれば、撮像された画像信号であるノイズ成分を記憶するため に、光を遮断した状態で画像信号を撮像する回数が 1回で済むため、暗電流ノイズ 成分の量子化が簡単かつ短時間に行うことが可能である。
[0017] この態様において、前記第 1の画像信号及び前記第 2の画像信号を低周波成分と 高周波成分とに分割する帯域分離部を更に備え、前記高周波成分に対して前記ノィ ズ分布分析部、前記量子化部及び前記逆量子化部を備えるとともに、前記低周波成 分と前記逆量子化部で逆量子化された前記高周波成分とを加算した上で、これを前 記減算部に入力してもよい。ノイズ成分は画素ごとに異なるため高周波成分が支配 的であるが、デバイスの特性や電源によっては取得したノイズ情報に低周波成分が 混入する場合がある。このような場合に、暗電流ノイズを低周波数成分と高周波数成 分を分け、この高周波成分に対して本発明の圧縮処理を行うことで、より精度よくノィ ズ成分を復元することが可能である。
[0018] また、前記低周波成分を前記高周波成分とは独立した方法で圧縮する圧縮部と、 前記圧縮された低周波成分を伸張する伸張部と、を更に備え、前記伸張された低周 波成分と前記逆量子化部で逆量子化された前記高周波成分を加算した上で、これ を前記減算部に入力してもよい。これによれば、低周波成分と高周波成分とで独立し た方法で圧縮することにより、それぞれの成分の特性にあった方法で圧縮できるので 、より精度よくノイズ成分を復元することが可能である。
[0019] 第 2の手段における本発明の別の態様は、ノイズ除去方法に関する。この方法は、 光を遮断した状態で撮像素子によって撮像された画像信号に関して暗電流ノイズ成 分の大きさの分布を求めるステップと、暗電流ノイズ成分の大きさのピークを含む範 囲を特定するステップと、範囲の中で量子化のための閾値を設定するステップと、暗 電流ノイズ成分を閾値に基づ ヽて量子化するステップと、量子化された暗電流ノイズ 成分を逆量子化するステップと、実際に被写体を撮像したときの画像信号から、逆量 子化された暗電流ノイズ成分を減算するステップと、を備える。
[0020] この方法によれば、暗電流ノイズ成分を量子化することにより暗電流ノイズ成分の情 報量を削減することができ、暗電流ノイズ成分を記憶させるのに必要なメモリの容量 を小さくすることができる。また、量子化を行う際、暗電流ノイズ成分の大きさの分布を 求め、その分布から暗電流ノイズ成分の大きさが集中している範囲を特定し、その範 囲内において量子化圧縮を行うため、高周波成分が多い暗電流ノイズの特性を保ち つつ暗電流ノイズ成分を高圧縮で記憶させておくことが可能である。
[0021] (第 2の手段)
第 2の手段における本発明のある態様は、ノイズ除去装置に関する。この装置は、 光を遮断した状態で撮像素子によって得られた第 1の画像信号を圧縮する圧縮部と 、前記圧縮された第 1の画像信号を伸張する伸張部と、前記圧縮部によって圧縮さ れる前の第 1の画像信号の状態と、光を入射した状態で撮像素子によって得られた 第 2の画像信号の状態との比較に基づいて、前記伸張された第 1の画像信号から前 記第 2の画像信号に含まれるノイズ成分を予測するノイズ成分予測部と、前記第 2の 画像信号から、前記予測されたノイズ成分を減算する減算部と、を備える。
[0022] ここで、「光を遮断した状態」は、撮像素子の前面に設けられたシャッターを閉じる 等して、撮像素子に光が届力ないようにした状態を指し、完全に遮断されずに漏れた 光が撮像素子に入射されるような「実質的に光を遮断した状態」をも含む。また、この 第 1の画像信号が、これを撮像したときの暗電流に起因するノイズ成分とほぼ等しい [0023] この態様によれば、予め撮像した第 1の画像信号の状態と、第 2の画像信号の状態 とを比較することにより、第 1の画像信号を撮像した条件によって得られる画像信号の 大きさと、第 2の画像信号を撮像した条件によって得られる画像信号の大きさとの関 係を判断することができるので、この関係に基づいて第 1の画像信号から、第 2の画 像信号に含まれるノイズ成分を予測することができる。したがって、第 2の画像力もこ の予測されたノイズ成分を減算することにより、ノイズ成分を精度良く除去することが 可能となる。
[0024] この態様において、前記第 1の画像信号の状態は、前記圧縮される前の第 1の画 像信号に含まれる遮光領域力 出力された信号の大きさであり、前記第 2の画像信 号の状態は、この第 2の画像信号に含まれる遮光領域力 出力された信号の大きさ であってもよい。また、前記ノイズ成分予測部は、前記第 2の画像信号に含まれる遮 光領域力 出力された信号の大きさと、前記圧縮される前の第 1の画像信号に含ま れる遮光領域から出力された信号の大きさとの比率を求め、前記伸張された第 1の画 像信号に対して前記比率を乗ずることによって、前記第 2の画像信号に含まれるノィ ズ成分を予測してもよい。
[0025] 第 2の画像信号に含まれる光が入射されない領域から出力された信号は、第 2の画 像信号を撮像した条件にぉ 、て発生した暗電流に起因するノイズ成分とほぼ等し 、 。また、第 1の画像信号に含まれる光が入射されない領域から出力された信号は、第 1の画像信号を撮像した条件で発生した暗電流に起因するノイズ成分とほぼ等しい。 したがって、これらの信号の大きさとの比率を求め、この比率を第 1の画像信号に対 して乗ずることにより、第 2の画像信号に含まれるノイズ成分を予測することができる ので、第 2の画像カゝらこの予測されたノイズ成分を減算することにより、ノイズ成分を精 度良く除去することが可能となる。
[0026] この態様において、前記第 2の画像信号に含まれるノイズ成分を予測するための前 処理を、前記圧縮された第 1の画像信号に対して行う前処理部を更に備え、前記伸 張部は、この前処理された第 1の画像信号を伸張してもよい。これによれば、第 2の画 像信号に含まれるノイズ成分を予測するための前処理を、一度圧縮された第 1の画 像信号を伸張した状態で行うのではなぐ圧縮された状態のまま行う。圧縮された画 像信号は、伸張された画像信号と比べてデータ量が小さいため、演算量を削減する ことが可能となる。
[0027] この態様にお ヽて、前記前処理部は、前記圧縮された第 1の画像信号を低周波成 分と高周波成分とに分離するものであり、前記伸張部は、前記低周波成分と高周波 成分とで個別に伸張し、前記ノイズ成分予測部は、前記伸張された高周波成分から 前記第 2の画像信号に含まれるノイズ成分の高周波成分を予測した上で、前記伸張 された低周波成分と足し合わせることによって、前記第 2の画像信号に含まれるノィ ズ成分を予測してもよ 、。一般に画像信号に含まれる暗電流ノイズは高周波成分を 多く含み、温度や露光時間といった撮像条件に大きく影響される。一方、低周波成 分は電源やデバイスの特性によるノイズが支配的で、これは温度や露光時間と ヽっ た撮像条件の影響が比較的少ない。これによれば、撮像条件の影響の少ない低周 波成分を除き、撮像条件の影響の大きい高周波成分に対して予測処理を行うため、 より正確なノイズ成分の予測が可能となる。したがって、画像に含まれるノイズ成分を 精度よく除去することができる。
[0028] この態様において、前記第 1の画像信号の状態は、前記圧縮される前の第 1の画 像信号に含まれる遮光領域力 出力された信号の高周波成分の大きさであり、前記 第 2の画像信号の状態は、この第 2の画像信号に含まれる遮光領域から出力された 信号の高周波成分の大きさであって、前記ノイズ成分予測部は、前記第 2の画像信 号に含まれる遮光領域力 出力された信号の高周波成分の大きさと、前記圧縮され る前の第 1の画像信号に含まれる遮光領域力 出力された信号の高周波成分の大き さとの比率を求め、前記伸張された第 1の画像信号の高周波成分に対して前記比率 を乗ずることにより、前記第 2の画像信号に含まれるノイズ成分の高周波成分を予測 してもよい。このように、第 1の画像信号及び第 2の画像信号それぞれに対し、光が入 射されな!/、領域に属する一部若しくは全部の画素を用いて高周波成分同士を比較 してその比率を算出し、更に第 1の画像信号の高周波成分に対して算出した比率を 乗算することにより、第 2の画像信号に含まれるノイズ成分を精度よく予測することが 可能となり、精度のよいノイズ除去を行うことが可能となる。 [0029] この態様において、前記圧縮部は、前記第 1の画像信号に対し、一部若しくは全部 の画素が持つ前記第 1の画像信号の大きさの分布を求め、この分布力 前記第 1の 画像信号の取る大きさのピークを含む範囲を特定し、この範囲の中で量子化の閾値 を設定するノイズ分布分析部と、前記第 1の画像信号に対して、前記閾値を基に量 子化を行う量子化部と、を備えてもよい。これによれば、第 1の画像信号を記憶する 際、第 1の画像信号が取る大きさのピークを含む範囲内で量子化圧縮を行うため、高 周波成分が多いというノイズの特性を保ちつつ第 1の画像信号を圧縮して記憶させる ことが可能である。
[0030] (第 3の手段)
第 3の手段における本発明のある態様は、ノイズ除去装置に関する。この装置は、 撮像素子から出力された画像信号から、撮像素子の暗電流に起因する固定パター ンノイズを除去する固定パターンノイズ除去部と、前記固定パターンノイズが除去され た画像信号から、入射光に起因するスミアノイズを除去するスミアノイズ除去部と、を 備える。
[0031] この態様によれば、温度依存性を持ち、露光時間に比例して増大する固定パター ンノイズ力 スミアノイズを除去する前に画像信号から取り除かれる。したがって、この 固定パターンノイズが除去された画像信号を用いてスミアノイズを推定でき、精度よく スミアノイズを除去することが可能である。
[0032] この態様において、固定パターンノイズ除去部として、上述の第 1の手段または第 2 の手段に記載したノイズ除去装置を利用してもよい。この態様によれば、効果的に固 定パターンノイズを除去することができる。
[0033] この態様において、スミアノイズ除去部は、固定パターンノイズが除去された画像信 号から、撮像素子の各受光ビットに蓄積される情報電荷が 1行ずつ垂直方向に転送 される毎に各受光ビットから混入されるスミア電荷の量が順次累加算された値を減算 することによりスミアノイズを除去してもよい。この態様によれば、効果的にスミアノイズ を除去することができる。
[0034] この態様にぉ 、て、スミアノイズが除去された画像信号から、撮像素子の製造時の 欠陥に起因する固定欠陥ノイズを除去する固定欠陥ノイズ除去部を更に備えてもよ い。この態様〖こよれば、固定欠陥ノイズを除去する前にスミアノイズが除去されるので 、スミアノイズによって飽和した信号レベルに影響されることなぐ欠陥画素の判定を 行うことが可能である。さらに、固定欠陥ノイズを除去する際、補間画像信号を、ノィ ズレベルの大きな固定パターンノイズゃスミアノイズが除去された画像信号から生成 することができるので、より自然に固定欠陥ノイズを除去することが可能となる。
[0035] この態様において、固定欠陥ノイズ除去部は、撮像素子の画素毎に固定欠陥であ るかどうかを判定し、固定欠陥と判定した場合は、周辺の画素力 補間値を算出して その値に置換してもよい。この態様によれば、効果的に固定欠陥ノイズを除去するこ とがでさる。
[0036] この態様において、前記固定欠陥ノイズが除去された画像信号から、撮像素子の 熱的な揺らぎに起因するランダムノイズを除去するランダムノイズ除去部を更に備え てもよい。
[0037] この態様によれば、他のノイズ成分が除去され、各画素が持つ画像信号が真の値 に近い状態になった段階で、周辺画素の特徴力 推定補間する方法を用いてランダ ムノイズを除去するので、精度よくランダムノイズを除去することが可能である。
[0038] この態様において、画像信号に含まれるオフセット成分を除去するオフセット除去 部を更に備え、オフセット除去部に入力される画像信号は、固定パターンノイズ除去 部によって固定パターンノイズが除去されたものであってもよい。
[0039] この態様によれば、固定パターンノイズを除去した後にオフセット成分を算出するの で、オフセット成分の算出に固定パターンノイズの影響を受けることがなぐ精度よく オフセット成分を除去することが可能となる。
[0040] オフセット除去部は、当該オフセット除去部に入力された画像信号のうち、撮像素 子の遮光領域に属するの画素の画像信号を抽出し、この抽出した画像信号の大きさ の平均値をオフセット成分として算出するオフセット算出部と、当該オフセット除去部 に入力される画像信号からオフセット成分を減算する減算部と、を備えてもよい。この 態様によれば、効果的にオフセット成分を除去することができる。
[0041] なお、以上の構成要素の任意の組合せ、本発明の表現を方法、装置、システム、コ ンピュータプログラム、データ構造、記録媒体などの間で変換したものもまた、本発明 の態様として有効である。
発明の効果
[0042] ノイズ除去装置において、ノイズ除去性能を高めることができる。
図面の簡単な説明
[0043] [図 1]実施の形態 1に係るデジタルカメラ 100の構成図である。
[図 2]暗電流ノイズ成分の大きさの分布を表した図である。
[図 3]暗電流ノイズ成分が取る大きさのピークを含む範囲を特定し、その範囲内で量 子化の閾値及び代表値を算出することを説明するための図である。
[図 4]実施の形態 2に係るデジタルカメラ 110の構成図である。
[図 5]暗電流ノイズ成分を複数ラインに分割することを説明するための図である。
[図 6]実施の形態 3に係るデジタルカメラ 120の構成図である。
[図 7]実施の形態 4に係るデジタルカメラ 1100の構成図である。
[図 8]暗電流ノイズ成分の大きさの分布を表した図である。
[図 9]暗電流ノイズ成分が取る大きさのピークを含む範囲を特定し、その範囲内で量 子化の閾値及び代表値を算出することを説明するための図である。
[図 10]実施の形態 5に係るデジタルカメラ 2100の構成図である。
[図 11]実施の形態 5に係る固定パターンノイズ除去部 2010の構成図である。
[図 12]実施の形態 5に係るスミアノイズ除去部 2011の構成図である。
[図 13]実施の形態 5に係る固定欠陥ノイズ除去部 2012の構成図である。
[図 14]固定欠陥の判定方法を説明するための図である。
[図 15]実施の形態 6に係るデジタルカメラ 2110の構成図である。
[図 16]実施の形態 6に係るオフセット除去部 2014の構成図である。
符号の説明
[0044] 1、 7、 8、 1001 喑電流ノイズ除去装置、 2、 1002 レンズ、 3、 1003 シャツタ 一、 4、 1004、 2002 撮像素子、 5、 1005 AZD変換部、 6、 1006、 2005 記録媒体、 10、 20、 1010 ノイズ分布分析部、 12、 1012 量子化部、 14、 30 、 1014、 2020、 2051 メモリ、 16 逆量子ィ匕部、 18、 1030、 2021、 2030、 20 52 減算部、 22、 2032、 2040 ラインメモリ、 24 帯域分離部、 28 圧縮部、 32 伸張部、 34、 1028、 2031 カロ算部、 100、 110、 120、 1100、 2100、 211 0 デジタルカメラ、 1016 低周波 ·高周波分離部、 1018 第 1逆量子化部、 10 20 第 2逆量子化部、 1022 高周波抽出部、 1024 乗算係数設定部、 1026、 2034 乗算部、 2001、 2006 ノイズ除去装置、 2003 アナログフロントエンド( AFE)、 2004 画像圧縮装置、 2010 固定パターンノイズ除去部、 2011 スミ ァノイズ除去部、 2012 固定欠陥ノイズ除去部、 2013 ランダムノイズ除去部、 2014 オフセット除去部、 2033 係数発生部、 2041 固定欠陥判定部、 2042 補間値算出部、 2043 補間値置換部、 2050 オフセット算出部。
発明を実施するための最良の形態
[0045] (第 1のグループ)
(実施の形態 1)
図 1は、本発明の好適な実施の形態 1に係る暗電流ノイズ除去装置 1を具備したデ ジタルカメラ 100の構成を示した図である。この構成は、ハードウェア的には、任意の コンピュータの CPU、メモリ、その他の LSIで実現でき、ソフトウェア的にはメモリに口 ードされた符号化機能のあるプログラムなどによって実現される力 ここではそれらの 連携によって実現される機能ブロックを描いている。したがって、これらの機能ブロッ クがハードウェアのみ、ソフトウェアのみ、またはそれらの糸且合せによっていろいろな 形で実現できることは、当業者には理解されるところである。
[0046] デジタルカメラ 100は、暗電流ノイズ除去装置 1のほか、レンズ 2、シャッター 3、撮 像素子 4、 AZD変換部 5と記録媒体 6を備えている。被写体に反射された光はレン ズ 2、シャッター 3を通して撮像素子 4に入射される。撮像素子 4は、入射された光を 電気信号に変換し、それを画像信号として出力する。この撮像素子 4の一例として、 CCDや CMOSセンサなどがある。撮像素子 4から出力された画像信号は、 AZD変 換部 5にて例えば 10ビットのデジタル信号に変換された後、暗電流ノイズ除去装置 1 によって暗電流ノイズが除去されて、記録媒体 6に記録される。
[0047] 暗電流ノイズ除去装置 1は、あら力じめシャッター 3を閉じた状態で撮像素子 4によ つて撮像され、 AZD変換部 5によってデジタル信号に変換された画像信号を、喑電 流ノイズ成分として記憶しておき、実際の撮像時に撮像された画像信号からこの喑電 流ノイズ成分を差し引いて、暗電流ノイズを除去する。この暗電流ノイズ成分を記憶 する際、画像を構成する全画素の暗電流ノイズ成分の大きさの分布を求め、この分 布から暗電流ノイズ成分のピークを含む範囲を調べ、その範囲内で量子化圧縮を行 う。なお、ここで言う暗電流ノイズ成分の大きさは、 AZD変換部 5によって得られたデ ジタル信号で表される値のことである。
[0048] 暗電流ノイズ除去装置 1の構成を以下に説明する。暗電流ノイズ除去装置 1は、ノ ィズ分布分析部 10、量子化部 12、メモリ 14、逆量子化部 16、減算部 18を備えてい る。ノイズ分布分析部 10は、シャッター 3を閉じて撮像したときに得られる暗電流ノィ ズ成分において、全画素において、その取り得る値毎にそれぞれ何画素出現したか を全画素に対してカウントし、その分布を求める。
[0049] 例えば、 10画素で構成される画像の暗電流ノイズ成分が、各画素毎に以下の値を 持っていたとする。
[0050] { 1, 3, 2, 5, 3, 3, 4, 5, 3, 2}
暗電流ノイズ成分が 0〜7の値を持つことができる場合、ノイズ分布分析部 10は、そ れぞれの値の出現画素数を次のように求める。
[0051] 値 0:0画素、値 1 : 1画素、値 2 : 2画素、値 3 :4画素、値 4: 1画素、
値 5: 2画素、値 6: 0画素、値 7: 0画素。
[0052] 実際に撮像素子 4から得られる画像の画素数は数十万力も数百万画素である。ま た、暗電流ノイズ成分が取り得る値は、 AZD変換部 5の分解能によって決まる。例え ば、 AZD変換部 5が 10ビットの分解能を持っていた場合、暗電流ノイズ成分が取り 得る値は。〜 1023である。この場合、ノイズ分布分析部 10は、撮像素子 4によって得 られた全画素の暗電流ノイズ成分に対して、その取り得る値 0〜1023それぞれの出 現画素数を求めることになる。その結果、図 2のような分布を得ることができる。
[0053] ノイズ分布分析部 10は、暗電流ノイズ成分の分布を求めた後、図 3に示すように暗 電流ノイズ成分が集中している範囲 A〜Bを特定する。例えば、この範囲の下限 Aは 、分布を求めるときに使用した画素の数を Xとしたとき、画素値の小さいほうから数え て xZ512画素目の画素力もつ暗電流ノイズ成分の値とする。また、上限 Bは、画素 値の大きいほうから数えて xZ512画素目の画素がもつ暗電流ノイズ成分の値とする 。なお、この除数は 512に限らず任意の値であってよい。また、下限 Aと上限 Bで異な る除数を用いてもよい。さらに、除数を可変として外部より設定できるようにしてもよい
[0054] また、この範囲の下限 Aと上限 Bを求める別の方法として、暗電流ノイズ成分の分布 がピークの位置を特定し、下限 Aからこのピークまでに存在する画素の数と、上限 B 力 このピークまでに存在する画素の数力 ある一定の画素数となるように下限 Aと上 限 Bを定めてもよい。
[0055] ノイズ分布分析部 10は、範囲 A〜Bを特定した上で、この範囲内に閾値を設けて量 子化圧縮するように、量子化の閾値と代表値を算出する。例えば、図 3のように喑電 流ノイズ成分を N段階に量子化する場合を考える。そして、暗電流ノイズ成分の値の ゼロの方から、量子化レべノレ 0、量子化レべノレ 1、量子化レべノレ 2とし、喑電流ノイズ 成分の値が一番大きい箇所を量子化レベル (N—1)とする。また、これらをまとめて 量子化レベル n (n=0、 1、 2、 · · ·、 N— 1)と表記する。ノイズ分布分析部 10は、量子 化レベル nと量子化レベル(n+ 1)との間の閾値 THn及び量子化レベル nの代表値 Vnを以下の式によって求める。これらの値を量子化部 12へ送る。
[0056] THn=DA+ (2n+ l) · (DB-DA) / (2- (N—l) ) · · · (1)
Vn=DA+ 2n- (DB-DA) / (2- (N—l) ) · · · (2)
ここで、 DA、 DBは下限 A及び上限 Bにおける暗電流ノイズ成分の値を表す。これら の値のうち、閾値 THnは量子化部 12に送られる一方、代表値 Vnは逆量子化部 16 に送られる。
[0057] 量子化部 12は、シャッター 3を閉じて撮像したときに得られる暗電流ノイズ成分に対 して、ノイズ分布分析部 10で求められた量子化の閾値を参照しながら量子化を行う。 例えば、暗電流ノイズ成分の大きさを aとした時、式(1)によって求められた閾値 THn を参照しながら以下に説明する方法によって量子化を行い、量子化後データ OCを得 る。
[0058] もし、暗電流ノイズ成分 aが閾値 THO未満であった場合、量子化データ αは 0とす る。また、暗電流ノイズ成分 aが閾値 ΤΗ (Ν— 2)以上であった場合、量子化データ α は (N—l)とする。そして、暗電流ノイズ成分 aが閾値 TH (n—l)以上 THn未満であ つた場合、量子化データひは nとする。なお、ノイズ分布分析部 10と量子化部 12が、 本発明の「ノイズ成分の量子化を行う手段」の一例である。
[0059] この方法により、量子化部 12で量子化されたデータ αは、メモリ 14に記憶される。
この際、メモリ 14に必要な容量は、暗電流ノイズ成分を量子化しな力つた場合と比較 して少なくてよい。例えば、 Νを 16とした場合、量子化データ aは 0〜15の値を取る。 すなわち、 1画素がもともと 10ビットで表されていた暗電流ノイズ成分は、量子化後に 4ビットで表現することが可能である。したがって、仮にメモリに 100万画素の暗電流ノ ィズ成分をメモリ 14に記憶する場合、量子化しなカゝつた場合は、 1000万ビットの容 量が必要であるのに対し、量子化した場合は 400万ビットあればよい。
[0060] 逆量子化部 16は、実際の撮像時にシャッター 3が開いた状態で撮像された画像信 号が AZD変換部 5から出力されるタイミングに合わせて、メモリ 14から量子化された 暗電流ノイズ成分を読み出し、ノイズ分布分析部 10から入力された代表値を参照し ながら逆量子化して復号する。逆量子化方法は、メモリ 14から読み出した量子化デ ータ aをそのまま量子化レベル nに読み替えて(すなわち n= a )、この量子化レベル nに対応する代表値 Vnを減算部 18に出力する。減算部 18は、実際の撮像時に撮 像された画像信号力ゝら逆量子化部 16にて逆量子化された暗電流ノイズ成分を差し 引く。
[0061] 斯カる構成に基づき、図 1に示したデジタルカメラの動作を説明する。まず、シャツ ター 3を閉じた状態で撮像素子 4は画像を撮像する。この時、撮像素子 4には光が入 射され
て!、な 、ため、撮像素子 4から出力される信号は暗電流ノイズ成分である。
[0062] この暗電流ノイズ成分は AZD変換部 5にてデジタル信号に変換された後、ノイズ 分布分析部 10に入力される。ノイズ分布分析部 10では、全画素の暗電流ノイズ成分 力 その大きさの分布を求め、この分布から暗電流ノイズ成分のピークを含む範囲を 調べて、その範囲内で量子化の閾値 THnと代表値 Vnを算出しておく。
[0063] 次に、再度シャッター 3を閉じた状態で撮像素子 4にて暗電流ノイズ成分を撮像す る。この暗電流ノイズ成分は AZD変換部 5でデジタル信号に変換された後、今度は 量子化部 12に入力される。量子化部 12は、ノイズ分布分析部 10によって求められ た閾値を基に、暗電流ノイズ成分を量子化し、メモリ 14はこの量子化された暗電流ノ ィズ成分を記憶する。
[0064] 以上までの動作が、実際に被写体を撮像する前の段階までの動作である。ここまで の動作、すなわち、メモリ 14に量子化された暗電流ノイズ成分を記憶させるのは、毎 回の撮像時に行ってもよいし、デジタルカメラの電源投入時に行ってもよい。毎回の 撮像時に行う場合には、図示しない撮像時検出部を設け、撮像時を検出したら喑電 流ノイズ除去装置 1に暗電流ノイズ成分を量子化して記憶するよう指示する構成とす ればよい。暗電流ノイズは、撮像素子周辺の温度環境に影響されやすいため、撮像 直前に記憶する場合に最も精度よく暗電流ノイズ成分の値を取得することができる。 電源投入時に行う場合には、図示しない電源投入時検出部を設け、電源投入を検 知したら暗電流ノイズ除去装置 1に暗電流ノイズ成分を量子化して記憶するように指 示する構成とすればよい。
[0065] また、メモリ 14に量子化された暗電流ノイズ成分を記憶させるのは、デジタルカメラ の製造時に行っておいてもよい。また、デジタルカメラに図示しないタイマーを設け、 一定期間ごとに暗電流ノイズ除去装置 1に暗電流ノイズ成分を量子化して記憶するよ うに指示する構成にしてもょ 、。
[0066] 次に、実際に被写体を撮像する場合の動作について説明する。今度はシャッター 3 を開 ヽた状態で撮像素子 4にて画像を撮像する。撮像素子 4から出力された画像信 号は、 AZD変換部 5でデジタル信号に変換されたあと、減算部 18に送られる。一方 、逆量子化部 16は、 AZD変換部 5から画像信号が出力されるタイミングに合わせて 、メモリ 14に記憶された量子化された暗電流ノイズ成分を読み出すとともに、ノイズ分 布分析部 10で算出された代表値を参照しながら、暗電流ノイズ成分を逆量子化する 。この逆量子化された暗電流ノイズ成分は減算部 18に入力され、減算部 18によって 画像信号力ゝら逆量子化された暗電流ノイズ成分を差し引く。これにより、画像信号か ら喑電流ノイズ成分を除去することができる。そして、暗電流ノイズ成分が除去された 画像信号が記録媒体 6に記録される。
[0067] 以上、本発明に好適な実施の形態 1によれば、以下の作用効果を有する。
[0068] (1)暗電流ノイズ成分を量子化することにより暗電流ノイズ成分の情報量を大幅に 削減することができ、暗電流ノイズ成分を記憶させるのに必要なメモリの容量を小さく することができる。
[0069] (2)量子化を行う際、暗電流ノイズ成分の大きさの分布を求め、その分布力 喑電 流ノイズ成分の取る大きさのピークを含む範囲を特定し、その範囲内において量子 化圧縮を行うため、高周波成分が多いノイズの特性を保ちながら暗電流ノイズ成分を 圧縮することが可能である。
[0070] (3)従来例のように暗電流ノイズ成分をブロックに分割し直交変換した上で量子化 した場合、ブロック毎に量子化のパラメータが異なるため、これを逆量子化したときに 、ブロック境界上にノイズが発生する。これに対し、本実施の形態では、暗電流ノイズ 成分全体にわたって同じ閾値を用いて量子化を行うため、量子化した暗電流ノイズ 成分を逆量子化した場合に、上記のようなノイズは発生しな 、。
[0071] (4)異なる時刻において撮像された 2つの暗電流ノイズ成分を使用して、量子化閾 値の設定と量子化を行うので、撮像した暗電流ノイズ成分を一時的に記憶しておく必 要がなぐメモリ容量を削減することができる。つまり、最初に取得した暗電流ノイズ成 分を用いて量子化閾値の設定を行うが、その量子化閾値設定の瞬間だけ暗電流ノィ ズ成分を保持していればよぐその後は暗電流ノイズ成分のデータを消去してもよい 。また、次に取得した暗電流ノイズ成分を用いて量子化を行うが、その量子化の瞬間 だけ暗電流ノイズ成分を保持して ヽればよく、その後は暗電流ノイズ成分のデータを 消去してもよい。量子化閾値設定処理と量子化処理との間に暗電流ノイズ成分を保 持しておく必要がなくなるので、メモリ容量を削減することができる。
[0072] (実施の形態 2)
図 4は、本発明の好適な実施の形態 2に係る暗電流ノイズ除去装置 7を具備したデ ジタルカメラ 110の構成を示した図である。このデジタルカメラ 110は、実施の形態 1 に係るデジタルカメラ 100のノイズ分布分析部 10とは機能の異なるノイズ分布分析部 20を配置し、さらにラインメモリ 22を付加した構成である。実施の形態 1と同じ構成に ついては同符号を付し、説明を省略する。
[0073] 実施の形態 2におけるノイズ分布分析部 20が、実施の形態 1におけるノイズ分布分 析部 10と異なる点は、暗電流ノイズ成分の大きさの分布を全画素にわたって行うの ではなぐ暗電流ノイズ成分を図 5のように複数ライン毎の領域に分割し、その分割さ れた範囲内で暗電流ノイズ成分の大きさの分布を求め、量子化の閾値と代表値を算 出する点にある。また、ノイズ分布分析部 20は、量子化の閾値及び代表値を算出し た複数ラインの暗電流ノイズ成分を、ラインメモリ 22に記憶させておく。
[0074] 斯カる構成に基づき、図 4に示したデジタルカメラの動作を説明する。まず、シャツ ター 3を閉じた状態で撮像素子 4は暗電流ノイズ成分を撮像する。この暗電流ノイズ 成分は AZD変換部 5にてデジタル信号に変換された後、ノイズ分布分析部 20に入 力される。ノイズ分布分析部 20は、最初の複数ラインに在る画素の暗電流ノイズ成分 から、その大きさの分布を求め、この分布に基づき量子化の閾値と代表値を算出して おく。また、ノイズ分布分析部 20は、分布を求め、量子化の閾値と代表値を算出した 複数ラインの暗電流ノイズ成分をラインメモリ 22に記憶させる。
[0075] 次に、量子化部 12は、ラインメモリ 22に記憶された暗電流ノイズ成分を読み出し、 ノイズ分布分析部 20によって算出された閾値を参照しながら量子化を行って、この 量子化された暗電流ノイズ成分をメモリ 14に記憶する。この時、ノイズ分布分析部 20 は、次の複数ラインに存在する画素に対して暗電流ノイズ成分の大きさの分布を求 め、この分布から量子化の閾値と代表値を算出しておくとともに、この複数ラインの暗 電流ノイズ成分をラインメモリ 22に上書きする。以後、ノイズ分布分析部 20と量子化 部 12、及びラインメモリ 22が複数ライン毎に上記動作を繰り返すことにより、暗電流ノ ィズ成分の全画素に対して、量子化圧縮を行ったうえで、メモリ 14に量子化された暗 電流ノイズ成分を記憶させておくことが可能である。
[0076] 以上までの動作が、実際に被写体を撮像する前の段階までの動作である。実際に 被写体を撮像する場合の動作にっ 、ては、実施の形態 1に記載した動作と同一であ るので省略する。
[0077] 以上、本実施の形態 2によれば、高周波成分の多い特性を保ちつつ、暗電流ノィ ズ成分を高圧縮して記憶させるという作用効果に加えて、以下の作用効果を享受す ることができる。すなわち、本実施の形態 2では、暗電流ノイズ成分を複数の領域に 分け、領域毎に暗電流ノイズ成分の大きさの分布を求め、量子化の閾値と代表値を 算出するとともに、この閾値と代表値を算出した領域の暗電流ノイズ成分をラインメモ リにー且格納し、このラインメモリに格納された暗電流ノイズ成分に対して量子化を行 うので、暗電流ノイズ成分を撮像する回数が 1回で済み、暗電流ノイズ成分の量子化 が簡単かつ短時間に行うことが可能である。
[0078] (実施の形態 3)
図 6は、本発明の好適な実施の形態 3に係る暗電流ノイズ除去装置 8を具備したデ ジタルカメラ 120の構成を示した図である。このデジタルカメラ 120は、実施の形態 1 に係るデジタルカメラ 100に帯域分離部 24、圧縮部 28、メモリ 30、伸張部 32及び加 算部 34を付加した構成である。実施の形態 1と同じ構成については同符号を付し、 説明を省略する。
[0079] 帯域分離部 24は、暗電流ノイズ成分を低周波成分と高周波成分とに分離する。圧 縮部 28は、帯域分離部 24で分離された低周波成分に対して圧縮処理を行う。圧縮 方法としては、圧縮対象の画素と隣接する画素とで低周波成分同士の差分を取る方 法や、所定の量子化係数で低周波成分を除算して量子化する方法などがある。もし くは、所定の画素間隔で低周波成分を抽出し、それ以外の画素の低周波成分を破 棄してもよぐこれらの方法の組み合わせであってもよい。メモリ 30は、圧縮部 28で圧 縮された低周波成分を記憶する。
[0080] 伸張部 32は、メモリ 30に記憶された圧縮された低周波成分を読み出し、伸張処理 を行う。例えば、低周波成分が圧縮部 28にて圧縮対象の隣接する画素と低周波成 分同士の差分を取る方法によって圧縮された場合、メモリ 30に記憶された値と隣接 する画素の低周波成分を加算することにより伸張処理を行う。また、所定の量子化係 数で除算して量子化する方法によって圧縮された場合は、メモリ 30に記憶された値 に量子化係数を乗算することにより伸張処理を行う。また、所定の画素間隔で低周波 成分を抽出し、それ以外の画素の低周波成分を破棄する方法によって圧縮された場 合は、メモリ 30に記憶された画素の低周波成分をフィルタ処理することにより、すべて の画素の低周波成分を求めて、伸張処理を行う。
[0081] なお、ノイズ分布分析部 10、量子化部 12、メモリ 14及び逆量子化部 16は、実施の 形態 1に係るデジタルカメラに具備されたものと同じ機能を有するが、これらは帯域分 離部 24にて分離された暗電流ノイズの高周波成分に対して働く。 [0082] 加算部 34は、伸張部 32にて伸張された暗電流ノイズの低周波成分と、逆量子化 部 16で逆量子化された暗電流ノイズの高周波成分を加算して、暗電流ノイズを復号 する。
[0083] 斯カる構成に基づき、図 6に示したデジタルカメラの動作を説明する。まず、シャツ ター 3を閉じた状態で撮像された暗電流ノイズ成分は、 AZD変換部 5でデジタル信 号に変換された後、帯域分離部 24にて低周波成分と高周波成分とに分離される。そ して、ノイズ分布分析部 10は、全画素にわたって高周波成分の大きさの分布を求め 、この分布に基づき高周波成分に対する量子化の閾値と代表値を算出する。
[0084] 次に、再びシャッター 3を閉じた状態で撮像素子 4にて暗電流ノイズ成分が撮像さ れ、 AZD変換部 5でデジタル信号に変換された後、帯域分離部 24にて低周波成分 と高周波成分とに分離される。そして、低周波成分は圧縮部 28で圧縮され、メモリ 30 にこの圧縮された低周波成分が記憶される。また、高周波成分は量子化部 12に入 力され、ノイズ分布分析部 10によって求められた閾値を基に量子化されて、メモリ 14 にこの量子化された高周波成分が記憶される。
[0085] 以上までの動作が、実際に被写体を撮像する前の段階までの動作である。次に、 実際に被写体を撮像する場合の動作について説明する。今度はシャッター 3を開い た状態で撮像素子 4にて画像を撮像する。撮像素子 4から出力された画像信号は、 AZD変換部 5でデジタル信号に変換されたあと、減算部 18に送られる。一方、伸張 部 32は、 AZD変換部 5から画像信号が出力されるタイミングに合わせて、メモリ 30 に記憶された量子化された暗電流ノイズの低周波成分を読み出すとともに、暗電流ノ ィズの低周波成分を伸張する。
[0086] 同様に、逆量子化部 16は、 AZD変換部 5から画像信号が出力されるタイミング〖こ 合わせて、メモリ 14に記憶された量子化された暗電流ノイズの高周波成分を読み出 すとともに、ノイズ分布分析部 10で算出された代表値を参照しながら、暗電流ノイズ の高周波成分を逆量子化する。そして、これら逆量子化された低周波成分及び高周 波成分を加算部 34で加算することにより暗電流ノイズ成分を復号する。そして、この 暗電流ノイズ成分が減算部 18に入力され、減算部 18によって画像信号力 逆量子 ィ匕された暗電流ノイズ成分を差し引くことにより、画像信号から暗電流ノイズ成分を除 去する。
[0087] 暗電流ノイズ自身は画素ごとに異なるため高周波成分が支配的であり、デバイスの 特性や電源によっては取得したノイズ情報に低周波成分が混入する場合がある。本 実施の形態 3によれば、以下の作用効果を享受することができる。
[0088] (1)暗電流ノイズを低周波成分と高周波成分とに分離し、暗電流ノイズにおいて支 配的な高周波成分に対して、その大きさの分布を求め、その分布から暗電流ノイズの 高周波成分の取る大きさのピークを含む範囲を特定し、その範囲内において量子化 圧縮を行うことにより、より精度よく暗電流ノイズを復元することが可能である。
[0089] (2)低周波成分及び高周波成分それぞれに対して独立した圧縮方法を適用する ので、それぞれの成分の特性に合わせて圧縮することができ、より精度よく暗電流ノ ィズを復元することが可能である。
[0090] 以上、本発明を実施の形態 1〜3をもとに説明した。実施の形態は例示であり、それ らの各構成要素や各処理プロセスの組合せに 、ろ 、ろな変形が可能なこと、またそう した変形も本発明の範囲にあることは当業者に理解されるところである。そのような変 形例を以下に示す。
[0091] 上記の実施の形態では、デジタルカメラの例を示した力 それに限らず、撮像素子 を備えたものであれば、本発明の実施の形態に係る暗電流ノイズ除去装置を備える ことができる。
[0092] 上記の実施の形態 2では、ラインメモリを設けて暗電流ノイズ成分を複数の領域に 分割し、この分割した範囲で量子化の閾値を決定し、量子化を行う例を示したが、こ れに上記実施の形態 1に記載したように、異なる時間に撮像した 2つの暗電流ノイズ 成分のうち、一方の暗電流ノイズ成分から量子化の閾値を決定し、もう一方の暗電流 ノイズ成分に対して量子化を施す処理を加えてもよぐどちらの量子化方法を使用す るかを選択可能にしてもよい。
[0093] これらの量子化方法を選択可能とすることにより、暗電流ノイズ除去装置を搭載す るシステムの性能や、撮影する画像の画素数、もしくは使用者が設定した撮影モード などに応じて、最適な量子化方法を選ぶことが可能となる。
[0094] 上記実施の形態 3において、ラインメモリを上記実施の形態 2のようにノイズ分布分 析部 10と量子化部 12との間に付加し、これらのラインメモリにノイズ分布分析部 10及 び 26にて使用された複数ラインの低周波成分及び高周波成分を記憶させてもよい。 これにより、上記実施の形態 3においても、暗電流ノイズ成分を複数ラインに分割し、 この分割された範囲で暗電流ノイズ成分の量子化閾値の設定及び量子化を行うこと ができ、したがって上記実施の形態 2と同様の作用効果を享受することができる。
[0095] (第 2のグループ)
(実施の形態 4)
図 7は、本発明の好適な実施の形態 4に係る暗電流ノイズ除去装置 1001を具備し たデジタルカメラ 1100の構成を示した図である。この構成は、ハードウェア的には、 任意のコンピュータの CPU、メモリ、その他の LSIで実現でき、ソフトウェア的にはメ モリにロードされた符号化機能のあるプログラムなどによって実現される力 ここでは それらの連携によって実現される機能ブロックを描いている。したがって、これらの機 能ブロックがハードウェアのみ、ソフトウェアのみ、またはそれらの組合せによってい ろいろな形で実現できることは、当業者には理解されるところである。
[0096] デジタルカメラ 1100は、喑電流ノイズ除去装置 1001のほ力、レンズ 1002、シャツ ター 1003、撮像素子 1004、 AZD変換部 1005と記録媒体 1006を備えている。被 写体に反射された光はレンズ 1002、シャッター 1003を通して撮像素子 1004に入 射される。撮像素子 1004は、入射された光を電気信号に変換し、それを画像信号と して出力する。この撮像素子 1004の一例として、 CCDや CMOSセンサなどがある。 撮像素子 1004から出力された画像信号は、 AZD変換部 1005にて例えば 10ビット のデジタル信号に変換される。このデジタル信号で表される値が、本発明の「画像信 号の大きさ」に相当する。また、デジタル信号に変換された画像信号を低周波成分と 高周波成分とに分離された場合、デジタル信号で表されるそれぞれの成分の値も「 画像信号の大きさ」に含まれる。
[0097] AZD変換部にてデジタル信号に変換された画像信号は、暗電流ノイズ除去装置 1001によって暗電流ノイズが除去されて、記録媒体 1006に記録される。
[0098] 暗電流ノイズ除去装置 1001は、あら力じめシャッター 1003を閉じた状態で撮像素 子 1004によって撮像され、 A/D変換部 1005によってデジタル信号に変換された 画像信号を、暗電流ノイズ成分として記憶しておき、実際の撮像時に撮像された画像 信号力 この暗電流ノイズ成分を差し引いて、暗電流ノイズを除去する。この暗電流 ノイズ成分を記憶する際、画像を構成する全画素の暗電流ノイズ成分の大きさの分 布を求め、この分布から暗電流ノイズ成分のピークを含む範囲を調べ、その範囲内 で量子化圧縮を行う。なお、ここで言う暗電流ノイズ成分の大きさは、 AZD変換部 1 005によって得られたデジタル信号で表される値のことである。
[0099] また、暗電流ノイズ除去装置 1001は、暗電流ノイズ成分を画像信号から差し引く際 に、予め暗電流ノイズ成分を撮像した時の状態と、画像信号を撮像したときの状態と を比較し、この比較に基づいて予め撮像した暗電流ノイズ成分から、画像信号に含 まれる暗電流ノイズ成分を予測する。例えば、撮像素子 1004には常に光の入射され ない領域が存在するため、その領域から出力される画像信号は、その画素における 暗電流ノイズ成分と見なすことが出来る。そこで、光を入射した状態で撮像した画像 信号のうち、常に光の入射されない領域 (遮光領域)に属する画素から出力された画 像信号と、予め撮像した暗電流ノイズ成分のうち、同じ画素から出力された暗電流ノ ィズ成分との比率を求め、この比率を予め撮像した暗電流ノイズ成分全体に乗ずるこ とにより、画像信号に含まれる暗電流ノイズ成分を精度良く予測している。
[0100] 更に暗電流ノイズ除去装置 1001は、予め撮像した暗電流ノイズ及び遮光領域から 出力された画像信号を低周波成分と高周波成分とに分離し、これらの高周波成分同 士を比較して、予め撮像した暗電流高周波成分を用いて、前述の予測を行うようにし ている。これは、暗電流ノイズが各画素毎にばらついて発生するため高周波成分を 多く含み、かつ場所による影響を受けないものである一方、低周波成分には電源や デバイスの特性など場所による影響を受けるノイズが支配的となるため、低周波成分 を含めて予測処理を行うと、正しく暗電流ノイズを予測することができな 、ためである
[0101] 暗電流ノイズ除去装置 1001の構成を以下に説明する。暗電流ノイズ除去装置 10 01は、ノイズ分布分析部 1010、量子化部 1012、メモリ 1014、第 1逆量子化部 101 8、第 2逆量子化部 1020、高周波抽出部 1022、乗算係数設定部 1024、乗算部 10 26、加算部 1028及び減算部 1030を備えている。ノイズ分布分析部 1010は、シャツ ター 1003を閉じて撮像したときに得られる暗電流ノイズ成分について、その取り得る 値毎にそれぞれ何画素出現したかを全画素に対してカウントし、その分布を求める。
[0102] 例えば、 10画素で構成される画像の暗電流ノイズ成分が、各画素毎に以下の値を 持っていたとする。
[0103] { 1, 3, 2, 5, 3, 3, 4, 5, 3, 2}
暗電流ノイズ成分が 0〜7の値を持つことができる場合、ノイズ分布分析部 1010は、 それぞれの値の出現画素数を次のように求める。
[0104] 値 0 : 0画素、値 1 : 1画素、値 2 : 2画素、値 3 :4画素、値 4 : 1画素、
値 5: 2画素、値 6: 0画素、値 7: 0画素。
[0105] 実際に撮像素子 1004から得られる画像の画素数は数十万力も数百万画素である 。また、暗電流ノイズ成分が取り得る値は、 AZD変換部 1005の分解能によって決ま る。例えば、 AZD変換部 1005が 10ビットの分解能を持っていた場合、暗電流ノイズ 成分が取り得る値は 0〜1023である。この場合、ノイズ分布分析部 1010は、撮像素 子 1004によって得られた全画素の暗電流ノイズ成分に対して、その取り得る値 0〜1 023それぞれの出現画素数を求めることになる。その結果、図 8のような分布を得るこ とがでさる。
[0106] ノイズ分布分析部 1010は、暗電流ノイズ成分の分布を求めた後、図 9に示すよう〖こ 暗電流ノイズ成分のピークを含む範囲 A〜Bを特定する。例えば、この範囲の下限 A は、分布を求めるときに使用した画素の数を Xとしたとき、画素値の小さいほうから数 えて xZ512画素目の画素力もつ暗電流ノイズ成分の値とする。また、上限 Bは、画 素値の大きいほうから数えて xZ512画素目の画素がもつ暗電流ノイズ成分の値とす る。なお、この除数は 512に限らず任意の値であってよい。また、下限 Aと上限 Bで異 なる除数を用いてもよい。さらに、除数を可変として外部より設定できるようにしてもよ い。
[0107] また、この範囲の下限 Aと上限 Bを求める別の方法として、暗電流ノイズ成分の分布 がピークの位置を特定し、下限 Aからこのピークまでに存在する画素の数と、上限 B 力 このピークまでに存在する画素の数力 ある一定の画素数となるように下限 Aと上 限 Bを定めてもよい。 [0108] ノイズ分布分析部 1010は、範囲 A〜Bを特定した上で、この範囲内に閾値を設け て量子化圧縮するように、量子化の閾値と代表値を算出する。例えば、図 9のように 暗電流ノイズ成分を N段階に量子化する場合を考える。そして、暗電流ノイズ成分の 値のゼロの方から、量子化レべノレ 0、量子化レべノレ 1、量子化レべノレ 2とし、喑電流ノ ィズ成分の値が一番大きい箇所を量子化レベル (N—1)とする。また、これらをまとめ て量子化レベル n (n= 0、 1、 2、 · · ·、 N— 1)と表記する。ノイズ分布分析部 1010は 、量子化レべノレ nと量子化レべノレ(n+ 1)との間の閾値 THn及び量子化レべノレ nの 代表値 Vnを以下の式によって求める。
[0109] THn= DA+ (2n+ l) · (DB - DA) / (2 - (N— 1) ) · · · (3)
Vn= DA+ 2n- (DB - DA) / (2 - (N—l) ) · · · (4)
ここで、 DA、 DBは下限 A及び上限 Bにおける暗電流ノイズ成分の値を表す。閾値 T Hnは量子化部 1012に送られる。また、閾値 THn、代表値 Vn及び下限 Aにおける 暗電流ノイズ成分 DAは第 1逆量子化部 1018及び第 2逆量子化部 1020に送られる
[0110] 量子化部 1012は、シャッター 1003を閉じて撮像したときに得られる暗電流ノイズ 成分に対して、ノイズ分布分析部 1010で求められた量子化の閾値を参照しながら量 子化を行う。例えば、暗電流ノイズ成分の大きさを aとした時、式(3)によって求められ た閾値 THnを参照しながら以下に説明する方法によって量子化を行い、量子化後 データ aを得る。
[0111] もし、暗電流ノイズ成分 aが閾値 TH0未満であった場合、量子化データ aは 0とす る。また、暗電流ノイズ成分 aが閾値 TH (N— 2)以上であった場合、量子化データ α は (N—l)とする。そして、暗電流ノイズ成分 aが閾値 TH (n—l)以上 THn未満であ つた場合、量子化データ exは nとする。
[0112] この方法により、量子化部 1012で量子化されたデータ αは、メモリ 1014に記憶さ れる。この際、メモリ 1014に必要な容量は、暗電流ノイズ成分を量子化しな力つた場 合と比較して少なくてよい。例えば、 Νを 16とした場合、量子化データ αは 0〜 15の 値を取る。すなわち、 1画素がもともと 10ビットで表されていた暗電流ノイズ成分は、 量子化後に 4ビットで表現することが可能である。したがって、仮にメモリに 100万画 素の暗電流ノイズ成分をメモリ 1014に記憶する場合、量子化しなかった場合は、 10 00万ビットの容量が必要であるのに対し、量子化した場合は 400万ビットあればよい
[0113] 低周波'高周波分離部 1016は、実際の撮像時にシャッター 1003が開いた状態で 撮像された画像信号が AZD変換部 1005から出力されるタイミングに合わせて、メモ リ 1014から量子化された暗電流ノイズ成分を読み出し、これを低周波成分と高周波 成分とに分離する。例えば、低周波 ·高周波分離部 1016は、ある画素 Xの量子化さ れた喑電流ノイズ成分 Qを次式に従って低周波成分 Lと高周波成分 Hとに分離す る。
[0114] L =min2 (Q , Q , Q , · · · , Q ) · · · (5)
X X x+ 1 x+2 x+ 15
H =Q L · · · (6)
ここで Q 〜Q は、画素 Xの左横に隣接して存在する 15画素それぞれの量子 x+ 1 x+ 15
化された暗電流ノイズ成分の大きさを表す。また、関数 min2は括弧内に列挙された 値のうち、 2番目に小さな値を出力する関数である。すなわち、(5)式、(6)式による 低周波 ·高周波分離方法は、分離対象の画素とその画素の左横に隣接して存在す る 15画素の計 16画素が持つ暗電流ノイズ成分の中で、 2番目に小さい値を低周波 成分とし、分離対象の画素の暗電流ノイズ成分カゝら低周波成分を差し引いたものを 高周波成分とする。ここで、低周波成分を 16画素の暗電流ノイズ成分の中の最小値 としないのは、欠陥画素によって出力された低レベル信号を低周波成分としないよう にするためである。
[0115] 第 1逆量子化部 1018は、低周波 ·高周波分離部 1016にて分離された高周波成分
Hに対して、ノイズ分布分析部 1010から入力された閾値 THnと代表値 Vnを参照し ながら、例えば以下の式によって逆量子化する。
[0116] IH =H X (Vn-THn) · · · (7)
ここで、 IHは逆量子化された暗電流ノイズの高周波成分であり、この IHが乗算部 1
026〖こ送られる。
[0117] また、第 2逆量子化部 1020は、低周波 ·高周波分離部 1016にて分離された低周 波成分 Lに対して、ノイズ分布分析部 1010から入力された閾値 THnと代表値 Vnを 参照しながら逆量子化して伸張する。 [0118] IL =L X (Vn-THn) · · · (8)
ここで、 ILxは逆量子化された暗電流ノイズの低周波成分である。第 2逆量子化部 10 20は、この ILにノイズ分布分析部 1010から入力された下限 Aにおける暗電流ノイズ 成分の値 D Aを加算した値を、加算部 1028に送る。
[0119] 高周波抽出部 1022は、シャッター 1003を閉じた状態及びシャッター 1003を開い た状態で撮像された画像信号に対して、撮像素子 1004の端部に設けられた遮光領 域力 出力された画像信号力 高周波成分を抽出し、この高周波成分の平均値を求 めて、乗算係数設定部 1024へ出力する。高周波成分は、低周波'高周波分離部 10 16と同様に (5)式 ·(6)式を用いて算出する。
[0120] 乗算係数設定部 1024は、予めシャッター 1003を閉じた状態で撮像された暗電流 ノイズ成分から高周波抽出部 1022で算出した遮光領域の高周波成分の平均値を取 得し、記憶しておく。また、シャッター 1003が開いた状態で撮像された画像信号にお ける遮光領域の高周波成分の平均値を高周波抽出部 1022より得る。この状態で撮 像された画像信号のうち遮光領域の画素から出力される画像信号は、画像を撮像し た時点でのその画素における暗電流ノイズ成分である。したがって、予め記憶してお いた暗電流ノイズ成分における遮光領域の高周波成分の平均値との比率を求め、こ の比率を乗算係数として逆量子化された暗電流ノイズの高周波成分に乗ずることに より、撮像された画像信号に含まれる暗電流ノイズの高周波成分を予測することがで きる。
[0121] 乗算部 1026は、第 1逆量子化部で伸張された暗電流ノイズ成分の高周波成分に 対し、乗算係数設定部 1024から出力された乗算係数を乗算することにより、画像信 号に含まれた暗電流ノイズ成分の高周波成分を予測する。加算部 1028は、この予 測された高周波成分に、第 2逆量子化部から出力された値を加算することにより、暗 電流ノイズ成分を生成する。そして、減算部 1030にて実際の撮像状態で撮像された 画像信号から、加算部 1028で生成された暗電流ノイズ成分を差し引くことにより、画 像信号から暗電流ノイズを除去する。
[0122] 斯カる構成に基づき、図 7に示したデジタルカメラの動作を説明する。まず、シャツ ター 1003を閉じた状態で撮像素子 1004は画像を撮像する。この時、撮像素子 100 4には光が入射されていないため、撮像素子 1004から出力される画像信号は喑電 流ノイズ成分 (A)である。
[0123] この暗電流ノイズ成分 (A)は AZD変換部 1005にてデジタル信号に変換された後 、ノイズ分布分析部 1010に入力される。ノイズ分布分析部 1010では、全画素の暗 電流ノイズ成分から、その大きさの分布を求め、この分布に基づき量子化の閾値 TH nと代表値 Vnを算出しておく。
[0124] 次に、再度シャッター 1003を閉じた状態で撮像素子 1004にて暗電流ノイズ成分( B)を撮像する。この暗電流ノイズ成分 (B)は AZD変換部 1005でデジタル信号に変 換された後、今度は量子化部 1012に入力される。量子化部 1012は、ノイズ分布分 析部 1010によって求められた閾値 Vnを基に、暗電流ノイズ成分 (B)を量子化する。 メモリ 1014はこの量子化された暗電流ノイズ成分 (B)を記憶する。
[0125] また、この時撮像された暗電流ノイズ成分 (B)は高周波抽出部 1022にも入力され る。高周波抽出部 1022は、撮像素子 1004の遮光領域に含まれる暗電流ノイズ成分 (B)力 高周波成分を抽出し、その平均値を求める。この平均値は、乗算係数設定 部 1024に送られ、記憶される。
[0126] 以上までの動作が、実際に被写体を撮像する前の段階までの動作である。ここまで の動作は毎回の撮像時に行ってもょ ヽし、デジタルカメラの電源投入時に行ってもよ い。毎回の撮像時に行う場合には、図示しない撮像時検出部を設け、撮像時を検出 したら暗電流ノイズ除去装置 1001にこの段階までの動作をするよう指示する構成と すればよい。暗電流ノイズは、撮像素子周辺の温度環境に影響されやすいため、撮 像直前に記憶する場合に最も精度よく暗電流ノイズ成分の値を取得することができる 。電源投入時に行う場合には、図示しない電源投入時検出部を設け、電源投入を検 知したら暗電流ノイズ除去装置 1001にこの段階までの動作をするように指示する構 成とすればよい。
[0127] また、この実際に被写体を撮像する前の段階までの動作は、デジタルカメラの製造 時に行っておいてもよい。また、デジタルカメラに図示しないタイマーを設け、一定期 間ごとに暗電流ノイズ除去装置 1001にこの段階までの動作をするように指示する構 成にしてもよい。 [0128] 次に、実際に被写体を撮像する場合の動作について説明する。今度はシャッター 1 003を開いた状態で撮像素子 1004にて画像 (C)を撮像する。撮像素子 1004から 出力された画像信号 (C)は、 AZD変換部 1005でデジタル信号に変換されたあと、 減算部 1030に送られるとともに、高周波抽出部 1022にも送られる。高周波抽出部 1 022は、撮像素子 1004の遮光領域に含まれる画像信号 (C)から高周波成分を抽出 し、その平均値を求め、これを乗算係数設定部 1024に送る。乗算係数設定部 1024 は、高周波抽出部力 送られてきた遮光領域に含まれる画像信号 (C)の高周波成分 の平均値と、記憶されて!、る暗電流ノイズ成分 (B)の高周波成分の平均値との比率 を算出し、これを乗算係数として乗算部 1026に送る。
[0129] 一方、低周波'高周波分離部 1016は、 AZD変換部 1005から画像信号 (C)が出 力されるタイミングに合わせて、メモリ 1014に記憶された量子化された暗電流ノイズ 成分 (B)を読み出し、これを低周波成分 (BL)と高周波成分 (BH)とに分離する。分 離された高周波成分 (BH)は、第 1逆量子化部 1018で逆量子化された後、乗算部 1 026にて乗算係数設定部 1024で求められた乗算係数が乗算されることにより画像 信号に含まれる暗電流ノイズ成分の高周波成分が予測されて、加算部 1028に送ら れる。また、分離された低周波成分 (BL)は第 2逆量子化部 1020で逆量子化された 後、加算部 1028に送られる。
[0130] 加算部 1028は、逆量子化された暗電流ノイズの低周波成分 (BL)と、予測された 暗電流ノイズの高周波成分 (BH)とを足し合わせることにより、暗電流ノイズ (BD)を 復元する。そして、この復元された暗電流ノイズ成分 (BD)は減算部 1030に入力さ れ、減算部 1030によって画像信号 (C)から復元された暗電流ノイズ成分 (BD)を差 し引く。これにより、画像信号 (C)から暗電流ノイズ成分 (BD)を除去することができる 。そして、暗電流ノイズ成分 (BD)が除去された画像信号 (CD)が記録媒体 1006に 記録される。
[0131] 以上、本実施の形態 4によれば、以下の作用効果を有する。
[0132] (1)遮光領域に属する画素力 出力された画像信号と、予め記憶された同じ画素 の暗電流ノイズ成分とを比較し、そこ力 乗算係数を算出して、予め記憶された喑電 流ノイズ成分に乗ずることにより、画像信号に含まれる暗電流ノイズ成分を精度よく予 測することができる。したがって、画像信号に含まれる暗電流ノイズ成分を精度良く除 去することができる。
[0133] (2)暗電流ノイズは高周波成分が支配的であるため、本実施の形態 4のように、乗 算係数を算出する際、画像信号及び予め記憶された暗電流ノイズ成分ともに、それ ぞれ複数画素の高周波成分を抽出し、高周波成分同士を比較することによって乗算 係数を算出すると同時に、暗電流ノイズの高周波成分に対してのみ予測を行うことに より、より精度よく暗電流ノイズ成分を予測することができる。
[0134] (3)暗電流ノイズ成分を予測する際、一部の処理 (本実施の形態 4では暗電流ノィ ズ成分を低周波成分と高周波成分とに分離する処理)を逆量子化して伸張する前に 行うことで、データ量の小さい圧縮された状態で処理を実行することができ、予測に 必要な演算量を少なくすることができる。
[0135] 以上、本発明を実施の形態 4をもとに説明した。実施の形態は例示であり、それら の各構成要素や各処理プロセスの糸且合せに 、ろ 、ろな変形が可能なこと、またそうし た変形も本発明の範囲にあることは当業者に理解されるところである。
[0136] また、上記の実施の形態 4では、デジタルカメラの例を示した力 それに限らず、撮 像素子を備えたものであれば、本発明の実施の形態に係る暗電流ノイズ除去装置を 備えることができる。
[0137] なお、上記実施の形態 4において、高周波抽出部 1022では、遮光領域から出力さ れた画像信号力 複数の画素の高周波成分を抽出し、この高周波成分の平均値を 求める例を示したが、これに限るものではなぐ複数の画素の高周波成分の中央値 や二乗平均を求めるようにしてもょ 、。
[0138] また、上記実施の形態 4では、高周波抽出部 1022にて、暗電流ノイズ成分及び画 像信号力も抽出した複数画素の高周波成分の平均値を求め、乗算係数設定部 102 4でこれらの平均値の比率を求めて乗算係数を算出した力 高周波抽出部 1022で 抽出された暗電流ノイズ成分及び画像信号の高周波成分に対して、画素毎にそれ ぞれの比率を求め、これらの比率の平均値や中央値、あるいは二乗平均値を乗算係 数としてもよい。
[0139] (第 3のグループ) (実施の形態 5)
図 10は、本発明の好適な実施の形態 5に係るノイズ除去装置 2001を具備したデ ジタルカメラ 2100の構成を示した図である。この構成は、ハードウェア的には、任意 のコンピュータの CPU、メモリ、その他の LSIで実現でき、ソフトウェア的にはメモリに ロードされた符号化機能のあるプログラムなどによって実現される力 ここではそれら の連携によって実現される機能ブロックを描いている。したがって、これらの機能プロ ックがハードウェアのみ、ソフトウェアのみ、またはそれらの組合せによっていろいろ な形で実現できることは、当業者には理解されるところである。
[0140] デジタルカメラ 2100は、ノイズ除去装置 2001のほ力、撮像素子 2002、アナログフ ロントエンド (AFE: Analog Front End) 2003、画像圧縮装置 2004、記録媒体 2 005を備えている。このデジタルカメラ 2100は、撮像素子 2002にて入射された光を 電気信号に変換し、 AFE2003にて、撮像素子 2002の出力信号力も画像信号を取 り出して増幅した後、デジタル信号に変換する。ただし、 AFE2003で取り出した画 像信号には、種々のノイズ成分が含まれており、後述のノイズ除去装置 2001によつ てこれらのノイズ成分を除去する。そして、画像圧縮装置 2004によってノイズ除去さ れた画像信号を圧縮し、記録媒体 2005に記録する。
[0141] ノイズ除去装置 2001は、固定パターンノイズ除去部 2010、スミアノイズ除去部 201 1、固定欠陥ノイズ除去部 2012、ランダムノイズ除去部 2013を備えている。図 11は 固定パターンノイズ除去部 2010の構成を示した図である。固定パターンノイズ除去 部 2010は、メモリ 2020と減算部 2021を備えている。メモリ 2020には、予め撮像素 子 2002にて光を入射しない状態で撮像した画像信号を記憶する。若しくは、この画 像信号を圧縮してメモリ 2020に記憶してもよ 、し、この画像信号と関連付けられた情 報を記憶してもよい。光を入射しない状態で撮像した画像信号が、暗電流に起因す る固定パターンノイズに相当する。
[0142] 実際の撮像状態、つまり、光が入射された状態で撮像素子 2002によって撮像され た画像信号力 AFE2003を介して固定パターンノイズ除去部 2010に入力されると 、このタイミングに合わせて、画像信号を構成する各画素の固定パターンノイズをメモ リ 2020から読み出し、これを減算部 2021に送る。メモリ 2020に記憶されているのが 、圧縮された画像信号、若しくは画像信号と関連付けられた情報である場合は、上記 タイミングに合わせて、画素毎に圧縮された画像信号、若しくは画像信号と関連付け られた情報をメモリ 2020から読み出し、これらの信号若しくは情報から固定パターン ノイズを復元した上で、復元された固定パターンノイズを減算部 2021に送るようにし てもよい。そして、減算部 2021によって、光が入射された状態で撮像された画像信 号から固定パターンノイズを差し引くことによって、固定パターンノイズを除去する。
[0143] この固定パターンノイズ除去部 2010は、上述の実施の形態 1〜4において説明し た暗電流ノイズ除去装置 1、 7、 8、 1001のような構成を取ってもよい。本実施の形態 でいう固定パターンノイズは、実施の形態 1〜4の暗電流ノイズに相当する。
[0144] 図 12はスミアノイズ除去部 2011の構成を示した図である。スミアノイズ除去部 201 1は、減算部 2030、加算部 2031、ラインメモリ 2032、係数発生部 2033、乗算部 20 34を備えている。減算部 2030は、 1行単位で連続して入力される画像信号 Sl (n) 力も第 1のスミアノイズ成分 Dl (n)を減算し、スミアノイズ成分を含まない画像信号 S 2 (n)として出力する。加算部 2031は、減算部 2030から出力される画像信号 S2 (n)と ラインメモリ 2032から読み出される累加算データ T(n)とを加算し、その加算データ をラインメモリ 2032に供給する。ラインメモリ 2032は、 1画面分の画像信号 SI (η)の 入力が完了する毎にリセットされ、加算部 2031から入力される加算データを 1行毎に 記憶する。これにより、加算部 2031では 1画面の画像信号 S2 (n)が各列で累加算さ れ、ラインメモリ 2032には累加算データ T(n)力記憶されること〖こなる。
[0145] 係数発生部 2033は、撮像素子 2002の露光状態を表す露光データ L (m)に応答 し、撮像素子 2002の各受光ビットでの露光期間に対応した係数 kを発生し、乗算部 2034に供給する。乗算部 2034は、ラインメモリ 2032から読み出される累加算デー タ T(n)に対し、係数 kを乗算してスミアノイズ成分 Dl (n)を生成する。
[0146] このようなスミアノイズ除去部 2011によれば、撮像素子 2002の各受光ビットに蓄積 される情報電荷が 1行ずつ垂直方向に転送される毎に各受光ビットから混入されるス ミア電荷の量が順次累加算される。そして、その累加算値によって情報電荷が転送さ れる過程で混入するスミアノイズ成分が表されるため、この値を画像信号 SI (n)から 減算することによりスミアノイズを除去できる。 [0147] 固定欠陥ノイズ除去部 2012は、画素毎に固定欠陥であるかどうかを判定し、固定 欠陥と判定した場合は、周辺の画素力 補間値を算出してその値に置換する。図 13 は固定欠陥ノイズ除去部 2012の構成を示した図である。固定欠陥ノイズ除去部 201 2は、ラインメモリ 2040、固定欠陥判定部 2041、補間値算出部 2042、補間値置換 部 2043を備えている。
[0148] ラインメモリ 2040は、 1行単位で連続して入力される画像信号を 1行毎に記憶する 。ラインメモリ 2040は、 7ライン分の画像信号を記憶することができる。 7ライン分の画 像信号が記憶されているところに、新しく画像信号が入力されたときは、最も古い時 間に記憶された行の画像信号を、新しく入力された画像信号で上書きしていくこと〖こ より、ラインメモリ 2040の内容を更新する。
[0149] 固定欠陥判定部 2041は、画素毎に固定欠陥であるかどうかを判定する。例えば図 14に示した画素 F7について固定欠陥であるかどうかを判定する場合、ラインメモリ 2 040力も、周辺画素 D5、 D7、 D9、 F5、 F9、 H5、 H7、 H9の画像信号を読み出す。 そして、これら周辺画素の画像信号の最大値と最小値を求め、画素 F7の画像信号 の大きさと比較する。その結果、画素 F7の画像信号の大きさ力 周辺画素の画像信 号の最大値よりも異常に大きい、もしくは最小値よりも異常に小さい場合は、画素 F7 が固定欠陥であるとして判定する。それ以外の場合は、固定欠陥なしとして判定する 。固定欠陥判定部 2041は、この判定を画像を構成するすべての画素について行う。
[0150] 補間値算出部 2042は、固定欠陥判定部 2041で固定欠陥であるかどうかを判定し ている画素に対して、周辺画素の値から補間値を算出する。補間値置換部 2043は 、固定欠陥判定部 2041の判定結果が固定欠陥であった場合、その画素の画像信 号を補間値算出部 2042で算出した補間値に置換して外部に出力し、それ以外の場 合は、その画素の画像信号をそのまま出力することにより、固定欠陥ノイズを除去す る。
[0151] ランダムノイズ除去部 2013は、図 13に示した固定欠陥ノイズ除去部 2012の構成と ほぼ同じであるが、ランダムノイズの有無を判定する際、周辺画素の画像信号の最大 値を上限閾値、周辺画素の画像信号の最小値を下限閾値とし、判定対象の画素の 画像信号の大きさが、この上限閾値と下限閾値で示される範囲力 外れている場合 、ランダムノイズ有りとして判定する。そして、ランダムノイズ有りと判定した場合は、周 辺画素の画素値力 算出した補間値に置換し、ランダムノイズ無しと判定した場合は 、その画素の画像信号をそのまま出力する。
[0152] 斯カる構成に基づき、図 10のデジタルカメラ 2100の動作について説明する。まず 、デジタルカメラ 2100は光が入射されな 、状態で撮像素子 2002にて画像を撮像す る。この時撮像された画像は暗電流に起因する固定パターンノイズ成分を表す。この 画像は、 AFE2003を介してノイズ除去装置 2001の固定パターンノイズ除去部 201 0に送られ、記憶される。
[0153] ここまでの動作が、実際に被写体を撮像する前の段階までの動作である。ここまで の動作は毎回の撮像時に行ってもょ ヽし、デジタルカメラの電源投入時に行ってもよ い。毎回の撮像時に行う場合には、図示しない撮像時検出部を設け、撮像時を検出 したら固定パターンノイズ除去部 2010にこの段階までの動作をするよう指示する構 成とすればよい。暗電流ノイズは、撮像素子周辺の温度環境に影響されやすいため 、撮像直前に記憶する場合に最も精度よく暗電流ノイズ成分の値を取得することがで きる。電源投入時に行う場合には、図示しない電源投入時検出部を設け、電源投入 を検知したら固定パターンノイズ除去部 2010にこの段階までの動作をするように指 示する構成とすればよい。
[0154] また、この実際に被写体を撮像する前の段階までの動作は、デジタルカメラの製造 時に行っておいてもよい。また、デジタルカメラに図示しないタイマーを設け、一定期 間ごとに固定パターンノイズ除去部 2010にこの段階までの動作をするように指示す る構成にしてちよい。
[0155] 次に、実際に被写体を撮像する場合の動作について説明する。今度は、デジタル カメラ 2100は、光が入射された状態で撮像素子 2002にて画像を撮像し、この画像 信号は AFE2003を介してノイズ除去装置 2001に送られる。ノイズ除去装置 2001 では、この画像信号に対し、まず固定パターンノイズ除去部 2010にて固定パターン ノイズを除去し、次にスミアノイズ除去部 2011にてスミアノイズを除去する。次に、固 定欠陥ノイズ除去部 2012にて固定欠陥ノイズを除去し、更にランダムノイズ除去部 2 013によってランダムノイズを除去する。この順番によって複数のノイズが除去された 画像信号は、画像圧縮装置 2004で画像圧縮され、記録媒体 2005に記録される。
[0156] 本実施の形態 5では、ノイズ除去装置 2001によって、固定パターンノイズ、スミアノ ィズ、固定欠陥ノイズ、ランダムノイズの順番で複数のノイズを除去することを特徴とし 、この順番によって、以下の理由によりそれぞれのノイズが精度よく除去することが可 能としている。例えば、スミアノイズは、前述の通り入射光量の推定が必要であり、こ の推定を撮像した画像信号をもとに行うため、この画像信号にノイズが多 ヽと入射光 量の推定精度が劣化し、結果として除去すべきスミアノイズの算出精度が劣化する。 特に、温度依存性を持ち、露光時間に比例して増大する固定パターンノイズが、推 定に用いる画像信号に含まれていると、精度よくスミアノイズを推定することが困難で ある。そこで、固定パターンノイズはスミアノイズを除去する前に画像信号から取り除 かれることが望ましい。
[0157] 次に、固定欠陥ノイズは、欠陥画素の判定と置換するための補間画素を周辺画素 を元に行うため、ある程度ノイズが除去された画像に対して行うことが望ましい。また、 スミアノイズは入射光量によっては、信号レベルを飽和させるに至るレベルに達して いる場合があり、固定欠陥ノイズが逆に埋もれてしまう。このため、スミアノイズ除去は 固定欠陥ノイズ除去の以前に行うことが望ましい。
[0158] さらに、ランダムノイズは他のノイズと比較し、信号レベルとしては非常に小さぐスミ ァノイズ除去や固定欠陥ノイズ除去への影響は少ない。ただし、画像のざらつきとし ては目立つ場合もある。このランダムノイズ除去は、周辺画素の特徴から推定補間す る方法を用いるので、他のノイズ成分が除去され、真の画素値に近い画素となってい るノイズ除去の最終段に配置すること望ましい。なお、前述の通り、ランダムノイズは 他のノイズと比較して非常に小さいものであるため、ノイズ除去装置 2001からランダ ムノイズ除去部を省略してもよ 、。
[0159] 以上のことから、本実施の形態 5によれば、ノイズを除去する順番として、最初に固 定パターンノイズを除去し、次にスミアノイズ、次に固定欠陥ノイズを除去することによ り、それぞれのノイズを最も精度よく取り除くことができる。また、ランダムノイズを除去 する場合は、他のノイズ成分を除去した後に取り除くことにより、ランダムノイズを含め てそれぞれのノイズを最も精度よく取り除くことができる。 [0160] (実施の形態 6)
図 15は、本発明の好適な実施の形態 6に係るノイズ除去装置 2006を具備したデ ジタルカメラ 2110の構成を示した図である。このノイズ除去装置 2006は、図 10のノ ィズ除去装置 2001に対し、ランダムノイズ除去部 2013の後段にオフセット除去部 2 014が付加された構成となっている。実施の形態 5と同じ構成については同符号を付 し、説明を省略する。
[0161] 撮像素子 2002から出力された画像信号は、黒レベルの画像信号であっても完全 にゼロにはならず、一定のオフセット成分を含んでいる。オフセット除去部 2014は、 この画像信号力もこのオフセット成分を除去する。
[0162] 図 16は、オフセット除去部 2014の構成を示した図である。オフセット除去部 2014 は、オフセット算出部 2050、メモリ 2051、及び減算部 2052を備えている。オフセット 算出部 2050は、撮像素子 2002から出力された画像信号のうち、撮像素子 2002の 端部に設けられた光が入射されない領域 (遮光領域)に属する一部の画素の画像信 号を抽出する。この遮光領域カゝら出力された画像信号の大きさが、撮像素子 2002に おける黒レベルの大きさとなるため、オフセット算出部 2050は、この画像信号の大き さの平均値をオフセット成分とし、この値をメモリ 2051に記憶する。そして、減算部 20 52によって画像信号力もメモリ 2051に記憶されたオフセット成分を減算することによ り、オフセット成分を除去する。
[0163] 斯カる構成に基づき、図 15に示したデジタルカメラ 2110の動作について説明する 。まず、図 10に示したデジタルカメラ 2100と同様に、デジタルカメラ 2110は光が入 射されな ヽ状態で撮像素子 2002にて画像を撮像し、この画像が AFE2003を介し てノイズ除去装置 2006の固定パターンノイズ除去部 2010に送られ、固定パターンノ ィズとして記憶される。
[0164] ここまでの動作が、実際に被写体を撮像する前の段階までの動作である。次に、実 際に被写体を撮像する場合の動作について説明する。今度は、デジタルカメラ 2110 は、光が入射された状態で撮像素子 2002にて画像を撮像し、この画像信号は AFE 2003を介してノイズ除去装置 2006に送られる。ノイズ除去装置 2006では、この画 像信号に対し、まず固定パターンノイズ除去部 2010にて固定パターンノイズを除去 し、次にスミアノイズ除去部 2011にてスミアノイズを除去する。次に、固定欠陥ノイズ 除去部 2012にて固定欠陥ノイズを除去し、更にランダムノイズ除去部 2013によって ランダムノイズを除去する。力 []えて、オフセット除去部 2014によってオフセット成分が 除去される。この順番によって複数のノイズが除去された画像信号は、画像圧縮装置 2004で画像圧縮され、記録媒体 2005に記録される。
[0165] 本実施の形態 6では、ノイズ除去装置 2006によって、固定パターンノイズを除去し た後にオフセット成分を除去することを特徴とし、以下の理由によりオフセット成分が 精度よく除去されることを可能としている。すなわち、オフセット成分を算出する際、撮 像素子 2002の遮光領域に属する画素の画像信号を使用する力 この画像信号に は暗電流に起因する固定パターンノイズも多く含んだものとなっている。前述のとおり 、固定パターンノイズは温度依存性を持ち、露光時間に比例して増大するため、この 固定パターンノイズを含んだままオフセット成分を算出すると、その算出精度が悪くな つてしまう。そこで、固定パターンノイズの除去は、オフセット成分の除去よりも前に行 うのが望ましい。これにより、オフセット成分の除去の精度がよくなり、画質の改善が可 能となる。
[0166] なお、本実施の形態 6では、オフセット除去部 2014をランダムノイズ除去部 2013の 後段に配置する例を示した力 これに限るものではなぐオフセット除去部 2014が固 定パターンノイズ除去部 2010よりも後段に配置されていれば、本発明の範疇に含ま れる。
[0167] 以上、本発明を実施の形態 5及び 6をもとに説明した。実施の形態は例示であり、そ れらの各構成要素や各処理プロセスの組合せに 、ろ 、ろな変形が可能なこと、また そうした変形も本発明の範囲にあることは当業者に理解されるところである。
[0168] また、上記の実施の形態では、デジタルカメラの例を示した力 それに限らず、撮像 素子を備えたものであれば、本発明の実施の形態に係るノイズ除去装置を備えること ができる。
産業上の利用可能性
[0169] 本発明は、撮像素子のノイズを除去する装置に利用可能である。

Claims

請求の範囲
[1] 光を遮断した状態で撮像素子によって撮像された第 1の画像信号に対し、前記撮 像素子を構成する一部もしくは全部の画素の前記第 1の画像信号の大きさの分布を 求め、この分布力も前記第 1の画像信号の取る大きさのピークを含む範囲を特定し、 この範囲の中で閾値を設定するノイズ分布分析部と、
光を遮断した状態で前記撮像素子によって撮像された第 2の画像信号に対し、前 記閾値を基に量子化を行う量子化部と、
前記量子化された第 2の画像信号を逆量子化する逆量子化部と、
光を入射した状態で撮像素子にて撮像された第 3の画像信号から前記逆量子化さ れた第 2の画像信号を減算する減算部と、
を備えることを特徴とするノイズ除去装置。
[2] 前記第 1の画像信号と前記第 2の画像信号は、異なる時刻に撮像されたものである ことを特徴とする請求項 1に記載のノイズ除去装置。
[3] 前記第 1の画像信号と前記第 2の画像信号は、同じ画像信号であり、前記ノイズ分 布分析部は、前記第 1の画像信号を複数の領域に分割し、この分割した領域毎に前 記第 1の画像信号の大きさの分布を求め、この分布力 前記第 1の画像信号の取る 大きさのピークを含む範囲を特定し、この範囲の中で閾値を設定することを特徴とす る請求項 1に記載のノイズ除去装置。
[4] 前記第 1の画像信号及び前記第 2の画像信号を低周波成分と高周波成分とに分 割する帯域分離部を更に備え、
前記高周波成分に対して前記ノイズ分布分析部、前記量子化部及び前記逆量子 ィ匕咅を備えるとともに、
前記低周波成分と前記逆量子化部で逆量子化された前記高周波成分とを加算し た上で、これを前記減算部に入力することを特徴とする請求項 1から 3のいずれかに 記載のノイズ除去装置。
[5] 前記低周波成分を前記高周波成分とは独立した方法で圧縮する圧縮部と、
前記圧縮された低周波成分を伸張する伸張部と、
を更に備え、 前記伸張された低周波成分と前記逆量子化部で逆量子化された前記高周波成分 を加算した上で、これを前記減算部に入力することを特徴とする請求項 4に記載のノ ィズ除去装置。
[6] 光を遮断した状態で撮像素子によって撮像された画像信号に関して暗電流ノイズ 成分の大きさの分布を求めるステップと、
前記暗電流ノイズ成分の大きさのピークを含む範囲を特定するステップと、 前記範囲の中で量子化のための閾値を設定するステップと、
前記暗電流ノイズ成分を前記閾値に基づいて量子化するステップと、 前記量子化された暗電流ノイズ成分を逆量子化するステップと、
実際に被写体を撮像したときの画像信号から、前記逆量子化された暗電流ノイズ 成分を減算するステップと、
を備えることを特徴とするノイズ除去方法。
[7] 光を遮断した状態で撮像素子によって得られた第 1の画像信号を圧縮する圧縮部 と、
前記圧縮された第 1の画像信号を伸張する伸張部と、
前記圧縮部によって圧縮される前の第 1の画像信号の状態と、光を入射した状態 で撮像素子によって得られた第 2の画像信号の状態との比較に基づいて、前記伸張 された第 1の画像信号から前記第 2の画像信号に含まれるノイズ成分を予測するノィ ズ成分予測部と、
前記第 2の画像信号から、予測されたノイズ成分を減算する減算部と、 を備えることを特徴とするノイズ除去装置。
[8] 前記第 1の画像信号の状態は、前記圧縮される前の第 1の画像信号に含まれる遮 光領域力 出力された信号の大きさであり、
前記第 2の画像信号の状態は、この第 2の画像信号に含まれる遮光領域から出力 された信号の大きさであることを特徴とする請求項 7に記載のノイズ除去装置。
[9] 前記ノイズ成分予測部は、前記第 2の画像信号に含まれる遮光領域から出力され た信号の大きさと、前記圧縮される前の第 1の画像信号に含まれる遮光領域から出 力された信号の大きさとの比率を求め、前記伸張された第 1の画像信号に対して前 記比率を乗ずることによって、前記第 2の画像信号に含まれるノイズ成分を予測する ことを特徴とする請求項 8に記載のノイズ除去装置。
[10] 前記第 2の画像信号に含まれるノイズ成分を予測するための前処理を、前記圧縮さ れた第 1の画像信号に対して行う前処理部を更に備え、前記伸張部は、この前処理 された第 1の画像信号を伸張することを特徴とする請求項 7から 9のいずれかに記載 のノイズ除去装置。
[11] 前記前処理部は、前記圧縮された第 1の画像信号を低周波成分と高周波成分とに 分離するものであり、前記伸張部は、前記低周波成分と高周波成分とを個別に伸張 し、前記ノイズ成分予測部は、前記伸張された高周波成分から前記第 2の画像信号 に含まれるノイズ成分の高周波成分を予測した上で、前記伸張された低周波成分と 足し合わせることによって、前記第 2の画像信号に含まれるノイズ成分を予測すること を特徴とする請求項 10に記載のノイズ除去装置。
[12] 前記第 1の画像信号の状態は、前記圧縮される前の第 1の画像信号に含まれる遮 光領域から出力された信号の高周波成分の大きさであり、
前記第 2の画像信号の状態は、この第 2の画像信号に含まれる遮光領域から出力 された信号の高周波成分の大きさであって、
前記ノイズ成分予測部は、前記第 2の画像信号に含まれる遮光領域から出力され た信号の高周波成分の大きさと、前記圧縮される前の第 1の画像信号に含まれる遮 光領域から出力された信号の高周波成分の大きさとの比率を求め、前記伸張された 第 1の画像信号の高周波成分に対して前記比率を乗ずることにより、前記第 2の画像 信号に含まれるノイズ成分の高周波成分を予測することを特徴とする請求項 11に記 載のノイズ除去装置。
[13] 前記圧縮部は、前記第 1の画像信号に対し、一部若しくは全部の画素が持つ前記 第 1の画像信号の大きさの分布を求め、この分布力 前記第 1の画像信号の取る大 きさのピークを含む範囲を特定し、この範囲の中で量子化の閾値を設定するノイズ分 布分析部と、
前記第 1の画像信号に対して、前記閾値を基に量子化を行う量子化部と、 を備えることを特徴とする請求項 7から 12のいずれかに記載のノイズ除去装置。
[14] 撮像素子力 出力された画像信号から、撮像素子の暗電流に起因する固定パター ンノイズを除去する固定パターンノイズ除去部と、
前記固定パターンノイズが除去された画像信号から、入射光に起因するスミアノィ ズを除去するスミアノイズ除去部と、
を備えることを特徴とするノイズ除去装置。
[15] 前記固定パターンノイズ除去部として、請求項 1から 5および請求項 7から 13のいず れかに記載のノイズ除去装置を利用することを特徴とする請求項 14に記載のノイズ 除去装置。
[16] 前記スミアノイズ除去部は、前記固定パターンノイズが除去された画像信号から、 前記撮像素子の各受光ビットに蓄積される情報電荷が 1行ずつ垂直方向に転送され る毎に各受光ビットから混入されるスミア電荷の量が順次累加算された値を減算する ことによりスミアノイズを除去することを特徴とする請求項 14または 15に記載のノイズ 除去装置。
[17] 前記スミアノイズが除去された画像信号から、撮像素子の製造時の欠陥に起因す る固定欠陥ノイズを除去する固定欠陥ノイズ除去部を更に備えることを特徴とする請 求項 14から 16のいずれかに記載のノイズ除去装置。
[18] 前記固定欠陥ノイズ除去部は、前記撮像素子の画素毎に固定欠陥であるかどうか を判定し、固定欠陥と判定した場合は、周辺の画素から補間値を算出してその値に 置換することを特徴とする請求項 17に記載のノイズ除去装置。
[19] 前記固定欠陥ノイズが除去された画像信号から、撮像素子の熱的な揺らぎに起因 するランダムノイズを除去するランダムノイズ除去部を更に備えることを特徴とする請 求項 17または 18に記載のノイズ除去装置。
[20] 前記画像信号に含まれるオフセット成分を除去するオフセット除去部を更に備え、 前記オフセット除去部に入力される画像信号は、前記固定パターンノイズ除去部によ つて固定パターンノイズが除去されたものであることを特徴とする請求項 14から 19の V、ずれかに記載のノイズ除去装置。
[21] 前記オフセット除去部は、
当該オフセット除去部に入力された画像信号のうち、前記撮像素子の遮光領域に 属するの画素の画像信号を抽出し、この抽出した画像信号の大きさの平均値をオフ セット成分として算出するオフセット算出部と、
当該オフセット除去部に入力される画像信号力 前記オフセット成分を減算する減 算部と、
を備えることを特徴とする請求項 20に記載のノイズ除去装置。
PCT/JP2005/019138 2004-10-22 2005-10-18 ノイズ除去装置 WO2006043563A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US11/577,787 US7924329B2 (en) 2004-10-22 2005-10-18 Noise eliminator
JP2006543014A JP4601623B2 (ja) 2004-10-22 2005-10-18 ノイズ除去装置

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
JP2004308460 2004-10-22
JP2004308459 2004-10-22
JP2004-308459 2004-10-22
JP2004-308460 2004-10-22
JP2004-309107 2004-10-25
JP2004309107 2004-10-25

Publications (1)

Publication Number Publication Date
WO2006043563A1 true WO2006043563A1 (ja) 2006-04-27

Family

ID=36202978

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2005/019138 WO2006043563A1 (ja) 2004-10-22 2005-10-18 ノイズ除去装置

Country Status (4)

Country Link
US (1) US7924329B2 (ja)
JP (1) JP4601623B2 (ja)
KR (1) KR100835792B1 (ja)
WO (1) WO2006043563A1 (ja)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009135787A (ja) * 2007-11-30 2009-06-18 Sony Corp ノイズ検出装置、撮像装置、およびノイズ検出方法
US7924329B2 (en) 2004-10-22 2011-04-12 Sanyo Electric Co., Ltd. Noise eliminator
US20110102644A1 (en) * 2007-12-10 2011-05-05 Joshua Posamentier Noise reduction in active pixel sensor arrays
US8310567B2 (en) 2009-11-03 2012-11-13 Samsung Electronics Co., Ltd. Methods of modeling an integrated noise in an image sensor and methods of reducing noise using the same
CN107409182A (zh) * 2015-03-17 2017-11-28 奥林巴斯株式会社 图像处理装置、图像处理方法和程序
JP2017216629A (ja) * 2016-06-01 2017-12-07 キヤノン株式会社 符号化装置、撮像装置、符号化方法、及びプログラム
WO2018025323A1 (ja) * 2016-08-02 2018-02-08 オリンパス株式会社 画像処理装置、画像処理方法およびプログラム

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8144997B1 (en) * 2006-12-21 2012-03-27 Marvell International Ltd. Method for enhanced image decoding
KR101464743B1 (ko) * 2008-01-17 2014-11-25 삼성전자주식회사 카메라 모듈에서 신호 의존적인 잡음 추정 장치 및 방법
JP5366619B2 (ja) * 2008-08-12 2013-12-11 キヤノン株式会社 画像処理装置、撮像装置、画像処理方法、画像処理プログラム
KR101022832B1 (ko) 2009-11-16 2011-03-17 연세대학교 산학협력단 Ccd센서의 스미어 열화 개선장치 및 방법
JP5162001B2 (ja) * 2011-05-16 2013-03-13 株式会社東芝 撮像装置、撮像方法
KR101459034B1 (ko) * 2013-07-11 2014-11-07 숭실대학교산학협력단 영상 처리 시스템 및 방법
DE102014224638A1 (de) 2014-12-02 2016-06-02 Olympus Soft Imaging Solutions Gmbh Digitales Bilderfassungssystem und Verfahren zur Fehlerkorrektur in einem solchen System
KR101521458B1 (ko) * 2014-12-18 2015-05-22 주식회사 넥스파시스템 스미어 제거 장치 및 그 제거 방법
JP6320571B2 (ja) * 2015-01-20 2018-05-09 オリンパス株式会社 画像処理装置、画像処理方法およびプログラム
JP6525756B2 (ja) * 2015-06-15 2019-06-05 キヤノン株式会社 放射線撮像装置及びその制御方法
US10249027B2 (en) * 2016-09-22 2019-04-02 Sony Corporation Device and method for P-phase data compression
US10193585B2 (en) * 2017-02-17 2019-01-29 SiTune Corporation Tone removal for digital circuits
WO2021061748A1 (en) * 2019-09-23 2021-04-01 Apple Inc. Video compression with in-loop sub-image level controllable noise generation

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06350930A (ja) * 1993-06-11 1994-12-22 Nec Corp イメージセンサの暗時出力補正装置
JPH11298762A (ja) * 1998-04-15 1999-10-29 Toshiba Corp 暗電流ノイズ除去装置
JP2000050165A (ja) * 1998-07-27 2000-02-18 Matsushita Electric Ind Co Ltd 固体撮像装置
JP2001111899A (ja) * 1999-08-02 2001-04-20 Olympus Optical Co Ltd 撮像装置及びその劣化画素信号補正方法
JP2003069901A (ja) * 2001-08-23 2003-03-07 Fuji Photo Film Co Ltd 画像信号処理装置および欠陥画素補正方法
JP2004088306A (ja) * 2002-08-26 2004-03-18 Victor Co Of Japan Ltd 固体撮像装置
JP2005295422A (ja) * 2004-04-05 2005-10-20 Matsushita Electric Ind Co Ltd デジタルカメラ装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6809763B1 (en) * 1999-08-02 2004-10-26 Olympus Optical Co., Ltd. Image pickup apparatus and method of correcting deteriorated pixel signal thereof
US7924329B2 (en) 2004-10-22 2011-04-12 Sanyo Electric Co., Ltd. Noise eliminator

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06350930A (ja) * 1993-06-11 1994-12-22 Nec Corp イメージセンサの暗時出力補正装置
JPH11298762A (ja) * 1998-04-15 1999-10-29 Toshiba Corp 暗電流ノイズ除去装置
JP2000050165A (ja) * 1998-07-27 2000-02-18 Matsushita Electric Ind Co Ltd 固体撮像装置
JP2001111899A (ja) * 1999-08-02 2001-04-20 Olympus Optical Co Ltd 撮像装置及びその劣化画素信号補正方法
JP2003069901A (ja) * 2001-08-23 2003-03-07 Fuji Photo Film Co Ltd 画像信号処理装置および欠陥画素補正方法
JP2004088306A (ja) * 2002-08-26 2004-03-18 Victor Co Of Japan Ltd 固体撮像装置
JP2005295422A (ja) * 2004-04-05 2005-10-20 Matsushita Electric Ind Co Ltd デジタルカメラ装置

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7924329B2 (en) 2004-10-22 2011-04-12 Sanyo Electric Co., Ltd. Noise eliminator
JP2009135787A (ja) * 2007-11-30 2009-06-18 Sony Corp ノイズ検出装置、撮像装置、およびノイズ検出方法
US20110102644A1 (en) * 2007-12-10 2011-05-05 Joshua Posamentier Noise reduction in active pixel sensor arrays
US8373778B2 (en) * 2007-12-10 2013-02-12 Intel Corporation High speed noise detection and reduction in active pixel sensor arrays
US8310567B2 (en) 2009-11-03 2012-11-13 Samsung Electronics Co., Ltd. Methods of modeling an integrated noise in an image sensor and methods of reducing noise using the same
CN107409182B (zh) * 2015-03-17 2020-02-14 奥林巴斯株式会社 图像处理装置、图像处理方法和记录介质
CN107409182A (zh) * 2015-03-17 2017-11-28 奥林巴斯株式会社 图像处理装置、图像处理方法和程序
JP2017216629A (ja) * 2016-06-01 2017-12-07 キヤノン株式会社 符号化装置、撮像装置、符号化方法、及びプログラム
CN109565556A (zh) * 2016-08-02 2019-04-02 奥林巴斯株式会社 图像处理装置、图像处理方法和程序
JPWO2018025323A1 (ja) * 2016-08-02 2019-05-23 オリンパス株式会社 画像処理装置、画像処理方法およびプログラム
WO2018025323A1 (ja) * 2016-08-02 2018-02-08 オリンパス株式会社 画像処理装置、画像処理方法およびプログラム
US10630924B2 (en) 2016-08-02 2020-04-21 Olympus Corporation Image processing apparatus, image processing method, and non-transitory computer readable recording medium
CN109565556B (zh) * 2016-08-02 2021-02-09 奥林巴斯株式会社 图像处理装置、图像处理方法和存储介质

Also Published As

Publication number Publication date
JP4601623B2 (ja) 2010-12-22
US20090244331A1 (en) 2009-10-01
US7924329B2 (en) 2011-04-12
KR100835792B1 (ko) 2008-06-05
KR20070063604A (ko) 2007-06-19
JPWO2006043563A1 (ja) 2008-05-22

Similar Documents

Publication Publication Date Title
JP4601623B2 (ja) ノイズ除去装置
KR101241662B1 (ko) 화상 데이터 처리 장치, 화상 데이터 처리 방법 및 기록매체
KR101464765B1 (ko) 결합 이미지를 생성하는 방법 및 장치
JP5529685B2 (ja) 画像符号化方法、画像復号化方法、画像符号化装置及び画像復号化装置
KR20070027605A (ko) 화상 압축 처리 장치, 화상 압축 처리 방법 및 화상 압축처리 프로그램
KR100690784B1 (ko) 화질 평가를 위한 압축 영상 품질 검사 방법
Lim Characterization of noise in digital photographs for image processing
KR20100031599A (ko) 촬상 장치, 촬상 제어 방법 및 촬상 제어 프로그램
US20030214590A1 (en) System and method for adaptively compensating for dark current in an image capture device
JP4561649B2 (ja) 画像圧縮装置、画像圧縮プログラム及び画像圧縮方法、hdr画像生成装置、hdr画像生成プログラム及びhdr画像生成方法、並びに画像処理システム、画像処理プログラム及び画像処理方法
JP2002218387A (ja) 電子カメラ
JP2008011324A (ja) ネットワークカメラ
JPS626273B2 (ja)
Van Houten et al. Using sensor noise to identify low resolution compressed videos from youtube
JP4364728B2 (ja) 赤外線検出器の感度補正機能を有する赤外線撮像装置
JP2007096607A (ja) 画像処理装置
JP4498253B2 (ja) 画像処理装置
US20060192865A1 (en) Noise processing apparatus and image pickup apparatus
CN110519516B (zh) 一种图像噪点的处理方法、装置及电子设备
JPH11298762A (ja) 暗電流ノイズ除去装置
JP4253839B2 (ja) 画像圧縮方法、画像圧縮プログラム、画像圧縮装置及びデジタルカメラ
JP2007142683A (ja) デジタルスチルカメラ
KR100745245B1 (ko) 휴대 단말기에서의 흔들림 움직임 보상 장치 및 방법
KR100631096B1 (ko) 주요기능이 호스트 소프트웨어에서 구현되는 비디오 카메라
JP2002135658A (ja) 撮像装置

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KM KP KR KZ LC LK LR LS LT LU LV LY MA MD MG MK MN MW MX MZ NA NG NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU LV MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2006543014

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 200580036077.3

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 1020077011505

Country of ref document: KR

122 Ep: pct application non-entry in european phase

Ref document number: 05795801

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 11577787

Country of ref document: US