JPS62133866A - Picture reader - Google Patents

Picture reader

Info

Publication number
JPS62133866A
JPS62133866A JP60273450A JP27345085A JPS62133866A JP S62133866 A JPS62133866 A JP S62133866A JP 60273450 A JP60273450 A JP 60273450A JP 27345085 A JP27345085 A JP 27345085A JP S62133866 A JPS62133866 A JP S62133866A
Authority
JP
Japan
Prior art keywords
color
picture
image
pixel
white
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
JP60273450A
Other languages
Japanese (ja)
Other versions
JPH0683379B2 (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 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

Landscapes

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

Abstract

PURPOSE:To improve picture quality by dividing picture elements into picture signals of discriminant color and complementary color, forming color picture signals corresponding to discriminant color by operation, and outputting picture signals of complementary color as monochromatic picture signals. CONSTITUTION:The picture image of a read original is divided into discriminant color, for instance, red and its complementary color, and photoelectric converted by line image sensors 8, 9. The output signals P1, P2 are shading corrected SD1, SD2 and sent to a color arithmetic circuit 20, and discriminated whether the picture element belongs to discriminant color or not by comparing each picture element of the signal. A picture element discriminated as red forms a color picture signal corresponding to the discriminant color and other picture elements are outputted as monochromatic picture signals. When a part of discriminant color is positioned independently in the white part of background, black picture elements that appear falsely in the periphery of the discriminant color are corrected to white picture elements using NAND circuits 22, 24. Thus, picture quality is heightened.

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.

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

赤成分をある程度以上含んでいる色例えばマゼンタの画
像を読み取ったときにラインイメージセンサの出力レベ
ルが所定のスレッシュレベルを越えて赤色として判別さ
れることがあり、このため。
For this reason, when reading an image of a color containing more than a certain amount of red components, such as magenta, the output level of the line image sensor may exceed a predetermined threshold level and be determined as red.

視覚的に赤色と判別される色以外の色も赤色として判別
されてしまうという不都合があった。
There has been an inconvenience that colors other than colors that are visually identified as red are also identified 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.

[構成] 本発明は、この目的を達成するために、画像を。[composition] The present invention achieves this objective by using images.

判別色とその補色にそれぞれ分光してラインイメージセ
ンサで光電変換させ、これらのラインイメージセンサの
出力信号の画素毎の比較によって当該画素が判別色のも
のであるか否かを判別するとともに、その判別がなされ
た画素については判別色の画信号と補色の画信号に所定
の演算を施すことにより1判別色に対応した色画信号を
形成し、それ以外の画素は白黒画素と判別して補色の画
信号を白黒画信号として出力し、さらに、光学特性が原
因して、背景の白色部分に判別色の部分が単独に位置し
ているときにこの判別色の周辺に擬似的にあられれる黒
画素を白画素に補正して、画質を向上させている。
The light is separated into a discrimination color and its complementary color and photoelectrically converted by a line image sensor, and by comparing the output signals of these line image sensors pixel by pixel, it is determined whether the pixel is of the discrimination color or not. For the pixels that have been discriminated, a color image signal corresponding to one discrimination color is formed by performing a predetermined calculation on the discrimination color image signal and the complementary color image signal, and the other pixels are discriminated as black and white pixels and used as complementary colors. image signal is output as a black and white image signal, and furthermore, due to optical characteristics, when the discrimination color part is located alone in the white part of the background, the black that appears pseudo-appears around the discrimination color. Pixels are corrected to white pixels to improve 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 device according to an embodiment of the present invention, and in this embodiment, red is used as the discrimination color.

同図において、読取原稿lは、その読取線上の画像が光
源2によって照明され、その読取線から反射される画像
光は、m3によって反射されてレンズ4に導かれ、さら
に、ハーフミラ−あるいはプリズム等の光束分割装置5
によって2つに分岐される。
In the figure, an original to be read l 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 m3 and guided to a lens 4. luminous flux splitting device 5
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は、例えば580nmを透過限界波
長とし、それ以上の波長の光を透過させる特性をもち、
また、シアンフィルタ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 a wavelength longer than 580 nm.
Further, the cyan filter 7 has a transmission limit wavelength of, for example, 620 nm, and has a characteristic of transmitting light having a wavelength shorter than 620 nm.

さて、このようにして画像を赤成分とその補色であるシ
アン成分に分光したとき、全ての色はこの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/にr〈α、Kr>β ただし、にCは正規化されたシアン成分のレベル(すな
わちラインイメージセンサ9の出力レベル)、Krは正
規化された赤成分のレベル(すなわちラインイメージセ
ンサ8のレベル)をあられす。また、実測によればα=
0.4.  β:0.4である。なお、この値は上述し
たような特性の赤フィルタ6およびシアンフィルタ7を
用いた場合であり、特性の異なるフィルタを用いた場合
には、この数値が変わる場合がある。
Kc/to r〈α, Kr>β where C is the normalized cyan component level (i.e., the output level of the line image sensor 9), and Kr is the normalized red component level (i.e., the line image sensor 8 output level). level). 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図に示したように、画像が白から赤、赤から白に変
化する部分では、シアン成分を受光しているラインイメ
ージセンサ9の受光レベルが滑らかに変化する。
By the way, if the red part is located alone on a white background,
As shown in FIG. 3, in the portions where the image changes from white to red and from red to white, the light reception level of the line image sensor 9 receiving the cyan component 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. 4(a).
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 such that the level of the red pixel is the same as that of the black pixel. , the level of the white pixel adjacent thereto is lower than the level of other white pixels, and further lower than the threshold level SL for identifying black and white.

この場合、上述の判断基準による赤画素の判別状態は同
図(b)に示したようになるので、赤と非光を表わす赤
色画信号RDは同図(d)に示したようになり、また、
白黒をあられす白黒画信号B111は同図(e)のよう
になる。
In this case, the discrimination state of the red pixel based on the above-mentioned criteria is as shown in FIG. 2(b), so the red pixel signal RD representing red and non-light becomes as shown in FIG. 4(d). Also,
The black and white image signal B111, which produces black and white images, is as shown in FIG. 4(e).

その結果、実際の画像には存在していない黒画素すなわ
ち擬似黒画素が、赤画像に隣接して1画素だけ読取画信
号として出力されることになる。
As a result, one black pixel, that is, a pseudo black pixel that does not exist in the actual image, is output as a read image signal adjacent to the red image.

したがって、読取画像を記録したとき、その記録画像が
劣化するという不都合を生じる。
Therefore, when a read image is recorded, the recorded image deteriorates.

かかる不都合を解消するためには、赤画素として判別さ
れている画素に隣接して黒画素として判別されている画
素が1つある場合、その黒画素を擬似黒画素として判別
し、この擬似黒画素を白画素に補正する補正処理を実行
すればよい。
In order to solve this problem, if there is one pixel that is determined as a black pixel adjacent to a pixel that is determined as a red pixel, that black pixel is determined as a pseudo black pixel, and this pseudo black pixel is What is necessary is to perform a correction process to correct the pixel to a white pixel.

第5図は、上述した本発明の原理を実現する、本発明の
一実施例にかかる画像読取装置を示している。なお、同
図では本発明に直接関係しないラインイメージセンサ8
,9の駆動制御系および副走査機構等の制御系を省略し
ている。
FIG. 5 shows an image reading device according to an embodiment of the present invention, which implements 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によって、
白波形メモリ13.14あるいは正規化回路15.16
のいずれかに加えられる。
In the same figure, image signals PI and P2 output from line image sensors 8 and 9 are switched by switching devices 11 and 12.
White waveform memory 13.14 or normalization circuit 15.16
can be added to either.

切換器11.12は、図示しない制御手段により、基準
の白画像(例えば白色原稿等)を読み取るときには白波
形メモリ13.14を選択するように切り換えられてい
る。これにより、このときラインイメージセンサ8,9
から出力される画信号PI、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 PI and P2 output from the white waveform memory 13.
14.

また、切換器11.12は、上記した制御手段により、
読取原稿1の画像を読み取るときには正規化回路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 1, the normalization circuit 15.
16 can be selected.

正規化回路15.16は、読取原稿1を読み取ったとき
に得られた画信号PL、P2を、その画信号Pi、P2
と同期して白波形メモリ13.14から加えられる信号
を基準としてレベル変換するとともに、対応するデジタ
ル信号に変換する機能を備えており、この正規化回路1
5.16によって、赤フィルタ6とシアンフィルタ7の
透過率の差が吸収される。
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 P2.
This normalization circuit 1 has a function of converting the level of the signal applied from the white waveform memory 13 and 14 as a reference and converting it into a corresponding digital signal in synchronization with the normalization circuit 1.
5.16, the difference in transmittance between the red filter 6 and the cyan filter 7 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は、第6図に示した処理を実行して、各
画素の色を判別するとともに、赤色画信号R1および白
黒画信号B【を形成する。
The color calculation circuit 20 executes the processing shown in FIG. 6 to determine the color of each pixel, and forms a red image signal R1 and a black and white image signal B.

すなわち、まず、入力した信号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になるときには、当該画
素が赤画素であるので、色演算回路20は次の式にJル
づいて赤色画信号旧を算出する(処理104.)。
When the result of this judgment 103 is YES, the pixel in question is a red pixel, so the color calculation circuit 20 calculates the red image signal old based on the following equation (processing 104).

R1=a−R+b−に こで、R,Cはそれぞれ信号R,Cに等しく、また。R1=a-R+b- Here, R and C are equal to signals R and C, respectively, and.

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

また、この画素に対応する白黒画信号Blには。Furthermore, the black and white image signal Bl corresponding to this pixel is as follows.

白をあられす値DIiをセットして(処理105)、こ
のときに演算した赤色画信号R1および白黒画信号Bl
を出力する。
A value DIi for white is set (processing 105), and the red image signal R1 and black and white image signal Bl calculated at this time are
Output.

判断102の結果がNOになるとき、および、判断10
3の結果がNOになるときは、当該画素が赤画素以外、
すなわち、白画素か黒画素のいずれかなので、赤色画信
号R1には非光であることをあられす値NRをセットし
く処理106)、白黒画信号Blには信号Cをセットし
て(処理107)、それぞれ出力するにのようにして、
読取原稿lにおける画像の赤色成分および白黒成分が、
それぞれ赤色画信号R1および白黒画信号B1に変換さ
れて出力される。
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,
That is, since it is either a white pixel or a black pixel, a value NR indicating non-light is set for the red pixel signal R1 (process 106), and a signal C is set for the black and white pixel signal Bl (process 107). ), and output them respectively as follows.
The red component and black and white component of the image in the read document l are
The signals are respectively converted into a red image signal R1 and a black and white image signal B1 and output.

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

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

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

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

ナンド回路22は、白から赤に変わる部分の擬似黒画素
を検出して補正するものであり、その出力S2はナンド
回路30の一入力端に加えられている。
The NAND circuit 22 detects and corrects pseudo-black pixels in the portion that changes from white to red, and its output S2 is applied to one input terminal of the NAND circuit 30.

また、ナン1く回路24は、赤から白に変わる部分の擬
似黒画素を検出して補正するものであり、その出力S1
はナンド回路30の他の入力端に加えられている。
Further, the number one circuit 24 detects and corrects pseudo-black pixels in the portion where red changes to white, and its output S1
is applied to the other input terminal of the NAND circuit 30.

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

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

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

ナンド回路22に加わっている信号旧、B3.r13.
B−’1の状態変化を観察すると、3画素目までは信号
R1が論理レベルLなので、その出力信号S2は、第4
図(j)に示したように、論理レベル1(になり、4画
素目で全ての入力が論理レベル11になるのでその出力
信号S2が論理レベルLに立ち下がり、それによってナ
ンド回路30の出力CI(第4図(k)参照)が論理レ
ベル11に立ち上がるので、信号旧の3画素目の黒画素
(論理レベルL)が白画素(論理レベルH)に変換され
て、白から赤に変化する部分に生じる擬似黒画素が除去
される(第4図(1)信号BW参照)。
The signal added to the NAND circuit 22, B3. r13.
Observing the state change of B-'1, since the signal R1 is at the logic level L up to the third pixel, its output signal S2 is at the fourth pixel.
As shown in Figure (j), the logic level becomes 1 (and all the inputs become logic level 11 at the fourth pixel, so the output signal S2 falls to logic level L, which causes the output of the NAND circuit 30 to Since CI (see Figure 4 (k)) rises to logic level 11, the third black pixel (logic level L) of the old signal is converted to a white pixel (logic level H), changing from white to red. Pseudo-black pixels occurring in the portion where the image is displayed are removed (see signal BW in FIG. 4 (1)).

なお、それ以降は、ナンド回路22の入力のいずれか1
つ以上がが論理レベルしになっているので、ナンド回路
22の出力信号S2は論理レベル11の状態を維持する
Note that from then on, any one of the inputs of the NAND circuit 22
Since two or more are at the logic level, the output signal S2 of the NAND circuit 22 maintains the logic level 11 state.

ナンド回路24に加わっている信号81.R3,111
4,83の状態変化を観格すると、5画素目までは信号
R4が論理レベルして、また、6,7画素目は信号B3
が論理レベルLなので、その出力信号Slは、第4図(
i)に示したように論理レベル■であり、8画素目には
全ての入力が論理レベル11になるのでその出力信号S
1が論理レベルしに立ち下がり、それによってナンド回
路30の出力CIが論理レベル11に立ち上がるので、
信号131の7画素日の黒画素が白画素に変換されて、
赤から白に変化する部分に生じる擬似黒画素が除去され
る。
Signal 81 . applied to NAND circuit 24 . R3,111
Considering the state changes of 4 and 83, the signal R4 is at the logic level up to the 5th pixel, and the signal B3 is at the 6th and 7th pixel.
is at the logic level L, so its output signal Sl is as shown in Fig. 4 (
As shown in i), the logic level is ■, and all the inputs at the 8th pixel become logic level 11, so the output signal S
1 falls to the logic level, which causes the output CI of the NAND circuit 30 to rise to the logic level 11.
The black pixels of the 7th pixel of signal 131 are converted to white pixels,
Pseudo-black pixels that occur in areas that change from red to white are removed.

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

このようにして、白黒画信号B1にあられれる擬似黒画
素が白画素に変換されて、擬似黒画素が除去された白黒
画信号Bldが形成され、これが外部に出力される。す
なわち、ラッチ回路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 to white pixels, and a monochrome image signal Bld from which the pseudo-black pixels are removed is formed, which is output to the outside. That is, latch circuits 21, 23, 25, 27, NAND circuits 22, 24, 30, inverters 26, 29, and
The OR circuit 28 constitutes 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 pseudo black pixels have been removed are outputted to the outside in parallel.

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

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

なお、上述した実施例では画像の赤色を判別しているが
、これ以外の色を判別することもできる。
Note that in the embodiment described above, the red color of the image is discriminated, but it is also possible to discriminate other colors.

また、画像を分割して分光する手段も、上述したものに
限ることはない。
Further, the means for dividing an image into spectra is not limited to the above-mentioned method.

[効果] 以上説明したように1本発明によれば、画像を、判別色
とその補色にそれぞれ分光してラインイメージセンサで
光電変換させ、これらのラインイメージセンサの出力信
号の画素毎の比較によって当該画素が判別色のものであ
るか否かを判別するとともに、その判別がなされた画素
については判別色の画信号と補色の画信号に所定の演算
を施すことにより判別色に対応した色画信号を形成し、
それ以外の画素は白黒画素と判別して補色の画信号を白
黒画信号として出力し、さらに、背景の白色部分に判別
色の部分が単独に位置しているときにこの判別色の周辺
に擬似的にあられれる黒画素を白画素に補正して、画質
を向上させているので、白黒成分以外の所定の色成分を
、確実にかつ高い品質で読み取ることができるという利
点を得る。
[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 or not the pixel is of the discrimination color, and for pixels for which the determination has been made, a color image corresponding to the discrimination color is created 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 distinguished as black and white pixels and a complementary color image signal is output as a black and white image signal.Furthermore, when a discrimination color part is located alone in a white part of the background, a pseudo color is generated around this discrimination color. Since the image quality is improved by correcting black pixels that appear as white pixels, there is an advantage 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図は擬似黒WJ
素の発生を説明するための波形図、第5図は本発明の一
実施例にかかる装置の一例を示したブロック図、第6図
は色演算回路の処理例を示したフローチャート、第7図
は擬似黒画素除去回路の動作を説明するための波形図で
ある。 6・・・赤フィルタ、7・・・シアンフィルタ、8,9
・・・ラインイメージセンサ、11.12・・・切換器
、13.14・・・白波形メモリ、 15.16・・・
正規化回路、20・・・色演算回路、 21,23,2
5.27・・・ラッチ回路。 22.24.30・・・ナン!く回路、 26.29・
・・インバータ、28・・・オア回路、SDI、SD2
・・・シェーディング補正回路、DBS・・・擬似黒画
素除去回路。 代理人 弁理士  紋 1) 誠 第1図 第2図 第3図 第4図 臼白^亦亦亦、再1日日 0         ≧ 〇−門) 第6図 第7図
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 is a cyan component component. A waveform diagram for explaining the light receiving characteristics of
5 is a block diagram showing an example of a device according to an embodiment of the present invention; FIG. 6 is a flowchart showing an example of processing of a color calculation circuit; FIG. 2 is a waveform diagram for explaining the operation of the pseudo black pixel removal circuit. FIG. 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, 21, 23, 2
5.27...Latch circuit. 22.24.30... Nan! Circuit, 26.29・
...Inverter, 28...OR circuit, SDI, SD2
...Shading correction circuit, DBS...Pseudo black pixel removal circuit. Agent Patent Attorney Crest 1) Makoto Fig.1 Fig.2 Fig.3 Fig.4

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 based on a predetermined calculation, and pixels for which there is no discrimination output from the color discrimination means are treated as black and white pixels. color separation means for discriminating and outputting an image signal corresponding to the second color as a monochrome image signal; and an independent pixel represented as black in the monochrome image signal in an area adjacent to the area of the color image signal. 1. An image reading device comprising a pseudo-black pixel correcting means for correcting a black pixel to a white pixel when the black pixel is located as a white pixel.
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 true JPS62133866A (en) 1987-06-17
JPH0683379B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009141806A (en) * 2007-12-07 2009-06-25 Canon Inc Image processing device, image processing method, program, and record medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009141806A (en) * 2007-12-07 2009-06-25 Canon Inc Image processing device, image processing method, program, and record medium
JP4537440B2 (en) * 2007-12-07 2010-09-01 キヤノン株式会社 Image processing apparatus, image processing method, program, and recording medium
US8139268B2 (en) 2007-12-07 2012-03-20 Canon Kabushiki Kaisha Image processing apparatus and image processing method of generating monochrome image data from two color components

Also Published As

Publication number Publication date
JPH0683379B2 (en) 1994-10-19

Similar Documents

Publication Publication Date Title
US4479242A (en) Dichromatic reading device
CN101616241B (en) Image processing apparatus and method of image processing
US4577218A (en) Color separating circuit for producing red and black signals
JPH0722330B2 (en) Image region identification method for image processing apparatus
JPH11331573A (en) Image processor
US4591905A (en) Color image data processing device for correcting red ghosts of black images
JPS62133866A (en) Picture reader
JPS5840977A (en) Reading system of color image
JPS6034686B2 (en) Color information selection method
US5220416A (en) Color image processing apparatus
JPH0773319B2 (en) Color reader
JPS5923969A (en) Picture signal processing device
JPS62186652A (en) Picture reader
JPS62188465A (en) Image reader
JPS62101179A (en) Picture information processor
JPH04252667A (en) Color image reader
JPS62186653A (en) Picture reader
JPH06205302A (en) Device for correcting defect of picture element
JPH0369230B2 (en)
JPH06245148A (en) Picture element defect correction device
JPS61269570A (en) Color discriminator
JPH11146158A (en) Image reader
JPS62136170A (en) Color reader
JPH10243300A (en) Pixel defect detector and pixel defect corrector
JPH06245149A (en) Picture element defect correction device

Legal Events

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