JPH0683379B2 - Image reader - Google Patents

Image reader

Info

Publication number
JPH0683379B2
JPH0683379B2 JP60273450A JP27345085A JPH0683379B2 JP H0683379 B2 JPH0683379 B2 JP H0683379B2 JP 60273450 A JP60273450 A JP 60273450A JP 27345085 A JP27345085 A JP 27345085A JP H0683379 B2 JPH0683379 B2 JP H0683379B2
Authority
JP
Japan
Prior art keywords
color
image
pixel
white
red
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.)
Expired - Fee Related
Application number
JP60273450A
Other languages
Japanese (ja)
Other versions
JPS62133866A (en
Inventor
一人 山本
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 JP60273450A priority Critical patent/JPH0683379B2/en
Publication of JPS62133866A publication Critical patent/JPS62133866A/en
Publication of JPH0683379B2 publication Critical patent/JPH0683379B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 [技術分野] 本発明は、白黒以外の画像の色情報を読み取る画像読取
装置に関する。
Description: TECHNICAL FIELD The present invention relates to an image reading device for reading color information of an image other than black and white.

[従来技術] ファクシミリ装置や画像処理装置等に画像を入力する場
合、その画像の色情報も判別できれば都合がよいことが
多い。
[Prior Art] When an image is input to a facsimile device, an image processing device, or the like, it is often convenient if the color information of the image can be identified.

例えば、ファクシミリ装置で伝送する送信原稿に、朱
書、捺印あるいは赤色でアンダーラインが引いてある場
合、この赤色情報を出力できれば、より効果的な画情報
伝送が可能になる。
For example, in the case where a transmission document transmitted by a facsimile machine has a red letter, a seal, or an underline in red, if this red information can be output, more effective image information transmission becomes possible.

ところで、このように色を判別する方法としては従来か
ら数多くのものが提案されているが、その多くが、1色
を1つのフイルタ等によって色分解するものである。
By the way, there have been proposed many methods for discriminating colors in this way, but most of them are for separating one color by one filter or the like.

しかしながらこのような従来方法では、例えば、赤色を
判別するために赤色フイルタで分光してラインイメージ
センサに結像した場合を考えると、赤成分をある程度以
上含んでいる色例えばマゼンタの画像を読み取ったとき
にラインイメージセンサの出力レベルが所定のスレッシ
ュレベルを越えて赤色として判別されることがあり、こ
のため、視覚的に赤色と判別される色以外の色も赤色と
して判別されてしまうという不都合があった。
However, in such a conventional method, for example, in consideration of the case where a red filter is used to separate light and an image is formed on a line image sensor in order to determine red, a color including a red component to some extent, for example, a magenta image is read. Sometimes the output level of the line image sensor exceeds a predetermined threshold level and is discriminated as red. Therefore, the color other than the color visually discriminated as red is also discriminated as red. there were.

また、一般的な原稿の背景色は白色であり、したがっ
て、背景を読み取ったときのラインイメージセンサの出
力レベルが最も大きくなる。そのために、上述のように
赤成分の受光信号のみから赤色画信号を形成した場合、
赤色部分を読み取ったときのラインイメージセンサの出
力レベルが白色の部分のレベルと近接するために、画像
の赤色が不鮮明であったり薄かったりする部分は赤色と
判別されずに白色と判別されるという不都合も生じてい
た。
Further, the background color of a general document is white, and therefore, the output level of the line image sensor when the background is read becomes the highest. Therefore, when the red image signal is formed only from the received light signal of the red component as described above,
Since the output level of the line image sensor when reading the red part is close to the level of the white part, the part where the red color of the image is unclear or faint is judged to be white instead of being judged to be red. There were some inconveniences.

さらには、視覚的に赤色と判別される色の領域が広く、
この視覚特性と単一のフイルタで分光したときの分光特
性とは異なり、そのため、視覚的に赤色と判別される色
が装置によっては赤色と判別されず、適正な赤色画信号
を出力できないという不都合もあった。
Furthermore, the color range that is visually distinguished as red is wide,
This visual characteristic is different from the spectral characteristic when the light is dispersed by a single filter. Therefore, the color visually discriminated as red is not discriminated as red by the device, and an appropriate red image signal cannot be output. There was also.

[目的] 本発明は、上述した従来技術の不都合を解消するために
なされたものであり、白黒成分以外の所定の色成分を、
確実に読み取ることができる画像読取装置を提供するこ
とを目的とする。
[Purpose] The present invention has been made in order to eliminate the above-mentioned inconveniences of the related art, and a predetermined color component other than the black and white component
An object of the present invention is to provide an image reading device that can reliably read.

[構成] 本発明は、この目的を達成するために、画像を、判別色
とその補色にそれぞれ分光してラインイメージセンサで
光電変換させ、これらのラインイメージセンサの出力信
号の画素毎の比較によって当該画素が判別色のものであ
るか否かを判別するとともに、その判別がなされた画素
については判別色の画信号と補色の画信号に所定の演算
を施すことにより、判別色に対応した色画信号を形成
し、それ以外の画素は白黒画素と判別して補色の画信号
を白黒画信号として出力し、さらに、光学特性が原因し
て、背景の白色部分に判別色の部分が単独に位置してい
るときにこの判別色の周辺に擬似的にあらわれる黒画素
を白画素に補正して、画質を向上させている。
[Structure] In order to achieve this object, the present invention separates an image into a discriminant color and its complementary color, photoelectrically converts it by a line image sensor, and compares the output signals of these line image sensors for each pixel. It is determined whether or not the pixel is of a discrimination color, and for the pixel for which the discrimination is made, a color corresponding to the discrimination color is obtained by performing a predetermined calculation on the image signal of the discrimination color and the image signal of the complementary color. An image signal is formed, the other pixels are judged to be black and white pixels, and the complementary color image signal is output as a black and white image signal. The black pixels that appear pseudo around the discrimination color when it is positioned are corrected to white pixels to improve the image quality.

以下、添付図面を参照しながら本発明の実施例を詳細に
説明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

第1図は、本発明の一実施例にかかる画像読取装置の光
学系を示しており、この実施例では赤色を判別色として
いる。
FIG. 1 shows an optical system of an image reading apparatus according to an embodiment of the present invention. In this embodiment, red is the discrimination color.

同図において、読取原稿1は、その読取線上の画像が光
源2によって照明され、その読取線から反射される画像
光は、鏡3によって反射されてレンズ4に導かれ、さら
に、ハーフミラーあるいはプリズム等の光束分割装置5
によって2つに分岐される。
In FIG. 1, an image on a read line of a read document 1 is illuminated by a light source 2, image light reflected from the read line is reflected by a mirror 3 and guided to a lens 4, and further, a half mirror or a prism. Luminous flux splitting device 5
Is branched into two by.

このようにして分岐された画像光は、赤成分を透過させ
る赤フイルタ6およびシアン成分を透過させるシアンフ
イルタ7をそれぞれ介して分光されたのち、ラインイメ
ージセンサ8,9に結像される。
The image light branched in this way is spectrally divided through a red filter 6 that transmits a red component and a cyan filter 7 that transmits a cyan component, and then imaged on the line image sensors 8 and 9.

なお、赤フイルタ6は、例えば580nmを透過限界波長と
し、それ以上の波長の光を透過させる特性をもち、ま
た、シアンフイルタ7は、例えば620nmを透過限界波長
とし、それ以下の波長の光を透過させる特性をもってい
る。
The red filter 6 has a characteristic of transmitting light having a wavelength of, for example, 580 nm as a transmission limit wavelength, and has a characteristic of transmitting light having a wavelength longer than that. Further, the cyan filter 7 has a transmission limit wavelength of, for example, 620 nm, and transmits light having a wavelength shorter than that. It has the property of transmitting light.

さて、このようにして画像を赤成分とその補色であるシ
アン成分に分光したとき、全ての色はこの2つの成分に
分割され、ラインイメージセンサ8,9の出力信号に所定
のレベルとしてあらわれる。
When the image is split into the red component and the cyan component which is the complementary color to the red component in this way, all the colors are divided into these two components and appear as predetermined levels in the output signals of the line image sensors 8 and 9.

そこで、市販されている赤色の筆記用具等の色サンプル
について赤成分とシアン成分のレベルを計測したとこ
ろ、これらの色サンプルのものは第2図の斜線部に位置
することがわかった。なお、第2図においては、最も受
光レベルが大きくなる原稿の背景の白色部分を読み取っ
たときのラインイメージセンサ8,9の出力レベルを1と
して、実際の画像を読み取ったときのラインイメージセ
ンサ8,9の出力レベルを正規化してあらわしている。
Then, when the levels of the red component and the cyan component of the color samples of commercially available red writing utensils and the like were measured, it was found that these color samples were located in the shaded area in FIG. In FIG. 2, the output level of the line image sensors 8 and 9 when the white portion of the background of the document having the highest light receiving level is read is set to 1, and the line image sensor 8 when the actual image is read is set. The output levels of 9 are normalized.

すなわち、原稿画像にあらわれる赤色は、次の式であら
わされる関係を満たす。
That is, the red color appearing in the original image satisfies the relationship represented by the following formula.

Kc/Kr〈α,Kr〉β ただし、Kcは正規化されたシアン成分のレベル(すなわ
ちラインイメージセンサ9の出力レベル)、Krは正規化
された赤成分のレベル(すなわちラインイメージセンサ
8のレベル)をあらわす。また、実測によればα=0.4,
β=0.4である。なお、この値は上述したような特性の
赤フイルタ6およびシアンフイルタ7を用いた場合であ
り、特性の異なるフイルタを用いた場合には、この数値
が変わる場合がある。
Kc / Kr <α, Kr> β where Kc is the normalized cyan component level (that is, the output level of the line image sensor 9), and Kr is the normalized red component level (that is, the level of the line image sensor 8). ). Also, according to the actual measurement, α = 0.4,
β = 0.4. It should be noted that this value is obtained when the red filter 6 and the cyan filter 7 having the above-mentioned characteristics are used, and when the filters having different characteristics are used, this numerical value may change.

以上のことから、画素ごとにラインイメージセンサ8,9
の出力レベル(それぞれ正規化されたもの)が上式の関
係を満たすか否かを判別し、その関係を満たす画素を赤
色の画素(すなわち赤画素)と判別することができる。
From the above, the line image sensor 8, 9
It is possible to determine whether or not the output levels of the above (normalized ones) satisfy the relationship of the above expression, and to determine the pixel satisfying the relationship as a red pixel (that is, a red pixel).

また、赤画素以外の白黒画素を判別する白黒画信号とし
ては、ラインイメージセンサ9からの出力信号をそのま
ま用いればよい。
The output signal from the line image sensor 9 may be used as it is as the monochrome image signal for determining the monochrome pixels other than the red pixels.

ところで、、白地に赤の部分が単独で位置している場
合、第3図に示したように、画像が白から赤、赤から白
に変化する部分では、シアン成分を受光しているライン
イメージセンサ9の受光レベルが滑らかに変化する。
By the way, when the red portion is singly located on the white background, as shown in FIG. 3, in the portion where the image changes from white to red and from red to white, the line image receiving the cyan component is received. The light receiving level of the sensor 9 changes smoothly.

したがって、例えば白画素の間に3つの赤画素が位置し
ている場合、このときのラインイメージセンサ8,9の出
力レベル(正規化されたもの)は、第4図(a)、
(b)に示したように変化する。
Therefore, for example, when three red pixels are located between white pixels, the output levels (normalized) of the line image sensors 8 and 9 at this time are as shown in FIG.
It changes as shown in (b).

すなわち、ラインイメージセンサ8の出力レベルは、赤
画素のレベルが白画素のレベルよりも若干小さい値にな
り、ラインイメージセンサ9の出力レベルは、赤画素の
レベルが黒画素と同様なレベルになり、それに隣接して
いる白画素のレベルがそれ以外の白画素のレベルよりも
小さくなり、さらに、白黒を識別するためのスレッシュ
レベルSLよりも小さくる。
That is, the output level of the line image sensor 8 is such that the level of the red pixel is slightly smaller than the level of the white pixel, and the output level of the line image sensor 9 is the level of the red pixel similar to that of the black pixel. , The level of the white pixel adjacent thereto becomes smaller than the levels of the other white pixels, and further becomes smaller than the threshold level SL for identifying black and white.

この場合、上述の判断基準による赤画素の判別状態は同
図(b)に示したようになるので、赤と非赤を表わす赤
色画信号RDは同図(d)に示したようになり、また、白
黒をあらわす白黒画信号BWは同図(e)のようになる。
In this case, the determination state of the red pixel based on the above-described determination reference is as shown in FIG. 7B, and thus the red image signal RD representing red and non-red is as shown in FIG. The black-and-white image signal BW representing black and white is as shown in FIG.

その結果、実際の画像には存在していない黒画素すなわ
ち擬似黒画素が、赤画像に隣接して1画素だけ読取画信
号として出力されることになる。したがって、読取画像
を記録したとき、その記録画像が劣するという不都合を
生じる。
As a result, a black pixel that does not exist in the actual image, that is, a pseudo black pixel, is output as a read image signal by one pixel adjacent to the red image. Therefore, when the read image is recorded, the recorded image is inferior.

かかる不都合を解消するためには、赤画素として判別さ
れている画素に隣接して黒画素として判別されている画
素が1つある場合、その黒画素を擬似黒画素として判別
し、この擬似黒画素を白画素に補正する補正処理を実行
すればよい。
In order to eliminate such an inconvenience, when there is one pixel which is determined as a black pixel adjacent to the pixel which is determined as a red pixel, the black pixel is determined as a pseudo black pixel, and the pseudo black pixel is determined. It suffices to execute a correction process for correcting the white pixel into a white pixel.

第5図は、上述した本発明の原理を実現する。本発明の
一実施例にかかる画像読取装置を示している。なお、同
図では本発明に直接関係しないラインイメージセンサ8,
9の駆動制御系および副走査機構等の制御系を省略して
いる。
FIG. 5 implements the principles of the invention described above. 1 illustrates an image reading apparatus according to an embodiment of the present invention. In the figure, the line image sensor 8, which is not directly related to the present invention,
The drive control system and the control system such as the sub-scanning mechanism of 9 are omitted.

同図において、ラインイメージセンサ8,9から出力され
た画信号P1,P2は、切換器11,12によって、白波形メモリ
13,14あるいは正規化回路15,16のいずれかに加えられ
る。
In the figure, the image signals P1 and P2 output from the line image sensors 8 and 9 are output to the white waveform memory by the switches 11 and 12.
It is added to either 13, 14 or the normalization circuit 15, 16.

切換器11,12は、図示しない制御手段により、基準の白
画像(例えば白色原稿等)を読み取るときには白波形メ
モリ13,14を選択するように切り換えられている。これ
により、このときラインイメージセンサ8,9から出力さ
れる画信号P1,P2は白波形メモリ13,14に記憶される。
The switches 11, 12 are switched by a control means (not shown) so as to select the white waveform memories 13, 14 when reading a reference white image (for example, a white original). As a result, the image signals P1 and P2 output from the line image sensors 8 and 9 at this time are stored in the white waveform memories 13 and 14.

また、切換器11,12は、上記した制御手段により、読取
原稿1の画像を読み取るときには正規化回路15,16を選
択するように切り換えられる。
Further, the switching devices 11 and 12 are switched by the control means so as to select the normalization circuits 15 and 16 when the image of the read document 1 is read.

正規化回路15,16は、読取原稿1を読み取ったときに得
られた画信号P1,P2、その画信号P1,P2と同期して白波形
メモリ13,14から加えられる信号を基準としてレベル変
換するとともに、対応するデジタル信号に変換する機能
を備えており、この正規化回路15,16によって、赤フイ
ルタ6とシアンフイルタ7の透過率の差が吸収される。
The normalization circuits 15 and 16 perform level conversion on the basis of the image signals P1 and P2 obtained when the read document 1 is read and the signals added from the white waveform memories 13 and 14 in synchronization with the image signals P1 and P2. In addition, it has a function of converting into a corresponding digital signal, and the normalization circuits 15 and 16 absorb the difference in transmittance between the red filter 6 and the cyan filter 7.

すなわち、切換器11、白波形メモリ13および正規化回路
15によってラインイメージセンサ8が出力した画信号P1
をシェーデイング補正するシェーディング補正回路SD1
が、また、切換器12、白波形メモリ14および正規化回路
16によってラインイメージセンサ9が出力した画信号P2
をシェーディング補正するシェーディング補正回路SD2
がそれぞれ形成されている。
That is, the switch 11, the white waveform memory 13 and the normalization circuit
Image signal P1 output from the line image sensor 8 by 15
Shading correction circuit SD1 for shading correction
In addition, the switch 12, the white waveform memory 14 and the normalization circuit
Image signal P2 output from the line image sensor 9 by 16
Shading correction circuit SD2 for shading correction
Are formed respectively.

そして、正規化回路15,16の出力信号R,Cは、色演算回路
20に加えられている。
The output signals R and C of the normalization circuits 15 and 16 are
Added to 20.

色演算回路20は、第6図に示した処理を実行して、各画
素の色を判別するとともに、赤色画信号R1および白黒画
信号B1を形成する。
The color calculation circuit 20 executes the processing shown in FIG. 6 to determine the color of each pixel and form the red image signal R1 and the monochrome image signal B1.

すなわち、まず、入力した信号R,Cの比Kを演算し(処
理101)、その比Kが所定値αよりも大きいか否かを判
別する(判断102)。
That is, first, the ratio K of the input signals R and C is calculated (process 101), and it is determined whether or not the ratio K is larger than a predetermined value α (decision 102).

この判断102の結果がYESになる場合、次に信号Rが所定
値βよりも大きいか否かを判別する(判断103)。な
お、この場合の所定値αおよびβの値は、上述のように
ともに0.4である。
If the result of this judgment 102 is YES, then it is judged whether or not the signal R is larger than a predetermined value β (decision 103). The predetermined values α and β in this case are both 0.4 as described above.

この判断103の結果がYESになるときには、当該画素が赤
画素であるので、色演算回路20は次の式に基づいて赤色
画信号R1を算出する(処理104)。
When the result of this determination 103 is YES, since the pixel is a red pixel, the color calculation circuit 20 calculates the red image signal R1 based on the following equation (process 104).

R1=a・R+b・C ここで、R,Cはそれぞれ信号R,Cに等しく、また、a,bは
それぞれ符号が異なる定数である。なお、この定数a,b
は、ホワイトバランスおよび画像の強調を考慮して設定
されている。このように、色演算回路20は、適当な係数
を乗じて赤色画信号R1を演算しているので、赤色画信号
R1のレベルを拡大することができ、その結果、各種の赤
色を確実に出力できる。
R1 = a.R + b.C Here, R and C are equal to the signals R and C, respectively, and a and b are constants having different signs. The constants a and b
Is set in consideration of white balance and image enhancement. In this way, the color calculation circuit 20 calculates the red image signal R1 by multiplying it by an appropriate coefficient.
The level of R1 can be expanded, and as a result, various red colors can be reliably output.

また、この画素に対応する白黒画信号B1には、白をあら
わす値DWをセットして(処理105)、このときに演算し
た赤色画信号R1および白黒画信号B1を出力する。
Further, a value DW representing white is set to the monochrome image signal B1 corresponding to this pixel (process 105), and the red image signal R1 and the monochrome image signal B1 calculated at this time are output.

判断102の結果がNOになるとき、および、判断103の結果
がNOになるときは、当該画素が赤画素以外、すなわち、
白画素か黒画素のいずれかなので、赤色画信号R1には非
赤であることをあらわす値NRをセットし(処理106)、
白黒画信号B1には信号Cをセットして(処理107)、そ
れぞれ出力する。
When the result of decision 102 is NO, and when the result of decision 103 is NO, the pixel is other than a red pixel, that is,
Since it is either a white pixel or a black pixel, a value NR representing non-red is set in the red image signal R1 (process 106),
The signal C is set to the black-and-white image signal B1 (process 107) and is output respectively.

このようにして、読取原稿1における画像の赤色成分お
よび白黒成分が、それぞれ赤色画信号R1および白黒画信
号B1に変換されて出力される。
In this way, the red component and the monochrome component of the image on the read document 1 are converted into the red image signal R1 and the monochrome image signal B1 and output.

色演算回路20から出力された赤色画信号R1はラッチ回路
21およびナンド回路22の一入力端に加えられ、白黒画信
号B1はラッチ回路23およびナンド回路24の一入力端に加
えられている。
The red image signal R1 output from the color calculation circuit 20 is a latch circuit.
21 and one input terminal of the NAND circuit 22, the black-and-white image signal B1 is applied to one input terminal of the latch circuit 23 and the NAND circuit 24.

ラッチ回路21の出力R2は、赤色画信号RDとして外部に出
力されるとともにラッチ回路25に加えられ、また、イン
バータ26によって信号R3に反転されたのちにナンド回路
22,24の一入力端にそれぞれ加えられている。
The output R2 of the latch circuit 21 is output to the outside as a red image signal RD, added to the latch circuit 25, and inverted by the inverter 26 into the signal R3, and then the NAND circuit.
It is added to one of the input terminals of 22,24.

ラッチ回路23の出力B2は、ラッチ回路27に加えられると
ともにオア回路28の一入力端に加えられ、また、インバ
ータ29を介して信号B3に反転されたのちにナンド回路2
2,24の一入力端に加えられている。
The output B2 of the latch circuit 23 is applied to the latch circuit 27 and also to one input terminal of the OR circuit 28, and after being inverted into the signal B3 via the inverter 29, the NAND circuit 2 is output.
It is added to one input end of 2,24.

ラッチ回路25の出力R4はナンド回路24の一入力端に、ま
た、ラッチ回路27の出力B4はナンド回路22の一入力端に
それぞれ加えられている。
The output R4 of the latch circuit 25 is applied to one input end of the NAND circuit 24, and the output B4 of the latch circuit 27 is applied to one input end of the NAND circuit 22.

ナンド回路22は、白から赤に変わる部分の擬似黒画素を
検出して補正するものであり、その出力S2はナンド回路
30の一入力端に加えられている。また、ナンド回路24
は、赤から白に変わる部分の擬似黒画素を検出して補正
するものであり、その出力S1はナンド回路30の他の入力
端に加えられている。
The NAND circuit 22 detects and corrects a pseudo black pixel in a portion that changes from white to red, and its output S2 is a NAND circuit.
It has been added to one input end of 30. Also, the NAND circuit 24
Is to detect and correct a pseudo black pixel in a portion that changes from red to white, and its output S1 is applied to the other input terminal of the NAND circuit 30.

このナンド回路30の出力C1は、オア回路28の他の入力端
に加えられており、このオア回路28の出力が白黒画信号
BWとして外部に出力される。
The output C1 of the NAND circuit 30 is added to the other input terminal of the OR circuit 28, and the output of the OR circuit 28 is the black and white image signal.
Output as BW to the outside.

いま、第7図(a)、(b)に示したように、白画素が
2つ、黒画素が1つ、赤画素が3つ、黒画素が1つ、白
画素が4つ順次連続して信号R,Cにあらわれることを考
える。このときには、上述のように、白画素と赤画素に
はさまれた黒画素は、擬似黒画素である。
Now, as shown in FIGS. 7A and 7B, two white pixels, one black pixel, three red pixels, one black pixel, and four white pixels are successively arranged. Consider what appears in signals R and C. At this time, as described above, the black pixel sandwiched between the white pixel and the red pixel is a pseudo black pixel.

したがって、ラッチ回路22の出力R1、インバータ26の出
力R3、ラッチ回路25の出力R4はそれぞれ第4図(c)、
(d)、(e)に示したように変化し、ラッチ回路23の
出力B2、インバータ29の出力B3、ラッチ回路27の出力B4
はそれぞれ第4図(f)、(g)、(h)に示したよう
に変化する。
Therefore, the output R1 of the latch circuit 22, the output R3 of the inverter 26, and the output R4 of the latch circuit 25 are shown in FIG.
The output B2 of the latch circuit 23, the output B3 of the inverter 29, and the output B4 of the latch circuit 27 change as shown in (d) and (e).
Respectively change as shown in FIGS. 4 (f), (g) and (h).

ナンド回路22に加わっている信号R1、B3、R3、B4の状態
変化を観察すると、3画素目までは信号R1が論理レベル
Lなので、その出力信号S2は、第4図(j)に示したよ
うに、論理レベルHになり、4画素目で全ての入力が論
理レベルHになるのでその出力信号S2が論理レベルLに
立ち下がり、それによってナンド回路30の出力C1(第4
図(k)参照)が論理レベルHに立ち上がるので、信号
B1の3画素目の黒画素(論理レベルL)が白画素(論理
レベルH)に変換されて、白から赤に変化する部分に生
じる擬似黒画素が除去される(第4図(1)信号BW参
照)。
Observing the state change of the signals R1, B3, R3, B4 applied to the NAND circuit 22, the output signal S2 is shown in FIG. 4 (j) because the signal R1 is the logical level L up to the third pixel. As described above, the logic level becomes H, and all the inputs become the logic level H at the fourth pixel, so that the output signal S2 falls to the logic level L, which causes the output C1 of the NAND circuit 30 (the fourth level).
(See Fig. (K)) rises to the logic level H.
The black pixel (logic level L) of the third pixel of B1 is converted into a white pixel (logic level H), and the pseudo black pixel generated in the portion changing from white to red is removed ((1) signal in FIG. 4). See BW).

なお、それ以降は、ナンド回路22の入力のいずれか1つ
以上が論理レベルLになっているので、ナンド回路22の
出力信号S2は論理レベルHの状態を維持する。
After that, since one or more of the inputs of the NAND circuit 22 are at the logical level L, the output signal S2 of the NAND circuit 22 maintains the state of the logical level H.

ナンド回路24に加わっている信号B1,R3,R4,B3の状態変
化を観察すると、5画素目までは信号R4が論理レベルL
で、また、6,7画素目は信号B3が論理レベルLなので、
その出力信号S1は、第4図(i)に示したように論理レ
ベルHであり、8画素目には全ての入力が論理レベルH
になるのでその出力信号S1が論理レベルLに立ち下が
り、それによってナンド回路30の出力C1が論理レベルH
に立ち上がるので、信号B1の7画素目の黒画素が白画素
に変換されて、赤から白に変化する部分に生じる擬似黒
画素が除去される。
Observing the state changes of the signals B1, R3, R4, B3 applied to the NAND circuit 24, the signal R4 is at the logical level L up to the fifth pixel.
At the 6th and 7th pixels, the signal B3 is at the logic level L.
The output signal S1 is at the logic level H as shown in FIG. 4 (i), and all inputs are at the logic level H at the 8th pixel.
Therefore, the output signal S1 falls to the logic level L, which causes the output C1 of the NAND circuit 30 to rise to the logic level H.
, The seventh black pixel of the signal B1 is converted into a white pixel, and the pseudo black pixel generated in the portion changing from red to white is removed.

なお、それ以降は、ナンド回路24の入力のいずれか1つ
が論理レベルLになっているので、ナンド回路24の出力
信号S1は論理レベルHの状態を維持する。
Since any one of the inputs of the NAND circuit 24 is at the logical level L thereafter, the output signal S1 of the NAND circuit 24 maintains the logical level H.

このようにして、白黒画信号B1にあらわれる擬似黒画素
が白画素に変換されて、擬似黒画素が除去された白黒画
信号BWが形成され、これが外部に出力される。すなわ
ち、ラッチ回路21,23,25,27、ナンド回路22,24,30、イ
ンバータ26,29、および、オア回路28によって、擬似黒
画素を除去する擬似黒画素除去回路DBSが構成されてい
る。
In this way, the pseudo black pixels appearing in the black and white image signal B1 are converted into white pixels to form a black and white image signal BW from which the pseudo black pixels have been removed, and this is output to the outside. That is, the latch circuits 21, 23, 25, 27, the NAND circuits 22, 24, 30, the inverters 26, 29, and the OR circuit 28 form a pseudo black pixel removal circuit DBS that removes pseudo black pixels.

したがって、赤色画信号RD、および、擬似黒画素が除去
された白黒画信号BWが、外部に並列して出力される。
Therefore, the red image signal RD and the black and white image signal BW from which the pseudo black pixel is removed are output in parallel to the outside.

ところで、色演算回路20は、信号R,Cのレベルに応じて
赤色を判別するとともに、赤色画信号R1および白黒画信
号B1を発生し、また、その結果は信号R,Cのレベルに一
義的に定まるので、この色演算回路20を、信号R,Cを入
力アドレスとするROM(リード・オンリ・メモリ)によ
って構成することができ、その場合には、処理速度を向
上することができる。
By the way, the color calculation circuit 20 discriminates red color according to the levels of the signals R and C, generates the red image signal R1 and the monochrome image signal B1, and the result is unique to the levels of the signals R and C. Therefore, the color calculation circuit 20 can be configured by a ROM (read only memory) having the signals R and C as input addresses, and in that case, the processing speed can be improved.

また、色演算回路20および擬似黒画素除去回路DBSを1
つの回路にまとめることもできる。またさらに、擬似黒
画素除去回路DBSも、上述したものに限ることはない。
In addition, the color calculation circuit 20 and the pseudo black pixel removal circuit DBS are set to 1
It can also be combined into one circuit. Furthermore, the pseudo black pixel removing circuit DBS is not limited to the one described above.

なお、上述した実施例では画像の赤色を判別している
が、これ以外の色を判別することもできる。また、画像
を分割して分光する手段も、上述したものに限ることは
ない。
In addition, although the red color of the image is discriminated in the above-described embodiment, it is possible to discriminate colors other than this. Further, the means for dividing the image and separating the spectrum is not limited to the above-mentioned means.

[効果] 以上説明したように、本発明によれば、画像を、判別色
とその補色にそれぞれ分光してラインイメージセンサで
光電変換させ、これらのラインイメージセンサの出力信
号の画素毎の比較によって当該画素が判別色のものであ
るか否かを判別するとともに、、その判別がなされた画
素については判別色の画信号と補色の画信号に所定の演
算を施すことにより判別色に対応した色画信号を形成
し、それ以外の画素は白黒画素と判別して補色の画信号
を白黒画信号として出力し、さらに、背景の白色部分に
判別色の部分が単独に位置しているときにこの判別色の
周辺に擬似的にあらわれる黒画素を白画素に補正して、
画質を向上させているので、白黒成分以外の所定の色成
分を、確実にかつ高い品質で読み取ることができるとい
う利点を得る。
[Effect] As described above, according to the present invention, an image is separated into a discrimination color and its complementary color, photoelectrically converted by a line image sensor, and the output signals of these line image sensors are compared pixel by pixel. It is determined whether or not the pixel is of a discrimination color, and for the determined pixel, a color corresponding to the discrimination color is obtained by performing a predetermined calculation on the discrimination color image signal and the complementary color image signal. An image signal is formed, the other pixels are determined to be black and white pixels, the complementary color image signal is output as a black and white image signal, and when the determined color portion is located independently in the white portion of the background, this Correct the black pixels that appear pseudo around the discrimination color to white pixels,
Since the image quality is improved, there is an advantage that a predetermined color component other than the black-and-white component can be reliably read with high quality.

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

第1図は本発明の一実施例にかかる画像読取装置の光学
系の一例を示した概略構成図、第2図は赤色を判別する
原理を説明するためのグラフ図、第3図はシアン成分の
受光特性を説明するための波形図、第4図は擬似黒画素
の発生を説明するための波形図、第5図は本発明の一実
施例にかかる装置の一例を示したブロック図、第6図は
色演算回路の処理例を示したフローチャート、第7図は
擬似黒画素除去回路の動作を説明するための波形図であ
る。 6……赤フィルタ、7……シアンフィルタ、8,9……ラ
インイメージセンサ、11,12……切換器、13,14……白波
形メモリ、15,16……正規化回路、20……色演算回路、2
1,23,25,27……ラッチ回路、22,24,30……ナンド回路、
26,29……インバータ、28……オア回路、SD1,SD2……シ
ェーディング補正回路、DBS……擬似黒画素除去回路。
FIG. 1 is a schematic configuration diagram showing an example of an optical system of an image reading apparatus according to an embodiment of the present invention, FIG. 2 is a graph diagram for explaining the principle of distinguishing red color, and FIG. 3 is a cyan component. 4 is a waveform diagram for explaining the light receiving characteristics of the light emitting device, FIG. 4 is a waveform diagram for explaining the generation of pseudo black pixels, and FIG. 5 is a block diagram showing an example of an apparatus according to an embodiment of the present invention. FIG. 6 is a flowchart showing a processing example of the color calculation circuit, and FIG. 7 is a waveform diagram for explaining the operation of the pseudo black pixel removal circuit. 6 ... red filter, 7 ... cyan filter, 8,9 ... line image sensor, 11,12 ... switch, 13,14 ... white waveform memory, 15,16 ... normalization circuit, 20 ... Color operation circuit, 2
1,23,25,27 …… Latch circuit, 22,24,30 …… Nand circuit,
26,29 …… Inverter, 28 …… OR circuit, SD1, SD2 …… Shading correction circuit, DBS …… Pseudo black pixel removal circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】読取線上の画像光を所定の第1の色とこの
第1の色の補色の第2の色に分光する分光手段と、上記
第1の色と上記第2の色の画像光を受光して各画素に対
応した画信号を出力する2つのラインイメージセンサ
と、これらのラインイメージセンサから出力された画信
号の比較に基づいて上記第1の色を判別する色判別手段
と、この色判別手段から判別出力があった画素について
は所定の演算に基づいて上記画信号から上記第1の色に
対応した色画信号を算出するとともに、上記色判別手段
からの判別出力がない画素を白黒画素として判別し、上
記第2の色に対応した画信号を白黒画信号として出力す
る色分解手段と、上記色画信号の領域に隣接した領域に
上記白黒画信号で黒としてあらわされている画素が独立
して位置しているとき、この黒画素を白画素に補正する
擬似黒画素補正手段を備えたことを特徴とする画像読取
装置。
1. A spectroscopic means for spectrally dividing image light on a reading line into a predetermined first color and a second color which is a complementary color of the first color, and an image of the first color and the second color. Two line image sensors that receive light and output an image signal corresponding to each pixel, and a color determining unit that determines the first color based on a comparison of the image signals output from these line image sensors. For a pixel for which a discrimination output has been made by the color discrimination means, a color image signal corresponding to the first color is calculated from the image signal on the basis of a predetermined calculation, and there is no discrimination output from the color discrimination means. Color separation means for discriminating a pixel as a black-and-white pixel and outputting an image signal corresponding to the second color as a black-and-white image signal, and an area adjacent to the area for the color-image signal is represented as black by the black-and-white image signal. If the pixels that are An image reading apparatus characterized by having a pseudo black pixel correction means for correcting the black pixels to white pixels.
JP60273450A 1985-12-06 1985-12-06 Image reader Expired - Fee Related JPH0683379B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60273450A JPH0683379B2 (en) 1985-12-06 1985-12-06 Image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60273450A JPH0683379B2 (en) 1985-12-06 1985-12-06 Image reader

Publications (2)

Publication Number Publication Date
JPS62133866A JPS62133866A (en) 1987-06-17
JPH0683379B2 true JPH0683379B2 (en) 1994-10-19

Family

ID=17528080

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60273450A Expired - Fee Related JPH0683379B2 (en) 1985-12-06 1985-12-06 Image reader

Country Status (1)

Country Link
JP (1) JPH0683379B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4537440B2 (en) * 2007-12-07 2010-09-01 キヤノン株式会社 Image processing apparatus, image processing method, program, and recording medium

Also Published As

Publication number Publication date
JPS62133866A (en) 1987-06-17

Similar Documents

Publication Publication Date Title
US4479242A (en) Dichromatic reading device
US4577218A (en) Color separating circuit for producing red and black signals
CN101616241B (en) Image processing apparatus and method of image processing
JPH0722330B2 (en) Image region identification method for image processing apparatus
US8035870B2 (en) Image processing apparatus and image processing method
JPH0683379B2 (en) Image reader
JPH0773319B2 (en) Color reader
JPS5840977A (en) Reading system of color image
JPS6034686B2 (en) Color information selection method
JPS5923969A (en) Picture signal processing device
JPH06311302A (en) Color solid-state line sensor
JPH0752911B2 (en) Image reader
JPH0693730B2 (en) Image reader
JPS62101179A (en) Picture information processor
JPS62186653A (en) Picture reader
JPS61269570A (en) Color discriminator
JPH04252667A (en) Color image reader
JPS62136170A (en) Color reader
JPH0369230B2 (en)
JPS5936478A (en) Two-color reader
JP2002057848A (en) Back copy discriminating method, back copy eliminating device and image processing device
JP2509809B2 (en) Image processing device
JPH04362850A (en) Color separation method for electronic blackboard and its color separator
JP2738822B2 (en) Color processing device
JPS62230166A (en) Two-color original reader

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees