JP2001045284A - Image processor - Google Patents

Image processor

Info

Publication number
JP2001045284A
JP2001045284A JP11214479A JP21447999A JP2001045284A JP 2001045284 A JP2001045284 A JP 2001045284A JP 11214479 A JP11214479 A JP 11214479A JP 21447999 A JP21447999 A JP 21447999A JP 2001045284 A JP2001045284 A JP 2001045284A
Authority
JP
Japan
Prior art keywords
matrix
image
variation
quality mode
threshold 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
JP11214479A
Other languages
Japanese (ja)
Inventor
Masanori Oyama
真紀 大山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP11214479A priority Critical patent/JP2001045284A/en
Publication of JP2001045284A publication Critical patent/JP2001045284A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To obtain an image processor capable of obtaining a fine image even in the case of a character image, a photographing image or a mixed image. SOLUTION: The image processor is provided with plural matrixes 205 to 207 arraying variable thresholds including a fixed threshold for multileveling and a previously determined threshold variation based on the fixed threshold and having matrix size corresponding to the picture quality mode of an input picture signal, a suitable matrix is selected in accordance with the picture quality mode and the input picture signal is multileveled by using the thresholds in the selected matrix.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は画像処理装置に関
し、詳細にはスキャナで読み取った多値画像信号に対し
て誤差拡散処理を行い、多値の画像信号に変換する画像
処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, and more particularly, to an image processing apparatus that performs an error diffusion process on a multi-valued image signal read by a scanner and converts the signal into a multi-valued image signal.

【0002】[0002]

【従来の技術】従来よりスキャナで読み取った多値画像
信号に対して2値あるいは多値の画像信号に変換する方
法として誤差拡散法が用いられている。この誤差拡散法
は図8に示すように多値の入力画像信号を多値化する際
に発生した誤差分をその後の多値化されるべき画素に重
み付けをして周辺画素に拡散分配してやり、全体として
の誤差を小さくし、濃淡情報を保存し階調再現をしよう
とするものである。逆に言えば、図9に示すように注目
画素が多値化される際には、その画素の入力画素信号を
すでに多値化された周辺の画素からの重み付き誤差分で
補正した後に多値化するものである。既に多値化された
周辺の画素のマトリクスに重み付け係数を付したものを
ウェイトマトリクスと呼ぶ。図9の*印を付した画素は
注目画素である。
2. Description of the Related Art Conventionally, an error diffusion method has been used as a method of converting a multi-level image signal read by a scanner into a binary or multi-level image signal. In this error diffusion method, as shown in FIG. 8, an error generated when a multi-valued input image signal is multi-valued is weighted to a subsequent pixel to be multi-valued and diffused and distributed to peripheral pixels. The purpose is to reduce the error as a whole, preserve the density information, and reproduce the gradation. Conversely, when the target pixel is multi-valued as shown in FIG. 9, the input pixel signal of that pixel is corrected with the weighted error from the neighboring pixels that have already been multi-valued, and then multi-valued. It is something to be valued. A matrix obtained by assigning a weighting coefficient to a matrix of peripheral pixels that have already been multivalued is called a weight matrix. The pixel marked with * in FIG. 9 is the pixel of interest.

【0003】図10は誤差拡散の2値化処理回路の構成
を示すブロック図である。同図を用いて以下に誤差拡散
法について説明する。ここで入力画像における注目画素
の座標を(x,y)とするとき、スキャナ等の入力装置か
ら読み取られた多値入力画像信号Ixyは、補正回路1
001において画像補正信号Sxyにより補正処理さ
れ、補正画像信号I’xy(=Ixy+Sxy)として
出力される。補正画像処理された補正画像信号I’xy
は2値化回路1002に供給される。2値化回路100
2は補正画像処理信号I’xyと2値化のしきい値の比
較処理を行い、補正画像信号I’xyが2値化のしきい
値より大きければ2値化画像信号Rxyとして「1」黒
画素を出力し、小さければ「0」2値化画像信号Rxy
として白画素を出力する。一方、補正回路1001から
の補正画像信号I’xyと、2値化回路1002からの
2値化画像信号Rxyとは2値化誤差算出回路1003
に供給される。この2値化誤差算出回路1003では、
I’xyとRxyの差分をとることにより、2値化誤差
Exy(=I’xy−Rxy)を算出し、これを2値化
誤差信号として誤差メモリ1004に格納する。ただ
し、ここでは2値化画像信号が「0」のときは「0」と
し、「1」の時は「255」として算出を行う。ウェイ
トマトリクスにおける「*」は注目画素の位置を示す。
画像補正信号Sxyは、誤差メモリ1004に格納した
誤差にウェイトマトリクスで重み付けしたものとの和を
とることで算出する。注目画素に対する画像補正信号S
xyは次式により表される。i,jはウェイトマトリク
ス内の座標を示し、Wijは重み付け係数を示す。
FIG. 10 is a block diagram showing a configuration of an error diffusion binarization processing circuit. The error diffusion method will be described below with reference to FIG. Here, when the coordinates of the target pixel in the input image are (x, y), the multi-level input image signal Ixy read from the input device such as the scanner is output from the correction circuit 1.
In step 001, the image is corrected by the image correction signal Sxy and output as a corrected image signal I'xy (= Ixy + Sxy). Corrected image signal I'xy subjected to corrected image processing
Is supplied to the binarization circuit 1002. Binarization circuit 100
2 performs a comparison process between the corrected image processing signal I′xy and the threshold value for binarization, and if the corrected image signal I′xy is larger than the threshold value for binarization, “1” is set as the binary image signal Rxy. A black pixel is output, and if it is smaller, “0” binary image signal Rxy
To output a white pixel. On the other hand, the corrected image signal I′xy from the correction circuit 1001 and the binarized image signal Rxy from the binarization circuit 1002 are different from the binarization error calculation circuit 1003.
Supplied to In the binarization error calculation circuit 1003,
By calculating a difference between I′xy and Rxy, a binarization error Exy (= I′xy−Rxy) is calculated and stored in the error memory 1004 as a binarization error signal. Here, when the binary image signal is “0”, the calculation is performed as “0”, and when the binary image signal is “1”, the calculation is performed as “255”. “*” In the weight matrix indicates the position of the pixel of interest.
The image correction signal Sxy is calculated by taking the sum of the error stored in the error memory 1004 and the result obtained by weighting with the weight matrix. Image correction signal S for target pixel
xy is represented by the following equation. i and j indicate coordinates in the weight matrix, and Wij indicates a weighting coefficient.

【0004】次に、画像補正信号Sxyの求め方を図1
1に示す。 Sxy=ΣEx+i−1,y+j−1×Wij
Next, a method of obtaining the image correction signal Sxy is shown in FIG.
It is shown in FIG. Sxy = ΣEx + i−1, y + j−1 × Wij

【0005】補正後の画像データI’xyは、Ixyと
Sxyの和を求めることより算出するので、誤差拡散法
を数式で表すと、次式のようになる。
Since the corrected image data I'xy is calculated by calculating the sum of Ixy and Sxy, the error diffusion method is expressed by the following equation.

【0006】I’xy=Ixy+ΣEx+i−1,y+
j−1×Wij
I′xy = Ixy + ΣEx + i−1, y +
j-1 × Wij

【0007】この誤差拡散方法を用いた2値化または多
値化処理回路では、画素の集合として優れた階調再現が
得られると同時に解像度の点でもきわめて優れている。
更に、組織的ディザ法等にみられるような、入力画像が
網点画像の場合の網点とディザマトリクスパターンとの
干渉によるモアレの発生もない。
In the binarization or multi-level processing circuit using this error diffusion method, excellent gradation reproduction can be obtained as a set of pixels, and the resolution is extremely excellent.
Further, there is no occurrence of moire due to interference between a halftone dot and a dither matrix pattern when the input image is a halftone image as seen in the systematic dither method or the like.

【0008】また、特公平6−101788号公報(以
下従来例1と称す)には、固定しきい値をn×nとし、
この固定しきい値を中心しきい値として他のディザしき
い値をn×n配列したN×Nのディザマトリクスを多値
誤差拡散方法の変動しきい値とする画像処理方式が開示
されている。更に、特開平9−102869号公報(以
下従来例2と称す)には、しきい値を可変制御するしき
い値制御手段を設け、しきい値を得る画像処理方式が開
示されている。
In Japanese Patent Publication No. 6-101788 (hereinafter referred to as Conventional Example 1), a fixed threshold value is set to n × n.
An image processing method is disclosed in which an N × N dither matrix in which the other threshold values are arranged in an n × n arrangement with the fixed threshold value as a central threshold value is used as a variation threshold value in a multilevel error diffusion method. . Further, Japanese Patent Application Laid-Open No. Hei 9-102869 (hereinafter referred to as Conventional Example 2) discloses an image processing method in which a threshold control means for variably controlling a threshold is provided to obtain a threshold.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、多値の
入力画像信号を誤差拡散処理により多値の画像信号に変
換するには、誤差拡散領域の構造やウェイトマトリクス
係数によって、独自のテクスチャや擬似輪郭が発生して
画像劣化が生じるという問題点があった。
However, in order to convert a multi-valued input image signal into a multi-valued image signal by error diffusion processing, a unique texture or pseudo contour is required depending on the structure of the error diffusion area and weight matrix coefficients. There is a problem that image deterioration occurs due to the occurrence of the image.

【0010】また、上記従来例1,2には、しきい値を
変動させる方法が提示されてテクスチャや擬似輪郭を消
すことができるが、文字や細線についての再現性が悪く
なるという問題点がある。
Further, in the above-mentioned conventional examples 1 and 2, a method of changing the threshold value is presented to eliminate the texture and the false contour, but there is a problem that the reproducibility of characters and thin lines is deteriorated. is there.

【0011】本発明はこれらの問題点を解決するためも
のであり、入力画像信号の画質モードに対応して、ある
いはあらゆるユーザのニーズに対応できるよう、操作者
が操作部より任意の画質モードを選択することにより、
変動しきい値のマトリクスサイズ、変動量、マトリクス
配置が選択され、文字や写真、また混合画像に対しても
良好な画像を得ることができる画像処理装置を提供する
ことを目的とする。
An object of the present invention is to solve these problems. An operator can select an arbitrary image quality mode from an operation unit so as to correspond to the image quality mode of an input image signal or to meet the needs of all users. By choosing
An object of the present invention is to provide an image processing apparatus in which a matrix size, a variation amount, and a matrix arrangement of a variation threshold are selected, and a good image can be obtained for a character, a photograph, or a mixed image.

【0012】[0012]

【課題を解決するための手段】前記問題点を解決するた
めに、原稿上の画像を光学的に読み取って得られた多値
画像信号に対して誤差拡散処理を行って多値化する、本
発明に係る画像処理装置は、多値化するための固定のし
きい値及び当該固定のしきい値を基準とする予め定めた
しきい値変動量を含む変動しきい値が配列され、入力画
像信号の画質モードに対応させたマトリクスサイズのマ
トリクスを複数設け、画質モードに応じて適切なマトリ
クスを選択し、選択したマトリクス内のしきい値を用い
て入力画像信号の多値化を行う。よって、テクスチャや
擬似輪郭を消すことができ、良好な画像を得ることがで
きる。
In order to solve the above-mentioned problem, a multi-valued image signal obtained by optically reading an image on a document is subjected to error diffusion processing to obtain a multi-valued image signal. The image processing apparatus according to the present invention is arranged such that a fixed threshold value for multi-leveling and a variation threshold value including a predetermined threshold variation amount based on the fixed threshold value are arranged, A plurality of matrices having a matrix size corresponding to the image quality mode of the signal are provided, an appropriate matrix is selected according to the image quality mode, and multi-leveling of the input image signal is performed using threshold values in the selected matrix. Therefore, textures and false contours can be eliminated, and a good image can be obtained.

【0013】また、操作者が任意の画質モードを選択す
ることにより、画質モードに適した変動しきい値のマト
リクスサイズが選択され、テクスチャや擬似輪郭を消す
ことができ、かつ文字優先原稿においては、解像力を重
視し、文字をきちんとだすように、また写真優先原稿に
おいては、階調性を重視しなめらかな画像を得ることが
できる。
Further, when an operator selects an arbitrary image quality mode, a matrix size of a variation threshold suitable for the image quality mode is selected, textures and false contours can be erased, and in a character priority document, It is possible to obtain a smooth image with emphasis on resolution and proper text output, and on a photograph priority document with emphasis on gradation.

【0014】更に、操作者が任意の画質モードを選択す
ることにより、画質モードに適した変動量としきい値の
配置が選択され、テクスチャや擬似輪郭を消すことがで
き、かつ文字優先原稿においては、解像力を重視し、文
字をきちんとだすように、また写真優先原稿において
は、階調性を重視し、なめらかな画像を得ることができ
る。
Further, when the operator selects an arbitrary image quality mode, a variation amount and a threshold value arrangement suitable for the image quality mode are selected, textures and false contours can be erased, and in a character priority document, It is possible to obtain a smooth image with emphasis on resolution and proper characters, and on a photograph priority document with emphasis on gradation.

【0015】[0015]

【発明の実施の形態】本発明の画像処理装置は、多値化
するための固定のしきい値及び当該固定のしきい値を基
準とする予め定めたしきい値変動量を含む変動しきい値
が配列され、入力画像信号の画質モードに対応させたマ
トリクスサイズのマトリクスを複数設け、画質モードに
応じて適切なマトリクスを選択し、選択したマトリクス
内のしきい値を用いて入力画像信号の多値化を行う。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An image processing apparatus according to the present invention has a fixed threshold value for multi-value processing and a variable threshold value including a predetermined threshold value variation based on the fixed threshold value. Values are arranged, a plurality of matrices having a matrix size corresponding to the image quality mode of the input image signal are provided, an appropriate matrix is selected according to the image quality mode, and the threshold of the selected matrix is used to input the image signal. Perform multi-value conversion.

【0016】[0016]

【実施例】図1は本発明の一実施例の構成を示すブロッ
ク図である。同図において、元画像における注目画素の
座標を(x,y)とするとき、スキャナで読み取った多
値入力画像信号Ixyを補正回路101に供給する。補
正回路101は、多値入力画像信号Ixyと画像補正信
号Sxyを加算することによって補正画像処理信号I’
xyを算出する。画像補正信号Sxyは既に多値化され
誤差メモリ104に格納されている周辺の画素A〜D
(「*」を注目画素とする)の誤差分にウェイトマトリ
クス105を乗じて算出される。例えば、周辺画素A〜
Dに対してのウェイトマトリクス105の係数を全て1
/4とすると、画像補正信号SxyはSxy=A×1/
4+B×1/4+C×1/4+D×1/4となる。そし
て、補正した補正画像信号I’xyを多値化回路102
に供給する。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In the figure, when the coordinates of the target pixel in the original image are (x, y), the multi-level input image signal Ixy read by the scanner is supplied to the correction circuit 101. The correction circuit 101 adds the multi-level input image signal Ixy and the image correction signal Sxy to generate a corrected image processing signal I ′.
xy is calculated. The image correction signal Sxy has already been multi-valued and stored in the error memory 104 in the peripheral pixels A to D.
It is calculated by multiplying a weight matrix 105 by an error (“*” is a target pixel). For example, the peripheral pixels A to
All coefficients of weight matrix 105 for D are 1
/ 4, the image correction signal Sxy becomes Sxy = A × 1 /
4 + B × 1 / + C × 1 / + D × 1 /. Then, the corrected image signal I′xy that has been corrected is
To supply.

【0017】ここで多値化回路102の構成を図2に示
し、同図を用いて一例として4値化の動作を説明する。
先ず、補正画像信号I’xyがそれぞれ比較器201,
202,203の一方の各入力端に供給される。比較器
201の他方の入力端には、変動マトリクス決定回路2
05より予め決められた変動マトリクス205のしきい
値Th1が供給される。また、比較器202の他方の入
力端には、変動マトリクス決定回路205より予め決め
られた変動マトリクス206のしきい値Th2が供給さ
れる。更に、比較器203の他方の入力端には、変動マ
トリクス決定回路205より予め決められた変動マトリ
クス207のしきい値Th3が供給される。各比較器2
01,202,203における比較結果として、信号
A、B、Cが出力される。なお、変動マトリクス決定回
路については後述する。
FIG. 2 shows the configuration of the multi-level conversion circuit 102, and the operation of quaternary conversion will be described as an example with reference to FIG.
First, the corrected image signal I′xy is output from the comparator 201,
The input is supplied to one of the input terminals 202 and 203. The other input terminal of the comparator 201 has a variation matrix determination circuit 2
05, a predetermined threshold value Th1 of the variation matrix 205 is supplied. The other input terminal of the comparator 202 is supplied with a predetermined threshold value Th2 of the variation matrix 206 from the variation matrix determination circuit 205. Further, the other input terminal of the comparator 203 is supplied with a predetermined threshold value Th3 of the variation matrix 207 from the variation matrix determination circuit 205. Each comparator 2
Signals A, B, and C are output as comparison results in 01, 202, and 203. The variation matrix determination circuit will be described later.

【0018】信号A、B、Cは、補正画像信号I’xy
がしきい値Th1より小さければA=B=C=“0”を
出力し、しきい値Th1以上しきい値Th2より小さけ
ればA=“1”、B=C=“0”を出力し、しきい値T
h2以上しきい値Th2より小さければA=B=
“1”、V=“0”を出力し、しきい値Th3以上なら
ばA=B=C=“1”を出力する。セレクタ208には
信号A,B,Cが入力され、多値化出力画像信号Rxy
を出力する。例えば、A、B、Cが全て“0”の時は0
を、“1”“0”“0”の時は1を、“1”“1”
“0”の時は2を、“1”“1”“1”の時は3を出力
する。
Signals A, B, and C are corrected image signals I'xy
Is smaller than the threshold Th1, A = B = C = “0” is output, and if smaller than the threshold Th1 and smaller than the threshold Th2, A = “1” and B = C = “0” are output, Threshold T
If h2 or more and less than threshold value Th2, A = B =
"1" and V = "0" are output. If the threshold value is equal to or more than Th3, A = B = C = "1" is output. The signals A, B, and C are input to the selector 208, and the multi-level output image signal Rxy
Is output. For example, when A, B, and C are all “0”, 0
, “1”, “0”, “0”, 1; “1” “1”
When it is "0", it outputs 2, and when it is "1", "1", or "1", it outputs 3.

【0019】これらをまとめたものを表1に示す。Table 1 summarizes these.

【0020】[0020]

【表1】 [Table 1]

【0021】そして、この表に示す例による4値化出力
画像信号Rxyと、補正画像信号I’xyを図1の誤差
算出回路103に供給する。誤差算出回路103は、補
正画像信号I’xyと4値化出力画像信号Rxyの差を
算出して4値化誤差信号Exyを出力する。この時、4
値化出力画像信号Rxyが“0”のときは値を“0”、
“1”のときは“85”、“2”のときは“170”、
“3”のときは“255”として算出を行う。次に、4
値化誤差信号Exyを誤差メモリの注目画素「*」の場
所に格納する。格納された誤差分は、別の周辺画素の計
算を行う際に拡散して使われる。
Then, the quaternary output image signal Rxy and the corrected image signal I'xy according to the example shown in this table are supplied to the error calculation circuit 103 in FIG. The error calculation circuit 103 calculates a difference between the corrected image signal I′xy and the quaternary output image signal Rxy, and outputs a quaternary error signal Exy. At this time, 4
When the value output image signal Rxy is “0”, the value is “0”,
"1" is "85", "2" is "170",
In the case of "3", the calculation is performed as "255". Next, 4
The digitized error signal Exy is stored in the error memory at the location of the target pixel “*”. The stored error is diffused and used when calculating another peripheral pixel.

【0022】次に、本実施例における変動しきい値につ
いて説明する。本発明では、変動マトリクス決定回路よ
り変動マトリクスを決定する。変動マトリクスはM×N
サイズとする。変動マトリクスを決定するまでを、図3
のブロック図を用いて説明する。
Next, the fluctuation threshold value in this embodiment will be described. In the present invention, the variation matrix is determined by the variation matrix determination circuit. The variation matrix is M × N
Size. Until the variation matrix is determined, FIG.
This will be described with reference to the block diagram of FIG.

【0023】先ず、操作者が操作部301より文字モー
ド、文/写モード及び写真モードを含む画質モード30
2を選択することにより変動マトリクスサイズ304が
決定する。例として画質モードとマトリクスサイズの対
応表を表2に示す。
First, the operator operates the operation unit 301 to set the image quality mode 30 including the character mode, the sentence / photography mode, and the photograph mode.
By selecting 2, the variation matrix size 304 is determined. As an example, Table 2 shows a correspondence table between the image quality mode and the matrix size.

【0024】[0024]

【表2】 [Table 2]

【0025】表2に示すように、例えば、操作者が操作
部301より、文字モードを選択すると、2×2サイズ
が選択される。文/写モードを選択すると4×4サイ
ズ、写真モードが選択されると8×8サイズが選択され
る。文字優先原稿においては、マトリクスサイズが大き
くなると解像力や細線トギレが悪くなるため、小さいマ
トリクスサイズを設定している。一方、写真優先原稿に
おいては、マトリクスサイズを大きくして階調性を優先
している。
As shown in Table 2, for example, when the operator selects the character mode from the operation unit 301, the 2 × 2 size is selected. When the text / photograph mode is selected, the 4 × 4 size is selected, and when the photograph mode is selected, the 8 × 8 size is selected. In a character-priority original, a smaller matrix size is set because the larger the matrix size, the lower the resolution and fine line bleeding. On the other hand, in a photograph priority document, the matrix size is increased to give priority to gradation.

【0026】図4はマトリクスサイズ決定の処理手順を
示すフローチャートである。画質モード(ステップS4
01,S403,S405)により、マトリクスサイズ
を可変している(ステップS402,S404,S40
6)が、画質モードによってハードを別にもつ必要はな
い。この一例の場合、写真モードでは8×8サイズであ
るので、8×8サイズのハードを持っておく。文字モー
ドの時は2×2サイズを並ベることで共通のハードで実
現できる。マトリクスサイズが決定すると、次にしきい
値変動量、マトリクスの配置を決定する。例として画質
モードと変動量、マトリクス配置の対応表を表3に示
す。
FIG. 4 is a flowchart showing the processing procedure for determining the matrix size. Image quality mode (step S4
01, S403, S405), the matrix size is changed (steps S402, S404, S40).
6), it is not necessary to have separate hardware depending on the image quality mode. In the case of this example, since the size is 8 × 8 in the photo mode, hardware of 8 × 8 size is provided. In the character mode, it can be realized by common hardware by arranging 2 × 2 sizes. After the matrix size is determined, the threshold variation amount and the arrangement of the matrix are determined. As an example, Table 3 shows a correspondence table between the image quality mode, the variation amount, and the matrix arrangement.

【0027】[0027]

【表3】 [Table 3]

【0028】表3に示すように、例えば、操作者が操作
部より文字モードを選択すると変動量は±8が選択され
る。文/写モードを選択すると変動量は±16、写真モ
ードを選択すると変動量は±32が選択される。変動量
を大きくすると誤差拡散処理の問題点として挙げられる
テクスチャを目立たなくすることができ、モワレに良好
な結果が得られるが、変動量を大きくしすぎると、解像
力が悪くなり文字に悪影響を与える。したがって、文字
優先原稿と写真優先原稿で変動量の大きさを変えてい
る。ここでいう変動量とは、固定しきい値を基準とする
変動量を意味する。4値固定しきい値は、4値誤差拡散
の出力レベルを0,85,170,255とすると、
As shown in Table 3, for example, when the operator selects the character mode from the operation section, the variation is selected to be ± 8. When the text / photograph mode is selected, the variation is ± 16, and when the photograph mode is selected, the variation is ± 32. Increasing the amount of variation can make the texture, which is a problem of the error diffusion process, less noticeable, and gives good results in moiré.However, if the amount of variation is too large, the resolving power deteriorates and characters are adversely affected. . Therefore, the magnitude of the variation is changed between the character priority document and the photograph priority document. The variation here means a variation based on a fixed threshold. Assuming that the output level of the quaternary error diffusion is 0, 85, 170, 255,

【0029】Th1(0+85)÷2=43 Th2(85+170)÷2=128 Th3(170+255)÷2=213Th1 (0 + 85) ÷ 2 = 43 Th2 (85 + 170) ÷ 2 = 128 Th3 (170 + 255) ÷ 2 = 213

【0030】となる。固定しきい値(Th1=43、T
h2=128、Th3=213)を基準として変動量よ
り変動させる。文字モードでは、変動量が±8であるの
でTh1=35〜51、Th2=120〜136、Th
3=205〜221となる。文/写モードでは、変動量
が±16であるのでTh1=27〜59、Th2=11
2〜128、Th3=197〜229となる。写真モー
ドでは、変動量が±32であるのでTh1=11〜7
5、Th2=96〜160、Th3=181〜245と
なる。
## EQU1 ## Fixed threshold (Th1 = 43, T
h2 = 128, Th3 = 213). In the character mode, since the fluctuation amount is ± 8, Th1 = 35 to 51, Th2 = 120 to 136, and Th2
3 = 205-221. In the sentence / sharpening mode, the variation is ± 16, so that Th1 = 27 to 59 and Th2 = 11
2 to 128 and Th3 = 197 to 229. In the photo mode, since the fluctuation amount is ± 32, Th1 = 11 to 7
5, Th2 = 96 to 160, and Th3 = 181 to 245.

【0031】次に、マトリクス配置について説明する。
画質モードが文字モードの時、マトリクスサイズを2×
2とする時のマトリクス配置の例を図5に、画質モード
が文/写モードの時、マトリクスサイズを4×4とする
時のマトリクス配置の例を図6に、画質モードが写真モ
ードの時、マトリクスサイズを8×8とする時のマトリ
クス配置の例を図7に示す。
Next, the matrix arrangement will be described.
When the image quality mode is the character mode, the matrix size is 2 ×
FIG. 5 shows an example of a matrix arrangement when the image quality mode is set to 2, and FIG. 6 shows an example of a matrix arrangement when the matrix size is set to 4 × 4 when the image quality mode is the text / photograph mode. FIG. 7 shows an example of a matrix arrangement when the matrix size is set to 8 × 8.

【0032】文字モード変動しきい値マトリクスの一例
である図5の(a)は、全てのしきい値が違うマトリク
ス配置である。図5の(b)は、2画素は固定しきい値
とし、残り2画素を変動させている。この例では斜め方
向に固定しきい値(図中斜線で塗りつぶして示す)を、
反対斜め方向に変動しきい値を配置している。
FIG. 5A, which is an example of the character mode variation threshold matrix, has a matrix arrangement in which all thresholds are different. In FIG. 5B, two pixels have a fixed threshold, and the remaining two pixels are varied. In this example, the fixed threshold value (shown shaded in the figure) is set diagonally.
The fluctuation threshold is arranged in the opposite oblique direction.

【0033】文/写モード変動しきい値マトリクスの一
例である図6の(a)は、6画素を固定しきい値(図中
斜線で塗りつぶして示す)として残り10画素を変動さ
せている。図6の(b)は全てのしきい値が違うマトリ
クス配置にしている。
FIG. 6A, which is an example of the sentence / sharpening mode variation threshold matrix, has six pixels as fixed thresholds (shown shaded in the figure) and the remaining ten pixels are varied. FIG. 6B shows a matrix arrangement in which all threshold values are different.

【0034】写真モード変動しきい値マトリクスの一例
である図7の(a),(b)は全てのしきい値が違うマ
トリクス配置にしている。
FIGS. 7A and 7B, which are examples of the photo mode variation threshold matrix, have a matrix arrangement in which all thresholds are different.

【0035】マトリクス配置は、全ての画素のしきい値
を変動させると、階調性はよくなるが、解像力や文字部
に悪影響を与える。したがって、文字優先原稿のマトリ
クス配置には固定しきい値と変動しきい値を組み合わせ
たものを用い、写真優先原稿には全ての画素を変動させ
たものを用いる。
In the matrix arrangement, if the threshold values of all the pixels are changed, the gradation is improved, but the resolution and the character portion are adversely affected. Therefore, a combination of a fixed threshold value and a variable threshold value is used for the matrix arrangement of the character priority document, and the one in which all the pixels are changed is used for the photograph priority document.

【0036】また、本実施例として、変動マトリクス決
定回路は、操作者が操作部より画質モードを選択するこ
とにより決定できるだけでなく、図3においてサービス
マンが操作部より設定モード303を選択することによ
り決定することができ、機種間のバラつきによる画像へ
の影響をおさえることができる。例えば、機種によって
画像にバンディングがで目立つ場合、バンディングが目
立たないようなマトリクス配置をサービスマンは操作部
より選択する。例えば図7の(b)の変動マトリクスを
選択する。図7の(b)に示すマトリクスは、縦線基調
になっており、バンディングが目立たちにくくなる。
In this embodiment, the variation matrix determining circuit can determine not only the operator selecting the image quality mode from the operation unit, but also the serviceman in FIG. 3 selecting the setting mode 303 from the operation unit. And the influence on the image due to the variation between the models can be suppressed. For example, when banding is conspicuous in an image depending on a model, a serviceman selects a matrix arrangement such that banding is not conspicuous from the operation unit. For example, the variation matrix shown in FIG. 7B is selected. The matrix shown in FIG. 7B is based on vertical lines, and makes banding less noticeable.

【0037】なお、本発明は上記実施例に限定されるも
のではなく、特許請求の範囲内の記載であれば多種の変
形や置換可能であることは言うまでもない。
The present invention is not limited to the above embodiment, and needless to say, various modifications and substitutions can be made within the scope of the claims.

【0038】[0038]

【発明の効果】以上説明したように、原稿上の画像を光
学的に読み取って得られた多値画像信号に対して誤差拡
散処理を行って多値化する、本発明に係る画像処理装置
は、多値化するための固定のしきい値及び当該固定のし
きい値を基準とする予め定めたしきい値変動量を含む変
動しきい値が配列され、入力画像信号の画質モードに対
応させたマトリクスサイズのマトリクスを複数設け、画
質モードに応じて適切なマトリクスを選択し、選択した
マトリクス内のしきい値を用いて入力画像信号の多値化
を行う。よって、テクスチャや擬似輪郭を消すことがで
き、良好な画像を得ることができる。
As described above, the image processing apparatus according to the present invention, which performs an error diffusion process on a multi-valued image signal obtained by optically reading an image on a document and converts the signal into a multi-valued image signal, is provided. A fixed threshold value for multi-leveling and a variation threshold value including a predetermined threshold variation amount based on the fixed threshold value are arranged, and the threshold value is made to correspond to the image quality mode of the input image signal. A plurality of matrices having different matrix sizes are provided, an appropriate matrix is selected according to the image quality mode, and the input image signal is multi-valued using threshold values in the selected matrix. Therefore, textures and false contours can be eliminated, and a good image can be obtained.

【0039】また、操作者が任意の画質モードを選択す
ることにより、画質モードに適した変動しきい値のマト
リクスサイズが選択され、テクスチャや擬似輪郭を消す
ことができ、かつ文字優先原稿においては、解像力を重
視し、文字をきちんと出すように、また写真優先原稿に
おいては、階調性を重視しなめらかな画像を得ることが
できる。
Further, when the operator selects an arbitrary image quality mode, a matrix size of a variation threshold suitable for the image quality mode is selected, textures and false contours can be erased, and in a character priority document, Thus, it is possible to obtain a smooth image by emphasizing the resolving power so as to properly output characters, and in a photograph priority document, by emphasizing the gradation.

【0040】更に、操作者が任意の画質モードを選択す
ることにより、画質モードに適した変動量としきい値の
配置が選択され、テクスチャや擬似輪郭を消すことがで
き、かつ文字優先原稿においては、解像力を重視し、文
字をきちんとだすように、また写真優先原稿において
は、階調性を重視し、なめらかな画像を得ることができ
る。
Further, when the operator selects an arbitrary image quality mode, a variation amount and an arrangement of threshold values suitable for the image quality mode are selected, textures and false contours can be erased, and in a character-priority original, It is possible to obtain a smooth image with emphasis on resolution and proper characters, and on a photograph priority document with emphasis on gradation.

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】本実施例における多値化回路の構成を示すブロ
ック図である。
FIG. 2 is a block diagram illustrating a configuration of a multi-level circuit according to the embodiment.

【図3】本実施例における変動マトリクスを決定するま
でのブロック図である。
FIG. 3 is a block diagram up to the determination of a variation matrix in the embodiment.

【図4】本実施例における変動マトリクス決定手順を示
すフローチャートである。
FIG. 4 is a flowchart showing a variation matrix determination procedure in the embodiment.

【図5】文字モード変動しきい値マトリクスの一例を示
す図である。
FIG. 5 is a diagram showing an example of a character mode change threshold matrix.

【図6】文/写モード変動しきい値マトリクスの一例を
示す図である。
FIG. 6 is a diagram showing an example of a sentence / sharing mode variation threshold matrix.

【図7】写真モード変動しきい値マトリクスの一例を示
す図である。
FIG. 7 is a diagram illustrating an example of a photo mode variation threshold matrix.

【図8】誤差拡散法を説明する図である。FIG. 8 is a diagram illustrating an error diffusion method.

【図9】多値化された入力画素信号の様子を示す図であ
る。
FIG. 9 is a diagram illustrating a state of a multi-valued input pixel signal.

【図10】誤差拡散法による2値化処理回路の構成を示
すブロック図である。
FIG. 10 is a block diagram illustrating a configuration of a binarization processing circuit using an error diffusion method.

【図11】画像補正信号の様子を示す図である。FIG. 11 is a diagram illustrating a state of an image correction signal.

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

101:補正回路、102:多値化回路、103:誤差
算出回路、104:誤差メモリ、105:ウェイトマト
リクス。
101: correction circuit, 102: multi-value conversion circuit, 103: error calculation circuit, 104: error memory, 105: weight matrix.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 原稿上の画像を光学的に読み取って得ら
れた多値画像信号に対して誤差拡散処理を行って多値化
する画像処理装置において、 多値化するための固定のしきい値及び当該固定のしきい
値を基準とする予め定めたしきい値変動量を含む変動し
きい値が配列され、入力画像信号の画質モードに対応さ
せたマトリクスサイズのマトリクスを複数設け、 画質モードに応じて適切なマトリクスを選択し、選択し
たマトリクス内のしきい値を用いて入力画像信号の多値
化を行うことを特徴とする画像処理装置。
An image processing apparatus for performing an error diffusion process on a multi-level image signal obtained by optically reading an image on a document to convert the multi-level image signal into a multi-level image signal. A plurality of matrixes each having a matrix size corresponding to the image quality mode of the input image signal, in which a threshold value and a variation threshold value including a predetermined threshold variation amount based on the fixed threshold value are arranged. An image processing apparatus for selecting an appropriate matrix in accordance with the threshold value and performing multi-level conversion of the input image signal using threshold values in the selected matrix.
【請求項2】 操作者が任意の画質モードを選択し、選
択した画質モードに適したマトリクスサイズが選択さ
れ、選択されたマトリクスサイズのマトリクスが選択さ
れる請求項1記載の画像処理装置。
2. The image processing apparatus according to claim 1, wherein the operator selects an arbitrary image quality mode, selects a matrix size suitable for the selected image quality mode, and selects a matrix of the selected matrix size.
【請求項3】 操作者が任意の画質モードを選択し、選
択した画質モードに適したしきい値変動量とマトリクス
配置に対応したマトリクスが選択される請求項1記載の
画像処理装置。
3. The image processing apparatus according to claim 1, wherein an operator selects an arbitrary image quality mode, and selects a matrix corresponding to a threshold variation amount and a matrix arrangement suitable for the selected image quality mode.
JP11214479A 1999-07-29 1999-07-29 Image processor Pending JP2001045284A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11214479A JP2001045284A (en) 1999-07-29 1999-07-29 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11214479A JP2001045284A (en) 1999-07-29 1999-07-29 Image processor

Publications (1)

Publication Number Publication Date
JP2001045284A true JP2001045284A (en) 2001-02-16

Family

ID=16656406

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11214479A Pending JP2001045284A (en) 1999-07-29 1999-07-29 Image processor

Country Status (1)

Country Link
JP (1) JP2001045284A (en)

Similar Documents

Publication Publication Date Title
US5835687A (en) Methods and apparatus for providing digital halftone images with random error diffusion dithering
US5289294A (en) Image processing apparatus
JPH1056569A (en) Image processing method and device therefor
JP4068181B2 (en) Multilevel gradation pixel value level reduction method and system
US6134355A (en) Binarization using a local average, and using error diffusion
EP0382581A2 (en) Image processing apparatus
US6628427B1 (en) Method and apparatus for image processing which improves performance of gray scale image transformation
JP2001045284A (en) Image processor
US5825509A (en) Image processing device with error-diffusion quantization function
JPH10262151A (en) Half toning method for gray scale image and device having half toning means for gray scale image
JP2003110852A (en) Halftone processing method and processor
JP2703911B2 (en) Image processing device
JPS60136478A (en) Picture processor
JP2000270210A (en) Picture processor
JP3679522B2 (en) Image processing method and apparatus
JP2810396B2 (en) Image processing device
JP2900907B2 (en) Image processing device
JPH01303869A (en) Picture processor
JPH06296235A (en) Facsimile equipment
JP2608404B2 (en) Image processing device
JP3787890B2 (en) Image processing device
JP3285349B2 (en) Dither image enlarger
JP3950871B2 (en) Image processing method and apparatus
JPH07273990A (en) Image processor
JPH08204960A (en) Image processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050121

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070306

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070426

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071016