US20050249404A1 - Image processing apparatus - Google Patents
Image processing apparatus Download PDFInfo
- Publication number
- US20050249404A1 US20050249404A1 US11/181,829 US18182905A US2005249404A1 US 20050249404 A1 US20050249404 A1 US 20050249404A1 US 18182905 A US18182905 A US 18182905A US 2005249404 A1 US2005249404 A1 US 2005249404A1
- Authority
- US
- United States
- Prior art keywords
- filter
- components
- pixels
- section
- processing apparatus
- Prior art date
- Legal status (The legal status 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 status listed.)
- Abandoned
Links
- 238000012545 processing Methods 0.000 title claims abstract description 112
- 238000000605 extraction Methods 0.000 claims description 69
- 238000000034 method Methods 0.000 claims description 47
- 238000001914 filtration Methods 0.000 claims description 20
- 230000008569 process Effects 0.000 claims description 14
- 230000015572 biosynthetic process Effects 0.000 claims description 4
- 238000003786 synthesis reaction Methods 0.000 claims description 4
- 230000004069 differentiation Effects 0.000 claims description 3
- 230000014509 gene expression Effects 0.000 description 33
- 238000005070 sampling Methods 0.000 description 15
- 238000012546 transfer Methods 0.000 description 12
- 230000003287 optical effect Effects 0.000 description 9
- 230000002238 attenuated effect Effects 0.000 description 8
- 238000012937 correction Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 8
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 7
- 239000002131 composite material Substances 0.000 description 3
- 230000000875 corresponding effect Effects 0.000 description 3
- 230000006866 deterioration Effects 0.000 description 3
- 239000000284 extract Substances 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 239000003086 colorant Substances 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 230000000153 supplemental effect Effects 0.000 description 2
- 230000002194 synthesizing effect Effects 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 230000009699 differential effect Effects 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000007937 lozenge Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003909 pattern recognition Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/46—Colour picture communication systems
- H04N1/56—Processing of colour picture signals
- H04N1/60—Colour correction or control
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/20—Image enhancement or restoration using local operators
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/73—Deblurring; Sharpening
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
- H04N23/84—Camera processing pipelines; Components thereof for processing colour signals
- H04N23/843—Demosaicing, e.g. interpolating colour pixel values
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N25/00—Circuitry of solid-state image sensors [SSIS]; Control thereof
- H04N25/10—Circuitry of solid-state image sensors [SSIS]; Control thereof for transforming different wavelengths into image signals
- H04N25/11—Arrangement of colour filter arrays [CFA]; Filter mosaics
- H04N25/13—Arrangement of colour filter arrays [CFA]; Filter mosaics characterised by the spectral characteristics of the filter elements
- H04N25/134—Arrangement of colour filter arrays [CFA]; Filter mosaics characterised by the spectral characteristics of the filter elements based on three different wavelength filter elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10024—Color image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20024—Filtering details
- G06T2207/20032—Median filtering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20172—Image enhancement details
- G06T2207/20192—Edge enhancement; Edge preservation
Definitions
- the present invention relates to an image processing apparatus for processing image data obtained by a CCD (charge-coupled device) area sensor having a primary-color filter so as to obtain a high quality image.
- a CCD charge-coupled device
- Such an image processing apparatus is mounted on a digital camera (e.g., electronic still camera) or the like.
- a conventional image processing apparatus for use in a digital camera, or the like performs a series of various image processing steps, e.g., interpolation for each color component, contour emphasizing processing, etc., on image data obtained by a CCD area sensor having a primary-color filter, so as to obtain a high quality image.
- image processing steps e.g., interpolation for each color component, contour emphasizing processing, etc.
- FIG. 13 is a block diagram showing a first exemplary structure of a conventional image processing apparatus.
- the image processing apparatus 100 includes an optical low-pass filter 101 , a primary-color CCD area sensor 102 , a RGB interpolation section 103 , a white balance adjustment section 104 , a gamma correction section 105 , and a sharpening processing section (contour emphasizing section) 106 .
- the low-pass filter 101 removes frequency components whose frequency is equal to or higher than a 1 ⁇ 2 of sampling frequency fs. According to the sampling theorem, when an image is converted into image data, frequency components whose frequency is equal to or higher than a 1 ⁇ 2 of sampling frequency fs are converted into aliasing noise. In order to reduce such aliasing noise, the optical low-pass filter 101 is provided before the CCD area sensor 102 .
- the primary-color CCD area sensor 102 is formed by a plurality of light-receiving elements arranged in a matrix.
- the primary-color CCD area sensor 102 includes a primary-color (R,G,B) filter on a light-receiving face thereof where each of color areas corresponds to one pixel.
- the color filter is formed based on the Bayer array ( FIG. 14 ) which is a type of RGB arrangements.
- the RGB interpolation section 103 (which will be described later in detail) can receive, from the CCD area sensor 102 , only one type of color component for each pixel among R, G, B colors of the color filter of the sensor 102 .
- each of the remaining two types of color components in each pixel is calculated from color components of the same type in neighboring pixels, whereby all of the three color components are obtained in each pixel.
- the white balance adjustment section 104 adjusts the white balance with respect to the R-, G-, and B-components in each pixel which are obtained by the RGB interpolation section 103 according to the color temperature of light so as to correct the color of an image.
- the gamma correction section 105 processes the R-, G-, and B-components obtained after the white balance has been adjusted such that the R-, G-, and B-components conform to properties of a display or printer which outputs an image.
- the sharpening processing section 106 performs contour emphasizing processing (sharpening processing) in order to obtain a sharp image.
- the sharpening process compensates for high-range luminance components which have been removed by the low-pass filter 101 by filtering processing which emphasizes high-range luminance components. That is, in the case where the low-pass filter 101 is provided, CCD image data generated by the primary-color CCD area sensor 102 has a reduced high-range luminance component. Furthermore, for example, since an unobtained color component in each pixel is compensated for by interpolation, e.g., by calculating an average value from color components of the same type in neighboring pixels, an image obtained by such interpolation has a further reduced high-range luminance component. Thus, in order to obtain a sharp image, it is necessary to compensate for a lost high-range luminance component by performing a filtering process which emphasizes high-range luminance components.
- the CCD area sensor 102 is a single-plate area sensor
- interpolation is performed for the missing two types of color components such that all of R(red)-, G(green)-, and B(blue)-color components are complete in each pixel. Based on all of R-, G-, and B-color components including color components obtained by interpolation, a color image is created.
- the RGB interpolation section 103 receives from the CCD area sensor 102 all of R-, G-, and B-color components for each pixel. Thus, it is not necessary to perform interpolation.
- the CCD area sensor 102 is a single-plate area sensor having, on its light-receiving element, a single color filter on which R-, G-, and B-filter areas are arranged in a predetermined pattern (e.g., Bayer array shown in FIG. 14 ), it is necessary to perform interpolation for missing color components in each pixel. Therefore, when employing a single-plate CCD camera incorporating a single-plate CCD area sensor, missing color components in each pixel which cannot be obtained by a color filter are created by various methods.
- R-, G-, and B-colors are arranged according to a certain pattern. For example, at a central pixel position, R 5 , color components G 5 and B 5 are missing in a corresponding color filter.
- the color components G 5 and B 5 are obtained from expressions (1) and (2).
- B 2 is obtained from expression (3)
- B 4 is obtained from expression (4).
- Interpolation for each of B 6 and B 8 is performed by obtaining an average value of B-component values in vertically or horizontally neighboring pixels based on an expression similar to expression (3) or (4). This is the same for R 2 , R 4 , R 6 , and R 8 .
- G 1 is obtained from G-component information in neighboring pixels around pixel position “B 1 ” by an expression similar to expression (1). This is the same for G 3 , G 7 , and G 9 .
- R 1 is obtained from R-component information in neighboring pixels around pixel position “B 1 ” by an expression similar to expression (2). This is the same for R 3 , R 7 , and R 9 .
- FIG. 16 is a block diagram showing a second exemplary structure of a conventional image processing apparatus.
- the image processing apparatus 200 includes a primary-color CCD area sensor 201 , a RGB interpolation section 202 , and a contour emphasizing sections 203 provided for respective ones of R-, G-, and B-components.
- the RGB interpolation section 202 first interpolates a G-component by using expression (5) which represents median processing for G-color components obtained by the filter arrangement shown in FIG. 15 . Then, only at pixel positions, “R” and “B”, in FIG. 14 , a (R-G) component and a (B-G) component are created. In the last, the created (R-G) and (B-G) components are interpolated by bilinear interpolation, and G-components are added to the interpolated (R-G) and (B-G) components, whereby R- and B-components are obtained.
- expression (5) represents median processing for G-color components obtained by the filter arrangement shown in FIG. 15 . Then, only at pixel positions, “R” and “B”, in FIG. 14 , a (R-G) component and a (B-G) component are created. In the last, the created (R-G) and (B-G) components are interpolated by bilinear interpolation, and G
- G 1 , G 3 , G 5 , G 7 , and G 9 are interpolated by the median processing process using expression (5). Then, (B 1 -G 1 ) and (B 7 -G 7 ) which are (B-G) components at pixel positions “B 1 ” and “B 7 ” are created.
- the contour emphasizing sections 203 employs a two-dimensional second-derivative filter shown in FIG. 17A for each of R-, G-, and B-components.
- Each box of the two-dimensional second-derivative filter shown in FIG. 17A corresponds to one pixel, and the number shown in each box represents a weight.
- the weight of each box area is set such that the total weight in the two-dimensional second-derivative filter is zero.
- FIG. 18 is a block diagram showing a third exemplary structure of a conventional image processing apparatus.
- the image processing apparatus 300 includes a primary-color CCD area sensor 301 , RGB interpolation sections 302 , a middle-range component emphasizing section 303 , a high-range component emphasizing section 304 , a white balance adjustment section 305 , and a gamma correction section 306 .
- the primary-color CCD area sensor 301 includes a color filter of Bayer array.
- the RGB interpolation sections 302 perform interpolation on each of R-, G-, and B-components.
- a G-component is interpolated by using a median method of expression (5)
- R- and B-components are interpolated by using a bilinear method of expressions (2) through (4), interpolation is achieved with high image quality.
- the middle-range component emphasizing section 303 is formed by a middle-range component extraction section 303 a and adders 303 b .
- the middle-range component extraction section 303 a extracts a middle-range component from a G-component interpolated by the G-interpolation section of the RGB interpolation sections 302 .
- the extracted middle-range component is synthesized with each of R-, G-, and B-components by the adders 303 b , whereby the middle-range component emphasizing processing is achieved.
- this middle-range component emphasizing processing the difference between a G-component and a low-pass filtered G-component is added as a compensation component to the G-component.
- a high-range component of the G-component is removed by a low-pass filter (not shown) to obtain a GBAR-component, and a compensation component which is the difference between the G-component and the GBAR-component (G-GBAR) is added to the G-component, whereby a middle-range component emphasizing processing is achieved.
- the high-range component emphasizing section 304 is formed by a high-range component extraction section 304 a and adders 304 b .
- the high-range component extraction section 304 a extracts a high-range component from a G-component interpolated by the G-interpolation section of the RGB interpolation sections 302 .
- the extracted high-range component is synthesized with each of R-, G-, and B-components by the adders 304 b , whereby high-range component emphasizing processing is achieved.
- This high-range component emphasizing process employs the two-dimensional second-derivative filter shown in FIG. 17B . In the filter shown in FIG.
- FIG. 19 A sampling frequency distribution range obtained in this case is shown in FIG. 19 .
- ⁇ x denotes the width of a pixel (pixel pitch) in a horizontal direction (x-direction)
- ⁇ y denotes the width of a pixel (pixel pitch) in a vertical direction (y-direction).
- a highest restorable frequency within a spatial frequency band of an original image is represented by a solid-line lozenge which is indicated by an arrow “G-component” in FIG. 19 .
- R- and B-components are included in a two-dot chain line square.
- a frequency band which can be accurately converted into R-, G-, and B-components of image data is an area within the square defined by the two-dot chain line.
- an optical low-pass filter (anti-aliasing filter) is provided to a CCD area sensor.
- This low-pass filter removes frequency components of image data which are higher than the highest restorable frequency fs/2, but undesirably attenuates some of frequency components which are lower than the highest restorable frequency fs/2 because the low-pass filter is not ideal.
- graph a shows an ideal low-pass filter frequency characteristic (i.e., only frequency components which are higher than the highest restorable frequency fs/2 are removed).
- the low-pass filter frequency characteristic results in a curve of graph b.
- graph c shows an ideal frequency characteristic of a compensation filter which is used to compensate for the characteristic of graph b so as to obtain a characteristic similar to the ideal characteristic of graph a.
- a middle-range luminance component and a high-range luminance component are synthetically added to a newly-extracted, middle-high range luminance component according to a predetermined synthetic ratio, whereby a low-pass filtered component is compensated for by using a compensation filter having a frequency characteristic similar to graph c.
- Attenuated middle- and high-range components among low-pass filtered components are compensated for by compensation filters.
- the middle-range components are compensated for by a compensation filter having a characteristic represented by graph d of FIG. 21
- the high-range components are compensated for by a compensation filter having a characteristic represented by graph c of FIG. 21 .
- graph d exhibits the maximum amplitude
- the angular frequency ⁇ is ⁇ /2 (equivalent to fs/4).
- graph c exhibits the maximum amplitude
- the angular frequency ⁇ is ⁇ (equivalent to fs/2).
- contour emphasizing processing which is performed for obtaining a sharp image when high-range components of an image are emphasized by compensating for high-range components, all components having an angular frequency (o higher than fs/2 are converted into noise. Thus, as the resolution of the image is increased, noise and jaggy are observed more prominently.
- a G-component which largely contributes to the luminance of an image is interpolated according to above expression (1), and image data obtained after the interpolation is subjected to contour emphasizing processing, and as a result, jaggy emerges in an edge portion of the image.
- Examples of proposed method for solving such a problem include a color-smoothing interpolation method (U.S. Pat. No. 4,642,678), a pattern-recognition interpolation method (U.S. Pat. No. 4,630,307), an adaptive interpolation method (document by James E. Adams, Jr.).
- These methods are different interpolation methods, but all performed in a structure similar to the image processing apparatus 100 shown in FIG. 13 . That is, a high-range component which is indispensable for obtaining a sharp image is generated by contour emphasizing processing in the sharpening processing section 106 which resides at the end of the entire process. These interpolation methods each have some advantages in reducing false color and jaggy. However, these interpolation methods do not have means for processing a high-range component except for high-range emphasizing filtering, and thus, noise occurs in the high-range emphasizing filtering.
- noise is inevitably emphasized when a high-range component is compensated for by sharpening processing. That is, during interpolation of high-range components, frequency components whose frequency is equal to or higher than 1 ⁇ 2 of a sampling frequency fs are also emphasized, and the emphasized components whose frequency is equal to or higher than a 1 ⁇ 2 of sampling frequency fs are observed as noise and/or jaggy.
- an image processing apparatus for processing RGB image data output from an image capturing element including a primary-color filter includes: a middle-high range luminance component compensation section for compensating for a middle-high range luminance component of a low-frequency luminance signal generated based on the RGB image data such that the low-frequency luminance signal has substantially an ideal frequency luminance characteristic which is lower than or equal to a predetermined frequency.
- a “middle-high range luminance component” means a luminance component mainly containing middle-high range components
- a “low-frequency luminance signal” means a luminance signal mainly containing low-frequency components
- a middle-high range luminance component of a low-frequency luminance signal which is attenuated as compared with an ideal frequency characteristic in a range of a predetermined frequency (a 1 ⁇ 2 of sampling frequency fs) or smaller is compensated.
- a sharp image can be obtained by contour emphasizing processing while preventing occurrence of noise and jaggy which may be caused when obtaining the sharp image.
- an image with high resolution can be obtained by contour emphasizing processing while preventing occurrence of noise and jaggy which may be caused when obtaining the sharp image.
- the middle-high range luminance component extraction section uses at least one filter having a size of an even-number of pixels to arithmetically process the first luminance signal.
- a middle-high range component whose amplitude is zero when the angular frequency ⁇ is ⁇ and has a maximum value at a position where the angular frequency ⁇ is between ⁇ /2 to ⁇ can be readily extracted.
- the filter having a size of an even-number of pixels is a two-dimensional filter and has coefficients symmetrically arranged with respect to a x-direction and a y-direction.
- the filter having a size of an even-number of pixels includes a first low-pass filter having a differentiation capability and a second low-pass filter; and a difference between an output obtained by arithmetically processing the first luminance signal using the first low-pass filter and an output obtained by arithmetically processing the first luminance signal using the second low-pass filter is output as the middle-high range luminance component.
- arithmetic operations in x- and y-directions of image data can be separately performed, and accordingly, increases in the amount of arithmetic operations can be suppressed.
- YH extraction filtering can be readily implemented by hardware.
- the image processing apparatus further includes: a first interpolation section for interpolating missing components among R-, G-, and B-components for each pixel before the generation of the first luminance signal, wherein the first interpolation section interpolates missing components by arithmetically processing the RGB image data using a filter having a size of 3 pixels ⁇ 3 pixels.
- a middle-high range luminance component can be extracted while most-effectively preventing deterioration of the middle-high range luminance component.
- the image processing apparatus further includes: a second interpolation section for interpolating missing components among R-, G-, and B-components for each pixel before the generation of the low-frequency luminance signal, wherein the second interpolation section interpolates missing components by arithmetically processing the RGB image data using a filter having a size of an even-number of pixels.
- a center of the middle-high range luminance component is present at a position between neighboring pixels, and a center of the low-frequency luminance signal is also present at a position between neighboring pixels.
- occurrence of a ghost in a reproduced image can be prevented.
- At least one of the first and second interpolation sections interpolates the RGB image data by using a median method for a G-component and a bilinear method for R- and B-components.
- a G-component is interpolated by using a median method, whereby attenuation of a high-range luminance component is suppressed to a minimum level.
- R- and B-components are interpolated by using a bilinear method, whereby noise is reduced.
- a contour of an image is emphasized, and the quality of the image can be improved.
- the image processing apparatus further includes: a middle/high-range luminance component extraction section for extracting at least one of a middle-range luminance component and a high-range luminance component based on the second luminance signal; and a second synthesis section for adding at least one of the middle-range luminance component and the high-range luminance component to the second luminance signal so as to generate a third luminance signal.
- a “middle-range luminance component” means a luminance component mainly containing middle-frequency components
- a “high-range luminance component” means a luminance component mainly containing high-frequency components
- the three-dimensional appearance (stereoscopic effect or stereophonic effect) of an image can be adjusted according to user's preference.
- the middle/high-range luminance component extraction section arithmetically processes the second luminance signal by using one filter which has an adjustable coefficient.
- a middle/high-range component extraction section can be readily formed of a single filter.
- the image processing apparatus further includes: a median filtering section for removing, with a median filter, noise inherent to the image capturing element which is contained in a color-difference signal generated based on a RGB image signal from the second interpolation section: wherein the median filtering section changes the size of the median filter according to an amount of the noise.
- the amount of noise included in a color-difference signal varies according to, for example, the quality of an image capturing element such as a CCD.
- an appropriate median filter according to the amount of noise, a color-difference signal with reduced noise can be generated.
- the invention described herein makes possible the advantages of providing an image processing apparatus which can prevent noise and jaggy which may occur when obtaining a sharp image.
- FIG. 1 is a block diagram showing a structure of an image processing apparatus according to an embodiment of the present invention.
- FIGS. 2A and 2B show specific examples of YH extraction filters used in a middle-high range luminance component extraction section of the image processing apparatus shown in FIG. 1 .
- FIG. 3 shows frequency characteristics of the YH extraction filters shown in FIGS. 2A and 2B and a frequency characteristic of a differential output of the YH extraction filters shown in FIGS. 2A and 2B .
- FIG. 4 shows a specific example of a composite contour emphasizing filter used in a middle/high range luminance component extraction section of the image processing apparatus shown in FIG. 1 .
- FIGS. 5A and 5B show RGB interpolation filters used in a second RGB interpolation section of the image processing apparatus shown in FIG. 1 .
- FIG. 5A shows a specific example of an R- and B-interpolation filter.
- FIG. 5B shows a specific example of a G-interpolation filter.
- FIG. 6 shows examples of one-dimensional filters in parts (A) through (G).
- FIG. 7 shows frequency characteristics of filter A having a size of an even-number of pixels and filters B and C each having a size of an odd-number of pixels.
- FIG. 8 shows frequency characteristics of filter A having a size of an even-number of pixels and filters D and E each having a size of an odd-number of pixels.
- FIG. 9 shows frequency characteristics of various filters each having a different size of an even-number of pixels.
- FIG. 10 illustrates a case where pixel data is generated between neighboring pixels with a filter having a size of an even-number of pixels.
- FIG. 11 shows frequency characteristics of a low-frequency luminance signal, a middle-high luminance component, and a low-frequency luminance signal including a compensated middle-high luminance component.
- FIG. 12 shows frequency characteristics of a middle-high range luminance component extraction filter, a middle-range luminance component extraction filter, and a high-range luminance component extraction filter.
- FIG. 13 is a block diagram showing a first exemplary structure of a conventional image processing apparatus.
- FIG. 14 is a plan view showing a Bayer-array of a color filter.
- FIG. 15 shows a portion of the Bayer-array of FIG. 14 .
- FIG. 16 is a block diagram showing a second exemplary structure of a conventional image processing apparatus.
- FIGS. 17A and 17B show two-dimensional second-derivative filters which are used in contour emphasizing processing.
- FIG. 18 is a block diagram showing a third exemplary structure of a conventional image processing apparatus.
- FIG. 19 shows a restorable range of sampling frequencies for each color component in the Bayer array.
- FIG. 20 shows frequency characteristics of an optical low-pass filter and a compensation filter.
- FIG. 21 shows frequency characteristics of a middle-range luminance component, a middle-high range luminance component, and a high-range luminance component compensation filter.
- FIG. 22 shows a specific example of a YH extraction filter formed of a single filter which is used in a middle-high luminance component extraction section of the image processing apparatus shown in FIG. 1 .
- FIG. 1 is a block diagram showing a structure of an image processing apparatus according to an embodiment of the present invention.
- the image processing apparatus 1 includes: an optical low-pass filter 2 ; a primary-color CCD area sensor 3 ; a first RGB interpolation section (RGB interpolation section for extraction of middle-high range luminance component) 4 ; a luminance generation section 5 for extraction of middle-high range luminance component; a middle-high range luminance component extraction section 6 ; a multiplier 7 and adder 8 which function as a first synthesizing section; a middle/high range luminance component extraction section 9 ; and a multiplier 10 and adder 11 which function as a second synthesizing section.
- the first RGB interpolation section 4 , the luminance generation section 5 , and the middle-high range luminance component extraction section 6 form a middle-high range luminance component compensation section 20 .
- the low-pass filter 2 removes frequency components whose frequency is equal to or higher than a 1 ⁇ 2 of sampling frequency fs.
- the primary-color CCD area sensor 3 is formed by a plurality of light-receiving elements arranged in a matrix.
- the primary-color CCD area sensor 3 includes a color filter on a light-receiving face thereof. This color filter is formed based on the Bayer array ( FIG. 14 ).
- RGB image data obtained from the primary-color CCD area sensor 3 successively goes through a Correlated Double Sampling (CDS) circuit (not shown) which reduces noise in the RGB image data, an Automatic Gain Control (AGC) circuit (not shown) for performing gain adjustment processing, and an A/D conversion circuit (not shown) whose resolution is, e.g., 10 bits, and then reaches, as digital image data, the first RGB interpolation section 4 and a second RGB interpolation section (RGB interpolation section for generation of low-frequency luminance signal generation and color-difference signal) 12 .
- CDS Correlated Double Sampling
- AGC Automatic Gain Control
- A/D conversion circuit not shown
- the first RGB interpolation section 4 missing color components among R-, G-, and B-components for each pixel are interpolated based on data from color components of the same type in neighboring pixels.
- the R- and B-components are interpolated by a bilinear method represented by expressions (2) through (4)
- the G-component is interpolated by a median method represented by expressions (5).
- the first RGB interpolation section 4 uses, as an RGB interpolation filter, a two-dimensional filter having a size of (an odd-number of pixels) ⁇ (an odd-number of pixels) which is greater than 3 pixels ⁇ 3 pixels.
- this interpolation filter As the size of this interpolation filter becomes larger, a larger amount of middle- and high-luminance components are reduced by this filter. As a result, it becomes more difficult to extract the middle- and high-luminance components. Interpolation processing would not be achieved by a filter of one-pixel by one-pixel. Furthermore, if a two-dimensional filter of 2 pixels ⁇ 2 pixels is employed, a bilinear interpolation method cannot be used, and therefore, interpolation cannot be achieved without using a nearest neighbor interpolation. When the nearest neighbor interpolation is used, middle- and high-luminance components are deteriorated as compared with a case where a bilinear interpolation method is used. Thus, a two-dimensional filter of 3 pixels ⁇ 3 pixels is desirable.
- the luminance signal Y which is generated by the luminance generation section 5 is subjected to a first YH extraction filter F 1 shown in FIG. 2A and a second YH extraction filter F 2 shown in FIG. 2B , whereby middle-high range luminance component YH is extracted.
- the middle-high range luminance component extraction section 6 outputs a difference between an output from the first YH extraction filter F 1 having a size of 6 pixels ⁇ 6 pixels shown in FIG. 2A and an output from the second YH extraction filter F 2 having a size of 4 pixels ⁇ 4 pixels shown in FIG. 2B as middle-high range luminance component YH.
- x denotes an operation in a horizontal direction
- y denotes an operation in a vertical direction.
- the first YH extraction filter F 1 shown in FIG. 2A is a low-path filter having a differential effect (which includes positive and negative coefficients).
- the first YH extraction filter F 1 is symmetric with respect to x- and y-directions, and may have a size of an even-number of pixels along both x- and y-directions (4 pixels ⁇ 4 pixels, 8 pixels ⁇ 8 pixels, 10 pixels ⁇ 10 pixels, etc.). Furthermore, it is desirable that the first YH extraction filter F 1 has a square shape (having a size of a same number of pixels along both x- and y-directions).
- the first YH extraction filter F 1 may have a horizontally-oblong, rectangular shape where the size in the x-direction is larger than the size in the y-direction if the x-direction of an image is emphasized.
- the first YH extraction filter F 1 may have a vertically-oblong, rectangular shape where the size in the y-direction is larger than the size in the x-direction if the y-direction of an image is emphasized.
- coefficients of terms are symmetrically arranged with respect to both x- and y-directions of the filter F 1 .
- the second YH extraction filter F 2 shown in FIG. 2B is a low-path filter (which includes only positive coefficients).
- the second YH extraction filter F 2 has a size of an even-number of pixels along both x- and y-directions (but smaller than the size of the filter F 1 ).
- the second YH extraction filter F 2 may have a horizontally-oblong, rectangular shape or a vertically-oblong, rectangular shape.
- coefficients of terms are symmetrically arranged with respect to both x- and y-directions of the filter F 2 . With such a symmetrical arrangement of coefficients, an effect of filtering can be uniformly obtained, and as a result, an image can be faithfully reproduced.
- FIG. 3 shows frequency characteristics of the YH extraction filters F 1 and F 2 ( FIGS. 2A and 2B ) and a frequency characteristic of a differential output of the filters F 1 and F 2 .
- graph h shows a frequency characteristic of the first YH extraction filter F 1
- graph i shows a frequency characteristic of the second YH extraction filter F 2
- graph j shows a frequency characteristic of middle-high range luminance component YH which is the differential output of graph i and graph J.
- the YH extraction filter is formed by two filters, but may be formed by a single filter. In such a case, the arrangement of coefficients of the filter is as shown in FIG. 22 , and the amount of arithmetic operations is increased.
- the multiplier 7 gives supplemental compensation, by multiplying a gain a which is an adjustment coefficient, to middle-high range luminance component YH which has been extracted by the middle-high range luminance component extraction section 6 .
- the adder 8 adds a middle-high range luminance component multiplied by a predetermined coefficient of gain ⁇ , ⁇ YH, to a low-frequency luminance signal YL which is obtained by a low-frequency luminance signal generation section 15 (described later), thereby generating a luminance signal (YL+ ⁇ YH).
- a luminance signal (YL+ ⁇ YH) received from the adder 8 is subjected to a composite contour emphasizing filter shown in FIG. 4 , whereby middle/high-range luminance components ENH are extracted.
- the ratio of extracted middle-range luminance components and extracted high-range luminance components can be adjusted by adjusting the ratio between variables l and m.
- the multiplier 10 gives supplemental compensation, by multiplying a gain ⁇ which is an adjustment coefficient, to middle- and high-range luminance components ENH which has been extracted by the middle/high-range luminance component extraction section 9 .
- the adder 11 adds middle- and high-range luminance components multiplied by the multiplier 10 by a predetermined coefficient of gain ⁇ , ⁇ ENH, to a luminance signal (YL+ ⁇ YH) which is obtained from the adder 8 , and outputs a luminance signal (YL+ ⁇ YH+ ⁇ ENH).
- the image processing apparatus 1 further includes: a second RGB interpolation section 12 connected to the primary-color CCD area sensor 3 ; a white balance adjustment section 13 ; a gamma correction section 14 ; a low-frequency luminance signal generation section 15 ; a color-difference signal generation section 16 ; and a median filter 17 .
- interpolation is achieved by arithmetic operations using interpolation filters shown in FIGS. 5A and 5B .
- Color components interpolated by the second RGB interpolation section 12 and color components obtained by the color filter are combined so as to generate a second RGB image signal where all of R-, G-, and B-components are complete for each pixel.
- the R- and B-component interpolation filter shown in FIG. 5A is used for R- and B-components
- the G-component interpolation filter shown in FIG. 5B is used for the G-component.
- it is required that an operation in the x-direction has priority over an operation in the y-direction.
- R-components when R-components are interpolated, only R-components in the Bayer array shown in FIG. 14 are input to the R- and B-component interpolation filter shown in FIG. 5A , and zero is input for B- and G-components to the R- and B-component interpolation filter. As a result, an output from the R- and B-component interpolation filter results in an interpolated R-component image.
- the order of arithmetic operations is not important because a weighting coefficient is the same for both the x- and y-directions.
- an operation in the x-direction must be performed prior to an operation in the y-direction because a weighting coefficient for the x-direction is different from that for the y-direction. If an operation in the y-direction must be performed prior to an operation in the x-direction, weighting coefficients for the x- and y-directions shown in the G-interpolation filter of FIG. 5B are replaced with each other.
- Each of the interpolation filters shown in FIGS. 5A and 5B is a low-path filter (which includes only positive coefficients). Each of these filters has a size of an even-number of pixels along both x- and y-directions.
- coefficients of terms are symmetrically arranged with respect to both x- and y-directions of the filter. With such a symmetrical arrangement of coefficients, an effect of filtering can be uniformly obtained, and as a result, an image can be faithfully reproduced.
- the second RGB interpolation section 12 filters having a size of an even-number of pixels are employed because at the adder 8 where middle-high range luminance component YH is added to a low-frequency luminance signal YL, a position of image data from the section 15 must conform to that of image data from the multiplier 7 .
- the YH extraction filter of the middle-high range luminance component extraction section 6 must have a size of an even-number of pixels whereas the interpolation filter used in the first RGB interpolation section 4 has a size of an odd-number of pixels, image data of the extracted middle-high range luminance component YH reside in positions between pixels.
- a filter having a size of an even-number of pixels is used in the second RGB interpolation section 12 .
- pixel data of the low-frequency luminance signal YL is positioned between pixels so as to conform to a position of image data of the extracted middle-high range luminance component YH.
- the white balance adjustment section 13 adjusts the white balance with respect to the interpolated R-, G-, or B-components in each pixel according to the color temperature of light so as to correct the color of an image.
- the gamma correction section 14 processes the R-, G-, and B-components obtained after the white balance has been adjusted such that the R-, G-, and B-components conform to properties of a display or printer for outputting an image.
- the low-frequency luminance signal generation section 15 generates a low-frequency luminance signal YL based on above expression (6) after gamma correction.
- the median filter 17 removes noise from the above color-difference signals Cr and Cb.
- the size of the median filter 17 depends on the quality of a CCD. That is, for example, a median filter having a size of 5 pixels ⁇ 5 pixels is used for a CCD which causes much noise, and a median filter having a size of 3 pixels ⁇ 3 pixels is used for a CCD which causes small noise.
- a middle-high range component represented by graph e of FIG. 21 is mainly compensated for, and middle- and high-range components of an image are supplementarily compensated for.
- the middle-high range component has a maximum value of its amplitude at a position where the angular frequency ⁇ is between ⁇ /2 to ⁇ , and the amplitude thereof is zero when the angular frequency ⁇ is ⁇ .
- a filter which can extract the middle-high luminance component is a filter (A) shown in FIG. 6 .
- the transfer function of the filter (A) of FIG. 6 having a size of an even-number of pixels is as shown in expression (8). It should be noted that a center of the filter (A) of FIG. 6 having a size of an even-number of pixels is present at an intermediate position between pixels, and a position of a filter output is also present at an intermediate position between pixels.
- the reason that a filter having a size of an even-number of pixels is used is to obtain a frequency characteristic represented by graph e of FIG. 21 .
- the two-dimensional second-derivative filter of FIG. 17B is converted into a one-dimensional filter to prepare a filter (B) of FIG. 6
- the two-dimensional second-derivative filter of FIG. 17A is converted into a one-dimensional filter to prepare a filter (C) of FIG. 6
- the transfer function of the filter (B) of FIG. 6 is as shown in expression (9), and the transfer function of the filter (C) of FIG.
- the transfer functions represented by expressions (8), (9), and (10) are normalized, and frequency characteristics thereof are shown in graphs A, B, and C, respectively, in FIG. 7 .
- the frequency characteristic of expression (8) shown in graph A exhibits a maximum value of the amplitude when the angular frequency ⁇ is 0.6 ⁇ , and exhibits an amplitude of zero when the angular frequency ⁇ is ⁇ .
- the compensation with middle-high luminance component can be achieved.
- a filter having a size of an odd-number of pixels where a value (amplitude) of its transfer function is zero when the angular frequency ⁇ is ⁇ , the amplitude thereof reaches a maximum value only when the angular frequency ⁇ is ⁇ /2 (equivalent to fs/4).
- FIG. 8 which shows frequency characteristics of the filters (A), (D), and (E) of FIG. 6
- the amplitude of the frequency characteristic for each of the filters (D) and (E) i.e., a filter having a size of an odd-number of pixels, is not zero when the angular frequency ⁇ is ⁇ .
- a filter having a size of an odd-number of pixels causes noise or jaggy in a reproduced image as in a conventional technique.
- a filter (F) of FIG. 6 has a size of an even-number of pixels which is obtained by adding a high-order derivative term to the filter (A).
- the frequency characteristic of a normalized transfer function (8) (filter (A) of FIG. 6 ) is represented by graph A
- the frequency characteristic of a normalized transfer function (11) is represented by graph F.
- both of the filter (A) and filter (F) can be used to compensate for a middle-high range luminance component.
- the filter (F) is more useful than the filter (A) because, when graph A (filter (A)) and graph F (filter (F)) exhibit the maximum amplitude, the angular frequency ⁇ for graph F is larger than that for graph A.
- a higher-range luminance component can be compensated for.
- a filter having a size of an even-number of pixels means that new pixels are created, not at original pixel positions of a CCD, but at positions on borders between original pixels.
- a two-dimensionally arranged filter has an arrangement shown in FIG. 10 .
- symbols “ ⁇ ” denote original pixel positions of the CCD
- symbols “ ⁇ ” denote pixel data positions after a filter having a size of an even-number of pixels has been applied.
- the frequency characteristic as to luminance signal processing when a one-dimensional filter is used is now described.
- FIG. 1 the description is made while referring to a series of processing shown in FIG. 1 since the primary-color CCD area sensor 3 outputs image data until a luminance signal (YL+ ⁇ YH) is obtained by the adder 8 .
- Each process in the luminance generation section 5 , the white balance adjustment section 13 , the gamma correction section 14 , and the low-frequency luminance signal generation section 15 does not influence a frequency distribution of image data, and therefore, descriptions thereof are herein omitted.
- R- and B-components are interpolated by using a bilinear method of expressions (2) through (4), and a G-component is interpolated by using a median method of expression (5).
- a middle-high range component is attenuated, but is not completely removed.
- the middle-high range luminance component extraction section 6 uses the YH interpolation filters shown in FIGS. 2A and 2B to extract a middle-high range luminance component YH.
- the extracted middle-high range luminance component YH can be freely adjusted by using gain ⁇ . It should be noted that, for the purpose of simplifying the description, a loss of the middle-high range luminance component YH in the first RGB interpolation section 4 is not considered.
- the two-dimensional filters for extracting a middle-high range luminance component correspond to the one-dimensional filter (F) of FIG. 6 , the transfer function of the filter (F) is represented by expression (11).
- the second RGB interpolation section 12 uses, as a RGB interpolation filter, two-dimensional filters shown in FIGS. 5A and 5B .
- FIG. 11 the frequency characteristic of expression (11) of the YH extraction filter is represented by graph J, and the frequency characteristic of expression (12) of the RGB interpolation filter which is used in the second RGB interpolation section 12 is represented by graph I. (It should be noted that FIG. 11 shows the normalized functions.)
- the frequency characteristic of a luminance signal (YL+YH) is represented by graph H. From FIG. 11 , it is clearly understood that the middle-high range luminance component YH has been compensated for.
- FIG. 12 shows again the frequency characteristic of transfer function (11) of the YH extraction filters shown in FIGS. 2A and 2B which is in the form of a one-dimensional function, and the frequency characteristics of transfer functions (9) and (10) of the two two-dimensional second-derivative filters shown in FIGS. 17A and 17B which are in the form of a one-dimensional function.
- graph J shows the frequency characteristic of filter (F) of FIG. 6 which is represented by expression (11)
- graph B shows the frequency characteristic of the high-range luminance component extraction filter shown in FIG.
- graph C shows the frequency characteristic of the middle-range luminance component extraction filter shown in FIG. 17A .
- a middle-range luminance component and a high-range luminance component in graph H show in FIG. 11 can be compensated for by utilizing the frequency characteristics of graph B and graph C show in FIG. 12 .
- a frequency characteristic cannot be compensated so as to be identical with the ideal characteristic represented by graph C of FIG. 20 .
- gain a and ENH gain ⁇ a frequency characteristic which is closer to the ideal characteristic represented by graph C can be obtained.
- an image processing system includes a middle-high range luminance component YH generation route including the first RGB interpolation section 4 and the middle-high range luminance component extraction section 6 in parallel with a low-frequency luminance signal YL generation route including the second RGB interpolation section 12 , and the middle-high range luminance component YH is added by the adder 8 to low-frequency luminance signal YL, whereby a middle-high range luminance component is compensated for by the middle-high range luminance component YH. Furthermore, a middle-range luminance component and a high-range luminance component are supplementarily compensated for by using a conventional compensation method. Thus, an image with higher resolution can be obtained as compared with an image obtained by a conventional image processing system, while noise and jaggy can be prevented from appearing in a reproduced image.
- a color-difference signal is generated from a second RGB image signal which is generated by interpolation with a low-pass filter in the second RGB interpolation section 12 ( FIG. 1 ), and the n is subjected to the median filter 17 ( FIG. 1 ) before it is externally output.
- the middle-high range luminance component YH is added by the adder 8 to low-frequency luminance signal YL, and a middle-range luminance component and high-range luminance component in a resultant signal are supplementarily compensated.
- the middle-high range luminance component extraction section 6 for the purpose of extracting middle-high range luminance component YH, an extraction filter used must be a filter having a size of an even-number of pixels.
- the first RGB interpolation section 4 has to use, as a RGB interpolation filter, a filter having a size of an odd-number of pixels, especially a filter having a size of 3 pixels ⁇ 3 pixels, which is the best size in preventing deterioration of middle-high range luminance component YH.
- the second RGB interpolation section 12 has to use, as a RGB interpolation filter, a filter having a size of an even-number of pixels.
- the color filter provided to the CCD area sensor is a color filter whose RGB color arrangement based on the Bayer array.
- the RGB color arrangement which can be used in the present invention is not limited to the Bayer array, but any RGB color arrangement may be used.
- the image processing apparatus 1 processes RGB image data generated by the optical low-pass filter 2 and the area sensor 3 .
- a low-frequency luminance signal generated from the RGB image data has a middle-high range luminance component which is attenuated due to the optical low-pass filter 2 as compared with an ideal frequency characteristic which should be obtained by the optical low-pass filter 2 .
- the image processing apparatus 1 includes means of compensating for the attenuated middle-high range luminance component of the low-frequency luminance signal. Owing to such compensation means, a sharper image can be obtained by contour emphasizing processing while preventing occurrence of noise and jaggy which may be caused during the contour emphasizing processing.
- a middle-high range luminance component of a low-frequency luminance signal which is attenuated as compared with an ideal frequency characteristic in a range of a predetermined frequency (a 1 ⁇ 2 of sampling frequency fs) or smaller is compensated.
- a sharp image can be obtained by contour emphasizing processing while preventing occurrence of noise and jaggy which may be caused when obtaining the sharp image.
- an image with high resolution can be obtained by contour emphasizing processing while preventing occurrence of noise and jaggy which may be caused when obtaining the sharp image.
- a middle-high range component whose amplitude is zero when the angular frequency ⁇ is ⁇ and has a maximum value at a position where the angular frequency ⁇ is between ⁇ /2 to ⁇ can be readily extracted.
- a uniform filtering effect can be obtained, and as a result, an image can be faithfully reproduced.
- arithmetic operations in x- and y-directions of image data can be separately performed, and accordingly, increases in the amount of arithmetic operations can be suppressed.
- YH extraction filtering can be readily implemented by hardware.
- a middle-high range luminance component can be extracted while most-effectively preventing deterioration of the middle-high range luminance component.
- a center of the middle-high range luminance component is present at a position between neighboring pixels, and a center of the low-frequency luminance signal is also present at a position between neighboring pixels.
- a G-component is interpolated by using a median method, whereby attenuation of a high-range luminance component is suppressed to a minimum level.
- R- and B-components are interpolated by using a bilinear method, whereby noise is reduced.
- a contour of an image is emphasized, and the quality of the image can be improved.
- the three-dimensional appearance (stereoscopic effect or stereophonic effect) of an image can be adjusted according to user's preference.
- a middle/high-range component extraction section can be readily formed of a single filter.
- the amount of noise included in a color-difference signal varies according to, for example, the quality of an image capturing element such as a CCD.
- an appropriate median filter according to the amount of noise, a color-difference signal with reduced noise can be generated.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Color Television Image Signal Generators (AREA)
- Facsimile Image Signal Circuits (AREA)
- Image Processing (AREA)
- Color Image Communication Systems (AREA)
- Processing Of Color Television Signals (AREA)
Abstract
An image processing apparatus for processing RGB image data output from an image capturing element including a primary-color filter, includes: a middle-high range luminance component compensation section for compensating for a middle-high range luminance component of a low-frequency luminance signal generated based on the RGB image data such that the low-frequency luminance signal has substantially an ideal frequency luminance characteristic which is lower than or equal to a predetermined frequency.
Description
- 1. Field of the Invention
- The present invention relates to an image processing apparatus for processing image data obtained by a CCD (charge-coupled device) area sensor having a primary-color filter so as to obtain a high quality image. Such an image processing apparatus is mounted on a digital camera (e.g., electronic still camera) or the like.
- 2. Description of the Related Art
- A conventional image processing apparatus for use in a digital camera, or the like, performs a series of various image processing steps, e.g., interpolation for each color component, contour emphasizing processing, etc., on image data obtained by a CCD area sensor having a primary-color filter, so as to obtain a high quality image. Hereinafter, conventional image processing apparatuses are described with reference to
FIGS. 13 through 21 . -
FIG. 13 is a block diagram showing a first exemplary structure of a conventional image processing apparatus. InFIG. 13 , theimage processing apparatus 100 includes an optical low-pass filter 101, a primary-colorCCD area sensor 102, aRGB interpolation section 103, a whitebalance adjustment section 104, agamma correction section 105, and a sharpening processing section (contour emphasizing section) 106. - The low-
pass filter 101 removes frequency components whose frequency is equal to or higher than a ½ of sampling frequency fs. According to the sampling theorem, when an image is converted into image data, frequency components whose frequency is equal to or higher than a ½ of sampling frequency fs are converted into aliasing noise. In order to reduce such aliasing noise, the optical low-pass filter 101 is provided before theCCD area sensor 102. - The primary-color
CCD area sensor 102 is formed by a plurality of light-receiving elements arranged in a matrix. The primary-colorCCD area sensor 102 includes a primary-color (R,G,B) filter on a light-receiving face thereof where each of color areas corresponds to one pixel. The color filter is formed based on the Bayer array (FIG. 14 ) which is a type of RGB arrangements. - The RGB interpolation section 103 (which will be described later in detail) can receive, from the
CCD area sensor 102, only one type of color component for each pixel among R, G, B colors of the color filter of thesensor 102. In theRGB interpolation section 103, each of the remaining two types of color components in each pixel is calculated from color components of the same type in neighboring pixels, whereby all of the three color components are obtained in each pixel. - The white
balance adjustment section 104 adjusts the white balance with respect to the R-, G-, and B-components in each pixel which are obtained by theRGB interpolation section 103 according to the color temperature of light so as to correct the color of an image. - The
gamma correction section 105 processes the R-, G-, and B-components obtained after the white balance has been adjusted such that the R-, G-, and B-components conform to properties of a display or printer which outputs an image. - The
sharpening processing section 106 performs contour emphasizing processing (sharpening processing) in order to obtain a sharp image. The sharpening process compensates for high-range luminance components which have been removed by the low-pass filter 101 by filtering processing which emphasizes high-range luminance components. That is, in the case where the low-pass filter 101 is provided, CCD image data generated by the primary-colorCCD area sensor 102 has a reduced high-range luminance component. Furthermore, for example, since an unobtained color component in each pixel is compensated for by interpolation, e.g., by calculating an average value from color components of the same type in neighboring pixels, an image obtained by such interpolation has a further reduced high-range luminance component. Thus, in order to obtain a sharp image, it is necessary to compensate for a lost high-range luminance component by performing a filtering process which emphasizes high-range luminance components. - Interpolation by the
RGB interpolation section 103 is now described in detail. - When the
CCD area sensor 102 is a single-plate area sensor, in theRGB interpolation section 103, interpolation is performed for the missing two types of color components such that all of R(red)-, G(green)-, and B(blue)-color components are complete in each pixel. Based on all of R-, G-, and B-color components including color components obtained by interpolation, a color image is created. - When the
CCD area sensor 102 is a three-plate area sensor where three area sensor elements are provided with full-size R-, G-, and B-color filters, respectively, theRGB interpolation section 103 receives from theCCD area sensor 102 all of R-, G-, and B-color components for each pixel. Thus, it is not necessary to perform interpolation. However, when theCCD area sensor 102 is a single-plate area sensor having, on its light-receiving element, a single color filter on which R-, G-, and B-filter areas are arranged in a predetermined pattern (e.g., Bayer array shown inFIG. 14 ), it is necessary to perform interpolation for missing color components in each pixel. Therefore, when employing a single-plate CCD camera incorporating a single-plate CCD area sensor, missing color components in each pixel which cannot be obtained by a color filter are created by various methods. - U.S. Pat. Nos. 4,605,956, 4,642,678, and 4,630,307, and the document by James E. Adams, Jr., “Interactions between color plane interpolation and other image processing functions in electronic photography”, suggest various interpolation methods for the purpose of creating an image with no jaggy or zip noise. “Jaggy” means a step-shaped noise which emerges along a contour of an image, which is a type of noise among various types of noise.
- In U.S. Pat. No. 4,605,956, interpolation is performed by using the following expressions (1) through (4) on missing color components in a pixel arrangement shown in
FIG. 15 (bilinear interpolation method). Interpolation for G- and B-components at each pixel position inFIGS. 14 and 15 is shown below:
G 5=(G 2 +G 4 +G 6+G 8)/4 (1)
B 5=(B 1 +B 3 +B 7 +B 9)/4 (2)
B 2=(B 1+B 3)/2 (3)
B 4=(B 1 +B 7)/2 (4) - In the Bayer array shown in
FIG. 15 , R-, G-, and B-colors are arranged according to a certain pattern. For example, at a central pixel position, R5, color components G5 and B5 are missing in a corresponding color filter. The color components G5 and B5 are obtained from expressions (1) and (2). - Furthermore, B2 is obtained from expression (3), and B4 is obtained from expression (4). Interpolation for each of B6 and B8 is performed by obtaining an average value of B-component values in vertically or horizontally neighboring pixels based on an expression similar to expression (3) or (4). This is the same for R2, R4, R6, and R8.
- Furthermore, G1 is obtained from G-component information in neighboring pixels around pixel position “B1” by an expression similar to expression (1). This is the same for G3, G7, and G9. R1 is obtained from R-component information in neighboring pixels around pixel position “B1” by an expression similar to expression (2). This is the same for R3, R7, and R9.
- Next, an image processing method disclosed in Japanese Laid-Open Publication No. 10-164371 is described with reference to
FIG. 16 . -
FIG. 16 is a block diagram showing a second exemplary structure of a conventional image processing apparatus. As shown inFIG. 16 , theimage processing apparatus 200 includes a primary-colorCCD area sensor 201, aRGB interpolation section 202, and acontour emphasizing sections 203 provided for respective ones of R-, G-, and B-components. - The
RGB interpolation section 202 first interpolates a G-component by using expression (5) which represents median processing for G-color components obtained by the filter arrangement shown inFIG. 15 . Then, only at pixel positions, “R” and “B”, inFIG. 14 , a (R-G) component and a (B-G) component are created. In the last, the created (R-G) and (B-G) components are interpolated by bilinear interpolation, and G-components are added to the interpolated (R-G) and (B-G) components, whereby R- and B-components are obtained.
G 5=(G 2 +G 4+G 6+G 8−Min−Max)/2
Min=Min(G 2 ,G 4,G 6,G 8)
Max=Max(G 2,G 4,G 6,G 8) (5) - How to obtain B4 at pixel position “G4” is now described in detail with reference to
FIG. 15 . In the first step, G1, G3, G5, G7, and G9 are interpolated by the median processing process using expression (5). Then, (B1-G1) and (B7-G7) which are (B-G) components at pixel positions “B1” and “B7” are created. (B4-G4) which is a (B-G) component at pixel positions “G4” is represented as follows:
B 4−G 4=(½){(B 1 −G 1)+(B 7−G 7)}
From this expression, B4 can be represented as follows:
B 4=(½){(B 1 −G 1)+(B 7−G 7)}+G 4 - The
contour emphasizing sections 203 employs a two-dimensional second-derivative filter shown inFIG. 17A for each of R-, G-, and B-components. Each box of the two-dimensional second-derivative filter shown inFIG. 17A corresponds to one pixel, and the number shown in each box represents a weight. The weight of each box area is set such that the total weight in the two-dimensional second-derivative filter is zero. - Next, an interpolation method disclosed in Japanese Laid-Open Publication No. 11-18047 is described with reference to
FIG. 18 . -
FIG. 18 is a block diagram showing a third exemplary structure of a conventional image processing apparatus. InFIG. 18 , theimage processing apparatus 300 includes a primary-colorCCD area sensor 301,RGB interpolation sections 302, a middle-rangecomponent emphasizing section 303, a high-rangecomponent emphasizing section 304, a whitebalance adjustment section 305, and agamma correction section 306. The primary-colorCCD area sensor 301 includes a color filter of Bayer array. - The
RGB interpolation sections 302 perform interpolation on each of R-, G-, and B-components. When a G-component is interpolated by using a median method of expression (5), and R- and B-components are interpolated by using a bilinear method of expressions (2) through (4), interpolation is achieved with high image quality. - The middle-range
component emphasizing section 303 is formed by a middle-rangecomponent extraction section 303 a andadders 303 b. In the middle-rangecomponent emphasizing section 303, the middle-rangecomponent extraction section 303 a extracts a middle-range component from a G-component interpolated by the G-interpolation section of theRGB interpolation sections 302. The extracted middle-range component is synthesized with each of R-, G-, and B-components by theadders 303 b, whereby the middle-range component emphasizing processing is achieved. In this middle-range component emphasizing processing, the difference between a G-component and a low-pass filtered G-component is added as a compensation component to the G-component. In other words, a high-range component of the G-component is removed by a low-pass filter (not shown) to obtain a GBAR-component, and a compensation component which is the difference between the G-component and the GBAR-component (G-GBAR) is added to the G-component, whereby a middle-range component emphasizing processing is achieved. - The high-range
component emphasizing section 304 is formed by a high-rangecomponent extraction section 304 a andadders 304 b. In the high-rangecomponent emphasizing section 304, the high-rangecomponent extraction section 304 a extracts a high-range component from a G-component interpolated by the G-interpolation section of theRGB interpolation sections 302. The extracted high-range component is synthesized with each of R-, G-, and B-components by theadders 304 b, whereby high-range component emphasizing processing is achieved. This high-range component emphasizing process employs the two-dimensional second-derivative filter shown inFIG. 17B . In the filter shown inFIG. 17B , in order to obtain pixel data of a pixel corresponding to a central box “4”, the weight of the filter is multiplied by data from each pixel, and the products for all of the pixels are added up. Thus, when a result of this calculation does not change, the sum of the products results in zero. When a result of this calculation changes much, the sum becomes a large value, whereby a high-range component is emphasized. - Now, consider a case where each of R-, G-, and B-components obtained through a Bayer array filter shown in
FIG. 14 is sampled at a sampling frequency fs=1/Δx=1/Δy. A sampling frequency distribution range obtained in this case is shown inFIG. 19 . Herein, “Δx” denotes the width of a pixel (pixel pitch) in a horizontal direction (x-direction), and “Δy” denotes the width of a pixel (pixel pitch) in a vertical direction (y-direction). - According to the sampling theorem, a highest restorable frequency within a spatial frequency band of an original image is represented by a solid-line lozenge which is indicated by an arrow “G-component” in
FIG. 19 . Furthermore, R- and B-components are included in a two-dot chain line square. Thus, a frequency band which can be accurately converted into R-, G-, and B-components of image data is an area within the square defined by the two-dot chain line. As seen fromFIG. 19 , the accurately-restorable, highest frequency of the original image is a half of the sampling frequency fs(=1/Δx=1/Δy). Therefore, a frequency component which is higher than the highest restorable frequency fs/2 emerges as a noise in the image data. - In general, for the purpose of avoiding such a problem, an optical low-pass filter (anti-aliasing filter) is provided to a CCD area sensor. This low-pass filter removes frequency components of image data which are higher than the highest restorable frequency fs/2, but undesirably attenuates some of frequency components which are lower than the highest restorable frequency fs/2 because the low-pass filter is not ideal. In
FIG. 20 , graph a shows an ideal low-pass filter frequency characteristic (i.e., only frequency components which are higher than the highest restorable frequency fs/2 are removed). However, in an actual case, the low-pass filter frequency characteristic results in a curve of graph b. Furthermore, graph c shows an ideal frequency characteristic of a compensation filter which is used to compensate for the characteristic of graph b so as to obtain a characteristic similar to the ideal characteristic of graph a. According to the present invention, as described later in detail, a middle-range luminance component and a high-range luminance component are synthetically added to a newly-extracted, middle-high range luminance component according to a predetermined synthetic ratio, whereby a low-pass filtered component is compensated for by using a compensation filter having a frequency characteristic similar to graph c. - Furthermore, when interpolation is performed on components of an image which have been obtained through a Bayer array filter shown in
FIG. 14 so as to compensate for the missing two types of color components in each pixel, high-range luminance components are attenuated. Accordingly, it is indispensable for generating a sharp image to compensate for attenuated high-range components. In general, such a compensation is achieved by separately performing a compensation for middle-range luminance components with a compensation filter having a frequency characteristic of graph d and a compensation for high-range luminance components with a compensation filter having a frequency characteristic of graph c. InFIG. 21 , graph b shows a synthetic frequency characteristic obtained after low-pass filtering (with an anti-aliasing filter) and interpolation processing, and graph a shows an ideal frequency characteristic obtained after an entire process in an image processing system including compensation processing. - In the above-described conventional art, attenuated middle- and high-range components among low-pass filtered components are compensated for by compensation filters. The middle-range components are compensated for by a compensation filter having a characteristic represented by graph d of
FIG. 21 , and the high-range components are compensated for by a compensation filter having a characteristic represented by graph c ofFIG. 21 . When graph d exhibits the maximum amplitude, the angular frequency ω is π/2 (equivalent to fs/4). When graph c exhibits the maximum amplitude, the angular frequency ω is π (equivalent to fs/2). - However, in contour emphasizing processing which is performed for obtaining a sharp image, when high-range components of an image are emphasized by compensating for high-range components, all components having an angular frequency (o higher than fs/2 are converted into noise. Thus, as the resolution of the image is increased, noise and jaggy are observed more prominently.
- For example, in the method described in connection with the first exemplary conventional structure shown in
FIG. 13 , a G-component which largely contributes to the luminance of an image is interpolated according to above expression (1), and image data obtained after the interpolation is subjected to contour emphasizing processing, and as a result, jaggy emerges in an edge portion of the image. Examples of proposed method for solving such a problem include a color-smoothing interpolation method (U.S. Pat. No. 4,642,678), a pattern-recognition interpolation method (U.S. Pat. No. 4,630,307), an adaptive interpolation method (document by James E. Adams, Jr.). These methods are different interpolation methods, but all performed in a structure similar to theimage processing apparatus 100 shown inFIG. 13 . That is, a high-range component which is indispensable for obtaining a sharp image is generated by contour emphasizing processing in the sharpeningprocessing section 106 which resides at the end of the entire process. These interpolation methods each have some advantages in reducing false color and jaggy. However, these interpolation methods do not have means for processing a high-range component except for high-range emphasizing filtering, and thus, noise occurs in the high-range emphasizing filtering. - Thus, in the methods described in connection with the above first through third exemplary conventional structures (
FIGS. 13, 16 , and 18), noise is inevitably emphasized when a high-range component is compensated for by sharpening processing. That is, during interpolation of high-range components, frequency components whose frequency is equal to or higher than ½ of a sampling frequency fs are also emphasized, and the emphasized components whose frequency is equal to or higher than a ½ of sampling frequency fs are observed as noise and/or jaggy. - According to one aspect of the present invention, an image processing apparatus for processing RGB image data output from an image capturing element including a primary-color filter includes: a middle-high range luminance component compensation section for compensating for a middle-high range luminance component of a low-frequency luminance signal generated based on the RGB image data such that the low-frequency luminance signal has substantially an ideal frequency luminance characteristic which is lower than or equal to a predetermined frequency.
- In this specification, a “middle-high range luminance component” means a luminance component mainly containing middle-high range components, and a “low-frequency luminance signal” means a luminance signal mainly containing low-frequency components.
- With the above structure, a middle-high range luminance component of a low-frequency luminance signal which is attenuated as compared with an ideal frequency characteristic in a range of a predetermined frequency (a ½ of sampling frequency fs) or smaller is compensated. Thus, a sharp image can be obtained by contour emphasizing processing while preventing occurrence of noise and jaggy which may be caused when obtaining the sharp image.
- According to another aspect of the present invention, an image processing apparatus for processing RGB image data output from an image capturing element including a primary-color filter includes: a middle-high range luminance component extraction section for extracting a middle-high range luminance component which has a zero amplitude at an angular frequency o=n and a maximum amplitude at an angular frequency ω between π/2 and π from a first luminance signal generated based on RGB image data; and a first synthesis section for adding the middle-high range luminance component to a low-frequency luminance signal generated based on the RGB image data so as to generate a second luminance signal.
- With such a structure, an image with high resolution can be obtained by contour emphasizing processing while preventing occurrence of noise and jaggy which may be caused when obtaining the sharp image.
- In one embodiment of the present invention, the middle-high range luminance component extraction section uses at least one filter having a size of an even-number of pixels to arithmetically process the first luminance signal.
- With such a structure, a middle-high range component whose amplitude is zero when the angular frequency ω is π and has a maximum value at a position where the angular frequency ω is between π/2 to π can be readily extracted.
- In another embodiment of the present invention, the filter having a size of an even-number of pixels is a two-dimensional filter and has coefficients symmetrically arranged with respect to a x-direction and a y-direction.
- With such a structure, a uniform filtering effect can be obtained, and as a result, an image can be faithfully reproduced.
- In still another embodiment of the present invention, the filter having a size of an even-number of pixels includes a first low-pass filter having a differentiation capability and a second low-pass filter; and a difference between an output obtained by arithmetically processing the first luminance signal using the first low-pass filter and an output obtained by arithmetically processing the first luminance signal using the second low-pass filter is output as the middle-high range luminance component.
- With such a structure, arithmetic operations in x- and y-directions of image data can be separately performed, and accordingly, increases in the amount of arithmetic operations can be suppressed. Thus, YH extraction filtering can be readily implemented by hardware.
- In still another embodiment of the present invention, the image processing apparatus further includes: a first interpolation section for interpolating missing components among R-, G-, and B-components for each pixel before the generation of the first luminance signal, wherein the first interpolation section interpolates missing components by arithmetically processing the RGB image data using a filter having a size of 3 pixels×3 pixels.
- With such a structure, a middle-high range luminance component can be extracted while most-effectively preventing deterioration of the middle-high range luminance component.
- In still another embodiment of the present invention, the image processing apparatus further includes: a second interpolation section for interpolating missing components among R-, G-, and B-components for each pixel before the generation of the low-frequency luminance signal, wherein the second interpolation section interpolates missing components by arithmetically processing the RGB image data using a filter having a size of an even-number of pixels.
- With such a structure, when compensating for a middle-high range luminance component of a low-frequency luminance signal, a center of the middle-high range luminance component is present at a position between neighboring pixels, and a center of the low-frequency luminance signal is also present at a position between neighboring pixels. Thus, occurrence of a ghost in a reproduced image can be prevented.
- In still another embodiment of the present invention, at least one of the first and second interpolation sections interpolates the RGB image data by using a median method for a G-component and a bilinear method for R- and B-components.
- With such a structure, a G-component is interpolated by using a median method, whereby attenuation of a high-range luminance component is suppressed to a minimum level. R- and B-components are interpolated by using a bilinear method, whereby noise is reduced. Thus, a contour of an image is emphasized, and the quality of the image can be improved.
- In still another embodiment of the present invention, the image processing apparatus further includes: a middle/high-range luminance component extraction section for extracting at least one of a middle-range luminance component and a high-range luminance component based on the second luminance signal; and a second synthesis section for adding at least one of the middle-range luminance component and the high-range luminance component to the second luminance signal so as to generate a third luminance signal.
- In this specification, a “middle-range luminance component” means a luminance component mainly containing middle-frequency components, and a “high-range luminance component” means a luminance component mainly containing high-frequency components.
- With the above structure, by changing a ratio between a middle-range luminance component and a high-range luminance component, the three-dimensional appearance (stereoscopic effect or stereophonic effect) of an image can be adjusted according to user's preference.
- In still another embodiment of the present invention, wherein the middle/high-range luminance component extraction section arithmetically processes the second luminance signal by using one filter which has an adjustable coefficient.
- With such a structure, a middle/high-range component extraction section can be readily formed of a single filter.
- In still another embodiment of the present invention, the image processing apparatus further includes: a median filtering section for removing, with a median filter, noise inherent to the image capturing element which is contained in a color-difference signal generated based on a RGB image signal from the second interpolation section: wherein the median filtering section changes the size of the median filter according to an amount of the noise.
- With such a structure, the amount of noise included in a color-difference signal varies according to, for example, the quality of an image capturing element such as a CCD. Thus, by selecting an appropriate median filter according to the amount of noise, a color-difference signal with reduced noise can be generated.
- Thus, the invention described herein makes possible the advantages of providing an image processing apparatus which can prevent noise and jaggy which may occur when obtaining a sharp image.
- These and other advantages of the present invention will become apparent to those skilled in the art upon reading and understanding the following detailed description with reference to the accompanying figures.
-
FIG. 1 is a block diagram showing a structure of an image processing apparatus according to an embodiment of the present invention. -
FIGS. 2A and 2B show specific examples of YH extraction filters used in a middle-high range luminance component extraction section of the image processing apparatus shown inFIG. 1 . -
FIG. 3 shows frequency characteristics of the YH extraction filters shown inFIGS. 2A and 2B and a frequency characteristic of a differential output of the YH extraction filters shown inFIGS. 2A and 2B . -
FIG. 4 shows a specific example of a composite contour emphasizing filter used in a middle/high range luminance component extraction section of the image processing apparatus shown inFIG. 1 . -
FIGS. 5A and 5B show RGB interpolation filters used in a second RGB interpolation section of the image processing apparatus shown inFIG. 1 .FIG. 5A shows a specific example of an R- and B-interpolation filter.FIG. 5B shows a specific example of a G-interpolation filter. -
FIG. 6 shows examples of one-dimensional filters in parts (A) through (G). -
FIG. 7 shows frequency characteristics of filter A having a size of an even-number of pixels and filters B and C each having a size of an odd-number of pixels. -
FIG. 8 shows frequency characteristics of filter A having a size of an even-number of pixels and filters D and E each having a size of an odd-number of pixels. -
FIG. 9 shows frequency characteristics of various filters each having a different size of an even-number of pixels. -
FIG. 10 illustrates a case where pixel data is generated between neighboring pixels with a filter having a size of an even-number of pixels. -
FIG. 11 shows frequency characteristics of a low-frequency luminance signal, a middle-high luminance component, and a low-frequency luminance signal including a compensated middle-high luminance component. -
FIG. 12 shows frequency characteristics of a middle-high range luminance component extraction filter, a middle-range luminance component extraction filter, and a high-range luminance component extraction filter. -
FIG. 13 is a block diagram showing a first exemplary structure of a conventional image processing apparatus. -
FIG. 14 is a plan view showing a Bayer-array of a color filter. -
FIG. 15 shows a portion of the Bayer-array ofFIG. 14 . -
FIG. 16 is a block diagram showing a second exemplary structure of a conventional image processing apparatus. -
FIGS. 17A and 17B show two-dimensional second-derivative filters which are used in contour emphasizing processing. -
FIG. 18 is a block diagram showing a third exemplary structure of a conventional image processing apparatus. -
FIG. 19 shows a restorable range of sampling frequencies for each color component in the Bayer array. -
FIG. 20 shows frequency characteristics of an optical low-pass filter and a compensation filter. -
FIG. 21 shows frequency characteristics of a middle-range luminance component, a middle-high range luminance component, and a high-range luminance component compensation filter. -
FIG. 22 shows a specific example of a YH extraction filter formed of a single filter which is used in a middle-high luminance component extraction section of the image processing apparatus shown inFIG. 1 . - Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
-
FIG. 1 is a block diagram showing a structure of an image processing apparatus according to an embodiment of the present invention. InFIG. 1 , theimage processing apparatus 1 includes: an optical low-pass filter 2; a primary-colorCCD area sensor 3; a first RGB interpolation section (RGB interpolation section for extraction of middle-high range luminance component) 4; aluminance generation section 5 for extraction of middle-high range luminance component; a middle-high range luminancecomponent extraction section 6; a multiplier 7 and adder 8 which function as a first synthesizing section; a middle/high range luminancecomponent extraction section 9; and amultiplier 10 and adder 11 which function as a second synthesizing section. The firstRGB interpolation section 4, theluminance generation section 5, and the middle-high range luminancecomponent extraction section 6 form a middle-high range luminancecomponent compensation section 20. - The low-
pass filter 2 removes frequency components whose frequency is equal to or higher than a ½ of sampling frequency fs. - The primary-color
CCD area sensor 3 is formed by a plurality of light-receiving elements arranged in a matrix. The primary-colorCCD area sensor 3 includes a color filter on a light-receiving face thereof. This color filter is formed based on the Bayer array (FIG. 14 ). It should be noted that RGB image data obtained from the primary-colorCCD area sensor 3 successively goes through a Correlated Double Sampling (CDS) circuit (not shown) which reduces noise in the RGB image data, an Automatic Gain Control (AGC) circuit (not shown) for performing gain adjustment processing, and an A/D conversion circuit (not shown) whose resolution is, e.g., 10 bits, and then reaches, as digital image data, the firstRGB interpolation section 4 and a second RGB interpolation section (RGB interpolation section for generation of low-frequency luminance signal generation and color-difference signal) 12. (The secondRGB interpolation section 12 will be described later in detail.) - In the first
RGB interpolation section 4, missing color components among R-, G-, and B-components for each pixel are interpolated based on data from color components of the same type in neighboring pixels. In this example, the R- and B-components are interpolated by a bilinear method represented by expressions (2) through (4), and the G-component is interpolated by a median method represented by expressions (5). The firstRGB interpolation section 4 uses, as an RGB interpolation filter, a two-dimensional filter having a size of (an odd-number of pixels)×(an odd-number of pixels) which is greater than 3 pixels×3 pixels. - As the size of this interpolation filter becomes larger, a larger amount of middle- and high-luminance components are reduced by this filter. As a result, it becomes more difficult to extract the middle- and high-luminance components. Interpolation processing would not be achieved by a filter of one-pixel by one-pixel. Furthermore, if a two-dimensional filter of 2 pixels×2 pixels is employed, a bilinear interpolation method cannot be used, and therefore, interpolation cannot be achieved without using a nearest neighbor interpolation. When the nearest neighbor interpolation is used, middle- and high-luminance components are deteriorated as compared with a case where a bilinear interpolation method is used. Thus, a two-dimensional filter of 3 pixels×3 pixels is desirable.
- The
luminance generation section 5 uses a first RGB image signal which is obtained by the firstRGB interpolation section 4 so as to generate a luminance signal Y for extracting middle- and high-luminance components:
Y=0.30R+0.59G+0.11B (6) - In the middle-high range luminance
component extraction section 6, the luminance signal Y which is generated by theluminance generation section 5 is subjected to a first YH extraction filter F1 shown inFIG. 2A and a second YH extraction filter F2 shown inFIG. 2B , whereby middle-high range luminance component YH is extracted. Specifically, the middle-high range luminancecomponent extraction section 6 outputs a difference between an output from the first YH extraction filter F1 having a size of 6 pixels×6 pixels shown inFIG. 2A and an output from the second YH extraction filter F2 having a size of 4 pixels×4 pixels shown inFIG. 2B as middle-high range luminance component YH. In theYH extraction filters - The first YH extraction filter F1 shown in
FIG. 2A is a low-path filter having a differential effect (which includes positive and negative coefficients). The first YH extraction filter F1 is symmetric with respect to x- and y-directions, and may have a size of an even-number of pixels along both x- and y-directions (4 pixels×4 pixels, 8 pixels×8 pixels, 10 pixels×10 pixels, etc.). Furthermore, it is desirable that the first YH extraction filter F1 has a square shape (having a size of a same number of pixels along both x- and y-directions). However, the first YH extraction filter F1 may have a horizontally-oblong, rectangular shape where the size in the x-direction is larger than the size in the y-direction if the x-direction of an image is emphasized. Alternatively, the first YH extraction filter F1 may have a vertically-oblong, rectangular shape where the size in the y-direction is larger than the size in the x-direction if the y-direction of an image is emphasized. Furthermore, in the first YH extraction filter F1, coefficients of terms are symmetrically arranged with respect to both x- and y-directions of the filter F1. - The second YH extraction filter F2 shown in
FIG. 2B is a low-path filter (which includes only positive coefficients). The second YH extraction filter F2 has a size of an even-number of pixels along both x- and y-directions (but smaller than the size of the filter F1). Furthermore, it is desirable that the second YH extraction filter F2 has a square shape. However, the second YH extraction filter F2 may have a horizontally-oblong, rectangular shape or a vertically-oblong, rectangular shape. Furthermore, in the second YH extraction filter F2, coefficients of terms are symmetrically arranged with respect to both x- and y-directions of the filter F2. With such a symmetrical arrangement of coefficients, an effect of filtering can be uniformly obtained, and as a result, an image can be faithfully reproduced. - With such a YH extraction filter formed by two filters, operations in x- and y-directions can be separately performed. Thus, YH extraction filtering can be readily implemented by hardware.
FIG. 3 shows frequency characteristics of the YH extraction filters F1 and F2 (FIGS. 2A and 2B ) and a frequency characteristic of a differential output of the filters F1 and F2. InFIG. 3 , graph h shows a frequency characteristic of the first YH extraction filter F1, graph i shows a frequency characteristic of the second YH extraction filter F2, and graph j shows a frequency characteristic of middle-high range luminance component YH which is the differential output of graph i and graph J. In this example, the YH extraction filter is formed by two filters, but may be formed by a single filter. In such a case, the arrangement of coefficients of the filter is as shown inFIG. 22 , and the amount of arithmetic operations is increased. - The multiplier 7 gives supplemental compensation, by multiplying a gain a which is an adjustment coefficient, to middle-high range luminance component YH which has been extracted by the middle-high range luminance
component extraction section 6. - The adder 8 adds a middle-high range luminance component multiplied by a predetermined coefficient of gain α, αYH, to a low-frequency luminance signal YL which is obtained by a low-frequency luminance signal generation section 15 (described later), thereby generating a luminance signal (YL+αYH).
- In the middle/high-range luminance
component extraction section 9, a luminance signal (YL+αYH) received from the adder 8 is subjected to a composite contour emphasizing filter shown inFIG. 4 , whereby middle/high-range luminance components ENH are extracted. In the filter ofFIG. 4 , the ratio of extracted middle-range luminance components and extracted high-range luminance components can be adjusted by adjusting the ratio between variables l and m. - The
multiplier 10 gives supplemental compensation, by multiplying a gain β which is an adjustment coefficient, to middle- and high-range luminance components ENH which has been extracted by the middle/high-range luminancecomponent extraction section 9. - The adder 11 adds middle- and high-range luminance components multiplied by the
multiplier 10 by a predetermined coefficient of gain β, βENH, to a luminance signal (YL+αYH) which is obtained from the adder 8, and outputs a luminance signal (YL+αYH+βENH). - The
image processing apparatus 1 further includes: a secondRGB interpolation section 12 connected to the primary-colorCCD area sensor 3; a whitebalance adjustment section 13; agamma correction section 14; a low-frequency luminancesignal generation section 15; a color-differencesignal generation section 16; and amedian filter 17. - In the second
RGB interpolation section 12, interpolation is achieved by arithmetic operations using interpolation filters shown inFIGS. 5A and 5B . Color components interpolated by the secondRGB interpolation section 12 and color components obtained by the color filter are combined so as to generate a second RGB image signal where all of R-, G-, and B-components are complete for each pixel. Specifically, the R- and B-component interpolation filter shown inFIG. 5A is used for R- and B-components, and the G-component interpolation filter shown inFIG. 5B is used for the G-component. Furthermore, in the G-component interpolation filter, it is required that an operation in the x-direction has priority over an operation in the y-direction. - For example, when R-components are interpolated, only R-components in the Bayer array shown in
FIG. 14 are input to the R- and B-component interpolation filter shown inFIG. 5A , and zero is input for B- and G-components to the R- and B-component interpolation filter. As a result, an output from the R- and B-component interpolation filter results in an interpolated R-component image. In the R- and B-component interpolation filter shown inFIG. 5A , the order of arithmetic operations is not important because a weighting coefficient is the same for both the x- and y-directions. However, in the G-component interpolation filter shown inFIG. 5B , an operation in the x-direction must be performed prior to an operation in the y-direction because a weighting coefficient for the x-direction is different from that for the y-direction. If an operation in the y-direction must be performed prior to an operation in the x-direction, weighting coefficients for the x- and y-directions shown in the G-interpolation filter ofFIG. 5B are replaced with each other. Each of the interpolation filters shown inFIGS. 5A and 5B is a low-path filter (which includes only positive coefficients). Each of these filters has a size of an even-number of pixels along both x- and y-directions. Furthermore, in each of these filters, coefficients of terms are symmetrically arranged with respect to both x- and y-directions of the filter. With such a symmetrical arrangement of coefficients, an effect of filtering can be uniformly obtained, and as a result, an image can be faithfully reproduced. - In the second
RGB interpolation section 12, filters having a size of an even-number of pixels are employed because at the adder 8 where middle-high range luminance component YH is added to a low-frequency luminance signal YL, a position of image data from thesection 15 must conform to that of image data from the multiplier 7. Specifically, as described above, since the YH extraction filter of the middle-high range luminancecomponent extraction section 6 must have a size of an even-number of pixels whereas the interpolation filter used in the firstRGB interpolation section 4 has a size of an odd-number of pixels, image data of the extracted middle-high range luminance component YH reside in positions between pixels. Therefore, new pixels must be created on boundaries between pixels in pixel data of the low-frequency luminance signal YL, and to this end, a filter having a size of an even-number of pixels is used in the secondRGB interpolation section 12. In such an arrangement, pixel data of the low-frequency luminance signal YL is positioned between pixels so as to conform to a position of image data of the extracted middle-high range luminance component YH. - The white
balance adjustment section 13 adjusts the white balance with respect to the interpolated R-, G-, or B-components in each pixel according to the color temperature of light so as to correct the color of an image. - The
gamma correction section 14 processes the R-, G-, and B-components obtained after the white balance has been adjusted such that the R-, G-, and B-components conform to properties of a display or printer for outputting an image. - The low-frequency luminance
signal generation section 15 generates a low-frequency luminance signal YL based on above expression (6) after gamma correction. - The color-difference
signal generation section 16 generates color-difference signals Cr and Cb based on expressions (7) after gamma correction:
Cr=0.70R−0.59G−0.11B
Cb=−0.30R−0.59G+0.89B (7) - The
median filter 17 removes noise from the above color-difference signals Cr and Cb. The size of themedian filter 17 depends on the quality of a CCD. That is, for example, a median filter having a size of 5 pixels×5 pixels is used for a CCD which causes much noise, and a median filter having a size of 3 pixels×3 pixels is used for a CCD which causes small noise. - Hereinafter, a principle of the present invention will be described in detail.
- As described above, when a high-range luminance component is emphasized by a compensation filter having a frequency characteristic represented by graph c shown in
FIG. 21 , frequency components having a frequency higher than ½ of a sampling frequency fs are undesirably emphasized as well, whereby jaggy is caused. In order to remove such jaggy, according to the present invention, a middle-high range component represented by graph e ofFIG. 21 is mainly compensated for, and middle- and high-range components of an image are supplementarily compensated for. As shown by graph e ofFIG. 21 , the middle-high range component has a maximum value of its amplitude at a position where the angular frequency ω is between π/2 to π, and the amplitude thereof is zero when the angular frequency ω is π. - For the purpose of simplifying the description, a one-dimensional filter is used instead of a two-dimensional filter in an example illustrated below. A filter which can extract the middle-high luminance component is a filter (A) shown in
FIG. 6 . The transfer function of the filter (A) ofFIG. 6 having a size of an even-number of pixels is as shown in expression (8). It should be noted that a center of the filter (A) ofFIG. 6 having a size of an even-number of pixels is present at an intermediate position between pixels, and a position of a filter output is also present at an intermediate position between pixels. The reason that a filter having a size of an even-number of pixels is used is to obtain a frequency characteristic represented by graph e ofFIG. 21 . In the filter (A) ofFIG. 6 , the number shown in each box represents a “weight” of a pixel corresponding to the box. - For the purpose of comparing the filter (A) with a middle-range luminance component compensation filter and a high-range luminance component compensation filter which are used in a conventional technique, the two-dimensional second-derivative filter of
FIG. 17B is converted into a one-dimensional filter to prepare a filter (B) ofFIG. 6 , and the two-dimensional second-derivative filter ofFIG. 17A is converted into a one-dimensional filter to prepare a filter (C) ofFIG. 6 . The transfer function of the filter (B) ofFIG. 6 is as shown in expression (9), and the transfer function of the filter (C) ofFIG. 6 is as shown in expression (10): - The transfer functions represented by expressions (8), (9), and (10) are normalized, and frequency characteristics thereof are shown in graphs A, B, and C, respectively, in
FIG. 7 . The frequency characteristic of expression (8) shown in graph A exhibits a maximum value of the amplitude when the angular frequency ω is 0.6π, and exhibits an amplitude of zero when the angular frequency ω is π. Thus, the compensation with middle-high luminance component can be achieved. - In the case of using a filter having a size of an odd-number of pixels where a value (amplitude) of its transfer function is zero when the angular frequency ω is π, the amplitude thereof reaches a maximum value only when the angular frequency ω is π/2 (equivalent to fs/4). For example, referring to
FIG. 8 which shows frequency characteristics of the filters (A), (D), and (E) ofFIG. 6 , the amplitude of the frequency characteristic for each of the filters (D) and (E), i.e., a filter having a size of an odd-number of pixels, is not zero when the angular frequency ω is π. Thus, a filter having a size of an odd-number of pixels causes noise or jaggy in a reproduced image as in a conventional technique. - Thus, for the purpose of compensating for a high-range component without emphasizing noise or jaggy, it is necessary to use a filter having a size of an even-number of pixels, such as the filter (A) of
FIG. 6 . A filter (F) ofFIG. 6 has a size of an even-number of pixels which is obtained by adding a high-order derivative term to the filter (A). The transfer function of the filter (F) is as shown in expression (11): - Referring to
FIG. 9 , the frequency characteristic of a normalized transfer function (8) (filter (A) ofFIG. 6 ) is represented by graph A, and the frequency characteristic of a normalized transfer function (11) (filter (F) ofFIG. 6 ) is represented by graph F. Graph A exhibits a peak of amplitude at a position where ω=0.6π, and graph F exhibits a peak of amplitude at a position where ω=0.68π. In both of graph A and graph F, the amplitude is zero at a position where ω=π. Thus, both of the filter (A) and filter (F) can be used to compensate for a middle-high range luminance component. However, the filter (F) is more useful than the filter (A) because, when graph A (filter (A)) and graph F (filter (F)) exhibit the maximum amplitude, the angular frequency ω for graph F is larger than that for graph A. In other words, by using a filter which exhibits the amplitude of zero at a position where ω=π, frequency components having a frequency higher than fs/2 can be prevented from causing noise. Furthermore, within a angular frequency range of π/2 to π, as a value of angular frequency ω at which the frequency characteristic exhibits a maximum value of amplitude becomes closer to π, a higher-range luminance component can be compensated for. - Furthermore, using a filter having a size of an even-number of pixels means that new pixels are created, not at original pixel positions of a CCD, but at positions on borders between original pixels. Thus, a two-dimensionally arranged filter has an arrangement shown in
FIG. 10 . InFIG. 10 , symbols “⊚” denote original pixel positions of the CCD, and symbols “◯” denote pixel data positions after a filter having a size of an even-number of pixels has been applied. - For the purpose of examining an operation of an image processing apparatus of the present invention, the frequency characteristic as to luminance signal processing when a one-dimensional filter is used is now described. Referring to
FIG. 1 , the description is made while referring to a series of processing shown inFIG. 1 since the primary-colorCCD area sensor 3 outputs image data until a luminance signal (YL+αYH) is obtained by the adder 8. Each process in theluminance generation section 5, the whitebalance adjustment section 13, thegamma correction section 14, and the low-frequency luminancesignal generation section 15 does not influence a frequency distribution of image data, and therefore, descriptions thereof are herein omitted. - In the first
RGB interpolation section 4, R- and B-components are interpolated by using a bilinear method of expressions (2) through (4), and a G-component is interpolated by using a median method of expression (5). With such interpolation processing, a middle-high range component is attenuated, but is not completely removed. - The middle-high range luminance
component extraction section 6 uses the YH interpolation filters shown inFIGS. 2A and 2B to extract a middle-high range luminance component YH. The extracted middle-high range luminance component YH can be freely adjusted by using gain α. It should be noted that, for the purpose of simplifying the description, a loss of the middle-high range luminance component YH in the firstRGB interpolation section 4 is not considered. - The two-dimensional filters for extracting a middle-high range luminance component (first and second YH extraction filters F1 and F2 shown in
FIGS. 2A and 2B ) correspond to the one-dimensional filter (F) ofFIG. 6 , the transfer function of the filter (F) is represented by expression (11). - The second
RGB interpolation section 12 uses, as a RGB interpolation filter, two-dimensional filters shown inFIGS. 5A and 5B . The two-dimensional filters shown inFIGS. 5A and 5B correspond to a one-dimensional filter (G) ofFIG. 6 , the transfer function of the filter (G) is represented by expression (12):
H(jω)=Z −1.5+3Z −0.5+3Z 0.5 +Z 1.5 (12) - In
FIG. 11 , the frequency characteristic of expression (11) of the YH extraction filter is represented by graph J, and the frequency characteristic of expression (12) of the RGB interpolation filter which is used in the secondRGB interpolation section 12 is represented by graph I. (It should be noted thatFIG. 11 shows the normalized functions.) The frequency characteristic of a luminance signal (YL+YH) is represented by graph H. FromFIG. 11 , it is clearly understood that the middle-high range luminance component YH has been compensated for. - Compensation of a middle-range luminance component and a high-range luminance component is supplementarily carried out by using the two filters shown in
FIGS. 17A and 17B . For comparison,FIG. 12 shows again the frequency characteristic of transfer function (11) of the YH extraction filters shown inFIGS. 2A and 2B which is in the form of a one-dimensional function, and the frequency characteristics of transfer functions (9) and (10) of the two two-dimensional second-derivative filters shown inFIGS. 17A and 17B which are in the form of a one-dimensional function. InFIG. 12 , graph J shows the frequency characteristic of filter (F) ofFIG. 6 which is represented by expression (11), graph B shows the frequency characteristic of the high-range luminance component extraction filter shown inFIG. 17B , and graph C shows the frequency characteristic of the middle-range luminance component extraction filter shown inFIG. 17A . Considering influence of the optical low-pass filter 2 (FIG. 20 ), a middle-range luminance component and a high-range luminance component in graph H show inFIG. 11 can be compensated for by utilizing the frequency characteristics of graph B and graph C show inFIG. 12 . With only compensation with middle-high range component YH, a frequency characteristic cannot be compensated so as to be identical with the ideal characteristic represented by graph C ofFIG. 20 . However, by adjusting parameters l and m of the composite contour emphasizing filter shown inFIG. 4 , gain a and ENH gain β, a frequency characteristic which is closer to the ideal characteristic represented by graph C can be obtained. - As described hereinabove, according to this embodiment of the present invention, as shown in
FIG. 1 , an image processing system includes a middle-high range luminance component YH generation route including the firstRGB interpolation section 4 and the middle-high range luminancecomponent extraction section 6 in parallel with a low-frequency luminance signal YL generation route including the secondRGB interpolation section 12, and the middle-high range luminance component YH is added by the adder 8 to low-frequency luminance signal YL, whereby a middle-high range luminance component is compensated for by the middle-high range luminance component YH. Furthermore, a middle-range luminance component and a high-range luminance component are supplementarily compensated for by using a conventional compensation method. Thus, an image with higher resolution can be obtained as compared with an image obtained by a conventional image processing system, while noise and jaggy can be prevented from appearing in a reproduced image. - According to this embodiment of the present invention, in order to prevent occurrence of false color, a color-difference signal is generated from a second RGB image signal which is generated by interpolation with a low-pass filter in the second RGB interpolation section 12(
FIG. 1 ), and the n is subjected to the median filter 17 (FIG. 1 ) before it is externally output. On the other hand, in order to obtain a desirable luminance signal, the middle-high range luminance component YH is added by the adder 8 to low-frequency luminance signal YL, and a middle-range luminance component and high-range luminance component in a resultant signal are supplementarily compensated. When the middle-high range luminance component YH is added to low-frequency luminance signal YL in the adder 8, the position of image data has to be adjusted. As described above, in the middle-high range luminancecomponent extraction section 6, for the purpose of extracting middle-high range luminance component YH, an extraction filter used must be a filter having a size of an even-number of pixels. Accordingly, the firstRGB interpolation section 4 has to use, as a RGB interpolation filter, a filter having a size of an odd-number of pixels, especially a filter having a size of 3 pixels×3 pixels, which is the best size in preventing deterioration of middle-high range luminance component YH. Furthermore, the secondRGB interpolation section 12 has to use, as a RGB interpolation filter, a filter having a size of an even-number of pixels. - In the present embodiment, the color filter provided to the CCD area sensor is a color filter whose RGB color arrangement based on the Bayer array. However, the RGB color arrangement which can be used in the present invention is not limited to the Bayer array, but any RGB color arrangement may be used.
- The above descriptions as to an image processing apparatus of the present invention is now summarized. Referring to
FIG. 1 , theimage processing apparatus 1 processes RGB image data generated by the optical low-pass filter 2 and thearea sensor 3. In this image processing, a low-frequency luminance signal generated from the RGB image data has a middle-high range luminance component which is attenuated due to the optical low-pass filter 2 as compared with an ideal frequency characteristic which should be obtained by the optical low-pass filter 2. Theimage processing apparatus 1 includes means of compensating for the attenuated middle-high range luminance component of the low-frequency luminance signal. Owing to such compensation means, a sharper image can be obtained by contour emphasizing processing while preventing occurrence of noise and jaggy which may be caused during the contour emphasizing processing. - According to the present invention, a middle-high range luminance component of a low-frequency luminance signal which is attenuated as compared with an ideal frequency characteristic in a range of a predetermined frequency (a ½ of sampling frequency fs) or smaller is compensated. Thus, a sharp image can be obtained by contour emphasizing processing while preventing occurrence of noise and jaggy which may be caused when obtaining the sharp image.
- According to the present invention, an image with high resolution can be obtained by contour emphasizing processing while preventing occurrence of noise and jaggy which may be caused when obtaining the sharp image.
- According to the present invention, a middle-high range component whose amplitude is zero when the angular frequency ω is π and has a maximum value at a position where the angular frequency ω is between π/2 to π can be readily extracted.
- According to the present invention, a uniform filtering effect can be obtained, and as a result, an image can be faithfully reproduced.
- According to the present invention, arithmetic operations in x- and y-directions of image data can be separately performed, and accordingly, increases in the amount of arithmetic operations can be suppressed. Thus, YH extraction filtering can be readily implemented by hardware.
- According to the present invention, a middle-high range luminance component can be extracted while most-effectively preventing deterioration of the middle-high range luminance component.
- According to the present invention, when compensating for a middle-high range luminance component of a low-frequency luminance signal, a center of the middle-high range luminance component is present at a position between neighboring pixels, and a center of the low-frequency luminance signal is also present at a position between neighboring pixels. Thus, occurrence of a ghost in a reproduced image can be prevented.
- According to the present invention, a G-component is interpolated by using a median method, whereby attenuation of a high-range luminance component is suppressed to a minimum level. R- and B-components are interpolated by using a bilinear method, whereby noise is reduced. Thus, a contour of an image is emphasized, and the quality of the image can be improved.
- According to the present invention, by changing a ratio between a middle-range luminance component and a high-range luminance component, the three-dimensional appearance (stereoscopic effect or stereophonic effect) of an image can be adjusted according to user's preference.
- According to the present invention, a middle/high-range component extraction section can be readily formed of a single filter.
- According to the present invention, the amount of noise included in a color-difference signal varies according to, for example, the quality of an image capturing element such as a CCD. Thus, by selecting an appropriate median filter according to the amount of noise, a color-difference signal with reduced noise can be generated.
- Various other modifications will be apparent to and can be readily made by those skilled in the art without departing from the scope and spirit of this invention. Accordingly, it is not intended that the scope of the claims appended hereto be limited to the description as set forth herein, but rather that the claims be broadly construed.
Claims (19)
1. An image processing apparatus for processing RGB image data output from an image capturing element including a primary-color filter, comprising:
a middle-high range luminance component extraction section for extracting a middle-high range luminance component which has a zero amplitude at an angular frequency ω=π and a maximum amplitude at an angular frequency ω between π/2 and π from a first luminance signal generated based on RGB image data; and
a first synthesis section for adding the middle-high range luminance component to a low-frequency luminance signal generated based on the RGB image data so as to generate a second luminance signal.
2. An image processing apparatus according to claim 1 , wherein the middle-high range luminance component extraction section uses at least one filter having a size of an even-number of pixels to arithmetically process the first luminance signal.
3. An image processing apparatus according to claim 2 , wherein the filter having a size of an even-number of pixels is a two-dimensional filter and has coefficients symmetrically arranged with respect to a x-direction and a y-direction.
4. An image processing apparatus according to claim 3 , wherein:
the filter having a size of an even-number of pixels includes a first low-pass filter having a differentiation capability and a second low-pass filter; and
a difference between an output obtained by arithmetically processing the first luminance signal using the first low-pass filter and an output obtained by arithmetically processing the first luminance signal using the second low-pass filter is output as the middle-high range luminance component.
5. An image processing apparatus according to claim 4 , further comprising:
a first interpolation section for interpolating missing components among R-, G-, and B-components for each pixel before the generation of the first luminance signal,
wherein the first interpolation section interpolates missing components by arithmetically processing the RGB image data using a filter having a size of 3 pixels×3 pixels.
6. An image processing apparatus according to claim 2 , wherein:
the filter having a size of an even-number of pixels includes a first low-pass filter having a differentiation capability and a second low-pass filter; and
a difference between an output obtained by arithmetically processing the first luminance signal using the first low-pass filter and an output obtained by arithmetically processing the first luminance signal using the second low-pass filter is output as the middle-high range luminance component.
7. An image processing apparatus according to claim 6 , further comprising:
a first interpolation section for interpolating missing components among R-, G-, and B-components for each pixel before the generation of the first luminance signal,
wherein the first interpolation section interpolates missing components by arithmetically processing the RGB image data using a filter having a size of 3 pixels×3 pixels.
8. An image processing apparatus according to claim 7 , further comprising:
a second interpolation section for interpolating missing components among R-, G-, and B-components for each pixel before the generation of the low-frequency luminance signal,
wherein the second interpolation section interpolates missing components by arithmetically processing the RGB image data using a filter having a size of an even-number of pixels.
9. An image processing apparatus according to claim 8 , wherein at least one of the first and second interpolation sections interpolates the RGB image data by using a median method for a G-component and a bilinear method for R- and B-components.
10. An image processing apparatus according to claim 8 , further comprising:
a median filtering section for removing, with a median filter, noise inherent to the image capturing element which is contained in a color-difference signal generated based on a RGB image signal from the second interpolation section;
wherein the median filtering section changes the size of the median filter according to an amount of the noise.
11. An image processing apparatus according to claim 2 , further comprising:
a first interpolation section for interpolating missing components among R-, G-, and B-components for each pixel before the generation of the first luminance signal,
wherein the first interpolation section interpolates missing components by arithmetically processing the RGB image data using a filter having a size of 3 pixels×3 pixels.
12. An image processing apparatus according to claim 1 , further comprising:
a first interpolation section for interpolating missing components among R-, G-, and B-components for each pixel before the generation of the first luminance signal,
wherein the first interpolation section interpolates missing components by arithmetically processing the RGB image data using a filter having a size of 3 pixels×3 pixels.
13. An image processing apparatus according to claim 12 , further comprising:
a second interpolation section for interpolating missing components among R-, G-, and B-components for each pixel before the generation of the low-frequency luminance signal,
wherein the second interpolation section interpolates missing components by arithmetically processing the RGB image data using a filter having a size of an even-number of pixels.
14. An image processing apparatus according to claim 13 , wherein at least one of the first and second interpolation sections interpolates the RGB image data by using a median method for a G-component and a bilinear method for R- and B-components.
15. An image processing apparatus according to claim 13 , further comprising:
a median filtering section for removing, with a median filter, noise inherent to the image capturing element which is contained in a color-difference signal generated based on a RGB image signal from the second interpolation section;
wherein the median filtering section changes the size of the median filter according to an amount of the noise.
16. An image processing apparatus according to claim 1 , further comprising:
a second interpolation section for interpolating missing components among R-, G-, and B-components for each pixel before the generation of the low-frequency luminance signal,
wherein the second interpolation section interpolates missing components by arithmetically processing the RGB image data using a filter having a size of an even-number of pixels.
17. An image processing apparatus according to claim 16 , further comprising:
a median filtering section for removing, with a median filter, noise inherent to the image capturing element which is contained in a color-difference signal generated based on a RGB image signal from the second interpolation section;
wherein the median filtering section changes the size of the median filter according to an amount of the noise.
18. An image processing apparatus according to claim 1 , further comprising:
a middle/high-range luminance component extraction section for extracting at least one of a middle-range luminance component and a high-range luminance component based on the second luminance signal; and
a second synthesis section for adding at least one of the middle-range luminance component and the high-range luminance component to the second luminance signal so as to generate a third luminance signal.
19. An image processing apparatus according to claim 18 , wherein the middle/high-range luminance component extraction section arithmetically processes the second luminance signal by using one filter which has an adjustable coefficient.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US11/181,829 US20050249404A1 (en) | 2000-08-25 | 2005-07-15 | Image processing apparatus |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000256515A JP4055927B2 (en) | 2000-08-25 | 2000-08-25 | Image processing apparatus and digital camera |
JP2000-256515 | 2000-08-25 | ||
US09/935,677 US7116819B2 (en) | 2000-08-25 | 2001-08-24 | Image processing apparatus |
US11/181,829 US20050249404A1 (en) | 2000-08-25 | 2005-07-15 | Image processing apparatus |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US09/935,677 Division US7116819B2 (en) | 2000-08-25 | 2001-08-24 | Image processing apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
US20050249404A1 true US20050249404A1 (en) | 2005-11-10 |
Family
ID=18745112
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US09/935,677 Expired - Fee Related US7116819B2 (en) | 2000-08-25 | 2001-08-24 | Image processing apparatus |
US11/181,829 Abandoned US20050249404A1 (en) | 2000-08-25 | 2005-07-15 | Image processing apparatus |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US09/935,677 Expired - Fee Related US7116819B2 (en) | 2000-08-25 | 2001-08-24 | Image processing apparatus |
Country Status (2)
Country | Link |
---|---|
US (2) | US7116819B2 (en) |
JP (1) | JP4055927B2 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050046740A1 (en) * | 2003-08-29 | 2005-03-03 | Davis Raymond A.. | Apparatus including a dual camera module and method of using the same |
US20070171490A1 (en) * | 2005-07-22 | 2007-07-26 | Samsung Electronics Co., Ltd. | Sensor image encoding and/or decoding system, medium, and method |
US20090060389A1 (en) * | 2007-08-27 | 2009-03-05 | Megachips Corporation | Image processing apparatus |
US20090091636A1 (en) * | 2007-06-15 | 2009-04-09 | Jun Hirai | Image signal processing apparatus, image signal processing method, camera apparatus, image display apparatus, and image signal output apparatus |
US20110134292A1 (en) * | 2009-12-04 | 2011-06-09 | Canon Kabushiki Kaisha | Image processing apparatus |
US20110194763A1 (en) * | 2010-02-05 | 2011-08-11 | Samsung Electronics Co., Ltd. | Apparatus, method and computer-readable medium removing noise of color image |
US9030596B2 (en) * | 2012-05-07 | 2015-05-12 | Canon Kabushiki Kaisha | Focus detection apparatus and image pickup apparatus that perform focus detection using phase difference method |
Families Citing this family (33)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4055927B2 (en) * | 2000-08-25 | 2008-03-05 | シャープ株式会社 | Image processing apparatus and digital camera |
EP1307039A3 (en) * | 2001-10-26 | 2005-09-14 | Ricoh Company, Ltd. | Image processing apparatus and image scanning apparatus |
JP2003304549A (en) * | 2002-04-11 | 2003-10-24 | Olympus Optical Co Ltd | Camera and image signal processing system |
JP3800192B2 (en) * | 2002-05-21 | 2006-07-26 | カシオ計算機株式会社 | Imaging apparatus, image composition method, and image composition program |
EP1530377A4 (en) * | 2002-06-28 | 2006-05-10 | Nokia Corp | Information terminal |
ATE384312T1 (en) * | 2002-07-04 | 2008-02-15 | Koninkl Philips Electronics Nv | METHOD AND APPARATUS FOR SIGNAL PROCESSING, COMPUTER PROGRAM PRODUCT, COMPUTER SYSTEM AND CAMERA |
AU2003239746A1 (en) * | 2002-07-04 | 2004-01-23 | Koninklijke Philips Electronics N. V. | Method and apparatus for signal processing, computer program product, computing system and camera |
AU2003236984A1 (en) * | 2002-07-04 | 2004-01-23 | Koninklijke Philips Electronics N.V. | Method and apparatus for signal processing, computer program product, computing system and camera |
JP4217041B2 (en) * | 2002-09-12 | 2009-01-28 | Hoya株式会社 | Filtering |
JP4133283B2 (en) * | 2002-12-10 | 2008-08-13 | シャープ株式会社 | Image processing apparatus, image processing method, and digital still camera |
JP4225795B2 (en) * | 2003-01-22 | 2009-02-18 | オリンパス株式会社 | Imaging system, image processing program |
WO2004112401A1 (en) * | 2003-06-12 | 2004-12-23 | Nikon Corporation | Image processing method, image processing program, image processor |
JP3880553B2 (en) | 2003-07-31 | 2007-02-14 | キヤノン株式会社 | Image processing method and apparatus |
JP4318553B2 (en) * | 2004-01-23 | 2009-08-26 | 三洋電機株式会社 | Image signal processing device |
EP1758783B1 (en) | 2004-05-25 | 2008-04-16 | VDO Automotive AG | Monitoring unit in addition to an assist system for motor vehicles |
US7342607B2 (en) * | 2004-12-07 | 2008-03-11 | Service & Quality Technology Co., Ltd. | Mathematical calculation method for an image capturing device |
US7551177B2 (en) * | 2005-08-31 | 2009-06-23 | Ati Technologies, Inc. | Methods and apparatus for retrieving and combining samples of graphics information |
US20070153135A1 (en) * | 2005-12-19 | 2007-07-05 | Samsung Electro-Mechanics Co., Ltd. | Device for reducing power consumption in display system using diffractive optical modulator |
JP4144630B2 (en) * | 2006-04-14 | 2008-09-03 | ソニー株式会社 | Imaging device |
TWI324011B (en) * | 2006-09-12 | 2010-04-21 | Nuvoton Technology Corp | Method for compensating pixel of image |
JP4571607B2 (en) * | 2006-10-23 | 2010-10-27 | 三菱電機株式会社 | Noise reduction apparatus and method |
US8237830B2 (en) | 2007-04-11 | 2012-08-07 | Red.Com, Inc. | Video camera |
CN101689357B (en) | 2007-04-11 | 2015-03-04 | Red.Com公司 | Video camera |
KR101422096B1 (en) | 2010-02-12 | 2014-07-23 | 캐논 가부시끼가이샤 | Image processing device and image processing method |
JP5503497B2 (en) * | 2010-10-26 | 2014-05-28 | パナソニック株式会社 | Image signal processing apparatus, image signal processing method and program |
JP5767602B2 (en) * | 2012-04-27 | 2015-08-19 | 日立マクセル株式会社 | Imaging device |
JP2016508700A (en) | 2013-02-14 | 2016-03-22 | レッド.コム,インコーポレイテッド | Video camera |
JP2015088810A (en) * | 2013-10-29 | 2015-05-07 | 耕太郎 滝上 | Image processing method using color difference signal |
KR102512521B1 (en) * | 2015-10-12 | 2023-03-21 | 삼성전자주식회사 | Method and apparatus for processing texture |
US10970825B2 (en) | 2017-02-09 | 2021-04-06 | Iix Inc. | Image processing method and image processing apparatus for executing image processing method |
KR102620350B1 (en) | 2017-07-05 | 2024-01-02 | 레드.컴, 엘엘씨 | Video image data processing in electronic devices |
JP7081200B2 (en) * | 2018-02-22 | 2022-06-07 | セイコーエプソン株式会社 | Image display device and control method of image display device |
JP7253129B2 (en) * | 2019-01-07 | 2023-04-06 | ソニー・オリンパスメディカルソリューションズ株式会社 | Image processing device and observation system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4605956A (en) * | 1984-09-10 | 1986-08-12 | Eastman Kodak Company | Single-chip electronic color camera with color-dependent birefringent optical spatial frequency filter and red and blue signal interpolating circuit |
US4630307A (en) * | 1984-09-10 | 1986-12-16 | Eastman Kodak Company | Signal processing method and apparatus for sampled image signals |
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 |
US7065246B2 (en) * | 2000-08-25 | 2006-06-20 | Sharp Kabushiki Kaisha | Image processing apparatus |
US7116819B2 (en) * | 2000-08-25 | 2006-10-03 | Sharp Kabushiki Kaisha | Image processing apparatus |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2521745B2 (en) | 1987-02-23 | 1996-08-07 | キヤノン株式会社 | Image processing device |
JP2993014B2 (en) | 1989-08-30 | 1999-12-20 | 富士ゼロックス株式会社 | Image quality control method for image processing device |
JP3246612B2 (en) | 1992-01-14 | 2002-01-15 | キヤノン株式会社 | Color imaging device |
JPH10164371A (en) | 1996-11-26 | 1998-06-19 | Minolta Co Ltd | Image data processor and image data processing method |
JP4144040B2 (en) | 1996-12-19 | 2008-09-03 | 大日本印刷株式会社 | Image processing device for gravure printing |
JP3064961B2 (en) | 1997-06-19 | 2000-07-12 | ミノルタ株式会社 | Electronic still camera |
JP3467727B2 (en) | 1998-08-31 | 2003-11-17 | セイコーエプソン株式会社 | Medium recording image processing program, image processing apparatus, and image processing method |
-
2000
- 2000-08-25 JP JP2000256515A patent/JP4055927B2/en not_active Expired - Fee Related
-
2001
- 2001-08-24 US US09/935,677 patent/US7116819B2/en not_active Expired - Fee Related
-
2005
- 2005-07-15 US US11/181,829 patent/US20050249404A1/en not_active Abandoned
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4605956A (en) * | 1984-09-10 | 1986-08-12 | Eastman Kodak Company | Single-chip electronic color camera with color-dependent birefringent optical spatial frequency filter and red and blue signal interpolating circuit |
US4630307A (en) * | 1984-09-10 | 1986-12-16 | Eastman Kodak Company | Signal processing method and apparatus for sampled image signals |
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 |
US7065246B2 (en) * | 2000-08-25 | 2006-06-20 | Sharp Kabushiki Kaisha | Image processing apparatus |
US7116819B2 (en) * | 2000-08-25 | 2006-10-03 | Sharp Kabushiki Kaisha | Image processing apparatus |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7619683B2 (en) * | 2003-08-29 | 2009-11-17 | Aptina Imaging Corporation | Apparatus including a dual camera module and method of using the same |
US20050046740A1 (en) * | 2003-08-29 | 2005-03-03 | Davis Raymond A.. | Apparatus including a dual camera module and method of using the same |
US20070171490A1 (en) * | 2005-07-22 | 2007-07-26 | Samsung Electronics Co., Ltd. | Sensor image encoding and/or decoding system, medium, and method |
US7903306B2 (en) * | 2005-07-22 | 2011-03-08 | Samsung Electronics Co., Ltd. | Sensor image encoding and/or decoding system, medium, and method |
US8548272B2 (en) * | 2007-06-15 | 2013-10-01 | Sony Corporation | Image signal processing apparatus, image signal processing method, camera apparatus, image display apparatus, and image signal output apparatus |
US20090091636A1 (en) * | 2007-06-15 | 2009-04-09 | Jun Hirai | Image signal processing apparatus, image signal processing method, camera apparatus, image display apparatus, and image signal output apparatus |
US20090060389A1 (en) * | 2007-08-27 | 2009-03-05 | Megachips Corporation | Image processing apparatus |
US8798398B2 (en) * | 2007-08-27 | 2014-08-05 | Megachips Corporation | Image processing apparatus |
US20110134292A1 (en) * | 2009-12-04 | 2011-06-09 | Canon Kabushiki Kaisha | Image processing apparatus |
US8508625B2 (en) * | 2009-12-04 | 2013-08-13 | Canon Kabushiki Kaisha | Image processing apparatus |
KR101391161B1 (en) * | 2009-12-04 | 2014-05-07 | 캐논 가부시끼가이샤 | Image processing device |
US20110194763A1 (en) * | 2010-02-05 | 2011-08-11 | Samsung Electronics Co., Ltd. | Apparatus, method and computer-readable medium removing noise of color image |
US8718361B2 (en) * | 2010-02-05 | 2014-05-06 | Samsung Electronics Co., Ltd. | Apparatus, method and computer-readable medium removing noise of color image |
US9030596B2 (en) * | 2012-05-07 | 2015-05-12 | Canon Kabushiki Kaisha | Focus detection apparatus and image pickup apparatus that perform focus detection using phase difference method |
Also Published As
Publication number | Publication date |
---|---|
JP2002077645A (en) | 2002-03-15 |
US20020039142A1 (en) | 2002-04-04 |
US7116819B2 (en) | 2006-10-03 |
JP4055927B2 (en) | 2008-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7116819B2 (en) | Image processing apparatus | |
US7065246B2 (en) | Image processing apparatus | |
US7400332B2 (en) | Hexagonal color pixel structure with white pixels | |
US8723995B2 (en) | Extended dynamic range in color imagers | |
US7577315B2 (en) | Method and apparatus for processing image data of a color filter array | |
EP1187455B1 (en) | Image data processing apparatus and electronic camera | |
JP3735867B2 (en) | Luminance signal generator | |
US9013611B1 (en) | Method and device for generating a digital image based upon a selected set of chrominance groups | |
US8605164B2 (en) | Image processing apparatus, control method therefor, and storage medium | |
EP1793620A1 (en) | Image processing device and method, imaging device, and computer program | |
EP0138074B1 (en) | Color video camera signal processing circuit | |
JPH0823543A (en) | Image pickup device | |
US20070035636A1 (en) | Method and system of eliminating color noises caused by an interpolation | |
JP2002510456A (en) | Color signal interpolation | |
JP4725520B2 (en) | Image processing device, non-imaging color signal calculation device, and image processing method | |
US6850275B1 (en) | Edge correction apparatus for digital video camera | |
US7305141B2 (en) | Contour filter for image sensor output signals | |
JP5268321B2 (en) | Image processing apparatus, image processing method, and image processing program | |
JP3730063B2 (en) | Color component generation apparatus, color component generation method, and multicolor image pickup apparatus using the same | |
JP3576600B2 (en) | Color imaging device | |
JP4086572B2 (en) | Video signal processing device | |
US7250967B2 (en) | Apparatus for modifying reproduction frequency band of video signal | |
JP3410638B2 (en) | Video camera system | |
JP4654545B2 (en) | Single-plate color imaging device | |
JPS6229388A (en) | Color solid-state image pickup device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |