JPH03273758A - Color picture reader - Google Patents

Color picture reader

Info

Publication number
JPH03273758A
JPH03273758A JP2071845A JP7184590A JPH03273758A JP H03273758 A JPH03273758 A JP H03273758A JP 2071845 A JP2071845 A JP 2071845A JP 7184590 A JP7184590 A JP 7184590A JP H03273758 A JPH03273758 A JP H03273758A
Authority
JP
Japan
Prior art keywords
picture element
data
color
signal
pixel
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
JP2071845A
Other languages
Japanese (ja)
Other versions
JP3147234B2 (en
Inventor
Kiyoharu Yoshioka
清春 吉岡
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP07184590A priority Critical patent/JP3147234B2/en
Publication of JPH03273758A publication Critical patent/JPH03273758A/en
Application granted granted Critical
Publication of JP3147234B2 publication Critical patent/JP3147234B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PURPOSE:To obtain a read signal faithful to a source picture with high resolution by outputting the color separation signal of a noted picture element and the color separation signal of the surrounding picture element while being combined corresponding to the relative state. CONSTITUTION:A data arranging part 17 composed of a latch circuit combines picture element data to be serially sent from an A/D converter 16 as one couple for each RGB and forms the noted picture element D1 and the preceding and following picture elements D0 and D2. A select signal generating circuit 20 exerts the respective processing of detecting an edge, ON picture element, thin line, contour position and density upon the respective picture element data D0-D2 and generates a select signal A to which the detected results are effected. A data sending circuit 60 is equipped with a memory to store the several pairs of data trains to be obtained by rearranging the respective BRG data of the picture element data D0-D2 in the internal part and sends a pair of data corresponding to the select signal A from the inside of the memory. Thus, the pair of data closest to the arrangement pattern of original color is read out from the memory.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明はカラー画像読取装置に関し、特に絵素を点順次
に色分解して読取るカラー画像読取装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a color image reading device, and more particularly to a color image reading device that separates and reads picture elements in a dot-sequential manner.

[従来の技術] 従来のカラー画像読取装置は絵素を例えばRGB信号に
色分解して読み取る。そして、この色分解の仕方には主
に3色照明順次切換方式、3ライン力ラーセンサ方式及
び点順次カラーセンサ方式がある。
[Prior Art] A conventional color image reading device reads picture elements by color-separating them into, for example, RGB signals. This color separation method mainly includes a three-color illumination sequential switching method, a three-line color sensor method, and a point-sequential color sensor method.

3色照明順次切換方式では、1ラインのモノクロセンサ
とRGBB色の照明を備え、lライン毎に3回照明を変
えて画像を読み取る。しかし、この方式では画像の読取
速度が上がらない。
In the three-color illumination sequential switching method, one line of monochrome sensor and RGBB color illumination are provided, and the illumination is changed three times for each line to read an image. However, this method does not increase the image reading speed.

3ライン力ラーセンサ方式では、RGBの各フィルタと
夫々に設けた3本のラインセンサを備え、これには密着
型と縮小型がある。密着型では各ラインセンサを隙間な
く配置できるが、現在のところは非常に高価であり装置
コストに大きな影響を及ぼす。一方、縮小型では隙間が
あるためにRGBの各信号は時間的遅れを伴なって取り
込まれる。従って、バッファメモリを必要とし、また走
査機構等に振動があると時間的遅れ分が変動し、画像劣
化を引き起す。
The 3-line color sensor system includes RGB filters and three line sensors respectively, and there are two types: a close-contact type and a reduced type. Although the close-contact type allows each line sensor to be placed without any gaps, it is currently very expensive and has a significant impact on equipment cost. On the other hand, in the reduced type, each RGB signal is captured with a time delay because there is a gap. Therefore, a buffer memory is required, and if there is vibration in the scanning mechanism or the like, the time delay varies, causing image deterioration.

点順次カラーセンサ方式は絵素に対して点順次に設けた
RGBフィルタと1ラインのセンサを用いる方式であり
、この方式によれば1ラインでRGBの色情報を取り出
せる。しかし、製造上の制約から1ラインの総画素数が
限られており、十分な解像度が得られない問題がある。
The dot-sequential color sensor method uses an RGB filter provided dot-sequentially for picture elements and a one-line sensor, and according to this method, RGB color information can be extracted in one line. However, due to manufacturing constraints, the total number of pixels in one line is limited, and there is a problem that sufficient resolution cannot be obtained.

即ち、RGBのフィルタが隣り合うためにその画素ピッ
チは20ミクロン程度必要になり、しかもウェハーから
取り出せる長さが決まっているので総画素数的2500
にしかならない。これは絵素数にして約840であるか
ら、A4原稿の横に対しては1ミリ当たり4絵素の読取
密度にしかならない。いわゆる4pel (100dp
i)である。
In other words, since the RGB filters are adjacent to each other, the pixel pitch needs to be about 20 microns, and since the length that can be taken out from the wafer is fixed, the total number of pixels is 2500.
It only becomes. Since this is approximately 840 picture elements, the reading density is only 4 picture elements per millimeter for the width of an A4 document. So-called 4pel (100dp
i).

これを解消して読取り密度を上げる方法としてセンサ複
数個を千鳥状に並べる方法がある。
One way to solve this problem and increase the reading density is to arrange a plurality of sensors in a staggered manner.

しかし、この方法はコストアップになるばかりか、つな
ぎ部分の感度ムラ補正、各センサの実装精度等、課題が
多い。
However, this method not only increases costs, but also has many issues, such as correction of sensitivity unevenness in the joints and mounting accuracy of each sensor.

[発明が解決しようとする課題] 本発明は上述した従来技術の欠点を除去するものであり
、その目的とする所は、高解像度で原画像に忠実な読取
信号を提供するカラー画像読取装置を提供することにあ
る。
[Problems to be Solved by the Invention] The present invention eliminates the above-mentioned drawbacks of the prior art, and its purpose is to provide a color image reading device that provides a high-resolution reading signal that is faithful to the original image. It is about providing.

[課題を解決するための手段及び作用]本発明のカラー
画像読取装置は上記の目的を達成するために、絵素を点
順次に色分解して読取るカラー画像読取装置において、
注目絵素の色分解信号とその周囲絵素の色分解信号を比
較することにより前記注目絵素とその周囲絵素との関連
状態を検出する状態検出手段と、前記注目絵素の色分解
信号とその周囲絵素の色分解信号を前記状態検出手段が
検出した関連状態に応じた組み合わせにして出力するデ
ータ出力手段を備えることをその概要とする。
[Means and effects for solving the problems] In order to achieve the above object, the color image reading device of the present invention is a color image reading device that reads picture elements by dot-sequential color separation.
a state detection means for detecting a related state between the pixel of interest and its surrounding pixels by comparing a color separation signal of the pixel of interest with a color separation signal of surrounding pixels; and a color separation signal of the pixel of interest. The outline of the present invention is to include a data output means for outputting a combination of color separation signals of a picture element and its surrounding picture elements in accordance with the related state detected by the state detection means.

これにより、例えば注目絵素上にエツジがあっても、該
エツジを境とする前後の絵素情報によって像が忠実に読
み取られる。
As a result, even if there is an edge on the picture element of interest, for example, the image can be faithfully read based on the information on the picture elements before and after the edge.

また好ましくは、前記状態検出手段は注目絵素上にエツ
ジがあることを検出するエツジ検出手段を備えることを
その概要とする。
Preferably, the state detecting means includes an edge detecting means for detecting the presence of an edge on the picture element of interest.

また好ましくは、前記状態検出手段は注目絵素の境界上
にエツジがあることを検出するオン絵素検出手段を備え
ることをその概要とする。
Preferably, the state detection means includes on-picture element detection means for detecting that an edge exists on the boundary of the picture element of interest.

また好ましくは、前記状態検出手段は注目絵素上のエツ
ジの位置を検出する境界位置検出手段を備えることをそ
の概要とする。
Preferably, the state detection means includes a boundary position detection means for detecting the position of an edge on the picture element of interest.

また好ましくは、前記境界位置検出手段は絵素間におけ
る同種の色分解信号の差分を比較することによりエツジ
の位置を検出することをその一態様とする。
Preferably, one aspect of the boundary position detection means is to detect the position of an edge by comparing differences between color separation signals of the same type between picture elements.

また好ましくは、前記データ出力手段は注目絵素の両隣
の絵素の色分解信号のみから成る組み合わせを出力する
ことをその概要とする。
Preferably, the data output means outputs a combination consisting only of color separation signals of picture elements on both sides of the picture element of interest.

[実施例の説明] 以下、添付図面に従って本発明による実施例を詳細に説
明する。
[Description of Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

第6図は実施例のカラー画像読取装置の読取機構部を示
す断面図である。図において、蛍光灯1及びミラー2を
載置した第1ミラーユニツト3とミラー4,5を載置し
た第2ミラーユニツト6は副走査モータユニットMの駆
動により2対1の速度で移動する。10は原稿台ガラス
、11は原稿圧板である。以上により、蛍光灯1で照明
された原稿7の反射像はミラー2,4.5及びレンズ8
を介し、紙面垂直方向にライン状に設けられたカラーセ
ンサ(COD)9上に結像する。
FIG. 6 is a sectional view showing the reading mechanism section of the color image reading device of the embodiment. In the figure, a first mirror unit 3 on which a fluorescent lamp 1 and a mirror 2 are placed, and a second mirror unit 6 on which mirrors 4 and 5 are placed are driven by a sub-scanning motor unit M to move at a 2:1 speed. Reference numeral 10 represents an original table glass, and 11 represents an original pressing plate. As described above, the reflected image of the document 7 illuminated by the fluorescent lamp 1 is reflected by the mirrors 2, 4.5 and the lens 8.
The image is formed on a color sensor (COD) 9 arranged in a line in the direction perpendicular to the paper surface.

第7図はCCD9の受光面の詳細を示す図である。図に
おいて、CCD9の受光面上には該受光面の画素毎(点
順次)に赤色フィルタ(R)12と緑色フィルタ(G)
13と青色フィルタ(B)14が繰り返し設けられてい
る。1画素ピッチは20ミクロンであり、全有効画素数
は2550画素である。レンズ8は原稿上0.083ミ
リの像をCCD9上の1画素に投影する。
FIG. 7 is a diagram showing details of the light receiving surface of the CCD 9. In the figure, on the light receiving surface of the CCD 9, a red filter (R) 12 and a green filter (G) are arranged for each pixel (dot sequentially) on the light receiving surface.
13 and a blue filter (B) 14 are repeatedly provided. One pixel pitch is 20 microns, and the total number of effective pixels is 2550 pixels. The lens 8 projects an image of 0.083 mm on the original onto one pixel on the CCD 9.

即ち、原稿上4pe lの像はCCD上12pelの画
素B、R,Gによって読み取られる関係にある。
That is, a 4 pel image on the original is read by 12 pel pixels B, R, and G on the CCD.

第14図はCCD9上に投影された原稿色とCCD9の
土山力の関係を模式的に示す図である。以下、CCD9
からの5ビツト(32階調)の土山力(画素データ)は
暗い側をレベル31に、明るい側をレベルOに対応させ
て説明する。
FIG. 14 is a diagram schematically showing the relationship between the original color projected onto the CCD 9 and the Tsuchiyama force of the CCD 9. Below, CCD9
Riki Tsuchiyama (pixel data) of 5 bits (32 gradations) will be explained with the dark side corresponding to level 31 and the bright side corresponding to level O.

第14図の如くしてCCD9で原稿色を読み取ると、現
実にはレンズ8の解像度等が有限であるために、土山力
信号には絵素間の影響が現われる。同一色の範囲では問
題ないが、白と黒又は黒と白の境界部分では絵素間の影
響を無視できない。この影響骨は、例えば画素の真上に
ある色の影響は80%、隣の色の影響は20%とすると
、最初の白と黒の境界の土山力Rは、白のR=Oと黒の
R=30とにより、R=OX0.8+30X0.2=6
になる。また土山力Gは、白のG=Oと黒のG=30と
により、G=O’X0.2十30X0.8=24になる
。更に次の黒と白の境界では、同様にしてB=30X0
.8+OXO,2=24、R=30X0.2+oxo、
86になる。従って、このような主出力信号に対して何
らの処理も加えずにそのまま外部のプリンタ等に読取デ
ータを出力するなら、もはや原稿色に忠実な再生像は得
られない。この問題の解決を本実施例に従って以下に詳
細に説明する。
When the original color is read by the CCD 9 as shown in FIG. 14, since the resolution of the lens 8 is actually limited, effects between picture elements appear in the Tsuchiyama force signal. There is no problem in the range of the same color, but in the boundary between white and black or black and white, the influence between picture elements cannot be ignored. For example, if the influence of the color directly above the pixel is 80%, and the influence of the adjacent color is 20%, then the Tsuchiyama force R at the boundary between white and black is the R=O of white and the influence of black. With R=30, R=OX0.8+30X0.2=6
become. Furthermore, Chikara Tsuchiyama G becomes G=O'X0.2+30X0.8=24 due to white's G=O and black's G=30. Furthermore, at the next boundary between black and white, B=30X0
.. 8+OXO, 2=24, R=30X0.2+OXO,
It will be 86. Therefore, if the read data is directly outputted to an external printer or the like without any processing being applied to such a main output signal, it is no longer possible to obtain a reproduced image that is faithful to the color of the original. The solution to this problem will be explained in detail below according to the present embodiment.

第1図は実施例のカラー画像読取装置の信号処理部のブ
ロック構成図である。図において、CCD9からの読取
信号はアンプ15で増幅された後A/D変換器16で5
ビツトの画素データに変換される。17は主にラッチ回
路で構成されるデータ整列部であり、A/D変換器16
からシリアルに送られる画素データをBRG毎に1組に
して注目絵素Di (Bl、R1,Gl)とその前後の
絵素DO(BO,RO,Go)、D2 (B2゜R2,
G2)を形成する。20はセレクト信号生成回路であり
、データ整列部17から送出される各絵素データDo、
Di、D2に対して、後述するエツジ、オン絵素、細線
、境界位置及び濃淡の各検出処理を行い、該検出結果を
反映したセレクト信号Aを生成する。60はデータ送出
回路であり、この内部には絵素データDo、Di、D2
1 の各BRGデータを並べ換えて得られる数組のデータ列
を記憶するメモリを備えており、該メモリの中からセレ
クト信号Aに応じた1組のデータを送出する。かかる構
成により、CCD9の主出力信号からは原稿色の配列パ
ターンが逐次検出され、該検出結果に従って原稿色の配
列パターンに最も近い組のデータがメモリから読み出さ
れ、注目絵素再生のタイミングに逐次外部に送出される
FIG. 1 is a block diagram of a signal processing section of a color image reading apparatus according to an embodiment. In the figure, the read signal from the CCD 9 is amplified by an amplifier 15 and then sent to an A/D converter 16.
Converted to bit pixel data. 17 is a data alignment section mainly composed of a latch circuit, and an A/D converter 16
The pixel data serially sent from the BRG is divided into one set for each BRG, and the pixel of interest Di (Bl, R1, Gl) and the pixels before and after it DO (BO, RO, Go), D2 (B2°R2,
G2) is formed. Reference numeral 20 denotes a select signal generation circuit, which generates each pixel data Do, which is sent from the data alignment section 17.
Edge, on-pixel, thin line, boundary position, and shading detection processing, which will be described later, is performed on Di and D2, and a selection signal A reflecting the detection results is generated. 60 is a data sending circuit, inside which picture element data Do, Di, D2 are stored.
It is equipped with a memory that stores several sets of data strings obtained by rearranging each BRG data of 1, and sends out one set of data according to the select signal A from the memory. With this configuration, the arrangement pattern of the original color is sequentially detected from the main output signal of the CCD 9, and according to the detection result, the set of data closest to the arrangement pattern of the original color is read out from the memory, and the set of data is read out from the memory at the timing of reproducing the pixel of interest. Sequentially sent to the outside.

第2図はセレクト信号生成回路20の詳細を示す回路図
である。図において、30は基本信号生成部であり、後
述するコンパレータ41〜46、エツジ検出部31.オ
ン絵素検出部32゜境界位置検出部35.細線検出部3
3及び濃淡検出部34から構成される。基本信号生成部
30は前記の各部によって原稿色の配列パターンを2 検出し、該検出結果を示す基本信号81〜S8を生成す
る。50は条件設定部であり、基本信号81〜S8の発
生状況に応じて原稿色の配列パターンに最も近い組のデ
ータをメモリから読み出すべく適切なセレクト信号A1
〜A6を生成する。
FIG. 2 is a circuit diagram showing details of the select signal generation circuit 20. In the figure, 30 is a basic signal generation section, comparators 41 to 46, which will be described later, and an edge detection section 31. On picture element detection unit 32° boundary position detection unit 35. Thin line detection section 3
3 and a density detection section 34. The basic signal generating section 30 detects two arrangement patterns of document colors using the above-mentioned sections, and generates basic signals 81 to S8 indicating the detection results. Reference numeral 50 denotes a condition setting section, which outputs an appropriate selection signal A1 to read out the set of data closest to the arrangement pattern of the original color from the memory according to the generation status of the basic signals 81 to S8.
~A6 is generated.

〈基本信号生成部30〉 コンパレータ41〜46は所定の画素データ間の差分を
求めてその結果が設定値(例えば10)以上である時は
論理1を出力する。
<Basic signal generation unit 30> Comparators 41 to 46 calculate the difference between predetermined pixel data and output logic 1 when the result is equal to or greater than a set value (for example, 10).

エツジ検出部31は注目絵素Di上又は該注目絵素D1
の境界上に原稿色のエツジがあることを検出する回路で
あり、エツジがある時はエツジ検出信号S1に論理1を
出力する。
The edge detecting unit 31 detects an edge on the pixel of interest Di or the pixel of interest D1.
This circuit detects that there is an edge of the original color on the boundary of the document, and outputs logic 1 as the edge detection signal S1 when there is an edge.

オン絵素検出部32は少なくとも注目絵素Di上では原
稿色が変っていないことを検出する回路であり、オン絵
素の状態を検出した時はオン絵素検出信号S2に論理l
を出力する。
The on-picture element detection unit 32 is a circuit that detects that the original color has not changed at least on the pixel of interest Di, and when it detects the state of the on-picture element, it outputs logic l to the on-picture element detection signal S2.
Output.

細線検出部33は注目絵素D1上に原稿色の細線の全部
又は一部があることを検出する回路であり、細線を検出
した時は細線検出信号S3に論理1を出力する。
The thin line detection unit 33 is a circuit that detects the presence of all or part of a thin line of the original color on the pixel of interest D1, and outputs logic 1 as a thin line detection signal S3 when a thin line is detected.

境界位置検出部35は注目絵素D1の中心画素R1の値
がその両隣りの絵素にある画素RO。
The boundary position detection unit 35 detects the pixel RO where the value of the center pixel R1 of the pixel of interest D1 is in the pixels on both sides thereof.

R2の値の何れに近いかを検出する回路であり、R1の
値がROに近い時は境界位置検出信号S4に論理1を出
力し、R1の値がR2に近い時は境界位置検出信号S5
に論理1を出力する。
This circuit detects which of the values of R2 is closer to. When the value of R1 is close to RO, it outputs logic 1 to the boundary position detection signal S4, and when the value of R1 is close to R2, it outputs logic 1 to the boundary position detection signal S5.
Outputs logic 1 to

濃淡検出回路34は、製部又は浅部による細線が検出さ
れる場合に、そのような細線が注目絵素D1から見てど
のような位置関係で存在するかを検出する回路であり、
以下第3図に従って濃淡検出回路34の詳細を説明する
The shading detection circuit 34 is a circuit that detects in what positional relationship such a thin line exists when viewed from the pixel of interest D1 when a thin line due to a manufactured part or a shallow part is detected,
The details of the shade detection circuit 34 will be explained below with reference to FIG.

第3図は濃淡検出回路34の詳細を示す回路図である。FIG. 3 is a circuit diagram showing details of the shade detection circuit 34.

図において、濃淡検出回路34は製部検出部70.製部
検出部72及び優先順位設定部75から構成される。
In the figure, the shade detection circuit 34 is connected to the manufacturing part detection section 70. It is composed of a manufacturing unit detection section 72 and a priority order setting section 75.

製部検出部70において、701〜707はコンパレー
タであり、夫々は画素信号RO。
In the manufacturing unit detection unit 70, 701 to 707 are comparators, each of which receives a pixel signal RO.

GO,Bl、R1,Gl、B2又はR2が設定値(例え
ば22)以上である時は論理1を出力する。711〜7
15はAND回路であり、夫々は図示の如く連続する3
つのコンパレータ出力の論理ANDを出力する。これに
より製部の位置が分る。
When GO, Bl, R1, Gl, B2, or R2 is greater than or equal to a set value (for example, 22), a logic 1 is output. 711-7
15 is an AND circuit, each of which connects three consecutive
Outputs the logical AND of the two comparator outputs. This allows the location of the manufacturing part to be determined.

製部検出部72において、721〜727はコンパレー
タであり、夫々は画素信号RO。
In the manufacturing unit detection unit 72, 721 to 727 are comparators, each of which receives a pixel signal RO.

GO,Bl、R1,Gl、B2又はR2が設定値 5 (例えば10)以下である時は論理1を出力する。73
1〜735はAND回路であり、夫々は図示の如く連続
する3つのコンパレータ出力の論理ANDを出力する。
When GO, Bl, R1, Gl, B2, or R2 is less than the set value 5 (for example, 10), a logic 1 is output. 73
1 to 735 are AND circuits, each of which outputs the logical AND of three consecutive comparator outputs as shown.

これにより浅部の位置が分る。そして、製部検出部70
と製部検出部72の各対応するAND回路(例えば71
1と731)間では競合は生じないから、これらは夫々
OR回路741〜745で論理ORされて優先順位設定
部75に入力する。
This allows the location of the shallow part to be determined. Then, the manufacturing part detection section 70
and each corresponding AND circuit (for example, 71
1 and 731), they are logically ORed by OR circuits 741 to 745, respectively, and input to the priority setting unit 75.

優先順位設定部75はOR回路741〜745の出力に
優先順位を付ける。例えば、OR回路741 (注目絵
素DI)の出力が論理1の時(製部又は浅部がある時)
はOR回路742の出力は無効にされる。またOR回路
741の出力が論理OのときはOR回路742の出力が
次の優先順位を持つが、AND回路752の出力が 6 論理1になるとOR回路743の出力は無効にされる。
The priority setting unit 75 prioritizes the outputs of the OR circuits 741 to 745. For example, when the output of the OR circuit 741 (picture element DI of interest) is logic 1 (when there is a fabricated part or a shallow part)
In this case, the output of the OR circuit 742 is invalidated. Further, when the output of the OR circuit 741 is logic O, the output of the OR circuit 742 has the next priority, but when the output of the AND circuit 752 becomes logic 1, the output of the OR circuit 743 is invalidated.

OR回路741の出力は濃淡検出信号s6になる。AN
D回路752と755の出力はOR回路762を介して
濃淡検出信号s7になる。
The output of the OR circuit 741 becomes the shade detection signal s6. AN
The outputs of the D circuits 752 and 755 are passed through an OR circuit 762 to become a shade detection signal s7.

AND回路754と751の出力はOR回路761を介
して濃淡検出信号S8になる。
The outputs of the AND circuits 754 and 751 are passed through an OR circuit 761 to become a grayscale detection signal S8.

〈条件設定部50〉 第2図において、濃淡検出信号86〜s8は細線検出信
号S3が論理1の時に有効になる(AND回路80,8
1.82)。エツジ検出信号S1はオン絵素検出信号s
2及びAND回路80の出力S61が共に論理0の時に
有効になる(AND回路84)。濃淡検出信号S7.S
8は更にAND回路84の出力SIOが論理10時に有
効になる(AND回路81.82)。境界位置検出信号
S4.S5は信号SIOが論理1でかつ細線検出信号S
3が論理Oの時に有効になる(AND回路85.86)
。セレクト信号AIは信号S10をインバートした信号
Sllであり、セレクト信号A2はAND回路85の出
力信号S41である。セレクト信号A3はAND回路8
7の出力信号S52であり、該セレクト信号A3に対し
てはセレクト信号A2が優先することが分る。セレクト
信号A4はAND回路81の出力信号S71であり、セ
レクト信号A5はAND回路82の出力信号S81であ
る。そして、セレクト信号A1〜A5が全て論理Oであ
り、かつエツジ検出信号S1が論理1のときはセレクト
信号へ〇が論理1になる(NAND回路89)。
<Condition setting unit 50> In FIG.
1.82). The edge detection signal S1 is the on-picture element detection signal s
2 and the output S61 of the AND circuit 80 are both logic 0 (AND circuit 84). Grayness detection signal S7. S
8 further becomes valid when the output SIO of the AND circuit 84 is logic 10 (AND circuits 81 and 82). Boundary position detection signal S4. S5 indicates that the signal SIO is logic 1 and the thin line detection signal S
It becomes effective when 3 is logic O (AND circuit 85.86)
. The select signal AI is a signal Sll obtained by inverting the signal S10, and the select signal A2 is the output signal S41 of the AND circuit 85. Select signal A3 is AND circuit 8
7, and it can be seen that the select signal A2 has priority over the select signal A3. The select signal A4 is the output signal S71 of the AND circuit 81, and the select signal A5 is the output signal S81 of the AND circuit 82. When the select signals A1 to A5 are all logic O and the edge detection signal S1 is logic 1, the select signal 0 becomes logic 1 (NAND circuit 89).

尚、条件設定部50の動作は後述の具体例を参照した説
明によって一層明瞭になる。
The operation of the condition setting section 50 will be made clearer by referring to specific examples below.

〈データ退出回路60〉 第4図はデータ退出回路60のブロック構成図である。<Data exit circuit 60> FIG. 4 is a block diagram of the data exit circuit 60.

図において、67はセレクタであり、絵素データDo、
DI、D2の各画素データ(BO,RO,Go)、(B
l、R1,Gl)。
In the figure, 67 is a selector, and the picture element data Do,
Each pixel data of DI, D2 (BO, RO, Go), (B
l, R1, Gl).

(B2.G2.R2)を図示のような配列パターンで各
メモリ61〜66に振り分ける。即ち、メモリ61は絵
素データの組(DI、Di、Dl)を記憶する。メモリ
62は絵素データの組(Do、Do、D2)を記憶する
。メモリ63は絵素データの組(Do、D2.D2)を
記憶する。ここで、絵素データD3〜D6について説明
する。
(B2.G2.R2) are distributed to each memory 61 to 66 in an arrangement pattern as shown in the figure. That is, the memory 61 stores a set of picture element data (DI, Di, Dl). The memory 62 stores a set of picture element data (Do, Do, D2). The memory 63 stores a set of picture element data (Do, D2.D2). Here, the picture element data D3 to D6 will be explained.

第5図(A)、(B)は絵素データD3〜D6を説明す
る図である。図において、注目絵素D1の画素B1を中
心にして連続する3画素(Go。
FIGS. 5A and 5B are diagrams for explaining picture element data D3 to D6. In the figure, three consecutive pixels (Go.

 9 Bl、R1)のベアd3をとり、これをBRG順に並べ
換えて絵素D3 (Bl、R1,Go)を得る。以下、
同様にして図示の如くペアd4〜d6をとり、夫々をB
RG順に並べ換えて絵素D4〜D6を得る。こうして、
Do−D5→D3→Di−D4→D6→D2の順で1画
素づつ位相のずれた絵素(ウィンドウ)が得られる。
9 Take the bare d3 of Bl, R1) and rearrange it in BRG order to obtain the picture element D3 (Bl, R1, Go). below,
Similarly, take the pairs d4 to d6 as shown in the figure, and set each pair to B.
The pixels are rearranged in RG order to obtain picture elements D4 to D6. thus,
Picture elements (windows) whose phases are shifted one pixel at a time are obtained in the order of Do-D5→D3→Di-D4→D6→D2.

第4図に戻り、メモリ64は絵素データの組(D3.D
3.D6)を記憶する。メモリ65は絵素データの組(
D5.D4.D4)を記憶する。メモリ66は絵素デー
タの組(D3.DI。
Returning to FIG. 4, the memory 64 stores a set of picture element data (D3.D
3. D6) is stored. The memory 65 stores a set of picture element data (
D5. D4. D4) is stored. The memory 66 stores a set of picture element data (D3.DI.

D4)を記憶する。そしてセレクタ68は、注目絵素D
1を再生出力するタイミングに、セレクト信号A1〜A
6(表69の関係)に従ってメモリ61〜66の何れか
1つの絵素データの組を選択し、外部に出力する。
D4) is stored. Then, the selector 68 selects the attention picture element D.
At the timing of reproducing and outputting 1, select signals A1 to A
6 (relationships in Table 69), any one of the picture element data sets in the memories 61 to 66 is selected and output to the outside.

 0 第8図〜第13図はCCDQ上に投影される原稿色と注
目絵素D1との関係を模式的に示す図である。ここでは
説明の便宜により100は原稿の黒い領域、200は白
い領域とする。注目絵素はDI (Bl、R1,Gl)
であり、その前後の絵素はDo (BO,RO,Go)
、D2(B2.R2,G2)である。以下、各検出手段
の動作を説明する。
0 FIGS. 8 to 13 are diagrams schematically showing the relationship between the original color projected onto the CCDQ and the pixel of interest D1. Here, for convenience of explanation, 100 is a black area of the document, and 200 is a white area. The picture element of interest is DI (Bl, R1, Gl)
, and the picture elements before and after it are Do (BO, RO, Go)
, D2 (B2.R2, G2). The operation of each detection means will be explained below.

〈エツジ検出〉 第8図の例では注目絵素DI上又は該注目絵素D1の境
界上にエツジが無い。従って1B1−B21≧10及び
IGI−GOI≧10を共に満足しないからエツジ検出
信号S1は論理Oになる。第9図〜第13図の例では注
目絵素DI上(第9.10.13図)又はその境界上(
第11.12図)にエツジが有る。従ってIBl−B2
+≧io又はIGI−GOI≧10を満足し、エツジ検
出信号S1は論理1になる。
<Edge Detection> In the example of FIG. 8, there is no edge on the picture element DI of interest or on the boundary of the picture element of interest D1. Therefore, since both 1B1-B21≧10 and IGI-GOI≧10 are not satisfied, the edge detection signal S1 becomes logic O. In the examples shown in Figures 9 to 13, on the picture element of interest DI (Figures 9, 10, and 13) or on its boundary (
There is an edge in Figure 11.12). Therefore IBl-B2
+≧io or IGI-GOI≧10 is satisfied, and the edge detection signal S1 becomes logic 1.

ここで、色着きの原稿像を考える。例えば第10図の1
00が黒色で200が黄色の場合は、両者には青色(B
)が含まれないからIBI−B2+≧10を満足しない
。しかし黄色200には緑色(G1)が含まれるからI
GI−GO+≧10を満足する。従って、黒色と黄色の
境界ではエツジは検出される。一方、100が黒色で2
00が赤色の場合を考えると、赤色200には緑(G1
)が含まれないからIGI−GO≧10も満足しなくな
る。従って、黒色と赤色の境界ではエツジは検出されな
い。このように、例えば赤と黒、青と黒、赤と青などの
如く、一般に色が濃くかつコントラストの低い原稿色の
境界部分では、そのような境界を厳密に検出して再現す
ることが画質にあまり影響しないので、本実施例ではこ
のような境界は検出しないことにしている。
Now, consider a colored original image. For example, 1 in Figure 10
If 00 is black and 200 is yellow, both have blue (B
) is not included, so IBI-B2+≧10 is not satisfied. However, yellow 200 includes green (G1), so I
GI-GO+≧10 is satisfied. Therefore, edges are detected at the boundary between black and yellow. On the other hand, 100 is black and 2
Considering the case where 00 is red, red 200 has green (G1
) is not included, so IGI-GO≧10 is no longer satisfied. Therefore, no edges are detected at the boundary between black and red. In this way, image quality is improved by accurately detecting and reproducing such boundaries in document color boundaries that are generally dark and have low contrast, such as red and black, blue and black, red and blue, etc. In this embodiment, such a boundary is not detected because it does not have much influence on the image quality.

くオン絵素検出〉 第11図の例ではエツジは検出されるがそのエツジは注
目絵素D1上には無い。このような絵素を再生する場合
は注目絵素D1の内容をそのまま出力したい。オン絵素
検出回路32はこのような状態を検出する回路である。
On-picture element detection> In the example of FIG. 11, an edge is detected, but the edge is not on the target picture element D1. When reproducing such a picture element, it is desired to output the contents of the noticed picture element D1 as is. The on picture element detection circuit 32 is a circuit that detects such a state.

第1■図の例では1G1−GO+≧10及びIRI−R
21≧10を共に満足しないからオン絵素検出信号S2
は論理1になる。また逆にGOまでが白でBl以降が黒
の場合を考えても同様である。この場合は1131−5
21≧10及びIRI−R21≧10を共に満足しない
からオン絵素検出信号S2は論理1になる。
In the example of Figure 1, 1G1-GO+≧10 and IRI-R
Since both do not satisfy 21≧10, the ON picture element detection signal S2
becomes logic 1. Conversely, the same thing can be said if we consider the case where the area up to GO is white and the area after Bl is black. In this case 1131-5
Since both IRI-R21≧10 and IRI-R21≧10 are not satisfied, the on-picture element detection signal S2 becomes logic 1.

3 く細線検出〉 第8図〜第10図の例では注目絵素D1の付近は幅広い
黒100と幅広い白200で覆われているので一般にI
BI−BOI≧10及びIGIG2+≧10を共に満足
しない。従って細線検出信号S3は論理Oになる。しか
し、第12.13図の例では注目絵素D1は幅の狭い黒
100の全部又は一部によって覆われているのでIBl
−B01≧10又はIGI−G2+≧10を満足する。
3 Thin Line Detection> In the examples shown in Figures 8 to 10, the area around the pixel of interest D1 is covered with a wide range of black 100 and a wide range of white 200, so generally I
Both BI-BOI≧10 and IGIG2+≧10 are not satisfied. Therefore, the thin line detection signal S3 becomes logic O. However, in the example of Figure 12.13, the target picture element D1 is covered by all or part of the narrow black 100, so IBL
-B01≧10 or IGI-G2+≧10 is satisfied.

従って細線検出信号S3は論理1になる。Therefore, the thin line detection signal S3 becomes logic 1.

尚、第11図の例では注目絵素D1の付近は幅広い黒1
00と幅広い白200で覆われているが、IGI−G2
+≧10を満足するので細線検出信号S3は論理1にな
る。しかし、同時にオン絵素検出信号S2が論理lにな
るので、第2図の信号S10が論理Oになり、この場合
の 4 細線検出信号S3は事実上無効にされる(AND回路8
1.82)。
In the example of FIG. 11, there is a wide black 1 area near the picture element D1
00 and a wide white 200, but IGI-G2
Since +≧10 is satisfied, the thin line detection signal S3 becomes logic 1. However, at the same time, the on-picture element detection signal S2 becomes logic 1, so the signal S10 in FIG.
1.82).

〈境界位置検出〉 エツジが検出されて、細線でもなく、かつ注目絵素D1
の途中で色が変っている(即ち、オン絵素でない)場合
がある。この場合は注目絵素Diの再生に際して隣の絵
素の色を反映することが望ましい。例えば、注目絵素D
1上に肌色と黒色の境界がある場合は注目絵素D1の再
生に際して出力する3つの信号の組のうち、少なくとも
両端の信号は夫々肌色と黒色にする。そして真ん中の信
号であるが、これを何れの色にするかを判別するのが境
界位置検出回路35である。
<Boundary position detection> An edge is detected, it is not a thin line, and the pixel of interest D1
In some cases, the color may change (that is, the picture element is not on) in the middle of the process. In this case, it is desirable to reflect the color of the neighboring picture element when reproducing the picture element Di of interest. For example, attention picture element D
If there is a boundary between skin color and black on D1, at least the signals at both ends of the set of three signals output when reproducing the picture element of interest D1 are set to skin color and black, respectively. The boundary position detection circuit 35 determines which color to use for the middle signal.

即ち、境界位置検出回路35は注目絵素D1の中心画素
R1の値がその両隣の絵素D O、、D 2の中心画素
RO,R2の何れに近いかを検出する回路である。第9
図の例では黒100がB1まである。従ってl R1−
R21≧10を満足し、境界位置検出信号S4は論理O
になる。一方、R1−R21≧10は満足しないので境
界位置検出信号S5は論理lになる。従って、第9図の
例ではR1の色は絵素B2側に近い。また第10図の例
では黒100がR1まである。従って、R1−R21≧
10は満足しないから境界位置検出信号S4は論理1に
なる。またl R1−R21≧10は満足するから境界
位置検出信号S5は論理Oになる。従って第10図の例
ではR1の色は絵素DO側に近い。尚、境界位置検出信
号S4と85が共に論理1の場合は第2図のAND回路
87において84側が優先されている。
That is, the boundary position detection circuit 35 is a circuit that detects which of the center pixels RO and R2 of the picture elements DO, D2 on both sides of which the value of the center pixel R1 of the picture element of interest D1 is closer. 9th
In the illustrated example, there are black 100 up to B1. Therefore l R1-
R21≧10 is satisfied, and the boundary position detection signal S4 is logic O.
become. On the other hand, since R1-R21≧10 is not satisfied, the boundary position detection signal S5 becomes logic 1. Therefore, in the example of FIG. 9, the color of R1 is close to the picture element B2 side. Further, in the example of FIG. 10, there are black 100 up to R1. Therefore, R1-R21≧
10 is not satisfied, the boundary position detection signal S4 becomes logic 1. Also, since l R1-R21≧10 is satisfied, the boundary position detection signal S5 becomes logic O. Therefore, in the example of FIG. 10, the color of R1 is close to the picture element DO side. Incidentally, when the boundary position detection signals S4 and 85 are both logic 1, the 84 side is given priority in the AND circuit 87 of FIG.

〈濃淡検出〉 第13図の例では、注目絵素D1とその前の絵素Doに
またがって黒の細線100がある。
<Shade Detection> In the example of FIG. 13, there is a thin black line 100 spanning the picture element D1 of interest and the picture element Do before it.

このような場合に、もし絵素DO又は絵素D1によって
完全な黒線100を再生してしまうと原稿像に忠実な再
生は得られない。そこで、本実施例では第5図に示すよ
うな1画素分ずらした絵素d3 (Go、Bl、R1)
、即ちB3(Bl。
In such a case, if the complete black line 100 is reproduced by the picture element DO or D1, reproduction faithful to the original image cannot be obtained. Therefore, in this embodiment, the picture element d3 (Go, Bl, R1) shifted by one pixel as shown in FIG.
, that is, B3 (Bl.

R1,GO)を考える。第3図の濃淡検出回路34は第
5図(A)に示すような各連続する3画素の組の中から
、3画素とも信号が大きい絵素(製部)、又は3画素と
も信号が小さい絵素(浅部)を探す回路である。
R1, GO). The shading detection circuit 34 in FIG. 3 selects a picture element (manufacturing part) in which all three pixels have a large signal, or a signal in all three pixels has a small signal, from among each set of three consecutive pixels as shown in FIG. 5(A). This is a circuit that searches for picture elements (shallow parts).

第13図の例ではd3 (Go、Bl、R1)の組が大
きいから第3図のAND回路712の出力が論理1にな
る。またこの例ではd6(Gl。
In the example of FIG. 13, the set of d3 (Go, Bl, R1) is large, so the output of the AND circuit 712 of FIG. 3 becomes logic 1. Also, in this example, d6(Gl.

B2.R2)組が小さいから第3図のAND回路回路子 735の出力が論理1になる。従って、OR回路742
と745の出力が共に論理1となり、何れも有効のまま
優先順位設定部75を通り抜け、濃淡検出信号S7が論
理1になる。この濃淡検出信号S7は第2図のAND回
路81を満足させ、選択信号A4を論理1にする。これ
により第13図の注目絵素D1はメモリ64から読み出
したデータの組(B3.B3.B6)によって再生され
る。即ち、第5図(A)を見ると明らかなように、注目
絵素D1の最初の2画素分は位相d3のデータD3によ
り2回再生され、注目絵素D1の残りの1画素分は位相
d6のデータD6によって1回再生される。これにより
原稿に忠実な細線が再生されることになる。
B2. Since the R2) set is small, the output of the AND circuit element 735 in FIG. 3 becomes logic 1. Therefore, OR circuit 742
The outputs of and 745 both become logic 1, and both pass through the priority order setting section 75 while remaining valid, and the shade detection signal S7 becomes logic 1. This gray level detection signal S7 satisfies the AND circuit 81 in FIG. 2 and sets the selection signal A4 to logic 1. As a result, the picture element of interest D1 in FIG. 13 is reproduced by the data set (B3.B3.B6) read from the memory 64. That is, as is clear from FIG. 5(A), the first two pixels of the target picture element D1 are reproduced twice by the data D3 of the phase d3, and the remaining one pixel of the target picture element D1 is reproduced twice by the phase d3. It is reproduced once by the data D6 of d6. This reproduces thin lines that are faithful to the original.

第15図は原稿色の一例と再生色との関係を説明する図
である。図において、300は原稿上 8 の基本色及びそれらの本来のBRG成分を表わす色信号
欄、301は原稿色の配列の様子を模式的に表わす原稿
色欄、302はCCD9の読取画素の配列欄、303は
絵素にシーケンシャルに付した絵素番号欄、304はC
CD9の土山力信号を示す欄、305はエツジ検出の有
無を示す欄、306はオン絵素検出の有無を示す欄、3
07は細線検出の有無を示す欄、308は境界位置検出
の状態を示す欄、309は濃淡検出の状態を示す欄、3
10は各注目絵素について発生したセレクト信号を示す
欄、311はセレクト信号によって選ばれた出力データ
の組を示す欄、312は再生色の配列を示す欄である。
FIG. 15 is a diagram illustrating the relationship between an example of original color and reproduced color. In the figure, 300 is a color signal field that represents the basic colors on the original and their original BRG components, 301 is a document color field that schematically represents the arrangement of the original colors, and 302 is an arrangement field for the reading pixels of the CCD 9. , 303 is the picture element number column sequentially attached to the picture elements, 304 is C
A column showing the Tsuchiyama power signal of CD9, 305 a column showing the presence or absence of edge detection, 306 a column showing the presence or absence of on-pixel detection, 3
07 is a column indicating the presence or absence of thin line detection, 308 is a column indicating the state of boundary position detection, 309 is a column indicating the state of grayscale detection, 3
10 is a column showing a selection signal generated for each pixel of interest, 311 is a column showing a set of output data selected by the selection signal, and 312 is a column showing an arrangement of reproduced colors.

土山力欄304を説明すると、絵素No、3における肌
色と黒色の境界では、肌色のB=16と黒色のB=30
とにより、B=16xO,8+30x0.2=18.8
ニ19である。また肌色のR=10と黒色のR=30と
により、R=10X0.2+30X0.826である。
To explain the Riki Tsuchiyama column 304, at the boundary between skin color and black in picture element No. 3, B = 16 for skin color and B = 30 for black.
Therefore, B=16xO, 8+30x0.2=18.8
D19. Furthermore, since R=10 for skin color and R=30 for black, R=10X0.2+30X0.826.

こうして、元の原稿色とは異る成分の色出力信号が表わ
れる。以下、絵素番号にに従って本実施例の処理を説明
する。
In this way, a color output signal with a component different from the original original color appears. The processing of this embodiment will be described below in accordance with the pixel numbers.

〈絵素No、2> エツジ検出欄305は、 IBI−B21=+3O−191=3<101GI−G
01=+18−181=O<10により「なし」である
<Pixel No. 2> The edge detection column 305 is as follows: IBI-B21=+3O-191=3<101GI-G
01=+18-181=O<10, so "none".

エツジが検出されない時は、他の検出は実質無効となり
(図ではこれを/で示す)、セレクト信号A1が優先的
に論理1となるからメモリ61が選択されて3組のデー
タ(DI、DI、Di)が送出される。従ってこの絵素
の再生は元の原稿色に忠実である。
When an edge is not detected, other detections are effectively disabled (indicated by / in the figure), and the select signal A1 becomes logic 1 preferentially, so the memory 61 is selected and three sets of data (DI, DI , Di) are sent out. Therefore, the reproduction of this picture element is faithful to the original original color.

く絵素No、3> エツジ検出欄305は、 IBI−B2 +=+ 19−301=11≧101G
I−GO+=+3O−181=12≧10により「有」
である。
Picture element No. 3> Edge detection column 305 is IBI-B2 +=+ 19-301=11≧101G
“Yes” because I-GO+=+3O-181=12≧10
It is.

オン絵素検出欄306は、注目絵素上にエツジがあるの
で「なし」である。
The on-picture element detection field 306 is "absent" because there is an edge on the picture element of interest.

細線検出欄307は、 IBI−B21=+3O−161=3<101GI−G
2+=+3O−301=O<10により「なし」である
。即ち、細線といえるような細い線(黒又は白)は注目
絵素にかかっていない。
The thin line detection column 307 is IBI-B21=+3O-161=3<101GI-G
2+=+3O-301=O<10, so "none". That is, a thin line (black or white) that can be called a thin line does not cover the pixel of interest.

境界位置検出欄308は、 IRI−R01=+26−101=16≧10IRI−
R2+=+26−301=O<101 により「R2]に近い。
The boundary position detection field 308 is as follows: IRI-R01=+26-101=16≧10IRI-
Close to "R2" because R2+=+26-301=O<101.

濃淡検出欄309は、細線検出欄307の「なし」によ
り実質無効になる。
The shading detection field 309 is substantially invalidated by "none" in the thin line detection field 307.

以上によりセレクト信号A3が論理1になり、メモリ6
3が選択されて3組のデータ(DO9D2.D2)が送
出される。従って、CCD9の色出力信号が肌色−黒色
の境界による影響を受けても、処理後の再生出力は元の
原稿色に忠実である。
As a result of the above, the select signal A3 becomes logic 1, and the memory 6
3 is selected and three sets of data (DO9D2.D2) are sent. Therefore, even if the color output signal of the CCD 9 is affected by the boundary between flesh color and black, the reproduced output after processing is faithful to the original original color.

く絵素N0.4> エツジ検出欄305は、 IBI−B21=+3O−271=3<101GI−G
O+=+3O−301=O<10により「なし」である
。従ってセレクト信号Atが論理1になり、メモリ61
が選択されて3組のデータ(Di、Di、Di)が送出
される。
Pixel element No. 0.4> The edge detection field 305 is IBI-B21=+3O-271=3<101GI-G
O+=+3O-301=O<10, so "none". Therefore, the select signal At becomes logic 1, and the memory 61
is selected and three sets of data (Di, Di, Di) are sent out.

2 〈絵素No、5> エツジ検出欄305は、 IBI−B21=+3O−161=11≧101GI−
GO+=+18−301=12≧10により「有」であ
る。
2 <Pixel No., 5> The edge detection column 305 is IBI-B21=+3O-161=11≧101GI-
GO+=+18-301=12≧10, so "yes".

オン絵素検出欄306は、注目絵素上にエツジがあるの
で「なし」である。
The on-picture element detection field 306 is "absent" because there is an edge on the picture element of interest.

細線検出欄307は、 IBI−B21=+3O−301=3<101GI−G
2+=+18−281=10≧10により「有」である
。即ち、注目絵素に肌色の細線の一部がかかつている。
The thin line detection column 307 is as follows: IBI-B21=+3O-301=3<101GI-G
Since 2+=+18-281=10≧10, it is “present”. That is, a part of the skin-colored thin line overlaps the pixel of interest.

境界位置検出欄308は細線検出欄307の「有」によ
り実質無効になる。
The boundary position detection field 308 is substantially invalidated by "existence" in the thin line detection field 307.

濃淡検出欄309は、第3図におけるRO≧22、Go
≧22.Bl≧22を共に満足するから、これは第5図
(A)のd5で製部が検出されたことを示し、「D5」
である。またR1≦10、Gl≦10.B2≦10を共
に満足するから、これは第5図(A)のd4で浅部が検
出されたことを示し、「D4」である。これらにより優
先順位設定部75からは信号S8が出力する。
The shading detection column 309 indicates RO≧22, Go in FIG.
≧22. Since both satisfy Bl≧22, this indicates that the manufacturing part was detected at d5 in FIG. 5(A), and "D5"
It is. Also, R1≦10, Gl≦10. Since both satisfy B2≦10, this indicates that the shallow portion was detected at d4 in FIG. 5(A), which is "D4". As a result, the priority setting section 75 outputs a signal S8.

これによってセレクト信号A5が論理1になり、メモリ
65の3組のデータ(D5.D4.、D4)が送出され
る。
As a result, the select signal A5 becomes logic 1, and three sets of data (D5.D4., D4) from the memory 65 are sent out.

尚、再生出力を見ると、D5のBRGは(27,30,
30)であり、これは元の原稿の黒(30,30,30
)と多少異なっている。これは原稿色の境界が少し光学
的性能の影響を受けたものであるが、実際にはほとんど
黒色として再生されるので問題ない。同様にしてD4も
原稿の肌色とは少し異なっている。しかし、これもほぼ
肌色である。このように多少の違いはあるが、例えば印
刷上の1画素の大きさは(1/12)ミリであり、はと
んど影響はない。
Furthermore, looking at the playback output, the BRG of D5 is (27, 30,
30), which is the original black (30, 30, 30
) is somewhat different. This is because the boundaries between the original colors are slightly affected by the optical performance, but this is not a problem since it is actually reproduced as almost black. Similarly, D4 also has a slightly different skin color from the original. However, this is also almost a skin color. Although there are some differences as described above, for example, the size of one pixel on printing is (1/12) millimeter, so it has almost no effect.

〈絵素No、6> 絵素No、5と同様にして、細線が検出され、製部が「
D6」と検出され、セレクト信号はA4になり、3組の
データ(D3.D3.D6)が送出される。
<Pixel No. 6> In the same way as Pixel No. 5, a thin line was detected and the manufacturing department
D6" is detected, the select signal becomes A4, and three sets of data (D3.D3.D6) are sent out.

〈絵素N0.7> 細線が検出されるが、製部は「Dl」で検出されるから
、濃淡検出信号S6を満足し、第2図のAND回路80
を満足する。これがAND回路84を無効にし、セレク
ト信号A1を出力する。
<Pixel No. 0.7> A thin line is detected, but since the manufacturing part is detected at "Dl", the density detection signal S6 is satisfied, and the AND circuit 80 in FIG.
satisfy. This invalidates AND circuit 84 and outputs select signal A1.

従ってメモリ61が選択され、3組のデータ(DI、D
I、Di)が送出される。
Therefore, the memory 61 is selected and three sets of data (DI, D
I, Di) are sent.

〈絵素No、8>  5 オン絵素検出欄306は、 IBI−B2+=+19−161=3<10IRI−R
2+=+1O−101=O<10により「有」になる。
<Picture element No. 8> 5 On picture element detection field 306 is IBI-B2+=+19-161=3<10IRI-R
Since 2+=+1O-101=O<10, it becomes "present".

オン絵素検出があると第2図のAND回路84が阻止さ
れ、セレクト信号A1が論理1になる。従って3組のデ
ータ(Di、Di、Di)が送出される。
When an on-picture element is detected, the AND circuit 84 in FIG. 2 is blocked, and the select signal A1 becomes logic 1. Therefore, three sets of data (Di, Di, Di) are sent out.

以上によって、元の原稿色301は再生色3■2に示す
如く極めて忠実に再現された。
As a result of the above, the original original color 301 was reproduced extremely faithfully as shown in reproduced color 3-2.

第16図は第15図の原稿色に対して無処理の場合の再
生色を示す図である。無処理の場合はセレクト信号A1
、即ち、3組のデータ(Dl。
FIG. 16 is a diagram showing reproduced colors when no processing is performed for the original colors shown in FIG. 15. In case of no processing, select signal A1
, that is, three sets of data (Dl.

DI、Di)で再生することになる。第16図の絵素N
0.3では、CCD9が境界像を読み取った結果、土山
力のBRGは(19,26,30)となるが、これをそ
のまま出力するので実際は6 紺色が再生されてしまう。同様にして、絵素No、5は
やまぶき色、絵素N0.6はエビ基になり、全く別の色
に再生されてしまう。またエツジの存在有無やエツジの
場所等も検出されないので、当然、再生の単位は絵素の
単位になり、再生画像のきめも粗くなってしまう。これ
に対して第15図のように処理した場合は、1絵素の3
分の1のサイズ、即ち画素の単位で出力データを変える
ことができ、原稿を正確に再現できる。
DI, Di). Picture element N in Figure 16
In 0.3, as a result of the CCD 9 reading the boundary image, Riki Tsuchiyama's BRG is (19, 26, 30), but since this is output as is, 6 dark blue is actually reproduced. In the same way, picture element No. 5 becomes yellow-colored, picture element No. 6 becomes shrimp-based, and is reproduced as a completely different color. Furthermore, since the presence or absence of edges, the location of edges, etc. are not detected, the unit of reproduction is of course the unit of picture element, and the texture of the reproduced image becomes coarse. On the other hand, when processing as shown in Fig. 15, 3 of 1 pixel
The output data can be changed in units of 1/10th the size, that is, pixels, and the original can be accurately reproduced.

第17図は原稿色の他の例と再生色の関係を説明する図
である。この例では第15図よりも細かい細線、即ち3
画素幅(約0.25ミリ)及び2画素幅(約0.17ミ
リ)の白黒の細線がある原稿の処理の様子を示している
。図において、絵素No、2〜No、8では全てエツジ
が検出され、細線が検出される。また絵素N0.2〜N
0.6では製部又は浅部が検出され、それぞれに所定の
処理が行なわれる。但し、原稿の線幅が3画素分に満た
ない場合は原稿色どおりには再生されていない。例えば
、絵素N0.3では、d5の位相で浅部(白色)が検出
されるが、それに続くデータd4、即ちD4は(B、R
FIG. 17 is a diagram illustrating the relationship between another example of original colors and reproduced colors. In this example, the thin line is finer than that in Fig. 15, that is, 3
This figure shows how a document with thin black and white lines of pixel width (approximately 0.25 mm) and two-pixel width (approximately 0.17 mm) is processed. In the figure, edges are detected in all picture elements No. 2 to No. 8, and thin lines are detected. Also, picture element No. 0.2~N
At 0.6, a shallow part or a shallow part is detected, and predetermined processing is performed for each. However, if the line width of the original is less than three pixels, the color of the original will not be reproduced exactly. For example, in picture element N0.3, a shallow part (white) is detected at the phase of d5, but the following data d4, that is, D4 is (B, R
.

G)= (6,24,24)となっており黒色ではない
。これは青色である。
G) = (6, 24, 24) and is not black. This is blue.

また絵素No、7とNo、8では原稿色が2画素幅の細
線の連続であり、3画素とも大きいか、小さいかといっ
た部分はなく、従って濃淡検出において濃淡部は検出さ
れない。このときは第2図において信号S6.S7.B
8は共に論理Oになり、結局NAND回路89の出力A
6が論理lとなる。これによって3組のデータ(D3.
Di、D4)が送出される。このデータ配列パターンは
注目絵素の各画素を夫々中心にした連続する3画素分を
出力するパターンであり、絵素N0.7とNo、8にあ
るような状態を反映するのには適したパターンである。
Furthermore, for picture elements No. 7 and No. 8, the original color is a continuous thin line with a width of 2 pixels, and there is no large or small portion for any of the three pixels, so no shading portion is detected in the shading detection. At this time, in FIG. 2, the signal S6. S7. B
8 both become logic O, and eventually the output A of the NAND circuit 89
6 becomes logic l. This results in three sets of data (D3.
Di, D4) is sent out. This data array pattern is a pattern that outputs three consecutive pixels centered on each pixel of the pixel of interest, and is suitable for reflecting the state of picture elements No. 0.7, No. 8, and No. 8. It's a pattern.

その結果、黒と白を明瞭に再生できなくとも、かなりの
濃度差をもって再生することができ、しかも輪郭は正し
く再現される。
As a result, even if black and white cannot be clearly reproduced, they can be reproduced with a considerable difference in density, and the contours are accurately reproduced.

このように、特に細い細線の連続する原稿では、黒色が
青色や緑色に、また白色が黄色や水色に再生されること
もあるが、濃淡の境界は正しく再現され、輪郭は画素単
位で構成されるのできめ細かい画像が得られる。
In this way, especially in originals with continuous thin lines, black may be reproduced as blue or green, and white as yellow or light blue, but the boundaries between shades are reproduced correctly and the outline is constructed in pixel units. This allows you to obtain detailed images.

第18図は第17図の原稿色に対して無処理の場合の再
生色を示す図である。第18図の再生状態を見ると、線
幅及び位置が正しくないばかり 9 か、絵素No、7〜8にかけて原稿上にはあった白線が
再生上では無くなっている。従って、本実施例によれば
かなり細かい細線(約0.17ミリ)の連続するような
原稿に対しても極めて再現性が良いという効果がある。
FIG. 18 is a diagram showing reproduced colors when no processing is performed for the original colors shown in FIG. 17. Looking at the reproduction state of FIG. 18, not only are the line widths and positions incorrect, but the white lines that were on the document for picture elements No. 7 to 8 have disappeared in the reproduction. Therefore, this embodiment has the effect of providing extremely good reproducibility even for originals with a series of fairly fine lines (approximately 0.17 mm).

次に、もう1つの例として、コントラストの低い場合を
挙げる。
Next, as another example, we will discuss a case where the contrast is low.

第19図は白色と水色から成る原稿色についてその再生
色との関係を説明する図である。絵素No、3において
は、 IBI−B2+=+1−71=6<10IRI−R2+
=+24−301=6<10によりオン絵素検出は「有
」である。ところで、原稿色を見ると絵素No、3上に
は白色と水色の境界があるから、本来ならこの注目絵素
はオン絵素の状態ではないが、B2の色が水色であるた
 0 めに、B2=7と小さく、結果としてオン絵素検出が「
有」となったものである。このような場合にも対処する
には判断条件を増やせば対処可能であるが、逆に2つの
データが近いということは、色も近いということである
から、この部分について未処理のまま出力しても、色彩
的には問題はない。そこで、本実施例では特別な対処を
していない。このため、絵素No、3ではオン絵素が検
出され、セレクト信号はA1となり、注目絵素D1のデ
ータがそのまま3つ送出される。しかし、もともと水色
はBの値が小さい色であり、注目絵素のBの部分に白色
がかかつてその値が低下していても色彩的な影響はほと
んどない。但し、水色の再生画素位置は1画素分ずれて
しまう。絵素No、5の場合も同様である。
FIG. 19 is a diagram illustrating the relationship between the original colors of white and light blue and the reproduced colors. For picture element No. 3, IBI-B2+=+1-71=6<10IRI-R2+
Since =+24-301=6<10, on-picture element detection is "present". By the way, if you look at the original color, there is a border between white and light blue on picture element No. 3, so normally this pixel of interest would not be in the ON picture element state, but because the color of B2 is light blue. As a result, B2=7 is small, and as a result, on-pixel detection is
``Yes''. This kind of case can be dealt with by increasing the judgment conditions, but conversely, if the two data are close, it means that the colors are also similar, so this part should be output unprocessed. However, there is no problem with the color. Therefore, no special measures are taken in this embodiment. Therefore, an ON picture element is detected in picture element No. 3, the select signal becomes A1, and three pieces of data of the target picture element D1 are sent out as they are. However, light blue is originally a color with a small B value, so even if white is bright in the B part of the picture element of interest and its value decreases, there is almost no color effect. However, the light blue reproduction pixel position is shifted by one pixel. The same applies to picture element No. 5.

しかし、絵素No、6.絵素No、8の場合は、オン絵
素は検出されず、かつ正規の処理である所の境界位置が
検出されて、境界部が正しく再現される。
However, picture element No. 6. In the case of picture element No. 8, the ON picture element is not detected, and the boundary position is detected using normal processing, and the boundary is correctly reproduced.

このように、原稿のコントラストが低い場合、ケースに
よっては1画素分の誤差を生じることがあるが、コント
ラストが低い部分の1画素分、即ち、0.083ミリ分
の誤差は実際の画像にほとんど影響を与えない。
In this way, if the contrast of the original is low, an error of one pixel may occur depending on the case, but an error of one pixel, or 0.083 mm, in the low contrast area will hardly affect the actual image. No impact.

尚、これまでの説明では1絵素分の再生に際して3組の
画素データを出力したがこれに限らない。例えば2組に
することは容易であり、また4組又は5組にすれば境界
を一層細かく再現できる効果がある。
In the explanation so far, three sets of pixel data are output when reproducing one pixel, but the present invention is not limited to this. For example, it is easy to make two sets, and four or five sets have the effect of reproducing boundaries even more precisely.

第20図は1絵素に対して5組の画素データを出力する
場合を説明する図である。絵素N0.1では画素Bの境
界まで黒色がかかつているが、絵素No、2及び4では
画素G又は画素Rの途中まで黒色がかかっている。この
ため、CCD9の土山力は、絵素N0.1の場合と比べ
て絵素No、2及び4の場合は小さめに出ている。例え
ば絵素N0.2のGは16である。そこで、図の例では
G=16の時には黒信号を1組分だけ送出し、B=24
の時には黒信号を2組分送出するようにしている。この
ように、境界の微妙な位置の違いによってCCD9の生
白力にも差が現われるから、これを利用して5組の出力
を考えることができる。
FIG. 20 is a diagram illustrating a case where five sets of pixel data are output for one picture element. In picture element No. 0.1, black is applied to the boundary of pixel B, but in picture elements No. 2 and 4, black is applied to the middle of pixel G or pixel R. Therefore, Tsuchiyama force of CCD9 appears smaller in the case of picture elements No. 2 and 4 than in the case of picture element No. 0.1. For example, the G of picture element No. 2 is 16. Therefore, in the example shown in the figure, when G=16, only one set of black signals is sent, and when B=24
At the time of , two sets of black signals are sent out. In this way, subtle differences in the positions of the boundaries cause differences in the raw white power of the CCD 9, and this can be used to consider five sets of outputs.

以上説明した如(本実施例によれば、コントラストの高
い部分は画素単位、即ち12分の1ミリのピッチで境界
が形成され、またコントラストの低い場合、例えば白色
と水色の境界等でもケースによっては1画素の誤差が生
じる程度であ3 す、元の原稿色が極めて忠実に再生される。
As explained above (according to this embodiment, boundaries are formed pixel by pixel, that is, at a pitch of 1/12 mm in areas with high contrast, and even in areas with low contrast, such as boundaries between white and light blue, depending on the case) The error is only one pixel, and the original original color is reproduced with great fidelity.

また1絵素分にも満たない細線(0,17ミリ以下)に
ついても濃淡ははっきりと区別して再生することができ
る。即ち、1絵素ピツチの3分の1のピッチである画素
ピッチで画像が再生され、きめ細かで切れのよい再生画
像が得られる。
Furthermore, even for thin lines (0.17 mm or less) that are less than one picture element, the shading can be clearly distinguished and reproduced. That is, the image is reproduced at a pixel pitch that is one-third of the pitch of one picture element, and a reproduced image that is fine and sharp is obtained.

例えば本実施例で用いた点順次センサでは、その絵素数
から、通常はA4原稿を4pel (100dpi)で
しか読み取れないが、本発明によれば12pel (3
00dpi)で読取り、再生できる。
For example, the dot sequential sensor used in this embodiment can normally read an A4 document at only 4 pels (100 dpi) due to the number of picture elements, but according to the present invention, it can read an A4 document at 12 pels (3 pels).
00dpi) and can be read and played back.

尚、上述実施例は原稿像を読み取るスキャナについて述
べたが、本発明は例えばビデオカメラのような撮像装置
にも適用できる。
Although the above embodiments have been described with respect to a scanner that reads an image of a document, the present invention can also be applied to an imaging device such as a video camera.

[発明の効果] 以上述べた如く本発明によれば、点順次センサ 4 の各画素を有効に活用するので、絵素ピッチよりも細か
いピッチで原稿を読取り再生でき、原稿に忠実なきめ細
い再生像を提供できる。
[Effects of the Invention] As described above, according to the present invention, since each pixel of the dot sequential sensor 4 is effectively utilized, the original can be read and reproduced at a pitch finer than the pixel pitch, resulting in detailed reproduction that is faithful to the original. We can provide images.

また、簡単な回路構成で実施することができ、光学調整
の複雑さも伴わないため、大きなコストアップもなく読
取解像度を高められる。
Further, since it can be implemented with a simple circuit configuration and does not require complicated optical adjustment, the reading resolution can be increased without a large increase in cost.

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

第1図は実施例のカラー画像読取装置の信号処理部のブ
ロック構成図、 第2図はセレクト信号生成回路20の詳細を示す回路図
、 第3図は濃淡検出回路34の詳細を示す回路図、 第4図はデータ退出回路60のブロック構成図、 第5図(A)、(B)は絵素データD3〜D6を説明す
る図、 第6図は実施例のカラー画像読取装置の読取機構部を示
す断面図、 第7図はCCD9の受光面の詳細を示す図、第8図〜第
13図はCCDe上に投影される原稿色と注目絵素Di
との関係を模式的に示す図、 第14図はCCDe上に投影される原稿色とCCD9の
土山力の関係を模式的に示す図、第15図は原稿色の一
例と再生色との関係を説明する図、 第16図は第15図の原稿色に対して無処理の場合の再
生色を示す図、 第17図は原稿色の他の例と再生色の関係を説明する図
、 第18図は第17図の原稿色に対して無処理の場合の再
生色を示す図、 第19図は白色と水色から成る原稿色についてその再生
色との関係を説明する図、 第20図は1絵素に対して5組の画素データを出力する
場合を説明する図である。 図中、9・・・CCD、12・・・赤色フィルタ、13
・・・緑色フィルタ、14・・・青色フィルタ、17・
・・データ整列部、20・・・セレクト信号生成回路、
30・・・基本信号生成部、31・・・エツジ検出部、
32・・・オン絵素検出部、33・・・細線検出部、3
4・・・濃淡検出部、35・・・境界位置検出部、50
・・・条件設定部、60・・・データ送出回路、61〜
66・・・データ格納メモリ、67.68・・・セレク
タ、70・・・製部検出部、72・・・浅部検出部であ
る。
FIG. 1 is a block diagram of the signal processing section of the color image reading device of the embodiment, FIG. 2 is a circuit diagram showing details of the select signal generation circuit 20, and FIG. 3 is a circuit diagram showing details of the shade detection circuit 34. , FIG. 4 is a block configuration diagram of the data exit circuit 60, FIGS. 5(A) and 5(B) are diagrams for explaining picture element data D3 to D6, and FIG. 6 is a reading mechanism of the color image reading device of the embodiment. FIG. 7 is a diagram showing details of the light receiving surface of the CCD 9, and FIGS.
Figure 14 is a diagram schematically showing the relationship between the original color projected onto CCDe and Tsuchiyama force of CCD9, and Figure 15 is the relationship between an example of original color and reproduced color. FIG. 16 is a diagram showing the reproduced color in the case of no processing for the original color in FIG. 15. FIG. 17 is a diagram explaining the relationship between other examples of original color and reproduced color. Figure 18 is a diagram showing the reproduced color in the case of no processing for the original color in Figure 17, Figure 19 is a diagram explaining the relationship between the reproduced color and the original color consisting of white and light blue, and Figure 20 is FIG. 6 is a diagram illustrating a case where five sets of pixel data are output for one picture element. In the figure, 9...CCD, 12...Red filter, 13
...Green filter, 14...Blue filter, 17.
...Data alignment section, 20...Select signal generation circuit,
30... Basic signal generation section, 31... Edge detection section,
32...On picture element detection section, 33...Thin line detection section, 3
4... Concentration detection section, 35... Boundary position detection section, 50
...Condition setting section, 60...Data sending circuit, 61-
66...Data storage memory, 67.68...Selector, 70...Setting part detection unit, 72...Shallow part detection unit.

Claims (6)

【特許請求の範囲】[Claims] (1)絵素を点順次に色分解して読取るカラー画像読取
装置において、 注目絵素の色分解信号とその周囲絵素の色分解信号を比
較することにより前記注目絵素とその周囲絵素との関連
状態を検出する状態検出手段と、 前記注目絵素の色分解信号とその周囲絵素の色分解信号
を前記状態検出手段が検出した関連状態に応じた組み合
わせにして出力するデータ出力手段を備えることを特徴
とするカラー画像読取装置。
(1) In a color image reading device that separates and reads picture elements dot-sequentially, the picture element of interest and its surrounding picture elements are identified by comparing the color separation signals of the picture element of interest and the color separation signals of its surrounding picture elements. and a data output means that outputs a combination of a color separation signal of the pixel of interest and a color separation signal of surrounding pixels in accordance with the related state detected by the state detection means. A color image reading device comprising:
(2)前記状態検出手段は注目絵素上にエッジがあるこ
とを検出するエッジ検出手段を備えることを特徴とする
請求項第1項記載のカラー画像読取装置。
(2) The color image reading device according to claim 1, wherein the state detecting means includes edge detecting means for detecting that an edge exists on the picture element of interest.
(3)前記状態検出手段は注目絵素の境界上にエッジが
あることを検出するオン絵素検出手段を備えることを特
徴とする請求項第1項記載のカラー画像読取装置。
(3) The color image reading device according to claim 1, wherein the state detecting means includes on-picture element detecting means for detecting that an edge exists on a boundary of a picture element of interest.
(4)前記状態検出手段は注目絵素上のエッジの位置を
検出する境界位置検出手段を備えることを特徴とする請
求項第1項記載のカラー画像読取装置。
(4) The color image reading device according to claim 1, wherein the state detecting means includes a boundary position detecting means for detecting the position of an edge on the picture element of interest.
(5)前記境界位置検出手段は絵素間における同種の色
分解信号の差分を比較することによりエッジの位置を検
出することを特徴とする請求項第4項記載のカラー画像
読取装置。
(5) The color image reading device according to claim 4, wherein the boundary position detecting means detects the position of the edge by comparing differences between color separation signals of the same type between picture elements.
(6)前記データ出力手段は注目絵素の両隣の絵素の色
分解信号のみから成る組み合わせを出力することを特徴
とする請求項第1項記載のカラー画像読取装置。
(6) The color image reading device according to claim 1, wherein the data output means outputs a combination consisting only of color separation signals of picture elements on both sides of the picture element of interest.
JP07184590A 1990-03-23 1990-03-23 Color image reader Expired - Fee Related JP3147234B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP07184590A JP3147234B2 (en) 1990-03-23 1990-03-23 Color image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP07184590A JP3147234B2 (en) 1990-03-23 1990-03-23 Color image reader

Publications (2)

Publication Number Publication Date
JPH03273758A true JPH03273758A (en) 1991-12-04
JP3147234B2 JP3147234B2 (en) 2001-03-19

Family

ID=13472285

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07184590A Expired - Fee Related JP3147234B2 (en) 1990-03-23 1990-03-23 Color image reader

Country Status (1)

Country Link
JP (1) JP3147234B2 (en)

Also Published As

Publication number Publication date
JP3147234B2 (en) 2001-03-19

Similar Documents

Publication Publication Date Title
JPH01101061A (en) Picture reader
JPH07221971A (en) Image processing method and device therefor
JP4280404B2 (en) Image processing apparatus and method
JP2003032437A (en) Image sensor and image reader
JPH03273758A (en) Color picture reader
JPH0399574A (en) Color image sensor
JP3096042B2 (en) Color image reader
JPH04252667A (en) Color image reader
JPS62161256A (en) Picture reader
JPH06110988A (en) Picture processor
JPH0479474A (en) Color picture reader
JPH04351172A (en) Picture processing unit
JPH03191673A (en) Black/white edge processing method for color reading device
JP3359045B2 (en) Image processing apparatus and image processing method
JPH04280575A (en) Color deviation correction mehtod for color picture reader
JPH04170866A (en) Picture processor
JP3175169B2 (en) Buffer memory switching method of recording device
JPH1127518A (en) Image-processing apparatus and image-processing method
JPH07298046A (en) Image reader
JPH0369230B2 (en)
JPH05110881A (en) Color reader
JPH05161027A (en) Picture reader
JP2003174568A (en) Image reader, image processing system, image read method, medium providing control program and control program
JPH02214264A (en) Picture processor
JP2000032279A (en) Image reader

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090112

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090112

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100112

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees