JPH06292015A - Thresholding device and reader and facsimile equipment provided with the device - Google Patents

Thresholding device and reader and facsimile equipment provided with the device

Info

Publication number
JPH06292015A
JPH06292015A JP5079282A JP7928293A JPH06292015A JP H06292015 A JPH06292015 A JP H06292015A JP 5079282 A JP5079282 A JP 5079282A JP 7928293 A JP7928293 A JP 7928293A JP H06292015 A JPH06292015 A JP H06292015A
Authority
JP
Japan
Prior art keywords
pixel
interest
image
data
value
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
JP5079282A
Other languages
Japanese (ja)
Inventor
Tomoo Kobori
智生 小堀
Akihiro Asada
昭広 浅田
Koji Imazawa
光二 今沢
Seiji Tanaka
誠二 田中
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP5079282A priority Critical patent/JPH06292015A/en
Publication of JPH06292015A publication Critical patent/JPH06292015A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

(57)【要約】 【目的】 画像の2値化時に画像の輪郭部の連続性を弊
害のほとんど発生すること無く保つことにより画質向上
を実現させる。 【構成】 像域判定部12は注目画素である多値画像デ
ータ15aと前ラインの画素である多値画像データ15
bと後ラインの画素である多値画像データ3aとから、
注目画素における画像の輪郭部の判定を行なう。状態確
率判定部13は判定結果12aに従い、注目画素が輪郭
部に位置する場合には、前画素の2値化データ6a、前
ラインの画素の2値化データ17a及び後画素の多値画
像データ5aの各状態により、連続性が主走査方向ある
いは副走査方向の何れの方向に有するかの判定を行な
う。しきい値選択部11は判定結果13aに従い、第1
〜第3のしきい値の中から所望のしきい値の選択を行な
う。
(57) [Abstract] [Purpose] To improve the image quality by maintaining the continuity of the contour portion of the image at the time of binarizing the image with almost no adverse effects. The image area determination unit 12 includes multi-valued image data 15a that is a pixel of interest and multi-valued image data 15 that is a pixel on the previous line.
From b and the multi-valued image data 3a which is the pixel of the rear line,
The contour portion of the image in the pixel of interest is determined. According to the determination result 12a, the state probability determination unit 13 determines that the binarized data 6a of the previous pixel, the binarized data 17a of the pixel of the previous line, and the multi-valued image data of the rear pixel when the pixel of interest is located in the contour portion. Depending on each state of 5a, it is determined whether the continuity is in the main scanning direction or the sub scanning direction. The threshold selection unit 11 determines whether the first
~ A desired threshold value is selected from the third threshold values.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像を走査して画素単
位にサンプリングして得られた、画像の濃淡階調を表わ
す多値画像データを、濃度レベルに応じた白あるいは黒
の2値化データに変換する2値化装置に関し、例えば、
ファクシミリ装置、イメージスキャナ装置あるいは画像
生成装置(X線CT〔Computerized Tomography;コン
ピュータ断層撮影〕装置,MRI〔Magnetic Radio iso
tope〕装置や超音波診断装置等)等に用いて好適な2値
化装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention uses multi-valued image data, which is obtained by scanning an image and sampling it on a pixel-by-pixel basis, and which expresses the gray scale of the image. Regarding a binarization device for converting into digitized data, for example,
Facsimile device, image scanner device or image generating device (X-ray CT [Computerized Tomography] device, MRI [Magnetic Radio iso
tope] device, ultrasonic diagnostic device, etc.) and the like.

【0002】[0002]

【従来の技術】従来の、例えばファクシミリ装置では、
画像(送信原稿)をラインセンサ(CCDセンサ、密着
センサ等)により走査し、画素単位にサンプリングし、
画像の濃淡階調を多値画像データで表す。その後、得ら
れた多値画像データに2値化処理を施して、濃度レベル
に応じた白あるいは黒の2値化データに変換し、画像を
表示するようにしている。さらに、2値化されたデータ
に対し、ファクシミリ装置の標準符号化方式であるMH
(Modified Huffman;モディファイド ハフマン)符号
化あるいはMR(Modified Relative Element Address
Designate;モディファイド リード)符号化等により
データ圧縮を行ない、送信するようにしている。
2. Description of the Related Art In a conventional facsimile machine, for example,
The image (transmission document) is scanned by a line sensor (CCD sensor, contact sensor, etc.), sampled in pixel units,
The gray scale of the image is represented by multi-valued image data. After that, the obtained multi-valued image data is subjected to a binarization process to be converted into white or black binarized data according to the density level, and an image is displayed. Furthermore, MH, which is a standard encoding method for facsimile machines, is applied to binarized data.
(Modified Huffman) coding or MR (Modified Relative Element Address)
Designate: Modified read) Data is compressed by encoding and transmitted.

【0003】しかしながら、元の画像が同一濃度であっ
たとしても、送信原稿の“汚れ”、画像の性質(線の太
さや傾き、濃度、周辺画素との相関等)あるいはライン
センサのMTF(Modureation Transfar function;変
調伝達関数)特性により、得られる多値画像データは様
々な値を有する事となる。このため、多値画像データに
そのまま2値化処理を施したのでは、得られる画像の再
現性が著しく劣ってしまう事となる。
However, even if the original image has the same density, the "dirt" of the transmission original, the image properties (line thickness and inclination, density, correlation with surrounding pixels, etc.) or MTF (Modureation) of the line sensor. The obtained multi-valued image data has various values due to the characteristics of the transfer function. Therefore, if the multi-valued image data is directly subjected to the binarization process, the reproducibility of the obtained image will be significantly deteriorated.

【0004】このような事から、一般に、2値化処理を
施す前に、多値画像データの信号レベルを補正する処理
を施すことにより、画像の再現性を向上させるようにし
ている。
Under these circumstances, generally, the image reproducibility is improved by performing a process of correcting the signal level of the multi-valued image data before performing the binarization process.

【0005】図13は従来の2値化装置の構成を示すブ
ロック図である。図13において、1はラインセンサ
(図示せず)から読取った画像の濃度レベルを入力する
入力端子、2は画像の濃度レベルを画素単位にサンプリ
ングし、多値画像データ(多値ディジタルデータ)に変
換するA/D変換部、3はシェーディング補正部、4は
γ補正部、5はMTF補正部、6は多値画像データとし
きい値との大小比較により2値化を行なう2値化部、7
は2値化データを出力する出力端子、8,10はそれぞ
れ第1,第3のしきい値を与える第1,第3のしきい値
付加部、11は第1,第3のしきい値付加部から出力さ
れるしきい値のうち、所定のしきい値を選択するしきい
値選択部、である。
FIG. 13 is a block diagram showing the structure of a conventional binarizing device. In FIG. 13, 1 is an input terminal for inputting the density level of an image read from a line sensor (not shown), 2 is a sampling of the density level of the image in pixel units, and multivalued image data (multivalued digital data) is obtained. An A / D conversion unit for conversion, 3 a shading correction unit, 4 a γ correction unit, 5 an MTF correction unit, 6 a binarization unit that performs binarization by comparing the magnitude of multi-valued image data with a threshold value, 7
Is an output terminal for outputting binarized data, 8 and 10 are first and third threshold value adding portions for giving first and third threshold values, respectively, and 11 is a first and third threshold value. A threshold value selecting unit that selects a predetermined threshold value from the threshold values output from the adding unit.

【0006】即ち、例えば、図13に示すように、シェ
ーディング補正部3において、ラインセンサ(図示せ
ず)からの出力が均一となるようにラインセンサの出力
特性(センサ歪)にあわせた補正処理および読取原稿の
地濃度補正処理を行なうシェーディング補正処理を施
し、γ補正部4において、濃淡階調のコントラスト調整
を行なうγ補正処理を施し、さらに、MTF補正部5に
おいて、画像の特徴に合わせ、文字・線画領域では2値
化を行なうべき画素(以下、注目画素と記す)に対しエ
ッジ強調処理を行ない、網点・写真画領域では平滑化を
行なうMTF補正処理を施した後、2値化部6におい
て、文字・線画領域では、所定の値を有するしきい値t
hと注目画素の濃度レベルとの大小比較により、白ある
いは黒の判定を行なう2値化処理を施し、画像の再現性
を向上させるようにしている。
That is, for example, as shown in FIG. 13, in the shading correction section 3, correction processing is performed in accordance with the output characteristic (sensor distortion) of the line sensor so that the output from the line sensor (not shown) becomes uniform. And a shading correction process that performs a background density correction process of the read document, a γ correction process that performs a contrast adjustment of grayscale in a γ correction unit 4, and an MTF correction unit 5 that matches an image feature. In the character / line image area, edge enhancement processing is performed on a pixel to be binarized (hereinafter referred to as a pixel of interest), and in the halftone dot / photo image area, MTF correction processing for smoothing is performed and then binarization. In the part 6, in the character / line drawing area, a threshold value t having a predetermined value
Binarization processing for determining white or black is performed by comparing h and the density level of the target pixel to improve the reproducibility of the image.

【0007】図14は図13の2値化装置における2値
化処理を説明するための説明図である。図14(a)は
読取り原稿を示すと共に、ラインセンサによる読取り位
置を着目ラインとして示す。図14(b)は上記着目ラ
インにおける2値化処理時の濃度レベルとしきい値の関
係を示す。図14(c)は2値化処理によって得られる
2値出力画像を示す。
FIG. 14 is an explanatory diagram for explaining the binarization processing in the binarization apparatus of FIG. FIG. 14A shows a read document and also shows a reading position by the line sensor as a line of interest. FIG. 14B shows the relationship between the density level and the threshold value in the binarization process on the line of interest. FIG. 14C shows a binary output image obtained by the binarization processing.

【0008】図14に示されるように、上記したγ補正
部4において濃淡階調のコントラスト調整を行ったとし
ても、画像の濃度レベルが大きく変化する部分ではやは
り濃度レベルが不安定となり易く、特にしきい値近傍で
不安定であると、結果的に得られる2値化データがばた
つく(即ち、2値画像が不連続となる)ことから、画質
劣化の原因(孤立黒点・白点の発生、以下、ノッチと称
す)となり、さらにはデータ圧縮を行なう際の符号化効
率が劣化することにより伝送データ量が増加し、結果的
に伝送時間の増大化を引き起こしてしまうという問題が
あった。
As shown in FIG. 14, even if the above-mentioned γ correction section 4 adjusts the contrast of the light and shade gradation, the density level is likely to be unstable in the part where the density level of the image largely changes. If it is unstable near the threshold value, the resulting binarized data will flutter (that is, the binary image will be discontinuous), causing the deterioration of the image quality (occurrence of isolated black dots / white dots, In the following, it is referred to as a notch), and further, there is a problem in that the amount of transmission data increases due to the deterioration of the coding efficiency when performing data compression, resulting in an increase in transmission time.

【0009】そこで、従来では、2値化を行なう際にし
きい値を固定の値とするのではなく、例えば、特開昭6
3−233673号公報に記載のように、しきい値に、
前画素で処理された2値化データの値を保持しやすくな
るような所定の変動幅を有するヒステリシス特性を持た
せて、そのしきい値との大小比較による2値化を行なう
ことにより(所謂ヒステリシス2値化処理を行なうこと
により)、ノッチの発生を防止して、画質向上を図るよ
うにしていた。
Therefore, in the prior art, the threshold value is not fixed at the time of binarization, but, for example, Japanese Patent Laid-Open No.
As described in JP-A-3-233673,
By giving a hysteresis characteristic having a predetermined fluctuation width that makes it easy to hold the value of the binarized data processed in the previous pixel, and performing binarization by comparing the magnitude with the threshold value (so-called By performing the hysteresis binarization process), the notch is prevented from occurring and the image quality is improved.

【0010】図15はこの様な従来の2値化装置におけ
る2値化処理を説明するための説明図である。図15
(a)は読取り原稿を示すと共に、ラインセンサによる
読取り位置を着目ラインとして示す。図15(b)は上
記着目ラインにおける2値化処理時の濃度レベルとしき
い値の関係を示す。図15(c)は2値化処理によって
得られる2値出力画像を示す。
FIG. 15 is an explanatory diagram for explaining the binarization processing in such a conventional binarization apparatus. Figure 15
(A) shows a read original and also shows the reading position by the line sensor as a line of interest. FIG. 15B shows the relationship between the density level and the threshold value in the binarization process on the line of interest. FIG. 15C shows a binary output image obtained by the binarization processing.

【0011】即ち、例えば、図15(b)に示すよう
に、前画素の2値化データが白ならば、注目画素に対す
るしきい値としてthlを選択することにより、注目画
素の2値化データが白となり易くさせ、逆に、前画素の
2値化データが黒ならば、注目画素に対するしきい値と
してthhを選択することにより、注目画素の2値化デ
ータが黒となり易くさせる。この様なヒステリシス2値
化処理を行なうことにより、しきい値近辺で濃度レベル
が不安定であっても、得られる2値化データのばたつき
(即ち、2値画像の不連続)の発生をある程度防止する
ことができ、さらには画質向上を図ることができる。
That is, for example, as shown in FIG. 15B, if the binarized data of the previous pixel is white, by selecting thl as the threshold value for the pixel of interest, the binarized data of the pixel of interest is selected. If the binarized data of the previous pixel is black, conversely, if thh is selected as the threshold value for the pixel of interest, the binarized data of the pixel of interest is likely to be black. By performing such hysteresis binarization processing, even if the density level is unstable in the vicinity of the threshold value, the generated binarized data may fluctuate (that is, discontinuity of the binary image) to some extent. This can be prevented, and further image quality can be improved.

【0012】[0012]

【発明が解決しようとする課題】しかしながら、上記し
た画像の濃淡階調を表わす多値画像データを、濃度レベ
ルに応じた白あるいは黒の2値化データに変換する際
に、前画素の2値化データによりしきい値を決定するよ
うにしたヒステリシス2値化処理においては、次のよう
な問題があった。
However, when converting the multi-valued image data representing the gray scale of the image into the binary data of white or black corresponding to the density level, the binary value of the previous pixel is converted. In the hysteresis binarization processing in which the threshold value is determined by the digitized data, there are the following problems.

【0013】即ち、ヒステリシス2値化処理を全ての画
素について同様に行なった場合、画像の濃度レベルが画
素単位で大きく変化する部分におけるしきい値近傍での
濃度レベルが不安定となる箇所で、得られる2値化デー
タのばたつき(即ち、2値画像の不連続)の発生をある
程度防止することができるものの、読取り原稿の濃度レ
ベルが小さい場合(例えば、細線や、MTF特性から空
間周波数の高域成分でラインセンサの出力レベルが小さ
くなる場合や、写真画領域などのように濃度レベルの変
化が小さい領域)には、濃度レベルの変化がヒステリシ
ス特性に吸収されてしまって、細線切れ、“つぶれ”、
“かすれ”、“尾びき”、“角欠け”などが生じてしま
うという弊害があり、そのため、ヒステリシス2値化処
理は実用上ほとんど用いられないでいる。
That is, when the hysteresis binarization process is similarly performed for all pixels, the density level near the threshold value becomes unstable in a portion where the density level of the image largely changes in pixel units. Although it is possible to prevent the fluttering of the obtained binary data (that is, discontinuity of the binary image) to some extent, when the density level of the read document is small (for example, a thin line or a high spatial frequency due to the MTF characteristic). When the output level of the line sensor is low due to the range component, or in the area where the change in density level is small such as in the photographic image area), the change in density level is absorbed by the hysteresis characteristics, and the thin line breaks, "Collapse",
There is an adverse effect that "blurring", "tail tailing", "corner chipping", etc. occur, so that the hysteresis binarization process is hardly used in practice.

【0014】本発明の目的は、上記した従来技術の問題
点に鑑みなされたものであり、その目的は、多値画像デ
ータを2値化する際に、濃度レベルが不安定となる箇所
で、得られる2値画像の不連続を極力防止すると同時
に、細線切れ、“つぶれ”、“かすれ”、“尾びき”、
“角欠け”などの弊害がほとんど発生することの無い2
値化装置を提供し、再生画像の画質向上を図り、さらに
は、ラン・レングス等の情報源の統計的性質に基づき符
号長を定める符号化方式であるMH符号化等により、符
号化を行なった場合に、圧縮率の低下から伝送データ量
がいたずらに増大することのないようにすることにあ
る。
The object of the present invention has been made in view of the above-mentioned problems of the prior art. The object of the present invention is to make the density level unstable when binarizing multi-valued image data. Prevents discontinuity of the obtained binary image as much as possible, and at the same time cuts fine lines, “crushes”, “blurrs”, “tails”,
Almost no adverse effects such as "corner chipping" occur 2
Provide a quantizer to improve the quality of reproduced images, and further perform encoding by MH encoding, which is an encoding method that determines the code length based on the statistical properties of information sources such as run length. In this case, it is to prevent the amount of transmission data from unnecessarily increasing due to the reduction of the compression rate.

【0015】[0015]

【課題を解決するための手段】上記した目的を達成する
ために、本発明では、ディジタルデータ化された多値画
像データを、像域特徴の判定、特に濃度レベルが急峻に
変化する画像の輪郭部の判定を行なう像域判定手段と、
周辺画素の状態から注目画素に対する2値化後のデータ
の値が白あるいは黒となる状態確率を定める状態確率判
定手段と、該状態確率判定手段の結果に基づき、2値化
データを黒に成りやすくする第1のしきい値thh、2
値化データの状態確率が不定の場合には第2のしきい値
th、2値化データを白に成りやすくする第3のしきい
値thlの何れかを選択するしきい値選択手段と、該し
きい値選択手段により選択されたしきい値と、多値画像
データで表される画像データとの比較を行ない、その大
小により白・黒の判定を行なう2値化手段と、を具備す
ることを特徴とする。
In order to achieve the above object, according to the present invention, multi-valued image data converted into digital data is used to determine image area characteristics, particularly the contour of an image in which the density level sharply changes. Image area determination means for determining a part,
State probability determining means for determining the state probability that the value of the binarized data for the target pixel will be white or black from the state of the surrounding pixels, and the binarized data will be black based on the result of the state probability determining means. First threshold value thh for facilitating, 2
Threshold value selecting means for selecting one of a second threshold value th and a third threshold value thl for facilitating whitening of the binarized data when the state probability of the binarized data is indefinite; And a binarizing means for comparing the threshold value selected by the threshold value selecting means with image data represented by multi-valued image data and determining white / black depending on the magnitude. It is characterized by

【0016】[0016]

【作用】本発明では、ディジタルデータ化された多値画
像データは、像域判定手段により、文字・線画領域にお
いて、ノッチの発生しやすくなお且つ目立ちやすい箇所
である濃度レベルが急峻に変化する画像の輪郭部の判定
及び抽出を行なう。状態確率判定手段により、周辺画素
の状態から注目画素に対する2値化後のデータの値が白
或は黒となる状態確率を定める。しきい値選択手段及び
2値化手段により、上記結果に従い、注目画素の位置す
る領域が画像の輪郭部ではないならば、第2のしきい値
thを選択して2値化を行なう。また、注目画素が画像
の輪郭部に位置すると判定された場合において、周辺画
素の状態から定められる2値化後の状態確率に従い、状
態確率の黒及び白に対してそれぞれ、第1のしきい値t
hh及び第3のしきい値thlを選択することにより、
2値化後の値が周辺画素からの連続性を保ちやすくさせ
る。これにより、画像の輪郭部に発生しやすい特定のノ
ッチに対してのみ、その発生を極力防止するとともに、
線切れ、“つぶれ”、“かすれ”或は“尾びき”現象と
いった弊害のほとんど無い高画質な2値画像を得ること
が可能になる。
In the present invention, the multi-valued image data converted into digital data is an image in which the density level, which is a portion where the notch is likely to occur and is prominent in the character / line drawing area, is sharply changed by the image area determination means. The contour portion of the is determined and extracted. The state probability determining means determines a state probability that the value of the binarized data for the target pixel will be white or black from the state of the surrounding pixels. According to the above result, if the region where the pixel of interest is located is not the contour portion of the image, the threshold value selecting means and the binarizing means select the second threshold value th to perform binarization. In addition, when it is determined that the pixel of interest is located in the contour portion of the image, the first threshold value for each of the state probability black and white is determined according to the state probability after binarization determined from the states of the surrounding pixels. Value t
By selecting hh and the third threshold thl,
The binarized value makes it easier to maintain continuity from surrounding pixels. This prevents the occurrence of only specific notches that are likely to occur in the contour part of the image as much as possible, and
It is possible to obtain a high-quality binary image with almost no adverse effects such as line breakage, “crush”, “blurring”, or “tail trailing”.

【0017】[0017]

【実施例】以下、本発明の実施例を図面を用いて詳細に
説明する。図1は本発明の第1の実施例としての2値化
装置の構成を示すブロック図である。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a binarizing device as a first embodiment of the present invention.

【0018】本実施例は、ラインセンサ(CCDセン
サ、密着センサ等)によって1次元的に走査(主走査方
向)し、センサ位置を順次移動(副走査方向)すること
により、画像の濃度レベルを線順次に読取るものとし、
読取った濃度レベルを画素単位にサンプリングし、画像
の濃度階調を多値画像データ(濃度階調レベルの高い側
を白、低い側を黒に相対的に割当てる)で表し、その
後、得られた多値画像データに2値化処理を施して、濃
度レベルに応じた白あるいは黒の2値化データに変換す
る2値化装置である。
In this embodiment, a line sensor (CCD sensor, contact sensor, etc.) is used for one-dimensional scanning (main scanning direction), and the sensor position is sequentially moved (sub-scanning direction) to change the density level of an image. Line-sequential reading,
The read density level is sampled in pixel units, and the density gradation of the image is represented by multi-valued image data (the high density gradation level is relatively assigned to white and the low density gradation level is assigned to black). It is a binarization device that performs binarization processing on multi-valued image data and converts it into binarized data of white or black according to a density level.

【0019】図1において、1はラインセンサ(図示せ
ず)から読取った画像の濃度レベルを入力する入力端
子、2は画像の濃度レベルを画素単位にサンプリング
し、多値画像データ(多値ディジタルデータ)に変換す
るA/D変換部、3はシェーディング補正部、4はγ補
正部、5はMTF補正部、6は多値画像データとしきい
値との大小比較により2値化を行なう2値化部、7は2
値化データを出力する出力端子、8〜10はそれぞれ第
1〜第3のしきい値を与える第1〜第3のしきい値付加
部、11は第1〜第3のしきい値付加部から出力される
しきい値のうち、所定のしきい値を選択するしきい値選
択部、12は2値化を行なうべき画素(注目画素)にお
ける画像の特徴を判定する像域判定部、13は注目画素
の2値化データの状態確率を判定する状態確率判定部で
ある。また、15はシェーディング補正後の多値画像デ
ータを少なくとも2ライン分記憶する第1の記憶媒体
部、14はMTF補正された多値画像データを1画素の
処理分遅延させる遅延部、16は前画素(注目画素の直
前の画素)の2値化データを1画素の処理分遅延させる
遅延部、17は2値化データを少なくとも1ライン分記
憶する第2の記憶媒体部である。
In FIG. 1, 1 is an input terminal for inputting the density level of an image read from a line sensor (not shown), 2 is a sampling of the density level of the image in pixel units, and multivalued image data (multivalued digital A / D conversion unit for converting to (data), 3 is a shading correction unit, 4 is a γ correction unit, 5 is an MTF correction unit, and 6 is a binary value that is binarized by comparing the multivalued image data with a threshold value. The conversion part, 7 is 2
Output terminals for outputting digitized data, 8 to 10 are first to third threshold value adding sections for giving first to third threshold values, and 11 is a first to third threshold value adding section. A threshold value selecting unit for selecting a predetermined threshold value out of the threshold values output from the image area determining unit 12 for determining image characteristics of a pixel (pixel of interest) to be binarized; Is a state probability determination unit that determines the state probability of the binarized data of the pixel of interest. Further, 15 is a first storage medium unit that stores at least two lines of multivalued image data after shading correction, 14 is a delay unit that delays MTF-corrected multivalued image data by the processing of one pixel, and 16 is a previous unit. A delay unit that delays the binarized data of the pixel (the pixel immediately before the pixel of interest) by the processing of one pixel, and 17 is a second storage medium unit that stores the binarized data for at least one line.

【0020】次に、本実施例の動作を図1を参照して説
明する。A/D変換部2では、ラインセンサから読取っ
た画像の濃度レベルを画素単位にサンプリングし、多値
画像データ2aに変換して出力する。
Next, the operation of this embodiment will be described with reference to FIG. In the A / D converter 2, the density level of the image read from the line sensor is sampled in pixel units, converted into multi-valued image data 2a, and output.

【0021】シェーディング補正部3では、センサ特性
あるいはセンサ歪(ディバイス特性)に合わせてライン
センサからの出力が均一となるような補正処理あるいは
読取原稿の地濃度補正処理により、濃度レベルの変動範
囲を最適化したり、濃度レベルの片寄りを防止したりす
る最適化処理を行ない出力する。
In the shading correction section 3, the variation range of the density level is adjusted by the correction processing such that the output from the line sensor becomes uniform according to the sensor characteristic or the sensor distortion (device characteristic) or the background density correction processing of the read document. The optimization process for optimizing and preventing deviation of the density level is performed and output.

【0022】第1の記憶媒体部15では、シェーディン
グ補正部3で処理された多値画像データ3aを画素単位
に2ライン分記憶保持し、ラインセンサの読出し画素位
置から見て前ラインの画素の多値画像データ15a及び
前々ラインの画素の多値画像データ15bを出力する。
In the first storage medium unit 15, the multi-valued image data 3a processed by the shading correction unit 3 is stored and held for two lines on a pixel-by-pixel basis, and the pixels of the previous line as seen from the read pixel position of the line sensor are stored. The multi-valued image data 15a and the multi-valued image data 15b of the pixels in the line before the previous line are output.

【0023】γ補正部4では、第1の記憶媒体部15よ
り読出された前ラインの画素の多値画像データ15aを
コントラスト調整して出力する。
The γ correction section 4 adjusts the contrast of the multi-valued image data 15a of the pixels on the previous line read from the first storage medium section 15 and outputs the result.

【0024】MTF補正部5では、γ補正部4で処理さ
れた多値画像データ4aに対し、画像の輪郭部でライン
センサのMTF特性により濃度レベルの変化が小さい場
合であっても、画像の輪郭部の濃度レベル変化量を強調
するエッジ強調処理を行なって出力する。
In the MTF correction unit 5, the multi-valued image data 4a processed by the γ correction unit 4 is processed even if the density level change is small at the contour portion of the image due to the MTF characteristic of the line sensor. Edge emphasis processing for emphasizing the density level change amount of the contour portion is performed and output.

【0025】遅延部14では、MTF補正部5で処理さ
れた多値画像データ5aを1画素の処理分遅延させる。
The delay unit 14 delays the multi-valued image data 5a processed by the MTF correction unit 5 by one pixel.

【0026】2値化部6では、注目画素の多値画像デー
タである遅延部14からの出力14aと、後述するしき
い値選択部11により選択されたしきい値11aとの大
小比較を行なう。この結果、濃度レベルを表す多値画像
データ14aがしきい値11aより大きい場合は白、そ
れ以外の場合は黒とする判定を行ない、1bitのディ
ジタルデータで表すことにより、2値化データ6aを生
成し出力する。
The binarization unit 6 compares the output 14a, which is multi-valued image data of the pixel of interest, from the delay unit 14 with a threshold value 11a selected by a threshold value selection unit 11 described later. . As a result, when the multi-valued image data 14a representing the density level is larger than the threshold value 11a, it is judged to be white, and in other cases, it is judged to be black, and the binary data 6a is represented by representing it as 1-bit digital data. Generate and output.

【0027】第2の記憶媒体部17では、2値化データ
6aを画素単位に1ライン分記憶保持し、2値化データ
6aの画素位置から見て前ラインの画素の2値化データ
17aを出力する。
The second storage medium section 17 stores and holds one line of the binarized data 6a for each pixel, and stores the binarized data 17a of the pixel on the preceding line as seen from the pixel position of the binarized data 6a. Output.

【0028】像域判定部12では、注目画素の濃度レベ
ルである多値画像データ15aと、注目画素の周辺画素
のうち、前ラインの画素の濃度レベルである多値画像デ
ータ15bと、後ラインの画素の濃度レベルである多値
画像データ3aとから、注目画素における画像の特徴、
特に、注目画素が画像の輪郭部(エッジ部)に位置する
か否かの判定を行ない、その判定結果12aを出力す
る。
In the image area determination section 12, the multi-valued image data 15a which is the density level of the target pixel, the multi-valued image data 15b which is the density level of the pixel of the front line among the peripheral pixels of the target pixel, and the rear line. From the multi-valued image data 3a which is the density level of the pixel of
In particular, it is determined whether or not the pixel of interest is located in the contour portion (edge portion) of the image, and the determination result 12a is output.

【0029】状態確率判定部13では、像域判定部12
からの判定結果12aに従い、注目画素が輪郭部に位置
する場合には、周辺画素の画像情報として、前画素の2
値化データ16a、前ラインの画素の2値化データ17
a及び未だ2値化処理されていない後画素の多値画像デ
ータ5aの各状態をそれぞれ参照することにより、周辺
画素と注目画素との連続性が主走査方向あるいは副走査
方向の何れの方向に有するかの判定を行なう。これによ
り、2値化処理後に上記判定した方向の連続性を保持す
る為のあるべき注目画素の2値化データを予測する。こ
の予測結果に従い、注目画素の2値化データの状態確率
を白または黒、あるいは注目画素の2値化データが予測
不可能な場合には不定と定める。また、注目画素が輪郭
部に位置しない場合には、注目画素の2値化データを予
測不能として、注目画素の2値化データの状態確率を不
定と定める。以上のように、注目画素に対する2値化デ
ータの状態確率を3通りに定めて、その判定結果13a
を出力する。
In the state probability judging section 13, the image area judging section 12
If the pixel of interest is located in the contour portion in accordance with the determination result 12a from the
The binarized data 16a, the binarized data 17 of the pixels of the previous line
a and the respective states of the multi-valued image data 5a of the post-pixels which have not been binarized yet, are referred to so that the continuity between the peripheral pixels and the target pixel is in either the main scanning direction or the sub-scanning direction. It is determined whether or not it has. Thereby, after the binarization process, the binarized data of the pixel of interest that should hold the continuity in the determined direction is predicted. According to this prediction result, the state probability of the binarized data of the pixel of interest is set to white or black, or undefined if the binarized data of the pixel of interest cannot be predicted. If the pixel of interest is not located in the contour portion, the binarized data of the pixel of interest is unpredictable, and the state probability of the binarized data of the pixel of interest is determined to be indefinite. As described above, the state probabilities of the binarized data for the target pixel are set in three ways, and the determination result 13a is determined.
Is output.

【0030】第1〜第3のしきい値付加部8〜10で
は、それぞれ第1のしきい値thh、第2のしきい値t
h及び第3のしきい値thlを保持している。ここで、
第2のしきい値thは、例えば画素毎の濃度分布等から
統計的に決定するものとし、多値画像データの2値化処
理時のしきい値とした場合、得られる2値画像がほぼ忠
実に多値画像を表示するものであるとする。この場合、
第1のしきい値thhとして、第2のしきい値thに対
し、所定値Δdhだけしきい値を高めた値であるとし、
2値化時に黒が強調されるものである。また、第3のし
きい値thlとして、第2のしきい値thに対し、所定
値Δdlだけしきい値を低めた値であるとし、2値化時
に白が強調されるものである。
The first to third threshold value adding sections 8 to 10 respectively have a first threshold value thh and a second threshold value t.
It holds h and the third threshold value thl. here,
The second threshold value th is statistically determined from, for example, the density distribution of each pixel, and when the threshold value is used for the binarization processing of multi-valued image data, the obtained binary image is almost It is assumed that the multi-valued image is displayed faithfully. in this case,
It is assumed that the first threshold value thh is a value obtained by increasing the threshold value by a predetermined value Δdh with respect to the second threshold value th.
Black is emphasized during binarization. Further, the third threshold value thl is a value obtained by lowering the threshold value by a predetermined value Δdl with respect to the second threshold value th, and white is emphasized during binarization.

【0031】しきい値選択部11では、状態確率判定部
13による注目画素の2値化データの状態確率の判定結
果13aに従い、第1〜第3のしきい値付加部8〜10
からの第1〜第3のしきい値の中から、所望のしきい値
の選択を行なう。この場合、第1〜第3のしきい値のそ
れぞれの特性を考慮し、判定結果13aによる状態確率
が黒ならば、第1のしきい値thhを、状態確率が白な
らば、第3のしきい値thlを、状態確率が不定なら
ば、第2のしきい値thを、それぞれ選択し出力する。
In the threshold value selecting unit 11, the first to third threshold value adding units 8 to 10 are selected according to the result 13a of the state probability of the binarized data of the pixel of interest by the state probability determining unit 13.
A desired threshold value is selected from the first to third threshold values. In this case, considering the respective characteristics of the first to third threshold values, if the state probability according to the determination result 13a is black, the first threshold value thh is set, and if the state probability is white, the third threshold value thh is set. If the state probability is indefinite, the threshold value thl is selected and the second threshold value th is output.

【0032】次に、像域判定部12における像域判定動
作及び状態確率判定部13における状態確率判定動作に
ついて、更に詳細に図2〜図8及び表1を用いて説明す
る。
Next, the image area determination operation of the image area determination unit 12 and the state probability determination operation of the state probability determination unit 13 will be described in more detail with reference to FIGS. 2 to 8 and Table 1.

【0033】図2は2値化を行なう際の対象領域である
注目画素P及び周辺画素の一例を示す説明図である。
FIG. 2 is an explanatory diagram showing an example of a target pixel P and peripheral pixels which are target areas when performing binarization.

【0034】注目画素Pを中心として主走査方向及び副
走査方向にそれぞれ3画素づつ、周辺画素としてその画
像情報を参照することを示す。ここで、主走査方向、副
走査方向を図示の通りとし、主走査方向に順次2値化を
行なうものであり、ラインセンサは副走査方向で上から
順に移動する場合を想定する。
It is shown that three pixels are referred to in the main scanning direction and three pixels in the sub scanning direction centering on the pixel of interest P, and the image information is referred to as peripheral pixels. Here, it is assumed that the main scanning direction and the sub-scanning direction are as shown, binarization is sequentially performed in the main scanning direction, and the line sensor moves in the sub-scanning direction from top to bottom.

【0035】同図で示される着目ラインの画素は第1の
記憶媒体部15の出力15aに、前ラインの画素は第1
の記憶媒体部15の出力15bに、後ラインの画素は多
値画像データ3aにそれぞれ対応するものである。
The pixel on the line of interest shown in the figure is the output 15a of the first storage medium unit 15, and the pixel on the previous line is the first line.
In the output 15b of the storage medium unit 15, the pixels in the subsequent line correspond to the multi-valued image data 3a.

【0036】まず、像域判定部12の動作について、図
3を用いて説明する。図3に示すように、注目画素Pに
対する周辺画素で、前ラインの注目画素Pの上部に位置
する画素Puを挾む2画素Plu,Pruと、後ライン
の注目画素Pの下部に位置する画素Pdを挾む2画素P
ld,Prdの4画素の濃度レベルに着目し、注目画素
Pとの濃度レベルの差分値を以下の数1〜数4に従って
求める。
First, the operation of the image area determination section 12 will be described with reference to FIG. As shown in FIG. 3, in the peripheral pixels of the target pixel P, two pixels Pl and Pru sandwiching the pixel Pu located above the target pixel P in the previous line and a pixel located below the target pixel P in the subsequent line. 2 pixels P across Pd
Focusing on the density levels of the four pixels of ld and Prd, the difference value between the density level of the pixel of interest P and the density level of the pixel of interest P is calculated according to the following equations 1 to 4.

【0037】主走査方向に位置する2画素Plu,Pr
uの濃度レベルの平均値と注目画素Pとの濃度レベルの
差分値Δ1(絶対値)を求める。
Two pixels Plu and Pr located in the main scanning direction
The difference value Δ1 (absolute value) between the average density level of u and the density level of the target pixel P is calculated.

【0038】[0038]

【数1】Δ1=|(Plu+Pru)/2−P| 主走査方向に位置する2画素Pld,Prdの濃度レベ
ルの平均値と注目画素Pとの濃度レベルの差分値Δ2
(絶対値)を求める。
[Expression 1] Δ1 = | (Plu + Pru) / 2−P | Difference value Δ2 of the density level between the target pixel P and the average value of the density levels of the two pixels Pld and Prd located in the main scanning direction.
Calculate (absolute value).

【0039】[0039]

【数2】Δ2=|(Pld+Prd)/2−P| 副走査方向に位置する2画素Plu,Pldの濃度レベ
ルの平均値と注目画素Pとの濃度レベルの差分値Δ3
(絶対値)を求める。
Δ2 = | (Pld + Prd) / 2−P | The difference value Δ3 between the density levels of the target pixel P and the average density level of the two pixels Plu and Pld located in the sub-scanning direction.
Calculate (absolute value).

【0040】[0040]

【数3】Δ3=|(Plu+Pld)/2−P| 副走査方向に位置する2画素Pru,Prdの濃度レベ
ルの平均値と注目画素Pとの濃度レベルの差分値Δ4
(絶対値)を求める。
Δ3 = | (Plu + Pld) / 2−P | The difference value Δ4 between the density levels of the target pixel P and the average value of the density levels of the two pixels Pru and Prd located in the sub-scanning direction.
Calculate (absolute value).

【0041】[0041]

【数4】Δ4=|(Pru+Prd)/2−P| 画素毎の濃度レベルの変化が比較的急峻である箇所は画
像の輪郭部であると特定できることから、画素間の差分
値により画像の輪郭部の検出を行なうことが可能であ
る。そこで、全画素を対象として求めた画素間の差分値
の分布等から、輪郭部とそれ以外を分離するのに最適な
値dthを統計的に決定し、第4のしきい値dthとし
て定め、画素間の差分値とこの第4のしきい値dthと
の比較により画像の輪郭部であるか否かの判定を行なう
ものとする。この結果、上記差分値Δ1〜4の内、上記
第4のしきい値dthより大となる差分値が存在する場
合には、注目画素Pは画像の輪郭部に位置していると判
定するものである。
## EQU4 ## Δ4 = | (Pru + Prd) / 2−P | It is possible to specify that the portion where the change in the density level for each pixel is relatively sharp is the contour portion of the image. It is possible to detect parts. Therefore, the optimum value dth for separating the contour part and the other parts is statistically determined from the distribution of difference values between pixels obtained for all pixels, and is set as the fourth threshold value dth. It is assumed that the difference between pixels and the fourth threshold value dth are compared to determine whether or not it is the contour portion of the image. As a result, if there is a difference value larger than the fourth threshold value dth among the difference values Δ1 to Δ4, it is determined that the pixel of interest P is located at the contour portion of the image. Is.

【0042】図4に上記処理を行なう像域判定部12の
一具体例を示す。図4において、18〜22は1画素処
理分遅延させる遅延部、23〜26は2画素の多値画像
データ(濃度レベル)の平均濃度レベルを求める平均化
部、27〜30は注目画素Pの濃度レベルと上記2画素
の平均濃度レベルとの差分値を求める差分値算出部、3
6は画像の輪郭部であるか否かの判定を行なう際に判断
の基準とする上記第4のしきい値dthを付加する付加
部、31〜34は第4のしきい値dthと差分値算出部
27〜30により求めた差分値との大小比較を行なう比
較部、35は該比較部31〜34の結果に従い注目画素
Pが画像の輪郭部に位置するか否かの決定を行なう判定
部である。
FIG. 4 shows a specific example of the image area determination section 12 that performs the above processing. In FIG. 4, 18 to 22 are delay sections for delaying one pixel processing, 23 to 26 are averaging sections for obtaining an average density level of multi-valued image data (density levels) of 2 pixels, and 27 to 30 are of the target pixel P. A difference value calculation unit that obtains a difference value between the density level and the average density level of the two pixels, 3
Reference numeral 6 denotes an addition unit for adding the above-mentioned fourth threshold value dth, which serves as a reference for judgment when it is judged whether or not it is the contour portion of the image, and 31 to 34 are difference values with the fourth threshold value dth. A comparing unit for performing a magnitude comparison with the difference value obtained by the calculating units 27 to 30, and a determining unit 35 for determining whether or not the pixel of interest P is located at the contour portion of the image according to the results of the comparing units 31 to 34. Is.

【0043】では、図4の像域判定部12の動作を説明
する。ここで、着目ラインの画素の多値画像データに対
応する第1の記憶媒体部15の出力15a、前ラインの
画素の多値画像データに対応する第1の記憶媒体部15
の出力15b(Plu)、後ラインの画素の多値画像デ
ータに対応する多値画像データ3a(Pld)である。
The operation of the image area determination unit 12 shown in FIG. 4 will be described. Here, the output 15a of the first storage medium unit 15 corresponding to the multi-valued image data of the pixel of the line of interest, the first storage medium unit 15 corresponding to the multi-valued image data of the pixel of the previous line
15b (Plu), and the multi-valued image data 3a (Pld) corresponding to the multi-valued image data of the pixels on the subsequent line.

【0044】2段の遅延部18,19により多値画像デ
ータ15bを2画素処理分遅延し、画素Pruに対応す
る多値画像データ19aを出力する。
The two-stage delay units 18 and 19 delay the multi-valued image data 15b by two pixel processing, and output the multi-valued image data 19a corresponding to the pixel Pru.

【0045】また、2段の遅延部20,21により多値
画像データ3bを2画素処理分遅延し、画素Prdに対
応する多値画像データ21aを出力する。
The multi-valued image data 3b is delayed by the two-pixel processing by the two-stage delay units 20 and 21, and the multi-valued image data 21a corresponding to the pixel Prd is output.

【0046】遅延部22により多値画像データ15aを
1画素処理分遅延し、注目画素Pに対応する多値画像デ
ータ22aを出力する。
The delay unit 22 delays the multivalued image data 15a by one pixel processing, and outputs the multivalued image data 22a corresponding to the pixel of interest P.

【0047】平均化部23により、多値画像データで、
前ラインの主走査方向に位置する2画素Plu(15
b)とPru(19a)の平均値23aを求め、出力す
る。
By the averaging unit 23, in the multi-valued image data,
2 pixels Pl (15
The average value 23a of b) and Pru (19a) is calculated and output.

【0048】同様に、平均化部26により、多値画像デ
ータで、後ラインの主走査方向に位置する2画素Pld
(3a)とPrd(21a)の平均値26aを求め、出
力する。 また、平均化部24により、多値画像データ
で、副走査方向に位置する2画素Plu(15b)とP
ld(3a)の平均値24aを求め、出力する。
Similarly, by the averaging unit 26, in the multi-valued image data, two pixels Pld located in the main scanning direction of the subsequent line are displayed.
The average value 26a of (3a) and Prd (21a) is calculated and output. Further, the averaging unit 24 causes the multi-valued image data to have two pixels Plu (15b) and P which are located in the sub-scanning direction.
The average value 24a of ld (3a) is calculated and output.

【0049】平均化部25により、多値画像データで、
副走査方向に位置する2画素Pru(19a)とPrd
(21a)の平均値25aを求め、出力する。
By the averaging unit 25, in the multi-valued image data,
Two pixels Pru (19a) and Prd located in the sub-scanning direction
The average value 25a of (21a) is calculated and output.

【0050】差分値算出部27〜30において、平均化
部23〜26により求めた平均濃度レベル23a〜26
aと、注目画素Pの濃度レベル22aとの差分値(絶対
値)をそれぞれΔ1,Δ3,Δ4,Δ2を求める。
In the difference value calculating units 27-30, the average density levels 23a-26 obtained by the averaging units 23-26 are calculated.
The difference values (absolute values) between a and the density level 22a of the target pixel P are calculated as Δ1, Δ3, Δ4, and Δ2, respectively.

【0051】比較部31〜34により上記第4のしきい
値dthと差分値算出部27〜30により求めた差分値
Δ1〜4との比較を行い、大であるか否かの判定を行な
い、その結果を出力する。
The comparators 31 to 34 compare the fourth threshold value dth with the difference values Δ1 to 4 obtained by the difference value calculators 27 to 30 to determine whether they are large or not. The result is output.

【0052】判定部35では、比較部31〜34の比較
結果31a〜34aに従い、差分値Δ1〜4が第4のし
きい値dthより大となる差分値が存在する場合に、注
目画素Pは画像の輪郭部に位置するとの決定を行ない、
判定結果12aを出力する。
According to the comparison results 31a to 34a of the comparing units 31 to 34, the judging unit 35 determines that the pixel of interest P is determined when the difference values Δ1 to 4 are larger than the fourth threshold value dth. Determined that it is located in the outline of the image,
The determination result 12a is output.

【0053】次に、状態確率判定部13の動作について
図5,図6及び表1を用いて詳細に説明する。
Next, the operation of the state probability determining section 13 will be described in detail with reference to FIGS. 5 and 6 and Table 1.

【0054】像域判定部12の結果12aに従い、注目
画素が輪郭部に位置すると判定された場合に以下の処理
を行なう。
According to the result 12a of the image area determination unit 12, when it is determined that the pixel of interest is located in the contour portion, the following processing is performed.

【0055】表1に、状態確率判定部13の処理内容を
示す。
Table 1 shows the processing contents of the state probability judging section 13.

【0056】[0056]

【表1】 [Table 1]

【0057】周辺画素の画像情報として、図5に示すよ
うに、注目画素Pに対し、主走査方向の前画素の2値化
データPl(16a)及び後画素の多値画像データPr
(5a)、さらには前ラインの3画素の2値化データP
lu,Pu,Pru(17a)の状態を参照するものと
する。
As the image information of the peripheral pixels, as shown in FIG. 5, for the pixel of interest P, the binarized data Pl (16a) of the preceding pixel and the multivalued image data Pr of the succeeding pixel in the main scanning direction.
(5a), and further, the binarized data P of 3 pixels in the previous line
The states of lu, Pu, and Pru (17a) are referred to.

【0058】まず、上記前画素の2値化データPlと、
後画素の多値画像データPrの2画素の画像情報から、
注目画素Pが主走査方向で輪郭部(主走査方向に垂直な
方向に発生する輪郭部)に位置するか否かの主走査方向
状態判定を行なう。
First, the binarized data Pl of the preceding pixel,
From the image information of 2 pixels of the multi-valued image data Pr of the rear pixel,
A main scanning direction state determination is performed as to whether or not the pixel of interest P is located in a contour portion (a contour portion generated in a direction perpendicular to the main scanning direction) in the main scanning direction.

【0059】例えば、表1に示すように、前画素の2値
化データPlが白である場合に、後画素の多値画像デー
タPrが前記第3のしきい値thlに等しいか小さい場
合には、後画素の2値化データは確実に黒となることか
ら、注目画素Pは主走査方向で輪郭部(主走査方向に垂
直な方向に発生する輪郭部)に位置するものと判定する
(図6(c),(d))。逆に、第3のしきい値thl
より大きい場合には、注目画素Pは主走査方向で非輪郭
部に位置するものと判定する。
For example, as shown in Table 1, when the binarized data Pl of the front pixel is white and the multi-valued image data Pr of the rear pixel is equal to or smaller than the third threshold value thl, Indicates that the binarized data of the rear pixel is surely black, and therefore the pixel of interest P is determined to be located in the contour portion in the main scanning direction (the contour portion occurring in the direction perpendicular to the main scanning direction) ( 6 (c) and 6 (d)). On the contrary, the third threshold value thl
If it is larger, it is determined that the pixel of interest P is located in the non-contour portion in the main scanning direction.

【0060】同様に、前画素の2値化データPlが黒で
ある場合に、後画素の多値画像データPrが前記第1の
しきい値thhより大きい場合には、後画素の2値化デ
ータは確実に白となることから、注目画素Pは主走査方
向で輪郭部(主走査方向に垂直な方向に発生する輪郭
部)に位置するものと判定する(図6(a),
(b))。また、それ以外であった場合には、注目画素
Pは主走査方向で非輪郭部に位置するものと判定する。
Similarly, when the binarized data Pl of the front pixel is black and the multi-valued image data Pr of the back pixel is larger than the first threshold value thh, the binarization of the back pixel is performed. Since the data is surely white, it is determined that the pixel of interest P is located in the contour portion in the main scanning direction (the contour portion occurring in the direction perpendicular to the main scanning direction) (FIG. 6A,
(B)). Otherwise, the pixel of interest P is determined to be located in the non-contour portion in the main scanning direction.

【0061】以上の判定結果に従い、注目画素Pが主走
査方向で非輪郭部に位置すると判定した場合には、注目
画素Pは副走査方向で輪郭部(副走査方向に垂直な方向
に発生する輪郭部)に位置すると確定できる為、2値化
データが主走査方向に連続性を保持し易いように、注目
画素の2値化データを予測する。つまり、注目画素の2
値化データの状態確率として、画素Plの2値化データ
を割り当てることにより定める。
According to the above determination result, when it is determined that the target pixel P is located in the non-contour portion in the main scanning direction, the target pixel P is generated in the sub scanning direction in the contour portion (direction perpendicular to the sub scanning direction). Since it can be determined that the binarized data is located in the contour portion, the binarized data of the target pixel is predicted so that the binarized data can easily maintain continuity in the main scanning direction. That is, 2 of the target pixel
The state probability of the binarized data is determined by assigning the binarized data of the pixel Pl.

【0062】逆に、注目画素Pが主走査方向で輪郭部
(主走査方向に垂直な方向に発生する輪郭部)に位置す
ると判定した場合には、注目画素Pの2値化データを主
走査方向の2値化データから特定することは、必ずしも
できない。従って、副走査方向の画像情報から注目画素
Pの2値化データを2次元的に予測するものである。
On the contrary, when it is determined that the pixel of interest P is located in the contour portion in the main scanning direction (the contour portion generated in the direction perpendicular to the main scanning direction), the binary data of the pixel of interest P is scanned in the main scanning direction. It is not always possible to specify from the binary data of the direction. Therefore, the binarized data of the target pixel P is two-dimensionally predicted from the image information in the sub-scanning direction.

【0063】この場合、図5(b)に示すように、2値
化処理済の前ラインの連続する3画素の2値化データP
lu,Pu,Pruの状態(前ラインラン状態)とし
て、白と黒が混在する状態(例えば、図6(a)〜
(d))と、3画素とも同値(白ラン,黒ラン)となる
状態(例えば、図6(e)〜(l))とに大きく分類す
るものとする。
In this case, as shown in FIG. 5B, the binarized data P of three consecutive pixels in the preceding line which has been binarized.
As the states of lu, Pu, and Pru (previous line run state), a state in which white and black are mixed (for example, FIG. 6A to FIG.
(D)) and the state where all three pixels have the same value (white run, black run) (for example, FIGS. 6E to 6L) are roughly classified.

【0064】これにより、前ラインラン状態が混在する
状態(不連続)である場合には、注目画素Pは主走査方
向で輪郭部(主走査方向に垂直な方向に発生する輪郭
部)に位置すると確定し、2値化データが副走査方向に
連続性を保持し易いように、注目画素の2値化データを
予測する。つまり、注目画素の状態確率として、画素P
uの2値化データを割り当てることにより定める。
As a result, when the preceding line run state is mixed (discontinuous), the pixel of interest P is located at the contour portion in the main scanning direction (the contour portion occurring in the direction perpendicular to the main scanning direction). Then, it is determined, and the binarized data of the target pixel is predicted so that the binarized data can easily maintain continuity in the sub-scanning direction. That is, as the state probability of the pixel of interest, the pixel P
It is determined by assigning u binary data.

【0065】また、3画素とも同値(連続)である場合
には、注目画素Pは角部(コーナ部)に位置するものと
ほぼ判定できる。このような角部では、前画素Plある
いは前ライン画素Puからの連続性を考慮することな
く、注目画素Pの状態確率を不定と定める。
If all three pixels have the same value (continuous), it can be almost determined that the pixel of interest P is located at a corner (corner). In such a corner, the state probability of the pixel of interest P is determined to be indefinite without considering the continuity from the preceding pixel Pl or the preceding line pixel Pu.

【0066】また、像域判定部12の判定結果12a
で、注目画素が非輪郭部に位置すると判定した場合に
は、注目画素Pの状態確率を不定と定める。
Further, the determination result 12a of the image area determination unit 12
Then, when it is determined that the pixel of interest is located in the non-contour portion, the state probability of the pixel of interest P is determined to be indefinite.

【0067】以上に示した状態確率判定部13の処理に
より、注目画素Pの状態確率として白、黒あるいは不定
の3状態に確定して、判定結果13aを出力する。
By the processing of the state probability determining unit 13 described above, the state probability of the pixel of interest P is determined to be white, black or indeterminate, and the determination result 13a is output.

【0068】図7に上記処理を行なう状態確率判定部1
3の一具体例を示す。図7において、37は第1のしき
い値thhと第2のしきい値thlから前画素の2値化
データ16aに従って選択を行なう選択部、38は後画
素の多値画像データ5aと選択されたしきい値との比較
を行なう比較部、39は比較結果と前画素の2値化デー
タ16aに従って、注目画素Pが主走査方向で輪郭部
(主走査方向に垂直な方向に発生する輪郭部)に位置す
るか否かの判定を行なう主走査方向輪郭部判定部、4
0,41は前ラインの画素の2値化データを1画素処理
分遅延させる遅延部、42は前ラインの3画素の黒ラン
・白ラン検出を行なう前ラインラン検出部、43は上記
状態確率判定処理を行なう状態確率決定部である。
FIG. 7 shows a state probability determining unit 1 for performing the above processing.
3 shows a specific example. In FIG. 7, reference numeral 37 designates a selection section for selecting from the first threshold value thh and the second threshold value thl in accordance with the binarized data 16a of the preceding pixel, and 38 designates the multi-valued image data 5a of the succeeding pixel. And a threshold value 39, a reference numeral 39 denotes a contour portion in the main scanning direction (a contour portion generated in a direction perpendicular to the main scanning direction) in accordance with the comparison result and the binarized data 16a of the previous pixel. ), The main-scanning-direction contour portion determining unit, 4
0 and 41 are delay units that delay the binarized data of the pixels of the previous line by one pixel processing, 42 is a previous line run detection unit that detects black run / white run of the three pixels of the previous line, and 43 is the above state probability. It is a state probability determination unit that performs determination processing.

【0069】次に、図7の状態確率判定部13の動作を
説明する。選択部37では、画素Plの2値化データ1
6aに従い、黒ならば2値化データが黒に成りやすくす
る第1のしきい値thhを、逆に白ならば2値化データ
が白に成りやすくする第3のしきい値thlを選択し出
力する。
Next, the operation of the state probability judging section 13 of FIG. 7 will be described. In the selection unit 37, the binarized data 1 of the pixel Pl
In accordance with 6a, the first threshold value thh for facilitating the binarized data to become black if black is selected, and conversely, the third threshold value thl for facilitating the binary data to become white if white is selected. Output.

【0070】比較部38では、画素PrのMTF補正処
理後の多値画像データ5aと選択部37からのしきい値
出力37aとを大小比較し、比較結果38aを得る。
The comparison section 38 compares the multi-valued image data 5a of the pixel Pr after the MTF correction processing with the threshold value output 37a from the selection section 37 to obtain a comparison result 38a.

【0071】主走査方向輪郭部判定部39では、主走査
方向輪郭部判定として、この比較結果38aに従い、画
素Plの2値化データが黒の場合であって、且つ、画素
Prの多値画像データ5aがしきい値出力37aより大
ならば、注目画素Pは主走査方向で輪郭部(主走査方向
に垂直な方向に発生する輪郭部)に位置すると判定し、
逆に小さい場合には主走査方向で非輪郭部に位置すると
判定する。また、画素Plの2値化データが白の場合で
あって、且つ、画素Prの画像データ5aがしきい値出
力37aより小さい場合には、注目画素Pは主走査方向
で輪郭部(主走査方向に垂直な方向に発生する輪郭部)
に位置すると判定し、逆に大きい場合には主走査方向で
非輪郭部に位置すると判定する。
In the main-scanning-direction contour determination unit 39, according to the comparison result 38a, as the main-scanning-direction contour determination, when the binarized data of the pixel Pl is black and the multivalued image of the pixel Pr is obtained. If the data 5a is larger than the threshold value output 37a, it is determined that the pixel of interest P is located in the contour portion in the main scanning direction (the contour portion occurring in the direction perpendicular to the main scanning direction).
On the other hand, when it is small, it is determined that it is located in the non-contour portion in the main scanning direction. When the binarized data of the pixel Pl is white and the image data 5a of the pixel Pr is smaller than the threshold output 37a, the pixel of interest P is in the main scanning direction in the contour portion (main scanning direction). Contours that occur in the direction perpendicular to the direction)
On the contrary, when it is large, it is determined to be located in the non-contour portion in the main scanning direction.

【0072】前ラインラン検出部42では、副走査方向
前ラインラン判定として、注目画素Pに対し前ラインに
位置する連続する3画素Plu,Pu,Pruに対応す
る2値化データである第2の記憶媒体部17の出力17
a、遅延部40,41の出力40a、41aを参照し、
3画素とも同値ならば連続、それ以外ならば不連続(混
在)であると決定し、その結果42aを出力する。
In the previous line run detection unit 42, as the previous line run determination in the sub-scanning direction, second binary data corresponding to three consecutive pixels Plu, Pu, Pru located in the previous line with respect to the pixel of interest P is detected. Output 17 of the storage medium unit 17 of
a, referring to the outputs 40a and 41a of the delay units 40 and 41,
If all three pixels have the same value, it is determined to be continuous, and if not, it is determined to be discontinuous (mixed), and the result 42a is output.

【0073】状態確率決定部43では、以上の結果に従
い、注目画素Pの2値化データの状態確率(白、黒ある
いは不定)を、像域判定部12の判定結果12aと上記
状態確率判定処理方式とに基づき定める。
In accordance with the above result, the state probability determining unit 43 determines the state probability (white, black or indefinite) of the binarized data of the target pixel P from the determination result 12a of the image area determining unit 12 and the above state probability determining process. Determined based on the method.

【0074】図8は本実施例における2値化処理を説明
するための説明図である。図8(a)は読取り原稿を示
すと共に、ラインセンサによる読取り位置を着目ライン
として示す。図8(b)は上記着目ラインにおける2値
化処理時の濃度レベルとしきい値の関係を示す。図8
(c)は2値化処理によって得られる2値出力画像を示
す。
FIG. 8 is an explanatory diagram for explaining the binarization processing in this embodiment. FIG. 8A shows the original document to be read, and shows the reading position by the line sensor as the line of interest. FIG. 8B shows the relationship between the density level and the threshold value in the binarization process on the line of interest. Figure 8
(C) shows a binary output image obtained by the binarization process.

【0075】図8に示されるように、本実施例によれ
ば、原稿をセンサにより読取った画像データの濃度レベ
ルが、原稿の“汚れ”、画像の性質(線の太さや傾き、
濃度、周辺画素との相関等)あるいはセンサのMTF特
性により様々な値を有する場合であっても、2値化処理
を行なう前に信号レベルを適応的に補正することによ
り、画像の再現性を向上させることが可能となる。
As shown in FIG. 8, according to the present embodiment, the density level of the image data obtained by reading the document by the sensor is "dirt" of the document, the nature of the image (line thickness and inclination,
Even if it has various values depending on the density, the correlation with surrounding pixels, etc., or the MTF characteristics of the sensor, by adaptively correcting the signal level before performing the binarization processing, the image reproducibility is improved. It is possible to improve.

【0076】像域判定では、写真などの多値画像におい
ては、画素単位における濃度レベルの変化は緩やかで、
注目画素の濃度レベルはその周辺画素の濃度レベルとほ
ぼ等しく差があってもわずかであるが、2値画像におけ
る画像の境界部においては、濃度レベルの変化が急峻で
あるという性質を利用するものである。つまり、ライン
センサから読取った多値画像データから、濃度レベルが
急峻に変化する文字・線画領域における画像の輪郭部
(即ち、固定しきい値に基づく単純2値化処理のみ行な
った場合に得られる2値画像で、ノッチが発生し易く且
つ目立ちやすい箇所となる部分である。)を容易に抽出
できると共に、画像の濃度レベルの変化が比較的緩やか
となる空間周波数の高域成分や網点・写真画領域などを
非輪郭部として効果的に判定することができる。
In the image area determination, in a multi-valued image such as a photograph, the change in the density level in pixel units is gentle,
The density level of the pixel of interest is almost equal to the density level of the surrounding pixels and is small, but at the boundary of the image in the binary image, the property that the density level changes sharply is used. Is. In other words, it is obtained from the multi-valued image data read from the line sensor when the outline portion of the image in the character / line drawing area where the density level sharply changes (that is, when only the simple binarization processing based on the fixed threshold value is performed. In a binary image, it is a portion where a notch is likely to occur and is conspicuous.), And it is possible to easily extract the high frequency component of the spatial frequency and the halftone dot where the change of the density level of the image is relatively gentle. It is possible to effectively determine a photographic image area or the like as a non-contour portion.

【0077】また、領域判定を行なう際に、所定方向に
位置する2画素の濃度レベルの平均と注目画素との差分
値により判定することから、斜めライン輪郭部の検出能
力を抑える一方で、主走査方向あるいは副走査方向に垂
直な方向に発生する輪郭部のみを効果的に抽出すること
が可能となる。さらには、画素単位の濃度レベルに含ま
れるノイズによる画像の輪郭部誤検出の防止、網点画に
おける輪郭部誤検出を極力防止することが可能となる。
Further, when the area determination is performed, since the determination is made based on the difference value between the average of the density levels of the two pixels located in the predetermined direction and the target pixel, the detection capability of the diagonal line contour portion is suppressed while It is possible to effectively extract only the contour portion generated in the direction perpendicular to the scanning direction or the sub-scanning direction. Further, it is possible to prevent erroneous detection of the contour portion of the image due to noise included in the density level of each pixel, and to prevent erroneous detection of the contour portion in the halftone image as much as possible.

【0078】以上のように注目画素Pが輪郭部に位置す
ると抽出した場合において、周辺画素の画像情報として
既に2値化処理された画素の2値化データあるいは多値
画像データの状態を参照することにより、周辺画素との
連続性を保持する為のあるべき2値化データを容易に予
測すること可能となる。この予測結果に従い、注目画素
Pに対する2値化データの状態確率として白または黒、
あるいは予測不可能な場合には不定とした以上3通りの
何れの状態かを容易に定めることが可能となる。
As described above, in the case where the pixel of interest P is located in the contour portion, the state of the binarized data or multivalued image data of the pixel which has already been binarized is referred to as the image information of the peripheral pixels. As a result, it is possible to easily predict the binary data that should have the continuity with the peripheral pixels. According to this prediction result, white or black as the state probability of the binarized data for the target pixel P,
Alternatively, if unpredictable, it is possible to easily determine which of the above three states is indefinite.

【0079】以上のように求めた注目画素Pの状態確率
に従い、2値化時のしきい値として複数個のしきい値か
ら適応的に選択を行ない、状態確率が黒ならば、黒を強
調するしきい値を、また状態確率が白ならば、白を強調
するしきい値を、状態確率が不定ならば、通常のしきい
値を選択し、2値化を行なうことが可能となる。
According to the state probability of the pixel of interest P obtained as described above, a threshold value for binarization is adaptively selected from a plurality of threshold values. If the state probability is black, black is emphasized. It is possible to perform binarization by selecting a threshold value to be used, a threshold value that emphasizes white if the state probability is white, and an ordinary threshold value if the state probability is indefinite.

【0080】これにより、単純2値化処理ではノッチ発
生により画質劣化を避けられない、濃度レベルが急峻且
つ不安定に変化する文字・線画領域における画像の輪郭
部であっても、輪郭部における2値化データの連続性を
極力保つ平滑化が可能となり、ノッチ発生の少ない2値
画像を得ることが可能となる。
As a result, even if the contour portion of the image in the character / line drawing area in which the density level changes steeply and unstable in which the image quality deterioration cannot be avoided by the notch generation in the simple binarization processing, Smoothing can be performed while maintaining the continuity of the digitized data as much as possible, and a binary image with few notches can be obtained.

【0081】また、一方で、文字・線画領域であっても
空間周波数が高域となる領域や、網点・写真画領域等の
ように、画素ごとの濃度レベルの変化が小さい領域で
は、固定しきい値による単純2値化処理を行なうように
するため、得られる2値画像は、細線切れ、“つぶ
れ”、“かすれ”あるいは“尾びき”といった弊害をほ
とんど防止することが可能となる。
On the other hand, in the area where the spatial frequency is high even in the character / line drawing area, or in the area where the density level of each pixel is small, such as the halftone dot / photo image area, it is fixed. Since the simple binarization process is performed by using the threshold value, it is possible to prevent the resulting binary image from having adverse effects such as thin line cutting, “crushing”, “blurring”, or “tail trailing”.

【0082】また、画像の輪郭部であっても、周辺画素
の状態から画像の角部を抽出することが可能となりこと
から、図8に示すように、画像の角部における“角欠
け”や“尾びき”等の弊害が発生することを防止するこ
とが可能となる。これにより、高画質な2値画像を容易
に得ることが可能となる。
Further, even in the contour portion of the image, since it becomes possible to extract the corner portion of the image from the state of the peripheral pixels, as shown in FIG. It is possible to prevent adverse effects such as “tail buzz” from occurring. This makes it possible to easily obtain a high-quality binary image.

【0083】ここで、本実施例では、画像の輪郭部を検
出する手法として、対象領域を周辺画素3×3領域に定
めて2次元的に抽出するアルゴリズムについてのみ示し
たが、もちろん対象領域はこれに限るものではない。ま
た、輪郭部検出方式としても、差分値算出による検出方
式について一手法を示したが、もちろんこの限りではな
く、他の差分値算出による検出方式あるいは画像のパタ
ーン認識等によっても行ない得ることは言うまでもな
い。
Here, in the present embodiment, as the method for detecting the contour portion of the image, only the algorithm for setting the target area to the peripheral pixel 3 × 3 area and extracting it two-dimensionally is shown. It is not limited to this. Also, as the contour detection method, one method has been shown for the detection method by the difference value calculation, but needless to say, the present invention is not limited to this and can be performed by another detection method by the difference value calculation or image pattern recognition. Yes.

【0084】本実施例では、状態確率を定める際に、対
象領域を2ラインで2×3領域に定めて確定する場合に
ついてのみ示したが、もちろん、対象領域を拡げ、画像
の特徴を判定することにより、より確率確定精度を向上
させることが可能である。
In the present embodiment, only the case where the target area is set to be 2 × 3 area and defined by 2 lines when the state probability is determined is shown, but of course, the target area is expanded and the feature of the image is determined. As a result, it is possible to further improve the probability confirmation accuracy.

【0085】また、本実施例では、状態確率として3状
態に定め処理を行なう場合についてのみ示したが、さら
に状態確率を細分化し、より適応的にしきい値を変化さ
せる処理を行なうことにより、更なる高画質化を図るこ
とが可能である。
Further, in the present embodiment, only the case where the state probability is set to three states and the processing is performed is shown. However, by further subdividing the state probability and performing the processing of changing the threshold value more adaptively, It is possible to achieve higher image quality.

【0086】また、画像の角部の判定を行なう際に、前
ラインの連続する3画素に注目して行なう場合について
のみ示したが、もちろんこの限りではなく、参照画素を
適応的に変えて判定精度を上げることも可能であり、さ
らに画像のパターン認識等によっても行ない得ることは
言うまでもない。
Also, only the case where three consecutive pixels of the previous line are focused on is shown when making a decision on the corners of an image, but of course this is not the only case, and decision is made by adaptively changing the reference pixel. It is needless to say that the accuracy can be increased and the pattern recognition of the image can be performed.

【0087】さらに、画像の輪郭部領域に対して連続性
を保つ平滑化方式として、処理方向を定め、ヒステリシ
ス2値化処理により行なうことについてのみ示したが、
もちろん他の平滑化手法、例えば2値化前の多値画像デ
ータの適応的補正処理、あるいは2値化後のデータ変換
処理等によっても行ない得ることは言うまでもない。
Further, as the smoothing method for maintaining the continuity with respect to the contour area of the image, only the method of setting the processing direction and performing the hysteresis binarization processing is shown.
Needless to say, other smoothing methods, for example, adaptive correction processing of multi-valued image data before binarization, data conversion processing after binarization, or the like can be performed.

【0088】本実施例において、読取濃度レベルの補正
処理方式を限定して述べたが、もちろんこの限りではな
く、他の手法、例えばAGC(Auto Gain Controler)
などによって濃度レベルの補正処理を施しても、同様の
効果が得られることは言うまでもない。
In the present embodiment, the reading density level correction processing method is limited, but the method is not limited to this, for example, another method such as AGC (Auto Gain Controller).
It goes without saying that the same effect can be obtained even if the correction processing of the density level is performed by the above.

【0089】また、本実施例では、ハードウエア構成に
よる処理方式を用いる場合についてのみ示したが、もち
ろん本発明に基づく処理方式をソフトウエア処理によっ
て実現しても、同様な効果が得られることは言うまでも
ない。
Further, in the present embodiment, only the case where the processing system having the hardware configuration is used is shown, but of course, even if the processing system according to the present invention is realized by the software processing, the same effect can be obtained. Needless to say.

【0090】図9は本発明の第2の実施例としての2値
化装置の構成を示すブロック図である。本実施例は、本
発明の2値化装置を、文字・線画や写真等の多値画像を
読取り符号化して、蓄積あるいは伝送する画像伝送装置
(例えば、ファクシミリ装置)に適用したものである。
FIG. 9 is a block diagram showing the configuration of a binarizing device as a second embodiment of the present invention. The present embodiment is an application of the binarizing apparatus of the present invention to an image transmitting apparatus (for example, a facsimile apparatus) that reads and encodes a multi-valued image such as a character / line drawing or a photograph and stores or transmits it.

【0091】図9において、44はラインセンサから成
り、送信原稿を1次元的に走査して読取る読取センサ、
12’は周辺画素の濃度レベルをもとに、注目画素が文
字・線画等の2値画像領域の画素か、文字・線画等の輪
郭部に位置する画素か、あるいは写真等の多値画像領域
の画素か、を判別し、同時に、多値画像領域である場合
には多値画像領域性の度合い(2値画像領域,多値画像
領域の何れに近いかを表わす度合い)を求める像域判別
部、45,46は濃度レベルをそのレベルに応じて所定
のレベルに変換する第1,第2のγ補正部、47は注目
画素と周辺画素の濃度レベルをもとに、注目画素の濃度
レベルを平滑化する平滑化部、48は注目画素と周辺画
素の濃度レベルをもとに、線画のエッジ部を強調するエ
ッジ強調部、49は平滑化部47とエッジ強調部48と
の濃度レベルを像域判定部12の判定結果12bに従
い、所定の割合で混合する混合部、50は遅延部であ
る。
In FIG. 9, reference numeral 44 denotes a line sensor, which is a reading sensor for one-dimensionally scanning and reading a transmission original,
12 'indicates whether the pixel of interest is a pixel in a binary image area such as a character or line drawing, a pixel located in the outline of a character or line drawing, or a multi-valued image area such as a photograph, based on the density level of surrounding pixels. Image area discrimination, and at the same time, in the case of a multi-valued image area, the degree of multi-valued image area property (degree indicating the closeness of a binary image area or a multi-valued image area) is determined. 45, 46 are first and second γ correction units for converting the density level to a predetermined level according to the level, and 47 is a density level of the pixel of interest based on the density levels of the pixel of interest and peripheral pixels. Is a smoothing unit for smoothing the image, 48 is an edge emphasizing unit for emphasizing the edge portion of the line drawing based on the density levels of the target pixel and peripheral pixels, and 49 is a density level for the smoothing unit 47 and the edge emphasizing unit 48. According to the determination result 12b of the image area determination unit 12, mixing at a predetermined ratio Mixing unit that, 50 is a delay unit.

【0092】51は多値画像領域でM階調の多値画像を
N階調(ただし、M,Nは整数であり、N≦M)に再量
子化し、その際の量子化誤差を周辺画素に拡散して量子
化前後の平均濃度レベルを一致させるN値誤差拡散処理
を行なう中間調処理部、6は図1で示したのと同様、2
値化処理により白(最大濃度レベル)と黒(最小濃度レ
ベル)に2値化を行なう2値化部、52は2値化データ
として中間調処理部51と2値化部6の出力の何れかを
像域判定部12の判定結果に応じて出力する選択部、5
3は読取画像の縮小拡大を行なうサイズ変換部、54は
2値化データをMH符号化あるいはMR符号化等により
データ圧縮を行なう符号化部、55は符号化データを変
調し回線56に送出するモデムである。その他、図1と
同様の構成要素には同一の符号を付した。
Reference numeral 51 denotes a multi-valued image area, in which a multi-valued image having M gradations is re-quantized into N gradations (where M and N are integers, N ≦ M), and a quantization error at that time is re-quantized to peripheral pixels A halftone processing unit for performing N-value error diffusion processing for diffusing the image data into an average density level before and after quantization, 6 is the same as that shown in FIG.
A binarization unit that binarizes white (maximum density level) and black (minimum density level) by binarization processing, and 52 is either the output of the halftone processing unit 51 or the binarization unit 6 as binarized data. A selection unit that outputs the image according to the determination result of the image area determination unit 12;
Reference numeral 3 is a size conversion unit for reducing / enlarging the read image, 54 is an encoding unit for compressing the binary data by MH encoding or MR encoding, and 55 is the encoded data, which is sent to the line 56. It is a modem. Other than that, the same components as those in FIG. 1 are denoted by the same reference numerals.

【0093】図9を用いて本実施例の動作を詳細に説明
する。読取センサ44では、送信原稿をライン単位で読
取り、画素単位にその読取濃度レベル(アナログ値)の
サンプリングを行ない出力する。A/D変換部2では、
サンプリングした読取濃度レベルを量子化し、多値画像
データ(多値ディジタルデータ)で表し、シェーディン
グ補正部3に供給する。
The operation of this embodiment will be described in detail with reference to FIG. The reading sensor 44 reads the transmission document line by line, samples the read density level (analog value) pixel by pixel, and outputs the sampled density level. In the A / D converter 2,
The sampled read density level is quantized, represented by multivalued image data (multivalued digital data), and supplied to the shading correction unit 3.

【0094】シェーディング補正部3では、読取センサ
44の画素の感度バラツキ及び原稿を照射する光源のム
ラを補正する。このため、シェーディング補正部3で
は、予め、読取センサ44で白基準原稿を読取って量子
化された1ライン分の多値画像データ(シェーディング
波形と称す)を記憶しておき、このシェーディング波形
をもとに、原稿のライン上(主走査上)の位置に対応し
て、読取画素の量子化値(濃度レベル)を補正する。こ
のシェーディング補正結果は、第1の記憶媒体部15、
第1及び第2のγ補正部45と46及び像域判定部12
に供給される。
The shading correction unit 3 corrects the sensitivity variations of the pixels of the reading sensor 44 and the unevenness of the light source for illuminating the original. Therefore, the shading correction unit 3 stores in advance multi-valued image data (referred to as a shading waveform) for one line, which is obtained by reading the white reference document with the reading sensor 44 and quantized the shading waveform. In addition, the quantized value (density level) of the read pixel is corrected corresponding to the position on the line of the document (on the main scanning). This shading correction result is stored in the first storage medium unit 15,
The first and second γ correction units 45 and 46 and the image area determination unit 12
Is supplied to.

【0095】第1の記憶媒体部15では、シェーディン
グ補正後の多値画像データ3aを少なくとも2ライン分
記憶し、読取センサ44の読出し画素位置から見て前ラ
インの画素の多値画像データ15a及び前々ラインの画
素の多値画像データ15bを出力する。
The first storage medium unit 15 stores the multivalued image data 3a after shading correction for at least two lines, and the multivalued image data 15a of the pixel on the previous line when viewed from the read pixel position of the read sensor 44 and The multi-valued image data 15b of the pixels on the line before the previous line is output.

【0096】第1及び第2のγ補正部45,46では、
第1の記憶媒体部15より読出された前ラインの画素の
多値画像データ15aと前々ラインの画素の多値画像デ
ータ15b及びシェーディング補正後の多値画像データ
3aの濃度レベルを、図10に示すような入出力の濃度
特性に従って補正する。なお、図では3種の補正特性を
示している。これは多値画像の濃度特性を、記録後の画
像のメリハリや記録特性を考慮して行なう。第1及び第
2のγ補正部45,46の補正結果はそれぞれ平滑化部
47とエッジ強調部48へ供給される。
In the first and second γ correction units 45 and 46,
FIG. 10 shows the density levels of the multi-valued image data 15a of the pixels of the previous line, the multi-valued image data 15b of the pixels of the immediately preceding line, and the multi-valued image data 3a after shading correction, which are read from the first storage medium unit 15. It is corrected according to the input / output density characteristics as shown in. The figure shows three types of correction characteristics. This is done by taking the density characteristics of the multi-valued image into consideration of the sharpness of the image after recording and the recording characteristics. The correction results of the first and second γ correction units 45 and 46 are supplied to the smoothing unit 47 and the edge enhancement unit 48, respectively.

【0097】平滑化部47では、第1のγ補正部45で
補正処理された多値画像データに対し平滑化を行なう。
即ち、図11(a)に示すように、注目画素(ハッチを
施した画素)とその周辺画素の濃度レベルに対して、重
み係数a,b,c,d,e,f,g,h,iを掛け、そ
の総和として注目画素の濃度レベルを決定する。重み係
数は注目画素及び周辺画素に対して正の値を与え、重み
係数の和が1となるように配分する。これによって、画
素単位の濃度レベルの変化を平滑化する。平滑化の度合
いは重み係数の与え方によって異なる。
The smoothing unit 47 smoothes the multivalued image data corrected by the first γ correction unit 45.
That is, as shown in FIG. 11A, the weighting factors a, b, c, d, e, f, g, h, for the density levels of the pixel of interest (hatched pixel) and its surrounding pixels. Multiply i and determine the density level of the pixel of interest as the sum thereof. The weighting coefficient is given a positive value with respect to the pixel of interest and the peripheral pixels, and the weighting coefficient is distributed so that the sum becomes 1. As a result, changes in the density level of each pixel are smoothed. The degree of smoothing depends on how the weighting factors are given.

【0098】なお、平滑化部47における周辺画素の領
域は、図11(a)に限定されるものではなく、網点に
よりなる多値画像の場合は、その網点の周期をカバーす
る周辺画素領域を用いて、網点周期内の平均濃度を検出
するように平滑化する必要がある。ここでは、便宜上、
原理を示すため、図のような3×3画素領域とした。
The area of the peripheral pixels in the smoothing section 47 is not limited to that shown in FIG. 11A, and in the case of a multi-valued image consisting of halftone dots, the peripheral pixels covering the cycle of the halftone dots. The area must be used to smooth so as to detect the average density within the halftone dot period. Here, for convenience,
In order to show the principle, a 3 × 3 pixel area as shown in the figure is used.

【0099】エッジ強調部48では、第2のγ補正部4
5で補正処理された多値画像データに対しエッジ強調を
行なう。即ち、図11(b)に示すように、注目画素
(ハッチを施した画素)とその周辺画素の濃度レベルに
対して、重み係数a,b,c,d,e,f,g,h,i
を掛け、その総和として注目画素の濃度レベルを決定す
る。重み係数は注目画素に対して正の値(e)を与え及
び周辺画素に対しては、負の値(a,b,c,d,f,
g,h,i)の値を与え、重み係数の和が1となるよう
に配分する。これにより、周辺画素と注目画素の濃度レ
ベルの差が大きいと、その差をより強調し、結果として
線画等の画像境界部が強調されることになる。
In the edge emphasis unit 48, the second γ correction unit 4
Edge enhancement is performed on the multi-valued image data corrected in step 5. That is, as shown in FIG. 11B, the weighting factors a, b, c, d, e, f, g, h, for the density levels of the pixel of interest (hatched pixel) and its surrounding pixels. i
And the density level of the pixel of interest is determined as the sum. The weighting factor gives a positive value (e) to the pixel of interest and negative values (a, b, c, d, f,
g, h, i) are given and distributed so that the sum of the weighting factors becomes 1. As a result, when the difference in density level between the peripheral pixel and the target pixel is large, the difference is further emphasized, and as a result, the image boundary portion such as a line drawing is emphasized.

【0100】像域判定部12’では、第1の実施例で述
べた2画素間の濃度レベルの平均値と注目画素との濃度
レベル差が所定値dthより大ならば、画像の輪郭部及
び2値画像領域部であり、それ以下ならば多値画像領域
部に属すると判定する。
If the difference in density level between the target pixel and the average value of the density levels between the two pixels described in the first embodiment is larger than the predetermined value dth, the image area determination unit 12 'determines that the contour portion of the image is It is a binary image area portion, and if it is less than that, it is determined to belong to the multivalued image area portion.

【0101】なお、2画素間の濃度レベルの平均値と注
目画素との濃度レベル差により領域判定を行なうのは、
網点画像の網点の黒と網点間の白の濃度レベル変化を2
値画像領域と誤判定するのを避けるためである。
The area determination is performed based on the difference in density level between the target pixel and the average density level between two pixels.
Change the density level change of black in the halftone dot image and white between halftone dots to 2
This is to avoid erroneous determination as a value image area.

【0102】また、像域判定部12’では、多値画像領
域部に属すると判定する場合に、濃度レベル差の度合い
から、多値画像領域性の度合い(2値画像領域,多値画
像領域の何れに近いかを表わす度合い)12bも同時に
定める。
In addition, when the image area determination unit 12 'determines that the image area belongs to the multi-valued image area portion, the degree of multi-valued image area property (binary image area, multi-valued image area) is determined from the degree of density level difference. 12b) is also determined at the same time.

【0103】なお、ここでは、濃度レベルを算出するた
めの多値画像データとして、シェーディング補正処理後
の多値画像データを用いた場合について示したが、平滑
化処理後あるいはエッジ強調処理後の多値画像データを
用いることにより(例えば、上記網点周期を考慮した平
滑化処理後の多値画像データを用いることにより)、像
域判別精度を高めるようにしてもよい。
Although the case where the multi-valued image data after the shading correction processing is used as the multi-valued image data for calculating the density level is shown here, the multi-valued image data after the smoothing processing or the edge emphasis processing is used. The image area discrimination accuracy may be improved by using the value image data (for example, by using the multivalued image data that has been smoothed in consideration of the halftone dot period).

【0104】また、像域判定は、上記の方法に限定され
るものではなく、各種の判定方法を用いることができ
る。例えば、特開平2−292956号公報、特公平3
−62355号公報に記載のように、網点周期性に着目
し、まず網点領域を検出し、その後、特開昭58−11
5975号公報に記載のように、線画と写真画(網点画
像を除く)の濃度レベル変化量と変化の頻度の差を利用
して、線画と写真画に判別し、結果として、文字・線画
の2値画像領域と写真(網点画像を含む)等の多値画像
領域とを判別するようにしてもよい。
The image area determination is not limited to the above method, and various determination methods can be used. For example, Japanese Patent Laid-Open No. 2-292956 and Japanese Patent Publication No.
-62355, paying attention to the halftone dot periodicity, first detecting the halftone dot area, and then, Japanese Patent Laid-Open No. 58-11.
As described in Japanese Patent No. 5975, the difference between the density level change amount and the change frequency of the line drawing and the photographic image (excluding the halftone dot image) is used to distinguish between the line drawing and the photographic image. It is also possible to discriminate between the binary image area and the multivalued image area such as a photograph (including a halftone image).

【0105】混合部49では、平滑化部47により平滑
化された多値画像データ47aと、エッジ強調部48に
より線画等の画像境界部が強調された多値画像データ4
8aとに、像域判定部12からの多値画像領域性の度合
い12bにより定める重み係数α,β(但しα+β=
1,α≧0,β≧0)をそれぞれ掛け、その総和として
注目画素の濃度レベルを決定する。
In the mixing unit 49, the multivalued image data 47a smoothed by the smoothing unit 47 and the multivalued image data 4 in which the image boundary portion such as a line drawing is emphasized by the edge emphasizing unit 48.
8a and weighting factors α and β (where α + β = determined by the degree 12b of multivalued image area characteristic from the image area determination unit 12).
1, α ≧ 0, β ≧ 0), respectively, and the density level of the pixel of interest is determined as the sum thereof.

【0106】これによって、2値画領域ではエッジ強調
された値を、また、中間調領域では平滑化された値を、
それぞれ、注目画素の濃度レベルとして決定する。ま
た、2値画領域と多値画領域の中間部領域では、像域判
定部12によって得られた多値画像領域性の度合い12
bに従い、重み係数を2値画領域に近い場合にはα≦β
に、また、多値画像領域に近い場合にはα≧βに、それ
ぞれ定めて、注目画素の濃度レベルを決定する。そし
て、算出された多値画像データを、中間調処理部51に
与える。
As a result, the edge-enhanced value in the binary image area and the smoothed value in the halftone area are
Each is determined as the density level of the pixel of interest. Further, in the intermediate area between the binary image area and the multi-valued image area, the degree of multi-valued image area property obtained by the image area determination unit 12 is 12
If the weighting factor is close to the binary image area according to b, α ≦ β
In addition, if it is close to the multi-valued image area, α ≧ β is set to determine the density level of the pixel of interest. Then, the calculated multi-valued image data is given to the halftone processing unit 51.

【0107】中間調処理部51では、混合部49より得
られるM階調で表される多値画像データを、N階調(た
だし、M,Nは整数であり、N≦M)に再量子化し、そ
の際の量子化誤差を周辺画素に拡散して量子化前後の平
均濃度レベルを一致させるN値誤差拡散処理を行なう。
この場合、像域判定部12によって得られた多値画像領
域性の度合い12bにより、量子化誤差を周辺画素に拡
散する度合いを定める。これにより算出した2値化デー
タ51aを、選択部52に与える。
The halftone processing section 51 requantizes the multivalued image data represented by M gradations obtained from the mixing section 49 into N gradations (where M and N are integers and N ≦ M). Then, N-value error diffusion processing is performed in which the quantization error at that time is diffused to peripheral pixels and the average density levels before and after quantization are matched.
In this case, the degree 12b of the multivalued image area characteristic obtained by the image area determination unit 12 determines the degree of diffusion of the quantization error to the peripheral pixels. The binarized data 51a calculated in this way is given to the selection unit 52.

【0108】なお、多値画像領域を2値化データで表示
する中間調処理として、ディザ手法により表すようにし
てもよい。
The halftone processing for displaying the multi-valued image area by the binarized data may be represented by the dither method.

【0109】遅延部50では、エッジ強調部48により
補正された多値画像データ48aを遅延させる。
The delay section 50 delays the multivalued image data 48a corrected by the edge enhancing section 48.

【0110】2値化部6では、注目画素の多値画像デー
タである遅延部50からの出力50aと、第1の実施例
で示した処理に基づき、しきい値選択部11により選択
したしきい値11aとの大小比較を行なう。この結果、
濃度レベルを表す多値画像データ50aがしきい値11
aより大きい場合は白、それ以外の場合は黒とする判定
を行ない、1bitのディジタルデータで表すことによ
り、2値化データ6aを生成し出力する。
In the binarizing section 6, the threshold value selecting section 11 selects the multivalued image data of the pixel of interest based on the output 50a from the delay section 50 and the processing shown in the first embodiment. The magnitude comparison with the threshold value 11a is performed. As a result,
The multilevel image data 50a representing the density level is the threshold value 11
If it is larger than a, it is judged to be white, and if not, it is judged to be black, and represented by 1-bit digital data to generate and output the binarized data 6a.

【0111】選択部52では、中間調処理部51及び2
値化部6によりそれぞれ得られた注目画素に対する2値
化データで、像域判定部12によって得られた多値画像
領域性の度合い12bに従い、注目画素が多値画像領域
に位置する場合には、中間調処理部51の結果を、ま
た、2値画領域の場合には2値化部6の結果を、それぞ
れ選択し出力する。
The selection unit 52 includes halftone processing units 51 and 2.
In the case where the pixel of interest is located in the multi-valued image region according to the degree of multi-valued image region property 12b obtained by the image region determination unit 12 in the binarized data for each pixel of interest obtained by the binarization unit 6, , And outputs the result of the halftone processing unit 51 and the result of the binarization unit 6 in the case of a binary image area.

【0112】サイズ変換部53では、選択部52により
得られた2値化データに対し、補間処理、間引処理、あ
るいは論理演算処理等により、読取原稿のサイズを拡大
・縮小処理,移動処理(回転移動、並行移動、反転移動
等),スムージング処理等を行なう。
In the size conversion section 53, the binarized data obtained by the selection section 52 is subjected to an interpolation process, a thinning process, a logical operation process, etc., to enlarge / reduce the size of the read document, and to perform a moving process ( Rotational movement, parallel movement, reverse movement, etc.), smoothing processing, etc.

【0113】符号化部54では、サイズ変換部53によ
り処理された2値化データを、G3ファクシミリの1次
元符号化の国際標準方式として採用されているMH符号
化により、データ圧縮する。この符号化方式は、2値化
データのラン・レングスの発生頻度に従い、発生頻度の
高いラン・レングスには短い符号語を、また、発生頻度
の低いラン・レングスには長い符号語を、それぞれ割り
当てることにより、データ圧縮を行なうものである。圧
縮された符号化データはモデム部55により変調され、
回線56より出力される。
In the encoding unit 54, the binary data processed by the size conversion unit 53 is data-compressed by MH encoding which is adopted as an international standard system for one-dimensional encoding of G3 facsimile. According to the run frequency of the binarized data, this coding method assigns short code words to run lengths with high occurrence frequency and long code words to run lengths with low occurrence frequency. By allocating, the data is compressed. The compressed encoded data is modulated by the modem unit 55,
It is output from the line 56.

【0114】以上のように、本実施例によれば、原稿を
センサにより読取った画像データの濃度レベルが、原稿
の“汚れ”、画像の性質(線の太さや傾き、濃度、周辺
画素との相関等)あるいはセンサのMTF特性により様
々な値を有する場合であっても、2値化処理を行なう前
に信号レベルを適応的に補正することにより、画像の再
現性を向上させることが可能となる。
As described above, according to the present embodiment, the density level of the image data obtained by reading the original with the sensor is such that the "dirt" of the original, the nature of the image (line thickness and inclination, density, peripheral pixels). It is possible to improve image reproducibility by adaptively correcting the signal level before performing the binarization process even when the values have various values depending on the correlation (or the like) or the MTF characteristics of the sensor. Become.

【0115】また、像域判定により、画像の特徴に合わ
せて、文字・線画領域とその画像の輪郭部、及び網点・
写真画領域を効果的に検出することが可能となり、それ
ぞれの領域に対しそれぞれ特有の2値化処理を施すこと
が可能となる。よって、文字・線画領域では輪郭部にお
いて連続性を極力保つ平滑化が可能となり、ノッチ発生
の少ない2値画像を得ることが可能であり、また、一方
で、文字・線画領域であっても空間周波数が高域となる
領域では、固定しきい値による単純2値化処理を行なう
ようにするため、細線切れ,“つぶれ”,“かすれ”あ
るいは“尾びき”といった弊害はほとんど無く、さら
に、網点・写真画領域では、中間調処理により濃度レベ
ルを疑似的に2値化データで表す処理を行なうことか
ら、高画質な2値画像を得ることが可能となる。
By the image area determination, the character / line drawing area, the outline portion of the image, and the halftone dot /
It is possible to effectively detect the photographic image area, and it is possible to perform a unique binarization process on each area. Therefore, in the character / line-drawing area, it is possible to perform smoothing that keeps the continuity in the contour portion as much as possible, and it is possible to obtain a binary image with few notches. In regions where the frequency is high, simple binarization processing with a fixed threshold is performed, so there are almost no adverse effects such as thin line breaks, "crushing", "blurring", or "tail tailing". In the dot / photographic image area, since the density level is pseudo-displayed as binary data by halftone processing, a high-quality binary image can be obtained.

【0116】さらに、2値化データについてMH符号化
等により圧縮符号化を行なう際に、ノッチにより2値化
データのラン・レングスが短くなることによる圧縮能力
が極度に劣化する場合であっても、ノッチの発生そのも
のを抑えられることから、伝送データ量がいたずらに増
大すること防止することが可能となる。
Further, when compression coding is performed on the binary data by MH coding or the like, even if the run length of the binary data is shortened by the notch, the compression capability is extremely deteriorated. Since the occurrence of notches themselves can be suppressed, it is possible to prevent the amount of transmission data from unnecessarily increasing.

【0117】また、本実施例の変形例として、図12に
示すように、読取画像データ(多値画像データ)の2値
化処理によって得られた2値化データ52aを出力端子
57から出力するようにすることにより、画像読取装置
(イメージスキャナ装置)として用いることも可能であ
り、その場合、得られた2値化データを他のデータ処理
装置(例えば画像生成装置,データ記録再生装置あるい
はデータ送受信装置)で利用することができる。
As a modification of this embodiment, as shown in FIG. 12, the binarized data 52a obtained by binarizing the read image data (multi-valued image data) is output from the output terminal 57. By doing so, it is also possible to use it as an image reading device (image scanner device), in which case the obtained binarized data is processed by another data processing device (for example, an image generating device, a data recording / reproducing device or a data recording device). Transceiver device).

【0118】なお、以上の実施例においては、画像を読
み取る手段として、ラインセンサを用い、1次元的に走
査する場合についてのみ示したが、もちろんこの限りで
はなく、他の読取手段(X線、核磁気共鳴、超音波等を
用いた装置)を利用するようにしてもよい。
In the above embodiments, a line sensor is used as a means for reading an image, and only one-dimensional scanning is shown. However, the present invention is not limited to this and other reading means (X-ray, A device using nuclear magnetic resonance, ultrasonic waves, etc.) may be used.

【0119】[0119]

【発明の効果】本発明によれば、多値画像データを2値
化する際に、細線切れ、“つぶれ”、“かすれ”、“尾
びき”あるいは“角欠け”といった弊害がほとんど発生
すること無く、また、画像の輪郭部等の濃度レベルが不
安定となる箇所のみ、適応的に2値画像の不連続性(ノ
ッチ)を防止する平滑化処理を行なうことにより、高画
質な2値画像を得る事を可能とし、さらには、MH符号
化等により符号化を行なった場合に、伝送データ量がい
たずらに増大するのを抑えることができる。
EFFECTS OF THE INVENTION According to the present invention, when binarizing multi-valued image data, most of the adverse effects such as thin line breaks, "crushing", "blurring", "tail trailing" or "corner chipping" occur. A high-quality binary image is obtained by adaptively performing a smoothing process to prevent discontinuity (notch) of the binary image only in a portion where the density level is unstable, such as an outline portion of the image. In addition, it is possible to prevent the transmission data amount from unnecessarily increasing when encoded by MH encoding or the like.

【0120】また、本発明によれば、少ないメモリ量及
び簡単な構成により高画質化を達成することが可能とな
る。
Further, according to the present invention, it is possible to achieve high image quality with a small memory amount and a simple structure.

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

【図1】本発明の第1の実施例としての2値化装置の構
成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a binarizing device as a first embodiment of the present invention.

【図2】第1の実施例において2値化を行なう際の対象
領域である注目画素P及び周辺画素の一例を示す説明図
である。
FIG. 2 is an explanatory diagram showing an example of a target pixel P and peripheral pixels which are target regions when performing binarization in the first embodiment.

【図3】第1の実施例における像域判定部12での対象
領域を示す説明図である。
FIG. 3 is an explanatory diagram showing a target area in an image area determination unit 12 in the first embodiment.

【図4】第1の実施例における像域判定部12の一具体
例を示すブロック図である。。
FIG. 4 is a block diagram showing a specific example of the image area determination unit 12 in the first embodiment. .

【図5】第1の実施例における状態確率判定部13での
対象領域を示す説明図である。
FIG. 5 is an explanatory diagram showing a target area in the state probability determination unit 13 in the first embodiment.

【図6】第1の実施例における状態確率判定部13での
判定条件を説明するための説明図である。
FIG. 6 is an explanatory diagram for explaining a determination condition in a state probability determination unit 13 in the first embodiment.

【図7】第1の実施例における状態確率判定部13の一
具体例を示すブロック図である。
FIG. 7 is a block diagram showing a specific example of a state probability determination unit 13 in the first embodiment.

【図8】第1の実施例における2値化処理を説明するた
めの説明図である。
FIG. 8 is an explanatory diagram for explaining a binarization process in the first embodiment.

【図9】本発明の第2の実施例としての2値化装置を示
すブロック図である。
FIG. 9 is a block diagram showing a binarization device as a second embodiment of the present invention.

【図10】第2の実施例における第1及び第2のγ補正
部45,46での入出力の濃度特性を示す特性図であ
る。
FIG. 10 is a characteristic diagram showing input / output density characteristics in the first and second γ correction units 45 and 46 in the second embodiment.

【図11】第2の実施例における平滑化部47及びエッ
ジ強調部48で用いる重み係数を示す説明図である。
FIG. 11 is an explanatory diagram showing weighting factors used in the smoothing unit 47 and the edge emphasizing unit 48 in the second embodiment.

【図12】第2の実施例の変形例を示すブロック図であ
る。
FIG. 12 is a block diagram showing a modification of the second embodiment.

【図13】従来の2値化装置の構成を示すブロック図で
ある。
FIG. 13 is a block diagram showing a configuration of a conventional binarization device.

【図14】図13の2値化装置における2値化処理を説
明するための説明図である。
FIG. 14 is an explanatory diagram for explaining a binarization process in the binarization device of FIG. 13.

【図15】従来の他の2値化装置における2値化処理を
説明するための説明図である。
FIG. 15 is an explanatory diagram for explaining a binarization process in another conventional binarization device.

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

1…読取画像濃度レベル入力端子、2…A/D変換部、
3…シェーディング補正部、4…γ補正部、5…MTF
補正部、6…2値化部、7…2値化データ出力端子、8
〜10…第1〜第3のしきい値付加部、11…しきい値
選択部、12…像域判定部、13…状態確率判定部、1
5,17…第1,第2の記憶媒体、23〜26…平均化
部、27〜30…差分値算出部、31〜34…比較部、
35…判定部、36…第4のしきい値付加部、37…選
択部、38…比較部、39…主走査方向輪郭部判定部、
42…前ラインラン検出部、45…状態確率決定部、4
4…読取センサ、45,46…第1,第2のγ補正部、
47…平滑化部、48…エッジ強調部、49…混合部、
51…中間調処理部、52…選択部、53…サイズ変換
部、54…符号化部、55…モデム部、56…回線。
1 ... Read image density level input terminal, 2 ... A / D converter,
3 ... Shading correction unit, 4 ... γ correction unit, 5 ... MTF
Correction unit, 6 ... Binarization unit, 7 ... Binary data output terminal, 8
-10 ... 1st-3rd threshold value addition part, 11 ... Threshold value selection part, 12 ... Image area determination part, 13 ... State probability determination part, 1
5, 17 ... First and second storage media, 23-26 ... Averaging unit, 27-30 ... Difference value calculation unit, 31-34 ... Comparison unit,
35 ... Judgment part, 36 ... Fourth threshold value addition part, 37 ... Selection part, 38 ... Comparison part, 39 ... Main scanning direction contour part judgment part,
42 ... Previous line run detection unit, 45 ... State probability determination unit, 4
4 ... Read sensor, 45, 46 ... First and second γ correction section,
47 ... Smoothing section, 48 ... Edge enhancement section, 49 ... Mixing section,
51 ... Halftone processing section, 52 ... Selection section, 53 ... Size conversion section, 54 ... Encoding section, 55 ... Modem section, 56 ... Line.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 田中 誠二 茨城県勝田市稲田1410番地 株式会社日立 製作所情報映像メディア事業部内 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Seiji Tanaka 1410 Inada, Katsuta City, Ibaraki Hitachi, Ltd. Information & Video Media Division

Claims (17)

【特許請求の範囲】[Claims] 【請求項1】 画像を走査し画素単位にサンプリングし
て得られた多値画像データを2値化データに変換する2
値化装置において、 2値化を行なうべき画素(以下、注目画素という)の多
値画像データと前記注目画素に対する周辺画素の多値画
像データとから、前記注目画素における画像の特徴を判
定する像域判定手段と、前記周辺画素の2値化データ及
び多値画像データの状態に基づき、前記注目画素の2値
化データを予測し、その予測結果に従い前記注目画素の
2値化データの状態確率を判定する状態確率判定手段
と、前記像域判定手段及び/または状態確率判定手段に
よる判定結果に従い、複数のしきい値の中から所望のし
きい値を適応的に選択するしきい値選択手段と、前記注
目画素の多値画像データと前記しきい値選択手段により
選択されたしきい値とを大小比較し、その比較結果に従
い、前記注目画素の多値画像データを2値化データに変
換する2値化手段と、で構成されることを特徴とする2
値化装置。
1. A multi-valued image data obtained by scanning an image and sampling in pixel units is converted into binarized data.
An image for determining a feature of an image in the target pixel from multivalued image data of a pixel to be binarized (hereinafter referred to as a target pixel) and multivalued image data of peripheral pixels with respect to the target pixel in a binarizing device The binarized data of the pixel of interest is predicted based on the region determination means and the states of the binarized data of the peripheral pixel and the multivalued image data, and the state probability of the binarized data of the pixel of interest is predicted according to the prediction result State probability determining means and threshold value selecting means for adaptively selecting a desired threshold value from a plurality of threshold values according to the determination result by the image area determining means and / or the state probability determining means. And the multi-valued image data of the target pixel and the threshold value selected by the threshold value selection means are compared in size, and the multi-valued image data of the target pixel is converted into binarized data according to the comparison result. And a binarizing means for exchanging the data.
Quantizer.
【請求項2】 請求項1に記載の2値化装置において、
前記像域判定手段は、前記注目画素における画像の特徴
の判定として、前記注目画素が画像の輪郭部に位置する
か否かの判定を行なうことを特徴とする2値化装置。
2. The binarizing device according to claim 1, wherein
The binarizing device, wherein the image area determination means determines whether or not the pixel of interest is located at a contour portion of the image, as the determination of the image feature of the pixel of interest.
【請求項3】 請求項2に記載の2値化装置において、
前記像域判定手段は、前記注目画素における画像の特徴
の判定として、前記注目画素が特定の方向に発生する画
像の輪郭部に位置するか否かの判定を行なうことを特徴
とする2値化装置。
3. The binarizing device according to claim 2,
The image area determination means determines whether or not the pixel of interest is located at the contour portion of the image generated in a specific direction as the determination of the characteristic of the image of the pixel of interest. apparatus.
【請求項4】 請求項2または3に記載の2値化装置に
おいて、前記像域判定手段は、前記周辺画素の多値画像
データと前記注目画素の多値画像データとから、前記周
辺画素の濃度レベルと注目画素の濃度レベルとの差(以
下、濃度レベル差という)を求める濃度差算出手段と、
該濃度差算出手段により求められた濃度レベル差と所定
のしきい値との比較を行なう比較手段と、該比較手段に
よる比較結果に従い、前記注目画素が前記輪郭部に位置
するか否かの判定を行なう判定手段と、で構成されるこ
とを特徴とする2値化装置。
4. The binarization apparatus according to claim 2, wherein the image area determination unit determines the peripheral pixel of the peripheral pixel from the multivalued image data of the peripheral pixel and the multivalued image data of the target pixel. Density difference calculating means for obtaining a difference between the density level and the density level of the pixel of interest (hereinafter referred to as density level difference),
Comparison means for comparing the density level difference obtained by the density difference calculation means with a predetermined threshold value, and determination of whether or not the pixel of interest is located at the contour portion according to the comparison result by the comparison means. A binarizing device comprising:
【請求項5】 請求項2または3に記載の2値化装置に
おいて、前記像域判定手段は、前記周辺画素の多値画像
データから、該周辺画素のうち、所定方向に並んだ所定
数の画素の濃度レベル平均値を求める平均濃度レベル算
出手段と、該平均濃度レベル算出手段により求められた
算出結果と前記注目画素の多値画像データとから、前記
濃度レベル平均値と前記注目画素の濃度レベルとの差
(以下、濃度レベル差という)を求める濃度差算出手段
と、該濃度差算出手段により求められた濃度レベル差と
所定のしきい値との比較を行なう比較手段と、該比較手
段による比較結果に従い、前記注目画素が前記輪郭部に
位置するか否かの判定を行なう判定手段と、で構成され
ることを特徴とする2値化装置。
5. The binarizing device according to claim 2, wherein the image area determination unit determines, from the multivalued image data of the peripheral pixels, a predetermined number of the peripheral pixels arranged in a predetermined direction. The density level average value and the density of the pixel of interest are calculated from the average density level calculation means for obtaining the density level average value of the pixel and the calculation result obtained by the average density level calculation means and the multi-valued image data of the pixel of interest. A density difference calculating means for obtaining a difference from the level (hereinafter referred to as a density level difference), a comparing means for comparing the density level difference obtained by the density difference calculating means with a predetermined threshold value, and the comparing means. A binarizing device for deciding whether or not the pixel of interest is located in the contour portion in accordance with the result of the comparison.
【請求項6】 請求項4または5に記載の2値化装置に
おいて、前記判定手段は、前記濃度差算出手段により求
められた濃度レベル差が前記しきい値より大きい場合
に、前記注目画素が前記輪郭部に位置すると判定するこ
とを特徴とする2値化装置。
6. The binarizing apparatus according to claim 4, wherein the determination unit determines that the pixel of interest is the pixel of interest when the density level difference obtained by the density difference calculation unit is larger than the threshold value. A binarization device, characterized in that it is determined to be located in the contour portion.
【請求項7】 請求項1に記載の2値化装置において、
前記状態確率判定手段は、前記周辺画素の2値化データ
及び多値画像データの状態に基づき、前記注目画素の2
値化データとして、前記周辺画素の2値化データとの連
続性を保持するような2値化データを予測し、その予測
結果に従い前記注目画素の2値化データの状態確率を判
定することを特徴とする2値化装置。
7. The binarizing device according to claim 1, wherein
The state probability determining means determines whether or not the pixel of interest is 2 based on the states of the binarized data and multi-valued image data of the peripheral pixels.
Binarized data that retains continuity with the binarized data of the peripheral pixels is predicted as the binarized data, and the state probability of the binarized data of the target pixel is determined according to the prediction result. Characterizing binarization device.
【請求項8】 請求項1または7に記載の2値化装置に
おいて、前記状態確率判定手段は、前記周辺画素のう
ち、前記注目画素を挾んで所定方向に並んだ画素の2値
化データ及び多値画像データにより、前記注目画素が前
記所定方向に垂直な方向に発生する画像の輪郭部に位置
するか否かの検出を行なう輪郭部検出手段と、前記周辺
画素の2値化データの状態を検出する状態検出手段と、
前記輪郭部検出手段と状態検出手段による検出結果によ
り、前記注目画素の2値化データの状態確率を決定する
状態確率決定手段と、で構成されることを特徴とする2
値化装置。
8. The binarizing device according to claim 1, wherein the state probability determining unit includes binarized data of pixels arranged in a predetermined direction across the target pixel among the peripheral pixels, and A contour portion detecting means for detecting whether or not the pixel of interest is located at a contour portion of an image generated in a direction perpendicular to the predetermined direction based on multi-valued image data, and a state of binary data of the peripheral pixels. A state detecting means for detecting
A state probability determining unit that determines a state probability of the binarized data of the pixel of interest based on the detection results of the contour detecting unit and the state detecting unit.
Quantizer.
【請求項9】 請求項8に記載の2値化装置において、
前記輪郭部検出手段が前記注目画素が前記所定方向に垂
直な方向に発生する画像の輪郭部に位置すると検出した
場合であって、前記状態検出手段が、前記周辺画素のう
ち、前記注目画素及び該注目画素を挾んで前記所定方向
に並んだ画素に対してそれぞれ隣合い、且つ前記所定方
向に連続して並んだ所定数の画素の、2値化データが全
て同値であると検出した場合に、前記状態確率決定手段
は、前記注目画素が画像の角部に位置すると判定し、前
記注目画素の2値化データの状態確率を不定とすること
を特徴とする2値化装置。
9. The binarizing apparatus according to claim 8,
In the case where the contour detection unit detects that the pixel of interest is located at the contour of the image generated in the direction perpendicular to the predetermined direction, the state detection unit detects the pixel of interest among the peripheral pixels and the pixel of interest. When it is detected that the binarized data of a predetermined number of pixels that are adjacent to the pixel arranged in the predetermined direction across the target pixel and that are continuously arranged in the predetermined direction have the same value. The binarization apparatus, wherein the state probability determining means determines that the pixel of interest is located at a corner of an image, and makes the state probability of the binarized data of the pixel of interest indefinite.
【請求項10】 請求項8に記載の2値化装置におい
て、前記輪郭部検出手段が前記注目画素が前記所定方向
に垂直な方向に発生する画像の輪郭部に位置すると検出
した場合であって、前記状態検出手段が、前記周辺画素
のうち、前記注目画素及び該注目画素を挾んで前記所定
方向に並んだ画素に対してそれぞれ隣合い、且つ前記所
定方向に連続して並んだ所定数の画素の、2値化データ
が一部同値でないと検出した場合に、前記状態確率決定
手段は、前記注目画素が前記所定方向に垂直な方向にの
み発生する画像の輪郭部に位置すると判定し、前記注目
画素と隣合う画素のうち、該注目画素と同じ輪郭部に位
置する画素であって、既に2値化の行なわれた画素の2
値化データを、前記注目画素の2値化データの状態確率
として定めることを特徴とする2値化装置。
10. The binarizing device according to claim 8, wherein the contour portion detecting unit detects that the pixel of interest is located at a contour portion of an image generated in a direction perpendicular to the predetermined direction. , The state detecting means is provided with a predetermined number of adjacent pixels, which are adjacent to the pixel of interest and pixels lined up in the predetermined direction with the pixel of interest sandwiched therebetween, among the peripheral pixels. When it is detected that the binarized data of the pixels are not partially the same, the state probability determining unit determines that the pixel of interest is located in the contour portion of the image that occurs only in the direction perpendicular to the predetermined direction, Of the pixels adjacent to the pixel of interest, the two pixels that are located in the same outline as the pixel of interest and have already been binarized.
A binarization device, wherein the binarized data is defined as a state probability of the binarized data of the pixel of interest.
【請求項11】 請求項8に記載の2値化装置におい
て、前記輪郭部検出手段が前記注目画素が前記所定方向
に垂直な方向に発生する画像の輪郭部に位置しないと検
出した場合に、前記状態確率決定手段は、前記注目画素
と隣合う画素のうち、該注目画素と共に前記所定方向に
並んだ画素であって、既に2値化の行なわれた画素の2
値化データを、前記注目画素の2値化データの状態確率
として定めることを特徴とする2値化装置。
11. The binarizing device according to claim 8, wherein when the contour portion detecting unit detects that the pixel of interest is not located in a contour portion of an image generated in a direction perpendicular to the predetermined direction, The state probability determining means is a pixel that is adjacent to the pixel of interest and is arranged in the predetermined direction together with the pixel of interest, and has already been binarized.
A binarization device, wherein the binarized data is defined as a state probability of the binarized data of the pixel of interest.
【請求項12】 請求項8,9,10または11に記載
の2値化装置において、前記像域判定手段は、前記注目
画素における画像の特徴の判定として、前記注目画素が
特定の方向に発生する画像の輪郭部に位置するか否かの
判定を行なうと共に、前記状態確率決定手段は、前記像
域判定手段による判定結果に従い、該像域判定手段が前
記注目画素が前記輪郭部に位置しないと判定した場合
に、前記注目画素の2値化データの状態確率を不定とす
ることを特徴とする2値化装置。
12. The binarizing device according to claim 8, 9, 10 or 11, wherein the image area determining unit determines that the target pixel is generated in a specific direction as the determination of the feature of the image in the target pixel. The state probability determining means determines whether the pixel of interest is not located in the contour portion according to the determination result of the image area determining means. If it is determined that the state probability of the binarized data of the target pixel is indefinite, the binarization device.
【請求項13】 請求項1,8,9,10,11または
12に記載の2値化装置において、前記2値化データが
2値として最大濃度レベルである第1の値と最小濃度レ
ベルである第2の値を採り、且つ、前記状態確率判定手
段の判定する前記注目画素の2値化データの状態確率
が、前記第1の値、第2の値及び不定を採り得る場合
に、前記しきい値選択手段は、前記複数のしきい値の中
から、前記状態確率判定手段が前記注目画素の2値化デ
ータの状態確率を不定であると判定した場合は、前記第
1の値と第2の値との間の値である第1のしきい値を選
択し、前記状態確率判定手段が前記注目画素の2値化デ
ータの状態確率を前記第2の値と判定した場合は、前記
第1の値と第1のしきい値との間の値である第2のしき
い値を選択し、前記状態確率判定手段が前記注目画素の
2値化データの状態確率を前記第1の値と判定した場合
は、前記第2の値と第1のしきい値との間の値である第
3のしきい値を選択することを特徴とする2値化装置。
13. The binarizing device according to claim 1, 8, 9, 10, 11 or 12, wherein the binarized data is a binary value having a maximum density level of a first value and a minimum density level. When a certain second value is taken and the state probability of the binarized data of the pixel of interest judged by the state probability judging means can take the first value, the second value and indefinite, The threshold value selecting unit determines the state probability of the binarized data of the pixel of interest to be the first value from the plurality of threshold values when the state probability determining unit determines that the state probability is indefinite. When the first threshold value which is a value between the second value and the state probability determining means determines the state probability of the binarized data of the pixel of interest as the second value, Selecting a second threshold value that is between the first value and the first threshold value, and When the probability determining means determines that the state probability of the binarized data of the pixel of interest is the first value, the third threshold value is a value between the second value and the first threshold value. A binarization device characterized by selecting a threshold value.
【請求項14】 請求項1に記載の2値化装置におい
て、前記画像がライン単位に主走査方向に走査され、且
つ副走査方向に線順次に走査されると共に、前記2値化
データが2値として最大濃度レベルである第1の値と最
小濃度レベルである第2の値を採り得る場合であって、 前記像域判定手段は、前記注目画素における画像の特徴
の判定として、前記注目画素が前記主走査方向及び/ま
たは副走査方向に垂直に発生する画像の輪郭部に位置す
るか否かの判定を行い、 前記しきい値選択手段は、前記複数のしきい値の中に、
前記第1の値と第2の値との間の値である第1のしきい
値と、前記第1の値と第1のしきい値との間の値である
第2のしきい値と、前記第2の値と第1のしきい値との
間の値である第3のしきい値と、を含むと共に、 前記像域判定手段が、前記注目画素が主走査方向及び/
または副走査方向に垂直に発生する画像の輪郭部に位置
すると判定した場合は、前記状態確率判定手段が、前記
周辺画素のうち、前記注目画素を挾んで主走査方向に並
んだ画素の2値化データ及び多値画像データにより、前
記注目画素が前記主走査方向に垂直な方向に発生する画
像の輪郭部に位置するか否かの検出を行ない、 前記注目画素が主走査方向に垂直な方向に発生する画像
の輪郭部に位置しないと検出した場合は、前記状態確率
判定手段は、前記注目画素と隣合う画素のうち、該注目
画素と共に前記主走査方向に並んだ画素であって、既に
2値化の行なわれた画素の2値化データを、前記注目画
素の2値化データの状態確率として定め、前記しきい値
選択手段は、前記第2の値または第3の値を選択し、 前記注目画素が主走査方向に垂直な方向に発生する画像
の輪郭部に位置すると検出した場合は、前記状態確率判
定手段は、前記周辺画素のうち、前記注目画素及び該注
目画素を挾んで前記所定方向に並んだ画素に対してそれ
ぞれ隣合い、且つ前記所定方向に連続して並んだ所定数
の画素の、2値化データの状態を検出し、 前記所定数の画素の2値化データが全て同値であると検
出した場合は、前記状態確率判定手段は、前記注目画素
が画像の角部に位置するとして、前記注目画素の2値化
データの状態確率を不定とし、前記しきい値選択手段
は、前記第1の値を選択し、 前記所定数の画素の2値化データが一部同値でないと検
出した場合は、前記状態確率判定手段は、前記注目画素
が前記主走査方向に垂直な方向にのみ発生する画像の輪
郭部に位置するとして、前記注目画素と隣合う画素のう
ち、該注目画素と同じ輪郭部に位置する画素であって、
既に2値化の行なわれた画素の2値化データを、前記注
目画素の2値化データの状態確率として定め、前記しき
い値選択手段は、前記第2の値または第3の値を選択
し、 前記像域判定手段が、前記注目画素が主走査方向及び/
または副走査方向に垂直に発生する画像の輪郭部に位置
しないと判定した場合は、前記状態確率判定手段は、前
記注目画素の2値化データの状態確率を不定とし、前記
しきい値選択手段は、前記第1の値を選択することを特
徴とする2値化装置。
14. The binarizing apparatus according to claim 1, wherein the image is scanned line by line in a main scanning direction and line-sequentially in a sub scanning direction, and the binarized data is binary. In the case where a first value that is the maximum density level and a second value that is the minimum density level can be taken as values, the image area determination means determines the feature of the image in the target pixel as the target pixel. Determines whether or not it is located in the contour portion of an image that occurs perpendicularly to the main scanning direction and / or the sub-scanning direction, and the threshold value selecting means, among the plurality of threshold values,
A first threshold value that is a value between the first value and a second value, and a second threshold value that is a value between the first value and the first threshold value And a third threshold value that is a value between the second value and the first threshold value, and the image area determination unit determines that the pixel of interest is in the main scanning direction and / or
Alternatively, when it is determined that the pixel is located at the contour portion of the image that is generated perpendicularly to the sub-scanning direction, the state probability determining unit is a binary pixel of the peripheral pixels that are arranged in the main scanning direction with the pixel of interest sandwiched therebetween. The converted data and the multi-valued image data are used to detect whether or not the pixel of interest is located in the contour portion of the image generated in the direction perpendicular to the main scanning direction, and the pixel of interest is perpendicular to the main scanning direction. When it is detected that the pixel is not located in the contour portion of the image generated in the above, the state probability determination unit is a pixel which is arranged in the main scanning direction together with the target pixel among the pixels adjacent to the target pixel, The binarized data of the binarized pixel is defined as the state probability of the binarized data of the pixel of interest, and the threshold value selecting means selects the second value or the third value. , The target pixel is in the main scanning direction When the state probability determining unit detects that the pixel is located at the contour portion of the image generated in the vertical direction, the state probability determining unit determines the pixel of interest and the pixel lined up in the predetermined direction with the pixel of interest sandwiched therebetween. When the states of the binarized data of a predetermined number of pixels that are adjacent to each other and are continuously arranged in the predetermined direction are detected, and that the binarized data of the predetermined number of pixels are all the same value The state probability determining means determines the state probability of the binarized data of the target pixel to be indeterminate, assuming that the target pixel is located at a corner of the image, and the threshold value selecting means sets the first value to the first value. When it is detected that the binarized data of the predetermined number of pixels are not partially the same value, the state probability determination means determines that the pixel of interest is an image generated only in a direction perpendicular to the main scanning direction. As noted in the above Among the pixels adjacent to the pixel, a pixel located in the same contour as the target pixel,
The binarized data of a pixel that has already been binarized is defined as the state probability of the binarized data of the pixel of interest, and the threshold selection means selects the second value or the third value. Then, the image area determination unit determines that the target pixel is in the main scanning direction and / or
Alternatively, when it is determined that the state probability of the binarized data of the pixel of interest is indefinite, the state probability determining unit determines that the state probability is not fixed at the contour portion of the image generated perpendicularly to the sub-scanning direction. Is a binarization device, wherein the first value is selected.
【請求項15】 原稿に記載された画像を読取って、デ
ータとして出力する読取装置において、請求項1乃至1
4のうちの任意の一つに記載の2値化装置を備えたこと
を特徴とする読取装置。
15. A reading device for reading an image written on a document and outputting it as data, according to claim 1.
4. A reading device comprising the binarizing device according to any one of 4.
【請求項16】 原稿に記載された画像を読取って、デ
ータとして回線を介して送信するファクシミリ装置にお
いて、請求項1乃至14のうちの任意の一つに記載の2
値化装置を備えたことを特徴とするファクシミリ装置。
16. A facsimile apparatus for reading an image written on a manuscript and transmitting it as data via a line, according to any one of claims 1 to 14.
A facsimile machine characterized by comprising a digitizing device.
【請求項17】 原稿に記載された画像を読取って、デ
ータを出力する読取装置と、該データを入力し回線を介
して送信する送信装置と、から成るファクシミリ装置に
おいて、前記読取装置として、請求項15に記載の読取
装置を用いたことを特徴とするファクシミリ装置。
17. A facsimile device comprising a reading device for reading an image written on a manuscript and outputting data, and a transmitting device for inputting the data and transmitting the data via a line, wherein the reading device is a device. A facsimile apparatus using the reading apparatus according to Item 15.
JP5079282A 1993-04-06 1993-04-06 Thresholding device and reader and facsimile equipment provided with the device Pending JPH06292015A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5079282A JPH06292015A (en) 1993-04-06 1993-04-06 Thresholding device and reader and facsimile equipment provided with the device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5079282A JPH06292015A (en) 1993-04-06 1993-04-06 Thresholding device and reader and facsimile equipment provided with the device

Publications (1)

Publication Number Publication Date
JPH06292015A true JPH06292015A (en) 1994-10-18

Family

ID=13685515

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5079282A Pending JPH06292015A (en) 1993-04-06 1993-04-06 Thresholding device and reader and facsimile equipment provided with the device

Country Status (1)

Country Link
JP (1) JPH06292015A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002502048A (en) * 1998-01-30 2002-01-22 レオポルト・コスタール・ゲゼルシヤフト・ミト・ベシユレンクテル・ハフツング・ウント・コンパニー・コマンデイトゲゼルシヤフト Method and apparatus for detecting objects above a light-transmitting window glass

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002502048A (en) * 1998-01-30 2002-01-22 レオポルト・コスタール・ゲゼルシヤフト・ミト・ベシユレンクテル・ハフツング・ウント・コンパニー・コマンデイトゲゼルシヤフト Method and apparatus for detecting objects above a light-transmitting window glass

Similar Documents

Publication Publication Date Title
US6324309B1 (en) Image processing apparatus
JP4303818B2 (en) Image coding method and apparatus
JP2004173276A (en) Decision surface preparation method, image data pixel classifying method, and collar document classifying method
JP3335830B2 (en) Image processing device
EP0870276B1 (en) A method for transforming a gray-level image into a black-and-white image
US20030189729A1 (en) Method and apparatus for converting brightness level of image
JPH06292015A (en) Thresholding device and reader and facsimile equipment provided with the device
JPH10313407A (en) Image processing device
JP2972500B2 (en) Resolution adaptive control device
EP1416718B1 (en) Transforming an input image to produce an output image
US6411735B1 (en) Method and apparatus for distinguishing between noisy continuous tone document types and other document types to maintain reliable image segmentation
JPH06284281A (en) Picture processor
JP2851724B2 (en) Image processing device
JP4324532B2 (en) Image processing apparatus and storage medium
JPH08298589A (en) Image processing device for mixed images of photos and documents
KR930007980B1 (en) Halftone Image Representation by Error Diffusion
JPH06103399A (en) Image processing device
JP4203636B2 (en) Image processing method and image input apparatus
KR0159418B1 (en) Transmission Quality Improvement Apparatus and Method in Facsimile System
JP2910926B2 (en) Optimal binarization method
JPH08221515A (en) Image processing device
JP5434799B2 (en) Image coding apparatus, image coding method, and image coding program
JPH0490680A (en) Picture binarizing method
JPH06103928B2 (en) Image data encoding method
JPH07170393A (en) Image processing device