JP2613095B2 - Image enlargement apparatus and method - Google Patents

Image enlargement apparatus and method

Info

Publication number
JP2613095B2
JP2613095B2 JP63213672A JP21367288A JP2613095B2 JP 2613095 B2 JP2613095 B2 JP 2613095B2 JP 63213672 A JP63213672 A JP 63213672A JP 21367288 A JP21367288 A JP 21367288A JP 2613095 B2 JP2613095 B2 JP 2613095B2
Authority
JP
Japan
Prior art keywords
pixel
converted
conversion
density
area
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
JP63213672A
Other languages
Japanese (ja)
Other versions
JPH0263267A (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 JP63213672A priority Critical patent/JP2613095B2/en
Priority to CA000595654A priority patent/CA1335794C/en
Priority to DE68926890T priority patent/DE68926890T2/en
Priority to EP89303461A priority patent/EP0336776B1/en
Priority to KR1019890004581A priority patent/KR920001801B1/en
Publication of JPH0263267A publication Critical patent/JPH0263267A/en
Priority to US08/332,442 priority patent/US5511137A/en
Application granted granted Critical
Publication of JP2613095B2 publication Critical patent/JP2613095B2/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

Description

【発明の詳細な説明】 〔目次〕 概要 産業上の利用分野 技術の背景(第11,12図) 従来の技術(第10,13図) 発明が解決しようとする課題(第13図) 課題を解決するための手段(第1,2図) 作用(第1,2図) 実施例(第3〜9図) 発明の効果 〔概要〕 被変換画素が配列された平面に対して分割領域を設定
し、分割領域に対応する論理式に従って近傍被変換画素
の濃度から変換画素の濃度を決定する画像拡大方法に関
し、 画像の拡大により生じる斜線の階段状を目立たせない
自然に平滑化された画像の拡大を行う画像拡大装置及び
方法を提供することを目的とし、 平面上に設定され、変換倍率に基づいて定まる区分領
域のうち変換画素が位置する区分領域を指定するととも
に区分領域に基づいて変換画素の近傍に位置する所定の
被変換画素群の濃度データを順次入力し、当該領域に基
づいて被変換画素群の濃度データにより形成される所定
の傾斜角度を有する斜線パターン及び傾斜角度を検知
し、少なくとも傾斜パターン及び傾斜角度に基づいて対
応する境界線により分割領域に分割するとともに、変換
倍率に基づいて変換画素が位置する分割領域を判定し、
判定された分割領域及び被変換画素の濃度に基づいて変
換画素の濃度を算出する。
DETAILED DESCRIPTION OF THE INVENTION [Table of Contents] Overview Industrial application Field of technology Background (Figs. 11 and 12) Conventional technology (Figs. 10 and 13) Problems to be solved by the invention (Fig. 13) Means for Solving the Problems (FIGS. 1 and 2) Operation (FIGS. 1 and 2) Embodiment (FIGS. 3 to 9) Effects of the Invention [Overview] Setting a Divided Area on a Plane on Which Pixels to be Converted are Arranged In addition, the present invention relates to an image enlarging method for determining the density of a converted pixel from the density of a pixel to be converted in accordance with a logical expression corresponding to a divided region, An object of the present invention is to provide an image enlarging apparatus and method for enlarging, and designate a segmented area where a transformed pixel is located among segmented areas set on a plane and determined based on a conversion magnification, and convert pixels based on the segmented area. Of a given group of pixels to be converted Data is sequentially input, and a diagonal pattern and a tilt angle having a predetermined tilt angle formed by the density data of the pixel group to be converted are detected based on the area, and a corresponding boundary line is determined based on at least the tilt pattern and the tilt angle. While dividing into divided regions by, the divided region where the conversion pixel is located is determined based on the conversion magnification,
The density of the converted pixel is calculated based on the determined divided area and the density of the pixel to be converted.

〔産業上の利用分野〕[Industrial applications]

本発明はG3からG4ファクシミリ等の低密度から高密度
への画素密度変換又は画像処理における画像拡大装置及
び方法に係り、 特に被変換画素が配列された平面に対して分割領域を
設定し、当該平面上に投影された変換画素が位置する分
割領域に対応する論理式に従って近傍被変換画素の濃度
から各変換画素の濃度を決定する画像拡大装置に関す
る。
The present invention relates to an image enlarging apparatus and method in pixel density conversion or image processing from low density to high density such as G3 to G4 facsimile, particularly, setting a divided area on a plane where pixels to be converted are arranged, The present invention relates to an image enlargement device that determines the density of each converted pixel from the density of a neighboring pixel to be converted according to a logical expression corresponding to a divided area where a converted pixel projected on a plane is located.

〔技術の背景〕[Technological background]

従来の画像の拡大方法としてSPC(Selective Process
ing Conversion)法、論理和法、九分割法、高速投影法
(特開昭58−97958画像電子学会誌、第11巻、第2号、7
2−83(1982))等が提案されており、いずれも近傍の
被変換画素4画素から変換画素の濃度を決める方法であ
る。
As a conventional image enlargement method, SPC (Selective Process
ing Conversion) method, OR method, nine-division method, high-speed projection method (Japanese Patent Application Laid-Open No. 58-97958, Journal of the Institute of Image Electronics Engineers of Japan, Vol. 11, No. 2,
2-83 (1982)) and the like, all of which are methods for determining the density of a converted pixel from four neighboring pixels to be converted.

SPC法では、拡大倍率が大きい程斜線の凹凸が目立つ
傾向がある。
In the SPC method, diagonal lines tend to be more conspicuous as the enlargement magnification is larger.

一方、高速投影法は拡大時の潰れが少なく、斜線の適
応化を行うことで斜線の凹凸が少ない。
On the other hand, in the high-speed projection method, the collapse at the time of enlargement is small, and the adaptation of the oblique lines reduces the unevenness of the oblique lines.

高速投影法とは変換画素の濃度を決定する際の算術換
算を論理演算に替えて高速投影法を実現したものであ
る。高速投影法は第12図に示すように、被変換画像の平
面内に変換倍率に応じた分割領域を設定し、当該分割領
域内に被変換画素から変換画素の濃度を決定するための
論理式を予め用意し、当該変換画素が位置する前記分割
領域に割り当てられた論理式に基づいて変換画素の濃度
を決定するものである。
The high-speed projection method realizes the high-speed projection method by replacing the arithmetic conversion when determining the density of the converted pixel with a logical operation. In the high-speed projection method, as shown in FIG. 12, a logical area for setting a divided area according to the conversion magnification in the plane of the converted image and determining the density of the converted pixel from the converted pixel in the divided area. Is prepared in advance, and the density of the converted pixel is determined based on the logical expression assigned to the divided area where the converted pixel is located.

第11図に一般的な投影法の原理、表1に高速投影法の
分割領域及び論理式を示す。
FIG. 11 shows the principle of a general projection method, and Table 1 shows divided regions and logical expressions of the high-speed projection method.

第11図に示すように、先ず近傍4画素A,B,C,Dを含む
被変換画像面を4等分する。近傍4画素の画素濃度を
IA,IB,IC,IDとし、変換画素Rを被変換画素面に投影し
た際に前記4等分した各分割領域に投影される面積比率
をWA,WB,WC,WDとする。投影法では変換画素Rの濃度をI
R=ΣIi*Wi,i=A,B,C,Dとしてする二値化するので、 IR≧0.5→IR=1(黒)、IR<0.5→IR=0(白)のよう
になる。尚、第11図中のp,qはX軸、Y軸方向の変換拡
大倍率である。
As shown in FIG. 11, first, a converted image plane including four neighboring pixels A, B, C, and D is divided into four equal parts. The pixel density of four neighboring pixels
I A , I B , I C , and I D, and when the converted pixel R is projected on the conversion target pixel surface, the area ratio projected to each of the four divided areas is W A , W B , W C , W D In the projection method, the density of the transformed pixel R is set to I
Since R = ΣIi * Wi, i = A, B, C, D, the binarization is performed, so that I R ≧ 0.5 → I R = 1 (black) and I R <0.5 → I R = 0 (white) become. Note that p and q in FIG. 11 are conversion magnifications in the X-axis and Y-axis directions.

しかし、投影法では変換画素Rの濃度を求めるのに算
術演算が必要な為、高速処理が出来ない。そこで、高速
投影法では、その算術演算を論理演算に置き換えて高速
化を図っている。
However, in the projection method, high-speed processing cannot be performed because an arithmetic operation is required to obtain the density of the converted pixel R. Therefore, in the high-speed projection method, the arithmetic operation is replaced with a logical operation to increase the speed.

第12図中の直線は、投影法に基づき、4画素の中の1
画素のみで変換画素Rの濃度が決定できる境界を示して
いる。例えば、G3とG7とを分ける曲線は次式で与えられ
る。
The straight line in FIG. 12 indicates one of four pixels based on the projection method.
The boundary where the density of the conversion pixel R can be determined only by the pixel is shown. For example, a curve separating the G 3 and G 7 is given by the following equation.

px+qy=0.5 尚、この直線は拡大時の斜線平滑化を行う為の式で、
変換倍率p=1,q=1と変換倍率に関係なく一定として
演算する。この理由は、変換倍率に応じて前記直線式を
決めた場合、1画素で変換画素の濃度を決める領域が増
え、結果的にはSPC法と変らず、斜線の平滑化が出来な
い為である。
px + qy = 0.5 Note that this straight line is an equation for smoothing diagonal lines at the time of enlargement.
The calculation is performed with the conversion magnification p = 1 and q = 1 and fixed regardless of the conversion magnification. The reason for this is that, when the linear equation is determined according to the conversion magnification, the area for determining the density of the converted pixel by one pixel increases, and as a result, it is not different from the SPC method, and the oblique line cannot be smoothed. .

〔従来の技術〕[Conventional technology]

従来の高速投影法を用いて画像の拡大を行う場合に
は、第10図に示すように、変換画素の近傍に位置する被
変換画素群A〜Lの各濃度データを順次入力する被変換
画素入力手段21と、希望する変換倍率に基づいて変換画
素がどの分割領域に属するかを判定する分割領域判定手
段24と、被変換画素入力手段21が入力した前記被変換画
素群の濃度データ及び各変換画素が属する分割領域に基
づいて変換画素の濃度を算出する変換画素濃度算出手段
25とを有する画像拡大装置を用いて画像の拡大を行って
いた。
In the case of enlarging an image by using the conventional high-speed projection method, as shown in FIG. 10, a converted pixel which sequentially inputs each density data of the converted pixel groups A to L located near the converted pixel is used. An input unit 21, a divided region determining unit 24 that determines which divided region a converted pixel belongs to based on a desired conversion magnification, density data of the converted pixel group input by the converted pixel input unit 21, and Conversion pixel density calculation means for calculating the density of the conversion pixel based on the divided area to which the conversion pixel belongs
The image has been enlarged using an image enlargement device having 25.

高速投影法の論理式は、表1に示すように領域G1〜G4
では1画素のみ、領域G5〜G8では他の3画素との結合及
びその周辺2画素から斜線と直角部分を区別する適応平
滑化を考慮した論理式となっている。
As shown in Table 1, the logical expressions of the high-speed projection method are the regions G 1 to G 4
In one pixel only, it has a binding and logical expression from the surrounding 2 pixels considering distinguish adaptive smoothing hatched perpendicular portion between the other three pixels in area G 5 ~G 8.

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

ところで、従来の画像拡大装置にあっては、拡大時に
おいて、被変換画像中の斜線パターンの角度が45度の場
合のみ良好であって、パターンの角度が他の場合、斜線
平滑化が不自然な形となる。
By the way, in the conventional image enlarging apparatus, when enlarging, it is good only when the angle of the oblique line pattern in the converted image is 45 degrees, and when the angle of the pattern is other, the oblique line smoothing is unnatural. Shape.

例えば、第13図に示したような3つの斜線パターンを
従来の高速投影法で3倍に拡大した場合を考える。
For example, consider a case in which three oblique line patterns as shown in FIG. 13 are tripled by a conventional high-speed projection method.

第13図の斜線パターン(a)では角度が45度なので全
体に斜線平滑化が行われている。
The oblique line pattern (a) in FIG. 13 has an angle of 45 degrees, so that the entire oblique line is smoothed.

しかし、斜線パターン(b),(c)では階段状の部
分のみ斜線平滑化が行われ、全体的に平滑化が行われな
いという問題点を有していた。
However, the oblique line patterns (b) and (c) have a problem that the oblique line smoothing is performed only in the step-like portion, and the entire surface is not smoothed.

また、変換倍率が大きくなる程、斜線の階段状が目立
つ傾向があるという問題点があった。
In addition, there is a problem that as the conversion magnification increases, the stepped shape of the oblique line tends to be more noticeable.

そこで、本発明は以上の問題点を解決することを技術
的課題とするものであり、斜線の階段状を目立たせない
よう自然な斜線平滑化がなされるような拡大を行うこと
ができる画像拡大装置及び方法を提供することを目的と
したものである。
SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to solve the above-described problems, and to provide an image enlargement capable of performing natural diagonal line smoothing so as not to make the diagonal step shape conspicuous. It is intended to provide an apparatus and a method.

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

第一の発明では第1図に示すように、被変換画素が配
列された平面上に、変換倍率に応じて分割領域を設定
し、当該平面上に投影された変換画素が位置する分割領
域に対応する論理式に従って近傍被変換画素の濃度から
各変換画素の濃度を決定する画像拡大装置において、 前記平面上に設定され、変換倍率に基づいて定められ
る区分領域のうち前記変換画素が位置する区分領域を指
定する区分領域指定手段2と、変換画素の近傍及び斜線
の角度判断に必要な変換画素の準近傍に位置する被変換
画素群を示す参照画素パターンを区分領域毎に定め、指
定された区分領域に基づいて、対応する参照画素パター
ンの被変換画素パターンの被変換画素群の濃度データを
順次入力する被変換画素入力1と、前記区分領域に基づ
いて前記被変換画素群の濃度データにより形成される所
定の傾斜角度を有する斜線パターン及びその傾斜角度を
検知する斜線パターン検知手段3と、少なくとも当該斜
線パターン及び斜線角度に基づいて対応する境界線によ
り分割領域に分割するとともに、前記変換倍率に基づい
て前記変換画素が位置する当該分割領域を判定する領域
分割判定手段4と、判定された当該分割領域及び前記被
変換画素の濃度に基づいて変換画素の濃度を算出する変
換画素濃度算出手段5とを有するものである。
In the first invention, as shown in FIG. 1, a divided area is set in accordance with a conversion magnification on a plane on which pixels to be converted are arranged, and a divided area in which the converted pixel is projected on the plane is set. An image enlarging device that determines the density of each converted pixel from the density of a neighboring pixel to be converted according to a corresponding logical expression, wherein a section in which the converted pixel is located among the divided areas set on the plane and determined based on a conversion magnification. A divided area designating means 2 for designating an area, and a reference pixel pattern indicating a group of pixels to be converted which are located in the vicinity of the converted pixel and in the quasi-neighborhood of the converted pixel necessary for determining the angle of the oblique line are determined for each divided area. A converted pixel input 1 for sequentially inputting density data of a converted pixel group of a converted pixel pattern of a corresponding reference pixel pattern based on the segmented region, and a density of the converted pixel group based on the segmented region. A diagonal line pattern having a predetermined inclination angle formed by the degree data and a diagonal line pattern detecting means 3 for detecting the diagonal angle, and dividing the region into divided regions by at least a corresponding boundary line based on the diagonal line pattern and the diagonal line angle; Area division determining means 4 for determining the divided area where the converted pixel is located based on the conversion magnification, and a converted pixel for calculating the density of the converted pixel based on the determined density of the divided area and the pixel to be converted And a density calculating means 5.

一方、第二の発明は第2図に示すように、被変換画素
が配列された平面上に、変換倍率に応じて分割領域を設
定し、当該平面上投影された変換画素が位置する分割領
域に対応する論理式に従って近傍被変換画素の濃度から
変換画素の濃度を決定する画像拡大方法において、 前記平面上に設定され、変換倍率に基づいて定められ
る区分領域のうち前記変換画素が位置する区分領域を指
定するとともに、変換画素の近傍及び斜線の角度判断に
必要な変換画素の準近傍に位置する被変換画素群を示す
参照画素パターンを区分領域毎に定め、指定された区分
領域にもとづいて、対応する参照画素パターンの被変換
画素群の濃度データを順次入力する過程(S1)と、当該
領域に基づいて前記被変換画素群の濃度データにより形
成される所定の傾斜角度を有する斜線パターン及び傾斜
角度を検知する過程(S2)と、少なくとも当該斜線パタ
ーン及び傾斜角度に基づいて対応する境界線により分割
領域に分割するとともに、前記変換倍率に基づいて前記
変換画素が位置する当該分割領域の判定する過程(S3)
と、判定された当該分割領域及び前記被変換画素の濃度
に基づいて前記変換画素の濃度を算出する過程(S4)と
を有するものである。
On the other hand, in the second invention, as shown in FIG. 2, a divided area is set on a plane on which pixels to be converted are arranged according to a conversion magnification, and a divided area where the converted pixel projected on the plane is located. In an image enlarging method for determining the density of a conversion pixel from the density of a pixel to be converted in accordance with a logical expression corresponding to the following, a division in which the conversion pixel is located in a division area set on the plane and determined based on a conversion magnification In addition to specifying the area, a reference pixel pattern indicating a group of pixels to be converted located in the vicinity of the conversion pixel and near the conversion pixel necessary for determining the angle of the oblique line is determined for each section area, and based on the specified section area Sequentially inputting the density data of the converted pixel group of the corresponding reference pixel pattern (S1), and determining a predetermined inclination angle formed by the density data of the converted pixel group based on the area. Detecting the oblique line pattern and the inclination angle to be performed (S2), and dividing the image into the divided areas by at least the corresponding boundary line based on the oblique line pattern and the inclination angle, and determining the position of the conversion pixel based on the conversion magnification. Step of determining divided area (S3)
And calculating the density of the converted pixel based on the determined density of the divided area and the converted pixel (S4).

〔作用〕[Action]

本発明(第一及び第二の発明)の作用を説明する。 The operation of the present invention (first and second inventions) will be described.

本発明により画像の拡大を行う場合には、現時点で濃
度を定めようとする対象である変換画素に対して、ステ
ップS1において、前記区分領域指定手段2により変換倍
率に基づいて定められる区分領域のうち変換画素が位置
する区分領域を指定するとともに、当該区分領域に基づ
いて当該変換画素の近傍に位置する所定の被変換画素群
の濃度データを順次被変換画素入力手段1により入力す
る。
In the case of enlarging an image according to the present invention, for a conversion pixel for which the density is to be determined at the present time, in step S1, the division area specified by the division area specifying means 2 based on the conversion magnification is determined. Of these, the divided area in which the converted pixel is located is designated, and density data of a predetermined group of pixels to be converted located near the converted pixel is sequentially input by the converted pixel input means 1 based on the divided area.

ここで、前記区分領域の指定を行うのは前記被変換画
素の中から次のステップに必要な参照画素を選択限定し
て処理を高速に行うためである。
Here, the designation of the segmented region is performed in order to select and limit a reference pixel necessary for the next step from among the pixels to be converted and to perform processing at high speed.

また、「所定の」とは当該変換画素の濃度を定める際
に影響を与える被変換画素群であって、例えば、被変換
画素平面上に投影した場合に当該変換画素から一定の距
離内にある被変換画素である。
Further, “predetermined” is a group of pixels to be converted that influences the determination of the density of the converted pixel, and is, for example, within a certain distance from the converted pixel when projected onto the plane of the converted pixel. The pixel to be converted.

ステップS2では、斜線パターン検知手段3は限定され
た前記被変換画素の濃度に基づいて検知した斜線パター
ン及び傾斜角度に基づいて所定の角度を有する斜線パタ
ーン及び傾斜角度を検知する。
In step S2, the oblique line pattern detecting means 3 detects an oblique line pattern having a predetermined angle and an oblique angle based on the oblique line pattern and the oblique angle detected based on the limited density of the pixel to be converted.

ステップS3では、前記領域分割判定手段4は前記斜線
パターン検知手段3が検知した斜線パターン及び傾斜角
度に基づいて変換画素の濃度を算出する為に必要な分割
領域の境界線を決定する。
In step S3, the area division determination means 4 determines a boundary line of the divided area necessary for calculating the density of the conversion pixel based on the oblique line pattern and the inclination angle detected by the oblique line pattern detection means 3.

ここで、分割領域の境界線を被変換画素の斜線パター
ン及び傾斜角度に基づいて決定するのは、拡大された変
換画素の斜線の形状は各分割領域を隔てる境界線の形状
に大きく依存するからであり、被変換画素の斜線パター
ン及び傾斜角度に基づいて各分割領域を決定することに
より斜線の平滑化を行うためである。
Here, the boundary line of the divided region is determined based on the oblique line pattern and the inclination angle of the pixel to be converted, because the shape of the oblique line of the enlarged converted pixel greatly depends on the shape of the boundary line separating each divided region. This is for smoothing oblique lines by determining each divided area based on the oblique line pattern and the inclination angle of the pixel to be converted.

また、当該領域分割判定手段4は、変換倍率に基づい
て投影された変換画素が位置する当該分割領域の判定を
行う。
Further, the area division determining unit 4 determines the divided area where the converted pixel projected is located based on the conversion magnification.

ステップS4において前記変換画素濃度算出手段5は、
ステップS3で判定した分割領域及び変換画素の近傍に位
置する被変換画素群の濃度データに基づいて対応する論
理式により現時点の変換画素の濃度の算出する。
In step S4, the conversion pixel density calculating means 5
Based on the density data of the group of pixels to be converted located in the vicinity of the divided area and the converted pixel determined in step S3, the density of the converted pixel at the present time is calculated by a corresponding logical expression.

以上の手順を各変換画素毎に順次繰り返す。 The above procedure is sequentially repeated for each conversion pixel.

〔実施例〕〔Example〕

本発明の実施例について説明する。 An embodiment of the present invention will be described.

本発明に係る実施例の画像拡大装置として第3図に示
すものがある。
FIG. 3 shows an image enlargement apparatus according to an embodiment of the present invention.

本装置は被変換画素からなる原画像を格納している二
次元画像メモリ10と、後述する区分領域指定手段2とし
ての制御部12により指定された区分領域に基づいて選択
された被変換画素群の濃度データを順次入力する被変換
画素入力手段11と、当該入力手段11が入力した被変換画
素の濃度データにより形成される所定の傾斜角度を有す
る斜線パターン及び傾斜角度を指定された領域に基づい
て検知する斜線パターン検知手段3としての斜線パター
ン検知用論理回路13と、少なくとも当該斜線パターン及
び傾斜角度に基づいて対応する分割領域に分割し、且つ
変換倍率に基づいて前記変換倍率が位置する分割領域を
判定する領域分割判定手段4及び当該変換画素が位置す
る四等区分領域の指定を行う区分領域指定手段2とし
て、前記変換画素入力手段11及び前記二次元画像メモリ
10に対するアクセス指令等の制御を行う制御部12と、判
定された前記分割領域及び入力した前記被変換画素群に
基づいて変換画素の濃度を算出する変換画素濃度算出手
段5として変換画素濃度決定用論理回路15とを有する。
The apparatus includes a two-dimensional image memory 10 storing an original image composed of pixels to be converted, and a group of pixels to be converted selected based on a segmented area designated by a control unit 12 as a segmented area designating means 2 to be described later. Pixel data input means 11 for sequentially inputting the density data of the pixels, and a diagonal line pattern having a predetermined tilt angle formed by the density data of the pixel to be converted input by the input means 11 and a tilt angle based on the designated area. A logic circuit 13 for oblique line pattern detection as the oblique line pattern detecting means 3 for detecting an object by dividing the image into at least one of divided regions based on at least the oblique line pattern and the inclination angle, and dividing the conversion magnification based on the conversion magnification. The conversion pixel input means includes an area division determination means 4 for determining an area and a division area designation means 2 for designating a quadrant area in which the conversion pixel is located. 11 and the two-dimensional image memory
A control unit 12 for controlling an access command or the like to the control unit 10; and a conversion pixel density calculation unit 5 for calculating the density of the conversion pixel based on the determined divided area and the input conversion target pixel group. And a logic circuit 15.

前記被変換画素入力手段11は、第3図に示すように、
8個のシフトレジスタ11a〜11hを有している。シフトレ
ジスタ11a,bは第1の画像ライン上にある被変換画素を
保持するものである。
As shown in FIG. 3, the converted pixel input means 11
It has eight shift registers 11a to 11h. The shift registers 11a and 11b hold the pixels to be converted on the first image line.

同様にシフトレジスタ11c,dは第2の画像ライン上、
シフトレジスタ11e,fは第3の画像ライン上、シフトレ
ジスタ11g,hは第4の画像ライン上にある被変換画素を
順次移動保持するものである。
Similarly, the shift registers 11c and 11d are on the second image line,
The shift registers 11e, f sequentially move and hold the pixels to be converted on the third image line, and the shift registers 11g, h sequentially move and hold the pixels to be converted on the fourth image line.

前記区分領域指定手段2としての制御部12は、斜線パ
ターン及び傾斜角度を検知する際に、現時点の変換画素
の近傍に位置する4個の被変換画素で形成される格子を
四等分した四等区分領域に区分し、変換画素が位置する
当該四等区分領域を指定して前記被変換画素群から参照
すべき被変換画素を限定することにより、変換画素の濃
度を検定する際に必要となる被変換画素の個数を減少さ
せる。
When detecting the oblique line pattern and the inclination angle, the control unit 12 as the segmented area designating means 2 divides a grid formed by four pixels to be converted located near the current conversion pixel into four equal parts. It is necessary to test the density of the converted pixel by dividing into the equally divided areas and specifying the four equally divided areas where the converted pixels are located and limiting the converted pixels to be referred from the group of converted pixels. The number of pixels to be converted is reduced.

第4図に区分領域指定手段2としての制御部12で適用
される四等区分領域R1,R2,R3,R4,を示す。これは、変換
画素の最近傍に位置する4個の被変換画素A〜Dにより
定められる格子内の領域を4等分したものである。
FIG. 4 shows quaternary divided areas R1, R2, R3, R4 applied by the control unit 12 as the divided area designating means 2. This is obtained by dividing a region in the grid defined by the four conversion pixels A to D located closest to the conversion pixel into four equal parts.

この四等区分領域に従って、変換画素の近傍に位置す
る被変換画素群24個(A〜X)と中から、斜線パターン
や傾斜角度を決定するのに必要な11個の被変換画素を抽
出する。
According to this four-level division area, 11 converted pixels necessary for determining the oblique line pattern and the inclination angle are extracted from the group of 24 converted pixels (A to X) located in the vicinity of the converted pixel. .

参照する被変換画素の数は多ければ多い程良いのであ
るが、余り多いと処理時間がかかり過ぎるが、11個あれ
ば精度良く斜線パターン及び傾斜角度を決定することが
できる。
The larger the number of converted pixels to be referred, the better. However, if the number is too large, it takes too much processing time, but if the number is 11, the oblique line pattern and the inclined angle can be determined with high accuracy.

前記斜線パターン検知論理回路13は前記制御部12によ
り指定された前記四等区分領域R1〜R4に基づいて斜線パ
ターンを検知するものであって、第5図に示すように各
区分領域R1〜R4毎に現時点の変換画素の所定の近傍に位
置する11個の被変換画素について、各々P1−No.1〜8,P2
−No.1〜4,P3−No.1〜4,の斜線パターンを対応させてい
る。
The oblique line pattern detection logic circuit 13 detects an oblique line pattern based on the quaternary regions R1 to R4 specified by the control unit 12, and as shown in FIG. For each of the 11 converted pixels located in a predetermined vicinity of the current converted pixel for each, P1-No. 1 to 8, P2
−No.1 to 4, P3−No.1 to 4.

ここでは斜線パターンの種類として、傾斜角度θに対
して P1−No.1,2:tanθ=1(θ=45゜)の傾斜パターン P1−No.3,4:直角部分に相当する非斜線パターン P1−No.5,6:tanθ=2の斜線パターン (斜線の中心部分) P1−No.7,8:tanθ=0.5の斜線パターン (斜線の中心部分) P2−No.1,2:tanθ=2の斜線パターン (斜線の末端部分) P2−No.3,4:tanθ=1の斜線パターン (斜線の末端部分) P3−No.1,2:tanθ=0.5の斜線パターン (斜線の末端部分) P3−No.3,4:tanθ=1の斜線パターン (斜線の末端部分) を示しており、特に斜線の末端部分においても、tanθ
=1,2,0.5の3種類の角度を検知するようにする。
Here, as the type of the oblique line pattern, a slant pattern of P1-No.1,2: tan θ = 1 (θ = 45 °) with respect to the slant angle θ P1-No.3,4: Non-oblique line pattern corresponding to a right angle portion P1-No.5,6: Oblique line pattern of tanθ = 2 (center part of oblique line) P1-No.7,8: Oblique line pattern of tanθ = 0.5 (center part of oblique line) P2-No.1,2: tanθ = 2 diagonal pattern (diagonal end) P2-No.3,4: diagonal pattern with tanθ = 1 (diagonal end) P3-No.1,2: diagonal pattern with tanθ = 0.5 (diagonal end) P3-No.3,4: The oblique line pattern (end portion of the oblique line) of tanθ = 1 is shown.
= 1, 2, and 0.5 are detected.

制御部12では第6図に示すように、前記斜線パターン
検知論理回路13から出力された各区分領域毎の斜線パタ
ーン及び傾斜角度に基づいて各分割領域の境界線を記述
した tan>1:tanθ*x+y=tanθ/2 tan≦1:x+y/tanθ=1/(2*tanθ) (x>0,y>0の場合) の直線式に定められる各分割領域に分割し、現時点の変
換画素が位置する当該分割領域G1〜G12を判定するもの
である。
As shown in FIG. 6, the control unit 12 describes the boundary line of each divided area based on the oblique line pattern and the inclination angle of each divided area outputted from the oblique line pattern detection logic circuit tan> 1: tan θ * X + y = tan θ / 2 tan ≦ 1: x + y / tan θ = 1 / (2 * tan θ) (when x> 0, y> 0) it is to determine the divided regions G 1 ~G 12 located.

また、当該各分割領域に対応する表2に記載した論理
式に基づいて当該変換画素の濃度を算出するものであ
る。
Further, the density of the converted pixel is calculated based on the logical expression described in Table 2 corresponding to each of the divided areas.

以下、本実施例に係る画像拡大装置の動作を説明す
る。
Hereinafter, the operation of the image enlargement device according to the present embodiment will be described.

本装置により画像の拡大対象となる原画像が格納され
ている前記二次元画像メモリ10に対して前記制御部12は
一定語長単位(例えば4ビット)毎にアクセス指令を行
う。
The control unit 12 issues an access command to the two-dimensional image memory 10 in which the original image to be enlarged by the present apparatus is stored, for each fixed word length unit (for example, 4 bits).

現時点の変換画素の近傍に位置する読み出された4ラ
イン分の被変換画素群は順次シリアルに1画素ずつライ
ン毎に前記被変換画素入力手段11としてのシフトレジス
タ11a,c,e,g,に順に入力させ、前記制御部12は所定のタ
イミングで各画素をシフトレジスタ11b,d,f,hに移動さ
せ、パラレルに前記斜線パターン用論理回路13に入力さ
せる。
The read converted pixel group for the four lines located near the current converted pixel is sequentially shifted one pixel at a time for each line by line for the shift registers 11a, c, e, g, as the converted pixel input means 11. The control unit 12 moves each pixel to the shift register 11b, d, f, h at a predetermined timing, and causes the shift register 11b, d, f, and h to input the pixel to the logic circuit 13 for oblique line pattern in parallel.

一方、前記制御部12は前記変換倍率p,qに基づいて現
時点の変換画素が位置する前記四区分領域R1〜R4を指定
すると共に2ビットの信号(R1〜R4を区別する為の信
号)を前記斜線パターン検知用論理回路13に送出する。
On the other hand, the control unit 12 specifies the four-segment areas R1 to R4 where the current conversion pixel is located based on the conversion magnifications p and q, and outputs a 2-bit signal (signal for distinguishing R1 to R4). It is sent to the oblique line pattern detection logic circuit 13.

すると、斜線パターン検知用論理回路13は、当該変換
画素位置する当該四区分領域毎の斜線パターンに対応さ
せて第6図に示すような境界線で各分割領域に分割し
て、当該変換画素が位置する分割領域G1〜G12を判定し
て変換画素濃度決定用論理回路15に4ビットの信号を出
力する。
Then, the oblique line pattern detection logic circuit 13 divides the converted pixel into each divided region by a boundary line as shown in FIG. 6 corresponding to the oblique line pattern for each of the four divided regions where the converted pixel is located. The divided areas G 1 to G 12 located are determined, and a 4-bit signal is output to the conversion pixel density determination logic circuit 15.

当該変換画素決定用論理回路15は当該分割に応じて表
2に示すような論理式から変換画素の濃度を出力する。
The conversion pixel determination logic circuit 15 outputs the density of the conversion pixel from a logical expression as shown in Table 2 according to the division.

第7図に本実施例により3倍に拡大した例を示す。第
7図(a)は傾斜角度θで、tanθ=1の斜線パターン
であり、同図(a)はtanθ=2、同図(d)はtanθ=
0.5に対応する斜線パターンであり、傾斜角度に合わせ
参照することで各々同図(b),(d)と区別され、ta
nθ=1の傾斜角度をもった画像として拡大することが
できる。
FIG. 7 shows an example of a three-fold enlargement according to this embodiment. FIG. 7 (a) is a diagonal pattern with an inclination angle θ and tan θ = 1, FIG. 7 (a) is tan θ = 2, and FIG.
This is a diagonal line pattern corresponding to 0.5, and is distinguished from FIGS.
The image can be enlarged as an image having an inclination angle of nθ = 1.

第8図、第9図に第7図(d),(e)の傾斜判定結
果を示す。
FIGS. 8 and 9 show the inclination determination results of FIGS. 7 (d) and 7 (e).

本実施例によると最初に四等区分領域を指定すること
により、11個の被変換画素に限定して斜線パターンを検
知することができる。各分割領域の境界線を一義的に定
めることができるため、領域の分割と判定とを高速に行
うことができる。
According to the present embodiment, by first designating the quaternary area, it is possible to detect the oblique line pattern limited to 11 pixels to be converted. Since the boundary of each divided area can be uniquely defined, the division and determination of the area can be performed at high speed.

また、11画素(4ラインのデータ)の被変換画素を参
照することにより、斜線の中心部だけでなく、末端部分
でも輪郭に傾斜角度に応じて拡大画像を得ることができ
る。
In addition, by referring to the pixel to be converted of 11 pixels (4 lines of data), it is possible to obtain an enlarged image not only at the center of the oblique line but also at the end, according to the inclination angle of the contour.

尚、従来例によりこれを行うためには24画素(6ライ
ンのデータ)の被変換画素を参照する必要があった。
In order to perform this in the conventional example, it is necessary to refer to a pixel to be converted of 24 pixels (data of 6 lines).

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は原画像の課題について、
予め定めた斜線パターン及び傾斜角度を検知することに
より、当該斜線パターン及び傾斜角度に基づいて各分割
領域の境界線を定めるようにしている。
As described above, the present invention is directed to the problem of the original image,
By detecting a predetermined oblique line pattern and an inclination angle, a boundary line of each divided area is determined based on the oblique line pattern and the inclination angle.

従って、当該境界線の形状により大きく影響される斜
線を、当該境界線を斜線の傾斜に合せて設定することに
より自然に平滑化された斜線を有する拡大変換画像を高
速投影により得ることができるので、信頼性の高い画像
拡大装置及び方法を提供することができることになる。
Therefore, by setting a diagonal line greatly affected by the shape of the boundary line according to the inclination of the diagonal line, an enlarged converted image having a naturally smoothed diagonal line can be obtained by high-speed projection. Therefore, it is possible to provide a highly reliable image enlargement apparatus and method.

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

第1図は第一の発明の原理ブロック図、第2図は第二の
発明の原理流れ図、第3図は実施例に係る画像拡大装置
の回路ブロック図、第4図は参照する24の被変換画素と
分割領域を示す図、第5図は実施例に係る斜線パターン
を示す図、第6図は実施例に係る斜線パターンに対応す
る分割領域の境界線を示す図、第7図は実施例に係る斜
線パターンの3倍拡大図、第8図は第7図(d)の場合
の領域判定結果(3倍拡大)を示す図、第9図は第7図
(e)の場合の領域判定結果(3倍拡大)を示す図、第
10図は従来例に係るブロック図、第11図は投影法の原理
を示す図、第12図は高速投影法の分割領域を示す図、第
13図は従来例に係る斜線パターンの3倍拡大例を示す図
である。 1,11……被変換画素入力手段 2(12)……区分領域指定手段(制御部) 3(13)……斜線パターン検知手段(斜線パターン検知
用論理回路) 4(12)……領域分割判定手段(制御部) 5(15)……変換画素濃度算出手段(変換画素濃度決定
用論理回路)
FIG. 1 is a block diagram of the principle of the first invention, FIG. 2 is a flowchart of the principle of the second invention, FIG. 3 is a circuit block diagram of the image enlargement apparatus according to the embodiment, and FIG. FIG. 5 is a diagram showing a conversion pixel and a divided region, FIG. 5 is a diagram showing a diagonal pattern according to the embodiment, FIG. 6 is a diagram showing a boundary line of a divided region corresponding to the diagonal pattern according to the embodiment, and FIG. FIG. 8 is a diagram showing a region determination result (three times enlarged) in the case of FIG. 7 (d), and FIG. 9 is a region in the case of FIG. 7 (e). The figure showing the judgment result (3 times magnification), FIG.
FIG. 10 is a block diagram according to a conventional example, FIG. 11 is a diagram showing the principle of the projection method, FIG.
FIG. 13 is a diagram showing an example of a three-fold enlargement of a diagonal line pattern according to a conventional example. 1, 11: Converted pixel input means 2 (12): Segmented area designating means (control unit) 3 (13): Oblique pattern detecting means (logic circuit for oblique pattern detection) 4 (12): Area division Determination means (control unit) 5 (15)... Conversion pixel density calculation means (conversion pixel density determination logic circuit)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】被変換画素が配列された平面上に、変換倍
率に応じて分割領域を設定し、当該平面上に投影された
変換画素が位置する分割領域に対応する論理式に従って
近傍被変換画素の濃度から各変換画素の濃度を決定する
画像拡大装置において、 前記平面上に設定され、変換倍率に基づいて定められる
区分領域のうち前記変換画素が位置する区分領域を指定
する区分領域指定手段(2)と、 変換画素の近傍及び斜線の角度判断に必要な変換画素の
準近傍に位置する被変換画素群を示す参照画素パターン
を区分領域毎に定め、指定された区分領域に基づいて、
対応する参照画素パターンの被変換画素群の濃度データ
を順次入力する被変換画素入力手段(1)と、 前記区分領域に基づいて前記被変換画素群の濃度データ
により形成される、所定の傾斜角度を有する斜線パター
ン及びその傾斜角度を検知する斜線パターン検知手段
(3)と、 少なくとも当該斜線パターン及び傾斜角度に基づいて対
応する境界線により分割領域に分割するとともに、前記
変換倍率に基づいて前記変換画素が位置する当該分割領
域を判定する領域分割判定手段(4)と、 判定された当該分割領域及び前記被変換画素の濃度に基
づいて変換画素の濃度を算出する変換画素濃度算出手段
(5)とを有することを特徴とする画像拡大装置。
1. A divided area is set on a plane on which pixels to be converted are arranged in accordance with a conversion magnification, and a neighborhood to be converted according to a logical expression corresponding to the divided area where the converted pixels projected on the plane are located. An image enlarging device that determines the density of each conversion pixel from the pixel density, wherein a division area designating unit that designates a division area where the conversion pixel is located among division areas set on the plane and determined based on a conversion magnification. (2) A reference pixel pattern indicating a group of pixels to be converted, which is located in the vicinity of the conversion pixel and in the quasi-neighborhood of the conversion pixel required for determining the angle of the oblique line, is determined for each of the divided areas, and based on the specified divided area,
A converted pixel input means (1) for sequentially inputting the density data of the converted pixel group of the corresponding reference pixel pattern; and a predetermined inclination angle formed by the density data of the converted pixel group based on the divided area. A diagonal pattern detection means (3) for detecting a diagonal pattern and an inclination angle thereof, and dividing the image into divided regions at least by a corresponding boundary line based on the diagonal pattern and the inclination angle, and performing the conversion based on the conversion magnification. Area division determining means (4) for determining the divided area where the pixel is located; and converted pixel density calculating means (5) for calculating the density of the converted pixel based on the determined divided area and the density of the pixel to be converted. An image enlarging device comprising:
【請求項2】被変換画素が配列された平面上に、変換倍
率に応じて分割領域を設定し、当該平面上投影された変
換画素が位置する分割領域に対応する論理式に従って近
傍被変換画素の濃度から変換画素の濃度を決定する画像
拡大方法において、 前記平面上に設定され、変換倍率に基づいて定められる
区分領域のうち前記変換画素が位置する区分領域を指定
するとともに、変換画素の近傍及び斜線の角度判断に必
要な変換画素の準近傍に位置する被変換画素群を示す参
照画素パターンを区分領域毎に定め、指定された区分領
域に基づいて、対応する参照画素パターンの被変換画素
群の濃度データを順次入力する過程(S1)と、 当該領域に基づいて前記被変換画素群の濃度データによ
り形成される所定の傾斜角度を有する斜線パターン及び
傾斜角度を検知する過程(S2)と、 少なくとも当該斜線パターン及び傾斜角度に基づいて対
応する境界線により分割領域に分割するとともに、前記
変換倍率に基づいて前記変換画素が位置する当該分割領
域判定する過程(S3)と、 判定された当該分割領域及び前記被変換画素の濃度に基
づいて前記変換画素の濃度を算出する過程(S4)とを有
することを特徴とする画像拡大方法。
2. A divided area is set in accordance with a conversion magnification on a plane on which pixels to be converted are arranged, and a neighboring pixel to be converted is determined according to a logical expression corresponding to the divided area where the converted pixel projected on the plane is located. In the image enlarging method for determining the density of the conversion pixel from the density of, the partition area where the conversion pixel is located among the partition areas set on the plane and determined based on the conversion magnification, and the neighborhood of the conversion pixel A reference pixel pattern indicating a group of pixels to be converted, which is located in the vicinity of the conversion pixel necessary for determining the angle of the oblique line, is determined for each of the divided areas, and based on the specified divided area, the converted pixel of the corresponding reference pixel pattern is determined. A step (S1) of sequentially inputting the density data of a group; a diagonal pattern and a tilt angle having a predetermined tilt angle formed by the density data of the pixel group to be converted based on the area; Detecting the degree (S2); and dividing the divided area into divided areas based on at least the corresponding boundary line based on the oblique line pattern and the inclination angle, and determining the divided area where the conversion pixel is located based on the conversion magnification. (S3) and a step (S4) of calculating the density of the converted pixel based on the determined density of the divided area and the pixel to be converted.
JP63213672A 1988-04-07 1988-08-30 Image enlargement apparatus and method Expired - Lifetime JP2613095B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP63213672A JP2613095B2 (en) 1988-08-30 1988-08-30 Image enlargement apparatus and method
CA000595654A CA1335794C (en) 1988-04-07 1989-04-04 Process and apparatus for image magnification
DE68926890T DE68926890T2 (en) 1988-04-07 1989-04-07 Image enlargement
EP89303461A EP0336776B1 (en) 1988-04-07 1989-04-07 Image magnification
KR1019890004581A KR920001801B1 (en) 1988-04-07 1989-04-07 Picture size magnification method and device
US08/332,442 US5511137A (en) 1988-04-07 1994-10-31 Process and apparatus for image magnification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63213672A JP2613095B2 (en) 1988-08-30 1988-08-30 Image enlargement apparatus and method

Publications (2)

Publication Number Publication Date
JPH0263267A JPH0263267A (en) 1990-03-02
JP2613095B2 true JP2613095B2 (en) 1997-05-21

Family

ID=16643057

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63213672A Expired - Lifetime JP2613095B2 (en) 1988-04-07 1988-08-30 Image enlargement apparatus and method

Country Status (1)

Country Link
JP (1) JP2613095B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2613080B2 (en) * 1988-04-07 1997-05-21 富士通株式会社 Image enlargement apparatus and method

Also Published As

Publication number Publication date
JPH0263267A (en) 1990-03-02

Similar Documents

Publication Publication Date Title
KR920001801B1 (en) Picture size magnification method and device
US5621827A (en) Image processing method and apparatus for obtaining object data to reconstruct the original image
US4965678A (en) Area designation apparatus in image processing system
US5526476A (en) Method and apparatus for generating character patterns expressed by coordinates of a coordinate system
JPH1173501A (en) Reference picture preparation method and pattern detection device
JPH05334427A (en) Method for expanding/contracting image
US4825298A (en) Halftone dot-generator and generating method
US4998211A (en) Method of and apparatus for generating a filled pattern defined by contour vectors
JP2613095B2 (en) Image enlargement apparatus and method
JPH06162210A (en) Image processor
JP2613080B2 (en) Image enlargement apparatus and method
EP0488324A2 (en) Method of and apparatus for obtaining halftone image
JPH09135351A (en) Image processing device
JP2588742B2 (en) Image reduction apparatus and method
JP2947811B2 (en) Color image processing method
JPH09120450A (en) Image processor
JP2588758B2 (en) Image reduction apparatus and method
US20020159654A1 (en) Method for processing an image of a concrete construction
JP2834758B2 (en) Image processing device
JP2763363B2 (en) Image conversion device
JPH01109484A (en) Method for processing image
JP2775474B2 (en) Binary image reduction apparatus and method
JPH0535872A (en) Contour tracing system for binary image
JP3571506B2 (en) Image processing apparatus and recording medium recording image processing program
JPH0955847A (en) Picture element density conversion method and picture element density converter