JPS62186653A - Picture reader - Google Patents

Picture reader

Info

Publication number
JPS62186653A
JPS62186653A JP61028019A JP2801986A JPS62186653A JP S62186653 A JPS62186653 A JP S62186653A JP 61028019 A JP61028019 A JP 61028019A JP 2801986 A JP2801986 A JP 2801986A JP S62186653 A JPS62186653 A JP S62186653A
Authority
JP
Japan
Prior art keywords
color
pixel
white
image
black
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
JP61028019A
Other languages
Japanese (ja)
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 JP61028019A priority Critical patent/JPS62186653A/en
Publication of JPS62186653A publication Critical patent/JPS62186653A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To ensure the reading of a prescribed color component by correcting a picture of a discriminated color into a white or black picture at the time of the part of the discriminated color is positioned singly at the part of black/ white picture. CONSTITUTION:A picture is spectrally diffracted into a discriminated color and its complementary color respectively, the result is photoelectrically transduced by line image sensors 8, 9, and whether or not the discriminated color is decided by comparing the output signal of the line image sensors by picture element. As to the picture element discriminated, a color picture signal is formed by applying a prescribed calculation 20 to a discriminated color picture signal and a complementary color picture signal and the complementary color picture signal is outputted as a black/white picture signal. If the discriminated color picture element is detected in a pseudo way in the part of the black/white picture, exclusive OR circuits 45, 46 convert a pseudo red picture element into a white or black picture element for the output.

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.

例えば、ファクシミリ装置で伝送する送信原稿に、朱書
、捺印あるいは赤色でアンダーラインが引いである場合
、この赤色情報を出力できれば、より効果的な画情報伝
送が可能になる。
For example, if a transmission document to be transmitted by a facsimile machine has red writing, 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例えば5赤色を
判別するために赤色フィルタで分光してラインイメージ
センサに結像した場合を考えると、赤成分をある程度以
上含んでいる色例えばマゼン夕の画像を読み取ったとき
にラインイメージセンサの出力レベルが所定のスレッシ
ュレベルを越えて赤色として判別されることがあり、こ
のため、視覚的に赤色と判別される色以外の色も赤色と
して判別されてしまうという不都合があった。
However, in such a conventional method, if we consider the case where a red color is separated by a red filter and an image is formed on a line image sensor in order to distinguish red, for example, an image of a color containing more than a certain amount of red components, such as magenta, is read. When the output level of the line image sensor exceeds a predetermined threshold level, it may be determined as red, which is an inconvenience in that colors other than colors that are visually recognized as red are also recognized as red. was there.

また、一般的な原稿の背景色は白色であり、したがって
、背景を読み取ったときのラインイメージセンサの出力
レベルが最も大きくなる。そのために、上述のように赤
成分の受光信号のみから赤色画信号を形成した場合、赤
色部分を読み取ったときのラインイメージセンサの出力
レベルが白色の部分のレベルと近接するために、画像の
赤色が不鮮明であったり薄かったりする部分は赤色と判
別されずに白色と判別されるという不都合も生じていた
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.

[構成] 本発明は、この目的を達成するために、画像を判別色と
その補色にそれぞれ分光してラインイメージセンサで光
電変換させ、これらのラインイメージセンサの出力信号
の画素毎の比較によって当該画素が判別色のものである
か否かを判別するとともに、その判別がなされた画素に
ついては判別色の画信号と補色の画信号に所定の演算を
施すことにより、判別色に対応した色画信号を形成し。
[Structure] 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. 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 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. form a signal.

それ以外の画素は白黒画素と判別して補色の画信号を白
黒画信号として出力している。また、光学系の読取誤差
が原因して白黒画像の部分に擬似的にあられれる判別色
の画素を白画素または黒画素にに補正して画質を向上さ
せている。
Other pixels are determined to be black and white pixels, and complementary color image 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図は、本発明の一実施例にかかる画像読取装置の光
学系を示しており、この実施例では赤色を判別色として
いる。
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.

同図において、読取原稿1は、その読取線上の画像が光
源2によって照明され、その読取線から反射される画像
光は、鏡3によって反射されてレンズ4に導かれ、さら
に、ハーフミラ−あるいはプリズム等の光束分割装置5
によって2つに分岐される。
In the figure, an original to be read 1 is illuminated with an image on its reading line 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, and then a half mirror or prism. A luminous flux splitting device 5 such as
It is divided into two parts.

このようにして分岐された画像光は、赤成分を透過させ
る赤フィルタ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は、例えば580nn+を透過限界
波長とし、それ以上の波長の光を透過させる特性をもち
、また、シアンフィルタ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 of wavelengths higher than that, and the cyan filter 7 has a transmission limit wavelength of, for example, 620 nm, and has a characteristic of transmitting light of wavelengths lower than that. It has the property of being transparent.

さて、このようにして画像を赤成分とその補色であるシ
アン成分に分光したとき、全ての色はこの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. .

そこで、市販されている赤色の筆記用具等の色サンプル
について赤成分とシアン成分のレベルを計測したところ
、これらの色サンプルのものは第2図の斜線部に位置す
ることがわかった。なお、第2図においては、最も受光
レベルが大きくなる原稿の背景の白色部分を読み取った
ときのラインイメージセンサ8,9の出力レベルを1と
して、実際の画像を読み取ったときのラインイメージセ
ンサ8.9の出力レベルを正規化してあられしている。
Therefore, when we measured the levels of the red component and cyan component of commercially available color samples such as red writing utensils, 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.

Kc/Kr< a 、Kr>β ただし、Kcは正規化されたシアン成分のレベル(すな
わちラインイメージセンサ9の出力レベル)、Krは正
規化された赤成分のレベル(すなわちラインイメージセ
ンサ8のレベル)をあられす。また、実測によればα=
0.4.  β=0.4である。なお、この値は上述し
たような特性の赤フィルタ6およびシアンフィルタ7を
用いた場合であり、特性の異なるフィルタを用いた場合
には、この数値が変わる場合がある。
Kc/Kr<a, Kr>β where Kc is the normalized level of the cyan component (i.e., the output level of the line image sensor 9), and Kr is the level of the normalized red component (i.e., the level of the line image sensor 8). ) Hail. 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, the line image sensor 8 is used for each 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.

ところで、このように画像を2つのラインイメージセン
サ8,9で読み取った場合、おのおののラインイメージ
センサ8,9における読取位置がずれることがある。例
えば、副走査方向に読取位置がずれると同一の画像を読
めなくなり、また、ラインイメージセンサ8,9のそれ
ぞれで縮率および読取開始位置がずれた場合には、同一
の画像を読み取っていても数ビツト読取位置がずれる。
By the way, when an image is read by the two line image sensors 8 and 9 in this way, the reading positions of the respective line image sensors 8 and 9 may shift. For example, if the reading position shifts in the sub-scanning direction, the same image cannot be read, and if the reduction ratio and reading start position of each of the line image sensors 8 and 9 shifts, even if the same image is read. The reading position is shifted by several bits.

通常は、ラインイメージセンサ8,9の取付位置や縮率
を調整してラインイメージセンサ8,9の位置ずれ自体
を修正しているが、1ビット程度の小さいずれを確実に
位置合せすることは非常に困難であり、1ビット程度の
ずれが残る場合がある。
Normally, the positional deviation of the line image sensors 8 and 9 is corrected by adjusting the mounting position and reduction ratio of the line image sensors 8 and 9, but it is impossible to reliably align a small deviation of about 1 bit. This is extremely difficult and may leave a difference of about 1 bit.

そこで、例えば、ラインイメージセンサ8,9の副走査
方向の読取位置が同一で、ラインイメージセンサ8の読
取開始位置がラインイメージセンサ9の読取開始位置よ
りも1ビット先行しているとすると、第3図(a)に示
したような白黒画像を読み取ったときのラインイメージ
センサ8およびラインイメージセンサ9の出力レベル(
正規化されたもの)は、同図(b)および(c)に示し
たように変化する。
Therefore, for example, if the reading positions of line image sensors 8 and 9 in the sub-scanning direction are the same, and the reading start position of line image sensor 8 is one bit ahead of the reading start position of line image sensor 9, then 3. Output levels of the line image sensor 8 and line image sensor 9 when reading a black and white image as shown in Figure 3(a) (
(normalized) changes as shown in (b) and (c) of the figure.

このとき、上述の判断基準により算出した赤色画信号R
Dおよび白黒画信号BWは同図(d)、(e)のように
なり、したがって、黒画素から白画素に画像が変化する
点に擬似的な赤画素があられれる9その結果、読取画像
を記録したとき、白黒画像に赤画素が点在するという不
都合を生じる。
At this time, the red image signal R calculated according to the above-mentioned criteria
D and the monochrome image signal BW become as shown in (d) and (e) in the same figure, and therefore, a pseudo red pixel is inserted at the point where the image changes from a black pixel to a white pixel9.As a result, the read image When recorded, a problem arises in that red pixels are scattered in a black and white image.

ここで、赤色画信号RDと白黒画信号BWの論理状態の
組み合わせと、赤画素、白画素および黒画素の判別結果
を表1に示す。
Here, Table 1 shows the combinations of the logical states of the red pixel signal RD and the black and white pixel signal BW, and the discrimination results of red pixels, white pixels, and black pixels.

」 かかる不都合を解消するためには、白黒画像に単独で赤
画素として判別されている画素があられれているときに
は、その赤画素を擬似赤画素として判断し、この擬似赤
画素を白画素あるいは黒画素に補正する補正処理を実行
すればよい。
” In order to solve this problem, when a pixel that is independently identified as a red pixel appears in a monochrome image, that red pixel is determined to be a pseudo red pixel, and this pseudo red pixel is replaced with a white pixel or a black pixel. It is sufficient to perform correction processing to correct the pixels.

すなわち、例えば主走査方向および副走査方向に表2に
示したようなパタンで赤色画信号RDおよび白黒画信号
8すがあられれるとき、その中心画素を擬似赤画素とし
て判断し、その画素を白画素に補正すればよい。なお、
この例では主走査方向および副走査方向にそれぞれ3画
素の領域を1つの判断単位としているが、この領域の切
り出しはこれ以外のものでもよい。
That is, for example, when the red image signal RD and the black and white image signal 8 are distributed in the main scanning direction and the sub-scanning direction in the pattern shown in Table 2, the center pixel is determined to be a pseudo red pixel, and that pixel is determined as a white pixel. All you have to do is correct it pixel wise. In addition,
In this example, an area of three pixels in each of the main scanning direction and the sub-scanning direction is used as one judgment unit, but this area may be cut out in other ways.

獣 ■   ■   ■   ■ ただし、主走査方向はA−+84Cの方向で、副走査方
向はA−+D)Gの方向である。したがって、画素A、
B、C(A’ 、B’ 、C”)は中心画素E(E’)
よりもlライン前の画素であり、画素G、H,T(G’
 、H’ 、I’ )は中心画素E(E’)よりも1ラ
イン後の画素であり、画素D(D′)は中心画素E(E
’)よりも1つ前の画素であり、画素F(F’)は中心
画素E(E’)よりも1つ後の画素である。また表2で
「/」で示した画泰は、擬似赤画素を判別するときに直
接関係しない画素であることをあられしている。
Beast ■ ■ ■ ■ However, the main scanning direction is the direction of A-+84C, and the sub-scanning direction is the direction of A-+D)G. Therefore, pixel A,
B, C (A', B', C'') are central pixels E (E')
It is a pixel l lines before the pixel G, H, T (G'
, H', I') are the pixels one line after the center pixel E (E'), and the pixel D (D') is the pixel after the center pixel E (E').
'), and pixel F (F') is one pixel after the center pixel E (E'). Furthermore, the pixels indicated by "/" in Table 2 indicate that the pixels are not directly related to the determination of pseudo-red pixels.

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

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

切換器11.12は、図示しない制御手段により。The switching devices 11 and 12 are controlled by control means (not shown).

基準の白画像(例えば白色原稿等)を読み取るときには
白波形メモリ13.14を選択するように切り換えられ
ている。これにより、このときラインイメージセンサ8
,9から出力される画信号Pi、P2は白波形メモリ1
3.14に記憶される。
When reading a reference white image (for example, a white original), the white waveform memories 13 and 14 are selected. As a result, at this time, the line image sensor 8
, 9 output the image signals Pi and P2 from the white waveform memory 1.
3.14.

また、切換器11.12は、上記した制御手段により4
読取原稿1の画像を読み取るときには正規化回路15.
16を選択するように切り換えられる6正規化回路15
.16は、読取原稿1を読み取ったときに得られた画信
号Pi、P2を、その画信号PL、P2と同期して白波
形メモリ13.14から加えられる信号を基準としてレ
ベル変換するとともに、対応するデジタル信号に変換す
る機能を備えており、この正規化回路15.16によっ
て、赤フィルタ6とシアンフィルタフの透過率の差が吸
収される。
Further, the switching devices 11 and 12 are controlled by the above-mentioned control means.
When reading the image of the original document 1, the normalization circuit 15.
6 normalization circuit 15 switched to select 16
.. 16 converts the level of the image signals Pi and P2 obtained when reading the original 1 using the signals added from the white waveform memory 13 and 14 in synchronization with the image signals PL and P2 as a reference, and The normalization circuits 15 and 16 absorb the difference in transmittance between the red filter 6 and the cyan filter.

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

そして、正規化回路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および白
黒画信号Blを形成する。
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 Bl.

すなわち、まず、入力した信号R,Cの比にを演算しく
処理101)、その比Kが所定値αよりも大きいか否か
を判別する(判断102)。
That is, first, the ratio 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の結果が’/ESになるときには、当該
画素が赤画素であるので、色演算回路20は赤色画信号
R1に論理レベルrlJをセットしく処理104)、こ
の画素に対応する白黒画信号B1には、論理レベル「0
」をセットして(処理105) 、赤色画信号R1およ
び白黒画信号B1を出力する6 判断102の結果がNOになるとき、および1判断10
3の結果がNOになるときは、当該画素が赤画素以外、
すなわち、白画素か黒画素のいずれかなので、赤色画信
号R1には非赤であることをあられす論理レベル「O」
をセットしく処理106)、白黒画信号B1には信号C
を所定のスレッシュレベルで二値化した結果の論理レベ
ルをセットして(二値化処理107)、それぞれ出力す
る。
When the result of this judgment 103 is '/ES, the pixel in question is a red pixel, so the color calculation circuit 20 sets the logic level rlJ to the red pixel signal R1 (104), and outputs the black and white pixel signal corresponding to this pixel. B1 has logic level “0”.
” (processing 105), and outputs the red image signal R1 and the monochrome image signal B1.6 When the result of judgment 102 is NO, and 1 judgment 10
If the result of step 3 is NO, the pixel in question is other than a red pixel,
That is, since it is either a white pixel or a black pixel, the red pixel signal R1 has a logic level "O" indicating that it is not red.
106), and the signal C is set for the monochrome image signal B1.
is binarized at a predetermined threshold level, the logic level of the result is set (binarization processing 107), and each is output.

このようにして、読取原稿1における画像の赤色成分お
よび白黒成分が、それぞれ赤色画信号R1および白黒画
信号B1に変換されて出力される。
In this way, the red component and 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 B1, respectively, and are output.

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

また、色演算回路20から出力された白黒画信号ntは
シフトレジスタ36およびラインバッファ37に加えら
れ、ラインバッファ37の出力はシフトレジスタ38お
よびラインバッファ39に加えられ、ラインバッファ3
9の出力はシフトレジスタ40に加えられている。
Further, the black and white image signal nt output from the 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 9 is applied to a shift register 40.

これらのラインバッファ32,34,37.39へのア
ドレスの指定はアドレスカウンタ41から出力されるア
ドレスデータDAによりなされ、書き込み/読み出しの
制御は書き込み読み出し制御部42から出力される制御
信号RWによりなされる。また、シフトレジスタ31,
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 an address counter 41, and writing/reading is controlled by a control signal RW output from a write/read controller 42. Ru. In addition, the shift register 31,
The shift clock CP output from the address counter 41 is added to 33, 35, 36, 38, and 40.

アドレスカウンタ41および書き込み読み出し制御部4
2は、図示しない制御部から出力されるクロック信号C
KI、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 KI, CK2 and control signal CL.

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

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

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

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

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

また、画素D’、E’に対応した白黒画信号B1は排他
的論理和回路45に1画素11’、++’に対応した白
黒画信号B1は排他的論理和回路46にそれぞれ加えら
れており、これらの排他的論理和回路46.47の出力
はROM44に加えられている。なお、ここでいう画素
A−I、A’〜I′は1表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 11' and ++' are respectively applied to an exclusive OR circuit 46. , 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 I' herein correspond to each pixel in Table 1 and Table 2.

ROM44は、表1に示した関係に基づいて中心画素E
に対応した赤色画信号R1の論理状態と中心画素E′に
対応した白黒画信号B1の論理状態の組合せから、当該
画素が赤画素であるか、白画素であるか、黒画素である
かを判別するとともに1表2に示した関係を検出すると
当該画素を白画素として判別する論理演算を実行し、そ
の結果を、赤色画信号RDおよび白黒画信号BWとして
出力する。
The ROM 44 stores the center pixel E based on the relationship shown in Table 1.
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. When the relationship shown in Table 1 and Table 2 is detected, a logical operation is performed to determine the pixel as a white pixel, and the results are output as a red image signal RD and a black and white image signal BW.

このようにして、シフトレジスタ31,33,35,3
6゜38.40、ラインバッファ32,34,37,3
9、アドレスカウンタ42.書き込み読み出し制御部4
3. ROM44゜および、排他的論理和回路45.4
6により、色演算回路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.4
6 forms a color determination circuit 30 that determines the color of each pixel from the output of the color calculation circuit 20 and corrects pseudo red pixels.

ところで、排他的論理和回路45は、表2の場合■■を
検出し、排他的論理和回路46は表2の場合■■を検出
するものである。
By the way, the exclusive OR circuit 45 detects ■■ in the case of Table 2, and the exclusive OR circuit 46 detects ■■ in the case of Table 2.

すなわち、この実施例では画素の色判別を表1に示した
関係で行なっているので、赤色画信号R1と白黒画信号
B1が同時に「1」になる場合が存在しない。したがっ
て、画素D′とF′の論理状態が異なるとき、画素りが
「1」であれば画素D′は必ず「0」に、画素りがrO
Jであれば画素D′は必ず「1」になる。そのため、画
素D′とF’の論理状態が直接わからなくとも画素D′
とF′の論理状態が異なっていることさえ判れば表2の
場合■■を判別できる。
That is, in this embodiment, since pixel color discrimination is performed according to the relationship shown in Table 1, there is no case where the red image signal R1 and the black and white image signal B1 become "1" at the same time. Therefore, when the logic states of pixels D' and F' are different, if pixel R is "1", pixel D' is always "0", and pixel R is rO
J, the pixel D' will always be "1". Therefore, even if the logical states of pixels D' and F' are not directly known, pixel D'
As long as it is known that the logical states of and F' are different, it is possible to determine the case ■■ in Table 2.

そこで、排他的論理和回路45によって画素O′とF′
の白黒画信号B1の排他的論理和を形成し、その結果を
ROM44に入力させている。またさらに、画素H’ 
、B’についても同様な理由によりその論理状態が異な
っていることさえ判れば表2の場合■■を判別できるの
で、排他的論理和回路46により画素I+’とB′の白
黒画信号B1の排他的論理和を形成し、その結果をRO
M44に入力させている。また、これによりROM/1
4に必要な入力の数が減少し、 ROM44に必要な記
憶容量を抑制できる。
Therefore, the exclusive OR circuit 45 selects pixels O' and F'.
The exclusive OR of the black and white image signals B1 is formed and the result is input to the ROM 44. Furthermore, pixel H'
, B' for the same reason, as long as it is known that their logical states are different, it is possible to determine ■■ in Table 2. Form an exclusive OR and RO the result
I am inputting it into M44. Also, this allows ROM/1
The number of inputs required for the ROM 44 is reduced, and the storage capacity required for the ROM 44 can be suppressed.

なお、上述した実施例では、主走査方向および副走査方
向に3画素ずつ切り出した領域について。
In the above-described embodiment, the area is cut out by three pixels each in the main scanning direction and the sub-scanning direction.

その領域の中心画素に隣接する領域のパタンがら擬似赤
画素を判断しているが、この切り出す領域および擬似赤
画素として判断するパタンの組合せは、上述したものに
限ることはない。
Although the pseudo red pixel is determined based on the pattern of the area adjacent to the center pixel of the area, the combination of the area to be cut out and the pattern determined as the pseudo red pixel is not limited to the above.

また、上述した実施例では、擬似赤画素を検出するとそ
れを白画素に補正しているが、擬似赤画素を黒画素に補
正してもよい。さらに、擬似赤画素の周囲の白黒画像の
状態に応じて、擬似赤画素を白画素あるいは黒画素のい
ずれかに補正してもよい。
Further, in the above embodiment, when a pseudo red pixel is detected, it is corrected to a white pixel, but the pseudo red pixel may be corrected to a black pixel. Furthermore, the pseudo red pixel may be corrected to either a white pixel or a black pixel depending on the state of the black and white image surrounding the pseudo red pixel.

またさらに、上述した実施例では、色演算回路で二値化
処理まで行ない、この二値化した赤色画信号および白黒
画信号によって擬似赤画素の発生を検出しているが、こ
の検出は多値信号のままでも行なうことができる。
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, 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 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. , and other pixels are distinguished as black and white pixels, and complementary color image signals are output as black and white image signals.Furthermore, when a portion of the discrimination color is located independently in a portion of a black and white image, this pixel is Since the image quality is improved by correcting white pixels or black pixels, an advantage is obtained that predetermined color components other than black and white components can be read reliably and with high quality.

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

第1図は本発明の一実施例にかかる画像読取装置の光学
系の一例を示した概略構成図、第2図は赤色を判別する
原理を説明するためのグラフ図。 第3図は擬似赤画素の発生を説明するための波形図、第
4図は本発明の一実施例にかがる装置の一例を示したブ
ロック図、第5図は色演算回路の処理例を示したブロー
チヤードである。 6・・・赤フィルタ、7・・・シアンフィルタ。 8.9・・・ラインイメージセンサ、 11.12・・
・切換器。 13.14・・・白波形メモリ、15,16・・・正規
化回路、20・・・色演算回路、30・・・色判定回路
。 31.33,35,36,38,40・・・シフトレジ
スタ、32.34,37,39・・・ラインバッファ、
42・・・アドレスカウンタ、43・・・書き込み読み
出し制御部、44・・・ROM (リード・オンリ・メ
モリ)、45.46・・・排他的論理和回路。 代理人 弁理士  紋 1) 誠 第1図 第2図 1J、4  亦爪号 1 第3図 ^見亦白白白白↓愚又具7 第5図
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, and FIG. 2 is a graph diagram for explaining the principle of determining red color. FIG. 3 is a waveform diagram for explaining the generation of pseudo red pixels, FIG. 4 is a block diagram showing an example of a device according to an embodiment of the present invention, and FIG. 5 is an example of processing of a color calculation circuit. This is a brooch yard showing 6...Red filter, 7...Cyan filter. 8.9...Line image sensor, 11.12...
・Switcher. 13.14... White waveform memory, 15, 16... Normalization circuit, 20... Color calculation circuit, 30... Color determination circuit. 31.33,35,36,38,40...shift register, 32.34,37,39...line buffer,
42... Address counter, 43... Write/read control section, 44... ROM (read only memory), 45.46... Exclusive OR circuit. Agent Patent Attorney Crest 1) Makoto Figure 1 Figure 2 Figure 1J, 4 Yatsume No. 1 Figure 3 ^See White White White↓ Gumatagu 7 Figure 5

Claims (1)

【特許請求の範囲】[Claims] 読取線上の画像光を所定の第1の色とこの第1の色の補
色の第2の色に分光する分光手段と、上記第1の色と上
記第2の色の画像光を受光して各画素に対応した画信号
を出力する2つのラインイメージセンサと、これらのラ
インイメージセンサから出力された画信号の比較に基づ
いて上記第1の色を判別する色判別手段と、この色判別
手段から判別出力があった画素については上記画信号か
ら上記第1の色に対応した色画信号を算出するとともに
上記色判別手段からの判別出力がない画素を白黒画素と
して判別し上記第2の色に対応した画信号を白黒画信号
として出力する色分解手段と、上記色画信号の画素の周
辺に所定のパタンが位置しているときこの画素を白画素
あるいは黒画素に補正する色補正手段を備えたことを特
徴とする画像読取装置。
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 color discrimination means, a color image signal corresponding to the first color is calculated from the image signal, and pixels for which there is no discrimination output from the color discrimination means are distinguished as black and white pixels, and the pixels for which there is a 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 color image signal as a black and white image signal; and color correction means for correcting a pixel of the color image signal to a white pixel or a black pixel when a predetermined pattern is located around the pixel. An image reading device comprising:
JP61028019A 1986-02-13 1986-02-13 Picture reader Pending JPS62186653A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61028019A JPS62186653A (en) 1986-02-13 1986-02-13 Picture reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61028019A JPS62186653A (en) 1986-02-13 1986-02-13 Picture reader

Publications (1)

Publication Number Publication Date
JPS62186653A true JPS62186653A (en) 1987-08-15

Family

ID=12237044

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61028019A Pending JPS62186653A (en) 1986-02-13 1986-02-13 Picture reader

Country Status (1)

Country Link
JP (1) JPS62186653A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56144667A (en) * 1980-04-14 1981-11-11 Ricoh Co Ltd Processing method of color picture information
JPS59128872A (en) * 1983-01-14 1984-07-25 Fuji Xerox Co Ltd Color picture information processor
JPS59147572A (en) * 1983-02-10 1984-08-23 Fuji Xerox Co Ltd Color picture information processing device
JPS60160774A (en) * 1984-01-31 1985-08-22 Fuji Xerox Co Ltd Two-color original reader

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56144667A (en) * 1980-04-14 1981-11-11 Ricoh Co Ltd Processing method of color picture information
JPS59128872A (en) * 1983-01-14 1984-07-25 Fuji Xerox Co Ltd Color picture information processor
JPS59147572A (en) * 1983-02-10 1984-08-23 Fuji Xerox Co Ltd Color picture information processing device
JPS60160774A (en) * 1984-01-31 1985-08-22 Fuji Xerox Co Ltd Two-color original reader

Similar Documents

Publication Publication Date Title
US4527897A (en) Apparatus for detecting specific color
JPS58161574A (en) Color separating circuit
JP2002055292A (en) Optical scanner
JPH02266655A (en) Color picture reader
US4591905A (en) Color image data processing device for correcting red ghosts of black images
JPH0129113B2 (en)
JPS62186653A (en) Picture reader
JPS5923969A (en) Picture signal processing device
JPH0773319B2 (en) Color reader
JPS6034686B2 (en) Color information selection method
JPS62186652A (en) Picture reader
JPS62188465A (en) Image reader
JPH021471B2 (en)
JPS62133866A (en) Picture reader
JPH0369230B2 (en)
JPS61269570A (en) Color discriminator
US4786821A (en) Color original reading apparatus having a knife edged reflecting beam splitter
JP4636714B2 (en) Signal processing method, image reading apparatus, program, and medium
JPS623559A (en) Film scanner
JP3147234B2 (en) Color image reader
JPH04252667A (en) Color image reader
JP3096042B2 (en) Color image reader
JPS62136170A (en) Color reader
JPH04280575A (en) Color deviation correction mehtod for color picture reader
JPH01209867A (en) Picture reader