JPS62188465A - Image reader - Google Patents

Image reader

Info

Publication number
JPS62188465A
JPS62188465A JP61028020A JP2802086A JPS62188465A JP S62188465 A JPS62188465 A JP S62188465A JP 61028020 A JP61028020 A JP 61028020A JP 2802086 A JP2802086 A JP 2802086A JP S62188465 A JPS62188465 A JP S62188465A
Authority
JP
Japan
Prior art keywords
color
white
black
image
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.)
Granted
Application number
JP61028020A
Other languages
Japanese (ja)
Other versions
JPH0693730B2 (en
Inventor
Kazuto Yamamoto
一人 山本
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 JP61028020A priority Critical patent/JPH0693730B2/en
Publication of JPS62188465A publication Critical patent/JPS62188465A/en
Publication of JPH0693730B2 publication Critical patent/JPH0693730B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PURPOSE:To surely read out a prescribed color component other than a white and black components by forming a color correcting means for correcting picture elements discriminated as the 1st color to white picture elements when a prescribed number or more of the picture elements discriminated as the 1st color are arranged on the periphery of picture elements decided as black elements by a color separating means. CONSTITUTION:A color operating circuit 20 separates the ratio K of inputted signals R, C, and when the ratio K exceeds a prescribed value alpha(0, 4), discriminates whether the signal R is larger than a prescribed value beta(0, 4) or not, When the signal R is larger than the value beta, the picture element is regarded as a red picture element, so that the circuit 20 sets up logical levels '1' and '0' on a read picture signal R1 and a white and black picture signal B1 corresponding to the picture element respectively and outputs both the signals R1, B1. When the signal R is equal or less to/than the value, the picture element is a white or black picture element, so that the circuit 20 sets up logical level '0' on the red picture signal R1 and a logical level obtained by binary-coding the signal C by a prescribed threshold level on the signal B1 and outputs both the signals. Consequently, a prescribed color component other than white and black components can be surely read out with high quality.

Description

【発明の詳細な説明】 [技術分野] 本発明は、白黒以外の画像の色情報を読み取る画像読取
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to an image reading device that reads color information of images other than black and white.

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

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

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

しかしながらこのような従来方法では1例えば、赤色を
判別するために赤色フィルタで分光してラインイメージ
センサに結像した場合を考えると。
However, in such a conventional method, for example, in order to discriminate red color, consider the case where the light is separated by a red filter and an image is formed on a line image sensor.

赤成分をある程度以上含んでいる色例えばマゼンタの画
像を読み取ったときにラインイメージセンサの出力レベ
ルが所定のスレッシュレベルを越えて赤色として判別さ
れることがあり、このため、視覚的に赤色と判別される
色以外の色も赤色として判別されてしまうという不都合
があった。
When reading an image of a color that contains more than a certain amount of red components, for example magenta, the output level of the line image sensor may exceed a predetermined threshold level and be determined as red, so it may be visually identified as red. There is an inconvenience that colors other than the displayed color are also recognized as red.

また、一般的な原稿の背景色は白色であり、したがって
、背景を読み取ったときのラインイメージセンサの出力
レベルが最も大きくなる。そのために、上述のように赤
成分の受光信号のみから赤色画信号を形成した場合、赤
色部分を読み取ったときのラインイメージセンサの出力
レベルが白色の部分のレベルと近接するために、画像の
赤色が不鮮明であったり薄かったりする部分は赤色と判
別されずに白色と判別されるという不都合も生じていた
Further, the background color of a typical document is white, so the output level of the line image sensor is the highest when reading the background. For this reason, when a red image signal is formed from only the red component light reception signal as described above, the output level of the line image sensor when reading the red part is close to the level of the white part, so the red color of the image is There has also been an inconvenience in that areas where the color is unclear or faint are not determined to be red but are determined to be white.

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

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

[構成コ 本発明は、この目的を達成するために、画像を判別色と
その補色にそれぞれ分光してラインイメージセンサで光
電変換させ、これらのラインイメージセンサの出力信号
の画素毎の比較によって当該画素が判別色のものである
か否かを判別するとともに、その判別がなされた画素に
ついては判別色の両信号と補色の画信号に所定の演算を
施すことにより、判別色に対応した色画信号を形成し。
[Configuration] In order to achieve this object, the present invention separates an image into a discrimination color and its complementary color, photoelectrically converts them using a line image sensor, and compares the output signals of these line image sensors pixel by pixel to determine the relevant color. It is determined whether a pixel is of a discrimination color or not, and for pixels for which discrimination has been made, a color image corresponding to the discrimination color is generated by performing a predetermined calculation on both signals of the discrimination color and the image signal of the complementary color. form a signal.

それ以外の画素は白黒画素と判別して補色の両信号を白
黒画信号として出力している。また、光学系の読取誤差
が原因して白黒画像の部分に擬似的にあられれる判別色
の画素を白画素または黒画素にに補正して画質を向上さ
せている。
Other pixels are determined to be black and white pixels, and both complementary color signals are output as black and white image signals. Furthermore, the image quality is improved by correcting the pixels of the discrimination color that appear pseudo-in the monochrome image part due to the reading error of the optical system into white pixels or black pixels.

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

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

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

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

なお、赤フィルタ6は、例えば580nmを透過限界波
長とし4それ以−ヒの波長の光を透過させる特性をもち
、また、シアンフィルタ7は、例えば620nmを透過
限界波長とし、それ以下の波長の光を透過させる特性を
もっている。
Note that the red filter 6 has a transmission limit wavelength of, for example, 580 nm and has a characteristic of transmitting light with a wavelength of 4 or more, and the cyan filter 7 has a transmission limit wavelength of, for example, 620 nm, and has a characteristic of transmitting light with a wavelength of 4 or more. It has the property of transmitting light.

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

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

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

にc/K(−<α、Kr>β ただし、Kcは正規化されたシアン成分のレベル(すな
わちラインイメージセンサ9の出力レベル)。
c/K (-<α, Kr>β where Kc is the normalized level of the cyan component (i.e., the output level of the line image sensor 9).

Krは正規化された赤成分のレベル(すなわちラインイ
メージセンサ8のレベル)をあられす。また、実測によ
ればα=0.4.  β=0.4である。なお、この値
は上述したような特性の赤フィルタ6およびシアンフィ
ルタ7を用いた場合であり、特性の異なるフィルタを用
いた場合には、この数値が変わる場合がある。
Kr represents the normalized level of the red component (ie, the level of the line image sensor 8). Also, according to actual measurements, α=0.4. β=0.4. Note that this value is based on the case where the red filter 6 and cyan filter 7 having the characteristics as described above are used, and this value may change when filters with different characteristics are used.

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

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

ところで、このような方法で赤色を判別したとき、赤色
と他の色との境界部分の色を読み取った場合、その色の
部分の濃度のバラツキ等が原因して、その色の部分は部
分的に赤色と判別され、それ以外の部分では黒と判別さ
れるため、読取画像を記録したとき、その色の部分が黒
っぽくくすんだ色に記録される。この状態を第3図(a
)に例示する。なお、同図で斜線は赤画素をあられし交
差する斜線部は黒画素をあられしている。
By the way, when red is determined using this method, if the color at the boundary between red and another color is read, the color may be partially distorted due to variations in the density of that color. The color is determined to be red, and the rest of the image is determined to be black, so when the read image is recorded, that color is recorded in a dark, dull color. This state is shown in Figure 3 (a
) as an example. Note that in the figure, diagonal lines indicate red pixels, and intersecting diagonal lines indicate black pixels.

かかる不都合を解消するためには、黒画素と判別されて
いる画素の周囲に赤画素と判別されている画素が多く位
置しているときには、その黒画素を白画素に補正する補
正処理を実行すればよい。
In order to eliminate this inconvenience, when there are many pixels determined to be red pixels around pixels determined to be black pixels, it is necessary to perform a correction process to correct the black pixels to white pixels. Bye.

すなわち、例えば主走査方向および副走査方向に表1に
示したようなパタンで赤色画信号RDおよび白黒画信号
8vがあられれるとき、その中心画素を白画素に補正す
ればよい。この例では主走査方向および副走査方向にそ
れぞれ3画素の領域を1つの判断単位とし、その領域の
中心画素の周辺に4つ以上の赤画素がある場合には、そ
の中心画素を白画素として判別している。なお、この条
件を満たすパタンは数多くあるが、その中でも代表的な
4つのものを表1に示した。(以下余白)暴」 ■     ■     ■     ■ただし、主走
査方向はA→B−)Cの方向で、副走査方向はA+D−
+Gの方向である。したがって、画素A、n、c(A′
、s′、c’ )は中心画素E(E’)よりも1ライン
前の画素であり、画素G、II、I(G’、II’、I
’)は中心画素E(IE’)よりも1ライン後の画素で
あり1画素D(D′)は中心画素E(E’)よりも1つ
前の画素であり、画素F(F’)は中心画素E(E’)
よりも1つ後の画素である。
That is, for example, when the red image signal RD and the black and white image signal 8v are distributed in the main scanning direction and the sub-scanning direction in the pattern shown in Table 1, the center pixel may be corrected to a white pixel. In this example, an area of 3 pixels each in the main scanning direction and sub-scanning direction is considered as one judgment unit, and if there are 4 or more red pixels around the center pixel of that area, the center pixel is considered as a white pixel. It is determined. Note that there are many patterns that satisfy this condition, and Table 1 shows four representative ones among them. (The following margins are blank) ■ ■ ■ ■However, the main scanning direction is A→B-)C, and the sub-scanning direction is A+D-
The direction is +G. Therefore, pixels A, n, c (A'
, s', c') are pixels one line before the center pixel E (E'), and pixels G, II, I (G', II', I
') is the pixel one line after the center pixel E (IE'), one pixel D (D') is the pixel one line before the center pixel E (E'), and pixel F (F') is the center pixel E (E')
This is the pixel after .

なお、この実施例における、赤色画信号RDと白黒両信
号otyの論理状態の組み合わせと、赤画素。
In addition, in this example, the combination of the logical states of the red image signal RD and both black and white signals oty, and the red pixel.

白画素および黒画素の判別結果の関係を表2に示す。(
以下余白) 退フ 第4図は、上述した本発明の原理を実現する、本発明の
一実施例にかかる画像読取装置を示している。なお、同
図では本発明に直接関係しないラインイメージセンサ8
,9の駆動制御系および副走査機構等の制御系を省略し
ている。
Table 2 shows the relationship between the discrimination results for white pixels and black pixels. (
4 shows an image reading device according to an embodiment of the present invention, which realizes the principle of the present invention described above. In addition, in the figure, a line image sensor 8 which is not directly related to the present invention is shown.
, 9 and control systems such as the sub-scanning mechanism are omitted.

同図において、ラインイメージセンサ8,9から出力さ
れた画信号Pi、P2は、切換器11.12によって。
In the figure, image signals Pi and P2 output from line image sensors 8 and 9 are switched by switchers 11 and 12.

白波形メモリ13.14あるいは正規化回路15.16
のいずれかに加えられる。
White waveform memory 13.14 or normalization circuit 15.16
can be added to either.

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

また、切換器11.12は、上記した制御手段により、
読取原稿lの画像を読み取るときには正規化回路15.
16を選択するように切り換えられる。
Moreover, the switching devices 11 and 12 are controlled by the above-mentioned control means.
When reading the image of the original document l, the normalization circuit 15.
16 can be selected.

正規化回路15.16は、読取原稿1を読み取ったとき
に得られた画信号PL、P2を、その画信号PI、I’
2と同期して白波形メモリ13.14から加えられる信
1号を基準としてレベル変換するとともに、対応するデ
ジタル信号に変換する機能を備えており、この正規化回
路15.16によって、赤フィルタ6とシアンフィルタ
フの透過率の差が吸収される。
The normalization circuits 15 and 16 convert the image signals PL and P2 obtained when reading the original document 1 into image signals PI and I'.
It has a function of converting the level of the signal 1 applied from the white waveform memory 13.14 in synchronization with the white waveform memory 13.2 and converting it into a corresponding digital signal. The difference in transmittance between the cyan filter and the cyan filter is absorbed.

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

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

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

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

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

この判断103の結果がYESになるときには、当該画
素が赤画素であるので1色演算回路20は赤色画信号R
1に論理レベル「1」をセットしく処理104)、この
画素に対応する白黒画信号旧には[論理レベル「0」を
セットして(処理105)、赤色画信号R1および白黒
画信号旧を出力する。
When the result of this judgment 103 is YES, since the pixel in question is a red pixel, the one-color calculation circuit 20 outputs the red pixel signal R.
1 to the logic level "1" (process 104), and set the logic level "0" to the black and white image signal old corresponding to this pixel (process 105), and set the red image signal R1 and the black and white image signal old to Output.

判断102の結果がNOになるとき、および、判断10
3の結果がNoになるときは、当該画素が赤画素以外、
すなわち、白画素か黒画素のいずれかなので、赤色画信
号R1には非赤であることをあられす論理レベル「0」
をセットしく処理106) 、白黒画信号atには信号
Cを所定のスレッシュレベルで二値化した結果の論理レ
ベルをセットして(二値化処理107)、それぞれ出力
する。
When the result of decision 102 is NO, and
If the result of step 3 is No, the pixel in question is other than a red pixel,
In other words, since it is either a white pixel or a black pixel, the red pixel signal R1 has a logic level "0" indicating that it is not red.
106), and the logic level of the result of binarizing the signal C at a predetermined threshold level is set for the black and white image signal at (binarization processing 107), and these are output.

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

色演算回路20から出力された赤色画信号R1はシフト
レジスタ31および!ライン分の赤色画信号R1を記憶
できる容量のラインバッファ32に加えられ。
The red image signal R1 output from the color calculation circuit 20 is sent to the shift register 31 and! It is added to a line buffer 32 having a capacity capable of storing a line's worth of red image signals R1.

ラインバッファ32の出力はシフトレジスタ33および
ラインバッファ34に加えられ、ラインバッファ34の
出力はシフトレジスタ35に加えられている。
The output of line buffer 32 is applied to shift register 33 and line buffer 34, and the output of line buffer 34 is applied to shift register 35.

また1色演算回路20から出力された白黒画信号旧はシ
フトレジスタ36およびラインバッファ37に加えられ
、ラインバッファ37の出力はシフトレジスタ38およ
びラインバッファ39に加えられ、ラインバッファ39
の出力はシフトレジスタ40に加えられている。
Furthermore, the black and white image signal old output from the one-color calculation circuit 20 is applied to a shift register 36 and a line buffer 37, and the output of the line buffer 37 is applied to a shift register 38 and a line buffer 39,
The output of is applied to a shift register 40.

これらのラインバッファ32,34,37.39へのア
ドレスの指定はアドレスカウンタ41から出力されるア
ドレスデータDAによりなされ、書き込み/読み出しの
制御は書き込み読み出し制御部42から出力される制御
信号R11lによりなされる。また、シフトレジスタ3
1,33,35,36,38,40には、アドレスカウ
ンタ41から出力されるシフトクロックCPが加えられ
ている。
Addresses to these line buffers 32, 34, 37, and 39 are specified by address data DA output from the address counter 41, and writing/reading is controlled by a control signal R11l output from the write/read controller 42. Ru. Also, shift register 3
The shift clock CP output from the address counter 41 is added to 1, 33, 35, 36, 38, and 40.

アドレスカウンタ41および書き込み読み出し制御部4
2は、図示しない制御部から出力されるクロック信号C
Kl、CK2および制御信号CLによってその動作が制
御される。
Address counter 41 and write/read controller 4
2 is a clock signal C output from a control section (not shown)
Its operation is controlled by Kl, CK2 and control signal CL.

このようにして、シフトレジスタ31に加えられている
ラインよりも1ライン前の赤色画信号旧がラインバッフ
ァ32からシフトレジス′933に、2ライン前の赤色
画信号旧がラインバッファ34からシフトレジスタ35
にそれぞれ加えられ、また、シフトレジスタ36に加え
られているラインよりもlライン前の白・黒画信号旧が
ラインバッファ37からシフトレジスタ38に、2ライ
ン前の白黒画信号B1がラインバッファ39からシフト
レジスタ40に加えられている。
In this way, the red image signal old one line before the line being added to the shift register 31 is transferred from the line buffer 32 to the shift register '933, and the old red image signal two lines before the line added to the shift register 31 is transferred from the line buffer 34 to the shift register 35.
In addition, the white and black image signals old one line before the line added to the shift register 36 are transferred from the line buffer 37 to the shift register 38, and the black and white image signal B1 two lines before is transferred from the line buffer 39 to the line buffer 39. is added to the shift register 40 from.

したがって、シフトレジスタ31からは画素G 、 1
1 。
Therefore, from the shift register 31, the pixel G, 1
1.

■に対応した赤色画信号R1が、シフトレジスタ33か
らは画素り、E、Fに対応した赤色画信号R1が、シフ
トレジスタ35からは画素A、B、Cに対応した赤色画
信号R1が、シフトレジスタ36からは画素G’、II
’。
A red image signal R1 corresponding to pixels A, B, and C is sent from the shift register 33, a red image signal R1 corresponding to pixels E and F is sent from the shift register 35, and a red image signal R1 corresponding to pixels A, B, and C is sent from the shift register 35. From the shift register 36, pixels G', II
'.

■2に対応した白黒画信号B1が、シフトレジスタ38
からは画素D’ 、E’ 、F’に対応した白黒画信号
旧が、シフ1−レジスタ40からは画素A’ 、B’ 
、C’に対応した白黒画信号B1がそれぞれ出力される
■The black and white image signal B1 corresponding to 2 is sent to the shift register 38.
From shift 1 register 40, black and white image signals corresponding to pixels D', E', and F' are output, and from shift 1 register 40, pixels A' and B' are output.
, C' are respectively output.

そして、画素^、B、C,D、[E、F、G、+(、I
に対応した赤色画信号R1と、画素E′に対応した白黒
両信号B1がROM (リード・オンリ・メモリ)44
に加えられている。
Then, the pixels ^,B,C,D,[E,F,G,+(,I
A red pixel signal R1 corresponding to the pixel E' and both black and white signals B1 corresponding to the pixel E' are stored in a ROM (read only memory) 44.
has been added to.

また、画素D’ 、E’に対応した白黒画信号B1は排
他的論理和回路45に、画素B’ 、H’に対応した白
黒画信号B1は排他的論理和回路46にそれぞれ加えら
れており、これらの排他的論理和回路46.47の出力
はROM44に加えられている。なお、ここでいう画素
A−I、A’〜■′は、表2における各画素に相当する
Further, the black and white image signals B1 corresponding to pixels D' and E' are applied to an exclusive OR circuit 45, and the black and white image signals B1 corresponding to pixels B' and H' are applied to an exclusive OR circuit 46, respectively. , the outputs of these exclusive OR circuits 46 and 47 are added to the ROM 44. Note that the pixels A-I and A' to ■' here correspond to each pixel in Table 2.

ROM44は、表2に示した関係に基づいて中心画素E
に対応した赤色画信号R1の論理状態と中心画素E′に
対応した白黒画信号B1の論理状態の組合せから、当該
画素が赤画素であるか、白画素であるか、黒画素である
かを判別するとともに、表1に一部を例示した関係を検
出すると当該画素を白画素として判別する論理演算を実
行し、その結果を、赤色側(,4号RDおよび白黒画信
号BWとして出力する。
The ROM 44 stores the center pixel E based on the relationship shown in Table 2.
Based on the combination of the logical state of the red pixel signal R1 corresponding to the center pixel E' and the logical state of the black and white pixel signal B1 corresponding to the center pixel E', it is determined whether the pixel is a red pixel, a white pixel, or a black pixel. At the same time, when a relationship partially exemplified in Table 1 is detected, a logical operation is performed to determine the pixel as a white pixel, and the result is output as a red side (No. 4 RD and black and white image signal BW).

このようにして、シフトレジスタ31,33,35,3
6゜38.40、ラインバッファ32,34,37,3
9、アドレスカウンタ42.書き込み読み出し制御部4
3.ROM44゜および、排他的論理和回路45.46
により、色演算回路20の出力から各画素の色を判別す
るとともに赤色に近い色を読み取ったときの読取画像を
補正する色判定回路30が形成されている。
In this way, shift registers 31, 33, 35, 3
6°38.40, line buffer 32, 34, 37, 3
9. Address counter 42. Write/read control unit 4
3. ROM44° and exclusive OR circuit 45.46
Thus, a color determination circuit 30 is formed which determines the color of each pixel from the output of the color calculation circuit 20 and corrects a read image when a color close to red is read.

したがって、例えば第3図(a)に示したようなくすん
だ色の読取画像は、同図(b)に示したようにすっきり
とした色調の画像に修正される。ただし、第3図(a)
、(b)に示した四角の領域の外側は全て白画像である
Therefore, for example, a read image with a dull color as shown in FIG. 3(a) is corrected to an image with a clear tone as shown in FIG. 3(b). However, Fig. 3(a)
, (b) are all white images.

ところで、このように赤色に近い色の部分をすっきりと
した色調に補正する処理では、白黒画信号旧は中心画素
E′のもののみを参照すればよいが。
By the way, in this process of correcting the color portion close to red to a clear tone, it is sufficient to refer only to the central pixel E' as the black and white image signal old.

上述した実施例では、中心画素E(E’)の前後の画像
の状態を参照した画像処理をROM44で行なうことが
できように、画素D’ 、F’ 、B’ 、■’の状態
を排他的論理和回路45.46を介して入力している。
In the embodiment described above, the states of pixels D', F', B', and ■' are excluded so that the ROM 44 can perform image processing that refers to the states of images before and after the center pixel E (E'). It is input via logical OR circuits 45 and 46.

なお、その画像処理とは1例えば赤白の画像に発生する
擬似黒画素および白黒の画像に発生する擬似赤画素を除
去する補正処理であり、ROM44の上位ビット入力を
切り換えることによってそれぞれの補正処理を切り換え
ることができる。
Note that the image processing is a correction process that removes, for example, pseudo black pixels that occur in red and white images and pseudo red pixels that occur in black and white images, and each correction process is performed by switching the upper bit input of the ROM 44. can be switched.

なお、上述した実施例では、主走査方向および副走査方
向に3画素ずつ切り出した領域について、その領域の中
心画素の周辺に位置する赤画素の数に基づく補正処理を
行なっているが、この切り出す領域および中心画素を白
画素に補正するための基準となる赤画素の数は、上述し
たものに限ることはない。
In addition, in the above-mentioned embodiment, correction processing is performed based on the number of red pixels located around the center pixel of the area for areas cut out by three pixels in the main scanning direction and the sub-scanning direction. The number of red pixels that serve as a reference for correcting the area and the center pixel to white pixels is not limited to the above-mentioned number.

またさらに、上述した実施例では、色演算回路で二値化
処理まで行ない、この二値化した赤色画信号および白黒
画信号によって擬似赤画素の発生を検出しているが、こ
の検出は多値信号のままでも行なうことができる。
Furthermore, in the embodiment described above, the color calculation circuit performs the binarization process, and the occurrence of pseudo red pixels is detected using the binarized red image signal and black and white image signal. This can be done even with the signal intact.

なお、上述した実施例では画像の赤色を判別しているが
、これ以外の色を判別する装置にも本発明を適用するこ
とができる。また画像を色成分に分光する手段も上述し
たものに限ることはない。
Note that although the above-described embodiment discriminates the red color of an image, the present invention can also be applied to a device that discriminates other colors. Further, the means for dividing an image into color components is not limited to the above-mentioned method.

[効果] 以上説明したように、本発明によれば、画像を判別色と
その補色にそれぞれ分光してラインイメージセンサで光
電変換させ、これらのラインイメージセンサの出力信号
の画素毎の比較によって当該画素が判別色のものである
か否かを判別するとともに、その判別がなされた画素に
ついては判別色の画信号と補色の画信号に所定の演算を
施すことにより判別色に対応した色画信号を形成し、そ
れ以外の画素は白黒画素と判別して補色の画信号を白黒
画信号として出力し、さらに、黒画素と判別された画素
の周囲に判別色と判別された画素が所定数以上位置して
いるときには、この画素を白画素に補正して画質を向上
させているので、白黒成分以外の所定の色成分を確実に
かつ高い品質で読み取ることができるという利点を得る
[Effects] As explained above, according to the present invention, an image is separated into a discrimination color and its complementary color and photoelectrically converted by a line image sensor, and the output signals of these line image sensors are compared pixel by pixel to determine the relevant color. It is determined whether a pixel is of a discrimination color or not, and for pixels for which the discrimination has been made, a color image signal corresponding to the discrimination color is generated by performing a predetermined calculation on the image signal of the discrimination color and the image signal of the complementary color. , other pixels are determined to be black and white pixels, and a complementary color image signal is output as a black and white image signal.Furthermore, pixels determined to be a black pixel are surrounded by a predetermined number or more of pixels determined to be a discrimination color. When the pixel is located, the image quality is improved by correcting this pixel to a white pixel, which provides the advantage that a predetermined color component other than the black and white component can be read reliably and with high quality.

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

第1図は本発明の一実施例にかかる画像読取装置の光学
系の一例を示した概略構成図、第2図は赤色を判別する
原理を説明するためのグラフ図、第3図(a)は赤色に
近い色を読み取ったときの読取画像の一例を示した概略
図、同図(b)は本実施例の補正処理後の画像を例示し
た概略図、第4図は本発明の一実施例にかかる装置の一
例を示したブロック図、第5図は色演算回路の処理例を
示したフローチャートである。 6・・・赤フィルタ、7・・・シアンフィルタ。 8.9・・・ラインイメージセンサ、11.12・・・
切換器。 13、l/l・・・白波形メモリ、15.16・・・正
規化回路、20・・・色演算回路、30・・・色判定回
路、31.33,35,36,38.40・・・シフト
レジスタ。 32.34,37.39・・・ラインバッファ、42・
・・アドレスカウンタ、43・・・書き込み読み出し制
御部。 44・・・ROM (リード・オンリ・メモリ)、 4
5.46・・・排他的論理和回路。 代理人 弁理士  紋 日  誠 第1図 第2図 U4亦爪号] 第3図 (a) (b)
FIG. 1 is a schematic configuration diagram showing an example of an optical system of an image reading device according to an embodiment of the present invention, FIG. 2 is a graph diagram for explaining the principle of determining red color, and FIG. 3(a) 4 is a schematic diagram illustrating an example of a read image when a color close to red is read, FIG. FIG. 5 is a block diagram showing an example of the apparatus according to the example, and a flowchart showing an example of processing of the color calculation circuit. 6...Red filter, 7...Cyan filter. 8.9...Line image sensor, 11.12...
Switcher. 13, l/l... White waveform memory, 15.16... Normalization circuit, 20... Color calculation circuit, 30... Color judgment circuit, 31.33, 35, 36, 38.40. ...Shift register. 32.34, 37.39... line buffer, 42.
. . . address counter, 43 . . . write/read control unit. 44...ROM (read only memory), 4
5.46...Exclusive OR circuit. Agent Patent attorney Makoto Hijiri Figure 1 Figure 2 U4 亦闦名] Figure 3 (a) (b)

Claims (1)

【特許請求の範囲】[Claims] 読取線上の画像光を所定の第1の色とこの第1の色の補
色の第2の色に分光する分光手段と、上記第1の色と上
記第2の色の画像光を受光して各画素に対応した画信号
を出力する2つのラインイメージセンサと、これらのラ
インイメージセンサから出力された画信号の比較に基づ
いて上記第1の色を判別する色判別手段と、この色判別
手段から判別出力があった画素については上記両信号か
ら上記第1の色に対応した色画信号を算出するとともに
上記色判別手段からの判別出力がない画素を白黒画素と
して判別し上記第2の色に対応した画信号を白黒画信号
として出力する色分解手段と、この色分解手段で黒画素
として判別された画素の周辺に上記第1の色として判別
された画素が所定数以上位置しているとき当該画素を白
画素に補正する色補正手段を備えたことを特徴とする画
像読取装置。
a spectroscopy means for separating the image light on the reading line into a predetermined first color and a second color complementary to the first color; and receiving the image light of the first color and the second color. two line image sensors that output image signals corresponding to each pixel; a color discrimination means that discriminates the first color based on a comparison of the image signals output from these line image sensors; and this color discrimination means. For pixels for which there is a discrimination output from the above, a color image signal corresponding to the first color is calculated from the above two signals, and pixels for which there is no discrimination output from the color discrimination means are discriminated as black and white pixels, color separation means for outputting an image signal corresponding to the black and white image signal as a black and white image signal; and a predetermined number or more of pixels determined as the first color are located around the pixels determined as black pixels by the color separation means. An image reading device comprising: a color correction means for correcting the pixel to be a white pixel.
JP61028020A 1986-02-13 1986-02-13 Image reader Expired - Fee Related JPH0693730B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61028020A JPH0693730B2 (en) 1986-02-13 1986-02-13 Image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61028020A JPH0693730B2 (en) 1986-02-13 1986-02-13 Image reader

Publications (2)

Publication Number Publication Date
JPS62188465A true JPS62188465A (en) 1987-08-18
JPH0693730B2 JPH0693730B2 (en) 1994-11-16

Family

ID=12237068

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61028020A Expired - Fee Related JPH0693730B2 (en) 1986-02-13 1986-02-13 Image reader

Country Status (1)

Country Link
JP (1) JPH0693730B2 (en)

Also Published As

Publication number Publication date
JPH0693730B2 (en) 1994-11-16

Similar Documents

Publication Publication Date Title
US5134666A (en) Image separator for color image processing
JPS6363149B2 (en)
US4591905A (en) Color image data processing device for correcting red ghosts of black images
JPH0129113B2 (en)
JPS5923969A (en) Picture signal processing device
JPS62188465A (en) Image reader
JPH0773319B2 (en) Color reader
JPS62186652A (en) Picture reader
JPS62186653A (en) Picture reader
JPS62133866A (en) Picture reader
US7113647B2 (en) Removal of background noise of image data by an image processing device or image reading apparatus
JPH0369230B2 (en)
JPH04252667A (en) Color image reader
JP3792402B2 (en) Image processing apparatus, binarization method, and machine-readable recording medium recording a program for causing a computer to execute the binarization method
JP3096042B2 (en) Color image reader
JP3147234B2 (en) Color image reader
JPH0267689A (en) Image signal processor
JP2507948B2 (en) Image area identification device
JPH02135584A (en) Color discriminating circuit
JPS62136170A (en) Color reader
JPS61269570A (en) Color discriminator
JPH0433071A (en) Picture area identifying system for picture processor
JPS63306771A (en) Image data processor
JPS62230166A (en) Two-color original reader
JPS62195981A (en) Picture reader

Legal Events

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