[go: up one dir, main page]

JPH02239380A - Picture element density converting device - Google Patents

Picture element density converting device

Info

Publication number
JPH02239380A
JPH02239380A JP1059608A JP5960889A JPH02239380A JP H02239380 A JPH02239380 A JP H02239380A JP 1059608 A JP1059608 A JP 1059608A JP 5960889 A JP5960889 A JP 5960889A JP H02239380 A JPH02239380 A JP H02239380A
Authority
JP
Japan
Prior art keywords
density
pixel
picture
converted
binarization
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
JP1059608A
Other languages
Japanese (ja)
Inventor
Takao Kato
隆男 加藤
Yasunori Hashimoto
康訓 橋本
Masami Kato
政美 加藤
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 JP1059608A priority Critical patent/JPH02239380A/en
Priority to US07/492,490 priority patent/US5289293A/en
Priority to DE69020202T priority patent/DE69020202T2/en
Priority to EP90302677A priority patent/EP0389164B1/en
Publication of JPH02239380A publication Critical patent/JPH02239380A/en
Priority to US08/159,206 priority patent/US5351137A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PURPOSE:To excellently convert the picture element density of an indefinite picture at an arbitrary multiplication factor by calculating the mean density of the converted picture element by means of a projecting method, and binarizing it based on a quantization error and the mean density corresponding to the binarization of the peripheral picture elements. CONSTITUTION:The mean density of the converted picture elements by the projection method is operated in a picture element density arithmetic part for the original picture, and outputted to the binary processing part. The picture element density inputted from the arithmetic part passes through one picture element delay elements 51a to 51e, a delay element 53 which is three picture elements fewer than one line, and adders 52a to 52d. Further the quantization error generated by the binarization of the peripheral picture elements during the passage is obtained by a binary error calculating part 55, and the errors distributed to errors e1 to e4 by an error distribution processing part 56 is added. The density value including the error is binarized by a constant threshold by a binarizing part 54, and made into the converted output. Thus the picture element density of the undefined picture can be excellently converted at the arbitrary multiplication factor.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は画素密度変換装置、特に疑似中間調処理された
画像と文字あるいは線画との混在する二値画像の画素密
度変換装置に関するものである. [従来の技術] ファクシミリ通信等において、画像読取装置或は画像印
刷装置内での解像度と通信上の解像度とが異なる場合や
、画像編集装置等で画像データの拡大や縮小を行う場合
には、画像の画素密度の変換処理を必要とする。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a pixel density conversion device, and particularly to a pixel density conversion device for a binary image in which a pseudo-halftone-processed image and characters or line drawings coexist. .. [Prior Art] In facsimile communications, etc., when the resolution within an image reading device or image printing device is different from the resolution during communication, or when image data is enlarged or reduced using an image editing device, etc. Requires conversion processing of image pixel density.

従来、このような二値画像に対する画素密度変換方法と
しては、文字や線画を対象にして、spc法.論埋和法
.9分割法.投影法,線形補間法.距離反比例等様々な
方式が提案されている.又、デイザ法等により疑似中間
調処理された画像に対しては、平均値フィルタ等により
二値画像から元の多値画像を推定し、その多値画像に変
換を施した後再二値化する方式や、デイザ法に対してそ
のデイザマトリックスのブロック単位テ間引きを行う等
の方式が提案されている.[発明が解決しようとしてい
る課N] しかしながら、文字や線画を対象とした従来の変換方式
を、デイザ法等により疑似中間調処理された画像に適用
した場合、いずれの方式においても特に整数倍及びl/
整数倍でない変換において、モアレや周期的な線が生じ
る等の画質劣化が著しい。一方、疑似中間調処理された
画像を対象とした変換方式を文字や線画に適用した場合
、解像度の低下あるいは細線が消失する等の画質劣化が
著しい。
Conventionally, pixel density conversion methods for such binary images include the spc method for characters and line drawings. Sum-of-disputes method. 9 division method. Projection method, linear interpolation method. Various methods have been proposed, such as inversely proportional distance. In addition, for images that have been subjected to pseudo-halftone processing using the dither method, etc., the original multivalued image is estimated from the binary image using an average value filter, etc., and the multivalued image is converted and then re-binarized. Some methods have been proposed, such as methods to perform block-by-block thinning of the dither matrix for the dither method. [Problem N to be solved by the invention] However, when conventional conversion methods for characters and line drawings are applied to images that have been subjected to pseudo-halftone processing using the dither method, etc., in any method, integer multiples and l/
In conversion that is not an integer multiple, image quality deterioration such as moire and periodic lines occurs is significant. On the other hand, when a conversion method for images subjected to pseudo-halftone processing is applied to characters or line drawings, there is a significant deterioration in image quality such as a decrease in resolution or disappearance of thin lines.

又、デイザ画像を対象とした方式は、例えば元の多値画
像の推定のために、二値化に使用したディザマトリック
スが既知である必要がある(特開昭62−1 5746
13号)等、不特定の画像に対する処理には適用できな
い. 以上のように、従来提案されている方式では、疑似中間
調処理された画像と文字や線画との混在した不特定の画
像を良好に画素密度変換することは困難であった. 本発明は、このような点に鑑みてなされたものであり、
疑似中間調処理された画像と文字や線画との混在した不
特定な画像の画素密度を、任意の倍率で良好に変換する
画素密度変換装置を提供することを目的としてる。
Furthermore, in the method targeting dithered images, the dither matrix used for binarization must be known, for example, in order to estimate the original multivalued image (Japanese Patent Laid-Open No. 62-15746).
No. 13) cannot be applied to processing unspecified images. As described above, with the conventionally proposed methods, it is difficult to successfully convert the pixel density of an unspecified image in which a pseudo-halftone-processed image is mixed with text or line drawings. The present invention has been made in view of these points,
It is an object of the present invention to provide a pixel density conversion device that can satisfactorily convert the pixel density of an unspecified image containing a pseudo-halftone-processed image and characters or line drawings at an arbitrary magnification.

[課題を解決するための手段] この課題を解決するために、本発明の画素密度変換装置
は、疑似中間調処理された画像と文字あるいは線画との
混在する二値画像の画素密度を変換する画素密度変換装
置であって、 投影法によって、前記二値画像から変換画素の濃度或は
輝度を演算する変換画素演算手段と、その演算結果であ
る変換画素の平均濃度或は平均輝度を二値化する際に、
既に二値化された周囲画素の二値化に伴う量子化誤差と
前記平均濃度或は平均輝度とに基づいて二値化を行う二
値化手段とを備える。
[Means for Solving the Problem] In order to solve this problem, the pixel density conversion device of the present invention converts the pixel density of a binary image in which a pseudo-halftone-processed image and characters or line drawings are mixed. A pixel density conversion device, comprising a conversion pixel calculation means for calculating the density or brightness of a converted pixel from the binary image by a projection method, and converting the average density or average brightness of the converted pixel, which is the calculation result, into a binary value. When converting to
A binarization means is provided which performs binarization based on the average density or average brightness and a quantization error accompanying the binarization of surrounding pixels that have already been binarized.

[作用コ かかる構成において、文字や線画を対象として画素密度
変換による画質劣化が少ないとされている投影法を用い
て変換画素の濃度或は輝度を演算し、疑似中間調処理さ
れた画像に適用した場合に生じるモアレや周期的線をお
さえる為に、その演算出力である変換画素の平均濃度或
は平均輝度を二値化する際に、既に二値化された周辺画
素の二値化に伴う量子化誤差と前記平均濃度或は平均輝
度とに基づいて、誤差拡散法或は平均誤差最小化法によ
り二値化を行う.[実施例] 以下に、図面を参照して本発明の原理及び実施例を説明
する. 第1図は本実施例による画素密度変換装置を示すブロッ
ク図である.原画像に対し、投影法による画素濃度演算
部11で変換画素の濃度が演算され、その演算結果(n
ビット)が誤差拡散法による二値化処理部12で二値化
され、画素密度が変換された変換出力画像を得る。
[Operation] In such a configuration, the density or brightness of converted pixels is calculated using a projection method that is said to cause less image quality deterioration due to pixel density conversion for characters and line drawings, and is applied to images that have undergone pseudo halftone processing. In order to suppress moiré and periodic lines that occur when the calculation is performed, when the average density or average brightness of the converted pixel, which is the calculation output, is binarized, it is necessary to Binarization is performed using the error diffusion method or the average error minimization method based on the quantization error and the average density or average brightness. [Examples] The principles and examples of the present invention will be explained below with reference to the drawings. FIG. 1 is a block diagram showing a pixel density conversion device according to this embodiment. The density of the converted pixel is calculated for the original image by the pixel density calculation unit 11 using the projection method, and the calculation result (n
bits) are binarized by the binarization processing unit 12 using the error diffusion method to obtain a converted output image whose pixel density has been converted.

まず、第2図で投影法による画素濃度演算の原理を説明
する。ここでは一例として変換倍率%の場合を示す.注
目画素である変換画素Aを原画像に投影させ、投影面上
の変換画素Aの画素面と重なりを有する原画素をP,Q
,R,Sとする.ここで、投影された変換画素Aの画素
面内に画素面P,Q,R,Sが占める面積を、それぞれ
SP * So ,SR * Sl1とすると、注目画
素Aの平均濃度■.は次式で表される.(Ip.Io.
In,Is:画素面P,Q,R,Sの濃度)次に、この
注目画素Aの平均濃度IAを二値化することで画素密度
が変換された変換出力画素が得られる. 画素濃度演算部11のブロック図を第3図に示す。図示
する例では変換倍率〉局程度の範囲を処理可能とするも
のである。41は画素取出部であり投影面上の変換画素
の位置(x.y)の近傍原画素を取出す.42は変換画
素の位置演算部であり、主走査.副走査方向変換倍率に
応じて定まる投影面上の変換画素の位置を演算する.4
3は面積演算部であり、位置演算郎42で求められた位
置情報と変換倍率とに応じて各面積が算出される.44
は式(1)で示す演算処理部であり、画素取出部41及
び面積演算部43の出力の乗算結果から注目変換画素の
平均濃度を算出する. 尚、画素濃度演算部11は上記の構成に限定されるわけ
ではなく、一般的に次式(2)で表わされる演算結果が
得られればどのような処理方法でも良い。
First, the principle of pixel density calculation using the projection method will be explained with reference to FIG. Here, as an example, we will show the case of conversion magnification %. The converted pixel A, which is the pixel of interest, is projected onto the original image, and the original pixels that overlap the pixel surface of the converted pixel A on the projection plane are P, Q.
,R,S. Here, if the areas occupied by the pixel planes P, Q, R, and S in the pixel plane of the projected converted pixel A are SP*So and SR*Sl1, respectively, then the average density of the pixel of interest A is . is expressed by the following equation. (Ip.Io.
In, Is: densities of pixel planes P, Q, R, S) Next, by binarizing the average density IA of this pixel of interest A, a converted output pixel whose pixel density has been converted is obtained. A block diagram of the pixel density calculation section 11 is shown in FIG. In the illustrated example, it is possible to process a range of conversion magnification>station. Reference numeral 41 denotes a pixel extraction unit which extracts original pixels near the position (x, y) of the converted pixel on the projection plane. 42 is a conversion pixel position calculation unit, which performs main scanning. Calculates the position of the converted pixel on the projection plane, which is determined according to the sub-scanning direction conversion magnification. 4
Reference numeral 3 denotes an area calculation unit, which calculates each area according to the position information obtained by the position calculation unit 42 and the conversion magnification. 44
is an arithmetic processing section expressed by equation (1), which calculates the average density of the target converted pixel from the multiplication result of the outputs of the pixel extraction section 41 and the area calculation section 43. It should be noted that the pixel density calculation section 11 is not limited to the above configuration, and generally any processing method may be used as long as the calculation result expressed by the following equation (2) can be obtained.

Z>X I8:注目変換画素Nの平均濃度又は平均輝度IK一投
影面上の注目変換画素Nの画素面と重なりを有する原画
素Kの濃度又は輝度 SK:原画素Kの画素面のうち変換画素、の画素面に重
なる面積 本実施例では、回路の簡略化の為に参照する原画素Kの
数を4個に限定した場合を示している.この参照画素数
を多くとることで、処理可能とする変換倍率の範囲を広
げること(縮小時の最小倍率)ができる.又、画素取出
部41の構成により、シーケンシャルに入力される画像
データに対する逐次処理でも、メモリ等の記憶装置に格
納された画像データに対する処理でも可能である. 次に、誤差拡散法による二値化処理部12について説明
する.投影法をデイザ等の疑似中間調画像に適用した場
合、その演算結果を単純二値化(即ち、一定しきい値で
二値化)すると量子化誤差等の為にモアレや周期的な線
が強調され劣化する.本実施例では、このような量子化
誤差による画質の劣化を防ぐ為に、誤差拡散法により二
値化処理を行う. 第4図に二値化処理部12のブロック図を示す.投影法
による画素濃度演算部11からの出力の画素濃度は、1
画素遅延素子51a〜51e.1ラインより3画素少な
い遅延素子53及び加算器52a〜52dを通過する間
に、それ以前に周囲画素で生じた二値化誤差01〜e4
が加算される.この周辺画素の二値化誤差を含む濃度値
を、二値化部54により一定しきい値で二値化した値が
変換出力となる.この二値化により生じた量子化誤差を
二値化誤差算出部55で求め、誤差分配処理部56によ
りe1〜e4に分配する. 二値化誤差算出部55では、二値化誤差をE,二値化処
理部への入力濃度をIo(最大値を1に正規化した値)
.シきい値をT.二値化出力を′1”又は″O”とする
と、次のような演算がなされる. 又、誤差分配部56では、例えば次のようにei””e
4が演算される. e.xe4は、第5図に示すように注目画素の周囲画素
へ分配される. 尚、第4図に示す例では誤差を周囲4画素に拡散させた
場合であるが、本発明はこれに限るわけではなく、画質
と回路規模を考慮して決定すればよい.但し、モアレを
良好に消去させる為には、二値化誤差を100%周囲へ
拡散させる必要がある.即ち、Σan=E (n 二誤
差を分配させる周辺画素の数)を満たすようにerlを
決定する. 又、画素拡散法の変わりに平均誤差最小化法を用いても
同じである. 以上説明したように、本実施例では投影法により、求め
られた変換画素の平均濃度、或は平均輝度を誤差拡散法
により二値化することで、不特定の疑似中間調処理され
た画像を混在する文字や線画に対する影響を少なく同一
の処理で任意の倍率に画素密度変換できる。
Z > Area overlapping the pixel surface of a pixel This embodiment shows a case where the number of original pixels K to be referenced is limited to four in order to simplify the circuit. By increasing the number of reference pixels, it is possible to widen the range of conversion magnification that can be processed (minimum magnification when reducing). Further, depending on the configuration of the pixel extraction section 41, it is possible to process sequentially input image data or to process image data stored in a storage device such as a memory. Next, the binarization processing unit 12 using the error diffusion method will be explained. When the projection method is applied to a pseudo-halftone image such as a dither, if the calculation result is simply binarized (that is, binarized with a fixed threshold), moiré or periodic lines may appear due to quantization errors, etc. It is emphasized and degraded. In this embodiment, in order to prevent deterioration of image quality due to such quantization errors, binarization processing is performed using the error diffusion method. Figure 4 shows a block diagram of the binarization processing section 12. The pixel density of the output from the pixel density calculation unit 11 using the projection method is 1
Pixel delay elements 51a-51e. Binarization errors 01 to e4 previously generated in surrounding pixels while passing through the delay element 53 and adders 52a to 52d, which are three pixels less than one line.
is added. The density value including the binarization error of the surrounding pixels is binarized by the binarization unit 54 using a constant threshold value, and the value becomes the conversion output. A quantization error caused by this binarization is calculated by a binarization error calculation section 55, and distributed to e1 to e4 by an error distribution processing section 56. In the binarization error calculation unit 55, the binarization error is E, and the input density to the binarization processing unit is Io (a value obtained by normalizing the maximum value to 1).
.. Set the threshold to T. When the binarized output is set to ``1'' or ``O'', the following calculation is performed. Also, in the error distribution section 56, for example, ei''''e is calculated as follows.
4 is calculated. e. xe4 is distributed to pixels surrounding the pixel of interest as shown in FIG. Note that although the example shown in FIG. 4 is a case where the error is diffused to four surrounding pixels, the present invention is not limited to this, and the decision may be made in consideration of image quality and circuit scale. However, in order to effectively eliminate moiré, it is necessary to diffuse 100% of the binarization error to the surrounding area. That is, erl is determined so as to satisfy Σan=E (n: the number of peripheral pixels to which the error is distributed). Also, the same result can be obtained by using the average error minimization method instead of the pixel diffusion method. As explained above, in this embodiment, by using the projection method to binarize the average density or average brightness of converted pixels using the error diffusion method, an unspecified pseudo-halftone-processed image can be created. Pixel density can be converted to any magnification with the same processing, with less influence on mixed characters and line drawings.

このように、本実施例では画質劣化を伴なうこと無く画
素密度変換を行うことが出来る.このため、G3ファク
シミリの画像を04ファクシミリに送信する場合や、そ
の逆の場合に本実施例が有効である. [発明の効果] 本発明Vより、疑似中間調処理された画像と文字や線画
との混在した不特定な画像の画素密度を、任意の倍率で
良好に変換する画素密度変換装置を提供できる。
In this way, in this embodiment, pixel density conversion can be performed without deteriorating image quality. Therefore, this embodiment is effective when transmitting an image from a G3 facsimile to a 04 facsimile, and vice versa. [Effects of the Invention] According to the present invention V, it is possible to provide a pixel density conversion device that can satisfactorily convert the pixel density of an unspecified image in which a pseudo-halftone-processed image and characters or line drawings are mixed together at an arbitrary magnification.

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

第1図は本実施例の画素密度変換装置のブロック図、 第2図は投影法による画素密度変換の原理を説明する図
、 第3図は投影法による画素濃度演算部の実施例を示す図
、 第4図は誤差拡散処理による二値化処理部の実施例を示
す図、 第5図は誤差拡散法の説明図である.
FIG. 1 is a block diagram of the pixel density conversion device of this embodiment. FIG. 2 is a diagram explaining the principle of pixel density conversion using the projection method. FIG. 3 is a diagram showing an embodiment of the pixel density calculation section using the projection method. , Fig. 4 is a diagram showing an example of a binarization processing unit using error diffusion processing, and Fig. 5 is an explanatory diagram of the error diffusion method.

Claims (1)

【特許請求の範囲】 疑似中間調処理された画像と文字あるいは線画との混在
する二値画像の画素密度を変換する画素密度変換装置で
あつて、 投影法によつて、前記二値画像から変換画素の濃度或は
輝度を演算する変換画素演算手段と、その演算結果であ
る変換画素の平均濃度或は平均輝度を二値化する際に、
既に二値化された周囲画素の二値化に伴う量子化誤差と
前記平均濃度或は平均輝度とに基づいて二値化を行う二
値化手段とを備えることを特徴とする画素密度変換装置
[Scope of Claims] A pixel density conversion device for converting the pixel density of a binary image in which a pseudo-halftone-processed image and characters or line drawings are mixed, the pixel density conversion device converting the pixel density of a binary image using a projection method. A converted pixel calculation means for calculating the density or brightness of a pixel, and when binarizing the average density or average brightness of the converted pixel which is the calculation result,
A pixel density conversion device characterized by comprising a binarization unit that performs binarization based on the quantization error accompanying the binarization of surrounding pixels that have already been binarized and the average density or average brightness. .
JP1059608A 1989-03-14 1989-03-14 Picture element density converting device Pending JPH02239380A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP1059608A JPH02239380A (en) 1989-03-14 1989-03-14 Picture element density converting device
US07/492,490 US5289293A (en) 1989-03-14 1990-03-12 Pixel density conversion and processing
DE69020202T DE69020202T2 (en) 1989-03-14 1990-03-13 Device for converting the pixel density.
EP90302677A EP0389164B1 (en) 1989-03-14 1990-03-13 Pixel density converting apparatus
US08/159,206 US5351137A (en) 1989-03-14 1993-11-30 Pixel density converting apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1059608A JPH02239380A (en) 1989-03-14 1989-03-14 Picture element density converting device

Publications (1)

Publication Number Publication Date
JPH02239380A true JPH02239380A (en) 1990-09-21

Family

ID=13118138

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1059608A Pending JPH02239380A (en) 1989-03-14 1989-03-14 Picture element density converting device

Country Status (1)

Country Link
JP (1) JPH02239380A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06295338A (en) * 1992-11-11 1994-10-21 Internatl Business Mach Corp <Ibm> Method for producing picture

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5775061A (en) * 1980-10-28 1982-05-11 Ricoh Co Ltd Variable magnification method for harf tone picture
JPS6273865A (en) * 1985-09-27 1987-04-04 Toshiba Corp Line density converting device
JPH01134577A (en) * 1987-11-20 1989-05-26 Hitachi Ltd Image processing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5775061A (en) * 1980-10-28 1982-05-11 Ricoh Co Ltd Variable magnification method for harf tone picture
JPS6273865A (en) * 1985-09-27 1987-04-04 Toshiba Corp Line density converting device
JPH01134577A (en) * 1987-11-20 1989-05-26 Hitachi Ltd Image processing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06295338A (en) * 1992-11-11 1994-10-21 Internatl Business Mach Corp <Ibm> Method for producing picture

Similar Documents

Publication Publication Date Title
JP3585703B2 (en) Image processing device
JPH0777418B2 (en) Image processing device
EP0415513B1 (en) Image reduction system
US5271072A (en) Image reduction of binary images using filtering processing
US5838817A (en) Image processing apparatus and method for coding and decoding chromaticity information
JPH06276392A (en) Picture processing unit
JPH04286465A (en) Picture processor
US5055944A (en) Image signal processing apparatus
JPH02239380A (en) Picture element density converting device
JPS62242473A (en) Pseudo halftone image processor
EP0382581A2 (en) Image processing apparatus
EP0362590B1 (en) Facsmile system
JPH04365182A (en) Variable power picture processor
US7295344B2 (en) Image processing method and image processing apparatus, program and recording medium, and image forming apparatus
US7342688B2 (en) Apparatus for eliminating moire in scanned image and method for the same
JPH0311879A (en) Picture element density converter
JP3212339B2 (en) Image magnification device
JP2569568B2 (en) Pseudo halftone image two-dimensional data prediction operation device for facsimile machine
JPH01173971A (en) Picture processor
JPH03187673A (en) Image processing device
JPH10262148A (en) Image processor
JPH0311877A (en) Picture element density converter
JPH04157872A (en) Picture processing unit
JPH07212573A (en) Resolution conversion device for binary picture
JPH0311881A (en) Picture element density converter