JPH01277057A - Device and method for converting picture element density - Google Patents

Device and method for converting picture element density

Info

Publication number
JPH01277057A
JPH01277057A JP63106849A JP10684988A JPH01277057A JP H01277057 A JPH01277057 A JP H01277057A JP 63106849 A JP63106849 A JP 63106849A JP 10684988 A JP10684988 A JP 10684988A JP H01277057 A JPH01277057 A JP H01277057A
Authority
JP
Japan
Prior art keywords
converted
density
pixel
area
converted pixel
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.)
Granted
Application number
JP63106849A
Other languages
Japanese (ja)
Other versions
JP2691559B2 (en
Inventor
Yoshiyuki Okada
佳之 岡田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63106849A priority Critical patent/JP2691559B2/en
Publication of JPH01277057A publication Critical patent/JPH01277057A/en
Application granted granted Critical
Publication of JP2691559B2 publication Critical patent/JP2691559B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To omit a multiplication circuit for density conversion and to perform a fast processing with a circuit of small scale by setting an area ratio by setting each density of a picture element group to be converted in n-ary expression as 1/width square of (n) in case of performing the picture element conversion of a multi-level image. CONSTITUTION:Assuming projecting neighboring picture element as A, B..., density as I, and the area ratio as W, the density of a conversion picture element R can be found in equation I. The density data of each picture element to be converted is inputted to multiplexers (131-134). At such a time, a division area deciding circuit 12 decides a division area to which the conversion picture element belongs by the position of the present conversion picture element on the flat plane of the picture element to be converted, and sends a decided result to the multiplexers (131-134). The multiplexers (131-134) and an arithmetic circuit 14 perform digit shift or computation based on a decided division area from the circuit 12, and obtain the density corresponding to the present conversion picture element. At the time of acquiring the density, by executing addition by adders (14a-14c) and equation I, it is possible to reduce the number of times of computation of the multiplication of I*W in equation I.

Description

【発明の詳細な説明】 〔目次〕 概要。[Detailed description of the invention] 〔table of contents〕 overview.

産業上の利用分野 技術の背景 (第11.12図) 従来の技術 (第1.1,12.13図)発明が解決し
ようとする問題点 問題点を解決するための手段 (第1,2図)作用  
(第1.2.11図) 実施例 (第3.4,5,6,7,8,9゜10.11
図) 発明の効果 〔概要〕 被変換画素が配列された平面上に投影された変換画素の
位置する分割領域に応じて近傍の被変換画素の濃度から
各変換画素の濃度を投影法により決定する画素密度変換
装置及び方法に関し、算術演算を極力少なくし、特に乗
算演算を少なくすることで、小規模の回路構成により高
速に処理をすることが可能な多値画像の画素密度変換装
置及び方法を提供することを目的とし、変換画素の近傍
に位置するn進法で表現された所定の被変換画素群の濃
度データを入力し、変換倍率及び被変換画素の配列に基
づいて、その領域内においては被変換画素群の各濃度が
対応するnの巾乗分の一の大きさをもつ各面積比率によ
り変換画素の濃度に寄与するとして設定された分割領域
のどの分割領域に変換画素が位置するかを判定し、判定
された分割領域に基づいてn進法で表示された前記被変
換画素の各濃度データの桁移動を行い、桁移動された各
被変換画素の濃度データから当該変換画素の濃度を算出
する構成である。
Background of the technology in the field of industrial application (Fig. 11.12) Conventional technology (Fig. 1.1, 12.13) Problems to be solved by the invention Means for solving the problems (Fig. 1, 2) Figure) Effect
(Fig. 1.2.11) Example (Fig. 3.4, 5, 6, 7, 8, 9゜10.11)
Figure) Effects of the invention [Summary] The density of each converted pixel is determined by a projection method from the density of nearby converted pixels according to the divided area in which the converted pixel is located, which is projected onto a plane on which the converted pixels are arranged. Regarding the pixel density conversion device and method, the present invention provides a pixel density conversion device and method for multivalued images that can perform high-speed processing with a small-scale circuit configuration by minimizing arithmetic operations, especially by reducing multiplication operations. For the purpose of providing, the density data of a predetermined group of converted pixels expressed in n-ary system located in the vicinity of the converted pixels is input, and based on the conversion magnification and the arrangement of the converted pixels, the density data is is the divided area in which the converted pixel is located among the divided areas set such that each density of the converted pixel group contributes to the density of the converted pixel according to the area ratio of each area having a size equal to one power of n. Based on the determined divided area, each density data of the converted pixel displayed in the n-ary system is shifted by digits, and the density data of the converted pixel is calculated from the shifted density data of each converted pixel. This is a configuration for calculating concentration.

(産業上の利用分野) 本発明は画素密度変換装置及び方法に係り、特に被変換
画素が配列された平面上に投影された変換画素の位置す
る分割領域に応じて近傍の被変換画素の濃度から各変換
画素の濃度を投影法により決定する画素密度変換装置及
びその方法に関する。
(Industrial Application Field) The present invention relates to a pixel density conversion device and method, and in particular, the density of neighboring pixels to be converted is determined according to a divided area in which a converted pixel projected onto a plane on which pixels to be converted are arranged is located. The present invention relates to a pixel density conversion device and method for determining the density of each converted pixel by a projection method.

(技術の背景) 近年、中間調及びフルカラー等の多値画像を対象とした
画素密度変換装置として、特に投影法における面積率計
算及び重み付は乗算を行わずに、被変換画素から変換画
素を求める高速画素密度変換装置がある。
(Technical Background) In recent years, pixel density conversion devices for multivalued images such as halftones and full colors have been developed, especially for area ratio calculation and weighting in the projection method, which converts converted pixels from pixels to be converted without performing multiplication. There is a high-speed pixel density conversion device that you are looking for.

現在の画像処理システムでは白黒2値画像だけではなく
中間調及びフルカラー等の多値画像を対象としている場
合が多く、多値画像編集時の拡大・縮小技術は不可欠と
なっている。画像入出力機器においても中間調及びフル
カラーのスキャナーやプリンタ(熱転写、電子写真)も
復旧し始めており、解像度の異なる機器間での画素密度
変換装置は重要な役割を果たしている。
Current image processing systems often target not only black-and-white binary images but also multi-value images such as half-tone and full-color images, and enlargement/reduction techniques are indispensable when editing multi-value images. Among image input/output devices, half-tone and full-color scanners and printers (thermal transfer, electrophotography) are starting to recover, and pixel density conversion devices are playing an important role between devices with different resolutions.

多値画像に対する画素密度変換装置(画像拡大、縮小)
として使用される投影法は、最近例の4画素及び隣接す
る変換画素から変換画素への濃度を決める方法である(
画像電子学会誌、第11巻、第2号、 72−83.1
982)。
Pixel density conversion device for multivalued images (image enlargement, reduction)
The projection method used as a recent example is a method of determining the density of a converted pixel from four pixels and adjacent converted pixels (
Journal of the Institute of Image Electronics Engineers, Volume 11, No. 2, 72-83.1
982).

第11図に投影法の原理を示す。幾何学モード変換の1
つである投影法では先ず、近傍4画素A、B、C,Dを
含む被変換画像面を四等分する。近傍4画素の濃度をI
、、I、、lc、IDとし、変換画素Rを被変換画素面
に投影した際に、前記四等分領域に投影される面積比率
をWA、WB。
FIG. 11 shows the principle of the projection method. Geometric mode conversion 1
In one projection method, first, the image plane to be transformed including four neighboring pixels A, B, C, and D is divided into four equal parts. The density of four neighboring pixels is I
,,I,,lc,ID, and when the converted pixel R is projected onto the pixel surface to be converted, the area ratios projected onto the quadrants are WA and WB.

W、、WI)とする。W,, WI).

そして、変換画素凡の濃度を ■R−Σ11* Wi ; i=A、B、C,D  ・
・・ ※により求める。
Then, the density of the converted pixel is expressed as ■R−Σ11* Wi; i=A, B, C, D・
... Determined by *.

ここで、一般にΣW1=1である。Here, generally ΣW1=1.

尚、第11図中の1)、qはX軸、Y軸方向の変換倍率
である。
Note that 1) and q in FIG. 11 are conversion magnifications in the X-axis and Y-axis directions.

投影法において、変換画素濃度を求める処理手順を第1
2図に示す。
In the projection method, the first step is to calculate the converted pixel density.
Shown in Figure 2.

(従来の技術) 従来、変換画素の濃度を求めようとする場合には画素密
度変換を投影法で行う場合において、変換画素濃度を求
める処理手順を第12図に示す。
(Prior Art) Conventionally, FIG. 12 shows a processing procedure for calculating the converted pixel density when pixel density conversion is performed by a projection method.

■ 被変換画素面上での変換画素Rの座標(X。■ Coordinates of converted pixel R on the converted pixel surface (X.

Y)を計算する。Y) is calculated.

■ 座標(X、Y)及び変換倍率p、qから投影される
各面積比率WA、WB 、We 、Woを計算する。
(2) Calculate the projected area ratios WA, WB, We, and Wo from the coordinates (X, Y) and conversion magnifications p and q.

■ 被変換画素4画素A、B、C,Dの濃度IA+In
、 IC,10と■で求めた各面積比率WA。
■ Density IA+In of 4 pixels A, B, C, D to be converted
, IC,10 and each area ratio WA determined by ■.

w、、We 、Woから式※に従って変換画素Rの濃度
を計算する。
The density of the converted pixel R is calculated from w, , We, and Wo according to the formula*.

■ 変換画素Rの濃度1.を出力する。■Conversion pixel R density 1. Output.

次に投影法に基づく面積比率計算回路及び積和演算回路
(前記処理手順■、■に相当)のブロック図な第13図
に示す。
Next, FIG. 13 shows a block diagram of an area ratio calculation circuit and a product-sum calculation circuit (corresponding to the processing steps ① and ①) based on the projection method.

本例は第13図に示すように所定の変換画素の近傍の第
11図に示した4つの被変換画素A、B、C,Dに位置
する被変換画素の濃度データI/に、IB、Ic、II
Iを各乗算機331,332゜333.334に入力す
る入力手段と、現在の変換画素が位置する面積比率を求
める面積比率計算回路312と、当該回路312により
得られた各面積比率WA 、Wa 、Wc 、Woと当
該変換画素の近傍に位置する4個の被変換画素A、B、
C。
In this example, as shown in FIG. 13, the density data I/I of the converted pixels located in the four converted pixels A, B, C, and D shown in FIG. 11 near a predetermined converted pixel, IB, Ic, II
An input means for inputting I into each multiplier 331, 332, 333, 334, an area ratio calculation circuit 312 for calculating the area ratio where the current converted pixel is located, and each area ratio WA, Wa obtained by the circuit 312. , Wc, Wo and four converted pixels A, B, located near the converted pixel,
C.

Dに当該濃度データIA、1B、IC,10との乗算を
行う乗算機331,332,333,334と、乗算機
331,332の乗算結果同士の加算を行う加算機31
4aと、乗算機333,334の乗算結果の加算を行う
加算機314bと、当該加算機314a、314bの加
算結果の加算を行う加算機314cとを有する。
Multipliers 331, 332, 333, and 334 that multiply D by the density data IA, 1B, IC, and 10; and an adder 31 that adds the multiplication results of the multipliers 331 and 332.
4a, an adder 314b that adds the multiplication results of the multipliers 333 and 334, and an adder 314c that adds the addition results of the adders 314a and 314b.

前記面積比率計算回路312は変換画素の位置座標X、
Yの値とそれらの士の符号及びp、qから(0,5+p
x)*(0,5+qy)を計算し、各面積比率WA 、
WB 、We 、Woを求め、さらに乗算回路331.
332,333,334と加算回路314a、314b
、314cにより加算を行うことになる。
The area ratio calculation circuit 312 calculates the position coordinates X of the converted pixel,
From the value of Y and the sign between them and p and q, (0,5+p
x)*(0,5+qy), and calculate each area ratio WA,
WB, We, and Wo are determined, and the multiplication circuit 331.
332, 333, 334 and addition circuits 314a, 314b
, 314c.

従って、第13図の回路全体では乗算を3x4+4=1
6回、加減算を2x4+3=11回行うことになる。
Therefore, in the entire circuit of Fig. 13, the multiplication is 3x4+4=1
This means that addition and subtraction will be performed 6 times and 2x4+3=11 times.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところで、従来では画素の変換を行う場合にあっては、
1変換画素の濃度を求めるに際し、逐次処理を行うなら
ば、27回の算術演算を必要とすることになり、高速演
算を行うことができなかった。
By the way, conventionally when converting pixels,
When calculating the density of one converted pixel, if sequential processing were performed, 27 arithmetic operations would be required, making it impossible to perform high-speed calculations.

また、並列処理を行う場合には乗算回路だけでも16個
使用するパイプライン構成を採らねばならず、回路規模
が膨大になるという問題点を有していた。
In addition, when performing parallel processing, a pipeline configuration must be adopted in which 16 multiplication circuits are used alone, resulting in a problem that the circuit scale becomes enormous.

そこで、本発明は以上の問題点を解決することを技術的
課題とするものであって、算術演算な極力少なくし、特
に乗算演算を少なくすることで、小規模の回路構成によ
り高速に処理をすることが可能な多値画像の画素密度変
換装置及び方法を提供することを目的としてなされたも
のである。
Therefore, the technical object of the present invention is to solve the above problems, and by reducing arithmetic operations as much as possible, especially multiplication operations, high-speed processing can be achieved with a small-scale circuit configuration. The purpose of this invention is to provide an apparatus and method for converting pixel density of a multivalued image.

〔課題を解決するための手段〕[Means to solve the problem]

以上の技術的課題を解決するため第一の発明は第1図に
示すように被変換画素が配列された平面上に投影された
変換画素の位置する分割領域に応じて近傍の被変換画素
の濃度から各変換画素の濃度を決定する画素密度変換装
置において、変換画素の近傍に位置するn進法で表現さ
れた所定の被変換画素群の濃度データを入力する被変換
画素入力手段1と、変換倍率及び被変換画素の配列に基
づいて、その領域内においては被変換画素群の各濃度が
対応するnの巾乗性の一の大きさをもつ面積比率により
変換画素の濃度に寄与するとして設定された分割領域の
どの分割領域に当該変換画素が位置するかを判定する分
割領域判定手段2と、当該判定手段2により判定された
分割領域に基づいてn進法で表示された前記被変換画素
の各濃度データの桁移動を行う桁移動手段31.32・
・・。
In order to solve the above-mentioned technical problems, the first invention is based on the divided area in which the converted pixels are projected onto the plane where the converted pixels are arranged, as shown in FIG. In a pixel density conversion device that determines the density of each converted pixel from the density, a converted pixel input means 1 inputs density data of a predetermined group of converted pixels expressed in an n-ary system located in the vicinity of a converted pixel; Based on the conversion magnification and the arrangement of the pixels to be converted, it is assumed that within that area, each density of the group of pixels to be converted contributes to the density of the converted pixel by an area ratio having a magnitude of 1 of the corresponding power of n. divided area determining means 2 for determining in which divided area of the set divided areas the converted pixel is located; and the converted area displayed in an n-ary system based on the divided area determined by the determining means 2. Digit shifting means 31, 32, and 32 for shifting the digits of each density data of a pixel.
....

3mと、当該各桁移動手段31.32…、3mにより桁
移動された各被変換画素の濃度データから当該変換画素
の濃度を算出する演算手段4とを有するものである。
3m, and an arithmetic means 4 for calculating the density of the converted pixel from the density data of each converted pixel shifted by the digits by the digit moving means 31, 32, . . . , 3m.

第二の発明は被変換画素が配列された平面上に投影され
た変換画素の位置する分割領域に応じて近傍被変換画素
の濃度から各変換画素の濃度を決定する画素密度変換方
法において、 変換画素の近傍に位置するn進法で表示された所定の被
変換画素群の濃度データを順次入力する過程(S1)と
、変換倍率及び被変換画素の配列に基づいて、その領域
内においては被変換画素の濃度が、対応するnの巾乗分
の一の大きさをもつ面積比率により変換画素の濃度に寄
与するとして設定された分割領域のどの分割領域に当該
変換画素が位置するかを判定する過程(S2)と、判定
された分割領域に基づいてn進法で表示された前記被変
換画素の各濃度データの桁移動を行う過程(S3)と、
桁移動された各被変換画素の濃度データから当該変換画
素の濃度を演算する過程(S4)とを有するものである
The second invention is a pixel density conversion method in which the density of each converted pixel is determined from the density of neighboring converted pixels according to the divided area in which the converted pixel is located projected onto a plane on which the converted pixels are arranged, A process (S1) of sequentially inputting the density data of a predetermined group of converted pixels located in the vicinity of the pixel and displayed in the n-ary system, and based on the conversion magnification and the arrangement of the converted pixels, Determine in which divided region the converted pixel is located among the divided regions set as contributing to the density of the converted pixel according to the area ratio in which the density of the converted pixel has a size equal to one power of the corresponding n. (S2), and a step (S3) of shifting the digits of each density data of the converted pixel displayed in the n-ary system based on the determined divided area;
This process includes a step (S4) of calculating the density of the converted pixel from the density data of each converted pixel that has been shifted by digit.

(作用) 第−及び第二の発明の詳細な説明する。(effect) A detailed explanation of the first and second inventions will be given.

本発明により画素密度の変換を行う場合には、第1図及
び第2図に示すように、ステップS1において、所定の
変換画素に対して当該変換画素を被変換画素平面に投影
した位置に基づき前記被変換画素入力手段1は当該変換
画素の近傍に位置するn進法(はとんどの場合は二進法
であろう)で表現された被変換画素の各濃度データを順
次当該画素変換装置に入力する。ここで、近傍に位置す
る被変換画素とは例えば第11図に示すような当該変換
画素を囲むA、B、C,Dの4画素である。
When converting the pixel density according to the present invention, as shown in FIG. 1 and FIG. The converted pixel input means 1 sequentially inputs each density data of the converted pixel expressed in n-ary system (in most cases, binary system) located in the vicinity of the converted pixel to the relevant pixel conversion device. do. Here, the nearby pixels to be converted are, for example, four pixels A, B, C, and D surrounding the converted pixel as shown in FIG. 11.

ステップS2において前記分割領域判定手段2は当該変
換画素が位置する分割領域を判定する。
In step S2, the divided area determination means 2 determines the divided area in which the converted pixel is located.

ここで、「分割領域」とは前述したように変換倍率及び
被変換画素の配列に基づくとともに、その領域内におい
ては被変換画素群の各濃度に対してnの巾(ベキ)乗分
の一の犬きさをもつ面積比率により変換画素の濃度に寄
与するとして設定された領域である。
Here, the "divided area" is based on the conversion magnification and the arrangement of the converted pixels as described above, and within that area, the width (power) of n is divided for each density of the converted pixel group. This is an area that is set to contribute to the density of the converted pixel by an area ratio having a dog size.

また、「寄与するとして」とは必ずしも当該変換画素の
位置により定まる正確な面積比率により寄与するものに
限定されるものではなく、ある程度の寄与の傾向が考慮
されれば寄与するとして扱っても良い。
Furthermore, "contributing" is not necessarily limited to contributing by an accurate area ratio determined by the position of the converted pixel, but may be treated as contributing if a certain degree of contribution tendency is taken into account. .

ある変換画素の濃度への被変換画素の濃度による影響は
、前述した式※により与えられることになる。
The influence of the density of a pixel to be converted on the density of a certain converted pixel is given by the above-mentioned formula*.

また、「面積比率」とは前述したように例えば近傍に位
置する被変換画素をA、B、C,Dとした場合には、変
換画素Rの濃度Inに対して各被変換画素の濃度IA+
l1lIC+IOの係数として表示されるWA 、WB
 、We 、Wnである。
Furthermore, as mentioned above, the "area ratio" means, for example, when the nearby pixels to be converted are A, B, C, and D, the density IA+ of each converted pixel is relative to the density In of the converted pixel R.
WA, WB displayed as coefficients of l1lIC+IO
, We, and Wn.

ステップS3で当該分割領域判定手段2が判定して当該
分割領域に基づいて前記桁移動手段31、・・・3mに
対して桁移動の指示を与える。
In step S3, the divided area determining means 2 makes a determination and gives a digit moving instruction to the digit moving means 31, . . . , 3m based on the divided area.

ここで、mは当該変換画素の近傍に位置する被変換画素
の個数を示すものであり、通常の投影法にあってはm 
= 4である。
Here, m indicates the number of converted pixels located in the vicinity of the converted pixel, and in the normal projection method, m
= 4.

すなわち、各桁移動手段31.・・・3mは当該変換画
素の近傍に位置する被変換画素毎に設けられているもの
であって、当該変換画素が位置する分割領域に基づいて
各被変換画素毎に独立に桁移動がなされることになる。
That is, each digit moving means 31. ...3m is provided for each pixel to be converted located in the vicinity of the pixel to be converted, and digits are shifted independently for each pixel to be converted based on the divided area in which the pixel to be converted is located. That will happen.

−これは前述したように当該変換画素の濃度に与える各
被変換画素の濃度の影響はnの巾乗分の一毎に刻まれた
面積比率で各分割領域に対応させているため乗算等の演
算を行なうことなく各被変換画素からの影響を桁移動の
みで得ることができるからである。
- This is because, as mentioned above, the influence of the density of each converted pixel on the density of the converted pixel is made to correspond to each divided area by the area ratio carved by the power of n, so multiplication etc. This is because the influence from each pixel to be converted can be obtained only by shifting the digits without performing calculations.

ステップS4においては前記演算手段4は当該各被変換
画素について得られた濃度の影響に基づいて、対象とす
る変換画素の濃度を演算により得ることができることに
なる。
In step S4, the calculating means 4 can calculate the density of the target conversion pixel based on the influence of the density obtained for each pixel to be converted.

例えば、変換画素の濃度の演算は前述した式※に基づい
て行われる場合には、加算のみとなり、演算は大ばばに
簡単化されることになる。
For example, when the calculation of the density of the converted pixel is performed based on the above-mentioned formula*, only addition is required, and the calculation is greatly simplified.

(実施例) く第一の実施例〉 続いて本発明の第一の実施例について説明する。(Example) First example> Next, a first embodiment of the present invention will be described.

本例に係る画素変換装置を第3図に示す。A pixel conversion device according to this example is shown in FIG.

本例は同図に示すように被変換画像から直接に読み取る
カメラ等、またはホストコンピュータ等からデータを伝
送する伝送手段等の被変換画素入力手段により読み出さ
れた所定の変換画素の近傍に位置する第11図に示ずよ
うな4画素A、B。
As shown in the figure, this example is located near a predetermined converted pixel read out by a converted pixel input means such as a camera that directly reads the converted image or a transmission means that transmits data from a host computer, etc. 4 pixels A and B as shown in FIG.

C,Dの二進法で表現された被変換画素の各濃度データ
エヶ、In、I(j(1を入力して当該濃度データにつ
いて桁移動(ビットシフト)を行う桁移動手段31.3
2,33.34としての4→1マルチプレクサ131,
132,133,134と、現在対象となっている変換
画素が属する前記分割領域の判定を行う領域判定回路1
2と、演算手段4としての演算回路14とを有する。
Digit shift means 31.3 that inputs each density data of the pixel to be converted expressed in the binary system C, D, In, I(j (1) and performs digit shift (bit shift) on the density data.
4→1 multiplexer 131 as 2,33.34,
132, 133, 134, and an area determination circuit 1 that determines the divided area to which the currently targeted converted pixel belongs.
2, and an arithmetic circuit 14 as an arithmetic means 4.

当該演算回路14は前記4→1マルチプレクサ131.
132からの桁移動結果同士を加算する加算機14aと
、前記4→1マルチプレクサ133.134の移動結果
の加算を行う加算機14bと、当該加算機14a、14
bの加算結果同士の加算を行う加算機14cとを有する
The arithmetic circuit 14 includes the 4→1 multiplexer 131.
an adder 14a that adds the digit shift results from 132, an adder 14b that adds the shift results of the 4→1 multiplexers 133 and 134, and the adders 14a, 14.
It has an adder 14c that adds the addition results of b.

ここで、前記被変換画素の濃度は単に黒か白かを表す二
値のデータではなく、中間調及びフルカラー等の多値画
像を対象としたものであって、4ビツトで各濃度が表現
されているものとする。
Here, the density of the pixel to be converted is not simply binary data representing black or white, but is intended for multivalued images such as halftones and full color, and each density is expressed with 4 bits. It is assumed that

第4図には前記マルチプレクサ131を詳細に示したも
のである。
FIG. 4 shows the multiplexer 131 in detail.

当該マルチプレクサ131は入力する被変換画素の4ビ
ツトで表示された多値濃度データの各桁■ヶ。+ IA
I + IA2 HIA3毎に設けられたマルチプレク
サ131a、131b、131c、131dと、前記分
割領域判定回路12から送出された現在の変換画素が位
置する分割領域に基づいて当該各マルチプレクサ131
a、b、c、dに対して桁移動を行うために必要な情報
を送出するためのデコーダ131eとを有している。
The multiplexer 131 inputs each digit of the multi-level density data expressed in 4 bits of the input pixel to be converted. +IA
I + IA2 Multiplexers 131a, 131b, 131c, and 131d provided for each HIA3, and each multiplexer 131 based on the divided area in which the current converted pixel sent from the divided area determination circuit 12 is located.
It has a decoder 131e for transmitting information necessary for performing digit shift for a, b, c, and d.

本実施例では前記分割領域として第5図または第6図に
示したものを用いる。また、前述した式※においてp、
qについてはI)=Q=1と定め計算の簡略化を図ると
ともに拡大の場合には斜め方向にエツジのある画像に対
して平滑効果も兼ね備えている。
In this embodiment, the divided areas shown in FIG. 5 or 6 are used as the divided areas. Also, in the above formula*, p,
Regarding q, I)=Q=1 is set to simplify the calculation, and in the case of enlargement, it also has a smoothing effect on an image with edges in the diagonal direction.

第5図に示した分割領域群1においては、変換画素の座
標を(X、Y)とした場合に ■ 曲線(0,5十X)よ(0,5十Y)=0.5(X
≧O,Y≧0)二面積比率W。=172になるときの曲
線■ 領域(0,5+X)*(0,5+Y)≧0.5 
 (G3 )   ・面積比率We =1/2以上にな
るので1゜のみで近似 ■ 領域(0,5+X)*(0,5+Y) <0.5(
G9 、 Gto)二面積比率W、=1/2未満なので
IA、IB、IC,Inの結合で表現 ■ 直線Y=X : 2番目に近い画素を選び、それに
対して面積比率1/4を与える為の直線■ Y≧X(G
9 )  : WA =1/8. Wa=1/4.Wc
=1/2.WD=1/8を与える。
In the divided area group 1 shown in FIG. 5, when the coordinates of the converted pixel are (X, Y),
≧O, Y≧0) Two area ratio W. Curve when =172■ Area (0,5+X)*(0,5+Y)≧0.5
(G3) ・Since the area ratio We = 1/2 or more, it is approximated by only 1°■ Area (0,5+X)*(0,5+Y) <0.5(
G9, Gto) Since the two area ratio W, = less than 1/2, it is expressed as a combination of IA, IB, IC, and In.■ Straight line Y=X: Select the second closest pixel and give it an area ratio of 1/4. straight line■ Y≧X(G
9): WA = 1/8. Wa=1/4. Wc
=1/2. Give WD=1/8.

■ Y <X  (Glo)  : WA =1/8.
 Wn=1/8.Wc=1/2 WD=1/4を与える
■ Y < X (Glo): WA = 1/8.
Wn=1/8. Give Wc=1/2 and WD=1/4.

さらに、第6図には第5図に示した分割領域1をさらに
簡略化した分割領域群2を示す。
Furthermore, FIG. 6 shows a divided area group 2 which is a further simplified version of the divided area 1 shown in FIG.

分割領域群2は第5図に示した各分割領域群1を分ける
曲線で表された境界線を直線で置き換えることにより判
定条件を簡単化してより速い処理を行うことを可能とし
たものである。
Divided area group 2 is created by replacing the curved boundary line that divides each divided area group 1 shown in FIG. 5 with a straight line, thereby simplifying the judgment conditions and making it possible to perform faster processing. .

第6図に示した分割領域群2においては■ 直線X+Y
=0.5 (X≧O,Y ≧O) :面積比率W。=1
72、斜線平滑化、計算簡略化を考慮■ X+Y≧0.
5(G3) :面積比率W。=172以上になるのでI
cのみで近似 @X+Y<0.5(Gs 、 Gto) :面積比率W
c=172未満なので1.、lI3,1.、IDの結合
で表現■ 直線Y=X : 2番目に近い画素を選び、
それに対して面積比率1/4を与えるための直線■ Y
≧X  (G9 ) : WA=1/8 、 Wa=1
/4 、 Wc=1/2 、 W、=1/8を与える。
In divided area group 2 shown in Figure 6, ■ Straight line X+Y
=0.5 (X≧O, Y≧O): Area ratio W. =1
72, considering diagonal line smoothing and calculation simplification■ X+Y≧0.
5 (G3): Area ratio W. = 172 or more, so I
Approximate with only c @X+Y<0.5 (Gs, Gto): Area ratio W
Since c=less than 172, 1. , lI3,1. , Expressed by combining IDs ■ Straight line Y=X: Select the second closest pixel,
A straight line to give an area ratio of 1/4 to that ■ Y
≧X (G9): WA=1/8, Wa=1
/4, Wc=1/2, W,=1/8 are given.

■ Y <X  (G 10)  : WA =1/8
. Wn=1/8 、 Wc=1/2 、 WD=1/
4を与える。
■ Y < X (G 10): WA = 1/8
.. Wn=1/8, Wc=1/2, WD=1/
Give 4.

尚、以上示した分割領域群1,2において、前記被変換
画素平面上は前提として直線X=0 、Y=0を境界線
として分割されているとともに、以上の説明はX≧0.
Y2Oに限られることなく、X→−XまたはY→−Yと
した場合にも成り立つものである。
In addition, in the divided region groups 1 and 2 shown above, the converted pixel plane is divided using straight lines X=0 and Y=0 as boundary lines, and the above description is based on the assumption that X≧0.
This is not limited to Y2O, and also holds true when X→-X or Y→-Y.

次に本実施例の動作を説明する。Next, the operation of this embodiment will be explained.

本実施例により変換画素の濃度を算出する場合には、前
記伝送手段等の被変換画素入力手段により被変換画像を
読み取って現在の変換画素の近傍に位置する被変換画素
の濃度データを入力する。
When calculating the density of a converted pixel according to this embodiment, the converted image is read by the converted pixel input means such as the transmission means, and the density data of the converted pixel located in the vicinity of the current converted pixel is input. .

入力した各被変換画素の濃度データは前記マルチプレク
サ131,132,133,134に入力する。
The input density data of each pixel to be converted is input to the multiplexers 131, 132, 133, and 134.

その際、前記分割領域判定手段2としての分割領域判定
回路12は現在の変換画素の前記被変換画素平面上での
位置に基づいて当該変換画素が属する分割領域の判定を
行うことになる。
At this time, the divided area determination circuit 12 as the divided area determination means 2 determines the divided area to which the converted pixel belongs based on the position of the current converted pixel on the converted pixel plane.

本例では第5図に示すように分割領域群1を設定すると
ともに、当該各分割領域に対する判定は表1に示す条件
に基づいて行われることになる。
In this example, divided area group 1 is set as shown in FIG. 5, and determination for each divided area is performed based on the conditions shown in Table 1.

表19分割望域群1の区分条件 注)境界線上については複数領域の中から一つを予め選
択しておけば良い。
Table 19 Division Conditions for Viewing Area Group 1 Note: For areas on the boundary line, one of the multiple areas may be selected in advance.

さらに、第6図に示した分割領域群2に基づく判定につ
いては表2に基づいて行われることになる。
Furthermore, the determination based on the divided area group 2 shown in FIG. 6 will be made based on Table 2.

一つを予め選択しておけば良い。It is sufficient to select one in advance.

分割領域群2に基づいて判定を行う場合について第7図
に分割領域判定回路12が判定を行う際の処理手順(ス
テップ5R71〜ステツプ5R82)を示している。
FIG. 7 shows the processing procedure (steps 5R71 to 5R82) when the divided area determination circuit 12 makes a determination in the case where the determination is made based on the divided area group 2.

当該分割領域判定回路12においてはX≧0か否か、Y
2Oか否か、X十Y≧0.5か否か、Y≧Xか否かにつ
いて調べることより現在の変換画素がどの分割領域に属
するのかを容易に判定することになる。
In the divided area determination circuit 12, whether X≧0 or not, Y
20, whether X0Y≧0.5, and whether Y≧X, it is easy to determine which divided area the current converted pixel belongs to.

尚、X+Y≧0.5 、 Y≧Xか否かについてのX、
Yの符号はX≧0か否か、Y2Oか否かの符号に依存し
ている。
In addition, X+Y≧0.5, X regarding whether Y≧X,
The sign of Y depends on whether X≧0 or not and whether Y2O or not.

このようにして現在の変換画素が属する分割領域につい
て判定された分割領域に関する情報は前記マルチプレク
サ131,132,133゜134に4ビツトの情報と
して送出されることになる。
Information regarding the divided area determined in this manner for the divided area to which the current converted pixel belongs is sent to the multiplexers 131, 132, 133 and 134 as 4-bit information.

当該情報を受理した前記マルチプレクサ131.132
,133,134のデコーダ131a (132a、1
33a、134a)は当該分割領域に基づいて対応する
桁移動を行わせれるために必要な2ビツトの情報(各マ
ルチプレクサの0.1,2.3を特定する情報)に変換
して各マルチプレクサ131a、131b、131c。
The multiplexers 131 and 132 that received the information
, 133, 134 decoders 131a (132a, 1
33a, 134a) is converted into 2-bit information (information specifying 0.1, 2.3 of each multiplexer) necessary for performing the corresponding digit shift based on the divided area, and is sent to each multiplexer 131a. , 131b, 131c.

131d等に送出することになる。131d etc.

当該マルチプレクサ131,132,133゜134及
び演算回路14は前記被変換画素の濃度データから現在
の変換画素に対応する濃度を得るために前記分割領域判
定回路12が判定した分割領域に基づいて桁移動または
演算を行うものである。
The multiplexers 131, 132, 133° 134 and the arithmetic circuit 14 shift digits based on the divided area determined by the divided area determination circuit 12 in order to obtain the density corresponding to the current converted pixel from the density data of the converted pixel. Or it is something that performs calculations.

表3には各分割領域毎に、当該分割領域に現在の変換画
素が位置した場合に被変換画素群の各濃度が対応する2
の巾乗分の一の大きさをもつ各面積比率を介して当該変
換画素の濃度への寄与を記載したものである。
Table 3 shows, for each divided area, the densities of the pixel group to be converted when the current converted pixel is located in the divided area.
The contribution to the density of the converted pixel is described through each area ratio having a size of 1/2.

いいかえれば、前述した式※の各面積比率WA、Wa 
、We 、Woを2の巾乗分の−で表示して各分割領域
に位置する各変換画素の濃度な記表31本発明の演術演
算式 すなわち、分割領域判定回路12により現在の変換画素
が分割領域G工、G2.G3.G4に属する場合には表
3に示したように各々当該各分割領域に最も近い被変換
画素A、B、C,Dのみの影響が考慮されれば良い。し
たがって、現在の変換画素が分割領域G工に属する場合
には、第4図に示した前記マルチプレクサ131の前記
デコーダ131eは各マルチプレクサ131a。
In other words, each area ratio WA, Wa of the above formula*
. is the divided area G, G2. G3. In the case of belonging to G4, as shown in Table 3, it is sufficient to consider the influence of only the converted pixels A, B, C, and D that are closest to each divided area. Therefore, when the current converted pixel belongs to the divided area G, the decoder 131e of the multiplexer 131 shown in FIG. 4 is connected to each multiplexer 131a.

131b、131c、131dに対して3を選択するよ
うな信号を送出して、何ら桁移動をさせないようにする
A signal to select 3 is sent to 131b, 131c, and 131d to prevent any digit shift.

また、現在の変換画素が分割領域の05に属すると判定
された場合には、表3から明らかなように画素Aの濃度
IAからの当該変換画素の濃度に対する寄与は1/2の
オーダーであるため当該画素Aの濃度デー)!(二進法
で表現されている)について1桁だけ桁移動させれば良
いことになる。
Furthermore, when it is determined that the current converted pixel belongs to divided area 05, as is clear from Table 3, the contribution from the density IA of pixel A to the density of the converted pixel is on the order of 1/2. Therefore, the density data of the relevant pixel A)! (expressed in binary notation) only needs to be shifted by one digit.

したがって、前記マルチプレクサ131のデコーダ13
1eは各マルチプレクサ131a。
Therefore, the decoder 13 of the multiplexer 131
1e is each multiplexer 131a.

134b、131c、131dにおいて2を選択すれば
良いことになる。
It is sufficient to select 2 in 134b, 131c, and 131d.

その他、表3から明らかなように分割領域がG2 、G
3 、G4の場合には当該マルチプレクサ131は何ら
選択は行われず、分割領域が06の場合には第4図にお
いて2が選択され、分割領域がG7.Gl□、G13の
場合には第4図において1が選択され、分割領域がGa
 、 G9 、 Gt。、G1□の場合には第4図にお
いて0が選択されることになる。
In addition, as is clear from Table 3, the divided areas are G2, G
3, G4, the multiplexer 131 does not select anything, and when the divided area is 06, 2 is selected in FIG. 4, and when the divided area is G7. In the case of Gl□, G13, 1 is selected in Fig. 4, and the divided area is Ga.
, G9, Gt. , G1□, 0 is selected in FIG.

こうして、前記マルチプレクサ131゜132.133
,134により桁移動された各被変換画素の濃度は前記
演算手段14の加算機14a、14b及び加算機14c
により加算されて、前述した式※が実行されることにな
り、現在の変換画素の濃度が求められることになる。
Thus, the multiplexer 131°132.133
.
The above-mentioned formula * is executed, and the density of the current converted pixel is determined.

以上説明したように本実施例においては、前記分割領域
判定回路12において、領域を判定する場合には加算が
1回、比較が2回必要であり、前記演算回路14内にお
いては加算が計3回必要となるだけであり、また選択4
回で合計10回必要となり、式※に示したI=l:Wの
乗算については従来と比較して演算回数が大ばばに減少
することになる。
As explained above, in this embodiment, when determining a region, the divided region determining circuit 12 requires one addition and two comparisons, and the calculation circuit 14 requires a total of three additions. It is only necessary once, and also option 4
This means that the number of operations required for the I=l:W multiplication shown in the formula * is greatly reduced compared to the conventional method.

く第二の実施例〉 次に第二の実施例について説明する。Second embodiment> Next, a second embodiment will be described.

本実施例では第一の実施例で設定した第5図または第6
図に示した分割領域を設定するかわりに、第8図または
第9図に示した分割領域を設定し、かつ当該分割領域に
基づいて判定が行われることになる。本例に係る分割領
域は第一の実施例に係る分割領域に比較して被変換画素
の濃度の変換画素の濃度への寄与をより正しく考慮した
ものである。
In this embodiment, the figure 5 or 6 set in the first embodiment is used.
Instead of setting the divided regions shown in the figure, the divided regions shown in FIG. 8 or 9 are set, and the determination is made based on the divided regions. The divided area according to this example takes into account the contribution of the density of the converted pixel to the density of the converted pixel more accurately than the divided area according to the first example.

第8図に示した分割領域群3は次のように設定される。The divided area group 3 shown in FIG. 8 is set as follows.

■ 曲線(0,5+X)よ(0,5+Y)=0.75(
X≧0.Y≧0)=Icが関与する面積が374以上に
なる曲線(面積が172ではまだ・他の画素の影響が強
いと考えられ、面積が1と1/2との間の3/4程度を
境界と定めたものである。) ■ 領域(0,5+X戸(0,5+Y)≧0.75 (
G、 )  : Ioが関与する面積が374以上にな
るのでIcのみて近似 ■ 領域(0,5+X)*(0,5+Y) <0.75
(G9 、 G、。)=ICが関与する面積が374未
満なのでlA、IB。
■ Curve (0,5+X), (0,5+Y)=0.75(
X≧0. Y≧0) = A curve in which the area involved by Ic is 374 or more (If the area is 172, it is considered that the influence of other pixels is strong, so the area is about 3/4 between 1 and 1/2. (It is defined as the boundary.) ■ Area (0,5 +
G, ): Since the area involved by Io is 374 or more, it is approximated by looking at Ic ■ Area (0,5+X) * (0,5+Y) <0.75
(G9, G,.) = lA, IB since the area involved by IC is less than 374.

IC,IDの結合で表現 ■ 曲線(0,5+X)1:(0,5+Y)=0.33
(X≧0.Y ≧0 )  :Icが関与する面積が1
73になるときの曲線(面積が173以下であれば、他
の画像の影響も殆ど同じと考えられ、4画素に対して同
じ面積比率でも良いという考え方からきたものである。
Expressed by combining IC and ID■ Curve (0,5+X)1:(0,5+Y)=0.33
(X≧0.Y≧0): The area involved by Ic is 1
73 (this comes from the idea that if the area is 173 or less, the effects of other images are considered to be almost the same, and the same area ratio for four pixels is fine.

)■ 領域(0,5+X)*(0,5+Y) <0.3
3 (G3 )  : Icが関与する面積が173以
下なので同じ面積比率WA=1/4 、 WB=1/4
 、 Wc=1/4 、 Wo4/4を与える。
)■ Area (0,5+X)*(0,5+Y) <0.3
3 (G3): The area involved by Ic is 173 or less, so the same area ratio WA = 1/4, WB = 1/4
, Wc=1/4, and Wo4/4 are given.

■ 領域(0,5+X)*(0,5+Y)≧0.33 
(G9. G工。):Ioが関与する面積が173以上
になるのてW。
■ Area (0,5+X)*(0,5+Y)≧0.33
(G9. G Engineering): W because the area involving Io is 173 or more.

=172とし残りをIA、 In、 Ic、 I。の結
合で表現する。
= 172 and the rest are IA, In, Ic, I. Expressed as a combination of

■ 直線Y=X : 2番目に近い画素を選び、それに
対して面積比率1/4を与える為の直線である。
■ Straight line Y=X: This is a straight line for selecting the second closest pixel and giving it an area ratio of 1/4.

■ Y≧X  (G9 )  : WA=1/8. W
、=1/4.W、=1/2.W、=1/8を与える。
■ Y≧X (G9): WA=1/8. W
,=1/4. W, = 1/2. Give W, = 1/8.

■ Y <X  (G □o)  : WA =1/8
. Wn=1/8.Wc=1/2 WD=1/4を与え
る。
■ Y < X (G □o): WA = 1/8
.. Wn=1/8. Give Wc=1/2 and WD=1/4.

以上示した各分割領域01〜Gよ。に対する判定の条件
を表4に示す。
Each of the divided regions 01 to G shown above. Table 4 shows the conditions for determination.

表4゜分割望域群3の区分条件 予め還択しておけば良い。Table 4 Classification conditions for divided viewing area group 3 It is best to make your selection in advance.

次に第9図に示した分割領域群4について説明する。Next, divided area group 4 shown in FIG. 9 will be explained.

分割領域群4は分割領域群3をさらに簡略化したもので
ある。
Divided area group 4 is a further simplified version of divided area group 3.

■直線X+Y=0.75 (X≧0.Y≧O) :Ic
が関与する面積が374、斜線平滑化、計算簡略化を考
慮■ X+Y≧0.75(G3)  : Icが関与す
る面積が374以上になるので■。のみで近似 ■ X+Y <0.75 (G9 、 Gto)  :
 Icが関与する面積が374未満なのでIA、In、
Ic、Ioの結合で表現 ■ 直線X+Y=0.33 (X ≧0.Y≧0) :
1.が関与する面積が173、斜線平滑化、計算簡略化
を考慮■ X+Y <0.33 (G3 )  : I
cが関与する面積が173以下になるので同じ面積比率
WA =1/4゜Wn”1/4 、 Wc=1’/4 
、 Wo=174を与える。
■Straight line X+Y=0.75 (X≧0.Y≧O): Ic
The area involved in Ic is 374, taking into consideration diagonal smoothing and calculation simplification■ X+Y≧0.75 (G3): The area involved in Ic is 374 or more, so ■. Approximate by only ■ X+Y <0.75 (G9, Gto):
Since the area involved by Ic is less than 374, IA, In,
Expressed by the combination of Ic and Io■ Straight line X+Y=0.33 (X ≧0.Y≧0):
1. The area involved is 173, taking into consideration diagonal line smoothing and calculation simplification■ X+Y <0.33 (G3): I
Since the area involved in c is 173 or less, the same area ratio WA = 1/4°Wn"1/4, Wc = 1'/4
, gives Wo=174.

■ X+Y≧0.33(G9 、 Gto) : Ic
が関与する面積が173以上になるのでW c = 1
 / 2とし残りをIA、In、IC,I[lの結合で
表現する。
■ X+Y≧0.33 (G9, Gto): Ic
Since the area involved is 173 or more, W c = 1
/ 2 and the rest is expressed as a combination of IA, In, IC, I[l.

■ 直線Y=X : 2番目に近い画素を選び、それに
対して面積比率1/4を与えるための直線■ Y≧X 
 (G9 ) : WA=1/8 、 WB=1/4 
、 Wc=1/2 、 WD=1/8を与える。
■ Straight line Y=X: Straight line to select the second closest pixel and give it an area ratio of 1/4■ Y≧X
(G9): WA=1/8, WB=1/4
, Wc=1/2, WD=1/8 are given.

■ Y <X(G ro)  : WA =1/8. 
Wn=1/8 、 Wc=1/2 、 WD=1/4を
与える。
■ Y < X (Gro): WA = 1/8.
Give Wn=1/8, Wc=1/2, and WD=1/4.

以上示した分割領域G□〜G□3の判定の条件を表5に
示す。
Table 5 shows the conditions for determining the divided regions G□ to G□3 shown above.

予め選択しておけば良い。It is best to select it in advance.

本実施例の動作については第一の実施例に示したと同様
に第3図または第4図に示した装置を用いて、表4また
は表5に基づいて行われることになるが、第一の実施例
と同様であるので説明は省略する。
The operation of this embodiment will be performed based on Table 4 or Table 5 using the apparatus shown in FIG. 3 or 4 in the same manner as shown in the first embodiment. Since this is the same as the embodiment, the explanation will be omitted.

尚、以上示した分割領域群3,4において、前記被変換
画素平面上は前提として直線x=o 、y=oを境界線
として分割されているとともに、以上の説明はX≧O,
Y2Oに限られることなく、X→−XまたはY→−Yと
した場合にも成り立つものである。
In addition, in the divided area groups 3 and 4 shown above, the converted pixel plane is divided using straight lines x=o and y=o as boundary lines, and the above explanation is based on the assumption that X≧O,
This is not limited to Y2O, and also holds true when X→-X or Y→-Y.

分割領域群4を設定した場合には、前記分割領域判定回
路22は分割領域群3を設定した場合と異なりX≧0か
否か、Y2Oか否が、x+y≧0.75か否か、X+Y
≧0.33か否か、Y≧Xか否かについて調べることに
より現在の変換画素が属する分割領域の判定を行うこと
になり、判定条件が簡単である。
When dividing area group 4 is set, unlike when dividing area group 3 is set, the dividing area determination circuit 22 determines whether X≧0 or not, Y2O or not, x+y≧0.75 or not, and X+Y.
By checking whether or not ≧0.33 and whether Y≧X or not, the divided area to which the current converted pixel belongs is determined, and the conditions for determination are simple.

分割領域群4の場合について、当該分割領域判定回路2
2における判定処理手順(ステップ5R101〜ステツ
プ5R115)を第10図ニ示す。
In the case of divided area group 4, the divided area determination circuit 2
The determination processing procedure (steps 5R101 to 5R115) in step 2 is shown in FIG.

本実施例での演算回数は分割領域判定回路22内で行う
加算1回と、比較3回と、演算回路14内での加算3回
と、前記マルチプレクサ131〜134に対する選択と
して4回行う。したがって、合計11回であり、さらに
分割領域判定回路22 (12)においては各々の比較
処理が独立して行われるのでパイプライン処理を用いな
くても良く小規模の回路構成で実現できる。
The number of calculations in this embodiment is one addition performed in the divided area determination circuit 22, three comparisons, three additions in the arithmetic circuit 14, and four selections for the multiplexers 131 to 134. Therefore, the number of times is 11 in total, and since each comparison process is performed independently in the divided area determination circuit 22 (12), there is no need to use pipeline processing and it can be realized with a small-scale circuit configuration.

尚、第−及び第二の実施例において、各面積比率につい
ては次のようにまとめることができる。
In addition, in the first and second embodiments, each area ratio can be summarized as follows.

被変換画素面上でのある被変換画素に対して、第一に当
該被変換画素に最も距離の近い分割領域に対しては当該
被変換画素の濃度に対する面積比率のみを1とし、 第二に当該被変換画素に二番目に近い分割領域に対して
は、当該分割領域に最も近い被変換画素の濃度に対する
面積比率を172とし当該分割領域に二番目に近い被変
換の濃度に対する面積比率を1742とし、残りの2個
の被変換画素の濃度に対する面積比率を178とし、 第三に当該被変換画素4画素の中央部にある分割領域に
対しては、被変換画素4画素の各濃度に対する面積比率
は各々平等に174とする。
For a certain pixel to be converted on the pixel surface to be converted, first, for the divided area closest to the pixel to be converted, only the area ratio to the density of the pixel to be converted is set to 1, and second, For the divided area that is the second closest to the converted pixel, the area ratio to the density of the converted pixel closest to the divided area is 172, and the area ratio to the density of the converted pixel that is the second closest to the divided area is 1742. and the area ratio for the density of the remaining two pixels to be converted is 178. Thirdly, for the divided area in the center of the four pixels to be converted, the area for each density of the four pixels to be converted is The ratio is equal to 174 for each.

以上説明したように、第−及び第二の実施例において、
第6図または第9図に示すように分割領域を確定する場
合には、計算簡略化により領域判定部分に乗算処理が含
まれない上、各々の比較処理が独立して行えることにな
るので、1サイクルで変換画素濃度を出力することも可
能である。
As explained above, in the first and second embodiments,
When determining divided regions as shown in FIG. 6 or FIG. 9, the region determination part does not include multiplication processing due to calculation simplification, and each comparison processing can be performed independently. It is also possible to output the converted pixel density in one cycle.

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

以上説明したように、本発明では多値画像の画素密度の
変換(拡大、縮小)を行う場合において、面積比率Wを
n(はとんどの場合は2)の巾乗力の−とすることによ
り変換画素の濃度を算出する際に必要となる、被変換画
素の濃度■とWとの乗算I*Wをビットシフト又は桁下
げのみで行い、乗算回路を省くことができる。
As explained above, in the present invention, when converting (enlarging, reducing) the pixel density of a multivalued image, the area ratio W is set to - of the power of n (in most cases, 2). The multiplication I*W of the density 2 of the pixel to be converted by W, which is necessary when calculating the density of the converted pixel, can be performed by only bit shifting or downshifting, and the multiplication circuit can be omitted.

したがって、小規模な回路で且つ飛躍的な高速処理も実
現することができる。
Therefore, it is possible to realize dramatically high-speed processing with a small-scale circuit.

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

第1図は第一の発明の原理ブロック図、第2図は第二の
発明の原理流れ図、第3図は第−及び第二の実施例に係
るブロック図、第4図は被変換画素の濃度IA(4ビツ
ト)の場合の4→1マルチプレクサを示す図、第5図は
第一の実施例に係る分割領域群1を示す図、第6図は第
一の実施例に係る分割領域群2を示す図、第7図は第一
の実施例に係る表2の分割領域判定処理の流れ図、第8
図は第二の実施例に係る分割領域群3を示す図、第二の
実施例に係る分割領域群4を示す図、第10図は第二の
実施例′に係る表5の分割領域判定処理の流れ図、第1
1図は投影法の原理を示す図、第12図は投影法の処理
手順を示す流れ図、第13図は従来例に係るブロック図
である。 1・・・被変換画素入力手段 2 (12,22)・・・分割領域判定手段(分割領域
判定回路回路) 31〜3m(131〜134)・・・桁移動手段(4→
1マルチプレクサ) 4(14)・・・演算手段(演算回路)第二の発明の原
理流れ図 第2!!I 第 3 区 PX3 工 A〔4ピット〕の場合の !、!入力 第 l 副 弓二糸光嗜む正置(方式) 1.事件の表示  昭和63年特許願第106849号
2、発明の名称  画素密度変換装置及びその方法3、
補正をする者 事件との関係  特許出願人 住所   神奈川県用崎市中原区上小田中1015番地
名称  (522)富士通株式会社 4、代理人 〒105
Figure 1 is a block diagram of the principle of the first invention, Figure 2 is a flowchart of the principle of the second invention, Figure 3 is a block diagram of the first and second embodiments, and Figure 4 is a diagram of the pixels to be converted. A diagram showing a 4→1 multiplexer in the case of density IA (4 bits), FIG. 5 is a diagram showing a divided area group 1 according to the first embodiment, and FIG. 6 is a diagram showing a divided area group according to the first embodiment. 2, FIG. 7 is a flowchart of the divided area determination process of Table 2 according to the first embodiment, and FIG.
The figure shows the divided area group 3 according to the second embodiment, the diagram shows the divided area group 4 according to the second embodiment, and FIG. 10 shows the divided area determination of Table 5 according to the second embodiment'. Processing flowchart, 1st
FIG. 1 is a diagram showing the principle of the projection method, FIG. 12 is a flowchart showing the processing procedure of the projection method, and FIG. 13 is a block diagram according to a conventional example. 1... Converted pixel input means 2 (12, 22)... Divided area determination means (divided area determination circuit) 31-3m (131-134)... Digit shift means (4→
1 multiplexer) 4 (14)...Arithmetic means (arithmetic circuit) Principle flowchart of the second invention 2nd! ! I Ward 3 PX3 Work A [4 pits] case! ,! Input No. 1 Secondary bow two-thread light setting (method) 1. Display of case Patent application No. 106849 of 1988 2, Title of invention Pixel density conversion device and method 3,
Relationship with the case of the person making the amendment Patent applicant address 1015 Kamiodanaka, Nakahara-ku, Yozaki City, Kanagawa Prefecture Name (522) Fujitsu Ltd. 4, Agent Address: 105

Claims (2)

【特許請求の範囲】[Claims] (1)被変換画素が配列された平面上に投影された変換
画素の位置する分割領域に応じて近傍の被変換画素の濃
度から各変換画素の濃度を投影法により決定する画素密
度変換装置において、 変換画素の近傍に位置するn進法で表現された所定の被
変換画素群の濃度データを入力する被変換画素入力手段
(1)と、 変換倍率及び被変換画素の配列に基づいて、その領域内
においては前記被変換画素群の各濃度が、対応するnの
巾乗分の一毎の大きさをもつ各面積比率により変換画素
の濃度へ寄与するとして設定された分割領域のどの分割
領域に当該変換画素が位置するかを判定する分割領域判
定手段(2)と、 当該判定手段(2)により判定された分割領域に基づい
てn進法で表示された前記被変換画素の各濃度データの
桁移動を行う桁移動手段(31、32…、3m)と、 当該各桁移動手段(31、32…、3m)により桁移動
された各被変換画素の濃度データから当該変換画素の濃
度を算出する演算手段(4)とを有することを特徴とす
る画素密度変換装置。
(1) In a pixel density conversion device that uses a projection method to determine the density of each converted pixel from the density of neighboring converted pixels according to the divided area in which the converted pixel is located, projected onto a plane on which the converted pixels are arranged. , a converted pixel input means (1) for inputting density data of a predetermined group of converted pixels expressed in an n-ary system located in the vicinity of the converted pixels; Which of the divided regions is set such that each density of the converted pixel group contributes to the density of the converted pixel by each area ratio having a size of one part of the corresponding power of n within the region? divided area determining means (2) for determining whether the converted pixel is located in the area; and each density data of the converted pixel displayed in an n-ary system based on the divided area determined by the determining means (2). A digit moving means (31, 32..., 3m) that moves the digits of A pixel density conversion device characterized by having a calculation means (4) for calculating.
(2)被変換画素が配列された平面上に投影された変換
画素の位置する分割領域に応じて近傍被変換画素の濃度
から各変換画素の濃度を投影法により決定する画素密度
変換方法において、 変換画素の近傍に位置するn進法で表示された所定の被
変換画素群の濃度データを順次入力する過程(S1)と
、 変換倍率及び当該被変換画素の配列に基づいて、その領
域内においては当該被変換画素群の各濃度が、対応する
nの巾乗分の一の大きさをもつ各面積比率により変換画
素の濃度へ寄与するとして設定された分割領域のどの分
割領域に当該変換画素が位置するかを判定する過程(S
2)と、判定された分割領域に基づいてn進法で表示さ
れた前記被変換画素の各濃度データの桁移動を行う過程
(S3)と、 桁移動された各被変換画素の濃度データから当該変換画
素の濃度を演算する過程(S4)とを有することを特徴
とする画素密度変換方法。
(2) In a pixel density conversion method in which the density of each converted pixel is determined by a projection method from the density of neighboring converted pixels according to the divided area in which the converted pixel is located projected onto a plane on which the converted pixels are arranged, Step (S1) of sequentially inputting the density data of a predetermined group of converted pixels located in the vicinity of the converted pixel and displayed in n-ary system; and based on the conversion magnification and the arrangement of the converted pixels, In which divided region is the converted pixel located, which is set such that each density of the converted pixel group contributes to the density of the converted pixel by each area ratio having a size equal to one power of the corresponding n? The process of determining whether S is located (S
2), a step (S3) of shifting the digits of each density data of the converted pixel displayed in the n-ary system based on the determined divided area; A pixel density conversion method comprising the step of calculating the density of the converted pixel (S4).
JP63106849A 1988-04-28 1988-04-28 Pixel density conversion device and method thereof Expired - Fee Related JP2691559B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63106849A JP2691559B2 (en) 1988-04-28 1988-04-28 Pixel density conversion device and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63106849A JP2691559B2 (en) 1988-04-28 1988-04-28 Pixel density conversion device and method thereof

Publications (2)

Publication Number Publication Date
JPH01277057A true JPH01277057A (en) 1989-11-07
JP2691559B2 JP2691559B2 (en) 1997-12-17

Family

ID=14444079

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63106849A Expired - Fee Related JP2691559B2 (en) 1988-04-28 1988-04-28 Pixel density conversion device and method thereof

Country Status (1)

Country Link
JP (1) JP2691559B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1994016519A1 (en) * 1993-01-12 1994-07-21 Nippon Steel Corporation Method and apparatus for processing image data

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62221269A (en) * 1986-03-22 1987-09-29 Fujitsu Ltd Image conversion system
JPS62239667A (en) * 1986-04-10 1987-10-20 Seiko Epson Corp Picture processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62221269A (en) * 1986-03-22 1987-09-29 Fujitsu Ltd Image conversion system
JPS62239667A (en) * 1986-04-10 1987-10-20 Seiko Epson Corp Picture processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1994016519A1 (en) * 1993-01-12 1994-07-21 Nippon Steel Corporation Method and apparatus for processing image data

Also Published As

Publication number Publication date
JP2691559B2 (en) 1997-12-17

Similar Documents

Publication Publication Date Title
Qi et al. Optimal reversible data hiding scheme based on multiple histograms modification
JP3199205B2 (en) Parallel processing unit
KR100223495B1 (en) Image processing method and apparatus
JP2008515353A (en) Enlarge and pinch 2D images
CN109919837A (en) Image data interpolation
JP2006154992A (en) Neuro-processor
JPH01277057A (en) Device and method for converting picture element density
JP2691582B2 (en) Pixel density conversion device and method thereof
JPS5935270A (en) Picture element density converter
JP2849098B2 (en) Multivalue image reduction apparatus and method
JP2004538728A (en) Automatic mask selection in object-based video coding
JP2004341253A (en) Character and graphic display apparatus, character and graphic display method, program, and recording medium
Lee et al. Design of a scan format converter using the bisigmoidal interpolation
JP4313863B2 (en) Image processing device
JPH02190979A (en) Device and method for expanding multilevel image
KR100490244B1 (en) Error diffusion method using variable threshold value in image processing system
JPH05227413A (en) Binary picture variable magnification device
JPH10285611A (en) Image data processor and method therefor
JP2002342780A (en) Image generating system and image generating method and information storage medium
JPH0619686A (en) Multiplying circuit and picture processor equipped with the same
JP4768687B2 (en) Signal conversion apparatus and program
JP2772220B2 (en) Image data conversion apparatus and image data conversion method
JPH10294885A (en) Unit and method for image processing
CN117315366A (en) Image processing method based on double-branch parallel neural network
JPS63109659A (en) Gradational picture processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees