JP2003348382A - Contour emphasizing circuit - Google Patents

Contour emphasizing circuit

Info

Publication number
JP2003348382A
JP2003348382A JP2002152923A JP2002152923A JP2003348382A JP 2003348382 A JP2003348382 A JP 2003348382A JP 2002152923 A JP2002152923 A JP 2002152923A JP 2002152923 A JP2002152923 A JP 2002152923A JP 2003348382 A JP2003348382 A JP 2003348382A
Authority
JP
Japan
Prior art keywords
signal
circuit
pixel
data
weighting
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
Application number
JP2002152923A
Other languages
Japanese (ja)
Other versions
JP3863808B2 (en
Inventor
Takuji Kawakubo
拓二 川久保
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2002152923A priority Critical patent/JP3863808B2/en
Priority to US10/444,305 priority patent/US7433534B2/en
Publication of JP2003348382A publication Critical patent/JP2003348382A/en
Application granted granted Critical
Publication of JP3863808B2 publication Critical patent/JP3863808B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/73Deblurring; Sharpening
    • G06T5/75Unsharp masking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/20Image enhancement or restoration using local operators
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20024Filtering details
    • G06T2207/20032Median filtering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20172Image enhancement details
    • G06T2207/20192Edge enhancement; Edge preservation

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Picture Signal Circuits (AREA)
  • Processing Of Color Television Signals (AREA)
  • Image Processing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a contour emphasizing circuit in which high quality edge emphasis is realized. <P>SOLUTION: Based upon a weighting coefficient (k) imparted from a coefficient calculation circuit 36, a weighting adder circuit 32 applies weighting addition to raw image data G and data Gm after the relevant raw image data G are filtered by a median filter 30. Based upon the weighting added result Ga, an aperture signal generating circuit 38 generates an aperture sinal A. The aperture signal A is superimposed on Y data outputted from a signal processing circuit 22 in an adder circuit 26 such that an edge component of the relevant Y data is emphasized. <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、輪郭強調回路に
関し、特にたとえばディジタルカメラに適用され、撮影
手段から出力された第1画素信号と当該第1画素信号に
フィルタ処理を施して得られた第2画素信号との重み付
け加算によって輪郭強調信号を生成する、輪郭強調回路
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a contour emphasizing circuit, and more particularly to a contour enhancing circuit, for example, applied to a digital camera, and a first pixel signal output from a photographing means and a first pixel signal obtained by performing a filtering process on the first pixel signal. The present invention relates to an outline emphasis circuit that generates an outline emphasis signal by weighted addition with a two-pixel signal.

【0002】[0002]

【従来技術】ディジタルカメラにおける画像処理技術の
1つに、画像の輪郭部分にメリハリをつけるエッジ強調
がある。これは、イメージセンサから出力される画像信
号のエッジ(高周波)成分を抽出し、抽出したエッジ成
分にアパーチャゲインを付与してアパーチャ信号を生成
し、このアパーチャ信号を画像信号に重畳する技術であ
る。かかるエッジ強調において画像信号のエッジ成分を
抽出するのに、従来は、当該画像信号に対して直接エッ
ジ抽出処理を施していた。
2. Description of the Related Art One of image processing techniques in a digital camera is edge emphasis that sharpens an outline of an image. This is a technique of extracting an edge (high-frequency) component of an image signal output from an image sensor, adding an aperture gain to the extracted edge component to generate an aperture signal, and superimposing the aperture signal on the image signal. . In order to extract an edge component of an image signal in such edge enhancement, conventionally, an edge extraction process has been directly performed on the image signal.

【0003】[0003]

【発明が解決しようとする課題】しかし、上述の従来技
術では、画像信号に比較的に周波数の高い雑音成分が含
まれる場合に、エッジ成分とともに当該雑音成分も抽出
されてしまう。その結果、抽出された雑音成分に対して
もアパーチャゲインが付与され、ひいてはエッジ成分の
みならず当該雑音成分も強調され、画質が劣化する、と
いう問題がある。
However, according to the above-mentioned prior art, when a noise component having a relatively high frequency is included in the image signal, the noise component is also extracted together with the edge component. As a result, an aperture gain is given to the extracted noise component, so that not only the edge component but also the noise component is emphasized, resulting in a problem that the image quality is deteriorated.

【0004】それゆえに、この発明の主たる目的は、高
品質なエッジ強調を実現できる、輪郭強調回路を提供す
ることである。
Therefore, a main object of the present invention is to provide a contour emphasizing circuit capable of realizing high-quality edge emphasis.

【0005】[0005]

【課題を解決するための手段】この発明は、撮影手段か
ら出力された第1画素信号と当該第1画素信号にフィル
タ処理を施して得られた第2画素信号との重み付け加算
によって輪郭強調信号を生成する輪郭強調回路におい
て、第1画素信号のレベル変化量を検出する検出手段、
および当該レベル変化量が大きいほど第1画素信号に対
する重み付け量を大きくする重み付け制御手段を備える
ことを特徴とする、輪郭強調回路である。
According to the present invention, an outline emphasis signal is obtained by weighted addition of a first pixel signal output from a photographing means and a second pixel signal obtained by performing a filtering process on the first pixel signal. Detecting means for detecting a level change amount of the first pixel signal in the contour emphasizing circuit for generating
And a weight control means for increasing the weight of the first pixel signal as the level change increases.

【0006】[0006]

【作用】この発明では、撮影手段から出力された第1画
素信号と、第1画素信号にフィルタ処理を施して得られ
た第2画素信号との重み付け加算によって、輪郭強調信
号が生成される。ここで、たとえば或る画素の位置に被
写体の輪郭部分が存在する場合、当該画素に対応する第
1画素信号は比較的に大きなレベル変化を示す。一方、
被写体のほぼ平坦な部分に位置する画素の第1画素信号
は、比較的に小さいレベル変化しか示さない。この第1
画素信号のレベル変化量は、検出手段によって検出され
る。重み付け制御回路は、検出されたレベル変化量が大
きいほど第1画素信号に対する重み付け量を大きくす
る。つまり、被写体の輪郭部分の輪郭強調信号について
は、撮影手段から出力された言わば元の第1画素信号に
大きな重み付けをした重み付け加算によって生成され
る。そして、被写体のほぼ平坦な部分の輪郭強調信号に
ついては、フィルタ処理によって雑音成分が低減された
第2画像信号に大きな重み付けをした重み付け加算によ
って生成される。
According to the present invention, an outline emphasis signal is generated by weighted addition of the first pixel signal output from the photographing means and the second pixel signal obtained by performing a filtering process on the first pixel signal. Here, for example, when a contour portion of a subject exists at a certain pixel position, the first pixel signal corresponding to the pixel shows a relatively large level change. on the other hand,
The first pixel signal of a pixel located in a substantially flat part of the object shows only a relatively small level change. This first
The level change amount of the pixel signal is detected by the detecting means. The weighting control circuit increases the weighting amount for the first pixel signal as the detected level change amount increases. That is, the contour emphasis signal of the contour portion of the subject is generated by weighted addition in which the so-called original first pixel signal output from the photographing means is weighted heavily. Then, the outline emphasis signal of the substantially flat portion of the subject is generated by weighted addition in which the second image signal in which the noise component has been reduced by the filter processing is heavily weighted.

【0007】なお、フィルタ処理として、メディアンフ
ィルタ処理を用いることができる。
[0007] Median filter processing can be used as the filter processing.

【0008】また、第1画素信号は、グリーンの色情報
を有する信号とするのが望ましい。
Further, it is desirable that the first pixel signal is a signal having green color information.

【0009】さらに、第1画素信号に基づいて輝度信号
を生成する生成手段、および輝度信号に輪郭強調信号を
加算する加算手段をさらに設けてもよい。
[0009] Further, there may be further provided generating means for generating a luminance signal based on the first pixel signal, and adding means for adding a contour emphasis signal to the luminance signal.

【0010】[0010]

【発明の効果】この発明によれば、被写体の輪郭部分の
輪郭強調信号については、撮影手段から出力された元の
第1画素信号に大きな重み付けをした重み付け加算によ
って生成されるので、当該輪郭部分により一層のメリハ
リをつけることができる。一方、被写体のほぼ平坦な部
分の輪郭強調信号は、第1画素信号から雑音成分を低減
した第2画素信号に大きな重み付けをした重み付け加算
によって生成されるので、当該平坦な部分における雑音
成分の影響が低減される。したがって、従来よりも高品
質なエッジ強調を実現することができる。
According to the present invention, the contour emphasizing signal of the contour portion of the subject is generated by weighted addition in which the original first pixel signal output from the photographing means is weighted greatly. Can further enhance the sharpness. On the other hand, since the contour emphasis signal of the substantially flat portion of the subject is generated by weighted addition in which the second pixel signal in which the noise component is reduced from the first pixel signal is greatly weighted, the influence of the noise component in the flat portion is obtained. Is reduced. Therefore, it is possible to realize higher-quality edge enhancement than before.

【0011】この発明の上述の目的,その他の目的,特
徴および利点は、図面を参照して行う以下の実施例の詳
細な説明から一層明らかとなろう。
The above objects, other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.

【0012】[0012]

【実施例】図1を参照して、この実施例のディジタルカ
メラ10は、光学レンズ12を通して被写体の光学像が
入射されるCCD(Charge Coupled Device)型のイメ
ージセンサ14を有している。イメージセンサ14は、
TG(Timing Generator)16から供給されるタイミン
グ信号に従って、被写体の光学像を露光するとともに、
当該露光によって蓄積された電荷に応じた画像信号を出
力する。
Referring to FIG. 1, a digital camera 10 of this embodiment has a CCD (Charge Coupled Device) type image sensor 14 into which an optical image of a subject is incident through an optical lens 12. The image sensor 14
According to a timing signal supplied from a TG (Timing Generator) 16, an optical image of a subject is exposed,
An image signal corresponding to the charge accumulated by the exposure is output.

【0013】イメージセンサ14から出力された画像信
号は、CDS(Correlated DoubleSampling)/AGC
(Automatic Gain Control)回路18に入力され、ここ
で相関二重サンプリング処理および増幅処理を施された
後、A/D変換回路20に入力される。A/D変換回路
20は、入力された画像信号をディジタル信号である画
像データに変換し、変換後の画像データを信号処理回路
22に入力する。信号処理回路22は、入力された画像
データに色分離,白バランス調整,ガンマ補正,YUV
変換などの所定の処理を施した後、当該YUV変換によ
って生成されたY(輝度)データ,U(青色差)データ
およびV(赤色差)データを図示しないビデオエンコー
ダおよび圧縮回路に入力する。これによって、最終的に
被写体のスルー画像が図示しない液晶モニタの画面に表
示されるとともに、圧縮画像ファイルが図示しないメモ
リカードに記録される。
An image signal output from the image sensor 14 is a CDS (Correlated Double Sampling) / AGC signal.
(Automatic Gain Control) circuit 18, where the signal is subjected to correlated double sampling processing and amplification processing, and then input to A / D conversion circuit 20. The A / D conversion circuit 20 converts the input image signal into image data which is a digital signal, and inputs the converted image data to the signal processing circuit 22. The signal processing circuit 22 performs color separation, white balance adjustment, gamma correction, YUV
After performing predetermined processing such as conversion, Y (luminance) data, U (blue difference) data, and V (red difference) data generated by the YUV conversion are input to a video encoder and a compression circuit (not shown). As a result, a through image of the subject is finally displayed on a screen of a liquid crystal monitor (not shown), and a compressed image file is recorded on a memory card (not shown).

【0014】さらに、この実施例のディジタルカメラ1
0は、エッジ強調回路24を備えている。このエッジ強
調回路24には、A/D変換回路20による変換後の画
像データが入力され、エッジ強調回路24は、当該入力
された画像データからアパーチャ信号Aを生成する。生
成されたアパーチャ信号Aは、加算回路26に入力さ
れ、ここで信号処理回路22から出力されるYデータに
加算(重畳)される。これによって、当該Yデータのエ
ッジ成分が強調され、つまりエッジ強調が実現される。
Further, the digital camera 1 of this embodiment
0 has an edge emphasis circuit 24. The image data converted by the A / D conversion circuit 20 is input to the edge enhancement circuit 24, and the edge enhancement circuit 24 generates an aperture signal A from the input image data. The generated aperture signal A is input to the addition circuit 26, where it is added (superimposed) to the Y data output from the signal processing circuit 22. Thus, the edge component of the Y data is enhanced, that is, edge enhancement is realized.

【0015】具体的には、図2に示すように、エッジ強
調回路24は、メディアン(中央値)フィルタ30,重
み付け加算回路32,エッジレベル検出回路34,係数
算出回路36およびアパーチャ信号生成回路38を含
む。そして、これらのうちのメディアンフィルタ30,
重み付け加算回路32およびエッジレベル検出回路34
の各々に、A/D変換回路20による変換後の画像デー
タが入力される。
More specifically, as shown in FIG. 2, the edge emphasizing circuit 24 includes a median (median) filter 30, a weighting and adding circuit 32, an edge level detecting circuit 34, a coefficient calculating circuit 36, and an aperture signal generating circuit 38. including. And, among these, the median filter 30,
Weight addition circuit 32 and edge level detection circuit 34
, The image data after the conversion by the A / D conversion circuit 20 is input.

【0016】なお、A/D変換回路20による変換後の
画像データは、図3に示すように、それぞれR(Re
d),G(Green)およびB(Blue)のいずれか1つの色
成分を有する複数の画素データを含んでいる。これらの
画素データの色成分は、イメージセンサ14の受光面に
設けられた図示しない原色フィルタの色要素に対応す
る。
The image data converted by the A / D conversion circuit 20 is, as shown in FIG.
d), a plurality of pixel data having one of G (Green) and B (Blue) color components. The color components of these pixel data correspond to the color elements of a primary color filter (not shown) provided on the light receiving surface of the image sensor 14.

【0017】すなわち、図3は、各画素データの色成分
をイメージセンサ14の各画素(受光素子)の並びに対
応させて概念的に表現したものであり、或る垂直列に注
目すると、当該垂直列にはR成分の画素データとG成分
の画素データとが交互に並んでいる。そして、当該垂直
列と隣り合う別の垂直列には、G成分の画素データとB
成分の画素データとが交互に並んでいる。さらに、図3
に太線の枠50で示すように任意の縦2行×横2列の4
つの画素に注目すると、当該枠50の一方の対角線上に
はG成分の画素データが並んでおり、他方の対角線上に
はR成分の画素データとB成分の画素データとが並んで
いる。
That is, FIG. 3 conceptually shows the color components of each pixel data in correspondence with the arrangement of each pixel (light receiving element) of the image sensor 14. When attention is paid to a certain vertical column, In the columns, pixel data of the R component and pixel data of the G component are alternately arranged. Then, in another vertical column adjacent to the vertical column, pixel data of G component and B
The pixel data of the component are alternately arranged. Further, FIG.
As shown by the thick line frame 50, 4 of arbitrary 2 rows × 2 columns
Focusing on one pixel, pixel data of the G component is arranged on one diagonal of the frame 50, and pixel data of the R component and pixel data of the B component are arranged on the other diagonal.

【0018】図2に戻って、メディアンフィルタ30
は、かかる画像データに含まれる複数の画素データのう
ちG成分の画素データに対して3×3のフィルタ処理を
施す。すなわち、メディアンフィルタ30は、図4に示
すように、任意のG画素(Gの色要素が割り当てられた
画素)を注目画素G0とし、この注目画素G0および当
該注目画素G0を囲む4つのG画素G1〜G4の各画素
データの中央値、つまり上(または下)から3番目に大
きい画素データを特定する。そして、特定した画素デー
タを、注目画素G0の画素データとして設定する。この
フィルタ処理は、イメージセンサ14の端縁に存在する
G画素以外の全てのG画素の画素データについて施され
る。なお、イメージセンサ14の端縁に存在するG画素
の画素データについては、そのままのデータが維持され
る。
Returning to FIG. 2, the median filter 30
Performs a 3 × 3 filter process on pixel data of the G component among a plurality of pixel data included in the image data. That is, as shown in FIG. 4, the median filter 30 sets an arbitrary G pixel (a pixel to which a G color element is assigned) as a target pixel G0, and sets the target pixel G0 and four G pixels surrounding the target pixel G0. The median value of each of the pixel data G1 to G4, that is, the third largest pixel data from the top (or the bottom) is specified. Then, the specified pixel data is set as the pixel data of the target pixel G0. This filtering process is performed on the pixel data of all the G pixels other than the G pixels existing at the edge of the image sensor 14. The pixel data of the G pixel existing at the edge of the image sensor 14 is maintained as it is.

【0019】このメディアンフィルタ30によるフィル
タ処理によって、画像データ(G成分の画素データ)に
含まれる雑音成分が低減される。このフィルタ処理後の
画像データGmは、重み付け加算回路32に入力され
る。
The filtering process by the median filter 30 reduces noise components included in the image data (G component pixel data). The image data Gm after the filter processing is input to the weighting addition circuit 32.

【0020】重み付け加算回路32は、メディアンフィ
ルタ30から入力されるフィルタ処理後の画像データG
mと、A/D変換回路20から入力される画像データ、
いわゆる生画像データとに対して、次の数1で示される
重み付け加算を施す。
The weighting and adding circuit 32 outputs the filtered image data G input from the median filter 30.
m, image data input from the A / D conversion circuit 20,
A weighted addition represented by the following equation 1 is performed on so-called raw image data.

【0021】[0021]

【数1】Ga=Gm・k+G・(1−k) ここで、Gmは、フィルタ処理後のG成分の画素データ
であり、Gは、生画像データに含まれるG成分の画素デ
ータである。そして、kは、重み付け係数である。この
重み付け係数kは、次の手順によって求められる。
Ga = Gm · k + G · (1−k) Here, Gm is the pixel data of the G component after the filtering process, and G is the pixel data of the G component included in the raw image data. K is a weighting coefficient. This weighting coefficient k is obtained by the following procedure.

【0022】まず、エッジレベル検出回路34が、A/
D変換回路20から入力される生画像データのうちG成
分の画素データに対して数2で示される演算を施す。
First, the edge level detection circuit 34 detects A /
The calculation represented by Expression 2 is performed on the G component pixel data in the raw image data input from the D conversion circuit 20.

【0023】[0023]

【数2】E=|{(G0−G1)/2}+{(G0−G
2)/2}+{(G0−G3)/2}+{(G0−G
4)/2}| =|2・G0−(G1+G2+G3+G4)/2| ここで、G0は、図4における注目画素G0の画素デー
タであり、G1〜G4は、それぞれ注目画素G0を囲む
4つの周辺画素G1〜G4の画素データである。
E = | {(G0-G1) / 2} + {(G0-G
2) / 2} + {(G0-G3) / 2} + {(G0-G
4) / 2} | = | 2 · G0− (G1 + G2 + G3 + G4) / 2 | Here, G0 is the pixel data of the target pixel G0 in FIG. 4, and G1 to G4 are the four peripherals surrounding the target pixel G0, respectively. This is pixel data of the pixels G1 to G4.

【0024】この数2から判るように、エッジレベル検
出回路34は、注目画素G0の画素データと各周辺画素
G1〜G4の画素データとの差を2で割った値の総和の
絶対値を求める。ここで、たとえば注目画素G0の位置
に被写体の輪郭部分が存在するとすると、当該エッジレ
ベル検出回路34による演算結果Eは比較的に大きな値
となる。一方、注目画素G0および各周辺画素G1〜G
4が被写体のほぼ平坦な部分に位置する場合には、演算
結果Eは比較的に小さい値となり、極端にはE=0とな
る。つまり、エッジレベル検出回路34は、被写体のエ
ッジの程度、換言すれば被写体の平坦さを検出する。
As can be seen from Equation 2, the edge level detection circuit 34 calculates the absolute value of the sum of the values obtained by dividing the difference between the pixel data of the target pixel G0 and the pixel data of each of the peripheral pixels G1 to G4 by two. . Here, for example, if there is a contour portion of the subject at the position of the target pixel G0, the calculation result E by the edge level detection circuit 34 becomes a relatively large value. On the other hand, the target pixel G0 and the peripheral pixels G1 to G
When 4 is located in a substantially flat part of the subject, the calculation result E is a relatively small value, and extremely E = 0. That is, the edge level detection circuit 34 detects the degree of the edge of the subject, in other words, the flatness of the subject.

【0025】このエッジレベル検出回路34による検出
結果、つまりエッジの程度を表すデータEは、係数算出
回路36に入力される。係数算出回路36は、入力され
たデータEに基づいて上述の重み付け係数kを算出す
る。この重み付け係数kの算出式は、次の数3で表され
る。
The result of detection by the edge level detection circuit 34, that is, data E representing the degree of an edge, is input to a coefficient calculation circuit 36. The coefficient calculation circuit 36 calculates the above-mentioned weight coefficient k based on the input data E. The formula for calculating the weighting coefficient k is expressed by the following equation (3).

【0026】[0026]

【数3】k=α ;E≦Th k=α−(E−Th)・β ;E>Th ここで、α,βおよびThは、それぞれ一定の値であ
る。
K = α; E ≦ Th k = α− (E−Th) · β; E> Th Here, α, β and Th are constant values, respectively.

【0027】この数3で示されるデータEと重み付け係
数kとの関係をグラフで表すと、図5のようになる。す
なわち、データEの値が或る閾値Th以下であるとき、
重み付け係数kは一定の値αとなる。一方、データEの
値が閾値Thを超える範囲では、重み付け係数kはαよ
りも小さく、かつデータEの値が大きいほど、つまり被
写体のエッジの程度が大きいほど小さくなる。
FIG. 5 is a graph showing the relationship between the data E expressed by the equation (3) and the weighting coefficient k. That is, when the value of the data E is equal to or less than a certain threshold Th,
The weighting coefficient k has a constant value α. On the other hand, in the range where the value of the data E exceeds the threshold value Th, the weighting coefficient k is smaller than α and becomes smaller as the value of the data E becomes larger, that is, as the degree of the edge of the subject becomes larger.

【0028】このようにして算出された重み付け係数k
は、重み付け加算回路32に与えられる。重み付け加算
回路32は、与えられた重み付け係数kを用いて上述し
た数1の重み付け加算を行う。この数1によれば、重み
付け係数kが大きいほど、つまりエッジの程度が小さい
ほど、メディアンフィルタ30によるフィルタ処理後の
画像データ(Gm)に対する重み付けの比率が大きくな
る。一方、重み付け係数kが小さいほど、つまりエッジ
の程度が大きいほど、生画像データ(G)に対する重み
付けの比率が大きくなる。この重み付け加算回路32に
よる重み付け加算後のデータGaは、アパーチャ信号生
成回路38に入力される。
The weighting coefficient k thus calculated
Is given to the weighting addition circuit 32. The weighting and adding circuit 32 performs the above-described weighting and adding of Equation 1 using the given weighting coefficient k. According to Equation 1, the larger the weighting coefficient k, that is, the smaller the degree of the edge, the larger the ratio of the weighting to the image data (Gm) after the filtering process by the median filter 30. On the other hand, the smaller the weighting coefficient k, that is, the greater the degree of the edge, the greater the ratio of weighting to the raw image data (G). The data Ga after the weighting and addition by the weighting and adding circuit 32 is input to the aperture signal generating circuit 38.

【0029】アパーチャ信号生成回路38は、入力され
たデータGaのエッジ成分を抽出し、抽出したエッジ成
分にアパーチャゲインを付与することでアパーチャ信号
Aを生成する。このアパーチャ信号生成回路38による
一連の処理は、公知の技術によって実現される。生成さ
れたアパーチャ信号Aは、上述したように加算回路26
において信号処理回路22から出力されるYデータに重
畳され、これによって当該Yデータのエッジ成分が強調
される。
The aperture signal generation circuit 38 generates an aperture signal A by extracting an edge component of the input data Ga and applying an aperture gain to the extracted edge component. A series of processes by the aperture signal generation circuit 38 is realized by a known technique. The generated aperture signal A is added to the addition circuit 26 as described above.
Is superimposed on the Y data output from the signal processing circuit 22, thereby enhancing the edge component of the Y data.

【0030】以上の説明から判るように、この実施例で
は、生画像データ(G)とメディアンフィルタ30によ
るフィルタ処理後の画像データ(Gm)との重み付け加
算結果Gaに基づいてアパーチャ信号Aが生成される。
そして、被写体の輪郭部分に重畳されるアパーチャ信号
Aについては、生画像データ(G)に対する重み付け比
率を大きくした重み付け加算結果Gaに基づいて生成さ
れるので、当該輪郭部分により一層のメリハリをつける
ことができる。一方、被写体のほぼ平坦な部分に重畳さ
れるアパーチャ信号Aについては、フィルタ処理後の画
像データ(Gm)に対する重み付け比率を大きくした重
み付け加算結果Gaに基づいて生成されるので、当該平
坦な部分における雑音成分の影響を低減することができ
る。つまり、高品質なエッジ強調を実現できる。
As can be seen from the above description, in this embodiment, the aperture signal A is generated based on the weighted addition result Ga of the raw image data (G) and the image data (Gm) subjected to the filtering process by the median filter 30. Is done.
The aperture signal A to be superimposed on the contour of the subject is generated based on the weighted addition result Ga in which the weighting ratio for the raw image data (G) is increased, so that the contour is further sharpened. Can be. On the other hand, the aperture signal A superimposed on the substantially flat portion of the subject is generated based on the weighted addition result Ga obtained by increasing the weighting ratio with respect to the filtered image data (Gm). The effect of noise components can be reduced. That is, high-quality edge enhancement can be realized.

【0031】なお、この実施例においては、ディジタル
カメラ10にこの発明を適用する場合について説明した
が、これに限らない。すなわち、ビデオカメラやビデオ
スイッチャなどの画像信号を取り扱う各種装置に、この
発明を適用してもよい。
In this embodiment, the case where the present invention is applied to the digital camera 10 has been described. However, the present invention is not limited to this. That is, the present invention may be applied to various devices that handle image signals, such as video cameras and video switchers.

【0032】また、G成分の画像データに基づいてアパ
ーチャ信号Aを生成したが、R成分またはB成分の画像
データに基づいて当該アパーチャ信号Aを生成してもよ
い。ただし、エッジ強調効果に最も大きな影響を与える
輝度成分は、G成分の画像データに最も多く含まれるの
で、かかるG成分の画像データに基づいてアパーチャ信
号Aを生成することによって、最も大きなエッジ強調効
果を得ることができる。
Although the aperture signal A is generated based on the G component image data, the aperture signal A may be generated based on the R component or B component image data. However, since the luminance component that has the greatest effect on the edge enhancement effect is included most in the G component image data, generating the aperture signal A based on the G component image data provides the largest edge enhancement effect. Can be obtained.

【0033】さらに、メディアンフィルタ30に代え
て、たとえば最大値フィルタ,最小値フィルタ,平均値
フィルタ,スティープフィルタなどの他の非線形フィル
タを用いてもよい。また、非線形フィルタに限らず、線
形フィルタを用いてもよい。
Further, in place of the median filter 30, another non-linear filter such as a maximum value filter, a minimum value filter, an average value filter, and a steep filter may be used. In addition, a linear filter may be used instead of the nonlinear filter.

【0034】そして、エッジレベル検出回路34におい
て、上述した数2に基づいてエッジの程度Eを算出する
ようにしたが、これ以外の演算式によって当該エッジの
程度Eを算出してもよい。また、このエッジの程度Eと
重み付け係数Eとの関係は、図5(数3)に示す関係に
限定されるものではない。
Although the edge level detection circuit 34 calculates the degree E of the edge based on the above-described equation 2, the degree E of the edge may be calculated by another arithmetic expression. The relationship between the degree E of the edge and the weighting coefficient E is not limited to the relationship shown in FIG.

【図面の簡単な説明】[Brief description of the drawings]

【図1】この発明の一実施例の概略構成を示すブロック
図である。
FIG. 1 is a block diagram showing a schematic configuration of an embodiment of the present invention.

【図2】図1におけるエッジ強調回路の詳細な構成を示
すブロック図である。
FIG. 2 is a block diagram illustrating a detailed configuration of an edge enhancement circuit in FIG. 1;

【図3】図1の実施例における画像データに含まれる画
素データの色成分を概念的に示す図解図である。
FIG. 3 is an illustrative view conceptually showing a color component of pixel data included in image data in the embodiment in FIG. 1;

【図4】図2のエッジ強調回路内における画像信号の処
理内容を説明するための図解図である。
FIG. 4 is an illustrative view for explaining processing contents of an image signal in the edge enhancement circuit of FIG. 2;

【図5】図1の実施例におけるエッジの程度と重み付け
係数との関係を示すグラフである。
FIG. 5 is a graph showing a relationship between the degree of an edge and a weighting coefficient in the embodiment of FIG. 1;

【符号の説明】[Explanation of symbols]

10…ディジタルカメラ 22…信号処理回路 24…エッジ強調回路 26…加算回路 30…メディアンフィルタ 32…重み付け加算回路 34…エッジレベル検出回路 36…係数算出回路 38…アパーチャ信号生成回路 10 Digital camera 22 ... Signal processing circuit 24 ... Edge emphasis circuit 26 ... Addition circuit 30 ... Median filter 32 ... weighted addition circuit 34 ... Edge level detection circuit 36 ... Coefficient calculation circuit 38 ... Aperture signal generation circuit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】撮影手段から出力された第1画素信号と前
記第1画素信号にフィルタ処理を施して得られた第2画
素信号との重み付け加算によって輪郭強調信号を生成す
る輪郭強調回路において、 前記第1画素信号のレベル変化量を検出する検出手段、
および前記レベル変化量が大きいほど前記第1画素信号
に対する重み付け量を大きくする重み付け制御手段を備
えることを特徴とする、輪郭強調回路。
An edge enhancement circuit for generating an edge enhancement signal by weighted addition of a first pixel signal output from a photographing means and a second pixel signal obtained by performing a filtering process on the first pixel signal, Detecting means for detecting a level change amount of the first pixel signal;
And a weighting control means for increasing a weighting amount for the first pixel signal as the level change amount increases.
【請求項2】前記フィルタ処理はメディアンフィルタ処
理である、請求項1記載の輪郭強調回路。
2. The contour emphasizing circuit according to claim 1, wherein said filtering is median filtering.
【請求項3】前記第1画素信号はグリーンの色情報を有
する信号である、請求項1または2記載の輪郭強調回
路。
3. The contour emphasizing circuit according to claim 1, wherein said first pixel signal is a signal having green color information.
【請求項4】前記第1画素信号に基づいて輝度信号を生
成する生成手段、および前記輝度信号に前記輪郭強調信
号を加算する加算手段をさらに備える、請求項1ないし
3のいずれかに記載の輪郭強調回路。
4. The image processing apparatus according to claim 1, further comprising: generating means for generating a luminance signal based on said first pixel signal; and adding means for adding said contour enhancement signal to said luminance signal. Edge enhancement circuit.
JP2002152923A 2002-05-27 2002-05-27 Outline enhancement circuit Expired - Fee Related JP3863808B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2002152923A JP3863808B2 (en) 2002-05-27 2002-05-27 Outline enhancement circuit
US10/444,305 US7433534B2 (en) 2002-05-27 2003-05-23 Edge emphasizing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002152923A JP3863808B2 (en) 2002-05-27 2002-05-27 Outline enhancement circuit

Publications (2)

Publication Number Publication Date
JP2003348382A true JP2003348382A (en) 2003-12-05
JP3863808B2 JP3863808B2 (en) 2006-12-27

Family

ID=29545416

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002152923A Expired - Fee Related JP3863808B2 (en) 2002-05-27 2002-05-27 Outline enhancement circuit

Country Status (2)

Country Link
US (1) US7433534B2 (en)
JP (1) JP3863808B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100667803B1 (en) 2005-06-21 2007-01-11 삼성전자주식회사 Method and apparatus for reducing color artifact and noise cosidering color channel correlation

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3964315B2 (en) * 2002-12-03 2007-08-22 株式会社リコー Digital camera
TWI295449B (en) * 2005-05-09 2008-04-01 Sunplus Technology Co Ltd Edge enhancement method and apparatus for bayer image and an image acquisition system
TWI336595B (en) * 2005-05-19 2011-01-21 Mstar Semiconductor Inc Noise reduction method
US20090010341A1 (en) * 2007-07-02 2009-01-08 Feng Pan Peak signal to noise ratio weighting module, video encoding system and method for use therewith
JP5414691B2 (en) * 2008-11-21 2014-02-12 三菱電機株式会社 Image processing apparatus and image processing method
KR20120114021A (en) 2011-04-06 2012-10-16 삼성디스플레이 주식회사 Method for correcting defect pixels
CN103778611B (en) * 2014-01-26 2016-08-17 天津大学 Utilize the switch weight vectors median filter method of rim detection

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01220585A (en) 1988-02-26 1989-09-04 Mitsubishi Electric Corp Video signal processing device
KR100230391B1 (en) * 1996-11-29 1999-11-15 윤종용 Method for correcting contour components of luminance signal and circuit thereof
JPH10210298A (en) 1997-01-20 1998-08-07 Dainippon Screen Mfg Co Ltd Image processing method and device therefor
JP3800704B2 (en) 1997-02-13 2006-07-26 ソニー株式会社 Video signal processing apparatus and method
US6055340A (en) * 1997-02-28 2000-04-25 Fuji Photo Film Co., Ltd. Method and apparatus for processing digital images to suppress their noise and enhancing their sharpness
EP1365355B1 (en) * 1997-06-02 2016-03-16 Seiko Epson Corporation Edge-enhancement processing apparatus and method
JPH1146313A (en) * 1997-07-25 1999-02-16 Fujitsu General Ltd Contour emphasis circuit
US6614474B1 (en) * 1998-08-27 2003-09-02 Polycom, Inc. Electronic pan tilt zoom video camera with adaptive edge sharpening filter
JP2000312302A (en) * 1999-02-24 2000-11-07 Canon Inc Contour emphasis device, image forming device, picture signal processing method and image forming device
US6640017B1 (en) * 1999-05-26 2003-10-28 Intel Corporation Method and apparatus for adaptively sharpening an image
JP2000350055A (en) * 1999-06-08 2000-12-15 Nec Corp Contour correction device for digital video camera
JP3501031B2 (en) * 1999-08-24 2004-02-23 日本電気株式会社 Image region determination device, image region determination method, and storage medium storing program thereof
US6628330B1 (en) * 1999-09-01 2003-09-30 Neomagic Corp. Color interpolator and horizontal/vertical edge enhancer using two line buffer and alternating even/odd filters for digital camera
US6879728B1 (en) * 2000-02-11 2005-04-12 Sony Corporation Multiple image harmonization system
TWI220505B (en) * 2001-08-13 2004-08-21 Ulead Systems Inc Image enhancement method
US6904169B2 (en) * 2001-11-13 2005-06-07 Nokia Corporation Method and system for improving color images
US6891549B2 (en) * 2002-01-11 2005-05-10 Applied Materials, Inc. System and method for edge enhancement of images

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100667803B1 (en) 2005-06-21 2007-01-11 삼성전자주식회사 Method and apparatus for reducing color artifact and noise cosidering color channel correlation

Also Published As

Publication number Publication date
JP3863808B2 (en) 2006-12-27
US7433534B2 (en) 2008-10-07
US20030219168A1 (en) 2003-11-27

Similar Documents

Publication Publication Date Title
KR101099401B1 (en) Image processing apparatus and computer-readable medium
JP2002084547A (en) Image data size converting processor, digital camera, and image data size converting processing record medium
WO2016047240A1 (en) Image processing device, image pickup element, image pickup device, and image processing method
WO2005081542A1 (en) Image processing method
CN103873836B (en) Image processing equipment and image processing method
JP2003304549A (en) Camera and image signal processing system
US8345121B2 (en) Image processing apparatus, method, and program
JP2004363853A (en) Method and device for reducing noise of image signal
JP5589660B2 (en) Image processing apparatus, imaging apparatus, and image processing program
JP4182566B2 (en) Digital camera and computer-readable recording medium
JP3863808B2 (en) Outline enhancement circuit
JP2011171842A (en) Image processor and image processing program
JP5948167B2 (en) Imaging device
JP2015139082A (en) Image processor, image processing method, program and electronic apparatus
JP4687454B2 (en) Image processing apparatus and imaging apparatus
JP2010213105A (en) Imaging apparatus
JP2009022044A (en) Image processing apparatus and image processing program
JP4973428B2 (en) Image processing apparatus, electronic camera, and image processing program
JP4478981B2 (en) Color noise reduction method and color imaging apparatus
JP2000023085A (en) Digital camera and image signal processing storage medium
JP4687750B2 (en) Digital camera and image signal processing storage medium
JP4197821B2 (en) Image processing device
JP4133179B2 (en) Image signal processing device
JP2000253411A (en) Image pickup device and method for processing image for the image pickup device
JP2000023083A (en) Digital camera and storage medium for image signal processing

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060609

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060620

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060809

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: 20060926

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060929

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101006

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111006

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121006

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121006

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131006

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131006

Year of fee payment: 7

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131006

Year of fee payment: 7

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees