JPH09266531A - Inteprolative operation method for image data and device for executing the method - Google Patents

Inteprolative operation method for image data and device for executing the method

Info

Publication number
JPH09266531A
JPH09266531A JP8074656A JP7465696A JPH09266531A JP H09266531 A JPH09266531 A JP H09266531A JP 8074656 A JP8074656 A JP 8074656A JP 7465696 A JP7465696 A JP 7465696A JP H09266531 A JPH09266531 A JP H09266531A
Authority
JP
Japan
Prior art keywords
image data
interpolation
points
sample points
point
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.)
Withdrawn
Application number
JP8074656A
Other languages
Japanese (ja)
Inventor
Tatsuya Aoyama
達也 青山
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film Co 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP8074656A priority Critical patent/JPH09266531A/en
Publication of JPH09266531A publication Critical patent/JPH09266531A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/403Edge-driven scaling; Edge-based scaling

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Conversion Of X-Rays Into Visible Images (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To perform interpolative operation for image data so as to an enlarged image which has neither of longitudinally nor laterally extending edge parts affected and makes an obliquely extending edge part smooth and sharp. SOLUTION: According to primary image data (source image data) Sorg stored in a storage means 10, a decision means 312 detects the edge part which extends slantingly and its extending direction, and an image data selecting means 32 for interpolation determines primary image data Sorg at three points nearby a point to be interpolated including two primary image data along the extending direction of the edge part as a base for calculating secondary image data (interpolated image data) to be interpolated. Then a triangular plane interpolative operation means 33 calculates secondary image data at the point to be interpolated according to the three determine primary image data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は画像データの補間演
算方法およびその方法を実施する装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data interpolation calculation method and an apparatus for implementing the method.

【0002】[0002]

【従来の技術】従来より、放射線写真フイルムに記録さ
れた放射線画像を光電的に読み取って画像信号を得、こ
の画像信号に適切な画像処理を施した後、画像を再生記
録することが種々の分野で行われている。また、人体等
の被写体の放射線画像情報を一旦シート状の蓄積性蛍光
体に記録し、この蓄積性蛍光体シートをレーザー光等の
励起光で走査して輝尽発光光を生ぜしめ、得られた輝尽
発光光を光電的に読み取って画像データを得、この画像
データに基づき被写体の放射線画像を写真感光材料等の
記録材料、CRT等に可視像として出力させる放射線画
像記録再生システムがすでに実用化されている。このシ
ステムは、従来の銀塩写真を用いる放射線写真システム
と比較して極めて広い放射線露出域にわたって画像を記
録しうるという実用的な利点を有している。
2. Description of the Related Art Conventionally, various methods have been known in which a radiographic image recorded on a radiographic film is photoelectrically read to obtain an image signal, the image signal is subjected to appropriate image processing, and then the image is reproduced and recorded. In the field. In addition, radiation image information of a subject such as a human body is temporarily recorded on a sheet-shaped stimulable phosphor, and the stimulable phosphor sheet is scanned with excitation light such as laser light to generate stimulated emission light. A radiation image recording / reproducing system that photoelectrically reads the stimulated emission light to obtain image data and outputs a radiation image of the subject as a visible image to a recording material such as a photographic photosensitive material or a CRT based on the image data is already available. Has been put to practical use. This system has the practical advantage of being able to record images over a very large radiation exposure area compared to conventional radiographic systems using silver halide photography.

【0003】上記のようにして得られた画像データに基
づいて可視画像を再生するシステムにおいて、その可視
画像のうち観察対象となる関心領域をより詳細に観察し
たいとき、その領域を拡大して再生することがある。こ
の拡大画像は、原画像を読み取って得られた標本点の原
画像データに対して所定の補間演算を施して原画像デー
タ数とは異なるデータ数の2次的な画像データである補
間画像データを求め、この補間画像データに基づいた可
視画像の再生を行うことによって得ることができる。こ
の場合、拡大率によっては、一部の補間点は標本点に重
なる場合もある。
In a system for reproducing a visible image based on the image data obtained as described above, when it is desired to observe the region of interest to be observed in the visible image in more detail, the region is enlarged and reproduced. I have something to do. This enlarged image is a secondary image data having a data number different from the original image data number by performing a predetermined interpolation calculation on the original image data of the sample points obtained by reading the original image. Is obtained, and the visible image is reproduced based on this interpolated image data. In this case, some interpolation points may overlap the sample points depending on the enlargement ratio.

【0004】ところで、画像入出力装置の構成のし易さ
の観点から一般的に用いられている、各画像データを担
持する標本点(画素)が、所定の間隔で縦横方向に正方
形格子状に配列されて画像を形成するようにしたものに
おいては、上記画像の拡大処理における補間演算は、そ
の補間画像データを、補間して新たに設定しようとする
点(補間点)の近傍4点の原画像データを線形補間する
ことによって行っている。
By the way, sample points (pixels) for carrying respective image data, which are generally used from the viewpoint of ease of construction of the image input / output device, are arranged at predetermined intervals in a square lattice shape in the vertical and horizontal directions. In the case where the images are arranged to form an image, the interpolation operation in the image enlargement processing is performed by interpolating the interpolated image data, and original four points near the point (interpolation point) to be newly set (interpolation point). This is done by linearly interpolating the image data.

【0005】例えば、図7(A)に示すように、正方形
格子状に配列された原画像の画素S(○記号で表わされ
た点)について、その画素Sが配列された間隔とは異な
る間隔で配列される補間点S′(×記号で表わされた
点)の補間画像データを求めようとするときは、例えば
補間点S′0 については以下の手順によって求める。
For example, as shown in FIG. 7 (A), with respect to the pixels S (points represented by the symbols ◯) of the original image arranged in a square lattice pattern, the intervals at which the pixels S are arranged are different. When it is desired to obtain the interpolated image data of the interpolated points S ′ (points represented by X symbols) arranged at intervals, for example, the interpolated point S ′ 0 is obtained by the following procedure.

【0006】補間点S′0 を囲む近傍4点の原画像の画
素SA 、SB 、SC 、SD (正方形格子を構成する単位
格子)aの画像データSA 、SB 、SC 、SD (簡単の
ため画素の記号と同一記号を用いるものとする)を用い
る。これは補間点S′0 を含む単位格子aの正方形マス
クを設定してこのマスク内の標本点の原画像データを用
いることを意味する。
Image data S A , S B , S C of four neighboring pixel images S A , S B , S C , S D (a unit lattice forming a square lattice) a surrounding the interpolation point S ′ 0 , S D (for simplification, the same symbol as the pixel symbol is used). This means that a square mask of the unit lattice a including the interpolation point S ′ 0 is set and the original image data of the sample points in this mask is used.

【0007】ここで原画像の画素SA 〜SB 間、SC
D 間、SA 〜SC 間、SB 〜SD間のピッチをそれぞ
れ1とし、補間点S′0 の、画素SA (SC )からのx
軸方向(横方向)の距離がTx(図7(B)参照)、画
素SA (SB )からのy軸方向(縦方向)の距離がTy
である場合、まず補間点S′0 のx軸方向の位置に対応
する補間点Sm、Snの補間画像データSm、Snを、
下記式(1)、(2)の線形補間の演算により求める。
Here, between the pixels S A and S B of the original image, S C and
The pitches between S D , S A to S C , and S B to S D are set to 1, respectively, and x from the pixel S A (S C ) of the interpolation point S ′ 0
The distance in the axial direction (horizontal direction) is Tx (see FIG. 7B), and the distance in the y-axis direction (vertical direction) from the pixel S A (S B ) is Ty.
In case of, the interpolated image data Sm and Sn of the interpolated points Sm and Sn corresponding to the position of the interpolated point S ′ 0 in the x-axis direction are
It is obtained by the calculation of the linear interpolation of the following equations (1) and (2).

【0008】 Sm=(1−Tx)SA +TxSB (1) Sn=(1−Tx)SC +TxSD (2) 次いで、補間点S′0 のy軸方向について補間画像デー
タSm、Snを用いた下記式(3)の線形補間の演算を
行って、補間画像データS′0 を求める。
Sm = (1−Tx) S A + TxS B (1) Sn = (1−Tx) S C + TxS D (2) Next, interpolation image data Sm and Sn are obtained in the y-axis direction of the interpolation point S ′ 0. The interpolated image data S ′ 0 is obtained by performing the linear interpolation calculation of the following equation (3) used.

【0009】 S′0 =(1−Ty)Sm+TySn (3) 以上の演算を他の補間点S′についても同様に適用し
て、各補間画像データS′を求めることができる。
S ′ 0 = (1−Ty) Sm + TySn (3) The above calculation can be similarly applied to the other interpolation points S ′ to obtain the respective interpolated image data S ′.

【0010】なお、上述の補間方法は必ずしも画像を拡
大処理する場合にのみ用いるものではなく、拡大や縮小
を行わない場合であっても高解像度画像を再生する場合
等、より細部まで画像を再生して観察したい場合等にお
いても適用することができる。
The above-described interpolation method is not always used only when enlarging an image, and even when a high-resolution image is reproduced even when the image is not enlarged or reduced, the image is reproduced in more detail. It can also be applied to the case where it is desired to observe.

【0011】また、補間画像データに寄与する標本点は
補間点の近傍4点に限るものではなく、さらにその周囲
まで含めた4点×4点の正方形マスク内の標本点を用い
るものであってもよい。
The sampling points that contribute to the interpolated image data are not limited to the four points in the vicinity of the interpolation point, but the sampling points in the square mask of 4 points × 4 points including the surrounding points are used. Good.

【0012】ところで、再生された可視画像において
は、例えば放射線画像における骨部のような濃度(輝
度)の変化が急峻なエッジ部分もあり、このようなエッ
ジ部分を拡大することもある。
By the way, in the reproduced visible image, there is an edge portion where the change in the density (luminance) is abrupt, such as a bone portion in a radiation image, and such an edge portion may be enlarged.

【0013】しかし、このようなエッジ部分が、上記原
画像の画素が配列された正方形格子(単位格子)に対し
て斜め方向に延びる場合(原画像の画素が配列された菱
形格子に対して縦横方向に延びる場合も同様である)
に、上述した式(1)〜(3)にしたがって補間演算を
行ったのでは、その斜め方向(縦横方向)に延びるエッ
ジ部分の拡大画像は階段状の段付きが目立つものとな
る。
However, when such an edge portion extends diagonally with respect to the square lattice (unit lattice) in which the pixels of the original image are arranged (vertically and horizontally with respect to the rhombus lattice in which the pixels of the original image are arranged). The same applies when extending in the direction)
In addition, when the interpolation calculation is performed according to the above-described equations (1) to (3), the enlarged image of the edge portion extending in the diagonal direction (vertical and horizontal directions) becomes prominent with stepwise steps.

【0014】例えば、図8(A)に示すような斜め方向
に延びるエッジ部を有する画像においては、微視的には
図8(B)に示す高濃度の点(黒丸で示す)の領域と低
濃度の点(白丸で示す)の領域との境界線(エッジ)が
斜め方向に延びている部分について、前述した補間演算
を適用して補間画像データを求めた場合、その補間画像
データS′0 は、低濃度の原画像データSD にも依存す
るため、高濃度の画素SA 、SB 、SC よりも濃度が少
し低下した中間濃度を示す画像データとなる(図9
(B)参照)。このため、得られた補間画像データS′
0 に基づいた拡大画像を再生した場合、エッジ部が図9
(B)の破線で示すように階段状の段付きが拡大された
画像となる。すなわち画像全体としては、図8(A)に
示すように斜め方向に延びるエッジ部は拡大処理によっ
て、図9(A)に示すように、そのエッジ部の階段状の
段付きがそのまま拡大されることになる。
For example, in an image having an edge portion extending in an oblique direction as shown in FIG. 8A, microscopically, it is a region of high density points (shown by black circles) shown in FIG. 8B. When interpolation image data is obtained by applying the above-described interpolation calculation to a portion where a boundary line (edge) with a low-density point area (indicated by a white circle) extends in an oblique direction, the interpolation image data S ′ is obtained. Since 0 also depends on the low-density original image data S D , the image data indicates intermediate density whose density is slightly lower than that of the high-density pixels S A , S B , and S C (FIG. 9).
(B)). Therefore, the obtained interpolated image data S '
When the enlarged image based on 0 is reproduced, the edge part is shown in FIG.
As shown by the broken line in (B), the image has an enlarged stepped step. That is, in the entire image, the edge portion extending in the oblique direction as shown in FIG. 8 (A) is enlarged by the enlargement process, as shown in FIG. 9 (A). It will be.

【0015】このようなエッジ部の段付きは、そのエッ
ジ部近傍を観察するうえで画像読影の障害となり、画像
の診断性能を低下させる虞がある。
Such a stepped portion of the edge portion may be an obstacle to image interpretation when observing the vicinity of the edge portion, and there is a possibility that the diagnostic performance of the image is deteriorated.

【0016】なお、この問題は、標本点が縦横方向に正
方格子状に配列された画像に限るものではなく、標本点
が斜め方向に菱形状に配列されている場合における縦横
方向に延びるエッジ部等の、単位格子の配列方向に対し
て斜め方向に延びるエッジ部について同様に生じ得るも
のである。
Note that this problem is not limited to an image in which sample points are arranged in a square lattice in the vertical and horizontal directions, but an edge portion extending in the vertical and horizontal directions when the sample points are arranged in a rhombus in an oblique direction. The same can occur in the edge portion extending in an oblique direction with respect to the arrangement direction of the unit lattices.

【0017】また、補間点S′0 の補間画像データを、
前述したように補間点を含む単位格子を構成する画素S
A 、SB 、SC 、SD (補間点の近傍4点)の画像デー
タSA 、SB 、SC 、SD のみを用いて求める場合だけ
でなく、一般にその補間点を含む正方形マスク内の画素
のデータを用いて求める場合にも上述と同様の問題が生
じる。
[0017] In addition, the interpolation image data of the interpolation point S '0,
As described above, the pixels S forming the unit grid including the interpolation points
A, S B, S C, S D image data S A of (near four points of the interpolation point), S B, S C, not only obtained by using only S D, generally square mask including the interpolation point The same problem as described above occurs when the data is obtained by using the data of the pixels inside.

【0018】この問題を解決する技術の一例として、単
位格子を構成する4つの標本点のうち3つの原画像デー
タを用いるものが特開平4−268975号に開示されてい
る。この技術は、単位格子を構成する4つの標本点を、
互いに対角位置にある2組の標本点の組に分け、各組に
それぞれ含まれる2つの標本点の原画像データの差を求
め、各組ごとに得られた差同士を比較し、差の小さい方
の対角に属する2つの標本点を結ぶ線で単位格子を2つ
の三角領域に分割し、得られた2つの三角領域のうち補
間点が含まれる一の三角領域を選択し、この一の三角領
域を構成する3つの標本点の原画像データに基づいて補
間演算を行うものである。
As an example of a technique for solving this problem, Japanese Unexamined Patent Publication (Kokai) No. 4-268975 discloses a technique which uses three original image data among four sample points constituting a unit lattice. This technique uses four sample points that make up the unit cell
Divide into two sets of sample points that are diagonal to each other, find the difference between the original image data of the two sample points included in each set, and compare the differences obtained for each set, The unit lattice is divided into two triangular areas by a line connecting two sample points belonging to the smaller diagonal, and one triangular area including an interpolation point is selected from the obtained two triangular areas. The interpolation calculation is performed on the basis of the original image data of the three sample points forming the triangular area.

【0019】この作用を具体的事例について図解する
と、単位格子は上記比較により図5に示すように2つの
三角領域(領域1と領域2、または領域3と領域4)に
分割される。同図に示す領域1に補間点が存在する場合
は格子点(標本点)SA ,SB,SC の原画像データに
基づいて、領域2に補間点が存在する場合は格子点
B,SC ,SD の原画像データに基づいて、領域3に
補間点が存在する場合は格子点(標本点)SA ,SC
D の原画像データに基づいて、領域4に補間点が存在
する場合は格子点SA ,SB ,SD の原画像データに基
づいて、それぞれ補間画像データS′0 を得る。
When this action is illustrated in a concrete example, the unit cell is divided into two triangular regions (region 1 and region 2 or region 3 and region 4) by the above comparison as shown in FIG. When an interpolation point exists in the area 1 shown in the figure, based on the original image data of the grid points (sample points) S A , S B , and S C , when an interpolation point exists in the area 2, the grid point S B , S C , S D based on the original image data, if grid points (sample points) S A , S C ,
Based on the original image data S D, if there is an interpolation point in the region 4 lattice points S A, S B, on the basis of the original image data S D, to obtain each interpolated image data S '0.

【0020】このようにして得られた補間画像データ
S′0 は、単位格子を構成する4点の標本点のうち原画
像データが極端に他の3点とは異なる標本点を除いた3
点の標本点の画像データに依存したものとなるため、そ
のデータ値が極端に異なる標本点の影響を受けることが
なく、したがって高濃度領域や低濃度領域に中間濃度の
補間点が突発的に出現するのを防止することができる。
[0020] Such interpolation image data S '0 obtained in the 3 excluding the different sampling points are three points original image data is extremely other among the sample points of the four points constituting the unit lattice
Since it depends on the image data of the sampling points of the points, the data values are not affected by the extremely different sampling points, and therefore the interpolation points of the intermediate density suddenly occur in the high density area and the low density area. It can be prevented from appearing.

【0021】[0021]

【発明が解決しようとする課題】上述したように、上記
特開平4−268975号に開示された技術によれば、単位格
子を構成する4つの標本点を、互いに対角位置にある2
組の標本点の組に分け、各組にそれぞれ含まれる2つの
標本点の原画像データの差を求め、各組ごとに得られた
差同士を比較することによって、エッジ部の延びる方向
を特定している。
As described above, according to the technique disclosed in Japanese Patent Laid-Open No. 4-268975, the four sample points forming the unit cell are located at diagonal positions with respect to each other.
The direction in which the edge part extends is specified by dividing the original image data of the two sample points included in each set and comparing the differences obtained for each set. are doing.

【0022】しかし、エッジ部の延びる方向は必ずしも
上述の特開平4−268975号に開示された方法で特定でき
るとは限らない。例えば図10に示すように非常に細い
(1画素分の幅の)低濃度領域が右肩上りに延在してい
た場合、単位格子aについて上述の方法を適用すると、
互いに対角位置にある2組の標本点の組にそれぞれ含ま
れる2つの標本点の原画像データの差は両方の組とも略
ゼロとなり、各組ごとに得られた差同士を比較しても差
の小さい方の対角を特定することができず、したがって
エッジの延長方向も特定することができない。
However, the extending direction of the edge portion cannot always be specified by the method disclosed in the above-mentioned Japanese Patent Laid-Open No. 4-268975. For example, when a very thin (one pixel width) low-density region extends to the upper right as shown in FIG. 10, if the above method is applied to the unit cell a,
The difference between the original image data of the two sample points included in each of the two sample points that are diagonally opposite to each other is substantially zero, and even if the differences obtained for each group are compared. The diagonal with the smaller difference cannot be specified, and therefore the extension direction of the edge cannot be specified.

【0023】本発明は上記事情に鑑みなされたものであ
って、原画像の単位格子の配列方向に対して斜め方向に
延びるエッジ部の検出確度を高めた画像データの補間演
算方法および装置を提供することを目的とするものであ
る。
The present invention has been made in view of the above circumstances, and provides an interpolation calculation method and apparatus for image data in which the detection accuracy of an edge portion extending obliquely with respect to the arrangement direction of the unit lattice of the original image is improved. The purpose is to do.

【0024】[0024]

【課題を解決するための手段】本発明の画像データの補
間演算方法は、原画像に対してエッジ部が斜め方向に延
びている場合に3点による補間演算方法を適用するに際
し、画像を構成する画素の単位格子の原画像データだけ
でなく、その単位格子の周囲の原画像データをも基にし
てエッジ部の延びる方向を正確に判定するものである。
そしてそのようにエッジ部の延長方向の正確な判定結果
に基づいて単位格子を2つの三角領域に分割し、当該三
角領域を構成する3つの画素の原画像データに基づいて
その単位格子内に設定された補間点の補間画像データを
求めることによって、エッジ部についてはシャープでか
つ段付きのない画像を得るものである。
According to the interpolation calculation method of image data of the present invention, when the interpolation calculation method using three points is applied when the edge portion extends obliquely with respect to the original image, the image is formed. The direction in which the edge portion extends is accurately determined based on not only the original image data of the unit lattice of pixels to be processed but also the original image data around the unit lattice.
Then, the unit lattice is divided into two triangular regions based on the accurate determination result of the extension direction of the edge portion, and the unit lattice is set based on the original image data of the three pixels forming the triangular region. By obtaining the interpolated image data of the interpolated points thus obtained, an image having sharp edges and no step is obtained.

【0025】すなわち、本発明の画像データの補間演算
方法は、所定の間隔で格子状に配列された、画像を表す
原画像データが定義された多数の標本点をそれぞれ格子
点とする単位格子の配列方向に対して、該単位格子の互
いに対角に位置する、それぞれ2つの標本点からなる2
組の標本点組について、該各標本点組を構成する各2つ
の標本点の原画像データの差を求め、該各標本点組の画
像データの差同士を比較することにより前記原画像デー
タの変化が急峻なエッジ部の延びる方向を特定し、該エ
ッジ部が横切る単位格子の内部に包含される補間点の補
間画像データを、該単位格子を構成する4つの標本点の
うち、少なくとも前記エッジ部の延びる方向に沿った対
角に位置する2つの標本点を含む前記補間点の近傍3つ
の標本点の原画像データに基づいて求める画像データの
補間演算方法において、さらに前記補間点を内部に有す
る単位格子の周囲の標本点の原画像データに基づいて該
エッジ部の延びる方向を特定することを特徴とするもの
である。
That is, the image data interpolation calculation method according to the present invention is a unit lattice in which a large number of sample points, in which original image data representing an image are defined, are arranged in a lattice pattern at predetermined intervals, and are used as lattice points. 2 consisting of two sample points located diagonally to each other of the unit cell with respect to the array direction
For each set of sample points, the difference between the original image data of each two sample points forming each set of sample points is obtained, and the difference between the image data of each set of sample points is compared to obtain the original image data. The extending direction of the edge portion where the change is abrupt is specified, and the interpolation image data of the interpolation point included in the inside of the unit lattice that the edge portion traverses is defined as at least the edge among the four sample points constituting the unit lattice. In an interpolation calculation method of image data obtained based on original image data of three sample points in the vicinity of the interpolation point including two sample points diagonally located along the extending direction of the part, It is characterized in that the direction in which the edge portion extends is specified based on the original image data of the sample points around the unit grid.

【0026】ここで、各標本点組の画像データの差同士
を比較することによるエッジ部の延びる方向の特定の方
法としては具体的には、各組ごとに得られた対角位置に
ある標本点の画像データの差が小さい側の標本点組の対
角方向に沿ってエッジが延びていると特定する。ただ
し、画像データの幅は通常8 bit(0〜 255)程度有る
ため、上記標本点組間での上記差が1、2程度では必ず
しもエッジ部が存在するとは断定できず、あるいは正確
なエッジ部の延長方向を特定することはできないため、
上記標本点組間での上記差と予め実験的にエッジの存在
が確認されたデータに対応した閾値とを比較して、上記
差がこの閾値以上の場合に限り上記エッジ延長方向の判
定を行うようにすればよい。
Here, as a method of specifying the extending direction of the edge portion by comparing the differences of the image data of each sample point set, specifically, the samples at the diagonal positions obtained for each set. It is specified that the edge extends along the diagonal direction of the sample point set on the side where the difference between the image data of the points is small. However, since the width of the image data is usually about 8 bits (0 to 255), it cannot be concluded that the edge portion is always present when the difference between the sample point sets is about 1 or 2, or the exact edge portion is not present. Since it is not possible to specify the extension direction of
The difference between the sample point sets is compared with the threshold value corresponding to the data in which the existence of the edge is experimentally confirmed in advance, and the edge extension direction is determined only when the difference is equal to or larger than the threshold value. You can do it like this.

【0027】本発明の画像データの補間演算装置は、上
記本発明の補間演算方法を実施するための装置であっ
て、所定の間隔で格子状に配列された、画像を表す原画
像データが定義された多数の標本点をそれぞれ格子点と
する単位格子の配列方向に対して、該単位格子の互いに
対角に位置する、それぞれ2つの標本点からなる2組の
標本点組について、該各標本点組を構成する各2つの標
本点の原画像データの差を求め、該各標本点組の画像デ
ータの差同士を比較することにより前記原画像データの
変化が急峻なエッジ部の延びる方向を特定するエッジ延
長方向判定手段と、該エッジ部が横切る単位格子を構成
する4つの標本点のうち、少なくとも前記エッジ部の延
びる方向に沿った対角に位置する2つの標本点を含む前
記補間点の近傍3つの標本点を抽出する補間用画像デー
タ抽出手段と、該抽出された3つの標本点に基づいて前
記単位格子の内部に包含される補間点の補間画像データ
を求める補間演算手段とを有する画像データの補間演算
装置において、前記エッジ延長方向判定手段が、さらに
前記補間点を内部に有する単位格子の周囲の標本点の原
画像データに基づいて該エッジ部の延びる方向を特定す
るものであることを特徴とするものである。
The image data interpolation calculation device of the present invention is a device for implementing the above-described interpolation calculation method of the present invention, in which original image data representing an image, which is arranged in a grid pattern at predetermined intervals, is defined. The two sample points, each of which is composed of two sample points and are diagonally located on the unit cell, with respect to the array direction of the unit cell having a plurality of sample points as grid points. The difference between the original image data of each two sample points forming the point set is calculated, and the difference between the image data of each sample point set is compared to determine the extending direction of the edge portion where the change of the original image data is sharp. Among the four sample points forming the unit lattice which the specified edge extension direction crosses, and the edge portion, the interpolation point including at least two diagonally located sample points along the extending direction of the edge portion. 3 neighborhoods Of image data having interpolation image data extraction means for extracting sample points and interpolation calculation means for obtaining interpolated image data of interpolation points included in the unit lattice based on the extracted three sample points. In the interpolation calculation device, the edge extension direction determination means further specifies an extension direction of the edge portion based on original image data of sample points around a unit lattice having the interpolation point inside. It is what

【0028】[0028]

【発明の効果】本発明の画像データの補間演算方法およ
び装置は、画像のエッジ部が原画像に対して斜め方向に
延びている場合に、3点による補間演算方法を適用する
にあたり、補間点を内部に含む単位格子を構成する4点
の標本点について、互いに対角に位置する2組の標本点
間の画像データの差を求め、この差を標本点組間で比較
することによってエッジの延長方向を判定するのが基本
であるが、その2組の標本点間の画像データの差が略等
しい場合にはその差の大小関係からはエッジの延長方向
を判定できないため、その補間点が属する単位格子のさ
らに周囲の画像データをも含む単位格子について上記と
同様の対角標本点の画像データの差を比較することによ
り、エッジの延長方向を確実に判定することができる。
According to the interpolation calculation method and apparatus for image data of the present invention, the interpolation calculation method using three points is applied when the edge portion of the image extends obliquely with respect to the original image. For the four sample points that form the unit cell including the inside, the difference in the image data between the two sample points diagonally located with respect to each other is obtained, and the difference is compared between the sample point pairs to determine the edge The extension direction is basically determined, but if the difference in the image data between the two sets of sample points is substantially equal, the extension direction of the edge cannot be determined from the magnitude relationship of the differences, so the interpolation point is The extension direction of the edge can be reliably determined by comparing the difference in the image data of the diagonal sample points similar to the above with respect to the unit lattice including the image data further surrounding the unit lattice to which it belongs.

【0029】[0029]

【発明の実施の形態】以下、本発明の画像データの補間
演算方法を実施するための具体的な形態について説明す
る。
BEST MODE FOR CARRYING OUT THE INVENTION A specific mode for carrying out the image data interpolation calculation method of the present invention will be described below.

【0030】図1は本発明の画像データの補間演算方法
を実施するための具体的な補間演算装置30を内包する画
像再生システムを示す概略ブロック図である。図示の画
像再生システムは、画像を表す原画像データを記憶する
記憶手段10と、所望の再生フォーマットを入力する入力
手段21と、入力手段21から入力された所望の再生フォー
マットに適合するように、記憶手段10に記憶された画像
データ(以下、1次画像データまたは原画像データとい
う)Sorg に対して所定の信号処理を施すマルチフォー
マッタ20と、マルチフォーマッタ20により所定の信号処
理が施された画像データ(以下、2次画像データまたは
補間画像データという)S′に基づいて、上記所望の再
生フォーマットの可視画像を再生するCRTやプリンタ
等の再生手段40とを備えた構成である。
FIG. 1 is a schematic block diagram showing an image reproduction system including a specific interpolation calculation device 30 for implementing the image data interpolation calculation method of the present invention. The image reproduction system shown in the figure is adapted to the storage means 10 for storing the original image data representing the image, the input means 21 for inputting a desired reproduction format, and the desired reproduction format inputted from the input means 21, A multi-formatter 20 that performs predetermined signal processing on the image data (hereinafter referred to as primary image data or original image data) Sorg stored in the storage means 10, and an image that has been subjected to predetermined signal processing by the multi-formatter 20. A reproducing means 40 such as a CRT or a printer for reproducing the visible image in the desired reproduction format based on the data (hereinafter, referred to as secondary image data or interpolation image data) S'is configured.

【0031】マルチフォーマッタ20は、例えば、1枚の
フイルムを互いに異なる4つの小さい領域に分けて、そ
の各領域にそれぞれ異なる4つの画像を縮小してプリン
トするフォーマット、1枚のフイルム上に1つの大きな
画像をそのままプリントするフォーマット、あるいは画
像の一部を拡大してその拡大した部分をフイルム上にプ
リントするフォーマット等、画像を再生するにあたって
の各種のフォーマットに適合するように1次画像データ
Sorg を信号処理するものであり、特に画像の拡大縮小
に際して、1次画像データSorg とはデータ数の異なる
2次画像データを補間演算によって算出する本発明の補
間演算装置30を内包しているものである。
The multi-formatter 20, for example, divides one film into four small areas which are different from each other, and prints a reduced image of four different images in each area, one format on one film. The primary image data Sorg is adapted so as to be compatible with various formats for reproducing an image, such as a format for printing a large image as it is or a format for enlarging a part of the image and printing the enlarged part on the film. The signal processing is performed, and particularly when the image is enlarged or reduced, the interpolation calculation device 30 of the present invention for calculating secondary image data having a different number of data from the primary image data Sorg is included. .

【0032】ここで本実施形態の画像再生システムに使
用される1次画像データSorg (={Sij;i,j=
1,2,…})は、図2(A)に示すように、縦横方向
に画素(白丸印および黒丸印の格子点)が配列された画
像を表す画像データであり、この画像は、画素の並ぶ方
向に対して右肩上がりの斜め方向に濃度(1次画像デー
タの値)変化が急峻なエッジ部を有する。なお図中にお
いて濃度の高いものを黒丸印、濃度の低いものを白丸印
で表している。
Here, the primary image data Sorg (= {Sij; i, j = used in the image reproducing system of the present embodiment.
2, 1, ...}) is image data representing an image in which pixels (lattice points of white circles and black circles) are arrayed in the vertical and horizontal directions as shown in FIG. There is an edge portion where the density (the value of the primary image data) changes sharply in an oblique direction that rises to the right with respect to the lined direction. In the figure, those with high density are represented by black circles, and those with low density are represented by white circles.

【0033】補間演算装置30はこの1次画像データSor
g に基づいて斜め方向に延びるエッジを検出すると共
に、その延びる方向を判定するエッジ延長方向判定手段
31と、補間点の2次画像データS′を算出する基礎とな
る3つの1次画像データSorgを決定する補間用画像デ
ータ抽出手段32と、抽出された3つの標本点に基づいて
単位格子の内部に包含される補間点の補間画像データ
S′を求める補間演算手段33とを備えている。
The interpolation calculation device 30 uses the primary image data Sor
Edge extension direction determination means for detecting an edge extending in an oblique direction based on g and determining the extension direction
31, interpolation image data extraction means 32 for determining the three primary image data Sorg which are the basis for calculating the secondary image data S ′ of the interpolation point, and the unit grid of the unit grid based on the extracted three sample points. And an interpolating calculation means 33 for obtaining interpolated image data S ′ of an interpolating point included inside.

【0034】ここで、エッジ延長方向判定手段31は、後
述する判定アルゴリズムが記憶されていて、そのアルゴ
リズムにしたがって所定の判定作用をなすものである。
Here, the edge extension direction judging means 31 stores a judgment algorithm which will be described later and performs a predetermined judgment operation according to the algorithm.

【0035】また、補間用画像データ抽出手段32は、判
定手段31により得られたエッジ部の延びる方向に沿って
隣接する2点の1次画像データを含む、補間点の近傍3
点の1次画像データを抽出するものであり、補間点を内
部に含む三角面を決定するものである。
Further, the interpolation image data extraction means 32 includes the neighborhood 3 of the interpolation point including the primary image data of two points which are adjacent to each other in the extending direction of the edge portion obtained by the determination means 31.
The primary image data of the points is extracted, and the triangular plane including the interpolation points is determined.

【0036】また、補間演算手段33は、後述する所定の
補間演算のアルゴリズムが記憶されていて、入力された
1次画像データ{Sij}に基づいてこのアルゴリズムに
したがった補間演算により2次画像データS′を算出す
る。
Further, the interpolation calculation means 33 stores a predetermined interpolation calculation algorithm which will be described later, and based on the input primary image data {Sij}, the secondary image data is obtained by the interpolation calculation according to this algorithm. Calculate S '.

【0037】次に、本実施形態の画像再生システムの作
用について説明する。
Next, the operation of the image reproducing system of this embodiment will be described.

【0038】まず、入力手段21に所望の拡大倍率が入力
され、この拡大倍率は入力手段21からマルチフォーマッ
タ20に入力される。
First, a desired enlargement ratio is input to the input means 21, and this enlargement ratio is input from the input means 21 to the multi-formatter 20.

【0039】マルチフォーマッタ20は、記憶手段10に予
め記憶されている、図2に示す1次画像データSorg
(={Sij})を読み出す。
The multi-formatter 20 stores the primary image data Sorg shown in FIG.
(= {Sij}) is read.

【0040】またマルチフォーマッタ20は、入力された
拡大倍率に応じた拡大画像を表す2次画像データを得る
ために、この読み出された1次画像データSorg を補間
演算装置30に入力する。
Further, the multi-formatter 20 inputs the read primary image data Sorg to the interpolation calculation device 30 in order to obtain secondary image data representing an enlarged image corresponding to the input enlargement magnification.

【0041】補間演算装置30に入力された1次画像デー
タSorg は、まず判定手段31に入力される。判定手段31
は、入力された1次画像データSijについて、最小の正
方形格子(単位格子)の各格子点の画像データSij、S
(i+1)j、Si(j+1)、S(i+1)(j+1)の互いに対角位置にあ
る格子点間の1次画像データの差を計算する。すなわ
ち、各計算値|Sij−S(i+1)(j+1)|、|S(i+1)j−S
i(j+1)|を求める。次いで、これら2つの計算値|Sij
−S(i+1)(j+1)|、|S(i+1)j−Si(j+1)|を比較し、
これらのうち計算値の大きい方については、その差を求
めた2つの格子点間を濃度変化が急峻なエッジ部が横切
ることを意味するものであり、逆にその計算値の小さい
方については濃度変化が少ない平坦部であることを意味
する。したがって判定手段31は、この計算値の大きい方
の対角方向に直角な方向、すなわちこの計算値の小さい
方の対角方向に沿ってエッジ部が存在すると判定する。
The primary image data Sorg input to the interpolation calculation device 30 is first input to the determination means 31. Judgment means 31
Is the image data Sij, S of each grid point of the smallest square grid (unit grid) of the input primary image data Sij.
The difference of the primary image data between the lattice points of (i + 1) j, Si (j + 1), and S (i + 1) (j + 1) at diagonal positions is calculated. That is, each calculated value | Sij-S (i + 1) (j + 1) |, | S (i + 1) j-S
i (j + 1) | Then these two calculated values | Sij
-S (i + 1) (j + 1) |, | S (i + 1) j-Si (j + 1) | are compared,
Of these, the one with the larger calculated value means that the edge part where the density change is sharp crosses between the two grid points for which the difference is obtained, and conversely, the one with the smaller calculated value means the density. It means a flat part with little change. Therefore, the determination means 31 determines that the edge portion exists along the direction orthogonal to the diagonal direction with the larger calculated value, that is, along the diagonal direction with the smaller calculated value.

【0042】具体的には図2(A)に示した事例におい
ては、|S(i+1)j−Si(j+1)|の値は略ゼロとなり、|
Sij−S(i+1)(j+1)|の値はある程度大きな値を示すた
め、1次画像データS(i+1)jの格子点とSi(j+1)の格子
点とを結んだ方向に沿って、すなわち右肩上がりの斜め
方向にエッジ部が延びていると判定する。
Specifically, in the case shown in FIG. 2A, the value of | S (i + 1) j-Si (j + 1) | is substantially zero, and |
Since the value of Sij-S (i + 1) (j + 1) | shows a relatively large value, the grid points of the primary image data S (i + 1) j and the grid points of Si (j + 1) are It is determined that the edge portion extends along the connecting direction, that is, in the diagonally upward right direction.

【0043】ところで例えば、ある単位格子aを構成す
る標本点の1次画像データSijが図3(A)に示すよう
なものである場合についての作用について説明する。
Now, for example, the operation in the case where the primary image data Sij of the sample points forming a certain unit lattice a is as shown in FIG. 3A will be described.

【0044】このような配列で出現した1次画像データ
Sijの単位格子について上記と同様のアルゴリズムを施
すと、一方の対角方向に沿った格子点Sij,S(i+1)(j+
1)の1次画像データの差|Sij−S(i+1)(j+1)|および
他方の対角方向に沿った格子点S(i+1)j,Si(j+1)の1
次画像データの差|S(i+1)j−Si(j+1)|はいずれも略
ゼロとなり、これらの値を比較しただけでは、両者の大
小関係が略等しいためエッジ部の延びている方向を特定
することができない。すなわち図3(B)に示すように
濃度の低い画像データが右肩上がりで連なった右肩上が
りのエッジが存在するのか、あるいは図3(C)に示す
ように濃度の高い画像データが左肩上がりで連なった左
肩上がりのエッジが存在するのかを判定することができ
ない。
When the same algorithm as above is applied to the unit grid of the primary image data Sij appearing in such an array, grid points Sij, S (i + 1) (j +) along one diagonal direction are applied.
1) difference of primary image data | Sij-S (i + 1) (j + 1) | and the other diagonal grid points S (i + 1) j, Si (j + 1) 1
The difference | S (i + 1) j-Si (j + 1) | of the next image data is substantially zero, and the comparison of these values shows that the magnitude relationship between the two is substantially the same and the edge portion extends. I cannot identify the direction in which I am in That is, as shown in FIG. 3 (B), there may be an edge in which image data having low density rises and rises to the right, or as shown in FIG. 3 (C), image data having high density rises to the left. It is not possible to determine whether there is an edge that rises to the left and continues.

【0045】そこで判定手段31は、図4に示すように単
位格子aに隣接する単位格子b,c,d,eを設定し、
これらの各単位格子b,c,d,eについて上述した作
用と同様に、対角位置にある格子点間の画像データの差
を求め、その差を対角間で比較することによりエッジの
延びる方向を特定する。図4に示すものについては、各
単位格子b,c,d,eのいずれからも、右肩上がりの
エッジ部の存在を特定できる。
Therefore, the judging means 31 sets the unit cells b, c, d and e adjacent to the unit cell a as shown in FIG.
Similar to the above-described operation for each of the unit lattices b, c, d, and e, the difference in the image data between the lattice points at the diagonal positions is obtained, and the difference is compared between the diagonal points to determine the direction in which the edge extends. Specify. With respect to the one shown in FIG. 4, it is possible to specify the presence of an edge portion that is rising upward to the right from any of the unit cells b, c, d, and e.

【0046】次に、補間用画像データ抽出手段32が、補
間点の2次画像データS′を算出する基礎となる3つの
標本点を抽出する作用を説明する。
Next, the operation of the interpolating image data extracting means 32 for extracting the three sample points which are the basis for calculating the secondary image data S'of the interpolation point will be described.

【0047】入力手段21から入力された画像の拡大倍率
および再生手段40により再生に供される出力媒体のサイ
ズ等に応じて、補間用画像データ抽出手段32は再生に必
要な2次画像データのデータ数が決定され、1次画像デ
ータを表す格子点に対する補間点S′ij(図2(B))
の位置が定められる。
The interpolation image data extraction means 32 determines the secondary image data necessary for reproduction in accordance with the enlargement ratio of the image input from the input means 21 and the size of the output medium used for reproduction by the reproduction means 40. The number of data is determined, and interpolation points S'ij for the grid points representing the primary image data (FIG. 2 (B))
Is determined.

【0048】ここで補間用画像データ抽出手段32は、補
間点S′ijの近傍3点の格子点であって、判定手段31に
より判定されたエッジの延びる方向(右肩上がりの斜め
方向)に沿って隣接する2点の格子点を含む格子点を抽
出する。すなわち、図2(B)に示す補間点S′ijにつ
いては、エッジの延びる方向に沿って隣接する2点の格
子点S(i+1)j、Si(j+1)を含む近傍3点の格子点Sij、
S(i+1)j、Si(j+1)が抽出される。一般には、図5に示
すように、エッジの延びる方向と補間点の位置とに応じ
て、三角形1〜4のうちのいずれかの三角形の頂点に対
応した3つの格子点に対応する1次画像データの組が抽
出されることになる。例えば右肩上がりの斜め方向にエ
ッジが延びる三角形1の内部に補間点が存在する場合
は、格子点SA (=Sij),SB (=S(i+1)j),SC
(=Si(j+1))が抽出され、左肩上がりの斜め方向にエ
ッジが延びる三角形3の内部に補間点が存在する場合
は、格子点SA (=Sij),SC (=Si(j+1)),SD
(=S(i+1)(j+1))が抽出される。
Here, the interpolation image data extraction means 32 is a grid point of three points near the interpolation point S'ij, and extends in the direction in which the edge determined by the determination means 31 extends (oblique direction rising to the right). A grid point including two grid points adjacent to each other is extracted. That is, regarding the interpolation point S′ij shown in FIG. 2B, three neighboring points including two grid points S (i + 1) j and Si (j + 1) which are adjacent to each other along the direction in which the edge extends. Grid points Sij of
S (i + 1) j and Si (j + 1) are extracted. Generally, as shown in FIG. 5, a primary image corresponding to three lattice points corresponding to the vertices of any one of the triangles 1 to 4 depending on the direction in which the edge extends and the position of the interpolation point. A set of data will be extracted. For example, when the interpolation points are present inside the triangle 1 whose edge extends in an upward-sloping diagonal direction, lattice points S A (= Sij), S B (= S (i + 1) j), S C
If (= Si (j + 1)) is extracted and interpolation points are present inside the triangle 3 whose edge extends obliquely upward to the left, grid points S A (= Sij) and S C (= Si ( j + 1)), S D
(= S (i + 1) (j + 1)) is extracted.

【0049】抽出された格子点Sij、S(i+1)j、Si(j+
1)の1次画像データSij、S(i+1)j、Si(j+1)は補間演
算手段33に入力され、補間演算手段33は入力された3つ
の1次画像データSij、S(i+1)j、Si(j+1)に基づいて
補間点S′ijの2次画像データS′ijを算出する。
The extracted grid points Sij, S (i + 1) j, Si (j +)
The primary image data Sij, S (i + 1) j, Si (j + 1) of 1) are input to the interpolation calculation means 33, and the interpolation calculation means 33 inputs the three primary image data Sij, S ( The secondary image data S'ij of the interpolation point S'ij is calculated based on i + 1) j and Si (j + 1).

【0050】この2次画像データS′ijの算出のアルゴ
リズムを具体的に図2(B)を例にして説明する。
The algorithm for calculating the secondary image data S'ij will be specifically described with reference to FIG. 2B as an example.

【0051】ここで1次画像データの格子点Sij〜S(i
+1)j間、Sij〜Si(j+1)間を単位長さ1とし、補間点
S′ijの、格子点Sijからのx軸方向(横方向)の距離
をTx、格子点Sijからのy軸方向(縦方向)の距離を
Tyとした場合、まず補間点S′ijのx軸方向の位置に
対応する仮想の補間点Smの画像データSm、補間点
S′ijの格子点S(i+1)jxとSi(j+1)とを結んだ方向
(エッジの延びる方向)の位置に対応する仮想の補間点
Snの画像データSnを、下記式(4)、(5)の線形
補間の演算により求める。
Here, the grid points Sij to S (i of the primary image data are
+1) j and Sij to Si (j + 1) have unit length 1, and the distance of the interpolation point S'ij from the grid point Sij in the x-axis direction (horizontal direction) is Tx, and from the grid point Sij. Of the virtual interpolation point Sm corresponding to the position of the interpolation point S'ij in the x-axis direction, and the grid point S of the interpolation point S'ij. The image data Sn of the virtual interpolation point Sn corresponding to the position in the direction connecting the (i + 1) jx and the Si (j + 1) (the direction in which the edge extends) is expressed by the following equations (4) and (5). Calculated by linear interpolation.

【0052】 Sm=(1−Tx)Sij+TxS(i+1)j (4) Sn=(1−Tx)Si(j+1)+TxS(i+1)j (5) 次いで、補間点S′ijのy軸方向について、画像データ
Sm、Snを用いた下記式(6)の線形補間の演算を行
って、2次画像データS′ijを求める。
Sm = (1-Tx) Sij + TxS (i + 1) j (4) Sn = (1-Tx) Si (j + 1) + TxS (i + 1) j (5) Next, the interpolation point S'ij In the y-axis direction of, the secondary image data S′ij is obtained by performing the linear interpolation operation of the following equation (6) using the image data Sm and Sn.

【0053】 S′ij=(1−Tx−Ty)Sij+TySi(j+1)+TxS(i+1)j (6) この式(6)にしたがって得られた補間点S′ijの2次
画像データS′ijは、エッジを横切る方向の極端に濃度
値の異なる格子点S(i+1)(j+1)からの影響を受けること
がないため、この補間点が画像のエッジ上にあっても、
その補間点の2次画像データは、エッジの延びる方向の
1次画像データSi(j+1)、S(i+1)jおよびSijのみに依
存する。したがって、そのエッジ上に、極端にデータ値
の異なる補間点が突発的に出現することはない。
S′ij = (1−Tx−Ty) Sij + TySi (j + 1) + TxS (i + 1) j (6) Secondary image data of the interpolation point S′ij obtained according to the equation (6). Since S′ij is not affected by the grid points S (i + 1) (j + 1) whose density values are extremely different in the direction crossing the edge, this interpolation point exists on the edge of the image. Also,
The secondary image data at the interpolation point depends only on the primary image data Si (j + 1), S (i + 1) j and Sij in the edge extending direction. Therefore, interpolation points having extremely different data values do not suddenly appear on the edge.

【0054】式(6)に示した2次画像データS′ijの
算出式は、図5に示した三角形1の内部に補間点が存在
する場合のものであるが、他の三角形2〜4の内部に補
間点が存在する場合についも、上述した手順と同様の手
順により、それぞれ2次画像データを算出することがで
きる。
The calculation formula of the secondary image data S'ij shown in the formula (6) is for the case where the interpolation point exists inside the triangle 1 shown in FIG. Even when there are interpolation points inside, the secondary image data can be calculated by the same procedure as described above.

【0055】すなわち、三角形2の内部に補間点が存在
する場合は、 S′ij=(1−Tx)Si(j+1)+(1−Ty)S(i+1)j +(Tx+Ty−1)S(i+1)(j+1) (7) 三角形3の内部に補間点が存在する場合は、 S′ij=(1−Ty)Sij+(Ty−Tx)Si(j+1)+TxS(i+1)(j+1) (8) 三角形4の内部に補間点が存在する場合は、 S′ij=(1−Tx)Sij+(Tx−Ty)S(i+1)j+TyS(i+1)(j+1) (9) をそれぞれ適用することにより補間点の2次画像データ
S′ijを算出することができる。
That is, when an interpolation point exists inside the triangle 2, S'ij = (1-Tx) Si (j + 1) + (1-Ty) S (i + 1) j + (Tx + Ty- 1) S (i + 1) (j + 1) (7) When an interpolation point exists inside the triangle 3, S'ij = (1-Ty) Sij + (Ty-Tx) Si (j + 1) + TxS (i + 1) (j + 1) (8) When an interpolation point exists inside the triangle 4, S'ij = (1-Tx) Sij + (Tx-Ty) S (i + 1) j + TyS ( The secondary image data S′ij at the interpolation point can be calculated by applying i + 1) (j + 1) (9), respectively.

【0056】補間演算手段33には、上記各式(6)〜
(9)が記憶されていて、判定手段31から入力されたエ
ッジの延びる方向、および画像データ抽出手段32から入
力された補間点の位置、格子点の1次画像データに応じ
て、上記計算式(6)〜(9)のうち適用すべき計算式
を選択し、その選択された計算式にしたがって補間点の
2次画像データS′ijを算出する。
The interpolation calculation means 33 includes the above equations (6) to
(9) is stored, and the above formula is calculated according to the edge extension direction input from the determination unit 31, the position of the interpolation point input from the image data extraction unit 32, and the primary image data of the grid point. The calculation formula to be applied is selected from (6) to (9), and the secondary image data S′ij at the interpolation point is calculated according to the selected calculation formula.

【0057】このようにして得られたすべての補間点の
2次画像データS′は再生手段40に出力される。
The secondary image data S'of all the interpolation points thus obtained are output to the reproducing means 40.

【0058】なお単位格子を構成する4つの画素の1次
画像データが、前述した図3に示すような配列となって
いる場合には、エッジの延在する方向に応じて、補間点
が属する三角形は図11に示す4種類の三角形1〜4のう
ちのいずれかに該当し、これらのいずれに属する場合に
おいても、図5に示した三角形2または3に属する場合
と同様に計算すればよい。
When the primary image data of the four pixels forming the unit grid is arranged as shown in FIG. 3 described above, the interpolation point belongs to the direction in which the edge extends. The triangle corresponds to any one of the four types of triangles 1 to 4 shown in FIG. 11, and in any of these cases, the calculation may be performed in the same manner as in the case of belonging to the triangle 2 or 3 shown in FIG. .

【0059】再生手段40は入力された2次画像データ
S′に基づいた画像を可視画像として再生する。この再
生された可視画像は、上述したように、エッジの延びる
方向についての2次画像データ値が元の1次画像データ
値に対して極端に異なるものではないため、斜めに延び
るエッジ部も滑らかで、かつシャープな画像となる。
The reproducing means 40 reproduces an image based on the input secondary image data S'as a visible image. As described above, in the reproduced visible image, the secondary image data value in the edge extending direction is not extremely different from the original primary image data value, and therefore the diagonally extending edge portion is also smooth. And, the image becomes sharp.

【0060】なお本実施形態の画像再生システムで用い
られる補間演算装置30は、記憶手段10に予め記憶された
1次画像データを用いるものについて説明したが、本発
明の補間演算装置はこの形態に限るものではなく、例え
ば画像読取装置により読み取って得られた、画像を表す
画像データを直接受けとる形態であってもよい。
The interpolation calculation device 30 used in the image reproduction system of the present embodiment has been described using the primary image data stored in advance in the storage means 10. However, the interpolation calculation device of the present invention has this form. The present invention is not limited to this, and may be a form in which image data representing an image obtained by reading with an image reading device is directly received.

【0061】なお、本実施形態のシステムにおいては補
間演算の補間係数として線形のもの(補間係数f
0 (t)=1−t、f1 (t)=t)について説明した
が、本発明は線形補間によるものに限るものではなく、
補間係数が、3次以上の多項式で表される補間演算や、
関数で表される補間演算を用いるものであってもよい。
In the system of this embodiment, a linear interpolation coefficient (interpolation coefficient f
Although 0 (t) = 1-t and f 1 (t) = t) have been described, the present invention is not limited to linear interpolation.
Interpolation calculation in which the interpolation coefficient is expressed by a polynomial of third order or higher,
The interpolation calculation represented by a function may be used.

【0062】以下に、これらの補間演算式を用いた場合
の例について説明する。
An example of using these interpolation calculation formulas will be described below.

【0063】線形補間においては、その補間係数のグラ
フは、図6(A)に示すものとなるが、3次以上の多項
式で表される補間係数のグラフは例えば図6(B)に示
すものがある。
In the linear interpolation, the graph of the interpolation coefficient is as shown in FIG. 6 (A), but the graph of the interpolation coefficient represented by a polynomial of third or higher degree is as shown in FIG. 6 (B), for example. There is.

【0064】以下、図6(B)で表される補間係数が3
次以上の多項式を用いた補間演算式の場合について説明
する。補間係数f0 (t),f1 (t)は、f0 (0)
=1,f0 (1)=0,f1 (0)=0,f1 (1)=
1およびf0 (t)+f1 (t)=1(ただし、0≦t
≦1)の条件を満たすものであればよく、3次のものと
して例えば、 f0 (t)=2t3 −3t2 +1 f1 (t)=−2t3 +3t2 であってもよいし、5次のものとして例えば、 f0 (t)=−6t5 +15t4 −10t3 +1 f1 (t)=6t5 −15t4 +10t3 であってもよい。
Hereinafter, the interpolation coefficient shown in FIG.
The case of the interpolation calculation formula using the following polynomials will be described. The interpolation coefficients f 0 (t) and f 1 (t) are f 0 (0)
= 1, f 0 (1) = 0, f 1 (0) = 0, f 1 (1) =
1 and f 0 (t) + f 1 (t) = 1 (where 0 ≦ t
The third order may be satisfied, for example, f 0 (t) = 2t 3 −3t 2 + 1f 1 (t) = − 2t 3 + 3t 2 as long as the condition of ≦ 1) is satisfied. The fifth order may be, for example, f 0 (t) = − 6t 5 + 15t 4 −10t 3 + 1f 1 (t) = 6t 5 −15t 4 + 10t 3 .

【0065】まず補間点が図11の三角形1の内部に属す
る場合について説明する。この場合はエッジの延びる方
向が格子点BとCを結んだ直線の延びる方向である場合
である。
First, the case where the interpolation point belongs to the inside of the triangle 1 in FIG. 11 will be described. In this case, the direction in which the edge extends is the direction in which the straight line connecting the grid points B and C extends.

【0066】図12(A)に示すように、所望の補間点P
を通過し、エッジの延びる方向(格子点BとCを結んだ
直線の延びる方向)に平行な直線を求め、この直線が原
画像の格子点A,Bを結ぶ線と交わる点を仮想の補間点
α、格子点A,Cを結ぶ線と交わる点を仮想の補間点β
とし、仮想の補間点αの2次画像データを、格子点A,
Bを結ぶ方向に並ぶ格子点の画像データに基づいて高次
の補間演算式によって求め、仮想の補間点βの2次画像
データを、格子点A,Cを結ぶ方向に並ぶ格子点の画像
データに基づいて高次の補間演算式によって求め、これ
らの得られた仮想の補間点α,βを結ぶ直線上にある補
間点Pの2次画像データをこれら仮想の補間点α,βの
2次画像データに基づいて線形補間によって求める。
As shown in FIG. 12A, the desired interpolation point P
, A straight line parallel to the direction in which the edges extend (the direction in which the straight line connecting the grid points B and C extends) is obtained, and the point where this straight line intersects the line connecting the grid points A and B in the original image is virtually interpolated. A point α and a point that intersects with the line connecting the grid points A and C are virtual interpolation points β
Let the secondary image data of the virtual interpolation point α be the grid point A,
The secondary image data of the virtual interpolation point β is obtained by a high-order interpolation calculation formula based on the image data of the grid points arranged in the direction connecting B, and the image data of the grid points arranged in the direction connecting the grid points A and C is obtained. The secondary image data of the interpolation point P on the straight line connecting the obtained virtual interpolation points α and β is obtained by a high-order interpolation calculation formula based on Obtained by linear interpolation based on the image data.

【0067】すなわち、仮想の補間点α,βの画像デー
タα,βは次式(10),(11)に示すものとなる。ここ
で、式の簡単化のため、格子点名およびその画像データ
を表す記号A,B,C,Dをそのまま用いるものとす
る。
That is, the image data α and β of the virtual interpolation points α and β are expressed by the following equations (10) and (11). Here, for simplification of the equation, it is assumed that the lattice point names and the symbols A, B, C, D representing the image data thereof are used as they are.

【0068】 α=f0 (Tx+Ty)・A+f1 (Tx+Ty)・B (10) β=f0 (Tx+Ty)・A+f1 (Tx+Ty)・C (11) したがって、補間点Pの2次画像データPは、 P=(Tx・α+Ty・β)/(Tx+Ty) (12) により求めることができる。Α = f 0 (Tx + Ty) · A + f 1 (Tx + Ty) · B (10) β = f 0 (Tx + Ty) · A + f 1 (Tx + Ty) · C (11) Therefore, the secondary image data P of the interpolation point P Can be obtained by P = (Tx.alpha. + Ty.beta.) / (Tx + Ty) (12).

【0069】なお、原画像データ、2次画像データPを
3次元空間上で表すと図12(B)に示すようなものとな
る。
The original image data and the secondary image data P are shown in FIG. 12B when expressed in a three-dimensional space.

【0070】式(12)に示した2次画像データPの算出
式は、図11に示した三角形1の内部に補間点が存在する
場合のものであるが、他の三角形2〜4(図11)の内部
に補間点が存在する場合についも、上述した手順と同様
の手順により、それぞれ2次画像データを算出すること
ができる。
The calculation formula of the secondary image data P shown in the formula (12) is for the case where the interpolation point exists inside the triangle 1 shown in FIG. Even when the interpolation point exists inside 11), the secondary image data can be calculated by the same procedure as the above-mentioned procedure.

【0071】すなわち、補間点Pが図13(A)に示すよ
うに図11の三角形2の内部に存在する場合は、補間点P
の2次画像データPは、 P={(1−Ty)・α+(1−Tx)・β}/(2−Tx−Ty) (13) により求めることができる。
That is, when the interpolation point P exists inside the triangle 2 in FIG. 11 as shown in FIG. 13A, the interpolation point P
The secondary image data P of can be obtained by P = {(1-Ty) .alpha. + (1-Tx) .beta.} / (2-Tx-Ty) (13).

【0072】次に、補間点が図11の三角形3の内部に属
する場合について説明する。この場合はエッジの延びる
方向が格子点AとDを結んだ直線の延びる方向である場
合である。
Next, the case where the interpolation point belongs to the inside of the triangle 3 in FIG. 11 will be described. In this case, the direction in which the edge extends is the direction in which the straight line connecting the grid points A and D extends.

【0073】図13(B)に示すように、所望の補間点P
を通過し、エッジの延びる方向(格子点AとDを結んだ
直線の延びる方向)に平行な直線を求め、この直線が原
画像の格子点A,Cを結ぶ線と交わる点を仮想の補間点
α、格子点C,Dを結ぶ線と交わる点を仮想の補間点β
とし、仮想の補間点αの2次画像データを、格子点A,
Cを結ぶ方向に並ぶ格子点の画像データに基づいて高次
の補間演算式によって求め、仮想の補間点βの2次画像
データを、格子点C,Dを結ぶ方向に並ぶ格子点の画像
データに基づいて高次の補間演算式によって求め、これ
らの得られた仮想の補間点α,βを結ぶ直線上にある補
間点Pの2次画像データをこれら仮想の補間点α,βの
2次画像データに基づいて線形補間によって求める。
As shown in FIG. 13B, the desired interpolation point P
, A straight line parallel to the direction in which the edges extend (the direction in which the straight line connecting the grid points A and D extends) is obtained, and the point where this straight line intersects the line connecting the grid points A and C in the original image is virtually interpolated. A point that intersects with the line connecting the point α and the grid points C and D is a virtual interpolation point β.
Let the secondary image data of the virtual interpolation point α be the grid point A,
The secondary image data of the virtual interpolation point β is obtained by a high-order interpolation calculation formula based on the image data of the grid points arranged in the direction connecting C, and the image data of the grid points arranged in the direction connecting the grid points C and D is obtained. The secondary image data of the interpolation point P on the straight line connecting the obtained virtual interpolation points α and β is obtained by a high-order interpolation calculation formula based on Obtained by linear interpolation based on the image data.

【0074】すなわち、補間点Pが図13(B)に示すよ
うに図11の三角形3の内部に存在する場合は、補間点P
の2次画像データPは、 P={(1−Ty)・α+Tx・β}/(1+Tx−Ty) (14) により求めることができる。
That is, when the interpolation point P exists inside the triangle 3 in FIG. 11 as shown in FIG. 13B, the interpolation point P
The secondary image data P of can be obtained by P = {(1-Ty) .alpha. + Tx.beta.} / (1 + Tx-Ty) (14).

【0075】また、補間点Pが図13(C)に示すように
図11の三角形4の内部に存在する場合は、補間点Pの2
次画像データPは、 P={(1−Tx)・α+Ty・β}/(1−Tx+Ty) (15) により求めることができる。
Further, when the interpolation point P exists inside the triangle 4 of FIG. 11 as shown in FIG.
The next image data P can be obtained by P = {(1-Tx) .alpha. + Ty.beta.} / (1-Tx + Ty) (15).

【0076】なお、高次の多項式を用いた補間演算は、
格子点に対して斜め方向に延びるエッジについては良好
な補間ができるが、縦横方向に延びるエッジについては
適さない。
The interpolation calculation using a high-order polynomial is
Good interpolation is possible for edges extending diagonally to the grid points, but not suitable for edges extending vertically and horizontally.

【0077】そこで縦横方向に延びるエッジについての
2次画像データは以下のようにして求めるのが適当であ
る。
Therefore, it is appropriate to obtain the secondary image data for the edges extending in the vertical and horizontal directions as follows.

【0078】図14(A)に示すような縦方向のエッジに
ついては、まず所望の補間点Pを通過し、エッジの延び
る方向(格子点AとCを結んだ直線の延びる方向)に平
行な直線を求め、この直線が原画像の格子点A,Bを結
ぶ線と交わる点を仮想の補間点α、格子点B,Cを結ぶ
線と交わる点を仮想の補間点βとし、仮想の補間点αの
2次画像データを、格子点A,Bを結ぶ方向に並ぶ格子
点の画像データに基づいて高次の補間演算式によって求
め、仮想の補間点βの2次画像データを、格子点B,C
を結ぶ方向に並ぶ格子点の画像データに基づいて高次の
補間演算式によって求め、これらの得られた仮想の補間
点α,βを結ぶ直線上にある補間点Pの2次画像データ
をこれら仮想の補間点α,βの2次画像データに基づい
て線形補間によって求める。
As for the vertical edge as shown in FIG. 14A, it first passes through the desired interpolation point P and is parallel to the extending direction of the edge (the extending direction of the straight line connecting the grid points A and C). A straight line is obtained, and a point at which this straight line intersects the line connecting the grid points A and B of the original image is a virtual interpolation point α, and a point at which the straight line intersects the line connecting the grid points B and C is a virtual interpolation point β, and virtual interpolation is performed. The secondary image data of the point α is obtained by a high-order interpolation calculation formula based on the image data of the lattice points arranged in the direction connecting the lattice points A and B, and the secondary image data of the virtual interpolation point β is calculated as the lattice point. B, C
The secondary image data of the interpolation point P on the straight line connecting the virtual interpolation points α and β obtained by the high-order interpolation calculation formula based on the image data of the grid points arranged in the direction connecting It is obtained by linear interpolation based on the secondary image data of the virtual interpolation points α and β.

【0079】すなわち、補間点Pの2次画像データP
は、 P={(1−Tx−Ty)・α+Ty・β}/(1−Tx) (16) により求めることができる。なお、この2次画像データ
Pを3次元空間上で表すと図14(B)に示すようなもの
となる。
That is, the secondary image data P of the interpolation point P
Can be obtained by P = {(1-Tx-Ty) .alpha. + Ty.beta.} / (1-Tx) (16). When the secondary image data P is expressed in a three-dimensional space, it becomes as shown in FIG.

【0080】図15(A)に示すような横方向のエッジを
有する場合にも同様にし、補間点Pの2次画像データP
は、 P={(1−Tx−Ty)・α+Tx・β}/(1−Ty) (17) により求めることができる。なお、この2次画像データ
Pを3次元空間上で表すと図15(B)に示すようなもの
となる。
The secondary image data P of the interpolation point P is similarly processed in the case of having a lateral edge as shown in FIG.
Can be calculated by P = {(1-Tx-Ty) .alpha. + Tx.beta.} / (1-Ty) (17). When the secondary image data P is expressed in a three-dimensional space, it becomes as shown in FIG.

【0081】なお、このような縦方向、あるいは横方向
のエッジの場合は、その補間点の画像データを、格子点
の3点の1次画像データに基づいて求める場合に限ら
ず、格子点の4点の1次画像データに基づいて求めるよ
うにしてもよい。
In the case of such an edge in the vertical direction or the horizontal direction, the image data of the interpolation point is not limited to the case where the image data of the interpolation point is obtained based on the primary image data of the three points of the grid point. It may be obtained based on the four primary image data.

【0082】例えば縦方向に延びるエッジの場合は図16
に示すように、所望の補間点Pを通過し、エッジの延び
る方向(格子点AとCを結んだ直線の延びる方向)に平
行な直線を求め、この直線が原画像の格子点A,Bを結
ぶ線と交わる点を仮想の補間点α、格子点C,Dを結ぶ
線と交わる点を仮想の補間点βとし、仮想の補間点αの
2次画像データを、格子点A,Bを結ぶ方向に並ぶ格子
点の画像データに基づいて高次の補間演算式によって求
め、仮想の補間点βの2次画像データを、格子点C,D
を結ぶ方向に並ぶ格子点の画像データに基づいて高次の
補間演算式によって求め、これらの得られた仮想の補間
点α,βを結ぶ直線上にある補間点Pの2次画像データ
をこれら仮想の補間点α,βの2次画像データに基づい
て線形補間によって求める。
For example, in the case of an edge extending in the vertical direction, FIG.
As shown in, a straight line that passes through the desired interpolation point P and is parallel to the direction in which the edge extends (the direction in which the straight line connecting the grid points A and C extends) is obtained, and this straight line is the grid points A and B of the original image. The point that intersects the line connecting the lines is a virtual interpolation point α, the point that intersects the line connecting the grid points C and D is a virtual interpolation point β, and the secondary image data of the virtual interpolation point α is the grid points A and B. The secondary image data of the virtual interpolation point β is obtained by a high-order interpolation arithmetic expression based on the image data of the grid points arranged in the connecting direction, and the grid point C, D
The secondary image data of the interpolation point P on the straight line connecting the virtual interpolation points α and β obtained by the high-order interpolation calculation formula based on the image data of the grid points arranged in the direction connecting It is obtained by linear interpolation based on the secondary image data of the virtual interpolation points α and β.

【0083】以上説明したような、補間係数が線形の補
間演算や、補間係数が3次以上の多項式で表される補間
演算の他にも、例えば補間係数f0 (t)、f1 (t)
が図6(C)のグラフに示す関数で表される補間演算を
用いてもよい。
In addition to the above-described interpolation operation in which the interpolation coefficient is linear and the interpolation operation in which the interpolation coefficient is expressed by a polynomial of degree 3 or higher, for example, interpolation coefficients f 0 (t) and f 1 (t )
May use the interpolation calculation represented by the function shown in the graph of FIG.

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

【図1】本発明の画像データの補間演算方法を実施する
ための具体的な補間演算装置30を内包する画像再生シス
テムを示す概略ブロック図
FIG. 1 is a schematic block diagram showing an image reproduction system including a specific interpolation calculation device 30 for carrying out an image data interpolation calculation method of the present invention.

【図2】(A)原画像データを構成する画素(標本点)
を示す概念図、(B)補間画像データを求める作用を示
す図
FIG. 2 (A) Pixels (sample points) forming original image data
And (B) a diagram showing the operation of obtaining interpolated image data.

【図3】対角の画像データが略等しい斜めエッジが存在
する単位格子を示す図
FIG. 3 is a diagram showing a unit cell in which diagonal edges having substantially equal diagonal image data exist.

【図4】補間演算装置の作用を説明する説明図FIG. 4 is an explanatory diagram illustrating an operation of an interpolation calculation device.

【図5】三角領域の類型を示す図(その1)FIG. 5 is a diagram showing the types of triangular areas (No. 1).

【図6】補間係数を示すグラフFIG. 6 is a graph showing interpolation coefficients

【図7】原画像データを構成する画素と補間画像データ
を構成する画素とを示す概念図
FIG. 7 is a conceptual diagram showing pixels forming original image data and pixels forming interpolation image data.

【図8】原画像および原画像データを構成する画素とを
示す図
FIG. 8 is a diagram showing an original image and pixels forming the original image data.

【図9】補間画像および補間画像データを構成する画素
とを示す図
FIG. 9 is a diagram showing an interpolated image and pixels forming the interpolated image data.

【図10】対角の画像データが略等しい斜めエッジが存
在する単位格子を示す図
FIG. 10 is a view showing a unit cell in which diagonal edges having substantially equal diagonal image data exist.

【図11】三角領域の類型を示す図(その2)FIG. 11 is a diagram showing the types of triangular areas (No. 2).

【図12】(A)補間画像データを求める作用を示す図
(三角形1)、(B)原画像データと補間画像データと
を3次元空間上に表した図
12A is a diagram showing an operation of obtaining interpolated image data (triangle 1), and FIG. 12B is a diagram showing original image data and interpolated image data in a three-dimensional space.

【図13】(A)補間画像データを求める作用を示す図
(三角形2)、(B)補間画像データを求める作用を示
す図(三角形3)、(C)補間画像データを求める作用
を示す図(三角形4)
13A is a diagram showing an operation for obtaining interpolation image data (triangle 2), FIG. 13B is a diagram showing an operation for obtaining interpolation image data (triangle 3), and FIG. 13C is a diagram showing an operation for obtaining interpolation image data. (Triangle 4)

【図14】(A)補間画像データを求める作用を示す図
(縦エッジ)、(B)原画像データと補間画像データと
を3次元空間上に表した図
14A is a diagram showing an operation of obtaining interpolated image data (vertical edge), and FIG. 14B is a diagram showing original image data and interpolated image data in a three-dimensional space.

【図15】(A)補間画像データを求める作用を示す図
(横エッジ)、(B)原画像データと補間画像データと
を3次元空間上に表した図
15A is a diagram showing an operation of obtaining interpolated image data (horizontal edge), and FIG. 15B is a diagram showing original image data and interpolated image data in a three-dimensional space.

【図16】4つの原画像データと補間画像データとを3
次元空間上に表した図
FIG. 16 shows three sets of four original image data and interpolated image data.
Diagram in dimensional space

【符号の説明】[Explanation of symbols]

10 記憶手段 20 マルチフォーマッタ 21 入力手段 30 補間演算装置 31 エッジ延長方向判定手段 32 補間用画像データ抽出手段 33 補間演算手段 40 再生手段 Sorg 1次画像データ(原画像データ) S′ 2次画像データ(補間画像データ) 10 storage means 20 multi-formatter 21 input means 30 interpolation calculation device 31 edge extension direction determination means 32 interpolation image data extraction means 33 interpolation calculation means 40 reproduction means Sorg primary image data (original image data) S'secondary image data ( Interpolated image data)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 所定の間隔で格子状に配列された、画像
を表す原画像データが定義された多数の標本点をそれぞ
れ格子点とする単位格子の配列方向に対して、該単位格
子の互いに対角に位置する、それぞれ2つの標本点から
なる2組の標本点組について、該各標本点組を構成する
各2つの標本点の原画像データの差を求め、該各標本点
組の画像データの差同士を比較することにより前記原画
像データの変化が急峻なエッジ部の延びる方向を特定
し、該エッジ部が横切る単位格子の内部に包含される補
間点の補間画像データを、該単位格子を構成する4つの
標本点のうち、少なくとも前記エッジ部の延びる方向に
沿った対角に位置する2つの標本点を含む前記補間点の
近傍3つの標本点の原画像データに基づいて求める画像
データの補間演算方法において、 さらに前記補間点を内部に有する単位格子の周囲の標本
点の原画像データに基づいて該エッジ部の延びる方向を
特定することを特徴とする画像データの補間演算方法。
1. The unit grids are arranged in a grid pattern at a predetermined interval, and each of the unit grids is arranged with respect to the array direction of the unit grids, each grid point being a plurality of sample points in which original image data representing an image is defined. For two sets of sample points, each set of two sample points, located diagonally, the difference between the original image data of each two sample points forming each sample point set is calculated, and the image of each sample point set is obtained. The direction in which the edge portion where the change of the original image data is steep extends is specified by comparing the difference between the data, and the interpolated image data of the interpolation points included in the unit grid traversed by the edge portion is set to the unit. An image obtained based on original image data of three sample points in the vicinity of the interpolation point including at least two sample points located diagonally along the extending direction of the edge part among the four sample points forming the lattice Data interpolation calculation method In the above method, the interpolation calculation method of image data is characterized in that the extending direction of the edge portion is specified based on the original image data of the sample points around the unit lattice having the interpolation points inside.
【請求項2】 所定の間隔で格子状に配列された、画像
を表す原画像データが定義された多数の標本点をそれぞ
れ格子点とする単位格子の配列方向に対して、該単位格
子の互いに対角に位置する、それぞれ2つの標本点から
なる2組の標本点組について、該各標本点組を構成する
各2つの標本点の原画像データの差を求め、該各標本点
組の画像データの差同士を比較することにより前記原画
像データの変化が急峻なエッジ部の延びる方向を特定す
るエッジ延長方向判定手段と、該エッジ部が横切る単位
格子を構成する4つの標本点のうち、少なくとも前記エ
ッジ部の延びる方向に沿った対角に位置する2つの標本
点を含む前記補間点の近傍3つの標本点を抽出する補間
用画像データ抽出手段と、該抽出された3つの標本点に
基づいて前記単位格子の内部に包含される補間点の補間
画像データを求める補間演算手段とを有する画像データ
の補間演算装置において、 前記エッジ延長方向判定手段が、 さらに前記補間点を内部に有する単位格子の周囲の標本
点の原画像データに基づいて該エッジ部の延びる方向を
特定するものであることを特徴とする画像データの補間
演算装置。
2. The unit grids are arranged in a grid pattern at a predetermined interval, and each of the unit grids is arranged with respect to the array direction of the unit grids, each grid point being a plurality of sample points in which original image data representing an image is defined. For two sets of sample points, each set of two sample points, located diagonally, the difference between the original image data of each two sample points forming each sample point set is calculated, and the image of each sample point set is obtained. Of the four sample points constituting the unit lattice crossed by the edge extension direction determining means for identifying the extension direction of the edge portion where the change of the original image data is sharp by comparing the difference between the data, Interpolation image data extraction means for extracting three sample points in the vicinity of the interpolation point including at least two sample points located diagonally along the direction in which the edge portion extends, and the extracted three sample points. Based on the unit case In an image data interpolation calculation device having interpolation calculation means for obtaining interpolation image data of interpolation points included in a child, the edge extension direction determination means further includes: An interpolation calculation device for image data, characterized in that a direction in which the edge portion extends is specified based on original image data of a sample point.
JP8074656A 1996-03-28 1996-03-28 Inteprolative operation method for image data and device for executing the method Withdrawn JPH09266531A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8074656A JPH09266531A (en) 1996-03-28 1996-03-28 Inteprolative operation method for image data and device for executing the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8074656A JPH09266531A (en) 1996-03-28 1996-03-28 Inteprolative operation method for image data and device for executing the method

Publications (1)

Publication Number Publication Date
JPH09266531A true JPH09266531A (en) 1997-10-07

Family

ID=13553503

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8074656A Withdrawn JPH09266531A (en) 1996-03-28 1996-03-28 Inteprolative operation method for image data and device for executing the method

Country Status (1)

Country Link
JP (1) JPH09266531A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6724398B2 (en) 2000-06-20 2004-04-20 Mitsubishi Denki Kabushiki Kaisha Image processing method and apparatus, and image display method and apparatus, with variable interpolation spacing
US7391920B2 (en) 2003-11-04 2008-06-24 Fujifilm Corporation Image processing method, apparatus, and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6724398B2 (en) 2000-06-20 2004-04-20 Mitsubishi Denki Kabushiki Kaisha Image processing method and apparatus, and image display method and apparatus, with variable interpolation spacing
US7330199B2 (en) 2000-06-20 2008-02-12 Mitsubishi Denki Kabushiki Kaisha Image processing method and apparatus, and image display method and apparatus, with variable interpolation spacing
US7429994B2 (en) 2000-06-20 2008-09-30 Mitsubishi Denki Kabushiki Kaisha Image processing method and apparatus, and image display method and apparatus for changing edge sharpness
US7391920B2 (en) 2003-11-04 2008-06-24 Fujifilm Corporation Image processing method, apparatus, and program

Similar Documents

Publication Publication Date Title
JP3753197B2 (en) Image data interpolation calculation method and apparatus for performing the method
JP4150947B2 (en) Image processing apparatus and method, and recording medium
JP3706189B2 (en) Image data interpolation processing method and apparatus using the method
EP2347385B1 (en) Method and system for image resizing based on interpolation enhanced seam operations
JP3276886B2 (en) Generating pixel values for enlarged destination images
KR101297177B1 (en) The method and system of adaptive reformatting of digital images
JP2010187376A (en) Resizing digital document image
JP2577748B2 (en) Image signal interpolation method and image signal processing apparatus for implementing the method
JP2006222965A (en) Image processing method and image processor
JPS6160066A (en) Method of projecting digital image record
EP0511607A2 (en) Method and apparatus for altering a digital image size
JP4524104B2 (en) Apparatus and method for improving reproduction quality of video
JP3599435B2 (en) Image data interpolation calculation method and apparatus
JPH0683375B2 (en) Block distortion removal device for compressed image data
JPH09266531A (en) Inteprolative operation method for image data and device for executing the method
JP2008021126A (en) Image enlarging/reducing device
JP5385059B2 (en) Image display method, program, image display apparatus, and imaging apparatus
CN112990263B (en) Data enhancement method for high-resolution image of dense small target
JPH09265527A (en) Method for interpolatory operation of image data and device for executing the same
CN111507903B (en) Image amplification method and device based on pentagonal surface piece weighted average fitting
WO2000075865A1 (en) Image processing method
JPH0950516A (en) Method and device for interpolation operation of picture data
US7428346B2 (en) Image processing method and image processing device
JP4628406B2 (en) Image processing apparatus, method, and program
JPH0951426A (en) Interpolation arithmetic method for image data and device using the method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030603