JP3154741B2 - Image processing apparatus and system - Google Patents

Image processing apparatus and system

Info

Publication number
JP3154741B2
JP3154741B2 JP12350191A JP12350191A JP3154741B2 JP 3154741 B2 JP3154741 B2 JP 3154741B2 JP 12350191 A JP12350191 A JP 12350191A JP 12350191 A JP12350191 A JP 12350191A JP 3154741 B2 JP3154741 B2 JP 3154741B2
Authority
JP
Japan
Prior art keywords
data
image
interpolation
image processing
processing
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.)
Expired - Fee Related
Application number
JP12350191A
Other languages
Japanese (ja)
Other versions
JPH04349496A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP12350191A priority Critical patent/JP3154741B2/en
Publication of JPH04349496A publication Critical patent/JPH04349496A/en
Application granted granted Critical
Publication of JP3154741B2 publication Critical patent/JP3154741B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

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

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、おもに、動画及び静
止画の拡大縮小を行うための画像処理装置及びその方式
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for enlarging and reducing moving images and still images, and a method thereof.

【0002】[0002]

【従来の技術】近年、各種イベントや発表会等で、自然
画を利用した、プレゼンテーション画像が多く見られる
ようになったが、これらの用途では動画のリアルタイム
拡大や回転・静止画の縮小等の処理機能が求められ、そ
れらの機能を有する画像処理装置も多く製品化されてい
る。この画像処理装置においては画像の座標変換処理が
行われるが、その座標変換処理は以下の二つの処理から
構成される。
2. Description of the Related Art In recent years, many presentation images using natural images have been seen at various events and presentations, but in these applications, real-time enlargement of moving images, reduction of rotation and still images, and the like have been performed. Processing functions are required, and many image processing apparatuses having those functions have been commercialized. In this image processing apparatus, a coordinate conversion process of an image is performed. The coordinate conversion process includes the following two processes.

【0003】(1)処理後の画面上の座標から対応する
処理前の画面の座標を算出する座標変換処理。 (2)上記の座標変換によって得られた処理前の座標の
データ(一般に非格子点になるのでデータが存在しな
い)を、その周囲のデータから算出する補間処理。 そして、特に上記(2)の補間処理は出来上がった画像
の品質を左右するため重要であり、高品質な画像の生成
のためには高い精度の補間方式が必要される。画像デー
タの補間方式としては、座標変換によって得られた原画
の座標から、最も近傍にある画素のデータを処理後のデ
ータに置き換える「最近傍法」や、最も近傍にある4画
素をもとにして補間を行う「双線補間法」、16画素を
もとにして補完する「3次補間法」などが知られてい
る。
(1) Coordinate conversion processing for calculating the corresponding coordinates of the screen before processing from the coordinates on the screen after processing. (2) Interpolation processing for calculating data of coordinates before processing obtained by the above-described coordinate conversion (data generally does not exist because it is a non-grid point) from data around it. In particular, the interpolation process (2) is important because it affects the quality of a completed image, and a high-precision interpolation method is required to generate a high-quality image. As the interpolation method of the image data, from the coordinates of the original image obtained by the coordinate conversion, the “nearest neighbor method” in which the data of the nearest pixel is replaced with the processed data, or based on the four nearest pixels. There are known a "bilinear interpolation method" for performing interpolation by interpolation and a "cubic interpolation method" for complementing based on 16 pixels.

【0004】図3は従来の画像処理装置を示すブロック
図であり、11は入力動画像または静止画像を一時プー
ルするフレームメモリ、12は表示画像用のバッファメ
モリ、13は座標変換を行う座標変換部、14はデータ
処理部あり、座標変換部13は「双線補間法」ないし
「3次補間法」を行うための座標「アドレス」を生成す
るようになっている。
FIG. 3 is a block diagram showing a conventional image processing apparatus. 11 is a frame memory for temporarily pooling an input moving image or a still image, 12 is a buffer memory for a display image, and 13 is a coordinate conversion for performing coordinate conversion. The unit 14 is a data processing unit, and the coordinate conversion unit 13 generates coordinates “address” for performing “bilinear interpolation” or “cubic interpolation”.

【0005】[0005]

【発明が解決しようとする課題】ところで、従来の画像
処理装置においては、補完の方式が動画処理時と静止画
処理時のいずれにおいても同一の方式を採用していた。
そして、処理された画像の高画質化を図るためには「双
線補間法」または「3次補間法」を使用する必要がある
が、これらは1画素のデータ生成にそれぞれ4画素また
は16画素のデータを必要とする。従って、これらの補
間法を動画像処理に適用すると、フレームメモリは1ド
ットクロック(10数MHz)に4回または16回のアクセ
スを必要とするため、実際には4ケまたは16ケのメモ
リを使用して並列にアクセスする方法がとられる。その
ため、メモリが4画面分または16画面分必要となるば
かりでなく、データも1ドットクロックごとに生成する
必要があることから、それらを処理するハードウェアの
規模が増大して非常に大きな装置にならざるを得ないと
いう問題があった。
By the way, in the conventional image processing apparatus, the same complementary system is used in both the moving image processing and the still image processing.
In order to improve the quality of the processed image, it is necessary to use the "bilinear interpolation method" or the "cubic interpolation method". Need data. Therefore, when these interpolation methods are applied to moving image processing, the frame memory requires 4 or 16 accesses to one dot clock (10 MHz), so that 4 or 16 memories are actually used. And access in parallel. Therefore, not only is a memory for 4 or 16 screens necessary, but also data needs to be generated for each dot clock, so that the scale of hardware for processing them increases, resulting in a very large device. There was a problem that had to be.

【0006】この発明はこのような事情を考慮してなさ
れたもので、画像処理に伴うデータの補間法を動画と静
止画のおのおのに対応して切り換えることにより、回路
や装置の小規模化をはかることが可能な画像処理装置及
びその方式を提供するものである。
The present invention has been made in view of such circumstances, and the circuit and apparatus can be reduced in scale by switching the data interpolation method associated with image processing for moving images and still images. It is an object of the present invention to provide a measurable image processing apparatus and its method.

【0007】[0007]

【課題を解決するための手段】この発明は、図1に示す
ように入力画像データを格納するフレームメモリ101
と、表示出力データを格納するバッファメモリ102
と、バッファメモリ102のアドレスから原画像座標を
算出して対応する参照データをフレームメモリ101に
出力させる座標変換部103と、フレームメモリ101
から出力される参照データに基づいて補間処理を行い1
画素ごとのデータを生成してバッファメモリ102に入
力するデータ処理部104とを備え、入力画像が静止画
の時には双線補間法又は3次補間法に基づいて補間処理
を行い、入力画像が動画の時には最近傍法に基づいて補
間処理を行うことを特徴とする画像処理装置を提供する
ものである。
According to the present invention, a frame memory 101 for storing input image data as shown in FIG.
And a buffer memory 102 for storing display output data.
A coordinate conversion unit 103 for calculating original image coordinates from an address in the buffer memory 102 and outputting corresponding reference data to the frame memory 101;
Interpolation processing based on the reference data output from
A data processing unit 104 for generating data for each pixel and inputting the data to the buffer memory 102. When the input image is a still image, the data processing unit 104 performs an interpolation process based on a bilinear interpolation method or a cubic interpolation method. In this case, an image processing apparatus is characterized in that interpolation processing is performed based on the nearest neighbor method.

【0008】また、この発明は、動画及び静止画の拡大
縮小を行うための画像処理方式において、画像処理に伴
うデータの補間方法を動画と静止画のおのおのに対応し
て切り換え、動画については、処理後の画像が静止画よ
りも低品質となる補間方法によって処理することを特徴
とする画像処理方式を提供するものである。なお、上記
動画のデータ補間処理が最近傍法に基づいて行われ、静
止画のデータ補間処理が双線補間法または3次補間法に
基づいて行われることが好ましい。
Further, the present invention relates to an image processing method for enlarging and reducing a moving image and a still image, wherein a data interpolation method accompanying the image processing is switched corresponding to each of the moving image and the still image. An image processing method is provided in which an image after processing is processed by an interpolation method that has lower quality than a still image. Preferably, the data interpolation processing of the moving image is performed based on the nearest neighbor method, and the data interpolation processing of the still image is performed based on the bilinear interpolation method or the cubic interpolation method.

【0009】[0009]

【作用】図1において、動画処理時には座標変換部10
3は、「最近傍法」の座標を生成し、フレームメモリ1
01からデータを読みだす。読みだされたデータはバッ
ファメモリ102に入力される「最近傍法」による補間
により表示画像は低い品質のものになる。しかし、人間
の視覚の特性として動いている映像では細部までは知覚
できないそのためある程度の低い品質の映像でも鑑賞に
耐える得るので問題は生じない。
In FIG. 1, at the time of moving image processing, the coordinate conversion unit 10
3 generates coordinates of the “nearest neighbor method” and stores the coordinates in the frame memory 1.
Data is read from 01. The read data becomes a low quality display image by interpolation by the “nearest neighbor method” input to the buffer memory 102. However, there is no problem because a moving image as a characteristic of human vision cannot perceive the details, so that even a low quality image can withstand viewing.

【0010】そして、静止画処理時には、人間の感覚が
かなり細部まで知覚しうるので、座標変換部103は
「双線補間法」ないし「3次補間法」の座標を生成し、
フレームメモリ101の出力データは、データ処理部1
04で補間処理されバッファメモリ102に入力され
る。この静止画像処理動作はある程度低速で行うことが
許されるので、フレームメモリ101を4回または16
回アクセスしてからデータを生成しても不都合が生じな
い。
At the time of still image processing, since the human sensation can be perceived to a considerable degree in detail, the coordinate conversion unit 103 generates coordinates of "bilinear interpolation" or "cubic interpolation".
The output data of the frame memory 101 is
At 04, interpolation processing is performed and input to the buffer memory 102. Since this still image processing operation is allowed to be performed at a somewhat low speed, the frame memory 101 is stored four times or 16 times.
No inconvenience occurs even if data is generated after multiple accesses.

【0011】[0011]

【実施例】以下、図面に示す実施例に基づいてこの発明
を詳述する。 これによってこの発明が限定されるもの
ではない。図2はこの発明の一実施例を示すブロック図
である。図2において、1はデュアルポートメモリから
構成され入力画像データをそのまま格納するフレームメ
モリであり、2はデュアルポートメモリから構成され表
示画面のデータを格納するバッファメモリである。5は
フレームメモリ1に入力画像データを書き込むための入
力側ライトコマンド及びアドレスを生成する画像入力部
である。また、3は座標変換部であり、動画処理時にお
いては表示画面座標(バッファメモリ2のアドレス)か
ら原画像座標を座標変換法で公知のアフィン変換の手法
で算出し、参照データつまり、最近傍法に必要な1ケの
データをフレームメモリ1から取り出すためのアドレス
とリードコマンドを生成する。また、座標変換部3は、
静止画処理時には表示画面座標(バッファメモリ2のア
ドレス)から原画像座標をアフィン変換の手法で算出
し、参照データつまり、双線補間法に必要な4点のデー
タまたは3次補間法に必要な16点のデータをフレーム
メモリ1から取り出すためのアドレスとリードコマンド
を生成する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the embodiments shown in the drawings. This does not limit the present invention. FIG. 2 is a block diagram showing one embodiment of the present invention. In FIG. 2, reference numeral 1 denotes a frame memory which is composed of a dual port memory and stores input image data as it is, and 2 is a buffer memory which is composed of a dual port memory and stores display screen data. Reference numeral 5 denotes an image input unit for generating an input-side write command and an address for writing input image data to the frame memory 1. Reference numeral 3 denotes a coordinate conversion unit which calculates original image coordinates from display screen coordinates (addresses in the buffer memory 2) by a well-known affine transformation method by a coordinate conversion method at the time of moving image processing, and outputs reference data, that is, the nearest neighbor data. An address and a read command for extracting one piece of data required for the method from the frame memory 1 are generated. Further, the coordinate conversion unit 3
At the time of still image processing, the original image coordinates are calculated from the display screen coordinates (the address of the buffer memory 2) by the affine transformation method, and the reference data, that is, the data of four points required for the bilinear interpolation method or the tertiary interpolation method is required. An address and a read command for extracting 16 points of data from the frame memory 1 are generated.

【0012】なお、静止画処理時においては、アフィン
変換時に発生する非格子点の格子点からのずれの程度が
座標変換部3からデータ処理部4に出力される。4は静
止画処理時のみ作動するデータ処理部であり、座標変換
部3の出力するアドレスとリードコマンドによってデー
タバスBに参照データがフレームメモリ1から出力され
た時、座標変換部3において算出された参照データと格
子点からのずれを用いて補間を行い、一画素分ごとのデ
ータを生成し、データバスBに出力するようになってい
る。
During the still image processing, the degree of the shift of the non-grid points from the grid points generated during the affine transformation is output from the coordinate conversion unit 3 to the data processing unit 4. Reference numeral 4 denotes a data processing unit that operates only during still image processing. When the reference data is output from the frame memory 1 to the data bus B by the address and the read command output from the coordinate conversion unit 3, the data processing unit 4 calculates the data. Interpolation is performed using the reference data thus obtained and the deviation from the lattice point, data for each pixel is generated, and the data is output to the data bus B.

【0013】また、6はライト制御部であり、動画処理
時には座標変換部3によってフレームメモリ1からデー
タバスBに出力されたことを座標変換部3から受けて、
そのデータがバッファメモリ2に書き込まれるためのア
ドレスおよびライトコマンドを出力する。さらに、ライ
ト制御部6は静止画像処理時においては、データ処理部
4がデータをデータバスB上に出力したことを受けて、
そのデータをバッファメモリ2に書き込むためのアドレ
スおよびライトコマンドを出力する。
Reference numeral 6 denotes a light control unit which receives from the coordinate conversion unit 3 the data output from the frame memory 1 to the data bus B by the coordinate conversion unit 3 at the time of moving image processing.
An address and a write command for writing the data to the buffer memory 2 are output. Further, at the time of still image processing, the write control unit 6 receives the fact that the data processing unit 4 has output data on the data bus B,
An address and a write command for writing the data to the buffer memory 2 are output.

【0014】このような構成における動作を次に説明す
る。まず、切り換え信号によって座標変換部3およびデ
ータ処理部に動画処理または静止画処理が指令される
と、それに対応して画像処理が行われる。動画処理時に
は、画像入力部5はフレームメモリ1に入力画像データ
を書き込み続け、常にその内容を更新する。座標変換部
3は「最近傍法」の座標を生成しフレームメモリ1から
データを読み出す。読み出されたデータはデータバスB
を介して転送され、ライト制御部6によってバッファメ
モリ2に書き込まれる。
The operation in such a configuration will be described below. First, when moving image processing or still image processing is instructed to the coordinate conversion unit 3 and the data processing unit by the switching signal, image processing is performed correspondingly. At the time of moving image processing, the image input unit 5 continuously writes input image data in the frame memory 1 and constantly updates the content. The coordinate conversion unit 3 generates coordinates of the “nearest neighbor method” and reads data from the frame memory 1. The read data is the data bus B
And written to the buffer memory 2 by the write control unit 6.

【0015】また、静止画処理時には、画像入力部5は
フレームメモリ1への入力画像データの書き込みを停止
する。座標変換部3は「双線補間法」ないし「3次補間
法」の座標を生成し、フレームメモリ1の出力データは
1バイトずつデータ処理部4に入力された後、補完処理
されデータバスBを介して転送されて、ライト制御部6
の指令によってバッファメモリ2に書き込まれる。
During still image processing, the image input unit 5 stops writing input image data to the frame memory 1. The coordinate conversion unit 3 generates coordinates of “bilinear interpolation method” or “cubic interpolation method”, and the output data of the frame memory 1 is input to the data processing unit 4 one byte at a time, then complemented and subjected to the data bus B Via the write control unit 6
Is written to the buffer memory 2.

【0016】[0016]

【発明の効果】この発明によれば、動画処理時には最近
傍法を用い、静止画処理時には最近傍法よりも精度の高
い補間法を使用しているので、フレームメモリの個数が
低減されるとともにデータ処理部の簡略化を計ることが
でき、処理回路および装置の小規模化が可能になる。
According to the present invention, the nearest neighbor method is used in moving image processing, and the interpolation method with higher accuracy than the nearest neighbor method is used in still image processing. Therefore, the number of frame memories can be reduced. The data processing unit can be simplified, and the processing circuits and devices can be reduced in size.

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

【図1】この発明の原理を示すブロック図である。FIG. 1 is a block diagram showing the principle of the present invention.

【図2】この発明の実施例を示すブロック図である。FIG. 2 is a block diagram showing an embodiment of the present invention.

【図3】従来例を示すブロック図である。FIG. 3 is a block diagram showing a conventional example.

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

1 フレームメモリ 2 バッファメモリ 3 座標変換部 4 データ処理部 5 画像入力部 6 ライト制御部 B データバス Reference Signs List 1 frame memory 2 buffer memory 3 coordinate conversion unit 4 data processing unit 5 image input unit 6 write control unit B data bus

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI H04N 5/262 G06F 15/66 355C (58)調査した分野(Int.Cl.7,DB名) G09G 5/36 G06F 3/153 320 G06T 3/40 G06T 13/00 H04N 5/262 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 identification code FI H04N 5/262 G06F 15/66 355C (58) Investigated field (Int.Cl. 7 , DB name) G09G 5/36 G06F 3 / 153 320 G06T 3/40 G06T 13/00 H04N 5/262

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力画像データを格納するフレームメモ
リ(101)と、表示出力データを格納するバッファメ
モリ(102)と、バッファメモリ(102)のアドレ
スから原画像座標を算出して対応する参照データをフレ
ームメモリ(101)に出力させる座標変換部(10
3)と、フレームメモリ(101)から出力される参照
データに基づいて補間処理を行い1画素ごとのデータを
生成してバッファメモリ(102)に入力するデータ処
理部(104)とを備え、入力画像が静止画の時には双
線補間法又は3次補間法に基づいて補間処理を行い、入
力画像が動画の時には最近傍法に基づいて補間処理を行
うことを特徴とする画像処理装置。
1. A frame memory (101) for storing input image data, a buffer memory (102) for storing display output data, and reference image data corresponding to original image coordinates calculated from addresses of the buffer memory (102). Is output to the frame memory (101).
3) and a data processing unit (104) that performs interpolation processing based on reference data output from the frame memory (101), generates data for each pixel, and inputs the data to the buffer memory (102). An image processing apparatus, wherein an interpolation process is performed based on a bilinear interpolation method or a cubic interpolation method when an image is a still image, and an interpolation process is performed based on a nearest neighbor method when an input image is a moving image.
JP12350191A 1991-05-28 1991-05-28 Image processing apparatus and system Expired - Fee Related JP3154741B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12350191A JP3154741B2 (en) 1991-05-28 1991-05-28 Image processing apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12350191A JP3154741B2 (en) 1991-05-28 1991-05-28 Image processing apparatus and system

Publications (2)

Publication Number Publication Date
JPH04349496A JPH04349496A (en) 1992-12-03
JP3154741B2 true JP3154741B2 (en) 2001-04-09

Family

ID=14862185

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12350191A Expired - Fee Related JP3154741B2 (en) 1991-05-28 1991-05-28 Image processing apparatus and system

Country Status (1)

Country Link
JP (1) JP3154741B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2129092C (en) * 1993-10-04 1999-10-19 Leon C. Williams Image interpolation apparatus
JP4465570B2 (en) * 2000-09-26 2010-05-19 ソニー株式会社 Image processing apparatus and method, and recording medium
GB2369542A (en) * 2000-11-18 2002-05-29 Lsi Logic Corp Generation of graphics in computer systems
JP2003185600A (en) * 2001-12-20 2003-07-03 Shimadzu Corp X-ray fluoroscopic equipment

Also Published As

Publication number Publication date
JPH04349496A (en) 1992-12-03

Similar Documents

Publication Publication Date Title
US11127110B2 (en) Data processing systems
KR910000203B1 (en) Picture processing apparatus
JP3154741B2 (en) Image processing apparatus and system
JPH0353668B2 (en)
JP3384659B2 (en) Reduced video signal processing circuit
JPH05249953A (en) Image display device
JPH06149533A (en) Segment quick plotting system for reducing plotting processing for segment outside display area
JP2584143B2 (en) Image display device
JP2998417B2 (en) Multimedia information processing device
JP3264941B2 (en) Image display control method and apparatus
JP2000181440A (en) Display device
JPH07298192A (en) Image display controller
JPS6362750B2 (en)
JP2537851B2 (en) Image scaling processor
JPH07146932A (en) Image display device
JP3431925B2 (en) Image display control apparatus and method
JPH06289833A (en) Color image display device
JPS63296089A (en) Image display device
JPH0594502A (en) Image signal processor
JPS6139092A (en) Display unit
JPS59200293A (en) Image reduction/enlargement apparatus
JPS63206878A (en) Image processor
JPH0664609B2 (en) Video rate projection calculation circuit
JPH07118006B2 (en) Image processing device
JPS63111584A (en) Image processor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010116

LAPS Cancellation because of no payment of annual fees