WO2008072406A1 - 撮像装置、画像処理装置、画像処理方法、画像処理方法のプログラム及び画像処理方法のプログラムを記録した記録媒体 - Google Patents

撮像装置、画像処理装置、画像処理方法、画像処理方法のプログラム及び画像処理方法のプログラムを記録した記録媒体 Download PDF

Info

Publication number
WO2008072406A1
WO2008072406A1 PCT/JP2007/068898 JP2007068898W WO2008072406A1 WO 2008072406 A1 WO2008072406 A1 WO 2008072406A1 JP 2007068898 W JP2007068898 W JP 2007068898W WO 2008072406 A1 WO2008072406 A1 WO 2008072406A1
Authority
WO
WIPO (PCT)
Prior art keywords
pixel
pixel value
noise
noise removal
unit
Prior art date
Application number
PCT/JP2007/068898
Other languages
English (en)
French (fr)
Inventor
Nobuyuki Matsushita
Ken Nakajima
Mikiko Yamada
Original Assignee
Sony Corporation
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 Sony Corporation filed Critical Sony Corporation
Priority to CN2007800054989A priority Critical patent/CN101385359B/zh
Priority to US12/279,190 priority patent/US8295595B2/en
Priority to EP07807893A priority patent/EP2094019A4/en
Publication of WO2008072406A1 publication Critical patent/WO2008072406A1/ja

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/10Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths
    • H04N23/12Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths with one sensor only
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals
    • H04N23/843Demosaicing, e.g. interpolating colour pixel values
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/81Camera processing pipelines; Components thereof for suppressing or minimising disturbance in the image signal generation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/10Circuitry of solid-state image sensors [SSIS]; Control thereof for transforming different wavelengths into image signals
    • H04N25/11Arrangement of colour filter arrays [CFA]; Filter mosaics
    • H04N25/13Arrangement of colour filter arrays [CFA]; Filter mosaics characterised by the spectral characteristics of the filter elements
    • H04N25/134Arrangement of colour filter arrays [CFA]; Filter mosaics characterised by the spectral characteristics of the filter elements based on three different wavelength filter elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2101/00Still video cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2209/00Details of colour television systems
    • H04N2209/04Picture signal generators
    • H04N2209/041Picture signal generators using solid-state devices
    • H04N2209/042Picture signal generators using solid-state devices having a single pick-up sensor
    • H04N2209/045Picture signal generators using solid-state devices having a single pick-up sensor using mosaic colour filter
    • H04N2209/046Colour interpolation to calculate the missing colour values

Definitions

  • the present invention relates to an imaging device, an image processing device, an image processing method, a program for the image processing method, and a recording medium on which a program for the image processing method is recorded, and can be applied to, for example, a digital still camera.
  • the present invention removes noise by converting the pixel value of each pixel of interest into the pixel value for noise removal based on the pixel value of the processing reference having the same color signal component in each pixel of interest. After that, by inversely converting the original pixel value, it is possible to effectively avoid the deterioration of the image quality and to remove the color noise included in the RAW data.
  • the R AW data sequentially obtained by the pixel array of the image sensor is demosaiced to generate a full-color image, which is then converted into image data of luminance signal and color difference signal and recorded on a recording medium.
  • Such noise in color images is classified into luminance noise, which is the noise of the luminance signal component, and color noise, which is the noise of the color signal component excluding the luminance signal component, and image quality is improved by removing the color noise. It is known that it can be remarkably improved.
  • Japanese Unexamined Patent Application Publication No. 2 0 0 5-3 1 1 4 5 5 discloses that by selecting a suitable peripheral pixel for noise reduction processing and performing noise reduction processing using the selected peripheral pixel, A method for efficiently removing noise at the RAW data stage has been proposed.
  • One way to solve this problem is to remove noise at the luminance signal and chrominance signal stages. According to this method, it is considered that color noise can be removed without affecting the luminance signal.
  • demosaicing is performed with noise still mixed, and there is a problem that affects demosaicing when there is a lot of noise.
  • the edge is reproduced in demosaic processing or the like by the method disclosed in Japanese Patent Laid-Open No. 2 0 0 4-2 2 1 8 3 8, the edge is erroneously reproduced due to noise.
  • the edge part is displayed in the wrong color, and color noise occurs on the contrary, and the image quality may be significantly degraded.
  • the noise characteristics have changed in a complex manner due to a series of processing from the raw data, and as a result, there is a problem that the color noise cannot be completely removed.
  • the configuration of the noise removal circuit may not be provided due to restrictions on the configuration of the signal processing circuit and the like. In this case, there is a problem that cannot be applied. Disclosure of the invention
  • the present invention has been made in consideration of the above points.
  • An imaging apparatus, an image processing apparatus, an image processing method, an image which can effectively eliminate deterioration in image quality and remove color noise included in the RAW data.
  • the present invention is applied to an imaging apparatus, an imaging unit that outputs RAW data, and a target pixel is sequentially set in a mosaic image based on the RAW data, and each target pixel has the same color.
  • a noise removing unit that converts the noise-removed pixel value from which the noise has been removed by the noise removing unit into an original pixel value by processing reverse to the converting unit, and the inverse converting unit By image values processed by And a demosaic unit that generates a full-color image data by demosaicing the image.
  • the present invention is applied to an image processing apparatus that suppresses noise in the raw data sequentially obtained by the pixel arrangement of the image sensor, and sequentially sets the target pixel in the mosaic image by the RAW data,
  • a conversion unit that converts the pixel value of the pixel of interest into a pixel value for noise removal based on the pixel value of the processing reference having the same color signal component in the noise, and noise from the pixel value for noise removal
  • a noise removing unit that removes noise
  • an inverse converting unit that converts the noise-removed pixel value from which the noise has been removed by the noise removing unit into an original pixel value by processing reverse to the converting unit.
  • the present invention is applied to an image processing method for suppressing noise in the RAW data sequentially obtained by the pixel arrangement of the image sensor, and sequentially sets the attention pixel in the mosaic image based on the RAW data, so that each attention pixel A conversion step of converting the pixel value of the pixel of interest into a pixel value for noise removal based on a pixel value for processing reference having the same color signal component, and noise from the pixel value for noise removal.
  • the present invention is applied to a program of an image processing method for suppressing noise of RAW data obtained sequentially with a pixel array of an image sensor, and sequentially sets a target pixel in a mosaic image based on the RAW data.
  • a conversion step of converting the pixel value of the pixel of interest into a pixel value for noise removal based on a processing reference pixel value having the same color signal component, and from the pixel value for noise removal A noise removal step that removes noise and an inverse transformation that converts the noise-removed pixel value from which the noise has been removed in the noise removal step to the original pixel value by a process reverse to the conversion step. The steps are provided.
  • the present invention is applied to a recording medium on which a program of an image processing method for suppressing noise of RAW data sequentially obtained by a pixel arrangement of an image sensor is recorded, and the program of the image processing method includes a mosaic image based on the RAW data.
  • the target pixel is set in order, and the pixel value of the processing standard that has the same color signal component in each target pixel.
  • the conversion step of converting the pixel value of the pixel of interest into the pixel value for noise removal, the noise removal step of removing noise from the pixel value for noise removal, and the inverse of the conversion step And a reverse conversion step of converting the noise-removed pixel value from which noise has been removed in the noise-removing step into an original pixel value.
  • noise is removed from the pixel value for noise removal based on the pixel value of the processing reference having the same color signal component in each pixel of interest.
  • Color noise can be suppressed by sufficiently reducing the influence on the signal. Therefore, it is possible to effectively avoid the deterioration of image quality and remove the color noise included in the R A W data.
  • FIG. 1 is a block diagram showing a digital still camera according to Embodiment 1 of the present invention.
  • FIG. 2 is a block diagram showing configurations of an optical correction unit and an image processing unit in the digital still camera of FIG.
  • FIG. 3 is a plan view showing the arrangement of pixels of the image sensor in the digital still camera of FIG.
  • FIG. 4 is a plan view for explaining the processing of the simple demosaic unit 15 in the optical correction unit of FIG.
  • FIG. 5 is a plan view showing a continuation of FIG.
  • FIG. 6 is a plan view for explaining the blue pixel processing of the simple demosaic unit 15 in the optical correction unit of FIG.
  • FIG. 7 is a plan view showing a continuation of FIG.
  • FIG. 8 is a plan view for explaining the noise removing unit in the optical correcting unit of FIG.
  • FIG. 9 is a plan view for explaining the processing of the red pixel of the simple demosaic unit 18 in the optical calibration unit of FIG.
  • FIG. 10 is a plan view for explaining the blue pixel processing of the simple demosaic unit 18 in the optical correction unit of FIG.
  • FIG. 11 is a plan view showing a continuation of FIG.
  • FIG. 12 is a plan view showing a continuation of FIG.
  • FIG. 13 is a block diagram showing an edge discrimination demosaic unit in the image processing unit of FIG.
  • FIG. 14 is a plan view for explaining the weight calculation unit 23 of the edge discrimination demosaic unit in FIG.
  • FIG. 15 is a plan view for explaining the continuation of FIG.
  • FIGS. 16 (A) and 16 (B) are plan views for explaining the processing of the simple demosaic units 15 and 18 in another embodiment.
  • FIG. 1 is a block diagram showing a digital still camera according to an embodiment of the present invention.
  • the image pickup device 3 is constituted by a CCD (Charge Coupled Device; solid-state image pickup device, a CMOS (Complementary Metal-Oxide Semiconductor) solid-state image pickup device, etc.
  • the image pickup device 3 is not shown.
  • the optical image formed on the imaging surface by photoelectric conversion is photoelectrically processed, and red, blue, and green pixel values are sequentially output in the order corresponding to the Bayer array.
  • the preprocessing unit 4 performs correlated double sampling processing, automatic gain adjustment processing, analog-digital conversion processing on the output signal of the image sensor 3, and outputs R AW data D1.
  • the optical correction unit 5 performs defect correction processing and white balance adjustment processing on the R AW data D 1 output from the preprocessing unit 4 and outputs R AW data D 2. Furthermore, the optical correction unit 5 is used when the R AW data D 1 cannot be acquired with a sufficient SN ratio, such as when shooting with a short charge accumulation time of a predetermined time or less, or when the user has color noise. When removal processing is instructed, color noise removal processing is executed and RAW data D2 is output.
  • the image processing unit 6 performs demosaic processing, resolution conversion processing, gamma correction processing, image quality correction processing, and the like on the RAW data D2, converts it into image data D3 of a luminance signal and a color difference signal, and outputs it.
  • the digital still camera 1 displays the image data D3 processed by the image processing unit 6 on a display device (not shown) and displays a monitor image of the imaging result.
  • the encoder (ENC) 7 compresses and outputs the image data D3 output from the image processing unit 6 by a still image encoding method such as JPEG (Joint Photographic Coding Experts Group).
  • JPEG Joint Photographic Coding Experts Group
  • the interface (IF) 8 records the output data of the encoder 7 or the RAW data D 2 output from the optical correction unit 5 on the recording medium 9.
  • the recording medium 9 is a memory card in this embodiment, and records various data output from the interface 8.
  • the recording medium 9 is not limited to a memory card, and various recording media such as an optical disk and a magnetic disk can be widely applied.
  • FIG. 2 is a block diagram showing a configuration relating to removal of color noise in the optical correction unit 5 and the image processing unit 6.
  • the optical correction unit 5 inputs the RAW data D 1 into the buffer (B) 11.
  • the RAW data D 1 is image data in which the pixel values of the respective pixels are successively arranged in the order of the Bayer array of the image sensor 3
  • FIG. 3 is a plan view showing the Bayer array of the image sensor 3 It is.
  • green and red pixels Gr and R are alternately arranged on the odd lines, and blue and green pixels B and Gb are alternately arranged on the following even lines, and the block of 2 pixels X 2 pixels is repeated. It is formed by returning.
  • RAW data D1 is stored in buffer 1 1 by alternately repeating green and red pixel values for odd lines corresponding to this array of lines, and blue and green pixel values for even lines. Repeated and stored in buffer 1 1.
  • the pixel values and image data of green, red, and blue are indicated using the corresponding pixel codes Gr, Gb, R, and B as appropriate.
  • Peripheral pixel reference section 1 2 is composed of a buffer for a certain area. Buffer 1 1
  • the image data G r, G b, R, and B are read out and output for each predetermined size sequentially from the R AW data D 1 stored in.
  • the peripheral pixel reference unit 12 sequentially sets a target pixel on the mosaic image based on the R AW data D 1 by processing the image data G r, G b, R, and B, and the image value of the target pixel and the peripheral pixel are set. Outputs pixel values sequentially.
  • the four-color separation unit 13 uses the image data Gr, Gb, R, and B sequentially output from the peripheral pixel reference unit 12 as the 4 pixels in the 2 pixel ⁇ 2 pixel block arrangement described above with reference to FIG. Separated image data for output.
  • the white balance section (WB) 30 outputs the white balance of the image data Gr, Gb, R, and B output from the four-color separation section 13 and outputs them.
  • the noise removing unit 14 removes color noise from the image data Gr, Gb, R, and B output from the white balance unit 30 and outputs the result.
  • the simple demosaic unit 15 is connected to the image data G r, G output from the four-color separation unit 13 by a simple calculation process compared to the demosaic process in the image processing unit 6.
  • b, R, B are demosaiced. More specifically, the noise removing unit 14 generates, for each pixel of interest, a processing reference pixel value having the same color signal component in each pixel of interest from the neighboring pixels of the pixel of interest.
  • the green pixel value is applied to the pixel value of the processing reference, and the simple demosaic unit 15 generates the processing reference pixel value for only the red and blue pixels R and B.
  • the simple demosaic unit 15 obtains the green pixel values at the spatial positions of the red and blue pixels R and B, respectively, by the trapping calculation process using the pixel values of the green pixels G r and G b that contact P. Calculate and generate pixel values for the processing standard for these red and blue pixels R and B, respectively.
  • the noise removal unit 14 uses green pixels G b 0, G r adjacent to the red pixel R 2. 2. Average the pixel values of Gr3, Gb2, and obtain the green pixel value Gx2 at the spatial position of the target pixel R2. The noise removal unit 14 sets the calculated green pixel value GX 2 to the processing reference pixel value of the red pixel R 2. Similarly, for the blue pixel B, the pixel values of the adjacent green pixels are averaged to obtain the blue image. The pixel value of the green pixel at the spatial position of element B 1 is calculated and set to the processing reference pixel value Gy. The simple demosaic unit 15 uses the calculated green pixel values Gx and Gy at the positions of the red and blue pixels R and B as the pixel values G r, Gb, R, output from the four-color separation unit 13. Output with B.
  • the color difference calculation unit 16 uses the pixel values Gr, Gb, R, B, Gx, and Gy output from the simple demosaic unit 15 to generate red and blue pixel pixels based on the processing reference pixel values. A pixel value for noise removal representing the value is generated. More specifically, in this embodiment, the color difference calculation unit 16 calculates a color difference from the pixel values G r, Gb, R, B, Gx, and Gy output from the simple demosaic unit 15, and in this embodiment, This pixel value of the color difference is applied to the pixel value for noise removal.
  • the pixel value of the color difference based on the pixel value of the processing standard does not only indicate the pixel value of the color difference in the luminance signal and the color difference signal, but in a broad sense, by comparison with the color signal component included in the processing standard. This is a pixel value representing the hue of the pixel of interest.
  • the color difference calculation unit 16 since the green pixel value is applied to the processing reference pixel value, the color difference calculation unit 16 only determines the green pixel value for the red and blue pixel R and B pixel values. Calculate the color difference for. That is, as shown in FIG. 5 in comparison with FIGS. 3 and 4, the color difference C r 2 of the red pixel R 2 is the pixel value Gx of the processing reference calculated at the position of the red pixel R 2. 2 is subtracted from the pixel value R2 of this red pixel R2, and the resulting subtraction value (R2 – Gx2) is set to the color difference of the red pixel R2. Further, as shown in FIG.
  • the processing reference pixel value Gy 2 calculated at the position of the blue pixel B 1 is used as the blue pixel B 1. Is subtracted from the pixel value of, and the subtraction value (B 1 –Gy 1) is set to the color difference C b 1 of the blue pixel B 1.
  • the color difference calculation unit 16 performs this color difference calculation on all of the red and blue pixels R and B, and as a result, as shown in FIG. 7 in comparison with FIG. 3, the red pixel R and the blue pixel are calculated.
  • the B pixel values are converted into color difference pixel values Cr and Cb based on the green pixel values, respectively.
  • the noise removal unit 17 executes noise removal processing for each of the red and blue color differences calculated by the color difference calculation unit 16 and outputs the result. Specifically, in this example, in FIG. As shown, noise is removed using a 9 pixel by 9 pixel ⁇ filter. For example, when noise is removed from the color difference C rc of the red pixel, the 9 pixel by 9 pixel region centered on this red pixel contains the color difference of 25 red pixels as shown by hatching. Will be. Therefore, the noise removal unit 17 removes the noise of the pixel of interest by processing the color difference of these 25 pixels with the ⁇ filter. Similarly, the color difference of blue pixels is processed to remove noise.
  • the original green pixel values G r and G b, or the original green pixel values G r and G b and the green pixel values Gx and Gy calculated by the simple demosaic unit 15 are also used.
  • the noise removal process may be executed.
  • the simple demosaic unit 18 calculates the green pixel values Gx and Gy at the spatial positions of the red and blue pixels by the same interpolation calculation process as the simple demosaic unit 15.
  • the simple demosaic unit 18 is connected to the green pixels G b 0, G r 2, G r 3, Average the pixel values of Gb 2 and set the average value to the green pixel value G x at the spatial position of the pixel of interest R 2.
  • the pixel values of the adjacent green pixels are averaged and set to the green pixel value Gy at the spatial position of the blue pixel B.
  • the RB calculation unit 19 calculates the pixel values of the red pixel R and the blue pixel B using the green pixel values Gx and Gy calculated by the simple demosaic unit 18. That is, the RB calculation unit 19 adds the green pixel value Gx at the spatial position of the red pixel R calculated by the simple demosaic unit 18 to the color difference C r 2 of the pixel to calculate the pixel value of the red pixel R. . Accordingly, the pixel value R 2 of the red pixel R 2 shown in FIG. 9 is expressed by C r 2 + Gx 2. As shown in FIGS.
  • the green pixel value G y based on the average value of the adjacent green pixels G rl, Gb O, Gb l, G r 3 is also shown. 1 is added to the color difference C b .l of the blue pixel B 1 to calculate the pixel value of the blue pixel B 1.
  • RAW data By executing this color difference calculation for all of the red and blue pixels R and B, as shown in FIG. 12 and FIG. RAW data in which the green, red, and blue color signals are repeated in the corresponding order.
  • the data D 2 is generated, and the optical correction unit 5 outputs the raw data D 2 to the image processing unit 6 and the interface 8.
  • the processing standard pixel values G x and G y generated by the simple demosaic unit 15 are used in the processing of the RB calculation unit 19. In this way, the processing in the simple demosic unit 18 may be omitted.
  • the edge discrimination demosic unit 20 performs demosaic processing on the RAW data D 2 output from the optical correction unit 5, and red, green, and blue colors at the spatial position of each pixel of the image sensor 3. Generate full-color image data with data R, G, B. In this process, the edge discrimination demosaic unit 20 reproduces the edge with high accuracy by performing an interpolation calculation process on the pixel value of the target pixel using the pixel value in the extension direction of the edge.
  • FIG. 13 is a block diagram showing the configuration of the edge discrimination demosaic unit 20.
  • the edge discrimination demosaic unit 20 inputs the R AW data D 2 output from the optical correction unit 5 to the target pixel determination unit 21, where the target pixel is sequentially switched, and the local pixel centered on each target pixel.
  • the pixel value of the area is output.
  • this local region is set to, for example, a region of 7 pixels ⁇ 7 pixels centered on the target pixel.
  • the edge direction calculation unit 22 calculates an image gradient from the pixel value output from the target pixel determination unit 21 for each local region, and calculates an edge direction vector VI indicating the direction in which the edge extends.
  • the edge strength is detected from the magnitude of the image gradient in the direction orthogonal to the direction determined by the edge direction vector V1 and output.
  • the weight calculation unit 23 selects a pixel value to be used for the interpolation calculation processing based on the edge direction vector V 1 calculated by the edge direction calculation unit 22 and further calculates a weight coefficient for each pixel value.
  • the weight calculation unit 23 has a distance d 1, d 2, d 3, and a distance of each pixel with respect to a straight line L passing through the target pixel in the direction determined by the edge direction vector VI. d Calculate 4,.
  • the distances dl, d2, d3, d4,... are determined by a predetermined threshold value Th1, and the distances dl, d2, d3, d4,. Select one or less pixels as pixels to be used for the interpolation calculation process.
  • a first weighting coefficient wi for weighting each selected pixel is generated. Also, as shown in Fig. 15, the distances I 1, 1 2, 1 3, 14,... Of the pixels selected from the target pixel in the direction determined by the edge direction vector V 1 are calculated. Generates a second weighting factor W2 that weights each selected pixel so that the value increases as 1, 1, 2, 1, 3, 14,.
  • the first interpolation unit 24 calculates the pixel value of the target pixel by interpolation calculation processing by weighted addition of corresponding pixel values using the first and second weighting factors W1 and W2, respectively.
  • the weighted addition result using the first and second weighting factors W1 and W2 is averaged and the average value is output.
  • the second interpolation unit 25 determines the edge strength obtained by the edge direction calculation unit 22 with a predetermined threshold value, and when the edge strength is equal to or less than the predetermined value, no consideration is given to the edge direction.
  • the pixel value of the target pixel is calculated and output from the pixel value in a predetermined range centered on the target pixel.
  • the selector 26 outputs the average value output from the first interpolation unit 24 as the pixel value of the target pixel. Also, the edge strength obtained by the edge direction calculation unit 22 is determined by a predetermined threshold value. If the edge strength is less than the predetermined value, the average value output from the first catching unit 24 is used instead. The output value of the second catching section 25 is selected and output.
  • the conversion unit 28 calculates the full-color image data D4 output from the edge discrimination demosic unit 20 by the calculation process of the following equation, and converts the image data D4 into a luminance signal, Convert to color difference image data D5 and output.
  • the conversion unit 28 corrects the coefficients in equations (1-1) to (1-3). In addition, a color adjustment process using a color conversion matrix is executed. Also set the gamma of the generated image data D5.
  • the YCC composition unit 29 generates image data D 5 to Y output from the YCC conversion unit 28.
  • CC image data D3 is generated and output to encoder 7, external device, etc.
  • this digital still camera 1 in the image sensor 3, an image signal in which the pixel values of red, blue, and green sequentially continue in the order corresponding to the Bayer array of the image sensor 3 is obtained.
  • the imaging signal is generated and subjected to analog-digital conversion processing by the preprocessing unit 4 to generate the R AW data D 1.
  • the optical correction unit 5 suppresses the noise of the raw data D1.
  • the raw data D2 is demosaiced to generate full-color image data, and the full-color image data D3 is converted into image data D3 based on the luminance signal and the color-difference signal.
  • the data is compressed by 7 and recorded on the recording medium 9. Further, when the user instructs recording with the R AW data, the R AW data D 2 output from the optical correction unit 5 is recorded in the recording medium 9.
  • the R AW data D 2 is selected as a pixel in the direction of the edge, and a full-color image is obtained by interpolation processing using the pixel value of the selected pixel.
  • Data D4 is generated. That is, in this case, for example, for the green pixel, the edge direction is detected from the neighboring pixels of red and blue, and the pixel values of red and blue are obtained by the catch calculation processing using the pixels in the edge direction. For red pixels, the edge direction is detected from neighboring pixels of green and blue, respectively, and the green and blue pixel values are obtained by interpolation processing using the pixels in the edge direction. For the blue pixels, the edge direction is detected from the neighboring pixels of red and green, and the red and green pixel values are obtained by interpolation processing using the pixels in the edge direction.
  • the interpolation calculation target pixel is switched for each pixel of interest according to the direction of the edge, and demosaic processing is performed.
  • the noise mixed in the RAW data D 2 has a complicated characteristic change. Therefore, it is mixed in the full-color image data D4. Therefore, after demosaic processing in this way, it is not easy to remove color noise.
  • the image processing unit 6 when the image processing unit 6 is configured as in this embodiment, it is necessary to remove noise at the stage of the raw data before demosaic processing by the image processing unit 6, but each color is simply If noise removal processing is performed for each pixel, the luminance signal will be affected, and the edges will be displayed in wrong colors, which may significantly degrade the image quality.
  • the target pixel is sequentially set by the peripheral pixel reference unit 12, and the pixel values of the target pixel and the peripheral pixel are It is input to the simple demosaic unit 1 5 through the 4 color separation unit 1 3.
  • the R AW data D 1 is calculated as a processing reference pixel value having the same color signal component for each target pixel.
  • the pixel value for noise removal is converted to a pixel value for noise removal based on the pixel value of the processing reference, and the noise removal unit 17 removes noise from the pixel value for noise removal. After that, it is converted to the original pixel value.
  • the digital still camera 1 can remove only the color noise without affecting the luminance signal as compared with the case where the color signal of each pixel is directly removed. Compared to the above, it is possible to effectively avoid the deterioration of image quality and remove the color noise contained in the RAW data.
  • the noise is removed, it is converted to the original RAW data, so that it can be easily combined with noise removal processing for other RAW data to further enhance the noise removal effect.
  • the Bayer array of the image sensor 3 has a repetition of a block of 2 pixels X 2 pixels by two green pixels G r and G b and red and blue pixels R and B.
  • the pixel value of the green pixel among these pixels is set to the pixel value of this processing reference, and the color difference of each pixel of interest is a noise removal image. It is calculated as an elementary value. Therefore, noise removal processing can be executed for the green pixel value with the largest number of pixels in the RAW data D2, without obtaining any color difference. Therefore, in the digital still camera 1, the processing reference pixel value is set to the green pixel value, and the calculation of the processing reference is omitted for the green pixel, thereby simplifying the overall configuration.
  • a processing reference pixel value having the same color signal component is generated from a neighboring pixel of the target pixel, and each noise removal pixel value based on the processing reference pixel value is set for each pixel value.
  • the pixel value of the green pixel is set as the processing reference pixel value, and the difference between the processing reference pixel value and the red or green pixel value is set.
  • the processing can be simplified for the green pixel, and the green pixel that constitutes the R AW data
  • the noise can be further reduced by removing the noise from the pixel value of the green pixel or the pixel value of the green pixel and the generated pixel value of the processing reference.
  • the median value of the neighboring green pixel is applied to the green pixel values G x and G y which are the processing standards.
  • the digital still camera of this embodiment is configured in the same way as the digital still camera 1 of the above-described embodiment 1 except that the configuration for generating the pixel values of the processing reference is different.
  • the simple demosaic unit 15 has, for the red pixel R 2, the green pixels G b 0, G r 2, G r 3, G b adjacent to the red pixel. Sort the 2 pixel values in ascending order, and calculate the average of the 2nd and 3rd pixel values of the sorting result. The simple demosaic unit 15 sets the average value as the median value to the green pixel value at the position of the red pixel R2. The Similarly, for blue pixels, sort the pixel values of adjacent pixels to find the median value, and set it to the green pixel value. In this process, median values of a wider range of pixels may be applied instead of the median values of the four adjacent pixels.
  • the simple demosaic unit 18 calculates the green pixel value at the position of the red pixel and the blue pixel by the same calculation process, and generates the original RAW data.
  • the same effect as in the first embodiment can be obtained even if the median value of the neighboring green pixel is applied.
  • the green pixel value at the spatial position of the red pixel and the blue pixel is calculated.
  • This embodiment has the same configuration as the above-described embodiment except that this calculation method is different.
  • the image sensor 3 is formed by repeating a block of 2 pixels ⁇ 2 pixels in the Bayer array, and the arrangement of the pixels of the block of 2 pixels ⁇ 2 pixels is configured as shown in FIG. 16 (A). It is assumed that Here, it is assumed that the spatial position of the red pixel R and the blue pixel B in FIG. 14 is the center position of the block of 2 pixels ⁇ 2 pixels indicated by the point P. In accordance with this assumption, the simple demosaic units 15 and 18 are connected to the green pixels G r and G b of the block of 2 pixels X 2 pixels as shown in FIGS. 16 (A) and 16 (B). The average value is set to the green pixel value at the spatial position of red pixel R and blue pixel B.
  • a pixel value for noise removal is generated instead of subtracting the pixel values GX and Gy of the t color, which is the processing standard, from the pixel values R and B of the red and blue pixels, respectively.
  • a pixel value for noise removal is generated based on a ratio of the green pixel values G x and G y to the corresponding pixel values R and B of the red and blue pixels.
  • the digital still camera of this embodiment is configured in the same manner as the digital still camera 1 of the above-described embodiment except that the configuration regarding the color difference is different.
  • the color difference calculation unit 16 uses the processing reference pixel value G x calculated at the position of the red pixel R for the color difference Cr of the red pixel R, and the pixel of the red pixel R Divide the value R and set the divided value R / GX as the pixel value for noise removal of this red pixel R.
  • the pixel value B of this blue pixel B is divided by the processing reference pixel value G y calculated at the position of this blue pixel B, and the divided value B / G Set y to the pixel value for noise removal of this blue pixel B.
  • the RB calculation unit 19 multiplies the green pixel values G x and G y corresponding to the noise-removed color differences Cr and Cb, respectively, to obtain the original pixels. Convert to values R and B.
  • the luminance value is applied to the pixel value of the processing reference instead of the green pixel value.
  • the digital still camera of this embodiment is configured in the same way as the digital still camera 1 of the above-described embodiment except that the configuration relating to the pixel value of the processing reference is different.
  • the simple demosaic unit 15 is configured such that, for the green pixel, the red pixel and the blue pixel at the spatial position of each green pixel are obtained by a gap calculation process using the pixel values of the adjacent red pixel and blue pixel. The pixel value of is calculated. Similarly, for the red pixel, the pixel values of the green pixel and the blue pixel at the spatial position of each red pixel are calculated by interpolation calculation processing using the pixel values of the adjacent green pixel and blue pixel. Similarly, for the blue pixel, the interpolation processing using the pixel values of the adjacent red pixel and green pixel results in the red pixel and green image at the spatial position of each blue pixel. Calculate the prime pixel value.
  • the simple demosaic unit 15 calculates a luminance value for each pixel based on the calculation result. Note that this brightness value may be calculated simply by adding the pixel values of red, green, and blue. In addition, the calculation of the equation (1-1) is executed accurately. The luminance value of each pixel may be calculated.
  • the color difference calculation unit 16 calculates the pixel values (R—Y) and (B—Y) of the color difference for each pixel using the pixel value Y of this processing reference.
  • the pixel value of the color difference may be calculated using the equations (1-2) and (11-13).
  • the noise removal unit 17 performs noise removal processing on the color difference pixel values.
  • the simple demosaic unit 18 and the RB calculation unit 19 convert the pixel value of the color difference subjected to the noise removal processing into the pixel value of the original mosaic image. In this case, if the pixel value of the color difference is calculated using the equations (1 1 2) and (1-3), each pixel value is calculated by the following equation.
  • the simple demosaic units 15 and 18 are configured using the second interpolation unit 25 in the edge discrimination demosaic unit 20.
  • the present invention is not limited to this, and when the color noise is removed using wavelet transform or the like, the high frequency component and the low frequency are removed.
  • Various noise removal methods can be widely applied, for example, when removing color noise by band separation into components, or when removing noise using a lateral filter or trilateral filter.
  • the noise removal unit 17 simply removes the noise of the raw data.
  • the present invention is not limited to this, and noise is combined with other various noise removal methods. You may make it remove.
  • the present invention is not limited to this, and a video camera that shoots moving images, and various image processing devices that process RAW data. It can be widely applied to various image processing programs.
  • the image processing program may be provided by being installed in advance in a computer, an image processing device, or the like. Alternatively, the image processing program may be recorded on various recording media such as an optical disk, a magnetic disk, or a memory card. It may be provided, or may be provided by downloading via a network such as the Internet.
  • the present invention can be applied to, for example, a digital still camera.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Color Television Image Signal Generators (AREA)
  • Image Processing (AREA)
  • Color Image Communication Systems (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

本発明は、画質の劣化を有効に回避してRAWデータに含まれる色ノイズを除去することを目的とする。本発明は、RAWデータによるモザイク画像に順次注目画素を設定し、各注目画素で同一の色信号成分を有している処理基準の画素値を基準にしたノイズ除去用の画素値に変換し、前記ノイズ除去用の画素値からノイズを除去し、ノイズを除去された前記ノイズ除去用の画素値を元の画素値に変換することにより、輝度信号に影響を与えることなく、色ノイズのみを除去することができる。

Description

明細書
撮像装置、 画像処理装置、 画像処理方法、 画像処理方法のプログラム及ぴ画像 処理方法のプログラムを記録した記録媒体
発明の背景
技術分野
本発明は、 撮像装置、 画像処理装置、 画像処理方法、 画像処理方法のプロダラ ム及び画像処理方法のプログラムを記録した記録媒体に関し、 例えばデジタルス チルカメラに適用することができる。 本発明は、 各注目画素で同一の色信号成分 を有している処理基準の画素値を基準にしたノイズ除去用の画素値に、 各注目画 素の画素値を変換してノイズを除去した後、 元の画素値に逆変換することにより 、 画質の劣化を有効に回避して R A Wデータに含まれる色ノィズを除去すること ができるようにする。 背景技術
従来、 デジタルスチルカメラでは、 撮像素子の画素配列で順次得られる R AW データをデモザイク処理してフルカラー画像を生成した後、 輝度信号、 色差信号 の画像データに変換して記録媒体に記録している。 このようなカラー画像のノィ ズは、 輝度信号成分のノイズである輝度ノイズと、 輝度信号成分を除いた色信号 成分のノイズである色ノイズとに分類され、 色ノイズを除去することにより画質 を格段に向上できることが知られている。
デジタルスチルカメラに関して、 日本特開 2 0 0 5— 3 1 1 4 5 5公報には、 ノイズリダクション処理に適切な周辺画素を選択し、 この選択した周辺画素を用 いてノイズリダクション処理することにより、 R AWデータの段階で効率良くノ ィズを除去する方法が提案されている。
また日本特開 2 0 0 4 - 2 2 1 8 3 8公報には、 エッジの延長方向に沿った所 定範囲の画素値を用いて注目画素の画素値を補間演算処理することにより、 デモ ザイク処理等において、 エッジを精度良く再現する方法が提案されている。 ところで R AWデータの段階で色ノィズ除去すると、 輝度信号成分にまで影響 を与え、 各色信号の輝度値までも変化する問題がある。 その結果、 エッジ部分等 が誤った色で表示され、 著しく画質が劣化する場合がある。
この問題を解決する 1つの方法として、 輝度信号、 色差信号の段階でノイズ除 去することが考えられる。 この方法によれば、 輝度信号に影響を与えることなく 、 色ノイズを除去することができると考えられる。
しかしながらこの方法では、 ノィズが混入したままの状態でデモザイク処理す ることになり、 ノイズの混入が多い場合に、 デモザイク処理に影響を与える問題 がある。 具体的に、 例えば日本特開 2 0 0 4— 2 2 1 8 3 8公報に開示された手 法により、 デモザイク処理等においてエッジを再現する場合には、 ノイズにより 誤ってエッジを再現することになり、 エッジ部分等が誤った色で表示され、 また 却って色ノイズが発生し、 著しく画質が劣化する場合がある。 また輝度信号及び 色差信号の段階では、 R AWデータからの一連の処理によりノイズの特性が複雑 に変ィ匕しており、 その結果、 色ノイズを除去しきれない問題もある。 また信号処 理回路等の構成上の制約から、 ノイズ除去回路の構成を設けられない場合もあり 、 この場合には、 適用できない問題もある。 発明の開示
本発明は以上の点を考慮してなされたもので、 画質の劣化を有効に回避して R AWデータに含まれる色ノイズを除去することができる撮像装置、 画像処理装置 、 画像処理方法、 画像処理方法のプログラム及び画像処理方法のプログラムを記 録した記録媒体を提案しょうとするものである。
上記の課題を解決するため本発明は、 撮像装置に適用して、 R AWデータを出 力する撮像部と、 前記 R A Wデータによるモザイク画像に順次注目画素を設定し 、 各注目画素で同一の色信号成分を有している処理基準の画素値を基準にしたノ ィズ除去用の画素値に、 前記注目画素の画素値を変換する変換部と、 前記ノイズ 除去用の画素値からノィズを除去するノィズ除去部と、 前記変換部とは逆の処理 により、 前記ノイズ除去部でノイズを除去した前記ノイズ除去用の画素値を、 元 の画素値に変換する逆変換部と、 前記逆変換部で処理した画像値によるモザィク 画像をデモザイク処理して、 フルカラーの画像データを生成するデモザイク部と を備えるようにする。
また本発明は、 撮像素子の画素配列で順次得られる R AWデータのノィズを抑 圧する画像処理装置に適用して、 前記 R A Wデ一タによるモザイク画像に順次注 目画素を設定し、 各注目画素で同一の色信号成分を有している処理基準の画素値 を基準にしたノイズ除去用の画素値に、 前記注目画素の画素値を変換する変換部 と、 前記ノイズ除去用の画素値からノイズを除去するノイズ除去部と、 前記変換 部とは逆の処理により、 前記ノィズ除去部でノィズを除去した前記ノィズ除去用 の画素値を、 元の画素値に変換する逆変換部とを備えるようにする。
また本発明は、 撮像素子の画素配列で順次得られる R AWデータのノイズを抑 圧する画像処理方法に適用して、 前記 R AWデータによるモザイク画像に順次注 目画素を設定し、 各注目画素で同一の色信号成分を有している処理基準の画素値 を基準にしたノイズ除去用の画素値に、 前記注目画素の画素値を変換する変換の ステップと、 前記ノィズ除去用の画素値からノイズを除去するノィズ除去のステ ップと、 前記変換のステップとは逆の処理により、 前記ノイズ除去のステップで ノィズを除去した前記ノィズ除去用の画素値を、 元の画素値に変換する逆変換の ステップとを備えるようにする。
また本発明は、 撮像素子の画素配列で順次得られる R A Wデータのノイズを抑 圧する画像処理方法のプログラムに適用して、 前記 R AWデータによるモザィク 画像に順次注目画素を設定し、 各注目画素で同一の色信号成分を有している処理 基準の画素値を基準にしたノィズ除去用の画素値に、 前記注目画素の画素値を変 換する変換のステップと、 前記ノィズ除去用の画素値からノイズを除去するノィ ズ除去のステップと、 前記変換のステップとは逆の処理により、 前記ノイズ除去 のステップでノイズを除去した前記ノィズ除去用の画素値を、 元の画素値に変換 する逆変換のステップとを備えるようにする。
また本発明は、 撮像素子の画素配列で順次得られる R A Wデータのノィズを抑 圧する画像処理方法のプログラムを記録した記録媒体に適用して、 前記画像処理 方法のプログラムは、 前記 R A Wデータによるモザイク画像に順次注目画素を設 定し、 各注目画素で同一の色信号成分を有している処理基準の画素値を基準にし たノィズ除去用の画素値に、 前記注目画素の画素値を変換する変換のステップと 、 前記ノイズ除去用の画素値からノイズを除去するノイズ除去のステップと、 前 記変換のステップとは逆の処理により、 前記ノイズ除去のステップでノイズを除 去した前記ノイズ除去用の画素値を、 元の画素値に変換する逆変換のステップと を備えるようにする。
本発明の構成によれば、 各注目画素で同一の色信号成分を有している処理基準 の画素値を基準にしたノィズ除去用の画素値において、 ノイズを除去しているこ とから、 輝度信号への影響を十分に低減して色ノィズを抑圧することができる。 従って画質の劣化を有効に回避して R A Wデータに含まれる色ノイズを除去する ことができる。 本発明によれば、 画質の劣化を有効に回避して R AWデータに含まれる色ノィ ズを除去することができる。 図面の簡単な説明
第 1図は、 本発明の実施例 1のデジタルスチルカメラを示すプロック図である 第 2図は、 第 1図のデジタルスチルカメラにおける光学補正部及び画像処理部 の構成を示すブロック図である。
第 3図は、 第 1図のデジタルスチルカメラにおける撮像素子の画素の配置を示 す平面図である。
第 4図は、 第 2図の光学捕正部における簡易デモザイク部 1 5の処理の説明に 供する平面図である。
第 5図は、 第 4図の続きを示す平面図である。
第 6図は、 第 2図の光学捕正部における簡易デモザイク部 1 5の青色画素の処 理の説明に供する平面図である。
第 7図は、 第 6図の続きを示す平面図である。
第 8図は、 第 2図の光学捕正部におけるノイズ除去部の説明に供する平面図で ある。 第 9図は、 第 2図の光学ネ翁正部における簡易デモザイク部 1 8の赤色画素の処 理の説明に供する平面図である。
第 1 0図は、 第 2図の光学捕正部における簡易デモザイク部 1 8の青色画素の 処理の説明に供する平面図である。
第 1 1図は、 第 1 0図の続きを示す平面図である。
第 1 2図は、 第 1 1図の続きを示す平面図である。
第 1 3図は、 第 2図の画像処理部におけるエッジ判別デモザイク部を示すプロ ック図である。
第 1 4図は、 第 1 3図のエッジ判別デモザイク部の重み算出部 2 3の説明に供 する平面図である。
第 1 5図は、 第 1 4図の続きの説明に供する平面図である。
第 1 6 (A) 図及び第 1 6 ( B ) 図は、 他の実施例における簡易デモザイク部 1 5、 1 8の処理の説明に供する平面図である。 発明を実施するための最良の形態
以下、 適宜図面を参照しながら本発明の実施例を詳述する。
( 1 ) 実施例 1の構成
第 1図は、 本発明の実施例のデジタルスチルカメラを示すブロック図である。 このデジタルスチルカメラ 1において、 撮像素子 3は、 C C D (Charge Coupled Device ; 固体撮像素子、 C MO S (Complementary Metal-Oxide Semiconductor ) 固体撮像素子等により構成される。 撮像素子 3は、 図示しないレンズュ -ット により撮像面に形成された光学像を光電変換処理し、 赤色、 青色、 緑色の画素値 をべィヤー配列に対応する順序で順次出力する。
前処理部 4は、 撮像素子 3の出力信号を相関二重サンプリング処理、 自動利得 調整処理、 アナログディジタル変換処理し、 R AWデータ D 1を出力する。
光学補正部 5は、 この前処理部 4から出力される R AWデータ D 1を欠陥補正 処理、 ホワイトバランス調整処理し、 R AWデータ D 2を出力する。 またさらに 光学捕正部 5は、 所定時間以下の短い電荷蓄積時間で撮影する場合等の、 十分な S N比により R AWデータ D 1を取得できない場合、 又はユーザーが色ノイズの 除去処理を指示した場合、 色ノイズの除去処理を実行し、 RAWデータ D2を出 力する。
画像処理部 6は、 この RAWデータ D 2をデモザィク処理、 解像度変換処理、 ガンマ補正処理、 画質補正処理等し、 輝度信号及び色差信号の画像データ D 3に 変換して出力する。 このデジタルスチルカメラ 1は、 この画像処理部 6で処理し た画像データ D 3を図示しない表示装置で表示し、 撮像結果のモニタ画像を表示 する。
エンコーダ (ENC) 7は、 例えば J PEG (Joint Photographic Coding Exp erts Group ) 等の静止画像の符号化方式により、 画像処理部 6から出力される画 像データ D 3をデータ圧縮して出力する。
インターフェース (I F) 8は、 このエンコーダ 7の出力データ、 又は光学補 正部 5から出力される RAWデータ D 2を記録媒体 9に記録する。 なお記録媒体 9は、 この実施例ではメモリカードであり、 インターフェース 8から出力される 各種のデータを記録する。 なおこの記録媒体 9は、 メモリカードに限らず、 光デ イスク、 磁気ディスク等、 種々の記録媒体を広く適用することができる。
第 2図は、 光学補正部 5及び画像処理部 6の色ノイズの除去に関する構成を示 すブロック図である。 この第 2図において、 光学捕正部 5は、 RAWデータ D 1 をバッファ (B) 1 1に入力する。 ここでこの RAWデータ D 1は、 撮像素子 3 のべィヤー配列の順序で順次各画素の画素値が連続する画像データであり、 第 3 図は、 この撮像素子 3のべィヤー配列を示す平面図である。 撮像素子 3は、 奇数 ラインに緑色及び赤色の画素 G r、 Rが交互に配置され、 続く偶数ラインに青色 及び緑色の画素 B、 Gbが交互に配置され、 2画素 X 2画素のプロックの繰り返 しにより形成される。 なお以下において、 この 1つのブロックにおける 2つの緑 色の画素を符号 G r、 Gbにより表す。 従って RAWデータ D 1は、 このべィャ 一配列に対応して奇数ラインでは緑色、 赤色の画素値が交互に繰り返されてバッ ファ 1 1に格納され、 偶数ラインでは青色、 緑色の画素値が繰り返されてバッフ ァ 1 1に格納される。 なお以下において、 緑色、 赤色、 青色の画素値及ぴ画像デ ータは、 適宜、 対応する画素の符号 G r、 Gb、 R、 Bを用いて示す。
周辺画素参照部 1 2は、 一定領域分のバッファにより構成され、 バッファ 1 1 に格納されている R AWデータ D 1から順次、 所定のサイズ毎に画像データ G r 、 G b、 R、 Bを読み出して出力する。 周辺画素参照部 1 2は、 この画像データ G r、 G b、 R、 Bの処理により R AWデータ D 1によるモザイク画像上に順次 注目画素を設定し、 この注目画素の画像値と周辺画素の画素値とを順次出力する 。
4色分離部 1 3は、 この周辺画素参照部 1 2から順次出力される画像データ G r、 G b、 R、 Bを、 第 3図について上述した 2画素 X 2画素のブロックの配置 における 4種類の画像データに分離して出力する。
ホワイ トバランス部 (WB ) 3 0は、 この 4色分離部 1 3から出力される画像 データ G r、 G b、 R、 Bをホワイトパランス調整して出力する。 ノイズ除去部 1 4は、 このホワイトバランス部 3 0から出力される画像データ G r、 G b、 R 、 Bから色ノイズを除去して出力する。 すなわちノイズ除去部 1 4において、 簡 易デモザイク部 1 5は、 画像処理部 6におけるデモザイク処理に比して簡易な演 算処理により、 4色分離部 1 3から出力される画像データ G r、 G b、 R、 Bを デモザイク処理する。 より具体的に、 ノイズ除去部 1 4は、 注目画素の近傍画素 から、 各注目画素で同一の色信号成分を有する処理基準の画素値を注目画素毎に 生成する。
この実施例では、 この処理基準の画素値に、 緑色の画素値が適用され、 簡易デ モザイク部 1 5は、 赤色、 青色の画素 R、 Bについてのみ、 処理基準の画素値を 生成する。 すなわち簡易デモザイク部 1 5は、 P舞接する緑色の画素 G r、 G bの 画素値を用いた捕間演算処理により、 それぞれ赤色、 青色の画素 R、 Bの空間位 置における緑色の画素値を計算し、 これら赤色、 青色の画素 R、 Bについて、 そ れぞれ処理基準の画素値を生成する。
すなわち第 3図及び第 4図に示すように、 ノイズ除去部 1 4は、 注目画素が赤 色の画素 R 2の場合、 この赤色の画素 R 2に隣接する緑色の画素 G b 0、 G r 2 、 G r 3、 G b 2の画素値を平均値化し、 注目画素 R 2の空間位置における緑色 の画素値 G x 2を求める。 ノイズ除去部 1 4は、 この計算した緑色の画素値 G X 2を、 この赤色の画素 R 2の処理基準の画素値に設定する。 また青色の画素 Bに ついても、 同様にして、 隣接する緑色の画素の画素値を平均値化して、 青色の画 素 B 1の空間位置における緑色画素の画素値を計算して処理基準の画素値 Gyに 設定する。 簡易デモザイク部 1 5は、 この計算した赤色、 青色の画素 R、 Bの位 置における緑色の画素値 Gx、 Gyを、 4色分離部 1 3から出力される画素値 G r、 Gb、 R、 Bと共に出力する。
色差計算部 1 6は、 簡易デモザイク部 1 5から出力される画素値 Gr、 Gb、 R、 B、 Gx、 Gyを用いて、 処理基準の画素値を基準にして赤色画素、 青色画 素の画素値を表すノイズ除去用の画素値を生成する。 より具体的に、 この実施例 において、 色差計算部 16は、 簡易デモザイク部 1 5から出力される画素値 G r 、 Gb、 R、 B、 Gx、 Gyから色差を計算し、 この実施例では、 この色差の画 素値がノイズ除去用の画素値に適用される。 なおこの処理基準の画素値を基準に した色差の画素値は、 輝度信号及び色差信号における色差の画素値だけを示すも のではなく、 広義に、 処理基準に含まれる色信号成分との対比により、 注目画素 の色相を表す画素値である。
ここでこの実施例では、 処理基準の画素値に緑色の画素値が適用されることか ら、 色差計算部 1 6は、 赤色、 青色の画素 R、 Bの画素値についてのみ、 緑色の 画素値に対する色差を計算する。 すなわち第 3図及び第 4図との対比により第 5 図に示すように、 赤色画素 R 2の色差 C r 2については、 この赤色画素 R 2の位 置で計算された処理基準の画素値 Gx 2を、 この赤色画素 R 2の画素値 R 2から 減算し、 その結果得られる減算値 (R2— Gx 2) を赤色画素 R2の色差に設定 する。 また第 6図に示すように、 青色画素 B 1の色差 C b 1については、 同様に 、 この青色画素 B 1の位置で計算された処理基準の画素値 Gy 2を、 この青色画 素 B 1の画素値から減算して、 減算値 (B l—Gy l) を青色画素 B 1の色差 C b 1に設定する。
色差計算部 16は、 赤色及び青色の画素 R及び Bの全てで、 この色差の計算を 実行し、 その結果、 第 3図との対比により第 7図に示すように、 赤色画素 R及び 青色画素 Bの画素値を、 それぞれ緑色の画素値を基準にした色差の画素値 C r、 Cbに変換する。
ノイズ除去部 1 7は、 色差計算部 1 6で計算した赤色及び青色の色差毎に、 そ れぞれノイズ除去処理を実行して出力する。 具体的にこの実施例では、 第 8図に 示すように、 9画素 X 9画素の εフィルタを用いてノイズを除去する。 ここで例 えば赤色画素の色差 C r cをノイズ除去する場合、 この赤色画素を中心とした 9 画素 X 9画素の領域には、 ハッチングで示すように、 25個の赤色画素の色差が 含まれていることになる。 そこでノイズ除去部 1 7は、 この 25画素の色差を ε フィルタで処理して注目画素のノイズを除去する。 また同様にして、 青色画素の 色差を処理してノイズを除去する。 なおこの場合に、 元の緑色の画素値 G r、 G bについても、 又はこの元の緑色の画素値 G r、 G bと簡易デモザイク部 1 5で 計算した緑色の画素値 Gx、 Gyについても、 ノイズ除去処理を実行するように してもよレ、。
簡易デモザイク部 18は、 簡易デモザイク部 1 5と同様の補間演算処理により 、 赤色の画素、 青色の画素の空間位置における緑色の画素値 Gx、 Gyを計算す る。
すなわち簡易デモザイク部 1 8は、 第 9図に示すように、 注目画素が赤色の画 素 R 2の場合、 この赤色の画素に隣接する緑色の画素 G b 0、 G r 2、 G r 3、 Gb 2の画素値を平均値化し、 平均値を注目画素 R 2の空間位置における緑色の 画素値 G xに設定する。 また青色の画素 Bについても、 同様にして、 隣接する緑 色の画素の画素値を平均値化して、 青色の画素 Bの空間位置における緑色の画素 値 Gyに設定する。
RB計算部 19は、 簡易デモザイク部 18で計算した緑色の画素値 Gx、 Gy を用いて、 赤色画素 R、 青色画素 Bの画素値を計算する。 すなわち RB計算部 1 9は、 簡易デモザイク部 18で計算した赤色画素 Rの空間位置における緑色の画 素値 Gxを、 当該画素の色差 C r 2に加算し、 赤色画素 Rの画素値を計算する。 従って第 9図に示す赤色画素 R 2の画素値 R 2は、 C r 2+Gx 2で表される。 また第 10図及び第 1 1図に示すように、 青色の画素 B 1についても、 隣接す る緑色の画素 G r l、 Gb O、 Gb l、 G r 3の平均値による緑色の画素値 G y 1を、 この青色の画素 B 1の色差 C b .lに加算して、 当該青色の画素 B 1の画素 値を計算する。 赤色及ぴ青色の画素 R及ぴ Bの全てで、 この色差の計算を実行す ることにより、 第 9図との対比により第 1 2図に示すように、 撮像素子 3のべィ ヤー配列に対応する順序で緑色、 赤色、 青色の色信号が繰り返される RAWデー タ D 2が生成され、 光学補正部 5は、 この R AWデータ D 2を画像処理部 6、 ィ ンターフェース 8に出力する。 なお例えば赤色及び青色の色差についてのみノィ ズ除去処理を実行する場合には、 簡易デモザイク部 1 5で生成した処理基準の画 素値 G x、 G yを、 R B計算部 1 9の処理で使用するようにして、 簡易デモザィ ク部 1 8における処理を省略するようにしてもよい。
画像処理部 6において、 ェッジ判別デモザィク部 2 0は、 この光学補正部 5か ら出力される R A Wデータ D 2をデモザイク処理し、 撮像素子 3の各画素の空間 位置で赤色、 緑色、 青色の色データ R、 G、 Bを有しているフルカラーの画像デ ータを生成する。 この処理において、 エッジ判別デモザイク部 2 0は、 エッジの 延長方向の画素値を用いて注目画素の画素値を補間演算処理することにより、 ェ ッジを精度良く再現する。
すなわち第 1 3図は、 エッジ判別デモザイク部 2 0の構成を示すプロック図で ある。 エッジ判別デモザイク部 2 0は、 光学補正部 5から出力される R AWデー タ D 2を注目画素決定部 2 1に入力し、 ここで注目画素を順次切り換えながら、 各注目画素を中心とした局所領域の画素値を出力する。 ここでこの実施例では、 この局所領域は、 例えば注目画素を中心とした 7画素 X 7画素の領域に設定され る。
エッジ方向算出部 2 2は、 局所領域毎に、 この注目画素決定部 2 1から出力さ れる画素値から画像勾配を計算し、 エッジの延長する方向を示すエッジ方向べク トル V Iを計算する。 またエッジ方向ベク トル V 1で決まる方向と直交する方向 の画像勾配の大きさ力 らエツジの強さを検出して出力する。
重み算出部 2 3は、 エッジ方向算出部 2 2で計算されたエッジ方向べクトル V 1により、 補間演算処理に使用する画素値を選択し、 さらに各画素値の重み係数 を計算する。 すなわち第 1 4図に示すように、 重み算出部 2 3は、 エッジ方向べ クトル V Iで決まる方向の、 注目画素を通る直線 Lに対して、 各画素の距離 d 1 、 d 2、 d 3、 d 4、 ……を計算する。 またこの距離 d l、 d 2、 d 3、 d 4、 ……を所定のしきい値 T h 1で判定し、 この距離 d l、 d 2、 d 3、 d 4、 …… がしきい値 T h 1以下の画素を補間演算処理に使用する画素に選択する。 またこ の距離 d l、 d 2、 d 3、 d 4、 ……が短くなるに従って値が大きくなるように 、 この選択した各画素をそれぞれ重み付けする第 1の重み係数 wiを生成する。 また第 1 5図に示すように、 エッジ方向ベク トル V 1で決まる方向の、 注目画素 から選択した各画素の距離 I 1、 1 2、 1 3、 14、 ……を計算し、 この距離 I 1、 1 2、 1 3、 14、 ……が短くなるに従って値が大きくなるように、 選択し た各画素をそれぞれ重み付けする第 2の重み係数 W 2を生成する。
第 1補間部 24は、 それぞれ第 1及び第 2の重み係数 W 1及ぴ W 2を用いた対 応する画素値の重み付け加算により、 注目画素の画素値を補間演算処理により計 算する。 またこの第 1及び第 2の重み係数 W 1及び W 2を用いた重み付け加算結 果を平均値ィヒし、 平均値を出力する。
第 2補間部 25は、 エッジ方向算出部 22で求めたエッジの強さを所定のしき い値で判定し、 エッジの強さが所定値以下の場合、 何らエッジの方向を考慮しな い、 注目画素を中心とした所定範囲の画素値から、 注目画素の画素値を計算して 出力する。
セレクタ 26は、 第 1補間部 24から出力される平均値を、 注目画素の画素値 として出力する。 またエッジ方向算出部 22で求めたエッジの強さを所定のしき い値で判定し、 エッジの強さが所定値以下の場合、 この第 1捕間部 24から出力 される平均値に代えて、 第 2捕間部 25の出力値を選択して出力する。
〇〇変換部28 (第 2図) は、 次式の演算処理により、 エッジ判別デモザィ ク部 20から出力されるフルカラーの画像データ D 4を演算処理し、 この画像デ ータ D4を輝度信号、 色差信号の画像データ D 5に変換して出力する。
Y = 0.29900 xR + 0.58700 xG + 0.11400 B …… (1— 1 )
Cb=-0.16874 R - 0.33126 xG + 0.50000 xB ·■·■■■ ( 1 -2)
Cr= 0.50000 xR - 0.41869 xG - 0.08131 xB ■■■·■' (1 -3) なぉ丫〇じ変換部28は、 この (1— 1) 〜 (1— 3) 式における係数を補正 して併せて色変換マトリクスを適用した色味調整処理等を実行する。 また生成し た画像データ D 5のガンマを設定する。
YCC合成部 29は、 YCC変換部 28から出力される画像データ D 5から Y C Cの画像データ D 3を生成してエンコーダ 7、 外部機器等に出力する。
( 2 ) 実施例 1の動作
以上の構成において、 このデジタルスチルカメラ 1では (第 1図) 、 撮像素子 3において、 撮像素子 3のべィヤー配列に対応する順序で赤色、 青色、 緑色の画 素値が順次連続する撮像信号が生成され、 この撮像信号が前処理部 4でアナログ ディジタル変換処理されて R AWデータ D 1が生成される。 デジタルスチルカメ ラ 1では、 光学捕正部 5において、 この R AWデータ D 1のノイズが抑圧される 。 また続く画像処理部 6において、 R AWデータ D 2がデモザイク処理されてフ ルカラーの画像データが生成され、 このフルカラーの画像データ D 3が輝度信号 及び色差信号による画像データ D 3に変換され、 エンコーダ 7によりデータ圧縮 されて記録媒体 9に記録される。 またユーザーが R AWデータによる記録を指示 した場合には、 光学補正部 5から出力される R AWデータ D 2が記録媒体 9に記 録される。
R AWデータ D 2は、 画像処理部 6におけるデモザイク処理において (第 1 3 図) 、 エッジの方向の画素が選択され、 この選択された画素の画素値を用いた補 間演算処理によりフルカラーの画像データ D 4が生成される。 すなわちこの場合 、 例えば緑色の画素については、 それぞれ赤色及び青色の近傍画素からエッジ方 向が検出され、 このエッジ方向の画素を用いた捕間演算処理により赤色及び青色 の画素値が求められる。 また赤色の画素については、 それぞれ緑色及び青色の近 傍画素からエッジ方向が検出され、 このエッジ方向の画素を用いた補間演算処理 により緑色及び青色の画素値が求められる。 また青色の画素については、 それぞ れ赤色及び緑色の近傍画素からエッジ方向が検出され、 このエツジ方向の画素を 用いた補間演算処理により赤色及び緑色の画素値が求められる。
従ってこのデジタルスチルカメラ 1では、 エッジの方向に応じて注目画素毎に 補間演算処理対象の画素が切り換えられてデモザイク処理され、 その結果、 R A Wデータ D 2に混入したノイズは、 複雑に特性が変化してフルカラーの画像デー タ D 4に混入していることになる。 従ってこのようにデモザイク処理した後では 、 簡単には色ノイズを除去できなくなる。
またデモザィク処理した後にノィズ除去する場合には、 そもそも R A Wデータ D 2を直接記録媒体 9に記録する場合に、 ノィズを除去できなくなる。
またさらにデモザイク処理の処理対象である R AWデータ D 2にノイズが混入 している場合、 エッジを誤検出し、 デモザイク処理後のフルカラーの画像データ D 4において、 不自然にエッジが強調されてしまうことになる。 また却って色ノ ィズが発生し、 著しく画質が劣化する恐れもある。
従つてこの実施例のように画像処理部 6を構成する場合には、 画像処理部 6で デモザイク処理する前の、 R AWデータの段階でノィズを除去することが必要に なるが、 単に、 各色の画素毎にノイズ除去処理を実行したのでは、 輝度信号が影 響を受け、 エッジ部分等が誤った色で表示され、 著しく画質が劣化する恐れがあ る。
そこでこの実施例では、 光学補正部 5において (第 2図) 、 R AWデータ D 1 は、 周辺画素参照部 1 2により、 順次注目画素が設定され、 この注目画素と周辺 画素との画素値が 4色分離部 1 3を介して簡易デモザイク部 1 5に入力される。 R AWデータ D 1は、 この簡易デモザイク部 1 5において、 注目画素毎に、 同一 の色信号成分を有している処理基準の画素値が計算される。 また続く色差計算部 1 6において、 この処理基準の画素値を基準にしたノイズ除去用の画素値に変換 され、 このノイズ除去用の画素値がノイズ除去部 1 7でノイズ除去される。 また その後、 元の画素値に変換される。
従ってデジタルスチルカメラ 1では、 直接各画素の色信号をそれぞれノイズ除 去する場合に比して、 格段的に、 輝度信号に影響を与えることなく、 色ノイズの みを除去することができ、 従来に比して画質の劣化を有効に回避して R AWデー タに含まれる色ノィズを除去することができる。
またノイズを除去した後には、 元の R AWデータに変換されていることにより 、 他の R AWデータに対するノイズ除去処理と容易に組み合わせて、 ノイズ除去 効果を一段と高めることもできる。
より具体的に、 この実施例では、 撮像素子 3のべィヤー配列が、 2つの緑色画 素 G r、 G bと、 赤色、 青色の画素 R、 Bとによる 2画素 X 2画素のブロックの 繰り返しで形成され、 光学捕正部 5では、 これらの画素のうちの緑色画素の画素 値がこの処理基準の画素値に設定されて、 各注目画素の色差がノィズ除去用の画 素値として求められる。 従って R AWデータ D 2において最も画素数の多い緑色 の画素値については、 何ら色差を求めなくても、 ノイズ除去処理を実行すること ができる。 従ってこのデジタルスチルカメラ 1では、 処理基準の画素値を緑色の 画素値に設定して緑色の画素については処理基準の計算を省略し、 全体構成が簡 略ィ匕される。
( 3 ) 実施例 1の効果
以上の構成によれば、 注目画素の近傍画素から同一の色信号成分を有している 処理基準の画素値を生成し、 この処理基準の画素値を基準にしたノィズ除去用の 画素値に各注目画素の画素値を変換してノイズを除去した後、 元の画素値に変換 することにより、 画質の劣化を有効に回避して R AWデータに含まれる色ノイズ を除去することができる。
また R AWデータを構成する赤色、 緑色、 青色の画素のうちの、 緑色画素の画 素値を処理基準の画素値に設定し、 この処理基準の画素値と赤色又は緑色の画素 値との差分値により色差の画素値を生成してノイズ除去用の画素値に設定するこ とにより、 緑色の画素については処理を省略して構成を簡略化することができる また R AWデータを構成する緑色画素の画素値、 若しくはこの緑色の画素の画 素値と生成した処理基準の画素値とからノイズを除去することにより、 一段とノ ィズを低減することができる。
( 4 ) 実施例 2
この実施例では、 処理基準である緑色の画素値 G x、 G yに、 近傍緑色画素の メディアン値を適用する。 この実施例のデジタルスチルカメラは、 この処理基準 の画素値を生成する構成が異なる点を除いて、 上述の実施例 1のデジタルスチル カメラ 1と同一に構成される。
すなわちこの実施例において、 簡易デモザイク部 1 5は、 第 3図に示すように 、 赤色画素 R 2については、 この赤色画素に隣接する緑色画素 G b 0、 G r 2、 G r 3、 G b 2の画素値を値の小さい順にソートし、 ソート結果の 2番目の画素 値と 3番目の画素値との平均値を計算する。 簡易デモザイク部 1 5は、 この平均 値をメディアン値としてこの赤色画素 R 2の位置における緑色の画素値に設定す る。 また同様にして、 青色画素について、 隣接画素の画素値をソートしてメディ アン値を求め、 緑色の画素値に設定する。 なおこの処理において、 隣接する 4画 素のメディアン値に代えて、 さらに広い範囲の画素のメディアン値を適用するよ うにしてもよい。
この簡易デモザイク部 1 5の処理に対応して、 簡易デモザイク部 1 8は、 同様 の演算処理により赤色画素及び青色画素の位置における緑色の画素値を計算し、 元の R AWデータを生成する。
この実施例のように、 処理基準である緑色の画素値を生成する際に、 近傍緑色 画素のメディアン値を適用するようにしても、 実施例 1と同様の効果を得ること ができる。
( 5 ) 実施例 3
この実施例では、 赤色画素及び対応する青色画素の空間位置が同一であるとし て、 赤色画素及び青色画素の空間位置における緑色の画素値を計算する。 なおこ の実施例では、 この計算方法が異なる点を除いて、 上述の実施例と同一に構成さ れる。
すなわち撮像素子 3は、 べィヤー配列が 2画素 X 2画素のブロックの繰り返し により形成されており、 この 2画素 X 2画素のブロックの画素の配置が第 1 6 ( A) 図に示すように構成されているものとする。 ここでこの第 1 4図における赤 色画素 R及び青色画素 Bの空間位置が、 点 Pにより示すこの 2画素 X 2画素のブ ロックの中央位置であると仮定する。 この仮定に従って簡易デモザイク部 1 5、 1 8は、 第 1 6 (A) 図及び第 1 6 ( B ) 図に示すように、 この 2画素 X 2画素 のブロックの緑色画素 G r、 G bの平均値を、 赤色画素 R及び青色画素 Bの空間 位置における緑色の画素値に設定する。
この実施例によれば、 赤色画素 R及び青色画素 Bの空間位置が同一であると仮 定して緑色画素値を計算することにより、 計算量を低減して上述の実施例と同様 の効果を得ることができる。
( 6 ) 実施例 4
この実施例では、 処理基準である t色の画素値 G X、 G yをそれぞれ赤色及ぴ 青色の画素の画素値 R及び Bから減算してノィズ除去用の画素値を生成する代わ りに、 これら緑色の画素値 G x、 G yと対応する赤色及び青色の画素の画素値 R 及び Bとの比によりノイズ除去用の画素値を生成する。 なおこの実施例のデジタ ルスチルカメラは、 この色差に関す構成が異なる点を除いて、 上述の実施例のデ ジタルスチルカメラ 1と同一に構成される。
すなわちこの実施例において、 色差計算部 1 6は、 赤色画素 Rの色差 C rにつ いては、 この赤色画素 Rの位置で計算された処理基準の画素値 G xで、 この赤色 画素 Rの画素値 Rを割り算し、 割り算した値 R /G Xをこの赤色画素 Rのノイズ 除去用の画素値に設定する。 また同様に、 この青色画素 Bについては、 この青色 の画素 Bの位置で計算された処理基準の画素値 G yで、 この青色画素 Bの画素値 Bを割り算して、 割り算した値 B /G yをこの青色画素 Bのノイズ除去用の画素 値に設定する。
またこの色差の生成処理に対応するように、 R B計算部 1 9は、 ノイズ除去処 理した色差 C r、 C bにそれぞれ対応する緑色画素値 G x、 G yを乗算して、 元 の画素値 R、 Bに変換する。
この実施例のように、 処理基準の画素値と、 赤色又は緑色の画素値との比率に より、 ノイズ除去用の画素値を生成するようにしても、 実施例 1と同様の効果を 得ることができる。
( 7 ) 実施例 5
この実施例では、 緑色の画素値に代えて、 輝度値を処理基準の画素値に適用す る。 この実施例のデジタルスチルカメラは、 この処理基準の画素値に関する構成 が異なる点を除いて、 上述の実施例のデジタルスチルカメラ 1と同一に構成され る。
この実施例において、 簡易デモザイク部 1 5は、 緑色画素については、 隣接す る赤色画素及び青色画素の画素値を用いた捕間演算処理により、 各緑色画素の空 間位置における赤色画素及び青色画素の画素値を計算する。 また同様に、 赤色画 素については、 隣接する緑色画素及び青色画素の画素値を用いた補間演算処理に より、 各赤色画素の空間位置における緑色画素及ぴ青色画素の画素値を計算する 。 また同様に、 青色画素については、 隣接する赤色画素及び緑色画素の画素値を 用いた補間演算処理により、 各青色画素の空間位置における赤色画素及び緑色画 素の画素値を計算する。
簡易デモザイク部 15は、 この計算結果に基づいて画素毎に輝度値を計算する 。 なおこの輝度値の計算は、 単に赤色、 緑色、 青色の画素値を加算して簡易的に 輝度値を計算してもよく、 さらには (1— 1) 式の演算処理を実行して正確に各 画素の輝度値を計算してもよい。
色差計算部 16は、 この処理基準の画素値 Yを用いて、 画素毎に、 色差の画素 値 (R— Y) 及び (B— Y) を計算する。 なおこの場合に、 (1— 2) 及び (1 一 3) 式を用いて色差の画素値を計算してもよい。
ノイズ除去部 1 7は、 この色差の画素値をノイズ除去処理する。 簡易デモザィ ク部 18、 RB計算部 19は、 このノイズ除去処理した色差の画素値を元のモザ イク画像の画素値に変換する。 なおこの場合に、 (1一 2) 及び (1— 3) 式を 用いて色差の画素値を計算した場合には、 次式の演算処理により、 各画素値を計 算する。
R = Y + 1.402xCr …… (2— 1 )
6 = Y - 0.34414 xCb - 0.71414xCr …… (2-2)
B = Y + 1.772xCb '… (2-3) なおこれらの処理において、 (1— 1) 式の演算処理を省略して、 直接 (1一 2) 及び (1— 3) 式を用いて色差の画素値を計算してもよい。 また緑色の画素 については処理を省略して、 赤色画素、 青色画素についてのみ一連の処理を実行 するようにしてもよい。
この実施例によれば、 輝度値を処理基準の画素値に設定して色差の画素値を求 めるよう.にしても、 上述の実施例と同様の効果を得ることができる。
(8) 実施例 6
この実施例のデジタルスチルカメラは、 エッジ判別デモザイク部 20における 第 2補間部 25を用いて簡易デモザイク部 15、 18を構成する。
この実施例のように、 本来のデモザイク処理の構成を利用して、 簡易デモザィ ク部 15、 18を構成すれば、 全体構成を簡略化して上述の実施例と同様の効果 を得ることができる。
( 9 ) 他の実施 ί列
なお上述の実施例においては、 εフィルタで色ノイズを除去する場合について 述べたが、 本発明はこれに限らず、 ウェーブレッ ト変換等を使用して色ノイズを 除去する場合、 高周波成分と低周波成分とに帯域分離して色ノイズを除去する場 合、 パイラテラルフィルタ、 トリラテラルフィルタ等を用いてノイズ除去する場 合等、 種々のノイズ除去手法を広く適用することができる。
また上述の実施例においては、 単にノイズ除去部 1 7で R AWデータのノイズ を除去する場合について述べたが、 本発明はこれに限らず、 他の種々のノイズ除 去方法と組み合わせてノイズを除去するようにしてもよい。
また上述の実施例においては、 本発明をデジタルスチルカメラに適用する場合 について述べたが、 本発明はこれに限らず、 動画を撮影するビデオカメラ、 さら には R A Wデータを処理する各種画像処理装置、 各種画像処理プログラムに広く 適用することができる。 なおこの画像処理プログラムは、 コンピュータ、 画像処 理装置等に事前にインス トールして提供するようにしてもよく、 またこれに代え て光ディスク、 磁気ディスク、 メモリカード等の各種記録媒体に記録して提供す るようにしてもよく、 さらにはインターネット等のネットワークを介したダウン ロードにより提供するようにしてもよい。 . 産業上の利用可能性
本発明は、 例えばデジタルスチルカメラに適用することができる

Claims

請求の範囲
1 . R AWデータを出力する撮像部と、
前記 R A Wデータによるモザイク画像に順次注目画素を設定し、 各注目画素で 同一の色信号成分を有している処理基準の画素値を基準にしたノイズ除去用の画 素値に、 前記注目画素の画素値を変換する変換部と、
前記ノィズ除去用の画素値からノィズを除去するノィズ除去部と、
前記変換部とは逆の処理により、 前記ノィズ除去部でノィズを除去した前記ノ ィズ除去用の画素値を、 元の画素値に変換する逆変換部と、
前記逆変換部で処理した画像値によるモザイク画像をデモザイク処理して、 フ ルカラーの画像データを生成するデモザィク部と
を備えることを特徴とする撮像装置。
2 . 前記 R AWデータによるモザイク画像の画素が、
赤色、 緑色、 青色の画素であり、
前記処理基準の画素値が、
前記赤色及ぴ青色の画素の空間位置における緑色の画素値であり、
前記ノィズ除去用の画素値が、
前記処理基準の画素値と、 前記赤色又は青色の画素の画素値との差分値である ことを特徴とする請求の範囲第 1項に記載の撮像装置。
3 . 前記ノイズ除去部は、
さらに前記モザイク画像の緑色の画素の画素値、 若しくは前記モザィク画像の 緑色の画素の画素値及び前記赤色及び青色の画素の空間位置における緑色の画素 値からノイズを除去する
ことを特徴とする請求の範囲第 2項に記載の撮像装置。
4 . 前記処理基準の画素値が、
前記赤色及び青色の画素近傍の緑色の画素の画素値のメディアン値である ことを特徴とする請求の範囲第 2項に記載の撮像装置。
5 . 前記 R AWデータによるモザイク画像が、
同一の画素の配置によるプロックの繰り返しで形成され、
前記処理基準の画素値が、
1つの前記ブロック内における赤色の画素及び青色の画素の空間位置が同一で あると仮定して生成された
ことを特徴とする請求の範囲第 2項に記載の撮像装置。
6 . 前記 R AWデータによるモザイク画像が、
赤色、 緑色、 青色の画素であり、
前記処理基準の画素値が、
前記赤色及び青色の画素の空間位置における緑色の画素値であり、
前記ノィズ除去用の画素値が、
前記処理基準の画素値と、 前記赤色又は青色の画素の画素値との比で表される 画素値である
ことを特徵とする請求の範囲第 1項に記載の撮像装置。 .
7 . 前記 R AWデータによるモザイク画像の画素が、
赤色、 緑色、 青色の画素であり、
前記処理基準の画素値が、
前記各画素の空間位置における輝度値であり、
前記ノィズ除去用の画素値が、
色差の画素値である
ことを特徴とする請求の範囲第 1項に記載の撮像装置。
8 . 撮像素子の画素配列で順次得られる R A Wデータのノィズを抑圧する画像処 理装置において、
前記 R AWデータによるモザイク画像に順次注目画素を設定し、 各注目画素で 同一の色信号成分を有している処理基準の画素値を基準にしたノイズ除去用の画 素値に、 前記注目画素の画素値を変換する変換部と、
前記ノィズ除去用の画素値からノィズを除去するノィズ除去部と、
前記変換部とは逆の処理により、 前記ノイズ除去部でノイズを除去した前記ノ ィズ除去用の画素値を、 元の画素値に変換する逆変換部と
を備えることを特徴とする画像処理装置。
9 . 撮像素子の画素配列で順次得られる R AWデータのノィズを抑圧する画像処 理方法において、
前記 R AWデータによるモザイク画像に順次注目画素を設定し、 各注目画素で 同一の色信号成分を有している処理基準の画素値を基準にしたノイズ除去用の画 素値に、 前記注目画素の画素値を変換する変換のステップと、
前記ノィズ除去用の画素値からノィズを除去するノィズ除去のステツプと、 前記変換のステップとは逆の処理により、 前記ノイズ除去のステップでノイズ を除去した前記ノイズ除去用の画素値を、 元の画素値に変換する逆変換のステツ プと
を備えることを特徴とする画像処理方法。
1 0 . 撮像素子の画素配列で順次得られる R AWデータのノイズを抑圧する画像 処理方法のプログラムにおいて、
前記 R A Wデータによるモザイク画像に順次注目画素を設定し、 各注目画素で 同一の色信号成分を有している処理基準の画素値を基準にしたノイズ除去用の画 素値に、 前記注目画素の画素値を変換する変換のステップと、
前記ノィズ除去用の画素値からノィズを除去するノィズ除去のステップと、 前記変換のステップとは逆の処理により、 前記ノイズ除去のステップでノイズ を除去した前記ノィズ除去用の画素値を、 元の画素値に変換する逆変換のステツ プと
を備えることを特徴とする画像処理方法のプログラム。
1 1 . 撮像素子の画素配列で順次得られる R AWデータのノイズを抑圧する画像 処理方法のプログラムを記録した記録媒体にぉレ、て、
前記画像処理方法のプログラムは、
前記 R A Wデータによるモザイク画像に順次注目画素を設定し、 各注目画素で 同一の色信号成分を有している処理基準の画素値を基準にしたノイズ除去用の画 素値に、 前記注目画素の画素値を変換する変換のステツプと、
前記ノィズ除去用の画素値からノィズを除去するノィズ除去のステツプと、 前記変換のステップとは逆の処理により、 前記ノィズ除去のステップでノィズ を除去した前記ノイズ除去用の画素値を、 元の画素値に変換する逆変換のステツ プと
を備えることを特徴とする画像処理方法のプログラムを記録した記録媒体。
PCT/JP2007/068898 2006-12-15 2007-09-20 撮像装置、画像処理装置、画像処理方法、画像処理方法のプログラム及び画像処理方法のプログラムを記録した記録媒体 WO2008072406A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN2007800054989A CN101385359B (zh) 2006-12-15 2007-09-20 摄像装置、图像处理装置、图像处理方法
US12/279,190 US8295595B2 (en) 2006-12-15 2007-09-20 Generating full color images by demosaicing noise removed pixels from images
EP07807893A EP2094019A4 (en) 2006-12-15 2007-09-20 IMAGING DEVICE, IMAGE PROCESSING DEVICE, IMAGE PROCESSING METHOD, PROGRAM FOR IMAGE PROCESSING METHOD, AND RECORDING MEDIUM HAVING PROGRAM FOR IMAGE PROCESSING METHOD RECORDED THEREON

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2006338233A JP4284628B2 (ja) 2006-12-15 2006-12-15 撮像装置、画像処理装置、画像処理方法、画像処理方法のプログラム及び画像処理方法のプログラムを記録した記録媒体
JP2006-338233 2006-12-15

Publications (1)

Publication Number Publication Date
WO2008072406A1 true WO2008072406A1 (ja) 2008-06-19

Family

ID=39511437

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2007/068898 WO2008072406A1 (ja) 2006-12-15 2007-09-20 撮像装置、画像処理装置、画像処理方法、画像処理方法のプログラム及び画像処理方法のプログラムを記録した記録媒体

Country Status (8)

Country Link
US (1) US8295595B2 (ja)
EP (1) EP2094019A4 (ja)
JP (1) JP4284628B2 (ja)
KR (1) KR20090087811A (ja)
CN (1) CN101385359B (ja)
MY (1) MY150251A (ja)
TW (1) TW200826655A (ja)
WO (1) WO2008072406A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753859B (zh) * 2008-11-27 2012-08-15 佳能株式会社 摄像传感器及其驱动方法和摄像设备
CN101594457B (zh) * 2008-05-30 2012-11-21 深圳艾科创新微电子有限公司 一种分级降噪系统及方法

Families Citing this family (44)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8237830B2 (en) 2007-04-11 2012-08-07 Red.Com, Inc. Video camera
EP2793219A1 (en) 2007-04-11 2014-10-22 Red.Com, Inc. Video camera
JP5311916B2 (ja) * 2008-07-31 2013-10-09 株式会社エルモ社 撮像装置
TWI423666B (zh) * 2008-12-31 2014-01-11 Altek Corp Image elimination method for image sequence
JP2010211773A (ja) 2009-03-12 2010-09-24 Sony Corp 画像処理装置、画像処理方法及びコンピュータプログラム
US8638342B2 (en) * 2009-10-20 2014-01-28 Apple Inc. System and method for demosaicing image data using weighted gradients
US8593483B2 (en) * 2009-10-20 2013-11-26 Apple Inc. Temporal filtering techniques for image signal processing
CN102103743B (zh) * 2009-12-22 2014-04-16 北大方正集团有限公司 图像降噪的方法和装置
US8345130B2 (en) * 2010-01-29 2013-01-01 Eastman Kodak Company Denoising CFA images using weighted pixel differences
US8295631B2 (en) 2010-01-29 2012-10-23 Eastman Kodak Company Iteratively denoising color filter array images
JP5672776B2 (ja) * 2010-06-02 2015-02-18 ソニー株式会社 画像処理装置、および画像処理方法、並びにプログラム
US8471932B2 (en) 2010-09-30 2013-06-25 Apple Inc. Spatial filtering for image signal processing
US8797391B2 (en) * 2011-01-14 2014-08-05 Himax Media Solutions, Inc. Stereo image displaying method
US8995765B2 (en) * 2011-12-13 2015-03-31 SK Hynix Inc. Digital image processing apparatus and method
WO2013099792A1 (ja) * 2011-12-28 2013-07-04 富士フイルム株式会社 画像処理装置及び方法並びに撮像装置
US9743057B2 (en) 2012-05-31 2017-08-22 Apple Inc. Systems and methods for lens shading correction
US9332239B2 (en) 2012-05-31 2016-05-03 Apple Inc. Systems and methods for RGB image processing
US8872946B2 (en) 2012-05-31 2014-10-28 Apple Inc. Systems and methods for raw image processing
US8817120B2 (en) 2012-05-31 2014-08-26 Apple Inc. Systems and methods for collecting fixed pattern noise statistics of image data
US9077943B2 (en) 2012-05-31 2015-07-07 Apple Inc. Local image statistics collection
US8953882B2 (en) 2012-05-31 2015-02-10 Apple Inc. Systems and methods for determining noise statistics of image data
US9025867B2 (en) 2012-05-31 2015-05-05 Apple Inc. Systems and methods for YCC image processing
US9014504B2 (en) 2012-05-31 2015-04-21 Apple Inc. Systems and methods for highlight recovery in an image signal processor
US8917336B2 (en) 2012-05-31 2014-12-23 Apple Inc. Image signal processing involving geometric distortion correction
US9105078B2 (en) 2012-05-31 2015-08-11 Apple Inc. Systems and methods for local tone mapping
US9142012B2 (en) 2012-05-31 2015-09-22 Apple Inc. Systems and methods for chroma noise reduction
US9031319B2 (en) 2012-05-31 2015-05-12 Apple Inc. Systems and methods for luma sharpening
US11089247B2 (en) 2012-05-31 2021-08-10 Apple Inc. Systems and method for reducing fixed pattern noise in image data
KR101931332B1 (ko) * 2012-06-29 2018-12-20 삼성전자주식회사 영상의 노이즈 제거 장치 및 방법
CN104380726B (zh) * 2012-07-06 2016-04-13 富士胶片株式会社 图像处理装置及方法以及摄像装置
US9300846B2 (en) * 2012-09-10 2016-03-29 Apple Inc. Signal shaping for improved mobile video communication
KR101990540B1 (ko) * 2012-10-31 2019-06-18 삼성전자주식회사 이미지 프로세싱 방법, 그 이미지 신호 프로세서 및 이를 포함하는 이미지 센싱 시스템
WO2014127153A1 (en) 2013-02-14 2014-08-21 Red. Com, Inc. Video camera
US9344690B2 (en) 2014-01-24 2016-05-17 Microsoft Technology Licensing, Llc Image demosaicing
JP6129119B2 (ja) 2014-06-04 2017-05-17 株式会社ソニー・インタラクティブエンタテインメント 画像処理装置、画像処理システム、撮像装置、および画像処理方法
US9479745B2 (en) 2014-09-19 2016-10-25 Omnivision Technologies, Inc. Color filter array with reference pixel to reduce spectral crosstalk
US9892517B2 (en) * 2014-12-19 2018-02-13 Apical Ltd. Sensor noise profile
US9495731B2 (en) 2015-04-15 2016-11-15 Apple Inc. Debanding image data based on spatial activity
KR102620350B1 (ko) 2017-07-05 2024-01-02 레드.컴, 엘엘씨 전자 디바이스에서의 비디오 이미지 데이터 처리
JP2020036162A (ja) * 2018-08-29 2020-03-05 キヤノン株式会社 画像処理装置、撮像装置、画像処理方法、及びプログラム
CN109754443B (zh) * 2019-01-30 2021-04-20 京东方科技集团股份有限公司 图像数据转化方法、装置及存储介质
US11798136B2 (en) 2021-06-10 2023-10-24 Bank Of America Corporation Automated teller machine for detecting security vulnerabilities based on document noise removal
WO2023073619A1 (en) * 2021-10-28 2023-05-04 Tripurari Singh Method of and system for capturing color images
CN116055698B (zh) * 2022-12-30 2024-04-12 爱芯元智半导体(宁波)有限公司 色彩调整方法、色彩调整装置及电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4642678A (en) 1984-09-10 1987-02-10 Eastman Kodak Company Signal processing method and apparatus for producing interpolated chrominance values in a sampled color image signal
US4724395A (en) 1985-08-05 1988-02-09 Polaroid Corporation Median filter for reconstructing missing color samples
JP2002503894A (ja) * 1997-12-08 2002-02-05 インテル・コーポレーション 新しいエッジ検出に基づくノイズ除去アルゴリズム
JP2005159916A (ja) * 2003-11-27 2005-06-16 Olympus Corp 撮像装置
JP2006060661A (ja) * 2004-08-23 2006-03-02 Fuji Photo Film Co Ltd ノイズ低減装置および方法ならびにノイズ低減プログラム

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7369161B2 (en) * 1999-06-08 2008-05-06 Lightsurf Technologies, Inc. Digital camera device providing improved methodology for rapidly taking successive pictures
US6980326B2 (en) * 1999-12-15 2005-12-27 Canon Kabushiki Kaisha Image processing method and apparatus for color correction of an image
WO2002063380A2 (en) * 2001-02-06 2002-08-15 Koninklijke Philips Electronics N.V. Preventing green non-uniformity in image sensors
US7053908B2 (en) * 2001-04-12 2006-05-30 Polaroid Corporation Method and apparatus for sensing and interpolating color image data
JP2003061105A (ja) * 2001-06-07 2003-02-28 Seiko Epson Corp 画像処理方法、画像処理プログラム、画像処理装置およびそれを用いたディジタルスチルカメラ
US7082218B2 (en) * 2001-07-27 2006-07-25 Hewlett-Packard Development Company, L.P. Color correction of images
JP4154661B2 (ja) 2003-01-14 2008-09-24 ソニー株式会社 画像処理装置および方法、記録媒体、並びにプログラム
JP2004363853A (ja) * 2003-06-04 2004-12-24 Casio Comput Co Ltd 画像信号のノイズ低減方法及びノイズ低減装置
JP2005110176A (ja) * 2003-10-02 2005-04-21 Nikon Corp ノイズ除去方法、ノイズ除去処理プログラム、およびノイズ除去装置
JP2005167974A (ja) * 2003-11-10 2005-06-23 Seiko Epson Corp 画像処理方法及び画像処理装置、画像処理プログラム並びに半導体装置
CN1857008B (zh) * 2004-02-19 2010-05-05 三菱电机株式会社 图像处理方法
US7502505B2 (en) * 2004-03-15 2009-03-10 Microsoft Corporation High-quality gradient-corrected linear interpolation for demosaicing of color images
JP4380399B2 (ja) 2004-04-16 2009-12-09 ソニー株式会社 撮像装置、ノイズリダクション装置およびノイズリダクション方法並びにプログラム
US7319797B2 (en) * 2004-06-28 2008-01-15 Qualcomm Incorporated Adaptive filters and apparatus, methods, and systems for image processing
JP4501855B2 (ja) * 2005-12-22 2010-07-14 ソニー株式会社 画像信号処理装置、撮像装置、および画像信号処理方法、並びにコンピュータ・プログラム

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4642678A (en) 1984-09-10 1987-02-10 Eastman Kodak Company Signal processing method and apparatus for producing interpolated chrominance values in a sampled color image signal
US4724395A (en) 1985-08-05 1988-02-09 Polaroid Corporation Median filter for reconstructing missing color samples
JP2002503894A (ja) * 1997-12-08 2002-02-05 インテル・コーポレーション 新しいエッジ検出に基づくノイズ除去アルゴリズム
JP2005159916A (ja) * 2003-11-27 2005-06-16 Olympus Corp 撮像装置
JP2006060661A (ja) * 2004-08-23 2006-03-02 Fuji Photo Film Co Ltd ノイズ低減装置および方法ならびにノイズ低減プログラム

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
RAMANATH ET AL.: "Demosaicking Methods for Bayer Color Arrays", JOURNAL OF ELECTRONIC IMAGING, vol. 11, no. 3, pages 306 - 315, XP001122626, DOI: doi:10.1117/1.1484495
See also references of EP2094019A4

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594457B (zh) * 2008-05-30 2012-11-21 深圳艾科创新微电子有限公司 一种分级降噪系统及方法
CN101753859B (zh) * 2008-11-27 2012-08-15 佳能株式会社 摄像传感器及其驱动方法和摄像设备

Also Published As

Publication number Publication date
MY150251A (en) 2013-12-31
US20090052797A1 (en) 2009-02-26
JP2008153836A (ja) 2008-07-03
JP4284628B2 (ja) 2009-06-24
EP2094019A4 (en) 2010-05-26
CN101385359B (zh) 2011-06-15
KR20090087811A (ko) 2009-08-18
EP2094019A1 (en) 2009-08-26
TW200826655A (en) 2008-06-16
US8295595B2 (en) 2012-10-23
CN101385359A (zh) 2009-03-11

Similar Documents

Publication Publication Date Title
WO2008072406A1 (ja) 撮像装置、画像処理装置、画像処理方法、画像処理方法のプログラム及び画像処理方法のプログラムを記録した記録媒体
KR100978688B1 (ko) 디지털 이미지의 컬러 아티팩트 저감 기법
JP4288623B2 (ja) 撮像装置、ノイズ除去装置、ノイズ除去方法、ノイズ除去方法のプログラム及びノイズ除去方法のプログラムを記録した記録媒体
JP4144630B2 (ja) 撮像装置
JP4977395B2 (ja) 画像処理装置及び方法
US8743229B2 (en) Image processing method and apparatus for Bayer images
JP5036421B2 (ja) 画像処理装置、画像処理方法、プログラムおよび撮像装置
US20110032392A1 (en) Image Restoration With Enhanced Filtering
WO2004112401A1 (ja) 画像処理方法、画像処理プログラム、画像処理装置
JP2008289090A (ja) 撮像信号処理装置
JP5041886B2 (ja) 画像処理装置、画像処理プログラム、画像処理方法
US6559886B1 (en) Video signal processing method and device
EP2152010B1 (en) Luminance signal generation apparatus, luminance signal generation method, and image capturing apparatus
JP5291788B2 (ja) 撮像装置
JP5268321B2 (ja) 画像処理装置及び画像処理方法、画像処理プログラム
JP4962293B2 (ja) 画像処理装置、画像処理方法、プログラム
JP3126860B2 (ja) 映像信号処理装置
JP5454820B2 (ja) 画像処理装置及び画像処理方法、画像処理プログラム
JP4139587B2 (ja) 単板式カラーディジタルカメラにおける撮像画像の補間装置および方法
JP3591257B2 (ja) 映像信号処理方法及び映像信号処理装置
JPH0323035B2 (ja)
JP2004153753A (ja) 単板式カラーディジタルカメラによる撮像画像の補間装置および補間方法
JP2003244711A (ja) 単板式撮像装置のための色信号処理方法、単板式撮像装置および色信号処理プログラム
JP2011035893A (ja) 画像処理装置及び画像処理方法、画像処理プログラム
WO2014192412A1 (ja) 画像処理装置、撮像装置、画像処理方法およびプログラム

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 5829/DELNP/2008

Country of ref document: IN

WWE Wipo information: entry into national phase

Ref document number: 1020087017034

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 2007807893

Country of ref document: EP

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07807893

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 200780005498.9

Country of ref document: CN

WWE Wipo information: entry into national phase

Ref document number: 12279190

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE