JPH10262221A - Image signal processing unit - Google Patents

Image signal processing unit

Info

Publication number
JPH10262221A
JPH10262221A JP9067069A JP6706997A JPH10262221A JP H10262221 A JPH10262221 A JP H10262221A JP 9067069 A JP9067069 A JP 9067069A JP 6706997 A JP6706997 A JP 6706997A JP H10262221 A JPH10262221 A JP H10262221A
Authority
JP
Japan
Prior art keywords
line
input
scanning line
data
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP9067069A
Other languages
Japanese (ja)
Inventor
Mamoru Kano
護 加納
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 JP9067069A priority Critical patent/JPH10262221A/en
Priority to US08/958,545 priority patent/US6088062A/en
Publication of JPH10262221A publication Critical patent/JPH10262221A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Television Systems (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PROBLEM TO BE SOLVED: To realize scanning line number conversion at an optional rate in a noninterlace image and an interlace image and to cope with a change of bit accuracy after designing, addition of specifications of a new format or the like only through a change of the software. SOLUTION: The processing unit uses a linear arroy type multi-parallel processor of a signal instruction multiple data stream(SIMD) control to conduct scanning line number conversion processing at an optional ratio of a noninterlace image and an interlace image only through software processing. As a concrete configuration, a processor (DSP) 72 generates line data write/read skip information to field memories 51, 64 placed at an input section and an output section and line attribute information and switches the processing for every line of an input image based on them.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画素数変換処理や
走査線変換等の画像信号処理を行う画像信号処理装置に
関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image signal processing apparatus for performing image signal processing such as pixel number conversion processing and scanning line conversion.

【0002】[0002]

【従来の技術】近年になって、半導体技術、半導体の処
理スピード性能の向上により、映像信号のディジタル信
号処理が行われるようになってきた。また、最近では画
像表示装置も従来のブラウン管に代わり、LCD(Li
quid Crystal Display:液晶ディ
スプレイ)表示装置やプラズマディスプレイ装置等に代
表される固定画素表示装置が広く普及しつつある。
2. Description of the Related Art In recent years, digital signal processing of video signals has been performed with the improvement of semiconductor technology and processing speed performance of semiconductors. Recently, image display devices have been replaced with conventional cathode ray tubes, and LCDs (Li
2. Description of the Related Art A fixed pixel display device represented by a liquid crystal display (liquid crystal display) display device, a plasma display device, or the like is becoming widespread.

【0003】また、最近は、いわゆるNTSC(Nat
ional TelevisionSystem Co
mmittee)信号、PAL(Phase Alte
rnation by Line)信号などの標準テレ
ビジョン放送方式のみならず、HDTV(High D
efinition Television)信号や、
VGA(Video Graphics Array)
信号、SVGA(Super VGA)信号、XVGA
(extended VGA)信号など様々なフォーマ
ットの信号を表示できることが求められている。
Recently, the so-called NTSC (Nat)
ionical TelevisionSystem Co
mmAL signal, PAL (Phase Alte)
not only standard television broadcasting systems such as a television signal, but also HDTV (High D
definition Television) signal,
VGA (Video Graphics Array)
Signal, SVGA (Super VGA) signal, XVGA
It is required to be able to display signals in various formats such as (extended VGA) signals.

【0004】これら様々なフォーマットでは、それぞれ
扱う画素数がまちまちである。このようなそれぞれ画素
数が異なる各種のフォーマットの映像信号を表示する場
合、上記ブラウン管等のアナログ表示デバイスであれ
ば、1走査線時間当たりの画素数に応じて電子ビームの
偏向速度を変えてやれば済む。
[0004] In these various formats, the number of pixels to be handled is different. When displaying video signals of various formats having different numbers of pixels, an analog display device such as the above-mentioned cathode ray tube can change the deflection speed of the electron beam according to the number of pixels per scanning line time. I'm done.

【0005】しかし、上記固定画素表示装置において
は、扱える画素数が固定しているため、上述のブラウン
管の場合のような従来のアナログ技術は使えない。その
ため、これら様々なフォーマットの信号を上述のような
固定画素数表示装置に対して表示させるためには、ディ
ジタル信号処理による任意サイズの画素数変換、或いは
走査線数変換が不可欠である。なお、画素数変換処理に
ついては、本件出願人は既に特願平8−287104号
の明細書及び図面や特願平9−44471号の明細書及
び図面にて提案している。
However, in the above-mentioned fixed pixel display device, the number of pixels that can be handled is fixed, so that the conventional analog technology as in the case of the above-mentioned cathode ray tube cannot be used. Therefore, in order to display the signals of these various formats on the above-described display device having a fixed number of pixels, conversion of the number of pixels of an arbitrary size by digital signal processing or conversion of the number of scanning lines is indispensable. The present applicant has already proposed the pixel number conversion processing in the specification and drawings of Japanese Patent Application No. 8-287104 and the specification and drawings of Japanese Patent Application No. 9-44471.

【0006】ここでは、インターレース画像とノンイン
夕一レス画像に於ける走査線数変換処理について述べ
る。
Here, a description will be given of the number-of-scanning-lines conversion process for an interlaced image and a non-integrated image.

【0007】走査線数変換とは、1垂直走査線期間にお
いて入力ライン数に対して出力ライン数を所望のライン
数に増減する処理であり、例えば入出力のライン数が同
じであるとした場合に、ライン数を増加させたならば入
力画像の垂直方向への拡大処理(拡大ライン数変換処
理)となり、逆にライン数を減少させたならば入力画像
の垂直方向への縮小処理(縮小ライン数変換処理)とな
り、つまり、ラインデータの補間処理を行うことを意味
する。
The conversion of the number of scanning lines is a process of increasing or decreasing the number of output lines to a desired number of lines with respect to the number of input lines in one vertical scanning line period. For example, it is assumed that the number of input / output lines is the same. If the number of lines is increased, the input image is enlarged in the vertical direction (enlarged line number conversion processing). Conversely, if the number of lines is decreased, the input image is reduced in the vertical direction (reduced line). Number conversion processing), that is, performing interpolation processing of line data.

【0008】このライン補間方法には様々な方法があ
り、大きく分けて以下の3つの方法が知られている。
There are various line interpolation methods, and the following three methods are roughly classified.

【0009】1、ニアリストネイバー補間法 この方法は入力された1走査線分のデータから走査線数
変換後のラインの位置に最も近い位置にあるラインのデ
ータを拾い出すやり方であり、ハードウェア構成は極め
て簡単なロジック演算で実現できる。しかし、変換後の
画質はかなり悪化する。縮小時は細い線が消えてしまっ
たり、小さい図形がゆがみ、拡大時には周辺部にぎざぎ
ざが発生したりする。
1. Nearest Neighbor Interpolation Method This method is a method of picking up the data of the line closest to the position of the line after the conversion of the number of scanning lines from the input data of one scanning line. The configuration can be realized by a very simple logic operation. However, the image quality after conversion deteriorates considerably. At the time of reduction, a thin line disappears or a small figure is distorted, and at the time of enlargement, jaggedness occurs in a peripheral portion.

【0010】2、バイリニア補間法 この方法は入力された1走査線分のデータから走査線数
変換後のラインの位置に最も近い位置にある2ラインの
データを拾い出し、その2ラインのデータから線形補間
するというもので、ニアリストネイバー法よりは画質の
劣化は少ない。しかし、2:1以下に縮小するとライン
ドロップアウトという現象が発生し、画質は一気に悪化
する。また、この手法は緩やかなローパスフィルタを施
していることになるため、垂直エッジ部分(横縞〉は特
にそうであるが、ややぼけた画質になる。また、ハード
ウェア的にはニアリストネイバー法に比較すれば一気に
複雑になる。
2. Bilinear interpolation method This method picks up two lines of data closest to the position of the line after the conversion of the number of scanning lines from the input data of one scanning line, and extracts the data of the two lines. Linear interpolation is used, and the image quality is less deteriorated than the nearest neighbor method. However, when the size is reduced to 2: 1 or less, a phenomenon called line dropout occurs, and the image quality deteriorates at a stretch. In addition, since this method applies a gentle low-pass filter, the vertical edge portion (horizontal stripes) is particularly blurred, but the image quality is somewhat blurred. It's all too complicated to compare.

【0011】3、フィルタスイッチング補間法 この方式は、高画質の画像信号処理に用いられ、サイズ
の変換比にあわせたFIRフィルタ(フイニットレスポ
ンスフィルタ)のディジタルフィルタを使って変換する
やりかたである。後述するキュービック補間法はこれに
属するものである。従来ハードウェアでこれを実現しよ
うとすると、飛躍的に複雑で、大規模なものになるた
め、バイリニア補間法で行うのがほとんどであった。
3. Filter Switching Interpolation Method This method is used for high-quality image signal processing, and is a method of performing conversion using a digital filter of an FIR filter (finite response filter) according to a size conversion ratio. The cubic interpolation method described later belongs to this. Conventionally, if this is to be realized by hardware, it will be drastically complicated and large-scale, so that it is almost always performed by a bilinear interpolation method.

【0012】以下ではフィルタスイッチング補間法の一
例として後述するキュービック補間関数を用いて走査線
数補間補間を行う手法を説明する。
In the following, as an example of a filter switching interpolation method, a method of performing scanning line number interpolation interpolation using a cubic interpolation function described later will be described.

【0013】始めに、ノンインターレース画像の走査線
数変換について述べる。ノンインターレース画像ではフ
レーム周期の処理であり、走査線数変換後もノンインタ
ーレースであれば、第一フィールドと第二フィールドで
処理を分ける必要がないのでインターレース画像の処理
に比べれば比較的簡単である。まずは考え方の概略を示
すためノンインターレースの入力信号を例にして説明す
る。
First, conversion of the number of scanning lines of a non-interlaced image will be described. In the case of a non-interlaced image, the processing is performed in a frame cycle. If the number of scanning lines is non-interlaced, the processing is not required to be divided into the first field and the second field. . First, a non-interlaced input signal will be described as an example to outline the concept.

【0014】例えば入力ライン2本に対して出力ライン
3本を作り出すような2:3拡大ライン数変換の原理に
ついて説明する。
A description will be given of the principle of the conversion of the number of 2: 3 expanded lines such that three output lines are generated for two input lines.

【0015】図17には上記2:3拡大ライン数変換の
原理を説明するための図を示す。なお、この図17で
は、各入力ラインの値をそれぞれRi-1,Ri+1
i+2,Ri+3,・・・とし、各出力ラインの値をそれぞ
れQi,Qi+1,Qi+2,Qi+3,・・・として表してい
る。また、図17中のP1,P2,P3,P1,・・・は、
入力ラインと出力ラインの位相のずれ(ライン位相情
報)を表している。
FIG. 17 is a diagram for explaining the principle of the above-mentioned 2: 3 enlarged line number conversion. In FIG. 17, the values of each input line are represented by R i−1 , R i + 1 ,
R i + 2 , R i + 3 ,..., And the value of each output line is represented as Q i , Q i + 1 , Q i + 2 , Q i + 3 ,. Further, P 1 , P 2 , P 3 , P 1 ,... In FIG.
It shows the phase shift (line phase information) between the input line and the output line.

【0016】ここで、上記2:3拡大ライン数変換にお
いては、この図17のように入力ライン2本に対して出
力ライン3本を作り出すようにしており、入力ラインと
出力ラインの関係は、出力ラインの値がその近傍の入力
ラインから計算されるという関係になっている。上記出
力ラインを生成するための上記近傍範囲としてどのくら
いまでの範囲を使用するか、或いは入力ラインから補間
により出力ラインを計算する際の各係数の値としてどの
ような係数値を使用するかなどにより、様々な補間法が
存在するが、以下の説明では、上記近傍範囲として4点
(4ライン分)の範囲から補間するキュービック補間を
例に挙げる。
Here, in the conversion of the 2: 3 enlarged line number, three output lines are generated for two input lines as shown in FIG. 17, and the relationship between the input lines and the output lines is as follows. The relationship is such that the value of the output line is calculated from the input line in the vicinity. How much range should be used as the neighborhood range for generating the output line, or what coefficient value should be used as the value of each coefficient when calculating the output line by interpolation from the input line There are various interpolation methods, but in the following description, cubic interpolation for interpolating from the range of four points (for four lines) as the above-described neighboring range will be described as an example.

【0017】上記キュービック補間にて使用されるキュ
ービック補間関数Cub(x)を図18に示し、その関
数式を式(1)に示す。ただし、式(1)に示されるキ
ュービック補間関数の横軸は原画像をディジタル信号に
サンプリングする際のサンプリング間隔で正規化されて
いるものとする。
FIG. 18 shows a cubic interpolation function Cub (x) used in the above cubic interpolation, and its function formula is shown in equation (1). Here, it is assumed that the horizontal axis of the cubic interpolation function shown in Expression (1) is normalized by the sampling interval when the original image is sampled into a digital signal.

【0018】[0018]

【数1】 (Equation 1)

【0019】拡大ライン数変換の場合、各出力ラインの
補間値は、入力4ラインの値とキュービック関数との畳
み込み演算で表され、出力ラインの補間値は次式(2)
のように表すことができる。
In the case of the conversion of the number of enlarged lines, the interpolation value of each output line is represented by a convolution operation of the values of the four input lines and the cubic function, and the interpolation value of the output line is given by the following equation (2).
Can be expressed as

【0020】[0020]

【数2】 (Equation 2)

【0021】この式(2)の各係数Cub(x)は前記
キュービック補間関数から計算される値であり、これ
は、求めるべき出力ラインが入力ラインに対して、どれ
だけずれているかを示す位相から計算される。例えば、
図17に示す2:3の拡大ライン数変換の場合、上記Q
iの出力ラインの位相はその近傍の入力ライン(例えば
iの入力ライン)の位相と一致しているのでその位相
情報P1はゼロとなり、同様に上記Qi+1の出力ラインの
位相はその近傍の入力ライン(例えばRiの入力ライ
ン)の位相から2/3ずれているのでそのライン位相情
報P2は2/3となり、上記Qi+2の出力ラインの位相は
その近傍の入力ライン(例えばRi+1の入力ライン)の
位相から1/3ずれているのでそのライン位相情報P3
は1/3となるので、上記式(2)は式(3)のように
書き換えることができる。
Each coefficient Cub (x) in the equation (2) is a value calculated from the cubic interpolation function, and is a phase indicating how much the output line to be obtained is shifted from the input line. Is calculated from For example,
In the case of the 2: 3 enlarged line number conversion shown in FIG.
Since the phase of the output line of i coincides with the phase of the input line in the vicinity thereof (for example, the input line of R i ), the phase information P 1 becomes zero. Similarly, the phase of the output line of Q i + 1 becomes Since the phase of the neighboring input line (for example, the input line of R i ) is shifted by 2, the line phase information P 2 is 2/3, and the phase of the output line of Q i + 2 is the input of the neighboring line. Since the phase of the line (for example, the input line of R i + 1 ) is shifted by 3, the line phase information P 3
Is 1/3, the above equation (2) can be rewritten as equation (3).

【0022】[0022]

【数3】 (Equation 3)

【0023】上記Cub(x)及び入力ラインの各値R
i1、Ri、Ri+1、Ri+2はそれぞれ既知の値であるの
で、この式(3)から各出力ラインの補間データが計算
できる。例えば、上記Qiの出力ラインに限っていえ
ば、前記式(1)より、Cub(−1)=0、Cub
(0)=1、Cub(1)=0、Cub(2)=0なの
で、次式(4)に示す通りとなり、入力ラインの値その
ものとなる。
The above Cub (x) and each value R of the input line
Since i −1 , R i , R i + 1 , and R i + 2 are known values, the interpolation data of each output line can be calculated from the equation (3). For example, as far as the output line of Qi is concerned, Cub (−1) = 0, Cub
Since (0) = 1, Cub (1) = 0, and Cub (2) = 0, the result is as shown in the following equation (4), which is the value of the input line itself.

【0024】[0024]

【数4】 (Equation 4)

【0025】以上、2:3拡大ライン数変換の場合を例
にとって説明したが、任意の拡大比率でも同様であり、
出力ラインの位相さえわかれば、その位相によって式
(1)からキュービック関数の各係数を求め、補間ライ
ン近傍の入力ライン4点と畳み込み演算を行えばよい。
Although the above description has been made with reference to the case of the 2: 3 enlargement line number conversion, the same applies to an arbitrary enlargement ratio.
If the phase of the output line is known, each coefficient of the cubic function can be obtained from the equation (1) based on the phase, and convolution operation can be performed with four input lines near the interpolation line.

【0026】次に、例えば入力ライン3個に対して出力
ライン2個を作り出すような3:2縮小ライン数変換の
原理について説明する。
Next, the principle of the 3: 2 reduction line number conversion for producing two output lines for three input lines will be described.

【0027】図19には上記3:2縮小ライン数変換の
原理を説明するための図を示す。なお、この図19にお
いても前記図17と同様に、各入力ラインの値をそれぞ
れRi1,Ri,Ri+1,Ri+2,Ri+3,・・・とし、各
出力ラインの値をそれぞれQi,Qi+1,Qi+2,・・・
として表している。また、図19の中のP1,P2
1,・・・も、入力ラインと出力ラインの位相のずれ
(ライン位相情報)を表している。
FIG. 19 is a diagram for explaining the principle of the 3: 2 reduction line number conversion. In FIG. 19, similarly to FIG. 17, the values of the input lines are R i1 , R i , R i + 1 , R i + 2 , R i + 3 ,. The values of the output lines are Q i , Q i + 1 , Q i + 2 ,.
It is expressed as Further, P 1 , P 2 ,
P 1 ,... Also represent the phase shift (line phase information) between the input line and the output line.

【0028】ここで、上記3:2縮小ライン数変換にお
いても、前記拡大ライン数変換同様に入力ラインと出力
ラインの関係は、出力ラインの値がその近傍の入力ライ
ンから計算されるという関係になっている。この3:2
縮小ライン数変換でも、上述同様に出力ライン(補間ラ
イン)をその近傍の入力ライン4点からの補間により計
算するキュービック補間を説明する。
Here, in the above-mentioned 3: 2 reduction line number conversion, similarly to the expansion line number conversion, the relationship between the input line and the output line is such that the value of the output line is calculated from the input line in the vicinity thereof. Has become. This 3: 2
The cubic interpolation in which the output line (interpolated line) is calculated by interpolation from four input lines in the vicinity of the output line (interpolated line) in the same manner as described above in the reduction line number conversion will be described.

【0029】すなわち、この図19の縮小ライン数変換
の場合、各出力ラインの補間値(例えばQi、Qi+1)の
補間式は、以下の式(5)のようになる。
That is, in the case of the conversion of the number of reduced lines in FIG. 19, the interpolation formula of the interpolation value (for example, Q i , Q i + 1 ) of each output line is as shown in the following expression (5).

【0030】[0030]

【数5】 (Equation 5)

【0031】当該縮小ライン数変換においても、上記式
(5)の各係数Cub(x)は前記キュービック関数式
(1)から計算される値であり、これは、求めるべき出
力ラインが入力ラインに対し、どれだけずれているかを
示す位相から計算される。上記図19に示す3:2縮小
ライン数変換の場合、上記Qiの出力ラインの位相はそ
の近傍の入力ライン(例えばRiの入力ライン)の位相
と一致しているのでそのライン位相情報P1はゼロとな
り、同様に上記Qi+1の出力ラインの位相はその近傍の
入力ライン(例えばRi+1の入力ライン)の位相から1
/2ずれているのでその位相情報P2は1/2となるの
で、上記式(5)は次式(6)のように書き換えること
ができる。
In the conversion of the number of reduced lines, each coefficient Cub (x) in the above equation (5) is a value calculated from the cubic function equation (1). On the other hand, it is calculated from the phase indicating how much the difference is. FIG 19 shows 3: 2 For reduction conversion of the number of lines, the line phase information so match the phase of the input line of the phase near the output lines of the Qi (e.g. input lines R i) P 1 from zero and likewise the Q i + 1 of the output lines of the phase input line in the vicinity of (for example, the input lines of the R i + 1) phase 1
Since the phase information P 2 is shifted by 2, the phase information P 2 becomes 1 /, so that the above equation (5) can be rewritten as the following equation (6).

【0032】[0032]

【数6】 (Equation 6)

【0033】上記Cub(x)及び入力ラインの各値R
i-1、Ri、Ri+1、Ri+2、・・・はそれぞれ既知の値で
あるので、この式(6)から各出力ラインの補間データ
が計算できる。例えば、上記Qjの出力ラインに限って
いえば、前記式(1)より、Cub(−1)=0、Cu
b(0)=1、Cub(l)=0、Cub(2)=0な
ので、次式(7)に示す通りとなり、入力ラインの値そ
のものとなる。
The above Cub (x) and each value R of the input line
Since i-1 , R i , R i + 1 , R i + 2 ,... are known values, the interpolation data of each output line can be calculated from the equation (6). For example, as far as the output line of Qj is concerned, Cub (-1) = 0 and Cu
Since b (0) = 1, Cub (l) = 0, and Cub (2) = 0, the value is as shown in the following expression (7), and is the value of the input line itself.

【0034】[0034]

【数7】 (Equation 7)

【0035】以上、3:2縮小ライン数変換の場合を例
にとって説明したが、任意の縮小比率でも同様であり、
出力ラインの位相さえわかれば、その位相によって前記
式(1)からキュービック関数の各係数を求め、補間ラ
イン近傍の入力4ラインの畳み込み演算を行えばよい。
The above description has been made by taking the case of the 3: 2 reduction line number conversion as an example, but the same applies to any reduction ratio.
As long as the phase of the output line is known, the respective coefficients of the cubic function can be obtained from the equation (1) based on the phase, and the convolution operation of the four input lines near the interpolation line can be performed.

【0036】従来は、上述したようなライン数変換を、
例えば図20に示すようなハードワイアード構成で実現
している。なお、ライン数変換に於いては画素数変換の
ように輝度信号とクロマ信号をクロマのフォーマットに
よって区別する必要はなく、輝度信号用と、クロマ信号
用は同じ回路でよい。
Conventionally, the line number conversion as described above is performed by
For example, it is realized by a hard wired configuration as shown in FIG. In the line number conversion, the luminance signal and the chroma signal do not need to be distinguished by the chroma format unlike the pixel number conversion, and the same circuit may be used for the luminance signal and the chroma signal.

【0037】この図20に示す構成において、直列接続
されたラインメモリ101〜104は、それぞれ供給さ
れたデータを1走査線分ずつ遅延するものであり、した
がって、これらにより4段のラインメモリが構成されて
いる。これらラインメモリ101〜104では、入力シ
フトコントロール信号IEが“H”レベルのときに、入
力端子100から供給された1ライン分の入力データを
遅延させて、それぞれ1走査線時間シフトした画像デー
タを出力する。一方、これらレジスタ101〜104に
おいて、入力シフトコントロール信号IEが“L”レベ
ルの場合にはシフトせず前のライン値を保持する。上記
名レジスタ101〜104にてそれぞれラインシフトさ
れて得られた各画像データは、それぞれ対応する乗算器
111〜114に送られる。
In the configuration shown in FIG. 20, the line memories 101 to 104 connected in series delay the supplied data by one scanning line, so that a four-stage line memory is constituted. Have been. In the line memories 101 to 104, when the input shift control signal IE is at the “H” level, the input data for one line supplied from the input terminal 100 is delayed, and the image data shifted by one scanning line is shifted. Output. On the other hand, in the registers 101 to 104, when the input shift control signal IE is at "L" level, the previous line value is held without shifting. The respective image data obtained by line shifting in the name registers 101 to 104 are sent to corresponding multipliers 111 to 114, respectively.

【0038】また、キュービック係数発生器105は、
ライン毎にキュービック係数C1〜C4を発生し、これら
キュービック係数C1〜C4をそれぞれ対応する乗算器1
11〜114に対して乗算係数として供給する。したが
って、これら乗算器111〜114では、上記キュービ
ック係数発生器105で発生したキュービック係数と、
上記名シフトレジスタ101〜104にてそれぞれシフ
トされた入力ラインデータとをかけ算する。ただし、キ
ュービック係数発生器105で発生したキュービック係
数C1〜C4の値はライン毎に切り替わり、1ライン中で
は同じ値である。この乗算器111〜114の乗算結果
は、加算器107により加算され、フィールドFIFO
(先入れ先出し)メモリ108に入力される。
Also, the cubic coefficient generator 105
The cubic coefficients C 1 to C 4 are generated for each line, and these cubic coefficients C 1 to C 4 are respectively assigned to multipliers 1 to 4.
It is supplied to 11 to 114 as a multiplication coefficient. Therefore, in these multipliers 111 to 114, the cubic coefficient generated by the cubic coefficient generator 105 is
The input line data shifted by the name shift registers 101 to 104 are multiplied. However, the values of the cubic coefficients C 1 to C 4 generated by the cubic coefficient generator 105 are switched for each line and are the same in one line. The multiplication results of the multipliers 111 to 114 are added by the adder 107, and are added to the field FIFO.
(First in first out) is input to the memory 108.

【0039】当該フィールドFIFOメモリ110は、
拡大ライン数変換処理の場合に必要なラインデータを飛
び飛びに出力するために設けられているものであり、当
該拡大ライン数変換の場合にコントローラ106から供
給される入力スキップラインコントロール信号SCIに
基づいてラインデータ出力するか前のラインの値を保持
するかを切り替え、ラインメモリ101に出力する。な
お、フィールドFIFOメモリ110は、縮小ライン数
変換処理の場合には単なるフィールドFIFOメモリと
して用い、単なるディレイ素子である。
The field FIFO memory 110 is
This is provided to output the line data required in the case of the enlargement line number conversion processing in a discrete manner, based on the input skip line control signal SCI supplied from the controller 106 in the case of the enlargement line number conversion. Switching between line data output and holding the value of the previous line is performed and output to the line memory 101. The field FIFO memory 110 is used simply as a field FIFO memory in the case of the reduced line number conversion processing, and is merely a delay element.

【0040】当該フィールドFIFOメモリ108は、
縮小ライン数変換処理の場合にラインデータを飛び飛び
に出力するために設けられているものであり、当該縮小
ライン数変換の場合にコントローラ106から供給され
る出力スキップラインコントロール信号SCOに基づい
て飛び飛びにラインデータをスキップして、出力端子1
09に出力する。なお、FIFOメモリ108は、拡大
ライン数変換処理の場合には単なるFIFOメモリとし
て用い、単なるディレイ素子である。
The field FIFO memory 108
This is provided to output line data intermittently in the case of the reduced line number conversion processing. In the case of the reduced line number conversion, the line data is intermittently output based on the output skip line control signal SCO supplied from the controller 106. Line data is skipped and output terminal 1
09 is output. Note that the FIFO memory 108 is used simply as a FIFO memory in the case of the enlarged line number conversion processing, and is merely a delay element.

【0041】コントローラ106は、拡大或いは縮小ラ
イン数変換を行う際の変換比率に基づいて、出力ポート
メモリである上記FIFOメモリ108の出力スキップ
ラインコントロール信号SCO及びラインメモリ101
〜104の入力シフトラインコントロール信号IEの生
成、さらにキュービック係数発生器105のためのタイ
ミングコントロールを行うものである。
The controller 106 controls the output skip line control signal SCO of the FIFO memory 108 and the line memory 101 based on the conversion ratio when converting the number of enlarged or reduced lines.
104104 to generate the input shift line control signal IE, and further perform timing control for the cubic coefficient generator 105.

【0042】図21は上記図20のハードウェア構成に
おける2:3拡大ライン数変換処理時のライン配置とキ
ュービック係数C1,C2,C3,C4との関係を示してお
り、当該2:3拡大ライン数変換処理を行う場合にはこ
の図21に示すように、上記入力シフトコントロール信
号IEによって3ライン分入力ラインデータをシフト
し、1ライン前のラインデータをシフトしないという操
作を繰り返す。図20の各乗算器111〜114への入
力データD1,D2,D3,D4は、この図21の乗算器入
力D1,D2,D3,D4のようになり、式(8)に示すよ
うに、これら乗算器入力とキュービック係数C1,C2
3,C4との畳み込み演算を行うことで所望の結果が得
られる。
FIG. 21 shows the relationship between the line arrangement and the cubic coefficients C 1 , C 2 , C 3 , and C 4 in the 2: 3 enlarged line number conversion processing in the hardware configuration of FIG. As shown in FIG. 21, in the case of performing the conversion process of the number of expanded lines, the operation of shifting the input line data for three lines by the input shift control signal IE and not shifting the line data one line before is repeated. . The input data D 1 , D 2 , D 3 and D 4 to each of the multipliers 111 to 114 in FIG. 20 are as shown in the multiplier inputs D 1 , D 2 , D 3 and D 4 in FIG. As shown in (8), these multiplier inputs and cubic coefficients C 1 , C 2 ,
A desired result can be obtained by performing a convolution operation with C 3 and C 4 .

【0043】[0043]

【数8】 (Equation 8)

【0044】なお、ここでは簡単のため、2:3拡大ラ
イン数変換の例を示したが、任意の拡大比率の場合は、
タイミング制御が異なるだけで原理は同じであるので、
それらの説明については割愛する。
Here, for the sake of simplicity, an example of the 2: 3 enlargement line number conversion is shown, but in the case of an arbitrary enlargement ratio,
Since the principle is the same except for the timing control,
Their explanation is omitted.

【0045】また、図22には上記図20のハードウエ
ア構成における3:2縮小ライン数変換処理時のライン
配置とキュービック係数C1,C2,C3,C4との関係を
示している。なお、図中Skipはスキップされる出力
ラインを示している。当該縮小ライン数変換処理の場合
には、前記拡大ライン数変換の時と異なり、上記入力シ
フトコントロール信号IEは常時“L”レベルとなさ
れ、入力ラインデータは各レジスタ101〜104にそ
のまま入ってくるため、各乗算器111〜114の入力
データD1〜D4は図22の乗算器入力D1〜D4のように
なり、これとキュービック係数C1〜C4の畳み込み演算
の式(8)を行うことで所望の結果が得られる。ただ
し、当該3:2縮小ライン数変換の場合には、出力され
る3ラインに対して、入力の1ラインが不要になるの
で、当該不要なラインは前記フィールドFIFOメモリ
108に対する書き込みをコントロールすることによっ
てスキップする。このための制御信号が図22に示すよ
うな出力ラインのスキップコントロール信号SCOとな
る。すなわち、この出力スキップラインコントロール信
号SCOは、”H”レベルのときラインスキップし、”
L”レベルのときラインスキップしない、というように
フィールドFIFOメモリ108を制御するための信号
である。
Further, in FIG. 22 FIG 20 3 in the hardware configuration of: shows the relationship between the line arrangement and the cubic coefficient at 2 reduced lines number conversion process C 1, C 2, C 3 , C 4 . In the figure, Skip indicates an output line to be skipped. In the case of the reduction line number conversion process, unlike the case of the expansion line number conversion, the input shift control signal IE is always at the "L" level, and the input line data enters the registers 101 to 104 as they are. Therefore, the input data D 1 to D 4 of each of the multipliers 111 to 114 are as shown in the multiplier input D 1 to D 4 of FIG. 22, and the convolution operation of this and the cubic coefficients C 1 to C 4 (8) To obtain the desired result. However, in the case of the 3: 2 reduced line number conversion, one input line is not required for three output lines. Therefore, the writing of the unnecessary line to the field FIFO memory 108 should be controlled. Skip by. The control signal for this is the output line skip control signal SCO as shown in FIG. That is, the output skip line control signal SCO skips the line when it is at the “H” level,
This signal is for controlling the field FIFO memory 108 such that line skip is not performed when the signal is at the L "level.

【0046】なお、ここでは簡単のため、3:2縮小ラ
イン数変換の例を示したが任意の縮小比率の場合、その
タイミング制御が異なるだけで原理は同じであるのでこ
こではそれらについての説明は割愛する。
Here, for simplicity, an example of 3: 2 reduction line number conversion has been described. However, in the case of an arbitrary reduction ratio, the principle is the same except for the timing control, so that the description will be made here. Is omitted.

【0047】以上は、入力信号が順次走査のいわゆるノ
ンインターレース信号の場合の例であり、飛び越し走査
のいわゆるインターレース信号では画面に対して走査線
の位置は第一フィールドと第二フィールドで異なること
になるので、補間の係数セットは第二フィールド用、第
一フィールド用とそれぞれ異なってくる。従って、実際
の制御系はもっと複雑な構成であり、当然比率が異なれ
ば係数も異なってくるので、それに応じて入力スキップ
するラインや、出力スキップするラインも変化する。そ
こで、補間係数とスキップライン情報はそれぞれのフィ
ールドで独立に計算する必要がある。
The above is an example of a case where the input signal is a so-called non-interlaced signal of the progressive scanning. In the case of the so-called interlaced signal of the interlaced scanning, the position of the scanning line with respect to the screen differs between the first field and the second field. Therefore, the interpolation coefficient set differs for the second field and the first field. Therefore, the actual control system has a more complicated configuration, and the coefficient differs when the ratio differs, so that the input skipping line and the output skipping line change accordingly. Therefore, it is necessary to independently calculate the interpolation coefficient and the skip line information for each field.

【0048】次に、インターレース信号の走査線数変換
について説明する。
Next, conversion of the number of scanning lines of an interlace signal will be described.

【0049】前記2:3拡大走査線数変換では、第一フ
ィールドの補間式は、入力がノンイン夕一レース信号の
式(3)と同じである。インターレース信号では図23
の第一フィールド入力ライン信号121と第二フィール
ド入力ライン信号123、及び第一フィールド出力ライ
ン信号122と第二フィールド出力ライン信号124の
ように、第一フィールドと第二フィールドでは必ず位相
が1/2ずれた関係、つまり第一フィールドのラインと
ラインのちょうど真ん中に第二フィールドのラインが入
らなければならない。このため、2:3拡大走査線数変
換の第二フィールドでは各補間ラインの位相情報は図2
3のP4,P5,P6となり、それぞれの位相情報は5/
7、1/2、1/7となるので上記式(3)と同様にし
て各ラインの補間値を示すと以下の式(9)のように書
ける。
In the above 2: 3 enlarged scanning line number conversion, the interpolation formula of the first field is the same as the formula (3) for the non-in-one-one-race signal input. In the case of interlaced signals, FIG.
In the first and second fields, the phase is always 1 /, as in the first field input line signal 121 and the second field input line signal 123, and the first field output line signal 122 and the second field output line signal 124. There must be two staggered relationships, that is, the line of the second field is exactly in the middle of the line of the first field. For this reason, in the second field of the 2: 3 enlarged scanning line number conversion, the phase information of each interpolation line is shown in FIG.
3 are P 4 , P 5 , and P 6 , and each phase information is 5 /
Since the values are 7, 1/2, and 1/7, the interpolation value of each line can be expressed as in the following expression (9) in the same manner as in the above expression (3).

【0050】[0050]

【数9】 (Equation 9)

【0051】ここで、添え字jは第二フィールドを表し
ており、第一フィールドの添え字iと区別する。この式
からもわかるとおり、キュービック係数と補間に必要な
ラインは第一フィールドのものと第二フィールドのもの
では全く関連づけされていないため、イン夕ーレース形
式の画像信号に対しではそれぞれ別々に計算する必要が
ある。
Here, the subscript j represents the second field and is distinguished from the subscript i of the first field. As can be seen from this equation, since the cubic coefficients and the lines required for interpolation are not related at all in the first field and the second field, they are calculated separately for the in-lace image signal. There is a need.

【0052】同様に、3:2縮小走査線数変換では、第
一フィールドの補間式は、入力がノンインターレース信
号の式(6)と同じである。この場合も図24に示すよ
うに第一フィールド入力ライン信号125と第二フィー
ルド入力ライン信号127、及び第一フィールド出力ラ
イン信号126と第二フィールド出力ライン信号128
のように、第一フィールドと第二フィールドでは必ず位
相が1/2ずれた関係、つまり第一フィールドのライン
とラインのちょうど真ん中に第二フィールドのラインが
入らなけらばならない。このため、3:2縮小走査線数
変換の第二フィールドでは各補間ラインの位相情報は図
24のP3,P4となり、それぞれの位相情報はl/4、
3/4となるので上記数6と同様にして各ラインの補間
値を示すと以下の式(10)のように書ける。
Similarly, in the 3: 2 reduced scanning line number conversion, the interpolation formula of the first field is the same as the formula (6) for the input of a non-interlace signal. Also in this case, as shown in FIG. 24, the first field input line signal 125 and the second field input line signal 127, and the first field output line signal 126 and the second field output line signal 128
As shown in the above, the relationship between the first field and the second field is always shifted by 1/2, that is, the line of the second field must be inserted exactly between the lines of the first field. Therefore, in the second field of the 3: 2 reduced scanning line number conversion, the phase information of each interpolation line is P 3 and P 4 in FIG. 24, and the respective phase information is 1/4,
Since it is /, the interpolation value of each line can be expressed as in the following equation (10) in the same manner as in the above equation (6).

【0053】[0053]

【数10】 (Equation 10)

【0054】この場合も第二フィールドに関してはキュ
ービック係数セットは全く第一フィールドと異なるため
それぞれ別々に計算する必要がある。
Also in this case, since the cubic coefficient set for the second field is completely different from that of the first field, it is necessary to calculate them separately.

【0055】走査線数変換処理では、従来より上述した
ようないわゆるASIC(Application S
pecific Integrated Circui
t:特定用途向けIC)等のハードウエアによる高速積
和回路を用いて実現されてきた。
In the scanning line number conversion process, a so-called ASIC (Application S
peculiar integrated circuit
t: application specific IC) or the like, using a high-speed multiply-accumulate circuit by hardware.

【0056】[0056]

【発明が解決しようとする課題】以上のように走査線変
換では入力信号がノンインターレースであるかインター
レースであるかによって、さらにインターレースの場合
は各フィールド毎に補間係数やスキップラインは全く異
なる。本キュービック補間のような多タップの係数から
計算される補間演算をASlCで実現するには、回路規
模の点でどうしても自由度の少ない、ある固定された変
換比率となるか、或いは多くても数種類程度の変換比率
を切り替えて使用するというような方式に限定せざるを
得ない。
As described above, in the scanning line conversion, depending on whether the input signal is non-interlace or interlace, in the case of interlace, the interpolation coefficient and the skip line are completely different for each field. In order to realize an interpolation operation calculated from multi-tap coefficients such as the present cubic interpolation by ASIC, a fixed conversion ratio with a small degree of freedom in terms of circuit scale is required, or at most several types. It is inevitable to limit the system to such a method that the conversion ratio is switched and used.

【0057】様々な比率に対応するため、さらには各種
のフォーマットに対応するため、或いは設計後のビット
精度の変更、比率変換アルゴリズムの変更等のフレキシ
ビリティー等の点でこれをASlCのようなハードウェ
アだけで行うことは困難である。
In order to cope with various ratios, and further to cope with various formats, or in terms of flexibility such as a change in bit precision after a design and a change in a ratio conversion algorithm, this is used as an ASIC. It is difficult to do with hardware alone.

【0058】また、ASlCでリアルタイムに回路構成
上複雑な上記フィルタスイッチング補間法で、水平、垂
直の変換を変えようとすることも事実上不可能といって
よい。
It can be said that it is virtually impossible to change the horizontal and vertical conversions by the filter switching interpolation method, which is complicated in terms of the circuit configuration in real time in ASIC.

【0059】走査線数変換では外部に画像信号を蓄える
ためのフィールドメモリが必要になるわけだが、インタ
ーレース信号では各フィールド毎にこのフィールドメモ
リからそれぞれのフィールドで補間に必要なデータだけ
を読み書きを行いつつ、補間すべきラインの位相にあっ
たものを取り出し、それに見合った補間係数との畳込み
を行うのは、ある固定された比率以外では外部のメモリ
コントロールとタイミング同期をあわせる点でも困難で
ある。さらに入力信号がインターレースの場合は、変換
比率の応じて第一フィールドの出力と第二フィールドの
出力の位相を合わせるのが困難である。
The conversion of the number of scanning lines requires a field memory for storing an image signal externally. For an interlaced signal, only the data necessary for interpolation in each field is read and written from this field memory for each field. On the other hand, it is also difficult to take out the phase that matches the phase of the line to be interpolated and to convolve it with the interpolation coefficient corresponding to it, in terms of synchronizing timing with external memory control except for a fixed ratio. . Further, when the input signal is interlaced, it is difficult to match the phases of the output of the first field and the output of the second field according to the conversion ratio.

【0060】そこで、本発明は、ノンインターレース画
像のみならず、インターレース画像における任意比率の
走査線数変換のためのディジタル信号処理を実現可能に
し、さらには設計後のビット精度の変更、或いは新たな
フォーマットの仕様の追加等にもソフトウエアの変更だ
けで柔軟に対応できる走査線数変換を可能にする画像信
号処理装置を提供することを目的とする。
Accordingly, the present invention makes it possible to realize digital signal processing for conversion of the number of scanning lines at an arbitrary ratio in an interlaced image as well as a non-interlaced image. It is an object of the present invention to provide an image signal processing apparatus capable of converting the number of scanning lines, which can flexibly cope with addition of a format specification or the like only by changing software.

【0061】[0061]

【課題を解決するための手段】本発明は、SIMD制御
される複数の要素プロセッサと各要素プロセッサの入力
部及び/又は出力部にて2次元画像データを格納するた
めのデータ格納手段とを有する画像信号処理装置であっ
て、各要素プロセッサは、入力画素データを走査線毎に
一時的に保存する一時保存手段と、入力走査線データを
一時保存手段に転送する入力走査線データ格納手段と、
入力部及び出力部におかれたデータ格納手段に対する走
査線データの書き込み/読み出しスキップ情報を格納す
るスキップ走査線情報格納手段と、補間或いは間引きす
べき画素データの走査線属性報を格納する走査線属性情
報格納手段と、走査線属性情報に基づいて入力或いは出
力スキップ走査線を決定する算術演算手段と、走査線属
性情報に基づいて入力走査線データ又は近傍走査線の走
査線データを用いて演算した走査線データを一時保存手
段に保存する算術演算手段と、一時保存手段からの走査
線データを格納して出力する出力走査線データ格納手段
と、データ格納手段へのデータ格納或いは取り出しのた
めの制御信号を生成すると共に入力画像の走査線毎に処
理を切り替えるデータ格納制御手段とを有してなること
により上述した課題を解決する。
SUMMARY OF THE INVENTION The present invention has a plurality of element processors controlled by SIMD and data storage means for storing two-dimensional image data at input and / or output sections of each element processor. In the image signal processing device, each element processor is a temporary storage unit for temporarily storing input pixel data for each scanning line, an input scanning line data storage unit for transferring the input scanning line data to the temporary storage unit,
A skip scan line information storage unit for storing scan line data write / read skip information for a data storage unit provided in an input unit and an output unit, and a scan line for storing scan line attribute information of pixel data to be interpolated or thinned out. Attribute information storage means, arithmetic operation means for determining an input or output skip scanning line based on scanning line attribute information, and operation using input scanning line data or scanning line data of a neighboring scanning line based on scanning line attribute information Arithmetic operation means for storing the obtained scan line data in the temporary storage means, output scan line data storage means for storing and outputting the scan line data from the temporary storage means, and data storage or retrieval for the data storage means. A data storage control unit for generating a control signal and switching processing for each scanning line of the input image. To resolve.

【0062】すなわち、本発明によれば、ノンインター
レース画像のみならず、インターレース画像でもリアル
タイムで任意比率の走査線数変換処理をSIMD制御の
リニアアレイ型名並列プロセッサを使い、ソフトウェア
処理だけで実現可能とし、変換比率はリアルタイムに変
更可能である。また、外部に置かれたフィールドメモリ
のコントロール信号もSIMD制御のリニアアレイ型名
並列プロセッサにて計算することで、外部メモリコント
ロール回路を不要とし、リアルタイムに変換比率を変え
ることを可能にする。
That is, according to the present invention, not only non-interlaced images but also interlaced images can be realized in real time by a software processing using a linear array type parallel processor under SIMD control at an arbitrary ratio of the number of scanning lines. The conversion ratio can be changed in real time. Also, the control signal of the field memory placed outside is calculated by a SIMD-controlled linear array type parallel processor, thereby eliminating the need for an external memory control circuit and enabling the conversion ratio to be changed in real time.

【0063】[0063]

【発明の実施の形態】以下、本発明の好ましい実施の形
態について、図面を参照しながら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below with reference to the drawings.

【0064】ここで、ディジタル映像信号として、いわ
ゆる4:4:4フォーマット、4:2:2フォーマッ
ト、4:1:1フォーマット等様々なフォーマットが存
在するが、走査線数変換に限っていえば、輝度信号もク
ロマ信号も同じ処理を行えばよいため、以下では輝度信
号を例にして説明する。なお、画素数変換処理では輝度
信号とクロマ信号とでフォーマットによってそれぞれの
処理が違う。
Here, there are various formats such as so-called 4: 4: 4 format, 4: 2: 2 format, and 4: 1: 1 format as digital video signals. Since the same processing may be performed for both the luminance signal and the chroma signal, a description will be given below using the luminance signal as an example. In the pixel number conversion processing, the processing differs depending on the format of the luminance signal and the chroma signal.

【0065】本発明の実施の形態にかかる画像信号処理
装置では、前述したハードウェア構成による走査線数変
換のためのディジタル信号処理の問題点を打破するた
め、前記ASlCのようなハードワイアード構成ではな
く、DSP(digitalsignal proce
ssor)を用いたソフトウェアプログラムにて、当該
ディジタル信号処理を実現するようにしている。
In the image signal processing apparatus according to the embodiment of the present invention, in order to overcome the problem of digital signal processing for converting the number of scanning lines by the above-described hardware configuration, a hard-wired configuration such as the ASIC is used. No, DSP (digital signal process)
The digital signal processing is realized by a software program using the ssor).

【0066】このように、ディジタル信号処理をソフト
ウエアプログラムにて行うことにより、仕様変更にも柔
軟に対応でき、ソフトウェアプログラムを書き換えるだ
けで様々な異なる信号処理を切り替えて実行することを
可能にしている。また、仕様の変更に対しても、ハード
ウェアは一切変更する必要がないので、いわゆるTAT
(Time−Axis Transform Syst
em)期間を従来に比べかなり短縮することが可能とな
る。
As described above, by performing the digital signal processing by the software program, it is possible to flexibly cope with the specification change, and it is possible to switch and execute various different signal processing simply by rewriting the software program. I have. In addition, there is no need to change the hardware at all when the specification is changed.
(Time-Axis Transform System
em) The period can be considerably shortened as compared with the conventional case.

【0067】前述したノンインターレース信号或いはイ
ンターレース信号の走査線数変換処理をソフトウェアプ
ログラムにて実現するためのDSPとして、例えばいわ
ゆるリニアアレイ型多並列プロセッサの基本的内部構成
及び基本動作を、以下に説明する。
The basic internal configuration and operation of a so-called linear array type multi-parallel processor, for example, as a DSP for realizing the above-mentioned non-interlace signal or interlace signal scanning line number conversion processing by a software program, will be described below. I do.

【0068】上記リニアアレイ型多並列プロセッサと
は、例えば図1に示すように、入力画素の1画素に相当
する要素プロセッサ40を一次元に1走査線分並ベ、こ
れら1走査線毎に並列処理することを特徴とするもので
ある。
The linear array type multi-parallel processor is, for example, as shown in FIG. 1, in which an element processor 40 corresponding to one input pixel is arranged one-dimensionally for one scanning line, and for each of these scanning lines, It is characterized by processing.

【0069】この図1において、入力端子30に供給さ
れた時系列の入力画素データであるシリアル入力データ
SIDは、各要素プロセッサ40の入力レジスタ41に
入力された後、データを一時的に保存するためのローカ
ルメモリ43に転送される。また、上記ローカルメモリ
43のメモリアドレスを発生するメモリアドレスジェネ
レータ31とインストラクションジェネレータ32は、
全ての要素プロセッサ40に対して共通な制御、すなわ
ちいわゆるSIMD(Single Instruct
ion Multiple Data Stream)
制御を行う。
In FIG. 1, serial input data SID, which is time-series input pixel data supplied to an input terminal 30, is input to an input register 41 of each element processor 40, and then temporarily stores the data. To the local memory 43 for Further, the memory address generator 31 and the instruction generator 32 for generating the memory address of the local memory 43 include:
Control common to all element processors 40, that is, a so-called SIMD (Single Instruction)
ion Multiple Data Stream)
Perform control.

【0070】このように、リニアアレイ型多並列プロセ
ッサの特徴でもあるが、一旦リニアアレイ型多並列プロ
セッサ(DSP)内部に取り込まれたデータは、1走査
線分に相当する全ての要素プロセッサ40について同じ
処理が施される。具体的に言うと、各要素プロセッサ4
0のローカルメモリ43に転送されたデータは、それぞ
れ演算処理部44との間で前記補間に必要な演算が施さ
れた後、出力レジスタ42に送り込まれ、最終的にこれ
ら各要素プロセッサ40の各出力レジスタ42から出力
されることで、当該リニアアレイ型多並列プロセッサか
らは1走査線分の補間画素データが出力画素データ(シ
リアル出力データSOD)として取り出されることにな
る。
As described above, although it is a feature of the linear array type multi-parallel processor, the data once fetched into the linear array type multi-parallel processor (DSP) is stored in all the element processors 40 corresponding to one scanning line. The same processing is performed. Specifically, each element processor 4
The data transferred to the local memory 43 of 0 are sent to the output register 42 after being subjected to the operation necessary for the interpolation with the operation processing unit 44, and finally the data of each of these element processors 40 By being output from the output register 42, interpolated pixel data for one scanning line is extracted as output pixel data (serial output data SOD) from the linear array type multi-parallel processor.

【0071】また、各要素プロセッサ40の一つ一つ
は、上述したように1走査線の各画素に対応しており、
各要素プロセッサ40はそれぞれ左右近傍の他の要素プ
ロセッサ40のローカルメモリ43内のデータにアクセ
ス可能な構造になっている。このような構造を有するこ
とで、当該リニアアレイ型多並列プロセッサでは、各要
素プロセッサ40のローカルメモリ43に書き込まれた
全体で1走査線分の画素データに対して、その左右近傍
のデータをロードでき、これらデータをそれぞれの演算
処理部44との間で送受して演算することにより、いわ
ゆる水平方向のFIRフィルタ(非巡回型フィルタ)も
実現できるようになっている。
Each of the element processors 40 corresponds to each pixel of one scanning line as described above.
Each element processor 40 has a structure capable of accessing data in the local memory 43 of another element processor 40 near the left and right. With such a structure, in the linear array type multi-parallel processor, the pixel data of one scanning line as a whole, which is written in the local memory 43 of each element processor 40, is loaded with the right and left neighboring data. By transmitting and receiving these data to and from the respective processing units 44 and performing calculations, a so-called horizontal FIR filter (non-recursive filter) can be realized.

【0072】また、当該リニアアレイ型多並列プロセッ
サでは、全体として1走査線分の画素データを各要素プ
ロセッサ40のローカルメモリ43に離散的に記憶で
き、したがって、例えば入力時に要素プロセッサ40の
1個おきに画素データを記憶することも可能である。同
様に、当該リニアアレイ型多並列プロセッサでは、各要
素プロセッサ40の各ローカルメモリ43に記憶した全
体として1走査線分に相当する画素データを、離散的に
出力することも可能である。
In the linear array type multi-parallel processor, pixel data for one scanning line as a whole can be discretely stored in the local memory 43 of each element processor 40. It is also possible to store pixel data every other time. Similarly, in the linear array type multi-parallel processor, it is also possible to discretely output pixel data corresponding to one scanning line as a whole stored in each local memory 43 of each element processor 40.

【0073】本発明実施の形態の走査線数変換処理で
は、本発明の特徴の一つであるリアルタイムな走査線数
変換が可能である。この場合は入出力のスキップ機能は
外部のフィールドFlFOメモリ等で調整すればよく、
この制御用信号はライン属性情報に基づいてライン属性
情報の計算と同時に求めることが可能である。
In the scanning line number conversion processing according to the embodiment of the present invention, real-time scanning line number conversion, which is one of the features of the present invention, is possible. In this case, the input / output skip function may be adjusted using an external field FlFO memory or the like.
This control signal can be obtained simultaneously with the calculation of the line attribute information based on the line attribute information.

【0074】また、演算処理自体は輝度信号とクロマ信
号とで区別する必要はなく、同じ処理で行うことができ
る。
The arithmetic processing itself does not need to be distinguished between a luminance signal and a chroma signal, and can be performed by the same processing.

【0075】入力ライン近傍の4ラインデータとライン
位相情報からのキュービック係数との畳み込み演算から
補間すべきラインを計算する。走査線数変換処理では入
力スキップライン情報、出力スキップライン情報、ライ
ン位相情報は毎ライン計算し、前記ライン位相情報につ
いては拡大用と縮小用と2種類の位相情報のためのレジ
スタを持つ。このようにライン位相情報を拡大用、縮小
用の2種類を持つことで縮小から拡大まで任意の比率変
換を可能としている。また、この2種類の位相情報から
求められる入力スキップライン制御信号と出力スキップ
ライン制御信号で外部のフィールドメモリと当該リニア
アレイ型多並列プロセッサ自体の処理プログラムを制御
し、プログラムはインストラクション切り替えフラグ発
生部45からのフラグにより入力ライン毎に切り替える
ことが可能な構造になっている。
The line to be interpolated is calculated from the convolution operation of the four line data near the input line and the cubic coefficient from the line phase information. In the scanning line number conversion processing, input skip line information, output skip line information, and line phase information are calculated for each line, and the line phase information has registers for two types of phase information for enlargement and reduction. As described above, by having two types of line phase information for enlargement and reduction, arbitrary ratio conversion from reduction to enlargement is possible. The input skip line control signal and the output skip line control signal obtained from the two types of phase information control an external field memory and a processing program of the linear array type multi-parallel processor itself. The structure is such that it can be switched for each input line by the flag from 45.

【0076】図2に当該リニアアレイ型多並列プロセッ
サを用いて走査線数変換処理を行う場合の構成を示す。
当該リニアアレイ型多並列プロセッサはそもそもハード
ウエアでなく、ソフトウェアだけで構成されるため実際
の実現方法は異なるが、内部の各信号処理の一つ一つを
ブロック分けすると図2のようになり、以下では走査線
数変換処理についてその実現例を説明する。
FIG. 2 shows a configuration in the case where the number of scanning lines is converted using the linear array type multi-parallel processor.
The linear array type multi-parallel processor is not hardware in the first place, but the actual implementation method is different because it is composed only of software, but when each of the internal signal processing is divided into blocks, as shown in FIG. Hereinafter, an example of realizing the scanning line number conversion processing will be described.

【0077】次に具体的に走査線数変換を実現する手法
を説明する。本発明にかかる走査線数変換の方式では、
入力信号がノンインターレースでもインターレースであ
っても補間演算処理自体は同じでよく、ライン位相情報
の初期値の与え方とプログラムの切り替え制御が異なる
だけである。
Next, a method for realizing the conversion of the number of scanning lines will be specifically described. In the method of converting the number of scanning lines according to the present invention,
The interpolation operation itself may be the same whether the input signal is non-interlaced or interlaced, and only the way of giving the initial value of the line phase information and the program switching control are different.

【0078】即ち、ノンインターレース信号の時はフレ
ームライン位相情報の初期化は1フレームの始めに1回
行い、この初期値をゼロとする。これに対しインターレ
ース信号では、各フィールドの始めに1回ライン位相情
報を初期化するが、これを以下の式(11)に示すよう
に第一フィールドと第二フィールドとで違う値を設定す
る。
That is, in the case of a non-interlace signal, the initialization of the frame line phase information is performed once at the beginning of one frame, and this initial value is set to zero. On the other hand, in the case of the interlace signal, the line phase information is initialized once at the beginning of each field, and different values are set for the first field and the second field as shown in the following equation (11).

【0079】ここで走査線数変換の変換比率をN:Mと
する。但し、N及びMは正の整数であり、M>Nで拡大
走査線数変換、M<Nで縮小走査線数変換、M=Nで等
倍変換となる。このとき、インターレース信号での第一
フィールドのライン初期位相情報Phinit oddと第二フ
ィールドのライン初期位相情報Phinit evenとは次の
ようになる。
Here, it is assumed that the conversion ratio of the scanning line number conversion is N: M. However, N and M are positive integers, and when M> N, enlargement scanning line number conversion, when M <N, reduction scanning line number conversion, and when M = N, unity conversion. At this time, the line initial phase information Ph init of the first field in the interlace signal odd and line initial phase information Ph init of the second field Even is as follows.

【0080】[0080]

【数11】 [Equation 11]

【0081】これに対し、ノンインターレース信号で
は、ライン初期位相情報Phinit frmは、次式(12)
となる。
On the other hand, in the case of a non-interlace signal, the line initial phase information Ph init frm is given by the following equation (12)
Becomes

【0082】[0082]

【数12】 (Equation 12)

【0083】以上のことをふまえて、まず、ノンインタ
ーレース信号についてSIMDリニアアレイ型多並列プ
ロセッサDSPでの走査線数変換の詳細フロチャートを
図3、図4、図5、図6に示す。
Based on the above, first, detailed flow charts of conversion of the number of scanning lines in the SIMD linear array type multi-parallel processor DSP for non-interlaced signals are shown in FIG. 3, FIG. 4, FIG. 5, and FIG.

【0084】図3において、先ず、ステップST200
で走査線数変換の変換比率N:Mが設定される。但し、
N及びMは正の整数であり、M≧Nで拡大走査線数変
換、M<Nで縮小走査線数変換となる。変換比率1:1
の等倍変換は拡大変換に含めることとする。
In FIG. 3, first, at step ST200
Sets the conversion ratio N: M for the conversion of the number of scanning lines. However,
N and M are positive integers. When M ≧ N, conversion of the number of enlarged scanning lines is performed, and when M <N, conversion of the number of reduced scanning lines is performed. Conversion ratio 1: 1
Is to be included in the enlargement conversion.

【0085】次のステップST201は、画像の1フレ
ームの最初のラインに対して実行される。ここでは入力
スキップラインの計算に使われるライン位相情報用レジ
スタdphiと、出力スキップラインの計算に使われるラ
イン位相情報用レジスタdphoの値の初期化を行う。た
だし、リニアアレイ型多並列プロセッサ内での処理の遅
延時間がある為に、その遅延を補償するためにライン位
相情報用レジスタdphoの値は0で、ライン位相情報用
レジスタdphiは遅延時間に応じたオフセット位相を持
たせることを行う。つまり、拡大の場合には当核リニア
アレイ型多並列プロセッサにて入力部におかれたフィー
ルドメモリ51から当該リニアアレイ型多並列プロセッ
サ72へ入力するかしないかを計算する訳であるが、そ
の決定はキュービック補間演算を行う前に予め定まって
いなければならない。時間軸で考えると、リニアアレイ
型多並列プロセッサ72内での信号の遅れがあるため、
先に入力スキップするかしないかが定まって、その後補
間することになり、時間的には未来の予測となってしま
う。そのためにこの遅れ時間を前もって補正しておくこ
とで、あたかもリニアアレイ型多並列プロセッサ72内
での遅れがないようにしている。この処理ステップST
201の詳細は後述する。なお、この”遅れ”について
はプログラムが定まれば一意的に定まる。
The next step ST201 is executed for the first line of one frame of an image. Here, the values of the line phase information register d phi used for calculating the input skip line and the line phase information register d pho used for calculating the output skip line are initialized. However, since there is a processing delay time in the linear array type multi-parallel processor, the value of the line phase information register d pho is 0 to compensate for the delay, and the line phase information register d phi is a delay time. To have an offset phase corresponding to In other words, in the case of enlargement, the linear array type multi-parallel processor calculates whether or not to input from the field memory 51 provided in the input unit to the linear array type multi-parallel processor 72. The decision must be predetermined before performing the cubic interpolation operation. Considering the time axis, there is a signal delay in the linear array type multi-parallel processor 72,
First, it is determined whether or not to skip the input, and then interpolation is performed, which results in temporal prediction of the future. Therefore, the delay time is corrected in advance so that there is no delay in the linear array type multi-parallel processor 72. This processing step ST
Details of 201 will be described later. The "delay" is uniquely determined if a program is determined.

【0086】ステップST202では、次ラインの1ラ
イン分の画素データの入力が可能か否かの判別を行い、
当該次ラインの画素データの入力が可能となるまでこの
判断を繰り返す。当該ステップST202にて次ライン
の画素データの入力が可能になると、次のステップST
203で1ライン分の画素データの入力が行われる。
In step ST202, it is determined whether or not it is possible to input pixel data for one line of the next line.
This determination is repeated until pixel data of the next line can be input. When it becomes possible to input the pixel data of the next line in step ST202, the next step ST202
At 203, pixel data for one line is input.

【0087】ステップST204では、後述する入力ス
キップライン制御信号FISLに従い、もしも入力スキッ
プライン制御信号FISLの値が0ならば、ステップST
203で入力した1ライン分のデータ73を補間元のデ
ータが格納されているローカルメモリ上の信号用(4
H)ディレイライン56に格納する(ステップST20
5)。逆に、入力スキップライン制御信号FISLの値が
1ならば、このラインは不要とみなし、信号用(4H)
ディレイライン56には格納されず、そのデータ73は
破棄され、ステップST206に進む。
In step ST204, according to the input skip line control signal F ISL described later, if the value of the input skip line control signal F ISL is 0, the process proceeds to step ST204.
The one-line data 73 input at 203 is used for a signal (4) on a local memory in which interpolation source data is stored.
H) Store in delay line 56 (step ST20)
5). Conversely, if the value of the input skip line control signal F ISL is 1, this line is regarded as unnecessary, and the signal (4H)
The data 73 is not stored in the delay line 56 but is discarded, and the process proceeds to step ST206.

【0088】この入力スキップライン制御信号FISL
拡大走査線数変換の際に意味をもつものであり、図7に
拡大変換時の入力スキップライン制御信号FISLとフィ
ールドメモリ51のデータとの関係を図示する。この図
7のLinがスキップされるラインを示しており、即ち、
入力スキップライン制御信号FISLの値が1の時にはフ
ィールドメモリ51の出力を止めてリニアアレイ型多並
列プロセッサ72内にデータを取り込まないようにし、
値が0の時にはフィールドメモリ51からのデー夕をリ
ニアアレイ型多並列プロセッサ72内に取り込み、補間
演算に必要な信号用(4H)ディレイライン56に格納
する。なお、入力スキップライン制御信号FISLの極性
は値が1でスキップ、値が0でスキップしないとしてい
るが、フィールドメモリ51への制御信号の極性が逆な
らば反転する必要がある。
The input skip line control signal F ISL has a meaning during the conversion of the number of enlarged scanning lines. FIG. 7 shows the relationship between the input skip line control signal F ISL and the data of the field memory 51 during the enlargement conversion. Is illustrated. L in the FIG. 7 shows a line to be skipped, i.e.,
When the value of the input skip line control signal FISL is 1, the output of the field memory 51 is stopped so that data is not taken into the linear array type multi-parallel processor 72,
When the value is 0, the data from the field memory 51 is fetched into the linear array type multi-parallel processor 72 and stored in the signal (4H) delay line 56 necessary for the interpolation operation. The polarity of the input skip line control signal F ISL is skipped when the value is 1 and not skipped when the value is 0. However, if the polarity of the control signal to the field memory 51 is reversed, the polarity must be inverted.

【0089】図2中の信号用(4H)ディレイライン5
6の制御信号GRLは、グローバルローテーションを表
しており、値が1でそれぞれのラインデータを1ライン
ずつディレイし、値が0でディレイしないことを示す。
これはライン単位の処理であり、当該リニアアレイ型多
並列プロセッサ72においてはローカルメモリ内のデー
タを移動させることであるのでわずか数十ステップのイ
ンストラクションで済む。
The signal (4H) delay line 5 in FIG.
The control signal GRL of 6 indicates a global rotation. The value of 1 indicates that each line data is delayed by one line, and the value of 0 indicates no delay.
This is a line-by-line process, and in the linear array type multi-parallel processor 72, data in the local memory is moved, so that only a few tens of steps of instructions are required.

【0090】以上の結果、信号用ディレイライン56に
は、キュービック補間に必要な4ラインのデータが得ら
れることとなる、例えば図7の場合、ローカルメモリ5
6(すなわち図2の信号用ディレイライン56)には図
8に示す各ラインのデータが格納される。なお、この図
8は、当該拡大走査線数変換時の他のローカルメモリ6
0(すなわち図2の出力スキップライン計算部60が備
えるレジスタ)とローカルメモリ62(すなわち図2の
ライン位相計算部62が備えるレジスタ)の内容も示し
ている。
As a result, four lines of data necessary for cubic interpolation are obtained in the signal delay line 56. For example, in the case of FIG.
6 (that is, the signal delay line 56 of FIG. 2) stores data of each line shown in FIG. FIG. 8 shows another local memory 6 at the time of the conversion of the number of expanded scanning lines.
0 (that is, the register included in the output skip line calculation unit 60 in FIG. 2) and the contents of the local memory 62 (that is, the register included in the line phase calculation unit 62 in FIG. 2).

【0091】出力スキップライン制御信号FOSLは縮小
走査線数変換の際に意味をもつものであり、図9に縮小
変換時の出力スキップライン制御信号FOSLとフィール
ドメモリ64のデータとの関係を図示する。図9のL
outがスキップきれるラインを示しており、即ち、出力
スキップライン制御信号FOSLの値が1の時にはフィー
ルドメモリ64への入力データ(出力データ74)を取
り込まないようにし、値が0の時には出力データ74を
取り込む。なお、入力スキップライン制御信号の極性は
値が1でスキップ、値が0でスキップしないとしている
が、フィールドメモリ64の制御信号の極性が逆ならば
反転する必要がある。この時の各ローカルメモリの内容
を図10に示す。すなわち、この図10には、縮小走査
線数変換時のローカルメモリ56(すなわち図2の信号
用ディレイライン56)と、ローカルメモリ60(すな
わち図2の出力スキップライン計算部60が備えるレジ
スタ)とローカルメモリ62(すなわち図2のライン位
相計算部62が備えるレジスタ)の内容を示している。
The output skip line control signal F OSL has a meaning in the conversion of the number of reduced scanning lines. FIG. 9 shows the relationship between the output skip line control signal F OSL and the data in the field memory 64 in the reduction conversion. Illustrated. L in FIG.
out indicates a skipped line, that is, when the value of the output skip line control signal FOSL is 1, input data (output data 74) to the field memory 64 is not taken in, and when the value is 0, output data is not output. Import 74. Note that the polarity of the input skip line control signal is skipped when the value is 1 and not skipped when the value is 0. However, if the polarity of the control signal of the field memory 64 is reversed, it is necessary to invert the polarity. FIG. 10 shows the contents of each local memory at this time. That is, FIG. 10 shows a local memory 56 (ie, the signal delay line 56 of FIG. 2) at the time of conversion of the number of reduced scanning lines and a local memory 60 (ie, a register included in the output skip line calculation unit 60 of FIG. 2). 3 shows the contents of a local memory 62 (that is, a register included in the line phase calculator 62 in FIG. 2).

【0092】ステップST206では出力スキップライ
ン位相情報用レジスタdphoの値からキュービック係数
を計算する。即ち、上記式(1)を用いた計算を行う。
ここで、ライン位相情報を表すものとしては出力スキッ
プライン位相情報用レジスタdphoに格納された値以外
に入力スキップライン位相情報用レジスタdphiに格納
された値があるが、入力スキップライン位相情報用レジ
スタdphiの値は実際の補間計算には使わず、以降で述
べる入力スキップラインを決定するためだけに使う。こ
のようにライン位相情報としては上記位相情報用レジス
タdpho、dphiに格納された2種類の情報を持つが、実
際の補間演算では出力スキップライン位相情報用レジス
タdphoの値のみを用いることで縮小から拡大までの任
意比率変換を可能としている。
In step ST206, a cubic coefficient is calculated from the value of the output skip line phase information register dpho . That is, calculation using the above equation (1) is performed.
Here, although as representing a line phase information is stored in the input skip line phase information register d phi other than stored in the register d pho output skip line phase information value value, input skip line phase information The value of the register d phi is not used for the actual interpolation calculation, but is used only for determining the input skip line described later. As described above, the line phase information has two types of information stored in the phase information registers d pho and d phi , but only the value of the output skip line phase information register d pho is used in actual interpolation calculation. Enables arbitrary ratio conversion from reduction to enlargement.

【0093】ステップST207では、上記ステップS
T206にて求めたキュービック係数と上記近傍4ライ
ンの画素データの畳み込み演算を行う。ステップST2
06のキュービック係数の計算と畳み込み演算により補
間されるラインQvは以下に示す式(13)のようにな
る。
In step ST207, the above step S
The convolution operation of the cubic coefficient obtained in T206 and the pixel data of the above four neighboring lines is performed. Step ST2
The line Qv interpolated by the calculation of the cubic coefficient 06 and the convolution operation is represented by the following equation (13).

【0094】[0094]

【数13】 (Equation 13)

【0095】式中のdphoは前ラインの出力スキップラ
イン位相情報を格納するレジスタ60(すなわち図2の
出力スキップライン計算部60に備えられたレジスタ)
の値を示しており、これについては後述する。式中のd
p2、dp1、dc、dn1は入力ラインをそれぞれ3H、2
H、1H、0Hラインディレイさせたものである。これ
らdpho、dp2、dp1、dc、dn1は、それぞれレジスタ
に対応している。なお、出力スキップライン位相情報d
pho(出力スキップライン位相情報用レジスタdp ho
値)は1ライン中でどの画素をとってもある一定の値に
なっている。
In the expression, d pho is a register 60 for storing the output skip line phase information of the previous line (that is, a register provided in the output skip line calculation unit 60 in FIG. 2).
, Which will be described later. D in the formula
p2, d p1, d c, d n1 is an input line each 3H, 2
H, 1H, 0H line delay. These d pho , d p2 , d p1 , d c , and d n1 correspond to registers, respectively. Note that the output skip line phase information d
pho (the value of the output skip line phase information register d p ho ) has a certain value regardless of which pixel is taken in one line.

【0096】ステップST208〜ST219で、出力
スキップラインの計算とキュービック演算の為のライン
位相情報の計算を行う。
In steps ST208 to ST219, calculation of an output skip line and calculation of line phase information for cubic calculation are performed.

【0097】ステップST208、ステップST20
9、ステップST210では次のラインが出力スキップ
ラインであるかどうかの判定を行う。即ち、前のライン
の出力スキップライン位相情報用レジスタdphoに格納
された値にNを加算して、得られた値がMの2倍よりも
大きい場合は1ビットのレジスタFOSLに1を格納し、
出力ラインをスキップするものとし、逆の場合はレジス
タFOSLに0を格納し、出力ラインをスキップさせない
よう設定する。
Step ST208, Step ST20
9. In step ST210, it is determined whether the next line is an output skip line. That is, N is added to the value stored in the output skip line phase information register dpho of the previous line, and if the obtained value is larger than twice M, 1 is added to the 1-bit register FOSL. Store,
The output line is skipped, and in the opposite case, 0 is stored in the register F OSL so that the output line is not skipped.

【0098】ステップST211、スナップST21
2、ステップST213では次のラインが入力スキップ
ラインであるかどうかの判定を行い、判別結果をワーキ
ングレジスタtempに格納する。即ち、前のラインの
出力スキップライン位相情報用レジスタdphiに格納さ
れた値にNを加算して、得られた値がMの値と等しいか
小さい場合は1ビットのワーキングレジスタtempに
1を格納し、逆の場合は0を格納する。
Step ST211, snap ST21
2. In step ST213, it is determined whether or not the next line is an input skip line, and the determination result is stored in the working register temp. That is, N is added to the value stored in the output skip line phase information register dphi of the previous line, and when the obtained value is equal to or smaller than the value of M, 1 is added to the 1-bit working register temp. Stored, and 0 in the opposite case.

【0099】次のステップST214、ステップST2
15、ステップST216では前記出力スキップライン
を示すレジスタFOSLの値に従い、次ラインの出力スキ
ップライン位相情報用レジスタdphoの値を計算する。
もし、ステップST209、ST210で計算したレジ
スタFOSLの値が1ならば、次ラインの出力スキップラ
イン位相情報用レジスタdphoの値を現ラインの出力ス
キップライン位相情報用レジスタdphoの値からMを引
いたものとし、そうでなければ(N−M)を足したもの
とする。
Next step ST214, step ST2
15, as the value of the register F OSL showing the output skip line in step ST216, calculates the value of the output skip line phase information register d pho of the next line.
If step ST209, if the value of the calculated register F OSL in ST210 is 1, M the value of the output skip line phase information register d pho for the next line from the value of the register d pho output skip line phase information of the current line Is subtracted, otherwise (N−M) is added.

【0100】次のステップST217、ステップST2
18、ステップST219では前記ワーキングレジスタ
tempの値に従い、次ラインの出力スキップライン位
相情報用レジスタdphoの値を計算する。もし、ワーキ
ングレジスタtempの値が1ならば、次ステップST
220〜ST231で、入力スキップラインを決定す
る。
Next step ST217, step ST2
18, as the value of the step ST219 working registers temp, to calculate the value of output skip line phase information register d pho of the next line. If the value of the working register temp is 1, the next step ST
In steps 220 to ST231, an input skip line is determined.

【0101】ステップST220、ステップST22
1、ステップST222では次のラインが出力スキップ
ラインであるかどうかの判定を行う。即ち、前のライン
の入力スキップライン位相情報用レジスタdphiの値に
Nを加算して、得られた値がMの2倍の値よりも大きい
場合は1ビットのワーキングレジスタtempに1を格
納し、逆の場合はワーキングレジスタtempに0を格
納する。
Step ST220, Step ST22
1. In step ST222, it is determined whether the next line is an output skip line. That is, N is added to the value of the input skip line phase information register d phi of the previous line, and if the obtained value is larger than twice the value of M, 1 is stored in the 1-bit working register temp. In the opposite case, 0 is stored in the working register temp.

【0102】ステップST223、ステップST22
4、ステップST225では次のラインが入力スキップ
ラインであるかどうかの判定を行い、判別結果をレジス
タFIS Lに格納する。即ち、前のラインの入力スキップ
ライン位相情報用レジスタdphiの値Nを加算して、得
られた値がMの値と等しいか小さい場合は1ビットのレ
ジスタFISLに1を格納し、入力ラインをスキップする
ものとし、逆の場合はレジスタFISLに0を格納し、入
力ラインをスキップさせないよう設定する。
Steps ST223 and ST22
4, in step ST225 the next line responsible for determining whether the input skip line, stores the determination result register F IS L. That is, the value N of the input skip line phase information register dphi of the previous line is added, and if the obtained value is equal to or smaller than the value of M, 1 is stored in the 1-bit register FISL , and It is assumed that the line is skipped, and in the opposite case, 0 is stored in the register FISL and the input line is set not to be skipped.

【0103】次のステップST226、ステップST2
27、ステップST228では前記出力スキップライン
を示すワーキングレジスタtempに従い、次ラインの
入力スキップライン位相情報用レジスタdphiの値を計
算する。もし、ステップST221、ST222で計算
したレジスタtempの値が1ならば、次ラインの入力
スキップライン位相情報用レジスタdphiの値を現ライ
ンの入力スキップライン位相情報用レジスタdphiの値
からMを引いたものとし、そうでなければ(N−M)を
足したものとする。
Next step ST226, step ST2
27, according to the working register temp showing the output skip line in step ST228, calculates the value of the register d phi input skip line phase information of the next line. If step ST221, the value of the calculated register temp in ST222 is 1, then the M values of the input skip line phase information register d phi for the next line from the value of the input skip line phase information register d phi of the current line It shall be subtracted, otherwise (N−M) shall be added.

【0104】次のステップST229、ステップST2
30、ステップST231では前記レジスタFISLの値
に従い、次ラインの入力スキップライン位相情報用レジ
スタdpniの値を計算する。もし、レジスタFISLの値が
1ならば、次ラインの入力スキップライン位粗情報用レ
ジスタdphiの値を現ラインの入力スキップライン位相
情報用レジスタdphiの値からMを引いたものとし、そ
うでなければそのままの値とする。
Next step ST229, step ST2
30, in step ST231, the value of the input skip line phase information register d pni of the next line is calculated in accordance with the value of the register F ISL . If the value of the register F ISL is 1, the value of the input skip line phase coarse information register d phi of the next line is obtained by subtracting M from the value of the input skip line phase information register d phi of the current line. Otherwise, leave the value as it is.

【0105】ステップST232にて、上にて得られた
キュービック補間演算後のデータと出力スキップライン
制御信号FOSLと入力スキップライン制御信号FISLを出
力する。
In step ST232, the data after the cubic interpolation operation obtained above, the output skip line control signal F OSL and the input skip line control signal F ISL are output.

【0106】ステップST233までが、1ライン分の
計算であり、これを1フレームの間繰り返す。即ち、ス
テップST222で1フレームの終わりかどうかを判別
し、そうであればステップST201にジャンプし、そ
うでなければステップST202へジャンプする。
The process up to step ST233 is the calculation for one line, and this is repeated for one frame. That is, in step ST222, it is determined whether or not the end of one frame. If so, the process jumps to step ST201; otherwise, the process jumps to step ST202.

【0107】また、上の説明で省略したが、前記ステッ
プST201の詳細処理フローチャートを図11に示
し、その説明を以下に述べる。
Although omitted in the above description, FIG. 11 shows a detailed processing flowchart of step ST201, and the description thereof will be given below.

【0108】ステップST401では、入力スキップラ
イン位相情報用レジスタdphiと出力スキップライン位
相情報レジスタdphoをゼロに初期化する。
In step ST401, the input skip line phase information register d phi and the output skip line phase information register d pho are initialized to zero.

【0109】ステップST402、ステップST40
3、ステップST404では次のラインが出力スキップ
ラインであるかどうかの判定を行い、判別結果をワーキ
ングレジスタtemp1に格納する。即ち、前のライン
の出力スキップライン位相情報用レジスタdphoの値
(初期値は0)にNを加算して、得られた値がMの2倍
の値よりも大きい場合は1ビットのワーキングレジスタ
temp2に1を格納し、そうでない場合は0を格納す
る。
Step ST402, Step ST40
3. In step ST404, it is determined whether or not the next line is an output skip line, and the determination result is stored in the working register temp1. That is, N is added to the value (initial value is 0) of the output skip line phase information register dpho of the previous line, and if the obtained value is larger than twice the value of M, 1-bit working is performed. 1 is stored in the register temp2, and 0 is stored otherwise.

【0110】ステップST405、ステップST40
6、ステップST407では次のラインが入力スキップ
ラインであるかどうかの判定を行い、判別結果をワーキ
ングレジス夕temp2に格納する。即ち、前のライン
の出力スキップライン位相情報用レジスタdphiの値に
Nを加算して、得られた値がMの値と等しいか小さい場
合は1ビットのワーキングレジスタtemp2に1を格
納し、逆の場合はレジスタtemp2に0を格納する。
Step ST405, step ST40
6. In step ST407, it is determined whether or not the next line is an input skip line, and the determination result is stored in the working registry evening temp2. That is, N is added to the value of the output skip line phase information register d phi of the previous line, and if the obtained value is equal to or smaller than the value of M, 1 is stored in the 1-bit working register temp2, In the opposite case, 0 is stored in the register temp2.

【0111】次のステップST408、ステップST4
09、ステップST410では前記ワーキングレジスタ
temp1に従い、次ラインの入力スキップライン位相
情報用レジスタdphiの値を計算する。もし、ワーキン
グレジスタtemp1の値が1ならば、次ラインの入力
スキップライン位相情報用レジスタdphiの値を現ライ
ンの入力スキップライン位相情報用レジスタdphiの値
からMを引いたものとし、そうでなければ(N−M)を
足したものする。
Next step ST408, step ST4
09, in accordance with the working register temp1 At step ST 410, calculates the value of the input skip line phase information register d phi of the next line. If the value of the working register temp1 is 1, the value of the input skip line phase information register d phi of the next line is determined by subtracting M from the value of the input skip line phase information register d phi of the current line, and so on. Otherwise, add (NM).

【0112】次のステップST411、ステップST4
12、ステップST413では前記ワーキングレジスタ
temp2に従い、次ラインの入力スキップライン位相
情報用レジスタdphiの値を計算する。もし、ワーキン
グレジスタtemp2の値が1ならば、次ラインの入力
スキップライン位相情報用レジスタdphiの値を現ライ
ンの入力スキップライン位相情報用レジスタdphiの値
からMを引いたものとし、そうでなければそのままの値
とする。
Next step ST411, step ST4
12, in accordance with the working register temp2 At step ST 413, calculates the value of the input skip line phase information register d phi of the next line. If the value of the working register temp2 is 1, the value of the input skip line phase information register d phi of the next line is obtained by subtracting M from the value of the input skip line phase information register d phi of the current line, and so on. If not, use the value as it is.

【0113】上のステップST402からステップST
413までの処理を所望の回数だけ行う。この回数は、
当該リニアアレイ型多並列プロセッサ(DSP)の内部
遅延時間に依存し、これはプログラムの書き方に依存す
るので一概には決められないが、DSP内部の処理が決
まれば、一意に決まるものである。
Step ST402 to step ST402
The processing up to 413 is performed a desired number of times. This number is
It depends on the internal delay time of the linear array type multi-parallel processor (DSP), which depends on how to write a program, and cannot be unconditionally determined. However, it is uniquely determined when the processing inside the DSP is determined.

【0114】以上が、ノンインターレース信号に関する
走査線数変換である。次にインターレース信号の処理に
ついて説明する。
The above is the conversion of the number of scanning lines for a non-interlace signal. Next, processing of an interlace signal will be described.

【0115】図12、図13、図14、図15にインタ
ーレース信号での処理のフローチャートを示す。ノンイ
ンターレース時の処理との違いは、走査線変換比率を入
力したあとの入力スキップライン位相情報用レジスタd
phiと出力スキップライン位相情報用レジスタdphoの初
期化の方法であるので、ここではこの部分についてのみ
説明を行い、それ以外の説明は割愛する。図12のステ
ップST301〜ステップST303と、ステップST
335がこれに相当する部分である。
FIG. 12, FIG. 13, FIG. 14, and FIG. 15 show flowcharts of the processing with the interlace signal. The difference from the processing at the time of non-interlace is that the input skip line phase information register d after inputting the scan line conversion ratio
Since this is a method of initializing the phi and the output skip line phase information register dpho , only this part will be described here, and the other description will be omitted. Steps ST301 to ST303 in FIG.
335 is the corresponding part.

【0116】ステップST301においては、これから
処理すべきフィールドが第一フィールドか、第二フィー
ルドかの判別を行い、それによってライン位相情報の初
期値を切り替えることが行われる。当該リニアアレイ型
多並列プロセッサ72では図1のインストラクション切
り替えフラグ発生部45からのインストラクション切り
替えフラグにより、プログラムを切り替えることが可能
であるので、第一フィールドの1ライン目でステップS
T302に、第二フィールドの1ライン目でステップS
T303の処理に切り替えることができる。
In step ST301, it is determined whether the field to be processed is the first field or the second field, thereby switching the initial value of the line phase information. In the linear array type multi-parallel processor 72, since the program can be switched by the instruction switching flag from the instruction switching flag generator 45 in FIG. 1, the step S is performed in the first line of the first field.
At T302, step S is performed on the first line of the second field.
The process can be switched to T303.

【0117】ステップST302に切り替わった場合
は、ノンインターレース信号でのスキップライン位相情
報レジスタの初期化ST201と同じ処理で、前記図1
1に説明した処理を行う。図11については既に説明し
たのでここでは省略する。
When the process is switched to step ST302, the same processing as in the initialization ST201 of the skip line phase information register with the non-interlace signal is performed, as shown in FIG.
The processing described in 1 is performed. Since FIG. 11 has already been described, it is omitted here.

【0118】ステップST303は、第二フィールドに
おけるライン位相情報用レジスタd phiとdphoの初期化
で、図16にその詳細を示す。この図16の処理も図1
1とほぼ同じであるが。スタート直後の入力スキップラ
イン位相情報用レジスタdph iと出力スキップライン位
相情報用レジスタdphoの初期値が異なるだけである。
これが、ステップST501の部分で、変換比率をN:
Mとした場合、もしも、拡大走査線数変換のとき(N≦
M)は、レジスタdphi=dpho=N/2とする。逆に、
縮小走査線数変換(N>M)であれば、レジスタdphi
=dpho=(N−M)/2とする。ステップST502
以降は前記ステップST402と同じである。
In step ST303, the second field
Register d for line phase information phiAnd dphoInitialize
FIG. 16 shows the details. The processing of FIG.
Almost the same as 1. Input skipper immediately after start
In-phase information register dph iAnd output skip line position
Phase information register dphoOnly the initial value of is different.
This is the part of step ST501 where the conversion ratio is N:
In the case of M, if the number of enlarged scanning lines is converted (N ≦
M) is the register dphi= Dpho= N / 2. vice versa,
If the number of reduced scanning lines is converted (N> M), the register dphi
= Dpho= (N−M) / 2. Step ST502
Subsequent steps are the same as step ST402.

【0119】このように第一フィールドと第二フィール
ドでライン位相情報のオフセットを与えることは、前記
図23、図24に示したようなインターレース信号では
走査線構造が入れ子構造になっているためである。
The reason why the offset of the line phase information is given between the first field and the second field is that the interlaced signal shown in FIGS. 23 and 24 has a nested scanning line structure. is there.

【0120】当然のことながら、これらのオフセット値
は単なる変換比率パラメータM,Nの算術演算であるの
で当該リニアアレイ型多並列プロセッサ72にて容易に
求めることが出来る。
Naturally, since these offset values are merely arithmetic operations of the conversion ratio parameters M and N, they can be easily obtained by the linear array type multi-parallel processor 72.

【0121】ステップST304からステップST33
5までの処理は、前記ステップST202からステップ
ST233までの処理と同じであり、これらの説明は省
略する。
From step ST304 to step ST33
The processing up to 5 is the same as the processing from step ST202 to step ST233, and a description thereof will be omitted.

【0122】だだし、このインターレース信号での処理
では、各フィールド毎にこれらの位相情報用レジスタの
初期値を切り替えるため、ステップST335にて1フ
ィールド終了をチェックし、1フィールド終了ならばス
テップST301へ戻り次のフィールドの処理へ、そう
でなければステップST304に戻り、次のラインの処
理を継続する。
In the process using the interlace signal, however, the initial values of these phase information registers are switched for each field. Therefore, the end of one field is checked in step ST335. Return to the processing of the next field, otherwise return to step ST304 and continue the processing of the next line.

【0123】以上説明したように、本発明実施の形態に
よれば、回路規模、その構成の複雑さからハードウェア
では実現困難なフィルタースイッチング補間方式(キュ
ービックフィルタ補間方式〉を用い、インターレース信
号に於いてもプログラムを切り替えるだけで任意比率の
走査線数変換処理をSIMD制御のリニアアレイ型多並
列プロセッサDSPを使い、ソフトウェア処理だけで実
現可能である。
As described above, according to the embodiment of the present invention, the filter switching interpolation method (cubic filter interpolation method), which is difficult to realize with hardware due to the circuit scale and the complexity of the configuration, is used to generate an interlaced signal. Even if the program is switched, the scanning line number conversion processing at an arbitrary ratio can be realized only by software processing using a SIMD-controlled linear array type multi-parallel processor DSP simply by switching the program.

【0124】さらに本発明実施の形態によれば、リアル
タイムに走査線数を変更することも可能となる。
Further, according to the embodiment of the present invention, the number of scanning lines can be changed in real time.

【0125】なお、上述の実施の形態では、輝度信号
(Y)とクロマ信号(Cr、Cb)を例に挙げている
が、Y(輝度),U,V(色差)或いはR(赤成分),
G(緑成分),B(青成分)の各画素データに対しても
同様の効果を得ることができる。すなわち、固体撮像素
子(CCD)からの画素データとか、R,G,Bの画素
データであっても、ラスタスキャン形式であれば、本発
明の手法を適用できる。
In the above embodiment, the luminance signal (Y) and the chroma signals (Cr, Cb) are taken as an example. However, Y (luminance), U, V (color difference) or R (red component) are used. ,
Similar effects can be obtained for each pixel data of G (green component) and B (blue component). That is, the method of the present invention can be applied to pixel data from a solid-state imaging device (CCD) or R, G, B pixel data as long as it is in a raster scan format.

【0126】[0126]

【発明の効果】本発明においては、SIMD制御のリニ
アアレイ型多並列プロセッサを使い、ソフトウェア処理
だけで、任意比率の走査線数変換のためのディジタル信
号処理を実現可能とし、走査線の変換比率はリアルタイ
ムに設定可能である。また、走査線数変換にて外部に置
かれるフィールドメモリの制御信号をもリニアアレイ型
多並列プロセッサにて計算することでメモリコントロー
ル回路を不要としている。
According to the present invention, a linear array type multi-parallel processor controlled by SIMD can be used to realize digital signal processing for converting the number of scanning lines at an arbitrary ratio only by software processing. Can be set in real time. Further, a control signal of a field memory provided outside by the conversion of the number of scanning lines is also calculated by a linear array type multi-parallel processor, thereby eliminating the need for a memory control circuit.

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

【図1】リニアアレイ型多並列プロセッサの基本構成を
示すブロック回路図である。
FIG. 1 is a block circuit diagram showing a basic configuration of a linear array type multi-parallel processor.

【図2】任意比率の走査線数変換処理を行うための構成
とリニアアレイ型多並列プロセッサ内部のブロック分け
された処理を示す図である。
FIG. 2 is a diagram showing a configuration for performing a scanning line number conversion process at an arbitrary ratio and a process divided into blocks in a linear array type multi-parallel processor.

【図3】ノンインターレース信号に於ける走査線数変換
処理のフローチャート(1/4)の部分である。
FIG. 3 is a flowchart (1/4) of a scanning line number conversion process for a non-interlace signal.

【図4】ノンインターレース信号に於ける走査線数変換
処理のフローチャート(2/4)の部分である。
FIG. 4 is a flowchart (2/4) of a scanning line number conversion process for a non-interlaced signal;

【図5】ノンインターレース信号に於ける走査線数変換
処理のフローチャート(3/4)の部分である。
FIG. 5 is a flowchart (3/4) of a scanning line number conversion process for a non-interlaced signal;

【図6】ノンインターレース信号に於ける走査線数変換
処理のフローチャート(4/4)の部分である。
FIG. 6 is a flowchart (4/4) of a scanning line number conversion process for a non-interlaced signal;

【図7】拡大ライン数変換の動作説明に用いる図であ
る。
FIG. 7 is a diagram used to explain the operation of enlarged line number conversion.

【図8】拡大ライン数変換の動作説明におけるローカル
メモリの内容を示した図である。
FIG. 8 is a diagram showing the contents of a local memory in the explanation of the operation of conversion of the number of enlarged lines.

【図9】縮小ライン数変換の動作説明に用いる図であ
る。
FIG. 9 is a diagram used to explain the operation of reducing the number of lines.

【図10】縮小ライン数変換の動作説明におけるローカ
ルメモリの内容を示した図である。
FIG. 10 is a diagram showing the contents of a local memory in the description of the operation of reducing the number of lines.

【図11】ステップST201及びステップST302
を説明する詳細なフローチャートである。
FIG. 11 shows steps ST201 and ST302.
FIG.

【図12】インターレース信号に於ける走査線数変換処
理のフローチャート(1/4)の部分である。
FIG. 12 is a flowchart (1/4) of a scanning line number conversion process for an interlaced signal.

【図13】インターレース信号に於ける走査線数変換処
理のフローチャート(2/4)の部分である。
FIG. 13 is a flowchart (2/4) of a scanning line number conversion process for an interlace signal.

【図14】インターレース信号に於ける走査線数変換処
理のフローチャート(3/4)の部分である。
FIG. 14 is a flowchart (3/4) of a scanning line number conversion process for an interlaced signal;

【図15】インターレース信号に於ける走査線数変換処
理のフローチャート(4/4)の部分である。
FIG. 15 is a flowchart (4/4) of a scanning line number conversion process for an interlaced signal;

【図16】ステップST303を説明する詳細なフロー
チャートである。
FIG. 16 is a detailed flowchart illustrating step ST303.

【図17】ノンインターレース信号の2:3拡大ライン
数変換の原理説明に用いる図である。
FIG. 17 is a diagram used to explain the principle of conversion of the number of 2: 3 enlarged lines of a non-interlace signal.

【図18】キュービック関数の説明に用いる図である。FIG. 18 is a diagram used for describing a cubic function.

【図19】ノンインターレース信号の3:2縮小ライン
数変換の原理説明に用いる図である。
FIG. 19 is a diagram used to explain the principle of 3: 2 reduction line number conversion of a non-interlace signal.

【図20】従来の走査線数変換装置のハードウェア構成
を示すブロック回路図である。
FIG. 20 is a block circuit diagram showing a hardware configuration of a conventional scanning line number conversion device.

【図21】従来のハードウェア構成による走査線数変換
装置における2:3拡大ライン数変換の動作説明に用い
る図である。
FIG. 21 is a diagram used to describe the operation of 2: 3 enlarged line number conversion in a conventional scanning line number conversion device having a hardware configuration.

【図22】従来のハードウェア構成による走査線数変換
装置における3:2縮小ライン数変換の動作説明に用い
る図である。
FIG. 22 is a diagram used to explain the operation of 3: 2 reduced line number conversion in a conventional scanning line number conversion device having a hardware configuration.

【図23】インターレース信号の2:3拡大ライン数変
換の原理説明に用いる図である。
FIG. 23 is a diagram used to explain the principle of 2: 3 enlarged line number conversion of an interlace signal.

【図24】インターレース信号の3:2縮小ライン数変
換の原理説明に用いる図である。
FIG. 24 is a diagram used to explain the principle of 3: 2 reduced line number conversion of an interlace signal.

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

30 シリアル入力データ、31 メモリアドレスジェ
ネレータ、32 インストラクションジェネレータ、3
3 シリアル出力データ、40 要素プロセッサ、41
入力レジスタ、42 出力レジスタ、43 ローカル
メモリ、44 演算処理部、45 インストラクション
切り替えフラグ発生部、50 データ入力部、51 フ
ィールドメモリ、52 縮小画素数変換用出力スキップ
画素計算部、56 ディレイライン、57 走査線数変
換用キュービック補間演算処理部、58 縮小走査線数
変換用ライン位相計算部、59 ライン位相用レジス
タ、60 出力スキップライン計算部、61 出力スキ
ップライン用レジスタ、62拡大走査線数変換用ライン
位相計算部、63 入力スキップライン計算部、64フ
ィールドメモリ、65 データ出力部、66 プログラ
ムシーケンス制御信号、69 出力スキップライン制御
信号、70 入力スキップライン制御信号、71 画素
数変換処理部、72リニアアレイ型多並列プロセッサ、
100入力ライン信号、101,102,103,10
4ラインメモリ、105 係数発生器、106 コント
ローラ、107 加算器、108,110 フィールド
メモリ、109 出力ライン信号
30 serial input data, 31 memory address generator, 32 instruction generator, 3
3 serial output data, 40 element processor, 41
Input register, 42 output register, 43 local memory, 44 arithmetic processing unit, 45 instruction switching flag generation unit, 50 data input unit, 51 field memory, 52 output skip pixel calculation unit for reduced pixel number conversion, 56 delay line, 57 scanning Line number conversion cubic interpolation operation processing unit, 58 reduced scan line number conversion line phase calculation unit, 59 line phase register, 60 output skip line calculation unit, 61 output skip line register, 62 enlarged scan line number conversion line Phase calculation unit, 63 input skip line calculation unit, 64 field memory, 65 data output unit, 66 program sequence control signal, 69 output skip line control signal, 70 input skip line control signal, 71 pixel number conversion processing unit, 72 linear array Multi-parallel processor Sa,
100 input line signals, 101, 102, 103, 10
4 line memory, 105 coefficient generator, 106 controller, 107 adder, 108, 110 field memory, 109 output line signal

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 ディジタル化された2次元画像の1次元
方向の各画素に対応して配置すると共に上記1次元方向
の各画素データが時系列に順次入力する複数の要素プロ
セッサと、各要素プロセッサを共通に制御するための制
御手段とを備える画像信号処理装置であって、 上記1次元方向に配置された要素プロセッサの入力部及
び/又は出力部にて上記2次元画像データを格納するた
めのデータ格納手段を設け、 上記各要素プロセッサは、輝度及び色差の入力画素デー
タを走査線毎に格納して一時的に保存する一時保存手段
と、輝度及び色差の画素データからなる入力走査線デー
タを格納して上記一時保存手段に転送する入力走査線デ
ータ格納手段と、上記入力部前におかれたデータ格納手
段からの走査線データの読み出しスキップ情報を格納す
る入力スキップ走査線情報格納手段と、上記出力部後に
おかれたデータ格納手段への走査線データの書き込みス
キップ情報を格納する出力スキップ走査線情報格納手段
と、補間或いは間引きすべき輝度及び色差の画素データ
の走査線属性を表す走査線属性情報を格納する走査線属
性情報格納手段と、上記走査線属性情報に基づいて入力
或いは出力スキップ走査線を決定する算術演算手段と、
上記走査線属性情報に基づいて上記入力走査線データ又
は近傍の走査線データを用いた所定の演算を行い得られ
た走査線データを上記一時保存手段に保存する算術演算
手段と、上記一時保存手段から取り出された輝度及び色
差の走査線データを格納して出力する出力走査線データ
格納手段と、上記データ格納手段への上記2次元画像デ
ータの格納或いは取り出しのための制御信号を生成する
と共に入力画像の走査線毎に処理を切り替えるデータ格
納制御手段とを有してなることを特徴とする画像信号処
理装置。
1. A plurality of element processors arranged corresponding to respective pixels in a one-dimensional direction of a digitized two-dimensional image and each of the one-dimensional pixel data sequentially input in a time-series manner; And a control means for controlling the two-dimensional image data in common in the input part and / or the output part of the element processors arranged in the one-dimensional direction. A data storage unit, wherein each of the element processors stores input pixel data of luminance and chrominance for each scanning line and temporarily stores the input pixel data of luminance and chrominance; Input scan line data storage means for storing and transferring the data to the temporary storage means, and information for skipping reading of scan line data from the data storage means provided in front of the input section. Input skip scanning line information storage means, output skip scanning line information storage means for storing skip information for writing scan line data to the data storage means placed after the output section, and luminance and color difference to be interpolated or thinned out. Scanning line attribute information storage means for storing scanning line attribute information representing the scanning line attribute of the pixel data; arithmetic operation means for determining an input or output skip scanning line based on the scanning line attribute information;
Arithmetic operation means for storing, in the temporary storage means, scanning line data obtained by performing a predetermined operation using the input scanning line data or nearby scanning line data based on the scanning line attribute information; and the temporary storage means Output scan line data storage means for storing and outputting scan line data of luminance and color difference extracted from the memory, and generating and inputting a control signal for storing or extracting the two-dimensional image data to and from the data storage means An image signal processing apparatus comprising: a data storage control unit that switches processing for each scanning line of an image.
【請求項2】 インターレース方式の画像信号に対し、
上記走査線属性情報は第一フィールドと第二フィールド
とで別々の初期値をもつことを特徴とする請求項1記載
の画像信号処理装置。
2. An interlaced image signal,
2. The image signal processing apparatus according to claim 1, wherein the scanning line attribute information has different initial values for the first field and the second field.
【請求項3】 ノンインターレース方式の画像信号に対
し、上記走査線属性情報は各フレームで一つの初期値を
もつことを特徴とする請求項1記載の画像信号処理装
置。
3. The image signal processing apparatus according to claim 1, wherein the scanning line attribute information has one initial value for each frame for a non-interlaced image signal.
【請求項4】 上記入力スキップ走査線情報と上記出力
スキップ走査線情報と走査線数拡大用の走査線属性情報
と走査線数縮小用の走査線属性情報とをそれぞれ分けて
持つことで、縮小から拡大までの走査線数変換をリアル
タイムに行うことを特徴とする請求項1記載の画像信号
処理装置。
4. A reduction by separately having the input skip scanning line information, the output skip scanning line information, the scanning line attribute information for increasing the number of scanning lines, and the scanning line attribute information for reducing the number of scanning lines. 2. The image signal processing apparatus according to claim 1, wherein the conversion of the number of scanning lines from step to enlargement is performed in real time.
【請求項5】 上記データ格納手段の制御信号を上記走
査線数拡大用の走査線属性情報と走査線数縮小用の走査
線属性情報とから計算することで、縮小から拡大までの
走査線数変換を行うことを特徴とする請求項1記載の画
像信号処理装置。
5. The number of scanning lines from reduction to enlargement by calculating a control signal of the data storage means from the scanning line attribute information for increasing the number of scanning lines and the scanning line attribute information for reducing the number of scanning lines. The image signal processing device according to claim 1, wherein the conversion is performed.
【請求項6】 上記要素プロセッサ及び制御手段は、入
力画像の一走査線毎に処理を切り替えることを特徴とす
る請求項1記載の画像信号処理装置。
6. The image signal processing apparatus according to claim 1, wherein said element processor and control means switch processing for each scanning line of the input image.
【請求項7】 上記入力スキップ走査線情報と上記出力
スキップ走査線情報は、上記走査線属性情報を元に計算
することを特徴とする請求項1記載の画像信号処理装
置。
7. The image signal processing apparatus according to claim 1, wherein the input skip scanning line information and the output skip scanning line information are calculated based on the scanning line attribute information.
【請求項8】 上記入力部前におかれるデータ格納手段
への入力画像データレートを上記出力部後におかれるデ
ータ格納手段の出力画像データレートとは独立に制御す
ることを特徴とする請求項1記載の画像信号処理装置。
8. An image processing apparatus according to claim 1, wherein an input image data rate to said data storage means provided before said input section is controlled independently of an output image data rate of said data storage means provided after said output section. The image signal processing device according to any one of the preceding claims.
【請求項9】 上記各要素プロセッサでは、輝度及び色
差の画素データに対してそれぞれ同一の処理を行うこと
を特徴とする請求項1記載の画像信号処理装置。
9. The image signal processing apparatus according to claim 1, wherein each of said element processors performs the same processing on pixel data of luminance and color difference.
【請求項10】 上記各要素プロセッサでは、Y,U,
V或いはR,G,Bの各画素データに対してそれぞれ同
一の処理を行うことを特徴とする請求項1記載の画像信
号処理装置。
10. In each of the above element processors, Y, U,
2. The image signal processing apparatus according to claim 1, wherein the same processing is performed on each of the V, R, G, and B pixel data.
【請求項11】 上記各要素プロセッサは、上記走査線
属性情報を生成する走査線属性情報生成手段を備えるこ
とを特徴とする請求項1記載の画像信号処理装置。
11. The image signal processing apparatus according to claim 1, wherein each of the element processors includes a scanning line attribute information generating unit that generates the scanning line attribute information.
JP9067069A 1996-10-29 1997-03-19 Image signal processing unit Withdrawn JPH10262221A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP9067069A JPH10262221A (en) 1997-03-19 1997-03-19 Image signal processing unit
US08/958,545 US6088062A (en) 1996-10-29 1997-10-27 Picture signal processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9067069A JPH10262221A (en) 1997-03-19 1997-03-19 Image signal processing unit

Publications (1)

Publication Number Publication Date
JPH10262221A true JPH10262221A (en) 1998-09-29

Family

ID=13334204

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9067069A Withdrawn JPH10262221A (en) 1996-10-29 1997-03-19 Image signal processing unit

Country Status (1)

Country Link
JP (1) JPH10262221A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006109173A (en) * 2004-10-06 2006-04-20 Sony Corp Image filter circuit and interpolation processing method
JP2006217140A (en) * 2005-02-02 2006-08-17 Olympus Corp Image resolution converter

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006109173A (en) * 2004-10-06 2006-04-20 Sony Corp Image filter circuit and interpolation processing method
JP2006217140A (en) * 2005-02-02 2006-08-17 Olympus Corp Image resolution converter

Similar Documents

Publication Publication Date Title
US6088062A (en) Picture signal processing apparatus
JP2989364B2 (en) Image processing apparatus and image processing method
US7230643B2 (en) Digital camera with electronic zooming function
US20050270391A1 (en) Image sensing apparatus
JPH11259646A (en) Image processor, image processing method and computer readable storage medium
US6317159B1 (en) Image processor for conversion of scanning lines and conversion method of the same
JP2007536812A (en) System and method for rapidly scaling and filtering video data
JP2009037460A (en) Image processing method, image processor, and electronic equipment equipped with image processor
JPH1021387A (en) Image processor and processing method
JP2007109204A (en) Image processor and image processing method
JP4035408B2 (en) Resolution conversion apparatus and method, and information processing apparatus
US7421150B2 (en) Coordinate conversion apparatus and method
JPH10191392A (en) Image signal processor
JP2004336608A (en) Method and circuit for converting image data, and electronic camera
JPH10262221A (en) Image signal processing unit
JP4100110B2 (en) Resolution conversion circuit, digital still camera and digital video camera using the same
JP2000207391A (en) Device and method for interpolation and image display device
JP3444112B2 (en) Image signal processing device
JP2000324337A (en) Image magnification and reducing device
KR100463552B1 (en) Cubic convolution interpolation apparatus and method
JPH08317295A (en) Digital image recording device and digital image reproducing device
JP4203162B2 (en) Image processing circuit
KR100743520B1 (en) Video Scaler and method for scaling video signal
KR100665485B1 (en) Digital signal processor and digital signal processing method
JP2003204502A (en) Video signal processing apparatus

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20040601