JP2713764B2 - Halftone image enlargement method - Google Patents

Halftone image enlargement method

Info

Publication number
JP2713764B2
JP2713764B2 JP1115788A JP11578889A JP2713764B2 JP 2713764 B2 JP2713764 B2 JP 2713764B2 JP 1115788 A JP1115788 A JP 1115788A JP 11578889 A JP11578889 A JP 11578889A JP 2713764 B2 JP2713764 B2 JP 2713764B2
Authority
JP
Japan
Prior art keywords
pixel
value
determined
virtual
density
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP1115788A
Other languages
Japanese (ja)
Other versions
JPH02294785A (en
Inventor
達也 藤井
佳之 岡田
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 JP1115788A priority Critical patent/JP2713764B2/en
Publication of JPH02294785A publication Critical patent/JPH02294785A/en
Application granted granted Critical
Publication of JP2713764B2 publication Critical patent/JP2713764B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • G06T3/403Edge-driven scaling

Description

【発明の詳細な説明】 [概要] 中間調画像を拡大する中間調画像拡大方法に関し、 原画素のエッジを強調すると共に濃度変化を滑らかに
表現できるようにすることを目的とし、 変換画素の近傍に位置する所定の原画素群の濃度デー
タを順次入力し、入力された濃度データと変換画素の位
置座標から仮想画素の仮値を重みづけ演算により決定
し、変換画素の周囲の原画素の濃度変化状態に応じて補
正値を求め、周囲の原画素の濃度変化状態に応じて仮想
画素の仮値と前記補正値とを加減演算して仮想画素値を
決定し、決定された仮想画素値から変換画素値を距離の
重みづけ演算により求めるように構成する。
DETAILED DESCRIPTION OF THE INVENTION [Summary] The present invention relates to a halftone image enlarging method for enlarging a halftone image, with the object of emphasizing the edges of original pixels and allowing a density change to be expressed smoothly, in the vicinity of a converted pixel. Is sequentially input, and a temporary value of a virtual pixel is determined by weighting from the input density data and the position coordinates of the converted pixel, and the density of the original pixels around the converted pixel is determined. A correction value is obtained in accordance with the change state, and a virtual pixel value is determined by adding or subtracting the provisional value of the virtual pixel and the correction value in accordance with the density change state of surrounding original pixels, and a virtual pixel value is determined from the determined virtual pixel value. The conversion pixel value is obtained by a distance weighting operation.

[産業上の利用分野] 本発明は中間調画像を拡大する中間調画像拡大方法に
関する。
The present invention relates to a halftone image enlarging method for enlarging a halftone image.

[従来の技術] 第15図は従来の画素密度変換方式の説明図である。図
において、○の点A,B,C,Dは原画素、×の点Rは変換画
素である。原画素A〜Dが形成する四辺形の各点に変換
画素点Rから垂線をひき、各辺AB,BC,CD,DAとの交点を
それぞれM,N,O,Pとする。これらの点を仮想画素点とし
て●で示す。
[Prior Art] FIG. 15 is an explanatory diagram of a conventional pixel density conversion method. In the figure, points A, B, C, and D are original pixels, and points R are converted pixels. A perpendicular line is drawn from the converted pixel point R to each point of the quadrangle formed by the original pixels A to D, and the intersections with each side AB, BC, CD, DA are M, N, O, and P, respectively. These points are indicated by ● as virtual pixel points.

これら仮想画素点M〜Pの濃度(画素値)を、その両
隣の2個の原画素からの距離の比の重みづけ演算により
決定する。原画素A〜Dの濃度をそれぞれIa,Ib,Ic,Id
とすると、仮想画素M〜Pの濃度Im,In,Io,Ipはそれぞ
れ次式で表される。
The densities (pixel values) of these virtual pixel points M to P are determined by weighting the ratio of the distance from the two adjacent original pixels. The densities of the original pixels A to D are respectively Ia, Ib, Ic, Id
Then, the densities Im, In, Io, and Ip of the virtual pixels M to P are expressed by the following equations, respectively.

Im=AM×Ib+MB×Ia (1) In=BN×Ic+NC×Ib (2) Io=CO×Id+OD×Ic (3) Ip=DP×Ia+PA×Id (4) ここで、AM,MB等は線分を示し、これら距離は、四辺
形ABCDの各辺の長さを1として正規化してあり、1に対
する割合で表される。上式により各仮想画素点の濃度が
決定されたら、これら仮想画素点の濃度の平均をとるこ
とにより変換画素点Rの濃度とする。点Rの濃度Irは次
式で表される。
Im = AM × Ib + MB × Ia (1) In = BN × Ic + NC × Ib (2) Io = CO × Id + OD × Ic (3) Ip = DP × Ia + PA × Id (4) where AM, MB, etc. are line segments And these distances are normalized with the length of each side of the quadrilateral ABCD as 1, and expressed as a ratio to 1. After the density of each virtual pixel point is determined by the above equation, the density of the converted pixel point R is obtained by averaging the densities of these virtual pixel points. The concentration Ir at the point R is expressed by the following equation.

Ir=(Im+In+Io+Ip)/4 (5) (5)式により濃度を求めると拡大画像に対しても濃
度変化を滑らかにすることができる。
Ir = (Im + In + Io + Ip) / 4 (5) If the density is obtained by the equation (5), the density change can be made smooth even for the enlarged image.

[発明が解決しようとする課題] しかしながら、前述した方法によれば変換画素の濃度
を重みづけ演算と平均演算を用いることにより決定して
いるので、変換画素の輪郭がはっきりしないでぼけてし
まうという不具合がある。例えば、第16図(a)に示す
ような原画像があったものとする。図において、縦軸は
濃度レベル、横軸は位置座標である。この原画像を濃度
変換した後の変換画像は(b)に示すようなものとな
る。変換画像は図より明らかなように原画像の各画素の
濃度を結んだ線上にあり、これは目で見るとぼけた感じ
を与える。従って、このような変換画像よりも(c)に
示すような特性をもつ方が滑らかな濃度変化となり好ま
しい。
[Problems to be Solved by the Invention] However, according to the above-described method, since the density of the converted pixel is determined by using the weighting operation and the averaging operation, the outline of the converted pixel is blurred without being clear. There is a defect. For example, assume that there is an original image as shown in FIG. In the figure, the vertical axis represents the density level, and the horizontal axis represents the position coordinates. The converted image after the density conversion of the original image is as shown in FIG. The converted image is on a line connecting the densities of the respective pixels of the original image as is apparent from the figure, and this gives a blurred feeling to the eyes. Therefore, it is preferable to have the characteristic shown in FIG. 3C than to such a converted image because the density change is smoother.

本発明はこのような課題に鑑みてなされたものであっ
て、原画像のエッジを強調すると共に濃度変化を滑らか
に表現できるようにすることができる中間調画像拡大方
法を提供することを目的としている。
The present invention has been made in view of such a problem, and an object of the present invention is to provide a halftone image enlarging method capable of emphasizing edges of an original image and allowing a density change to be smoothly expressed. I have.

[課題を解決するための手段] 第1図は本発明方法の原理を示すフローチャートであ
る。本発明は原画素が配列された平面上に投影された変
換画素の位置により、周囲の原画素が形成する四辺形の
各辺に仮想画素を設けて距離の重みづけ演算により変換
画素値を決定する中間調画像拡大方法において、 変換画素の近傍に位置する所定の原画素群の濃度デー
タを順次入力し(ステップ1)、 入力された濃度データと変換画素の位置座標から仮想
画素の仮値を重みづけ演算により決定し(ステップ
2)、 変換画素の周囲の原画素の濃度変化状態に応じて補正
値を求め、周囲の原画素の濃度変化状態に応じて仮想画
素の仮値と前記補正値とを加減演算して仮想画素値を決
定し(ステップ3)、 決定された仮想画素値から変換画素値を距離の重みづ
け演算により求める(ステップ4)ようにしたことを特
徴としている。
[Means for Solving the Problems] FIG. 1 is a flowchart showing the principle of the method of the present invention. According to the present invention, a virtual pixel is provided on each side of a quadrilateral formed by surrounding original pixels based on the position of the converted pixel projected on the plane on which the original pixels are arranged, and the converted pixel value is determined by weighting the distance. In the halftone image enlarging method, the density data of a predetermined original pixel group located in the vicinity of the conversion pixel is sequentially input (step 1), and the provisional value of the virtual pixel is determined from the input density data and the position coordinates of the conversion pixel. Determined by a weighting operation (step 2), a correction value is obtained in accordance with the density change state of the original pixels surrounding the converted pixel, and a provisional value of the virtual pixel and the correction value are determined in accordance with the density change state of the surrounding original pixels. Are calculated by adding and subtracting (step 3) to determine a virtual pixel value, and a converted pixel value is obtained from the determined virtual pixel value by a distance weighting operation (step 4).

[作用] 変換画素の周囲の原画素の濃度変化状態に応じて補正
値を求め、周囲の原画素の濃度変化状態に応じて仮想画
素の仮値と前記補正値とを加減演算して仮想画素値を決
定し、決定した仮想画素値を基に距離の重みづけ演算に
より変換画素の画素値を決定するようにした。従って、
本発明によれば第16図(c)に示すような特性の濃度変
換画像を得ることができ、原画像のエッジを強調すると
共に濃度変化を滑らかに表現することができる。
[Operation] A correction value is obtained in accordance with the density change state of the original pixels surrounding the converted pixel, and the provisional value of the virtual pixel and the correction value are subjected to an addition / subtraction operation in accordance with the density change state of the surrounding original pixels. The value is determined, and the pixel value of the converted pixel is determined by a distance weighting operation based on the determined virtual pixel value. Therefore,
According to the present invention, it is possible to obtain a density-converted image having characteristics as shown in FIG. 16 (c), and it is possible to emphasize the edges of the original image and express the density change smoothly.

[実施例] 以下、図面を参照して本発明の実施例を詳細に説明す
る。4個の原画素F,B,C,Iから仮想画素Nを決定する場
合を第2図を用いて説明する。図において、縦軸は濃度
レベル、横軸は位置座標である。従来の方法は、距離の
重みづけ演算により図の太い実線上の値をとっていた
(第16図(b)参照)。本発明方法では、原画素F,B,C,
Iの原画素の濃度変化状態から従来の方法で決定した値
を補正するようにしている。即ち、 先ずはじめに、仮想画素Nの両側の原画素B,Cからの
距離の重みづけにより仮値を求める。仮想画素Nの仮値
Inは In=BN×Ic×NC×Ib (6) で与えられる。Ib,Icはそれぞれ原画素B,Cの濃度であ
る。
[Example] Hereinafter, an example of the present invention will be described in detail with reference to the drawings. The case where the virtual pixel N is determined from the four original pixels F, B, C, and I will be described with reference to FIG. In the figure, the vertical axis represents the density level, and the horizontal axis represents the position coordinates. In the conventional method, a value on a thick solid line in the figure is obtained by weighting the distance (see FIG. 16 (b)). In the method of the present invention, the original pixels F, B, C,
The value determined by the conventional method from the density change state of the original I pixel is corrected. That is, first, a provisional value is obtained by weighting the distance from the original pixels B and C on both sides of the virtual pixel N. Provisional value of virtual pixel N
In is given by In = BN × Ic × NC × Ib (6). Ib and Ic are the densities of the original pixels B and C, respectively.

次に濃度変化量a,b,cを次式により求める。Next, the density change amounts a, b, and c are obtained by the following equations.

a=If−Ib (7) b=Ib−Ic (8) c=Ic−Ii (9) 更に、次式で定義される値S1,S2を求める。 a = If−Ib (7) b = Ib−Ic (8) c = Ic−Ii (9) Further, values S1 and S2 defined by the following equations are obtained.

S1=|b−a| (10) S2=|c−a| (11) 線分BC上にS2:S1の比で内分する点Qを求める。この
点Qを境に後に求める補正値を加えるか減じるか決め
る。点Qの決定を濃度変化量の差の比から求めること
で、滑らかな濃度変化が得られるようになる。但し、点
Qは線分BCの中点としてもよい。
S1 = | b−a | (10) S2 = | c−a | (11) A point Q that is internally divided on the line segment BC at a ratio of S2: S1 is obtained. At this point Q, it is determined whether a correction value to be obtained later is added or subtracted. By determining the point Q from the ratio of the difference in the density change amount, a smooth density change can be obtained. However, the point Q may be the middle point of the line segment BC.

ここで、太い実線からどれだけ変化させるかを決める
補正値は、エッジの強調度及びS1,S2に応じて決定す
る。例えば、 (b−aの大きさ)×(エッジ強調度)×1/(画像の
濃度幅により決まる値) (12) により決定する。
Here, the correction value for determining how much to change from the thick solid line is determined according to the degree of edge enhancement and S1, S2. For example, it is determined by the following formula: (size of ba) × (degree of edge enhancement) × 1 / (value determined by image density width) (12)

次に仮想画素NがBQ間にあるのか、QC間にあるのかを
判定する。
Next, it is determined whether the virtual pixel N is between BQ and QC.

原画素F,B,C,Iが第3図の(a),(b),(c),
(d)に示す4通りの原画素の濃度変化状態のどれにあ
てはまるかを判定し、その変化状態に相当する濃度変化
量a,b,cの大小関係を決定する。
The original pixels F, B, C, I correspond to (a), (b), (c),
It is determined which of the four types of density change state of the original pixel shown in (d) applies, and the magnitude relationship of the density change amounts a, b, and c corresponding to the change state is determined.

判定の結果、第4図に示すように仮想画素NがBQ間に
あり、a>bなら仮値に補正値を加え、a<bなら仮値
から補正値を減じる。また、仮想画素NがQC間にあり、
c>bなら仮値から補正値を減じ、c<bなら仮値に補
正値を加える。
As a result of the determination, as shown in FIG. 4, the virtual pixel N is between BQ and if a> b, the correction value is added to the temporary value, and if a <b, the correction value is subtracted from the temporary value. Also, the virtual pixel N is between QC,
If c> b, the correction value is subtracted from the temporary value, and if c <b, the correction value is added to the temporary value.

以上の処理により仮想画素Nの値(濃度)を求めるこ
とができる。次に具体的な数字で説明する。原画素の濃
度として、 F=50,B=14,C=50,I=22 であるものとする。
By the above processing, the value (density) of the virtual pixel N can be obtained. Next, specific numbers will be described. It is assumed that the densities of the original pixels are F = 50, B = 14, C = 50, and I = 22.

先ず仮想画素Nの仮値を(6)式により求める。First, the provisional value of the virtual pixel N is obtained by equation (6).

今、BN:NC=1:4であるものとすると、 In=14×4/5+(50×1/5) =22.2となる。 Assuming that BN: NC = 1: 4, In = 14 × 4/5 + (50 × 1/5) = 22.2.

次に、濃度変化量a〜cは(7)〜(9)式により a=14−50=−36 b=50−14=36 c=22−50=−28 となる。また、S1,S2は(10),(11)式により S1=|b−a|=72, S2=|c−b|=64 となる。Next, the density change amounts a to c are a = 14−50 = −36 b = 50−14 = 36 c = 22−50 = −28 according to the equations (7) to (9). Further, S1 and S2 are S1 = | b−a | = 72 and S2 = | c−b | = 64 according to the equations (10) and (11).

線分BC上にS2:S1の比で内分する点Qを求める。A point Q which is internally divided on the line segment BC at a ratio of S2: S1 is obtained.

S2:S1=64:72であるので、この比率でBCを内分とする
と第2図の位置に点Qがくる。
Since S2: S1 = 64: 72, if BC is internally divided at this ratio, the point Q comes at the position in FIG.

次に(12)式により補正値を求める。エッジ強調度を
例えば5,画像の濃度幅によりより決まる値を例えば100
とすると、b−aは72であるので、 72×5/100=3.6となる。仮想画素Nの仮値は前述の2
2.2である。
Next, a correction value is obtained by equation (12). The edge enhancement degree is, for example, 5, and the value determined by the image density width is, for example, 100.
Then, since ba is 72, 72 × 5/100 = 3.6. The provisional value of the virtual pixel N is 2
2.2.

〜仮想画素NはBQ間にあるので、第4図の(b)式
より (仮値−補正値)となり、 In=22.2−3.6=18.6となる。ここでは四捨五入して1
9とする。
Since the virtual pixel N is between the BQs, (provisional value−correction value) is obtained from the expression (b) in FIG. 4, and In = 22.2−3.6 = 18.6. Here, round to 1
9 is assumed.

このようにして4個の仮想画素M,N,O,P(第15図参
照)の濃度が例えば Im=30,Io=40,Ip=24 であったものとする。更に、 MR:NR:OR:PR=1:2:3:4 であったものとする。変動画素Rの濃度Irは決定された
仮想画素値から変換画素値を距離の重みづけ演算により
求める。式は以下のとおりである。
Assume that the densities of the four virtual pixels M, N, O, P (see FIG. 15) are, for example, Im = 30, Io = 40, and Ip = 24. Further, it is assumed that MR: NR: OR: PR = 1: 2: 3: 4. The density Ir of the fluctuating pixel R is obtained by calculating a converted pixel value from the determined virtual pixel value by weighting the distance. The formula is as follows:

Ir=30×(4/10)+ 19×(3/10)+ 40×(2/10)+ 24×(1/10) =28(28.1を四捨五入) 第5図は仮想画素Nの画素値を求めるシーケンスを示
すフローチャートである。図に示すフローチャートは、
前述したシーケンスをフローにまとめたものである。先
ず、仮想画素Nの仮値を原画素B,Cからの距離の重みづ
け演算により決定し(S1)、(7)〜(11)式で示され
る演算を行う(S2)。a〜c及びS1,S2が演算により求
まったら、原画素BC間でS2:S1で内分する点Qの座標を
求める(S3)と共に、エッジ強調度及びS1,S2の大きさ
に応じて補正値を決定する(S4)。
Ir = 30 × (4/10) + 19 × (3/10) + 40 × (2/10) + 24 × (1/10) = 28 (rounding 28.1) Fig. 5 shows the pixel value of virtual pixel N 6 is a flowchart showing a sequence for obtaining the following. The flowchart shown in the figure,
The above sequence is summarized in a flow. First, the provisional value of the virtual pixel N is determined by weighting the distance from the original pixels B and C (S1), and the calculations represented by the equations (7) to (11) are performed (S2). When a to c and S1, S2 are obtained by the calculation, the coordinates of a point Q which is internally divided by S2: S1 between the original pixels BC are obtained (S3), and correction is performed according to the degree of edge enhancement and the size of S1, S2. Determine the value (S4).

次に、仮想画素NがBQ間にあるのかQC間にあるのかを
判定する(S5)。BQ間に存在する場合にはa>bである
かどうかチェックする(S6)。そうである場合には In=仮値+補正値により画素値を決定する(S7)。そう
でない場合には In=仮値−補正値により画素値を決定する(S8)。仮想
画素がQC間に存在する場合には、c>bであるかどうか
チェックする(S9)。そうである場合には In=仮値−補正値により画素値を決定する(S10)。そ
うでない場合には In=仮値+補正値により画素値を決定する(S11)。
Next, it is determined whether the virtual pixel N is between BQ or QC (S5). If it exists between BQs, it is checked whether a> b (S6). If so, the pixel value is determined by In = temporary value + correction value (S7). Otherwise, the pixel value is determined by In = provisional value−correction value (S8). If the virtual pixel exists between the QCs, it is checked whether c> b (S9). If so, the pixel value is determined by In = provisional value−correction value (S10). Otherwise, the pixel value is determined by In = provisional value + correction value (S11).

第6図は濃度の軌跡例を示す図である。f1は従来方法
の、f2は本発明方法の濃度軌跡をそれぞれ示す。縦軸は
濃度レベル、横軸は位置座標である。本発明方法は、第
16図の(c)に示す形に近いことがわかる。
FIG. 6 is a diagram showing an example of a locus of density. f1 indicates the concentration locus of the conventional method, and f2 indicates the concentration locus of the method of the present invention. The vertical axis is the density level, and the horizontal axis is the position coordinates. The method of the present invention
It can be seen that the shape is close to that shown in FIG.

第7図は本発明方法を実施する装置の原理ブロック図
である。1は原画素値を入力する原画素入力手段で、例
えば第15図のA,B,C,Dの画素値が入力される。原画素値
入力手段1の出力は複数個の仮想画素値決定手段2に入
って、これら仮想画素値決定手段2により仮想画素値が
決定される。仮想画素値は、例えば第15図のM,N,O,Pと
すると、これら仮想画素の画素値を前述したシーケンス
により求める。求まった仮想画素値は続く変換画素決定
手段3に入る。変換画素決定手段3には変換画素の座標
値が入力されており、該変換画素決定手段3は距離の重
みづけ演算により変換画素値を求める。
FIG. 7 is a principle block diagram of an apparatus for implementing the method of the present invention. Reference numeral 1 denotes original pixel input means for inputting original pixel values, for example, the pixel values of A, B, C, and D in FIG. 15 are input. The output of the original pixel value input means 1 enters a plurality of virtual pixel value determination means 2, and the virtual pixel value determination means 2 determines a virtual pixel value. Assuming that the virtual pixel values are, for example, M, N, O, and P in FIG. 15, the pixel values of these virtual pixels are obtained by the above-described sequence. The obtained virtual pixel value enters the subsequent conversion pixel determination means 3. The coordinate value of the converted pixel is input to the converted pixel determining means 3, and the converted pixel determining means 3 obtains the converted pixel value by a distance weighting operation.

第8図は仮想画素値決定手段2の具体的構成例を示す
図である。仮想画素の仮値決定手段21は、原画素値に対
して変換画素の位置座標を受けて(6)式により仮値を
演算により求める。補正値決定手段22は、エッジ強調度
を入力して原画素に対しての補正値を(12)式により求
める。原画素状態判定手段23は、原画素値を受けて、周
囲の原画素の濃度変化状態を(7)〜(11)式により求
める。内分点決定手段24は、S2:S1で内分する点を求め
る。仮想画素値決定手段25は、各要素21〜24の出力を受
けて仮想画素値を決定する。
FIG. 8 is a diagram showing a specific configuration example of the virtual pixel value determining means 2. The virtual pixel provisional value determining means 21 receives the position coordinates of the transformed pixel with respect to the original pixel value, and calculates the provisional value by equation (6). The correction value determining means 22 calculates the correction value for the original pixel by inputting the edge emphasis degree according to the equation (12). Receiving the original pixel value, the original pixel state determining means 23 obtains the density change state of the surrounding original pixels by the equations (7) to (11). The internally dividing point determining means 24 obtains a point internally divided in S2: S1. The virtual pixel value determining means 25 receives the output of each of the elements 21 to 24 and determines a virtual pixel value.

第9図は本発明方法を実施する装置の一実施例を示す
構成ブロック図である。この回路は、第10図に示す位置
関係にある変換画素Rの画素値を求める回路であるもの
とする。第9図において、第7図,第8図と同一のもの
は、同一の符号を付して示す。位置座標算出回路30は変
換倍率を入力して変換画素Rの位置座標を求めて変換画
素値決定手段3である重みづけ演算回路2に与える。次
に、仮想画素の仮値決定手段25である重みづけ演算回路
1は、位置座標算出回路30の出力及び周囲A,B,C,Dの画
素値Ia〜Idを受けて4個の仮想画素M,N,O,Pの仮値を求
め、仮想画素値決定手段25である加減算回路25に与え
る。
FIG. 9 is a block diagram showing an embodiment of an apparatus for implementing the method of the present invention. This circuit is assumed to be a circuit for calculating the pixel values of the converted pixels R having the positional relationship shown in FIG. 9, the same components as those in FIGS. 7 and 8 are denoted by the same reference numerals. The position coordinate calculation circuit 30 obtains the position coordinates of the conversion pixel R by inputting the conversion magnification, and gives it to the weight calculation circuit 2 as the conversion pixel value determination means 3. Next, the weighting calculation circuit 1 as the virtual pixel provisional value determination means 25 receives the output of the position coordinate calculation circuit 30 and the pixel values Ia to Id of the surrounding A, B, C, and D, and outputs four virtual pixels. The provisional values of M, N, O, and P are obtained and given to the addition / subtraction circuit 25 as the virtual pixel value determination means 25.

次に、減算回路31は、原画素A〜Iの画素値Ia〜Iiを
入力して(7)〜(11)式で示される濃度変化量を算出
しa〜cレジスタ1であるレジスタ32に、S1,S2をレジ
スタ2であるレジスタ33に格納する。原画素状態判定手
段23である比較回路1は濃度変化量a〜cを受けて原画
素の濃度変化状態を判定し、その結果を加減算回路25に
送る。
Next, the subtraction circuit 31 inputs the pixel values Ia to Ii of the original pixels A to I, calculates the density change amounts represented by the equations (7) to (11), and stores the density change amount in the register 32 which is the a to c register 1. , S1 and S2 are stored in the register 33 which is the register 2. The comparison circuit 1 as the original pixel state determination means 23 receives the density change amounts a to c, determines the density change state of the original pixel, and sends the result to the addition / subtraction circuit 25.

また、内分点決定手段24である座標計算回路24でS1,S
2を基に内分点の座標を求め、その結果を比較回路2で
ある比較回路34に与える。比較回路34は、変換画素の位
置座標と内分点の座標を比較し、その結果を加減算回路
25に送る。一方、補正値決定手段22である補正値決定回
路22は、エッジ強調度データ及びS1,S2データを受けて
(12)式に基づいて補正値を決定する。そして、その結
果を加減算回路25に送る。
Further, the coordinate calculation circuit 24, which is the internally dividing point determining means 24, calculates S1, S
The coordinates of the internal dividing point are obtained based on the number 2 and the result is given to the comparison circuit 34 which is the comparison circuit 2. The comparison circuit 34 compares the position coordinates of the converted pixel with the coordinates of the internal dividing point, and compares the result with the addition / subtraction circuit.
Send to 25. On the other hand, the correction value determining circuit 22, which is the correction value determining means 22, receives the edge enhancement degree data and the S1 and S2 data and determines the correction value based on the equation (12). Then, the result is sent to the addition / subtraction circuit 25.

加減算回路25は、仮想画素の仮値に補正値とを加える
か減ずるかを比較回路1,2から送られる信号により決定
し仮想画素の画素値を決定する。次に、重みづけ演算回
路2は、加減算回路25からの出力に応じて重みづけ演算
を行い、仮想画素の画素値を決定する。
The addition / subtraction circuit 25 determines whether the correction value is added to or subtracted from the provisional value of the virtual pixel based on signals sent from the comparison circuits 1 and 2, and determines the pixel value of the virtual pixel. Next, the weighting operation circuit 2 performs a weighting operation according to the output from the addition / subtraction circuit 25 to determine the pixel value of the virtual pixel.

以上の説明では、補正値の決定を(12)式に基づいて
求める場合を例にとったが、本発明はこれに限るもので
はない。例えば、第11図,第12図に示すように原画素か
らの距離に比例させるようにしても同じ効果が得られ
る。例えば第11図に示す補正値を用いた場合、補正値に
よる濃度特性は第13図に示すようなものとなる。f1は従
来方法を、f2は本発明方法を示している。この方法で
も、その濃度特性は第16図(c)に示す形と似ており、
良い結果が得られる。即ち、エッジの強調ができ、濃度
変化を滑らかにすることができる。第14図は第12図に示
す補正値を用いた場合の濃度特性を示している。効果は
第13図と同様である。
In the above description, the case where the correction value is determined based on the expression (12) is taken as an example, but the present invention is not limited to this. For example, as shown in FIGS. 11 and 12, the same effect can be obtained by making the distance proportional to the distance from the original pixel. For example, when the correction values shown in FIG. 11 are used, the density characteristics based on the correction values are as shown in FIG. f1 indicates the conventional method, and f2 indicates the method of the present invention. Also in this method, the density characteristic is similar to the shape shown in FIG.
Good results are obtained. That is, the edge can be emphasized and the density change can be made smooth. FIG. 14 shows density characteristics when the correction values shown in FIG. 12 are used. The effect is the same as in FIG.

[発明の効果] 以上、詳細に説明したように、本発明によれば変換画
素の周囲の原画素の濃度変化状態に応じて補正値を求
め、周囲の原画素の濃度変化状態に応じて仮想画素の仮
値と前記補正値とを加減演算して仮想画素値を決定し、
変換画素値はこれら仮想画素値の距離の重みづけ演算に
より求めることにより、エッジが強調され、かつ濃度変
化を滑らかな変換画素を得ることができる。
[Effects of the Invention] As described above in detail, according to the present invention, a correction value is obtained according to the density change state of the original pixels around the converted pixel, and the correction value is calculated according to the density change state of the surrounding original pixels. A virtual pixel value is determined by adding / subtracting the provisional value of the pixel and the correction value,
The converted pixel value is obtained by weighting the distance between these virtual pixel values, whereby a converted pixel in which the edge is emphasized and the density change is smooth can be obtained.

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

第1図は本発明方法の原理を示す図、 第2図は仮想画素Nの求め方を示す図、 第3図は濃度変化状態のパターンを示す図、 第4図は仮想画素Nの値の決定方法を示す図、 第5図は仮想画素Nの画素値を求めるシーケンスを示す
図、 第6図は濃度の軌跡例を示す図、 第7図は本発明方法を実施する装置の原理ブロック図、 第8図は仮想画素値決定手段の具体的構成例を示す図、 第9図は本発明方法を実施する装置の一実施例を示す構
成ブロック図、 第10図は各画素の位置関係を示す図、 第11図,第12図は原画素BC間における補正値の他の例を
示す図、 第13図,第14図は本発明方法の他の補正方法による濃度
特性を示す図、 第15図は従来の画素密度変換方式の説明図、 第16図は従来の濃度変化と滑らかな濃度変化を示す図で
ある。 第7図,第8図において、 1は原画素入力手段、 2は仮想画素値決定手段、 3は変換画素値決定手段、 21は仮想画素の仮値決定手段、 22は補正値決定手段、 23は原画素状態判定手段、 24は内分点決定手段、 25は仮想画素値決定手段である。
FIG. 1 is a diagram showing the principle of the method of the present invention, FIG. 2 is a diagram showing how to determine a virtual pixel N, FIG. 3 is a diagram showing a pattern of a density change state, and FIG. FIG. 5 is a diagram showing a determination method, FIG. 5 is a diagram showing a sequence for obtaining a pixel value of a virtual pixel N, FIG. 6 is a diagram showing an example of a locus of density, FIG. 7 is a principle block diagram of an apparatus for implementing the method of the present invention FIG. 8 is a diagram showing a specific configuration example of a virtual pixel value determining means, FIG. 9 is a configuration block diagram showing an embodiment of an apparatus for implementing the method of the present invention, and FIG. FIGS. 11 and 12 are diagrams showing another example of the correction value between the original pixels BC. FIGS. 13 and 14 are diagrams showing density characteristics according to another correction method of the method of the present invention. FIG. 15 is an explanatory diagram of a conventional pixel density conversion method, and FIG. 16 is a diagram showing a conventional density change and a smooth density change. 7 and 8, 1 is an original pixel input means, 2 is a virtual pixel value determining means, 3 is a converted pixel value determining means, 21 is a virtual pixel temporary value determining means, 22 is a correction value determining means, 23 Is an original pixel state determining means, 24 is an internally dividing point determining means, and 25 is a virtual pixel value determining means.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】原画素が配列された平面上に投影された変
換画素の位置により、周囲の原画素が形成する四辺形の
各辺に仮想画素を設けて距離の重みづけ演算により変換
画素値を決定する中間調画像拡大方法において、 変換画素の近傍に位置する所定の原画素群の濃度データ
を順次入力し(ステップ1)、 入力された濃度データと変換画素の位置座標から仮想画
素の仮値を重みづけ演算により決定し(ステップ2)、 変換画素の周囲の原画素の濃度変化状態に応じて補正値
を求め、周囲の原画素の濃度変化状態に応じて仮想画素
の仮値と前記補正値とを加減演算して仮想画素値を決定
し(ステップ3)、 決定された仮想画素値から変換画素値を距離の重みづけ
演算により求める(ステップ4)ようにしたことを特徴
とする中間調画像拡大方法。
A virtual pixel is provided on each side of a quadrilateral formed by surrounding original pixels based on the position of the converted pixel projected on a plane on which the original pixels are arranged, and a converted pixel value is calculated by a distance weighting operation. In the halftone image enlarging method for determining the halftone image, the density data of a predetermined original pixel group located in the vicinity of the conversion pixel is sequentially input (step 1). The value is determined by a weighting operation (step 2), a correction value is determined according to the density change state of the original pixels surrounding the converted pixel, and the provisional value of the virtual pixel and the correction value are determined according to the density change state of the surrounding original pixels. A virtual pixel value is determined by adding or subtracting the correction value (step 3), and a converted pixel value is obtained from the determined virtual pixel value by a distance weighting operation (step 4). Toning image enlargement method .
JP1115788A 1989-05-09 1989-05-09 Halftone image enlargement method Expired - Lifetime JP2713764B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1115788A JP2713764B2 (en) 1989-05-09 1989-05-09 Halftone image enlargement method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1115788A JP2713764B2 (en) 1989-05-09 1989-05-09 Halftone image enlargement method

Publications (2)

Publication Number Publication Date
JPH02294785A JPH02294785A (en) 1990-12-05
JP2713764B2 true JP2713764B2 (en) 1998-02-16

Family

ID=14671084

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1115788A Expired - Lifetime JP2713764B2 (en) 1989-05-09 1989-05-09 Halftone image enlargement method

Country Status (1)

Country Link
JP (1) JP2713764B2 (en)

Also Published As

Publication number Publication date
JPH02294785A (en) 1990-12-05

Similar Documents

Publication Publication Date Title
EP0336776A2 (en) Image magnification
US20050105830A1 (en) Image interpolation apparatus and method
JP2713764B2 (en) Halftone image enlargement method
JP2003216959A (en) Method, device and program for extracting outline
US7257276B2 (en) Digital image interpolation method
JP2002281299A (en) Line segment detector
JP2878614B2 (en) Image synthesis method and apparatus
JP3039654B2 (en) Image reduction apparatus and method
JP2997161B2 (en) Image pattern inspection equipment
JPH1091788A (en) Device for positioning pattern and method therefor
JP2991878B2 (en) Optical flow operation circuit
JPS6219973A (en) Data compression method
JP4762463B2 (en) Image processing apparatus and image processing method
JPS6272078A (en) Paint-out drawing device in circle
JPH0785266A (en) Image rotating device
JPS58129573A (en) Picture enlargement and reduction processing system
JPH10103922A (en) Apparatus and method for alignment of pattern
JPH01256869A (en) Method and apparatus for magnifying picture
JPH01180071A (en) Edge detecting circuit
JPH08235307A (en) Character string detector
JPS61175781A (en) Arithmetic circuit of picture element density in picture enlargement and reduction mode
JPH0439950B2 (en)
JPS63161774A (en) Expanding method for binary picture by picture element density conversion
JP2963773B2 (en) Pattern matching device
JPS5899886A (en) Oblique scanning method