JPH0951430A - Image data interpolation arithmetic method and device therefor - Google Patents

Image data interpolation arithmetic method and device therefor

Info

Publication number
JPH0951430A
JPH0951430A JP7203210A JP20321095A JPH0951430A JP H0951430 A JPH0951430 A JP H0951430A JP 7203210 A JP7203210 A JP 7203210A JP 20321095 A JP20321095 A JP 20321095A JP H0951430 A JPH0951430 A JP H0951430A
Authority
JP
Japan
Prior art keywords
interpolation
image
image data
coefficient
original
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
JP7203210A
Other languages
Japanese (ja)
Inventor
Wataru Ito
渡 伊藤
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 JP7203210A priority Critical patent/JPH0951430A/en
Publication of JPH0951430A publication Critical patent/JPH0951430A/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/4007Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Radiography Using Non-Light Waves (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PROBLEM TO BE SOLVED: To realize an interpolation image in response to a local characteristic of an original image in the interpolation arithmetic method and device for image data subject to vicinity interpolation. SOLUTION: Weighting coefficients w1-w5 used for multiplication in the linear combination among interpolation coefficients of B spline interpolation, vertically linear-horizontal replication interpolation, horizontally linear-vertical replication interpolation, right oblique interpolation and left oblique interpolation are obtained by a neutral network 2. An interpolation coefficient arithmetic means 4 multiplies the weighting coefficients w1-w5 with the interpolation coefficients stored in an interpolation coefficient storage means 3 to obtain final interpolation coefficients. An interpolation arithmetic means 5 conducts interpolation arithmetic operation based on the final interpolation coefficients to obtain interpolation image data S'. The interpolation image data S' are reproduced as a visual image by an image reproduction means 22.

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 apparatus.

【0002】[0002]

【従来の技術】従来より、放射線写真フイルムに記録さ
れた放射線画像を光電的に読み取って画像信号を得、こ
の画像信号に適切な画像処理を施した後、画像を再生記
録することが種々の分野で行われている。たとえば、後
の画像処理に適合するように設計されたガンマ値の低い
X線フィルムを用いてX線画像を記録し、このX線画像
が記録されたフィルムからX線画像を読み取って電気信
号に変換し、この電気信号(画像信号)に画像処理を施
した後、コピー写真等に可視像として再生することによ
り、コントラスト、シャープネス、粒状性等の画質性能
の良好な再生画像を得ることが行われている(特公昭61
-5193 号参照)。
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. For example, an X-ray image is recorded using an X-ray film having a low gamma value designed so as to be suitable for later image processing, and the X-ray image is read from the film on which the X-ray image is recorded and converted into an electric signal. After conversion and image processing of this electric signal (image signal), it is reproduced as a visible image on a copy photograph or the like to obtain a reproduced image with good image quality performance such as contrast, sharpness, and graininess. It is held (Sho 61
-5193).

【0003】また本願出願人により、放射線(X線,α
線,β線,γ線,電子線,紫外線等)を照射すると、こ
の放射線エネルギーの一部が蓄積され、その後可視光等
の励起光を照射すると蓄積されたエネルギーに応じて輝
尽発光を示す蓄積性蛍光体(輝尽性蛍光体)を利用し
て、人体等の被写体の放射線画像情報を一旦シート状の
蓄積性蛍光体に記録し、この蓄積性蛍光体シートをレー
ザー光等の励起光で走査して輝尽発光光を生ぜしめ、得
られた輝尽発光光を光電的に読み取って画像信号を得、
この画像データに基づき被写体の放射線画像を写真感光
材料等の記録材料、CRT等に可視像として出力させる
放射線画像記録再生システムがすでに提案されている
(特開昭55-12429号,同56-11395号,同55-163472 号,
同56-104645号,同55-116340 号等)。このシステム
は、従来の銀塩写真を用いる放射線写真システムと比較
して極めて広い放射線露出域にわたって画像を記録し得
るという実用的な利点を有している。
In addition, the applicant of the present invention has conducted radiation (X-ray,
Ray, β ray, γ ray, electron beam, ultraviolet ray, etc.), a part of this radiation energy is accumulated, and when excitation light such as visible light is then irradiated, stimulated emission is shown according to the accumulated energy. By using a stimulable phosphor (stimulable phosphor), the radiation image information of a subject such as a human body is once recorded on a sheet-shaped stimulable phosphor, and this stimulable phosphor sheet is excited by a laser beam or the like. Scan to generate stimulated emission light, photoelectrically read the obtained stimulated emission light to obtain an image signal,
A radiation image recording / reproducing system for outputting a radiation image of a subject as a visible image on a recording material such as a photographic light-sensitive material or a CRT based on this image data has already been proposed (JP-A-55-12429, JP-A-56-56). No. 11395, No. 55-163472,
56-104645, 55-116340, etc.). 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.

【0004】上記のように画像信号を得てこの画像信号
に基づいて可視画像を再生するシステムにおいて、その
可視画像のうち観察対象となる関心領域をより詳細に観
察したいとき、その領域を拡大して再生することがあ
る。この拡大画像は、原画像を読み取って得られた原画
像データに対して所定の補間演算を施して原画像データ
数とは異なるデータ数の2次的な画像データである補間
画像データを求め、この補間画像データに基づいた可視
画像の再生を行うことによって得ることができる。
In the system for obtaining an image signal and reproducing a visible image based on the image signal 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. May be replayed. The enlarged image is subjected to a predetermined interpolation calculation on the original image data obtained by reading the original image to obtain interpolated image data which is secondary image data having a data number different from the original image data number, It can be obtained by reproducing a visible image based on this interpolation image data.

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

【0006】例えば、図9(A)に示すように、正方形
格子状に配列された原画像の原画素P(○記号が記され
た点)について、その原画素Pが配列された間隔とは異
なる間隔で配列される補間画素P′0 (×記号が記され
た点)の補間画像データを求めようとするときは、例え
ば補間画素P′0 の補間画像データについて補間画素
P′0 を囲む近傍4点の原画像の原画素PA 、PB 、P
C 、PD の画像データSA 、SB 、SC 、SD を用いて
以下の手順によって求める。
For example, as shown in FIG. 9 (A), with respect to the original pixels P (points marked with a circle) of the original images arranged in a square lattice, the interval at which the original pixels P are arranged is interpolated pixel P 'when to be obtained interpolated image data of 0 (point × symbol marked), for example the interpolation pixel P' are arranged at different intervals surrounding the interpolation pixel P '0 for the interpolation image data of the 0 Original pixels P A , P B , and P of the original image of four nearby points
The image data S A , S B , S C and S D of C and P D are obtained by the following procedure.

【0007】ここで原画素PA 〜PB 間、PC 〜P
D 間、PA 〜PC 間、PB 〜PD 間のピッチをそれぞれ
1とし、補間画素P′0 の、原画素PA (PC )からの
x軸方向(横方向)の距離がTx(図9(B)参照)、
原画素PA (PB )からのy軸方向(縦方向)の距離が
Tyである場合、まず補間画素P′0 のx軸方向の位置
に対応する補間画素P′m、P′nの補間画像データ
S′m、S′nを、下記の式に基づく線形補間の演算に
より求める。
Here, between the original pixels P A and P B, and between P C and P
The pitches between D, between P A and P C, and between P B and P D are 1, respectively, and the distance of the interpolated pixel P ′ 0 from the original pixel P A (P C ) in the x-axis direction (horizontal direction) is Tx (see FIG. 9B),
When the distance in the y-axis direction (vertical direction) from the original pixel P A (P B ) is Ty, first of all the interpolation pixels P′m and P′n corresponding to the position of the interpolation pixel P ′ 0 in the x-axis direction. The interpolated image data S′m and S′n are obtained by a linear interpolation operation based on the following equation.

【0008】S′m=(1−Tx)SA +TxSB S′n=(1−Tx)SC +TxSD 次いで、補間画素P′0 のy軸方向について補間画像デ
ータS′m、S′nを用いた下記の式に基づく線形補間
の演算を行って、補間画像データS′0 を求める。
[0008] S'm = (1-Tx) S A + TxS B S'n = (1-Tx) S C + TxS D Then, the interpolation pixel P 'in the y-axis direction of 0 interpolated image data S'm, S' Interpolation image data S ′ 0 is obtained by performing a linear interpolation calculation based on the following equation using n.

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

【0010】また、画像データの補間方法としては、上
述した線形補間による方法の他、2次あるいは3次のス
プライン補間関数を用いる方法など種々の方法が提案さ
れている。例えば、3次のスプライン補間関数を用いる
Cubic スプライン補間演算は、元のサンプリング点(画
素)を通ることと、その第1階微分係数が各区間間で連
続することが必要とされており、この条件に基づいて補
間画素近傍4点の原画像の画素値に乗じる補間係数を算
出し、この補間係数を補間画素近傍4点の原画像の画素
値に乗じて補間画像データを得る方法である。このCubi
c スプライン補間演算は、比較的鮮鋭度の高いシャープ
な2次画像(補間により得られる画像)を再生するため
のものである。また、Cubic スプライン補間演算に対し
て比較的鮮鋭度の低い滑らかな2次画像を再生するため
の補間画像データを得るBスプライン補間演算も知られ
ている。このように2次画像を高い鮮鋭度でシャープに
再生したい場合は、Cubic スプライン補間演算を用い、
低い鮮鋭度で滑らかに再生したい場合はBスプライン補
間演算を用いればよい。
As the image data interpolation method, various methods such as a method using the above-described linear interpolation and a method using a quadratic or cubic spline interpolation function have been proposed. For example, using a cubic spline interpolation function
The Cubic spline interpolation calculation requires passing through the original sampling points (pixels) and that the first differential coefficient is continuous between each section. This is a method of calculating an interpolation coefficient by multiplying the pixel value of the original image, and multiplying the interpolation coefficient by the pixel value of the original image at four points near the interpolation pixel to obtain the interpolated image data. This Cubi
The c-spline interpolation calculation is for reproducing a sharp secondary image (image obtained by interpolation) having relatively high sharpness. Also known is a B-spline interpolation calculation for obtaining interpolation image data for reproducing a smooth secondary image having a relatively low sharpness with respect to the Cubic spline interpolation calculation. If you want to reproduce the secondary image sharply with high sharpness like this, use Cubic spline interpolation
When it is desired to reproduce smoothly with low sharpness, the B-spline interpolation calculation may be used.

【0011】また、他の補間方法として最近傍補間(リ
プリケーション)なる方法が提案されている。この最近
傍補間なる方法は、補間画素における補間データとして
この補間画素に最も近い位置にある原画素の画像データ
の値をそのまま用いるものである。すなわち、図10に示
すように黒丸で表す原画素PA 〜PD を囲む四角形KA
〜KD のうち、四角形KA 内に補間画素P′0 が存在す
る場合は、その補間画素P′0 における補間画像データ
として原画素PA における原画像データの値をそのまま
用いるものである。この最近傍補間に基づいて画像デー
タの補間を行うことにより、非常に鮮鋭度が高く、また
画像にオーバーシュートやアンダーシュートが発生する
ことが無くなるため、非常に良好な補間画像を得ること
ができる。
Further, a method called nearest neighbor interpolation (replication) has been proposed as another interpolation method. This nearest neighbor interpolation method uses the value of the image data of the original pixel closest to the interpolation pixel as the interpolation data for the interpolation pixel as it is. That is, as shown in FIG. 10, a square K A surrounding the original pixels P A to P D represented by black circles.
Of ~K D, square K A interpolation pixel P in 'If 0 is present, the interpolation pixel P' values of the original image data in the original pixel P A as the interpolated image data in the 0 is to use it. By interpolating the image data based on this nearest neighbor interpolation, the sharpness is extremely high, and since overshoot and undershoot do not occur in the image, a very good interpolated image can be obtained. .

【0012】[0012]

【発明が解決しようとする課題】しかしながら、上述し
た種々の補間方法によって、得られる補間画像の鮮鋭度
が異なるため、鮮鋭度の大きい画像が得られる最近傍補
間により補間画像を得ると、画像の濃度変化がほとんど
ない平坦部において鮮鋭度が強調されることによりノイ
ズが目立ってしまうことがある。また逆に得られる補間
画像の鮮鋭度がそれほど高くないBスプライン補間演算
により補間画像を得ると、平坦部においては滑らかな画
像が得られるが、エッジ部においては画像がぼけてしま
い、かえって見にくい画像となってしまう。さらに、画
像中に画素が並んでいる方向に対して斜めに延びるエッ
ジ部が存在する場合、補間方法によっては補間画像にお
いてエッジ部に段状の模様が現れてしまうこともあり、
得られる補間画像が原画像と比べて不自然なものとなっ
ていた。このような場合、画像の部位に応じて適切な補
間方法を選択して補間演算を行うことが考えられるが、
画像中にはエッジ部や平坦部など様々な特徴部分が含ま
れ、また補間演算についても上述したように複数の方法
があることから、画像の特徴部分の条件を判断して適切
な補間演算を論理的に選択するよう構成することは演算
量が膨大なものとなり、極めて困難なものであった。
However, since the sharpness of the obtained interpolated image differs depending on the above-mentioned various interpolation methods, when the interpolated image is obtained by the nearest neighbor interpolation which can obtain an image with a high sharpness, Noise may become conspicuous due to the sharpness being emphasized in the flat portion where the density hardly changes. Conversely, if an interpolation image is obtained by a B-spline interpolation calculation in which the sharpness of the obtained interpolation image is not so high, a smooth image is obtained at the flat portion, but the image is blurred at the edge portion, which is rather difficult to see. Will be. Furthermore, if there is an edge portion that extends obliquely to the direction in which the pixels are arranged in the image, a stepped pattern may appear in the edge portion in the interpolation image depending on the interpolation method,
The obtained interpolated image was more unnatural than the original image. In such a case, it is conceivable to select an appropriate interpolation method according to the part of the image and perform the interpolation calculation.
Various characteristic parts such as edges and flat parts are included in the image, and there are multiple methods for interpolation calculation as described above. Therefore, the conditions of the characteristic parts of the image are judged and appropriate interpolation calculation is performed. It is extremely difficult to configure the selection logically because the amount of calculation becomes huge.

【0013】本発明は上記事情に鑑み、画像中の特徴部
分に応じて原画像と同様の自然な補間画像を簡易に得る
ことができる画像データの補間演算方法および装置を提
供することを目的とするものである。
In view of the above circumstances, it is an object of the present invention to provide an image data interpolation calculation method and apparatus which can easily obtain a natural interpolated image similar to the original image according to the characteristic portion in the image. To do.

【0014】[0014]

【課題を解決するための手段】本発明による画像データ
補間演算方法および装置は、画像を表す原画素のそれぞ
れについての画素値を表す多数の原画像データについ
て、鮮鋭度を強調する、画像を滑らかにする、あるいは
斜めエッジを直線状に表すことができるなどの得られる
補間画像の特性が互いに異なる前記各原画像データに対
応する複数種類の補間演算により得られる複数の補間係
数を求め、該各補間係数を所定の重み付け係数により重
み付け線形結合することにより新たな補間係数を得、該
新たな補間係数に基づいて補間演算を行って、前記原画
素とは間隔が異なる補間画像における補間画像データを
求める画像データの補間演算方法であって、前記画像中
の小領域で囲まれる画像の一部を表す局所的なパターン
を入力とし、該局所的なパターンに応じた前記重み付け
係数を出力とするニューラルネットワークに、前記画像
の局所的なパターンを入力して前記重み付け係数を得、
該重み付け係数に基づいて前記新たな補間係数を得るこ
とを特徴とするものである。
SUMMARY OF THE INVENTION An image data interpolation calculation method and apparatus according to the present invention enhances sharpness of a plurality of original image data representing pixel values of respective original pixels representing an image, and smooths an image. Or obtain a plurality of interpolation coefficients obtained by a plurality of types of interpolation operations corresponding to the respective original image data having different characteristics of the obtained interpolated image such that diagonal edges can be expressed in a straight line. A new interpolation coefficient is obtained by weighting and linearly combining the interpolation coefficient with a predetermined weighting coefficient, an interpolation operation is performed based on the new interpolation coefficient, and the interpolated image data in the interpolated image having a different interval from the original pixel is obtained. An interpolation calculation method of image data to be obtained, comprising inputting a local pattern representing a part of an image surrounded by a small area in the image, The neural network to output the weighting coefficient corresponding to a pattern, to obtain the weighting factor to input local pattern of said image,
The new interpolation coefficient is obtained based on the weighting coefficient.

【0015】ここで、画像の局所的なパターンとは、画
像中の小領域で囲まれる画像の一部分を表すパターンの
ことをいう。
Here, the local pattern of the image means a pattern representing a part of the image surrounded by a small area in the image.

【0016】[0016]

【発明の効果】本発明による画像データの補間演算方法
および装置は、得られる補間画像の特性が異なる複数の
補間係数を用いて、ニューラルネットワークに画像の局
所的なパターンを入力することにより、この局所的なパ
ターンに適した補間係数については重み付け係数が他の
補間係数の重み付け係数よりも大きくなるように学習を
させておくようにしたものである。そして、原画像の全
体について原画像の局所的なパターンをこのニューラル
ネットワークに入力することにより、画像の局所的な部
分の特徴に応じた重み付け係数が局所的なパターンごと
に出力されることとなる。したがって、この重み付け係
数により複数の補間係数に対する重み付け線形結合演算
を行うことにより、画像中の局所的なパターンに適した
補間係数については大きな重み付けがなされて、新たな
補間係数が決定されることとなる。このため、得られた
新たな補間係数により補間演算を行うことにより得られ
る補間画像は、画像中の局所的なパターンごとに最適な
補間演算により画像が補間されているため、原画像と比
べて不自然さのないものとなる。
The method and apparatus for interpolating image data according to the present invention uses a plurality of interpolation coefficients having different characteristics of the obtained interpolated image to input a local pattern of the image to the neural network. With respect to the interpolation coefficient suitable for the local pattern, learning is performed so that the weighting coefficient becomes larger than the weighting coefficients of other interpolation coefficients. Then, by inputting a local pattern of the original image for the entire original image to this neural network, a weighting coefficient corresponding to the feature of the local portion of the image is output for each local pattern. . Therefore, by performing a weighted linear combination operation on a plurality of interpolation coefficients using this weighting coefficient, a large weight is given to the interpolation coefficient suitable for the local pattern in the image, and a new interpolation coefficient is determined. Become. Therefore, the interpolated image obtained by performing the interpolation calculation with the new interpolation coefficient obtained is interpolated by the optimal interpolation calculation for each local pattern in the image, and therefore compared with the original image. It will be natural.

【0017】また、補間係数を重み付け線形結合する際
の重み付け係数をニューラルネットワークにより学習さ
せて決定するようにしたため、画像のパターンと補間係
数との条件を対応付けするための複雑な論理的演算を行
う必要が無くなり、より簡易な演算により補間係数の重
み付け係数を決定して画像中の局所的なパターンに応じ
た適切な補間画像を得ることができる。
Further, since the weighting coefficient when the weighting linear combination of the interpolation coefficients is performed is determined by learning with the neural network, a complicated logical operation for associating the condition of the image pattern with the condition of the interpolation coefficient is performed. Since it is not necessary to perform this, it is possible to determine the weighting coefficient of the interpolation coefficient by a simpler calculation and obtain an appropriate interpolated image according to the local pattern in the image.

【0018】[0018]

【発明の実施の形態】以下図面を参照して本発明の実施
の形態について説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0019】図1は本発明の画像データの補間演算方法
を実施するための具体的な補間演算装置1を内包する画
像再生システムを示す概略ブロック図である。図示の画
像再生システムは、画像を表す画像データを記憶した画
像データ記憶装置22と、所定の再生フォーマットに適合
するように画像データ記憶装置22に記憶された画像デー
タ(以下、1次画像データまたは原画像データという)
Sorg に対して補間演算を行う補間演算装置1と、補間
演算装置1において補間演算がなされた所望とする拡大
率の画像を再生するCRTやプリンタ等の再生装置23と
を備えた構成である。
FIG. 1 is a schematic block diagram showing an image reproduction system including a specific interpolation calculation device 1 for carrying out the image data interpolation calculation method of the present invention. The illustrated image reproduction system includes an image data storage device 22 that stores image data representing an image, and image data stored in the image data storage device 22 so as to conform to a predetermined reproduction format (hereinafter referred to as primary image data or Original image data)
The configuration includes an interpolation calculation device 1 that performs an interpolation calculation on Sorg, and a reproduction device 23 such as a CRT or a printer that reproduces an image of a desired enlargement ratio that has been interpolated by the interpolation calculation device 1.

【0020】ここで本発明の実施の形態に使用される1
次画像データSorg は、等間隔の周期でサンプリングさ
れた一方向に配列されたサンプリング点(画素)
k-2 ,Xk-1 ,Xk ,Xk+1 ,Xk+2 ,…に対応した
デジタル画像データYk-2 ,Yk-1,Yk ,Yk+1 ,Y
k+2 ,…である。
1 used in the embodiment of the present invention.
The next image data Sorg is sampling points (pixels) arrayed in one direction sampled at equal intervals.
Digital image data Y k-2 , Y k-1 , Y k , Y k + 1 , Y corresponding to X k-2 , X k-1 , X k , X k + 1 , X k + 2 , ...
k + 2 , ...

【0021】補間演算装置1は、原画像の局所的な画像
データを入力とし、後述するように補間係数を重み付け
線形結合する際の重み付け係数を出力するようにあらか
じめ学習されたニューラルネットワーク2と、オリジナ
ルのサンプリング点Xk 〜Xk+1 間に設けられた補間点
p の補間画像データである第1の2次画像データYp1
を表す複数種類(本実施の形態においては5種類)の補
間方法における各原画像データYk-1 、Yk 、Yk+1
k+2にそれぞれ対応する補間係数bjk-1 、bjk
bjk+1 、bjk+2 (j=1〜5)を記憶した補間係数
記憶手段3と、補間係数記憶手段3に記憶された補間係
数と、ニューラルネットワーク2から出力された重み付
け係数wj(j=1〜5)とを次式(1)〜(4)にし
たがって、原画像データYk-1 、Yk 、Yk+1 、Yk+2
に対応するごとに重み付けして加算する補間係数演算手
段4と、 ak-1 =Σwj・bjk-1 (1) ak =Σwj・bjk (2) ak+1 =Σwj・bjk+1 (3) ak+2 =Σwj・bjk+2 (4) あらかじめ、下記式(5)の3次のスプライン補間関数
演算式を記憶し、補間係数演算手段4により求められた
重み付け係数wjに応じた補間係数ak-1 、ak 、a
k+1 、ak+2 および原画像データYk-1 、Yk
k+1 、Yk+2 に基づいて、補間点Xp の補間画像デー
タYp を式(5)にしたがって求める補間演算手段5と
を備えた構成である。
The interpolation calculation device 1 receives the local image data of the original image as an input, and a neural network 2 that has been preliminarily learned so as to output a weighting coefficient for weighting linear combination of the interpolation coefficients, as described later, The first secondary image data Y p1 which is the interpolated image data of the interpolation point X p provided between the original sampling points X k and X k + 1.
Each of the original image data Y k−1 , Y k , Y k + 1 in a plurality of types (five types in this embodiment) of
The interpolation coefficients bj k-1 , bj k , which correspond to Y k + 2 , respectively.
bj k + 1 , bj k + 2 (j = 1 to 5) are stored in the interpolation coefficient storage unit 3, the interpolation coefficient stored in the interpolation coefficient storage unit 3, and the weighting coefficient wj (output from the neural network 2 j = 1 to 5) and original image data Y k−1 , Y k , Y k + 1 , Y k + 2 according to the following equations (1) to (4).
And interpolation coefficient calculation means 4 for weighting and adding for each, and a k-1 = Σwj · bj k-1 (1) ak = Σwj · bj k (2) ak + 1 = Σwj · bj k +1 (3) a k + 2 = Σwj · bj k + 2 (4) The cubic spline interpolation function calculation formula of the following formula (5) is stored in advance, and the weighting coefficient calculated by the interpolation coefficient calculation means 4 is stored. interpolation coefficients a k-1 , a k , a according to wj
k + 1 , a k + 2 and original image data Y k-1 , Y k ,
This is a configuration including an interpolation calculation means 5 for obtaining the interpolated image data Y p of the interpolation point X p based on Y k + 1 and Y k + 2 according to the equation (5).

【0022】 Yp =ak-1 k-1 +ak k +ak+1 k+1 +ak+2 k+2 (5) なお、補間係数記憶手段3に記憶された補間係数bj
k-1 、bjk 、bjk+1、bjk+2 は、あらかじめ以下
のアルゴリズムにより求められたものである。なお、本
実施の形態においては、b1がBスプライン補間、b2
が画像に対して縦方向線形かつ横方向リプリケーション
(以下縦線形横リプリケーションとする)、b3が画像
に対して横方向線形かつ縦方向リプリケーション(以下
横線形縦リプリケーションとする)、b4が画像に対し
て右上がりに傾く右斜め用補間、そしてb5が画像に対
して左上がりに傾く左斜め用補間をそれぞれ表す。
Y p = a k-1 Y k-1 + a k Y k + a k + 1 Y k + 1 + a k + 2 Y k + 2 (5) The interpolation coefficient stored in the interpolation coefficient storage means 3 bj
k-1 , bj k , bj k + 1 and bj k + 2 are obtained in advance by the following algorithm. In the present embodiment, b1 is B spline interpolation and b2 is b2.
Is a vertical linear and horizontal replication (hereinafter referred to as vertical linear horizontal replication) with respect to the image, b3 is a horizontal linear and vertical replication with respect to the image (hereinafter referred to as horizontal linear vertical replication), and b4 is relative to the image. And slanting to the right, and b5 denotes slanting to the left with respect to the image.

【0023】まずb1のBスプライン補間演算について
説明する。なお、本発明の実施の形態において得られる
原画像データは正方形格子状に配列されているが、ここ
では説明のため1次元状に並べられた原画像データを例
に挙げて説明する。
First, the B-spline interpolation calculation of b1 will be described. Note that the original image data obtained in the embodiment of the present invention is arranged in a square lattice shape, but here, for explanation, the original image data arranged in a one-dimensional form will be described as an example.

【0024】原画像からデジタル的に読み取って得られ
た、連続する画素Xk-2 ,Xk-1 ,Xk ,Xk+1 ,X
k+2 ,…の原画像データを図2に示すようにそれぞれY
k-2 ,Yk-1 ,Yk ,Yk+1 ,Yk+2 ,…とする。ここ
で、3次のスプライン補間関数は、各区間Xk-2 〜X
k-1 ,Xk-1 〜Xk ,Xk 〜Xk+1 ,Xk+1 〜Xk+2
とにそれぞれ設定され、各区間に対応するスプライン補
間関数をfk-2 ,fk-1 ,fk ,fk+1 ,fk+2 とす
る。この補間関数はいずれも各区間の位置を変数とする
3次関数である。
Successive pixels X k-2 , X k-1 , X k , X k + 1 , X obtained by digitally reading the original image
As shown in FIG. 2, the original image data of k + 2 , ...
Let k-2 , Y k-1 , Y k , Y k + 1 , Y k + 2 , .... Here, the cubic spline interpolation function is applied to each section X k-2 to X.
k−1 , X k−1 to X k , X k to X k + 1 , X k + 1 to X k + 2 are respectively set, and spline interpolation functions corresponding to the respective sections are f k−2 , f Let k-1 , f k , f k + 1 , f k + 2 . Each of these interpolation functions is a cubic function having the position of each section as a variable.

【0025】ここでまず、補間しようとする点(以下、
補間点という)Xp が区間Xk 〜Xk+1 の範囲にある場
合について説明する。なお、区間Xk 〜Xk+1 に対応す
るスプライン補間関数fk は下記の式(6)で表され
る。
First, the point to be interpolated (hereinafter,
A case will be described in which X p (referred to as an interpolation point) is in the range of section X k to X k + 1 . The spline interpolation function f k corresponding to the sections X k to X k + 1 is expressed by the following equation (6).

【0026】 fk (x)=Ak 3 +Bk 2 +Ck x+Dk (6) このBスプライン補間演算は、元のサンプリング点(画
素)を通ることは必要とされない代わりに、第1階微分
係数および第2階微分係数(f″(X)で表す)が各区
間間で連続することが必要とされる。
F k (x) = A k x 3 + B k x 2 + C k x + D k (6) This B-spline interpolation operation does not require passing through the original sampling points (pixels), instead of the first The second derivative and the second derivative (represented by f ″ (X)) are required to be continuous between each section.

【0027】すなわち、上記式(6)において、 fk ′(Xk )=fk-1 ′(Xk ) (7) fk ′(Xk+1 )=fk+1 ′(Xk+1 ) (8) fk ″(Xk )=fk-1 ″(Xk ) (9) fk ″(Xk+1 )=fk+1 ″(Xk+1 ) (10) が条件となる。ただし、画素Xk における第1階微分係
数が、その画素Xk の前後の画素であるXk-1 とXk+1
とについて、これらの画像データYk-1 、Yk+1の勾配
(Yk+1 −Yk-1 )/(Xk+1 −Xk-1 )に一致するこ
とが条件であるから、下記式(11)を満たす必要があ
る。
That is, in the above equation (6), f k ′ (X k ) = f k−1 ′ (X k ) (7) f k ′ (X k + 1 ) = f k + 1 ′ (X k +1 ) (8) f k ″ (X k ) = f k−1 ″ (X k ) (9) f k ″ (X k + 1 ) = f k + 1 ″ (X k + 1 ) (10) Is a condition. However, X k-1 first-order differential coefficient at the picture element X k is with respect to the picture elements X k and X k + 1
For and, the condition is that they match the gradient (Y k + 1 −Y k−1 ) / (X k + 1 −X k−1 ) of these image data Y k−1 , Y k + 1. , It is necessary to satisfy the following formula (11).

【0028】 fk ′(Xk )=(Yk+1 −Yk-1 )/(Xk+1 −Xk-1 ) (11) 同様に、画素Xk+1 における第1階微分係数が、その画
素Xk+1 の前後の画素であるXk とXk+2 とについて、
これらの画像データYk 、Yk+2 の勾配(Yk+2
k )/(Xk+2 −Xk )に一致することが条件である
から、下記式(12)を満たす必要がある。
F k ′ (X k ) = (Y k + 1 −Y k−1 ) / (X k + 1 −X k−1 ) (11) Similarly, the first derivative of the pixel X k + 1 . For coefficients X k and X k + 2 that are the pixels before and after the pixel X k + 1 ,
Gradient (Y k + 2 − of these image data Y k , Y k + 2
The condition is that Yk ) / (X k + 2- X k ), and therefore it is necessary to satisfy the following expression (12).

【0029】 fk ′(Xk+1 )=(Yk+2 −Yk )/(Xk+2 −Xk ) (12) また関数f(X)は一般に下記式(13)に示すもので近
似される。
F k ′ (X k + 1 ) = (Y k + 2 −Y k ) / (X k + 2 −X k ) (12) The function f (X) is generally expressed by the following equation (13). It is approximated by things.

【0030】 f(X)=f(0) +f′(0) X+{f″(0)/2}X2 (13) ここで、各区間Xk-2 〜Xk-1 ,Xk-1 〜Xk ,Xk
k+1 ,Xk+1 〜Xk+2 の間隔(格子間隔という)を1
とし、画素Xk からの画素Xk+1 方向への補間点Xp
位置をt(0≦t≦1)とすれば、式(7)、(8)、
(9)〜(13)より、 fk ′(0)=Ck =(Yk+1 −Yk-1 )/2 fk ′(1)=3Ak +2Bk +Ck =(Yk+2
k )/2 fk ″(0)=Yk+1 −2Yk +Yk-1 =2B したがって、 Ak =(Yk+2 −3Yk+1 +3Yk −Yk-1 )/6 Bk =(Yk+1 −2Yk +Yk-1 )/2 Ck =(Yk+1 −Yk-1 )/2 ここで、Dk は未知のため、 Dk =(D1 k+2 +D2 k+1 +D3 k +D4
k-1 )/6 とおく。また、スプライン補間関数fk (x)は上述の
通り、X=tなる変数変換をしているため、 fk (x)=fk (t) となる。よって、 fk (t)={(Yk+2 −3Yk+1 +3Yk −Yk-1
/6}t3 +{(Yk+1 −2Yk +Yk-1 )/2}t2
+{(Yk+1 −Yk-1 )/2}t+(D1 k+2 +D2
k+1 +D3 k +D4 k-1 )/6 となり、これを画像データYk-1 ,Yk ,Yk+1 ,Y
k+2 について整理すると、下記式(14)で表すことがで
きる。
F (X) = f (0) + f ′ (0) X + {f ″ (0) / 2} X 2 (13) Here, each section X k−2 to X k−1 , X k− 1 ~ X k , X k ~
The interval between X k + 1 , X k + 1 to X k + 2 (referred to as lattice interval) is 1
And then, if the position of the interpolation point X p in the pixel X k + 1 directions from the pixel X k and t (0 ≦ t ≦ 1) , the formula (7), (8),
(9) from ~ (13), f k ' (0) = C k = (Y k + 1 -Y k-1) / 2 f k' (1) = 3A k + 2B k + C k = (Y k + 2-
Y k) / 2 f k " (0) = Y k + 1 -2Y k + Y k-1 = 2B Therefore, A k = (Y k + 2 -3Y k + 1 + 3Y k -Y k-1) / 6 B k = (Y k + 1 −2Y k + Y k−1 ) / 2 C k = (Y k + 1 −Y k−1 ) / 2 Since D k is unknown, D k = (D 1 Y k + 2 + D 2 Y k + 1 + D 3 Y k + D 4 Y
k-1 ) / 6. Further, as described above, the spline interpolation function f k (x) performs the variable transformation of X = t, so that f k (x) = f k (t). Therefore, f k (t) = {(Y k + 2 −3Y k + 1 + 3Y k −Y k−1 )
/ 6} t 3 + {(Y k + 1 -2Y k + Y k -1 ) / 2} t 2
+ {(Y k + 1 −Y k−1 ) / 2} t + (D 1 Y k + 2 + D 2
Y k + 1 + D 3 Y k + D 4 Y k-1 ) / 6, which is the image data Y k-1 , Y k , Y k + 1 , Y
By rearranging k + 2 , it can be expressed by the following equation (14).

【0031】 fk (t)={(−t3 +3t2 −3t+D4 )/6}Yk-1 +{(3t3 −6t2 +D3 )/6}Yk +{(−3t3 +3t2 +3t+D2 )/6}Yk+1 +{(t3 +D1 )/6}Yk+2 (14) ここで、t=1とおけば、 fk (1)={(D4 −1)/6}Yk-1 +{(D3
3)/6}Yk +{(D2 +3)/6}Yk+1 +{(D
1 +1)/6}Yk+2 次に区間Xk+1 〜Xk+2 についての式(14)は、 fk+1 (t)={(−t3 +3t2 −3t+D4 )/6}Yk +{(3t3 −6t2 +D3 )/6}Yk+1 +{(−3t3 +3t2 +3t+D2 )/6}Yk+2 +{(t3 +D1 )/6}Yk+3 (15) ここで、t=0とおけば、 fk+1 (0)=(D4 /6)Yk +(D3 /6)Yk+1
+(D2 /6)Yk+2 +(D1 /6)Yk+3 連続性の条件(fk (1)=fk+1 (0))、および各
原画像データに対応する係数同士が等しいという条件に
より、D4 −1=0,D3 −3=D4 ,D2 +3=
3 ,D1 +1=D2 ,D1 =0、となり、したがっ
て、 Dk =(Yk+1 +4Yk +Yk-1 )/6 となる。よって、 Yp =fk (t)={(−t3 +3t2 −3t+1)/6}Yk-1 +{(3t3 −6t2 +4)/6}Yk +{(−3t3 +3t2 +3t+1)/6}Yk+1 +{t3 /6}Yk+2 (16) したがって、原画像データYk-1 、Yk 、Yk+1 、Y
k+2 にそれぞれ対応する補間係数b1k-1 、b1k 、b
k+1 、b1k+2 は、 b1k-1 =(−t3 +3t2 −3t+1)/6 b1k =(3t3 −6t2 +4)/6 b1k+1 =(−3t3 +3t2 +3t+1)/6 b1k+2 =t3 /6 となる。
F k (t) = {(− t 3 + 3t 2 −3t + D 4 ) / 6} Y k−1 + {(3t 3 −6t 2 + D 3 ) / 6} Y k + {(− 3t 3 + 3t 2 + 3t + D 2 ) / 6} Y k + 1 + {(t 3 + D 1 ) / 6} Y k + 2 (14) Here, if t = 1, then f k (1) = {(D 4 − 1) / 6} Y k-1 + {(D 3
3) / 6} Y k + {(D 2 +3) / 6} Y k + 1 + {(D
1 +1) / 6} Y k + 2 Next, the equation (14) for the sections X k + 1 to X k + 2 is f k + 1 (t) = {(− t 3 + 3t 2 −3t + D 4 ) / 6} Y k + {(3t 3 -6t 2 + D 3) / 6} Y k + 1 + {(- 3t 3 + 3t 2 + 3t + D 2) / 6} Y k + 2 + {(t 3 + D 1) / 6 } Y k + 3 (15) wherein, if put as t = 0, f k + 1 (0) = (D 4/6) Y k + (D 3/6) Y k + 1
+ (D 2/6) Y k + 2 + (D 1/6) Y k + 3 continuity conditions (f k (1) = f k + 1 (0)), and corresponding to each original image data Under the condition that the coefficients are equal, D 4 −1 = 0, D 3 −3 = D 4 , D 2 + 3 =
D 3 , D 1 + 1 = D 2 , D 1 = 0, and therefore D k = (Y k + 1 + 4Y k + Y k-1 ) / 6. Therefore, Y p = f k (t ) = {(- t 3 + 3t 2 -3t + 1) / 6} Y k-1 + {(3t 3 -6t 2 +4) / 6} Y k + {(- 3t 3 + 3t 2 + 3t + 1) / 6 } Y k + 1 + {t 3/6} Y k + 2 (16) Therefore, the original image data Y k-1, Y k, Y k + 1, Y
interpolation coefficients b1 k-1 , b1 k , b corresponding to k + 2 , respectively
1 k + 1 and b1 k + 2 are: b1 k-1 = (-t 3 + 3t 2 -3t + 1) / 6 b1 k = (3t 3 -6t 2 +4) / 6 b1 k + 1 = (-3t 3 + 3t a 2 + 3t + 1) / 6 b1 k + 2 = t 3/6.

【0032】以上の演算を各区間Xk-2 〜Xk-1 ,X
k-1 〜Xk ,Xk 〜Xk+1 ,Xk+1 〜Xk+2 について繰
り返すことにより、原画像データの全体について補間係
数b1を求めることができる。
The above calculation is performed for each section X k-2 to X k-1 , X
By repeating for k−1 to X k , X k to X k + 1 , and X k + 1 to X k + 2 , the interpolation coefficient b1 can be obtained for the entire original image data.

【0033】また、実際の画像は画素が2次元に配列さ
れて形成されるため、上記補間係数b1k-1 、b1k
b1k+1 、b1k+2 は、画像を構成する画素の互いに異
なる2つの配列方向(i方向、j方向とする)ごとに求
められるものである。
Further, since an actual image is formed by arranging pixels two-dimensionally, the above interpolation coefficients b1 k-1 , b1 k ,
b1 k + 1 and b1 k + 2 are obtained for each of two different array directions (i direction and j direction) of the pixels forming the image.

【0034】次いで、縦線形横リプリケーションについ
て説明する。縦線形横リプリケーションは画像上の縦方
向に延びるエッジの鮮鋭度を強調することができる補間
方法であり、図3に示すように、補間画素P′0 を囲む
近傍4点の原画像の原画素PA 、PB 、PC 、PD の原
画像データSA 、SB 、SC 、SD を用いて補間を行う
ものである。なお、図3においては縦方向にy軸を、横
方向にx軸を設定する。
Next, the vertical linear cross replication will be described. The vertical linear horizontal replication is an interpolation method capable of emphasizing the sharpness of edges extending in the vertical direction on the image, and as shown in FIG. 3, the original pixels of the original image of four neighboring pixels surrounding the interpolated pixel P ′ 0. The interpolation is performed using the original image data S A , S B , S C , and S D of P A , P B , P C , and P D. In FIG. 3, the y axis is set in the vertical direction and the x axis is set in the horizontal direction.

【0035】ここで原画素PA 〜PB 間、PC 〜P
D 間、PA 〜PC 間、PB 〜PD 間のピッチをそれぞれ
1とし、補間画素P′0 の、原画素PA (PB )からの
y軸方向の距離がTyである場合、まず補間画素P′0
のy軸方向の位置に対応する補間画素P′m、P′nの
補間画像データS′m、S′nを、下記の式に基づく線
形補間の演算により求める。
Here, between the original pixels P A and P B , and P C to P
When the pitches between D, between P A and P C, and between P B and P D are 1, respectively, and the distance of the interpolation pixel P ′ 0 from the original pixel P A (P B ) in the y-axis direction is Ty. , The interpolation pixel P ′ 0
The interpolated image data S'm, S'n of the interpolated pixels P'm, P'n corresponding to the position in the y-axis direction are calculated by linear interpolation based on the following equation.

【0036】S′m=(1−Ty)SA +TySD S′n=(1−Ty)SB +TySC 次いで、補間画素P′0 と原画素PA および原画素PD
を結ぶ線分l1との距離L1、ならびに補間画素P′0
と原画素PB および原画素PC を結ぶ線分l2との距離
L2を求め、L1≦L2の場合は、 P′0 =S′m とし、L1>L2の場合は、 P′0 =S′n とする最近傍補間(リプリケーション)を行う。
[0036] S'm = (1-Ty) S A + TyS D S'n = (1-Ty) S B + TyS C then interpolated pixel P '0 and the original pixel P A and the original pixel P D
Distance L1 between the line segment l1 connecting, and interpolated pixel P '0
And a line segment L2 connecting the original pixel P B and the original pixel P C are obtained. If L1 ≦ L2, then P ′ 0 = S′m, and if L1> L2, P ′ 0 = S The nearest neighbor interpolation (replication) with ‘n’ is performed.

【0037】以上の演算を他の補間画素P′0 について
も同様に適用して、縦線形横リプリケーションの各補間
画像データS′を求めることができる。
[0037] 'and similarly applied to 0, the interpolation image data S of a vertical linear horizontal replication' the above operations other interpolation pixel P can be obtained.

【0038】次いで、横線形縦リプリケーションについ
て説明する。横線形縦リプリケーションは画像上の横方
向に延びるエッジの鮮鋭度を強調することができる補間
方法であり、図4に示すように、補間画素P′0 を囲む
近傍4点の原画像の原画素PA 、PB 、PC 、PD の原
画像データSA 、SB 、SC 、SD を用いて補間を行う
ものである。なお、図4においては図3と同様に縦方向
にy軸を、横方向にx軸を設定する。
Next, the horizontal linear vertical replication will be described. The horizontal linear vertical replication is an interpolation method capable of emphasizing the sharpness of the edge extending in the horizontal direction on the image, and as shown in FIG. 4, the original pixels of the original image of four neighboring points surrounding the interpolated pixel P ′ 0. The interpolation is performed using the original image data S A , S B , S C , and S D of P A , P B , P C , and P D. In FIG. 4, the y-axis is set in the vertical direction and the x-axis is set in the horizontal direction as in FIG.

【0039】ここで原画素PA 〜PB 間、PC 〜P
D 間、PA 〜PC 間、PB 〜PD 間のピッチをそれぞれ
1とし、補間画素P′0 の、原画素PA (PC )からの
x軸方向の距離がTxである場合、まず補間画素P′0
のx軸方向の位置に対応する補間画素P′m、P′nの
補間画像データS′m、S′nを、下記の式に基づく線
形補間の演算により求める。
Here, between the original pixels P A and P B , and P C to P
When the pitches between D, between P A and P C, and between P B and P D are 1, and the distance of the interpolated pixel P ′ 0 from the original pixel P A (P C ) in the x-axis direction is Tx. , The interpolation pixel P ′ 0
The interpolated image data S'm, S'n of the interpolated pixels P'm, P'n corresponding to the position in the x-axis direction are calculated by linear interpolation based on the following equation.

【0040】S′m=(1−Tx)SA +TxSB S′n=(1−Tx)SD +TxSC 次いで、補間画素P′0 と原画素PA および原画素PB
を結ぶ線分l3との距離L3、ならびに補間画素P′0
と原画素PD および原画素PC を結ぶ線分l4との距離
L4を求め、L3≦L4の場合は、 P′0 =S′m とし、L3>L4の場合は、 P′0 =S′n とする最近傍補間(リプリケーション)を行う。
[0040] S'm = (1-Tx) S A + TxS B S'n = (1-Tx) S D + TxS C then interpolated pixel P '0 and the original pixel P A and the original pixel P B
The distance L3 from the line segment l3 connecting the pixel and the interpolation pixel P ′ 0
The distance L4 between the original pixel P D and the line segment 14 connecting the original pixel P C and the original pixel P C is obtained. If L3 ≦ L4, then P ′ 0 = S′m, and if L3> L4, P ′ 0 = S The nearest neighbor interpolation (replication) with ‘n’ is performed.

【0041】以上の演算を他の補間画素P′0 について
も同様に適用して、横線形縦リプリケーションの各補間
画像データS′を求めることができる。
[0041] 'and similarly applied to 0, the interpolation image data S of the horizontal linear vertical replication' the above operations other interpolation pixel P can be obtained.

【0042】次いで右斜め用補間について説明する。右
斜め用補間は、右上がりに傾くエッジの鮮鋭度を強調す
ることができる補間方法であり、図5に示すように、補
間画素P′0 を囲む近傍4点の原画像の原画素PA 、P
B 、PC 、PD の原画像データSA 、SB 、SC 、SD
を用いて補間を行うものである。
Next, the right diagonal interpolation will be described. The diagonal interpolation for rightward is an interpolation method capable of emphasizing the sharpness of an edge inclined upward to the right, and as shown in FIG. 5, the original pixels P A of the original image of four neighboring pixels surrounding the interpolated pixel P ′ 0. , P
B, P C, the original image data S A of P D, S B, S C , S D
Is used for interpolation.

【0043】ここで原画素PA 〜PB 間、PC 〜P
D 間、PA 〜PC 間、PB 〜PD 間のピッチをそれぞれ
1とし、補間画素P′0 を通って右斜め上方に傾く傾き
が1の直線l5と原画素PA および原画素PB を結ぶ線
分l3との交点P′mの原画素PA (PD )からのx軸
方向の距離がTx、直線l5と原画素PA および原画素
D を結ぶ線分l1との交点P′nの原画素P
A (PB )からのy軸方向の距離がTyである場合、ま
ず補間画素P′m、P′nの補間画像データS′m、
S′nを、下記の式に基づく線形補間の演算により求め
る。
Here, between the original pixels P A and P B , and P C to P
The pitch between D, between P A and P C, and between P B and P D is 1, respectively, and the straight line 15 and the original pixel P A and the original pixel whose inclination is 1 obliquely upward to the right through the interpolation pixel P ′ 0 The distance in the x-axis direction from the original pixel P A (P D ) at the intersection P′m with the line segment 13 connecting P B is Tx, and the straight line 15 is the line segment 11 connecting the original pixel P A and the original pixel P D. The original pixel P at the intersection P'n of
When the distance in the y-axis direction from A (P B ) is Ty, first, the interpolated image data S′m of the interpolated pixels P′m and P′n,
S'n is calculated by linear interpolation calculation based on the following equation.

【0044】S′m=(1−Tx)SA +TxSB S′n=(1−Tx)SA +TxSD 次いで、直線l5のP′mおよびP′n間の距離L5を
求め、さらに補間画素P′0 のP′mからの距離L′を
求める。そして補間画像データS′m、S′nを用いた
下記の式に基づく線形補間の演算を行って、補間画像デ
ータS′0 を求める。
S'm = (1-Tx) S A + TxS B S'n = (1-Tx) S A + TxS D Then, the distance L5 between P'm and P'n of the straight line 15 is determined and further interpolated. Request 'distance L from P'm 0' pixels P. Then, the interpolation image data S ′ 0 is obtained by performing the linear interpolation calculation based on the following equation using the interpolation image data S′m and S′n.

【0045】S′0 =(L5−L′)/L5・S′m+
L′/L5・S′n 以上の演算を他の補間画素P′0 についても同様に適用
して、各補間画像データS′を求めることができる。
[0045] S '0 = (L5-L ') / L5 · S'm +
L ′ / L5 · S′n The above calculation can be similarly applied to other interpolation pixels P ′ 0 to obtain each interpolated image data S ′.

【0046】次いで左斜め用補間について説明する。左
斜め用補間は、左上がりに傾くエッジの鮮鋭度を強調す
ることができる補間方法であり、図6に示すように、補
間画素P′0 を囲む近傍4点の原画像の原画素PA 、P
B 、PC 、PD の原画像データSA 、SB 、SC 、SD
を用いて補間を行うものである。
Next, the left diagonal interpolation will be described. The diagonal interpolation for the left is an interpolation method capable of emphasizing the sharpness of an edge inclined to the upper left, and as shown in FIG. 6, the original pixels P A of the original image of four neighboring pixels surrounding the interpolated pixel P ′ 0. , P
B, P C, the original image data S A of P D, S B, S C , S D
Is used for interpolation.

【0047】ここで原画素PA 〜PB 間、PC 〜P
D 間、PA 〜PC 間、PB 〜PD 間のピッチをそれぞれ
1とし、補間画素P′0 を通って左斜め上方に傾く傾き
が1の直線l6と原画素PA および原画素PB を結ぶ線
分l3との交点P′mの原画素PA (PD )からのx軸
方向の距離がTx、直線l6と原画素PB および原画素
C を結ぶ線分l1との交点P′nの原画素PB からの
y軸方向の距離がTyである場合、まず補間画素P′
m、P′nの補間画像データS′m、S′nを、下記の
式に基づく線形補間の演算により求める。
Here, between the original pixels P A and P B , and P C to P
The straight line 16 and the original pixel P A and the original pixel having a pitch of 1 between D , P A to P C , and P B to P D and each of which is inclined diagonally upward to the left through the interpolation pixel P ′ 0 are 1. The distance in the x-axis direction from the original pixel P A (P D ) of the intersection point P′m with the line segment 13 connecting P B is Tx, and the line segment 16 is the line segment 11 connecting the original pixel P B and the original pixel P C. If the distance in the y-axis direction from the original pixel P B of the intersection point P′n of
Interpolated image data S′m and S′n of m and P′n are obtained by a linear interpolation operation based on the following equation.

【0048】S′m=(1−Tx)SA +TxSB S′n=(1−Tx)SB +TxSD 次いで、直線l6のP′mおよびP′n間の距離L6を
求め、さらに補間画素P′0 のP′mからの距離L′を
求める。そして補間画像データS′m、S′nを用いた
下記の式に基づく線形補間の演算を行って、補間画像デ
ータS′0 を求める。
S'm = (1-Tx) S A + TxS B S'n = (1-Tx) S B + TxS D Then, the distance L6 between P'm and P'n of the straight line 16 is obtained and further interpolated. Request 'distance L from P'm 0' pixels P. Then, the interpolation image data S ′ 0 is obtained by performing the linear interpolation calculation based on the following equation using the interpolation image data S′m and S′n.

【0049】S′0 =(L6−L′)/L6・S′m+
L′/L6・S′n 以上の演算を他の補間画素P′0 についても同様に適用
して、各補間画像データS′を求めることができる。
[0049] S '0 = (L6-L ') / L6 · S'm +
L ′ / L6 · S′n The above calculation can be similarly applied to other interpolation pixels P ′ 0 to obtain each interpolated image data S ′.

【0050】このようにして求められた各補間方法によ
る補間係数が記憶手段3に記憶される。
The interpolation coefficient obtained by each interpolation method is stored in the storage means 3.

【0051】次に、ニューラルネットワーク2において
学習を繰り返して、上述した補間方法により求められた
補間係数bjk-1 、bjk 、bjk+1 、bjk+2 を線形
結合して新たな補間係数を求めるための重み付け係数を
出力するニューラルネットワークの作り方、およびその
作用を説明する。
Next, learning is repeated in the neural network 2 to linearly combine the interpolation coefficients bj k-1 , bj k , bj k + 1 , bj k + 2 obtained by the above-described interpolation method to newly perform interpolation. A method of making a neural network that outputs weighting coefficients for obtaining coefficients and its operation will be described.

【0052】図7は誤差逆伝播学習(バックプロパゲー
ション)機能を備えたニューラルネットワークの一例を
表す図である。誤差逆伝播学習(バックプロパゲーショ
ン)とは、ニューラルネットワークに所定の機能を付与
するためのよく知られた学習方法で、ニューラルネット
ワークの出力を正解(教師信号)と比べることにより、
出力側から入力側に向かって順次結合の重み(シナプス
結合のウェイト)を修正するというものである。
FIG. 7 is a diagram showing an example of a neural network having an error back propagation learning (back propagation) function. Error backpropagation learning (backpropagation) is a well-known learning method for giving a predetermined function to a neural network. By comparing the output of the neural network with the correct answer (teaching signal),
The weight of the connection (the weight of the synaptic connection) is sequentially corrected from the output side to the input side.

【0053】図7に示すように、このニューラルネット
ワークの第1層(入力層)、第2層(中間層)、第3層
(出力層)はそれぞれn1 個,n2 個、5個のユニット
から構成され、第1層(入力層)に入力される各信号F
1 ,F2 ,…,Fn は原画像の局所的なパターンである
画像の一部に対応する画像信号であり、第3層(出力
層)からの5つの出力w1からw5は補間係数を線形結
合するための重み付け係数に対応した信号である。第k
層のi番目のユニットをUk,i 、該ユニットUk,i への
各入力をXk,i 、各出力をYk,i 、Uk,i からUk+1,j
への結合の重みをWk,i;k+1,j とし、各ユニットUk,j
は同一の特性関数
As shown in FIG. 7, the first layer (input layer), the second layer (intermediate layer), and the third layer (output layer) of this neural network are n 1 , n 2 , and 5, respectively. Each signal F composed of a unit and input to the first layer (input layer)
1 , F 2 , ..., F n are image signals corresponding to a part of the image that is a local pattern of the original image, and the five outputs w1 to w5 from the third layer (output layer) are interpolation coefficients. It is a signal corresponding to a weighting coefficient for linear combination. The k th
The i-th unit of the layer is Uk, i, each input to the unit Uk, i is Xk, i, each output is Yk, i, Uk, i to Uk + 1, j
Let Wk, i; k + 1, j be the weight of coupling to each unit Uk, j
Are the same characteristic functions

【0054】[0054]

【数1】 [Equation 1]

【0055】を有するものとする。このとき、各ユニッ
トUk,j の入力Xk,j 、出力Yk,j は、
It is assumed that At this time, the input Xk, j and the output Yk, j of each unit Uk, j are

【0056】[0056]

【数2】 [Equation 2]

【0057】[0057]

【数3】 (Equation 3)

【0058】となる。ただし入力層を構成する各ユニッ
トU1,i(i =1,2,…,n1 ) への各入力F1 ,F2
…,Fn1は重みづけされずにそのまま各ユニットU1,i
(i =1,2,…,n1 ) に入力される。入力されたn1
の信号F1 ,F2 ,…,Fn1は、各結合の重みWk,i;k+
1,j によって重み付けられながら最終的な出力w1〜w
5にまで伝達され、これにより重み付け係数に対応した
信号が求められる。
It becomes However, each input F 1 , F 2 , to each unit U1, i (i = 1,2, ..., n 1 ) forming the input layer
..., F n1 is not weighted and is directly applied to each unit U1, i
(i = 1,2, ..., n 1) is input to. The input n 1 signals F 1 , F 2 , ..., F n1 have weights Wk, i; k + of each coupling.
Final outputs w1 to w while being weighted by 1, j
5, and a signal corresponding to the weighting coefficient is obtained.

【0059】ここで、上記各結合の重みWk,i;k+1,j の
決定方法について説明する。まず乱数により各結合の重
みWk,i;k+1,j の初期値が与えられる。このとき、入力
1〜Fn1が最大に変動しても、出力w1〜w5が所定
範囲内の値またはこれに近い値となるように、その乱数
の範囲を制限しておくことが好ましい。
Here, a method of determining the weights Wk, i; k + 1, j of the respective connections will be described. First, an initial value of the weight Wk, i; k + 1, j of each connection is given by a random number. In this case, even if the input F 1 to F n1 is varied to maximize the output w1~w5 such that a value or a value close thereto within a predetermined range, it is preferable to limit the scope of the random number.

【0060】まず、原画像における局所的な画像の特性
(平坦部であること、縦方向に延びるエッジがあること
など)が既知の原画像データをn1 個の入力F1
2 ,…,Fn1として、ニューラルネットワークに入力
する。本発明の特徴として、入力される局所的なパター
ンに含まれる画像中の局所的なパターンに適した補間係
数の重み付けが他の補間係数の重み付けと比較して大き
くなるような重み付け係数が出力されるようにする。
First, the original image data of which the local image characteristics in the original image (being a flat portion, having edges extending in the vertical direction, etc.) are known are input into n 1 input F 1 ,
Input to the neural network as F 2 , ..., F n1 . As a feature of the present invention, a weighting coefficient is output so that the weighting of the interpolation coefficient suitable for the local pattern in the image included in the input local pattern is larger than the weighting of other interpolation coefficients. To do so.

【0061】このn1 個の入力F1 ,F2 ,…,Fn1
図7に示すニューラルネットワークに入力され、各ユニ
ットUk,i の出力Yk,i がモニタされる。
The n 1 inputs F 1 , F 2 , ..., F n1 are input to the neural network shown in FIG. 7, and the output Yk, i of each unit Uk, i is monitored.

【0062】各出力Yk,i が求められると、最終的な出
力であるw1〜w5と、この画像に関し正しい補正値と
しての教師信号との二乗誤差
When each output Yk, i is obtained, the square error between the final outputs w1 to w5 and the teacher signal as a correct correction value for this image.

【0063】[0063]

【数4】 (Equation 4)

【0064】が求められる。この二乗誤差E1 〜E5
それぞれ最小となるように、以下のようにして各結合の
重みWk,i;k+1,j が修正される。なお、以下w1の出力
に関して述べw2〜w5についてはw1と同様であるた
め、ここでは省略する。
Is required. The weights Wk, i; k + 1, j of the respective connections are corrected as follows so that the squared errors E 1 to E 5 are minimized. Note that the output of w1 will be described below, and w2 to w5 are the same as w1 and will be omitted here.

【0065】二乗誤差E1 を最小にするには、このE1
はWk,i;k+1,j の関数であるから
To minimize the squared error E 1 , this E 1
Is a function of Wk, i; k + 1, j

【0066】[0066]

【数5】 (Equation 5)

【0067】このように各結合の重みWk,i;k+1,j が修
正される。ここでηは学習係数と呼ばれる係数である。
In this way, the weight Wk, i; k + 1, j of each connection is corrected. Here, η is a coefficient called a learning coefficient.

【0068】ここで、Here,

【0069】[0069]

【数6】 (Equation 6)

【0070】であり、式(18)よりFrom equation (18),

【0071】[0071]

【数7】 (Equation 7)

【0072】であるから、式(22)は、Therefore, the equation (22) is

【0073】[0073]

【数8】 (Equation 8)

【0074】となる。Is obtained.

【0075】ここで、式(20)より、From equation (20),

【0076】[0076]

【数9】 [Equation 9]

【0077】式(19)を用いてこの式(25)を変形すると、When this equation (25) is transformed using the equation (19),

【0078】[0078]

【数10】 (Equation 10)

【0079】ここで、式(17)より、From equation (17),

【0080】[0080]

【数11】 [Equation 11]

【0081】であるから、Therefore,

【0082】[0082]

【数12】 (Equation 12)

【0083】となる。It becomes

【0084】式(24)においてk=2と置き、式(26)、式
(28)を式(24)に代入すると、
In equation (24), k = 2 is set, and equation (26)
Substituting (28) into equation (24) gives

【0085】[0085]

【数13】 (Equation 13)

【0086】この式(29)を式(21)に代入して、Substituting this equation (29) into equation (21),

【0087】[0087]

【数14】 [Equation 14]

【0088】となる。この(30)式に従って、W2,i;3,1
(i=1,2,…,n1 )の各結合の重みが修正される。
Is as follows. According to this equation (30), W2, i; 3,1
The weight of each connection (i = 1, 2, ..., N 1 ) is modified.

【0089】次に、Next,

【0090】[0090]

【数15】 (Equation 15)

【0091】であるから、この(31)式に式(18)、式(19)
を代入して、
Therefore, equation (18) and equation (19) are added to equation (31).
And assign

【0092】[0092]

【数16】 (Equation 16)

【0093】ここで(27)式より、From equation (27),

【0094】[0094]

【数17】 [Equation 17]

【0095】であるから、この式(33)と、式(26)、式(2
8)を式(32)に代入して、
Therefore, this equation (33), equation (26), and equation (2
Substituting (8) into equation (32),

【0096】[0096]

【数18】 (Equation 18)

【0097】式(24)においてk=1と置き、式(34)を式
(24)に代入すると、
By setting k = 1 in the equation (24), the equation (34) is changed to the equation
Substituting into (24),

【0098】[0098]

【数19】 [Equation 19]

【0099】この式(35)を式(21)に代入すると、k=1
と置いて、
Substituting equation (35) into equation (21), k = 1
Put,

【0100】[0100]

【数20】 (Equation 20)

【0101】となり、式(30)で修正されたW2,i;3,1(i=
1,2,…,n1 )がこの式(36)に代入され、W1,i;2,j(i=
1,2,…,n1 ;j=1,2,…,n2 )が修正される。
And W2, i; 3,1 (i =
1,2, ..., n 1 ) are substituted into this equation (36), and W1, i; 2, j (i =
, 1, ..., N 1 ; j = 1, 2, ..., N 2 ) are modified.

【0102】なお、理論的には式(30)、式(21)を用い、
学習係数ηを十分小さくとって学習回数を十分に多くす
ることにより、各結合の重みWk,i;k+1,j を所定の値に
集束させ得るが、学習係数ηをあまり小さくすることは
学習の進みを遅くするため現実的ではない。一方学習係
数ηを大きくとると学習が振動してしまう(上記結合の
重みが所定の値に収束しない)ことがある。そこで実際
には、結合の重みの修正量に次式のような慣性項を加え
て振動を抑え、学習係数ηはある程度大きな値に設定さ
れる。(例えば、D.E.Rumelhart,G.E.Hinton and R.J.W
illiams:Learning internal representations by error
propagation In Parallel DistributedProcessing,Vol
ume 1,J.L.McClelland,D.E.Rumelhart and The PDP Res
earch Group,MIT Press,1986b」参照)
Theoretically, using the equations (30) and (21),
By setting the learning coefficient η small enough to increase the number of times of learning sufficiently, the weights Wk, i; k + 1, j of each connection can be converged to a predetermined value, but it is not possible to make the learning coefficient η too small. It is not realistic because it slows down the learning process. On the other hand, if the learning coefficient η is set to be large, learning may oscillate (the weight of the above coupling does not converge to a predetermined value). Therefore, in practice, an inertial term such as the following equation is added to the correction amount of the coupling weight to suppress the vibration, and the learning coefficient η is set to a relatively large value. (For example, DE Rumelhart, GE Hinton and RJW
illiams: Learning internal representations by error
propagation In Parallel Distributed Processing, Vol
ume 1, JLMcClelland, DERumelhart and The PDP Res
earch Group, MIT Press, 1986b '')

【0103】[0103]

【数21】 (Equation 21)

【0104】ただしΔWk,i;k+1,j (t)は、t回目の
学習における、修正後の結合重みWk,i;k+1,j から修正
前の該結合の重みWk,i;k+1,j を引いた修正量を表す。
また、αは、慣性項と呼ばれる係数である。
However, ΔWk, i; k + 1, j (t) is the connection weight Wk, i; k + 1, j after correction from the connection weight Wk, i; It represents the correction amount minus k + 1, j.
Further, α is a coefficient called an inertial term.

【0105】慣性項α、学習係数ηとしてたとえばα=
0.9 、η=0.25を用いて各結合の重みWk,i;k+1,j の修
正(学習)を例えば20万回行い、その後は、各結合の重
みWk,i;k+1,j は最終の値に固定される。この学習の終
了時には5つの出力w1〜w5は上記各補間係数bj
k-1 、bjk 、bjk+1 、bjk+2 を線形結合する際の
入力される局所的なパターンである画像の特徴部分に応
じた重み付け係数を表す信号となる。
As the inertia term α and the learning coefficient η, for example, α =
The weights Wk, i; k + 1, j of each connection are corrected (learned) 200 times, for example, using 0.9 and η = 0.25, and then the weights Wk, i; k + 1, j of each connection are It is fixed to the final value. At the end of this learning, the five outputs w1 to w5 are the above-mentioned interpolation coefficients bj.
It becomes a signal representing a weighting coefficient according to the characteristic portion of the image which is a local pattern that is input when linearly combining k-1 , bj k , bj k + 1 and bj k + 2 .

【0106】そこで学習が終了した後は、上記補間係数
bjk-1 、bjk 、bjk+1 、bjk+2 に応じた重み付
け係数を求めるため、原画像の局所的なパターンである
画像データの一部分が図7に示すニューラルネットワー
クに入力され、これにより得られた出力w1〜w5が、
その入力された局所的な画像に適した補間係数を大きく
重み付けする重み付け係数を表す信号となる。
After the learning is finished, a weighting coefficient corresponding to the interpolation coefficients bj k−1 , bj k , bj k + 1 , bj k + 2 is obtained, so that an image which is a local pattern of the original image is obtained. Part of the data is input to the neural network shown in FIG. 7, and the outputs w1 to w5 obtained by this are
The signal represents a weighting coefficient for heavily weighting the interpolation coefficient suitable for the input local image.

【0107】なお、上記ニューラルネットワークは3層
構造のものに限られるものではなく、さらに多層にして
もよいことはもちろんである。また各層のユニットの数
も、補間係数の種類、必要とする精度等に応じた任意の
数に設定し得るものである。
The neural network is not limited to the one having a three-layer structure, and needless to say, it may have more layers. Also, the number of units in each layer can be set to any number according to the type of interpolation coefficient, required accuracy, and the like.

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

【0109】まず、補間演算装置1は画像データ記憶装
置22にあらかじめ記憶されている1次画像データSorg
を読み出す。また補間演算装置1は、図示しない他の入
力手段から入力された拡大倍率に応じた拡大画像を表す
2次画像データを得るために、この読み出された1次画
像データSorg を補間演算装置1に入力する。
First, the interpolation calculation device 1 uses the primary image data Sorg stored in advance in the image data storage device 22.
Is read. Further, the interpolation calculation device 1 uses the read primary image data Sorg to obtain the secondary image data representing the enlarged image corresponding to the enlargement magnification input from other input means (not shown). To enter.

【0110】補間演算装置1に入力された1次画像デー
タSorg は、ニューラルネットワーク2および補間演算
手段5に入力される。
The primary image data Sorg input to the interpolation calculation device 1 is input to the neural network 2 and the interpolation calculation means 5.

【0111】なお、ニューラルネットワーク2には1次
画像データSorg の局所的なパターンである一部分のデ
ータが原画像の全体について入力され、この局所的なデ
ータごとに上述した5種類の補間係数に乗じるための重
み付け係数w1〜w5が補間係数演算手段4に入力され
る。
Note that the neural network 2 is input with partial data that is a local pattern of the primary image data Sorg for the entire original image and multiplies the above-mentioned five types of interpolation coefficients for each local data. The weighting coefficients w1 to w5 are input to the interpolation coefficient calculation means 4.

【0112】補間係数演算手段4は、ニューラルネット
ワーク2から入力された重み付け係数w1〜w5によ
り、補間係数記憶手段3に記憶された補間係数b1から
b5を下記の式(38)に基づいて線形結合する。
The interpolation coefficient calculation means 4 linearly combines the interpolation coefficients b1 to b5 stored in the interpolation coefficient storage means 3 with the weighting coefficients w1 to w5 input from the neural network 2 based on the following equation (38). To do.

【0113】 aij=w1・b1+w2・b2+w3・b3+w4・b4+w5・b5 (38) なお、式(38)による補間係数の算出は、各補間係数b
1〜b5のそれぞれ対応する画素ごとに求められる。こ
の式(38)により求められた補間係数aijが各補間画素
における補間係数となる。
Aij = w1 * b1 + w2 * b2 + w3 * b3 + w4 * b4 + w5 * b5 (38) Note that the interpolation coefficient b is calculated by the equation (38).
It is obtained for each pixel corresponding to 1 to b5. The interpolation coefficient aij obtained by the equation (38) becomes the interpolation coefficient in each interpolation pixel.

【0114】そしてこのようにして算出された新たな補
間係数ak-1 、ak 、ak+1 、ak+2 は、補間演算手段
5に入力される。
The new interpolation coefficients a k-1 , a k , a k + 1 and a k + 2 calculated in this way are input to the interpolation calculation means 5.

【0115】補間演算手段5は、補間係数演算手段4か
ら入力された補間係数ak-1 、ak、ak+1 、ak+2
画像データ記憶装置22から入力された原画像データY
k-1 、Yk 、Yk+1 、Yk+2 とに基づいて、記憶された
式(5)の3次のスプライン補間関数演算式にしたがっ
て、補間点Xp の補間画像データYp を算出する。
The interpolation calculation means 5 is the interpolation coefficients a k-1 , a k , a k + 1 , a k + 2 input from the interpolation coefficient calculation means 4 and the original image data input from the image data storage device 22. Y
Based on k-1 , Y k , Y k + 1 , and Y k + 2 , the interpolated image data Y p of the interpolation point X p is stored according to the stored third-order spline interpolation function calculation formula of the formula (5). To calculate.

【0116】このようにして得られたすべての補間点の
補間画像データS′は再生装置23に出力される。再生装
置23は入力された補間画像データS′に基づいた画像を
可視画像として再生する。この再生された可視画像は、
原画像の局所的なパターンに基づいて最適な補間係数に
重み付けがなされたものとなっている。すなわち、局所
的なパターンが平坦部である場合は、滑らかな補間画像
を得ることができるBスプライン補間演算により求めら
れた補間係数b1に対する重み付けが大きくされてお
り、また、局所的なパターンが縦方向に延びるエッジで
ある場合は縦線形横リプリケーションの補間係数b2
が、局所的なパターンが横方向に延びるエッジである場
合は横線形縦リプリケーションの補間係数b3が、局所
的なパターンが右斜め上方に延びるエッジである場合は
右斜め用補間係数b4が、局所的なパターンが左斜め方
向に延びるエッジである場合は左斜め用補間係数b5が
それぞれ重み付けが大きくされる。したがって、補間画
像の平坦部の鮮鋭度が強調されてノイズが目立ったり、
エッジ部がぼけたりすることがなくなるため、画像の局
所的な特徴に適した重み付けがなされた補間画像を得る
ことができる。
The interpolated image data S ′ of all the interpolation points thus obtained are output to the reproducing device 23. The reproducing device 23 reproduces an image based on the input interpolation image data S'as a visible image. This reconstructed visible image is
The optimum interpolation coefficient is weighted based on the local pattern of the original image. That is, when the local pattern is a flat portion, the weighting for the interpolation coefficient b1 obtained by the B-spline interpolation calculation that can obtain a smooth interpolated image is large, and the local pattern is vertical. If the edge extends in the direction, the interpolation coefficient b2 of the vertical linear horizontal replication
However, if the local pattern is an edge extending in the horizontal direction, the interpolation coefficient b3 of the horizontal linear vertical replication is, and if the local pattern is an edge extending obliquely to the upper right, the interpolation coefficient for right diagonal b4 is the local When the general pattern is an edge extending in the left diagonal direction, the weighting of the left diagonal interpolation coefficient b5 is increased. Therefore, the sharpness of the flat part of the interpolated image is emphasized and noise is noticeable,
Since the edges are not blurred, it is possible to obtain an interpolated image that is weighted appropriately for the local features of the image.

【0117】なお、本発明の実施の形態の画像再生シス
テムで用いられる補間演算装置1は、画像データ記憶装
置22にあらかじめ記憶された1次画像データを用いるも
のについて説明したが、本発明の補間演算装置はこれに
限るものではなく、例えば図8に示すような画像読取装
置により読み取って得られた、画像を表す画像データを
用いるものであってもよい。
Although the interpolation calculation device 1 used in the image reproduction system according to the embodiment of the present invention uses the primary image data stored in advance in the image data storage device 22, it has been described. The arithmetic device is not limited to this, and may use image data representing an image obtained by reading with an image reading device as shown in FIG. 8, for example.

【0118】すなわち、図8に示すように、放射線画像
読取装置は、例えばX線等の放射線が人体等の被写体を
介して照射されることによりこの被写体の透過放射線画
像情報を蓄積記録した蓄積性蛍光体シート10は、エンド
レスベルト等のシート搬送手段11により、副走査のため
に矢印Y方向に搬送される。半導体レーザ等の励起光源
12から射出された励起光(読取光)としてのレーザビー
ム13は、高速回転する回転多面鏡14によって反射偏向さ
れ、通常f・θレンズからなる走査レンズ18によって集
束され、ミラー19で反射して蓄積性蛍光体シート10上を
上記副走査方向Yと略直角な矢印X方向に主走査する。
That is, as shown in FIG. 8, the radiation image reading apparatus accumulates and records transmission radiation image information of the subject by irradiating radiation such as X-rays through the subject such as a human body. The phosphor sheet 10 is conveyed in the arrow Y direction for sub scanning by the sheet conveying means 11 such as an endless belt. Excitation light source such as semiconductor laser
A laser beam 13 as excitation light (reading light) emitted from 12 is reflected and deflected by a rotating polygon mirror 14 that rotates at high speed, focused by a scanning lens 18 which is usually an f.theta. Lens, and reflected by a mirror 19. The stimulable phosphor sheet 10 is main-scanned in the direction of arrow X, which is substantially perpendicular to the sub-scanning direction Y.

【0119】こうしてレーザビーム13が照射されたシー
ト10の箇所からは、蓄積記録されている放射線画像情報
に応じた光量の輝尽発光光15が発散され、この輝尽発光
光15は集光体16によって集光され、光検出器としてのフ
ォトマルチプライヤー(光電子増倍管)17によって光電
的に検出される。
In this way, from the portion of the sheet 10 irradiated with the laser beam 13, the stimulated emission light 15 having a light amount corresponding to the radiation image information stored and recorded is diverged, and the stimulated emission light 15 is collected. The light is condensed by 16 and photoelectrically detected by a photomultiplier (photomultiplier tube) 17 as a photodetector.

【0120】上記集光体16はアクリル板等の導光性材料
を成形して作られたものであり、直線状をなす入射端面
16aが蓄積性蛍光体シート10上のビーム走査線に沿って
延びるように配され、円環状に形成された出射端面16b
に上記フォトマルチプライヤー17の受光面が結合されて
いる。上記入射端面16aから集光体16内に入射した輝尽
発光光15は、該集光体16の内部を全反射を繰り返して進
み、出射端面16bから出射してフォトマルチプライヤー
17に受光され、前記放射線画像情報を担持する輝尽発光
光15の光量がこのフォトマルチプライヤー17によって検
出される。
The light collector 16 is formed by molding a light guide material such as an acrylic plate, and has a linear incident end surface.
The emission end face 16b is arranged so as to extend along the beam scanning line on the stimulable phosphor sheet 10 and is formed in an annular shape.
The light receiving surface of the photomultiplier 17 is connected to the photomultiplier 17. The stimulated emission light 15 entering the condenser 16 from the incident end face 16a travels through the interior of the condenser 16 by repeating total reflection, exits from the exit end face 16b, and exits from the photomultiplier.
The photomultiplier 17 detects the amount of photostimulated light 15 received by the photodetector 17 and carrying the radiation image information.

【0121】フォトマルチプライヤー17のアナログ出力
信号(画像信号)Sは対数増幅器20によって増幅され、
A/D変換器21において所定の収録スケールファクター
でデジタル化される。こうして得られた、2次元画像を
担持するデジタルの原画像データは、補間演算装置1に
入力される。
The analog output signal (image signal) S of the photomultiplier 17 is amplified by the logarithmic amplifier 20,
It is digitized by the A / D converter 21 with a predetermined recording scale factor. The digital original image data carrying the two-dimensional image thus obtained is input to the interpolation calculation device 1.

【0122】このように本発明の補間演算装置1に使用
される1次画像データは、画像データ記憶装置22にあら
かじめ記憶されたものであってもよいし、図8に示すよ
うな画像読取装置により読み取って得られたものであっ
てもよい。
As described above, the primary image data used in the interpolation calculation device 1 of the present invention may be stored in the image data storage device 22 in advance, or an image reading device as shown in FIG. It may be one obtained by reading.

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

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

【図2】等間隔の周期でサンプリングされた一方向に配
列されたサンプリング点(画素)の原画像データからCu
bic スプライン補間演算により補間画像データを求める
作用を説明するグラフ
[FIG. 2] Cu from original image data of sampling points (pixels) arrayed in one direction sampled at equal intervals
bic Graph for explaining the effect of obtaining interpolated image data by spline interpolation calculation

【図3】縦線形横リプリケーション補間を説明するため
の図
FIG. 3 is a diagram for explaining vertical linear horizontal replication interpolation.

【図4】横線形縦リプリケーション補間を説明するため
の図
FIG. 4 is a diagram for explaining horizontal linear vertical replication interpolation.

【図5】右斜め用補間を説明するための図FIG. 5 is a diagram for explaining interpolation for right diagonal.

【図6】左斜め用補間を説明するための図FIG. 6 is a diagram for explaining left diagonal interpolation.

【図7】ニューラルネットワークを説明するための図FIG. 7 is a diagram for explaining a neural network.

【図8】放射線画像読取装置を示す図FIG. 8 is a diagram showing a radiation image reading device.

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

【図10】最近傍補間を説明するための図FIG. 10 is a diagram for explaining nearest neighbor interpolation.

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

1 補間演算装置 2 ニューラルネットワーク 3 補間係数記憶手段 4 補間係数演算手段 5 補間演算手段 22 画像データ記憶装置 23 再生装置 Sorg 1次画像データ(原画像データ) S′ 2次画像データ(補間画像データ) 1 Interpolation Calculation Device 2 Neural Network 3 Interpolation Coefficient Storage Means 4 Interpolation Coefficient Calculation Means 5 Interpolation Calculation Means 22 Image Data Storage Device 23 Playback Device Sorg Primary Image Data (Original Image Data) S ′ Secondary Image Data (Interpolated Image Data)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 画像を表す原画素のそれぞれについての
画素値を表す多数の原画像データについて、得られる補
間画像の特性が互いに異なる前記各原画像データに対応
する複数の補間係数を求め、該各補間係数を所定の重み
付け係数により重み付け線形結合することにより新たな
補間係数を得、該新たな補間係数に基づいて補間演算を
行って、前記原画素とは間隔が異なる補間画素における
補間画像データを求める画像データの補間演算方法であ
って、 前記画像の局所的なパターンを入力とし、該局所的なパ
ターンに応じた前記重み付け係数を出力とするニューラ
ルネットワークに、前記画像の局所的なパターンを入力
して前記重み付け係数を得、該重み付け係数に基づいて
前記新たな補間係数を得ることを特徴とする画像データ
の補間演算方法。
1. For a plurality of original image data representing pixel values of respective original pixels representing an image, a plurality of interpolation coefficients corresponding to the respective original image data having mutually different characteristics of the obtained interpolated image are obtained, A new interpolation coefficient is obtained by weighting and linearly combining the respective interpolation coefficients with a predetermined weighting coefficient, an interpolation operation is performed based on the new interpolation coefficient, and interpolation image data in an interpolation pixel having a different interval from the original pixel is obtained. Is a method of interpolating image data, wherein a local pattern of the image is input to a neural network that outputs the weighting coefficient according to the local pattern. Interpolation calculation of image data, characterized by inputting to obtain the weighting coefficient and obtaining the new interpolation coefficient based on the weighting coefficient Law.
【請求項2】 画像を表す原画素のそれぞれについての
画素値を表す多数の原画像データについて、得られる補
間画像の特性が互いに異なる前記各原画像データに対応
する複数の補間係数を求める補間係数演算手段と、該各
補間係数を所定の重み付け係数により重み付け線形結合
することにより新たな補間係数を得る補間係数演算手段
と、該新たな補間係数に基づいて補間演算を行って、前
記原画素とは間隔が異なる補間画素における補間画像デ
ータを求める補間演算手段とからなる画像データの補間
演算装置であって、 前記画像の局所的なパターンを入力とし、該局所的なパ
ターンに応じた前記重み付け係数を出力とするニューラ
ルネットワークをさらに備え、前記画像の局所的なパタ
ーンを入力して前記重み付け係数を得、該重み付け係数
に基づいて前記新たな補間係数を得ることを特徴とする
画像データの補間演算装置。
2. An interpolation coefficient for obtaining a plurality of interpolation coefficients corresponding to the respective original image data having different characteristics of the obtained interpolated image for a large number of original image data representing pixel values of respective original pixels representing an image. A calculation means, an interpolation coefficient calculation means for obtaining a new interpolation coefficient by weighting and linearly combining the respective interpolation coefficients with a predetermined weighting coefficient, and an interpolation calculation based on the new interpolation coefficient, and the original pixel Is an image data interpolation calculation device comprising interpolation calculation means for obtaining interpolation image data in interpolation pixels having different intervals, wherein the local pattern of the image is input, and the weighting coefficient corresponding to the local pattern is input. Further comprising a neural network which outputs, a local pattern of the image is input to obtain the weighting coefficient, and the weighting coefficient Interpolating operation apparatus for an image data, characterized by obtaining the new interpolation coefficient based on.
JP7203210A 1995-08-09 1995-08-09 Image data interpolation arithmetic method and device therefor Withdrawn JPH0951430A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7203210A JPH0951430A (en) 1995-08-09 1995-08-09 Image data interpolation arithmetic method and device therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7203210A JPH0951430A (en) 1995-08-09 1995-08-09 Image data interpolation arithmetic method and device therefor

Publications (1)

Publication Number Publication Date
JPH0951430A true JPH0951430A (en) 1997-02-18

Family

ID=16470294

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7203210A Withdrawn JPH0951430A (en) 1995-08-09 1995-08-09 Image data interpolation arithmetic method and device therefor

Country Status (1)

Country Link
JP (1) JPH0951430A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007328735A (en) * 2006-06-09 2007-12-20 Victor Co Of Japan Ltd Image processor and image processing program
GB2555214A (en) * 2016-09-01 2018-04-25 Ford Global Tech Llc Depth map estimation with stereo images
CN109087242A (en) * 2017-06-13 2018-12-25 上海富瀚微电子股份有限公司 A kind of cfa interpolation processing method and processing device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007328735A (en) * 2006-06-09 2007-12-20 Victor Co Of Japan Ltd Image processor and image processing program
JP4692401B2 (en) * 2006-06-09 2011-06-01 日本ビクター株式会社 Image processing apparatus and image processing program
GB2555214A (en) * 2016-09-01 2018-04-25 Ford Global Tech Llc Depth map estimation with stereo images
CN109087242A (en) * 2017-06-13 2018-12-25 上海富瀚微电子股份有限公司 A kind of cfa interpolation processing method and processing device
CN109087242B (en) * 2017-06-13 2023-05-09 上海富瀚微电子股份有限公司 CFA interpolation processing method and device

Similar Documents

Publication Publication Date Title
US4747052A (en) Radiation image processing
JP3706189B2 (en) Image data interpolation processing method and apparatus using the method
US6535651B1 (en) Interpolating operation method and apparatus for image signals
US5889894A (en) Interpolating operation method and apparatus for image signals
JP3599435B2 (en) Image data interpolation calculation method and apparatus
JP2676009B2 (en) Radiation image reading condition and / or image processing condition determination method and device, and radiation image analysis method and device
JP3494764B2 (en) Image data interpolation calculation method and apparatus
JPH0951430A (en) Image data interpolation arithmetic method and device therefor
JP2694580B2 (en) Method for determining image points in subject image
JPH0950516A (en) Method and device for interpolation operation of picture data
US7027667B1 (en) Image conversion method and apparatus, image conversion processing program, and recording medium on which image conversion processing program is recorded
JPH06274614A (en) Image processing method
JP3494787B2 (en) Image data interpolation calculation method and apparatus using the method
JP3720081B2 (en) Gradation correction method and apparatus
US5726766A (en) Interpolating operation method and apparatus for image signals
JPH0951429A (en) Image data interpolation arithmetic method and device therefor
JP3604201B2 (en) Spline interpolation calculation method of image data and apparatus using the method
JPH04261649A (en) Method and apparatus for analyzing radiation image
JP2739385B2 (en) Method and apparatus for determining radiation image reading conditions and / or image processing conditions
JP2739386B2 (en) Method and apparatus for determining radiation image reading conditions and / or image processing conditions
JPH09265527A (en) Method for interpolatory operation of image data and device for executing the same
JP2852818B2 (en) Radiation field recognition method
JPH0951426A (en) Interpolation arithmetic method for image data and device using the method
JPH09160149A (en) Image processing method and device
JPH0927901A (en) Method and device for arithmetic operation for interpolation of image data

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: 20021105