JPH04263577A - Color picture processor - Google Patents

Color picture processor

Info

Publication number
JPH04263577A
JPH04263577A JP3045892A JP4589291A JPH04263577A JP H04263577 A JPH04263577 A JP H04263577A JP 3045892 A JP3045892 A JP 3045892A JP 4589291 A JP4589291 A JP 4589291A JP H04263577 A JPH04263577 A JP H04263577A
Authority
JP
Japan
Prior art keywords
color
signal
pixel
interest
average value
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
JP3045892A
Other languages
Japanese (ja)
Inventor
Aki Ueda
亜紀 植田
Takahiro Asai
隆宏 浅井
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP3045892A priority Critical patent/JPH04263577A/en
Publication of JPH04263577A publication Critical patent/JPH04263577A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent picture quality from deteriorating by detecting the amount of signal change based on a chrominance signal and the average color signal of this color and correcting the brightness of the average value chrominance signal of the other color by using the change amount. CONSTITUTION:Original picture information read after photoelectric conversion by a CCD line sensor 1 is corrected in a shading correction circuit 3, turned to be a digital signal in an A/D conversion circuit 4, and inputted to a color separation circuit 5. An R signal outputted from the circuit 5 is inputted to shift registers 13 and 14 in order. When the R signal inputted to the register 13 is for the noted picture element, the R signal before one picture element is in the register 14, and the R signal with one picture element is obtained from the circuit 5. The average value R signal with three picture elements is obtained by the arithmetic circuit 19, and the noted picture elements and the average values of B and G signals are similarly obtained. Further, the ratio of the G signal of the noted picture element and the average value G signal calculated by an arithmetic circuit 20 is obtained. The picture quality is improved by correcting the signal ratio by proportionating it to the average value R signal in the arithmetic circuit 23.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、デジタルカラー複写機
、カラースキャナ等のように、1画素を複数の色信号に
分解して読取るようにしたカラー画像読取り装置の出力
側に付設されるカラー画像処理装置に関する。
[Industrial Application Field] The present invention relates to a color image reading device attached to the output side of a color image reading device, such as a digital color copying machine or a color scanner, which separates one pixel into a plurality of color signals and reads them. The present invention relates to an image processing device.

【0002】0002

【従来の技術】一般に、この種のカラー画像読取り装置
では、カラー画像を何んらかの方法により色分解して各
色成分の信号として取出すことが必要である。この場合
、読取り光学系を小型化構成可能とするため、ラインセ
ンサ前面に色分解フィルタを直付けとしたカラーライン
イメージセンサを用いるようにしたカラー画像読取り装
置がある。具体的には、1画素を形成するフィルタをR
(赤色),G(緑色),B(青色)の3色を順次並べる
色点順次方式とされている。ところが、このようなフィ
ルタ構成による場合、読取り解像度は1画素がセンサ上
の3つの受光素子により表されるため、通常の白黒画像
読取り装置の解像度の1/3となってしまう。
2. Description of the Related Art Generally, in this type of color image reading apparatus, it is necessary to separate a color image by some method and extract it as a signal of each color component. In this case, in order to make the reading optical system smaller in size, there is a color image reading device that uses a color line image sensor in which a color separation filter is directly attached to the front surface of the line sensor. Specifically, the filter forming one pixel is R
It is a color point sequential system that sequentially arranges three colors: (red), G (green), and B (blue). However, with such a filter configuration, one pixel is represented by three light-receiving elements on the sensor, so the reading resolution is 1/3 of the resolution of a normal black-and-white image reading device.

【0003】フィルタ直付けのイメージセンサ方式にお
いて、このような解像度の低下を避けるため、R,G,
Bフィルタの内、例えばGフィルタの配列密度を受光素
子1つ置きに高密度化し、残りのRフィルタとBフィル
タとは数を減らしてGフィルタ間に交互に配列させる如
く、フィルタの色によって配列密度を異ならせたものが
特開昭58−173962号公報に示されている。これ
によれば、GフィルタがRフィルタ、Bフィルタの2倍
の配列密度であり、Gフィルタ毎にサンプリングを行な
うようにすれば、上記の色点順次方式の解像度に対して
3/2倍の解像度で読取れることになる。
[0003] In the image sensor system in which a filter is directly attached, in order to avoid such a decrease in resolution, R, G,
Among the B filters, for example, the arrangement density of the G filter is increased to every other light receiving element, and the remaining R filters and B filters are arranged by color, such as reducing the number and arranging them alternately between the G filters. JP-A-58-173962 discloses materials with different densities. According to this, the arrangement density of the G filter is twice that of the R filter and the B filter, and if sampling is performed for each G filter, the resolution of the color point sequential method described above is 3/2 times as large. It can be read at high resolution.

【0004】0004

【発明が解決しようとする課題】上記公報方式によれば
、Gフィルタ対応のG信号の解像度は高くなるものの、
画像エッジ部分においては、注目画素に対するRフィル
タやBフィルタのフィルタの位置の違いによる色ずれが
生じてしまうことがある。即ち、G信号は実際の信号と
なるが、R信号やB信号は実際には信号列の隣合う2つ
の信号の相加平均により補間を行なった信号が用いられ
るからである。この結果、再現画像において実際の色と
は異なる色の発生による画質低下を招くものとなる。
[Problem to be Solved by the Invention] According to the above-mentioned publication system, although the resolution of the G signal compatible with the G filter becomes high,
In image edge portions, color shift may occur due to differences in the positions of the R filter and the B filter relative to the pixel of interest. That is, although the G signal is an actual signal, the R signal and the B signal are actually interpolated by the arithmetic mean of two adjacent signals in the signal sequence. As a result, the image quality deteriorates due to the occurrence of colors different from the actual colors in the reproduced image.

【0005】[0005]

【課題を解決するための手段】請求項1記載の発明では
、相異なる複数の色の色分解フィルタを、個々のフィル
タが個々の受光素子を覆う状態で、色によって配列密度
を異ならせて配設させたラインイメージセンサにより読
取られた情報から、注目画素の各色信号を得るようにし
たカラー画像処理装置において、注目画素自身の各色信
号と注目画素周辺の画素の各色信号とに基づき各々の平
均値色信号を算出する平均値演算手段を設け、高密度で
配設させた色分解フィルタ対応の受光素子から出力され
る注目画素の色信号をそのまま出力させるとともにこの
色信号とこの色の平均値色信号とに基づき信号変化量を
検出する特定色信号処理手段を設け、この信号変化量を
用いて他の色の前記各平均値色信号の輝度を補正してそ
の色の色信号を出力させる輝度補正手段を設けた。
[Means for Solving the Problem] In the invention as claimed in claim 1, color separation filters of a plurality of different colors are arranged with different arrangement densities depending on the color, with each filter covering each light receiving element. In a color image processing device that obtains each color signal of a pixel of interest from information read by a line image sensor installed, the average of each color signal is calculated based on each color signal of the pixel of interest itself and each color signal of pixels surrounding the pixel of interest. An average value calculation means for calculating a value color signal is provided, and the color signal of the pixel of interest output from the light receiving elements compatible with color separation filters arranged in high density is output as is, and the average value of this color signal and this color is output as is. A specific color signal processing means is provided for detecting a signal change amount based on the color signal, and the brightness of each of the average value color signals of other colors is corrected using the signal change amount to output a color signal of that color. A brightness correction means was provided.

【0006】より具体的には、各色分解フィルタとして
R,G,B3原色を用いたものとし、請求項2記載の発
明のように、R,G,Bフィルタの内、Gフィルタを受
光素子一つ置きに配設しRフィルタとBフィルタとをG
フィルタ間の受光素子に対して交互に配設させたライン
イメージセンサを用い、Gフィルタの配列密度による注
目画素の各R,G,B信号を得るようにしたカラー画像
処理装置において、注目画素自身の各R,G,B信号と
注目画素の前後に位置する画素の各R,G,B信号とに
基づき各々の色の平均値色信号を算出する平均値演算手
段を設け、注目画素のG信号をそのまま出力させるとと
もにこのG信号と前記平均値G信号との比から輝度情報
を検出するG色信号処理手段を設け、この輝度情報を用
いて平均値R信号と平均値B信号との輝度を補正してR
信号とB信号とを出力させる輝度補正手段を設けた。
More specifically, three primary colors R, G, and B are used as each color separation filter, and as in the second aspect of the invention, the G filter among the R, G, and B filters is used as one light receiving element. R filters and B filters are arranged alternately, and
In a color image processing device that uses line image sensors arranged alternately with respect to light-receiving elements between filters to obtain each R, G, and B signal of a pixel of interest based on the arrangement density of G filters, the pixel of interest itself An average value calculation means is provided for calculating an average value color signal of each color based on each R, G, B signal of each pixel located before and after the pixel of interest, and each R, G, B signal of pixels located before and after the pixel of interest. A G color signal processing means is provided that outputs the signal as is and detects luminance information from the ratio of this G signal and the average value G signal, and uses this luminance information to determine the luminance of the average value R signal and the average value B signal. Correct R
A brightness correction means for outputting the signal and the B signal was provided.

【0007】一方、請求項3記載の発明では、相異なる
複数の色の色分解フィルタを、個々のフィルタが個々の
受光素子を覆う状態で、各々周期的に配設させたライン
イメージセンサにより読取られた情報から、注目画素の
各色信号を得るようにしたカラー画像処理装置において
、注目画素の色信号の変化量を検出する検出手段を設け
、この変化量に応じて注目画素に対する前後の画素数を
可変させて注目画素の色信号とこの注目画素前後の画素
の色信号とに基づき平均値色信号を算出する平均値演算
手段を設けた。
On the other hand, in the invention as claimed in claim 3, color separation filters of a plurality of different colors are read by line image sensors arranged periodically, with each filter covering each light receiving element. In a color image processing device that obtains each color signal of a pixel of interest from the information obtained, a detection means for detecting the amount of change in the color signal of the pixel of interest is provided, and the number of pixels before and after the pixel of interest is determined according to the amount of change. An average value calculation means is provided for calculating an average value color signal based on the color signal of the pixel of interest and the color signals of pixels before and after the pixel of interest by varying the pixel of interest.

【0008】この場合、請求項4記載の発明では、検出
手段を注目画素の前後に位置する2画素から得られる特
定の1色の色信号の差の大きさを検出するものとし、請
求項5記載の発明では、検出手段を注目画素の色信号の
内の特定の1色の色信号の変化量を検出するものとし、
平均値演算手段の演算に用いる注目画素の前後の画素数
を、前記変化量が所定値より大きい時には多く変化量が
所定値より小さい時には少なくなるように可変させた。
In this case, in the invention as set forth in claim 4, the detection means detects the magnitude of the difference between color signals of one specific color obtained from two pixels located before and after the pixel of interest; In the described invention, the detection means detects the amount of change in the color signal of one specific color among the color signals of the pixel of interest,
The number of pixels before and after the pixel of interest used for calculation by the average value calculating means is varied so that it increases when the amount of change is greater than a predetermined value and decreases when the amount of change is smaller than a predetermined value.

【0009】さらに、請求項6記載の発明では、色分解
フィルタを色によって配列密度を異ならせた配列とし、
配列密度を高くした色分解フィルタに対応する色信号に
対して検出手段を設けた。
Furthermore, in the invention as set forth in claim 6, the color separation filters are arrayed with different array densities depending on the color;
A detection means is provided for color signals corresponding to color separation filters with high arrangement density.

【0010】0010

【作用】人間の視覚特性は、色情報には解像度が低く輝
度情報には解像度が高い。また、識別のできない高周波
な情報には空間的な積分効果がある。そこで、請求項1
又は2記載の発明によれば、注目画素の色信号は、その
周辺前後の画素の色信号との平均値色信号として求める
一方、解像度を規制する高い配列密度の色分解フィルタ
対応の色信号情報に基づく信号変化量を輝度情報とみな
して、低い配列密度の色分解フィルタ対応の平均値色信
号に対して明度変化を与える輝度補正を行なって輝度を
再現することにより、解像度を維持した状態で、画像の
エッジ部分で発生する色ずれが低減される。
[Operation] Human visual characteristics have low resolution for color information and high resolution for luminance information. Furthermore, indiscernible high-frequency information has a spatial integration effect. Therefore, claim 1
Alternatively, according to the invention described in 2, the color signal of the pixel of interest is obtained as an average value color signal of the color signals of pixels before and after the pixel of interest, and color signal information corresponding to a color separation filter with a high arrangement density that regulates resolution is obtained. The amount of change in the signal based on is regarded as brightness information, and the brightness is reproduced by performing brightness correction that changes the brightness of the average color signal corresponding to the color separation filter with low array density, while maintaining the resolution. , the color shift that occurs at the edge of the image is reduced.

【0011】請求項3記載の発明では、平均値演算手段
で平均値を求める際に用いる周辺画素数を可変とし、検
出手段により注目画素の色信号の変化量を検出し、この
検出結果に応じて可変させるものとし、例えば請求項5
記載の発明のように、変化量の大きい鋭い画像エッジ部
分では画素数を増やし前後の画像の広い範囲での平均値
をとって前後の画像の中間色とし、色ずれを見えにくく
するとともに、変化量の小さいなだらかな画像部分では
少ない画素数による平均ないしは注目画素自身の信号が
出力され、エッジを含んだ画素に近い画素の出力ではは
っきりした色が再現される。
In the invention as claimed in claim 3, the number of surrounding pixels used when calculating the average value is made variable by the average value calculation means, the amount of change in the color signal of the pixel of interest is detected by the detection means, and the amount of change in the color signal of the pixel of interest is detected according to the detection result. For example, claim 5
As in the invention described above, the number of pixels is increased in sharp image edge parts where the amount of change is large, and the average value over a wide range of the previous and subsequent images is taken to obtain the intermediate color between the previous and subsequent images, making color shift less visible and reducing the amount of change. In a smooth image part with a small number of pixels, the average signal of a small number of pixels or the signal of the target pixel itself is output, and a clear color is reproduced in the output of a pixel close to a pixel containing an edge.

【0012】0012

【実施例】請求項1及び2記載の発明の一実施例を図1
ないし図5に基づいて説明する。まず、本実施例で用い
られるカラー読取り用のラインイメージセンサなるCC
Dラインセンサ1における色分解フィルタ配設状態を図
2に示す。図中、R,G,Bで示す部分は各々赤色、緑
色、青色の透過型フィルタ2を個々に備えた1個の受光
素子である。本例では、Gフィルタが受光素子1つ置き
の密度で配列されているのに対し、RフィルタとBフィ
ルタとはGフィルタ間に位置させて交互、即ち、3つ置
きの密度で配列されている。
[Embodiment] An embodiment of the invention according to claims 1 and 2 is shown in FIG.
This will be explained based on FIGS. First, the CC, which is a line image sensor for color reading used in this embodiment,
FIG. 2 shows how the color separation filters are arranged in the D-line sensor 1. In the figure, the parts indicated by R, G, and B are one light receiving element each equipped with red, green, and blue transmission filters 2, respectively. In this example, the G filters are arranged at a density of every other light receiving element, while the R filters and B filters are arranged between the G filters and arranged alternately, that is, at a density of every third light receiving element. There is.

【0013】このようなCCDラインセンサ1の出力側
には、図3に示すように、シェーディング補正回路3、
A/D変換回路4及び色分離回路5が順に接続されてい
る。よって、CCDラインセンサ1により光電変換され
て読取られた原稿画像情報は、電気的にシェーディング
補正され、デジタル信号に変換されて色分離回路5に入
力される。
As shown in FIG. 3, on the output side of the CCD line sensor 1, a shading correction circuit 3,
An A/D conversion circuit 4 and a color separation circuit 5 are connected in sequence. Therefore, the original image information photoelectrically converted and read by the CCD line sensor 1 is subjected to electrical shading correction, converted to a digital signal, and inputted to the color separation circuit 5.

【0014】ここに、色分離回路5は図4に示すように
デジタル化された入力信号aをR,G,B各フィルタの
タイミングでラッチするためのラッチ回路6,7,8と
、各々のラッチ回路6,7,8からの信号b,c,dを
ラッチして同一の出力タイミングで信号e,f,gとし
て出力するラッチ回路9,10,11とにより構成され
ている。よって、図5のタイミングチャートに示すよう
に、信号gはG信号としてGフィルタの周期でそのまま
出力され、信号e,fは各々R,B信号として前後のG
信号と同じ画素に対する色信号として出力され、色分離
回路5からはGフィルタ対応の解像度でR,G,B信号
が得られることになる。これまでの処理は、前述した公
報でも同様に行なわれているものである。
As shown in FIG. 4, the color separation circuit 5 includes latch circuits 6, 7, and 8 for latching the digitized input signal a at the timing of each of the R, G, and B filters. It is comprised of latch circuits 9, 10, and 11 that latch signals b, c, and d from latch circuits 6, 7, and 8, and output them as signals e, f, and g at the same output timing. Therefore, as shown in the timing chart of FIG. 5, the signal g is output as it is as a G signal at the period of the G filter, and the signals e and f are output as R and B signals respectively.
This signal is output as a color signal for the same pixel as the signal, and R, G, and B signals are obtained from the color separation circuit 5 at a resolution compatible with the G filter. The processing up to now has been carried out in the same manner in the above-mentioned publications.

【0015】ところが、これだけの画像処理によると、
G信号についてはそのままの出力として得られるが、R
信号とB信号とは実際には補間により補なわれた信号と
して得られるものであり、例えば、画像エッジ部分では
RフィルタとBフィルタの位置によっては実際の色と全
く異なる色として読取ってしまうことがある。そこで、
本実施例では、図3に示すように色分離回路5の出力側
にさらに色変換回路12を設け、色情報を注目画素に対
する周辺画素の平均より、輝度情報を素子数の多い(密
度の高い)G信号の情報として取り出すことにより、G
フィルタ対応の解像度を維持しつつ、画像エッジ部分で
の色のにじみを低減させるようにしたものである。
However, with this much image processing,
The G signal can be obtained as an output as is, but the R signal
The signal and B signal are actually obtained as signals supplemented by interpolation, and for example, depending on the position of the R filter and B filter at the edge of the image, the color may be read as a completely different color from the actual color. There is. Therefore,
In this embodiment, as shown in FIG. 3, a color conversion circuit 12 is further provided on the output side of the color separation circuit 5, and the color information is converted from the average of surrounding pixels to the pixel of interest, and the luminance information is ) By extracting it as G signal information, G
This is designed to reduce color blurring at image edges while maintaining filter-compatible resolution.

【0016】色変換回路12は図1に示すように構成さ
れている。まず、色分離回路5により分離された各R,
G,B信号が入力される2段ずつのシフトレジスタ13
〜18が設けられている。ここに、前記色分離回路5か
らのR信号とシフトレジスタ13,14からの出力信号
とを入力として平均値色信号を求める演算を行なう平均
値演算手段としての演算回路19が設けられている。G
信号、B信号に対しても同様に平均値色信号を求める平
均値演算手段としての演算回路20,21が設けられて
いる。また、G信号用のシフトレジスタ15からの出力
信号と演算回路20からの出力信号との比(信号変化量
)を求める演算回路22が設けられている。さらに、こ
の演算回路19,22からの出力信号同士の乗算処理を
行ない、補正された色信号R′を出力する輝度補正手段
となる演算回路23が設けられている。同様に、演算回
路21,22からの出力信号同士の乗算処理を行ない、
補正された色信号B′を出力する輝度補正手段となる演
算回路24も設けられている。色信号Gはシフトレジス
タ15からのものがそのまま色信号G′として出力され
るように構成されている。即ち、前記演算回路22を有
して特定色信号処理手段となるG信号処理手段25が構
成されている。
The color conversion circuit 12 is constructed as shown in FIG. First, each R, separated by the color separation circuit 5,
Two-stage shift register 13 into which G and B signals are input
~18 are provided. Here, an arithmetic circuit 19 is provided as an average value calculation means which inputs the R signal from the color separation circuit 5 and the output signals from the shift registers 13 and 14 and performs an operation to obtain an average color signal. G
Arithmetic circuits 20 and 21 are provided as average value calculation means for similarly obtaining an average value color signal for the signal and the B signal. Further, an arithmetic circuit 22 is provided that calculates the ratio (signal change amount) between the output signal from the shift register 15 for the G signal and the output signal from the arithmetic circuit 20. Furthermore, an arithmetic circuit 23 is provided which performs a multiplication process on the output signals from the arithmetic circuits 19 and 22 and serves as a luminance correction means for outputting a corrected color signal R'. Similarly, the output signals from the arithmetic circuits 21 and 22 are multiplied,
An arithmetic circuit 24 serving as a brightness correction means for outputting a corrected color signal B' is also provided. The color signal G is configured such that the signal from the shift register 15 is output as is as the color signal G'. That is, the arithmetic circuit 22 constitutes a G signal processing means 25 serving as a specific color signal processing means.

【0017】このような構成において、色分離回路5か
ら出力されたR信号は順にシフトレジスタ13,14に
入力される。よって、シフトレジスタ13に格納された
R信号を注目画素に対するものとすると、シフトレジス
タ14には注目画素に対して1画素前のR信号、色分離
回路5からは注目画素に対して1画素後のR信号が得ら
れる。このように得られた注目画素及びその前後画素の
3画素分のR信号を用いて、演算回路19により平均値
R信号を求める。B信号についても注目画素及びその前
後画素のB信号を用いて演算回路21により平均値B信
号を求め、G信号についても注目画素及びその前後画素
のG信号を用いて演算回路20により平均値G信号を求
める。さらに、注目画素のG信号と演算回路20により
平均値として算出されたG信号との比を演算回路22に
より求める。演算回路23では演算回路22により求め
られたG信号比に比例させて平均値R信号を補正し、R
′信号として出力する。演算回路24でも演算回路22
により求められたG信号比に比例させてB平均値色B信
号を補正し、B′信号として出力する。
In this configuration, the R signal output from the color separation circuit 5 is input to the shift registers 13 and 14 in sequence. Therefore, if the R signal stored in the shift register 13 is for the pixel of interest, the shift register 14 receives the R signal one pixel before the pixel of interest, and the color separation circuit 5 sends the R signal one pixel after the pixel of interest. An R signal is obtained. Using the R signals of the pixel of interest and the pixels before and after it thus obtained, the average value R signal is determined by the arithmetic circuit 19. For the B signal, the arithmetic circuit 21 calculates an average value B signal using the B signals of the pixel of interest and the pixels before and after it, and for the G signal, the average value G is calculated by the arithmetic circuit 20 using the G signals of the pixel of interest and the pixels before and after it. Ask for a signal. Further, the calculation circuit 22 calculates the ratio between the G signal of the pixel of interest and the G signal calculated as an average value by the calculation circuit 20. The arithmetic circuit 23 corrects the average value R signal in proportion to the G signal ratio determined by the arithmetic circuit 22, and
' Output as a signal. Even in the arithmetic circuit 24, the arithmetic circuit 22
The B average value color B signal is corrected in proportion to the G signal ratio determined by , and is output as a B' signal.

【0018】即ち、注目画素を添字n、1つ前の画素を
添字n−1、1つ後の画素を添字n+1とし、G信号の
平均値色信号をG1 とすると、色変換回路12から得
られる各色信号R′,B′,G′は、 R′=Gn/G1*(Rn−1+Rn+Rn+1)/3
B′=Gn/G1*(Bn−1+Bn+Bn+1)/3
G′=Gn G1 =(Gn−1+Gn+Gn+1)/3となる。
That is, if the pixel of interest is a subscript n, the previous pixel is a subscript n-1, the next pixel is a subscript n+1, and the average color signal of the G signal is G1, the color signal obtained from the color conversion circuit 12 is The color signals R', B', and G' are as follows: R'=Gn/G1*(Rn-1+Rn+Rn+1)/3
B'=Gn/G1*(Bn-1+Bn+Bn+1)/3
G'=Gn G1 =(Gn-1+Gn+Gn+1)/3.

【0019】人間の視覚特性は色情報には解像度が低く
、輝度情報には解像度が高い。また、識別のできない高
周波な情報には空間的な積分効果がある。従って、色情
報では周辺の情報を平均して、輝度を再現してやれば、
エッジ部分でもはっきりとしていながら、自然に近い色
を再現させることができる。
Human visual characteristics have low resolution for color information and high resolution for luminance information. Furthermore, indiscernible high-frequency information has a spatial integration effect. Therefore, for color information, if we average surrounding information and reproduce brightness,
It is possible to reproduce colors that are close to natural while maintaining clarity even at the edges.

【0020】つづいて、請求項3ないし6記載の発明の
一実施例を図6及び図7により説明する。前記実施例で
示した部分と同一部分は同一符号を用いて示す。前記実
施例による場合、画像の輝度差の大きい場合やエッジ位
置によっては色ずれが目立つこともあるが、本実施例で
はこれを解消したものである。このため、図6に示すよ
うに色分離回路5の出力側には演算回路26が接続され
ている。
Next, an embodiment of the invention according to claims 3 to 6 will be described with reference to FIGS. 6 and 7. The same parts as those shown in the previous embodiment are indicated using the same reference numerals. In the case of the embodiment described above, color shift may be noticeable when the difference in brightness of the image is large or depending on the edge position, but this embodiment eliminates this problem. Therefore, as shown in FIG. 6, an arithmetic circuit 26 is connected to the output side of the color separation circuit 5.

【0021】この演算回路26は図7に示すように構成
されている。まず、色分離回路5から出力されるR信号
に着目すると、4段のシフトレジスタ27,28,29
,30が設けられ、遅延処理により注目画素の信号Rn
 を中心として前後2画素分ずつの信号Rn−2,Rn
−1,Rn+1,Rn+2を保持し得るように構成され
ている。前記色分離回路5からの信号Rn+2 とこれ
らのシフトレジスタ27,28,29,30からの信号
Rn+1,Rn,Rn−1,Rn−2とを選択的な入力
として平均値を求める演算を行なう平均値演算手段とし
ての加算回路31が設けられている。B信号についても
同様に4段のシフトレジスタ32,33,34,35が
設けられ、かつ、前記色分離回路5からの信号Bn+2
 とこれらのシフトレジスタ32,33,34,35か
らの信号Bn+1,Bn,Bn−1,Bn−2とを選択
的な入力として平均値を求める演算を行なう平均値演算
手段としての加算回路36が設けられている。G信号に
ついても同様に4段のシフトレジスタ37,38,39
,40が設けられ、かつ、前記色分離回路5からの信号
Gn+2 とこれらのシフトレジスタ37,38,39
,40からの信号Gn+1,Gn,Gn−1,Gn−2
とを選択的な入力として平均値を求める演算を行なう平
均値演算手段としての加算回路41が設けられている。
This arithmetic circuit 26 is constructed as shown in FIG. First, if we pay attention to the R signal output from the color separation circuit 5, we can see that the four stages of shift registers 27, 28, 29
, 30 are provided, and the signal Rn of the pixel of interest is determined by delay processing.
Signals Rn-2, Rn for two pixels before and after centering on
-1, Rn+1, and Rn+2. An averager performs an operation to obtain an average value by selectively inputting the signal Rn+2 from the color separation circuit 5 and the signals Rn+1, Rn, Rn-1, and Rn-2 from these shift registers 27, 28, 29, and 30. An adder circuit 31 is provided as a value calculation means. Similarly, four stages of shift registers 32, 33, 34, and 35 are provided for the B signal, and the signal Bn+2 from the color separation circuit 5 is
and signals Bn+1, Bn, Bn-1, and Bn-2 from these shift registers 32, 33, 34, and 35 are selectively inputted to calculate an average value. It is provided. Similarly for the G signal, four stages of shift registers 37, 38, 39 are used.
, 40 are provided, and the signal Gn+2 from the color separation circuit 5 and these shift registers 37, 38, 39 are provided.
, 40 signals Gn+1, Gn, Gn-1, Gn-2
An adder circuit 41 is provided as an average value calculating means for calculating an average value by selectively inputting .

【0022】さらに、配列密度の高いG用のシフトレジ
スタ37,39から出力される注目画素前後の2画素の
信号Gn+1,Gn−1を入力として両信号の変化量を
算出する検出手段としての変化量検出回路42が設けら
れている。この変化量検出回路42の出力は、各加算回
路31,36,41に対して演算画素数選択信号として
与えられる。これらの加算回路31,36,41はこの
演算画素数選択信号に応じて平均値を求めるのに用いる
周辺画素数を可変するものである。即ち、信号Gn+1
,Gn−1 間の変化量の大小に応じて平均値を求める
ための周辺画素数が増減されるものである。
[0022]Furthermore, the change as a detection means calculates the amount of change in both signals by inputting the signals Gn+1 and Gn-1 of the two pixels before and after the pixel of interest output from the shift registers 37 and 39 for G, which have a high arrangement density. A quantity detection circuit 42 is provided. The output of this change amount detection circuit 42 is given to each addition circuit 31, 36, 41 as a calculation pixel number selection signal. These adder circuits 31, 36, and 41 vary the number of peripheral pixels used to obtain the average value in accordance with this calculation pixel number selection signal. That is, the signal Gn+1
, Gn-1, the number of peripheral pixels for determining the average value is increased or decreased depending on the magnitude of the change between the pixels.

【0023】いま、変化量検出回路42で用いるしきい
値をS0,S1(ただし、S0<S1)とすると、変化
量DがD<S0のように小さい場合には、加算回路31
では注目画素自身の信号Rn をそのまま平均値RL 
とみなし、S0<D<S1の場合にはRn−1,Rn,
Rn+1 の3画素分の信号を用いて(Rn−1+Rn
+Rn+1 )/3=RL として平均値を算出し、D
>S1の場合にはRn−2,Rn−1,Rn,Rn+1
,Rn+2 の5画素分の信号を用いて(Rn−2+R
n−1+Rn+Rn+1+Rn+2)/5=RL とし
て平均値を算出する。他の色の信号B,Gについても同
様であり、D<S0の場合は注目画素、S0<D<S1
の場合は注目画素を含む前後3画素、D>S1の場合に
は注目画素を含む前後5画素により平均値BL,GLが
算出される。
Now, assuming that the threshold values used in the change amount detection circuit 42 are S0 and S1 (however, S0<S1), when the change amount D is small such as D<S0, the addition circuit 31
Then, the signal Rn of the pixel of interest itself is converted to the average value RL as it is.
In the case of S0<D<S1, Rn-1, Rn,
Using the signal for 3 pixels of Rn+1, (Rn-1+Rn
+Rn+1)/3=RL, and calculate the average value as D
> In the case of S1, Rn-2, Rn-1, Rn, Rn+1
, Rn+2 using signals for 5 pixels (Rn-2+R
The average value is calculated as n-1+Rn+Rn+1+Rn+2)/5=RL. The same goes for other color signals B and G, and if D<S0, the pixel of interest is S0<D<S1.
In the case of , the average values BL and GL are calculated from the three pixels before and after the pixel of interest, and when D>S1, the average values BL and GL are calculated from the five pixels before and after the pixel of interest.

【0024】このような演算回路26の出力側には色変
換回路43が接続されている。この色変換回路43は演
算回路26からの各色の平均値RL,BL,GL 信号
とともに、注目画素自身の信号Gを入力として、平均値
RL,BL,GL 信号により色相を求め、信号Gの情
報を輝度情報として、色を新たに決定し、最終的な各色
信号R′,B′,G′の値を求めるものである。この色
変換回路43は前記実施例で示した色変換回路12と同
一構成として同様の演算処理を行なうものとしてもよく
、又は、ルックアップテーブル構成としてもよい。
A color conversion circuit 43 is connected to the output side of such arithmetic circuit 26. This color conversion circuit 43 inputs the average value RL, BL, GL signals of each color from the calculation circuit 26 as well as the signal G of the pixel of interest itself, calculates the hue from the average value RL, BL, GL signals, and calculates the hue using the average value RL, BL, GL signals. The color is newly determined using the luminance information, and the final values of each color signal R', B', and G' are determined. This color conversion circuit 43 may have the same configuration as the color conversion circuit 12 shown in the above embodiment and perform similar arithmetic processing, or may have a look-up table configuration.

【0025】このように、本実施例によれば、画像の色
濃度変化により、鋭い変化を示すエッジ画像部分では前
後の画像の広い範囲での画素により平均をとり、なだら
かな画像部分ではそのまま出力させるため、色ずれの多
く出るエッジ部分では前後の画像の中間色となり、色ず
れが見えにくくなり、サンプリング周波数以上の周波数
情報は平均値で表されるため、視覚の積分効果により人
間に見える色に近い色が取り出せることになる。エッジ
でない画像ではそのまま出力されるためエッジを含んだ
画素に近い画素の出力では、はっきりした色が再現でき
As described above, according to the present embodiment, in edge image portions that exhibit sharp changes due to color density changes in the image, the average is taken from pixels in a wide range of the preceding and succeeding images, and in smooth image portions, the image is output as is. Therefore, at edge areas where color shift occurs, the color becomes intermediate between the previous and subsequent images, making it difficult to see the color shift. Frequency information above the sampling frequency is expressed as an average value, so the visual integration effect makes it possible to change the color to what humans see. Similar colors can be extracted. Since images without edges are output as is, clear colors can be reproduced when outputting pixels close to pixels containing edges.

【0026】[0026]

【発明の効果】本発明は、人間の視覚特性が色情報には
解像度が低く輝度情報には解像度が高く、かつ、識別の
できない高周波な情報には空間的な積分効果がある点に
着目し、上述したように構成したので、請求項1又は2
記載の発明によれば、注目画素の色信号は、平均値算出
手段によりその周辺前後の画素の色信号との平均値色信
号として求める一方、解像度を規制する高い配列密度の
色分解フィルタ対応の色信号情報に基づく信号変化量を
特定色信号処理手段により検出して輝度情報とみなし、
低い配列密度の色分解フィルタ対応の平均値色信号に対
して補正手段で明度変化を与える輝度補正を行なって輝
度を再現するため、解像度を維持した状態で、画像のエ
ッジ部分で発生する色ずれを低減させることができる。
[Effects of the Invention] The present invention focuses on the fact that human visual characteristics have a low resolution for color information, a high resolution for luminance information, and a spatial integration effect for indiscernible high-frequency information. , since it is configured as described above, claim 1 or 2
According to the invention described above, the color signal of the pixel of interest is determined by the average value calculation means as an average value color signal of the color signals of pixels before and after the pixel in its vicinity, and at the same time, the color signal of the pixel of interest is calculated as the average value color signal of the color signals of pixels before and after the pixel in its vicinity. A signal change amount based on the color signal information is detected by a specific color signal processing means and regarded as luminance information,
The correction means performs brightness correction to change the brightness of the average color signal corresponding to the color separation filter with low array density to reproduce the brightness, so the color shift that occurs at the edge of the image is corrected while maintaining the resolution. can be reduced.

【0027】一方、請求項3記載の発明では、平均値演
算手段で平均値を求める際に用いる周辺画素数を可変と
し、検出手段により注目画素の色信号の変化量を検出し
、この検出結果に応じて可変、例えば請求項5記載の発
明のように、変化量の大きい鋭い画像エッジ部分では画
素数を増やし変化量の小さいなだらかな画像部分では少
ない画素数に減らして平均をとるようにしたので、色ず
れの多くでるエッジ画像部分では前後の画像の広い範囲
での平均値による前後の画像の中間色となり、色ずれが
見えにくくなり、サンプリング周波数以上の高周波情報
が平均値で表されるため視覚の積分効果により人間に見
える色に近い色を取り出せるものとなる一方、エッジ部
分ではない画像は少ない画素数による平均ないしは注目
画素自身の信号が出力されるため、エッジを含んだ画素
に近い画素の出力でははっきりした色を再現させること
ができる。
On the other hand, in the invention as set forth in claim 3, the number of peripheral pixels used when calculating the average value is made variable by the average value calculation means, the amount of change in the color signal of the pixel of interest is detected by the detection means, and the detection result is For example, as in the invention described in claim 5, the number of pixels is increased in sharp image edge portions where the amount of change is large, and the number of pixels is decreased in gentle image portions where the amount of change is small, and the number of pixels is averaged. Therefore, in edge image areas where there is a lot of color shift, the color becomes intermediate between the previous and subsequent images based on the average value over a wide range of images before and after, making it difficult to see the color shift, and high frequency information higher than the sampling frequency is represented by the average value. Due to the visual integration effect, it is possible to extract colors that are close to those seen by humans, but for images that are not edge areas, the average of a small number of pixels or the signal of the target pixel itself is output, so pixels close to pixels that include edges are output. The output can reproduce clear colors.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】請求項1及び2記載の発明の一実施例を示す色
変換回路のブロック図である。
FIG. 1 is a block diagram of a color conversion circuit showing an embodiment of the invention according to claims 1 and 2;

【図2】フィルタ配列を含めて示すラインイメージセン
サの正面図である。
FIG. 2 is a front view of a line image sensor including a filter array.

【図3】全体構成を示すブロック図である。FIG. 3 is a block diagram showing the overall configuration.

【図4】色分離回路のブロック図である。FIG. 4 is a block diagram of a color separation circuit.

【図5】その動作を示すタイミングチャートである。FIG. 5 is a timing chart showing the operation.

【図6】請求項3ないし6記載の発明の一実施例を示す
全体構成のブロック図である。
FIG. 6 is a block diagram of the overall configuration of an embodiment of the invention according to claims 3 to 6;

【図7】演算回路のブロック図である。FIG. 7 is a block diagram of an arithmetic circuit.

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

1      ラインイメージセンサ 2      色分解フィルタ 19〜21    平均値演算手段 23,24    輝度補正手段 25    特定色処理手段 31,36,41    平均値演算手段42    
検出手段
1 Line image sensor 2 Color separation filters 19 to 21 Average value calculation means 23, 24 Brightness correction means 25 Specific color processing means 31, 36, 41 Average value calculation means 42
Detection means

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】  相異なる複数の色の色分解フィルタを
、個々のフィルタが個々の受光素子を覆う状態で、色に
よって配列密度を異ならせて配設させたラインイメージ
センサにより読取られた情報から、注目画素の各色信号
を得るようにしたカラー画像処理装置において、注目画
素自身の各色信号と注目画素周辺の画素の各色信号とに
基づき各々の平均値色信号を算出する平均値演算手段を
設け、高密度で配設させた色分解フィルタ対応の受光素
子から出力される注目画素の色信号をそのまま出力させ
るとともにこの色信号とこの色の平均値色信号とに基づ
き信号変化量を検出する特定色信号処理手段を設け、こ
の信号変化量を用いて他の色の前記各平均値色信号の輝
度を補正してその色の色信号を出力させる輝度補正手段
を設けたことを特徴とするカラー画像処理装置。
Claim 1: Based on information read by a line image sensor in which color separation filters of a plurality of different colors are arranged with different arrangement densities depending on the color, with each filter covering each light receiving element. In a color image processing device configured to obtain each color signal of a pixel of interest, an average value calculation means is provided for calculating each average value color signal based on each color signal of the pixel of interest itself and each color signal of pixels surrounding the pixel of interest. , the color signal of the pixel of interest output from the light-receiving element compatible with color separation filters arranged in high density is output as is, and the amount of change in the signal is detected based on this color signal and the average value color signal of this color. Color signal processing means is provided, and brightness correction means is provided for correcting the brightness of each of the average value color signals of other colors using the signal change amount and outputting the color signal of the color. Image processing device.
【請求項2】  R,G,Bの各色分解フィルタを、個
々のフィルタが個々の受光素子を覆う状態で、Gフィル
タを受光素子一つ置きに配設しRフィルタとBフィルタ
とをGフィルタ間の受光素子に対して交互に配設させた
ラインイメージセンサにより読取られた情報から、Gフ
ィルタの配列密度による注目画素の各R,G,B信号を
得るようにしたカラー画像処理装置において、注目画素
自身の各R,G,B信号と注目画素の前後に位置する画
素の各R,G,B信号とに基づき各々の色の平均値色信
号を算出する平均値演算手段を設け、注目画素のG信号
をそのまま出力させるとともにこのG信号と前記平均値
G信号との比から輝度情報を検出するG色信号処理手段
を設け、この輝度情報を用いて平均値R信号と平均値B
信号との輝度を補正してR信号とB信号とを出力させる
輝度補正手段を設けたことを特徴とするカラー画像処理
装置。
[Claim 2] R, G, and B color separation filters are arranged so that each filter covers each light-receiving element, and a G filter is arranged every other light-receiving element, and the R filter and the B filter are combined into a G filter. In a color image processing device, each R, G, and B signal of a pixel of interest is obtained based on the arrangement density of G filters from information read by line image sensors arranged alternately with respect to light receiving elements between the two. An average value calculation means is provided for calculating an average value color signal of each color based on each R, G, B signal of the pixel of interest itself and each R, G, B signal of pixels located before and after the pixel of interest. A G color signal processing means is provided which outputs the G signal of the pixel as it is and detects luminance information from the ratio of this G signal and the average value G signal, and uses this luminance information to output the average value R signal and the average value B signal.
A color image processing device comprising a brightness correction means for correcting the brightness of a signal and outputting an R signal and a B signal.
【請求項3】  相異なる複数の色の色分解フィルタを
、個々のフィルタが個々の受光素子を覆う状態で、各々
周期的に配設させたラインイメージセンサにより読取ら
れた情報から、注目画素の各色信号を得るようにしたカ
ラー画像処理装置において、注目画素の色信号の変化量
を検出する検出手段を設け、この変化量に応じて注目画
素に対する前後の画素数を可変させて注目画素の色信号
とこの注目画素前後の画素の色信号とに基づき平均値色
信号を算出する平均値演算手段を設けたことを特徴とす
るカラー画像処理装置。
3. A pixel of interest is determined from information read by a line image sensor in which color separation filters of a plurality of different colors are arranged periodically, with each filter covering each light receiving element. In a color image processing device configured to obtain each color signal, a detection means is provided for detecting the amount of change in the color signal of the pixel of interest, and the number of pixels before and after the pixel of interest is varied according to the amount of change, thereby changing the color of the pixel of interest. A color image processing device comprising an average value calculation means for calculating an average color signal based on a signal and color signals of pixels before and after the pixel of interest.
【請求項4】  検出手段を、注目画素の前後に位置す
る2画素から得られる特定の1色の色信号の差の大きさ
を検出するものとしたことを特徴とする請求項3記載の
カラー画像処理装置。
4. The color according to claim 3, wherein the detection means detects the magnitude of a difference between color signals of one specific color obtained from two pixels located before and after the pixel of interest. Image processing device.
【請求項5】  検出手段を、注目画素の色信号の内の
特定の1色の色信号の変化量を検出するものとし、平均
値演算手段の演算に用いる注目画素の前後の画素数を、
前記変化量が所定値より大きい時には多く変化量が所定
値より小さい時には少なくなるように可変させたことを
特徴とする請求項3記載のカラー画像処理装置。
5. The detection means detects the amount of change in the color signal of one specific color among the color signals of the pixel of interest, and the number of pixels before and after the pixel of interest used for calculation by the average value calculation means is:
4. The color image processing apparatus according to claim 3, wherein the color image processing apparatus is varied so that when the amount of change is larger than a predetermined value, the amount of change is increased and when the amount of change is smaller than a predetermined value, it is decreased.
【請求項6】  色分解フィルタを色によって配列密度
を異ならせた配列とし、配列密度を高くした色分解フィ
ルタに対応する色信号に対して検出手段を設けたことを
特徴とする請求項3,4又は5記載のカラー画像処理装
置。
6. The color separation filter is arranged in an array with different arrangement densities depending on the color, and a detection means is provided for a color signal corresponding to the color separation filter with a higher arrangement density. 6. The color image processing device according to 4 or 5.
JP3045892A 1991-02-18 1991-02-18 Color picture processor Pending JPH04263577A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3045892A JPH04263577A (en) 1991-02-18 1991-02-18 Color picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3045892A JPH04263577A (en) 1991-02-18 1991-02-18 Color picture processor

Publications (1)

Publication Number Publication Date
JPH04263577A true JPH04263577A (en) 1992-09-18

Family

ID=12731897

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3045892A Pending JPH04263577A (en) 1991-02-18 1991-02-18 Color picture processor

Country Status (1)

Country Link
JP (1) JPH04263577A (en)

Similar Documents

Publication Publication Date Title
JP4284628B2 (en) IMAGING DEVICE, IMAGE PROCESSING DEVICE, IMAGE PROCESSING METHOD, PROGRAM FOR IMAGE PROCESSING METHOD, AND RECORDING MEDIUM CONTAINING PROGRAM FOR IMAGE PROCESSING METHOD
JP4066484B2 (en) Image processing apparatus, image processing method, and camera
JP2931520B2 (en) Color separation circuit for single-chip color video camera
JP2537172B2 (en) Color image input device
JP3771054B2 (en) Image processing apparatus and image processing method
JP4668185B2 (en) Image processing method
JP2816095B2 (en) Video camera signal processing circuit
EP1919188A2 (en) Image processing apparatus, image capturing apparatus, image processing method in these apparatuses, and program allowing computer to execute the method
US20060227222A1 (en) Green reconstruction for image sensors
JPH0823542A (en) Image pickup device
JPH10341447A (en) Image signal processor
WO2016047240A1 (en) Image processing device, image pickup element, image pickup device, and image processing method
CN101494795A (en) Improved solid state image sensing device, method for arranging pixels and processing signals for the same
US7609300B2 (en) Method and system of eliminating color noises caused by an interpolation
KR19990063462A (en) Image signal processing device
WO2007145087A1 (en) Image pickup device and signal processing method
US6667766B2 (en) Method of removing noise from image signal
US20020158979A1 (en) Contour filter for image sensor output signals
US20090153924A1 (en) Method and device for scanning images
JP3576600B2 (en) Color imaging device
JPH04263577A (en) Color picture processor
JP2920380B2 (en) Color signal processing device
JP4139587B2 (en) Interpolation apparatus and method for captured image in single-plate color digital camera
JPH0242875A (en) Color image reader
JPH0453343A (en) Picture reader