JPH04344770A - Image processing device - Google Patents

Image processing device

Info

Publication number
JPH04344770A
JPH04344770A JP3116381A JP11638191A JPH04344770A JP H04344770 A JPH04344770 A JP H04344770A JP 3116381 A JP3116381 A JP 3116381A JP 11638191 A JP11638191 A JP 11638191A JP H04344770 A JPH04344770 A JP H04344770A
Authority
JP
Japan
Prior art keywords
pixel
interest
signal
image
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3116381A
Other languages
Japanese (ja)
Inventor
Shinichi Wakahara
真一 若原
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 JP3116381A priority Critical patent/JPH04344770A/en
Publication of JPH04344770A publication Critical patent/JPH04344770A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は画像処理装置に関し、詳
細には、スキャナ等で読み取った画素信号を2値化処理
する画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus that binarizes pixel signals read by a scanner or the like.

【0002】0002

【従来の技術】近時、情報化社会にあって、画像データ
を取り扱う装置が多くなっている。このような画像デー
タを取り扱う装置においては、スキャナ等で読み取った
画素データを2値画信号に変換する画像処理装置を必要
としている。また、近時、画像処理装置の取り扱う画像
としては、文字等の白黒の2値画像だけでなく、写真等
の中間調の画像をも取り扱うようになっている。このよ
うな中間調画像を含む原稿は、中間調画像だけでなく、
2値画像が混在していることが多く、このような2値画
像と中間調画像が混在している原稿の画像を2値化処理
するには、2値画像領域と中間調画像領域を的確に識別
し、両画像領域に適切な2値化処理をする必要がある。
2. Description of the Related Art Recently, in the information society, there are an increasing number of devices that handle image data. Devices that handle such image data require an image processing device that converts pixel data read by a scanner or the like into a binary image signal. Furthermore, recently, image processing apparatuses handle not only black and white binary images such as characters, but also halftone images such as photographs. Documents containing such halftone images include not only halftone images but also
Binary images are often mixed, and in order to perform binarization processing on images of originals that contain such binary images and halftone images, it is necessary to accurately separate the binary image area and the halftone image area. It is necessary to perform appropriate binarization processing on both image areas.

【0003】そこで、従来、中間調画像の原稿を読み取
ったときには、注目画素と隣接画素との信号レベル差を
検出し、信号レベル差が所定値より大きい場合には、そ
の信号レベル差の符号に基づいて注目画素の白・黒を決
定している。また、従来、特開昭62−149263号
公報に記載されているように、2値画像と中間調画像が
混在する原稿の画像の場合、注目画素を中心に2次元画
像フィルタを設定して、1画素の画像信号転送時間内に
該2次元画像フィルタのフィルタ係数を時分割的に切り
替え、この複数のフィルタの出力を相互に比較して、2
値画像領域と中間調画像領域とを識別している。
Conventionally, when reading a document with a halftone image, the signal level difference between a pixel of interest and an adjacent pixel is detected, and if the signal level difference is larger than a predetermined value, the sign of the signal level difference is Based on this, the white or black of the pixel of interest is determined. Furthermore, as described in Japanese Patent Application Laid-Open No. 62-149263, in the case of an image of a document containing a mixture of binary images and halftone images, a two-dimensional image filter is set around the pixel of interest. The filter coefficients of the two-dimensional image filter are time-divisionally switched within the image signal transfer time of one pixel, and the outputs of the plurality of filters are compared with each other.
Value image areas and halftone image areas are identified.

【0004】また、従来、特開昭61−251273号
公報に記載されているように、注目画素と隣接する周辺
画素毎の輪郭補正データとの差データ毎に輪郭強調補正
係数を設定し、自然な輪郭強調処理を行なって出力画像
の画質を向上させるようにし、さらに、特開昭63−1
48380号公報に記載されているように、入力される
画像データの1ライン毎にピーク2値化処理と微分2値
化処理を並行して行ない、これら2値化データの論理和
を出力2値化データとして出力することにより、ピーク
2値化データで欠落するデータを補って原稿画像に忠実
な2値化画像を出力するようにしている。
Conventionally, as described in Japanese Patent Application Laid-Open No. 61-251273, an edge enhancement correction coefficient is set for each difference data between a pixel of interest and edge correction data for each adjacent peripheral pixel, and natural The image quality of the output image is improved by performing contour enhancement processing, and furthermore,
As described in Publication No. 48380, peak binarization processing and differential binarization processing are performed in parallel for each line of input image data, and the logical sum of these binarized data is output as a binary value. By outputting the data as converted data, missing data is compensated for by the peak binarized data, and a binarized image that is faithful to the original image is output.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、このよ
うな従来の画像処理装置にあっては、白・黒のエッジ判
定を正確に行なうことができず、2値画像と中間調画像
の混在する画像に歪が発生したり、線が太線化あるいは
細線化するという問題が発生したり、高速処理回路が必
要となって画像処理装置が高価なものになるという問題
があった。
[Problems to be Solved by the Invention] However, with such conventional image processing devices, it is not possible to accurately determine the edges of white and black, and the image processing apparatus cannot accurately determine the edges of white and black. There are problems in that distortion occurs in the image, lines become thicker or thinner, and high-speed processing circuits are required, making the image processing apparatus expensive.

【0006】また、特開昭62−149263号公報に
記載されているものにあっては、1画素の画像信号転送
時間内に複数のフィルタを時分割的に切り替えて演算処
理し、そのフィルタの演算結果の相互比較を行なって、
2値画像領域と中間調画像領域の判定を行なっているた
め、高速の処理回路が必要となり、画像処理装置、ひい
ては、画像処理装置を利用したファクシミリ装置等のコ
ストが高くなるという問題があった。
[0006] Furthermore, in the method described in Japanese Patent Laid-Open No. 149263/1983, arithmetic processing is performed by switching a plurality of filters in a time-sharing manner within the image signal transfer time of one pixel, and the filters are By comparing the calculation results with each other,
Since the binary image area and the halftone image area are determined, a high-speed processing circuit is required, which raises the cost of the image processing device and, by extension, the cost of the facsimile machine that uses the image processing device. .

【0007】さらに、特開昭61−251273号公報
に記載されているものにあっては、輪郭強調補正係数を
設定するメモリ容量が大容量となるため、同様に画像処
理装置を利用したファクシミリ装置等のコストが高くな
るという問題があり、特開昭63−148380号公報
に記載されているものにあっては、1画素の画像信号の
ピーク2値化処理時間内に微分回路で微分2値化処理を
並行して行なっているため、高速の微分処理回路が必要
となり、やはり画像処理装置を利用したファクシミリ装
置等のコストが高くなるという問題がある。
[0007]Furthermore, in the method described in Japanese Patent Application Laid-open No. 61-251273, the memory capacity for setting the edge enhancement correction coefficient is large, so a facsimile machine that similarly uses an image processing device However, in the method described in Japanese Unexamined Patent Publication No. 63-148380, the differential circuit converts the differential binary value within the peak binary processing time of the image signal of one pixel. Since the image processing is performed in parallel, a high-speed differential processing circuit is required, which again poses the problem of increasing the cost of facsimile machines and the like that utilize the image processing device.

【0008】そこで、本発明は、2値画像と中間調画像
が混在する画像をそれぞれ適切に2値化処理する2値化
回路を簡単なハード構成で実現する画像処理装置を提供
することを目的とする。
SUMMARY OF THE INVENTION Therefore, it is an object of the present invention to provide an image processing device that realizes a binarization circuit that appropriately binarizes images in which binary images and halftone images are mixed, with a simple hardware configuration. shall be.

【0009】[0009]

【課題を解決するための手段】請求項1記載の発明は、
ライン毎に入力される多値画素信号を画素毎に所定の基
準値に基づいて2値化処理し出力2値画信号を出力する
画像処理装置において、入力多値画素信号の注目画素の
レベルと該注目画素の前後および前後のラインの同位置
にある隣接画素のレベルを示すマトリクスデータを形成
して出力するマトリクス形成手段と、マトリクスデータ
を所定の補正フィルタにより補正処理し、補正マトリク
スデータを出力する補正手段と、マトリクスデータを平
滑化処理し、平滑マトリクスデータを出力する平滑化手
段と、補正マトリクスデータにおける注目画素レベルを
所定の固定基準値と比較して2値化処理し、固定2値化
画素信号を出力する固定2値化手段と、マトリクスデー
タにおける注目画素レベルを多段階に変化する多段階基
準値と比較して2値化処理し、多段階2値化画信号を出
力する第1の多段階2値化手段と、平滑マトリクスデー
タにおける注目画素レベルを多段階に変化する多段階基
準値と比較して2値化処理し、多段階2値化画信号を出
力する第2の多段階2値化手段と、補正マトリクスデー
タにおける注目画素レベルを所定の領域判別値と比較し
て注目画素が文字画像領域か中間調画像領域かを判別す
る画像領域判別手段と、補正マトリクスデータにおける
注目画素レベルと平滑マトリクスデータにおける注目画
素レベルの差を所定の基準値と比較して注目画素が網点
画像領域かどうかを判別する網点領域判別手段と、画像
領域判別手段および網点領域判別手段の判別結果に基づ
いて固定2値化手段、第1の多段階2値化手段および第
2の多段階2値化手段のいずれかの2値化画信号を選択
して出力2値化画信号として出力する選択手段と、を設
け、入力画素信号が文字画像領域のときは、選択手段に
より固定2値化手段の出力する固定2値化画信号を出力
2値化画信号として選択して出力し、入力画素信号が網
点画像領域のときは、第1の多段階2値化手段の出力す
る多段階2値化画信号を出力2値化画信号として選択し
て出力し、入力画素信号が中間調画像領域のときは、第
2の多段階2値化手段の出力する多段階2値化画信号を
出力2値化画信号として選択して出力することを特徴と
し、請求項2記載の発明は、ライン毎に入力される多値
画素信号を画素毎に所定の基準値に基づいて2値化処理
し出力2値画信号を出力する画像処理装置において、入
力多値画素信号の注目画素のレベルと該注目画素の前後
および前後のラインの同位置にある隣接画素信号のレベ
ルを示すマトリクスデータを形成して出力するマトリク
ス形成手段と、マトリクスデータを所定の補正フィルタ
により補正処理して注目画素レベルを補正し、該注目画
素レベルを所定の固定基準値と比較して2値化処理し、
固定2値化画素信号を出力する補正2値化手段と、マト
リクスデータにおける注目画素レベルを多段階に変化す
る多段階基準値と比較して2値化処理し、多段階2値化
画信号を出力する多段階2値化手段と、マトリクスデー
タを所定の重み付けフィルタにより重み付け処理し、注
目画素のエッジ画素レベルを抽出し、該エッジ画素レベ
ルを所定の基準値と比較して2値化処理し、エッジ2値
化画信号を出力するエッジ抽出手段と、マトリクスデー
タにおける注目画素レベルを所定の文字画像領域判別値
と比較し、注目画素が文字画像領域かどうかを判別する
文字領域判別手段と、エッジ抽出手段がエッジ画素を抽
出したとき、該エッジ画素を抽出したマトリクスデータ
の周囲画素毎に所定の濃度判別基準値と比較し、該比較
結果に基づいて該エッジ画素の背景となる各周囲画素と
のレベル差を識別する周囲濃度比較手段と、注目画素が
文字画像領域であるとき、補正2値化手段の固定2値化
画素信号を選択して出力2値化画信号として出力し、ま
た、周囲濃度比較手段の識別結果に基づいて多段階2値
化手段およびエッジ抽出手段のいずれかの2値化画信号
を選択して出力2値化画信号として出力する選択手段と
、を設け、入力画素信号が文字画像領域のときは、選択
手段により補正2値化手段の出力する固定2値化画素信
号を出力2値化画信号として選択して出力し、入力画素
信号が中間調画像領域のときは、周囲濃度比較手段がエ
ッジ画素としての注目画素と全ての周囲画素とのレベル
差が所定値以下であると識別したとき、選択手段により
多段階2値化手段の出力する多段階2値化画信号を出力
2値化画信号として選択して出力し、周囲濃度比較手段
がエッジ画素としての注目画素と周囲画素のうち少なく
とも一つが所定値よりも大きいと識別したとき、選択手
段によりエッジ抽出手段の出力するエッジ2値化画信号
を出力2値化画信号として選択して出力することを特徴
とし、請求項3記載の発明は、請求項2記載の発明にお
いて、前記入力画素信号が中間調画像領域のときは、前
記周囲濃度比較手段がエッジ画素としての注目画素と全
ての周囲画素とのレベル差が所定値以下であると識別し
たとき、選択手段によりエッジ抽出手段の出力するエッ
ジ2値化画信号を出力2値化画信号として選択して出力
し、中間調画像領域におけるエッジ画素を出力するよう
にしたことを特徴としている。
[Means for solving the problem] The invention according to claim 1 includes:
In an image processing device that binarizes a multi-value pixel signal input for each line based on a predetermined reference value for each pixel and outputs an output binary pixel signal, the level of the pixel of interest of the input multi-value pixel signal A matrix forming means for forming and outputting matrix data indicating the levels of adjacent pixels at the same position in the lines before and after the pixel of interest, and correcting the matrix data using a predetermined correction filter and outputting the corrected matrix data. a smoothing means for smoothing the matrix data and outputting smoothed matrix data; and a smoothing means for smoothing the matrix data and outputting smoothed matrix data; fixed binarization means for outputting a converted pixel signal; and a fixed binarization means for outputting a multi-step binary pixel signal by comparing the pixel level of interest in the matrix data with a multi-step reference value that changes in multiple steps and performing binarization processing. a second multi-stage binarization means for performing binarization processing by comparing the pixel level of interest in the smoothed matrix data with a multi-stage reference value that changes in multiple stages, and outputting a multi-stage binarized image signal; a multi-stage binarization means; an image area determination means for comparing the level of the pixel of interest in the correction matrix data with a predetermined area determination value to determine whether the pixel of interest is a character image area or a halftone image area; a halftone dot area determining means for determining whether the pixel of interest is in a halftone image area by comparing the difference between the pixel level of interest and the level of the pixel of interest in smooth matrix data with a predetermined reference value; Based on the determination result of the means, one of the binarized image signals of the fixed binarization means, the first multi-stage binarization means, and the second multi-stage binarization means is selected to output the binarized image. selection means for outputting the fixed binary image signal as a signal, and when the input pixel signal is in a character image area, the selection means selects the fixed binary image signal output from the fixed binary conversion means as the output binary image signal. When the input pixel signal is in a halftone image area, the multi-stage binarized image signal outputted by the first multi-stage binarizing means is selected and outputted as the output binarized image signal, and the input pixel signal is When the signal is in a halftone image area, the multi-stage binarized image signal outputted by the second multi-stage binarized means is selected and outputted as the output binarized image signal, as claimed in claim 2. The described invention provides an image processing device that binarizes a multi-value pixel signal input for each line based on a predetermined reference value for each pixel and outputs an output binary pixel signal. Matrix forming means for forming and outputting matrix data indicating the level of a pixel of interest and the level of adjacent pixel signals at the same position on lines before and after the pixel of interest, and correcting the matrix data using a predetermined correction filter. correct the level of the pixel of interest, compare the level of the pixel of interest with a predetermined fixed reference value, and perform binarization processing;
A correction binarization means outputs a fixed binary pixel signal, and a binarization process is performed by comparing the pixel level of interest in the matrix data with a multi-step reference value that changes in multiple steps to generate a multi-step binary pixel signal. Multi-stage binarization means for outputting and weighting the matrix data using a predetermined weighting filter, extracting an edge pixel level of a pixel of interest, and comparing the edge pixel level with a predetermined reference value to perform binarization processing. , an edge extracting means for outputting an edge binary image signal, and a character region determining means for comparing the level of the pixel of interest in the matrix data with a predetermined character image region determination value to determine whether the pixel of interest is in the character image region; When the edge extraction means extracts an edge pixel, it compares each surrounding pixel of the extracted matrix data with a predetermined density determination reference value, and based on the comparison result, each surrounding pixel that becomes the background of the edge pixel is ambient density comparison means for identifying a level difference between the pixel of interest and the pixel of interest, when the pixel of interest is a character image area, selects a fixed binary pixel signal of the correction binarization means and outputs it as an output binary image signal; , selection means for selecting a binary image signal from either the multi-stage binarization means or the edge extraction means based on the identification result of the ambient density comparison means and outputting the selected binary image signal as an output binary image signal; When the input pixel signal is in the character image area, the selection means selects and outputs the fixed binary pixel signal output from the correction binarization means as the output binary pixel signal, and the input pixel signal is in the halftone image area. In this case, when the ambient density comparison means identifies that the level difference between the pixel of interest as an edge pixel and all surrounding pixels is less than a predetermined value, the selection means selects the multi-stage 2 output from the multi-stage binarization means. When the digitized image signal is selected and outputted as an output binary image signal, and the surrounding density comparison means identifies that at least one of the pixel of interest as an edge pixel and the surrounding pixels is larger than a predetermined value, the selection means selects and outputs the digitized image signal. The invention according to claim 3 is characterized in that the edge binary image signal outputted by the edge extracting means is selected and outputted as the output binary image signal, is a halftone image area, when the surrounding density comparison means identifies that the level difference between the pixel of interest as an edge pixel and all surrounding pixels is less than a predetermined value, the selection means outputs the output from the edge extraction means. The present invention is characterized in that the edge binary image signal is selected and output as the output binary image signal, and edge pixels in the halftone image area are output.

【0010】0010

【作用】請求項1記載の発明では、入力画素信号からマ
トリクスデータが形成され、該マトリクスデータにおけ
る注目画素レベルから画像領域が判別され、入力画素信
号が文字画像領域のときは、選択手段により固定2値化
手段の出力する補正マトリクスデータによる固定2値化
画信号が出力2値化画信号として選択されて出力され、
入力画素信号が網点画像領域のときは、第1の多段階2
値化手段の出力する平滑化したマトリクスデータによる
多段階2値化画信号が出力2値化画信号として選択され
て出力され、入力画素信号が中間調画像領域のときは、
第2の多段階2値化手段の出力するマトリクスデータに
よる多段階2値化画信号が出力2値化画信号として選択
されて出力される。
[Operation] In the invention as claimed in claim 1, matrix data is formed from the input pixel signal, an image area is determined from the pixel level of interest in the matrix data, and when the input pixel signal is a character image area, it is fixed by the selection means. A fixed binary image signal based on the correction matrix data outputted by the binarizing means is selected and output as an output binary image signal,
When the input pixel signal is in a halftone image area, the first multi-stage 2
When the multi-level binary image signal based on the smoothed matrix data output by the value conversion means is selected and output as the output binary image signal, and the input pixel signal is in the halftone image area,
A multi-stage binary image signal based on the matrix data outputted by the second multi-stage binarizing means is selected as an output binary image signal and output.

【0011】したがって、高価な高速処理回路を使用す
ることなく、2値画像と中間調画像が混在する原稿の画
像の文字画像領域と中間調画像領域と網点画像領域を適
切に、かつ速やかに識別することができ、画像処理装置
を安価なものとすることができるとともに、2値画像領
域と中間調画像領域と網点画像領域の画素信号の2値化
処理を適切に行って、線の細線化や太線化を防止するこ
とができ、画質を向上させることができる。
Therefore, without using an expensive high-speed processing circuit, character image areas, halftone image areas, and halftone image areas of a document image containing a mixture of binary images and halftone images can be appropriately and quickly processed. This makes it possible to reduce the cost of the image processing device, as well as to appropriately perform binarization processing of pixel signals in the binary image area, halftone image area, and halftone image area, and to It is possible to prevent lines from becoming thinner or thicker, and image quality can be improved.

【0012】請求項2記載の発明では、入力画素信号か
らマトリクスデータが形成され、該マトリクスデータに
おける注目画素レベルから画像領域が判別され、入力画
素信号が文字画像領域のときは、選択手段により補正2
値化手段の出力する補正マトリクスデータによる固定2
値化画信号が出力2値化画信号として選択されて出力さ
れ、入力画素信号が中間調画像領域のときは、周囲濃度
比較手段でエッジ画素としての注目画素と全ての周囲画
素とのレベル差が所定値以下であると識別されたとき、
選択手段により多段階2値化手段の出力するマトリクス
データによる多段階2値化画信号が出力2値化画信号と
して選択されて出力され、周囲濃度比較手段でエッジ画
素としての注目画素と周囲画素のうち少なくとも一つが
所定値よりも大きいと識別されたとき、選択手段により
エッジ抽出手段の出力するエッジ2値化画信号が出力2
値化画信号として選択されて出力され、また、請求項3
記載の発明では、入力画素信号が中間調画像領域のとき
は、周囲濃度比較手段でエッジ画素としての注目画素と
全ての周囲画素とのレベル差が所定値以下であると識別
されたとき、選択手段によりエッジ抽出手段の出力する
エッジ2値化画信号が出力2値化画信号として選択され
て出力され、中間調画像領域におけるエッジ画素が強調
される。
In the invention according to claim 2, matrix data is formed from the input pixel signal, an image area is determined from the pixel level of interest in the matrix data, and when the input pixel signal is a character image area, the selection means performs correction. 2
Fixation 2 based on the correction matrix data output by the value conversion means
When the digitized image signal is selected and output as the output binary image signal and the input pixel signal is in a halftone image area, the ambient density comparison means calculates the level difference between the pixel of interest as an edge pixel and all surrounding pixels. is identified as being less than a predetermined value,
The selection means selects and outputs a multi-stage binarized image signal based on the matrix data output from the multi-stage binarization means as an output binarized image signal, and the surrounding density comparison means compares the target pixel as an edge pixel and the surrounding pixels. When at least one of them is identified as being larger than a predetermined value, the selection means selects the edge binary image signal output from the edge extraction means as output 2.
It is selected and output as a digitized image signal, and claim 3
In the described invention, when the input pixel signal is in a halftone image area, when the ambient density comparison means identifies that the level difference between the pixel of interest as an edge pixel and all surrounding pixels is less than a predetermined value, the selection is performed. The edge binary image signal output from the edge extracting means is selected and output as an output binary image signal by the means, and edge pixels in the halftone image area are emphasized.

【0013】したがって、高価な高速処理回路を使用す
ることなく、2値画像と中間調画像が混在する原稿の画
像の文字画像領域と中間調画像領域とエッジ画像領域を
適切に、かつ速やかに識別することができ、画像処理装
置を安価なものとすることができるとともに、2値画像
領域と中間調画像領域とエッジ画像領域の画素信号の2
値化処理を適切に行って、線の細線化や太線化を防止す
ることができ、画質を向上させることができる。また、
中間調画像領域におけるエッジ成分を強調してハイコン
トラスト画像を得ることができる。
Therefore, without using an expensive high-speed processing circuit, it is possible to appropriately and quickly identify the character image area, halftone image area, and edge image area of a document image containing a mixture of binary images and halftone images. This makes it possible to reduce the cost of the image processing device, and also to reduce the number of pixel signals in the binary image area, halftone image area, and edge image area.
By appropriately performing value conversion processing, it is possible to prevent lines from becoming thinner or thicker, and image quality can be improved. Also,
A high contrast image can be obtained by emphasizing edge components in a halftone image area.

【0014】[0014]

【実施例】以下、本発明を実施例に基づいて具体的に説
明する。図1〜図11は、請求項1記載の発明の画像処
理装置を適用したスキャナ装置の一実施例を示す図であ
る。図1は、スキャナ装置1の外観を示す図であり、ス
キャナ装置1は、本体2内に後述する画像読取機構と読
取画像データを処理する画像処理機構を備え、本体2の
図中上部には、ブック原稿がセット可能な原稿テーブル
3と複数のシート原稿がセット可能な自動原稿搬送機構
としてADF(Auto Document Feed
er)部4が設けられ、ADF部4から排出されるシー
ト原稿は、排紙テーブル5に載置される。
EXAMPLES The present invention will be specifically explained below based on examples. 1 to 11 are diagrams showing an embodiment of a scanner device to which an image processing device according to the first aspect of the invention is applied. FIG. 1 is a diagram showing the appearance of a scanner device 1. The scanner device 1 includes an image reading mechanism and an image processing mechanism for processing read image data, which will be described later, in a main body 2. , ADF (Auto Document Feed) serves as a document table 3 on which a book document can be set and an automatic document feed mechanism on which a plurality of sheet documents can be set.
er) unit 4 is provided, and sheet originals discharged from the ADF unit 4 are placed on a paper discharge table 5.

【0015】図2は、図1の本体2内に格納される画像
読取機構と画像処理機構の概略構成のブロック図であり
、画像読取部6、シェーディング処理部7、2値化演算
処理部8、メモリ9及びI/F処理部10等から構成さ
れている。画像読取部6は、ラインイメージセンサとそ
の周辺回路等により構成され、原稿テーブル3あるいは
ADF部4にセットされる原稿画像を1ラインづつ光学
的に読み取ってアナログ画データをシェーディング処理
部7に出力する。
FIG. 2 is a block diagram of a schematic configuration of an image reading mechanism and an image processing mechanism stored in the main body 2 of FIG. , a memory 9, an I/F processing section 10, and the like. The image reading unit 6 is composed of a line image sensor and its peripheral circuits, and optically reads the original image set on the original table 3 or the ADF unit 4 line by line and outputs analog image data to the shading processing unit 7. do.

【0016】シェーディング処理部7は、ラインメモリ
、AD変換器及びピークホールド回路等により構成され
、画像読取部6から入力されるアナログ画データのシェ
ーディング処理を行なってディジタル多値画データとし
て2値化演算処理部8に出力する。2値化演算処理部8
は、図3に示すように、マトリクス形成回路11、MT
F補正回路12、平滑化回路13、固定スレッシュ2値
化回路14、ディザ処理回路A15、ディザ処理回路B
16、コンパレータA17、コンパレータB18、減算
回路19、コンパレータC20、ブロック領域判定回路
21、タイミング遅延回路22及び選択回路23から構
成されている。
The shading processing section 7 is composed of a line memory, an AD converter, a peak hold circuit, etc., and performs shading processing on the analog image data inputted from the image reading section 6, and binarizes it as digital multilevel image data. It is output to the arithmetic processing section 8. Binarization calculation processing unit 8
As shown in FIG. 3, the matrix forming circuit 11, MT
F correction circuit 12, smoothing circuit 13, fixed threshold binarization circuit 14, dither processing circuit A 15, dither processing circuit B
16, a comparator A17, a comparator B18, a subtraction circuit 19, a comparator C20, a block area determination circuit 21, a timing delay circuit 22, and a selection circuit 23.

【0017】マトリクス形成回路(マトリクス形成手段
)11は、ラインバッファと入力されるディジタル多値
画データ(多値画素信号)の注目画素を中心とする2次
元空間を形成するラッチにより構成され、すなわち、注
目画素の濃度へレベルと注目画素に隣接する前後左右の
周辺画素の濃度レベルを示す2次元のマトリクスデータ
を形成しており、例えば、図4、5に示すように5×3
あるいは3×3のマトリクスデータを形成してMTF補
正演算回路12、平滑化回路13及びディザ処理回路B
17に出力する。
The matrix forming circuit (matrix forming means) 11 is composed of a line buffer and a latch that forms a two-dimensional space centered on a pixel of interest of input digital multivalued image data (multivalued pixel signal). , two-dimensional matrix data is formed that indicates the density level of the pixel of interest and the density levels of the surrounding pixels on the front, rear, left, and right sides adjacent to the pixel of interest. For example, as shown in FIGS.
Alternatively, by forming 3×3 matrix data, the MTF correction calculation circuit 12, the smoothing circuit 13, and the dither processing circuit B
Output to 17.

【0018】MTF(Modulation Tran
sfer Function)補正演算回路(補正手段
)12は、マトリクス形成回路11から入力されるマト
リクスデータを所定の補正フィルタによりフィルタ演算
処理を行ない、すなわち、ぼけ画像に対する補正処理を
行なって、MTF補正した注目画素データを固定スレッ
シュ2値化回路14、コンパレータB17、コンパレー
タC18及び減算回路19に出力する。
MTF (Modulation Tran)
sfer Function) The correction calculation circuit (correction means) 12 performs filter calculation processing on the matrix data inputted from the matrix forming circuit 11 using a predetermined correction filter, that is, performs correction processing on the blurred image, and performs MTF-corrected attention. The pixel data is output to the fixed threshold binarization circuit 14, comparator B17, comparator C18, and subtraction circuit 19.

【0019】平滑化回路(平滑化手段)13は、マトリ
クス形成回路11から入力されるマトリクスデータの注
目画素と周辺画素の関係により平滑化処理を行ない、す
なわち、画素濃度レベルを平均化して読取画像中の網点
画像をモアレなく画像再現するようにし、平滑化処理し
た注目画素データをディザ処理回路A15及び減算回路
19に出力する。
The smoothing circuit (smoothing means) 13 performs smoothing processing based on the relationship between the pixel of interest and surrounding pixels in the matrix data inputted from the matrix forming circuit 11, that is, averages the pixel density levels to form a read image. The halftone dot image in the center is reproduced without moiré, and the smoothed pixel data of interest is output to the dither processing circuit A15 and the subtraction circuit 19.

【0020】固定スレッシュ2値化回路(固定2値化手
段)14は、MTF補正演算回路12から入力されるM
TF補正注目画素データを所定の固定スレッシュ値(固
定基準値)と比較して2値化処理し、固定2値化画デー
タとしてタイミング遅延回路22に出力する。ディザ処
理回路A(第2の多段階2値化手段)15は、平滑化回
路13から入力される平滑化注目画素データを所定の多
段階に設定されたスレッシュ値(多段階基準値)と比較
して2値化処理し、多段階2値化画データとしてタイミ
ング遅延回路22に出力する。
The fixed threshold binarization circuit (fixed binarization means) 14 receives M
The TF corrected pixel data of interest is compared with a predetermined fixed threshold value (fixed reference value), binarized, and output to the timing delay circuit 22 as fixed binarized image data. The dither processing circuit A (second multi-stage binarization means) 15 compares the smoothed pixel data of interest inputted from the smoothing circuit 13 with a threshold value (multi-stage reference value) set in a predetermined multi-stage. The data is then binarized and output to the timing delay circuit 22 as multi-stage binarized image data.

【0021】ディザ処理回路B(第1の多段階2値化手
段)16は、マトリクス形成回路11から入力される注
目画素データを所定の多段階に設定されたスレッシュ値
(多段階基準値)と比較して2値化処理し、多段階2値
化画データとしてタイミング遅延回路22に出力する。 コンパレータB17は、MTF補正演算回路12から入
力されるMTF補正注目画素データを所定の設定スレッ
シュ値Bと比較し、コンパレータC18は、MTF補正
演算回路12から入力されるMTF補正注目画素データ
を所定の設定スレッシュ値Cと比較し、すなわち、スレ
ッシュ値B、Cは、図6に示すように画素濃度を判別す
るように設定されており、注目画素の画像濃度レベルを
スレッシュ値B、Cと比較した比較結果をブロック領域
判定回路21に出力する。この図6において、スレッシ
ュ値B、C(領域判別値)は、注目画素の文字画像領域
と中間調画像領域を判定するために設定されている。
The dither processing circuit B (first multi-stage binarization means) 16 converts the pixel data of interest inputted from the matrix forming circuit 11 into threshold values (multi-stage reference values) set in predetermined multiple stages. The data are compared, binarized, and output to the timing delay circuit 22 as multi-stage binarized image data. The comparator B17 compares the MTF corrected pixel data of interest inputted from the MTF correction calculation circuit 12 with a predetermined setting threshold value B, and the comparator C18 compares the MTF corrected pixel data of interest inputted from the MTF correction calculation circuit 12 with a predetermined threshold value B. The image density level of the pixel of interest was compared with the set threshold value C, that is, the threshold values B and C are set to determine the pixel density as shown in FIG. The comparison result is output to the block area determination circuit 21. In FIG. 6, threshold values B and C (area discrimination values) are set to determine whether the pixel of interest is a character image area or a halftone image area.

【0022】減算回路19は、MTF補正演算回路12
から入力されるMTF補正注目画素レベルから平滑化回
路13から入力される平滑化注目画素レベルを減算処理
し、その減算結果をコンパレータA20に出力する。具
体的には、図7に示すようなMTF補正演算回路12か
ら入力されるMTF補正注目画素レベルデータから図8
に示すような平滑化回路13から入力される平滑化注目
画素レベルデータを減算した場合、図9に示すような減
算結果が出力される。
The subtraction circuit 19 is the MTF correction calculation circuit 12
The smoothed pixel level of interest input from the smoothing circuit 13 is subtracted from the MTF corrected pixel level of interest input from the smoothing circuit 13, and the subtraction result is output to the comparator A20. Specifically, from the MTF correction target pixel level data inputted from the MTF correction calculation circuit 12 as shown in FIG.
When the smoothed pixel level data of interest inputted from the smoothing circuit 13 as shown in FIG. 9 is subtracted, a subtraction result as shown in FIG. 9 is output.

【0023】コンパレータA20は、減算回路19から
入力される減算結果を所定のスレッシュ値Aと比較し、
その比較結果をブロック領域判定回路21に出力する。 スレッシュ値A(基準値)は、中間調画像領域における
網点画像領域を判定するために設定されている。減算回
路19とコンパレータA20は、中間調画像領域におけ
る網点画像領域を判別する網点領域判別手段としての機
能を有する。
Comparator A20 compares the subtraction result input from subtraction circuit 19 with a predetermined threshold value A,
The comparison result is output to the block area determination circuit 21. The threshold value A (reference value) is set to determine the halftone image area in the halftone image area. The subtraction circuit 19 and the comparator A20 have a function as a halftone dot area discriminating means for discriminating a halftone dot image area in a halftone image area.

【0024】ブロック領域判定回路21は、コンパレー
タA20、コンパレータB17及びコンパレータC18
からそれぞれ入力される各比較結果に基づいて後述する
注目画素の画像領域判定処理を実行し、その判定結果を
選択回路23に出力する。タイミング遅延回路22は、
固定スレッシュ2値化回路14、ディザ処理回路A15
及びディザ処理回路B16からそれぞれ入力される固定
2値化画データ、平滑化マトリクスデータによる多値2
値化画データ及びマトリクスデータによる多値2値化画
データをブロック領域判定回路21におけるライン遅延
と画素の遅延タイミングに合わせて選択回路23に出力
する。
The block area determination circuit 21 includes a comparator A20, a comparator B17, and a comparator C18.
Based on the respective comparison results inputted from the , the image area determination process of the pixel of interest, which will be described later, is executed, and the determination result is output to the selection circuit 23 . The timing delay circuit 22 is
Fixed threshold binarization circuit 14, dither processing circuit A15
Fixed binary image data and multivalued 2 based on smoothed matrix data input from the dither processing circuit B16 and dither processing circuit B16, respectively.
Valued image data and multivalued binary image data based on matrix data are output to the selection circuit 23 in accordance with the line delay and pixel delay timing in the block area determination circuit 21.

【0025】選択回路(選択手段)23は、ブロック領
域判定回路21から入力される画像領域判定結果に基づ
いてタイミング遅延回路22から入力される固定2値化
画データ、平滑化マトリクスデータによる多値2値化画
データ及びマトリクスデータによる多値2値化画データ
を選択して出力2値化画データとして次段のメモリ9に
出力する。
The selection circuit (selection means) 23 selects multivalued fixed binary image data input from the timing delay circuit 22 and smoothed matrix data based on the image area determination result input from the block area determination circuit 21. Binary image data and multi-value binary image data based on matrix data are selected and output to the next stage memory 9 as output binary image data.

【0026】再び、図2に戻ってメモリ9は、2値化演
算処理部8から入力される2値化画データを所定量蓄積
し、蓄積した2値化画データを所定タイミングでI/F
処理部10に出力する。I/F処理部10は、図外の接
続されるホスト装置(コンピュータ等のデータ処理装置
や通信装置等)に2値化画データを転送するための転送
手順や接続形態の整合をとる制御機能を有しており、メ
モリ9から入力される2値化画データを接続されるホス
ト装置に出力する。
Returning to FIG. 2 again, the memory 9 stores a predetermined amount of binarized image data input from the binarization calculation processing section 8, and transfers the accumulated binarized image data to the I/F at a predetermined timing.
It is output to the processing unit 10. The I/F processing unit 10 has a control function that matches the transfer procedure and connection form for transferring binarized image data to a connected host device (data processing device such as a computer, communication device, etc.) not shown in the figure. It outputs the binarized image data input from the memory 9 to the connected host device.

【0027】なお、図2では、主に画像データの流れを
中心に示しているが、スキャナ装置1全体としては、さ
らに装置全体の制御を行なう制御部が備えられているこ
とは勿論である。次に、作用を説明する。オペレータに
よりスキャナ装置1に読み取らせる原稿が原稿テーブル
3あるいはADF部4にセットされると、原稿画像が画
像読取部6で1ラインづつ読み取られてアナログ画デー
タがシェーディング処理部7に出力され、シェーディン
グ処理部7でディジタル多値画データに変換されて2値
化演算処理部8に出力される。
Although FIG. 2 mainly shows the flow of image data, it goes without saying that the scanner device 1 as a whole is further provided with a control section for controlling the entire device. Next, the effect will be explained. When an operator sets a document to be read by the scanner device 1 on the document table 3 or the ADF section 4, the document image is read line by line by the image reading section 6, and analog image data is output to the shading processing section 7, where shading is performed. The processing unit 7 converts the data into digital multilevel image data and outputs it to the binarization calculation processing unit 8 .

【0028】2値化演算処理部8は、シェーディング処
理部7から入力されたディジタル多値画データが文字画
像領域であるか中間調画像領域であるか、あるいは網点
画像領域であるかの画像領域判別処理と領域判別に伴う
画信号2値化処理を以下のように行なう。まず、2値化
演算処理部8にディジタル多値画データが入力されると
、マトリクス形成回路11で処理対象となる注目画素を
中心とする隣接画素を含む上記図4、5に示したような
3×3あるいは3×5の2次元のマトリクスデータが形
成され、このマトリクスデータがMTF補正演算回路1
2及び平滑化回路13でMTF補正処理と平滑化処理が
行なわれる。これらのマトリクスデータ、MTF補正マ
トリクスデータ及び平滑化マトリクスデータは、図10
に示すように、MTF補正マトリクスデータ中の注目画
素レベルが上記図6に示したスレッシュ値Bより大きい
かどうか比較し(ステップS1)、スレッシュ値Bより
大きいときは、ブロック領域判定回路21が注目画素を
文字画像領域の文字画像であると判断し(ステップS2
)、この判断結果により選択回路23が固定スレッシュ
2値化回路14でMTF補正マトリクスデータ中の注目
画素を2値化処理して得られる固定2値化画データを出
力2値化画データとして選択して次段のメモリ9に出力
して処理を終了する(ステップS3)。
The binarization calculation processing unit 8 determines whether the digital multilevel image data inputted from the shading processing unit 7 is a character image area, a halftone image area, or a halftone image area. The region discrimination process and the image signal binarization process associated with the region discrimination are performed as follows. First, when digital multivalued image data is input to the binarization calculation processing unit 8, the matrix forming circuit 11 generates data as shown in FIGS. 3×3 or 3×5 two-dimensional matrix data is formed, and this matrix data is sent to the MTF correction calculation circuit 1.
2 and the smoothing circuit 13 perform MTF correction processing and smoothing processing. These matrix data, MTF correction matrix data, and smoothing matrix data are shown in Figure 10.
As shown in FIG. 6, it is compared whether the pixel level of interest in the MTF correction matrix data is greater than the threshold value B shown in FIG. The pixel is determined to be a character image in the character image area (step S2
), and based on this judgment result, the selection circuit 23 selects the fixed binary image data obtained by binarizing the pixel of interest in the MTF correction matrix data in the fixed threshold binarizing circuit 14 as the output binary image data. The data is then output to the next stage memory 9, and the process ends (step S3).

【0029】一方、ステップS1でMTF補正マトリク
スデータ中の注目画素レベルがスレッシュ値Bより大き
くなかったときは、平滑化マトリクスデータ中の注目画
素レベルが上記図6に示したスレッシュ値Cより小さい
かどうか比較し(ステップS4)、スレッシュ値Cより
小さかったときは、注目画素を文字画像領域の白画像で
あると判断して固定2値化画データを出力2値化画デー
タとして選択して次段のメモリ9に出力して処理を終了
する(ステップS2、S3)。
On the other hand, if the level of the pixel of interest in the MTF correction matrix data is not greater than the threshold value B in step S1, it is determined whether the level of the pixel of interest in the smoothing matrix data is smaller than the threshold value C shown in FIG. If it is smaller than the threshold value C, the pixel of interest is determined to be a white image in the character image area, the fixed binary image data is selected as the output binary image data, and the next step is The process is then output to the memory 9 of the stage (steps S2 and S3).

【0030】また、ステップS4で平滑化マトリクスデ
ータ中の注目画素レベルがスレッシュ値Cより小さくな
かったときは、減算回路19から出力されるMTF補正
マトリクスデータと平滑化マトリクスデータとの差デー
タが網点画像領域判別値としてのスレッシュ値Aより大
きいかどうかを比較し(ステップS5)、スレッシュ値
Aより大きいときは、ブロック領域判定回路21が注目
画素が中間調画像領域中の網点画像であると判断し(ス
テップS6)、この判断結果により選択回路23がディ
ザ処理回路A15で平滑化マトリクスデータ中の注目画
素を2値化処理して得られる多段階2値化画データを出
力2値化画データとして選択して次段のメモリ9に出力
して処理を終了する(ステップS7)。
Further, if the target pixel level in the smoothing matrix data is not smaller than the threshold value C in step S4, the difference data between the MTF correction matrix data and the smoothing matrix data output from the subtraction circuit 19 is It is compared whether it is larger than a threshold value A as a point image area discrimination value (step S5), and if it is larger than the threshold value A, the block area judgment circuit 21 determines that the pixel of interest is a halftone image in a halftone image area. (Step S6), and based on this judgment result, the selection circuit 23 outputs and binarizes the multi-stage binarized image data obtained by binarizing the pixel of interest in the smoothed matrix data in the dither processing circuit A15. The image data is selected as image data and output to the next stage memory 9, and the process ends (step S7).

【0031】ステップS5でスレッシュ値Aより大きく
なかったときは、ブロック領域判定回路21が注目画素
が網点画像を含まない中間調画像であると判断し(ステ
ップS8)、この判断結果により選択回路23がディザ
処理回路B16でマトリクスデータ中の注目画素を2値
化処理して得られる多段階2値化画データを出力2値化
画データとして選択して次段のメモリ9に出力して処理
を終了する(ステップS9)。
If it is not larger than the threshold value A in step S5, the block area determination circuit 21 determines that the pixel of interest is a halftone image that does not include a halftone image (step S8), and based on this determination result, the selection circuit 23 is a dither processing circuit B16 which selects multi-stage binary image data obtained by binarizing the pixel of interest in the matrix data as output binary image data and outputs it to the next stage memory 9 for processing. (Step S9).

【0032】具体的には、例えば、図11に示すように
、画像データをブロック単位に分けた場合、1ブロック
を8×8画素で構成したとき、それぞれのブロック毎に
領域判定データに基づく画像領域判定が行なわれて文字
画像ブロック、中間調画像ブロック及び網点画像ブロッ
クに分けられる。判定した結果に基づいてタイミング遅
延回路22によってタイミング調整されて出力される固
定2値化画データ、平滑化処理に対する多段階2値化画
データ及びマトリクスデータに対する多段階2値化画デ
ータが選択回路23で領域判定結果に基づいて選択され
て出力2値化画データとして次段の処理回路に出力され
る。
Specifically, for example, when image data is divided into blocks as shown in FIG. 11, and one block is composed of 8×8 pixels, an image based on area determination data for each block is Area determination is performed and the image is divided into character image blocks, halftone image blocks, and halftone image blocks. Fixed binary image data, multi-stage binary image data for smoothing processing, and multi-stage binary image data for matrix data, which are output after timing adjustment by the timing delay circuit 22 based on the determined result, are selected by the selection circuit. In step 23, the image data is selected based on the area determination result and output as output binary image data to the next stage processing circuit.

【0033】したがって、文字画像、中間調画像及び網
点画像に対して2値化処理演算部8を共通使用してそれ
ぞれ2値化処理ができるため、回路規模を大きくするこ
となく適切に画像領域を判定して2値化処理をすること
ができ、低コストで読取画像の画質を向上させることが
できる。図12〜図18は、請求項2及び3記載の発明
の画像装置を適用したスキャナ装置の一実施例を示す図
である。
Therefore, since the binarization processing calculation section 8 can be commonly used to perform binarization processing on character images, halftone images, and halftone dot images, image areas can be appropriately divided without increasing the circuit scale. can be determined and binarized, and the image quality of the read image can be improved at low cost. 12 to 18 are diagrams showing an embodiment of a scanner device to which the image device according to the second and third aspects of the invention is applied.

【0034】図12は、スキャナ装置31の概略構成の
ブロック図であり、上記図2に示したスキャナ装置1の
概略構成と同一の構成部分には同一番号を符して説明を
省略する。図12において、2値化演算処理回路32は
、図13に示すようにマトリクス形成回路41、MTF
補正演算回路42、ディザ処理回路43、エッジ抽出回
路44、周囲画素濃度比較部45、コンパレータA46
、コンパレータB47、オア回路48、アンド回路49
、選択回路A50、選択回路B51から構成されている
。
FIG. 12 is a block diagram of a schematic configuration of the scanner device 31. Components that are the same as the schematic configuration of the scanner device 1 shown in FIG. In FIG. 12, the binarization arithmetic processing circuit 32 includes a matrix forming circuit 41, an MTF as shown in FIG.
Correction calculation circuit 42, dither processing circuit 43, edge extraction circuit 44, surrounding pixel density comparison section 45, comparator A46
, comparator B47, OR circuit 48, AND circuit 49
, a selection circuit A50, and a selection circuit B51.

【0035】マトリクス形成回路(マトリクス形成手段
)41は、ラインバッファと入力されるディジタル多値
画データ(多値画素信号)の注目画素を中心とする2次
元空間を形成するラッチにより構成され、すなわち、注
目画素の濃度へレベルと注目画素に隣接する前後左右の
周辺画素の濃度レベルを示す2次元のマトリクスデータ
を形成しており、例えば、上記図14、15に示すよう
に5×3あるいは3×3のマトリクスデータを形成して
MTF補正演算回路42、ディザ処理回路43、エッジ
抽出回路44、周囲画素濃度比較部45、コンパレータ
A46及びコンパレータB47に出力する。
The matrix forming circuit (matrix forming means) 41 is composed of a line buffer and a latch that forms a two-dimensional space centered on the pixel of interest of input digital multivalued image data (multivalued pixel signal). , two-dimensional matrix data is formed that indicates the density level of the pixel of interest and the density levels of surrounding pixels on the front, rear, left, and right sides adjacent to the pixel of interest. For example, as shown in FIGS. x3 matrix data is formed and output to the MTF correction calculation circuit 42, dither processing circuit 43, edge extraction circuit 44, surrounding pixel density comparison section 45, comparator A46, and comparator B47.

【0036】MTF補正演算回路(補正2値化手段)4
2は、マトリクス形成回路41から入力されるマトリク
スデータを所定の補正フィルタによりフィルタ演算処理
を行ない、すなわち、ぼけ画像に対するMTF補正処理
を行なった後、MTF補正注目画素データを所定の固定
スレッシュ値(固定基準値)と比較して2値化処理し、
固定2値化画データとして選択回路B51に出力する。
MTF correction calculation circuit (correction binarization means) 4
2 performs filter calculation processing on the matrix data input from the matrix forming circuit 41 using a predetermined correction filter, that is, performs MTF correction processing on the blurred image, and then converts the MTF-corrected pixel data of interest to a predetermined fixed threshold value ( Binarization processing is performed by comparing with a fixed reference value),
It is output to the selection circuit B51 as fixed binary image data.

【0037】ディザ処理回路(多段階2値化手段)43
は、マトリクス形成回路41から入力されるマトリクス
データの注目画素データを所定の多段階に設定されたス
レッシュ値(多段階基準値)と比較して2値化処理し、
多段階2値化画データとして選択回路A50に出力する
。エッジ抽出回路(エッジ抽出手段)44は、マトリク
ス形成回路41から入力されるマトリクスデータを図1
6、17に示すような重み付けフィルタによりフィルタ
処理し、注目画素データのエッジ成分を抽出し、そのエ
ッジデータを設定された所定の基準値と比較して2値化
処理し、エッジ2値化画データとしてアンド回路49及
び選択回路A50に出力する。
Dither processing circuit (multi-stage binarization means) 43
performs binarization processing by comparing the target pixel data of the matrix data inputted from the matrix forming circuit 41 with a threshold value (multi-stage reference value) set in a predetermined multi-stage,
It is output to the selection circuit A50 as multi-level binary image data. The edge extraction circuit (edge extraction means) 44 converts the matrix data inputted from the matrix formation circuit 41 into the form shown in FIG.
6 and 17, the edge component of the pixel data of interest is extracted, and the edge data is compared with a predetermined reference value and binarized to produce an edge binarized image. It is output as data to the AND circuit 49 and the selection circuit A50.

【0038】周囲画素濃度比較部(周囲濃度比較手段)
45は、マトリクス形成回路41から入力されるマトリ
クスデータ中の周囲画素レベルを所定の濃度判別用とし
て設定されたスレッシュ値Cと比較し、所定の比較結果
データとしてをアンド回路49に出力する。周囲画素濃
度比較部45の回路構成としては、例えば、図18に示
すように上記図15に示した3×3のマトリクスデータ
に適用されるものの場合、周囲画素レベルA、B、D、
E毎にコンパレータ61〜64で設定スレッシュ値Cと
比較し、各比較結果データをオア回路65から出力する
。
Surrounding pixel density comparison section (surrounding density comparison means)
45 compares the surrounding pixel level in the matrix data inputted from the matrix forming circuit 41 with a threshold value C set for predetermined density determination, and outputs the predetermined comparison result data to the AND circuit 49. For example, as shown in FIG. 18, the circuit configuration of the surrounding pixel density comparison unit 45 is such that when applied to the 3×3 matrix data shown in FIG. 15, surrounding pixel levels A, B, D,
Comparators 61 to 64 compare each E with a set threshold value C, and each comparison result data is output from an OR circuit 65.

【0039】コンパレータA46及びコンパレータB4
7は、マトリクス形成回路41から入力されるマトリク
スデータ中の注目画素レベルを画素濃度を判定する基準
値として設定された図19に示すようなスレッシュ値A
、Bと比較処理し、それぞれ比較結果をオア回路48に
出力する。コンパレータA46は、注目画素レベルが設
定スレッシュ値Aよりも大きいとき、所定の比較結果デ
ータとして出力し、コンパレータB47は、注目画素レ
ベルが設定スレッシュ値Bよりも小さいとき、所定の比
較結果データとして出力する。設定スレッシュ値A、B
(文字画像領域判別値)は、注目画素の文字画像領域と
中間調画像領域を判定するために設定されている。
Comparator A46 and comparator B4
7 is a threshold value A as shown in FIG. 19, in which the pixel level of interest in the matrix data inputted from the matrix forming circuit 41 is set as a reference value for determining pixel density.
, B, and output the comparison results to the OR circuit 48. Comparator A46 outputs predetermined comparison result data when the pixel level of interest is greater than set threshold value A, and comparator B47 outputs predetermined comparison result data when the pixel level of interest is smaller than set threshold value B. do. Setting threshold value A, B
(Text image area determination value) is set to determine whether the pixel of interest is a character image area or a halftone image area.

【0040】コンパレータA46とコンパレータB47
は、文字領域判別手段としての機能を有する。オア回路
48は、コンパレータ46、47から入力される比較結
果データをオア処理して選択回路B51に出力する。ア
ンド回路49は、エッジ抽出回路44から入力されるエ
ッジ2値化画データと周囲画素濃度比較部45から入力
される比較結果データをアンド処理して選択回路A50
に出力する。
Comparator A46 and comparator B47
has a function as a character area discrimination means. The OR circuit 48 performs OR processing on the comparison result data input from the comparators 46 and 47 and outputs the result to the selection circuit B51. The AND circuit 49 performs AND processing on the edge binarized image data input from the edge extraction circuit 44 and the comparison result data input from the surrounding pixel density comparison section 45, and sends the selection circuit A50 to the selection circuit A50.
Output to.

【0041】オア回路48からの出力は、注目画素が文
字画像領域であることを示し、アンド回路49からの出
力は、注目画素が中間調画像領域中のエッジ画像領域で
あることを示す。選択回路A50は、アンド回路49か
ら入力されるエッジ2値化画データと比較結果データの
アンド処理出力、すなわち、文字画像領域か中間調画像
領域かに基づいてディザ処理回路43及びエッジ抽出回
路44から入力される多値2値化画データ及びエッジ2
値化画データを択一的に選択して選択回路B51に出力
する。
The output from the OR circuit 48 indicates that the pixel of interest is a character image area, and the output from the AND circuit 49 indicates that the pixel of interest is an edge image area in a halftone image area. The selection circuit A50 selects the dither processing circuit 43 and the edge extraction circuit 44 based on the AND processing output of the edge binarized image data and the comparison result data inputted from the AND circuit 49, that is, whether it is a character image area or a halftone image area. Multivalued binary image data and edge 2 input from
The converted image data is selectively selected and outputted to the selection circuit B51.

【0042】選択回路B51は、オア回路48から入力
される比較結果データのオア処理出力、すなわち、中間
調画像領域かエッジ画像領域かに基づいてMTF補正演
算回路42及び選択回路A50から入力される補正2値
化画データ及び多値2値化画データあるいはエッジ2値
化画データを選択して出力2値化画データとして次段の
メモリ9に出力する。
The selection circuit B51 receives input from the MTF correction calculation circuit 42 and the selection circuit A50 based on the OR processing output of the comparison result data input from the OR circuit 48, that is, whether it is a halftone image area or an edge image area. The corrected binary image data, multi-value binary image data, or edge binary image data are selected and outputted to the memory 9 at the next stage as output binary image data.

【0043】選択回路A50と選択回路B51は、選択
手段としての機能を有する。なお、図12では、主に画
像データの流れを中心に示しているが、スキャナ装置1
全体としては、さらに装置全体の制御を行なう制御部が
備えられていることは勿論である。次に、作用を説明す
る。
The selection circuit A50 and the selection circuit B51 have a function as selection means. Note that although FIG. 12 mainly shows the flow of image data, the scanner device 1
Of course, the apparatus as a whole is further provided with a control section that controls the entire apparatus. Next, the effect will be explained.

【0044】オペレータによりスキャナ装置31に読み
取らせる原稿が図外の原稿テーブルあるいはADF部に
セットされると、原稿画像が画像読取部6で1ラインづ
つ読み取られてアナログ画データがシェーディング処理
部7に出力され、シェーディング処理部7でディジタル
多値画データに変換されて2値化演算処理部32に出力
される。
When an operator sets a document to be read by the scanner device 31 on a document table (not shown) or an ADF section, the document image is read line by line by the image reading section 6 and analog image data is sent to the shading processing section 7. The data is outputted, converted into digital multilevel image data by the shading processing section 7, and outputted to the binarization calculation processing section 32.

【0045】2値化演算処理部32は、シェーディング
処理部7から入力されたディジタル多値画データが文字
画像領域であるか中間調画像領域であるか、あるいはエ
ッジ画像領域であるかの画像領域判別処理と領域判別に
伴う画信号2値化処理を以下のように行なう。まず、2
値化演算処理部32にディジタル多値画データが入力さ
れると、マトリクス形成回路41で処理対象となる注目
画素を中心とする隣接画素を含む上記図14、15に示
したような3×5あるいは3×3の2次元のマトリクス
データが形成され、このマトリクスデータがMTF補正
演算回路42、ディザ処理回路43及びエッジ抽出回路
44でMTF補正2値化処理とディザ2値化処理とエッ
ジ抽出2値化処理が行なわれとともに、図20に示すよ
うに、コンパレータA46で、マトリクスデータ中の注
目画素は、上記図19に示したスレッシュ値Aより大き
いかどうか比較し(ステップT1)、スレッシュ値Aよ
り大きいときは、注目画素が文字画像領域の文字画像で
あると判断して選択回路B51でMTF補正演算回路4
2から入力される固定2値化画データを出力2値化画デ
ータとして選択して次段のメモリ9に出力して処理を終
了する(ステップT2)。
The binarization calculation processing unit 32 determines whether the digital multivalued image data inputted from the shading processing unit 7 is a character image area, a halftone image area, or an edge image area. The image signal binarization process associated with the discrimination process and area discrimination is performed as follows. First, 2
When digital multilevel image data is input to the digitization calculation processing unit 32, the matrix forming circuit 41 generates a 3×5 image data as shown in FIGS. Alternatively, 3×3 two-dimensional matrix data is formed, and this matrix data is processed by the MTF correction calculation circuit 42, dither processing circuit 43, and edge extraction circuit 44 to perform MTF correction binarization processing, dither binarization processing, and edge extraction 2. As the value processing is performed, as shown in FIG. 20, the comparator A46 compares whether the pixel of interest in the matrix data is larger than the threshold value A shown in FIG. If the pixel of interest is larger, it is determined that the pixel of interest is a character image in the character image area, and the selection circuit B51 selects the MTF correction calculation circuit 4.
The fixed binary image data input from 2 is selected as the output binary image data and output to the next stage memory 9, and the process ends (step T2).

【0046】一方、ステップT1でマトリクスデータ中
の注目画素レベルがスレッシュ値Aより大きくなかった
ときは、コンパレータB47でマトリクスデータ中の注
目画素レベルが上記図19に示したスレッシュ値Bより
小さいかどうか比較し(ステップT3)、スレッシュ値
Bより小さかったときは、注目画素が文字画像領域の白
画像であると判断して固定2値化画データを出力2値化
画データとして選択して次段のメモリ9に出力して処理
を終了する(ステップT2)。
On the other hand, if the level of the pixel of interest in the matrix data is not greater than the threshold value A in step T1, the comparator B47 determines whether the level of the pixel of interest in the matrix data is smaller than the threshold value B shown in FIG. The comparison is made (step T3), and if it is smaller than the threshold value B, it is determined that the pixel of interest is a white image in the character image area, the fixed binary image data is selected as the output binary image data, and the next step is performed. The process is then output to the memory 9 (step T2).

【0047】また、ステップT3で注目画素レベルがス
レッシュ値Bより小さくなかったときは、エッジ抽出回
路44で注目画素がエッジデータとして抽出されている
かどうかをチェックする(ステップT4)。エッジデー
タでなかったときは、注目画素が中間調画像であると判
断して選択回路A50及び選択回路B51でデイザ処理
回路43から入力される多段2値化画データを出力2値
化画データとして選択して次段のメモリ9に出力して処
理を終了する(ステップT5)。
If the pixel level of interest is not smaller than the threshold value B in step T3, the edge extraction circuit 44 checks whether the pixel of interest has been extracted as edge data (step T4). If it is not edge data, the pixel of interest is determined to be a halftone image, and the selection circuit A50 and selection circuit B51 select the multi-stage binary image data input from the dither processing circuit 43 as output binary image data. It is selected and output to the next stage memory 9, and the process ends (step T5).

【0048】また、ステップT4で注目画素がエッジデ
ータであったときは、周囲画素濃度比較部45でマトリ
クスデータの周囲画素レベルが濃度判別用の設定スレッ
シュ値Cより小さいかどうか比較し、周囲画素の中で1
つでもスレッシュ値Cより小さい画素があったときは、
スレッシュ値C以下の画素濃度を原稿地肌濃度とし、注
目画素は、地肌濃度に対するエッジ画像であると判断し
て選択回路A50及び選択回路B51でエッジ抽出回路
44から入力されるエッジ2値化画データを出力2値化
画データとして選択して次段のメモリ9に出力して処理
を終了する(ステップT7)。したがって、文字画像、
中間調画像及び中間調画像中のエッジ画像に対して2値
化処理演算部32を共通使用してそれぞれ2値化処理が
できるため、回路規模を大きくすることなく適切に画像
領域を判定して2値化処理をすることができ、低コスト
で読取画像の画質を向上させることができる。また、エ
ッジ抽出回路44を設けたことにより、文字画像領域の
エッジの誤検出を防止し、かつ、中間調画像領域の過度
のエッジ強調を回避することができ、中間調画像の画質
をより向上させることができる。さらに、上記設定スレ
ッシュ値A、B、Cを任意に設定可能とすることによっ
てオペレータの希望する読取画像を得られるようにする
ことも可能である。
Further, when the pixel of interest is edge data in step T4, the surrounding pixel density comparison unit 45 compares whether the surrounding pixel level of the matrix data is smaller than the set threshold value C for density determination, and 1 in
If at any time there is a pixel smaller than the threshold value C,
The pixel density below the threshold value C is taken as the original background density, and the pixel of interest is determined to be an edge image for the background density, and the edge binary image data is input from the edge extraction circuit 44 in the selection circuit A50 and the selection circuit B51. is selected as the output binary image data and output to the next stage memory 9, and the process ends (step T7). Therefore, the character image,
Since the binarization processing calculation unit 32 can be used in common to perform binarization processing on halftone images and edge images in the halftone images, image areas can be determined appropriately without increasing the circuit scale. Binarization processing can be performed, and the image quality of read images can be improved at low cost. Furthermore, by providing the edge extraction circuit 44, it is possible to prevent false detection of edges in character image areas and avoid excessive edge enhancement in halftone image areas, further improving the image quality of halftone images. can be done. Furthermore, by making it possible to arbitrarily set the set threshold values A, B, and C, it is also possible to obtain a read image desired by the operator.

【0049】また、周囲画素濃度比較部45の比較出力
データを、例えば、論理出力の“1”に固定することに
より、中間調画像領域中のエッジデータをエッジデータ
のまま出力させることができ、文字画像領域と中間調画
像領域を分離させ、かつ、エッジ強調加えたハイコント
ラストな読取画像を出力させることもできる。
Furthermore, by fixing the comparison output data of the surrounding pixel density comparison section 45 to, for example, the logic output "1", the edge data in the halftone image area can be output as is, It is also possible to separate the character image area and the halftone image area and output a high contrast read image with edge emphasis added.

【0050】[0050]

【発明の効果】請求項1記載の発明によれば、入力画素
信号からマトリクスデータを形成し、該マトリクスデー
タにおける注目画素レベルから画像領域を判別し、入力
画素信号が文字画像領域のときは、固定2値化画信号を
出力2値化画信号として選択して出力し、入力画素信号
が網点画像領域のときは、マトリクスデータを平滑化し
た多段階2値化画信号を出力2値化画信号として選択し
て出力し、入力画素信号が中間調画像領域のときは、マ
トリクスデータによる多段階2値化画信号を出力2値化
画信号として選択して出力しているので、高価な高速処
理回路を使用することなく、2値画像と中間調画像が混
在する原稿の画像の文字画像領域と中間調画像領域と網
点画像領域を適切に、かつ速やかに識別することができ
、画像処理装置を安価なものとすることができるととも
に、2値画像領域と中間調画像領域と網点画像領域の画
素信号の2値化処理を適切に行って、線の細線化や太線
化を防止することができ、画質を向上させることができ
る。
According to the invention as set forth in claim 1, matrix data is formed from input pixel signals, an image area is determined from the pixel level of interest in the matrix data, and when the input pixel signal is a character image area, A fixed binary image signal is selected and output as the output binary image signal, and when the input pixel signal is in a halftone image area, a multi-level binary image signal obtained by smoothing the matrix data is output and binarized. When the input pixel signal is in a halftone image area, a multi-level binary image signal based on matrix data is selected and output as the output binary image signal, so it is not expensive. Without using high-speed processing circuits, it is possible to appropriately and quickly identify the character image area, halftone image area, and halftone image area of a document image containing a mixture of binary images and halftone images. The processing device can be made inexpensive, and the pixel signals in the binary image area, halftone image area, and halftone image area can be appropriately binarized to prevent lines from becoming thinner or thicker. It is possible to improve the image quality.

【0051】請求項2記載の発明では、入力画素信号か
らマトリクスデータを形成し、該マトリクスデータにお
ける注目画素レベルから画像領域を判別し、入力画素信
号が文字画像領域のときは、補正マトリクスデータによ
る固定2値化画素信号を出力2値化画信号として選択し
て出力し、入力画素信号が中間調画像領域のときは、エ
ッジ画素としての注目画素と全ての周囲画素とのレベル
差が所定値以下であると識別したとき、マトリクスデー
タによる多段階2値化画信号が出力2値化画信号として
選択して出力し、エッジ画素としての注目画素と周囲画
素のうち少なくとも一つが所定値よりも大きいと識別し
たとき、エッジデータによるエッジ2値化画信号を出力
2化値画信号として選択して出力し、また、請求項3記
載の発明によれば、入力画素信号が中間調画像領域のと
きは、エッジ画素としての注目画素と全ての周囲画素と
のレベル差が所定値以下であると識別したとき、エッジ
データによるエッジ2値化画信号を出力2値化画信号と
して選択して出力し、中間調画像領域におけるエッジ画
素を強調するようにしているので、高価な高速処理回路
を使用することなく、2値画像と中間調画像が混在する
原稿の画像の文字画像領域と中間調画像領域とエッジ画
像領域を適切に、かつ速やかに識別することができ、画
像処理装置を安価なものとすることができるとともに、
2値画像領域と中間調画像領域とエッジ画像領域の画素
信号の2値化処理を適切に行って、線の細線化や太線化
を防止することができ、画質を向上させることができる
。また、中間調画像領域におけるエッジ成分を強調して
ハイコントラスト画像を得ることができる。
In the invention according to claim 2, matrix data is formed from the input pixel signal, an image area is determined from the pixel level of interest in the matrix data, and when the input pixel signal is a character image area, the matrix data is determined based on the correction matrix data. A fixed binary pixel signal is selected and output as the output binary pixel signal, and when the input pixel signal is in a halftone image area, the level difference between the pixel of interest as an edge pixel and all surrounding pixels is a predetermined value. When it is determined that When it is determined that the input pixel signal is large, the edge binary image signal based on the edge data is selected and output as the output binary image signal. When it is identified that the level difference between the pixel of interest as an edge pixel and all surrounding pixels is less than a predetermined value, the edge binary image signal based on edge data is selected as the output binary image signal and output. Since the edge pixels in the halftone image area are emphasized, the text image area and halftone image of a document image containing a mixture of binary images and halftone images can be easily processed without using expensive high-speed processing circuits. The area and the edge image area can be appropriately and quickly identified, the image processing device can be made inexpensive, and
By appropriately performing binarization processing on pixel signals in the binary image area, halftone image area, and edge image area, lines can be prevented from becoming thinner or thicker, and image quality can be improved. Furthermore, a high contrast image can be obtained by emphasizing edge components in a halftone image area.

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

【図1】請求項1記載の発明による画像処理装置を適用
したスキャナ装置の外観の斜視図。
FIG. 1 is a perspective view of the external appearance of a scanner device to which an image processing device according to the invention according to claim 1 is applied.

【図2】請求項1記載の発明による画像処理装置を適用
したスキャナ装置の制御系の構成を示すブロック図。
FIG. 2 is a block diagram showing the configuration of a control system of a scanner device to which the image processing device according to the invention according to claim 1 is applied.

【図3】図2の2値化演算処理部の構成を示すブロック
図。
FIG. 3 is a block diagram showing the configuration of a binarization calculation processing section in FIG. 2;

【図4】図3のマトリクス形成回路で形成されるマトリ
クスデータを示す図。
FIG. 4 is a diagram showing matrix data formed by the matrix forming circuit of FIG. 3;

【図5】図3のマトリクス形成回路で形成されるその他
のマトリクスデータを示す図。
FIG. 5 is a diagram showing other matrix data formed by the matrix forming circuit of FIG. 3;

【図6】図3のコンパレータB、Cで比較されるスレッ
シュ値B、Cと注目画素の関係を示す図。
6 is a diagram showing the relationship between threshold values B and C compared by comparators B and C in FIG. 3 and a pixel of interest; FIG.

【図7】図3のMTF補正演算回路から出力される注目
画素のMTF補正データを示す図。
FIG. 7 is a diagram showing MTF correction data of a pixel of interest output from the MTF correction calculation circuit of FIG. 3;

【図8】図3の平滑化回路から出力される注目画素の平
滑化データを示す図。
FIG. 8 is a diagram showing smoothed data of a pixel of interest output from the smoothing circuit of FIG. 3;

【図9】図3の減算回路から出力される注目画素の減算
データを示す図。
FIG. 9 is a diagram showing subtraction data of a pixel of interest output from the subtraction circuit of FIG. 3;

【図10】図3のブロック領域判定回路及び選択回路で
処理される画像領域判別処理及び2値化処理のプログラ
ムを示すフローチャート。
FIG. 10 is a flowchart showing a program for image area determination processing and binarization processing that are processed by the block area determination circuit and selection circuit of FIG. 3;

【図11】図10の画像領域判別処理及び2値化処理で
処理される画像データのブロック構成を示す図。
FIG. 11 is a diagram showing a block configuration of image data processed in the image area determination process and binarization process of FIG. 10;

【図12】請求項2及び3記載の発明による画像処理装
置を適用したスキャナ装置の制御系の構成を示すブロッ
ク図。
FIG. 12 is a block diagram showing the configuration of a control system of a scanner device to which the image processing device according to the second and third aspects of the invention is applied.

【図13】図12の2値化演算処理部の構成を示すブロ
ック図。
FIG. 13 is a block diagram showing the configuration of a binarization calculation processing section in FIG. 12;

【図14】図13のマトリクス形成回路で形成されるマ
トリクスデータを示す図。
FIG. 14 is a diagram showing matrix data formed by the matrix forming circuit of FIG. 13;

【図15】図13のマトリクス形成回路で形成されるそ
の他のマトリクスデータを示す図。
FIG. 15 is a diagram showing other matrix data formed by the matrix forming circuit of FIG. 13;

【図16】図13のエッジ抽出回路でエッジ抽出処理の
際に使用される重み付けフィルタの構成を示す図。
FIG. 16 is a diagram showing the configuration of a weighting filter used in edge extraction processing in the edge extraction circuit of FIG. 13;

【図17】図13のエッジ抽出回路でエッジ抽出処理の
際に使用されるその他の重み付けフィルタの構成を示す
図。
FIG. 17 is a diagram showing the configuration of another weighting filter used in edge extraction processing in the edge extraction circuit of FIG. 13;

【図18】図13の周囲画素濃度比較部の回路構成を示
す図。
FIG. 18 is a diagram showing a circuit configuration of a surrounding pixel density comparison section in FIG. 13;

【図19】図13のコンパレータA、Bで比較されるス
レッシュ値A、Bと注目画素の関係を示す図。
19 is a diagram showing the relationship between threshold values A and B compared by comparators A and B in FIG. 13 and a pixel of interest.

【図20】図13のコンパレータA、B及び選択回路A
、Bで処理される画像領域判別処理及び2値化処理のプ
ログラムを示すフローチャート。
[Figure 20] Comparators A, B and selection circuit A in Figure 13
, B is a flowchart showing a program for image area discrimination processing and binarization processing that are processed in B.

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

1、31    スキャナ装置 2    本体 3    原稿テーブル 4    ADF部 5    排紙テーブル 6    画像読取部 7    シェーディング処理部 8、32    2値化演算処理部 9    メモリ 10    I/F処理部 11、41    マトリクス形成回路12、42  
  MTF補正演算回路13    平滑化回路 14    固定スレッシュ2値化回路15    デ
ィザ処理回路A 16    ディザ処理回路B 17    コンパレータB 18    コンパレータC 19    減算回路 20    コンパレータA 21    ブロック領域判定回路 22    タイミング遅延回路 23    選択回路 43    ディザ処理回路 44    エッジ抽出回路 45    周囲画素濃度比較部 46    コンパレータA 47    コンパレータB 48    オア回路 49    アンド回路 50    選択回路A 51    選択回路B
1, 31 Scanner device 2 Main body 3 Document table 4 ADF section 5 Paper ejection table 6 Image reading section 7 Shading processing section 8, 32 Binarization calculation processing section 9 Memory 10 I/F processing section 11, 41 Matrix forming circuit 12, 42
MTF correction calculation circuit 13 Smoothing circuit 14 Fixed threshold binarization circuit 15 Dither processing circuit A 16 Dither processing circuit B 17 Comparator B 18 Comparator C 19 Subtraction circuit 20 Comparator A 21 Block area determination circuit 22 Timing delay circuit 23 Selection circuit 43 Dither processing circuit 44 Edge extraction circuit 45 Surrounding pixel density comparison section 46 Comparator A 47 Comparator B 48 OR circuit 49 AND circuit 50 Selection circuit A 51 Selection circuit B

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】ライン毎に入力される多値画素信号を画素
毎に所定の基準値に基づいて2値化処理し出力2値画信
号を出力する画像処理装置において、入力多値画素信号
の注目画素のレベルと該注目画素の前後および前後のラ
インの同位置にある隣接画素のレベルを示すマトリクス
データを形成して出力するマトリクス形成手段と、マト
リクスデータを所定の補正フィルタにより補正処理し、
補正マトリクスデータを出力する補正手段と、マトリク
スデータを平滑化処理し、平滑マトリクスデータを出力
する平滑化手段と、補正マトリクスデータにおける注目
画素レベルを所定の固定基準値と比較して2値化処理し
、固定2値化画素信号を出力する固定2値化手段と、マ
トリクスデータにおける注目画素レベルを多段階に変化
する多段階基準値と比較して2値化処理し、多段階2値
化画信号を出力する第1の多段階2値化手段と、平滑マ
トリクスデータにおける注目画素レベルを多段階に変化
する多段階基準値と比較して2値化処理し、多段階2値
化画信号を出力する第2の多段階2値化手段と、補正マ
トリクスデータにおける注目画素レベルを所定の領域判
別値と比較して注目画素が文字画像領域か中間調画像領
域かを判別する画像領域判別手段と、補正マトリクスデ
ータにおける注目画素レベルと平滑マトリクスデータに
おける注目画素レベルの差を所定の基準値と比較して注
目画素が網点画像領域かどうかを判別する網点領域判別
手段と、画像領域判別手段および網点領域判別手段の判
別結果に基づいて固定2値化手段、第1の多段階2値化
手段および第2の多段階2値化手段のいずれかの2値化
画信号を選択して出力2値化画信号として出力する選択
手段と、を設け、入力画素信号が文字画像領域のときは
、選択手段により固定2値化手段の出力する固定2値化
画信号を出力2値化画信号として選択して出力し、入力
画素信号が網点画像領域のときは、第1の多段階2値化
手段の出力する多段階2値化画信号を出力2値化画信号
として選択して出力し、入力画素信号が中間調画像領域
のときは、第2の多段階2値化手段の出力する多段階2
値化画信号を出力2値化画信号として選択して出力する
ことを特徴とする画像処理装置。
1. An image processing device that binarizes a multi-value pixel signal input for each line based on a predetermined reference value for each pixel and outputs an output binary pixel signal. a matrix forming means for forming and outputting matrix data indicating the level of a pixel of interest and the level of adjacent pixels at the same position in the lines before and after the pixel of interest, and correcting the matrix data using a predetermined correction filter;
A correction means for outputting correction matrix data, a smoothing means for smoothing the matrix data and outputting smoothed matrix data, and a binarization process by comparing the pixel level of interest in the correction matrix data with a predetermined fixed reference value. A fixed binarization means outputs a fixed binarized pixel signal, and a binarization process is performed by comparing the pixel level of interest in the matrix data with a multi-step reference value that changes in multiple steps, and a multi-step binarized pixel signal is generated. A first multi-stage binarization means for outputting a signal performs binarization processing by comparing the pixel level of interest in the smoothed matrix data with a multi-stage reference value that changes in multiple stages, and generates a multi-stage binarized image signal. a second multi-stage binarization means for outputting; and an image area determining means for comparing the level of the pixel of interest in the correction matrix data with a predetermined area determination value to determine whether the pixel of interest is a character image area or a halftone image area. , a halftone area determining means for determining whether the pixel of interest is in a halftone image area by comparing the difference between the pixel level of interest in the correction matrix data and the pixel level of interest in the smooth matrix data with a predetermined reference value; and selecting a binarized image signal from one of the fixed binarization means, the first multi-stage binarization means, and the second multi-stage binarization means based on the discrimination result of the halftone area discrimination means. a selection means for outputting the fixed binary image signal as an output binary image signal, and when the input pixel signal is in a character image area, the selection means outputs the fixed binary image signal output from the fixed binary conversion means as the output binary image signal. When the input pixel signal is in a halftone image area, the multi-stage binarized image signal output from the first multi-stage binarized means is selected as the output binarized image signal. When the input pixel signal is in a halftone image area, the second multi-stage binarization means outputs a multi-stage 2
An image processing device that selects and outputs a digitized image signal as an output binary image signal.
【請求項2】ライン毎に入力される多値画素信号を画素
毎に所定の基準値に基づいて2値化処理し出力2値画信
号を出力する画像処理装置において、入力多値画素信号
の注目画素のレベルと該注目画素の前後および前後のラ
インの同位置にある隣接画素信号のレベルを示すマトリ
クスデータを形成して出力するマトリクス形成手段と、
マトリクスデータを所定の補正フィルタにより補正処理
して注目画素レベルを補正し、該注目画素レベルを所定
の固定基準値と比較して2値化処理し、固定2値化画素
信号を出力する補正2値化手段と、マトリクスデータに
おける注目画素レベルを多段階に変化する多段階基準値
と比較して2値化処理し、多段階2値化画信号を出力す
る多段階2値化手段と、マトリクスデータを所定の重み
付けフィルタにより重み付け処理し、注目画素のエッジ
画素レベルを抽出し、該エッジ画素レベルを所定の基準
値と比較して2値化処理し、エッジ2値化画信号を出力
するエッジ抽出手段と、マトリクスデータにおける注目
画素レベルを所定の文字画像領域判別値と比較し、注目
画素が文字画像領域かどうかを判別する文字領域判別手
段と、エッジ抽出手段がエッジ画素を抽出したとき、該
エッジ画素を抽出したマトリクスデータの周囲画素毎に
所定の濃度判別基準値と比較し、該比較結果に基づいて
該エッジ画素の背景となる各周囲画素とのレベル差を識
別する周囲濃度比較手段と、注目画素が文字画像領域で
あるとき、補正2値化手段の固定2値化画素信号を選択
して出力2値化画信号として出力し、また、周囲濃度比
較手段の識別結果に基づいて多段階2値化手段およびエ
ッジ抽出手段のいずれかの2値化画信号を選択して出力
2値化画信号として出力する選択手段と、を設け、入力
画素信号が文字画像領域のときは、選択手段により補正
2値化手段の出力する固定2値化画素信号を出力2値化
画信号として選択して出力し、入力画素信号が中間調画
像領域のときは、周囲濃度比較手段がエッジ画素として
の注目画素と全ての周囲画素とのレベル差が所定値以下
であると識別したとき、選択手段により多段階2値化手
段の出力する多段階2値化画信号を出力2値化画信号と
して選択して出力し、周囲濃度比較手段がエッジ画素と
しての注目画素と周囲画素のうち少なくとも一つが所定
値よりも大きいと識別したとき、選択手段によりエッジ
抽出手段の出力するエッジ2値化画信号を出力2値化画
信号として選択して出力することを特徴とする画像処理
装置。
2. An image processing device that binarizes a multi-value pixel signal input for each line based on a predetermined reference value for each pixel and outputs an output binary pixel signal. matrix forming means for forming and outputting matrix data indicating the level of a pixel of interest and the level of adjacent pixel signals at the same position in the lines before and after the pixel of interest;
Correction processing 2: correcting the matrix data using a predetermined correction filter to correct the pixel level of interest, comparing the pixel level of interest with a predetermined fixed reference value, performing binarization processing, and outputting a fixed binary pixel signal. a multi-step binarization means for performing binarization processing by comparing a pixel level of interest in the matrix data with a multi-step reference value that changes in multi-steps, and outputting a multi-step binarized image signal; Edges that weight the data using a predetermined weighting filter, extract the edge pixel level of the pixel of interest, compare the edge pixel level with a predetermined reference value, perform binarization processing, and output an edge binarized image signal. When an edge pixel is extracted by the extraction means, the character area determination means for comparing the level of the pixel of interest in the matrix data with a predetermined character image area determination value and determining whether the pixel of interest is in a character image area, and the edge extraction means, Surrounding density comparison means that compares each surrounding pixel of matrix data from which the edge pixel is extracted with a predetermined density determination reference value, and identifies a level difference between the edge pixel and each surrounding pixel serving as a background based on the comparison result. When the pixel of interest is a character image area, the fixed binarized pixel signal of the correction binarization means is selected and outputted as an output binarized image signal, and also based on the identification result of the surrounding density comparison means. a selection means for selecting one of the binary image signals from the multi-stage binarization means and the edge extraction means and outputting the selected binary image signal as an output binary image signal, and when the input pixel signal is in a character image area, The selection means selects and outputs the fixed binary pixel signal output from the correction binarization means as the output binary pixel signal, and when the input pixel signal is in a halftone image area, the surrounding density comparison means selects and outputs the fixed binary pixel signal output from the correction binarization means. When it is identified that the level difference between the pixel of interest and all surrounding pixels is less than a predetermined value, the selection means outputs a multi-stage binary image signal output from the multi-stage binarization means as a binary image signal. When the surrounding density comparison means identifies that at least one of the pixel of interest and the surrounding pixels as an edge pixel is larger than a predetermined value, the selection means selects and outputs the edge binarized image output from the edge extraction means. An image processing device that selects and outputs a signal as an output binary image signal.
【請求項3】請求項2記載の発明において、前記入力画
素信号が中間調画像領域のときは、前記周囲濃度比較手
段がエッジ画素としての注目画素と全ての周囲画素との
レベル差が所定値以下であると識別したとき、選択手段
によりエッジ抽出手段の出力するエッジ2値化画信号を
出力2値化画信号として選択して出力し、中間調画像領
域におけるエッジ画素を出力するようにしたことを特徴
とする画像処理装置。
3. In the invention according to claim 2, when the input pixel signal is in a halftone image area, the surrounding density comparison means determines that the level difference between the pixel of interest as an edge pixel and all surrounding pixels is a predetermined value. When it is identified that: An image processing device characterized by:
JP3116381A 1991-05-22 1991-05-22 Image processing device Pending JPH04344770A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3116381A JPH04344770A (en) 1991-05-22 1991-05-22 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3116381A JPH04344770A (en) 1991-05-22 1991-05-22 Image processing device

Publications (1)

Publication Number Publication Date
JPH04344770A true JPH04344770A (en) 1992-12-01

Family

ID=14685598

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3116381A Pending JPH04344770A (en) 1991-05-22 1991-05-22 Image processing device

Country Status (1)

Country Link
JP (1) JPH04344770A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0818777A (en) * 1994-03-08 1996-01-19 Ricoh Co Ltd Image processing device
JP2001197305A (en) * 2000-01-05 2001-07-19 Toshiba Corp Image processing apparatus and image processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0818777A (en) * 1994-03-08 1996-01-19 Ricoh Co Ltd Image processing device
JP2001197305A (en) * 2000-01-05 2001-07-19 Toshiba Corp Image processing apparatus and image processing method

Similar Documents

Publication Publication Date Title
US5850298A (en) Image processing device eliminating background noise
JPS5810966A (en) Method of determining optimum threshold value for processing threshold of image element and adaptive threshold processor
JP3088010B2 (en) Line drawing separation method and apparatus
JPH10283470A (en) Image processor, image processing method and recording medium
JPH03201772A (en) Image scanner
JPH06334856A (en) Picture processor
JPS63288565A (en) Image processor
JP3257826B2 (en) Image processing device
JP3466655B2 (en) Image processing device
JPH05143728A (en) Image processor
JP3690706B2 (en) Image processing device
JPH03238576A (en) Automatic binarization system for multi level image data
JPH09200499A (en) Image processing device
JPH0644800B2 (en) Image processing device
JPH05176168A (en) Adaptive halftone processing method
JPH05145749A (en) Selective binarizing method
JP3146516B2 (en) Image processing device
JP3146517B2 (en) Image processing device
JP3136650B2 (en) Image processing device
JPS6180964A (en) Picture signal processing method
JPS6180970A (en) Picture signal processor
JPH0778830B2 (en) Image signal processor
JPH0969941A (en) Image processing apparatus and method
JPH02163883A (en) Image processing method
JPH0326065A (en) Picture processing unit