JP2009065721A - Signal processing method and apparatus - Google Patents
Signal processing method and apparatus Download PDFInfo
- Publication number
- JP2009065721A JP2009065721A JP2008329279A JP2008329279A JP2009065721A JP 2009065721 A JP2009065721 A JP 2009065721A JP 2008329279 A JP2008329279 A JP 2008329279A JP 2008329279 A JP2008329279 A JP 2008329279A JP 2009065721 A JP2009065721 A JP 2009065721A
- Authority
- JP
- Japan
- Prior art keywords
- pixels
- signal processing
- pixel
- luminance
- subject image
- 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.)
- Granted
Links
Images
Landscapes
- Color Television Image Signal Generators (AREA)
Abstract
【課題】レンズの色収差によって被写体画像の輝度輪郭にギザギザ状ノイズが発生しないようにする。
【解決手段】異なる色を検出する画素が交互に配列された撮像素子により撮影レンズを通した被写体画像を撮像し得られた画像信号を処理する信号処理方法において、前記被写体画像の輪郭線上の画素(以下、対象画素という。)の輝度値Aを、該対象画素の前記輪郭線上で隣接する前後の画素の輝度信号B,CからA=(B+C)/2の演算式でフィルタ処理して求める。
【選択図】図6Kind Code: A1 To prevent jagged noise from occurring in a luminance contour of a subject image due to chromatic aberration of a lens.
In a signal processing method for processing an image signal obtained by imaging a subject image that has passed through a photographic lens by an imaging device in which pixels for detecting different colors are alternately arranged, pixels on the contour line of the subject image The luminance value A of the target pixel (hereinafter referred to as the target pixel) is obtained by filtering the luminance signals B and C of the adjacent pixels on the contour line of the target pixel with an arithmetic expression of A = (B + C) / 2. .
[Selection] Figure 6
Description
本発明はデジタルカメラの信号処理方法及びその装置に係り、特に、レンズの色収差によって画像輪郭部分にギザギザが生じることのない信号処理方法及びその装置に関する。 The present invention relates to a signal processing method and apparatus for a digital camera, and more particularly to a signal processing method and apparatus that do not cause jagged edges in an image contour due to chromatic aberration of a lens.
デジタルカメラに搭載される単板式のCCDやCMOS等の固体撮像素子は、原色系であれば、R(赤),G(緑),B(青)の各画素が所定規則にて配置される。図8は、例えば特許文献1(特開平10―136391号公報)に記載されている固体撮像素子の画素配置図であり、所謂、市松状に実画素R,G,Bを配置しており、R画素とB画素が交互に並ぶ行と、G画素のみが一列に並ぶ行とが1/2ピッチずれながら交互に配列されている。 If a solid-state image sensor such as a single-plate CCD or CMOS mounted on a digital camera is a primary color system, R (red), G (green), and B (blue) pixels are arranged according to a predetermined rule. . FIG. 8 is a pixel arrangement diagram of a solid-state imaging device described in, for example, Patent Document 1 (Japanese Patent Laid-Open No. 10-136391), and real pixels R, G, and B are arranged in a so-called checkered pattern, Rows in which R pixels and B pixels are alternately arranged and rows in which only G pixels are arranged in a row are alternately arranged with a ½ pitch shift.
また、図9は、ベイヤー方式のCCDの画素配置図である。ベイヤー方式では、B画素とG画素が交互に並ぶ行と、G画素とR画素とが交互に並ぶ行とが、交互に配列されている。 FIG. 9 is a pixel arrangement diagram of a Bayer CCD. In the Bayer method, rows in which B pixels and G pixels are alternately arranged and rows in which G pixels and R pixels are alternately arranged are alternately arranged.
この様な固体撮像素子で、例えば図10に示す様に白領域と黒領域とが垂直線で仕切られた画像を撮像すると、この垂直線が直線とはならずに、ギザギザ状に撮像されてしまう。 With such a solid-state imaging device, for example, as shown in FIG. 10, when an image in which a white region and a black region are partitioned by a vertical line is captured, the vertical line is not a straight line but is captured in a jagged shape. End up.
これは、図11に示す様に、明暗を分ける輝度Yの変化位置に対して、R,G,Bの各色の光線がレンズを通るときに屈折する屈折角が異なる色収差に起因し、各色R,G,Bから求めた輝度信号が直線にならないことが原因である。 As shown in FIG. 11, this is caused by chromatic aberration in which the refraction angles of the light beams of R, G, and B are refracted when passing through the lens with respect to the change position of the luminance Y that divides light and dark. This is because the luminance signal obtained from, G and B is not a straight line.
本発明の目的は、レンズの色収差に起因する画像輪郭部分の劣化を回避する信号処理方法及びその装置を提供することにある。 An object of the present invention is to provide a signal processing method and apparatus for avoiding deterioration of an image contour portion caused by chromatic aberration of a lens.
本発明の信号処理方法及びその装置は、異なる色を検出する画素が交互に配列された撮像素子により撮影レンズを通した被写体画像を撮像し得られた画像信号を処理する信号処理において、前記被写体画像の輪郭線上の画素(以下、対象画素という。)の輝度値Aを、該対象画素の前記輪郭線上で隣接する前後の画素の輝度信号B,CからA=(B+C)/2の演算式でフィルタ処理して求めることを特徴とする。 The signal processing method and apparatus thereof according to the present invention provide signal processing for processing an image signal obtained by capturing a subject image through a photographing lens by an imaging element in which pixels for detecting different colors are alternately arranged. The luminance value A of a pixel on the contour line of the image (hereinafter referred to as a target pixel) is calculated from the luminance signals B and C of adjacent pixels on the contour line of the target pixel by A = (B + C) / 2. It is obtained by filtering with
この構成により、前記交互の色配置の方向と前記被写体画像の輝度輪郭とが直交し、撮影レンズの色収差によって、輝度輪郭部分の色信号が色によって輝度輪郭からずれ、輝度輪郭にギザギザ状のノイズが発生しても、このノイズを低減することが可能となる。 With this configuration, the direction of the alternate color arrangement and the luminance contour of the subject image are orthogonal to each other, and due to chromatic aberration of the photographing lens, the color signal of the luminance contour portion shifts from the luminance contour depending on the color, and the luminance contour has a jagged noise. Even if this occurs, this noise can be reduced.
以下、本発明の一実施形態を図面を参照して説明する。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
図1は、本発明の一実施形態に係る信号処理方法を適用したデジタルスチルカメラの構成図である。このデジタルスチルカメラは、撮影レンズ10と、固体撮像素子11と、この両者の間に設けられた絞り12と、赤外線カットフィルタ13と、光学ローパスフィルタ14とを備える。デジタルスチルカメラの全体を制御するCPU15は、フラッシュ用の発光部16及び受光部17を制御し、また、レンズ駆動部18を制御して撮影レンズ10の位置をフォーカス位置に調整し、絞り駆動部19を介し絞り12の開口量を制御して露光量が適正露光量となるように調整する。
FIG. 1 is a configuration diagram of a digital still camera to which a signal processing method according to an embodiment of the present invention is applied. The digital still camera includes a
また、CPU15は、撮像素子駆動部20を介して固体撮像素子11を駆動し、撮影レンズ10を通して撮像した被写体画像を色信号として出力させる。また、CPU15には、操作部21を通してユーザの指示信号が入力され、CPU15はこの指示に従って各種制御を行う。固体撮像素子11は、市松状に画素配置をしたCCDやベイヤー方式のCCD、あるいはCMOSセンサである。
Further, the
デジタルスチルカメラの電気制御系は、固体撮像素子11の出力に接続されたアナログ信号処理部22と、このアナログ信号処理部22から出力されたRGBの色信号をデジタル信号に変換するA/D変換回路23とを備え、これらはCPU15によって制御される。
The electric control system of the digital still camera includes an analog
更に、このデジタルスチルカメラの電気制御系は、メインメモリ24に接続されたメモリ制御部25と、詳細は後述するデジタル信号処理部26と、撮像画像をJPEG画像に圧縮したり圧縮画像を伸張したりする圧縮伸張処理部27と、固体撮像素子11から出力されデジタルデータに変換された画像データをR,G,B毎に積算してホワイトバランスゲイン等を求める積算部28と、着脱自在の記録媒体29が接続される外部メモリ制御部30と、カメラ背面等に搭載された液晶表示部31が接続される表示制御部32とを備え、これらは、制御バス33及びデータバス34によって相互に接続され、CPU15からの指令によって制御される。
Further, the electric control system of this digital still camera includes a
図1に示すデジタル信号処理部26や、アナログ信号処理部22,A/D変換回路23等は、これを夫々別回路としてデジタルスチルカメラに搭載することもできるが、これらを固体撮像素子11と同一半導体基板上にLSI製造技術を用いて製造し、1つの固体撮像装置とするのがよい。
The digital
図2は、図1に示すデジタル信号処理部26の詳細構成図である。このデジタル信号処理部26は、ハードウェア回路で構成しても、ソフトウェアにて構成することも可能である。
FIG. 2 is a detailed configuration diagram of the digital
図示する例のデジタル信号処理部26は、A/D変換回路23から出力されるR,G,Bの各色の画像信号を取り込んでオフセット処理を行うオフセット補正回路41と、オフセット補正回路41の出力信号を取り込んでホワイトバランス調整を行うゲイン補正回路42と、ゲイン補正回路42から出力される信号に対して所定のγ値を用いガンマ補正を行うガンマ補正回路43とを備える。
The digital
デジタル信号処理部26は更に、ガンマ補正回路43から出力されるRGBの色信号を補間演算して各画素位置におけるRGB3色の信号を求めるRGB補間演算部44と、RGB補間演算後のRGB信号から輝度信号Yと色差信号Cr,Cbとを求めるRGB/YC変換回路45と、輝度信号Yと色差信号Cr,Cbからノイズを低減するノイズフィルタ46と、ノイズ低減後の輝度信号Yに対して輪郭補正を行う輪郭補正回路47と、ノイズ低減後の色差信号Cr,Cbに対して色差マトリクスを乗算して色調補正を行う色差マトリクス回路48とを備える。
The
RGB補間演算部44は、固体撮像素子11が3板式の撮像素子であれば不要であるが、本実施形態で使用する固体撮像素子11は単板式の固体撮像素子であり、各画素からは、R,G,Bのうちの一色の信号しか出力されないため、出力しない色、即ち、Rを出力する画素では、この画素位置においてG,Bの色信号がどの程度になるかを、周りの画素のG,B信号から補間演算により求めるものである。
The RGB
本実施形態の特徴である信号処理すなわち輝度信号のノイズ低減処理は、ノイズフィルタ46で実行される。このノイズフィルタ46では、次の様な処理を行うことで、レンズ10の色収差に起因する画像輪郭ノイズの低減を図る。
Signal processing, that is, luminance signal noise reduction processing, which is a feature of the present embodiment, is executed by the
図3は、市松状に画素配置した固体撮像素子で得られた画像信号の一例を示す模式図である。R画素とB画素とが交互に配置された行に対して直角方向k1に黒領域と白領域の輪郭を持つ模様を撮像したとき、図示する例では、レンズ10の色収差によってR画素5には赤色の光は当たらず、方向k1にあるB画素6には青色の光が当たり、更に方向k1にあるR画素7には赤色の光が当たらないため、B画素6での黒白の境界はk2位置となり、R画素5,7での黒白の境界はk1位置となり、このR,G,B信号から求めた輝度信号は、図4に示す様に、境界k1においてギザギザ状のノイズとなって現れる。
FIG. 3 is a schematic diagram illustrating an example of an image signal obtained by a solid-state imaging device in which pixels are arranged in a checkered pattern. In the example shown in the figure, when the pattern having the outline of the black region and the white region in the direction perpendicular to the row in which the R pixel and the B pixel are alternately arranged is captured in the R pixel 5 due to the chromatic aberration of the
そこで、本実施形態では、R,G,B信号から求めた輝度信号Yに対して、交互に配置された色画素間隔のレスポンスが“0”となるフィルタ処理を施す。例えば、m行n列の画素であって輪郭線上の画素の画素の輝度値を、Y’mn=(Y(m-2)n+2・Ymn+Y(m+2)n)/4なる演算式により求める。図4の例では、Yb’=(Yr13+2・Yb33+Yr53)/4とし、これをYb33の代わりに使用する。このように、輪郭線k1位置に存在する画素の輝度値を上記演算式で計算することで、図5に示す様に、輪郭線k1位置におけるギザギザ状のノイズは消失する。 Therefore, in the present embodiment, filter processing is performed on the luminance signal Y obtained from the R, G, and B signals so that the response of the alternately arranged color pixel intervals becomes “0”. For example, the luminance value of a pixel on a contour line that is a pixel of m rows and n columns is obtained by an arithmetic expression of Y′mn = (Y (m−2) n + 2 · Ymn + Y (m + 2) n) / 4. . In the example of FIG. 4, Yb '= (Yr13 + 2 · Yb33 + Yr53) / 4 is used, and this is used instead of Yb33. As described above, by calculating the luminance value of the pixel existing at the position of the contour line k1 by the above-described arithmetic expression, the jagged noise at the position of the contour line k1 disappears as shown in FIG.
上述した実施形態では、市松状に配置された実画素から得られた色信号から輝度信号を求め、この輝度信号のギザギザ状ノイズを消去したが、市松状に配置された実画素間の無画素位置のR,G,B信号を求めて画像信号を正方配列に変換し、図4のY22とY24の間にあるべきY23や、Y42とY44との間にあるべきY43が求められている場合には、Y’33=(Y23+Y43)/2として求めても、即ちY’mn=(Y(m-1)n+Y(m+1)n)/2として輝度信号を求めても、輪郭線上のギザギザ状ノイズを同様に消去することができる。 In the above-described embodiment, the luminance signal is obtained from the color signal obtained from the actual pixels arranged in the checkered pattern, and the jagged noise in the luminance signal is erased. However, no pixel is present between the actual pixels arranged in the checkered pattern. When the position R, G, B signals are obtained and the image signal is converted into a square array, Y23 which should be between Y22 and Y24 in FIG. 4 and Y43 which should be between Y42 and Y44 are obtained. Even if the luminance signal is obtained as Y′33 = (Y23 + Y43) / 2, that is, the luminance signal is obtained as Y′mn = (Y (m−1) n + Y (m + 1) n) / 2, Jagged noise can be similarly eliminated.
ベイヤー方式の画素配置にも本実施形態を適用可能である。図9に示す画素配置において、レンズ10の色収差によって輝度信号の状態が図6に示す様になったとする。この場合にも、Y’mn=(Y(m-1)n+2・Ymn+Y(m+1)n)/4の演算処理を施すことで、輪郭線上のギザギザ状ノイズを消去することができる。具体的には、図6の場合、Yb’33=(Yg23+2・Yb33+Yg43)/4として計算し、これをYb33の代わりに使用する。これにより、図7に示す様に、輪郭線上の輝度値のギザギザはなくなる。
The present embodiment can also be applied to a Bayer pixel arrangement. In the pixel arrangement shown in FIG. 9, it is assumed that the state of the luminance signal is as shown in FIG. 6 due to the chromatic aberration of the
本発明の信号処理は、レンズの色収差に起因する輝度信号のギザギザ状ノイズを低減でき、画質劣化を抑制することができるため、デジタルカメラに適用すると有用である。 The signal processing of the present invention is useful when applied to a digital camera because it can reduce jagged noise in a luminance signal caused by chromatic aberration of a lens and suppress image quality deterioration.
R,G,B 画素配置位置
10 撮影レンズ
11 固体撮像素子
26 デジタル信号処理部
46 ノイズフィルタ
R, G, B
Claims (2)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008329279A JP4911479B2 (en) | 2008-12-25 | 2008-12-25 | Signal processing method and apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008329279A JP4911479B2 (en) | 2008-12-25 | 2008-12-25 | Signal processing method and apparatus |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002251012A Division JP4691309B2 (en) | 2002-08-29 | 2002-08-29 | Signal processing method and apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2009065721A true JP2009065721A (en) | 2009-03-26 |
| JP4911479B2 JP4911479B2 (en) | 2012-04-04 |
Family
ID=40559802
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008329279A Expired - Fee Related JP4911479B2 (en) | 2008-12-25 | 2008-12-25 | Signal processing method and apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4911479B2 (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001061157A (en) * | 1999-06-14 | 2001-03-06 | Nikon Corp | Image processing method, machine-readable recording medium storing image processing program, and image processing apparatus |
-
2008
- 2008-12-25 JP JP2008329279A patent/JP4911479B2/en not_active Expired - Fee Related
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001061157A (en) * | 1999-06-14 | 2001-03-06 | Nikon Corp | Image processing method, machine-readable recording medium storing image processing program, and image processing apparatus |
Also Published As
| Publication number | Publication date |
|---|---|
| JP4911479B2 (en) | 2012-04-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9729805B2 (en) | Imaging device and defective pixel correction method | |
| US8854483B2 (en) | Image processing device, image processing method and image processing program | |
| US7916191B2 (en) | Image processing apparatus, method, program, and recording medium | |
| JP4253634B2 (en) | Digital camera | |
| CN101946519B (en) | Image processing device, imaging device, correction coefficient calculating method, and image processing program | |
| CN101304484A (en) | Imaging device, defective pixel correction device, processing method and program in device | |
| JP2007318753A (en) | Image capturing apparatus and operation method thereof | |
| JP4433883B2 (en) | White balance correction device, white balance correction method, program, and electronic camera device | |
| JP2009100203A (en) | SIGNAL PROCESSING DEVICE FOR SOLID-STATE IMAGING ELEMENT, IMAGING DEVICE HAVING SIGNAL PROCESSING DEVICE, SIGNAL PROCESSING METHOD, AND PROGRAM | |
| US20090167917A1 (en) | Imaging device | |
| WO2012046522A1 (en) | Imaging device and colour mixing correction method | |
| JP5033711B2 (en) | Imaging device and driving method of imaging device | |
| JP2004320128A (en) | Defective pixel correction device | |
| US20060050956A1 (en) | Signal processing apparatus, signal processing method, and signal processing program | |
| JP4121493B2 (en) | Digital camera, signal processing method and signal processing apparatus | |
| US20070269133A1 (en) | Image-data noise reduction apparatus and method of controlling same | |
| JP5446955B2 (en) | Imaging device | |
| JP6631099B2 (en) | Imaging device | |
| JP4691309B2 (en) | Signal processing method and apparatus | |
| JP4911479B2 (en) | Signal processing method and apparatus | |
| JP2007274504A (en) | Digital camera | |
| JP4993670B2 (en) | Imaging apparatus and control method thereof | |
| US8154627B2 (en) | Imaging device | |
| JP2010010958A (en) | Multi-band image pickup method and apparatus | |
| JP5008122B2 (en) | Defective pixel correction method and defective pixel correction device for solid-state image sensor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090108 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110405 |
|
| RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20110720 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20111213 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20111216 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120110 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150127 Year of fee payment: 3 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |