JPH02141878A - Image reader - Google Patents

Image reader

Info

Publication number
JPH02141878A
JPH02141878A JP63296809A JP29680988A JPH02141878A JP H02141878 A JPH02141878 A JP H02141878A JP 63296809 A JP63296809 A JP 63296809A JP 29680988 A JP29680988 A JP 29680988A JP H02141878 A JPH02141878 A JP H02141878A
Authority
JP
Japan
Prior art keywords
digital data
output
primary color
color
adder
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
JP63296809A
Other languages
Japanese (ja)
Inventor
Tetsuo Nakayama
哲郎 中山
Hiromoto Umezawa
浩基 梅澤
Hirohiko Mochida
裕彦 持田
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.)
Toshiba TEC Corp
Original Assignee
Tokyo Electric 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 Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP63296809A priority Critical patent/JPH02141878A/en
Publication of JPH02141878A publication Critical patent/JPH02141878A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a monochrome output being approximate to a lightness component at a high speed by converting three primary color outputs from a color line sensor to digital data, executing division and addition so as to become a ratio in which a converter, and three primary color digital data from this A/D converter can be approximated to the lightness component, and sending out a monochromatic output. CONSTITUTION:Three primary color outputs from a color line sensor 1 are converted to digital data, respectively by a A/D converter 4, and supplied to the corresponding primary color use shift registers 5-7, respectively. Subsequently, in each shift register thereof 5-7, division by a bit shift is executed so as to become a ratio in which the digital data of three primary colors can be approximated to a lightness component, its result is supplied to an adder 8 and added, and from the adder 8, a monochrome output being approximate to the lightness component is sent out. In such a way, the monochrome output being approximate to the lightness component can be surely obtained at a high speed.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、カラーラインセンサを使用した画像読取装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image reading device using a color line sensor.

[従来の技術] 例えばカラーラインセンサを使用した画像読取装置を使
用してモノクローム2値出力あるいは階調出力を得たい
場合がある。このような場合、例えば3原色であるR(
レッド)、G(グリーン)、B(ブルー)の透過フィル
タを設けたカラーラインセンサを使用した場合には、そ
のR,G、Bのいずれか1つのセンサ出力をモノクロー
ム出力として取出すようにしている。
[Prior Art] For example, there are cases where it is desired to obtain monochrome binary output or gradation output using an image reading device using a color line sensor. In such a case, for example, the three primary colors R (
When using a color line sensor equipped with transmission filters for red), G (green), and B (blue), one of the R, G, and B sensor outputs is taken out as a monochrome output. .

またソフトウェア上で演算を行なってモノクローム出力
として取出すようにしている。
In addition, calculations are performed on software and output as a monochrome output.

[発明が解決しようとする課題] しかしこのようにR,G、Bの透過フィルタのいずれか
1つのセンサ出力をモノクローム出カドして取出すよう
にしたものでは、白、黒の原稿からの画像については問
題なくモノクローム出力が得られるが、モノカラーの原
稿の場合色によってはモノクローム出力が得られない問
題があった。
[Problems to be Solved by the Invention] However, in the case where the sensor output of any one of the R, G, and B transmission filters is output as a monochrome output, it is difficult to obtain images from white and black originals. Although monochrome output can be obtained without any problems, there is a problem in the case of monochrome originals that monochrome output cannot be obtained depending on the color.

またソフトウェア上で演算処理を行なってモノクローム
出力を得るものでは例えば明度成分に近似したモノクロ
ーム出力を得ようとすると複雑な演算処理が必要となり
処理に時間がかかる問題があった。
Furthermore, in the case where a monochrome output is obtained by performing arithmetic processing on software, for example, when attempting to obtain a monochrome output that approximates the brightness component, complicated arithmetic processing is required and the processing takes time.

そこで本発明は、カラーラインセンサを使用したものに
おいて、明度成分に近似したモノクローム出力が高速で
確実に得られる画像読取装置を提供しようとするもので
ある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an image reading device that uses a color line sensor and can reliably obtain a monochrome output that approximates the brightness component at high speed.

〔課題を解決するための手段] 請求項(1)記載の発明は、感光部に3原色の透過フィ
ルタを設けたカラーラインセンサで原稿からの反射光を
受光して画像読取りを行なう画像読取装置において、カ
ラーラインセンサからの3原色出力をそれぞれデジタル
データに変換するA/D変換器と、このA/D変換器か
らの3原色デジタルデータが明度成分に近似できる割合
いとなるようにそれぞれビットシフトによって除算する
各原色用シフトレジスタと、この各シフトレジスタから
のデジタルデータを加算してモノクロ出力を送出する加
算器を設けたものである。
[Means for Solving the Problem] The invention described in claim (1) provides an image reading device that reads an image by receiving reflected light from a document using a color line sensor in which a photosensitive portion is provided with transmission filters of three primary colors. , an A/D converter converts each of the three primary color outputs from the color line sensor into digital data, and a bit shift is performed so that the three primary color digital data from this A/D converter have a ratio that can approximate the brightness component. This system is provided with a shift register for each primary color that divides by , and an adder that adds digital data from each shift register and sends out a monochrome output.

また請求項(2)記載の発明は、A/D変換器からの3
原色デジタルデータをそれぞれ格納する各原色用レジス
タと、この各レジスタからのデジタルデータを加算して
モノクロ出力を送出する加算器を設け、各レジスタから
の出力データバスを加算器の入力データバスに対してそ
れぞれビットをずらして接続し、そのビットずらしによ
って3原色デジタルデータが明度成分に近似できる割合
いに除算するものである。
Further, the invention described in claim (2) provides a
A register for each primary color that stores digital data for each primary color and an adder that adds the digital data from each register and sends out a monochrome output are provided, and the output data bus from each register is connected to the input data bus of the adder. By shifting the bits and connecting them, the three primary color digital data can be divided by the ratio that can approximate the brightness component by shifting the bits.

〔作用] 請求項(1)記載の発明においては、カラーラインセン
サからの3原色出力はA/D変換器によってそれぞれデ
ジタルデータに変換され、それぞれ対応する原色用シフ
トレジスタに供給される。そしてこの各シフトレジスタ
において3原色のデジタルデータが明度成分に近似でき
る割合いとなるようにビットシフトによる除算が行われ
、その結果が加算器に供給され加算される。しかして加
算器からは明・皮成分に近似したモノクローム出力が送
出されることになる。
[Operation] In the invention described in claim (1), the three primary color outputs from the color line sensor are each converted into digital data by the A/D converter, and each is supplied to the corresponding primary color shift register. In each shift register, division by bit shifting is performed so that the digital data of the three primary colors has a ratio that can be approximated to the brightness component, and the results are supplied to an adder and added. As a result, the adder sends out a monochrome output that approximates the light and skin components.

また請求項(2)記載の発明においては、A/D変換器
からの3原色デジタルデータをそれぞれ対応する原色用
レジスタに格納する。そして各原色用レジスタから加算
器へ各原色のデジタルデータを供給することによって各
原色のデジタルデータは明度成分に近似したデータに変
換される。そして加算器にてデジタルデータの加算が行
われその加算器からは明度成分に近似したモノクローム
出力が送出されることになる。
Further, in the invention described in claim (2), the three primary color digital data from the A/D converter are stored in the respective corresponding primary color registers. By supplying the digital data of each primary color from each primary color register to the adder, the digital data of each primary color is converted into data that approximates the lightness component. Then, the adder performs addition of the digital data, and the adder outputs a monochrome output that approximates the brightness component.

[実施例] 以下、本発明の一実施例を図面を参照して説明する。[Example] Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図において1はカラーCCDラインセンサで、この
センサ1はCCDを一列に多数並べ、各CCDの感光部
にR(レッド)、G(グリーン)、B(ブルー)の3原
色の透過フィルタを印刷して配置したものである。前記
CCDラインセンサ1はCCD駆動回路2によって駆動
されて原稿から画像を読取るようにしている。
In Fig. 1, 1 is a color CCD line sensor, and this sensor 1 has a large number of CCDs arranged in a row, and transmission filters for the three primary colors of R (red), G (green), and B (blue) are attached to the photosensitive area of each CCD. It is printed and placed. The CCD line sensor 1 is driven by a CCD drive circuit 2 to read an image from a document.

前記CCDラインセンサ1からの3原色、すなわちR,
G、Bの画像読取り信号は補正アンプ3に供給されてR
,G、B出力の積分値が揃うように補正されている。す
なわち、前記CCDラインセンサ1に使用されているR
、G、Hの透過フィルタの分光特性は第2図に示すよう
になっているため、これを補正アンプ3で補正すること
によって第3図に示すように特性G、Bについて特性G
’ 、B’ となるように補正している。
The three primary colors from the CCD line sensor 1, namely R,
The G and B image reading signals are supplied to the correction amplifier 3 and R
, G, and B outputs are corrected so that the integral values are the same. That is, R used in the CCD line sensor 1
, G, and H are as shown in FIG. 2, so by correcting them with the correction amplifier 3, the characteristics G and B are changed as shown in FIG. 3.
', B'.

そして前記補正アンプ3から出力されるR、G。Then, R and G output from the correction amplifier 3.

B出力をA/D変換器4に供給してそれぞれ8ビツトの
デジタルデータに変換し、RのデジタルデータをR原色
用シフトレジスタ5、GのデジタルデータをG原色用シ
フトレジスタ6、BのデジタルデータをB原色用シフト
レジスタ7にそれぞれ供給するようにしている。
The B output is supplied to the A/D converter 4 and converted into 8-bit digital data, and the R digital data is sent to the R primary color shift register 5, the G digital data to the G primary color shift register 6, and the B digital data. The data is supplied to the B primary color shift register 7, respectively.

前記各シフトレジスタ5,6.7にはそれぞれシフトク
ロックR,G、Bが入力され、このシフトクロックによ
って格納したデジタルデータをビットシフトして除算処
理を行なうようになっている。この除算は3原色のデジ
タルデータが明度成分に近似した割合いとなるように、
すなわち人の比視感度に近似されるような割合いとなる
ように行われる。
Shift clocks R, G, and B are input to each of the shift registers 5, 6.7, respectively, and the stored digital data is bit-shifted using the shift clocks to perform division processing. This division is done so that the digital data of the three primary colors has a ratio that approximates the brightness component.
That is, it is performed so that the ratio approximates the relative luminous efficiency of a person.

例えば明度成分に近似した値となるには理想的にはR:
G:B−1:4.59:0.06の割合いでR,G、B
の成分を混合したものであるが、現実的にはこのような
厳密な割合いで無くても例えばR:G:B−に2:1の
割合いであっても明度成分に充分近似した内容にできる
For example, to obtain a value that approximates the brightness component, ideally R:
R, G, B in the ratio of G:B-1:4.59:0.06
However, in reality, even if the ratio is not as strict as this, for example, R:G:B- at a ratio of 2:1, the content can be sufficiently approximated to the brightness component. .

これに基づいてRシフトレジスタ5とBシフトレジスタ
7についてはシフトクロックをそれぞれ2個供給して2
ビツトシフトさせ1/4の除算を行ない、またGシフト
レジスタ6についてはシフトクロックを1個だけ供給し
て1ビツトシフトさせ1/2の除算を行なう。こうして
R,G、Bの各シフトレジスタ5,6.7から出力され
るデジタルデータの特性は第4図に特性R’  G’B
′で示すようになる。
Based on this, two shift clocks are supplied to each of the R shift register 5 and the B shift register 7.
A bit shift is performed to perform a division by 1/4, and only one shift clock is supplied to the G shift register 6, and a 1-bit shift is performed to perform a division by 1/2. The characteristics of the digital data output from the R, G, and B shift registers 5, 6.7 are shown in FIG.
′.

前記各シフトレジスタ5,6.7から出力されるデジタ
ルデータは加算器8に供給されて加算され、その加算器
8から第5図に特性Xで示す明度成分に近似した値のモ
ノクローム出力を送出するようにしている。
The digital data output from each of the shift registers 5, 6.7 is supplied to an adder 8 and added, and the adder 8 sends out a monochrome output having a value approximate to the brightness component shown by characteristic X in FIG. I try to do that.

このような構成の本実施例によれば、A/D変換器4か
ら出力されるR、G、BのデジタルデータをそれぞれR
シフトレジスタ5、Gシフトレジスタ6、Bシフトレジ
スタ7によって明度成分に近似した値となるように除算
されてから加算器8によって加算されるようになってい
るので、加算器8から出力されるモノクローム出力の特
性は確実に明度成分に近似した値の特性となる。従って
カラーCCDラインセンサ1で原稿を読取っても実際に
人が感じる明度レベルに近似した濃度階調で良好なモノ
クローム出力が得られる。
According to this embodiment having such a configuration, the R, G, and B digital data output from the A/D converter 4 are converted into R, G, and B digital data, respectively.
Since the shift register 5, the G shift register 6, and the B shift register 7 divide the value to a value that approximates the brightness component, the adder 8 adds the monochrome component. The characteristics of the output will certainly be those of values that approximate the brightness component. Therefore, even when a document is read by the color CCD line sensor 1, a good monochrome output can be obtained with a density gradation approximating the brightness level that is actually perceived by a person.

また演算処理をすべてハードウェアで行なっているので
迅速な演算処理ができモノクローム出力が高速で得られ
る。
In addition, since all arithmetic processing is performed by hardware, arithmetic processing can be performed quickly and monochrome output can be obtained at high speed.

さらに入力するシフトクロックの数を変化すれば除算内
容が変化でき、R,G、Bの割合いを容易に変更できる
Furthermore, by changing the number of input shift clocks, the contents of the division can be changed, and the proportions of R, G, and B can be easily changed.

次に本発明の他の実施例を図面を参照して説明する。な
お、前記実施例と同一の部分には同一符号を付して詳細
な説明は省略する。
Next, other embodiments of the present invention will be described with reference to the drawings. Note that the same parts as in the above embodiment are given the same reference numerals and detailed explanations will be omitted.

これは第6図に示すように、シフトレジスタに代えて原
色用レジスタであるRレジスタ9、Gレジスタ10、B
レジスタ11を設け、Rレジスタ9の出力データバスo
UTo〜0UT7のうち下位2ビツトのOUT、、0U
T1をずらし、0UT2〜0UT7を加算器12の入力
データバスRINo〜RIN5に接続している。またG
レジスタ10の出力データバス0UTo〜0UT7のう
ち最下位の1ビツト0UToをずらし、OUT、〜0U
T7を加算器12の入力データバスGINo−GIN6
に接続している。さらにBレジスタ11の出力データバ
ス0UTo〜0UT7のうち下位2ビツトのOUT。
As shown in FIG. 6, these are primary color registers R register 9, G register 10, and B register instead of shift registers.
A register 11 is provided, and an output data bus o of the R register 9 is provided.
OUT of the lower 2 bits of UTo~0UT7,,0U
T1 is shifted and 0UT2 to 0UT7 are connected to input data buses RINo to RIN5 of the adder 12. G again
Shift the lowest 1 bit 0UTo among the output data buses 0UTo to 0UT7 of the register 10, and output OUT, to 0U.
T7 is the input data bus GINo-GIN6 of the adder 12.
is connected to. Further, the lower two bits of the output data buses 0UTo to 0UT7 of the B register 11 are OUT.

0UTlをずらし、0UT2〜OUTフを加算器12の
入力データバスBINo−BINSに接続している。
0UTl is shifted, and 0UT2 to OUT are connected to the input data bus BINo-BINS of the adder 12.

この実施例においては、A/D変換器4からのR,G、
Bの8ビツトデータをそれぞれR,G。
In this embodiment, R, G from the A/D converter 4,
The 8-bit data of B is R and G, respectively.

Bのレジスタ9.10.11に格納し、その各レジスタ
9,10.11のデータをそのまま加算器12に供給す
ることによって前記実施例において各シフトレジスタ5
,6.7でビットシフトしたのと同様のデータが加算器
12に入力されることになる。
In the above embodiment, each shift register 5
, 6.7, the same data is input to the adder 12.

従って本実施例においても前記実施例と同様加算器12
からの良好なモノクローム出力が送出されることになる
Therefore, in this embodiment as well, the adder 12
A good monochrome output will be sent out.

しかも本実施例においてはR,G、Bの各レジスタ9.
10.11のデータを加算器12に供給するだけで実質
的に除算処理ができるので、前記実施例のようなシフト
クロックの供給が不要となりさらに高速処理が可能とな
る。従ってモノクローム出力がさらに高速で得られるこ
とになる。
Moreover, in this embodiment, each of the R, G, and B registers 9.
Since the division process can be substantially performed simply by supplying the data of 10.11 to the adder 12, there is no need to supply the shift clock as in the previous embodiment, and even higher speed processing becomes possible. Therefore, monochrome output can be obtained even faster.

[発明の効果コ 以上詳述したように本発明によれば、カラーラインセン
サを使用したものにおいて、明度成分に近似したモノク
ローム出力が高速で確実に得られる画像読取装置を提供
できるものである。
[Effects of the Invention] As detailed above, according to the present invention, it is possible to provide an image reading device that uses a color line sensor and can reliably obtain a monochrome output that approximates the brightness component at high speed.

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

第1図乃至第5図は本発明の一実施例を示すもので、第
1図はブロック図、第2図はR,G、Bの透過フィルタ
の分光特性図、第3図はR,G。 Bの特性を補正アンプで補正した分光特性図、第4図は
R,G’ 、B’の特性を除算して得られる分光特性図
、第5図はR″、G″、B′の特性を加算して得られる
分光特性図、第6図は本発明の他の実施例を示すブロッ
ク図である。 1・・・カラーCCDラインセンサ、4・・・A/Di
換器、5.6.7・・・シフトレジスタ、8.12・・
・加算器、9,10.11・・・レジスタ。 入肘尤几 第3図 第1図 第2図 第4 図
1 to 5 show an embodiment of the present invention. FIG. 1 is a block diagram, FIG. 2 is a spectral characteristic diagram of an R, G, and B transmission filter, and FIG. 3 is a diagram of R, G, and B transmission filters. . Figure 4 is a spectral characteristic diagram obtained by dividing the characteristics of R, G', and B', and Figure 5 is the characteristic of R'', G'', and B'. FIG. 6 is a block diagram showing another embodiment of the present invention. 1...Color CCD line sensor, 4...A/Di
converter, 5.6.7... shift register, 8.12...
- Adder, 9, 10.11... register. Figure 3 Figure 1 Figure 2 Figure 4

Claims (2)

【特許請求の範囲】[Claims] (1)感光部に3原色の透過フィルタを設けたカラーラ
インセンサで原稿からの反射光を受光して画像読取りを
行なう画像読取装置において、前記カラーラインセンサ
からの3原色出力をそれぞれデジタルデータに変換する
A/D変換器と、このA/D変換器からの3原色デジタ
ルデータが明度成分に近似できる割合いとなるようにそ
れぞれビットシフトによって除算する各原色用シフトレ
ジスタと、この各シフトレジスタからのデジタルデータ
を加算してモノクロ出力を送出する加算器を設けたこと
を特徴とする画像読取装置。
(1) In an image reading device that reads an image by receiving reflected light from a document with a color line sensor equipped with a transmission filter for three primary colors in the photosensitive section, the output of the three primary colors from the color line sensor is converted into digital data. An A/D converter for conversion, a shift register for each primary color that divides by bit shift so that the three primary color digital data from this A/D converter has a ratio that can be approximated to the brightness component, and a shift register for each primary color that divides by bit shift, and An image reading device comprising an adder that adds digital data of and sends out a monochrome output.
(2)感光部に3原色の透過フィルタを設けたカラーラ
インセンサで原稿からの反射光を受光して画像読取りを
行なう画像読取装置において、前記カラーラインセンサ
からの3原色出力をそれぞれデジタルデータに変換する
A/D変換器と、このA/D変換器からの3原色デジタ
ルデータをそれぞれ格納する各原色用レジスタと、この
各レジスタからのデジタルデータを加算してモノクロ出
力を送出する加算器を設け、前記各レジスタからの出力
データバスを前記加算器の入力データバスに対してそれ
ぞれビットをずらして接続し、そのビットずらしによっ
て3原色デジタルデータが明度成分に近似できる割合い
に除算することを特徴とする画像読取装置。
(2) In an image reading device that reads an image by receiving reflected light from a document with a color line sensor equipped with a transmission filter for three primary colors in the photosensitive section, the output of the three primary colors from the color line sensor is converted into digital data. An A/D converter for conversion, a register for each primary color that stores the three primary color digital data from this A/D converter, and an adder that adds the digital data from each register and sends out a monochrome output. and connecting the output data bus from each of the registers to the input data bus of the adder with respective bits shifted, and dividing the three primary color digital data by the ratio that can approximate the brightness component by the bit shift. Characteristic image reading device.
JP63296809A 1988-11-24 1988-11-24 Image reader Pending JPH02141878A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63296809A JPH02141878A (en) 1988-11-24 1988-11-24 Image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63296809A JPH02141878A (en) 1988-11-24 1988-11-24 Image reader

Publications (1)

Publication Number Publication Date
JPH02141878A true JPH02141878A (en) 1990-05-31

Family

ID=17838427

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63296809A Pending JPH02141878A (en) 1988-11-24 1988-11-24 Image reader

Country Status (1)

Country Link
JP (1) JPH02141878A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06195509A (en) * 1992-10-19 1994-07-15 Internatl Business Mach Corp <Ibm> Method and apparatus for removal of color from multicolored-printing image document
CN1310492C (en) * 2002-06-28 2007-04-11 兄弟工业株式会社 Image reading device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06195509A (en) * 1992-10-19 1994-07-15 Internatl Business Mach Corp <Ibm> Method and apparatus for removal of color from multicolored-printing image document
CN1310492C (en) * 2002-06-28 2007-04-11 兄弟工业株式会社 Image reading device

Similar Documents

Publication Publication Date Title
US9047694B2 (en) Image processing apparatus having a plurality of image processing blocks that are capable of real-time processing of an image signal
US6201530B1 (en) Method and system of optimizing a digital imaging processing chain
US5943143A (en) Image processing system having color adjusting features
US6967660B2 (en) Image processing apparatus and image processing system
JPH05207277A (en) Digital color matrix circuit
JPH02141878A (en) Image reader
JP3986877B2 (en) Image processing device
JP2001197321A (en) Color picture processing method and picture processor
JPH06121160A (en) Color correction circuit
GB2238928A (en) Image processing
JP2686258B2 (en) Image data processing device
JP4238529B2 (en) Image processing device
JP2001320593A (en) Image processing unit, and image forming device provided with it, and image processing method
JPH03234178A (en) Picture input device
JPH1141479A (en) Image processor
JPH05103335A (en) Method and device for correcting color
JPH01265774A (en) Picture reader
JPS60140976A (en) Color picture processor
JP4425484B2 (en) Video signal processing device
JPH08140103A (en) Video signal processor for color camera
JPH0242875A (en) Color image reader
JPH0376471A (en) Color picture input device
JPH04346576A (en) Color original reader
JPH0278374A (en) Color picture reader
JPS61142856A (en) Display device of disassembling condition of color scanner