JP3392577B2 - Image reading device - Google Patents

Image reading device

Info

Publication number
JP3392577B2
JP3392577B2 JP08302695A JP8302695A JP3392577B2 JP 3392577 B2 JP3392577 B2 JP 3392577B2 JP 08302695 A JP08302695 A JP 08302695A JP 8302695 A JP8302695 A JP 8302695A JP 3392577 B2 JP3392577 B2 JP 3392577B2
Authority
JP
Japan
Prior art keywords
white background
data
image data
image
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.)
Expired - Fee Related
Application number
JP08302695A
Other languages
Japanese (ja)
Other versions
JPH08289135A (en
Inventor
知行 吉田
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 JP08302695A priority Critical patent/JP3392577B2/en
Publication of JPH08289135A publication Critical patent/JPH08289135A/en
Application granted granted Critical
Publication of JP3392577B2 publication Critical patent/JP3392577B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、画像読取装置に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image reading device.

【0002】[0002]

【従来の技術】従来、デジタル複写機の画像読取部やイ
メージスキャナなどの画像読取装置は、画像データを読
取入力することができる。現在の画像データをデジタル
入力する画像読取装置には、画像データを多値表現の絵
柄データと二値表現の文字データとに判別し、各々に最
適な画像処理を実行する機種もある。
2. Description of the Related Art Conventionally, an image reading device such as an image reading unit or an image scanner of a digital copying machine can read and input image data. Some image reading apparatuses that digitally input current image data include a model that distinguishes the image data into multi-valued expression pattern data and binary expression character data, and executes optimum image processing for each.

【0003】このような画像読取装置は、例えば、特開
平5-176167号公報、特開平5-308516号公報、特開平6-15
0059号公報、などに開示されている。これらの公報に開
示された画像処理装置は、画像データを絵柄データと文
字データとに識別し、絵柄データには階調性を優先した
ディザ処理などの画像処理を実行し、文字データには解
像度を優先した二値化処理などの画像処理を実行する。
この場合、画像データに絵柄データと文字データとが混
在しても、絵柄データは階調表現されて文字データは二
値表現されるので、高品質な画像データを得ることがで
きる。
Such image reading devices are disclosed, for example, in Japanese Patent Laid-Open Nos. 5-176167, 5-308516, and 6-15.
[0059] Japanese Patent Publication No. The image processing apparatuses disclosed in these publications identify image data into pattern data and character data, execute image processing such as dither processing with priority on gradation for the pattern data, and perform resolution on the character data. Image processing such as binarization processing with priority is executed.
In this case, even if pattern data and character data are mixed in the image data, since the pattern data is expressed in gradation and the character data is expressed in binary, high quality image data can be obtained.

【0004】さらに、このような画像読取装置には、読
取密度を切り替えることができる機種もある。例えば、
原稿が載置されるコンタクトガラスに走査光学系を介し
てラインセンサを対向させた構造では、主走査方向の読
取密度の切り替えはラインセンサの読取処理の切り替え
により実現され、副走査方向の読取密度の切り替えは走
査光学系の移動速度の切り替えにより実現される。
Further, there is a model of such an image reading apparatus in which the reading density can be switched. For example,
In the structure in which the line sensor is opposed to the contact glass on which the original is placed via the scanning optical system, the switching of the reading density in the main scanning direction is realized by the switching of the reading process of the line sensor, and the reading density in the sub-scanning direction. Is switched by switching the moving speed of the scanning optical system.

【0005】より具体的には、基準の読取密度が400(dp
i;dot per inch)の場合、ラインセンサが読取入力する
画像データを半分に間引処理し、走査光学系の移動速度
を二倍とすれば、読取密度は半分の200(dpi)となる。同
様に、ラインセンサの画像データを二倍に補完処理し、
走査光学系の移動速度を半分とすれば、読取密度は二倍
の800(dpi)となる。
More specifically, the standard reading density is 400 (dp
In the case of (i; dot per inch), if the image data read and input by the line sensor is thinned out in half and the moving speed of the scanning optical system is doubled, the read density becomes half (200 dpi). Similarly, the image data of the line sensor is doubled and complemented,
If the moving speed of the scanning optical system is halved, the reading density will be doubled to 800 (dpi).

【0006】この場合、ユーザの所望により、読取密度
を上昇させて画像データを緻密に読取入力することや、
読取密度を低下させて画像データを高速に読取入力する
ことを、任意に選択することができる。また、一つの画
像データの容量を一定とする場合は、上述のような読取
密度の逆数が画像データの変倍率に相当する。一般的
に、イメージスキャナなどの画像読取装置は、ホストコ
ンピュータやレーザプリンタなどの外部装置に接続され
るので、これらの外部装置で画像データを変倍すること
もあるが、この場合でも画像読取装置の読取密度の切り
替えは上述のように有効である。
In this case, if the user desires, the reading density is increased to read and input the image data precisely, or
It is possible to arbitrarily select to reduce the reading density and read and input the image data at high speed. Further, when the capacity of one image data is fixed, the reciprocal of the reading density as described above corresponds to the scaling factor of the image data. Generally, since an image reading device such as an image scanner is connected to an external device such as a host computer or a laser printer, image data may be scaled by these external devices. The switching of the reading density is effective as described above.

【0007】[0007]

【発明が解決しようとする課題】上述のような画像読取
装置では、絵柄データと文字データとが混在する画像デ
ータを良好な品質で読取入力することができ、所望によ
り画像データの読取密度も切り替えることができる。
In the image reading apparatus as described above, image data in which picture data and character data are mixed can be read and input with good quality, and the reading density of the image data can be switched if desired. be able to.

【0008】しかし、絵柄データと文字データとの識別
は、パターンマッチングにより実行しているが、読取密
度が変化するとパターンマッチングの精度が低下するこ
とがある。
However, the pattern data and the character data are discriminated from each other by the pattern matching, but the accuracy of the pattern matching may decrease if the reading density changes.

【0009】より具体的には、文字データを識別する場
合、その空白部分を一定長の白地としてパターンマッチ
ングにより検出しているが、読取密度を低下させると画
像データも相対的に縮小されるため、本来は一定長の白
地として検出される部分が、その一定長より小さくなっ
て検出されないことがある。この場合、文字データが絵
柄データとして階調表現されるので、文字データの解像
度が低下して画像品質が低下する。
More specifically, when identifying character data, the blank portion is detected as a white background of a constant length by pattern matching. However, if the reading density is lowered, the image data is also reduced relatively. In some cases, a portion that is originally detected as a white background of a certain length becomes smaller than the certain length and cannot be detected. In this case, since the character data is expressed in gradation as the pattern data, the resolution of the character data is lowered and the image quality is lowered.

【0010】さらに、文字データを識別する場合、その
内部の白地領域を複数ラインの膨張処理により検出し、
白地領域に濃度変化が発生した部分を文字データのエッ
ジ領域として検出しているが、絵柄データの輪郭部分が
文字データのエッジ領域として誤検出されやすい。この
場合、中間調の絵柄データの外周部分が二値表現されて
輪郭線が発生するが、読取密度を低下させて画像データ
が相対的に縮小されると、輪郭線が相対的に拡大されて
画像品質が低下する。
Furthermore, when identifying character data, a white background area inside the character data is detected by expansion processing of a plurality of lines,
Although the portion in which the density change occurs in the white background area is detected as the edge area of the character data, the contour portion of the pattern data is easily erroneously detected as the edge area of the character data. In this case, the outer peripheral portion of the halftone pattern data is represented in binary and a contour line is generated, but when the reading density is reduced and the image data is relatively reduced, the contour line is relatively enlarged. Image quality is degraded.

【0011】なお、画像読取装置で読取入力した画像デ
ータを外部装置で拡大処理することもあるが、このよう
な場合は、上述した文字の階調や絵柄の輪郭線などが拡
大表示されるので、画像品質の低下が顕著に発現する。
例えば、外部装置の印刷密度や表示密度に画像読取装置
の読取密度を対応させれば、画像品質の低下は目視上は
問題とならないが、画像データの記憶容量や読取速度な
どの関係から、読取密度の低下が必要な場合もある。
The image data read and input by the image reading device may be enlarged by an external device. In such a case, however, the gradation of the characters and the outline of the pattern are enlarged and displayed. , The image quality is remarkably deteriorated.
For example, if the reading density of the image reading device is made to correspond to the printing density or display density of the external device, the deterioration of the image quality does not cause a visual problem, but the reading capacity is limited due to the storage capacity of the image data and the reading speed. It may be necessary to reduce the density.

【0012】[0012]

【課題を解決するための手段】請求項1記載の発明は、
二値表現の文字データと多値表現の絵柄データとの少な
くとも一方が存在する画像データを読取入力するデータ
入力手段を設け、画像データから順番に抽出される注目
画素に対して所定長の白地画素の隣接の有無を予め設定
されたマスクとのパターンマッチングにより判定し、所
定長の白地画素が隣接する注目画素を白地領域の候補の
アクティブ画素として検出する白地判断手段を設け、注
目画素に対して周囲の所定範囲におけるアクティブ画素
の有無を予め設定されたマスクによる膨張処理により判
定し、周囲の所定範囲にアクティブ画素が位置する注目
画素を白地画素として検出する膨張処理手段を設け、画
像データからエッジ領域を検出するエッジ検出手段を設
け、白地領域とエッジ領域と両方が成立すると画像デー
タを文字データと判定し、白地領域とエッジ領域との一
方でも成立しないと画像データを絵柄データと判定する
画像判定手段を設け、判定された文字データに階調性よ
り解像度を優先した画像処理を実行する文字処理手段を
設け、判定された絵柄データに解像度より階調性を優先
した画像処理を実行する絵柄処理手段を設け、前記デー
タ入力手段の読取密度を切り替える密度切替手段を設
け、読取密度の切り替えに対応して前記膨張処理手段の
マスクのサイズを切り替える膨張処理切替手段を設け
た。
The invention according to claim 1 is
A data input means for reading and inputting image data in which at least one of binary-valued character data and multi-valued pattern data is present is provided, and a white background pixel having a predetermined length with respect to a target pixel sequentially extracted from the image data. The presence or absence of adjacency is determined by pattern matching with a preset mask, and a white background determination unit is provided to detect a target pixel having a predetermined white pixel adjacent to it as a candidate active pixel of the white area. The presence or absence of active pixels in a predetermined peripheral area is determined by expansion processing using a preset mask, and expansion processing means for detecting a target pixel in which the active pixel is located in the predetermined peripheral area as a white background pixel is provided. An edge detection unit for detecting an area is provided, and when both the white background area and the edge area are established, the image data is converted to character data. Character processing for determining the image data as pattern data when one of the white background area and the edge area is not established, and executing image processing in which the resolution is prioritized over the gradation of the determined character data. Means is provided, and pattern processing means for executing image processing in which gradation is prioritized over resolution is provided for the determined pattern data, and density switching means for switching the reading density of the data input means is provided to support switching of the reading density. Then, expansion processing switching means for switching the size of the mask of the expansion processing means is provided.

【0013】請求項2記載の発明は、二値表現の文字デ
ータと多値表現の絵柄データとの少なくとも一方が存在
する画像データを読取入力するデータ入力手段を設け、
画像データから順番に抽出される注目画素に対して所定
長の白地画素の隣接の有無を予め設定されたマスクとの
パターンマッチングにより判定し、所定長の白地画素が
隣接する注目画素を白地領域の候補のアクティブ画素と
して検出する白地判断手段を設け、注目画素に対して周
囲の所定範囲におけるアクティブ画素の有無を予め設定
されたマスクによる膨張処理により判定し、周囲の所定
範囲にアクティブ画素が位置する注目画素を白地画素と
して検出する膨張処理手段を設け、画像データからエッ
ジ領域を検出するエッジ検出手段を設け、白地領域とエ
ッジ領域と両方が成立すると画像データを文字データと
判定し、白地領域とエッジ領域との一方でも成立しない
と画像データを絵柄データと判定する画像判定手段を設
け、判定された文字データに階調性より解像度を優先し
た画像処理を実行する文字処理手段を設け、判定された
絵柄データに解像度より階調性を優先した画像処理を実
行する絵柄処理手段を設け、前記データ入力手段の読取
密度を切り替える密度切替手段を設け、読取密度の切り
替えに対応して前記白地判断手段のマスクのサイズを切
り替える白地判断切替手段を設けた。
According to a second aspect of the present invention, there is provided data input means for reading and inputting image data in which at least one of character data represented by binary representation and pattern data represented by multivalued is present.
The presence or absence of adjacency of a white background pixel of a predetermined length to the target pixel sequentially extracted from the image data is determined by pattern matching with a preset mask, and the target pixel adjacent to the white background pixel of the predetermined length is determined as a white background region. A white background determining unit for detecting as a candidate active pixel is provided, and presence / absence of an active pixel in a predetermined surrounding area is determined for the target pixel by expansion processing using a preset mask, and the active pixel is positioned in the predetermined surrounding area. Expansion processing means for detecting the target pixel as a white background pixel is provided, edge detection means for detecting an edge area from the image data is provided, and when both the white background area and the edge area are established, the image data is determined to be character data, and the white background area is determined. An image determination unit that determines the image data as the pattern data when it is not satisfied with one of the edge regions Data is provided with character processing means for executing image processing with priority on resolution over gradation, and pattern processing means for executing image processing with priority on gradation over resolution for the determined pattern data is provided. The density switching means for switching the reading density is provided, and the white background determination switching means for switching the size of the mask of the white background determination means is provided corresponding to the switching of the reading density.

【0014】[0014]

【作用】請求項1記載の発明は、二値表現の文字データ
と多値表現の絵柄データとの少なくとも一方が存在する
画像データをデータ入力手段が読取入力すると、白地判
断手段が、画像データから順番に抽出される注目画素に
対し、所定長の白地画素の隣接の有無を予め設定された
マスクとのパターンマッチングにより判定し、所定長の
白地画素が隣接する注目画素を白地領域の候補のアクテ
ィブ画素として検出する。つぎに、膨張処理手段が、注
目画素に対して周囲の所定範囲におけるアクティブ画素
の有無を予め設定されたマスクによる膨張処理により判
定し、周囲の所定範囲にアクティブ画素が位置する注目
画素を白地画素として検出するので、画像データから白
地領域が検出される。
According to the first aspect of the invention, when the data input means reads and inputs the image data in which at least one of the binary-represented character data and the multi-valued picture data is present, the white background judgment means extracts from the image data. For the target pixels extracted in order, the presence or absence of adjacency of a white background pixel of a predetermined length is determined by pattern matching with a preset mask, and the target pixel to which the white background pixel of a predetermined length is adjacent is activated as a candidate for the white background area. It is detected as a pixel. Next, the expansion processing means determines whether or not there is an active pixel in a predetermined surrounding area with respect to the target pixel by expansion processing using a preset mask, and selects a target pixel in which the active pixel is located in the predetermined surrounding area as a white background pixel. Therefore, the white background area is detected from the image data.

【0015】エッジ検出手段は、画像データからエッジ
領域を検出するので、画像判定手段は、白地領域とエッ
ジ領域と両方が成立すると画像データを文字データと判
定し、白地領域とエッジ領域との一方でも成立しないと
画像データを絵柄データと判定する。文字処理手段は、
判定された文字データに階調性より解像度を優先した画
像処理を実行し、絵柄処理手段は、判定された絵柄デー
タに解像度より階調性を優先した画像処理を実行するの
で、文字データと絵柄データとは各々に最適な画像処理
が実行される。
Since the edge detection means detects the edge area from the image data, the image determination means determines that the image data is character data when both the white background area and the edge area are satisfied, and one of the white background area and the edge area is determined. However, if not established, the image data is determined to be the pattern data. Character processing means
The determined character data is subjected to image processing in which resolution is prioritized over gradation, and the pattern processing means performs image processing in which the determined pattern data is prioritized for gradation over resolution. Optimal image processing is executed for each data.

【0016】密度切替手段が、データ入力手段の読取密
度を切り替えると、この読取密度の切り替えに対応して
膨張処理切替手段が膨張処理手段のマスクのサイズを切
り替えるので、絵柄データの輪郭部分が文字データのエ
ッジ領域として誤検出されることを防止できる。
When the density switching means switches the reading density of the data input means, the expansion processing switching means switches the size of the mask of the expansion processing means in response to the switching of the reading density. It is possible to prevent erroneous detection as an edge area of data.

【0017】請求項2記載の発明は、二値表現の文字デ
ータと多値表現の絵柄データとの少なくとも一方が存在
する画像データをデータ入力手段が読取入力すると、白
地判断手段が、画像データから順番に抽出される注目画
素に対し、所定長の白地画素の隣接の有無を予め設定さ
れたマスクとのパターンマッチングにより判定し、所定
長の白地画素が隣接する注目画素を白地領域の候補のア
クティブ画素として検出する。つぎに、膨張処理手段
が、注目画素に対して周囲の所定範囲におけるアクティ
ブ画素の有無を予め設定されたマスクによる膨張処理に
より判定し、周囲の所定範囲にアクティブ画素が位置す
る注目画素を白地画素として検出するので、画像データ
から白地領域が検出される。
According to a second aspect of the present invention, when the data input means reads and inputs the image data in which at least one of the binary-valued character data and the multi-valued pattern data exists, the white background judgment means extracts the image data from the image data. For the target pixels extracted in order, the presence or absence of adjacency of a white background pixel of a predetermined length is determined by pattern matching with a preset mask, and the target pixel to which the white background pixel of a predetermined length is adjacent is activated as a candidate for the white background area. It is detected as a pixel. Next, the expansion processing means determines whether or not there is an active pixel in a predetermined surrounding area with respect to the target pixel by expansion processing using a preset mask, and selects a target pixel in which the active pixel is located in the predetermined surrounding area as a white background pixel. Therefore, the white background area is detected from the image data.

【0018】エッジ検出手段は、画像データからエッジ
領域を検出するので、画像判定手段は、白地領域とエッ
ジ領域と両方が成立すると画像データを文字データと判
定し、白地領域とエッジ領域との一方でも成立しないと
画像データを絵柄データと判定する。文字処理手段は、
判定された文字データに階調性より解像度を優先した画
像処理を実行し、絵柄処理手段は、判定された絵柄デー
タに解像度より階調性を優先した画像処理を実行するの
で、文字データと絵柄データとは各々に最適な画像処理
が実行される。
Since the edge detection means detects the edge area from the image data, the image determination means determines that the image data is character data when both the white background area and the edge area are satisfied, and one of the white background area and the edge area is determined. However, if not established, the image data is determined to be the pattern data. Character processing means
The determined character data is subjected to image processing in which resolution is prioritized over gradation, and the pattern processing means performs image processing in which the determined pattern data is prioritized for gradation over resolution. Optimal image processing is executed for each data.

【0019】密度切替手段が、データ入力手段の読取密
度を切り替えると、この読取密度の切り替えに対応して
白地判断切替手段が白地判断手段のマスクのサイズを切
り替えるので、白地領域に濃度変化が発生した部分を文
字データのエッジ領域として検出する場合に、絵柄デー
タの輪郭部分が文字データのエッジ領域として誤検出さ
れても、外周部分の二値表現により発生する絵柄の輪郭
線が拡大されない。
When the density switching means switches the reading density of the data input means, the white background determination switching means switches the mask size of the white background determination means in response to the switching of the reading density, so that the density change occurs in the white background area. When the above-mentioned portion is detected as the edge area of the character data, even if the contour portion of the pattern data is erroneously detected as the edge area of the character data, the contour line of the pattern generated by the binary representation of the outer peripheral portion is not enlarged.

【0020】[0020]

【実施例】本発明の一実施例を図面に基づいて以下に説
明する。まず、本実施例の画像読取装置であるイメージ
スキャナ1は、機構的には図2に示すように、本体ハウ
ジング2の上面にコンタクトガラス3を有しており、こ
のコンタクトガラス3の上面には、原稿圧板4が開閉自
在に対向配置されている。前記コンタクトガラス3に下
方から対向する位置には走査光学系5が配置されてお
り、この走査光学系5は、二対一の比率で副走査方向に
移動する主走査方向に細長い第一・第二走行体6,7か
らなる。前記第一走行体6は、一対の直管型蛍光灯8と
一個の反射ミラー9からなり、前記第二走行体7は、一
対の反射ミラー10,11からなる。前記第二走行体7
に副走査方向に対向する位置には、結像光学系12を介
してラインセンサ13が配置されているので、前記コン
タクトガラス3から前記ラインセンサ13まで連通する
走査光路が前記走行体6,7の反射ミラー9〜11によ
り形成されている。なお、前記ラインセンサ13は、受
光素子として多数のCCD(Charge Coupled Device)を
有しており、これらのCCDは主走査方向に連設されて
いる。
An embodiment of the present invention will be described below with reference to the drawings. First, the image scanner 1 which is the image reading apparatus of the present embodiment mechanically has a contact glass 3 on the upper surface of the main body housing 2 as shown in FIG. A document pressure plate 4 is arranged so as to be openable and closable. A scanning optical system 5 is disposed at a position facing the contact glass 3 from below, and the scanning optical system 5 is slender in the main scanning direction and moves in the sub scanning direction at a ratio of 2: 1. It consists of two running bodies 6 and 7. The first traveling body 6 includes a pair of straight tube fluorescent lamps 8 and one reflecting mirror 9, and the second traveling body 7 includes a pair of reflecting mirrors 10 and 11. The second traveling body 7
Since the line sensor 13 is disposed at a position facing in the sub-scanning direction via the imaging optical system 12, the scanning optical path communicating from the contact glass 3 to the line sensor 13 has the traveling bodies 6 and 7. It is formed by the reflection mirrors 9 to 11. The line sensor 13 has a large number of CCDs (Charge Coupled Devices) as light receiving elements, and these CCDs are connected in the main scanning direction.

【0021】前記コンタクトガラス3の副走査方向の一
端の外側には開口14が形成されており、この開口14
に上方から対向する位置には原稿搬送機構15が着脱自
在に装着されている。この原稿搬送機構15は、給紙ト
レー16と排紙トレー17とを有しており、この排紙ト
レー17は前記原稿圧板4の上面に一体化されている。
前記給紙トレー16から前記排紙トレー17まで連通す
る位置には、大径のプラテンローラ18が配置されてお
り、このプラテンローラ18が前記開口14上に位置し
ている。前記給紙トレー16と前記プラテンローラ18
との間隙には分離給紙機構19が設けられており、前記
プラテンローラ18の周囲などには多数のフィードロー
ラ20が配置されている。
An opening 14 is formed outside one end of the contact glass 3 in the sub-scanning direction.
A document conveying mechanism 15 is detachably mounted at a position facing from above. The document transport mechanism 15 has a paper feed tray 16 and a paper discharge tray 17, and the paper discharge tray 17 is integrated with the upper surface of the document pressure plate 4.
A large-diameter platen roller 18 is arranged at a position where the paper feed tray 16 communicates with the paper discharge tray 17, and the platen roller 18 is located above the opening 14. The paper feed tray 16 and the platen roller 18
A separation / feeding mechanism 19 is provided in the gap between and, and a large number of feed rollers 20 are arranged around the platen roller 18.

【0022】そして、本実施例のイメージスキャナ1
は、原稿(図示せず)の画像の読取モードとして、原稿
固定モードと原稿搬送モードとが切替自在である。原稿
固定モードでは、原稿を前記コンタクトガラス3上に固
定的に位置させて前記走行体6,7を副走査方向に移動
させ、原稿搬送モードでは、前記走行体6,7を前記開
口14の下方に固定的に位置させて原稿を前記原稿搬送
機構15により副走査方向に搬送する。本実施例のイメ
ージスキャナ1は、上述のようにして原稿の画像データ
を主走査方向と副走査方向とに読取走査するので、ここ
に画像データを読取入力するデータ入力手段が実現され
ている。
Then, the image scanner 1 of the present embodiment.
As the image reading mode of a document (not shown), the document fixing mode and the document conveying mode can be switched. In the document fixing mode, the document is fixedly positioned on the contact glass 3 to move the traveling bodies 6 and 7 in the sub-scanning direction, and in the document conveying mode, the traveling bodies 6 and 7 are located below the opening 14. The original is conveyed in the sub-scanning direction by the original conveying mechanism 15 while being fixedly positioned at. Since the image scanner 1 of the present embodiment scans and scans the image data of the original in the main scanning direction and the sub scanning direction as described above, a data input unit for reading and inputting the image data is realized.

【0023】なお、前記本体ハウジング2の副走査方向
の一端には、前記走査光学系5などを駆動する駆動モー
タ21が配置されており、前記本体ハウジング2の底部
には、各種のデータ処理を実行する回路基板22が配置
されている。
A drive motor 21 for driving the scanning optical system 5 and the like is disposed at one end of the main body housing 2 in the sub-scanning direction, and various data processing is performed on the bottom of the main body housing 2. A circuit board 22 to be executed is arranged.

【0024】上述のような構造のイメージスキャナ1
は、図1に示すように、ホストコンピュータやレーザプ
リンタなどからなる外部装置23に接続されており、全
体で画像処理システム24を形成している。前記ライン
センサ13には画像処理回路25が接続されており、こ
の画像処理回路25が前記外部装置23に接続されてい
る。前記画像処理部25は、前記ラインセンサ13によ
り原稿から読取走査された画像データを、二値表現の文
字データと多値表現の絵柄データとに識別し、これらの
データの各々に最適な画像処理を実行する。
The image scanner 1 having the above structure.
1, is connected to an external device 23 such as a host computer and a laser printer, and forms an image processing system 24 as a whole. An image processing circuit 25 is connected to the line sensor 13, and the image processing circuit 25 is connected to the external device 23. The image processing unit 25 identifies the image data read and scanned from the original by the line sensor 13 into binary representation character data and multi-value representation pattern data, and the optimum image processing for each of these data. To execute.

【0025】このため、前記画像処理回路25は、分離
処理部26、二値化処理部27、中間処理部28、階調
処理部29、を有しており、これらの処理部26〜29
は選択回路30に接続されている。詳細には各々後述す
るが、前記分離処理部26は、画像データを、文字デー
タに相当する解像度優先領域と、絵柄データに相当する
階調性優先領域と、これらに分類されない中間処理領域
とに識別する。前記二値化処理部27は、画像データに
階調性より解像度を優先させた画像処理を実行し、前記
中間処理部28は、画像データに解像度と階調性とを両
立させた画像処理を実行し、前記階調処理部29は、画
像データに解像度より階調性を優先させた画像処理を実
行する。
Therefore, the image processing circuit 25 has a separation processing unit 26, a binarization processing unit 27, an intermediate processing unit 28, and a gradation processing unit 29, and these processing units 26 to 29.
Are connected to the selection circuit 30. As will be described later in detail, the separation processing unit 26 divides the image data into a resolution priority area corresponding to character data, a gradation priority area corresponding to picture data, and an intermediate processing area not classified into these. Identify. The binarization processing unit 27 executes the image processing in which the resolution is prioritized over the gradation in the image data, and the intermediate processing unit 28 performs the image processing in which the resolution and the gradation are compatible with the image data. Then, the gradation processing unit 29 executes image processing in which gradation is prioritized over resolution in the image data.

【0026】前記選択回路30は、前記分離処理部26
の識別結果に従って、解像度優先領域の画像データを前
記二値化処理部27から選択的に入力するので、ここ
に、文字データに階調性より解像度を優先した画像処理
を実行する文字処理手段が実現されている。同様に、前
記選択回路30は、中間処理領域の画像データは前記中
間処理部28から入力し、階調性優先領域の画像データ
は前記階調処理部29から入力するので、ここに、絵柄
データに解像度より階調性を優先した画像処理を実行す
る絵柄処理手段が実現されている。
The selection circuit 30 includes the separation processing unit 26.
Since the image data in the resolution priority area is selectively input from the binarization processing unit 27 in accordance with the identification result of, the character processing means for executing the image processing in which the resolution is prioritized over the tone is applied to the character data. Has been realized. Similarly, the selection circuit 30 inputs the image data of the intermediate processing region from the intermediate processing unit 28 and the image data of the gradation priority region from the gradation processing unit 29. In addition, a pattern processing means for executing image processing in which gradation is prioritized over resolution is realized.

【0027】上述のように画像データを各種領域に識別
する前記分離処理部26は、詳細には図3に示すよう
に、前記ラインセンサ13に並列に接続されたエッジ検
出手段であるエッジ領域検出回路31と白地領域検出回
路32とを有しており、これらの領域検出回路31,3
2は、画像判定手段である一個の領域判定回路33に接
続されている。前記エッジ領域検出回路31は、画像デ
ータから白画素が連続した部分と黒画素が連続した部分
とを検出し、これらの部分が存在する位置をエッジ領域
として検出する。なお、このようなエッジ検出回路31
の処理動作は公知のものであり、例えば、特開平5-1761
67号公報などに詳細に開示されている。
As described in detail in FIG. 3, the separation processing section 26 for identifying the image data into various areas as described above is an edge area detecting means which is an edge detecting means connected in parallel to the line sensor 13. It has a circuit 31 and a white background area detection circuit 32, and these area detection circuits 31, 3
2 is connected to one area determination circuit 33 which is an image determination means. The edge area detection circuit 31 detects a portion where white pixels are continuous and a portion where black pixels are continuous from the image data, and detects a position where these portions are present as an edge area. Note that such an edge detection circuit 31
The processing operation described in JP-A-5-1761 is known.
It is disclosed in detail in Japanese Patent Publication No. 67 and the like.

【0028】前記白地領域検出回路32は、詳細には後
述するが、注目画素に隣接する所定長の白地の有無を判
定し、これが存在する場合には方向も検出する。前記領
域判定回路33は、前記検出回路31,32の出力結果
の組み合わせにより、解像度優先領域と中間処理領域と
階調性優先領域との識別信号を画像データの各画素毎に
出力する。
As will be described later in detail, the white background area detection circuit 32 determines the presence or absence of a white background of a predetermined length adjacent to the pixel of interest, and detects the direction if it exists. The area determination circuit 33 outputs, for each pixel of the image data, an identification signal of the resolution priority area, the intermediate processing area, and the gradation priority area based on the combination of the output results of the detection circuits 31 and 32.

【0029】上述のように白地を検出する前記白地領域
検出回路32は、図4に示すように、MTF(Modulatio
n Transfer Function)補正回路34、二値化回路35、
白地判断手段である白地画素検出回路36、膨張処理手
段である膨張処理回路37、補正処理回路38、を有し
ている。前記MTF補正回路34は、図7に示すよう
に、予め所定形状のMTFフィルタが設定されており、
このMTFフィルタの補正演算により画像データを鮮鋭
化する。前記二値化回路35は、予め所定の閾値が設定
されており、この閾値との比較により画像データを白黒
に二値化する。前記白地画素検出回路36は、図8に示
すように、予め“1×5”や“5×1”などのマスクが
設定されており、このマスクと画像データとのパターン
マッチングにより、所定長の白地が隣接する注目画素を
アクティブ画素として検出する。
As described above, the white background area detection circuit 32 for detecting a white background, as shown in FIG.
n Transfer Function) correction circuit 34, binarization circuit 35,
It has a white background pixel detection circuit 36 which is a white background determination means, an expansion processing circuit 37 which is an expansion processing means, and a correction processing circuit 38. As shown in FIG. 7, the MTF correction circuit 34 has an MTF filter of a predetermined shape set in advance,
The image data is sharpened by the correction calculation of the MTF filter. The binarization circuit 35 is preset with a predetermined threshold value, and compares the threshold value with the threshold value to binarize the image data into black and white. As shown in FIG. 8, the white background pixel detection circuit 36 is preset with a mask such as “1 × 5” or “5 × 1”, and a pattern of a predetermined length is obtained by pattern matching between the mask and the image data. A pixel of interest adjacent to a white background is detected as an active pixel.

【0030】ここで、前記白地画素検出回路36の構造
と処理動作とを図5に基づいて以下に詳述する。この白
地画素検出回路36は、“5×5”のマスクに対応した
二十五個のFF(Flip Flop)回路39を有しており、こ
れらのFF回路39の各行が所定容量のラインメモリ4
0を一個ずつ介して順番に接続されている。前記FF回
路39は、二系統の四個のアンドゲート41〜44と二
系統の二個のオアゲート45,46とからなる検出演算
回路47に接続されており、この検出演算回路47の二
系統の出力は一個のセレクタ回路48に接続されてい
る。
The structure and processing operation of the white background pixel detection circuit 36 will be described in detail below with reference to FIG. This white background pixel detection circuit 36 has twenty-five FF (Flip Flop) circuits 39 corresponding to a “5 × 5” mask, and each row of these FF circuits 39 has a predetermined capacity.
They are connected in order through one by one. The FF circuit 39 is connected to a detection operation circuit 47 including two AND gates 41 to 44 of two systems and two OR gates 45 and 46 of two systems. The output is connected to one selector circuit 48.

【0031】第一系統の第一の前記アンドゲート41
は、前記FF回路39に対して“1×5”のマスクを形
成する位置に接続されており、第一系統の第二の前記ア
ンドゲート42は、前記FF回路39に対して“5×
1”のマスクを形成する位置に接続されている。同様
に、第二系統の二個の前記アンドゲート43,44は、
前記FF回路39に対して“1×3”と“3×1”との
マスクを形成する位置に接続されている。これら二系統
のアンドゲート41〜44は、二系統の前記オアゲート
45,46に個々に接続されており、これらのオアゲー
ト45,46が接続されている前記セレクタ回路48の
制御入力には、図示しないCPU(Central Processing
Unit)が接続されている。
The first AND gate 41 of the first system
Is connected to the FF circuit 39 at a position forming a “1 × 5” mask, and the second AND gate 42 of the first system is connected to the FF circuit 39 by “5 × 5”.
The two AND gates 43 and 44 of the second system are connected to a position for forming a 1 "mask.
It is connected to the FF circuit 39 at a position where a mask of “1 × 3” and “3 × 1” is formed. These two-system AND gates 41 to 44 are individually connected to the two-system OR gates 45 and 46, and the control inputs of the selector circuit 48 to which these OR gates 45 and 46 are connected are not shown. CPU (Central Processing
Unit) is connected.

【0032】詳細には後述するように、このCPUは、
各種のデータ処理により各部を制御するものであり、例
えば、前記ラインセンサ13の読取処理、前記走査光学
系5の走査速度、前記原稿搬送機構15の搬送速度、な
どを切り替えることにより、画像データの読取密度を 4
00,200(dpi)の二段階に切り替えることができる。こ
こに密度切替手段が実現されており、前記CPUは、上
述のような読取密度の切替信号を前記セレクタ回路48
に出力する。
As will be described later in detail, this CPU is
Each unit is controlled by various data processing. For example, by switching the reading processing of the line sensor 13, the scanning speed of the scanning optical system 5, the transportation speed of the document transportation mechanism 15, etc. Read density of 4
It can be switched to two levels of 00 and 200 (dpi). Here, the density switching means is realized, and the CPU sends the read density switching signal as described above to the selector circuit 48.
Output to.

【0033】前記白地画素検出回路36に各画素毎に順
次入力される画像データは、前記FF回路39により、
“5×5”の中心に注目画素が位置するように一時記憶
される。この時、第一系統の前記アンドゲート41,4
2は、画像データの論理積により、注目画素を中心とす
る“1×5”“5×1”の白地画素を検出するので、第
一系統の前記オアゲート45は、検出結果の論理和によ
り、“1×5”か“5×1”に連続する白地画素の中心
をアクティブ画素として出力する。
The image data sequentially input to the white background pixel detection circuit 36 for each pixel is processed by the FF circuit 39.
It is temporarily stored so that the pixel of interest is located at the center of “5 × 5”. At this time, the AND gates 41 and 4 of the first system
2 detects "1 × 5" and "5 × 1" white background pixels centered on the pixel of interest based on the logical product of the image data. Therefore, the OR gate 45 of the first system calculates the logical sum of the detection results. The center of white background pixels that are continuous with “1 × 5” or “5 × 1” is output as an active pixel.

【0034】同時に、第二系統の前記アンドゲート4
3,44は、注目画素を中心とする“1×3”“3×
1”の白地画素を検出するので、第二系統の前記オアゲ
ート46は、“1×3”か“3×1”に連続する白地画
素の中心をアクティブ画素として出力する。これらのア
クティブ画素は同時に前記セレクタ回路48に出力され
るが、詳細には後述するように、このセレクタ回路48
は、入力された二つのアクティブ画素の一方を、前記C
PUから入力される読取密度の切替信号に従って選択的
に出力するので、ここに、読取密度の切り替えに対応し
て前記白地画素検出回路36のマスクのサイズを切り替
える白地判断切替手段が実現されている。
At the same time, the AND gate 4 of the second system
3, 44 are "1x3" and "3x" with the pixel of interest at the center.
Since the white background pixel of 1 "is detected, the OR gate 46 of the second system outputs the center of the white background pixels continuous to" 1x3 "or" 3x1 "as an active pixel. Output to the selector circuit 48. As will be described later in detail, this selector circuit 48
Is one of the two input active pixels,
Since the output is selectively output according to the read density switching signal input from the PU, a white background determination switching unit that switches the size of the mask of the white pixel detection circuit 36 corresponding to the switching of the read density is realized here. .

【0035】前記膨張処理回路37は、図9に示すよう
に、予め“3×9”などのマスクが膨張処理のために設
定されており、注目画素を中心とするマスクに一つでも
アクティブ画素が存在すると、注目画素を白地画素とし
て検出する。この膨張処理は、文字の内部の白地画素を
検出することにより、文字が位置する白地部分を絵柄部
分と判別するために実行される。
In the expansion processing circuit 37, as shown in FIG. 9, a mask such as “3 × 9” is set in advance for expansion processing, and even one active pixel is included in the mask centered on the pixel of interest. Is present, the target pixel is detected as a white background pixel. This expansion process is executed to detect a white background pixel inside the character to determine a white background portion where the character is located as a pattern portion.

【0036】ここで、前記膨張処理回路37の構造と処
理動作とを図6に基づいて以下に詳述する。この膨張処
理回路37は、“3×9”のマスクに対応した二十七個
のFF回路49を有しており、これらのFF回路49の
各行が所定容量のラインメモリ50を一個ずつ介して順
番に接続されている。前記FF回路49は、四個のオア
ゲート51〜54からなる膨張演算回路55に接続され
ており、この膨張演算回路55と一個の前記オアゲート
52とが一個のセレクタ回路56に接続されている。三
個の前記オアゲート51〜53は、前記FF回路49に
“3×9”の各行毎に接続されており、これらのオアゲ
ート51〜53が前記オアゲート54に個々に接続され
ている。このオアゲート54と前記オアゲート52とが
接続されている前記セレクタ回路56の制御入力には、
前記CPUが接続されている。
Here, the structure and processing operation of the expansion processing circuit 37 will be described in detail below with reference to FIG. The expansion processing circuit 37 has twenty-seven FF circuits 49 corresponding to a “3 × 9” mask, and each row of these FF circuits 49 passes through one line memory 50 of a predetermined capacity. Connected in order. The FF circuit 49 is connected to an expansion arithmetic circuit 55 composed of four OR gates 51 to 54, and the expansion arithmetic circuit 55 and one OR gate 52 are connected to one selector circuit 56. The three OR gates 51 to 53 are connected to the FF circuit 49 for each “3 × 9” row, and these OR gates 51 to 53 are individually connected to the OR gate 54. The control input of the selector circuit 56 to which the OR gate 54 and the OR gate 52 are connected,
The CPU is connected.

【0037】前記膨張処理回路37に各画素毎に順次入
力される画像データは、前記FF回路49により、“3
×9”の中心に注目画素が位置するように一時記憶され
る。この時、前記オアゲート51〜53は、“3×9”
の前記FF回路49に一時記憶された画像データの論理
和により、注目画素を中心とする三行の画像データの各
行毎に“1×9”の膨張演算を実行する。そして、前記
オアゲート54は、前記オアゲート51〜53の出力結
果の論理和により、注目画素を中心とする“3×9”の
画像データの膨張演算を実行する。
The image data sequentially input to the expansion processing circuit 37 for each pixel is "3" by the FF circuit 49.
It is temporarily stored so that the pixel of interest is located at the center of × 9 ″. At this time, the OR gates 51 to 53 are “3 × 9”.
By the logical sum of the image data temporarily stored in the FF circuit 49, the expansion operation of “1 × 9” is executed for each row of the three rows of image data centered on the pixel of interest. Then, the OR gate 54 executes expansion operation of “3 × 9” image data centered on the pixel of interest by the logical sum of the output results of the OR gates 51 to 53.

【0038】この時、前記セレクタ回路56には、注目
画素を中心とする“3×9”画像データの論理和が前記
オアゲート54から出力されると共に、注目画素を中心
とする“1×9”画像データの論理和が前記オアゲート
52から出力される。そして、前記セレクタ回路56
は、入力された二つの演算結果の一方を、前記CPUか
ら入力される読取密度の切替信号に従って選択的に出力
するので、ここに、読取密度の切り替えに対応して前記
膨張処理回路37のマスクのサイズを切り替える膨張処
理切替手段が実現されている。
At this time, the OR gate 54 outputs a logical sum of "3.times.9" image data centered on the pixel of interest to the selector circuit 56 and "1.times.9" centered on the pixel of interest. The logical sum of the image data is output from the OR gate 52. Then, the selector circuit 56
Selectively outputs one of the two input calculation results in accordance with the read density switching signal input from the CPU. Therefore, the mask of the expansion processing circuit 37 corresponds to the read density switching here. The expansion processing switching means for switching the size of is realized.

【0039】前記補正処理回路38は、図10に示すよ
うに、予め一次元のマスクが補正処理のために設定され
ており、注目画素の周囲の白地画素の有無を、条件付き
で補正処理する。つまり、上述したマスクとのパターン
マッチングにより、注目画素の両側に白地部分が存在す
る場合、 (aからpの論理和)アンド(AからPの論理和)=1 なので、この場合は注目画素に対して解像度優先領域の
識別信号に相当する2ビットの出力信号“10”を出力す
る。また、注目画素の片側に白地部分が存在する場合、 (aからpの論理和)オア(AからPの論理和)=1 なので、この場合は中間処理領域の識別信号に相当する
出力信号“01”を出力し、これらでない場合には、階調
性優先領域の識別信号に相当する出力信号“00”を出力
する。
As shown in FIG. 10, in the correction processing circuit 38, a one-dimensional mask is set in advance for the correction processing, and the presence / absence of a white background pixel around the target pixel is conditionally corrected. . That is, when there is a white background on both sides of the pixel of interest due to the pattern matching with the mask described above, (logical sum of a to p) and (logical sum of A to P) = 1, so in this case On the other hand, a 2-bit output signal "10" corresponding to the identification signal of the resolution priority area is output. When a white background exists on one side of the pixel of interest, (logical sum of a to p) or (logical sum of A to P) = 1, and in this case, the output signal “corresponding to the identification signal of the intermediate processing area” 01 "is output, and if not, an output signal" 00 "corresponding to the identification signal of the gradation priority area is output.

【0040】上述した各種回路34〜38からなる前記
白地領域検出回路32は、注目画素に隣接する所定長の
白地の有無を方向と共に判定して2ビットの出力信号を
発生し、前記エッジ領域検出回路31は、画像データか
らエッジ領域を検出して1ビットの出力信号を発生する
ので、これらの組み合わせにより、前記領域判定回路3
3は、各種領域の識別信号を画像データの各画素毎に出
力する。
The white background area detection circuit 32 including the above-mentioned various circuits 34 to 38 determines the presence or absence of a white background of a predetermined length adjacent to the target pixel together with the direction, generates a 2-bit output signal, and detects the edge area. The circuit 31 detects the edge area from the image data and generates a 1-bit output signal.
3 outputs identification signals of various areas for each pixel of the image data.

【0041】つまり、前記エッジ検出回路31が注目画
素をエッジ領域と判定して1ビットの出力信号“1”を
発生し、前記白地領域検出回路32が注目画素の両側に
白地を検出して出力信号“10”を発生した場合、前記領
域判定回路33は注目画素を解像度優先領域と判定して
2ビットの識別信号“10”を発生する。また、前記エッ
ジ検出回路31が出力信号“1”を発生し、前記白地領
域検出回路32が注目画素の片側に白地を検出して出力
信号“01”を発生した場合、前記領域判定回路33は注
目画素を中間処理領域と判定して識別信号“01”を発生
し、これらの以外の組み合わせの場合には、前記領域判
定回路33は注目画素を階調性優先領域と判定して識別
信号“00”を発生する。
That is, the edge detection circuit 31 determines the pixel of interest as an edge region and generates a 1-bit output signal "1", and the white background region detection circuit 32 detects and outputs a white background on both sides of the target pixel. When the signal "10" is generated, the area determination circuit 33 determines the pixel of interest as the resolution priority area and generates a 2-bit identification signal "10". When the edge detection circuit 31 generates an output signal “1” and the white background area detection circuit 32 detects a white background on one side of the target pixel and generates an output signal “01”, the area determination circuit 33 The target pixel is determined to be the intermediate processing region and the identification signal “01” is generated. In the case of combinations other than these, the region determination circuit 33 determines the target pixel to be the gradation priority region and the identification signal “01”. Generates 00 ".

【0042】なお、画像データの解像度優先領域に解像
度優先の画像処理を実行する前記二値化処理部27は、
図1に示すように、MTF補正回路57と二値化回路5
8とを有している。前記MTF補正回路57は、前記分
離処理部26の白地領域検出回路32のMTF補正回路
34と同様に、図7に示すように、予め所定形状のMT
Fフィルタが設定されており、このMTFフィルタの補
正演算により画像データを鮮鋭化する。前記二値化回路
58も、前記二値化回路35と同様に、予め所定の閾値
が設定されており、この閾値との比較により画像データ
を白黒に二値化する。
It should be noted that the binarization processing unit 27, which executes the image processing of resolution priority in the resolution priority area of the image data,
As shown in FIG. 1, the MTF correction circuit 57 and the binarization circuit 5
8 and. Like the MTF correction circuit 34 of the white background area detection circuit 32 of the separation processing unit 26, the MTF correction circuit 57 has a predetermined shape of MT as shown in FIG.
The F filter is set, and the image data is sharpened by the correction calculation of the MTF filter. Similarly to the binarizing circuit 35, the binarizing circuit 58 has a predetermined threshold value set in advance, and binarizes the image data into black and white by comparison with this threshold value.

【0043】画像データの中間処理領域に解像度と階調
性とが考慮された画像処理を実行する前記中間処理部2
8は、図1に示すように、MTF補正回路59とディザ
処理回路60とを有している。前記MTF補正回路59
は、前記MTF補正回路34,57と同様に、MTFフ
ィルタの補正演算により画像データを鮮鋭化する。前記
ディザ処理回路60は、図11に示すように、予め“4
×4”ディザ処理のマトリクスが設定されており、この
マトリクスのディザ処理により画像データを階調表現す
る。
The intermediate processing section 2 for executing image processing in which the resolution and gradation are taken into consideration in the intermediate processing area of the image data.
As shown in FIG. 1, the reference numeral 8 has an MTF correction circuit 59 and a dither processing circuit 60. The MTF correction circuit 59
In the same manner as the MTF correction circuits 34 and 57, the image data is sharpened by the correction calculation of the MTF filter. The dither processing circuit 60, as shown in FIG.
A matrix of x4 "dither processing is set, and the image data is expressed in gradation by the dither processing of this matrix.

【0044】画像データの階調性優先領域に階調性優先
の画像処理を実行する前記階調処理部29は、図1に示
すように、平滑化回路61とディザ処理回路62とを有
している。前記平滑化回路61は、図12に示すよう
に、予め“3×5”の平滑化処理のフィルタが設定され
ており、このフィルタの処理により画像データを平滑化
する。そして、前記ディザ処理回路62は、前記ディザ
処理回路60と同様に、マトリクスのディザ処理により
画像データを階調表現する。
As shown in FIG. 1, the gradation processing unit 29 for executing gradation-priority image processing in the gradation-priority area of image data has a smoothing circuit 61 and a dither processing circuit 62. ing. As shown in FIG. 12, the smoothing circuit 61 is preset with a “3 × 5” smoothing filter, and smoothes the image data by the processing of this filter. Then, the dither processing circuit 62, similarly to the dither processing circuit 60, expresses the gradation of the image data by the matrix dither processing.

【0045】このような構成において、本実施例のイメ
ージスキャナ1は、原稿の画像データを読取入力してホ
ストコンピュータやレーザプリンタなどの外部装置23
に出力することができる。この時、本実施例のイメージ
スキャナ1は、画像データの読取密度を 400,200(dpi)
の二段階に切り替えることができるので、読取密度を40
0(dpi)として画像データを緻密に読取入力することや、
読取密度を200(dpi)として画像データの容量を削減する
と共に読取速度を向上させることができる。また、本実
施例のイメージスキャナ1は、読取入力した画像データ
を文字データや絵柄データに識別し、各々に最適な画像
処理を実行する。
With such a configuration, the image scanner 1 of the present embodiment reads and inputs the image data of the original document and outputs it to the external device 23 such as a host computer or a laser printer.
Can be output to. At this time, the image scanner 1 of the present embodiment sets the reading density of the image data to 400, 200 (dpi).
The read density is 40
Read and input image data precisely as 0 (dpi),
The reading density can be set to 200 (dpi) to reduce the amount of image data and improve the reading speed. Further, the image scanner 1 of the present embodiment identifies the read and input image data as character data or picture data, and executes optimum image processing for each.

【0046】より詳細には、本実施例のイメージスキャ
ナ1では、読取入力した画像データを、分離処理部26
により解像度優先領域と中間処理領域と階調性優先領域
とに判定する。解像度優先領域には二値化処理部27に
より解像度を優先させた画像処理が実行され、中間処理
領域には中間処理部28により解像度と階調性とを両立
させた画像処理が実行され、階調性優先領域には階調処
理部29により階調性を優先させた画像処理が実行され
る。このため、文字データの部分は解像度優先領域とし
て二値表現され、絵柄データの部分は階調性優先領域と
して階調表現されるので、読取入力された画像データは
最適に画像処理されて外部装置23に出力される。しか
も、文字データとも絵柄データとも判定されない中間処
理領域には、解像度と階調性とを両立させた画像処理が
実行されるので、画像データは極めて良好に画像処理さ
れる。
More specifically, in the image scanner 1 of the present embodiment, the image data read and input is separated by the separation processing unit 26.
Is determined as a resolution priority area, an intermediate processing area, and a gradation priority area. The binarization processing unit 27 executes the image processing in which the resolution is prioritized in the resolution priority area, and the intermediate processing unit 28 executes the image processing in which the resolution and the gradation are compatible with each other in the intermediate processing area. In the tonality priority area, the gradation processing unit 29 executes image processing in which gradation is prioritized. Therefore, the character data portion is expressed in binary as a resolution priority area, and the pattern data portion is expressed in gradation as a gradation priority area. Therefore, the read and input image data is optimally image-processed and external device 23 is output. In addition, since the image processing in which both the resolution and the gradation are compatible is executed in the intermediate processing area which is not determined as the character data or the pattern data, the image data is processed extremely well.

【0047】上述のように分離処理部26が画像データ
を各種領域に識別する場合は、エッジ領域検出回路31
が画像データからエッジ領域を検出し、白地領域検出回
路32が注目画素に隣接する所定長の白地の有無を判定
するので、これらの出力結果の組み合わせにより、領域
判定回路33が画像データの各画素毎に各領域の識別信
号を出力する。
When the separation processing section 26 identifies the image data into various areas as described above, the edge area detection circuit 31 is used.
Detects the edge area from the image data, and the white background area detection circuit 32 determines the presence or absence of a white background adjacent to the pixel of interest of a predetermined length. The identification signal of each area is output for each.

【0048】上述のように白地領域検出回路32が、連
続する白地を検出する場合は、MTF補正回路34が、
予め設定されたMTFフィルタの補正演算により画像デ
ータを鮮鋭化し、二値化回路35が、予め設定された閾
値により画像データを二値化する。つぎに、白地画素検
出回路36が、予め設定されたマスクと画像データとの
パターンマッチングにより、所定長の白地が隣接する注
目画素をアクティブ画素として検出するので、膨張処理
回路37は、予め設定されたマスクによる膨張処理によ
り、注目画素を中心とするマスクに一つでもアクティブ
画素が存在すると、注目画素を白地画素として検出す
る。そして、補正処理回路38は、予め設定された一次
元のマスクと画像データとのパターンマッチングによ
り、注目画素の両側や片側に白地部分が存在すると、各
領域の候補の識別信号を出力する。
When the white background area detection circuit 32 detects a continuous white background as described above, the MTF correction circuit 34
The image data is sharpened by the correction calculation of the preset MTF filter, and the binarization circuit 35 binarizes the image data by the preset threshold value. Next, the white background pixel detection circuit 36 detects a target pixel adjacent to a white background of a predetermined length as an active pixel by pattern matching between a preset mask and image data, so that the expansion processing circuit 37 is set in advance. By the expansion process using the mask, if at least one active pixel exists in the mask centered on the target pixel, the target pixel is detected as a white background pixel. Then, the correction processing circuit 38 outputs a candidate identification signal of each region when a white background portion exists on both sides or one side of the pixel of interest by pattern matching between a preset one-dimensional mask and image data.

【0049】上述のように白地画素検出回路36が、所
定長の白地が隣接する注目画素をアクティブ画素として
検出する場合は、“5×5”のFF回路39の中心に注
目画素が位置するように画像データが一時記憶され、第
一系統のアンドゲート41,42とオアゲート45との
論理演算により、“1×5”か“5×1”のマスクに白
地画素が連続する中心の注目画素がアクティブ画素とし
て検出される。この時、第二系統のアンドゲート43,
44とオアゲート46との論理演算により、“1×3”
か“3×1”のマスクに白地画素が連続する中心の注目
画素もアクティブ画素として検出される。
As described above, when the white background pixel detection circuit 36 detects a target pixel adjacent to a white background of a predetermined length as an active pixel, the target pixel is positioned at the center of the “5 × 5” FF circuit 39. The image data is temporarily stored in, and by the logical operation of the AND gates 41 and 42 of the first system and the OR gate 45, the pixel of interest at the center where the white background pixels are continuous in the “1 × 5” or “5 × 1” mask It is detected as an active pixel. At this time, the second system AND gate 43,
“1 × 3” by logical operation of 44 and OR gate 46
A pixel of interest at the center of which a white background pixel is continuous with a “3 × 1” mask is also detected as an active pixel.

【0050】これらのアクティブ画素は、セレクタ回路
48により一方が選択的に出力されるが、このセレクタ
回路48は、イメージスキャナ1の読取密度が400(dpi)
の場合は、“1×5”“5×1”のマスクにより検出さ
れたアクティブ画素を選択し、読取密度が200(dpi)の場
合は、“1×3”“3×1”のマスクにより検出された
アクティブ画素を選択する。
One of these active pixels is selectively output by the selector circuit 48. This selector circuit 48 has a reading density of 400 (dpi) of the image scanner 1.
In the case of, the active pixels detected by the mask of “1 × 5” and “5 × 1” are selected, and when the reading density is 200 (dpi), the mask of “1 × 3” and “3 × 1” is used. Select the detected active pixel.

【0051】また、上述のように膨張処理回路37が、
膨張処理により注目画素を白地画素として検出する場合
は、“3×9”のFF回路49の中心に注目画素が位置
するように画像データが一時記憶され、オアゲート51
〜54により“3×9”のマスクによる画像データの膨
張演算が実行され、オアゲート52により“1×9”の
マスクによる画像データの膨張演算が実行される。
Further, as described above, the expansion processing circuit 37 is
When the target pixel is detected as a white background pixel by the expansion processing, the image data is temporarily stored so that the target pixel is located at the center of the “3 × 9” FF circuit 49, and the OR gate 51 is used.
54 to 54, the expansion operation of the image data by the mask of “3 × 9” is executed, and the OR gate 52 executes the expansion operation of the image data by the mask of “1 × 9”.

【0052】これらの演算により検出される白地画素
は、セレクタ回路56により一方が選択的に出力される
が、このセレクタ回路56は、イメージスキャナ1の読
取密度が400(dpi)の場合は、“3×9”のマスクにより
検出された白地画素を選択し、読取密度が200(dpi)の場
合は、“1×9”のマスクにより検出された白地画素を
選択する。
One of the white background pixels detected by these calculations is selectively output by the selector circuit 56. When the reading density of the image scanner 1 is 400 (dpi), the selector circuit 56 outputs " The white background pixels detected by the 3 × 9 ″ mask are selected, and when the reading density is 200 (dpi), the white background pixels detected by the “1 × 9” mask are selected.

【0053】上述のように、本実施例のイメージスキャ
ナ1は、画像データの読取密度に対応して白地画素検出
回路36と膨張処理回路37とのマスクを切り替えるの
で、イメージスキャナ1の読取密度が外部装置23の再
現密度より低い場合でも、画像データの品質低下を防止
することができる。このことを図13及び図14に基づ
いて以下に詳述する。
As described above, in the image scanner 1 of this embodiment, the masks of the white background pixel detection circuit 36 and the expansion processing circuit 37 are switched according to the read density of the image data. Even when the density is lower than the reproduction density of the external device 23, it is possible to prevent the quality of the image data from deteriorating. This will be described in detail below with reference to FIGS. 13 and 14.

【0054】まず、白地画素検出回路36が、所定長の
白地が隣接する注目画素をアクティブ画素として検出す
る場合は、図13(a)に示すように、文字データの白
地画素が連続する部分を、“1×5”のマスクとのパタ
ーンマッチングにより検出する。この時、読取密度が40
0(dpi)から200(dpi)に低減されると、画像データが相対
的に縮小されるので、図13(b)に示すように、文字
データの白地画素が連続する部分が“1×5”のマスク
では検出できなくなる。
First, when the white background pixel detection circuit 36 detects a target pixel adjacent to a white background of a predetermined length as an active pixel, as shown in FIG. , “1 × 5” mask and pattern matching. At this time, the read density is 40
If the image data is reduced from 0 (dpi) to 200 (dpi), the image data is relatively reduced. Therefore, as shown in FIG. 13B, the portion where the white background pixels of the character data are continuous is “1 × 5”. It cannot be detected by the mask of ".

【0055】しかし、本実施例のイメージスキャナ1で
は、上述のように読取密度が200(dpi)に切り替えられる
と、パターンマッチングのマスクも“1×3”に切り替
えられるので、文字データの白地画素が連続する部分が
良好に検出される。従って、文字データの白地部分が検
出されず、文字データが絵柄データに誤検知されて階調
表現されることが防止されるので、文字データの解像度
の低下による画像品質の低下が防止される。
However, in the image scanner 1 of the present embodiment, when the reading density is switched to 200 (dpi) as described above, the pattern matching mask is also switched to "1 × 3", so that the white background pixel of the character data is changed. The part where is continuous is detected well. Therefore, the white background portion of the character data is not detected, and the character data is prevented from being erroneously detected by the pattern data and expressed in gradation, so that the deterioration of the image quality due to the decrease of the resolution of the character data is prevented.

【0056】また、膨張処理回路37は、膨張処理によ
り注目画素を白地画素として検出することにより、文字
データのエッジ領域が検出されるが、図14(a)に示
すように、白地に絵柄が突然に出現する場合は、この絵
柄の輪郭は文字データのエッジ領域に誤判定される。本
実施例のイメージスキャナ1でも、このような誤判定は
防止できないが、この誤判定により絵柄データの外周部
に発生する輪郭線の拡大は防止することができる。
Further, the expansion processing circuit 37 detects the target pixel as a white background pixel by the expansion processing to detect the edge area of the character data. However, as shown in FIG. When it appears suddenly, the outline of this pattern is erroneously determined as the edge area of the character data. Even the image scanner 1 of the present embodiment cannot prevent such an erroneous determination, but it is possible to prevent the contour line from expanding on the outer peripheral portion of the pattern data due to this erroneous determination.

【0057】つまり、本実施例のイメージスキャナ1の
読取密度と外部装置23の再現密度とが両方とも400(dp
i)の場合、図14(b)に示すように、第六の主走査線
の部分は白地領域と判定されるので、“3×9”のマス
クによる膨張処理により、第七と第八との主走査線の部
分も白地領域と判定される。この時、これらの主走査線
の部分には濃度変化が発生しているので、ここがエッジ
領域と判定されて二値処理されるので、絵柄データに黒
色の輪郭線が形成される。しかし、この輪郭線は400(dp
i)の二本の主走査線であり、400(dpi)で再現されるの
で、その画像品質の低下は目視上は問題とならない。
That is, the reading density of the image scanner 1 of this embodiment and the reproduction density of the external device 23 are both 400 (dp).
In the case of i), as shown in FIG. 14B, since the portion of the sixth main scanning line is determined to be a white background area, the seventh and eighth areas are expanded by the expansion process using the “3 × 9” mask. The portion of the main scanning line of is also determined as the white background area. At this time, density changes occur in these main scanning line portions, so this is determined as an edge region and binary processing is performed, so a black contour line is formed in the pattern data. However, this contour line is 400 (dp
Since the two main scanning lines of i) are reproduced at 400 (dpi), the deterioration of the image quality is not a problem visually.

【0058】一方、イメージスキャナ1の読取密度が20
0(dpi)で外部装置23の再現密度が400(dpi)の場合、図
14(c)に示すように、第三の主走査線の部分が白地
領域と判定されるので、もしも、“3×9”のマスクに
よる膨張処理を実行すれば、第四と第五との主走査線の
部分に輪郭線が形成される。この場合、この輪郭線は20
0(dpi)の二本の主走査線なので、400(dpi)で再現される
と四本の主走査線となり、その画像品質の低下は顕著で
ある。
On the other hand, the reading density of the image scanner 1 is 20
When the reproduction density of the external device 23 is 0 (dpi) and 400 (dpi), the portion of the third main scanning line is determined to be a white background area as shown in FIG. If the expansion process is performed using a mask of × 9 ″, contour lines are formed at the portions of the fourth and fifth main scanning lines. In this case, this contour is 20
Since it is two main scanning lines of 0 (dpi), when reproduced at 400 (dpi), it becomes four main scanning lines, and the deterioration of the image quality is remarkable.

【0059】しかし、本実施例のイメージスキャナ1
は、読取密度が200(dpi)に切り替えられると、膨張処理
のマスクも“1×9”に切り替えられるので、膨張処理
が副走査方向には実行されない。この場合、絵柄データ
に輪郭線が発生することがないので、画像品質の低下が
防止される。
However, the image scanner 1 of this embodiment
When the reading density is switched to 200 (dpi), the expansion processing mask is also switched to “1 × 9”, so that the expansion processing is not executed in the sub-scanning direction. In this case, since the contour line does not occur in the picture data, deterioration of the image quality is prevented.

【0060】なお、本実施例のイメージスキャナ1で
は、膨張処理のマスクを“3×9”から“1×9”に切
り替えるので、副走査方向の膨張処理が完全に中止さ
れ、絵柄データの輪郭線が防止されるが、これでは文字
データのエッジ領域の解像度が低下することがある。例
えば、膨張処理のマスクを“5×9”から“3×9”に
切り替えるように設定すれば、絵柄データに発生する輪
郭線が五ラインから三ラインに削減されるので、これで
も画像品質の向上に寄与することができ、文字データの
エッジ領域の解像度も良好に維持される。
In the image scanner 1 of this embodiment, since the mask for expansion processing is switched from "3x9" to "1x9", the expansion processing in the sub-scanning direction is completely stopped and the contour of the pattern data is cut. Although lines are prevented, this may reduce the resolution of the edge area of the character data. For example, if the mask for the expansion process is set to be switched from "5x9" to "3x9", the contour lines generated in the pattern data are reduced from five lines to three lines, so that the image quality This can contribute to the improvement, and the resolution of the edge area of the character data can be maintained well.

【0061】なお、本実施例のイメージスキャナ1で
は、上述のように白地判断手段である白地画素検出回路
36が、主走査方向と副走査方向との両方に展開された
マスクを有し、少なくとも一方の方向に所定長の白地が
連続する部分を検出することを例示したが、本発明は上
記実施例に限定されるものではなく、一方の方向のみに
展開されたマスクを設定することも可能である。また、
このようなマスクを読取密度に対応して主走査方向と副
走査方向との両方に短縮することを例示したが、この短
縮方向を主走査方向と副走査方向との一方のみにするこ
とも可能である。
In the image scanner 1 of this embodiment, as described above, the white background pixel detection circuit 36, which is the white background determination means, has a mask developed in both the main scanning direction and the sub scanning direction, and at least Although it has been illustrated that the white background of a predetermined length is continuous in one direction, the present invention is not limited to the above embodiment, and a mask developed only in one direction can be set. Is. Also,
Although it has been illustrated that such a mask is shortened in both the main scanning direction and the sub scanning direction according to the reading density, the shortening direction can be set to only one of the main scanning direction and the sub scanning direction. Is.

【0062】同様に、本実施例のイメージスキャナ1で
は、膨張処理手段である膨張処理回路37が、主走査方
向と副走査方向との両方に展開されたマスクを有するこ
とを例示したが、本発明は上記実施例に限定されるもの
でもなく、一方の方向のみに展開されたマスクを設定す
ることも可能である。また、このようなマスクを読取密
度に対応して副走査方向のみに短縮することを例示した
が、この短縮方向を主走査方向とすることや、主走査方
向と副走査方向との両方とすることも可能である。
Similarly, in the image scanner 1 of this embodiment, the expansion processing circuit 37, which is the expansion processing means, has a mask developed in both the main scanning direction and the sub-scanning direction. The invention is not limited to the above embodiment, and it is possible to set a mask developed in only one direction. Further, although it has been illustrated that such a mask is shortened only in the sub-scanning direction corresponding to the reading density, this shortening direction is set as the main scanning direction or both the main scanning direction and the sub-scanning direction. It is also possible.

【0063】さらに、本実施例のイメージスキャナ1で
は、膨張処理手段である膨張処理回路37が、マスクを
副走査方向に短縮する場合に、副走査方向の範囲を一ラ
インとして、膨張処理が副走査方向に実行されないこと
を例示した。この場合、絵柄データに輪郭線が形成され
ないので、絵柄データの画像品質が向上するが、文字デ
ータのエッジ領域が階調表現されることはある。つま
り、上述のようなマスクの短縮の度合は各種条件に従っ
て最適に設定されるものであり、例えば、五ラインの膨
張処理を三ラインに短縮するようなことも可能である。
Further, in the image scanner 1 of this embodiment, when the expansion processing circuit 37, which is expansion processing means, shortens the mask in the sub-scanning direction, the expansion processing is sub-processed by setting the range in the sub-scanning direction as one line. It has been illustrated that it is not executed in the scan direction. In this case, since the contour line is not formed in the pattern data, the image quality of the pattern data is improved, but the edge area of the character data may be expressed in gradation. That is, the degree of mask shortening as described above is optimally set according to various conditions, and for example, the expansion process of five lines can be shortened to three lines.

【0064】[0064]

【発明の効果】請求項1記載の発明は、注目画素に対し
て周囲の所定範囲におけるアクティブ画素の有無を予め
設定されたマスクによる膨張処理により判定し、周囲の
所定範囲にアクティブ画素が位置する注目画素を白地画
素として検出する膨張処理手段を設け、読取密度の切り
替えに対応して膨張処理手段のマスクのサイズを切り替
える膨張処理切替手段を設けたことにより、膨張処理の
誤判定により絵柄データに発生する輪郭線を読取密度に
対応して縮小することができるので、画像データの読取
密度を再現密度より小さく切り替えた場合でも、画像デ
ータの品質低下を防止することができる。
According to the first aspect of the present invention, the presence or absence of active pixels in a predetermined peripheral area of the target pixel is determined by expansion processing using a preset mask, and the active pixel is positioned in the predetermined peripheral area. The expansion processing means for detecting the target pixel as a white background pixel is provided, and the expansion processing switching means for switching the mask size of the expansion processing means in response to the switching of the reading density is provided. Since the generated contour line can be reduced according to the reading density, it is possible to prevent the quality of the image data from being deteriorated even when the reading density of the image data is switched to a value smaller than the reproduction density.

【0065】請求項2記載の発明は、画像データから順
番に抽出される注目画素に対して所定長の白地画素の隣
接の有無を予め設定されたマスクとのパターンマッチン
グにより判定し、所定長の白地画素が隣接する注目画素
を白地領域の候補のアクティブ画素として検出する白地
判断手段を設け、読取密度の切り替えに対応して白地判
断手段のマスクのサイズを切り替える白地判断切替手段
を設けたことにより、読取密度の切り替えにより白地領
域の検出精度が低下することを防止できるので、画像デ
ータの読取密度を再現密度より小さく切り替えた場合で
も、画像データの品質低下を防止することができる。
According to a second aspect of the present invention, the presence or absence of adjacency of a white background pixel having a predetermined length with respect to the target pixel sequentially extracted from the image data is determined by pattern matching with a preset mask, and the predetermined length is determined. By providing the white background determination means for detecting the target pixel adjacent to the white background pixel as an active pixel of a candidate for the white background area, and providing the white background determination switching means for switching the mask size of the white background determination means in response to the switching of the read density. Since it is possible to prevent the detection accuracy of the white background region from being lowered due to the switching of the reading density, it is possible to prevent the quality of the image data from being deteriorated even when the reading density of the image data is switched to be smaller than the reproduction density.

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

【図1】本発明の一実施例の画像読取装置であるイメー
ジスキャナに外部装置を接続した画像処理システムを示
すブロック図である。
FIG. 1 is a block diagram showing an image processing system in which an external device is connected to an image scanner which is an image reading device according to an embodiment of the present invention.

【図2】イメージスキャナの内部構造を示す縦断側面図
である。
FIG. 2 is a vertical cross-sectional side view showing the internal structure of the image scanner.

【図3】分離処理部を示すブロック図である。FIG. 3 is a block diagram showing a separation processing unit.

【図4】領域判定回路を示すブロック図である。FIG. 4 is a block diagram showing an area determination circuit.

【図5】白地判断切替手段である白地画素検出回路を示
すブロック図である。
FIG. 5 is a block diagram showing a white background pixel detection circuit which is white background determination switching means.

【図6】膨張処理手段である膨張処理回路を示すブロッ
ク図である。
FIG. 6 is a block diagram showing an expansion processing circuit that is expansion processing means.

【図7】MTF補正回路に設定されているMTFフィル
タを示す模式図である。
FIG. 7 is a schematic diagram showing an MTF filter set in an MTF correction circuit.

【図8】白地画素検出回路に設定されているマスクを示
す模式図である。
FIG. 8 is a schematic diagram showing a mask set in a white background pixel detection circuit.

【図9】膨張処理回路に設定されているマスクを示す模
式図である。
FIG. 9 is a schematic diagram showing a mask set in an expansion processing circuit.

【図10】補正回路に設定されているマスクを示す模式
図である。
FIG. 10 is a schematic diagram showing a mask set in a correction circuit.

【図11】ディザ処理回路に設定されているマトリクス
を示す模式図である。
FIG. 11 is a schematic diagram showing a matrix set in a dither processing circuit.

【図12】平滑化回路に設定されているフィルタを示す
模式図である。
FIG. 12 is a schematic diagram showing a filter set in a smoothing circuit.

【図13】白地画素検出回路のパターンマッチングを説
明する模式図であり、(a)は読取密度が400(dpi)の読
取結果、(b)は読取密度が200(dpi)の読取結果であ
る。
13A and 13B are schematic diagrams for explaining the pattern matching of the white background pixel detection circuit. FIG. 13A is a read result with a read density of 400 (dpi), and FIG. 13B is a read result with a read density of 200 (dpi). .

【図14】膨張処理回路の膨張処理を説明する模式図で
あり、(a)は絵柄データの上縁部を文字データのエッ
ジ領域と誤判定した場合、(b)は読取密度が400(dpi)
の読取結果、(c)は読取密度が200(dpi)の読取結果で
ある。
FIG. 14 is a schematic diagram illustrating expansion processing of an expansion processing circuit, where (a) erroneously determines the upper edge of the pattern data as the edge area of the character data, and (b) shows a read density of 400 (dpi). )
(C) is a reading result of a reading density of 200 (dpi).

【符号の説明】[Explanation of symbols]

32 エッジ検出手段 33 画像判定手段 36 白地判断手段 37 膨張処理手段 32 edge detection means 33 image determination means 36 White background judgment means 37 Expansion processing means

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 1/38 - 1/409 ─────────────────────────────────────────────────── ─── Continuation of the front page (58) Fields investigated (Int.Cl. 7 , DB name) H04N 1/38-1/409

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 二値表現の文字データと多値表現の絵柄
データとの少なくとも一方が存在する画像データを読取
入力するデータ入力手段と、 画像データから順番に抽出される注目画素に対して所定
長の白地画素の隣接の有無を予め設定されたマスクとの
パターンマッチングにより判定し、所定長の白地画素が
隣接する注目画素を白地領域の候補のアクティブ画素と
して検出する白地判断手段と、 注目画素に対して周囲の所定範囲におけるアクティブ画
素の有無を予め設定されたマスクによる膨張処理により
判定し、周囲の所定範囲にアクティブ画素が位置する注
目画素を白地画素として検出する膨張処理手段と、 画像データからエッジ領域を検出するエッジ検出手段
と、 白地領域とエッジ領域と両方が成立すると画像データを
文字データと判定し、白地領域とエッジ領域との一方で
も成立しないと画像データを絵柄データと判定する画像
判定手段と、 判定された文字データに階調性より解像度を優先した画
像処理を実行する文字処理手段と、 判定された絵柄データに解像度より階調性を優先した画
像処理を実行する絵柄処理手段と、 前記データ入力手段の読取密度を切り替える密度切替手
段と、 読取密度の切り替えに対応して前記膨張処理手段のマス
クのサイズを切り替える膨張処理切替手段と、を有する
ことを特徴とする画像読取装置。
1. Data input means for reading and inputting image data in which at least one of binary-valued character data and multi-valued pattern data is present, and a predetermined value for a target pixel sequentially extracted from the image data. White background determining means for determining whether or not a long white background pixel is adjacent by pattern matching with a preset mask, and detecting a target pixel adjacent to a predetermined white background pixel as a candidate active pixel in a white background area; On the other hand, expansion processing means for determining the presence or absence of active pixels in a predetermined surrounding area by expansion processing using a preset mask, and detecting a target pixel in which the active pixels are located in the predetermined surrounding area as a white background pixel, and image data. Edge detection means for detecting an edge area from the image data, and when both the white background area and the edge area are established, the image data is converted to character data. Image determining means for determining image data as pattern data unless one of the white background area and the edge area is satisfied, and a character processing means for executing image processing in which the resolution is prioritized over the gradation of the determined character data. A pattern processing unit that executes image processing in which the gradation is prioritized over the resolution of the determined pattern data; a density switching unit that switches the reading density of the data input unit; and the expansion corresponding to the switching of the reading density. An image reading apparatus comprising: an expansion process switching unit that switches a size of a mask of the processing unit.
【請求項2】 二値表現の文字データと多値表現の絵柄
データとの少なくとも一方が存在する画像データを読取
入力するデータ入力手段と、 画像データから順番に抽出される注目画素に対して所定
長の白地画素の隣接の有無を予め設定されたマスクとの
パターンマッチングにより判定し、所定長の白地画素が
隣接する注目画素を白地領域の候補のアクティブ画素と
して検出する白地判断手段と、 注目画素に対して周囲の所定範囲におけるアクティブ画
素の有無を予め設定されたマスクによる膨張処理により
判定し、周囲の所定範囲にアクティブ画素が位置する注
目画素を白地画素として検出する膨張処理手段と、 画像データからエッジ領域を検出するエッジ検出手段
と、 白地領域とエッジ領域と両方が成立すると画像データを
文字データと判定し、白地領域とエッジ領域との一方で
も成立しないと画像データを絵柄データと判定する画像
判定手段と、 判定された文字データに階調性より解像度を優先した画
像処理を実行する文字処理手段と、 判定された絵柄データに解像度より階調性を優先した画
像処理を実行する絵柄処理手段と、 前記データ入力手段の読取密度を切り替える密度切替手
段と、 読取密度の切り替えに対応して前記白地判断手段のマス
クのサイズを切り替える白地判断切替手段と、を有する
ことを特徴とする画像読取装置。
2. Data input means for reading and inputting image data in which at least one of binary-valued character data and multi-valued pattern data is present, and a predetermined value for a pixel of interest sequentially extracted from the image data. White background determining means for determining whether or not a long white background pixel is adjacent by pattern matching with a preset mask, and detecting a target pixel adjacent to a predetermined white background pixel as a candidate active pixel in a white background area; On the other hand, expansion processing means for determining the presence or absence of active pixels in a predetermined surrounding area by expansion processing using a preset mask, and detecting a target pixel in which the active pixels are located in the predetermined surrounding area as a white background pixel, and image data. Edge detection means for detecting an edge area from the image data, and when both the white background area and the edge area are established, the image data is converted to character data. Image determining means for determining image data as pattern data unless one of the white background area and the edge area is satisfied, and a character processing means for executing image processing in which the resolution is prioritized over the gradation of the determined character data. A pattern processing unit for executing image processing in which gradation is prioritized over resolution for the determined pattern data, a density switching unit for switching the reading density of the data input unit, and a white background corresponding to the switching of the reading density. An image reading apparatus comprising: a white background determination switching unit that switches a mask size of the determination unit.
JP08302695A 1995-04-10 1995-04-10 Image reading device Expired - Fee Related JP3392577B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP08302695A JP3392577B2 (en) 1995-04-10 1995-04-10 Image reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP08302695A JP3392577B2 (en) 1995-04-10 1995-04-10 Image reading device

Publications (2)

Publication Number Publication Date
JPH08289135A JPH08289135A (en) 1996-11-01
JP3392577B2 true JP3392577B2 (en) 2003-03-31

Family

ID=13790733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP08302695A Expired - Fee Related JP3392577B2 (en) 1995-04-10 1995-04-10 Image reading device

Country Status (1)

Country Link
JP (1) JP3392577B2 (en)

Also Published As

Publication number Publication date
JPH08289135A (en) 1996-11-01

Similar Documents

Publication Publication Date Title
JP4912270B2 (en) Image processing apparatus and control method thereof
JP3882803B2 (en) Image processing apparatus and image processing method
US7099045B2 (en) Image processing apparatus, image forming apparatus, and image processing method for judging pixels in edge area of character in halftone-dot area
JP3492096B2 (en) Image processing device
KR101249839B1 (en) Image processing apparatus and image processing method thereof
JP6001010B2 (en) Image processing apparatus, image processing method, and program
JP3392577B2 (en) Image reading device
US6707951B1 (en) Halftone dot image discrimination method and image processing device
US7136194B2 (en) Image processing apparatus, image forming apparatus, and image processing method
JP6611887B2 (en) Image processing apparatus, image processing method, and program
JP2000036908A (en) Image recognition device
JP3426747B2 (en) Color halftone area determination device
JPH0654180A (en) Method and device for image area separation
JP4063480B2 (en) Image processing device
JPH10108012A (en) Image area separating device
JP4140212B2 (en) Image processing device
JPH09233323A (en) Digital image reader
JP3629959B2 (en) Image recognition device
JP3493086B2 (en) Image reading device
US7262884B2 (en) Image processing apparatus and image processing method
JP3725255B2 (en) Digital image processing device
JP3177508B2 (en) Image processing device
JP2005051353A (en) Image processor, image reader, image forming apparatus, computer program, and recording medium
JP3547872B2 (en) Image processing device
JPH11127348A (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: 20080124

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090124

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100124

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110124

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120124

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130124

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20140124

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees