JP2002077930A - Method for preventing pseudocolor by single ccd solid- state image pickup element and recording medium with pseudocolor preventing program for single ccd solid- state image pickup element - Google Patents

Method for preventing pseudocolor by single ccd solid- state image pickup element and recording medium with pseudocolor preventing program for single ccd solid- state image pickup element

Info

Publication number
JP2002077930A
JP2002077930A JP2000254367A JP2000254367A JP2002077930A JP 2002077930 A JP2002077930 A JP 2002077930A JP 2000254367 A JP2000254367 A JP 2000254367A JP 2000254367 A JP2000254367 A JP 2000254367A JP 2002077930 A JP2002077930 A JP 2002077930A
Authority
JP
Japan
Prior art keywords
color
pixel
value
interpolation
false
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.)
Pending
Application number
JP2000254367A
Other languages
Japanese (ja)
Inventor
Shinichi Arasaki
真一 荒崎
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2000254367A priority Critical patent/JP2002077930A/en
Publication of JP2002077930A publication Critical patent/JP2002077930A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Color Television Image Signal Generators (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce a pseudocolor by small quantity of calculation that is apt to be generated in an edge especially. SOLUTION: A specified area necessary to be color-interpolated is set adjacent to a target pixel to be color-interpolated (step s1), color interpolation is conducted in the area, and the obtained color information is used to convert the color and obtain tint components Cb and Cr (definer appropriately as linear combinations of cyan(Cy), yellow(Ye), magenta(Ma) and green(Gr), respectively) (step s2). Then, the tint component Cb is set by selecting respective color information so as to interpolate in a manner that the tint component Cb to be obtained by the color conversion may become almost zero (step s3). Specifically, the maximum and minimum values of the tint component Cb are found out, and the respective color information to be interpolated is selected so that the tint component value may become zero or almost zero in a range of the minimum value to the maximum value. The tint component Cr is obtained by using a value that 3 pixels × 3 pixels is uniformly averaged for color interpolation.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は単板式CCDで撮像
された画像状に発生する偽色を抑制するようにした単板
式固体撮像素子の偽色抑制方法および単板式固体撮像素
子の偽色抑制プログラムを記録した記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for suppressing false colors in a single-chip solid-state image sensor and a method for suppressing false colors in a single-chip solid-state image sensor in which false colors generated in an image captured by a single-chip CCD are suppressed. The present invention relates to a recording medium on which a program is recorded.

【0002】[0002]

【従来の技術】単板式の固体撮像素子(CCDという)
で撮像して得られた画像には偽色がしばしば現れる。こ
の偽色は目的としない色成分が交互に帯状に現れる現象
であり、輝度の変化の大きいエッジ部分などで特に目に
付きやすい。たとえば、図1に示すような色配列の単板
式CCDにおいては、本来の画像に青色や黄色が存在し
ない場合であっても、これら青色や黄色の成分が偽色と
なって現れやすい。
2. Description of the Related Art Single-chip solid-state imaging device (referred to as CCD)
False color often appears in an image obtained by imaging in the above. This false color is a phenomenon in which an unintended color component appears alternately in a band shape, and is particularly noticeable in an edge portion where a change in luminance is large. For example, in a single-chip CCD having a color arrangement as shown in FIG. 1, even when blue or yellow does not exist in the original image, these blue and yellow components tend to appear as false colors.

【0003】[0003]

【発明が解決しようとする課題】従来、このような偽色
を目立たなくする方法としては、従来より種々提案され
ているが、処理が複雑で計算量が多いなどの問題があ
る。
Conventionally, various methods for making such false colors inconspicuous have been proposed, but they have problems such as complicated processing and a large amount of calculation.

【0004】そこで本発明は、計算量が少なく偽色の抑
制を可能とする単板式固体撮像素子の偽色抑制方法およ
び単板式固体撮像素子の偽色抑制プログラムを記録した
記録媒体を提供することを目的としている。
Accordingly, the present invention provides a false color suppression method for a single-chip solid-state imaging device which requires a small amount of calculation and can suppress false colors, and a recording medium on which a false-color suppression program for a single-chip solid-state imaging device is recorded. It is an object.

【0005】[0005]

【課題を解決するための手段】上述の目的を達成するた
めに本発明の単板式固体撮像素子の偽色抑制方法は、単
板式固体撮像素子から出力される画素対応の画素情報を
用いてその画素における色補間を行って画像復号を行っ
たときに発生する偽色を防止する単板式固体撮像素子の
偽色抑制方法であって、色補間対象となるある注目画素
に対し、当該注目画素の彩度がより低くなるような色補
間を行うことで偽色の抑制を行うようにしている。
In order to achieve the above object, a false color suppressing method for a single-chip solid-state imaging device according to the present invention uses a pixel information corresponding to a pixel output from the single-chip solid-state imaging device. A false-color suppression method for a single-chip solid-state imaging device that prevents false colors that occur when image decoding is performed by performing color interpolation on pixels. False color is suppressed by performing color interpolation that lowers the saturation.

【0006】この単板式固体撮像素子の偽色抑制方法に
おいて、前記ある注目画素の彩度がより低くなるような
色補間は、前記ある注目画素の周囲に色補間を行うため
に設定された所定領域において、とり得る範囲の彩度の
なかで最も低い彩度となるような色補間である。
In this false color suppression method for a single-chip solid-state image pickup device, the color interpolation for lowering the saturation of a certain pixel of interest is performed by a predetermined color setting for performing color interpolation around the certain pixel of interest. In the region, the color interpolation is such that the saturation becomes the lowest among the possible saturations.

【0007】そして、前記とり得る範囲の彩度のなかで
最も低い彩度となるような色補間は、前記ある注目画素
の周囲に設定された所定領域において、色変換処理で得
られる色味成分Cbと色味成分Crの少なくとも一方の
色味成分がとり得る最大値と最小値を求め、その最大値
と最小値の範囲内で当該色味成分値が0または0に最も
近い値となるように、補間すべきそれぞれの色情報を選
択するようにしている。
[0007] The color interpolation to provide the lowest saturation in the possible range of the saturation is performed by using a color component obtained by a color conversion process in a predetermined area set around the certain pixel of interest. A maximum value and a minimum value which can be taken by at least one of the color components Cb and the color component Cr are obtained, and the color component value is 0 or a value closest to 0 within the range between the maximum value and the minimum value. Then, each color information to be interpolated is selected.

【0008】また、本発明の単板式固体撮像素子の偽色
抑制処理プログラムを記録した記録媒体は、単板式固体
撮像素子から出力される画素対応の画素情報を用いてそ
の画素における色補間を行い画像復号を行ったときに発
生する偽色を防止する単板式固体撮像素子の偽色抑制処
理プログラムを記録した記録媒体であって、その偽色抑
制処理プログラムは、前記色補間対象となるある注目画
素の周囲に色補間を行うために所定領域を設定する手順
と、その所定領域において、色補間処理を行いその色補
間処理によって得られたその注目画素のそれぞれの色情
報を用いて色変換処理を行う手順とを含み、前記色補間
処理および色変換処理過程において、その色変換処理で
得られる色味成分Cbと色味成分Crの少なくとも一方
の色味成分がとり得る最大値と最小値を求め、その最大
値と最小値の範囲内で当該色味成分値が0または0に最
も近い値となるように、補間すべきそれぞれの色情報を
選択するようにしている。
Further, the recording medium in which the false color suppression processing program for a single-chip solid-state image sensor according to the present invention is recorded performs color interpolation on the pixel using pixel information corresponding to the pixel output from the single-chip solid-state image sensor. A recording medium that records a false color suppression processing program for a single-chip solid-state imaging device that prevents false colors that occur when image decoding is performed, wherein the false color suppression processing program is a target for color interpolation. A procedure for setting a predetermined area for performing color interpolation around a pixel, and performing a color interpolation process in the predetermined area and performing a color conversion process using each color information of the pixel of interest obtained by the color interpolation processing And in the color interpolation process and the color conversion process, at least one of the color components Cb and Cr obtained by the color conversion process is obtained. The maximum value and the minimum value are calculated, and each color information to be interpolated is selected so that the color component value becomes 0 or a value closest to 0 within the range of the maximum value and the minimum value. I have.

【0009】このように本発明は、色補間対象となるあ
る注目画素の彩度をより低くするような色補間を行うこ
とで偽色の抑制を行うようにしている。これによって、
目的としない色、つまり、本来、現れるはずのない色が
表現されにくくなり、偽色を低減することができる。
As described above, according to the present invention, false color is suppressed by performing color interpolation so as to lower the saturation of a target pixel to be subjected to color interpolation. by this,
An undesired color, that is, a color that should not originally appear, is less likely to be expressed, and false colors can be reduced.

【0010】そして、注目画素の彩度をより低くするよ
うな色補間処理は、前記ある注目画素周囲に色補間を行
うために設定された所定領域において、とり得る範囲の
彩度のなかで最も低い彩度となるような色補間であり、
具体的には、ある注目画素周囲に設定された所定領域に
おいて、色変換処理で得られる色味成分Cbと色味成分
Crの少なくとも一方の色味成分がとり得る最大値と最
小値を求め、その最大値と最小値の範囲内で当該色味成
分値が0または0に最も近い値となるように、補間すべ
きそれぞれの色情報を選択するような色補間を行うよう
にしている。
[0010] The color interpolation processing for lowering the saturation of the target pixel is performed in a predetermined area set for performing color interpolation around the certain target pixel in the range of possible saturations. Color interpolation that results in low saturation,
Specifically, in a predetermined area set around a certain pixel of interest, a maximum value and a minimum value which can be taken by at least one of the tint components Cb and Cr obtained by the color conversion process are obtained. Color interpolation is performed such that each color information to be interpolated is selected so that the color component value becomes 0 or a value closest to 0 within the range between the maximum value and the minimum value.

【0011】つまり、彩度が低いということは色味成分
Cb,Crの値が小さいということと等価であると言え
る。したがって、色味成分Cb,Crの少なくとも一方
が0またはできるだけ0に近くなるように、補間すべき
それぞれの色成分の色情報を選ぶようにする。この演算
処理は、主に、加減算と乗算であり、演算量の多い除算
を含まないので、演算量を少なくすることができ、偽色
抑制処理そのものを高速化することができる。しかも、
偽色抑制に一定の効果が得られる。
That is, a low saturation is equivalent to a small value of the color components Cb and Cr. Therefore, the color information of each color component to be interpolated is selected so that at least one of the color components Cb and Cr is 0 or as close to 0 as possible. This calculation processing is mainly addition and subtraction and multiplication, and does not include division with a large amount of calculation, so that the amount of calculation can be reduced and the false color suppression processing itself can be sped up. Moreover,
A certain effect can be obtained in suppressing false colors.

【0012】[0012]

【発明の実施の形態】以下、本発明の実施の形態につい
て説明する。なお、この実施の形態で説明する内容は、
本発明の単板式固体撮像素子の色補間方法および単板式
固体撮像素子の偽色抑制処理プログラムを記録した記録
媒体における偽色抑制処理プログラムの具体的な処理内
容をも含むものである。
Embodiments of the present invention will be described below. The contents described in this embodiment are as follows.
The present invention also includes the specific processing content of the false color suppression processing program in the recording medium in which the color interpolation method of the single-chip solid-state imaging device and the false-color suppression processing program of the single-chip solid-state imaging device of the present invention are recorded.

【0013】本発明は偽色を抑制しようとするものであ
り、その偽色は目的としない色が際だって強く表現する
ものと考え、偽色の発生し易い部分の彩度を低くすれば
よいとの考えからなされたものである。ただし、単純に
彩度を下げるのではなく、注目画素を色補間する際、注
目画素がとり得る範囲の彩度の中で最も低い彩度となる
ような色補間を行うことに特徴がある。以下、具体的な
実施の形態について説明する。なお、偽色は特にエッジ
部など輝度の変化の大きい部分で発生しやすいので、以
下の実施の形態では、主にエッジ部を想定した説明とす
る。
The present invention is intended to suppress false colors, and considers that false colors express strong colors that are not intended, so that the saturation of a portion where false colors easily occur may be reduced. It is made from the idea. However, when color interpolation is performed on a pixel of interest instead of simply lowering the saturation, color interpolation is performed so that the saturation becomes the lowest in the range of saturation of the pixel of interest. Hereinafter, specific embodiments will be described. Note that a false color tends to occur particularly in a portion where luminance changes greatly, such as an edge portion. Therefore, the following embodiment will be described mainly on the assumption of an edge portion.

【0014】ここでは、補色系の単板式CCDについて
考え、シアンCy、イエロYe、マゼンタMg、グリー
ンGrが図1のような色配列となっているものとする。
図1において、Cy00,Ye01,Mg10,Gr1
1,・・・というように、「00」、「01」など数値
が付されているが、これは、それぞれの色成分の位置を
示す数値である。なお、簡単のため、輝度Y、色味成分
Cb,Crが、 Y=a1・Cy+a2・Ye+a3・Mg+a4・Gr (1) Cb=b1・Mg+b2・Ye−b3・Gr+b4・Cy (2) Cr=c1・Mg+c2・Cy−c3・Gr+c4・Ye (3) で求められるものとする。これら(1),(2),
(3)式において、a1〜a4,b1〜b4,c1〜c
4はそれぞれ係数とし、 Cyはある画素位置における
シアン成分、Yeはその画素位置におけるイエロ成分、
Mgはその画素位置におけるマゼンタ成分、Grはその
画素位置におけるグリーン成分の値である。
Here, a single-color CCD of complementary colors is considered, and it is assumed that cyan Cy, yellow Ye, magenta Mg, and green Gr have a color arrangement as shown in FIG.
In FIG. 1, Cy00, Ye01, Mg10, Gr1
Numerical values such as "00" and "01" are given as 1, 1,..., Which are numerical values indicating the positions of the respective color components. For the sake of simplicity, the luminance Y and the color components Cb and Cr are as follows: Y = a1 · Cy + a2 · Ye + a3 · Mg + a4 · Gr (1) Cb = b1 · Mg + b2 · Ye−b3 · Gr + b4 · Cy (2) Cr = c1・ Mg + c2 ・ Cy-c3 ・ Gr + c4 ・ Ye (3) These (1), (2),
In the formula (3), a1 to a4, b1 to b4, c1 to c
4 are coefficients, Cy is a cyan component at a certain pixel position, Ye is a yellow component at that pixel position,
Mg is the value of the magenta component at that pixel position, and Gr is the value of the green component at that pixel position.

【0015】これら(1),(2),(3)式からもわ
かるように、輝度Yと色味成分Cb,Crは、Cy,Y
e,Mg,Grの線形な加算を行って得られるものとし
ている。また、本アルゴリズムでは、それぞれの係数
は、ホワイトバランス処理を含んだ値である必要がる。
これは、ホワイトバランスをとらない係数を使用して本
アルゴリズムを適用した場合、ホワイトバランス後の画
像エッジ部分において、特有の色が発生する可能性があ
るからである。概略的には、色温度が低い環境で撮影し
たときは青色、色温度が高い環境で撮影したときは赤色
が発生する傾向があると考えられる。
As can be seen from the equations (1), (2) and (3), the luminance Y and the color components Cb and Cr are Cy, Y
It is obtained by performing a linear addition of e, Mg, and Gr. Further, in the present algorithm, each coefficient needs to be a value including white balance processing.
This is because, when the present algorithm is applied using a coefficient that does not take white balance, a specific color may be generated in an image edge portion after white balance. Generally, it is considered that blue tends to occur when photographing is performed in an environment having a low color temperature, and red tends to occur when photographing is performed in an environment having a high color temperature.

【0016】ところで、上式において、Cb,Crは色
味を表すものであり、Cb,Crの値が大きければ彩度
は高いといえる。なお、本発明が行おうとする処理は、
注目画素がとり得る範囲の彩度の中で最も低い彩度とな
るような色補間を行うことで、偽色をできるだけ押さえ
ようとするものである。したがって、 ある画素位置に
おいて、Cb,Crの値ができるだけ小さくなるような
Cy,Ye,Mg,Grを選べば注目画素の彩度をでき
るだけ小さくすることができ、それを偽色の特に発生し
やすいエッジ部分の画素について行えばエッジ部分にお
ける偽色の発生を抑制できると考えられる。
By the way, in the above equation, Cb and Cr represent color, and it can be said that the saturation is high if the values of Cb and Cr are large. The processing that the present invention attempts to perform is as follows:
By performing color interpolation such that the saturation becomes the lowest among the saturations in the range of the pixel of interest, false colors are suppressed as much as possible. Therefore, if Cy, Ye, Mg, and Gr are selected such that the values of Cb and Cr become as small as possible at a certain pixel position, the saturation of the pixel of interest can be made as small as possible, which is particularly likely to cause false colors. It is considered that the generation of the false color in the edge portion can be suppressed by performing the process on the pixels in the edge portion.

【0017】ここで今、図1において、Cy22を注目
画素としたとき、その位置における色補間を行うことを
考える。このCy22の位置は、シアンの色成分がCy
22という値で存在するので、シアンの色成分はCy2
2をそのまま用いればよいが、それ以外の色成分は補間
して求める必要がある。その色補間方法として、3画素
×3画素の一様平均で補間すべき色成分の値を求める方
法がある。なお、注目画素Cy22に対して設定される
3画素×3画素は、図1における破線で囲った範囲であ
り、Cy22の位置におけるイエロ成分の値をYe2
2、マゼンタ成分の値をMg22、グリーン成分の値を
Gr22とし、それを3画素×3画素の一様平均で求め
るとすれば、補間すべきYe22、Mg22、Gr22
は、 Ye22=(Ye21+Ye23)/2 Mg22=(Mg12+Mg32)/2 Gr22=(Gr11+Gr13+ Gr31+Gr33)/4 (4) で表すことができる。
Here, in FIG. 1, when Cy22 is set as a target pixel, it is considered that color interpolation is performed at that position. The position of Cy22 is such that the cyan color component is Cy.
22 exists, the cyan color component is Cy2
2 may be used as it is, but other color components need to be obtained by interpolation. As a color interpolation method, there is a method of obtaining a value of a color component to be interpolated by a uniform average of 3 pixels × 3 pixels. Note that 3 × 3 pixels set for the target pixel Cy22 is a range surrounded by a broken line in FIG.
2. If the value of the magenta component is Mg22 and the value of the green component is Gr22, and they are determined by a uniform average of 3 × 3 pixels, Ye22, Mg22, Gr22 to be interpolated
Ye22 = (Ye21 + Ye23) / 2 Mg22 = (Mg12 + Mg32) / 2 Gr22 = (Gr11 + Gr13 + Gr31 + Gr33) / 4 (4)

【0018】ここで、たとえば、Yeについて考えたと
き、求めるべきYe22は、図1におけるYe21から
Ye23の間に存在するイエロの値となるものとする。
すなわち、 Ye21≦Ye23のとき、Ye22はYe21≦Ye22で、かつ、Ye22≦Ye23 (5) Ye21>Ye23のとき、 Ye22はYe21>Ye22で、かつ、Ye22>Ye23 (6) のいずれかを満たすものとする。記述の仕方を変えて、
引数の最小値を選択する関数を、min(x1,x2,・・・)、最
大値を選択する関数を、max(x1,x2,・・・)と記述すれ
ば、(5)式と(6)式は、 min(Ye21,Ye23)≦Ye22≦max(Ye21,Ye23) (7) と書き変えることができる。他の色(Mg、Gr)についても同様にして、 min(Mg12,Mg32)≦Mg22≦max(Mg12,Mg32) (8) min(Gr11,Gr13,Gr31,Gr33)≦Gr22≦ max(Gr11,Gr13,Gr31,Gr33) (9) と記述できる。以降、上記の条件が成り立つものとして
話を進める。
Here, for example, when Ye is considered, it is assumed that Ye22 to be obtained is a yellow value existing between Ye21 and Ye23 in FIG.
That is, when Ye21 ≦ Ye23, Ye22 satisfies Ye21 ≦ Ye22, and Ye22 ≦ Ye23 (5) When Ye21> Ye23, Ye22 satisfies either Ye21> Ye22 and any of Ye22> Ye23 (6) And Change the way of writing,
If the function for selecting the minimum value of the argument is described as min (x1, x2,...) And the function for selecting the maximum value is described as max (x1, x2,. Equation (6) can be rewritten as min (Ye21, Ye23) ≦ Ye22 ≦ max (Ye21, Ye23) (7) Similarly, for other colors (Mg, Gr), min (Mg12, Mg32) ≦ Mg22 ≦ max (Mg12, Mg32) (8) min (Gr11, Gr13, Gr31, Gr33) ≦ Gr22 ≦ max (Gr11, Gr13) , Gr31, Gr33) (9). Hereinafter, the discussion will proceed assuming that the above conditions are satisfied.

【0019】次に、彩度をできるだけ低くするというこ
とは、色味成分Cb,Crの値ができるだけ0に近くな
ることであると考えて、色味成分Cb,Crのうち、0
または0に最も近い値を選択する。
Next, assuming that lowering the saturation as much as possible means that the values of the color components Cb and Cr are as close to 0 as possible.
Or select the value closest to 0.

【0020】まず、注目画素Cy22における色味成分
Cb(Cb22で表す)に注目して考える。上述の
(5)〜(9)式から、色味成分Cb22がとり得る最
小値Cb22minと最大値Cb22maxは、それぞれ、 Cb22min =b1・min(Mg12,Mg32)+b2・min(Ye21,Ye23) −b3・max(Gr11,Gr13,Gr31,Gr33)−b4・Cy22 (10) Cb22max =b1・max(Mg12,Mg32)+b2・max(Ye21,Ye23) −b3・min(Gr11,Gr13,Gr31,Gr33)−b4・Cy22 (11) となるはずである。本発明のアルゴリズムの主旨からす
れば、 Cb22min〜Cb22maxの範囲内で、0または0に最
も近い値を選択すればよい。具体的には、Cb22min≦0
で、かつ、 Cb22max≧0、つまり、 Cb22minとCb22max
がたとえば、図2(a)に示すような範囲に有れば、 C
b22は0を選択する。
First, consider the color component Cb (represented by Cb22) in the target pixel Cy22. From the above equations (5) to (9), the minimum value Cb22min and the maximum value Cb22max that the color component Cb22 can take are respectively Cb22min = b1 · min (Mg12, Mg32) + b2 · min (Ye21, Ye23) −b3 -Max (Gr11, Gr13, Gr31, Gr33)-b4-Cy22 (10) Cb22max = b1-max (Mg12, Mg32) + b2-max (Ye21, Ye23) -b3-min (Gr11, Gr13, Gr31, Gr33)- b4 · Cy22 (11). According to the gist of the algorithm of the present invention, 0 or a value closest to 0 may be selected in the range of Cb22min to Cb22max. Specifically, Cb22min ≦ 0
And Cb22max ≧ 0, that is, Cb22min and Cb22max
Is, for example, in the range as shown in FIG.
b22 selects 0.

【0021】また、 Cb22max<0、つまり、 Cb22minと
Cb22maxがたとえば、図2(b)に示すような範囲に有
れば、 Cb22はそのときの Cb22maxを選択する。また、
Cb22min>0、つまり、 Cb22minとCb22maxがたとえば、
図2(c)に示すような範囲に有れば、 Cb22はそのと
きの Cb22minを選択する。すなわち、 if ( Cb22min≦0and Cb22max≧0) → Cb22=0 else if (Cb22max<0) → Cb22=Cb22max else if (Cb22min<0) → Cb22=Cb22min (12) と記述できる。
Cb22max <0, that is, Cb22min
For example, if Cb22max is in the range as shown in FIG. 2B, Cb22 selects Cb22max at that time. Also,
Cb22min> 0, that is, Cb22min and Cb22max are, for example,
If it is in the range as shown in FIG. 2C, Cb22 selects Cb22min at that time. That is, if (Cb22min ≦ 0 and Cb22max ≧ 0) → Cb22 = 0 else if (Cb22max <0) → Cb22 = Cb22max else if (Cb22min <0) → Cb22 = Cb22min (12)

【0022】このように、(10)式〜(12)式を用
いることによって、注目画素Cy22における色味成分
Cbについて、当該注目画素Cy22を中心とする3画
素×3画素の物理的な空間の中で色補間する際、最も彩
度の低くなるような色補間すべき色成分Ye22、Mg
22、Gr22を選択することができる(Cy22はも
ともと存在するCy22を用いる)。
As described above, by using the expressions (10) to (12), the color component Cb of the pixel of interest Cy22 is converted into a physical space of 3 pixels × 3 pixels centered on the pixel of interest Cy22. When color interpolation is performed, color components Ye22, Mg to be color-interpolated so that the saturation becomes lowest.
22 and Gr22 can be selected (Cy22 uses Cy22 which originally exists).

【0023】一方、色味成分Crについても同様の演算
を行って、 Cr22min〜Cr22maxの範囲内で、0に最も近
い値を選択するような処理を行うべきであるが、偽色発
生のメカニズムを解析してみると、図1のような色配列
の撮像素子の場合は、色味成分Crが偽色発生に与える
影響は少ないことがわかった。したがって、色味成分C
rについては、色味成分Cbのような演算は行わずに、
単純に3画素×3画素の一様平均により色補間した値を
用いる。すなわち、Cy22における色味成分Crは、
(4)式により求めたYe22,Mg22,Gr22
と、もともとその位置に存在するCy22を用いて、
(3)式から Cr22=c1・Mg22+c2・Cy22−c3・Gr22+c4・Ye22 (13) として算出する。
On the other hand, the same operation should be performed for the color component Cr to perform processing to select the value closest to 0 within the range of Cr22min to Cr22max. Analysis has revealed that in the case of an image sensor having a color arrangement as shown in FIG. 1, the influence of the tint component Cr on the generation of false colors is small. Therefore, the color component C
Regarding r, the calculation like the color component Cb is not performed,
A value obtained by simply performing color interpolation using a uniform average of 3 pixels × 3 pixels is used. That is, the color component Cr in Cy22 is
Ye22, Mg22, Gr22 determined by equation (4)
And Cy22 originally existing at that position,
From equation (3), it is calculated as Cr22 = c1 · Mg22 + c2 · Cy22−c3 · Gr22 + c4 · Ye22 (13).

【0024】図3は以上説明した処理の概略を示すフロ
ーチャートであり、まず、色補間対象となるある注目画
素の周囲に、色補間を行うに必要な所定領域(上述の例
では注目画素Cy22を囲む3画素×3画素)を設定し
(ステップs1)、その領域において、色補間処理を行
いその色補間処理によって得られたそれぞれの色情報を
用いて色変換処理を行って、色味成分Cb,Crを求め
る(ステップs2)。なお、この実施の形態では、色味
成分Crについては、前述したように、3画素×3画素
の一様平均により色補間した値を用いて(4)式から求
める。
FIG. 3 is a flowchart showing the outline of the processing described above. First, a predetermined area (color pixel Cy22 in the above example) necessary for color interpolation is set around a pixel of interest to be color-interpolated. (Surrounding 3 pixels × 3 pixels) is set (step s1), color interpolation processing is performed in the area, and color conversion processing is performed using the respective color information obtained by the color interpolation processing, and the color component Cb is set. , Cr (step s2). In this embodiment, as described above, the color component Cr is obtained from Expression (4) using a value obtained by color interpolation using a uniform average of 3 pixels × 3 pixels.

【0025】一方、色味成分Cbについては、その色補
間処理および色変換処理過程において、前述した(1
0)式〜(12)式を用い、色変換処理で得られる色味
成分Cbが0または0に最も近い値となるような補間す
べきそれぞれの色情報を選択する(ステップs3)。具
体的には、色味成分Cbがとり得る最大値と最小値を求
め、その最大値と最小値の範囲内で当該色味成分値が0
または0に最も近い値となるように、補間すべきそれぞ
れの色情報を選択する。
On the other hand, regarding the color component Cb, the color interpolation process and the color conversion process described above (1)
Using the equations (0) to (12), each piece of color information to be interpolated is selected so that the tint component Cb obtained by the color conversion processing becomes 0 or a value closest to 0 (step s3). Specifically, the maximum value and the minimum value that the color component Cb can take are obtained, and the color component value is set to 0 within the range between the maximum value and the minimum value.
Alternatively, each color information to be interpolated is selected so as to be a value closest to 0.

【0026】以上のような処理を施すことにより、ある
注目画素において、彩度が最も低くなるような色補間処
理がなされ、その注目画素における偽色が抑制される。
By performing the above-described processing, color interpolation processing is performed so that the saturation becomes lowest at a certain target pixel, and a false color at the target pixel is suppressed.

【0027】なお、以上の説明では、注目画素をCy2
2として、そのCy22の位置におけるCb22,Cr
22の求め方について説明したが、同様の処理を他の位
置においても行う。それによって、エッジ部分のそれぞ
れの画素位置において、それぞれの画素の彩度をできる
だけ小さくすることができ、それによって偽色の発生を
抑制できる。
In the above description, the pixel of interest is Cy2
2, Cb22, Cr at the position of Cy22
Although the method of obtaining 22 has been described, the same processing is performed at other positions. Thereby, at each pixel position of the edge portion, the saturation of each pixel can be made as small as possible, thereby suppressing generation of a false color.

【0028】なお、本発明は以上説明した実施の形態で
は、エッジ部分で特に偽色が発生しやすいということか
らエッジ部分について考えたが、本発明はエッジ部分以
外にも適用できることは勿論である。さらに、前述の実
施の形態では、前述したように、 色味成分Crについ
ては、色味成分Cbのような演算は行わずに、単純に3
画素×3画素の一様平均により色補間した値を用いるよ
うにしたが、勿論、Crについても、前述した色味成分
Cbについてのアルゴリズムと同様のアルゴリズム((1
0)式〜(12)式および図2参照)を用いることによって色
味成分Crを決定するようにしてもよい。
In the embodiment described above, the edge portion is considered because false colors are particularly likely to occur at the edge portion. However, the present invention can of course be applied to other than the edge portion. . Further, in the above-described embodiment, as described above, the color component Cr is simply calculated without performing the calculation like the color component Cb.
Although a value obtained by color interpolation using a uniform average of pixels × 3 pixels is used, it is a matter of course that the same algorithm ((1)
(0) to (12) and FIG. 2) may be used to determine the color component Cr.

【0029】また、前述の実施の形態では、3画素×3
画素の領域について考えたが、この領域は3画素×3画
素に限られるものではない。その他、本発明は前述の実
施の形態に限られるものではなく、本発明の要旨を逸脱
しない範囲で種々変形実施可能となるものである。
In the above-described embodiment, 3 pixels × 3 pixels
Although the pixel area is considered, this area is not limited to 3 pixels × 3 pixels. In addition, the present invention is not limited to the above-described embodiment, but can be variously modified without departing from the gist of the present invention.

【0030】また、本発明は、以上説明した本発明を実
現するための処理手順が記述された処理プログラムをフ
ロッピィディスク、光ディスク、ハードディスクなどの
記録媒体に記録させておくことができ、本発明はその処
理プログラムが記録された記録媒体をも含むものであ
る。また、ネットワークから当該処理プログラムを得る
ようにしてもよい。
Further, according to the present invention, a processing program describing a processing procedure for realizing the present invention described above can be recorded on a recording medium such as a floppy disk, an optical disk, or a hard disk. It also includes a recording medium on which the processing program is recorded. Further, the processing program may be obtained from a network.

【0031】[0031]

【発明の効果】以上説明したように本発明によれば、色
補間対象となるある注目画素の彩度をより低くするよう
な色補間を行うことで偽色の抑制を行うようにしている
ので、目的としない色、つまり、本来、現れるはずのな
い色が表現されにくくなり、偽色を低減することができ
る。なお、注目画素の彩度をより低くするような色補間
処理は、前記ある注目画素周囲に色補間を行うために設
定された所定領域において、とり得る範囲の彩度のなか
で最も低い彩度となるような色補間であり、具体的に
は、ある注目画素周囲に設定された所定領域において、
色変換処理で得られる色味成分Cbと色味成分Crの少
なくとも一方の色味成分がとり得る最大値と最小値を求
め、その最大値と最小値の範囲内で当該色味成分値が0
または0に最も近い値となるように、補間すべきそれぞ
れの色情報を選択するような色補間を行うようにしてい
る。
As described above, according to the present invention, false color is suppressed by performing color interpolation so as to lower the saturation of a target pixel to be color-interpolated. Therefore, it is difficult to express an unintended color, that is, a color that should not originally appear, and it is possible to reduce false colors. The color interpolation processing for lowering the saturation of the target pixel is performed in the predetermined region set for performing color interpolation around the certain target pixel, and is the lowest saturation in the range of possible saturations. Color interpolation, and specifically, in a predetermined region set around a certain pixel of interest,
The maximum value and the minimum value that can be taken by at least one of the color components Cb and Cr obtained by the color conversion processing are obtained, and the color component value is set to 0 within the range between the maximum value and the minimum value.
Alternatively, color interpolation is performed such that each piece of color information to be interpolated is selected so as to have a value closest to 0.

【0032】つまり、彩度が低いということは色味成分
Cb,Crが小さいということと等価であると言える。
したがって、色味成分Cb,Crの少なくとも一方が0
またはできるだけ0に近くなるように、補間すべきそれ
ぞれの色成分の色情報を選ぶようにする。この演算処理
は、主に、加減算と乗算であり、演算量の多い除算を含
まないので、演算量を少なくすることができ、偽色抑制
処理そのものを高速化することができる。しかも、偽色
抑制に一定の効果が得られる。
That is, it can be said that that the saturation is low is equivalent to the fact that the color components Cb and Cr are small.
Therefore, at least one of the color components Cb and Cr is 0.
Alternatively, color information of each color component to be interpolated is selected so as to be as close to 0 as possible. This calculation processing is mainly addition and subtraction and multiplication, and does not include division with a large amount of calculation, so that the amount of calculation can be reduced and the false color suppression processing itself can be sped up. In addition, a certain effect can be obtained in suppressing false colors.

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

【図1】本発明の実施の形態で用いられるCCDの色配
列の一部を示す図である。
FIG. 1 is a diagram showing a part of a color arrangement of a CCD used in an embodiment of the present invention.

【図2】色味成分Cbのとり得る最小値と最大値の範囲
内で、Cbが0または0に最も近くなるような値を選択
する処理を説明する図である。
FIG. 2 is a diagram illustrating a process of selecting a value such that Cb is 0 or the value closest to 0 within a range between a minimum value and a maximum value of a color component Cb.

【図3】本発明の実施の形態の処理手順を概略的に説明
するフローチャートであり、ある注目画素における色味
成分Cbが0または0に最も近い値となるような補間す
べきそれぞれの色情報を選択する処理を説明するフロー
チャートである。
FIG. 3 is a flowchart schematically illustrating a processing procedure according to the embodiment of the present invention, in which color information to be interpolated such that a tint component Cb at a certain pixel of interest becomes 0 or a value closest to 0; 9 is a flowchart illustrating a process for selecting a.

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

Cy シアン(その画素値) Ye イエロ(その画素値) Mg マゼンタ(その画素値) Gr グリーン(その画素値) Cb,Cr 色味成分(その値) Cy Cyan (its pixel value) Ye Yellow (its pixel value) Mg Magenta (its pixel value) Gr Green (its pixel value) Cb, Cr Tint component (its value)

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B057 BA19 BA24 CA01 CA16 CB01 CB16 CE17 DA08 DB06 5C065 BB13 CC01 DD02 EE07 GG13 GG15 GG50 5C079 HB02 HB06 JA23 LA10 LA28 LA31 LB01 MA01 MA11 NA03 NA11  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5B057 BA19 BA24 CA01 CA16 CB01 CB16 CE17 DA08 DB06 5C065 BB13 CC01 DD02 EE07 GG13 GG15 GG50 5C079 HB02 HB06 JA23 LA10 LA28 LA31 LB01 MA01 MA11 NA03 NA11

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 単板式固体撮像素子から出力される画素
対応の画素情報を用いてその画素における色補間を行い
画像復号を行ったときに発生する偽色を防止する単板式
固体撮像素子の偽色抑制方法であって、 色補間対象となるある注目画素に対し、当該注目画素の
彩度がより低くなるような色補間を行うことで偽色の抑
制を行うことを特徴とする単板式固体撮像素子の偽色抑
制方法。
1. A single-panel solid-state image sensor which prevents false colors that occur when image decoding is performed by performing color interpolation on the pixel using pixel information corresponding to the pixel output from the single-panel solid-state image sensor. A single-plate solid, which is a color suppression method, wherein false color is suppressed by performing color interpolation on a certain target pixel to be subjected to color interpolation so that the saturation of the target pixel becomes lower. False color suppression method for image sensor.
【請求項2】 前記ある注目画素の彩度がより低くなる
ような色補間は、前記ある注目画素の周囲に色補間を行
うために設定された所定領域において、とり得る範囲の
彩度のなかで最も低い彩度となるような色補間であるこ
とを特徴とする請求項1記載の単板式固体撮像素子の偽
色抑制方法。
2. The color interpolation in which the saturation of a certain pixel of interest is lower than the saturation of a possible range in a predetermined area set for performing color interpolation around the certain pixel of interest. 2. The false color suppression method for a single-chip solid-state imaging device according to claim 1, wherein the color interpolation is such that the lowest saturation is obtained.
【請求項3】 前記とり得る範囲の彩度のなかで最も低
い彩度となるような色補間は、前記ある注目画素の周囲
に設定された所定領域において、色変換処理で得られる
色味成分Cbと色味成分Crの少なくとも一方の色味成
分がとり得る最大値と最小値を求め、その最大値と最小
値の範囲内で当該色味成分値が0または0に最も近い値
となるように、補間すべきそれぞれの色情報を選択する
ことを特徴とする請求項2記載の単板式固体撮像素子の
偽色抑制方法。
3. The color interpolation for obtaining the lowest saturation in the possible range of the saturation is performed by using a color component obtained by a color conversion process in a predetermined region set around the certain pixel of interest. A maximum value and a minimum value which can be taken by at least one of the color components Cb and the color component Cr are obtained, and the color component value is 0 or a value closest to 0 within the range between the maximum value and the minimum value. 3. The false color suppression method for a single-chip solid-state imaging device according to claim 2, wherein each color information to be interpolated is selected.
【請求項4】 単板式固体撮像素子から出力される画素
対応の画素情報を用いてその画素における色補間を行い
画像復号を行ったときに発生する偽色を防止する単板式
固体撮像素子の偽色抑制処理プログラムを記録した記録
媒体であって、その偽色抑制処理プログラムは、 前記色補間対象となるある注目画素の周囲に色補間を行
うために所定領域を設定する手順と、 その所定領域において、色補間処理を行いその色補間処
理によって得られたその注目画素のそれぞれの色情報を
用いて色変換処理を行う手順と、を含み、 前記色補間処理および色変換処理過程において、その色
変換処理で得られる色味成分Cbと色味成分Crの少な
くとも一方の色味成分がとり得る最大値と最小値を求
め、その最大値と最小値の範囲内で当該色味成分値が0
または0に最も近い値となるように、補間すべきそれぞ
れの色情報を選択することを特徴とする請求項1記載の
単板式固体撮像素子の偽色抑制処理プログラムを記録し
た記録媒体。
4. A single-chip solid-state image sensor for preventing false colors that occur when image decoding is performed by performing color interpolation on a pixel using pixel information corresponding to the pixel output from the single-chip solid-state image sensor. A recording medium on which a color suppression processing program is recorded, the false color suppression processing program comprising: a procedure for setting a predetermined area for performing color interpolation around a certain target pixel to be color-interpolated; Performing a color interpolation process and performing a color conversion process using the color information of each of the target pixels obtained by the color interpolation process, wherein in the color interpolation process and the color conversion process, The maximum value and the minimum value which can be taken by at least one of the color components Cb and Cr obtained by the conversion processing are obtained, and the color component value is set to 0 within the range between the maximum value and the minimum value.
2. The recording medium according to claim 1, wherein each color information to be interpolated is selected so as to have a value closest to zero.
JP2000254367A 2000-08-24 2000-08-24 Method for preventing pseudocolor by single ccd solid- state image pickup element and recording medium with pseudocolor preventing program for single ccd solid- state image pickup element Pending JP2002077930A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000254367A JP2002077930A (en) 2000-08-24 2000-08-24 Method for preventing pseudocolor by single ccd solid- state image pickup element and recording medium with pseudocolor preventing program for single ccd solid- state image pickup element

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000254367A JP2002077930A (en) 2000-08-24 2000-08-24 Method for preventing pseudocolor by single ccd solid- state image pickup element and recording medium with pseudocolor preventing program for single ccd solid- state image pickup element

Publications (1)

Publication Number Publication Date
JP2002077930A true JP2002077930A (en) 2002-03-15

Family

ID=18743328

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000254367A Pending JP2002077930A (en) 2000-08-24 2000-08-24 Method for preventing pseudocolor by single ccd solid- state image pickup element and recording medium with pseudocolor preventing program for single ccd solid- state image pickup element

Country Status (1)

Country Link
JP (1) JP2002077930A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100617651B1 (en) 2005-12-29 2006-09-01 엠텍비젼 주식회사 Apparatus and method for removing grid noise
US7623705B2 (en) 2003-11-10 2009-11-24 Seiko Epson Corporation Image processing method, image processing apparatus, and semiconductor device using one-dimensional filters
JP2011151597A (en) * 2010-01-21 2011-08-04 Nikon Corp Apparatus and program for processing image, and electronic camera
US8106969B2 (en) 2005-12-29 2012-01-31 Mtekvision Co., Ltd. Device and method for removing grid noise

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7623705B2 (en) 2003-11-10 2009-11-24 Seiko Epson Corporation Image processing method, image processing apparatus, and semiconductor device using one-dimensional filters
KR100617651B1 (en) 2005-12-29 2006-09-01 엠텍비젼 주식회사 Apparatus and method for removing grid noise
WO2007074958A1 (en) * 2005-12-29 2007-07-05 Mtekvision Co., Ltd. Device and method for removing grid noise
US8106969B2 (en) 2005-12-29 2012-01-31 Mtekvision Co., Ltd. Device and method for removing grid noise
JP2011151597A (en) * 2010-01-21 2011-08-04 Nikon Corp Apparatus and program for processing image, and electronic camera

Similar Documents

Publication Publication Date Title
US8184181B2 (en) Image capturing system and computer readable recording medium for recording image processing program
JP4465002B2 (en) Noise reduction system, noise reduction program, and imaging system.
JP4284628B2 (en) IMAGING DEVICE, IMAGE PROCESSING DEVICE, IMAGE PROCESSING METHOD, PROGRAM FOR IMAGE PROCESSING METHOD, AND RECORDING MEDIUM CONTAINING PROGRAM FOR IMAGE PROCESSING METHOD
JP5677040B2 (en) Image processing apparatus and control method thereof
JP4861667B2 (en) Image processing apparatus and image processing method
US6853748B2 (en) Signal processing apparatus and method for reducing generation of false color by adaptive luminance interpolation
JP3914168B2 (en) Imaging system, image processing program
JP5123756B2 (en) Imaging system, image processing method, and image processing program
JP3972816B2 (en) Image processing apparatus and color system conversion method
JP5165300B2 (en) Video processing apparatus and video processing program
GB2487149A (en) Imaging device
JP2008263507A (en) Video processor and video processing program
JP3969836B2 (en) Signal processing apparatus and imaging signal processing method
CN111861964A (en) Image processing method, apparatus and storage medium
KR101650842B1 (en) Image processing apparatus, image processing method and recording medium storing program to execute the method
WO1994018801A1 (en) Color wide dynamic range camera using a charge coupled device with mosaic filter
JP4702912B2 (en) Signal processing method and signal processing apparatus
JPH11313338A (en) Signal processor and photographing signal processing method
JP2002077930A (en) Method for preventing pseudocolor by single ccd solid- state image pickup element and recording medium with pseudocolor preventing program for single ccd solid- state image pickup element
JP4333544B2 (en) Image processing method, image processing apparatus, semiconductor device, electronic device, image processing program, and computer-readable recording medium
CN107615760A (en) Image processing apparatus, image processing method, image-forming component and imaging device
TWI458335B (en) Image signal processor and method for image enhancement
JP2004064227A (en) Video signal processing apparatus
JP4139587B2 (en) Interpolation apparatus and method for captured image in single-plate color digital camera
JP5139350B2 (en) Image processing apparatus, image processing method, and imaging apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040301

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060601

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060620

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060713

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060815

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070904