JPH02285861A - Image processing method - Google Patents

Image processing method

Info

Publication number
JPH02285861A
JPH02285861A JP1105880A JP10588089A JPH02285861A JP H02285861 A JPH02285861 A JP H02285861A JP 1105880 A JP1105880 A JP 1105880A JP 10588089 A JP10588089 A JP 10588089A JP H02285861 A JPH02285861 A JP H02285861A
Authority
JP
Japan
Prior art keywords
data
pixel
value
image processing
processing method
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
JP1105880A
Other languages
Japanese (ja)
Inventor
Kenichi Ota
太田 建一
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP1105880A priority Critical patent/JPH02285861A/en
Publication of JPH02285861A publication Critical patent/JPH02285861A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To improve reproducibility at an edge part by deciding a threshold value to binarize a noticed picture element based on the mean value of the binary data of a peripheral picture element whose prescribed range in the neighborhood of the noticed picture element is binarized, and the mean value of multivalue data before binarization. CONSTITUTION:The multivalue data 500 inputted from a image data input part 10 is binarized at a binarization processing part 20, and the binary data 510 is outputted from a image data output part 30. At the binarization processing part 20, mean density m (i, j) and m (i, j) in the neighborhood when the noticed picture element is binarized to '1' or '0' at a threshold value arithmetic part 20b are found by using data B (i, j) after binarization and a weighing mask R (x, y), and the threshold value to binarize the noticed picture element is decided, then, the binarization by a mean density approximation method is performed at a mean density arithmetic processing part 20a.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は画像処理方法、特に多値画像データを“0”、
“1“の2値データに変換する画像2値化方式であって
、原稿中の階調情報を保存しつつ、解像情報の劣化を極
力少なくするように疑似中間調処理をする画像処理方法
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention relates to an image processing method, particularly for converting multivalued image data to "0",
An image binarization method that converts into binary data of "1", and an image processing method that performs pseudo-halftone processing to minimize the deterioration of resolution information while preserving the gradation information in the original. It is related to.

[従来の技術] 多値データを2値化して疑似中間調処理をする好適な画
像処理方法として、平均濃度近似法(情報処理学会論文
誌 Vol No1.1985)が提案されている。こ
の方法は、注目画素近傍のすでに2値化された2値デー
タを用いて、注目画素を“1”又は“0”に2値化した
場合の両者の重み付は近傍平均値を求め、該平均値のう
ち注目画素レベルに近い方を選択して注目画素を2値化
する方法である。
[Prior Art] An average density approximation method (Information Processing Society of Japan Journal Vol. 1, 1985) has been proposed as a suitable image processing method for binarizing multivalued data and performing pseudo-halftone processing. This method uses binary data that has already been binarized near the pixel of interest, and when the pixel of interest is binarized to "1" or "0", the weighting of both is determined by the neighborhood average value. This is a method of selecting the average value closer to the level of the pixel of interest and binarizing the pixel of interest.

[発明が解決しようとしている課B] しかしながら、平均濃度近似法は画像階調性と解像力と
を少ないハードウェアで両立できる方法ではあるが、コ
ントラストの低い文字や細線等の再現においては以下に
示すような欠点がある6いま、第3A図、第3B図に示
すような多値データを2値化する場合を考える。ここで
、データは4bit(0〜15)の値をとるものとし、
“O”が白、“15”が黒を表すものとする。第3B図
は第3A図を数値表現したものである。第3A図のよう
に画素をi、jで番号付けし、画素201 (i−2,
j−3)を2値化の注目画素とする6画素201以前の
画素は、既に第3C図のように“0”又は“1”のいず
れかに2値化されており、平均濃度近似法では第4図の
ような規格化された重み付はマスクを第3C図の2値デ
ータに点線の如くかぶせ、画素202を“0“に2値化
した場合の平均値no及び画素202を1”に2i化し
た場合の平均値m、を算出する6図示の場合、m o 
−13/23 (40,56) 。
[Problem B that the invention seeks to solve] However, although the average density approximation method is a method that can achieve both image gradation and resolution with a small amount of hardware, it is difficult to reproduce characters with low contrast, thin lines, etc. as shown below. 6 Now, let us consider the case where multilevel data as shown in FIGS. 3A and 3B is to be binarized. Here, the data assumes a value of 4 bits (0 to 15),
Assume that "O" represents white and "15" represents black. FIG. 3B is a numerical representation of FIG. 3A. As shown in FIG. 3A, the pixels are numbered i, j, pixel 201 (i-2,
The pixels before 6th pixel 201, where j-3) is the pixel of interest for binarization, have already been binarized to either "0" or "1" as shown in Fig. 3C, and the average density approximation method Now, for standardized weighting as shown in Fig. 4, a mask is placed over the binary data in Fig. 3C as shown by the dotted line, and the average value no when pixel 202 is binarized to "0" and In the case shown in Figure 6, calculate the average value m when 2i is converted to ``.
-13/23 (40,56).

ml −20723(40,87)となるので、この値
と注目画素20の多値データ(図では“10”)の規格
化された値(10/1540.ft7)とが比較され、
moとmoの近い方の値noが選択され、画素202は
結果的に“0”に2値化される。
ml -20723 (40,87), so this value is compared with the normalized value (10/1540.ft7) of the multivalued data ("10" in the figure) of the pixel of interest 20,
The value no that is closer to mo and mo is selected, and the pixel 202 is eventually binarized to "0".

即ち、従来の平均濃度近似法では原画データが10”と
高いにもかかわらず“0”に2値化されるので、線のか
すれや白ヌケ等が生じることになる。これは細線部の濃
度が比較的低いのに“1”に2値化されるため、2値化
データの平均値m o + m rが原画データにくら
べ高くなってしまうために生じるものである。
In other words, in the conventional average density approximation method, even though the original image data is as high as 10'', it is binarized to ``0'', resulting in blurred lines and missing white areas.This is due to the density of thin line areas. This occurs because the average value m o + m r of the binarized data becomes higher than that of the original image data because it is binarized to "1" even though it is relatively low.

本発明は、前記従来の欠点を除去し、線のかすれや白ヌ
ケ等をなくし、エツジ部における再現性を向上させる画
像処理方法を提供する。
The present invention provides an image processing method that eliminates the above-mentioned conventional drawbacks, eliminates blurred lines, white spots, etc., and improves reproducibility at edges.

[課題を解決するための手段] この課題を解決するために、本発明の画像処理方法は、
多値画素データを所定閾値と比較して2値化する画像処
理方法において、 注目画素の周辺所定範囲の既に2値化された周辺画素の
2値データの平均値を求め、前記周辺画素の2値化前の
多値データの平均値を求め、前記各平均値に基づいて、
注目画素を2値化するための閾値を決定する。
[Means for Solving the Problem] In order to solve this problem, the image processing method of the present invention includes:
In an image processing method that binarizes multivalued pixel data by comparing it with a predetermined threshold value, the average value of the binary data of the surrounding pixels that have already been binarized in a predetermined range around the pixel of interest is calculated, and the Find the average value of the multivalued data before valorization, and based on each of the average values,
A threshold value for binarizing the pixel of interest is determined.

又、多値画素データを所定閾値と比較して2値化する画
像処理方法において、 注目画素の周辺所定範囲の既に2硫化された周辺画素の
2値データに基づいて、該注目画素な0あるいは1に2
値化した場合のそれぞれの平均値を求め、前記周辺画素
の2値化前の多値データの平均値を求め、前記各平均値
に基づいて、注目画素を2値化するための閾値を決定す
る。
Furthermore, in an image processing method that binarizes multivalued pixel data by comparing it with a predetermined threshold value, based on the binary data of the surrounding pixels that have already been di-sulfurized in a predetermined range around the pixel of interest, the pixel of interest is set to 0 or 0. 1 to 2
Find the average value of each value when converted into values, find the average value of the multivalued data of the surrounding pixels before binarization, and determine a threshold for binarizing the pixel of interest based on each of the average values. do.

尚、前記閾値は前記各平均値の加重平均として算出され
る。
Note that the threshold value is calculated as a weighted average of the respective average values.

更に、原画像データが異なる色を表わす複数の画像で構
成される場合、 前記色に対応して、前記加重平均の係数を変化させる。
Furthermore, when the original image data is composed of a plurality of images representing different colors, the coefficients of the weighted average are changed in accordance with the colors.

[実施例] 以下、本実施例の画像処理方法を図面を用いて詳細に説
明する。
[Example] The image processing method of this example will be described in detail below with reference to the drawings.

第1A図は本実施例の画像処理方法を実現する画像処理
装置の一例を示すブロック図である。
FIG. 1A is a block diagram showing an example of an image processing apparatus that implements the image processing method of this embodiment.

図中、画像データ入力部10より入力された多値データ
500は、2値化処理部20で2値化処理されて2値デ
ータ510を画像データ出力部30より出力する。ここ
で、2値化処理20では閾値演算部20bで閾値を所望
の値に計算しながら、平均濃度演算処理部20aで平均
濃度近似法による2値化が行われる。尚、画像データ入
力部10への多値データの入力は、画像受信部11ある
いはスキャナ等の画像読込部12で読み込んだデータを
画像前処理部13で処理したものであっても良い。又、
画像データ出力部30からの2値データは、画像送信部
31から送信1画像表示部32へ表示あるいは画像印刷
部33へ記録されてもよい。
In the figure, multivalued data 500 inputted from the image data input section 10 is binarized by the binarization processing section 20, and binary data 510 is outputted from the image data output section 30. Here, in the binarization processing 20, while the threshold value calculation unit 20b calculates a threshold value to a desired value, the average density calculation processing unit 20a performs binarization using the average density approximation method. Note that the multivalued data input to the image data input section 10 may be data read in by the image receiving section 11 or an image reading section 12 such as a scanner and processed by the image preprocessing section 13. or,
The binary data from the image data output unit 30 may be displayed from the image transmission unit 31 to the transmission 1 image display unit 32 or recorded to the image printing unit 33.

次に、本実施例における画像処理方法の原理を説明する
。
Next, the principle of the image processing method in this embodiment will be explained.

第2A図において、f (t、J)は今2値化しようと
する注目画素の規格化された多値データ(0〜1の値を
取る)を示し、破線より上の画素はすでに2値化されて
おり、該注目画素の2値化後はf (i+1.j)へ順
次同処理が行なわれるものとする。同様に第1B図にお
いて、B(i。
In FIG. 2A, f (t, J) indicates the normalized multi-value data (takes a value of 0 to 1) of the pixel of interest that is now to be binarized, and the pixels above the broken line are already binary data. It is assumed that after the pixel of interest is binarized, the same processing is sequentially performed on f (i+1.j). Similarly, in FIG. 1B, B(i.

j)は2値化後の2値データを示す、又第2C図のR(
χ、y)は平均濃度を求める為の規格化された重み付は
マスクで、本例では第4図で示した3×2のマスクを用
いるものとする。
j) shows the binary data after binarization, and R(
χ, y) is a standardized weighting mask for determining the average density, and in this example, a 3×2 mask shown in FIG. 4 is used.

本方法では、まず従来例の平均濃度近似法と同様に、注
目画素を1′あるいは“O”に2値化した場合の近傍に
おける平均濃度m+(i。
In this method, first, similarly to the conventional average density approximation method, the average density m+(i) in the vicinity when the pixel of interest is binarized to 1' or "O".

j)、no(i、j)を、B (t、j)、RCx。j), no (i, j), B (t, j), RCx.

y)を用いて次式で求める。y) using the following formula.

但し、B (i、  j) =1 但し、B(i、j)=0 次に、原画多値データf (i、j)の重み付き平均値
m(i、j)を次式により求める。
However, B (i, j) = 1 However, B (i, j) = 0 Next, the weighted average value m (i, j) of the original multi-valued data f (i, j) is determined by the following equation.

ここでm(i、j)の意味を考えると、m(t、j)は
原画像の居所平均値でありおおむね注目画素の規格化さ
れた多値データf (i、j)に等しい、特に原画像が
なだらかな階調変化をしている場合、 f (i、j)=m (i、j)となる。
Considering the meaning of m(i, j) here, m(t, j) is the location average value of the original image and is approximately equal to the normalized multivalued data f (i, j) of the pixel of interest, especially If the original image has a gentle gradation change, f (i, j) = m (i, j).

一方、原画像の階調変化がはげしい場合、即ち細線やエ
ツジ部分では、 f  (i、j)≠m(i、j)となり、特にエツジの
立上がり部分では、 m(i、j)(f (i、j) 立下がり部分では、 m、(i、j)>f (t、j)という不等式が成り立
つ、そこで、細線やエツジ部の再現性を向上させるため
には、 m (t、j)<f (i、j)のとき2値化閾値を低
目に設定し、 (i、j)>f (i、j)のときは高目に設定するよ
うにすればよい。
On the other hand, when the gradation changes in the original image are severe, that is, in thin lines and edge parts, f (i, j) ≠ m (i, j), and especially in the rising edge part, m (i, j) (f ( i, j) In the falling part, the inequality m, (i, j) > f (t, j) holds true. Therefore, in order to improve the reproducibility of thin lines and edge parts, m (t, j) The binarization threshold may be set low when <f (i, j), and set high when (i, j)>f (i, j).

通常、平均濃度近似法ではf (i、j)を2値化する
ための閾値は(mo+m、)/2であり、 f (t、j)≧(m 0+ m 1 ) / 2のと
き、B  (t、  j)= 1゜ f (t、j)< (no +m、)/2のとき、B 
(i、j)=Oとするが、 本実施例では、前記エツジの再現性を向上させるため、
この2値化閾値を、 閾値−(no (1,1) +111 (i 、j) 
)/2−k (f (i 、j)−m (1、j))・
・・■ 但し、kは正の定数 とし、これを規格化された多値データf(1,4)と比
較して以下のようにB (i 、 j)の値を決定する
。
Usually, in the average concentration approximation method, the threshold for binarizing f (i, j) is (mo + m,) / 2, and when f (t, j) ≧ (m 0 + m 1 ) / 2, B (t, j) = 1°f When (t, j) < (no + m,)/2, B
(i, j)=O, but in this example, in order to improve the reproducibility of the edge,
This binarization threshold is defined as threshold - (no (1, 1) + 111 (i, j)
)/2-k (f (i, j)-m (1, j))・
...■ However, k is a positive constant, and this is compared with the normalized multivalued data f(1, 4) to determine the value of B (i, j) as follows.

f(i、J)≧ (ago (i 、J)+n+  (
l 、J))/2−k (f (i 、J) −m (
i 、j))のとき、B(t、j)−1・・・■ f(1,J)<(m。(1,J)◆m+ (i、J))
/2−k(f(1,J)−m(i、j))のとき、B(
i、J)−0とする。        ・・・■ここで
、■、■式は右辺のf(i、j)を左辺へ穆項して整理
すると、次の■、■式と等価である。
f(i, J)≧ (ago (i, J)+n+ (
l , J))/2-k (f (i, J) - m (
i, j)), then B(t, j)-1...■ f(1, J)<(m.(1, J)◆m+ (i, J))
/2-k(f(1,J)-m(i,j)), then B(
i, J) -0. ...■Here, the formulas ■ and ■ are equivalent to the following formulas ■ and ■, when f(i, j) on the right side is rearranged by multiplying it to the left side.

・・・■ ・・・■ 尚、(no +m、)/2=m’+R(o、O)/2と
した方が計算が簡略化される。ただし、で、R(0,0
)=Oの時の値である。
...■ ...■ Note that the calculation is simplified by setting (no +m,)/2=m'+R(o, O)/2. However, in R(0,0
)=O.

第5A図に従来の平均濃度近似法による2値化結果を示
す。第5B図は本実施例の可変閾値によるものであり、
0.0式のkを1.0としたものである。第5B図の結
果は、第5A図にくらべ中間調部分の再現性は等しいに
も関わらず、文字の再現性が向上していることがわかる
。kの値を大きくすれば更に文字再現は向上していくが
、中間調のなめらかさは悪化していく。
FIG. 5A shows the binarization results obtained by the conventional average density approximation method. FIG. 5B is based on the variable threshold value of this embodiment,
0.0 formula with k set to 1.0. The results shown in FIG. 5B show that, compared to FIG. 5A, the reproducibility of characters is improved, although the reproducibility of halftone portions is the same. If the value of k is increased, character reproduction will further improve, but the smoothness of halftones will deteriorate.

第1B図に本実施例の画像処理方法を実現する2値化処
理部の回路構成の例を示す、ただし、平均値算出のため
の規格化された重み付はマスクは、第2C図に示した3
×2のものとする。
Figure 1B shows an example of the circuit configuration of the binarization processing unit that implements the image processing method of this embodiment. However, the standardized weighting and mask for calculating the average value are shown in Figure 2C. 3
x2.

入力線500から入力される規格化された多値データf
(1,J)は、Dフリップフロップ(以下、D−F/F
)501で1クロック分保持されると同時に、遅延RA
M502(1ライン分データを遅延させる)及び平均濃
度算出回路503へ入力され、平均濃度算出回路503
でf (i 、j)の重み付は平均値1f(1,J)が
0式に従って算出される。
Standardized multivalued data f input from input line 500
(1, J) is a D flip-flop (hereinafter referred to as D-F/F
) 501 for one clock, and at the same time delay RA
M502 (delays data by one line) and is input to the average density calculation circuit 503, and the average density calculation circuit 503
As for the weighting of f (i, j), the average value 1f (1, J) is calculated according to the formula 0.

D −F/F 501の出力は比較器504で■、■式
の比較が行われ、2値化データB(1,4)が出力線5
10から出力される。 B(i、J)はまたD −F/
F507及び1ライン分の遅延メモリ506へ入力され
、D−F/F508,509を経てB(i−1,j)、
 B(i−2j−1)、 B(i、j−1)、 B(i
◆1.J−1)として閾値演算ROM505へ平均濃度
算出回路503からのm(i、J)とともに人力される
。閾値演算ROM505ではこれら人力に対し0.0式
の右辺をあらかじめ計算して格納しておけば良い。
The output of the D-F/F 501 is compared in the comparator 504 using the formula
It is output from 10. B(i, J) is also D −F/
B(i-1,j),
B(i-2j-1), B(i,j-1), B(i
◆1. J-1) is manually input to the threshold calculation ROM 505 along with m(i, J) from the average concentration calculation circuit 503. In the threshold calculation ROM 505, the right side of the 0.0 equation may be calculated and stored in advance for these manual efforts.

尚、第1B図の回路側では、人力データを規格化された
多値データf(i、j)として説明したが、回路の実現
に際しては、人力データは規格化されていない多値デー
タを使用し、閾値演算ROM505の構成により上記各
式に対応させる方が設計上簡単であり好ましい。
Note that on the circuit side in Figure 1B, the manual data was explained as standardized multi-value data f(i, j), but when realizing the circuit, the human data uses unstandardized multi-value data. However, it is preferable that the configuration of the threshold calculation ROM 505 corresponds to each of the above equations because it is simpler in terms of design.

又、原稿を所定幅の帯状に読み取りながら2値再生する
、いわゆるシリアル型走査の場合には、第6A図及び第
6B図のように多値データf(i、J)、  2値デー
タB(1,J)を取り、各平均値は以下の式■′、■′
、■′により算出される。
In addition, in the case of so-called serial scanning in which binary data is reproduced while reading a document in a strip of a predetermined width, multi-value data f (i, J), binary data B ( 1, J), and each average value is calculated using the following formulas ■′, ■′
, ■′.

但し、B(i、j)=1 但し、B (t、  j)=。However, B (i, j) = 1 However, B (t, j)=.

更に、本実施例では注目画素への重み付けを最大値とし
たが、2値化の誤差を拡散する方法を組み合わせれば、
注目画素への重み付けを7としても従来の誤差拡散法に
比較して構成が簡単で、従来の平均濃度近似法に比較し
て文字、細線のかすれによる解像力の低下を大幅に減少
させることが出来、更に平均濃度の算出も簡単となり構
成の簡素化が可能である。
Furthermore, in this embodiment, the weighting of the pixel of interest is set to the maximum value, but if a method of diffusing the binarization error is combined,
Even when weighting the pixel of interest to 7, the configuration is simpler compared to the conventional error diffusion method, and compared to the conventional average density approximation method, it is possible to significantly reduce the decrease in resolution due to blurring of characters and thin lines. Furthermore, the calculation of the average concentration becomes easy, and the configuration can be simplified.

前記実施例では単色のデータを2値化する場合を示した
が、次に画像出力装置がイエロー(以下、Y)、マゼン
タ(以下、M)、シアン(以下、C)、ブラック(以下
、K)の4色印字可能な場合を考える。この場合、文字
や細線などはKで印字する頻度が高く、逆にY、M、C
では中間調部分を印字する頻度が高いのが通例である。
In the above embodiment, the case where monochromatic data is binarized is shown, but next, the image output device converts yellow (hereinafter referred to as Y), magenta (hereinafter referred to as M), cyan (hereinafter referred to as C), and black (hereinafter referred to as K). ), which can be printed in four colors. In this case, characters and thin lines are often printed in K, and conversely, in Y, M, and C.
Generally, halftone portions are printed frequently.

前記実施例でも述べた様に■、■式のkの値を大きくす
ると、細線のかすれは少なくなるが、逆に中間調の再現
性は悪くなる。そこで、Y。
As described in the above embodiments, increasing the value of k in formulas (1) and (2) reduces blurring of thin lines, but conversely, reproducibility of intermediate tones deteriorates. So, Y.

M、Cを2値化する際にはkの小さい値に対応する閾値
を用いて2値化を行い、逆にKを2値化する際にはkの
大きい値に対応する閾値を用いて2値化を行うようにす
れば、フルカラー画像として中間調の再現性と文字、細
線の解像力を高いレベルで両立させることが可能となる
。
When M and C are binarized, a threshold corresponding to a small value of k is used to binarize, and when K is binarized, a threshold corresponding to a large value of k is used. By performing binarization, it becomes possible to achieve both a high level of midtone reproducibility and resolution of characters and thin lines as a full-color image.

[発明の効果] 以上本発明によれば、従来の平均濃度近似法にくらべ中
間調の再現性を保ったまま、文字、細線のかすれによる
解像力の低下を大幅に減少させることができる。
[Effects of the Invention] As described above, according to the present invention, it is possible to significantly reduce the decrease in resolution due to blurring of characters and thin lines while maintaining the reproducibility of halftones compared to the conventional average density approximation method.

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

第1A図は本実施例の画像処理方法を実現する画像処理
装置の一例を示すブロック図、第1B図は本実施例の画
像処理方法を実現する2値化処理部の構成の一例を示す
ブロック図、第2A図〜第2C図は本実施例の画像処理
方法の原理を説明するための図、 第3A図〜第3C図は従来の平均濃度近似法の欠点を説
明するための図、 第4図は近傍平均値算出のためのマスクを示す図、 第5A図は従来の平均濃度近似法による2値化の結果の
例を示す図、 第5B図は本実施例の画像処理方法により処理結果の例
を示す図、 第6A図は、第6B図は他の実施例の多値データあるい
は2値データを示す図である。 図中、10・・・画像データ入力部、20・・・2値化
処理部、20a・・・平均濃度演算処理部、20b・・
・閾値演算部、30・・・画像データ出力部、510゜
507.508,509・・・Dフリップフロップ、5
02.506・・・遅延メモリ、503・・・平均濃度
算出回路、504・・・比較器、505・・・閾値RO
Mである。 第2A図 第2B図 R(1、0)=0 第2C図 i=I  2 3 4 5−−−− 第3A図 第3B図 第3C図 第4図 第6A図 第6B図 手 続 補 正 書 (方式) 1、事件の表示 特願平l− 5880号 2、発明の名称 画像処理 方 法 3、補正をする者 事件との関係  特許比 キャノン株式会社 願 人 4、代 理  人      〒105 東京都港区虎ノ門2−5− 平成 1年 7月25日 (発送) gsA図 第5B図
FIG. 1A is a block diagram showing an example of an image processing device that implements the image processing method of this embodiment, and FIG. 1B is a block diagram showing an example of the configuration of a binarization processing section that implements the image processing method of this embodiment. Figures 2A to 2C are diagrams for explaining the principle of the image processing method of this embodiment. Figures 3A to 3C are diagrams for explaining the shortcomings of the conventional average density approximation method. Fig. 4 shows a mask for calculating the neighborhood average value, Fig. 5A shows an example of the result of binarization using the conventional average density approximation method, and Fig. 5B shows the image processed by the image processing method of this embodiment. FIG. 6A and FIG. 6B are diagrams showing an example of the results, and FIG. 6A is a diagram showing multivalued data or binary data of another embodiment. In the figure, 10...image data input section, 20...binarization processing section, 20a...average density calculation processing section, 20b...
・Threshold calculation unit, 30... Image data output unit, 510°507.508,509...D flip-flop, 5
02.506...Delay memory, 503...Average concentration calculation circuit, 504...Comparator, 505...Threshold value RO
It is M. Figure 2A Figure 2B R (1, 0) = 0 Figure 2C i = I 2 3 4 5 ---- Figure 3A Figure 3B Figure 3C Figure 4 Figure 6A Figure 6B Procedural amendment ( Method) 1. Indication of the case Patent Application No. 1-5880 2. Name of the invention Image processing method 3. Person making the amendment Relationship with the case Patent Hi Canon Co., Ltd. Applicant 4, Agent Toranomon, Minato-ku, Tokyo 105 2-5- July 25, 1999 (shipped) gsA diagram 5B

Claims (4)

【特許請求の範囲】[Claims] (1)多値画素データを所定閾値と比較して2値化する
画像処理方法において、 注目画素の周辺所定範囲の既に2値化された周辺画素の
2値データの平均値を求め、 前記周辺画素の2値化前の多値データの平均値を求め、 前記各平均値に基づいて、注目画素を2値化するための
閾値を決定することを特徴とする画像処理方法。
(1) In an image processing method that binarizes multivalued pixel data by comparing it with a predetermined threshold value, the average value of the binary data of the surrounding pixels that have already been binarized in a predetermined range around the pixel of interest is determined, An image processing method, comprising: obtaining an average value of multivalued data before binarizing pixels, and determining a threshold value for binarizing a pixel of interest based on each of the average values.
(2)多値画素データを所定閾値と比較して2値化する
画像処理方法において、 注目画素の周辺所定範囲の既に2値化された周辺画素の
2値データに基づいて、該注目画素を0あるいは1に2
値化した場合のそれぞれの平均値を求め、 前記周辺画素の2値化前の多値データの平均値を求め、 前記各平均値に基づいて、注目画素を2値化するための
閾値を決定することを特徴とする画像処理方法。
(2) In an image processing method that binarizes multivalued pixel data by comparing it with a predetermined threshold, the pixel of interest is determined based on the binary data of the surrounding pixels that have already been binarized in a predetermined range around the pixel of interest. 0 or 1 to 2
Find the average value of each value when converted into values, find the average value of the multivalued data of the surrounding pixels before binarization, and determine the threshold value for binarizing the pixel of interest based on each of the average values. An image processing method characterized by:
(3)前記閾値は前記各平均値の加重平均として算出さ
れることを特徴とする請求項1又は2記載の画像処理方
法。
(3) The image processing method according to claim 1 or 2, wherein the threshold value is calculated as a weighted average of each of the average values.
(4)原画像データが異なる色を表わす複数の画像で構
成される場合、 前記色に対応して、前記加重平均の係数を変化させるこ
とを特徴とする請求項1又は2記載の画像処理方法。
(4) The image processing method according to claim 1 or 2, characterized in that when the original image data is composed of a plurality of images representing different colors, the coefficient of the weighted average is changed in accordance with the color. .
JP1105880A 1989-04-27 1989-04-27 Image processing method Pending JPH02285861A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1105880A JPH02285861A (en) 1989-04-27 1989-04-27 Image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1105880A JPH02285861A (en) 1989-04-27 1989-04-27 Image processing method

Publications (1)

Publication Number Publication Date
JPH02285861A true JPH02285861A (en) 1990-11-26

Family

ID=14419250

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1105880A Pending JPH02285861A (en) 1989-04-27 1989-04-27 Image processing method

Country Status (1)

Country Link
JP (1) JPH02285861A (en)

Similar Documents

Publication Publication Date Title
EP0781034B1 (en) Image processing apparatus and method
JPS62216476A (en) Picture processor
JP3245600B2 (en) Image processing device
JP3361355B2 (en) Image processing device
JP3461247B2 (en) Image processing apparatus and image processing method
JP2810396B2 (en) Image processing device
JP2570890B2 (en) Image processing device
JP2860039B2 (en) Pseudo halftone image reduction device
JP2851662B2 (en) Image processing device
JP2900907B2 (en) Image processing device
JPH0457274B2 (en)
JPH05160996A (en) Image processing method
JPH02285771A (en) Picture processing unit
JPH07212573A (en) Resolution conversion device for binary picture
JPS6356064A (en) Picture processing method
JPH06253133A (en) Picture processing device
JPS6180965A (en) Picture signal processing method
JPS6180970A (en) Picture signal processor
JP3025714B2 (en) Pseudo gradation processor
JP2682985B2 (en) Image processing method
JP3178077B2 (en) Binarization processing method
JPH03292057A (en) Picture processing circuit
JPH03184468A (en) Picture processor
JPH11187260A (en) Video signal binarization device
JPH01157166A (en) Image processing device