JPS63234772A - Binarization method - Google Patents

Binarization method

Info

Publication number
JPS63234772A
JPS63234772A JP62069703A JP6970387A JPS63234772A JP S63234772 A JPS63234772 A JP S63234772A JP 62069703 A JP62069703 A JP 62069703A JP 6970387 A JP6970387 A JP 6970387A JP S63234772 A JPS63234772 A JP S63234772A
Authority
JP
Japan
Prior art keywords
binarization
error
density value
density
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
JP62069703A
Other languages
Japanese (ja)
Inventor
Kiyoaki Murai
清昭 村井
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP62069703A priority Critical patent/JPS63234772A/en
Publication of JPS63234772A publication Critical patent/JPS63234772A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the number of an ROM table executing threshold correction and density adjustment by adding restriction to the range of the error or an average error minimum method, simultaneously varying a threshold level, so as to binarize an intermediate tone image and to vary density characteristic. CONSTITUTION:A binarization signal is obtained by finding the error for the correction density value of the binarization density value of a binarization decided picture element near a noticed picture element, multiplying that error by a prescribed weight factor, adding the above result to the actual density value of the noticed picture element, the finding the correction density value of the noticed picture element and by comparing this correction density value with the threshold. As the result of adding the restriction of a prescribed range between the error in the binarization system and the actual density value, the threshold level can be varied and the binarization of the half tone image and the density adjustment can be realized by setting the threshold level at a value out of the range.

Description

【発明の詳細な説明】 l楽土の利用分野〕 本発明は、ファクシミリやイメージスキャナ等に用いら
れる中間調画信号を2値化信号に変換する2値化方法の
うちの平均誤差最小法を利用した画信号の2値化方法に
関する。更に詳しくは、着目画素周辺の砥2値化決定画
素における誤差に所定の重み係数を掛け、これを行目i
il!ii素の実際の濃度値に加算して着目画素の修正
濃度値を求め、該修正濃度値と閾値との比較により2値
化信号を得る2値化方法に閃する。
[Detailed Description of the Invention] Fields of Application of Rakudo] The present invention utilizes the minimum average error method among the binarization methods used in facsimiles, image scanners, etc. to convert halftone image signals into binarized signals. The present invention relates to a method for binarizing image signals. More specifically, the error in the abrasive binarization decision pixel around the pixel of interest is multiplied by a predetermined weighting coefficient, and this is calculated as
Il! A binarization method is proposed in which a corrected density value of the pixel of interest is obtained by adding it to the actual density value of the pixel ii, and a binarized signal is obtained by comparing the corrected density value with a threshold value.

(従来の技術) 平均誤差最小法によれば、中間調を白黒の2レベルで実
質的に表現でき、2値化後の黒ドツトが全体の画素数に
占める割合は2値化前の階調データの濃度平均に等しい
という特徴を任する。
(Prior art) According to the minimum average error method, halftones can be substantially expressed in two levels, black and white, and the proportion of black dots after binarization to the total number of pixels is equal to the gradation level before binarization. The characteristic is that it is equal to the density average of the data.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、従来の2値化方法である平均誤差最小法によれ
ば、2値化画像を出力するCRTやプリンタ等のγ特性
を補正するために、ROMにあらかじめγ特性を記憶さ
せておき、2値化の前にROMをテーブルとしてγ補正
をするという方法が一般に用いられている。また、γ補
正の他に、画像濃度を好みにより調整したいという要望
も大きいため、細かい濃度調整を実現するためにはその
数だけROMテーブルを用意しなければならず、価(δ
との兼ね合いによりテーブルの数が決められていた。そ
こで、本発明はこの問題点を解決しようとするもので、
その目的とするところは、2値化処理と同時に濃度調整
を実現する2値化方法を提供するところにある。
However, according to the minimum average error method, which is a conventional binarization method, in order to correct the γ characteristic of a CRT, printer, etc. that outputs a binarized image, the γ characteristic is stored in ROM in advance, and the 2 A commonly used method is to perform γ correction using a ROM as a table before conversion. In addition to γ correction, there is also a strong desire to adjust the image density according to preference, so in order to achieve fine density adjustment, it is necessary to prepare as many ROM tables as necessary, and the value (δ
The number of tables was decided based on this balance. Therefore, the present invention aims to solve this problem.
The purpose is to provide a binarization method that realizes density adjustment at the same time as binarization processing.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の2値化方法は、平均誤差最小法において誤差の
範囲に制限を付けることと、閾値を可変とすることを特
徴とする。
The binarization method of the present invention is characterized by limiting the error range in the minimum average error method and by making the threshold variable.

〔実施例〕〔Example〕

本発明方法の説明に先たち、平均誤差最小法について述
べる。平均誤着最小法は、n目画素周辺の既2値化決定
画素における2値化濃度値の修正濃度値に対する誤差を
求め、該誤差に所定の重み係数を掛け、これを着口画素
の実際の0度値に加算して着目画素の修正濃度値を求め
、該修正濃度値と閾値との比較により2値化信号を得る
もので、M、R,5chroeder (米ベル研究所
)により1969年3月にIEIEE−3PecLru
mに発表された論文r1magcsLlfrom、co
mPutersJの中で述べられているrLocal 
 5paLial  average s  o f 
 b r i g b L n e s s Jが基本
で亀その後、J、F、Jarvis (米ベル研究所)
らにより1076年5月に、Computergrap
bics  and  image  pr。
Before explaining the method of the present invention, the minimum average error method will be described. The minimum average false landing method calculates the error of the binarized density value of the binarized determined pixel around the n-th pixel with respect to the corrected density value, multiplies the error by a predetermined weighting coefficient, and calculates the error of the actual binarized density value of the destination pixel. The corrected density value of the pixel of interest is obtained by adding it to the 0 degree value of , and the binarized signal is obtained by comparing the corrected density value with a threshold value. IEIEE-3PecLru in March
Paper published in m r1magcsLlfrom, co
rLocal mentioned in mPutersJ
5paLial average sof
b r i g b L n e s s s J is the basic, then J, F, Jarvis (Bell Laboratories, USA)
In May 1076, Computergrap
bics and image pr.

cessingに発表された論文rA  5urve 
y  o f  t e c h n i q u e
 s  r o r  tbe  display  
of  continu。
Paper published in cessing rA 5urve
yo f t e c h n i q u e
s r o r tbe display
of continue.

us  tone  pictures  on  b
ilevel  disPlaysJの中でrmini
mized  average  error  me
thodJという形で改良された方法である。
us tone pictures on b
rmini in ilevel disPlaysJ
mized average error me
This method has been improved in the form of thodJ.

具体的には、7112図に示すように、X方向を主走査
方向、Y方向を副走査方向としたとき、中間調画像の画
素(−、y )の実際の濃度値をJxy(0〜R)、着
目画素(×、 y )の2値化信号をIxyGO或いは
1)−1着目画素(x、 y )の修正濃度値をJ’X
F%誤差をExy=J’xx−R@Ixyとし、重み係
数のマトリクス(A。
Specifically, as shown in Figure 7112, when the X direction is the main scanning direction and the Y direction is the sub-scanning direction, the actual density value of the pixel (-, y) of the halftone image is expressed as Jxy (0 to R ), the binarized signal of the pixel of interest (x, y) is IxyGO, or the corrected density value of the pixel of interest (x, y) of 1)-1 is J'X
Let the F% error be Exy=J'xx-R@Ixy, and use the weighting coefficient matrix (A.

1)を、例えば、 但し、本=着目画素 とすれば、修正濃度値J′Xyは次の式(2)から求め
られる。
1), for example: However, if main = pixel of interest, then the corrected density value J'Xy can be obtained from the following equation (2).

J ’ xy =Jxy +VA+ 7 IIExl−
s +y÷−−8・・・(2) そして、2値化信号1xyは、とのJ’xy(D4ti
に応じて次のように決められる。
J'xy =Jxy +VA+ 7 IIExl-
s +y÷−8...(2) Then, the binary signal 1xy is J'xy(D4ti
It can be determined as follows:

但し、画素(3,3)に至る前では、JIXyの計算が
できないため、この画素までの修正濃度値は例えば、J
’XY=JXVとみなし、(3)式よりIxyを求める
However, before reaching pixel (3, 3), JIXy cannot be calculated, so the corrected density value up to this pixel is, for example, J
' Assuming that XY=JXV, find Ixy from equation (3).

以上の方法が平均誤差最小法であり、(I)式のm心像
数の和を1とし、閾値を(3)式のようにR/2とする
ことにより、2値化の際の誤差をその周辺の画素に吸収
させることができ、2値化の結果濃度がRになった画素
の数が全体の画素数に占め′る割合は2値化前の階調デ
ータの濃度平均に等しいという特徴ををする。しかし、
実際に2値化画像をプリンタ等に・出力するときにはそ
の出力装置の7特性を補正しなければならない。つまり
、入力階調データの小部分が例えば0.3Rの11度だ
とすると、その部分の2値化画像をちょうど3割だけ黒
ドツトとするのが2′値化理論としては正確なのだけれ
ど、プリンタの゛1ドツトの大きさは通常11if索の
大きさより少しだけ大きいため、0.3Rの濃度に見え
るようにするためには黒ドツトの割合を例えば0.25
割にしなければならない。
The above method is the minimum average error method, and by setting the sum of the m image numbers in equation (I) to 1 and setting the threshold to R/2 as in equation (3), the error during binarization can be reduced. The ratio of the number of pixels whose density becomes R as a result of binarization to the total number of pixels is equal to the average density of the gradation data before binarization. Characteristics. but,
When actually outputting a binarized image to a printer or the like, it is necessary to correct the seven characteristics of the output device. In other words, if a small part of the input gradation data is, for example, 11 degrees of 0.3R, it is accurate in terms of 2' value conversion theory to make exactly 30% of the binarized image of that part black dots, but the printer The size of one dot is usually a little larger than the size of an 11if cable, so in order to make it look like a density of 0.3R, the proportion of black dots should be set to 0.25, for example.
must be divided.

この濃度補正は第3図に示すようにROMテーブルによ
り2値化の前段で行なっている。また、画像の黒い部分
をさらに黒くしたい、又は白に近い部分を完全に白くし
たいといった濃度変換を行ないたいという場合にもこの
ROMテーブルにより行なっている。
This density correction is performed prior to binarization using a ROM table as shown in FIG. This ROM table is also used to perform density conversion, such as making a black part of an image even darker, or making a near-white part completely white.

そこで、本発明方法では、2値化と同時に濃度補正又は
濃度変換を行なうために、誤差の範囲を−R/2からR
/2に制限し、閾値をR/2以外の値に設定できるよう
にする。この方法によれば、閾値を変えたときの濃度変
換特性は第1図のように9る。濃度を例えば濃(シたい
ときに、閾値を下げるというのは当然のことのように思
えるが、誤差の範囲を制限することにより初めて第1図
のような濃度変換特性が得られる。これは、平均誤差最
小法が誤差を参照する方法であるため、閾値を変えただ
けでは誤差の期待値が0にはならないからである。例え
ば、閾値を0.3Rにしたときに、平均値が0.5Rの
ランダムアナログ画信号が入力されたとすると、誤差の
とり得る値の範囲は、 Eニー0.7R〜+0.3R となり、この範囲で同様に起こり得るから、その期待値
は しく fo’、’t Xa x ) =−0,2Rとな
る。したがって、式(2)において、右辺の第2項の期
待値が一〇、2Rになり、第1項JMνの平均値が0.
5Rでも、閾値と比較する修正濃度値J′、′x′Vの
平均値は0,3Rになりこれを閾値の0.3Rと比較し
ても、2値化atがRとなる画素は全体の50%となり
濃度特性は変わらない。このように、閾値を変えただけ
では濃度特性は変わらないが、誤差の範囲に制限を加え
ることにより0度特性が変換できる。誤差の範囲は、閾
値がR/2のときに従来の平均誤差最小法と変わらない
画像を得るために−R/2からR/2より広い必要があ
り、閾値をR/2から変えたときにそれ(応じた濃度変
換特性が得られるようにするためには−R/2からR/
2より狭い必要があり、ちょうど−R/2からR/2が
最適である。
Therefore, in the method of the present invention, in order to perform density correction or density conversion at the same time as binarization, the error range is changed from -R/2 to R.
/2, and the threshold value can be set to a value other than R/2. According to this method, the density conversion characteristic when changing the threshold value is 9 as shown in FIG. It seems natural to lower the threshold value when you want to increase the density, for example, but by limiting the range of error, you can only obtain the density conversion characteristics shown in Figure 1. This is because the minimum average error method is a method that refers to errors, so simply changing the threshold value will not make the expected value of the error 0.For example, when the threshold value is set to 0.3R, the average value will be 0.3R. Assuming that a 5R random analog image signal is input, the range of possible error values is E knee 0.7R to +0.3R, and since similar occurrences can occur within this range, the expected value is fo',' tXax)=-0.2R. Therefore, in equation (2), the expected value of the second term on the right side is 10.2R, and the average value of the first term JMν is 0.2R.
Even in 5R, the average value of the corrected density values J','x'V compared with the threshold value is 0.3R, and even if this is compared with the threshold value of 0.3R, the pixels whose binarization at is R are all 50%, and the density characteristics remain unchanged. In this way, the density characteristics do not change just by changing the threshold value, but the 0 degree characteristics can be changed by adding a limit to the error range. The error range needs to be wider than -R/2 to R/2 in order to obtain an image that is no different from the conventional minimum average error method when the threshold is R/2, and when the threshold is changed from R/2. (In order to obtain the corresponding density conversion characteristics, -R/2 to R/
It needs to be narrower than 2, and just -R/2 to R/2 is optimal.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明の上記の構成によれば、中間
調画像を2値化すると同時に濃度特性を変えることがで
き、γ補正と濃度調整を行なうROMテーブルの数を減
らすことができる。また、従来と同じ数のROMテーブ
ルを川Δずれば、濃度調整の種類は格段に増えることと
なる。さらに、本2値化方法において着目画素周辺の既
2値化決定画素における誤差を参照しなければ単純2値
法による2値化方法と同じこととなるが、閾値を可変と
したことにより、閾値を自由に設定できる単純2値法が
実現できることになり、実際に2値化処理装置を作ると
きには中間調処理の2値化処理装置と単純2値の2値化
処理装置が同時に実況できることになるという特別の効
果がある。
As explained above, according to the above configuration of the present invention, the density characteristics can be changed at the same time as the halftone image is binarized, and the number of ROM tables for performing γ correction and density adjustment can be reduced. Furthermore, if the same number of ROM tables as in the past are shifted by Δ, the number of types of density adjustment will be greatly increased. Furthermore, if this binarization method does not refer to errors in pixels that have already been binarized around the pixel of interest, it will be the same as the binarization method using the simple binarization method, but by making the threshold variable, the threshold This means that a simple binary method that can freely set the values can be realized, and when actually building a binarization processing device, a halftone processing binarization processing device and a simple binary processing device can be used simultaneously. There is a special effect.

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

第1図は本発明の2値化方法により実現できる濃度変換
特性を示した図。第2図は従来の2値化方法における画
素の配列の説明図。第3図は従来の2値化方法における
ROMテーブルと2値化処理の関係を示す構成図。 以  上 出願人  セイコーエプソン株式会社 第1図 第ζ図 第3図
FIG. 1 is a diagram showing density conversion characteristics that can be realized by the binarization method of the present invention. FIG. 2 is an explanatory diagram of a pixel arrangement in a conventional binarization method. FIG. 3 is a configuration diagram showing the relationship between a ROM table and binarization processing in a conventional binarization method. Applicant: Seiko Epson Corporation Figure 1 Figure ζ Figure 3

Claims (1)

【特許請求の範囲】[Claims] 着目画素周辺の既2値化決定画素における2値化濃度値
の修正濃度値に対する誤差を求め、該誤差に所定の重み
係数を掛け、これを着目画素の実際の濃度値に加算して
着目画素の修正濃度値を求め、該修正濃度値と閾値との
比較により2値化信号を得る2値化処理方法において、
誤差の範囲に制限を付けることと、閾値を可変とするこ
とを特徴とする2値化方法。
The error of the binarized density value of the binarized determined pixel around the pixel of interest with respect to the corrected density value is calculated, the error is multiplied by a predetermined weighting coefficient, this is added to the actual density value of the pixel of interest, and the pixel of interest is calculated. In a binarization processing method that obtains a corrected density value of and obtains a binarized signal by comparing the corrected density value and a threshold value,
A binarization method characterized by limiting the error range and making the threshold variable.
JP62069703A 1987-03-24 1987-03-24 Binarization method Pending JPS63234772A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62069703A JPS63234772A (en) 1987-03-24 1987-03-24 Binarization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62069703A JPS63234772A (en) 1987-03-24 1987-03-24 Binarization method

Publications (1)

Publication Number Publication Date
JPS63234772A true JPS63234772A (en) 1988-09-30

Family

ID=13410471

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62069703A Pending JPS63234772A (en) 1987-03-24 1987-03-24 Binarization method

Country Status (1)

Country Link
JP (1) JPS63234772A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0481808A2 (en) * 1990-10-18 1992-04-22 Fujitsu Limited Image processing device and image processing method
JPH05219379A (en) * 1991-09-05 1993-08-27 Xerox Corp Method and device for quantizing picture element value
US6977757B1 (en) * 1999-10-29 2005-12-20 Ricoh Company, Ltd. Image processing method, image processing apparatus and recording medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0481808A2 (en) * 1990-10-18 1992-04-22 Fujitsu Limited Image processing device and image processing method
JPH05219379A (en) * 1991-09-05 1993-08-27 Xerox Corp Method and device for quantizing picture element value
US6977757B1 (en) * 1999-10-29 2005-12-20 Ricoh Company, Ltd. Image processing method, image processing apparatus and recording medium
US7142330B2 (en) 1999-10-29 2006-11-28 Ricoh Company, Ltd. Image processing method, image processing apparatus and recording medium
US7636179B2 (en) 1999-10-29 2009-12-22 Ricoh Company, Ltd. Image quantization processing with error diffusion using oscillating quantization threshold to develop dots that spiral outward

Similar Documents

Publication Publication Date Title
EP0648040B1 (en) Image-dependent exposure enhancement
JPH05252386A (en) Halftone processing by error feedback and image dependent enhancement
GB2194706A (en) Method of electronically processing a colored image for copying
US6552822B1 (en) Image processing method and apparatus
JPH08223422A (en) Processing system to prepare color document
EP0591977B1 (en) Image processor and printing apparatus
JPH06113124A (en) Preparation method of image signal
US5539541A (en) Image processing apparatus including noise elimination circuits
US20040008381A1 (en) System and method for converting color data to gray data
US6707578B1 (en) Method and apparatus for improving image presentation in a digital copier
US6307647B1 (en) Digital halftoning with error diffusion
US6574004B1 (en) System and method for converting color data to gray data
JPS63234772A (en) Binarization method
JP3360476B2 (en) Image processing method and apparatus
US6181827B1 (en) Image processing method and apparatus
Wang Algorithm-independent color calibration for digital halftoning
JPH0738767A (en) Image binarizing processor
JPH01130945A (en) Image processing apparatus
JP2859333B2 (en) Image processing device
JPH09191402A (en) Picture processor
JP2690086B2 (en) Color image processing equipment
KR100334105B1 (en) Color Error Diffusion Method Using Multi-threshold in Color Printing System
JPH0318177A (en) Picture processor
JP3097757B2 (en) Method of introducing each correction amount into an original image reproduced by original CMYK printing colors
Breaux et al. Halftoning for color-indexed displays