[go: up one dir, main page]

JPH0418750B2 - - Google Patents

Info

Publication number
JPH0418750B2
JPH0418750B2 JP59279494A JP27949484A JPH0418750B2 JP H0418750 B2 JPH0418750 B2 JP H0418750B2 JP 59279494 A JP59279494 A JP 59279494A JP 27949484 A JP27949484 A JP 27949484A JP H0418750 B2 JPH0418750 B2 JP H0418750B2
Authority
JP
Japan
Prior art keywords
image
gradation
black pixels
block
pixels
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.)
Expired - Lifetime
Application number
JP59279494A
Other languages
Japanese (ja)
Other versions
JPS61154271A (en
Inventor
Masahiko Matsunawa
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta 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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP59279494A priority Critical patent/JPS61154271A/en
Priority to US06/813,050 priority patent/US4783838A/en
Priority to DE19853546136 priority patent/DE3546136A1/en
Publication of JPS61154271A publication Critical patent/JPS61154271A/en
Publication of JPH0418750B2 publication Critical patent/JPH0418750B2/ja
Granted legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、画像の階調処理及び/又はフイルタ
リングを行なう画像処理方法に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an image processing method for performing gradation processing and/or filtering of an image.

(従来の技術) 2値化データをもとに画像を処理する方法は従
来技術として存在しない。
(Prior Art) There is no prior art method for processing an image based on binarized data.

(発明が解決しようとする問題点) 2値化データの画像処理が不可能であつたた
め、従来は処理が不完全なときには撮像条件を変
えて複数回撮像を行つていた。又、原画が無い場
合には画像を加工することが不可能であつた。
(Problems to be Solved by the Invention) Since image processing of binarized data is impossible, conventionally, when the processing is incomplete, imaging is performed multiple times by changing imaging conditions. Furthermore, if the original image was not available, it was impossible to process the image.

本発明は上記の問題点に鑑みてなされたもの
で、2値化画像に対する画像処理が可能な画像処
理方法を提供することにある。
The present invention has been made in view of the above problems, and an object of the present invention is to provide an image processing method capable of performing image processing on a binarized image.

(問題点を解決するための手段) 上記問題点を解決する本発明は、2値化画像を
ブロツクに分割し、該ブロツク毎に黒画素数若し
くは白画素数の少なくとも一方を計数し、該画素
数に対して階調処理及び/又はフイルムリングを
施すことを特徴とするものである。
(Means for Solving the Problems) The present invention, which solves the above problems, divides a binarized image into blocks, counts at least one of the number of black pixels or the number of white pixels for each block, and counts the number of black pixels or white pixels for each block. This method is characterized by performing gradation processing and/or film ringing on numbers.

(実施例) 以下、第1図乃至第7図を用いて、具体的に本
発明の画像処理方法を説明する。
(Example) Hereinafter, the image processing method of the present invention will be specifically explained using FIGS. 1 to 7.

まず、画像処理の対象である2値化画像である
が、この2値化画像は、例えば4×4や8×8の
サイズのデイザマトリツクスを閾値として用いる
ことにより容易に得らられる。このデイザマトリ
ツクスを構成する閾値の設定幅は、例えば階調画
の場合反射濃度で0.1〜1.4程度と広くし、線画の
場合は反射濃度で0.1〜0.5程度と狭くする(或い
は固定閾値を用いる)ことが好ましい。これは画
像のヌケや太りを防ぐためである。又、階調画と
線画では異種のデイザマトリツクスを用いるよう
にしてもよい。尚、2値化の手法は、デイザ法以
外の方法、例えば濃度パターン法や網かけ法を用
いてもよい。
First, the object of image processing is a binarized image. This binarized image can be easily obtained by using, for example, a 4×4 or 8×8 dither matrix as a threshold value. The setting width of the threshold values that make up this dither matrix is, for example, wide in the case of gradation drawings, about 0.1 to 1.4 in terms of reflection density, and narrow in the case of line drawings, in terms of reflection density, about 0.1 to 0.5 (or by setting a fixed threshold value). It is preferable to use This is to prevent the image from becoming blank or thick. Further, different types of dither matrices may be used for gradation drawings and line drawings. Note that the binarization method may be a method other than the dither method, such as a density pattern method or a dot method.

第1図に例示した本発明方法においては、ま
ず、画像が2値化画像でない場合、前述の2値化
を行う(ステツプ)。第2図は、サイズが4×
4のドツト分散型ケBayer型)のデイザマトリツ
クスDM1(第2図イ参照)を用いて、デイザ法
によりオリジナル画像A(第2図ロ参照)を2値
化し、第2図ハに示す2値化画像Bを得る例を示
している。この図において、デイザマトリツクス
DM1内及びオリジナル画像A内の数字は規格化
された濃度レベルを示し、2値化画像Bの斜線部
分の画素は黒画素であることを示している。
In the method of the present invention illustrated in FIG. 1, first, if the image is not a binarized image, the above-mentioned binarization is performed (step). In Figure 2, the size is 4×
The original image A (see Fig. 2, b) is binarized by the dither method using the dot dispersion type (Bayer type) dither matrix DM1 (see Fig. 2, a), as shown in Fig. 2, c. An example of obtaining a binarized image B is shown. In this figure, the dither matrix
The numbers in DM1 and the original image A indicate standardized density levels, and the pixels in the shaded area of the binarized image B indicate that they are black pixels.

次にステツプでは、2値化画像を適当なサイ
ズのブロツクに分割する。第2図ハでは4×4の
サイズに分割している。そして、各ブロツク内の
黒画素数(或いは白画素数)を計数して(ステツ
プ)、階調処理に移る。ここで行う階調処理は、
上記黒画素数を(以下、これをオリジナル黒画素
数と呼ぶ)を所定の階調曲線に基づき他の黒画素
数(以下、これを変換黒画素数と呼ぶ)に変換す
ることにより行う(ステツプ)。第3図の例で
は、第3図イに示す階調曲線を用いて、第3図ロ
に示すオリジナル黒画素数を第3図ハに示す変換
黒画素数に変換している。どのような階調処理が
なされるかは、変換の際使用する階調曲線によつ
て決まるが、一般的には、第4図中の上に凸のカ
ーブを持つた階調曲線CAを用いると、黒画素数
を大きくし高濃度部分の度数を増やす変換とな
り、第4図中の下に凸のカーブを持つた階調曲線
CBを用いると黒画素数を小さくし低濃度部分の
度数を減らす変換となる。従つて、階調曲線CA
は淡い2値化画像に対して有効であり、階調曲線
CBは黒くつぶれた画像に対して有効である。勿
論、階調曲線CA,CBを組み合わせた例えばS字
形カーブの階調曲線等を用いることも可能であ
り、望みの階調処理に合致するような階調曲線を
選択すればよい。画像処理装置としては、3〜5
種の代表的な階調曲線を用意しておき、画像に応
じて何れかを選択するようにしておけばよい。
In the next step, the binarized image is divided into blocks of appropriate size. In FIG. 2C, it is divided into 4×4 sizes. Then, the number of black pixels (or the number of white pixels) in each block is counted (step), and the process proceeds to gradation processing. The gradation processing performed here is
This is done by converting the above number of black pixels (hereinafter referred to as the original number of black pixels) to another number of black pixels (hereinafter referred to as the converted number of black pixels) based on a predetermined gradation curve. ). In the example of FIG. 3, the original black pixel number shown in FIG. 3B is converted to the converted black pixel number shown in FIG. 3C using the gradation curve shown in FIG. 3A. The type of gradation processing to be performed depends on the gradation curve used during conversion, but in general, the gradation curve C A with the upwardly convex curve in Figure 4 is used. When used, the conversion increases the number of black pixels and increases the frequency of high-density areas, resulting in a gradation curve with a downward convex curve in Figure 4.
When C B is used, the number of black pixels is reduced and the frequency of low-density portions is reduced. Therefore, the tone curve C A
is effective for pale binarized images, and the gradation curve
C B is effective for images that are completely black. Of course, it is also possible to use a gradation curve, such as an S-shaped curve, which is a combination of gradation curves C A and CB , and it is sufficient to select a gradation curve that matches the desired gradation processing. As an image processing device, 3 to 5
It is sufficient to prepare representative gradation curves for each species and select one of them depending on the image.

上記変換黒画素数(以下、これを第1変換黒画
素数と呼ぶ)に対して、次にフイルタリング施
す。このフイルタリングは、上記黒画素数を所定
の空間フイルタを用いて他の黒画素数(以下、こ
れを第2変換黒画素と呼ぶ)に変換することによ
り行う(ステツプ)。第5図の例では、第5図
イに示す空間フイルタを用いて、第5図ロに示す
第1変換黒画素数を第5図ハに示す第2変換黒画
素数に変換している。尚、最外周のブロツクにフ
イルタリングを施すには、更にその外側の黒画素
数のデータが必要になるので、ここでは説明上点
字で示した数字を仮想データとして与えフイルタ
リングを行つている。尚、フイルタリング後の黒
画素数が0以下となつた場合は0、16以上になつ
た場合は16として扱う。どのようなフイルタリン
グがなされるかは、変換の際作用する空間フイル
タによつて決まる。例えば前記第5図イや第6図
の空間フイルタを用いると画像強調を行うことが
できる。ここで、第6図中のαは20以下の自然
数、βは定数で、αが大きい場合、かなり強いエ
ツジ強調となる。
Next, filtering is performed on the converted black pixel number (hereinafter referred to as the first converted black pixel number). This filtering is performed by converting the number of black pixels to another number of black pixels (hereinafter referred to as second converted black pixels) using a predetermined spatial filter (step). In the example of FIG. 5, the spatial filter shown in FIG. 5A is used to convert the first converted black pixel number shown in FIG. 5B to the second converted black pixel number shown in FIG. 5C. Note that in order to filter the outermost block, data on the number of black pixels on the outer side is also required, so for the sake of explanation here, the numbers shown in Braille are given as virtual data to perform filtering. Note that if the number of black pixels after filtering is 0 or less, it is treated as 0, and if it is 16 or more, it is treated as 16. The type of filtering that is done depends on the spatial filter that is applied during the transformation. For example, image enhancement can be performed using the spatial filters shown in FIG. 5A and FIG. 6. Here, α in FIG. 6 is a natural number of 20 or less, and β is a constant. If α is large, the edge enhancement will be quite strong.

このようにして得た黒画素数から、各ブロツク
の濃度レベルを決定し、濃度マトリツクスパター
ンを得る(ステツプ)。ここで、ブロツクサイ
ズとしては、2値化画像を得る際に使用したデイ
ザマトリツクス(閾値群)のサイズ(4×4又は
8×8)と同等、好ましくはデイザマトリツクス
のサイズよりも小さいサイズを選ぶ。このように
すれば、階調数を増やしながら高解像度を保持で
きる。第7図ロは各ブロツク内の第2変換黒画素
数をそのまま各ブロツクの規格化された平均濃度
レベルとしたもの、第7図ハはこの各ブロツクの
第2変換黒画素数に基づき、各ブロツク上に濃度
マトリツクスパターンを写し画像を再構成したも
ので、この例での第1の濃度パターンの決定は、
前記のデイザマトリツクスDM1と同一のデイザ
マトリツクスDM2(第7図イ参照)と各ブロツ
クの濃度レベルとの比較によつて行つている(ス
テツプ)。例えば、ブロツクBK1の場合、そ
の濃度レベルが9であるから、第7図イのデイザ
マトリツクスDM2の内、9以下の濃度レベルの
部分は黒画素となり、前記第7図ハのブロツク
BK1のような濃度マトリツクスパターンにな
る。
From the number of black pixels thus obtained, the density level of each block is determined to obtain a density matrix pattern (step). Here, the block size is equivalent to the size (4 x 4 or 8 x 8) of the dither matrix (threshold value group) used to obtain the binarized image, preferably larger than the size of the dither matrix. Choose a smaller size. In this way, high resolution can be maintained while increasing the number of gradations. Figure 7(b) shows the number of second converted black pixels in each block as the normalized average density level of each block, and Figure 7(c) shows each block based on the number of second converted black pixels of each block. The image is reconstructed by copying the density matrix pattern onto the block, and the determination of the first density pattern in this example is as follows:
This is done by comparing the density level of each block with a dither matrix DM2 (see FIG. 7A), which is the same as the dither matrix DM1 described above (step). For example, in the case of block BK1, its density level is 9, so in the dither matrix DM2 in FIG.
A density matrix pattern like BK1 will be created.

尚、マトリツクスDM1とDM2を同一のもの
で構成する必要はなく、例えばマトリツクスDM
2をドツト集中型(渦巻型)としてもよい。更
に、階調処理とフイルタリングの順序を入れ替え
てもよいし、何れか一方のみを行つてもよい。
Note that matrices DM1 and DM2 do not need to be composed of the same thing; for example, if matrix DM1 and DM2 are
2 may be of dot concentration type (spiral type). Furthermore, the order of gradation processing and filtering may be interchanged, or only one of them may be performed.

(発明の効果) 以上説明したように、本発明では、2値化画像
をブロツクに分けてその平均濃度レベル(黒画素
数若しくは白画素数)を求め、その後階調処理及
び/又はフイルタリングを行なうようにしたた
め、2値化画像の画像処理が可能になつた。
(Effects of the Invention) As explained above, in the present invention, a binarized image is divided into blocks, the average density level (number of black pixels or number of white pixels) is determined, and then gradation processing and/or filtering is performed. As a result, it has become possible to perform image processing on binarized images.

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

第1図の本発明方法の一例を示すフローチヤー
ト、第2図は第1図における2値化の一例を示す
説明図、第3図は第1図における階調処理の説明
図、第4図は階調曲線の説明図、第5図は第1図
におけるフイルタリングの説明図、第6図は空間
フイルタの説明図、第7図は画像再構成用濃度マ
トリツクスパターンを得る方法の説明図である。 DM1,DM2……デイザマトリツクス、A…
…オリジナル画像、B……2値化画像、CA、CB
……階調曲線。
FIG. 1 is a flowchart showing an example of the method of the present invention, FIG. 2 is an explanatory diagram showing an example of binarization in FIG. 1, FIG. 3 is an explanatory diagram of gradation processing in FIG. 1, and FIG. is an explanatory diagram of a gradation curve, FIG. 5 is an explanatory diagram of filtering in FIG. 1, FIG. 6 is an explanatory diagram of a spatial filter, and FIG. 7 is an explanatory diagram of a method for obtaining a density matrix pattern for image reconstruction. It is. DM1, DM2...Dither matrix, A...
...Original image, B...Binarized image, C A , C B
...gradation curve.

Claims (1)

【特許請求の範囲】[Claims] 1 2値化画像をブロツクに分割し、該ブロツク
毎に黒画素数若しくは白画素数の少なくとも一方
を計数し、該画素数に対して階調処理及び/又は
フイルタリングを施すことを特徴とする画像処理
方法。
1 A binarized image is divided into blocks, at least one of black pixels and white pixels is counted for each block, and gradation processing and/or filtering is applied to the number of pixels. Image processing method.
JP59279494A 1984-12-26 1984-12-26 Picture processing method Granted JPS61154271A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP59279494A JPS61154271A (en) 1984-12-26 1984-12-26 Picture processing method
US06/813,050 US4783838A (en) 1984-12-26 1985-12-24 Image processing method and apparatus therefor
DE19853546136 DE3546136A1 (en) 1984-12-26 1985-12-27 IMAGE PROCESSING METHOD AND DEVICE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59279494A JPS61154271A (en) 1984-12-26 1984-12-26 Picture processing method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP60280131A Division JPS61154273A (en) 1985-12-11 1985-12-11 Picture reloading method

Publications (2)

Publication Number Publication Date
JPS61154271A JPS61154271A (en) 1986-07-12
JPH0418750B2 true JPH0418750B2 (en) 1992-03-27

Family

ID=17611826

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59279494A Granted JPS61154271A (en) 1984-12-26 1984-12-26 Picture processing method

Country Status (1)

Country Link
JP (1) JPS61154271A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB8718100D0 (en) * 1987-07-30 1987-09-03 Crosfield Electronics Ltd Image processing
JP3119150B2 (en) * 1995-02-02 2000-12-18 富士ゼロックス株式会社 Image processing apparatus and image processing method
AU2003266509A1 (en) * 2003-09-11 2005-04-06 Fuso Precision Co., Ltd. Halftone dot data dot-gain adjustment program and device

Also Published As

Publication number Publication date
JPS61154271A (en) 1986-07-12

Similar Documents

Publication Publication Date Title
DE69132104T2 (en) Dither matrix for the halftone reproduction of gray tone images using a mask with blue noise
DE69125414T2 (en) Image processing device
DE3636702C2 (en)
US5515456A (en) Process for providing digital halftone image with random error diffusion, color correction and enlargement
EP0178547B1 (en) Method for representing a half-tone picture using a detection-adjusted grid
DE69423868T2 (en) Image processing apparatus and method
JPH0418750B2 (en)
US6826309B2 (en) Prefiltering for segmented image compression
JPS61154273A (en) Picture reloading method
EP0361538A1 (en) Method and system for edge enhancement in reproducing multi-level digital images on a bi-level printer of fixed dot size
JPS62114377A (en) Image processing method
JPS615676A (en) Image recording method
JPS60136478A (en) Picture processor
JPS60136476A (en) Picture processor
JP2898836B2 (en) Image processing method
EP0369596B1 (en) Discriminating regions of an image
JPH05160996A (en) Image processing method
JP3302426B2 (en) Image processing method
JPH0376630B2 (en)
JP2724177B2 (en) Halftone area separation method
JPS60253369A (en) Processing system of halftone picture
JPS63211974A (en) Image processor
JPH0197066A (en) Picture processing method
JPS60136477A (en) Picture processor
JPH09247450A (en) Image processing unit

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term