JPS6063589A - Data processor - Google Patents

Data processor

Info

Publication number
JPS6063589A
JPS6063589A JP58171280A JP17128083A JPS6063589A JP S6063589 A JPS6063589 A JP S6063589A JP 58171280 A JP58171280 A JP 58171280A JP 17128083 A JP17128083 A JP 17128083A JP S6063589 A JPS6063589 A JP S6063589A
Authority
JP
Japan
Prior art keywords
data
interpolation
output
processing device
extrapolation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP58171280A
Other languages
Japanese (ja)
Other versions
JPH0546555B2 (en
Inventor
出井 克人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP58171280A priority Critical patent/JPS6063589A/en
Publication of JPS6063589A publication Critical patent/JPS6063589A/en
Publication of JPH0546555B2 publication Critical patent/JPH0546555B2/ja
Granted legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [技術分野] 本発明は1次元データに基づく信号の拡大表示や、2次
元データに基づく画像の拡大、回転表示に伴なう補間デ
ータ作成処理をするデータ処理装置に関する。
[Detailed Description of the Invention] [Technical Field] The present invention relates to a data processing device that creates interpolated data for enlarging and displaying signals based on one-dimensional data, enlarging images based on two-dimensional data, and rotating displays. .

[従来技術] 従来、この種のデータ処理装置では、単にデータを内挿
補間する形がとられていた。例えば第1図(A)に示す
ような信号波形を横軸方向に2倍に拡大表示する場合を
考えてみる。まず、信号波形は第1図(B)のようにサ
ンプリング量子化されて第1のメモリに格納され、次に
第1図(B)のデータ列は横軸に2倍に拡大され第2の
メモリに収納される。第1図(C)はこの状態を示して
いる。従って第2のメモリの内容はデータが拡大収納さ
れた結果ひとつおきにデータがぬけた状態になっている
。そこでこの間を補間する必要があるが、従来の手法に
よればこの間のデータは例えば両側のデータの平均値を
とらせるような内挿補間法が用いられていた。第1図(
D)は上述した内挿補間による信号拡大表示の結果であ
り、白丸が内挿によって作成されたデータ点である。破
線aは元のデータが理想的に拡大された状態を示してお
り、これに比べると量子化点数が少ない場合には信号の
急峻に変化している部分が補間によりなだらかになると
いう欠点を持っていた。また前述した欠点を軽減するた
めには高次の計算による内挿法が必要であり、処理を複
雑にしていた。
[Prior Art] Conventionally, this type of data processing device simply interpolates data. For example, consider a case where a signal waveform as shown in FIG. 1A is enlarged twice in the horizontal axis direction. First, the signal waveform is sampled and quantized and stored in the first memory as shown in Figure 1 (B), and then the data string in Figure 1 (B) is expanded twice on the horizontal axis and stored in the second memory. stored in memory. FIG. 1(C) shows this state. Therefore, the contents of the second memory are in a state where data is omitted every other memory as a result of the data being expanded and stored. Therefore, it is necessary to interpolate between this period, but according to the conventional method, an interpolation method is used for data between this period, for example, in which the average value of data on both sides is taken. Figure 1 (
D) is the result of signal enlargement display by the interpolation described above, and the white circles are data points created by interpolation. The dashed line a shows the ideal expanded state of the original data; compared to this, when the number of quantization points is small, the sharply changing parts of the signal become smoother due to interpolation. was. Furthermore, in order to alleviate the above-mentioned drawbacks, an interpolation method using high-order calculations is required, which complicates the processing.

[目的] 本発明は上述従来技術の欠点を除去し、信号の急峻に変
化する部分の特性を失わずにデータ補間処理の行なえる
データ処理装置を提案することにある。
[Objective] It is an object of the present invention to eliminate the drawbacks of the above-mentioned prior art and to propose a data processing device that can perform data interpolation processing without losing the characteristics of a sharply changing portion of a signal.

[実施例] 以下、図面に従って本発明に係る実施例を詳細に説明す
る。第2図は実施例のデータ処理装置のデータ補間処理
の機能構成を示すブロック図である。図において、1は
マイクロプロセッサであり、内部はソフトウェアで実行
される機能の結合で示されている。2〜6はサンプリン
グデータ列の一部と補間データの一部を一時的に保持す
るシフトレジスタでありメモリで構成されている0図の
状態で6.4.2にはサンプリングデータ(I−1)、
(i)、(i+1)(()は内容を指す、以下同じ)が
格納され、5にはサンプリングデータ(i−1)と(i
)の間で既に計算された補間データ(i−1)’が格納
され、次のタイミングにレジスタ3の補間データ(i)
’ (現時点ではブランクb)が決定される状態を示し
ている。これらサンプリングデータと補間データとの関
係は第3図の波形図を参照されたい、矢印Pは処理手順
の進行方向を示す、7は判別手段でありサンプリングデ
ータ(i)と(i+1)の差分の大きさが所定値αより
大か否かの判別を行なう。
[Examples] Examples according to the present invention will be described in detail below with reference to the drawings. FIG. 2 is a block diagram showing the functional configuration of data interpolation processing of the data processing device of the embodiment. In the figure, 1 is a microprocessor, and its interior is shown as a combination of functions executed by software. 2 to 6 are shift registers that temporarily hold a part of the sampling data string and a part of the interpolation data, and are composed of memories. ),
(i), (i+1) (() refers to the content, the same applies hereinafter) are stored, and 5 stores sampling data (i-1) and (i
) is stored, and the interpolated data (i) of register 3 is stored at the next timing.
' (currently blank b) is determined. For the relationship between these sampling data and interpolation data, please refer to the waveform diagram in Fig. 3. Arrow P indicates the direction of progress of the processing procedure. It is determined whether the size is larger than a predetermined value α.

該判別出力は選択手段10を駆動する。8は内挿手段で
ありサンプリングデータ(i)と(i+1)から内装に
よる補間データ(i)’=((i)+ (1+1))/
2をめる。9は外挿手段でありサンプリングデータ(i
−1)と(i)を入力して、データ(i−1)から(i
)をみた直線の延長上に補間データ(i)′をめる。実
施例ではこれを外挿と呼ぶ、そして前記選択手段10は
判別手段7の判別出力が1(大)であるときに外挿手段
9の出力を選択出力し、また判別出力がO(否)のとき
に内挿手段8の出力を選択′出力する。そして選択出力
された内容はレジスタ3に格納される。
The discrimination output drives the selection means 10. 8 is an interpolation means which interpolates internally interpolated data (i)'=((i)+(1+1))/ from sampling data (i) and (i+1)
Get 2. 9 is an extrapolation means and sampling data (i
-1) and (i), and from data (i-1) to (i
), put the interpolated data (i)' on the extension of the straight line. In the embodiment, this is called extrapolation, and the selection means 10 selects and outputs the output of the extrapolation means 9 when the discrimination output of the discrimination means 7 is 1 (large), and when the discrimination output is O (no). At this time, the output of the interpolation means 8 is selected and outputted. The selected output contents are stored in the register 3.

第4図にはソフトウェアにより実行される処理手順を示
す、このフローへはサンプリングデータのサンプリング
が発生する度に割込入力する。勿論、予めRAM上に全
てのサンプリングデータを記憶しておき、このデータを
ソフトウェア的に走査して補間データをめても良い、ス
テップ40では最新のサンプリングデータ(I+1)が
レジスタ2にシフトインされる。1つ前の状態ではサン
プリングデータ(f)がレジスタ2に格納されていた。
FIG. 4 shows a processing procedure executed by software, and an interrupt is input to this flow every time sampling data is sampled. Of course, all the sampling data may be stored in the RAM in advance and interpolated data may be obtained by scanning this data using software.In step 40, the latest sampling data (I+1) is shifted into register 2. Ru. In the previous state, sampling data (f) was stored in register 2.

従って最新のデータ(i+Bがシフトインされるときに
データ(i)は2度シフトされてレジスタ4に移り、レ
ジスタ3にはブランクコードbが挿入される。つまり、
レジスタ3の内容がこれから補間処理によってめられる
のである。ステップ41ではデータ(i)とデータ(i
+1)の差をめその絶対値を予め設定された固定値αと
比較し、その大小関係を判別する。該判別が固定値αを
うわまわる場合には、作成すべき補間データの含まれる
領域は信号の急峻に変化する領域であると判断され、ス
テップ42に進み外挿補間の手続きがとられる。また、
ステップ41の判別がNOであれば、作成すべき補間デ
ータの含まれる領域は信号のゆるやかに変化する領域で
あると判断され、ステップ44に進み内挿補間の手続が
とられる。第3図を参照して、外挿補間の手続はデータ
(i−1)とデータ(i)を通る直線上の値としてデー
タ(i)とデータ(i+1)の補間データ(X)′を作
成する。一方、内挿補間の手続は1つ前のデータを参照
して説明すると、データ(i−1)とデータ(i)を通
る直線上の値としてデータ(i−1)とデータ(i)の
補間データ(i−1)’を作成する。ステップ43では
内挿あるいは外挿によってめられた補間データをレジス
タ3にセットする作業を行なう0以上の処理を補間すべ
き全ての点で実行することにより、補間データを作成し
、得られた結果の信号波形が第3図に示されている。デ
ータの走査方向Pに従って、黒丸はサンプリングデータ
Therefore, when the latest data (i+B) is shifted in, data (i) is shifted twice and transferred to register 4, and blank code b is inserted into register 3. In other words,
The contents of register 3 are now determined by interpolation processing. In step 41, data (i) and data (i
+1) and its absolute value is compared with a preset fixed value α to determine the magnitude relationship. If the determination exceeds the fixed value α, it is determined that the area containing the interpolated data to be created is an area where the signal changes sharply, and the process proceeds to step 42, where an extrapolation procedure is performed. Also,
If the determination in step 41 is NO, it is determined that the area containing the interpolation data to be created is an area where the signal changes slowly, and the process proceeds to step 44, where interpolation procedures are performed. Referring to Figure 3, the extrapolation procedure creates interpolated data (X)' of data (i) and data (i+1) as values on a straight line passing through data (i-1) and data (i). do. On the other hand, to explain the interpolation procedure with reference to the previous data, data (i-1) and data (i) are expressed as values on a straight line passing through data (i-1) and data (i). Interpolated data (i-1)' is created. In step 43, interpolation data is created by executing a process of 0 or more to set the interpolation data obtained by interpolation or extrapolation in register 3 at all points to be interpolated, and the obtained result is The signal waveform of is shown in FIG. According to the data scanning direction P, the black circles are sampling data.

白丸は内挿補間された補間データ、二重丸は外挿補間さ
れた補間データを夫々示す、これらの値を直線で結んだ
波形が補間後の信号であり、破線すで示す波形は元の信
号に相当する。ここでは第1図(D)の従来例と違って
外挿補間(i)′を行なったため元の信号すの急峻な成
分が失われてい0 ない。また、このような処理を2次元データ配列につい
て行なえば2次元画像信号についてのデータ補間処理が
行なえることになる。
The white circles indicate the interpolated data, and the double circles indicate the extrapolated data. The waveform connecting these values with a straight line is the signal after interpolation, and the waveform shown by the broken line is the original. Corresponds to a signal. Here, unlike the conventional example shown in FIG. 1(D), extrapolation (i)' is performed, so that the steep components of the original signal are not lost. Furthermore, if such processing is performed on a two-dimensional data array, data interpolation processing can be performed on a two-dimensional image signal.

次にデータ補間がなされた拡大データにフィルタをかけ
る場合について説明する。第6図(A)にはこの関係を
示した機能ブロック図を示す、実施例のフィルタ手段工
2はマイクロプロセッサ1によって実現可能であり上述
補間手段11でデータ補間がなされた拡大データにフィ
ルタをかける関係が示されている。フィルタ手段12は
急峻な信号のエツジを強調するフィルタで画像データの
処理に良く用いられる。ここでは簡単な例として2点の
差分があるしきい値βより大きい場合にのみフィルタの
効果を与えるものとする。第5図には実施例のフィルタ
処理手順を示す。ステップ50では入力データのシフト
インを行なう。つまり1 入力データがレジスタR(j+1)に久方サレルと同時
にレジスタR(j+1)の内容がレジスタ’R(j)に
シフトされる。処理の簡単のために入力データは正の値
とする。このような仮定は入力データに一律にバイアス
を加えることによって容易に実現される。ステップ51
ではレジスタR(j)の内容からレジスタR(j+1)
の内容を差し引き、しきい値βとの大小関係を判別する
Next, a case will be described in which a filter is applied to the enlarged data that has been subjected to data interpolation. FIG. 6(A) shows a functional block diagram showing this relationship. The filter means 2 of the embodiment can be realized by the microprocessor 1, and filters the enlarged data interpolated by the interpolation means 11. The relationship is shown. The filter means 12 is a filter that emphasizes steep edges of signals, and is often used in processing image data. Here, as a simple example, it is assumed that the filter effect is applied only when the difference between two points is larger than a certain threshold value β. FIG. 5 shows the filter processing procedure of the embodiment. In step 50, input data is shifted in. That is, 1 input data is shifted to register R(j+1) and at the same time, the contents of register R(j+1) are shifted to register 'R(j). Input data is assumed to be a positive value for ease of processing. Such an assumption can be easily realized by applying a uniform bias to the input data. Step 51
Then, from the contents of register R(j), register R(j+1)
The content of is subtracted, and the magnitude relationship with the threshold value β is determined.

該判別がR(j)−R(J+1)>βであるときは立下
り信号の急峻なエツジ部の検出を示し、ステップ52に
進んでエツジ部の強調処理を行なう。つまりステップ5
2の処理はレジスタR(j)の内容を10%増し、レジ
スタR(j+1)の内容を10%減少させる処理である
。ステップ53では入力データ終了か否かの判別を行な
う。データ終了でなければステップ5oに戻って 2 次のデータを1個シフトインする。再びステップ51で
はレジスタR(j)の内容からレジスタR(j+1)の
内容を差し引きしきい値βとの大小判別を行なう、ステ
ップ51での判別がR(j)−R(j+1)<−βであ
るときは立上り信号の急峻なエツジ部の検出を示し、ス
テップ54に進んでエツジ部の強調処理を行なう、つま
りステップ54の処理はレジスタR(Dの内容を10%
減少させ、レジスタR(j+1)の内容を10%増す処
理である。ステップ53では同様にしてデータ終了か否
かの判別を行なう。また、ステップ51の判別がIR(
D −R(j+1)I≦βであるときは信号に急峻性が
なく、エツジ強調の処理は行なわない、このような判別
の下に補間データを含む全てのデータについてフィルタ
処理が施されるとステップ53でデータ終了を判別して
処3 理を終わる。
If the determination is R(j)-R(J+1)>β, it indicates that a steep edge portion of the falling signal has been detected, and the process proceeds to step 52 to perform edge enhancement processing. So step 5
Process 2 is a process that increases the contents of register R(j) by 10% and decreases the contents of register R(j+1) by 10%. In step 53, it is determined whether the input data is complete. If the data is not completed, return to step 5o and shift in one second data. Again in step 51, the content of register R(j+1) is subtracted from the content of register R(j) to determine whether it is larger than the threshold value β.The determination in step 51 is R(j)−R(j+1)<−β If , it indicates the detection of a steep edge part of the rising signal, and the process proceeds to step 54 to perform edge part emphasizing processing.
This process increases the contents of register R(j+1) by 10%. In step 53, it is similarly determined whether or not the data has ended. Also, the determination in step 51 is IR (
When D-R(j+1)I≦β, there is no steepness in the signal, and edge enhancement processing is not performed.Based on this determination, all data including interpolated data is filtered. At step 53, it is determined that the data has ended and the processing ends.

第7図(A)の信号波形は第1図(D)の信号波形すな
わち従来方法である内挿補間のみによって拡大されたデ
ータに対しフィルタをかけたもので、信号が最も急激に
変化する部分が内挿補間によってなまり、この変化分が
しきい値βより小さいためにフィルタ効果が現われてい
ないことを示している。しきい値βを小さくとれば破線
のようにフィルタ効果が現われるが、不要な部分にもフ
ィルタがかかる危険性がありしきい値の選び方が難かし
くなる。第7図(B)は本発明による補間法、すなわち
内挿法と外挿法の組み合わせによるデータ補間によって
拡大した第3図の信号波形に対してフィルタをかけたも
ので、信号の急峻性が保存され、フィルタの効果が良く
現われている。
The signal waveform in FIG. 7(A) is the signal waveform in FIG. 1(D), that is, the data expanded only by interpolation, which is a conventional method, is filtered, and is the part where the signal changes most rapidly. is rounded by interpolation, and this change is smaller than the threshold value β, indicating that no filter effect appears. If the threshold value β is set to a small value, a filtering effect will appear as shown by the broken line, but there is a risk that unnecessary parts will be affected by the filter, making it difficult to select the threshold value. Figure 7(B) shows the signal waveform of Figure 3 expanded by data interpolation using the interpolation method of the present invention, that is, a combination of interpolation and extrapolation, and is filtered to reduce the steepness of the signal. It has been preserved and the effect of the filter is clearly visible.

4 第8図の(A)〜(D)にはまず元のデータ信号に対し
てフィルタをかけ、後に拡大とデータ補間処理を行なっ
た場合の信号波形を示している。
4. FIGS. 8A to 8D show signal waveforms obtained when the original data signal is first filtered and then enlarged and data interpolated.

この処理手順の関係を示した機能ブロック図は第6図(
B)に示されている。第8図(A)は元の信号で第8図
(B)はこれにフィルタ処理をしたものである。第8図
(C)はフィルタ処理した信号に従来方法である内挿補
間のみによってデータ拡大処理した場合、第8図(D)
は本発明による補間法、すなわち内挿法と外挿法の組み
合わせによるデータ補間によって拡大処理した場合の信
号を示している。ここでは補間点だけを示した。つまり
白丸が内挿補間点、二重丸が外挿補間点である。第8図
(C)と(D)を比較すればよくわかるように、本発明
によればフィルタをかけた後のデータに対しても良い補
間特性を示す、つまり信5 号の急峻性が失われない。
A functional block diagram showing the relationship between these processing steps is shown in Figure 6 (
B). FIG. 8(A) is the original signal, and FIG. 8(B) is the signal after filter processing. Figure 8(C) shows the case where data expansion processing is performed on the filtered signal only by interpolation, which is the conventional method, and Figure 8(D)
shows a signal when enlarged processing is performed by data interpolation using an interpolation method according to the present invention, that is, a combination of an interpolation method and an extrapolation method. Only the interpolation points are shown here. In other words, white circles are interpolation points, and double circles are extrapolation points. As can be clearly seen by comparing FIGS. 8(C) and (D), the present invention exhibits good interpolation characteristics even for data after filtering, that is, the steepness of signal 5 is lost. It won't happen.

上述実施例の説明中、第4図のステップ41で比較する
ために予め準備される固定値αはデータを量子化すると
きの標本化周波数と扱う信号波形の特徴によって決めら
れるべきであるが、フィルタと組み合わせて用いる場合
には更に前記固定値αとフィルタの特性を考慮すること
が重要である0例えば前述エツジ強調のようなフィルタ
をかける場合にこのフィルタの特性は少なくとも共振性
のある二次遅れ系の低域通過型フィルタが必要であるが
、その共振点は信号の強調したいエツジ部分にあたるよ
うフィルタの特性が与えられるべきである。−古本発明
によるデータの補間は信号のエツジ部分での先鋭さを落
とさないよう補間データを作成することを目的としてい
るので、ステップ41で比較するために予め準備する固
定値6 αはエツジ部分を検出できるような値にする必要がある
。従って、低域通過型フィルタの特性はその共振点の周
波数が固定値αで検出される信号の急峻性と同じエツジ
部分で動作するように設定すればよい。
In the description of the above embodiment, the fixed value α prepared in advance for comparison in step 41 of FIG. 4 should be determined by the sampling frequency when quantizing data and the characteristics of the signal waveform to be handled. When used in combination with a filter, it is important to consider the fixed value α and the characteristics of the filter. For example, when applying a filter such as the edge enhancement described above, the characteristics of this filter are A delay-type low-pass filter is required, and the filter characteristics should be given so that its resonance point corresponds to the edge portion of the signal that is desired to be emphasized. - Old book Since the purpose of data interpolation according to the present invention is to create interpolated data without reducing the sharpness of the edge portion of the signal, the fixed value 6 α prepared in advance for comparison in step 41 is used to It is necessary to set a value that can be detected. Therefore, the characteristics of the low-pass filter may be set so that the frequency of its resonance point operates at the same edge portion as the steepness of the signal detected at a fixed value α.

また、信号の急峻なエツジ部を検出或いは強調するフィ
ルタ処理には一般に良く用いられるたたみ込み法を用い
ても良い0例えば入力信号のエツジ部を検出するフィル
タ手段として、量子化データの配列と予め準備しておい
たエツジ検出テーブル、例えば−1,2,−1からなる
データの配列とをたたみ込む。具体的には相対応するデ
ータの積をとって加える処理であり、信号の急峻に変化
する部分ではOでない値が、又それ以外の部分ではOの
値が得られる。次に隣り合う結果がOである点と0であ
る点の間、及び0である点と0でな7 い点の間を内挿補間処理し、0でない点とOでない点の
間を外挿補間処理するものである。更にまた、信号のエ
ツジ部を強調するフィルタをかける場合には前記データ
配列とエツジ強調テーブル、例えば−1,3,−1とを
たたみ込んでも良い。
In addition, a commonly used convolution method may be used for filter processing to detect or emphasize steep edges of a signal. A prepared edge detection table, for example, a data array consisting of -1, 2, -1, is convolved. Specifically, it is a process of taking and adding the products of corresponding data, and a value other than O is obtained in a part where the signal changes sharply, and a value of O is obtained in other parts. Next, interpolation is performed between the points where the adjacent results are O and 0, and between the points where the results are 0 and points that are not 0, and the points between the points that are not 0 and the points that are not O are excluded. This is an interpolation process. Furthermore, when applying a filter to emphasize the edge portion of the signal, the data array may be convolved with an edge emphasis table, for example -1, 3, -1.

上記いずれの場合にも処理の空間距離は1にしている。In any of the above cases, the spatial distance for processing is set to 1.

尚、本実施例の中でのデータの内挿には2点の中間値を
用い、外挿には2点の直線延長を用いて説明したが、他
の例えば2次の内挿法や外挿法を用いたほうがより精度
の高いデータ補間ができることは言うまでもない、また
本実施例の中で用いた1次の外挿法では第3図に示すよ
うにデータの流れとして左から右に向って直線外挿した
が、逆に右から左に向って直線外挿しても効果は同じで
ある。
In this example, the intermediate value of two points was used for data interpolation, and the linear extension of two points was used for extrapolation. However, other methods such as quadratic interpolation and extrapolation It goes without saying that more accurate data interpolation can be achieved by using the interpolation method, and in the first-order extrapolation method used in this example, the data flow is from left to right as shown in Figure 3. Although we extrapolated a straight line from the right to the left, the effect is the same if we extrapolate a straight line from right to left.

8 [効果] 以上説明したように本発明によれば、データの補間な行
なうに際し、信号の特性に合わせて内挿補間と外挿補間
を切り替えて用いることにより信号の急峻に変化するエ
ツジ部分での先鋭さを失わないようデータ補間できる。
8 [Effects] As explained above, according to the present invention, when performing data interpolation, interpolation and extrapolation are switched and used according to the characteristics of the signal, so that edge portions of the signal that change sharply can be Data can be interpolated without losing its sharpness.

更にフィルタと組み合わせて使用するときにはフィルタ
の強調特性と内挿補間又は外挿補間を切り替えるしきい
値とを合わせることによりフィルタ処理と補間処理との
マツチングが得られ、従来のように信号のエツジ部分が
なまってしまうことが防止され、信号の急峻な部分とそ
うでない部分の識別性が改善されるものである。
Furthermore, when used in combination with a filter, matching between filter processing and interpolation processing can be obtained by matching the emphasis characteristics of the filter with the threshold value for switching interpolation or extrapolation, and the edge portions of the signal can be matched as before. This prevents the signal from becoming dull and improves the ability to distinguish between steep parts and non-steep parts of the signal.

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

第1図(A)〜(D)は従来のデータ補間法により得ら
れる信号の波形図、 第2図は本発明に係る一実施例のデータ処理装置の機能
構成を示すブロック図。 第3図は第2図の構成で補間処理された信号の波形図、 第4図はソフトウェアにより実行される処理手順を示す
フローチャート、 第5図は実施例のフィルタ処理手順を示すフローチャー
ト、 第6図(A)及び(B)はフィルタ手段と補間手段との
接続関係を示すブロック図、 第7図(A)及び(B)は補間処理後のデータにフィル
タ処理をかけた効果を説明する波形図、第8図(A)〜
(D)はフィルタ処理したもとのデータに補間処理を施
した効果を説明する波形図である。 ここで、1・・・マイクロプロセッサ、2〜6・・・シ
9 フトレジスタ、7・・・比較手段、8・・・内挿手段、
9・・・外挿手段、lO・・・選択手段、11・・・補
間手段、12・・・フィルタ手段である。 0 第3図 (i)′ 以゛4図 /アリ; リ テニタ ジッドイン 1 ’?1 ) lン杖 ES 244 外神釉脆 Iη挿栖゛縮 濱4 1尊 3 ネ献βヘテ一り tツL− 第7図 第8図
FIGS. 1A to 1D are waveform diagrams of signals obtained by a conventional data interpolation method. FIG. 2 is a block diagram showing the functional configuration of a data processing device according to an embodiment of the present invention. 3 is a waveform diagram of a signal interpolated using the configuration shown in FIG. 2; FIG. 4 is a flowchart showing the processing procedure executed by software; FIG. 5 is a flowchart showing the filter processing procedure of the embodiment; Figures (A) and (B) are block diagrams showing the connection relationship between the filter means and interpolation means, and Figures 7 (A) and (B) are waveforms explaining the effect of applying filter processing to data after interpolation processing. Figure, Figure 8 (A) ~
(D) is a waveform diagram illustrating the effect of performing interpolation processing on the filtered original data. Here, 1...microprocessor, 2-6...shift register, 7...comparison means, 8...interpolation means,
9... extrapolation means, lO... selection means, 11... interpolation means, 12... filter means. 0 Figure 3 (i)' Figure 4/Ant; Retained in 1'? 1) ln cane ES 244 Outer god glaze brittle Iη insert ゛Shikihama 4 1 deity 3 Nen offering β Hete one ttsu L- Fig. 7 Fig. 8

Claims (1)

【特許請求の範囲】 (1)量子化データの配列について、隣り合うデータの
補間データを内挿によりめる内挿手段と、前記補間デー
タを外挿によりめる外挿手段と、前記隣り合うデータの
差分が設定値より大か否かを判別する判別手段と、該判
別手段の出力で前記内挿手段又は外挿手段の出力を選択
出力する選択手段を備え、前記量子化データの配列につ
し1てデータ補間することを特徴とするデータ処理装置
。 (2)選択手段は判別手段の出力が大であるときに外挿
手段の出力を選択出力し、前記判別手段の出力が否であ
るときに内挿手段の出力を選択出力することを特徴とす
る特許請求の範囲第1項に記載のデータ処理装置。 【3)外挿手段は(i−1)、(1)、(i+1)の順
に並ぶデータ配列についてデータ(I)と(i+1)間
の補間データ(i)′をデータ(i−1)と(i)を結
ぶ直線上の値にめることを特徴とする特許請求の範囲第
1項に記載のデータ処理装置。 (4)量子化データの急峻に変化する部分を強調するフ
ィルタ手段と、隣り合うデータのデータ補間をするデー
タ補間手段を備えるデータ処理装置であって、前記デー
タ補間手段が前記隣り合うデータの補間データを内挿に
よりめる内挿手段と、前記補間データを外挿によりめる
外挿手段と前記隣り合うデータの差分が設定値より大か
否かを判別する判別手段と該判別手段の出力で前記内挿
手段又は外挿手段の出力を選択出力する選択手段を備え
ることを特徴とするデータ処理装置。 (5)フィルタ手段は量子化データの急峻に変化する部
分を検出するしきい値を有し、該しきい値の大きさはデ
ータ補間手段の設定値の大きさとほぼ一致することを特
徴とする特許請求の範囲第4項に記載のデータ処理装置
[Scope of Claims] (1) Regarding the arrangement of quantized data, interpolation means interpolates interpolated data of adjacent data, extrapolation means extrapolates the interpolated data, and a discrimination means for discriminating whether the data difference is larger than a set value; and a selection means for selectively outputting the output of the interpolation means or the extrapolation means based on the output of the discrimination means; A data processing device characterized by performing data interpolation. (2) The selection means selectively outputs the output of the extrapolation means when the output of the discrimination means is large, and selectively outputs the output of the interpolation means when the output of the discrimination means is negative. A data processing device according to claim 1. [3] The extrapolation means converts interpolated data (i)' between data (I) and (i+1) into data (i-1) for the data array arranged in the order of (i-1), (1), and (i+1). 2. The data processing device according to claim 1, wherein the data processing device calculates the value on the straight line connecting the points (i). (4) A data processing device comprising a filter means for emphasizing a sharply changing part of quantized data and a data interpolation means for interpolating data between adjacent data, the data interpolation means interpolating the adjacent data. an interpolating means for interpolating data; an extrapolating means for extrapolating the interpolated data; a determining means for determining whether the difference between the adjacent data is greater than a set value; and an output of the determining means. A data processing device comprising a selection means for selectively outputting the output of the interpolation means or the extrapolation means. (5) The filter means has a threshold value for detecting a sharply changing part of the quantized data, and the magnitude of the threshold value is characterized in that it almost matches the magnitude of the setting value of the data interpolation means. A data processing device according to claim 4.
JP58171280A 1983-09-19 1983-09-19 Data processor Granted JPS6063589A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58171280A JPS6063589A (en) 1983-09-19 1983-09-19 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58171280A JPS6063589A (en) 1983-09-19 1983-09-19 Data processor

Publications (2)

Publication Number Publication Date
JPS6063589A true JPS6063589A (en) 1985-04-11
JPH0546555B2 JPH0546555B2 (en) 1993-07-14

Family

ID=15920395

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58171280A Granted JPS6063589A (en) 1983-09-19 1983-09-19 Data processor

Country Status (1)

Country Link
JP (1) JPS6063589A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6189785A (en) * 1984-10-09 1986-05-07 Nippon Telegr & Teleph Corp <Ntt> Processing method of narrow band moving picture
JPS6189786A (en) * 1984-10-09 1986-05-07 Nippon Telegr & Teleph Corp <Ntt> Picture constituting method
JPS62191970A (en) * 1986-02-19 1987-08-22 Canon Inc Image processor
JPH0239716A (en) * 1988-07-29 1990-02-08 Victor Co Of Japan Ltd Prediction device
JPH02254885A (en) * 1989-03-29 1990-10-15 Canon Inc Picture signal processing circuit
US6760489B1 (en) 1998-04-06 2004-07-06 Seiko Epson Corporation Apparatus and method for image data interpolation and medium on which image data interpolation program is recorded

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6189785A (en) * 1984-10-09 1986-05-07 Nippon Telegr & Teleph Corp <Ntt> Processing method of narrow band moving picture
JPS6189786A (en) * 1984-10-09 1986-05-07 Nippon Telegr & Teleph Corp <Ntt> Picture constituting method
JPS62191970A (en) * 1986-02-19 1987-08-22 Canon Inc Image processor
JPH0239716A (en) * 1988-07-29 1990-02-08 Victor Co Of Japan Ltd Prediction device
JPH02254885A (en) * 1989-03-29 1990-10-15 Canon Inc Picture signal processing circuit
US6760489B1 (en) 1998-04-06 2004-07-06 Seiko Epson Corporation Apparatus and method for image data interpolation and medium on which image data interpolation program is recorded

Also Published As

Publication number Publication date
JPH0546555B2 (en) 1993-07-14

Similar Documents

Publication Publication Date Title
US5418574A (en) Video signal correction apparatus which detects leading and trailing edges to define boundaries between colors and corrects for bleeding
JP4534594B2 (en) Image processing apparatus, image processing method, program for image processing method, and recording medium recording program for image processing method
US7245785B2 (en) Suppression of ringing artifacts during image resizing
JP2761349B2 (en) Apparatus and control method for transition region of video signal
RU2222873C2 (en) Image processor
US20040234165A1 (en) Image interpolation apparatus and method
JPS6063589A (en) Data processor
JP2001119610A (en) Contour detection circuit and image display device
US7053940B2 (en) Signal processing apparatus, method, program of the method, and storage medium storing the program for interpolating an output color signal from an image sensing device
JP2008500757A (en) Method and system for enhancing the sharpness of a video signal
JPH06261238A (en) Image pickup device
JPH09200578A (en) Inter-line flicker elimination device by nonlinear transfer function
KR100311472B1 (en) Apparatus for image data interpolating and method for the same
JP2507154B2 (en) Filter device
US7318079B2 (en) Method and device for filtering a video signal
KR100463552B1 (en) Cubic convolution interpolation apparatus and method
JP3193543B2 (en) Video signal correction device
JP4363125B2 (en) Image signal processing device, viewfinder, display device, image signal processing method, recording medium, and program
JPH0664089B2 (en) Sampling signal processor
JPS6346881A (en) Digital outline correcting circuit
JP3526936B2 (en) Image magnifier
JPH0294965A (en) Method for correcting outline and digital outline correcting circuit
JPS63178673A (en) Movement adaptive type noise reducer
JP3494888B2 (en) Contour correction circuit
JPH10208036A (en) Signal processor and signal processing method