JPH0454768A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH0454768A
JPH0454768A JP2164291A JP16429190A JPH0454768A JP H0454768 A JPH0454768 A JP H0454768A JP 2164291 A JP2164291 A JP 2164291A JP 16429190 A JP16429190 A JP 16429190A JP H0454768 A JPH0454768 A JP H0454768A
Authority
JP
Japan
Prior art keywords
section
picture element
error
threshold level
picture
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
JP2164291A
Other languages
Japanese (ja)
Inventor
Katsuya Yomo
四方 克也
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.)
NTT Inc
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2164291A priority Critical patent/JPH0454768A/en
Publication of JPH0454768A publication Critical patent/JPH0454768A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To obtain a picture close to an image of an original picture by using regularly plural threshold levels having a proper dispersion given in a matrix in the case of making threshold level processing in the error spread method. CONSTITUTION:At first, a picture element read section 12 of a picture input section 1 reads a picture element and a picture element location detection section 11 detects the location of the read picture element. Then an error integration section 21 of a picture processing section 2 extracts an integration error caused when a threshold level processing section 24 applies threshold level processing to a surrounding picture element from an error storage section 22, applies weighting to the extracted integration error and makes integration and adds the result to a picture element value obtained from the picture element value read section 12. Then a threshold level setting section 23 sets a value corresponding to the picture element location obtained by the picture element location detection section 11 in a threshold level matrix as the threshold level. The processing section 24 binarizes the picture element added with the error by the integration section 21 based on the threshold level obtained by the setting section 23. In this case, the effect of this picture processing is obtained by limiting the threshold level in a range of 1/2-1/8 of the width of the picture element read value.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は画像を信号として読み取り、その信号を処理し
て原画のイメージに近い画像を出力する画像処理装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an image processing device that reads an image as a signal, processes the signal, and outputs an image close to the original image.

(従来の技術) 従来、ファクシミリやパソコン、複写機など出力可能な
階調数が2階調から数階調程度と少ないハードウェア上
で、階調再現性の高い画像を表現するために用いられる
画像処理としては、組織的デイザ法や誤差拡散法がある
。
(Conventional technology) Conventionally, it has been used to express images with high gradation reproducibility on hardware such as facsimiles, personal computers, and copying machines, which can output only a few gradations, ranging from two to several gradations. Image processing includes a systematic dither method and an error diffusion method.

組織的デイザ法では、マトリクス状で予め与えられた適
度にバラツキのあるしきい値で2値化することによって
、規則的なドツトパターンで階調性が表現される。この
ため、比較的簡単な計算方法で階調が表現できる。そし
て、しきい値マトリクスの次元を大きくすることによっ
て、再現できる階調数をより多くすることができるが、
逆に解像度は劣化するため表現可能な階調数はある程度
制限される。
In the systematic dither method, gradation is expressed in a regular dot pattern by binarizing using threshold values that are given in advance in a matrix and have moderate variations. Therefore, gradation can be expressed using a relatively simple calculation method. By increasing the dimension of the threshold matrix, it is possible to increase the number of tones that can be reproduced.
On the other hand, since the resolution deteriorates, the number of gradations that can be expressed is limited to some extent.

一方、誤差拡散法では、一定しきい値で2値化する際に
周囲画素の誤差を参照することによって、2値化による
誤差が周囲に拡散される。このため、組織的デイザ法よ
りも複雑な計算を要するが、エツジの保存性、解像度2
階調再現性はともに優れている。しかし、誤差拡散法で
処理を行うと、中間調領域でこの方法に特有な不規則模
様が表われ、非常に見苦しくなる欠点がある。
On the other hand, in the error diffusion method, errors caused by binarization are diffused to the surroundings by referring to errors of surrounding pixels when binarizing with a fixed threshold value. For this reason, it requires more complicated calculations than the systematic dither method, but it also improves edge preservation and resolution
Both have excellent gradation reproducibility. However, when processing is performed using the error diffusion method, an irregular pattern peculiar to this method appears in the halftone region, making it extremely unsightly.

(発明が解決しようとする課題) 上述のように、出力可能な階調数が比較的少ない画像出
力装置を用いて、できるだけ原画像のイメージに近い画
像を出力しようとする場合、組織的デイザ法では解像度
と階調再現性を同時に満足させることは困難であり、一
方誤差拡散法では非常に目ざわりな独特の不規則模様が
出るため、出力画像が見苦しいという欠点がある。
(Problems to be Solved by the Invention) As mentioned above, when trying to output an image as close to the original image as possible using an image output device that can output a relatively small number of gradations, the systematic dither method is used. However, it is difficult to satisfy resolution and gradation reproducibility at the same time, while the error diffusion method produces a unique irregular pattern that is very noticeable, making the output image unsightly.

(発明の目的) 本発明は出力可能な階調数が比較的少ない画像出力装置
を用いて、従来の技術で得られる画像よりも原画像のイ
メージに近い、高解像度、多階調の画像出力を可能とす
る画像処理装置の提供を目的とする。
(Objective of the Invention) The present invention uses an image output device that can output a relatively small number of gradations to output a high-resolution, multi-gradation image that is closer to the original image than images obtained by conventional techniques. The purpose of the present invention is to provide an image processing device that enables image processing.

(課題を解決するための手段) 本発明は上記課題を解決し目的を達成するため、写真な
どの中間調画像を、それよりも少ない階調数に変換処理
して出力する画像処理装置において、周囲画素における
上記変換処理の際の誤差を、当該画素に加重して積算し
、それをしきい値処理する際、しきい値として、入力レ
ベル差の178以上1/2以下の範囲に分散させた複数
のしきい値を画素ごとに周期的に用いることを特徴とす
る。
(Means for Solving the Problems) In order to solve the above problems and achieve the objects, the present invention provides an image processing apparatus that converts a halftone image such as a photograph into a smaller number of gradations and outputs the converted image. Errors during the above conversion process in surrounding pixels are weighted and integrated with respect to the pixel, and when performing threshold processing, the error is distributed over a range of 178 or more and 1/2 or less of the input level difference as a threshold. The method is characterized in that a plurality of threshold values are periodically used for each pixel.

(作 用) 本発明は、階調再現性や解像度の点で組織的デイザ法よ
り優れている誤差拡散法を用い、この誤差拡散法におい
てしきい値処理を行う際に、一定しきい値を用いる代わ
りに、マトリクス状で予め与えられた適度にバラツキの
ある複数のしきい値を規則的に用いることによって、誤
差拡散法の欠点である不自然な縞模様を組織的デイザ法
のように規則的なパターンで置き換えるので目になじみ
易くなり、より原画像のイメージに近い画像を得ること
ができる。
(Function) The present invention uses an error diffusion method that is superior to the systematic dither method in terms of gradation reproducibility and resolution, and when performing threshold processing in this error diffusion method, a fixed threshold value is set. Instead, by regularly using multiple threshold values that are given in advance in a matrix and have moderate variations, the unnatural striped pattern that is a drawback of the error diffusion method can be avoided as regularly as the systematic dither method. Since the image is replaced with a typical pattern, it becomes more familiar to the eye, and an image closer to the original image can be obtained.

(実施例) 第1図は本発明の一実施例の構成を示すブロック図であ
り、図において、1は画像入力部で1画像位置検出部1
1と画素値読み取り部12とでなる。
(Embodiment) FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In the figure, 1 is an image input section, 1 image position detection section 1
1 and a pixel value reading section 12.

2は画像処理部で、誤差積算部21.誤差記憶部22゜
しきい値設定部23.シきい値処理部24及び誤差計算
部25とでなる。3は画像出力部である。
2 is an image processing section, which includes an error accumulation section 21. Error storage section 22. Threshold setting section 23. It consists of a threshold processing section 24 and an error calculation section 25. 3 is an image output section.

本実施例の画像処理に用いる。しきい値マトリクスの例
を第2図に示し、(a)は分散型、(b)は網点型であ
り、詳細は後述する。
Used for image processing in this example. An example of a threshold matrix is shown in FIG. 2, in which (a) is a distributed type and (b) is a halftone type, the details of which will be described later.

次に第1図に示す構成の画像処理の動作を第3図のフロ
ーチャートにより説明する。
Next, the image processing operation of the configuration shown in FIG. 1 will be explained with reference to the flowchart shown in FIG.

まず、画像入力部1の画素値読み取り部12が画素の値
を読み取り(S□)画素位置検出部11は読み取った画
素の位置を検出する。ここで画素の位置とは、しきい値
マトリクス(第2図の16個)と同じサイズのブロック
で原画を領域分割したときの。
First, the pixel value reading section 12 of the image input section 1 reads the value of a pixel (S□), and the pixel position detection section 11 detects the position of the read pixel. Here, the pixel position refers to the area when the original image is divided into blocks of the same size as the threshold matrix (16 in FIG. 2).

ブロック内における相対的な位置を示すものである。This indicates the relative position within the block.

次に画像処理部2の誤差積算部21は、周辺画素につい
てしきい値処理部24でしきい値処理した際に生じた積
算誤差を、誤差記憶部22より取り出して一定の重み付
けをして積算しくS2)、画素値読み取り部12で得た
画素値に加える(S、)。そしてしきい値設定部23は
1画素位置検出部11で得た画素位置からしきい値マト
リクス上の対応する値をしきい値として設定する(S4
)。
Next, the error accumulating unit 21 of the image processing unit 2 retrieves the accumulated errors generated when the threshold processing unit 24 performs threshold processing on the peripheral pixels from the error storage unit 22, weights them with a certain amount, and integrates them. (S2) and added to the pixel value obtained by the pixel value reading section 12 (S,). Then, the threshold setting unit 23 sets the corresponding value on the threshold matrix from the pixel position obtained by the one-pixel position detection unit 11 as a threshold (S4
).

しきい値処理部24は、誤差積算部21によって誤差の
加算された画素値を、しきい値設定部23で得たしきい
値で2値化するC3s)。あるいは多値出力可能な場合
は、複数のしきい値マトリクスから複数のしきい値を設
定し、それによって多値化する。
The threshold processing section 24 binarizes the pixel value to which the error has been added by the error accumulation section 21 using the threshold value obtained by the threshold setting section 23 (C3s). Alternatively, if multi-value output is possible, a plurality of threshold values are set from a plurality of threshold matrices, and multi-value output is performed accordingly.

誤差計算部25は、しきい値処理した際に生じた誤差を
計算し、その値を誤差記憶部22の対応するメモリに格
納する(S、)。
The error calculation unit 25 calculates the error that occurs during the threshold processing, and stores the value in the corresponding memory of the error storage unit 22 (S,).

画像出力部3は、しきい値処理部24でしきい値処理を
行った値によって画像出力部3に表示を行なう(S7)
。そして、画像入力部1は画素値読み取り部12で読み
取った画素の読み取り位置を更新しくSl)、次に新た
な画素の読み取りに移行し、前記処理(8つ)を行なう
。
The image output unit 3 displays the value subjected to threshold processing by the threshold processing unit 24 on the image output unit 3 (S7).
. Then, the image input unit 1 updates the reading position of the pixel read by the pixel value reading unit 12 (Sl), then moves to reading a new pixel, and performs the above-mentioned processes (8).

次に第2図に示すしきい値マトリクスにおいて、ここで
取扱うしきい値マトリクスの多値は、組織的デイザ法と
まったく同じものを用いると、はとんどそのしきい値マ
トリクスのみに依存したしきい値処理が行なわれ、誤差
拡散法の効果がなくなる。また、しきい値を一定とする
と、誤差拡散法と同一の結果となることは自明である。
Next, regarding the threshold matrix shown in Figure 2, if the multi-value of the threshold matrix handled here is exactly the same as the systematic dither method, it depends almost only on the threshold matrix. Thresholding is performed, which eliminates the effectiveness of the error diffusion method. Furthermore, it is obvious that if the threshold value is constant, the same result as the error diffusion method will be obtained.

したがって1本画像処理で用いるしきい値マトリクスの
多値は、その変動幅をある程度制限する必要がある。
Therefore, it is necessary to limit the range of variation of the multi-valued threshold matrix used in single image processing to some extent.

また、マトリクス上におけるしきい値の並べ方は、組織
的デイザ法と同様の並べ方に従っている。
Further, the threshold values are arranged on the matrix in the same way as the systematic dither method.

その並べ方にはいくつかの種類があるが、第2図では一
例として分散型(a)と網点型(b)を示した。
There are several types of arrangement, and FIG. 2 shows a distributed type (a) and a halftone type (b) as examples.

上述した各前提条件から第2図の例では画像入力部1へ
の入力画素値を0〜63とし、しきい値マトリクスの多
値を入力画素値の中間値である32から±8に制限して
いる。したがって、24〜39の16個の値がしきい値
マトリクス上に並べられている。
Based on the above-mentioned preconditions, in the example shown in FIG. 2, the input pixel values to the image input unit 1 are set to 0 to 63, and the multi-values of the threshold matrix are limited to ±8 from 32, which is the intermediate value of the input pixel values. ing. Therefore, 16 values from 24 to 39 are arranged on the threshold matrix.

この±8の分散幅が、実験では最も良好な結果を得てい
る。
This dispersion width of ±8 has obtained the best results in experiments.

この例では、画素読み取り値の幅64の174の範囲内
にしきい値を制限しているが、一般的に1/2〜1/8
の範囲に制限すれば本画像処理の効果が得られることを
、実験により確認している。
In this example, the threshold is limited to a range of 174 of the pixel reading width 64, but typically 1/2 to 1/8
It has been confirmed through experiments that the effects of this image processing can be obtained by limiting the range to .

また、本画像処理では、第2図(b)の網点型マトリク
スを用いた方が、より自然な画像が得られている。これ
は、(a)の分散型では斜め方向の画素の相関が強いた
め、結果として斜めの線が目立ってしまうからである。
Furthermore, in this image processing, a more natural image is obtained by using the halftone matrix shown in FIG. 2(b). This is because in the distributed type (a), the correlation between pixels in diagonal directions is strong, and as a result, diagonal lines become conspicuous.

本画像処理の効果を検証するため、第2図に示したしき
い値マトリクスのサイズを8×8に拡張して実験を行な
った結果、従来の誤差拡散法における不規則な模様が、
本画像処理では規則的なパターンに置き換えられ、原画
像と比べて違和感が取り除かれたことを確認した。
In order to verify the effectiveness of this image processing, we expanded the size of the threshold matrix shown in Figure 2 to 8 x 8 and conducted an experiment. As a result, the irregular patterns in the conventional error diffusion method were
This image processing replaced the image with a regular pattern, and compared it with the original image, it was confirmed that the sense of discomfort was removed.

また、しきい値マトリクスや誤差伝搬係数を調整するこ
とにより、更に画質を改善できることも確認した。
We also confirmed that image quality could be further improved by adjusting the threshold matrix and error propagation coefficient.

(発明の効果) 以上説明したように本発明は、ハードウェアの制約上表
現力の限られている従来のファクシミリ等の画像出力装
置においても、本装置を用いることによって、以下のよ
うな効果を得ることができる。
(Effects of the Invention) As explained above, the present invention provides the following effects by using this device even in conventional image output devices such as facsimiles whose expressive power is limited due to hardware constraints. Obtainable.

■ 誤差拡散法に特有の不自然な縞模様をなくしたため
、従来の画像処理で得られる画像よりもより原画像のイ
メージに近い出力画像が得られる。
■ By eliminating the unnatural striped pattern characteristic of the error diffusion method, it is possible to obtain an output image that is closer to the original image than the image obtained by conventional image processing.

■ 誤差拡散法に簡単な改良を加えるだけで、上記の効
果が得られる。
■ The above effects can be obtained by simply making improvements to the error diffusion method.

【図面の簡単な説明】 第1図は本発明の一実施例の構成を示すブロック図、第
2図は本発明に用いられるしきい値マトリクスの各側を
示す図、第3図は第1図の画像処理動作を示すフローチ
ャートである。 1 ・・・画像入力部、 2・・・画像処理部、3・・
・画像出力部、11・・・画素位置検出部、12・・・
画素値読み取り部、21・・・誤差積算部、22・・・
誤差記憶部、23・・・しきい値設定部、24・・・ 
しきい値処理部、25・・・誤差計算部。 特許出願人 日本電信電話株式会社 第1図
[BRIEF DESCRIPTION OF THE DRAWINGS] FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a diagram showing each side of a threshold matrix used in the present invention, and FIG. 3 is a flowchart showing the image processing operation shown in FIG. 1...Image input section, 2...Image processing section, 3...
- Image output section, 11... Pixel position detection section, 12...
Pixel value reading section, 21...Error accumulation section, 22...
Error storage unit, 23... Threshold setting unit, 24...
Threshold processing section, 25... error calculation section. Patent applicant Nippon Telegraph and Telephone Corporation Figure 1

Claims (1)

【特許請求の範囲】  写真などの中間調画像を、それよりも少ない階調数に
変換処理して出力する画像処理装置において、 周囲画素における上記変換処理の際の誤差を、当該画素
に加重して積算し、それをしきい値処理する際、しきい
値として、入力レベル差の1/8以上1/2以下の範囲
に分散させた複数のしきい値を画素ごとに周期的に用い
ることを特徴とした画像処理装置。
[Claims] In an image processing device that converts a halftone image such as a photograph into a smaller number of gradations and outputs the converted image, an error in the conversion process in surrounding pixels is weighted on the pixel. When integrating the values and performing threshold processing, multiple threshold values distributed over a range of 1/8 to 1/2 of the input level difference are periodically used for each pixel. An image processing device featuring:
JP2164291A 1990-06-25 1990-06-25 Picture processor Pending JPH0454768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2164291A JPH0454768A (en) 1990-06-25 1990-06-25 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2164291A JPH0454768A (en) 1990-06-25 1990-06-25 Picture processor

Publications (1)

Publication Number Publication Date
JPH0454768A true JPH0454768A (en) 1992-02-21

Family

ID=15790320

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2164291A Pending JPH0454768A (en) 1990-06-25 1990-06-25 Picture processor

Country Status (1)

Country Link
JP (1) JPH0454768A (en)

Similar Documents

Publication Publication Date Title
JP3327680B2 (en) Generation method of halftone image using special filter
US5291309A (en) Image processing apparatus and method for multi-level image signal
US5109282A (en) Halftone imaging method and apparatus utilizing pyramidol error convergence
JP4100782B2 (en) Error diffusion value processing method
Fu et al. Data hiding by smart pair toggling for halftone images
EP0659012A2 (en) Method for quantization of gray level pixel data with extended distribution set
JPH0757081A5 (en)
JP3959698B2 (en) Image processing method and apparatus
US5805738A (en) Image processing apparatus and method
JPH07288689A (en) Image signal binarization processing apparatus and method
JP3810835B2 (en) Image processing method using error diffusion and halftone processing
EP0454495A1 (en) Half-tone image processing system
JPH11187264A (en) Image processing method and apparatus
JP3187352B2 (en) Method of halftoning gray value signal of pixel of image and image reproducing apparatus for reproducing image
Fan Dot-to-dot error diffusion
JPH0863596A (en) Error diffusion method, error diffusion system, and error value generation method
JP2003110852A (en) Halftone processing method and apparatus
US5825509A (en) Image processing device with error-diffusion quantization function
JP2000270210A (en) Image processing device
JPS60136478A (en) Picture processor
JPH07312688A (en) Image processing device
JP2860039B2 (en) Pseudo halftone image reduction device
JP2608404B2 (en) Image processing device
JPH0197066A (en) Picture processing method
JPH0197650A (en) Image processing method