JPH10134175A - Processor and method for image processing - Google Patents

Processor and method for image processing

Info

Publication number
JPH10134175A
JPH10134175A JP8286571A JP28657196A JPH10134175A JP H10134175 A JPH10134175 A JP H10134175A JP 8286571 A JP8286571 A JP 8286571A JP 28657196 A JP28657196 A JP 28657196A JP H10134175 A JPH10134175 A JP H10134175A
Authority
JP
Japan
Prior art keywords
data
filter coefficient
coefficient set
phase
interpolation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP8286571A
Other languages
Japanese (ja)
Other versions
JP3596194B2 (en
Inventor
Seiichiro Iwase
清一郎 岩瀬
Masuyoshi Kurokawa
益義 黒川
Mamoru Kano
護 加納
Kenichiro Nakamura
憲一郎 中村
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP28657196A priority Critical patent/JP3596194B2/en
Priority to US08/949,606 priority patent/US6188803B1/en
Publication of JPH10134175A publication Critical patent/JPH10134175A/en
Application granted granted Critical
Publication of JP3596194B2 publication Critical patent/JP3596194B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • G06T3/4007Interpolation-based scaling, e.g. bilinear interpolation

Abstract

PROBLEM TO BE SOLVED: To enlarge or reduce an image at an arbitrary conversion rate. SOLUTION: A residue circuit 11 outputs a phase variation component Pd supplied from a specific device and the decimal part of the sum of the value of a register 12 to the register 12. An approximation circuit 13 outputs a filter select signal Pi whose phase (x) corresponds to a filter coefficient set corresponding to the phase closest to the value of the register 12 to a coefficient memory 1A. Thus, an optimum filter coefficient set among a specific number of filter coefficient sets is selected for the interpolation of specific pixel data. Then product sum operations between the four filter coefficient sets and four pixel data are performed by multipliers 3-1 to 3-4 and an adder by a Cubic approximating method to calculate an interpolated value of pixels.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、画像処理装置およ
び方法に関し、特に、所定の分割数で元の画像の画素間
隔を分割したときの各位相に対応するフィルタ係数セッ
トのうち、位相が、補間演算される画素の位相に最も近
いフィルタ係数セットを利用して、画素データの補間演
算を行うことにより、任意の倍率の画像の拡大または縮
小を行う画像処理装置および方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus and method, and more particularly, to a filter coefficient set corresponding to each phase when a pixel interval of an original image is divided by a predetermined number of divisions. The present invention relates to an image processing apparatus and method for enlarging or reducing an image at an arbitrary magnification by performing an interpolation operation on pixel data using a filter coefficient set closest to the phase of a pixel to be subjected to an interpolation operation.

【0002】[0002]

【従来の技術】テレビジョン受像機などの画像表示器
(ディスプレイ)は、CRT(CathodeRay Tube)を使
用しているものが多い。このようなディスプレイにおい
て、各種画像方式に対応してアナログ的に画像信号を取
り扱い、画像を表示する場合、水平走査周波数を変えて
対応することが多い。
2. Description of the Related Art Many image displays (displays) such as television receivers use a CRT (Cathode Ray Tube). In such a display, when an image signal is handled in an analog manner corresponding to various image systems and an image is displayed, the display is often handled by changing a horizontal scanning frequency.

【0003】一方、デジタル的に画像信号を取り扱う場
合、NTSCやPALなどの放送伝送方式に応じて、画
像の解像度が異なるので、それらの方式でデジタル化さ
れた画像の縦方向と横方向の画素数は、放送伝送方式毎
に異なる。また、放送伝送方式としては、HDTVまで
含めていろいろな方式があり、その画素数(解像度)の
規格は多様である。そのため、画像データに対してデジ
タル処理を行うシステムにおいては、これらのすべての
伝送方式に対応させる場合、画素数を「補間フィルタ」
で変換する必要がある。
On the other hand, when image signals are handled digitally, the resolution of the images differs according to the broadcast transmission system such as NTSC or PAL. The number differs for each broadcast transmission system. Also, there are various broadcast transmission systems including HDTV, and the standards for the number of pixels (resolution) are various. Therefore, in a system that performs digital processing on image data, in order to support all of these transmission methods, the number of pixels is set to an “interpolation filter”.
Needs to be converted.

【0004】さらに、最近普及している液晶ディスプレ
イやプラズマディスプレイにおいては、表示画像の画素
数が所定の数に固定されているため、このようなディス
プレイを利用する場合においても、原画像の画素数を、
これらのディスプレイに対応する画素数に変換するため
に補間フィルタが必要となる。
Further, in a liquid crystal display or a plasma display which has recently become widespread, the number of pixels of a display image is fixed to a predetermined number. To
Interpolation filters are required to convert to the number of pixels corresponding to these displays.

【0005】次に、画像の画素数を変換するための補間
フィルタの一例について説明する。
Next, an example of an interpolation filter for converting the number of pixels of an image will be described.

【0006】まず、画像の拡大または縮小、および、標
本化周波数(画素数)の変換について説明する。
First, the enlargement or reduction of an image and the conversion of the sampling frequency (the number of pixels) will be described.

【0007】画像の拡大または縮小と、画像の標本化周
波数(画素数)の変換(解像度の異なる画像規格間の変
換)は、どちらも、原画像の各画素位置に対して、元の
画像において存在しなかった画素のデータを求める演算
を行うことにより実現される。従って、同様の演算操作
を行う補間フィルタを利用することにより、上述の2つ
の処理を行うことが可能である。
[0007] Both enlargement or reduction of an image and conversion of the sampling frequency (the number of pixels) of the image (conversion between image standards having different resolutions) are performed with respect to each pixel position of the original image in the original image. This is realized by performing an operation for obtaining data of a pixel that did not exist. Therefore, the above-described two processes can be performed by using an interpolation filter that performs the same calculation operation.

【0008】図21は、原画像の一部分の一例を示して
いる。図中の丸印は画素の位置を表している。この部分
においては、横方向に8画素、縦方向に6画素が含まれ
ている(便宜上、ここでは画素数を小さい値に設定して
いる)。
FIG. 21 shows an example of a part of the original image. The circles in the figure represent the positions of the pixels. This portion includes eight pixels in the horizontal direction and six pixels in the vertical direction (the number of pixels is set to a small value here for convenience).

【0009】次に、この原画像を例えば(10/7)倍
に拡大する場合について説明する。なお、倍率は面積で
はなく長さの比で表現するものとする。図21の画像を
拡大する場合、表示画像規格は変えずに、画素の配列
(即ち画素間隔など)を、図21と同一に保つ。そのよ
うにして、拡大の処理を行った場合、その結果の画像
は、図22のようになる。この場合、倍率は、1.42
9(=10/7)であるので、画像の1辺の長さは、
1.429倍され、画素数は、約1.4292倍に増加
する。
Next, a case where this original image is enlarged, for example, by (10/7) will be described. The magnification is expressed not by the area but by the length ratio. In the case of enlarging the image of FIG. 21, the display image standard is not changed, and the pixel arrangement (that is, the pixel interval or the like) is kept the same as in FIG. When the enlargement process is performed in this manner, the resulting image is as shown in FIG. In this case, the magnification is 1.42
9 (= 10/7), the length of one side of the image is
1.429 times, the number of pixels increases about 1.429 2 times.

【0010】例えば水平方向(水平走査の方向)に対し
て、原画像においては画素数が8であるが、拡大後に
は、11または12(8×10/7=11.429に近
い整数)画素になる。従って、拡大後の相似画像におけ
る画像の同じ部分に対応する各画素の位置関係は、原画
像における位置関係とは異なるので、拡大後の各画素の
データ(輝度や色を表現する)の値は、原画像のそれと
は異なることになる。
For example, in the horizontal direction (horizontal scanning direction), the number of pixels in the original image is 8, but after enlargement, 11 or 12 (8 × 10/7 = an integer close to 11.429) pixels become. Therefore, since the positional relationship of each pixel corresponding to the same part of the image in the similar image after enlargement is different from the positional relationship in the original image, the value of the data (expressing luminance and color) of each pixel after enlargement is Will be different from that of the original image.

【0011】図23は、(10/7)倍の倍率で、画像
の拡大した場合における、原画像と拡大後の画像におけ
る水平方向の画素の位置関係について示している。
FIG. 23 shows the positional relationship between horizontal pixels in the original image and the enlarged image when the image is enlarged at a magnification of (10/7).

【0012】図中、上側のRi(i=1,2,・・・)
は、原画像の画素を表しており、下側のQi(i=1,
2,・・・)は、拡大後の補間画素のデータを表してい
る。Riに対応する画素は、Qiに対応する画素の間隔
の(10/7)倍の間隔で配置されている。なお、図2
3は、水平方向の拡大の様子だけを示しているが、垂直
方向についても同様であるので、その説明は省略する。
In the figure, the upper Ri (i = 1, 2,...)
Represents the pixels of the original image, and the lower Qi (i = 1,
2,...) Represent data of the interpolated pixels after the enlargement. The pixels corresponding to Ri are arranged at an interval (10/7) times the interval between the pixels corresponding to Qi. Note that FIG.
3 shows only the state of enlargement in the horizontal direction, but the same applies to the vertical direction, and a description thereof will be omitted.

【0013】拡大後の各画素のデータの値は、図23に
示すような原画像の各画素の位置との対応関係に応じ
て、周辺のいくつかの原画像の画素の値から、補間フィ
ルタ演算、即ち補間関数の畳み込み演算を行うことによ
り算出する(後述)。
The value of the data of each pixel after the enlargement is calculated from the values of the pixels of some surrounding original images in accordance with the correspondence relationship with the position of each pixel of the original image as shown in FIG. It is calculated by performing an operation, that is, a convolution operation of an interpolation function (described later).

【0014】次に、画像の大きさを変化させずに、標本
化周波数を例えば(10/7)倍にする場合を考える。
この標本化周波数変換は、解像度が(10/7)倍だけ
高い画像規格に変換することと等価である。即ち、水平
方向の画素数は、(10/7)倍に変更される。この場
合、図21の原画像は、図24に示すように、1次元的
には約1.429倍の画素数、即ち1.4292倍の面
密度を有する画像に変換される。
Next, consider the case where the sampling frequency is increased, for example, by (10/7) without changing the size of the image.
This sampling frequency conversion is equivalent to conversion to an image standard whose resolution is higher by (10/7) times. That is, the number of pixels in the horizontal direction is changed to (10/7) times. In this case, as shown in FIG. 24, the original image of FIG. 21 is one-dimensionally converted into an image having about 1.429 times the number of pixels, that is, an area density of 1.429 2 times.

【0015】図21の各画素と図22の各画素との対応
関係と、図21の各画素と図24の各画素との対応関係
は、両者とも、図23に示すようになり、同一であるの
で、画素数の多い画像規格に変換する演算操作は、上述
の画像の拡大の演算操作と同様に行われる。
The correspondence between each pixel in FIG. 21 and each pixel in FIG. 22 and the correspondence between each pixel in FIG. 21 and each pixel in FIG. 24 are as shown in FIG. Therefore, the operation for converting to an image standard having a large number of pixels is performed in the same manner as the above-described operation for enlarging an image.

【0016】次に、図21の原画像を例えば(10/1
3)倍に縮小する場合について説明する。
Next, the original image shown in FIG.
3) The case of reducing the size by a factor of 2 will be described.

【0017】画像の縮小を行う場合、画像の規格は変え
ないので、縮小後の画像における画素の配列、即ち画素
間隔などは、図21に示す原画像と同一になる。
When the image is reduced, the standard of the image is not changed. Therefore, the arrangement of pixels in the reduced image, that is, the pixel interval becomes the same as that of the original image shown in FIG.

【0018】図25は、図21の原画像を、(10/1
3)倍に縮小した画像を示している。この場合、倍率
は、0.769(=10/13)であるので、画像の1
辺の長さは、0.769倍に縮小し、縮小画面を構成す
る画素数は、約0.7692に減少する。
FIG. 25 shows the original image of FIG.
3) shows an image reduced by a factor of two. In this case, the magnification is 0.769 (= 10/13).
The length of the side is reduced to 0.769 times, and the number of pixels forming the reduced screen is reduced to about 0.769 2 .

【0019】例えば、原画像においては水平方向の画素
数が8であるが、縮小後の画像においては、水平方向の
画素数は、6または7(8×10/13=6.154に
近い整数)になる。従って、縮小後の相似画像における
画像の同じ部分に対応する各画素の位置関係は、原画像
における各画素の位置関係とは異なるので、縮小後の各
画素のデータ(輝度や色を表現する)の値は、原画像の
それとは異なる。
For example, in the original image, the number of pixels in the horizontal direction is 8, but in the reduced image, the number of pixels in the horizontal direction is an integer close to 6 or 7 (8 × 10/13 = 6.154). )become. Accordingly, since the positional relationship of each pixel corresponding to the same portion of the image in the reduced similar image is different from the positional relationship of each pixel in the original image, data (expressing luminance and color) of each pixel after reduction is obtained. Is different from that of the original image.

【0020】図26は、(10/13)倍の倍率で、画
像を縮小した場合における、原画像と縮小後の画像にお
ける水平方向の画素の位置関係について示している。
FIG. 26 shows the positional relationship between pixels in the horizontal direction between the original image and the reduced image when the image is reduced by a factor of (10/13).

【0021】図中、上側のRi(i=1,2,・・・)
は、原画像の画素を表しており、下側のQi(i=1,
2,・・・)は、縮小後の補間画素のデータを表してい
る。Riに対応する画素は、Qiに対応する画素の間隔
の(10/13)倍の間隔で配置されている。なお、図
26は、水平方向の縮小の様子だけを示しているが、垂
直方向についても同様であるので、その説明は省略す
る。
In the figure, the upper Ri (i = 1, 2,...)
Represents the pixels of the original image, and the lower Qi (i = 1,
2,...) Represent the data of the interpolated pixels after reduction. The pixels corresponding to Ri are arranged at an interval (10/13) times the interval between the pixels corresponding to Qi. Although FIG. 26 shows only the state of reduction in the horizontal direction, the same applies to the vertical direction, and a description thereof will be omitted.

【0022】縮小後の各画素のデータの値は、図26に
示すような原画像の各画素との対応関係に応じて、周辺
のいくつかの原画像の画素の値から、補間フィルタ演
算、即ち補間関数の畳み込み演算を行うことにより算出
する。
The value of the data of each pixel after reduction is calculated from the values of some peripheral pixels of the original image according to the correspondence relationship with each pixel of the original image as shown in FIG. That is, it is calculated by performing a convolution operation of the interpolation function.

【0023】次に、画像の大きさを変化させずに、標本
化周波数を例えば(10/13)倍にする場合を考え
る。この標本化周波数変換は、解像度が(10/13)
倍だけ低い画像規格に変換することと等価である。即
ち、画素数は、(10/13)倍に変更される。この場
合、図21の原画像は、図27に示すように、1次元的
には約0.769倍の画素数、即ち0.7692倍の面
密度を有する画像に変換される。
Next, consider a case where the sampling frequency is increased, for example, by (10/13) without changing the size of the image. This sampling frequency conversion has a resolution of (10/13)
This is equivalent to converting to an image standard that is twice as low. That is, the number of pixels is changed to (10/13) times. In this case, the original image of FIG. 21, as shown in FIG. 27, the one-dimensional and is converted to about 0.769 times the number of pixels, i.e., an image having 0.769 2 times the surface density.

【0024】図21の各画素と図25の各画素との対応
関係と、図21の各画素と図27の各画素との対応関係
は、いずれも図26に示すようになり、同一であるの
で、解像度が低い画像規格に変換する演算操作は、上述
の画像の縮小の演算操作と同様に行われる。
The correspondence between each pixel in FIG. 21 and each pixel in FIG. 25 and the correspondence between each pixel in FIG. 21 and each pixel in FIG. 27 are as shown in FIG. 26, and are the same. Therefore, the calculation operation for converting to a low-resolution image standard is performed in the same manner as the above-described calculation operation for image reduction.

【0025】以上のように、画像の拡大または縮小、お
よび、標本化周波数(画素数)の変換を行う場合、原画
像には存在しなかった位置の画素データを算出する補間
フィルタが必要となる。
As described above, when performing enlargement or reduction of an image and conversion of the sampling frequency (the number of pixels), an interpolation filter for calculating pixel data at a position not existing in the original image is required. .

【0026】次に、補間フィルタにおいて行われる演算
について説明する。
Next, the operation performed in the interpolation filter will be described.

【0027】図28に示すように、原画像の標本化間隔
をSとし、原画像の画素Rの位置から距離(位相)Pだ
け離れた位置を、補間により生成する画素Qiの位置
(補間点)とすると、画素Qiの値は、その周辺の原画
像の画素の値Rに対する畳み込み演算により算出され
る。
As shown in FIG. 28, the sampling interval of the original image is S, and the position (phase) P away from the position of the pixel R of the original image is the position of the pixel Qi generated by interpolation (the interpolation point). ), The value of the pixel Qi is calculated by a convolution operation on the pixel value R of the surrounding original image.

【0028】「標本化定理」によれば、理想的な「補
間」を行う場合、式(1)および図29(A)に示すよ
うなsinc関数を補間関数f(x)として、無限時間
過去の画素から無限時間将来の画素までの畳み込み演算
を行う。 f(x)=sinc(π×x)=sin(π×x)/(π×x) (1)
According to the "sampling theorem", when ideal "interpolation" is performed, the sinc function as shown in equation (1) and FIG. The convolution operation from the pixel of to the pixel in the future for infinite time is performed. f (x) = sinc (π × x) = sin (π × x) / (π × x) (1)

【0029】ここで、πは、円周率を表す。Here, π represents the pi.

【0030】しかしながら、実際には、有限時間内に補
間値を算出する必要があるので、sinc関数を、有限
の範囲で近似した補間関数を利用する。
However, in practice, it is necessary to calculate an interpolated value within a finite time, so an interpolation function that approximates a sinc function within a finite range is used.

【0031】近似の方法としては、最近傍近似法、双一
次近似法、Cubic近似法などが知られている。
As an approximation method, a nearest neighbor approximation method, a bilinear approximation method, a Cubic approximation method and the like are known.

【0032】最近傍近似法においては、式(2)および
図29(B)に示すような補間関数を利用して、原画像
の1画素のデータから、補間後の1画素のデータを演算
する。なお、式(2)および図29(B)の変数xは、
原画像の画素位置からの水平方向の変位を、原画像の標
本間隔で正規化した量を表すものとする。
In the nearest neighbor approximation method, data of one pixel after interpolation is calculated from data of one pixel of an original image by using an interpolation function as shown in equation (2) and FIG. 29 (B). . Note that the variable x in Equation (2) and FIG.
It is assumed that the displacement in the horizontal direction from the pixel position of the original image represents an amount normalized by the sample interval of the original image.

【数1】 (Equation 1)

【0033】双一次近似法においては、式(3)および
図29(C)に示すような補間関数を利用して、原画像
の2画素のデータから、補間後の1画素のデータを演算
する。なお、式(3)および図29(C)の変数xは、
原画像の画素位置からの水平方向の変位を、原画像の標
本間隔で正規化した量を表すものとする。また、双一次
近似法は、線形補間として良く知られており、加重平均
が算出される。
In the bilinear approximation method, data of one pixel after interpolation is calculated from data of two pixels of an original image by using an interpolation function as shown in equation (3) and FIG. 29 (C). . It should be noted that the variable x in Equation (3) and FIG.
It is assumed that the displacement in the horizontal direction from the pixel position of the original image represents an amount normalized by the sample interval of the original image. The bilinear approximation method is well known as linear interpolation, and a weighted average is calculated.

【数2】 (Equation 2)

【0034】Cubic近似法においては、式(4)お
よび図29(D)に示すような補間関数を利用して、原
画像の4画素のデータから、補間後の1画素のデータを
演算する。なお、式(4)および図29(D)の変数x
は、原画像の画素位置からの水平方向の変位を、原画像
の標本間隔で正規化した量を表すものとする。
In the Cubic approximation method, data of one pixel after interpolation is calculated from data of four pixels of the original image using an interpolation function as shown in equation (4) and FIG. 29 (D). The variable x in equation (4) and FIG.
Represents the amount of displacement in the horizontal direction from the pixel position of the original image normalized by the sample interval of the original image.

【数3】 (Equation 3)

【0035】これらの畳み込み演算は、所謂FIRデジ
タルフィルタを利用して行うことが可能である。その場
合、補間関数の中心を補間点に合わせ、所定の画素数分
だけ近傍の原画像の標本点で補間関数を標本化した値を
補間フィルタ係数セットとして使う。
These convolution operations can be performed using a so-called FIR digital filter. In this case, the center of the interpolation function is set to the interpolation point, and a value obtained by sampling the interpolation function at the sampling points of the original image nearby by a predetermined number of pixels is used as an interpolation filter coefficient set.

【0036】例えば、双一次近似法で補間の演算を行う
場合、位相Pが0.0であるとき、フィルタ係数セット
を構成する2つの重み(フィルタ係数)は、1.0と
0.0となり、位置が一致する原画像の画素値をそのま
ま出力するような係数セットとなる。
For example, in the case of performing an interpolation operation by the bilinear approximation method, when the phase P is 0.0, two weights (filter coefficients) constituting the filter coefficient set are 1.0 and 0.0. , The coefficient set is such that the pixel values of the original image at the same position are output as they are.

【0037】また、位相Pが0.5であるとき、2つの
フィルタ係数は、0.5と0.5となり、Pが0.3で
あるときにおいて、0.7と0.3となる。
When the phase P is 0.5, the two filter coefficients are 0.5 and 0.5, and when P is 0.3, they are 0.7 and 0.3.

【0038】Cubic近似法で補間の演算を行う場
合、位相Pが0.0であるとき、フィルタ係数セットを
構成する4つの重み(フィルタ係数)は 0.0、1.
0、0.0、および、0.0となり、位置が一致する原
画像画素のデータ値をそのまま出力するような係数セッ
トとなる。
When the interpolation operation is performed by the Cubic approximation method, when the phase P is 0.0, the four weights (filter coefficients) constituting the filter coefficient set are 0.0, 1.
The coefficient set is 0, 0.0, and 0.0, and is a coefficient set that directly outputs the data value of the original image pixel at the same position.

【0039】また、位相Pが0.5であるとき、4つの
フィルタ係数は、−0.125、0.625、0.62
5、および、−0.125となり、Pが0.3であると
きにおいては −0.063、0.847、0.36
3、および、−0.147となる。
When the phase P is 0.5, the four filter coefficients are -0.125, 0.625, 0.62
5, and -0.125, and when P is 0.3, -0.063, 0.847, 0.36
3, and -0.147.

【0040】なお、このとき、データを算出する補間点
毎に、原画像の画素との位相Pがそれぞれ異なるので、
異なる位相に対応する複数のフィルタ係数のセットが必
要となる。
At this time, since the phase P with the pixel of the original image is different for each interpolation point for calculating the data,
A plurality of sets of filter coefficients corresponding to different phases are required.

【0041】次に、従来の補間フィルタ演算装置につい
て説明する。
Next, a conventional interpolation filter operation device will be described.

【0042】図30は、補間の演算、即ち補間関数の畳
み込み演算を行うFIRデジタルフィルタを利用した演
算装置の一構成例を示している。なお、図30の演算装
置は、Cubic近似法を利用して畳み込み演算を行
う。
FIG. 30 shows an example of the configuration of an arithmetic unit using an FIR digital filter for performing an interpolation operation, that is, a convolution operation of an interpolation function. The arithmetic device in FIG. 30 performs a convolution operation using the Cubic approximation method.

【0043】係数メモリ1は、各補間点(または、各位
相)に対応する複数のフィルタ係数を保持しており、所
定の装置(図示せず)より供給されるフィルタ選択信号
に対応した4つのフィルタ係数FC1,FC2,FC
3,FC4を乗算器3−1乃至3−4にそれぞれ出力す
る。
The coefficient memory 1 holds a plurality of filter coefficients corresponding to each interpolation point (or each phase), and stores four filter coefficients corresponding to a filter selection signal supplied from a predetermined device (not shown). Filter coefficients FC1, FC2, FC
3 and FC4 are output to multipliers 3-1 to 3-4, respectively.

【0044】レジスタ2−1は、所定の装置(図示せ
ず)より供給されたデータを保持し、制御信号に対応し
てレジスタ2−2に出力する。レジスタ2−2,2−3
は、レジスタ2−1,2−2よりそれぞれ供給されたデ
ータを保持し、制御信号に対応してレジスタ2−3,2
−4にそれぞれ出力する。レジスタ2−4は、レジスタ
2−3より供給されたデータを保持する。
The register 2-1 holds data supplied from a predetermined device (not shown) and outputs the data to the register 2-2 in response to a control signal. Register 2-2, 2-3
Holds the data supplied from the registers 2-1 and 2-2, respectively, and stores the data in the registers 2-3 and 2 according to the control signal.
-4. The register 2-4 holds the data supplied from the register 2-3.

【0045】なお、レジスタ2−1乃至2−4は、直列
接続されており、4段のシフトレジスタとして動作す
る。このシフトレジスタには、水平走査された入力画像
データ系列が、ワード単位で順次入力され、連続する4
つの原画像の画素データが記憶される。
The registers 2-1 to 2-4 are connected in series and operate as a four-stage shift register. To this shift register, a horizontally scanned input image data sequence is sequentially input in word units,
The pixel data of one original image is stored.

【0046】また、Cubic近似法においては、この
ように、4段のシフトレジスタを利用して、補間点を挟
む左右2画素の合計4画素のデータから補間点のデータ
を算出する。
Further, in the Cubic approximation method, data of an interpolation point is calculated from data of a total of four pixels, that is, two pixels on the left and right sides sandwiching the interpolation point, using a four-stage shift register.

【0047】乗算器3−i(i=1,・・・,4)は、
レジスタ2−iに保持されている値と、係数メモリ1よ
り供給された値(フィルタ係数)FCiを乗算し、その
演算結果を加算器4に出力する。
The multiplier 3-i (i = 1,..., 4)
The value held in the register 2-i is multiplied by the value (filter coefficient) FCi supplied from the coefficient memory 1 and the operation result is output to the adder 4.

【0048】加算器4は、乗算器3−1乃至3−4より
供給された値の総和を演算し、補間値として出力する。
The adder 4 calculates the sum of the values supplied from the multipliers 3-1 to 3-4 and outputs the result as an interpolated value.

【0049】このようにして、レジスタ2−1に時系列
に沿って入力されたデータとフィルタ係数は、乗算器3
−1乃至3−4および加算器4において積和演算され、
その演算結果である補間点のデータが時系列に沿って出
力される。
As described above, the data and filter coefficients input to the register 2-1 in time series are combined with the multiplier 3
-1 to 3-4 and a product-sum operation in the adder 4
The data of the interpolation points, which are the calculation results, are output in chronological order.

【0050】次に、具体的に、原画像をCubic近似
により(10/7)倍に拡大するときの、図30の演算
装置の動作について説明する。
Next, the operation of the arithmetic unit shown in FIG. 30 when the original image is enlarged to (10/7) times by Cubic approximation will be specifically described.

【0051】(10/7)倍の画像拡大においては、上
述したように、各補間点に対する各画素の位置関係を、
図28に示すように設定して、補間フィルタ演算をすれ
ばよい。
In the image magnification of (10/7) times, as described above, the positional relationship of each pixel with respect to each interpolation point is expressed by:
What is necessary is just to set as shown in FIG. 28 and to perform an interpolation filter operation.

【0052】図31は、各サイクルにおける、図30の
演算装置の各部が有する値を示している。
FIG. 31 shows the values of each part of the arithmetic unit of FIG. 30 in each cycle.

【0053】なお、図30に示すようなハードウェア的
に処理を行う装置では、その乗算や総和演算の部分にお
けるパイプライン処理により、通常、レイテンシ(高速
演算実現のための遅延)が生じるが、便宜上、ここで
は、レイテンシはないものと仮定する。
In an apparatus which performs processing in hardware as shown in FIG. 30, latency (delay for realizing high-speed operation) usually occurs due to pipeline processing in the multiplication and summation operations. For convenience, it is assumed here that there is no latency.

【0054】図31の第1サイクルにおいては、原画像
の1画素分の画像データである入力データR1が、所定
の装置より供給される。このとき、レジスタ2−1乃至
2−4は、入力データR1より1つ前のデータRm0、
入力データR1より2つ前のデータRm1、入力データ
R1より3つ前のデータRm2、および、入力データR
1より4つ前のデータRm3をそれぞれ保持している。
In the first cycle of FIG. 31, input data R1 as image data for one pixel of the original image is supplied from a predetermined device. At this time, the registers 2-1 to 2-4 store data Rm0, which is one before the input data R1,
Data Rm1 two before the input data R1, data Rm2 three before the input data R1, and input data R
The data Rm3 four data before four are held.

【0055】このとき、制御信号の値が「H」であるの
で、レジスタ2−1乃至2−4は、次のクロックの立ち
上がりのタイミングで、データをそれぞれシフトする。
At this time, since the value of the control signal is "H", the registers 2-1 to 2-4 shift the data at the timing of the next rising edge of the clock.

【0056】データがそれぞれシフトされるので、第2
サイクルにおいては、レジスタ2−1乃至2−4は、R
1、Rm0、Rm1、および、Rm2をそれぞれ保持す
る。このとき、制御信号の値が「H」であるので、レジ
スタ2−1乃至2−4は、次のクロックの立ち上がりの
タイミングで、データをそれぞれシフトする。
Since each data is shifted, the second
In the cycle, registers 2-1 to 2-4 store R
1, Rm0, Rm1, and Rm2 are held. At this time, since the value of the control signal is “H”, the registers 2-1 to 2-4 shift the data at the timing of the next rising edge of the clock.

【0057】データがそれぞれシフトされるので、第3
サイクルにおいては、レジスタ2−1乃至2−4は、R
2、R1、Rm0、および、Rm1をそれぞれ保持す
る。このとき、制御信号の値が「H」であるので、レジ
スタ2−1乃至2−4は、次のクロックの立ち上がりの
タイミングで、データをそれぞれシフトする。
Since the data are shifted respectively, the third
In the cycle, registers 2-1 to 2-4 store R
2, R1, Rm0 and Rm1, respectively. At this time, since the value of the control signal is “H”, the registers 2-1 to 2-4 shift the data at the timing of the next rising edge of the clock.

【0058】同様に、データがそれぞれシフトされるの
で、第4サイクルにおいては、レジスタ2−1乃至2−
4は、R3、R2、R1、および、Rm0をそれぞれ保
持する。また、図23におけるRm0,R1,R2,R
3に対する補間値Q1の位相を示すフィルタ選択信号P
0が、係数メモリ1に供給される。このように、フィル
タ選択信号は、出力信号Qiの位相Pに対応して供給さ
れる。
Similarly, since the data is shifted, in the fourth cycle, the registers 2-1 to 2-
4 holds R3, R2, R1, and Rm0, respectively. Also, Rm0, R1, R2, R in FIG.
Filter selection signal P indicating the phase of interpolation value Q1 for
0 is supplied to the coefficient memory 1. As described above, the filter selection signal is supplied corresponding to the phase P of the output signal Qi.

【0059】なお、この場合、図28のRaがRm0
に、RbがR1に、RcがR2に、RdがR3に対応
し、図28のQが補間の値Q1に対応する。
In this case, Ra in FIG.
, Rb corresponds to R1, Rc corresponds to R2, Rd corresponds to R3, and Q in FIG. 28 corresponds to the interpolation value Q1.

【0060】係数メモリ1は、図32に示す10種類の
フィルタ係数セットを記憶し、供給されたフィルタ選択
信号Piに応じて4つの係数FC1,FC2,FC3,
FC4を選択し、出力する。(10/7)倍の画像拡大
の場合には、その補間演算における画素の位相は図23
に示すように10種類だけであるので、係数メモリ1
は、その位相の数だけのフィルタ係数セットを有してい
る。
The coefficient memory 1 stores ten types of filter coefficient sets shown in FIG. 32, and four coefficients FC1, FC2, FC3, and FC3 according to the supplied filter selection signal Pi.
Select and output FC4. In the case of (10/7) times image enlargement, the phase of the pixel in the interpolation calculation is as shown in FIG.
Since there are only 10 types as shown in FIG.
Have as many filter coefficient sets as their phases.

【0061】即ち、フィルタ選択信号Piは、図28で
Sを10等分する各位置に対応する10種類の位相のう
ちの、位相がi/10であるときのフィルタ係数セット
に対応している。なお、図32の小数点表現係数(フィ
ルタ係数)は、フィルタ選択信号Piに対応する位相を
xとして式(4)に代入して算出される値であり、8ビ
ット表現係数は、その小数点表現係数を8ビットに語長
制限して(ここでは最大振幅を128とした)算出され
る。
That is, the filter selection signal Pi corresponds to a filter coefficient set when the phase is i / 10, out of ten types of phases corresponding to each position where S is divided into ten equal parts in FIG. . The decimal point expression coefficient (filter coefficient) in FIG. 32 is a value calculated by substituting the phase corresponding to the filter selection signal Pi into x in Expression (4), and the 8-bit expression coefficient is the decimal point expression coefficient. Is limited to 8 bits in word length (here, the maximum amplitude is set to 128).

【0062】今の場合、係数メモリ1は、フィルタ選択
信号がP0であるので、図32の位相P0に対応するフ
ィルタ係数セット(0.0,1.0,0.0,0.0)
(8ビット表現の場合、(0,128,0,0))を、
4つのフィルタ係数FC1,FC2,FC3,FC4と
して乗算器3−1乃至3−4にそれぞれ出力する。
In this case, since the filter selection signal is P0, the coefficient memory 1 sets the filter coefficient set (0.0, 1.0, 0.0, 0.0) corresponding to the phase P0 in FIG.
(In the case of 8-bit representation, (0,128,0,0)) is
These are output to the multipliers 3-1 to 3-4 as four filter coefficients FC1, FC2, FC3, and FC4, respectively.

【0063】そして、乗算器3−1乃至3−4および加
算器4により、上述の積和演算が行われ、その演算結果
が、出力データQ1として出力される。
Then, the above-described product-sum operation is performed by the multipliers 3-1 to 3-4 and the adder 4, and the operation result is output as output data Q1.

【0064】このとき(第4サイクルにおいて)、制御
信号の値は「L」であるので、次のクロックにおいて、
レジスタ2−1乃至2−4は、保持しているデータのシ
フトを行わない。
At this time (in the fourth cycle), since the value of the control signal is "L", in the next clock,
The registers 2-1 to 2-4 do not shift the held data.

【0065】第5サイクルにおいては、レジスタ2−1
乃至2−4は、第4サイクルにおいて保持していたデー
タを、継続して保持する。このとき、図23におけるR
m0,R1,R2,R3に対する出力データQ2の位相
を示すフィルタ選択信号P7が、係数メモリ1に供給さ
れる。
In the fifth cycle, the register 2-1
Nos. To 2-4 continuously hold the data held in the fourth cycle. At this time, R in FIG.
A filter selection signal P7 indicating the phase of the output data Q2 for m0, R1, R2, and R3 is supplied to the coefficient memory 1.

【0066】なお、この場合、図23に示すように、R
1とQ1が同位相であり、かつ、Q1とQ2との間隔
が、R1とR2との間隔Sの7/10であるので、位相
は7/10となり、フィルタ選択信号P7が供給され
る。
In this case, as shown in FIG.
Since 1 and Q1 have the same phase, and the interval between Q1 and Q2 is 7/10 of the interval S between R1 and R2, the phase is 7/10, and the filter selection signal P7 is supplied.

【0067】そして、係数メモリ1は、フィルタ選択信
号がP7であるので、図32の7/10の位相に対応す
るフィルタ係数セット(−0.147,0.363,
0.847,−0.063)(8ビット表現の場合、
(−19,46,108,−8))を、4つのフィルタ
係数FC1,FC2,FC3,FC4として乗算器3−
1乃至3−4にそれぞれ出力する。
Since the filter selection signal is P7, the coefficient memory 1 sets the filter coefficient set (-0.147, 0.363,
0.847, -0.063) (in the case of 8-bit representation,
(−19, 46, 108, −8)) as the four filter coefficients FC1, FC2, FC3, and FC4 as multiplier 3-
1 to 3-4.

【0068】そして、乗算器3−1乃至3−4および加
算器4により、上述の積和演算が行われ、その演算結果
が、出力データQ2として出力される。
Then, the multiplier-sum operation is performed by the multipliers 3-1 to 3-4 and the adder 4, and the operation result is output as output data Q2.

【0069】なお、この場合のように、第4サイクルの
出力データQ1と第5サイクルの出力データQ2の算出
に使用される原画像の画素が同一である場合、第4サイ
クルにおける制御信号の値を「L」として、第4サイク
ルから第5サイクルに移行する時にレジスタ2−1乃至
2−4をシフト動作させない。
When the pixels of the original image used to calculate the output data Q1 in the fourth cycle and the output data Q2 in the fifth cycle are the same as in this case, the value of the control signal in the fourth cycle is Is set to “L”, the registers 2-1 to 2-4 are not shifted when shifting from the fourth cycle to the fifth cycle.

【0070】このとき(第5サイクルにおいて)、制御
信号の値は「H」であるので、レジスタ2−1乃至2−
4は、次のクロックの立ち上がりのタイミングで、デー
タをそれぞれシフトする。
At this time (in the fifth cycle), since the value of the control signal is "H", the registers 2-1 to 2-
No. 4 shifts the data at the timing of the next rising edge of the clock.

【0071】次に、第6サイクルにおいては、レジスタ
2−1乃至2−4は、R4、R3、R2、および、R1
をそれぞれ保持する。また、図23におけるR4,R
3,R2,R1に対する出力データQ3の位相を示すフ
ィルタ選択信号P4が、係数メモリ1に供給される。
Next, in the sixth cycle, the registers 2-1 to 2-4 store R4, R3, R2, and R1.
Are respectively held. Further, R4, R in FIG.
3, a filter selection signal P4 indicating the phase of the output data Q3 with respect to R2 and R1 is supplied to the coefficient memory 1.

【0072】なお、今回の位相は、前回の位相7/10
に、7/10が累加されて14/10となるが、原画像
データ1個分に相当する位相(=10/10)を減算す
るので、今回の位相は、4/10(=7/10+7/1
0−10/10)となる。
The current phase is the previous phase 7/10.
Is added to 7/10, and becomes 14/10. Since the phase (= 10/10) corresponding to one original image data is subtracted, the current phase is 4/10 (= 7/10 + 7). / 1
0-10 / 10).

【0073】即ち、1回のサイクル毎に、位相は、本
来、7/10ずつ変化する。そして、整数分はデータ遅
延として扱われるので、結局、位相は、モジュロ演算さ
れることになる。
That is, the phase originally changes by 7/10 every cycle. Then, since the integer is treated as a data delay, the phase is eventually subjected to a modulo operation.

【0074】係数メモリ1は、フィルタ選択信号がP4
であるので、図32のP4に対応するフィルタ係数セッ
ト(−0.096,0.744,0.496,−0.1
44)(8ビット表現の場合、(−12,95,63,
−18))を、4つのフィルタ係数FC1,FC2,F
C3,FC4として乗算器3−1乃至3−4に出力す
る。
The coefficient memory 1 stores the filter selection signal P4
Therefore, the filter coefficient set (−0.096, 0.744, 0.496, −0.1) corresponding to P4 in FIG.
44) (In the case of the 8-bit representation, (-12, 95, 63,
−18)) with four filter coefficients FC1, FC2, F
Output to multipliers 3-1 to 3-4 as C3 and FC4.

【0075】そして、乗算器3−1乃至3−4および加
算器4により、上述の積和演算が行われ、その演算結果
が、出力データQ3として出力される。
The multiplier-sum operation is performed by the multipliers 3-1 to 3-4 and the adder 4, and the operation result is output as output data Q3.

【0076】このとき、制御信号の値が「H」であるの
で、レジスタ2−1乃至2−4は、次のクロックの立ち
上がりのタイミングで、データをそれぞれシフトする。
At this time, since the value of the control signal is "H", the registers 2-1 to 2-4 shift the data at the timing of the next rising edge of the clock.

【0077】以下同様にして、図31に示すように、処
理が進められていき、出力データQiが、順次出力され
る。
In the same manner, as shown in FIG. 31, the processing proceeds, and output data Qi is sequentially output.

【0078】なお、上述の装置を利用して画像の画素数
変換などを施した場合、その入力のデータレートと出力
のデータレートは画素数の変化に起因して変化してしま
う。
When the number of pixels of an image is converted using the above-described apparatus, the input data rate and the output data rate change due to a change in the number of pixels.

【0079】例えば、上述のように画素数が増える変換
においては、出力データのレートは一定になっているも
のの、入力データ列の供給は、図31の第5サイクルの
ように、停止することがある。また、画素数が減る変換
の場合においては、入力は一定であるものの、出力デー
タの出力が停止することがある。
For example, in the conversion in which the number of pixels increases as described above, although the output data rate is constant, the supply of the input data string may be stopped as in the fifth cycle in FIG. is there. Further, in the case of conversion in which the number of pixels is reduced, the output of output data may be stopped although the input is constant.

【0080】従って、実際には、図30に示す演算装置
の入出力データを一旦記憶するバッファメモリを設ける
ことにより、データレートを一定に保つようにしてい
る。
Therefore, in practice, the data rate is kept constant by providing a buffer memory for temporarily storing the input / output data of the arithmetic unit shown in FIG.

【0081】以上のようにして、(水平方向における)
画像の拡大または縮小、および、解像度の変換が、ハー
ドウェア的に(即ち、処理における各演算に対応して構
成されている電子回路を利用して)行われている。
As described above, (in the horizontal direction)
The enlargement or reduction of the image and the conversion of the resolution are performed in hardware (that is, using an electronic circuit configured for each operation in the processing).

【0082】しかしながら、上述のようにハードウェア
的に、画像の拡大または縮小、および、解像度の変換を
行う装置を利用する場合、画像の変換時において、同時
に行うことが所望される、各種画像処理、テレビジョン
信号処理、ノイズ除去などを行うために、別途、各処理
に対応する装置が必要となる。
However, as described above, when a device for enlarging or reducing an image and converting the resolution is used in terms of hardware, various types of image processing that are desired to be performed simultaneously during image conversion are desired. In addition, in order to perform television signal processing, noise removal, and the like, a device corresponding to each processing is separately required.

【0083】そこで、例えば、先に提案した特願平7−
246627号に記載されているように、SIMD(Si
ngle Instruction Multiple Data stream)形式の並列
プロセッサを利用して、ソフトウェア的に、上述の演算
を行う方法が考えられている。
Therefore, for example, Japanese Patent Application No.
No. 246627, SIMD (Si
A method has been considered in which the above-described computation is performed by software using a parallel processor of the "ngle Instruction Multiple Data stream" type.

【0084】図33は、そのような並列プロセッサの構
成例を示している。この並列プロセッサは、入力ポイン
タ21、入力SAM(シリアルアクセスメモリ)部2
2、データメモリ部23、ALUアレイ部24、出力S
AM部25、出力ポインタ26、および、プログラム制
御部27で構成されている。
FIG. 33 shows an example of the configuration of such a parallel processor. This parallel processor includes an input pointer 21, an input SAM (serial access memory) unit 2
2. Data memory unit 23, ALU array unit 24, output S
It comprises an AM unit 25, an output pointer 26, and a program control unit 27.

【0085】入力SAM部22、データメモリ部23、
ALUアレイ部24、および、出力SAM部25は、リ
ニアアレイ(直線配列)型に並列化された要素プロセッ
サ群を構成している。これらの要素プロセッサ31は、
プログラム制御部27が有する1つのプログラムに従っ
て、連動して制御される(即ち、SIMD制御され
る)。プログラム制御部27は、プログラムメモリや、
そのプログラムを進行させるシーケンス制御回路などを
有し、プログラムメモリに予め書き込まれたプログラム
に従って、各種制御信号を発生して、各種回路を制御す
る。
The input SAM unit 22, the data memory unit 23,
The ALU array unit 24 and the output SAM unit 25 constitute a group of element processors parallelized in a linear array (linear array) type. These element processors 31
In accordance with one program of the program control unit 27, it is controlled in an interlocked manner (that is, SIMD controlled). The program control unit 27 includes a program memory,
It has a sequence control circuit or the like that advances the program, and generates various control signals according to the program written in advance in the program memory to control the various circuits.

【0086】なお、入力SAM部22、データメモリ部
23、出力SAM部25は、主にメモリで構成されてい
る。詳細に説明しないが、図33の装置においては、こ
れらのメモリのための「ロウ(ROW)」アドレスデコー
ダは、プログラム制御部27に含まれているものとす
る。
The input SAM 22, the data memory 23, and the output SAM 25 are mainly composed of memories. Although not described in detail, in the apparatus of FIG. 33, it is assumed that “row” address decoders for these memories are included in the program control unit 27.

【0087】並列化された要素プロセッサ31(単一エ
レメント分)は、図33において、斜線で示した部分に
対応し、複数の要素プロセッサ31が、図中において横
方向に配列されている。即ち、図33の斜線の部分だけ
で、1つのプロセッサに対応する構成要素を有してい
る。
The parallelized element processors 31 (for a single element) correspond to the hatched portions in FIG. 33, and a plurality of element processors 31 are arranged in the horizontal direction in the figure. That is, only the hatched portions in FIG. 33 have components corresponding to one processor.

【0088】次に、図33の画像処理用のリニアアレイ
型並列プロセッサの動作について説明する。
Next, the operation of the linear array type parallel processor for image processing of FIG. 33 will be described.

【0089】入力端子DINに与えられた入力データ
(1画素分の画像データ)は、入力SAM部22に供給
される。
The input data (image data for one pixel) supplied to the input terminal DIN is supplied to the input SAM unit 22.

【0090】入力ポインタ21は、1つの入力データに
対して1つの要素プロセッサ31だけに、値「H」の1
ビット信号、即ち入力ポインタ信号(SIP)を出力す
る。そして、値「H」で指定された要素プロセッサ31
の入力SAM部22(入力SAMセル)に、その入力デ
ータが書き込まれる。
The input pointer 21 stores the value “H” of 1 for only one element processor 31 for one input data.
It outputs a bit signal, that is, an input pointer signal (SIP). Then, the element processor 31 specified by the value “H”
Is input to the input SAM unit 22 (input SAM cell).

【0091】入力ポインタ信号による、データを供給す
る要素プロセッサ31の指定は、入力データのクロック
ごとに図中の左端の要素プロセッサ31から右端の要素
プロセッサ31に向けて順次移動するので、入力データ
は、左端の要素プロセッサ31の入力SAM部22(入
力SAMセル)から、右側の要素プロセッサ31の入力
SAMセルに順次供給される。
The designation of the element processor 31 that supplies the data by the input pointer signal sequentially moves from the leftmost element processor 31 to the rightmost element processor 31 in the figure at each clock of the input data. Are sequentially supplied from the input SAM unit 22 (input SAM cells) of the leftmost element processor 31 to the input SAM cells of the rightmost element processor 31.

【0092】要素プロセッサ31の数は画像信号の1水
平走査期間の画素数H以上に設計されているので、画像
信号の1水平走査期間分の画素データを、入力SAM部
22に蓄積することができる。このような入力動作は、
水平走査期間毎に繰り返される。
Since the number of element processors 31 is designed to be equal to or greater than the number of pixels H in one horizontal scanning period of the image signal, pixel data for one horizontal scanning period of the image signal can be stored in the input SAM unit 22. it can. Such an input operation is
It is repeated every horizontal scanning period.

【0093】プログラム制御部27は、このようにして
画像信号の1水平走査期間のデータが入力SAM部22
に蓄積されるごとに、プログラムに従って入力SAM部
22、データメモリ部23、ALUアレイ部24、およ
び、出力SAM部25を以下のようにSIMD制御して
処理を実行する。
The program control section 27 receives the data of the image signal for one horizontal scanning period in the input SAM section 22 in this manner.
Each time the data is accumulated, the input SAM unit 22, the data memory unit 23, the ALU array unit 24, and the output SAM unit 25 are SIMD-controlled as described below to execute processing.

【0094】なお、このプログラム制御は水平走査期間
ごとに繰り返される。従って、水平走査期間に対応する
時間を、このプロセッサの命令サイクル周期で割算して
算出されるステップ数だけのプログラムを処理すること
ができる。SIMD制御であるから、以下の動作は全て
の要素プロセッサ31において並行して同様に実行され
る。
This program control is repeated every horizontal scanning period. Therefore, it is possible to process a program corresponding to the number of steps calculated by dividing the time corresponding to the horizontal scanning period by the instruction cycle period of the processor. Because of the SIMD control, the following operations are similarly executed in parallel in all the element processors 31.

【0095】入力SAM部22に蓄積された1水平走査
期間分の入力データは、次の水平走査期間において、必
要に応じて入力SAM部22からデータメモリ部23へ
転送され、その後の演算処理に使われる。
The input data for one horizontal scanning period stored in the input SAM unit 22 is transferred from the input SAM unit 22 to the data memory unit 23 as needed in the next horizontal scanning period, and is used for subsequent arithmetic processing. used.

【0096】入力SAM部22からデータメモリ部23
へのデータの転送においては、プログラム制御部27
は、入力SAM読み出し信号(SIR)により入力SA
M部22の所定のビットのデータを選択してアクセスし
た後、メモリアクセス信号(SWA)を出して、そのデ
ータを、データメモリ部23の所定のメモリセル(後
述)へ書き込んでいく。
The input SAM unit 22 to the data memory unit 23
In the transfer of data to the
Is input SA based on the input SAM read signal (SIR).
After selecting and accessing data of a predetermined bit of the M section 22, a memory access signal (SWA) is issued, and the data is written to a predetermined memory cell (described later) of the data memory section 23.

【0097】次に、プログラム制御部27は、プログラ
ムに応じて、各要素プロセッサ31のデータメモリ部2
3に保持されているデータを、その要素プロセッサ31
のALUアレイ部24に供給し、そのデータに対して算
術演算あるいは論理演算を行わせる。そして、その演算
結果は、データメモリ部23の所定のアドレスに書き込
まれる。
Next, the program control unit 27 operates the data memory unit 2 of each element processor 31 according to the program.
3 is stored in the element processor 31
To the ALU array unit 24 to perform an arithmetic operation or a logical operation on the data. Then, the calculation result is written to a predetermined address of the data memory unit 23.

【0098】なお、ALUアレイ部24における演算
は、全てビット単位で行われるので、1サイクル当たり
1ビットづつ処理が進行する。例えば、8ビットのデー
タ同士の論理演算を行う場合、少なくとも8サイクルか
かることになる。また、8ビットのデータ同士の加算を
行う場合、少なくとも9サイクルかかることになる。8
ビットのデータ同士の乗算を行う場合、その乗算は64
回のビット加算と等価であるので、少なくとも64サイ
クルかかることになる。
Note that all the operations in the ALU array section 24 are performed in units of bits, so that the processing proceeds one bit per cycle. For example, it takes at least eight cycles to perform a logical operation between 8-bit data. In addition, it takes at least 9 cycles to perform addition of 8-bit data. 8
When multiplying bits of data, the multiplication is 64
Since this is equivalent to one bit addition, it takes at least 64 cycles.

【0099】また、要素プロセッサ31は、近傍の要素
プロセッサ31に接続されており、プロセッサ間通信を
行うことができる。ただし、近傍の要素プロセッサ31
のデータメモリ部23へのアクセスを行う場合、SIM
D制御に起因して、例えば右隣りの要素プロセッサ31
のデータメモリ部をアクセスするときは、すべての要素
プロセッサ31が、右隣りの要素プロセッサ31のデー
タメモリ部23をアクセスすることになる。
The element processor 31 is connected to a nearby element processor 31 and can perform inter-processor communication. However, the neighboring element processors 31
To access the data memory unit 23 of the SIM
Due to the D control, for example, the element processor 31 on the right
, All the element processors 31 access the data memory section 23 of the element processor 31 on the right.

【0100】なお、このように動作することは、FIR
デジタルフィルタの実現には特に問題とはならない。ま
た、直接接続されていない要素プロセッサ31のデータ
を読み出す場合、プログラムステップは多少増えるが、
近傍のプロセッサ間通信を繰り返すことにより、データ
を読み出す。
[0100] The operation as described above is performed by the FIR
There is no particular problem in realizing a digital filter. When reading data from the element processor 31 that is not directly connected, the number of program steps is slightly increased.
Data is read out by repeating communication between nearby processors.

【0101】このような通信を利用して、近傍の要素プ
ロセッサ31が保持するデータを利用して、画像の水平
方向のFIRデジタルフィルタ演算を実現することがで
きる。
By utilizing such communication, the FIR digital filter operation in the horizontal direction of the image can be realized using the data held by the neighboring element processors 31.

【0102】なお、このような並列プロセッサにおいて
は、画面の水平方向の同じ位置の画素のデータは、すべ
ての水平走査期間において、所定の1つの要素プロセッ
サ31により処理されるので、データを入力SAM部2
2からデータメモリ部23に転送するときに、水平走査
期間ごとに、データを記憶するアドレスを変更すること
により、過去の水平走査期間の入力データを、それ以降
の水平走査期間まで、データメモリ部23の内部に保持
することができる。このようにすることにより、画像の
垂直方向のFIRデジタルフィルタについても、その演
算に必要なデータをデータメモリ部23に順次保持させ
ていくことができる。
In such a parallel processor, the data of the pixel at the same position in the horizontal direction of the screen is processed by one predetermined element processor 31 during all horizontal scanning periods. Part 2
2 is transferred to the data memory unit 23, the data storage address is changed for each horizontal scanning period, so that the input data of the past horizontal scanning period is transferred to the data memory unit 23 until the subsequent horizontal scanning period. 23. By doing so, the data necessary for the calculation of the FIR digital filter in the vertical direction of the image can be sequentially stored in the data memory unit 23.

【0103】このようにして、それぞれの要素プロセッ
サ31は、垂直方向(水平走査方向に対して垂直な方
向)の所定の連続数の画素データを、データメモリ部2
3の内部に保持し、垂直方向のFIRデジタルフィルタ
演算を実現している。
In this way, each element processor 31 stores a predetermined continuous number of pixel data in the vertical direction (perpendicular to the horizontal scanning direction) in the data memory unit 2.
3 to realize a vertical FIR digital filter operation.

【0104】以上のようにして1水平走査期間に割り当
てられている演算が終了すると、その水平走査期間のう
ちに、その水平走査期間に演算したデータは、出力SA
M部25に転送される。
When the operation assigned to one horizontal scanning period is completed as described above, the data calculated during the horizontal scanning period during the horizontal scanning period is output SA.
The data is transferred to the M unit 25.

【0105】このように、1水平走査期間のうちに、入
力SAM部22に蓄積された入力データのデータメモリ
部23への転送、ALUアレイ部24による演算、およ
び、出力SAM部25へのデータの転送が、ビットを単
位とするSIMD制御プログラムに従って実行される。
そして、これらの処理は、水平走査期間を単位として、
順次繰り返される。
As described above, during one horizontal scanning period, the transfer of the input data stored in the input SAM section 22 to the data memory section 23, the calculation by the ALU array section 24, and the data transfer to the output SAM section 25 Is executed according to a SIMD control program in units of bits.
These processes are performed on a horizontal scanning period basis.
It is repeated sequentially.

【0106】そして、出力SAM部25に転送された出
力データは、さらに次の水平走査期間において、出力S
AM部25から出力される。
The output data transferred to the output SAM unit 25 is the output data in the next horizontal scanning period.
It is output from the AM unit 25.

【0107】以上のように、入力データを入力SAM部
22に書き込む入力処理、プログラム制御部27によ
る、入力SAM部22に蓄積された入力データのデータ
メモリ部23への転送、ALUアレイ部24による演
算、および、出力SAM部25への出力データの転送の
演算処理、並びに、出力データを出力SAM部25から
出力させる出力処理の3つの処理が、各水平走査入力デ
ータに対して行われる。なお、これらの3つの処理は、
画像信号の1水平走査期間を単位とするパイプライン処
理として実行される。
As described above, the input processing for writing the input data to the input SAM unit 22, the transfer of the input data accumulated in the input SAM unit 22 to the data memory unit 23 by the program control unit 27, and the processing by the ALU array unit 24 Three processes of a calculation and a process of transferring the output data to the output SAM unit 25 and an output process of outputting the output data from the output SAM unit 25 are performed on each horizontal scan input data. Note that these three processes are:
This is executed as pipeline processing in units of one horizontal scanning period of the image signal.

【0108】1つの水平走査期間の入力データに注目す
れば、その入力データに対する3つの処理には、各処理
において1水平走査期間に対応する時間が経過するの
で、合計水平走査期間の3倍に対応する時間がかかる
が、3つの処理がパイプライン処理として並行に実行さ
れるので、平均して、1水平走査期間分の入力データあ
たり1水平走査期間に対応する時間で処理を行うことが
できる。
Focusing on the input data for one horizontal scanning period, the time corresponding to one horizontal scanning period elapses in each of the three processes for the input data. Although it takes a corresponding time, since the three processes are executed in parallel as pipeline processes, the process can be performed in a time corresponding to one horizontal scanning period per input data for one horizontal scanning period on average. .

【0109】[0109]

【発明が解決しようとする課題】しかしながら、上述の
装置においては、所定の画像の変換比率をK:Lとする
と、変換後の画素数であるL個のフィルタ係数セットが
必要であり、変換比率が簡単な整数比ではない場合、多
くのフィルタ係数セットが必要となり、フィルタ係数セ
ットを記憶する記憶部に大容量のものを使用することに
なるため、装置のコストおよび回路規模を低減すること
が困難であるという問題を有している。
However, in the above-described apparatus, if the conversion ratio of a predetermined image is K: L, L filter coefficient sets, which are the number of pixels after conversion, are required. Is not a simple integer ratio, many filter coefficient sets are required, and a large-capacity storage unit for storing the filter coefficient sets is used, so that the cost and circuit size of the apparatus can be reduced. It has the problem of being difficult.

【0110】また、例えばユーザによる操作などに応じ
て、変換比率を変化させるようにする場合、複数の変換
比率に対応するフィルタ係数セットを使用することが考
えられるが、その場合、変換比率の数と変換後の画素数
の積に対応する数のフィルタ係数セットが必要となり、
大容量の記憶部が必要となるので、装置のコストおよび
回路規模を低減することが困難であるという問題を有し
ている。
When the conversion ratio is changed in response to, for example, a user operation, it is conceivable to use a set of filter coefficients corresponding to a plurality of conversion ratios. And the number of filter coefficient sets corresponding to the product of the number of pixels after conversion
Since a large-capacity storage unit is required, there is a problem that it is difficult to reduce the cost and the circuit scale of the device.

【0111】さらに、上述の並列プロセッサのように一
般的なFIRデジタルフィルタの実現は可能であるが、
補間の演算が必要とされる画像の拡大や縮小を行う場合
(同様に、解像度の変換を行う場合)、補間の演算はF
IRデジタルフィルタの一種ではあるものの、入力SA
M部22に保持されるデータの数と、出力SAM部25
に出力されるデータの数が異なるので、入力SAM部2
2または出力SAM部25において、入力データRiま
たは出力データQiは、密に配列されない。
Further, although it is possible to realize a general FIR digital filter like the parallel processor described above,
When performing enlargement or reduction of an image that requires interpolation calculation (similarly, when performing resolution conversion), interpolation calculation is performed using F
Although it is a kind of IR digital filter, the input SA
The number of data held in the M unit 22 and the output SAM unit 25
Input SAM unit 2
In the second or output SAM unit 25, the input data Ri or the output data Qi are not densely arranged.

【0112】従って、要素プロセッサ31が、補間の処
理に必要な入力画素データを、所定の数の他の要素プロ
セッサ31より獲得する場合、その要素プロセッサ31
と、他の要素プロセッサ31との位置関係が、要素プロ
セッサ31毎に異なるので、すべての要素プロセッサ3
1が同様の動作を行うSIMD形式の並列プロセッサで
は、必要なデータを獲得することが困難であるという問
題を有している。
Therefore, when the element processor 31 acquires input pixel data necessary for the interpolation processing from a predetermined number of other element processors 31, the element processor 31
And the positional relationship with other element processors 31 is different for each element processor 31, so that all the element processors 3
1 has a problem that it is difficult to obtain necessary data in a SIMD parallel processor in which the same operation is performed.

【0113】例えば、Cubic近似では連続する入力
データのうちの4つのデータに対する畳み込み演算が必
要である。例えば、画像を(10/7)倍に拡大する場
合、図34に示すように、入力データRiは、密に配列
されないので、例えば出力データQ3を算出するときに
必要となる入力データR1,R2,R3,R4のうち、
R1,R3,R4は、出力データQ3を算出する要素プ
ロセッサ31を基点として、左2つ隣り、右1つ隣り、
および、右3つ隣りの要素プロセッサ31によってそれ
ぞれ保持されている。
For example, in the Cubic approximation, a convolution operation is required for four data of continuous input data. For example, when the image is enlarged by (10/7) times, as shown in FIG. 34, the input data Ri is not densely arranged, and thus the input data R1 and R2 required when calculating the output data Q3, for example. , R3, R4
R1, R3, and R4 are adjacent to the left two and to the right one from the element processor 31 that calculates the output data Q3,
And are held by the three element processors 31 adjacent to the right.

【0114】一方、出力データQ4の算出に必要な入力
データR2,R3,R4,R5のうち、R2,R4,R
5は、左1つ隣り、右2つ隣り、および、右3つ隣りの
要素プロセッサ31によってそれぞれ保持されている。
また、出力データQ5の算出に必要な入力データR2,
R3,R4,R5は、基点となる要素プロセッサ31の
左2つ隣り、左1つ隣り、右1つ隣り、右2つ隣りの要
素プロセッサ31にそれぞれ保持されている。
On the other hand, of the input data R2, R3, R4, and R5 necessary for calculating the output data Q4, R2, R4, R5
5 is held by the element processors 31 that are immediately adjacent to the left, adjacent to the right, and adjacent to the right.
Also, input data R2, necessary for calculating output data Q5,
R3, R4, and R5 are held in the element processors 31 that are two adjacent left, one adjacent left, one adjacent right, and two adjacent right of the element processor 31 that is the base point.

【0115】このように、各出力データの算出に必要な
入力データを保持している要素プロセッサ31と、その
出力データを算出する要素プロセッサ31との位置関係
が、出力データ毎に変化する。
As described above, the positional relationship between the element processor 31 holding the input data necessary for calculating each output data and the element processor 31 calculating the output data changes for each output data.

【0116】図35は、画像を(10/7)倍に拡大す
る場合の、各出力データの算出に必要な入力データを保
持している要素プロセッサ31のパターンを示してい
る。図35に示すように、この場合、5つのパターンに
分類される。
FIG. 35 shows a pattern of the element processor 31 holding input data necessary for calculating each output data when the image is enlarged by (10/7). As shown in FIG. 35, in this case, it is classified into five patterns.

【0117】また、上述のような並列プロセッサを利用
する場合、各要素プロセッサ31が、1画素に対応する
出力データを算出するので、要素プロセッサ31毎に、
異なる上述のフィルタ係数を供給する必要があるという
問題を有している。
When the above-described parallel processor is used, each element processor 31 calculates output data corresponding to one pixel.
It has the problem that different filter coefficients need to be supplied.

【0118】本発明は、このような状況に鑑みてなされ
たもので、所定の分割数で元の画像の画素間隔を分割し
たときの各位相に対応するフィルタ係数セットのうち、
位相が、補間演算される画素の位相に最も近いフィルタ
係数セットを利用して、画像データの補間演算を行うよ
うにして、任意の変換比率の画像の拡大または縮小を行
うことができるようにするものである。
The present invention has been made in view of such a situation, and includes a filter coefficient set corresponding to each phase when the pixel interval of the original image is divided by a predetermined number of divisions.
The interpolation operation of the image data is performed by using the filter coefficient set whose phase is closest to the phase of the pixel to be subjected to the interpolation operation, so that the image having an arbitrary conversion ratio can be enlarged or reduced. Things.

【0119】[0119]

【課題を解決するための手段】請求項1に記載の画像処
理装置は、所定の分割数で元の画像の画素間隔を分割し
たときの各位相に対応するフィルタ係数セットを記憶
し、そのフィルタ係数セットのうち、位相が、補間演算
される画素データの位相に最も近いフィルタ係数セット
を演算部に出力する記憶部と、そのフィルタ係数セット
を利用して、画素データの補間演算を行う演算部とを備
えることを特徴とする。
An image processing apparatus according to claim 1 stores a filter coefficient set corresponding to each phase when a pixel interval of an original image is divided by a predetermined number of divisions. A storage unit that outputs a filter coefficient set whose phase is closest to the phase of the pixel data to be interpolated among the coefficient sets to the operation unit, and an operation unit that performs the interpolation operation of the pixel data by using the filter coefficient set And characterized in that:

【0120】請求項3に記載の画像処理方法は、所定の
分割数で元の画像の画素間隔を分割したときの各位相に
対応するフィルタ係数セットを記憶している記憶部か
ら、位相が、補間演算される画素データの位相に最も近
いフィルタ係数セットを演算部に出力し、演算部によ
り、フィルタ係数セットを利用して、画素データの補間
演算を行うことを特徴とする。
According to a third aspect of the present invention, in the image processing method according to the first aspect of the present invention, the storage unit storing the filter coefficient set corresponding to each phase when the pixel interval of the original image is divided by a predetermined number of divisions, A filter coefficient set closest to the phase of the pixel data to be subjected to the interpolation calculation is output to the calculation unit, and the calculation unit performs the interpolation calculation of the pixel data using the filter coefficient set.

【0121】請求項4に記載の画像処理装置は、所定の
分割数で元の画像の画素間隔を分割したときの各位相に
対応するフィルタ係数セットのうち、位相が、処理され
る画素データの位相に最も近いフィルタ係数セットを、
要素プロセッサにそれぞれ供給し、要素プロセッサが、
フィルタ係数セットを利用して、画素データの補間の処
理をそれぞれ行うことを特徴とする。
According to the image processing apparatus of the present invention, in the filter coefficient set corresponding to each phase when the pixel interval of the original image is divided by a predetermined number of divisions, the phase is determined by the pixel data of the pixel data to be processed. The filter coefficient set closest to the phase is
To the element processors, respectively.
It is characterized in that pixel data interpolation processing is performed using a filter coefficient set.

【0122】請求項19に記載の画像処理方法は、所定
の分割数で元の画像の画素間隔を分割したときの各位相
に対応するフィルタ係数セットのうち、位相が、処理さ
れる画素データの位相に最も近いフィルタ係数セット
を、要素プロセッサにそれぞれ供給し、要素プロセッサ
が、フィルタ係数セットを利用して、画素データの補間
の処理をそれぞれ行うことを特徴とする。
In the image processing method according to the nineteenth aspect, among the filter coefficient sets corresponding to the respective phases when the pixel interval of the original image is divided by a predetermined number of divisions, the phase is determined by the pixel data of the pixel data to be processed. A filter coefficient set closest to the phase is supplied to each of the element processors, and each of the element processors performs a pixel data interpolation process using the filter coefficient set.

【0123】請求項1に記載の画像処理装置において
は、記憶部は、所定の分割数で元の画像の画素間隔を分
割したときの各位相に対応するフィルタ係数セットのう
ち、位相が、補間演算される画素データの位相に最も近
いフィルタ係数セットを演算部に出力し、演算部は、そ
のフィルタ係数セットを利用して、画素データの補間演
算を行う。
In the image processing apparatus according to the first aspect, the storage unit is configured such that, of the filter coefficient sets corresponding to the respective phases when the pixel interval of the original image is divided by a predetermined number of divisions, the phase is determined by interpolation. The filter coefficient set closest to the phase of the pixel data to be calculated is output to the calculation unit, and the calculation unit performs the interpolation calculation of the pixel data using the filter coefficient set.

【0124】請求項3に記載の画像処理方法において
は、所定の分割数で元の画像の画素間隔を分割したとき
の各位相に対応するフィルタ係数セットを記憶している
記憶部から、位相が、補間演算される画素データの位相
に最も近いフィルタ係数セットを演算部に出力し、演算
部により、フィルタ係数セットを利用して、画素データ
の補間演算を行う。
In the image processing method according to the third aspect, the storage unit storing the filter coefficient sets corresponding to the respective phases when the pixel interval of the original image is divided by the predetermined number of divisions is used. Then, the filter coefficient set closest to the phase of the pixel data to be interpolated is output to the calculation unit, and the calculation unit performs the interpolation calculation of the pixel data using the filter coefficient set.

【0125】請求項4に記載の画像処理装置において
は、所定の分割数で元の画像の画素間隔を分割したとき
の各位相に対応するフィルタ係数セットのうち、位相
が、処理される画素データの位相に最も近いフィルタ係
数セットを、要素プロセッサにそれぞれ供給し、要素プ
ロセッサが、フィルタ係数セットを利用して、画素デー
タの補間の処理をそれぞれ行う。
In the image processing apparatus according to the fourth aspect, of the filter coefficient set corresponding to each phase when the pixel interval of the original image is divided by a predetermined number of divisions, the phase is determined by the pixel data to be processed. Are supplied to the element processors, respectively, and the element processors use the filter coefficient sets to perform the respective pixel data interpolation processes.

【0126】請求項19に記載の画像処理方法において
は、所定の分割数で元の画像の画素間隔を分割したとき
の各位相に対応するフィルタ係数セットのうち、位相
が、処理される画素データの位相に最も近いフィルタ係
数セットを、要素プロセッサにそれぞれ供給し、要素プ
ロセッサが、フィルタ係数セットを利用して、画素デー
タの補間の処理をそれぞれ行う。
In the image processing method according to the nineteenth aspect, of the filter coefficient set corresponding to each phase when the pixel interval of the original image is divided by a predetermined number of divisions, the phase is determined by the pixel data to be processed. Are supplied to the element processors, respectively, and the element processors use the filter coefficient sets to perform the respective pixel data interpolation processes.

【0127】[0127]

【発明の実施の形態】図1は、本発明の画像処理装置の
第1の実施の形態の構成例を示している。
FIG. 1 shows a configuration example of a first embodiment of an image processing apparatus according to the present invention.

【0128】係数メモリ1Aは、所定の分割数で元の画
像の画素間隔を分割したときの各位相に対応するフィル
タ係数セットを記憶するようになされている。
The coefficient memory 1A stores a filter coefficient set corresponding to each phase when the pixel interval of the original image is divided by a predetermined number of divisions.

【0129】例えば、分割数を16に設定した場合、係
数メモリ1Aは、図2に示すように、正規化位相量xお
よびフィルタ選択信号Piに対応する16個のフィルタ
係数セット(FC1,FC2,FC3,FC4)を予め
記憶している。
For example, when the number of divisions is set to 16, the coefficient memory 1A stores 16 filter coefficient sets (FC1, FC2, FC2) corresponding to the normalized phase amount x and the filter selection signal Pi as shown in FIG. FC3, FC4) are stored in advance.

【0130】制御回路5は、画像の変換に伴う、補間後
の画素間隔に対応する位相の変化分Pdを所定の装置
(図示せず)より供給され、その位相変化分Pdに対応
して、補間する画素に対応するフィルタ係数セットが選
択されるようにフィルタ選択信号Piを発生して、その
フィルタ選択信号Piを係数メモリ1Aに出力するよう
になされている。
The control circuit 5 is supplied from a predetermined device (not shown) with a phase change Pd corresponding to the pixel interval after interpolation, which is associated with the image conversion, and in accordance with the phase change Pd, A filter selection signal Pi is generated so that a filter coefficient set corresponding to a pixel to be interpolated is selected, and the filter selection signal Pi is output to the coefficient memory 1A.

【0131】また、制御回路5は、位相変化分Pdの累
積値に対応して、レジスタ2−1乃至2−4に供給され
る制御信号を生成する。
The control circuit 5 generates a control signal to be supplied to the registers 2-1 to 2-4 in accordance with the accumulated value of the phase change Pd.

【0132】制御回路5の剰余回路11は、レジスタ1
2に記憶されている値と、位相変化分Pdとの和を1で
割算したときの剰余(即ち、和の小数部分)をレジスタ
12に出力するようになされている。また、剰余回路1
1は、レジスタ12に記憶されている値と、位相変化分
Pdとの和が1以上である場合、所定の信号を制御信号
発生回路14および調整回路15に出力するようになさ
れている。
The remainder circuit 11 of the control circuit 5 includes the register 1
The remainder (that is, the fractional part of the sum) obtained by dividing the sum of the value stored in 2 and the phase change Pd by 1 is output to the register 12. Also, the remainder circuit 1
1 outputs a predetermined signal to the control signal generation circuit 14 and the adjustment circuit 15 when the sum of the value stored in the register 12 and the phase change Pd is 1 or more.

【0133】制御回路5のレジスタ12は、剰余回路1
1より供給された値を保持し、その値を剰余回路11お
よび近似回路13に出力するようになされている。ま
た、レジスタ12は、1水平走査期間毎に供給されるク
リア信号に対応して、保持する値を0にリセットする。
The register 12 of the control circuit 5 stores the remainder circuit 1
The value supplied from 1 is held, and the value is output to the remainder circuit 11 and the approximation circuit 13. Further, the register 12 resets the held value to 0 in response to the clear signal supplied every one horizontal scanning period.

【0134】制御回路5の近似回路13は、レジスタ1
2より供給された値に最も近い正規化位相量x(図2)
に対応するフィルタ選択信号Piを係数メモリ1Aに出
力するようになされている。
The approximation circuit 13 of the control circuit 5 includes the register 1
The normalized phase amount x closest to the value supplied from 2 (FIG. 2)
Is output to the coefficient memory 1A.

【0135】制御回路5の制御信号発生回路14は、剰
余回路11より所定の信号が供給された場合、値が
「L」の制御信号をレジスタ2−1乃至2−4に出力
し、剰余回路11より所定の信号が供給されていない場
合、値が「H」の制御信号を出力するようになされてい
る。
When a predetermined signal is supplied from the remainder circuit 11, the control signal generation circuit 14 of the control circuit 5 outputs a control signal having a value of "L" to the registers 2-1 to 2-4, When a predetermined signal is not supplied from 11, a control signal having a value of "H" is output.

【0136】制御回路の調整回路15は、バッファメモ
リ(図示せず)を内蔵し、供給される入力画素データ
を、所定のタイミングでレジスタ2−1に出力するよう
になされている。調整回路15は、剰余回路11より所
定の信号が供給された場合、そのサイクルにおける画素
データの出力を停止する。
The adjusting circuit 15 of the control circuit has a built-in buffer memory (not shown), and outputs supplied input pixel data to the register 2-1 at a predetermined timing. When a predetermined signal is supplied from the remainder circuit 11, the adjustment circuit 15 stops outputting pixel data in that cycle.

【0137】なお、レジスタ2−1乃至2−4、乗算器
3−1乃至3−4、および加算器4は、図30と同様に
構成されているので、その説明を省略する。
The registers 2-1 to 2-4, the multipliers 3-1 to 3-4, and the adder 4 are configured in the same manner as in FIG. 30, and the description thereof will be omitted.

【0138】次に、図1の画像処理装置の動作について
説明する。
Next, the operation of the image processing apparatus of FIG. 1 will be described.

【0139】最初に、位相変化分Pdが制御回路5の剰
余回路11に供給される。そして、剰余回路11は、供
給された値と、レジスタ12の値の和の小数部分をレジ
スタ12に出力する。なお、このとき、供給された値
と、レジスタ12の値の和が1以上である場合、剰余回
路11は、所定の信号を制御信号発生回路14および調
整回路15に出力する。
First, the phase change Pd is supplied to the remainder circuit 11 of the control circuit 5. Then, the remainder circuit 11 outputs the fractional part of the sum of the supplied value and the value of the register 12 to the register 12. At this time, if the sum of the supplied value and the value of the register 12 is 1 or more, the remainder circuit 11 outputs a predetermined signal to the control signal generation circuit 14 and the adjustment circuit 15.

【0140】そして、近似回路13は、位相xが、レジ
スタ12の値に最も近い位相に対応するフィルタ係数セ
ットに対応するフィルタ選択信号Piを係数メモリ1A
に出力する。
Then, the approximation circuit 13 stores the filter selection signal Pi corresponding to the filter coefficient set whose phase x corresponds to the phase closest to the value of the register 12 to the coefficient memory 1A.
Output to

【0141】このようにして、所定の画素データの補間
において、所定の数のフィルタ係数セットのうちの最適
なフィルタ係数セットが選択される。
As described above, in interpolation of predetermined pixel data, an optimum filter coefficient set is selected from a predetermined number of filter coefficient sets.

【0142】なお、そのフィルタ係数セットを利用して
補間値を算出する動作は、図30の装置と同様であるの
で、その説明を省略する。
The operation of calculating the interpolation value using the filter coefficient set is the same as that of the apparatus shown in FIG. 30, and the description thereof will be omitted.

【0143】次に、図3を参照して、例えば、予め係数
メモリ1Aに記憶されている16個のフィルタ係数セッ
トを利用して、(10/7)倍に画像を拡大するときの
制御回路5の動作を説明する。
Next, referring to FIG. 3, a control circuit for enlarging an image by (10/7) times using, for example, a set of 16 filter coefficients stored in the coefficient memory 1A in advance. Operation 5 will be described.

【0144】最初に、位相が0である第1番目の補間値
Q1(図23)を算出する場合においては、レジスタ1
2の値は初期値0に設定されており、その値が近似回路
13に供給され、近似回路13は、図2に示すフィルタ
選択信号Piのうち、位相xが、供給された値0に最も
近いフィルタ選択信号P0(x=0.0)を選択し、そ
のフィルタ選択信号P0を係数メモリ1Aに出力する。
なお、このとき、フィルタ選択信号P0に対応する位相
xが0.0であり、供給された値と同一であるので、位
相に関する誤差は0である。
First, when calculating the first interpolation value Q1 (FIG. 23) having a phase of 0, the register 1
2 is set to an initial value 0, and the value is supplied to the approximation circuit 13. The approximation circuit 13 sets the phase x of the filter selection signal Pi shown in FIG. A close filter selection signal P0 (x = 0.0) is selected, and the selected filter selection signal P0 is output to the coefficient memory 1A.
At this time, since the phase x corresponding to the filter selection signal P0 is 0.0, which is the same as the supplied value, the error relating to the phase is 0.

【0145】また、このとき、剰余回路11には、位相
変化分Pd(この場合、Pd=0.7)が供給され、レ
ジスタ12の値0と位相変化分0.7の和の小数部分、
即ち、0.7が、レジスタ12に出力される。
At this time, the phase change Pd (in this case, Pd = 0.7) is supplied to the remainder circuit 11, and the fractional part of the sum of the value 0 of the register 12 and the phase change 0.7 is obtained.
That is, 0.7 is output to the register 12.

【0146】次に、位相が0.7である第2番目の補間
値Q2(図23)を算出する場合、このときのレジスタ
12の値は0.7に設定されており、その値が近似回路
13に供給され、近似回路13は、図2に示すフィルタ
選択信号Piのうち、位相xが、供給された値0.7に
最も近いフィルタ選択信号P11(x=0.6875)
を選択し、そのフィルタ選択信号P11を係数メモリ1
Aに出力する。なお、このとき、フィルタ選択信号P1
1に対応する位相xが0.6875であり、供給された
値0.7と異なるので、0.0125の位相に関する誤
差が発生している。
Next, when calculating the second interpolation value Q2 (FIG. 23) having a phase of 0.7, the value of the register 12 at this time is set to 0.7, and the value is approximated. The circuit 13 supplies the filter selection signal P11 (x = 0.6875) whose phase x is closest to the supplied value 0.7 among the filter selection signals Pi shown in FIG.
And the filter selection signal P11 is stored in the coefficient memory 1
Output to A. At this time, the filter selection signal P1
Since the phase x corresponding to 1 is 0.6875, which is different from the supplied value 0.7, an error relating to the phase of 0.0125 occurs.

【0147】また、このとき、剰余回路11には、位相
変化分Pd(Pd=0.7)が供給され、レジスタ12
の値0.7と位相変化分0.7の和の小数部分、即ち、
0.4が、レジスタ12に出力される。
At this time, the phase change Pd (Pd = 0.7) is supplied to the remainder circuit 11,
Of the sum of the value 0.7 and the phase change amount 0.7, that is,
0.4 is output to the register 12.

【0148】そして、位相が0.4である第3番目の補
間値Q3(図23)を算出する場合、このときのレジス
タ12の値は0.4に設定されており、その値が近似回
路13に供給され、近似回路13は、図2に示すフィル
タ選択信号Piのうち、位相xが、供給された値0.4
に最も近いフィルタ選択信号P6(x=0.375)を
選択し、そのフィルタ選択信号P6を係数メモリ1Aに
出力する。なお、このとき、フィルタ選択信号P6に対
応する位相xが0.375であり、供給された値0.4
と異なるので、0.025の位相に関する誤差が発生し
ている。
When calculating the third interpolation value Q3 (FIG. 23) having the phase of 0.4, the value of the register 12 at this time is set to 0.4, and the value is set to the approximation circuit. 13, the approximation circuit 13 sets the phase x of the filter selection signal Pi shown in FIG.
Is selected, and the filter selection signal P6 is output to the coefficient memory 1A. At this time, the phase x corresponding to the filter selection signal P6 is 0.375, and the supplied value 0.4
Therefore, an error relating to the phase of 0.025 occurs.

【0149】また、このとき、剰余回路11には、位相
変化分Pd(Pd=0.7)が供給され、レジスタ12
の値0.4と位相変化分0.7の和の小数部分、即ち、
0.1が、レジスタ12に出力される。
At this time, the phase change Pd (Pd = 0.7) is supplied to the remainder circuit 11 and the register 12
Of the sum of the value 0.4 and the phase change amount 0.7, that is,
0.1 is output to the register 12.

【0150】以下同様にして、第4番目乃至第10番目
の補間値Qiが算出されていく。第11番目の補間値Q
11を算出するとき、補間する画素の位相が0に戻るの
で、この場合においては、16個のフィルタ係数セット
のうち、合計10個のフィルタ係数セットが利用され
る。
Similarly, the fourth to tenth interpolation values Qi are calculated in the same manner. Eleventh interpolated value Q
When calculating 11 , the phase of the pixel to be interpolated returns to 0. In this case, a total of 10 filter coefficient sets out of 16 filter coefficient sets are used.

【0151】位相変化分Pdは変換比率K:LのLによ
って決まるので、上述の位相変化分Pdの値を変更する
だけで、異なる変換比率の画像の拡大または縮小を行う
ことができる。
Since the phase change Pd is determined by L of the conversion ratio K: L, it is possible to enlarge or reduce an image having a different conversion ratio only by changing the value of the phase change Pd.

【0152】なお、このように変換比率に拘わらず、所
定の数のフィルタ係数セットを利用する場合、上述のよ
うに位相の誤差が発生するが、元々、補間関数として、
sinc関数を大幅に近似したものを利用しているの
で、この程度の位相の誤差は、ほとんど問題とはならな
い。なお、必要に応じて、画素間隔の分割数を大きくし
てもよい。
When a predetermined number of filter coefficient sets are used irrespective of the conversion ratio, a phase error occurs as described above.
Since the approximation of the sinc function is used, such a phase error hardly causes a problem. Note that the number of divisions of the pixel interval may be increased as necessary.

【0153】以上のように、第1の実施の形態において
は、任意の変換比率で、ハードウェア的に画像の拡大ま
たは縮小を行うことができる。
As described above, in the first embodiment, it is possible to enlarge or reduce an image by hardware at an arbitrary conversion ratio.

【0154】なお、上述の説明においては、画素間隔の
分割数が16に設定されているが、勿論、他の分割数で
もよい。
In the above description, the number of divisions of the pixel interval is set to 16, but it is needless to say that another division number may be used.

【0155】また、上述の位相変化分Pdは、小数で表
現されているが、画素間隔を分割数で除算して得られる
単位位相量で、その小数を除算した整数値を位相変化分
としてもよい。その場合、分割数を2のベキ乗にするこ
とにより、剰余回路11による剰余を算出する処理が簡
単になる。即ち、その場合、剰余回路11は、上位ビッ
トを無視するようにした2進数の加算器で実現すること
ができる。また、その場合、近似回路13は、単なる語
長制限のため四捨五入を行う回路でよい。
The above-mentioned phase change Pd is expressed as a decimal number. However, an integer value obtained by dividing the decimal number by the unit phase amount obtained by dividing the pixel interval by the number of divisions may be used as the phase change. Good. In this case, the process of calculating the remainder by the remainder circuit 11 is simplified by setting the number of divisions to a power of two. That is, in that case, the remainder circuit 11 can be realized by a binary adder that ignores the upper bits. In this case, the approximation circuit 13 may be a circuit that performs rounding for simple word length limitation.

【0156】さらに、上述のように、分割数に対応する
数(今の場合、16個)のフィルタ係数セットのうち、
所定の数(今の場合、10個)のフィルタ係数セットだ
けが使用される場合、係数メモリ1Aが、使用されるフ
ィルタ係数セットだけを記憶するようにしてもよい。そ
の場合、係数メモリ1Aの記憶領域を節約することがで
きる。
Further, as described above, out of the filter coefficient sets corresponding to the number of divisions (in this case, 16),
When only a predetermined number (in this case, 10) of filter coefficient sets are used, the coefficient memory 1A may store only the filter coefficient sets to be used. In that case, the storage area of the coefficient memory 1A can be saved.

【0157】図4は、本発明の画像処理装置の第2の実
施の形態の構成を示している。
FIG. 4 shows the configuration of an image processing apparatus according to a second embodiment of the present invention.

【0158】入力ポインタ21は、要素プロセッサ31
毎に、入力SAM部22に、入力データを受け取るか否
かを示す入力ポインタ信号を出力するようになされてい
る。なお、この入力ポインタ21は、例えば特開平8−
123683号公報に記載されているものと同様に、入
力データを選択的に要素プロセッサ31に供給させるこ
とができる。
The input pointer 21 is the element processor 31
Each time, an input pointer signal indicating whether or not to receive input data is output to the input SAM unit 22. Note that this input pointer 21 is, for example,
Input data can be selectively supplied to the element processor 31 in the same manner as described in JP-A-123683.

【0159】入力SAM部22は、要素プロセッサ31
毎に、所定の入力データを保持する記憶部を有し、入力
ポインタ21より供給されるSIP信号に対応して、入
力データを記憶するようになされている。また、入力S
AM部22は、プログラム制御部27Aより、SIR信
号を受け取ると、保持しているデータを、データメモリ
部23に出力するようになされている。
The input SAM unit 22 has the element processor 31
Each storage device has a storage unit for holding predetermined input data, and stores the input data corresponding to the SIP signal supplied from the input pointer 21. Also, input S
When receiving the SIR signal from the program control unit 27A, the AM unit 22 outputs the held data to the data memory unit 23.

【0160】データメモリ部23は、要素プロセッサ3
1毎に、所定のデータを保持する記憶部を有し、プログ
ラム制御部27Aより、SWA信号を受け取ると、入力
SAM部22またはALUアレイ部24より供給された
データを記憶部に記憶し、メモリ読み出しアクセス信号
(SRAA,SRBA)を受け取ると、そのデータをA
LUアレイ部24に出力するようになされている。
The data memory unit 23 stores the element processor 3
Each memory has a storage unit for holding predetermined data, and upon receiving a SWA signal from the program control unit 27A, stores the data supplied from the input SAM unit 22 or the ALU array unit 24 in the storage unit. When a read access signal (SRAA, SRBA) is received, the data is transferred to A
The data is output to the LU array unit 24.

【0161】ALUアレイ部24は、要素プロセッサ3
1毎に演算部(図6のALU(Arithmetic and Logical
Unit)81)を有し、データメモリ部23より供給さ
れるデータに対して、プログラム制御部27Aより供給
されるALU制御信号(SALU−CONT)に対応す
る演算を行うようになされている。
The ALU array unit 24 includes the element processor 3
An arithmetic unit (ALU (Arithmetic and Logical
Unit) 81), and an operation corresponding to the ALU control signal (SALU-CONT) supplied from the program control unit 27A is performed on the data supplied from the data memory unit 23.

【0162】出力SAM部25は、要素プロセッサ31
毎に、所定の出力データを保持する記憶部を有し、プロ
グラム制御部27Aより供給される出力SAM書き込み
信号(SOW)を受け取ると、ALUアレイ部24から
の出力データをその記憶部に記憶するようになされてい
る。また、出力SAM部25は、出力ポインタ26より
供給される出力ポインタ信号(SOP)に対応して、保
持しているデータを出力するようになされている。
The output SAM unit 25 is connected to the element processor 31
Each memory has a storage unit for holding predetermined output data, and upon receiving an output SAM write signal (SOW) supplied from the program control unit 27A, stores the output data from the ALU array unit 24 in the storage unit. It has been made like that. The output SAM unit 25 outputs the held data in accordance with the output pointer signal (SOP) supplied from the output pointer 26.

【0163】出力ポインタ26は、要素プロセッサ31
毎に、出力SAM部25に、出力データを出力するか否
かを示すSOP信号を出力するようになされている。な
お、この出力ポインタ26は、例えば特開平8−123
683号公報に記載されているものと同様に、要素プロ
セッサ31から選択的にデータを出力させることができ
る。
The output pointer 26 corresponds to the element processor 31
Each time, an SOP signal indicating whether to output output data is output to the output SAM unit 25. The output pointer 26 is described in, for example, Japanese Patent Application Laid-Open No. 8-123.
Data can be selectively output from the element processor 31 in the same manner as described in Japanese Patent No. 683.

【0164】プログラム制御部27Aは、所定のプログ
ラムに従って各部を制御し、後述の各種動作を行わせる
ようになされている。
The program control section 27A controls each section in accordance with a predetermined program to perform various operations described later.

【0165】図5は、要素プロセッサ31の構成例を示
している。図5の要素プロセッサ31は、様々な用途に
利用できる汎用的なプロセッサ形態として構成されてい
る。入力バッファメモリ(IQ)41は、図4の入力S
AM部22の1要素プロセッサ分に対応し、入力データ
を記憶する。データメモリ(RF)42は、図4のデー
タメモリ部23の1要素プロセッサ分に対応し、演算途
中のデータなどを記憶する3ポートメモリである。出力
バッファメモリ(OQ)44は、図4の出力SAM部2
5の1要素プロセッサ分に対応し、出力データを記憶す
る。
FIG. 5 shows a configuration example of the element processor 31. The element processor 31 of FIG. 5 is configured as a general-purpose processor that can be used for various purposes. The input buffer memory (IQ) 41 stores the input S of FIG.
Input data is stored corresponding to one element processor of the AM unit 22. The data memory (RF) 42 is a three-port memory corresponding to one element processor of the data memory unit 23 in FIG. The output buffer memory (OQ) 44 corresponds to the output SAM unit 2 in FIG.
Output data is stored corresponding to one of the five element processors.

【0166】演算部(ALU)43は、図4のALUア
レイ部24の1要素プロセッサ分に対応し、データメモ
リ42より供給されるデータに対して各種演算を行い、
その演算結果をデータメモリ42または出力バッファメ
モリ44に出力する。
The operation unit (ALU) 43 corresponds to one element processor of the ALU array unit 24 in FIG. 4 and performs various operations on the data supplied from the data memory 42.
The calculation result is output to the data memory 42 or the output buffer memory 44.

【0167】図5の要素プロセッサ31においては、入
力データは、入力バッファメモリ41に一旦入力され、
その後、データメモリ42に転送される。演算部43
は、データメモリ42より必要に応じて供給される、新
たに記憶されたデータ、過去に記憶されたデータ、演算
途中のデータなどに対して各種演算を行い、再びデータ
メモリ42に書き込むという作業を、プログラムに対応
して繰り返す。その演算結果は、出力バッファメモリ4
4に転送され、所定の速度やフォーマットで出力され
る。
In the element processor 31 shown in FIG. 5, input data is once input to the input buffer memory 41,
Thereafter, the data is transferred to the data memory 42. Arithmetic unit 43
Performs various operations on newly stored data, data stored in the past, data in the middle of operation, and the like, which are supplied as necessary from the data memory 42, and writes the data back into the data memory 42. Repeat for the program. The calculation result is output buffer memory 4
4 and output at a predetermined speed and format.

【0168】なお、要素プロセッサ31においては、入
力SAM部22、データメモリ部23、および、出力S
AM部25が、メモリの「カラム」を構成している。ま
た、ALUアレイ部24は、1ビットALUであり、フ
ルアダー(全加算器)を主体にした回路構成を有してい
る。従って、普通の所謂パーソナルコンピュータなどに
利用されているワード単位に処理を行うプロセッサとは
異なり、この要素プロセッサ31は、ビット処理プロセ
ッサであり、ビットを単位として処理を行う。
In the element processor 31, the input SAM unit 22, the data memory unit 23, and the output S
The AM unit 25 forms a “column” of the memory. The ALU array unit 24 is a 1-bit ALU and has a circuit configuration mainly using a full adder (full adder). Therefore, unlike a processor that performs processing in word units used in a general so-called personal computer or the like, the element processor 31 is a bit processing processor and performs processing in units of bits.

【0169】ビット処理プロセッサは、1プロセッサあ
たりのハードウェアの規模が小さいので、並列数を大き
くすることができる。従って、画像処理用の並列プロセ
ッサは、要素プロセッサ31の直線配列の並列数が、画
像信号の一水平走査期間分の画素数Hと同一もしくはそ
れより多く設計されている。
Since the bit processing processor has a small hardware scale per processor, the number of parallel processing can be increased. Therefore, the parallel processor for image processing is designed such that the number of parallel elements in the linear array of the element processors 31 is equal to or greater than the number H of pixels for one horizontal scanning period of the image signal.

【0170】図6は、上述の要素プロセッサ31の詳細
な回路構成の一例を示している。なお、図6の各セルの
構造は、理解を容易にするために非常に一般的なものと
して記述されている。また、同じ回路が複数並ぶ部分
は、1つの回路(1ビット分の回路)で代表して記述さ
れている。
FIG. 6 shows an example of a detailed circuit configuration of the element processor 31 described above. In addition, the structure of each cell in FIG. 6 is described as a very general structure for easy understanding. A portion where a plurality of the same circuits are arranged is described as a single circuit (a circuit for one bit).

【0171】入力SAM部22の1つの要素プロセッサ
31に対応する部分は、入力ポインタ21に制御され、
入力データのビット数ISBに対応して、ISB個の、
1ビットを記憶する入力SAMセル22−1乃至22−
ISBで構成されている。なお、図6においては、IS
B個の入力SAMセル22−1乃至22−ISBの代わ
りに、1つのセル22−iが記載されている。
The portion of the input SAM unit 22 corresponding to one element processor 31 is controlled by the input pointer 21.
According to the number of bits ISB of the input data,
Input SAM cells 22-1 to 22- storing one bit
It is composed of ISB. In FIG. 6, IS
Instead of the B input SAM cells 22-1 to 22-ISB, one cell 22-i is described.

【0172】入力SAMセル22−iにおいては、トラ
ンジスタTr1のゲート端子は、入力ポインタ21に接
続され、トランジスタTr1の他の2つの端子は、入力
データバス65または1ビットのデータを記憶するコン
デンサC1の一端に接続されている。
In the input SAM cell 22-i, the gate terminal of the transistor Tr1 is connected to the input pointer 21, and the other two terminals of the transistor Tr1 are connected to the input data bus 65 or the capacitor C1 for storing 1-bit data. Is connected to one end.

【0173】また、トランジスタTr2のゲート端子
は、プログラム制御部27Aに接続されており、SIR
信号を供給され、トランジスタTr2の他の2つの端子
は、書き込みビット線63およびコンデンサC1の一端
にそれぞれ接続されている。
The gate terminal of the transistor Tr2 is connected to the program control unit 27A,
The signal is supplied, and the other two terminals of the transistor Tr2 are connected to the write bit line 63 and one end of the capacitor C1, respectively.

【0174】コンデンサC1の一端は、トランジスタT
r1,Tr2に接続され、他端は、接地されている。
One end of the capacitor C1 is connected to the transistor T
r1 and Tr2, and the other end is grounded.

【0175】データメモリ部23の1つの要素プロセッ
サ31に対応する部分は、作業メモリとして必要なビッ
ト数MBに対応するMB個のデータメモリセル23−1
乃至23−MBで構成されている。なお、図6において
は、MB個のデータメモリセル23−1乃至23−MB
の代わりに、1つのセル23−iが記載されている。
The part corresponding to one element processor 31 of the data memory unit 23 is composed of MB data memory cells 23-1 corresponding to the number of bits MB required as a working memory.
To 23-MB. In FIG. 6, MB data memory cells 23-1 to 23-MB
, One cell 23-i is described.

【0176】データメモリ部23のデータメモリセル2
3−i(i=1,・・・,MB)は、2本の読み出しビ
ット線61,62と1本の書き込みビット線63を有す
る3ポートメモリである。
Data memory cell 2 of data memory unit 23
3-i (i = 1,..., MB) is a three-port memory having two read bit lines 61 and 62 and one write bit line 63.

【0177】データメモリセル23−iにおいては、ト
ランジスタTr11のゲート端子は、プログラム制御部
27Aに接続されており、SWA信号を供給され、トラ
ンジスタTr11の他の2つの端子は、書き込みビット
線63および1ビットのデータを記憶するコンデンサC
11の一端にそれぞれ接続されている。
In the data memory cell 23-i, the gate terminal of the transistor Tr11 is connected to the program control unit 27A, supplied with the SWA signal, and the other two terminals of the transistor Tr11 are connected to the write bit line 63 and Capacitor C for storing 1-bit data
11 are respectively connected to one end.

【0178】コンデンサC11の一端は、トランジスタ
Tr12のゲート端子と、トランジスタTr11に接続
され、他端は、接地されている。
One end of the capacitor C11 is connected to the gate terminal of the transistor Tr12 and the transistor Tr11, and the other end is grounded.

【0179】トランジスタTr12の残りの2つの端子
は、接地点、および、抵抗Rを介して電源(図示せず)
にそれぞれ接続されている。なお、抵抗Rは省略しても
よい。
The other two terminals of the transistor Tr12 are connected to a power supply (not shown) via a ground point and a resistor R.
Connected to each other. Note that the resistor R may be omitted.

【0180】トランジスタTr13のゲート端子は、プ
ログラム制御部27Aに接続されており、SRAA信号
を供給され、トランジスタTr13の残りの2つの端子
は、トランジスタTr12と抵抗R、および、読み出し
ビット線61にそれぞれ接続されている。
The gate terminal of the transistor Tr13 is connected to the program control unit 27A and supplied with the SRAA signal. The remaining two terminals of the transistor Tr13 are connected to the transistor Tr12, the resistor R, and the read bit line 61, respectively. It is connected.

【0181】トランジスタTr14のゲート端子は、プ
ログラム制御部27Aに接続されており、SRBA信号
を供給され、トランジスタTr14の残りの2つの端子
は、トランジスタTr12と抵抗R、および、読み出し
ビット線62にそれぞれ接続されている。
The gate terminal of the transistor Tr14 is connected to the program control unit 27A and supplied with the SRBA signal. The remaining two terminals of the transistor Tr14 are connected to the transistor Tr12, the resistor R and the read bit line 62, respectively. It is connected.

【0182】ALUアレイ部24の1つの要素プロセッ
サ31に対応する部分は、図6におけるALUセル24
A(ALU部)である。ALUセル24AのALU81
は、1ビットALUであり、全加算器(フルアダー)な
どの回路構成を有し、フリップフロップ82−1乃至8
2−3より供給される1ビットの値に対して演算を行
い、その演算結果をセレクタ83に出力する。
The part corresponding to one element processor 31 of the ALU array unit 24 is the ALU cell 24 shown in FIG.
A (ALU unit). ALU81 of ALU cell 24A
Is a 1-bit ALU, has a circuit configuration such as a full adder (full adder), and includes flip-flops 82-1 to 82-1.
An operation is performed on the 1-bit value supplied from 2-3, and the operation result is output to the selector 83.

【0183】また、ALUセル24Aは、ALU81に
入力される1ビットの値を保持するフリップフロップ8
2−1乃至82−3、フリップフロップ82−1乃至8
2−3に供給される値を選択するセレクタ(SEL)8
4−1乃至84−3などを有している。
The ALU cell 24A is a flip-flop 8 holding a 1-bit value input to the ALU 81.
2-1 to 82-3, flip-flops 82-1 to 8-8
Selector (SEL) 8 for selecting a value supplied to 2-3
4-1 to 84-3.

【0184】出力SAM部25の1つの要素プロセッサ
31に対応する部分は、出力ポインタ26に制御され、
出力信号ビット数(OSB)に対応して、OSB個の出
力SAMセル25−1乃至25−OSBで構成されてい
る。なお、図6においては、出力SAMセル25−1乃
至25−OSBの代わりに、1つのセル25−iが記載
されている。
A portion of the output SAM unit 25 corresponding to one element processor 31 is controlled by an output pointer 26,
It is composed of OSB output SAM cells 25-1 to 25-OSB corresponding to the number of output signal bits (OSB). In FIG. 6, one cell 25-i is described instead of the output SAM cells 25-1 to 25-OSB.

【0185】出力SAMセル25−iにおいては、トラ
ンジスタTr7のゲート端子は、プログラム制御部27
Aに接続されており、SOW信号を供給され、トランジ
スタTr7の他の2つの端子は、書き込みビット線63
A、および、1ビットのデータを記憶するコンデンサC
4の一端にそれぞれ接続されている。
In the output SAM cell 25-i, the gate terminal of the transistor Tr7 is connected to the program control unit 27.
A, is supplied with the SOW signal, and the other two terminals of the transistor Tr7 are connected to the write bit line 63.
A and a capacitor C for storing 1-bit data
4 is connected to one end.

【0186】コンデンサC4の一端は、トランジスタT
r7,Tr8に接続され、他端は、接地されている。
One end of the capacitor C4 is connected to the transistor T
r7 and Tr8, and the other end is grounded.

【0187】トランジスタTr8のゲート端子は、出力
ポインタ26に接続され、トランジスタTr8の他の2
つの端子のうちの一端は、コンデンサC4とトランジス
タTr7に接続され、残りの一端は、出力データバス6
6に接続されている。
The gate terminal of the transistor Tr8 is connected to the output pointer 26, and the other two terminals of the transistor Tr8 are connected.
One terminal of the two terminals is connected to the capacitor C4 and the transistor Tr7, and the other terminal is connected to the output data bus 6
6 is connected.

【0188】要素プロセッサ31に接続されているすべ
てのワード線は、それぞれ配列されている他の要素プロ
セッサ31にも接続されており、SIR信号、SWA信
号、メモリ読み出しアクセス信号(SRAA,SRB
A)、SOW信号などをすべての要素プロセッサ31に
伝送する。なお、これらのワード線は、図4のプログラ
ム制御部27A内でアドレスデコードされている。
All of the word lines connected to the element processor 31 are also connected to the other element processors 31 arranged therein, and the SIR signal, the SWA signal, and the memory read access signals (SRAA, SRB) are provided.
A), the SOW signal and the like are transmitted to all the element processors 31. These word lines are address-decoded in the program control unit 27A of FIG.

【0189】また、入力データバス65は、すべての要
素プロセッサ31の入力SAMセル22−iに接続さ
れ、出力データバス66は、すべての要素プロセッサ3
1の出力SAMセル25−iに接続されている。
The input data bus 65 is connected to the input SAM cells 22-i of all the element processors 31, and the output data bus 66 is connected to all the element processors 3.
1 SAM cell 25-i.

【0190】また、図4のメモリ28(記憶手段)は、
起動時、水平帰線期間、垂直帰線期間などに外部の制御
用CPU(図示せず)などより供給される、すべての要
素プロセッサ31におけるフィルタ演算に必要なすべて
の補間フィルタ係数のデータを、要素プロセッサ31の
番号順に保持するようになされている。即ち、メモリ2
8は、第1の実施の形態の係数メモリ1Aと同様に、予
め設定された分割数だけのフィルタ係数セットを記憶し
ている。
The memory 28 (storage means) in FIG.
At the time of startup, during a horizontal retrace period, a vertical retrace period, and the like, data of all interpolation filter coefficients required for a filter operation in all the element processors 31 and supplied from an external control CPU (not shown), The numbers are stored in the order of the element processors 31. That is, the memory 2
Reference numeral 8 stores filter coefficient sets of a predetermined number of divisions, similarly to the coefficient memory 1A of the first embodiment.

【0191】次に、この要素プロセッサ31におけるデ
ータの転送および演算について説明する。
Next, data transfer and calculation in element processor 31 will be described.

【0192】入力ポインタ21により指定された要素プ
ロセッサ31の入力SAMセル22−iにおいては、ト
ランジスタTr1がオン状態になり、コンデンサC1の
端子電圧が、入力データバス65(およびバッファ7
1)を介して供給される入力データに応じた電圧にな
る。
In the input SAM cell 22-i of the element processor 31 specified by the input pointer 21, the transistor Tr1 is turned on, and the terminal voltage of the capacitor C1 changes to the input data bus 65 (and the buffer 7).
The voltage becomes a voltage corresponding to the input data supplied via 1).

【0193】このようにして、入力データが、指定され
た要素プロセッサ31の入力SAM部22に記憶され
る。
Thus, the input data is stored in the input SAM unit 22 of the specified element processor 31.

【0194】次に、プログラム制御部27Aより供給さ
れるSIR信号により選択された入力SAMセル22−
iにおいては、トランジスタTr2がオン状態となり、
コンデンサC1の電圧に応じた転送データ信号が書き込
みビット線63に生じる。
Next, the input SAM cell 22- selected by the SIR signal supplied from the program control unit 27A.
In i, the transistor Tr2 is turned on,
A transfer data signal corresponding to the voltage of the capacitor C1 is generated on the write bit line 63.

【0195】このとき、SBC信号がバッファ72に供
給されるとともに、SWA信号が、所定のデータメモリ
セル23−iのトランジスタTr11に供給され、トラ
ンジスタTr11がオン状態になることにより、コンデ
ンサC11の端子電圧が、入力SAMセル22−iのコ
ンデンサC1に記憶されているデータに応じた電圧にな
る。
At this time, the SBC signal is supplied to the buffer 72, and the SWA signal is supplied to the transistor Tr11 of the predetermined data memory cell 23-i, turning on the transistor Tr11. The voltage becomes a voltage corresponding to the data stored in the capacitor C1 of the input SAM cell 22-i.

【0196】なお、ALUセル24Aからのデータをデ
ータメモリセル23−iに書き込む場合は、SBCA信
号が、バッファ73に供給される。
When writing data from the ALU cell 24A to the data memory cell 23-i, the SBCA signal is supplied to the buffer 73.

【0197】このデータ転送は、書き込みビット線63
を介して、1サイクルに1ビットずつ行われる。入力S
AM部22の各入力SAMセル22−iからデータを読
み出すときに利用されるSIR信号と、データメモリ部
23の各データメモリセル23−iへのデータの書き込
みに利用されるSWA信号は、同じアドレス空間内のア
ドレスを示しており、それぞれロウデコーダでデコード
されてワード線として与えられている。
In this data transfer, the write bit line 63
Through one bit per cycle. Input S
The SIR signal used to read data from each input SAM cell 22-i of the AM unit 22 and the SWA signal used to write data to each data memory cell 23-i of the data memory unit 23 are the same. Addresses in the address space are shown, each being decoded by a row decoder and given as a word line.

【0198】そして、ALUセル24Aは、データメモ
リ部23に、上述のようにして書き込まれた入力データ
や演算途中のデータ、あるいは、フリップフロップ82
−1乃至82−3に記憶されているデータを用いて、ビ
ット単位の演算処理を順次進める。
The ALU cell 24A stores, in the data memory unit 23, the input data written in the above-described manner, the data being calculated, or the flip-flop 82.
Using the data stored in -1 to 82-3, the arithmetic processing in bit units is sequentially advanced.

【0199】例えば、データメモリ部23の所定のビッ
トに対応するデータメモリセル23−iのデータと、他
のビットに対応するデータメモリセル23−iのデータ
を加算して、さらに他のビットに対応するデータメモリ
セル23−iに加算結果を書き込む場合は、次のように
動作する。
For example, the data of the data memory cell 23-i corresponding to a predetermined bit of the data memory unit 23 and the data of the data memory cell 23-i corresponding to another bit are added, and further added to another bit. When writing the addition result to the corresponding data memory cell 23-i, the following operation is performed.

【0200】プログラム制御部27Aは、データメモリ
部23の所定のビットに対応するデータメモリセル23
−iにSRAA信号を供給し、そのセルのトランジスタ
Tr13をオン状態にして、コンデンサC11に記憶さ
れていたデータを一方の読み出しビット線61に出力さ
せる。
The program control unit 27A operates the data memory cell 23 corresponding to a predetermined bit of the data memory unit 23.
-I to supply the SRAA signal to turn on the transistor Tr13 of the cell to output the data stored in the capacitor C11 to one of the read bit lines 61.

【0201】同時に、プログラム制御部27Aは、他の
ビットに対応するデータメモリセル23−iにSRBA
信号を供給し、そのセルのトランジスタTr14をオン
状態にして、コンデンサC11に記憶されていたデータ
を、他方の読み出しビット線62に出力される。
At the same time, program control unit 27A stores SRBA in data memory cell 23-i corresponding to another bit.
A signal is supplied, the transistor Tr14 of the cell is turned on, and the data stored in the capacitor C11 is output to the other read bit line 62.

【0202】これら2つの読み出されたデータは、AL
Uセル24Aのセレクタ84−1乃至84−3を介して
ALU81に供給される。そして、ALU81は、それ
らのデータに対して所定の演算を行い、その演算結果
を、セレクタ83を介してフリップフロップ85に供給
する。
These two read data are AL
The data is supplied to the ALU 81 via the selectors 84-1 to 84-3 of the U cell 24A. Then, the ALU 81 performs a predetermined operation on the data, and supplies the operation result to the flip-flop 85 via the selector 83.

【0203】そして、プログラム制御部27Aは、SB
CA信号を供給して、フリップフロップ85から演算結
果を書き込みビット線63に出力させ、SWA信号を、
所定のビットに対応するデータメモリセル23−iに供
給して、そのセル23−iのトランジスタTr11をオ
ン状態にして、コンデンサC11の端子電圧を、その演
算結果に対応する電圧にする。
Then, the program control unit 27A
The CA signal is supplied, the operation result is output from the flip-flop 85 to the write bit line 63, and the SWA signal is
The data is supplied to the data memory cell 23-i corresponding to the predetermined bit, the transistor Tr11 of the cell 23-i is turned on, and the terminal voltage of the capacitor C11 is set to a voltage corresponding to the operation result.

【0204】なお、ALUセル24Aにおける演算動作
は、プログラム制御部27Aより供給されるALU制御
信号(SALU−CONT)に従って行われる。ALU
セル24Aにおける演算結果は、上述のようにデータメ
モリ部23に書き込まれるか、あるいは、必要に応じて
ALUセル24Aのフリップフロップ82−3に記憶さ
れる。また、ALU81における演算が加算の場合は、
ALUセル24Aは、演算結果におけるキャリーをフリ
ップフロップ82−3に、サムをデータメモリ部23に
出力する。
The arithmetic operation in ALU cell 24A is performed according to an ALU control signal (SALU-CONT) supplied from program control unit 27A. ALU
The operation result in the cell 24A is written into the data memory unit 23 as described above, or is stored in the flip-flop 82-3 of the ALU cell 24A as necessary. When the operation in the ALU 81 is addition,
The ALU cell 24A outputs the carry in the operation result to the flip-flop 82-3 and outputs the sum to the data memory unit 23.

【0205】次に、データメモリセル23−iよりデー
タを出力させる場合、プログラム制御部27Aは、出力
するデータを記憶しているデータメモリセル23−i
に、メモリアクセス信号(SRAAあるいはSRBA)
を供給して、そのセル23−iのトランジスタTr13
またはTr14をオン状態にして、コンデンサC11に
記憶されているデータを読み出しビット線61または6
2に出力する。
Next, when outputting data from the data memory cell 23-i, the program control unit 27A sets the data memory cell 23-i storing the data to be output.
And a memory access signal (SRAA or SRBA)
And the transistor Tr13 of the cell 23-i is supplied.
Alternatively, Tr14 is turned on to read the data stored in the capacitor C11 and read the bit line 61 or 6
Output to 2.

【0206】そして、プログラム制御部27Aは、AL
Uセル24Aに、所定の制御信号を供給し、データメモ
リセル23−iからのデータを、出力SAMセル25−
iに転送させる。このとき、プログラム制御部27A
は、その出力SAMセル25−iのコンデンサC4にデ
ータが供給されるように、SOW信号を出力し、そのセ
ルのトランジスタTr17をオン状態にして、コンデン
サC4の端子電圧を、そのデータに応じた電圧にする。
Then, the program control unit 27A
A predetermined control signal is supplied to the U cell 24A, and the data from the data memory cell 23-i is output to the output SAM cell 25-A.
i. At this time, the program control unit 27A
Outputs an SOW signal so that data is supplied to the capacitor C4 of the output SAM cell 25-i, turns on the transistor Tr17 of the cell, and changes the terminal voltage of the capacitor C4 according to the data. To voltage.

【0207】なお、データは、書き込みビット線63を
経由して、1ビットずつ転送される。このとき、データ
に対して、ALU81により何らかの処理を行ってもよ
い。
Data is transferred bit by bit via the write bit line 63. At this time, the ALU 81 may perform some processing on the data.

【0208】また、出力SAM部25の各出力SAMセ
ル25−iにデータを記憶させるときに利用するSOW
信号と、データメモリ部23の各データメモリセル23
−iからデータを読み出すときに利用するメモリアクセ
ス信号(SRAA,SRBA)は、同じアドレス空間内
のアドレスであり、それぞれロウデコーダでデコードさ
れてワード線を介して供給される。
The SOW used when storing data in each output SAM cell 25-i of the output SAM unit 25 is used.
Signal and each data memory cell 23 of the data memory unit 23
Memory access signals (SRAA, SRBA) used when reading data from -i are addresses in the same address space, and are decoded by a row decoder and supplied via word lines.

【0209】出力ポインタ26が指定した要素プロセッ
サ31の出力SAMセル25−iにおいては、トランジ
スタTr8が出力ポインタ信号に対応してオン状態にな
り、コンデンサC4の電位に応じた出力信号が出力デー
タバス66に出力される。
In output SAM cell 25-i of element processor 31 designated by output pointer 26, transistor Tr8 is turned on in response to the output pointer signal, and an output signal corresponding to the potential of capacitor C4 is output to the output data bus. It is output to 66.

【0210】そして、出力ポインタ26は、値が「H」
である出力ポインタ信号を、左端の要素プロセッサ31
から右端の要素プロセッサ31まで、クロック信号に従
って、順次供給することにより、各要素プロセッサ31
の出力SAMセル25−iから、データを順次出力させ
る。
Then, the value of the output pointer 26 is "H".
Is output to the leftmost element processor 31.
To the rightmost element processor 31 in accordance with the clock signal.
From the output SAM cell 25-i.

【0211】このようにして、出力SAMセル25−i
に供給されたデータは、出力データバス66を介して出
力端子DOUTに出力される。
In this manner, the output SAM cell 25-i
Is output to the output terminal DOUT via the output data bus 66.

【0212】なお、要素プロセッサ31は、画像信号の
1水平走査期間の画素数H以上設けられているので、こ
の動作を行うことにより、出力画像信号の1水平走査期
間分のデータが、出力SAM部25より出力される。そ
して、この出力動作は水平走査期間毎に繰り返される。
Since the element processor 31 is provided with more than the number of pixels H in one horizontal scanning period of the image signal, by performing this operation, the data of the output image signal for one horizontal scanning period is output to the output SAM. Output from the unit 25. This output operation is repeated every horizontal scanning period.

【0213】以上のようにして、各要素プロセッサ31
は、データの入力、データの転送、演算、データの出力
などの処理を行う。
As described above, each element processor 31
Performs processes such as data input, data transfer, calculation, and data output.

【0214】なお、第2の実施の形態においては、起動
時や、水平帰線期間または垂直帰線期間に、すべてのフ
ィルタ係数セットが、すべての要素プロセッサ31のデ
ータメモリ部23に供給される。このとき、フィルタ係
数セットは、メモリ28から、入力データバス65の一
部(所定のビット幅)を介して、入力SAM部22に供
給され、データメモリ部23に転送される。このときの
動作は、次に説明する、データメモリ部23への入力デ
ータRiの供給の動作と同様であるので、その説明を省
略する。
In the second embodiment, all the filter coefficient sets are supplied to the data memory units 23 of all the element processors 31 at the time of startup, during the horizontal retrace period or the vertical retrace period. . At this time, the filter coefficient set is supplied from the memory 28 to the input SAM unit 22 via a part (predetermined bit width) of the input data bus 65, and is transferred to the data memory unit 23. The operation at this time is the same as the operation of supplying the input data Ri to the data memory unit 23, which will be described next, and thus the description thereof is omitted.

【0215】次に、図7のフローチャートを参照して、
第2の実施の形態の動作について説明する。
Next, referring to the flowchart of FIG.
The operation of the second embodiment will be described.

【0216】最初に、ステップS1において、1水平走
査期間分の所定のLビットの入力データRi(=
{ri0,・・・,ri(L-1)})が入力SAM部22に入
力される。
First, in step S1, predetermined L-bit input data Ri (= 1) for one horizontal scanning period
{ Ri0 , ..., ri (L-1) }) are input to the input SAM unit 22.

【0217】(10/7)倍の画像の拡大を行う場合、
上述のように、各出力データの算出に必要な入力データ
を保持している要素プロセッサ31と、その出力データ
を算出する要素プロセッサ31との位置関係が、出力デ
ータ毎に変化する。例えば、7画素の入力データに対応
して10画素の出力データを算出する場合、各出力デー
タの算出に必要な入力データを保持している要素プロセ
ッサ31のパターンは、図35に示すように5つのパタ
ーンに分類される。
In the case of performing (10/7) magnification of an image,
As described above, the positional relationship between the element processor 31 that holds input data necessary for calculating each output data and the element processor 31 that calculates the output data changes for each output data. For example, when calculating the output data of 10 pixels corresponding to the input data of 7 pixels, the pattern of the element processor 31 holding the input data necessary for the calculation of each output data is 5 as shown in FIG. Are classified into three patterns.

【0218】そこで、このとき、図8に示すように、7
個の入力データのいずれかを重複させて、その7個の入
力データを、10個の要素プロセッサ31に密に供給す
る。即ち、図34に示す要素プロセッサ31のうち、入
力データが供給されないものに対して、その左隣りの要
素プロセッサ31と同一の入力データを供給する。
Therefore, at this time, as shown in FIG.
Any of the input data is overlapped, and the seven input data are densely supplied to the ten element processors 31. That is, among the element processors 31 shown in FIG. 34 to which input data is not supplied, the same input data as the element processor 31 on the left side is supplied.

【0219】この入力データの供給の手順は、図30の
装置におけるデータの入力と同様にして実現してもよい
し、あるいは、特開平8−123683号公報に記載さ
れている方法を利用して、疎な状態になるようにデータ
を一旦供給し、その後、プログラムに従って所定のデー
タをコピーするようにして実現してもよい。
This input data supply procedure may be realized in the same manner as the data input in the apparatus shown in FIG. 30, or may be performed by using a method described in Japanese Patent Application Laid-Open No. 8-123683. Alternatively, data may be supplied once so as to be in a sparse state, and then predetermined data may be copied according to a program.

【0220】なお、図8においては、入力データRiお
よび出力データQiは、実際は、8ビット程度である
が、便宜上、それぞれ4ビットで表されている。また、
入力SAM部22、データメモリ部23、および、出力
SAM部25においては、説明に必要なメモリ容量だけ
を示している。
In FIG. 8, the input data Ri and the output data Qi are actually about 8 bits, but are represented by 4 bits for convenience. Also,
In the input SAM unit 22, the data memory unit 23, and the output SAM unit 25, only the memory capacities necessary for explanation are shown.

【0221】このように入力データを供給することによ
り、図9に示すように、例えば、図9の種類1のパター
ンの場合、左2つ隣りの要素プロセッサ31と、左隣り
の要素プロセッサ31に、同一の入力データが供給され
るとともに、右隣りの要素プロセッサ31と、右2つ隣
りの要素プロセッサ31に、同一の入力データが供給さ
れるので、図9の種類1のパターンは、種類2のパター
ンと同様に取り扱うことができる。
By supplying the input data in this manner, as shown in FIG. 9, for example, in the case of the pattern of type 1 in FIG. 9, the element processor 31 adjacent to the left two elements and the element processor 31 adjacent to the left are used. The same input data is supplied, and the same input data is supplied to the element processor 31 on the right side and the element processor 31 on the two right side. Therefore, the pattern of type 1 in FIG. Can be handled in the same way as the pattern of

【0222】また、図9の種類3のパターンの場合、所
定の要素プロセッサ31と、その左隣りの要素プロセッ
サ31に、同一の入力データが供給されるので、図9の
種類3のパターンは、種類4のパターンと同様に取り扱
うことができる。
In the case of the type 3 pattern shown in FIG. 9, the same input data is supplied to the predetermined element processor 31 and the element processor 31 on the left side thereof, so that the type 3 pattern shown in FIG. It can be handled in the same way as the type 4 pattern.

【0223】さらに、また、図9の種類5のパターンの
場合、右隣りの要素プロセッサ31と、右2つ隣りの要
素プロセッサ31に、同一の入力データが供給されるの
で、図9の種類5のパターンは、種類2のパターンと同
様に取り扱うことができる。
Further, in the case of the pattern of type 5 in FIG. 9, the same input data is supplied to the element processor 31 on the right side and the element processor 31 on the right two sides. Can be handled in the same manner as the type 2 pattern.

【0224】従って、図8に示すように入力データを供
給することにより、上述の5つのパターンは、図10に
示す2つパターン(種類2と種類4)に縮退している。
Therefore, by supplying input data as shown in FIG. 8, the above-mentioned five patterns are reduced to two patterns (type 2 and type 4) shown in FIG.

【0225】なお、(10/7)以外の変換比率の場合
も、予め、上述のパターンの数が最小になるような入力
データの供給方式を算出しておくことにより、上述のよ
うに位置関係のパターンを縮退させることができる。
In the case of a conversion ratio other than (10/7), by calculating in advance the input data supply method that minimizes the number of patterns described above, the positional relationship as described above is obtained. Can be degenerated.

【0226】そして、プログラム制御部27Aは、2つ
のパターンについて、要素プロセッサ31に対応するパ
ターンを示す1ビットの値(0または1)を、入力デー
タとともに、各要素プロセッサ31に供給する。
Then, the program control unit 27A supplies a one-bit value (0 or 1) indicating a pattern corresponding to the element processor 31 to each of the two patterns together with the input data.

【0227】次に、ステップS2乃至ステップS5にお
いて、プログラム制御部27Aは、各要素プロセッサ3
1に供給された入力データRiを、入力SAM部22か
ら、書き込みビット線63を介して、データメモリ部2
3に1ビットずつ転送させる。
Next, in steps S2 to S5, the program control unit 27A
1 is supplied from the input SAM unit 22 to the data memory unit 2 via the write bit line 63.
3 is transferred one bit at a time.

【0228】今の場合、入力データRiは、便宜上、4
ビットに設定されており、入力SAM部22のアドレス
0乃至4に記憶されている。従って、図8に示すよう
に、入力SAM部22のアドレス0の内容が、データメ
モリ部23のアドレス8に転送され、同様に、入力SA
M部22のアドレス1乃至3の内容が、データメモリ部
23のアドレス9乃至11にそれぞれ転送される。
In this case, for the sake of convenience, the input data Ri is 4
The bits are set in bits and are stored at addresses 0 to 4 of the input SAM unit 22. Therefore, as shown in FIG. 8, the contents of the address 0 of the input SAM unit 22 are transferred to the address 8 of the data memory unit 23, and similarly, the input SA
The contents of addresses 1 to 3 of the M section 22 are transferred to addresses 9 to 11 of the data memory section 23, respectively.

【0229】そして、ステップS6において、各要素プ
ロセッサ31は、後述の信号処理(補間演算)を行う。
In step S6, each element processor 31 performs signal processing (interpolation calculation) described later.

【0230】ステップS7乃至ステップS10におい
て、プログラム制御部27Aは、各要素プロセッサ31
において算出された演算結果(出力データQi)を、デ
ータメモリ部23から、読み出しビット線61,62、
および、ALUセル24Aを介して出力SAM部25に
1ビットずつ転送させる。
At steps S7 to S10, the program control unit 27A
The calculation result (output data Qi) calculated in is read out from the data memory unit 23 by the read bit lines 61, 62,
Then, the output SAM unit 25 is transferred one bit at a time via the ALU cell 24A.

【0231】今の場合、出力データQi(=qi0,・・
・,qi3)は、便宜上、4ビットに設定されており、デ
ータメモリ部23のアドレス16乃至19に記憶されて
いる。従って、図8に示すように、データメモリ部23
のアドレス16の内容が、出力SAM部25のアドレス
20に転送され、同様に、データメモリ部23のアドレ
ス17乃至19の内容が、出力SAM部25のアドレス
21乃至23にそれぞれ転送される。
In this case, the output data Qi (= q i0 ,...)
., Q i3 ) is set to 4 bits for convenience, and stored in addresses 16 to 19 of the data memory unit 23. Therefore, as shown in FIG.
Are transferred to the address 20 of the output SAM unit 25, and similarly, the contents of the addresses 17 to 19 of the data memory unit 23 are transferred to the addresses 21 to 23 of the output SAM unit 25, respectively.

【0232】次に、ステップS11において、算出され
た1水平走査期間分の出力データQiが出力SAM部2
5から出力される。
Next, in step S11, the calculated output data Qi for one horizontal scanning period is output to the output SAM unit 2.
5 is output.

【0233】以上のようにして、各1水平走査期間分の
画像データ毎に、フィルタ演算が行われる。なお、ステ
ップS1の動作、ステップS2乃至ステップS10の動
作、および、ステップS11の動作は並列に行われてお
り、所定の1水平走査期間分の画像データに対してステ
ップS2乃至ステップS10の動作が行われていると
き、1ライン前の1水平走査期間分の画像データに対し
てステップS11の動作が行われ、1ライン後の1水平
走査期間分画像データに対してステップS1の動作が行
われる。
As described above, the filter operation is performed for each image data for one horizontal scanning period. The operation of step S1, the operations of steps S2 to S10, and the operation of step S11 are performed in parallel, and the operations of steps S2 to S10 are performed on image data for one predetermined horizontal scanning period. When the operation is performed, the operation of step S11 is performed on the image data of one horizontal scanning period one line before, and the operation of step S1 is performed on the image data of one horizontal scanning period after one line. .

【0234】次に、図11および図12のフローチャー
トを参照して、図7のステップS6における信号処理の
詳細について説明する。
Next, the details of the signal processing in step S6 in FIG. 7 will be described with reference to the flowcharts in FIGS.

【0235】最初にステップS21において、各要素プ
ロセッサ31は、供給されたデータを保持するととも
に、左隣りの要素プロセッサ31にコピーする。なお、
本実施の形態においては、要素プロセッサ31は、左右
1つ隣り、または、左右2つ隣りの要素プロセッサだけ
と通信を行うことが可能であるように構成されており、
補間演算を行う場合、右3つ隣りの要素プロセッサ31
に供給されたデータが使用されるので、ステップS21
において、そのデータが、左隣りの要素プロセッサ31
に予めコピーされる。
First, in step S21, each element processor 31 holds the supplied data and copies it to the element processor 31 on the left. In addition,
In the present embodiment, the element processor 31 is configured to be able to communicate only with the element processor immediately adjacent to the left and right or two elements adjacent to the left and right,
When performing an interpolation operation, the element processors 31 adjacent to the right three elements
Is used, the data is supplied to step S21.
, The data is stored in the element processor 31 on the left.
Is copied in advance.

【0236】なお、以下、所定の要素プロセッサ31に
供給されたデータをR0とし、左隣りの要素プロセッサ
31に供給されたデータをR-1とし、左2つ隣りの要素
プロセッサ31に供給されたデータをR-2とする。ま
た、右隣りの要素プロセッサ31に供給されたデータを
+1とし、右2つ隣りの要素プロセッサ31に供給され
たデータをR+2とし、右3つ隣りの要素プロセッサ31
に供給されたデータをR+3とする。
Hereinafter, the data supplied to the predetermined element processor 31 is R 0 , the data supplied to the left adjacent element processor 31 is R −1, and the data supplied to the left two adjacent element processors 31 is R −1. The obtained data is defined as R- 2 . Further, the data supplied to the right adjacent element processor 31 is R + 1 , the data supplied to the right two adjacent element processors 31 is R + 2 , and the three right adjacent element processors 31 are R + 2.
Is R + 3 .

【0237】次にステップS22において、要素プロセ
ッサ31は、左隣りの要素プロセッサ31のデータR-1
と、予め供給されているフィルタ係数FC1の積を演算
し、その演算結果をY1Aに代入する。この積の演算は、
所定の回数のビット演算を行うことにより実行される。
Next, in step S22, the element processor 31 outputs the data R -1 of the element processor 31 on the left.
If, calculates the product of the filter coefficients FC1 being supplied advance, and substitutes the result to Y 1A. The operation of this product is
It is executed by performing a predetermined number of bit operations.

【0238】なお、補間演算に利用されるフィルタ係数
セット(FC1,FC2,FC3,FC4)には、その
フィルタ係数セットに対応する位相が、その要素プロセ
ッサによって処理される画素の位相に最も近いものが選
択される。
In the filter coefficient sets (FC1, FC2, FC3, FC4) used for the interpolation operation, the phase corresponding to the filter coefficient set is the one closest to the phase of the pixel processed by the element processor. Is selected.

【0239】このように、所定の数のフィルタ係数セッ
トを用意しておき、処理される画素の位相に対応する最
適なフィルタ係数セットを使用することにより、変換比
率が変更されても、同様の動作で、最適なフィルタ係数
セットが選択されることになる。
As described above, a predetermined number of filter coefficient sets are prepared, and the same filter coefficient set corresponding to the phase of the pixel to be processed is used. In operation, an optimal set of filter coefficients will be selected.

【0240】ステップS23において、要素プロセッサ
31は、自分に供給されたデータR0と、フィルタ係数
FC2の積を演算し、その演算結果をY2Aに代入する。
In step S23, the element processor 31 calculates the product of the data R 0 supplied thereto and the filter coefficient FC2, and substitutes the result of the calculation into Y 2A .

【0241】そして、ステップS24において、要素プ
ロセッサ31は、Y1AとY2Aの和を演算し、その演算結
果をY1Aに代入する。この和の演算は、所定の回数のビ
ット演算を行うことにより実行される。
Then, in step S24, the element processor 31 calculates the sum of Y 1A and Y 2A and substitutes the result of the calculation into Y 1A . The calculation of the sum is performed by performing a predetermined number of bit calculations.

【0242】次にステップS25において、要素プロセ
ッサ31は、右2つ隣りの要素プロセッサ31のデータ
+2と、フィルタ係数FC3の積を演算し、その演算結
果をY2Aに代入する。
[0242] Next, in step S25, the element processor 31 has a data R +2 element processors 31 of the right two neighboring calculates the product of the filter coefficients FC3, and substitutes the result to Y 2A.

【0243】そして、ステップS26において、要素プ
ロセッサ31は、Y1AとY2Aの和を演算し、その演算結
果をY1Aに代入する。
Then, in step S26, the element processor 31 calculates the sum of Y 1A and Y 2A and substitutes the result of the calculation into Y 1A .

【0244】次にステップS27において、要素プロセ
ッサ31は、右2つ隣りの要素プロセッサ31が有して
いる、右3つ隣りの要素プロセッサ31のデータR
+3と、フィルタ係数FC4の積を演算し、その演算結果
をY2Aに代入する。
Next, in step S27, the element processor 31 outputs the data R of the three right next element processors 31 that the two right next element processors 31 have.
+3, calculates the product of the filter coefficients FC4, and substitutes the result to Y 2A.

【0245】そして、ステップS28において、要素プ
ロセッサ31は、Y1AとY2Aの和を演算し、その演算結
果をY1Aに代入する。このとき、Y1Aの値は、R-1×F
C1+R0×FC2+R+2×FC3+R+3×FC4であ
り、図10の種類2のパターンに対応している。
Then, in step S28, the element processor 31 calculates the sum of Y 1A and Y 2A and substitutes the result of the calculation into Y 1A . At this time, the value of Y 1A is R −1 × F
C1 + R0 * FC2 + R + 2 * FC3 + R + 3 * FC4, which corresponds to the type 2 pattern in FIG.

【0246】次に、ステップS29において、要素プロ
セッサ31は、左2つ隣りの要素プロセッサ31のデー
タR-2と、フィルタ係数FC1の積を演算し、その演算
結果をY1Bに代入する。
[0246] Next, in step S29, the element processor 31 has a data R -2 element processors 31 of the left two neighboring, calculates the product of the filter coefficients FC1, and substitutes the result to Y 1B.

【0247】ステップS30において、要素プロセッサ
31は、自分に供給されたデータR0と、フィルタ係数
FC2の積を演算し、その演算結果をY2Bに代入する。
In step S30, the element processor 31 calculates the product of the data R 0 supplied thereto and the filter coefficient FC2, and substitutes the result of the calculation into Y 2B .

【0248】そして、ステップS31において、要素プ
ロセッサ31は、Y1BとY2Bの和を演算し、その演算結
果をY1Bに代入する。
Then, in step S31, the element processor 31 calculates the sum of Y 1B and Y 2B and substitutes the calculation result for Y 1B .

【0249】次にステップS32において、要素プロセ
ッサ31は、右隣りの要素プロセッサ31のデータR+1
と、フィルタ係数FC3の積を演算し、その演算結果
を、Y2Bに代入する。
Next, in step S32, the element processor 31 sets the data R +1 of the element processor 31 on the right.
, And the product of the filter coefficient FC3 and the result of the operation is substituted into Y 2B .

【0250】そして、ステップS33において、要素プ
ロセッサ31は、Y1BとY2Bの和を演算し、その演算結
果をY1Bに代入する。
Then, in step S33, the element processor 31 calculates the sum of Y 1B and Y 2B and substitutes the calculation result into Y 1B .

【0251】次にステップS34において、要素プロセ
ッサ31は、右2つ隣りの要素プロセッサ31のデータ
+2と、フィルタ係数FC4の積を演算し、その演算結
果をY2Bに代入する。
Next, in step S34, the element processor 31 calculates the product of the data R + 2 of the two adjacent right element processors 31 and the filter coefficient FC4, and substitutes the calculation result into Y 2B .

【0252】ステップS35において、要素プロセッサ
31は、Y1BとY2Bの和を演算し、その演算結果をY1B
に代入する。このとき、Y1Bの値は、R-2×FC1+R
0×FC2+R+1×FC3+R+2×FC4であり、図1
0の種類4のパターンに対応している。
In step S35, the element processor 31 calculates the sum of Y 1B and Y 2B and calculates the result of the calculation as Y 1B
Substitute for At this time, the value of Y 1B is R −2 × FC1 + R
0 × FC2 + R + 1 × FC3 + R + 2 × FC4, and FIG.
0 corresponds to the type 4 pattern.

【0253】そして、ステップS36において、要素プ
ロセッサ31は、入力データRiとともに供給された、
上述の位置関係を示す値(0または1)を参照して、そ
の値が、第1の値(図10の種類2に対応する値)であ
るか否かを判断し、その値が第1の値であると判断した
場合、ステップS37に進み、ステップS28のY1A
演算結果とし、上述の位置関係を示す値が、第1の値で
はないと判断した場合(即ち、図10の種類4に対応す
る値である場合)、ステップS35のY1Bを演算結果と
する。
Then, in step S36, the element processor 31 supplies the input data Ri with
With reference to the value (0 or 1) indicating the above-described positional relationship, it is determined whether or not the value is a first value (a value corresponding to type 2 in FIG. 10). If it is determined that the value, the process proceeds to step S37, the Y 1A in step S28 the calculation result, a value indicating a positional relationship described above, when it is determined that it is not the first value (i.e., the type of FIG. 10 If the value is a value corresponding to 4), Y 1B in step S35 is set as the calculation result.

【0254】以上のようにして、2種類の位置関係に対
応して近傍の要素プロセッサ31のデータを利用してフ
ィルタ演算(補間演算)が行われる。そして、上述のよ
うに位相の誤差が最小になるようにフィルタ係数セット
を選択することにより、SIMD形式の並列プロセッサ
においても、任意の変換比率の画像処理を行うことがで
きる。
As described above, the filter operation (interpolation operation) is performed using the data of the neighboring element processors 31 corresponding to the two types of positional relationships. By selecting the filter coefficient set so that the phase error is minimized as described above, image processing at an arbitrary conversion ratio can be performed even in a SIMD parallel processor.

【0255】なお、セレクタを設けて、メモリ28から
のフィルタ係数セットおよび入力データのいずれか一方
を、入力SAM部22に供給させるようにすることによ
り、例えば、垂直帰線期間などの入力SAM部22が入
力データRiの供給に利用されていない期間に、フィル
タ係数セットを入力データと同様に供給するようにして
もよい。
By providing a selector so that either the filter coefficient set or the input data from the memory 28 is supplied to the input SAM unit 22, for example, the input SAM unit such as a vertical blanking period is supplied. The filter coefficient set may be supplied in the same manner as the input data during a period when the input data 22 is not used for supplying the input data Ri.

【0256】このようにすることにより、入力データと
同一のビット数のバス65を利用して、フィルタ係数の
供給を行うことができるので、ビット数の大きい(語長
の長い)フィルタ係数を短時間で供給することができ
る。
By doing so, the filter coefficient can be supplied using the bus 65 having the same number of bits as the input data, so that the filter coefficient having a large number of bits (long word length) can be shortened. Can be supplied in time.

【0257】例えばフィルタ係数のビット数が10であ
る場合、4つのフィルタ係数のセットは合計40ビット
のデータであるので、例えば16ビットの入力データバ
ス65および入力SAM部22を介してデータメモリ部
23に、垂直帰線期間内で、フィルタ係数を供給するこ
とが十分可能である。
For example, when the number of bits of the filter coefficient is 10, the set of four filter coefficients is data of a total of 40 bits, and therefore, for example, the data memory section via the input data bus 65 and the input SAM section 22 of 16 bits. It is entirely possible to supply the filter coefficients to H.23 within the vertical retrace interval.

【0258】なお、第2の実施の形態においては、フィ
ルタ係数セットは、入力データRiとは異なるパターン
で入力SAM部22に供給されるので(フィルタ係数
は、その順番通りに、各要素プロセッサ31に供給され
るので)、入力データと並行してフィルタ係数を供給す
る場合、2系統の入力SAM部22のポインタ制御用の
回路を設け、入力データRiに対するポインタ制御と、
フィルタ係数に対するポインタ制御が、独立に行われる
ようにする。
In the second embodiment, the filter coefficient set is supplied to the input SAM unit 22 in a pattern different from the input data Ri. In the case where filter coefficients are supplied in parallel with input data, two circuits for pointer control of the input SAM unit 22 are provided, and pointer control for input data Ri is performed.
Pointer control for filter coefficients is performed independently.

【0259】また、この入力データの供給の手順は、図
30の装置におけるデータの入力と同様にして実現して
もよいし、あるいは、特開平8−123683号公報に
記載されている方法を利用して、疎な状態になるように
データを一旦供給し、その後、プログラムに従って所定
のデータをコピーするようにして実現してもよい。
The input data supply procedure may be realized in the same manner as the data input in the apparatus shown in FIG. 30, or a method described in Japanese Patent Application Laid-Open No. 8-123683 may be used. Then, the data may be supplied once so as to be in a sparse state, and then predetermined data may be copied according to a program.

【0260】図13は、本発明の第3の実施の形態の構
成を示している。第3の実施の形態においては、メモリ
29(記憶手段)は、図4のメモリ28と同様に、所定
の分割数に対応するフィルタ係数セットのデータを保持
するようになされている。また、メモリ29は、プログ
ラム制御部27Bにより制御され、起動時、水平帰線期
間、垂直帰線期間などにおいて、フィルタ係数セット
を、そのフィルタ係数セットに対応する位相の画素の値
を算出する要素プロセッサ31のALUアレイ部24を
介してデータメモリ部23に供給する。
FIG. 13 shows the configuration of the third embodiment of the present invention. In the third embodiment, the memory 29 (storage means) holds data of a filter coefficient set corresponding to a predetermined number of divisions, similarly to the memory 28 of FIG. Also, the memory 29 is controlled by the program control unit 27B, and at startup, in a horizontal retrace period, a vertical retrace period, and the like, the filter coefficient set is used to calculate the value of a pixel having a phase corresponding to the filter coefficient set. The data is supplied to the data memory unit 23 via the ALU array unit 24 of the processor 31.

【0261】メモリ28Aは、各要素プロセッサ31に
対応して、その要素プロセッサ31により算出される画
素の位相に対応するフィルタ選択番号i(即ち、位相x
が、補間する画素の位相に最も近いフィルタ係数セット
のフィルタ選択信号Piに対応する番号i)を保持す
る。そのフィルタ選択番号iは、第2の実施の形態のフ
ィルタ係数セットと同様に、入力データバス65を介し
て、入力データRiとともにデータメモリ部23に供給
される。
The memory 28A stores, for each element processor 31, a filter selection number i (ie, phase x) corresponding to the pixel phase calculated by the element processor 31.
Holds the number i) corresponding to the filter selection signal Pi of the filter coefficient set closest to the phase of the pixel to be interpolated. The filter selection number i is supplied to the data memory unit 23 together with the input data Ri via the input data bus 65, similarly to the filter coefficient set of the second embodiment.

【0262】なお、メモリ28A,29に記憶されてい
るデータは、外部の制御用CPUにより、起動時などに
予め供給されるものとする。
It is assumed that the data stored in the memories 28A and 29 is supplied in advance by the external control CPU at the time of startup or the like.

【0263】プログラム制御部27Bは、各部を制御
し、後述の動作を行わせるようになされている。
The program control section 27B controls each section to perform the operation described later.

【0264】なお、その他の構成要素は、第2の実施の
形態のものと同様であるので、その説明を省略する。
The other components are the same as those of the second embodiment, and the description thereof will be omitted.

【0265】なお、メモリ28Aに保持されているフィ
ルタ選択番号iは、例えば起動時に、入力データバス6
5および入力SAM部22を介してデータメモリ部23
に予め供給されているものとする。
Note that the filter selection number i held in the memory 28A is, for example, the value of the input data bus 6 at the time of startup.
5 and the data memory unit 23 via the input SAM unit 22
Is supplied in advance.

【0266】例えば、画素間隔の分割数(即ち、フィル
タ係数セットの数)が16である場合、メモリ28A
は、水平方向の画素数Hに関係なく、16種類の位相に
対応する16個のフィルタ選択番号iを記憶していれば
よい。即ち、フィルタ選択番号iが16個存在する場
合、そのフィルタ選択番号は、4ビットの2進数で表現
することができるので、メモリ28Aは、フィルタ選択
番号iとして4ビットのデータを記憶する。
For example, if the number of divisions of the pixel interval (ie, the number of filter coefficient sets) is 16, the memory 28A
Suffices to store 16 filter selection numbers i corresponding to 16 types of phases, regardless of the number H of pixels in the horizontal direction. That is, when there are 16 filter selection numbers i, the filter selection numbers can be expressed by a 4-bit binary number, so that the memory 28A stores 4-bit data as the filter selection numbers i.

【0267】また、フィルタ選択番号iが1,000種
類あったとしても、10ビットの2進数で表現すること
ができるので、第2の実施の形態のように、フィルタ係
数を入力SAM部22を介して供給する場合より、メモ
リ28Aの容量を低減することができる。
Even if there are 1,000 types of filter selection numbers i, they can be represented by a 10-bit binary number, so that the filter coefficient is input to the input SAM unit 22 as in the second embodiment. The capacity of the memory 28A can be reduced as compared with the case where the power is supplied via the memory 28A.

【0268】図14は、各要素プロセッサ31のデータ
メモリ部23に記憶されているフィルタ選択番号i(=
{φi0,・・・,φi3})の一例を示している。図14
のデータメモリ部23においては、16種類のフィルタ
選択番号のうち、10種類のフィルタ選択番号i(i=
0,・・・,9)が、4ビットのデータとして記憶され
ている。例えば、番号が6である要素プロセッサ31の
データメモリ部23には、フィルタ選択番号iが3であ
る4ビットのデータ{φ30,・・・,φ33}が記憶され
ている。
FIG. 14 shows a filter selection number i (=) stored in the data memory unit 23 of each element processor 31.
i0 ,..., Φ i3 }). FIG.
Of the 16 types of filter selection numbers, 10 types of filter selection numbers i (i =
0,..., 9) are stored as 4-bit data. For example, the data memory unit 23 of the element processor 31 whose number is 6 stores 4-bit data {φ 30 ,..., Φ 33 } whose filter selection number i is 3.

【0269】次に、図15のフローチャートを参照し
て、第3の実施の形態において、フィルタ係数セットを
各要素プロセッサ31のデータメモリ部23に供給する
ときの各部の動作について説明する。
Next, the operation of each unit when the filter coefficient set is supplied to the data memory unit 23 of each element processor 31 in the third embodiment will be described with reference to the flowchart of FIG.

【0270】最初にステップS41において、プログラ
ム制御部27Bは、供給するフィルタ係数セットに対応
するフィルタ選択番号iをカウントするカウンタjの値
を0に設定する。
First, in step S41, the program control section 27B sets the value of the counter j for counting the filter selection number i corresponding to the supplied filter coefficient set to 0.

【0271】次に、ステップS42において、プログラ
ム制御部27Bは、カウンタjの値をビット単位で供給
するときに利用するカウンタmの値を1に設定する。
Next, in step S42, the program control unit 27B sets the value of the counter m used when supplying the value of the counter j in bit units to 1.

【0272】そして、プログラム制御部27Bは、すべ
ての要素プロセッサ31のALUセル24Aに、カウン
タjの値の第m番目のビットの値を出力し、各要素プロ
セッサ31のALUセル24Aは、そのビットの値を受
け取る。
Then, the program control unit 27B outputs the value of the m-th bit of the value of the counter j to the ALU cells 24A of all the element processors 31, and the ALU cell 24A of each element processor 31 Receives the value of

【0273】ステップS44において、プログラム制御
部27Bは、カウンタmの値がカウンタjのビット長以
上であるか否かを判断し、カウンタmの値がカウンタj
のビット長より小さいと判断した場合、ステップS45
において、カウンタmの値を1だけ増加させた後、ステ
ップS43に戻り、次のビットの供給を行う。
In step S44, the program control unit 27B determines whether or not the value of the counter m is equal to or greater than the bit length of the counter j.
Is determined to be smaller than the bit length of
After the value of the counter m is increased by 1, the flow returns to step S43 to supply the next bit.

【0274】このようにして、カウンタjの値は、1ビ
ットずつ各要素プロセッサ31に供給される。
As described above, the value of the counter j is supplied to each element processor 31 bit by bit.

【0275】一方、ステップS44においてカウンタm
の値がカウンタjのビット長以上であると判断された場
合、カウンタjの値が供給されたことになるので、ステ
ップS46において、各要素プロセッサ31は、受信し
たカウンタjの値と、予めメモリ28Aより供給された
フィルタ選択番号iの値が同一であるか否かを判断し、
同一である場合、例えば、その判断に対応してフラグを
設定し、ステップS47に進む。
On the other hand, in step S44, the counter m
Is determined to be greater than or equal to the bit length of the counter j, it means that the value of the counter j has been supplied. In step S46, each element processor 31 stores the value of the received counter j in the memory It is determined whether or not the value of the filter selection number i supplied from 28A is the same,
If they are the same, for example, a flag is set according to the determination, and the process proceeds to step S47.

【0276】ステップS47において、各要素プロセッ
サ31は、そのフラグに対応して、供給されたフィルタ
係数セットのビット数をカウントするカウンタkの値を
1に設定する。
In step S47, each element processor 31 sets the value of the counter k for counting the number of bits of the supplied filter coefficient set to 1 in accordance with the flag.

【0277】そして、ステップS48において、各要素
プロセッサ31は、メモリ29より出力された、フィル
タ係数セットの第k番目のビットの値をALUセル24
Aで受け取り、データメモリ部23に記憶させる。
In step S48, each element processor 31 stores the value of the k-th bit of the filter coefficient set output from the memory 29 in the ALU cell 24.
A, and the data is stored in the data memory unit 23.

【0278】なお、メモリ29においては、各位相(即
ち、フィルタ選択番号i)に対応するフィルタ係数セッ
トが、係数毎に、最上位ビット(MSB)または最下位
ビット(LSB)から順番に記憶されており、フィルタ
係数セットは、上述のように1ビットの回線を介して、
1ビットずつ要素プロセッサ31のALUセル24Aに
順次出力される。
In the memory 29, a filter coefficient set corresponding to each phase (ie, filter selection number i) is stored for each coefficient in order from the most significant bit (MSB) or the least significant bit (LSB). And the filter coefficient set is transmitted via the 1-bit line as described above.
The bits are sequentially output to the ALU cell 24A of the element processor 31 bit by bit.

【0279】そして、ステップS49において、各要素
プロセッサ31は、カウンタkの値がフィルタ係数セッ
トのビット長以上であるか否かを判断し、カウンタkの
値がフィルタ係数セットのビット長より小さいと判断し
た場合、ステップS50において、カウンタkの値を1
だけ増加させた後、ステップS48に戻り、フィルタ係
数セットの次のビットの受信を行う。
[0279] In step S49, each element processor 31 determines whether the value of the counter k is equal to or greater than the bit length of the filter coefficient set, and determines that the value of the counter k is smaller than the bit length of the filter coefficient set. If it is determined that the value of the counter k is 1 in step S50.
Then, the process returns to step S48 to receive the next bit of the filter coefficient set.

【0280】一方、ステップS49においてカウンタk
の値がフィルタ係数セットのビット長以上であると判断
された場合、カウンタjの値に対応するフィルタ係数セ
ットの供給が終了したことになるので、ステップS51
に進む。
On the other hand, in step S49, the counter k
Is determined to be greater than or equal to the bit length of the filter coefficient set, it means that the supply of the filter coefficient set corresponding to the value of the counter j has been completed.
Proceed to.

【0281】一方、ステップS46において、要素プロ
セッサ31が、カウンタjの値と、予めメモリ28Aよ
り供給されたフィルタ選択番号iの値が同一ではないと
判断した場合(即ち、フラグが立っていない場合)、そ
の要素プロセッサ31は、メモリ29より出力されたフ
ィルタ係数セットを受け取らず、即ち、データメモリ部
23に記憶せず、ステップS47乃至S50をスキップ
する。なお、実際には、SIMD制御において処理のス
キップを行うことは困難であるので、要素プロセッサ3
1は、ステップS47乃至S50をスキップした場合と
同一の結果になるように処理を行う。
On the other hand, in step S46, when the element processor 31 determines that the value of the counter j is not the same as the value of the filter selection number i supplied from the memory 28A in advance (that is, when the flag is not set) ), The element processor 31 does not receive the filter coefficient set output from the memory 29, that is, does not store it in the data memory unit 23, and skips steps S47 to S50. In practice, it is difficult to skip processing in SIMD control.
1 performs processing so that the same result as in the case where steps S47 to S50 are skipped is obtained.

【0282】次に、ステップS51において、プログラ
ム制御部27Bは、カウンタjの値が、フィルタ係数セ
ットの数Nより1だけ減算した値以上であるか否かを判
断し、カウンタjの値が、フィルタ係数セットの数Nよ
り1だけ減算した値以上(j≧N−1)であると判断し
た場合、N個のフィルタ係数セットのうちのいずれかが
各要素プロセッサ31に供給されたことになるので、フ
ィルタ係数セットの供給の処理を終了する。
Next, in step S51, the program control unit 27B determines whether or not the value of the counter j is equal to or greater than a value obtained by subtracting 1 from the number N of the filter coefficient sets. When it is determined that the value is equal to or greater than the value obtained by subtracting 1 from the number N of the filter coefficient sets (j ≧ N−1), one of the N filter coefficient sets has been supplied to each element processor 31. Therefore, the process of supplying the filter coefficient set ends.

【0283】一方、プログラム制御部27Bは、カウン
タjの値が、フィルタ係数セットの数Nより1だけ減算
した値より小さい(j<N−1)と判断した場合、ステ
ップS52において、カウンタjの値を1だけ増加させ
て、ステップS42に戻り、次のフィルタ選択番号iに
対応するフィルタ係数セットの供給を行う。
On the other hand, when the program control unit 27B determines that the value of the counter j is smaller than the value obtained by subtracting 1 from the number N of the filter coefficient sets (j <N−1), in step S52, the value of the counter j is determined. The value is increased by 1 and the process returns to step S42 to supply a filter coefficient set corresponding to the next filter selection number i.

【0284】このようにして、各要素プロセッサ31
は、予め供給されているフィルタ選択番号iに対応する
フィルタ係数をメモリ29より受け取り、データメモリ
部23に記憶させる。
Thus, each element processor 31
Receives the filter coefficient corresponding to the filter selection number i supplied in advance from the memory 29 and stores it in the data memory unit 23.

【0285】このように、フィルタ係数セットを入力デ
ータRiとは別の経路で供給することにより、フィルタ
係数セットを選択的に要素プロセッサ31に供給するこ
とを、多くのプログラムステップを必要とすることな
く、容易に実現することができる。
As described above, by supplying the filter coefficient set through a path different from the input data Ri, it is necessary to use a number of program steps to selectively supply the filter coefficient set to the element processor 31. And can be easily realized.

【0286】メモリ29に記憶されている例えば16種
類のフィルタ係数セットのうちのいずれかを各要素プロ
セッサ31に供給する場合、1つのフィルタ係数セット
が、すべての要素プロセッサ31の約16分の1の要素
プロセッサ31に同時に供給されるので、フィルタ係数
セットが例えば40ビットであるとき、要素プロセッサ
31の数に拘わらず、640(=40×16)ステップ
の動作で、すべての要素プロセッサ31にフィルタ係数
セットを供給することができる。
When any one of, for example, 16 types of filter coefficient sets stored in the memory 29 is supplied to each of the element processors 31, one filter coefficient set is set to about 1/16 of all the element processors 31. Are simultaneously supplied to the element processors 31, and when the filter coefficient set is, for example, 40 bits, regardless of the number of element processors 31, the filter operation is performed on all the element processors 31 by the operation of 640 (= 40 × 16) steps. A set of coefficients can be provided.

【0287】なお、画像データの処理を行うときの動作
は、第2の実施の形態のものと同様であるので、その説
明を省略する。
Since the operation when processing image data is the same as that of the second embodiment, the description is omitted.

【0288】以上のように、第3の実施の形態において
は、フィルタ係数セットを、入力データとは別の経路で
供給するので、入力SAM部22の稼働状況に拘わらず
フィルタ係数セットを供給することができる。
As described above, in the third embodiment, the filter coefficient set is supplied through a different path from the input data, so that the filter coefficient set is supplied regardless of the operation status of the input SAM unit 22. be able to.

【0289】なお、第3の実施の形態においては、変換
比率を変更させる場合、メモリ28Aに記憶されてい
る、各要素プロセッサ31に対応するフィルタ選択番号
iを変更すればよい。
In the third embodiment, when changing the conversion ratio, the filter selection number i corresponding to each element processor 31 stored in the memory 28A may be changed.

【0290】次に、本発明の第4の実施の形態について
説明する。第4の実施の形態においては、各要素プロセ
ッサ31が、フィルタ選択番号iに対応して、各要素プ
ロセッサ31で、フィルタ係数セットを算出するように
なされている。
Next, a fourth embodiment of the present invention will be described. In the fourth embodiment, each element processor 31 calculates a filter coefficient set in each element processor 31 corresponding to the filter selection number i.

【0291】なお、第4の実施の形態の構成およびフィ
ルタ演算時の動作は、第2の実施の形態と同様であるの
で、その説明を省略する。ただし、メモリ28は、第3
の実施の形態のメモリ28Aと同様にフィルタ選択番号
iを記憶しているものとする。
Note that the configuration of the fourth embodiment and the operation at the time of filter operation are the same as those of the second embodiment, and a description thereof will be omitted. However, the memory 28
It is assumed that the filter selection number i is stored in the same manner as in the memory 28A of the embodiment.

【0292】従って、変換比率を変更させる場合、メモ
リ28に記憶されている、各要素プロセッサ31に対応
するフィルタ選択番号iを変更すればよい。
Therefore, when changing the conversion ratio, the filter selection number i corresponding to each element processor 31 stored in the memory 28 may be changed.

【0293】次に、図16および図17のフローチャー
トを参照して、第4の実施の形態において、フィルタ係
数セットを算出するときの各部の動作について説明す
る。なお、ここでは、式(4)のCubic近似法にお
けるフィルタ係数セットを算出する。勿論、他の近似法
におけるフィルタ係数セットを算出するようにしてもよ
い。
Next, the operation of each unit when calculating the filter coefficient set in the fourth embodiment will be described with reference to the flowcharts of FIGS. Here, a filter coefficient set in the Cubic approximation method of Expression (4) is calculated. Of course, a filter coefficient set in another approximation method may be calculated.

【0294】最初に、ステップS61において、要素プ
ロセッサ31は、画像の変換比率をK/L倍とすると、
予め供給されているフィルタ選択番号iとKより、値を
算出する画素の位相i/Kを算出し、X0として記憶す
る。なお、KおよびLは、プログラム制御部27Aより
供給される。
First, in step S61, the element processor 31 sets the image conversion ratio to K / L times,
Than previously supplied by that filter selection number i and K, and calculates the phase i / K pixel for calculating the value, stored as X 0. Note that K and L are supplied from the program control unit 27A.

【0295】次に、要素プロセッサ31は、ステップS
62において、X0をXに代入し、ステップS63にお
いて、Xの2乗(X×X)を演算し、その演算結果をX
2として記憶する。
Next, the element processor 31 determines in step S
In step 62, X 0 is substituted for X. In step S63, the square of X (X × X) is calculated, and the calculation result is expressed as X
Remember as 2 .

【0296】さらに、ステップS64において、要素プ
ロセッサ31は、X2とXの積(即ち、Xの3乗)を演
算し、その演算結果をX3として記憶する。
In step S64, the element processor 31 calculates the product of X 2 and X (that is, the cube of X), and stores the calculation result as X 3 .

【0297】そして、ステップS65において、要素プ
ロセッサ31は、式(4)を利用して、X、X2および
3より、次式に従ってフィルタ係数FC3を算出す
る。 FC3=−X3+5X2−8X+4 (5)
Then, in step S65, the element processor 31 calculates the filter coefficient FC3 from X, X 2 and X 3 using the equation (4) according to the following equation. FC3 = -X 3 + 5X 2 -8X + 4 (5)

【0298】次に、ステップS66において、要素プロ
セッサ31は、X0(=i/K)に1だけ加算した値
を、Xに代入する。
Next, in step S66, the element processor 31 substitutes X for a value obtained by adding 1 to X 0 (= i / K).

【0299】そして、要素プロセッサ31は、ステップ
S67において、Xの2乗(X×X)を演算し、その演
算結果をX2に代入し、ステップS68において、X2
Xの積(即ち、Xの3乗)を演算し、その演算結果をX
3に代入する。
Then, in step S67, the element processor 31 calculates the square of X (X × X) and substitutes the calculation result in X 2. In step S68, the product of X 2 and X (ie, X raised to the third power), and the result of the calculation is X
Substitute for 3 .

【0300】ステップS69において、要素プロセッサ
31は、式(4)を利用して、X、X2およびX3より、
次式に従ってフィルタ係数FC4を算出する。 FC4=X3−2X2+1 (6)
[0300] In step S69, the element processor 31 obtains X, X 2 and X 3 by using the equation (4).
The filter coefficient FC4 is calculated according to the following equation. FC4 = X 3 -2X 2 +1 (6)

【0301】次に、ステップS70において、要素プロ
セッサ31は、1からX0を減算した値をXに代入す
る。
Next, in step S70, the element processor 31 substitutes a value obtained by subtracting X 0 from 1 into X.

【0302】そして、要素プロセッサ31は、ステップ
S71において、Xの2乗(X×X)を演算し、その演
算結果をX2に代入し、ステップS72において、X2
Xの積(即ち、Xの3乗)を演算し、その演算結果をX
3に代入する。
Then, in step S71, the element processor 31 calculates the square of X (X × X), substitutes the calculation result for X 2 , and in step S72, calculates the product of X 2 and X (ie, X raised to the third power), and the result of the calculation is X
Substitute for 3 .

【0303】ステップS73において、要素プロセッサ
31は、式(4)を利用して、X、X2およびX3より、
次式に従ってフィルタ係数FC2を算出する。 FC2=−X3+5X2−8X+4 (7)
In step S73, the element processor 31 obtains X, X 2 and X 3 from equation (4) using
The filter coefficient FC2 is calculated according to the following equation. FC2 = -X 3 + 5X 2 -8X + 4 (7)

【0304】次に、ステップS74において、要素プロ
セッサ31は、Xに1だけ加算した値(2−i/K)を
演算し、その演算結果をXに代入する。
Next, in step S74, the element processor 31 calculates a value (2-i / K) obtained by adding 1 to X, and substitutes the calculation result for X.

【0305】そして、要素プロセッサ31は、ステップ
S75において、Xの2乗(X×X)を演算し、その演
算結果をX2に代入し、ステップS76において、X2
Xの積(即ち、Xの3乗)を演算し、その演算結果をX
3に代入する。
Then, in step S75, the element processor 31 calculates the square of X (X × X), substitutes the calculation result for X 2 , and in step S76, calculates the product of X 2 and X (ie, X raised to the third power), and the result of the calculation is X
Substitute for 3 .

【0306】ステップS77において、要素プロセッサ
31は、式(4)を利用して、X、X2およびX3より、
次式に従ってフィルタ係数FC1を算出する。 FC1=X3−2X2+1 (8)
In step S77, the element processor 31 obtains X, X 2 and X 3 using the equation (4).
The filter coefficient FC1 is calculated according to the following equation. FC1 = X 3 -2X 2 +1 ( 8)

【0307】以上のようにして、第4の実施の形態にお
いては、フィルタ選択番号iに対応して、各要素プロセ
ッサ31で、フィルタ係数セット(FC1,FC2,F
C3,FC4)を算出する。
As described above, in the fourth embodiment, the filter coefficient sets (FC1, FC2, F
C3, FC4) are calculated.

【0308】このように、フィルタ係数セットを各要素
プロセッサ31で算出することにより、要素プロセッサ
31の外部のメモリ(メモリ28,29など)よりフィ
ルタ係数セットを供給する必要がなく、フィルタ係数セ
ットの供給のタイミングなどを考慮する必要がなくな
る。
As described above, by calculating the filter coefficient set by each of the element processors 31, there is no need to supply the filter coefficient set from memories (such as the memories 28 and 29) external to the element processor 31. There is no need to consider supply timing and the like.

【0309】図18は、本発明の第5の実施の形態の構
成を示している。
FIG. 18 shows the configuration of the fifth embodiment of the present invention.

【0310】第5の実施の形態は、第3の実施の形態の
メモリ28Aを取り除いたもので、フィルタ選択番号i
を、各要素プロセッサ31で算出するようになされてい
る。
In the fifth embodiment, the memory 28A of the third embodiment is removed, and the filter selection number i
Is calculated by each element processor 31.

【0311】なお、プログラム制御部27Cのプログラ
ムは、後述の動作を行わせるように変更されているが、
その他の構成要素、フィルタ係数の供給時の動作、およ
び、フィルタ演算時の動作は、第3の実施の形態のもの
と同様であるので、その説明を省略する。
[0311] The program of the program control unit 27C has been modified so as to perform the operation described later.
The other components, the operation at the time of supplying the filter coefficient, and the operation at the time of the filter operation are the same as those of the third embodiment, and thus the description thereof is omitted.

【0312】次に、図19のフローチャートを参照し
て、フィルタ選択番号iを演算するときの動作について
説明する。
Next, the operation for calculating the filter selection number i will be described with reference to the flowchart of FIG.

【0313】最初にステップS81において、要素プロ
セッサ31は、作業空間としてレジスタZA0,ZB0
ZC0をそれぞれ確保する。
First, in step S81, the element processor 31 sets the registers ZA 0 , ZB 0 ,
ZC 0 is secured respectively.

【0314】次に、ステップS82において、各要素プ
ロセッサ31は、ZA0、ZB0、および、ZC0に零を
それぞれ代入する。
Next, in step S82, each element processor 31 substitutes zero for ZA 0 , ZB 0 , and ZC 0 respectively.

【0315】ステップS83において、各要素プロセッ
サ31は、左隣りの要素プロセッサ31のZA0の値Z
-1と、変換比率をK/L倍(即ち、K:L)としたと
きのLとの和を演算し、その演算結果を、ZA0に記憶
する。なお、最も左側の要素プロセッサ31は、左隣り
に要素プロセッサ31がないので、ZA-1を0として演
算を行う。
In step S83, each element processor 31 determines the value ZA 0 of the element processor 31 on the left side.
The sum of A -1 and L when the conversion ratio is K / L times (that is, K: L) is calculated, and the calculation result is stored in ZA 0 . Since the leftmost element processor 31 has no element processor 31 on the left side, the calculation is performed with ZA- 1 set to 0.

【0316】ステップS84において、各要素プロセッ
サ31は、ZA0の値がKより大きいか否かを判断し、
ZA0の値がKより大きいと判断した場合、ステップS
85において、ZA0の値をKで割算したときの剰余を
演算し、その演算結果をZA0に代入する。
In step S84, each element processor 31 determines whether or not the value of ZA 0 is greater than K.
If it is determined that the value of ZA 0 is larger than K,
At 85, the remainder when the value of ZA 0 is divided by K is calculated, and the calculation result is substituted into ZA 0 .

【0317】一方、各要素プロセッサ31は、ZA0
値がK以下であると判断した場合、ステップS85をス
キップする。なお、実際には、SIMD制御において処
理のスキップを行うことは困難であるので、要素プロセ
ッサ31は、ステップS85をスキップした場合と同一
の結果になるように処理を行う。
On the other hand, when each element processor 31 determines that the value of ZA 0 is equal to or smaller than K, it skips step S85. In practice, it is difficult to skip the process in the SIMD control, so the element processor 31 performs the process so as to obtain the same result as when step S85 is skipped.

【0318】そして、ステップS86において、各要素
プロセッサ31は、ステップS83乃至ステップS85
の動作を、現在取り扱っている画像フォーマットの水平
方向の画素数より多く繰り返したか否かを判断し、ステ
ップS83乃至ステップS85の動作を、現在取り扱っ
ている画像フォーマットの水平方向の画素数以下しか繰
り返していないと判断した場合、ステップS83に戻
り、ステップS83乃至ステップS85の動作を再度行
う。
Then, in step S86, each element processor 31 executes steps S83 to S85
Is determined to have been repeated more times than the number of pixels in the horizontal direction of the image format currently being handled, and the operations of steps S83 to S85 are repeated only for the number of pixels in the horizontal direction of the currently handled image format. If it is determined that there is not, the process returns to step S83, and the operations of steps S83 to S85 are performed again.

【0319】一方、各要素プロセッサ31は、ステップ
S83乃至ステップS85の動作を、現在取り扱ってい
る画像フォーマットの水平方向の画素数より多く繰り返
したと判断した場合、ステップS87に進む。
On the other hand, when each element processor 31 determines that the operations of steps S83 to S85 have been repeated more times than the number of pixels in the horizontal direction of the image format currently being handled, the process proceeds to step S87.

【0320】ステップS87において、各要素プロセッ
サ31は、左隣りの要素プロセッサ31のZB0の値Z
-1とLとの和を演算し、その演算結果をZC0に記憶
する。なお、最も左側の要素プロセッサ31は、左隣り
に要素プロセッサ31がないので、ZB-1を0として演
算を行う。
[0320] In step S87, each element processor 31 determines the value ZB 0 of the element processor 31 on the left.
The sum of B -1 and L is calculated, and the calculation result is stored in ZC 0 . Note that the leftmost element processor 31 does not have the element processor 31 on the left side, and therefore performs the operation with ZB −1 as 0.

【0321】次に、ステップS88において、要素プロ
セッサ31は、ZC0の値がKの2倍の値より大きいか
否かを判断し、ZC0の値がKの2倍の値より大きいと
判断した場合、ステップS90において、ZB0の値か
らKを減算した値をZB0に代入する。
[0321] Next, in step S88, the element processor 31 determines whether the value of the ZC 0 is greater than 2 times the value of K, determines the value of the ZC 0 is greater than 2 times the value of K If you, at step S90, and substitutes a value obtained by subtracting K from the value of ZB 0 to ZB 0.

【0322】一方、要素プロセッサ31は、ZC0の値
がKの2倍の値以下であると判断した場合、ステップS
89において、ZC0の値からKを減算した値をZB0
代入する。
On the other hand, if the element processor 31 determines that the value of ZC 0 is equal to or less than twice the value of K, the process proceeds to step S.
In 89 substitutes the value obtained by subtracting K from the values of ZC 0 to ZB 0.

【0323】そして、ステップS91において、各要素
プロセッサ31は、ステップS87乃至ステップS90
の動作を、現在取り扱っている画像フォーマットの水平
方向の画素数より多く繰り返したか否かを判断し、ステ
ップS87乃至ステップS90の動作を、現在取り扱っ
ている画像フォーマットの水平方向の画素数以下しか繰
り返していないと判断した場合、ステップS87に戻
り、ステップS87乃至ステップS90の動作を再度行
う。
Then, in step S91, each element processor 31 executes steps S87 to S90.
Is determined to have been repeated more times than the number of pixels in the horizontal direction of the currently handled image format, and the operations of steps S87 to S90 are repeated only for the number of pixels in the horizontal direction of the currently handled image format. If it is determined that there is not, the process returns to step S87, and the operations of steps S87 to S90 are performed again.

【0324】一方、各要素プロセッサ31は、ステップ
S87乃至ステップS90の動作を、現在取り扱ってい
る画像フォーマットの水平方向の画素数より多く繰り返
したと判断した場合、ステップS92に進む。
On the other hand, when each element processor 31 determines that the operations of steps S87 to S90 have been repeated more times than the number of pixels in the horizontal direction of the currently handled image format, the process proceeds to step S92.

【0325】そして、ステップS92において、各要素
プロセッサ31は、KがLより大きい、即ち、画像の拡
大の処理であるか否かを判断し、KがLより大きいと判
断した場合、ステップS94において、フィルタ選択番
号iとしてZA0の値を利用し、KがL以下であると判
断した場合、ステップS93において、フィルタ選択番
号iとしてZB0の値を利用する。
In step S92, each element processor 31 determines whether or not K is larger than L, that is, whether or not the process is for image enlargement. If it is determined that K is larger than L, the process proceeds to step S94. If the value of ZA 0 is used as the filter selection number i and it is determined that K is equal to or less than L, the value of ZB 0 is used as the filter selection number i in step S93.

【0326】以上のようにして、フィルタ選択番号iを
算出する。なお、ステップS85において、割算(剰余
の算出)を行っているが、実際には、減算を繰り返し実
行している。なお、上述の処理は多くの処理ステップを
有するが、リアルタイムの処理を行う前や、垂直帰線期
間などにおいて処理を行うことにより特に問題は生じな
い。
The filter selection number i is calculated as described above. Although division (calculation of remainder) is performed in step S85, subtraction is repeatedly performed in practice. Although the above-described processing has many processing steps, there is no particular problem if the processing is performed before performing the real-time processing or during the vertical blanking period.

【0327】なお、ステップS84およびステップS8
8における判断に対応して、入力データまたは出力デー
タと、要素プロセッサ31との対応関係(図34のRi
の入力の仕方)を設定するようにしてもよい。即ち、ス
テップS85は、上述の位相のモジュロ演算と同様の処
理を行っているので、ステップS84における判断に対
応して、モジュロ演算が発生した要素プロセッサ31
が、図34の入力データがない場所であると判断され
る。
Steps S84 and S8
8, corresponding to the input data or output data and the element processor 31 (Ri in FIG. 34).
May be set. That is, in step S85, the same processing as the above-described modulo operation of the phase is performed, so that the element processor 31 in which the modulo operation has occurred corresponds to the determination in step S84.
Is determined to be a place where there is no input data in FIG.

【0328】図20は、本発明の第6の実施の形態の構
成を示している。
FIG. 20 shows the configuration of the sixth embodiment of the present invention.

【0329】第6の実施の形態は、フィルタ選択番号i
およびそれに対応するフィルタ係数セットを、第4の実
施の形態または第5の実施の形態と同様に、各要素プロ
セッサ31で算出することにより、メモリ28,28
A,29を不要としたものである。
In the sixth embodiment, a filter selection number i
And the corresponding filter coefficient sets are calculated by each element processor 31 in the same manner as in the fourth or fifth embodiment, so that the memories 28, 28
A and 29 are unnecessary.

【0330】プログラム制御部27Dは、各要素プロセ
ッサ31を制御し、第4の実施の形態または第5の実施
の形態のプログラム制御部と同様に、フィルタ選択番号
iおよびそれに対応するフィルタ係数セットを算出させ
るようになされている。
[0330] The program control unit 27D controls each element processor 31, and, like the program control unit of the fourth or fifth embodiment, stores the filter selection number i and the filter coefficient set corresponding thereto. It is made to calculate.

【0331】その他の構成要素は、第5の実施の形態と
同様であるので、その説明を省略する。また、フィルタ
係数セットを算出するときの動作は、第4の実施の形態
と同様であり、その他の動作は、第5の実施の形態と同
様であるので、その説明を省略する。
Since the other components are the same as those of the fifth embodiment, the description will not be repeated. The operation when calculating the filter coefficient set is the same as that of the fourth embodiment, and the other operation is the same as that of the fifth embodiment.

【0332】なお、上記実施の形態において、位相の誤
差を低減するために分割数を大きくする場合、フィルタ
演算を2段階にすることにより、処理を簡単にすること
ができる。
In the above embodiment, when the number of divisions is increased in order to reduce the phase error, the processing can be simplified by performing the filter operation in two stages.

【0333】例えば、分割数が16であるCubic近
似を分割数が256であるCubic近似に変更する代
わりに、最初に、分割数が16のCubic近似を行
い、その演算結果である補間値のうちの近傍の2点か
ら、分割数が16の例えば双1次近似を行うことによ
り、全体の補間の処理が簡単になる。
For example, instead of changing the Cubic approximation having the division number of 16 to the Cubic approximation having the division number of 256, first, the Cubic approximation having the division number of 16 is performed, and the interpolated value which is the operation result is obtained. By performing, for example, a bilinear approximation of 16 divisions from two points in the vicinity of, the entire interpolation process is simplified.

【0334】また、画素データは、通常、輝度情報を含
む輝度データと、色情報を含む色データで構成されてい
るので、精細度が要求される輝度データに対しては、色
データより大きい分割数で補間の処理を行うようにして
もよい。
The pixel data is usually composed of luminance data including luminance information and color data including color information. The interpolation process may be performed by a number.

【0335】なお、上記実施の形態においては、主に画
像の拡大について説明しているが、画像の縮小を行うこ
とも勿論可能である。また、画像の縮小の場合、入力S
AM部22には、入力データが順番通りに密に供給さ
れ、出力SAM部25には、出力データが疎に出力され
てくる。
[0335] In the above embodiment, the enlargement of an image is mainly described, but it is of course possible to reduce the image. In the case of image reduction, the input S
The input data is supplied densely to the AM unit 22 in order, and the output data is sparsely output to the output SAM unit 25.

【0336】また、上記実施の形態の端部(右端、左
端)周辺の要素プロセッサ31においては、演算に利用
する入力データを有する周辺の要素プロセッサ31が存
在しない場合があるので、その場合においては、その入
力データの値を0として演算を行う。
In the element processor 31 near the end (right end, left end) of the above-described embodiment, there is a case where there is no peripheral element processor 31 having input data used for calculation. , With the value of the input data set to 0.

【0337】その他に、例えば、端のデータがその外側
に連続している、あるいは、端を中心にしてデータが対
称になっていると仮定するなど、画像端辺での処理には
様々な方法が考えられる。これらの方法のうち、所定の
方法に対応してプログラムを記述することにより、その
方法を実現することができる。
In addition, there are various methods for processing at the edge of the image, for example, assuming that the data at the edge is continuous outside the edge or that the data is symmetric about the edge. Can be considered. Of these methods, the method can be realized by writing a program corresponding to a predetermined method.

【0338】なお、上述のメモリ28,28A,29の
容量は、画素の位相の種類や、変換比率に対応する分数
の分子または分母に依存する量であり、それほど大きく
ないので、装置の規模が大きくなるようなことはない。
The capacity of the above-mentioned memories 28, 28A and 29 depends on the type of the phase of the pixel and the numerator or denominator of the fraction corresponding to the conversion ratio, and is not so large. It doesn't grow.

【0339】[0339]

【発明の効果】以上のごとく、請求項1に記載の画像処
理装置および請求項3に記載の画像処理方法によれば、
所定の分割数で元の画像の画素間隔を分割したときの各
位相に対応するフィルタ係数セットを記憶している記憶
部から、位相が、補間演算される画素データの位相に最
も近いフィルタ係数セットを演算部に出力し、演算部に
より、フィルタ係数セットを利用して、画素データの補
間演算を行うようにしたので、任意の変換比率の画像の
拡大または縮小を行うことができる。
As described above, according to the image processing apparatus according to the first aspect and the image processing method according to the third aspect,
From a storage unit storing a filter coefficient set corresponding to each phase when the pixel interval of the original image is divided by a predetermined division number, a filter coefficient set whose phase is closest to the phase of the pixel data to be interpolated Is output to the calculation unit, and the calculation unit performs the interpolation calculation of the pixel data using the filter coefficient set, so that the image with an arbitrary conversion ratio can be enlarged or reduced.

【0340】請求項4に記載の画像処理装置および請求
項19に記載の画像処理方法によれば、所定の分割数で
元の画像の画素間隔を分割したときの各位相に対応する
フィルタ係数セットのうち、位相が、処理される画素デ
ータの位相に最も近いフィルタ係数セットを、要素プロ
セッサにそれぞれ供給し、要素プロセッサが、フィルタ
係数セットを利用して、画素データの補間の処理をそれ
ぞれ行うようにしたので、SIMD形式の並列プロセッ
サを利用して任意の変換比率の画像の拡大または縮小を
行うことができる。
According to the image processing apparatus of the fourth aspect and the image processing method of the nineteenth aspect, a filter coefficient set corresponding to each phase when a pixel interval of an original image is divided by a predetermined number of divisions The filter coefficient set whose phase is closest to the phase of the pixel data to be processed is supplied to each of the element processors, and each of the element processors performs the pixel data interpolation processing using the filter coefficient set. Therefore, an image having an arbitrary conversion ratio can be enlarged or reduced using a parallel processor of the SIMD format.

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

【図1】本発明の画像処理装置の第1の実施の形態の構
成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an image processing apparatus according to a first embodiment of the present invention.

【図2】フィルタ選択信号Piおよび位相量xと、フィ
ルタ係数セットとの対応関係の一例を示す図である。
FIG. 2 is a diagram illustrating an example of a correspondence relationship between a filter selection signal Pi and a phase amount x, and a filter coefficient set;

【図3】図1の装置において行われるフィルタ演算の各
サイクルにおける補間値Qiと、フィルタ選択信号Pi
の対応関係の一例を示す図である。
FIG. 3 shows an interpolation value Qi and a filter selection signal Pi in each cycle of a filter operation performed in the apparatus of FIG.
It is a figure which shows an example of the correspondence of.

【図4】本発明の画像処理装置の第2の実施の形態の構
成を示すブロック図である。
FIG. 4 is a block diagram illustrating a configuration of an image processing apparatus according to a second embodiment of the present invention.

【図5】要素プロセッサの構成例を示すブロック図であ
る。
FIG. 5 is a block diagram illustrating a configuration example of an element processor.

【図6】要素プロセッサの詳細な構成例を示す回路図で
ある。
FIG. 6 is a circuit diagram illustrating a detailed configuration example of an element processor.

【図7】図4の画像処理装置の動作を説明するフローチ
ャートである。
FIG. 7 is a flowchart illustrating an operation of the image processing apparatus of FIG. 4;

【図8】図4の画像処理装置の各部に記憶されるデータ
の一例を示す図である。
8 is a diagram illustrating an example of data stored in each unit of the image processing apparatus in FIG.

【図9】処理に必要なデータを有する要素プロセッサと
の位置関係の例を示す図である。
FIG. 9 is a diagram illustrating an example of a positional relationship with an element processor having data necessary for processing.

【図10】図9の位置関係を縮退させた位置関係の例を
示す図である。
FIG. 10 is a diagram illustrating an example of a positional relationship in which the positional relationship of FIG. 9 is degenerated.

【図11】図4の画像処理装置におけるフィルタ演算の
処理を説明するフローチャートである。
FIG. 11 is a flowchart illustrating a filter calculation process in the image processing apparatus of FIG. 4;

【図12】図4の画像処理装置におけるフィルタ演算の
処理を説明するフローチャートである。
FIG. 12 is a flowchart illustrating a filter calculation process in the image processing apparatus in FIG. 4;

【図13】本発明の画像処理装置の第3の実施の形態の
構成を示すブロック図である。
FIG. 13 is a block diagram illustrating a configuration of an image processing apparatus according to a third embodiment of the present invention.

【図14】データメモリ部に記憶されているフィルタ選
択番号の一例を示す図である。
FIG. 14 is a diagram illustrating an example of a filter selection number stored in a data memory unit.

【図15】フィルタ係数セットを供給するときの図13
の画像処理装置の動作について説明するフローチャート
である。
FIG. 13 when supplying a filter coefficient set;
5 is a flowchart for explaining the operation of the image processing apparatus of FIG.

【図16】第4の実施の形態において、各要素プロセッ
サがフィルタ係数セットを演算するときの動作について
説明するフローチャートである。
FIG. 16 is a flowchart illustrating an operation when each element processor calculates a filter coefficient set in the fourth embodiment.

【図17】第4の実施の形態において、各要素プロセッ
サがフィルタ係数セットを演算するときの動作について
説明するフローチャートである。
FIG. 17 is a flowchart illustrating an operation when each element processor calculates a filter coefficient set in the fourth embodiment.

【図18】本発明の画像処理装置の第5の実施の形態の
構成を示すブロック図である。
FIG. 18 is a block diagram illustrating a configuration of an image processing apparatus according to a fifth embodiment of the present invention.

【図19】各要素プロセッサがフィルタ選択番号を演算
するときの図18の画像処理装置の動作について説明す
るフローチャートである。
FIG. 19 is a flowchart illustrating an operation of the image processing apparatus of FIG. 18 when each element processor calculates a filter selection number.

【図20】本発明の画像処理装置の第6の実施の形態の
構成を示すブロック図である。
FIG. 20 is a block diagram illustrating a configuration of an image processing apparatus according to a sixth embodiment of the present invention.

【図21】原画像の一例を示す図である。FIG. 21 is a diagram illustrating an example of an original image.

【図22】原画像を拡大した画像の一例を示す図であ
る。
FIG. 22 is a diagram illustrating an example of an image obtained by enlarging an original image.

【図23】原画像の画素と、拡大した画像の画素の位置
関係の一例を示す図である。
FIG. 23 is a diagram illustrating an example of a positional relationship between pixels of an original image and pixels of an enlarged image.

【図24】原画像の解像度を高くした画像の一例を示す
図である。
FIG. 24 is a diagram illustrating an example of an image in which the resolution of an original image is increased.

【図25】原画像を縮小した画像の一例を示す図であ
る。
FIG. 25 is a diagram illustrating an example of an image obtained by reducing an original image.

【図26】原画像の画素と、縮小した画像の画素の位置
関係の一例を示す図である。
FIG. 26 is a diagram illustrating an example of a positional relationship between pixels of an original image and pixels of a reduced image.

【図27】原画像の解像度を低くした画像の一例を示す
図である。
FIG. 27 is a diagram illustrating an example of an image in which the resolution of an original image is reduced.

【図28】原画像の画素と、補間により生成される画素
の位置関係の一例を示す図である。
FIG. 28 is a diagram illustrating an example of a positional relationship between pixels of an original image and pixels generated by interpolation.

【図29】補間関数の例を示す図である。FIG. 29 is a diagram illustrating an example of an interpolation function.

【図30】ハードウェア的にフィルタ演算を行う装置の
一構成例を示すブロック図である。
FIG. 30 is a block diagram illustrating a configuration example of a device that performs a filter operation in hardware.

【図31】図30の装置において行われるフィルタ演算
の各サイクルにおける各部の信号の一例を示す図であ
る。
31 is a diagram illustrating an example of a signal of each unit in each cycle of a filter operation performed in the device in FIG. 30.

【図32】フィルタ選択信号とフィルタ係数セットの対
応関係の一例を示す図である。
FIG. 32 is a diagram illustrating an example of a correspondence relationship between a filter selection signal and a filter coefficient set.

【図33】ソフトウェア的にフィルタ演算を行う装置の
一構成例を示すブロック図である。
FIG. 33 is a block diagram illustrating a configuration example of a device that performs a filter operation using software.

【図34】図33の装置において、画像の拡大を行う場
合における入力データの供給のパターンの一例を示す図
である。
34 is a diagram illustrating an example of a supply pattern of input data when an image is enlarged in the apparatus in FIG. 33.

【図35】処理に必要なデータを有する要素プロセッサ
との位置関係の例を示す図である。
FIG. 35 is a diagram illustrating an example of a positional relationship with an element processor having data necessary for processing.

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

5 制御回路, 11 剰余回路, 12 レジスタ,
13 近似回路,21 入力ポインタ, 22 入力
SAM部, 23 データメモリ部, 24ALUアレ
イ部, 25 出力SAM部, 26 出力ポインタ,
27,27A,27B,27C,27D プログラム
制御部, 28,28A,29 メモリ
5 control circuits, 11 remainder circuits, 12 registers,
13 approximate circuit, 21 input pointer, 22 input SAM part, 23 data memory part, 24 ALU array part, 25 output SAM part, 26 output pointer,
27, 27A, 27B, 27C, 27D Program control unit, 28, 28A, 29 Memory

───────────────────────────────────────────────────── フロントページの続き (72)発明者 中村 憲一郎 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 ────────────────────────────────────────────────── ─── Continued from the front page (72) Inventor Kenichiro Nakamura 6-7-35 Kita Shinagawa, Shinagawa-ku, Tokyo Inside Sony Corporation

Claims (19)

【特許請求の範囲】[Claims] 【請求項1】 画像の拡大または縮小に伴う画素データ
の補間演算を、その補間演算に対応したハードウェアで
行う演算部と、前記補間演算に利用されるフィルタ係数
セットを記憶する記憶部とを備える画像処理装置で、 前記記憶部は、所定の分割数で元の画像の画素間隔を分
割したときの各位相に対応するフィルタ係数セットを記
憶し、そのフィルタ係数のうち、前記位相が、前記補間
演算される画素データの位相に最も近いフィルタ係数セ
ットを前記演算部に出力し、 前記演算部は、前記フィルタ係数セットを利用して、前
記画素データの補間演算を行うことを特徴とする画像処
理装置。
1. An arithmetic unit for performing an interpolation operation of pixel data accompanying enlargement or reduction of an image by hardware corresponding to the interpolation operation, and a storage unit for storing a filter coefficient set used for the interpolation operation. In the image processing apparatus provided, the storage unit stores a filter coefficient set corresponding to each phase when the pixel interval of the original image is divided by a predetermined number of divisions, among the filter coefficients, the phase, the phase, An image, wherein a filter coefficient set closest to the phase of the pixel data to be subjected to the interpolation calculation is output to the calculation unit, and the calculation unit performs the interpolation calculation of the pixel data using the filter coefficient set. Processing equipment.
【請求項2】 前記分割数は、2のベキ乗であることを
特徴とする請求項1に記載の画像処理装置。
2. The image processing apparatus according to claim 1, wherein the number of divisions is a power of two.
【請求項3】 画像の拡大または縮小に伴う画素データ
の補間演算を、その補間演算に対応したハードウェアで
行う演算部と、前記補間演算に利用されるフィルタ係数
セットを記憶する記憶部とを備える画像処理装置におけ
る画像処理方法で、 所定の分割数で元の画像の画素間隔を分割したときの各
位相に対応するフィルタ係数セットを記憶している前記
記憶部から、前記位相が、前記補間演算される画素デー
タの位相に最も近いフィルタ係数セットを前記演算部に
出力し、 前記演算部により、前記フィルタ係数セットを利用し
て、前記画素データの補間演算を行うことを特徴とする
画像処理方法。
3. An operation unit for performing an interpolation operation on pixel data accompanying enlargement or reduction of an image by hardware corresponding to the interpolation operation, and a storage unit for storing a filter coefficient set used for the interpolation operation. In the image processing method in the image processing apparatus provided with, from the storage unit that stores a filter coefficient set corresponding to each phase when the pixel interval of the original image is divided by a predetermined division number, the phase is the interpolation Image processing, wherein a filter coefficient set closest to the phase of the pixel data to be calculated is output to the calculation unit, and the calculation unit performs an interpolation calculation of the pixel data using the filter coefficient set. Method.
【請求項4】 複数の要素プロセッサに画素データを供
給し、前記複数の要素プロセッサをSIMD制御して、
各要素プロセッサで、周辺の要素プロセッサが有する画
素データを利用して、画像の拡大または縮小に伴う画素
データの補間の処理を並列に行う画像処理装置で、 所定の分割数で元の画像の画素間隔を分割したときの各
位相に対応するフィルタ係数セットのうち、前記位相
が、処理される画素データの位相に最も近いフィルタ係
数セットを、前記要素プロセッサにそれぞれ供給し、 前記要素プロセッサが、前記フィルタ係数セットを利用
して、前記画素データの補間の処理をそれぞれ行うこと
を特徴とする画像処理装置。
4. A method for supplying pixel data to a plurality of element processors, performing SIMD control on the plurality of element processors,
An image processing apparatus in which each element processor uses pixel data of peripheral element processors to perform pixel data interpolation processing in parallel with image enlargement or reduction in parallel. Of the filter coefficient sets corresponding to each phase when the interval is divided, the phase supplies a filter coefficient set closest to the phase of the pixel data to be processed, to the element processor, respectively. An image processing apparatus, wherein each of the pixel data interpolation processes is performed using a filter coefficient set.
【請求項5】 前記分割数は、2のベキ乗であることを
特徴とする請求項4に記載の画像処理装置。
5. The image processing apparatus according to claim 4, wherein the number of divisions is a power of two.
【請求項6】 前記要素プロセッサは、データを1ビッ
トずつ処理する1ビットプロセッサであることを特徴と
する請求項4に記載の画像処理装置。
6. The image processing apparatus according to claim 4, wherein the element processor is a one-bit processor that processes data one bit at a time.
【請求項7】 前記周辺の要素プロセッサと、前記所定
の要素プロセッサとの位置関係のパターンの種類が最小
になるように、前記複数の要素プロセッサに前記画素デ
ータを供給することを特徴とする請求項4に記載の画像
処理装置。
7. The pixel data is supplied to the plurality of element processors such that a type of a pattern of a positional relationship between the peripheral element processor and the predetermined element processor is minimized. Item 5. The image processing device according to Item 4.
【請求項8】 前記フィルタ係数セットは、前記画素デ
ータが供給されるときに利用される回路を介して、前記
要素プロセッサに供給されることを特徴とする請求項4
に記載の画像処理装置。
8. The filter coefficient set is supplied to the element processor via a circuit used when the pixel data is supplied.
An image processing apparatus according to claim 1.
【請求項9】 前記要素プロセッサに接続され、前記フ
ィルタ係数セットを記憶する記憶手段をさらに備えるこ
とを特徴とする請求項8に記載の画像処理装置。
9. The image processing apparatus according to claim 8, further comprising a storage connected to the element processor and storing the filter coefficient set.
【請求項10】 前記記憶手段は、前記フィルタ係数セ
ットを、前記フィルタ係数セットに対応する位相の順番
に従って記憶することを特徴とする請求項9に記載の画
像処理装置。
10. The image processing apparatus according to claim 9, wherein the storage unit stores the filter coefficient set according to a phase order corresponding to the filter coefficient set.
【請求項11】 前記要素プロセッサは、前記フィルタ
係数セットを記憶する記憶部と、演算を行うALU部を
備え、 各要素プロセッサに割り当てられる画素データの位相情
報に対応した前記フィルタ係数セットが、前記ALU部
を介して前記記憶部に供給されることを特徴とする請求
項4に記載の画像処理装置。
11. The element processor includes a storage unit for storing the filter coefficient set, and an ALU unit for performing an operation, wherein the filter coefficient set corresponding to phase information of pixel data assigned to each element processor is stored in the element processor. The image processing apparatus according to claim 4, wherein the image processing apparatus is supplied to the storage unit via an ALU unit.
【請求項12】 前記要素プロセッサが前記位相情報を
それぞれ算出することを特徴とする請求項11に記載の
画像処理装置。
12. The image processing apparatus according to claim 11, wherein said element processors each calculate said phase information.
【請求項13】 前記ALU部に接続され、前記フィル
タ係数セットを記憶する記憶手段をさらに備え、 前記記憶手段は、前記フィルタ係数セットを、前記フィ
ルタ係数セットに対応する位相の順番に従って記憶する
ことを特徴とする請求項11に記載の画像処理装置。
13. A storage unit connected to the ALU unit for storing the filter coefficient set, wherein the storage unit stores the filter coefficient set in accordance with an order of phases corresponding to the filter coefficient set. The image processing apparatus according to claim 11, wherein:
【請求項14】 前記要素プロセッサは、その要素プロ
セッサに割り当てられる画素データの位相情報に対応し
て、補間に利用されるフィルタ係数セットをそれぞれ算
出することを特徴とする請求項4に記載の画像処理装
置。
14. The image according to claim 4, wherein the element processor calculates a filter coefficient set used for interpolation in accordance with the phase information of the pixel data assigned to the element processor. Processing equipment.
【請求項15】 前記要素プロセッサが前記位相情報を
それぞれ算出することを特徴とする請求項13に記載の
画像処理装置。
15. The image processing apparatus according to claim 13, wherein said element processors each calculate said phase information.
【請求項16】 前記補間演算は、Cubic近似に対
応する演算であることを特徴とする請求項4に記載の画
像処理装置。
16. The image processing apparatus according to claim 4, wherein the interpolation operation is an operation corresponding to Cubic approximation.
【請求項17】 前記補間演算として、第1の補間方式
に従って第1の分割数で第1の補間演算を行った後、前
記第1の補間演算の演算結果に対して、第2の補間方式
に従って第2の分割数で第2の補間演算を行うことを特
徴とする請求項4に記載の画像処理装置。
17. The method according to claim 1, wherein after performing a first interpolation operation with a first number of divisions according to a first interpolation method, a second interpolation method is performed on the calculation result of the first interpolation operation. The image processing apparatus according to claim 4, wherein the second interpolation calculation is performed with the second division number according to the following equation.
【請求項18】 前記画素データは、輝度データと色デ
ータで構成され、 前記色データは、前記輝度データの補間を行うときに利
用されるフィルタ係数セットに対応する前記分割数より
少ない分割数で元の画像の画素間隔を分割したときの各
位相に対応するフィルタ係数セットを利用して補間され
ることを特徴とする請求項4に記載の画像処理装置。
18. The pixel data is composed of luminance data and color data, and the color data has a smaller number of divisions than the number of divisions corresponding to a filter coefficient set used when performing the interpolation of the luminance data. The image processing apparatus according to claim 4, wherein interpolation is performed using a filter coefficient set corresponding to each phase when the pixel interval of the original image is divided.
【請求項19】 複数の要素プロセッサに画素データを
供給し、前記複数の要素プロセッサをSIMD制御し
て、各要素プロセッサで、周辺の要素プロセッサが有す
る画素データを利用して、画像の拡大または縮小に伴う
画素データの補間の処理を並列に行う画像処理方法で、 所定の分割数で元の画像の画素間隔を分割したときの各
位相に対応するフィルタ係数セットのうち、前記位相
が、処理される画素データの位相に最も近いフィルタ係
数セットを、前記要素プロセッサにそれぞれ供給し、 前記要素プロセッサが、前記フィルタ係数セットを利用
して、前記画素データの補間の処理をそれぞれ行うこと
を特徴とする画像処理方法。
19. Pixel data is supplied to a plurality of element processors, and the plurality of element processors are subjected to SIMD control. Each of the element processors utilizes pixel data of peripheral element processors to enlarge or reduce an image. In an image processing method of performing pixel data interpolation processing in parallel with the above, the phase of the filter coefficient set corresponding to each phase when the pixel interval of the original image is divided by a predetermined number of divisions is processed. A filter coefficient set closest to the phase of the pixel data is supplied to each of the element processors, and the element processor performs the interpolation processing of the pixel data using the filter coefficient set. Image processing method.
JP28657196A 1996-10-18 1996-10-29 Image processing apparatus and method Expired - Fee Related JP3596194B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP28657196A JP3596194B2 (en) 1996-10-29 1996-10-29 Image processing apparatus and method
US08/949,606 US6188803B1 (en) 1996-10-18 1997-10-14 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28657196A JP3596194B2 (en) 1996-10-29 1996-10-29 Image processing apparatus and method

Publications (2)

Publication Number Publication Date
JPH10134175A true JPH10134175A (en) 1998-05-22
JP3596194B2 JP3596194B2 (en) 2004-12-02

Family

ID=17706141

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28657196A Expired - Fee Related JP3596194B2 (en) 1996-10-18 1996-10-29 Image processing apparatus and method

Country Status (1)

Country Link
JP (1) JP3596194B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000028519A1 (en) * 1998-11-10 2000-05-18 Fujitsu General Limited Image magnifying circuit
JP2000163041A (en) * 1998-11-19 2000-06-16 Electrosonic Ltd Method and device for size changing digital video image
JP2002008025A (en) * 2000-04-21 2002-01-11 Matsushita Electric Ind Co Ltd Picture element arithmetic device
US6876395B1 (en) 1999-12-03 2005-04-05 Matsushita Electric Industrial Co., Ltd. Video signal conversion device and video signal conversion method
JP2008533908A (en) * 2005-03-18 2008-08-21 シャープ株式会社 Image upsampling method and system
JP2009523336A (en) * 2006-01-11 2009-06-18 華為技術有限公司 Method and apparatus for performing interpolation in scalable video coding
US8718130B2 (en) 2005-10-11 2014-05-06 Huawei Technologies Co., Ltd. Method and system for upsampling a spatial layered coded video image
JP2016187191A (en) * 2010-04-05 2016-10-27 サムスン エレクトロニクス カンパニー リミテッド Image interpolation method and image interpolation apparatus

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000028519A1 (en) * 1998-11-10 2000-05-18 Fujitsu General Limited Image magnifying circuit
AU754190B2 (en) * 1998-11-10 2002-11-07 Canon Kabushiki Kaisha Image magnifying circuit
JP4643781B2 (en) * 1998-11-19 2011-03-02 アールジービー・システムズ,インコーポレイテッド Method and apparatus for resizing a digital video image
JP2000163041A (en) * 1998-11-19 2000-06-16 Electrosonic Ltd Method and device for size changing digital video image
US6876395B1 (en) 1999-12-03 2005-04-05 Matsushita Electric Industrial Co., Ltd. Video signal conversion device and video signal conversion method
JP4686048B2 (en) * 2000-04-21 2011-05-18 パナソニック株式会社 Pixel arithmetic unit
JP2002008025A (en) * 2000-04-21 2002-01-11 Matsushita Electric Ind Co Ltd Picture element arithmetic device
JP2010022020A (en) * 2005-03-18 2010-01-28 Sharp Corp Methods and systems for picture up-sampling
JP2008533908A (en) * 2005-03-18 2008-08-21 シャープ株式会社 Image upsampling method and system
US8175168B2 (en) 2005-03-18 2012-05-08 Sharp Laboratories Of America, Inc. Methods and systems for picture up-sampling
US8670489B2 (en) 2005-03-18 2014-03-11 Sharp Laboratories Of America, Inc. Methods and systems for picture up-sampling
US8718130B2 (en) 2005-10-11 2014-05-06 Huawei Technologies Co., Ltd. Method and system for upsampling a spatial layered coded video image
JP2009523336A (en) * 2006-01-11 2009-06-18 華為技術有限公司 Method and apparatus for performing interpolation in scalable video coding
JP2016187191A (en) * 2010-04-05 2016-10-27 サムスン エレクトロニクス カンパニー リミテッド Image interpolation method and image interpolation apparatus

Also Published As

Publication number Publication date
JP3596194B2 (en) 2004-12-02

Similar Documents

Publication Publication Date Title
US6493467B1 (en) Image processor, data processor, and their methods
US6188803B1 (en) Image processing device
EP0302930A1 (en) Fast bitonal to gray scale image scaling.
JP2001197451A (en) Resolution conversion device and device using the same
JP3747523B2 (en) Image processing apparatus and processing method
JP3596194B2 (en) Image processing apparatus and method
KR20000047576A (en) Signal processing distributed arithmetic architecture
JPH10124656A (en) Image processor and method therefor
US5838387A (en) Digital video scaling engine
JP3444112B2 (en) Image signal processing device
JP2825395B2 (en) Parallel processing apparatus and method
JPH10134176A (en) Method and device for image signal processing
JP2510019B2 (en) Image display method and device
JPH10285611A (en) Image data processor and method therefor
JP2790911B2 (en) Orthogonal transform operation unit
JP3294330B2 (en) Character display
JPS63102467A (en) Converting device for resolution of picture data
US6741294B2 (en) Digital signal processor and digital signal processing method
JP2000182037A (en) Data processor and data processing method
JPH0139149B2 (en)
JPH10243259A (en) Device and method for processing image
JPH10275227A (en) Image processor and method therefor
JPH10285430A (en) Data processor and method therefor
WO1998043422A1 (en) Bilinear decimator with error compensation
JP2691559B2 (en) Pixel density conversion device and method thereof

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040618

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040622

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040726

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040817

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040830

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080917

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090917

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees