JPH0591403A - Image data transfer device - Google Patents
Image data transfer deviceInfo
- Publication number
- JPH0591403A JPH0591403A JP13778491A JP13778491A JPH0591403A JP H0591403 A JPH0591403 A JP H0591403A JP 13778491 A JP13778491 A JP 13778491A JP 13778491 A JP13778491 A JP 13778491A JP H0591403 A JPH0591403 A JP H0591403A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- image data
- horizontal
- processing area
- signals
- 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.)
- Pending
Links
Landscapes
- Studio Circuits (AREA)
Abstract
(57)【要約】
【目的】 専用メモリに有効領域の画像データを一時記
憶する事なく、画像データから必要な処理領域をクリッ
ピングして処理装置内のメモリに転送できる転送装置を
提供する。
【構成】 水平及び垂直同期信号HS*、VS*により
それぞれトリガされる水平及び垂直方向開始点用カウン
タ21、22、及び該カウンタによりそれぞれトリガさ
れる水平及び垂直方向幅カウンタ23、24は、レジス
タ回路3から所定のプリセット信号がロードされて、処
理領域に対応する時間幅の有効信号HEN*、VEN*
を発生する。画像データ選択回路1は、これらの有効信
号により制御されて、処理領域内の画像データのみを処
理装置内のメモリに対して出力する。カウンタ23、2
4は更に処理領域列信号、行信号をフレームメモリアド
レス出力回路4に供給し、該回路4は、供給された列及
び行信号、並びにレジスタ回路3からのオフセットアド
レス信号FAOFAに基づいてメモリアドレス信号FA
を処理装置に供給し、該信号ADによりメモリのアドレ
ス指定がされて選択回路1からのデータが記憶される。
(57) [Abstract] [PROBLEMS] To provide a transfer device capable of clipping a necessary processing area from image data and transferring it to a memory in the processing device without temporarily storing the image data of the effective area in a dedicated memory. A horizontal and vertical direction starting point counters 21 and 22 triggered by horizontal and vertical synchronizing signals HS * and VS *, respectively, and horizontal and vertical width counters 23 and 24 respectively triggered by the counters are registers. A predetermined preset signal is loaded from the circuit 3, and valid signals HEN * and VEN * having a time width corresponding to the processing area are loaded.
To occur. The image data selection circuit 1 is controlled by these valid signals and outputs only the image data in the processing area to the memory in the processing device. Counters 23, 2
4 further supplies a processing area column signal and a row signal to the frame memory address output circuit 4, which in turn supplies a memory address signal based on the supplied column and row signals and the offset address signal FAOFA from the register circuit 3. FA
Is supplied to the processing device, the memory AD is addressed by the signal AD, and the data from the selection circuit 1 is stored.
Description
【0001】[0001]
【産業上の利用分野】本発明は、画像データ転送装置に
関し、特に、画像データの必要領域をクリッピング即ち
矩形に切り出し、該クリッピングした必要領域の画像デ
ータを処理装置内のフレームメモリに記憶して処理をす
るための画像データ転送装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data transfer apparatus, and more particularly to clipping a necessary area of image data into a clipping, that is, a rectangle, and storing the image data of the clipped necessary area in a frame memory in a processing apparatus. The present invention relates to an image data transfer device for processing.
【0002】[0002]
【従来の技術】従来の画像データ転送装置をNTSC方
式を例として説明すると、図4に模式的に示したような
入力信号領域(760×760〜950×950ピクセ
ル程度)の画像データが画像バス上に転送され、その入
力信号領域内の実際に表示画面上に表示される有効画像
領域(512×512ピクセル程度)の画像データを専
用画像メモリに記憶し、次いで該有効画像領域内でクリ
ッピングして処理したい処理領域の画像データのみを、
専用画像メモリから読み出してCPU等の処理装置に含
まれるフレームメモリに記憶し、その記憶された処理領
域の画像データの加工処理を実行するように構成されて
いる。2. Description of the Related Art A conventional image data transfer device will be described by taking the NTSC system as an example. Image data in an input signal region (about 760 × 760 to 950 × 950 pixels) as schematically shown in FIG. The image data of the effective image area (about 512 × 512 pixels) transferred to the above and actually displayed on the display screen in the input signal area is stored in the dedicated image memory and then clipped in the effective image area. Image data of the processing area you want to process
It is configured to read out from the dedicated image memory, store it in a frame memory included in a processing device such as a CPU, and execute processing of image data in the stored processing area.
【0003】[0003]
【発明が解決しようとする課題】このように構成された
従来例の画像データ転送装置においては、有効領域の画
像データを記憶するための専用メモリが必要であり、ま
たこのように専用メモリに一時的に記憶した後に処理領
域の画像データをCPU等のフレームメモリに転送する
必要があり、従って大容量のメモリを必要とすると共
に、処理領域の画像データを処理するまでに時間がかか
ってしまうという問題点を有していた。本発明は、この
ような問題点を解決するためになされたものであり、専
用メモリを必要とせず、しかも要処理時間を短くして、
ほぼリアルタイムで画像処理ができるようにしたクリッ
ピング画像データ転送装置を提供する事を目的としてい
る。In the conventional image data transfer apparatus thus constructed, a dedicated memory for storing the image data of the effective area is required, and the dedicated memory is temporarily stored in this way. It is necessary to transfer the image data in the processing area to a frame memory such as a CPU after the image data is stored in memory, which requires a large-capacity memory, and it takes time to process the image data in the processing area. Had problems. The present invention has been made in order to solve such a problem, does not require a dedicated memory, and shortens the required processing time,
It is an object of the present invention to provide a clipping image data transfer device capable of performing image processing in near real time.
【0004】[0004]
【課題を解決するための手段】上記目的を解決するた
め、本発明の画像データ転送装置は、a.画像データが
入力され、該画像データを選択的に出力するためのスイ
ッチングゲートを有する画像データ選択手段、b.水平
及び垂直同期信号によってトリガされ、処理領域の水平
及び垂直方向の開始点から終了点までに対応する時間幅
の水平及び垂直方向有効信号を前記スイッチングゲート
に制御信号として供給して、水平及び垂直有効信号が共
に出力された場合に該スイッチングゲートをオン状態に
し、さらに、これらの有効信号が出力されている期間
中、処理領域の開始点を原点とし処理領域内のピクセル
の行及び列番号を表す処理領域行及び列信号をそれぞれ
順次出力する有効信号/行列信号発生手段、c.処理装
置からのデータを記憶し、該記憶されたデータに基づい
て、処理領域の水平及び垂直方向開始点信号、並びに水
平及び垂直方向幅信号を有効信号/行列信号発生手段に
供給し、かつ処理領域の開始点ピクセルの画像データを
フレームメモリに記憶するための先頭アドレス値を表す
オフセットアドレス信号を発生するレジスタ手段、d.
オフセットアドレス信号と処理領域行及び列信号とに基
づき、フレームメモリのアドレス信号を発生するフレー
ムメモリアドレス発生手段を具備し、該転送装置によ
り、入力する画像データの所定の処理領域をクリッピン
グすると共に、処理領域の画像データと該画像データを
記憶するフレームメモリのアドレス信号とを同期して、
しかもほぼ実時間で処理装置に伝送する事ができるよう
にした事を特徴としている。In order to solve the above-mentioned object, the image data transfer apparatus of the present invention comprises a. Image data selection means having a switching gate for inputting image data and selectively outputting the image data, b. The horizontal and vertical valid signals, which are triggered by the horizontal and vertical synchronization signals and have a time width corresponding to the horizontal and vertical start points and the end points of the processing area, are supplied to the switching gates as control signals. When the effective signals are output together, the switching gate is turned on, and during the period when these effective signals are output, the row and column numbers of the pixels in the processing area are set with the starting point of the processing area as the origin. Effective signal / matrix signal generating means for sequentially outputting the processing region row and column signals shown, c. Data from the processing device is stored, and based on the stored data, horizontal and vertical direction starting point signals of the processing region and horizontal and vertical direction width signals are supplied to the effective signal / matrix signal generating means and processed. Register means for generating an offset address signal representing a starting address value for storing the image data of the starting point pixel of the area in the frame memory, d.
A frame memory address generating unit for generating an address signal of a frame memory based on an offset address signal and a processing region row and column signal is provided, and a predetermined processing region of input image data is clipped by the transfer device, Synchronizing the image data of the processing area and the address signal of the frame memory storing the image data,
Moreover, it is characterized in that it can be transmitted to the processing device in almost real time.
【0005】[0005]
【実施例】以下、図面を参照して本発明の実施例を説明
する。なお、図面中、*は負論理を表すものとする。図
1には本発明の実施例の概略ブロック図が示されてお
り、図において、1は画像データを選択的に出力するた
めの画像データ選択回路、2は該画像データ選択回路1
を制御する有効信号を発生すると共に、処理領域の開始
点を原点とする処理領域行及び列信号を発生するための
有効信号/処理領域行列信号発生回路、3はCPU等の
処理装置(不図示)からのデータ信号に応じて、前記信
号発生回路2に所定のプリセット信号を供給すると共
に、クリッピングした処理領域の画像データをCPU内
のフレームメモリに記憶するための先頭アドレスを示す
オフセットアドレス信号を供給するためのレジスタ回
路、4はレジスタ回路3からのオフセットアドレス信号
及び有効信号/処理領域行列信号発生回路2からの処理
領域行及び列信号に基づき、フレームメモリのアドレス
信号を発生するためのフレームメモリアドレス発生回
路、5は前記回路1、2、4へ所定のタイミングのクロ
ック信号を供給するためのタイミング発生回路である。
なお、これらの回路1〜5は、1つのICチップとして
構成される事が好ましい。Embodiments of the present invention will be described below with reference to the drawings. In the drawings, * represents negative logic. FIG. 1 shows a schematic block diagram of an embodiment of the present invention. In the figure, 1 is an image data selection circuit for selectively outputting image data, and 2 is the image data selection circuit 1.
And a processing area matrix signal generating circuit for generating a processing area row and column signal having a starting point of the processing area as an origin, and a processing device (not shown) such as a CPU. ), A predetermined preset signal is supplied to the signal generating circuit 2, and an offset address signal indicating a leading address for storing the image data of the clipped processing area in the frame memory in the CPU is supplied. A register circuit for supplying 4 is a frame for generating an address signal of a frame memory based on an offset address signal from the register circuit 3 and a processing area row and column signal from the effective signal / processing area matrix signal generating circuit 2. The memory address generation circuit 5 supplies a clock signal of a predetermined timing to the circuits 1, 2 and 4. A timing generating circuit.
Note that these circuits 1 to 5 are preferably configured as one IC chip.
【0006】画像データ選択回路1は、D−フリップフ
ロップ(D−F/F)11〜13、LTE/GTEコン
パレータ14、スイッチングゲートを有する出力選択回
路15で構成されており、画像データ入力バスからD−
F/F11に供給されたピクセル毎の画像入力データI
D及びフィールド識別入力信号FLDIが、D−F/F
12を介して出力選択回路15に供給され、信号発生回
路2からの有効信号に基づき出力選択回路15のスイッ
チングゲートのオン/オフ状態が切り変えられて、クリ
ッピング後の即ち処理領域のみの画像出力データOD及
びフィールド識別出力信号FLDOが出力される。な
お、2段接続のD−F/F11及び12を用いているの
は、有効信号/処理領域行列信号発生回路2及びフレー
ムメモリアドレス発生回路4での信号遅延を考慮して、
出力選択回路15への画像データ及び有効信号の供給を
同期させ、かつ画像データとアドレス選択回路4からの
フレームメモリアドレス信号とが同期して出力されるよ
うにするためである。また、ノンインターレース方式の
場合は、フィールド識別信号が入出力されない事は当然
である。The image data selection circuit 1 is composed of D-flip-flops (DF / F) 11 to 13, an LTE / GTE comparator 14, and an output selection circuit 15 having a switching gate. D-
Image input data I for each pixel supplied to the F / F 11
D and the field identification input signal FLDI are DF / F
12 is supplied to the output selection circuit 15 and the on / off state of the switching gate of the output selection circuit 15 is switched based on the valid signal from the signal generation circuit 2 to output an image after clipping, that is, only in the processing region. The data OD and the field identification output signal FLDO are output. The two-stage connected D-F / Fs 11 and 12 are used in consideration of the signal delay in the effective signal / processing area matrix signal generation circuit 2 and the frame memory address generation circuit 4.
This is to synchronize the supply of the image data and the valid signal to the output selection circuit 15 and to output the image data and the frame memory address signal from the address selection circuit 4 in synchronization. Further, in the case of the non-interlaced method, it goes without saying that the field identification signal is not input / output.
【0007】コンパレータ14には、レジスタ回路3か
ら比較用の上限比較レベル及び下限比較レベルを表す上
限比較信号LTE、下限比較信号GTEが供給され、こ
れらの信号とD−F/F11からの画像データ信号とが
比較される。画像データ信号が下限比較信号GTE以上
の場合は、D−F/F13を介して下限比較結果信号G
TEA=1を出力選択回路15に供給する。一方、画像
データ信号が上限比較信号LTE以下の場合は、D−F
/F13を介して上限比較結果信号LTEA=1を出力
選択回路15に供給する。レジスタ回路3から指定され
たモードが比較結果出力モードの場合、出力選択回路1
5は、LTEA及びGTEAの値により比較結果を出力
する。The comparator 14 is supplied with the upper limit comparison signal LTE and the lower limit comparison signal GTE representing the upper limit comparison level and the lower limit comparison level for comparison from the register circuit 3, and these signals and the image data from the D-F / F 11 are supplied. The signal is compared. When the image data signal is equal to or higher than the lower limit comparison signal GTE, the lower limit comparison result signal G is sent via the D-F / F 13.
TEA = 1 is supplied to the output selection circuit 15. On the other hand, if the image data signal is less than or equal to the upper limit comparison signal LTE, DF
The upper limit comparison result signal LTEA = 1 is supplied to the output selection circuit 15 via / F13. When the mode designated by the register circuit 3 is the comparison result output mode, the output selection circuit 1
5 outputs the comparison result according to the values of LTEA and GTEA.
【0008】有効信号/処理領域行列信号発生回路2
は、水平及び垂直方向開始点用カウンタ21、22、並
びに該カウンタにそれぞれ接続された水平及び垂直方向
幅カウンタ23、24で構成されており、画像データ入
力バスからの水平同期信号HS*、垂直同期信号VS*
がそれぞれ、トリガ信号として開始点用カウンタ21、
22に供給される。また該カウンタ21、22にはそれ
ぞれ、処理領域の開始点にあるピクセルの列番号及び行
番号を表す水平方向開始点信号HOFS、垂直方向開始
点信号VOFSが、また幅カウンタ23、24にはそれ
ぞれ、処理領域内の水平及び垂直方向のピクセル個数を
表す水平方向幅信号HWID、垂直方向幅信号VWID
が、プリセット信号としてレジスタ回路3から供給され
ている。Effective signal / processing area matrix signal generation circuit 2
Is composed of horizontal and vertical direction starting point counters 21 and 22, and horizontal and vertical direction width counters 23 and 24 connected to the counters, respectively. The horizontal synchronizing signal HS * from the image data input bus, vertical Sync signal VS *
Respectively, as a trigger signal, the starting point counter 21,
22 is supplied. Further, the counters 21 and 22 are respectively provided with a horizontal direction start point signal HOFS and a vertical direction start point signal VOFS representing the column number and the row number of the pixel at the start point of the processing area, and the width counters 23 and 24 are respectively provided. , A horizontal width signal HWID and a vertical width signal VWID representing the number of pixels in the horizontal and vertical directions in the processing area
Is supplied from the register circuit 3 as a preset signal.
【0009】水平及び垂直方向幅カウンタ23、24
は、画像データ選択回路1の出力選択回路15に対し
て、画像データが処理領域にあるか否かを表す水平及び
垂直方向有効信号HEN*、VEN*を制御信号として
供給するが、該カウンタ23、24は、水平及び垂直方
向開始点用カウンタ21、22が処理領域の開始点を検
出した時点でトリガされ、そのトリガ時点から幅信号H
WID、VWIDで規定される時間幅の間、信号HEN
*及びVEN*の信号レベルを反転して、両者が共に該
反転レベルにある場合に出力選択回路15のスイッチン
グゲートをオンとする。更に幅カウンタ23、24は、
フレームメモリアドレス発生回路3に対して、処理領域
の水平及び垂直方向の開始点を原点として該領域内のピ
クセルを再番号付けた、処理領域列信号及び処理領域行
信号を供給する。これらのカウンタ21〜24は、上記
したようにトリガされて、タイミング信号発生回路4か
らの以下に説明する周期のクロックを、プリセット値ま
で(又はプリセット値から)カウントする。Horizontal and vertical width counters 23, 24
Supplies to the output selection circuit 15 of the image data selection circuit 1 horizontal and vertical direction enable signals HEN * and VEN * representing whether the image data is in the processing area as control signals. , 24 are triggered when the horizontal and vertical direction start point counters 21 and 22 detect the start point of the processing area, and the width signal H is started from the trigger point.
During the time width defined by WID and VWID, signal HEN
The signal levels of * and VEN * are inverted, and when both are at the inverted level, the switching gate of the output selection circuit 15 is turned on. Further, the width counters 23 and 24 are
The frame memory address generation circuit 3 is supplied with a processing area column signal and a processing area row signal in which pixels in the processing area are renumbered with the horizontal and vertical start points of the processing area as origins. These counters 21 to 24 are triggered as described above and count the clock of the cycle described below from the timing signal generation circuit 4 up to (or from) the preset value.
【0010】レジスタ回路3には、CPUからCPUバ
スを介して書き込み信号WR*、チップイネーブル信号
CE*、アドレス信号AD、データ信号DBが供給さ
れ、信号CE*、WR*の下でアドレス信号ADにより
アドレス指定されて所定のデータ信号DBが記憶され
る。該データ信号DBには、画像データ選択回路1のコ
ンパレータ14へ供給される信号GTE、LTE、及び
有効信号/処理領域行列信号発生回路2の各カウンタ2
1〜24へ供給される信号HOFS、HWID、VOF
S、VWIDが含まれ、更には、画像データを記憶すべ
きフレームメモリ(CPU内)のスタートアドレスを表
すオフセットアドレス信号FAOFSが含まれる。該信
号FAOFSはフレームメモリアドレス発生回路4に供
給される。The register circuit 3 is supplied with a write signal WR *, a chip enable signal CE *, an address signal AD, and a data signal DB from the CPU via the CPU bus. Under the signals CE * and WR *, the address signal AD is supplied. Is addressed and a predetermined data signal DB is stored. The data signal DB includes signals GTE and LTE supplied to the comparator 14 of the image data selection circuit 1 and each counter 2 of the effective signal / processing area matrix signal generation circuit 2.
Signals HOFS, HWID, VOF supplied to 1-24
S, VWID are included, and further, an offset address signal FAOFS indicating a start address of a frame memory (in the CPU) for storing image data is included. The signal FAOFS is supplied to the frame memory address generation circuit 4.
【0011】フレームメモリアドレス発生回路4は、図
2に示されるように加算回路41、マルチプレクサ4
2、及びストローブ発生回路43からなり、加算回路4
1において、レジスタ回路3からのオフセットアドレス
信号FAOFSとカウンタ24からの処理領域行信号と
を加算し、該加算された信号を高位アドレス信号HFA
とし、またカウンタ23からの処理領域列信号を低位ア
ドレス信号LFAとして、これらをマルチプレクサ42
で切り換えてフレームアドレス信号FAとして出力す
る。またCPUに対して、高位アドレス信号を出力した
時点でストローブ発生回路43から高位アドレスストロ
ーブ信号HFAS*を供給する。The frame memory address generation circuit 4 includes an adder circuit 41 and a multiplexer 4 as shown in FIG.
2 and a strobe generating circuit 43, and an adding circuit 4
1, the offset address signal FAOFS from the register circuit 3 and the processing area row signal from the counter 24 are added, and the added signal is added to the high-order address signal HFA.
In addition, the processing area column signal from the counter 23 is used as the low-order address signal LFA, and these are multiplexed by the multiplexer 42.
And the frame address signal FA is output. Further, the high-order address strobe signal HFAS * is supplied from the strobe generating circuit 43 to the CPU when the high-order address signal is output.
【0012】タイミング発生回路5は、分周回路を含ん
でおり、ピクセル毎の画像データの伝送周期と同一周期
のクロックCLKが画像データ入力バスから供給され、
かつ画像データの入力を受け付けるか否かを制御するた
めのイネーブル信号IDEN*がCPUバスから供給さ
れる。信号IDEN*によりイネーブル状態となると、
画像データ選択回路1のD−F/F11〜13にクロッ
クCLKと同一周期のクロックを供給して、画像データ
をピクセル単位で順次更新させると共に、有効信号/処
理領域行列信号発生回路2の水平方向開始点用及び幅カ
ウンタ21、23にも該クロックを供給する。また、該
回路5は、クロックCLKを分周する事により、水平同
期信号HS*と同一周期の分周クロックを発生させ、こ
れを信号発生回路2の垂直方向開始点用及び幅カウンタ
22、24に供給すると共に、フレームメモリアドレス
発生回路4に供給して、高位アドレス信号、低位アドレ
ス信号の切り換えタイミング、及び高位アドレスストロ
ーブ信号HFAS*の発生タイミングを決定する。The timing generating circuit 5 includes a frequency dividing circuit, and a clock CLK having the same cycle as the transmission cycle of image data for each pixel is supplied from the image data input bus.
Further, the enable signal IDEN * for controlling whether or not the input of the image data is received is supplied from the CPU bus. When enabled by signal IDEN *,
A clock having the same cycle as the clock CLK is supplied to the D-F / F 11 to 13 of the image data selection circuit 1 to sequentially update the image data in pixel units, and the effective signal / processing area matrix signal generation circuit 2 in the horizontal direction. The clock is also supplied to the start point and width counters 21 and 23. Further, the circuit 5 divides the clock CLK to generate a divided clock having the same cycle as the horizontal synchronizing signal HS *, which is used for the vertical start point and width counters 22 and 24 of the signal generating circuit 2. And the frame memory address generation circuit 4 to determine the switching timing of the high-order address signal and the low-order address signal, and the generation timing of the high-order address strobe signal HFAS *.
【0013】以上のように構成された画像データ転送回
路の主要動作を、図3(A)〜(I’)のタイミング
図、及び前述の図4に示した画像ピクセル配置図を参照
して以下に説明する。なお以下においては、ピクセル
(i,j)[iはピクセルの行番号、jはピクセルの列
番号]に対応する画像データをD(i,j)で示し、処理領
域は4つのピクセル(I,J)、(I,J+N)、(I
+M,J)、(I+M,J+N)で囲まれた領域であ
り、従って、CPUから垂直方向開始点信号VOFSと
して値Iが、水平方向開始点信号HOFSとして値J
が、垂直方向幅信号VWIDとして値Mが、水平方向幅
信号HWIDとして値Nが、レジスタ回路3に既に格納
されており、これらの値がそれぞれのカウンタ21〜2
4に供給されているものとする。The main operation of the image data transfer circuit configured as described above will be described below with reference to the timing diagrams of FIGS. 3A to 3I and the image pixel layout diagram shown in FIG. Explained. In the following, the image data corresponding to the pixel (i, j) [i is the pixel row number and j is the pixel column number] is denoted by D (i , j) , and the processing area is four pixels (I, j) . J), (I, J + N), (I
+ M, J), (I + M, J + N), so that the value I is the vertical start point signal VOFS from the CPU and the value J is the horizontal start point signal HOFS from the CPU.
However, the value M as the vertical width signal VWID and the value N as the horizontal width signal HWID are already stored in the register circuit 3, and these values are stored in the respective counters 21 to 2.
4 has been supplied.
【0014】イネーブル信号IDEN*が低レベルに反
転されて、画像データ転送装置が動作可能状態になる
と、図3(A)に示されるクロックCLKの立ち上がり
に同期して図3(B)に示される画像データが順次D−
F/F11に取り込まれ、次のクロックの立ち上がりで
D−F/F12に記憶されて出力選択回路15に供給さ
れる。When the enable signal IDEN * is inverted to the low level and the image data transfer device becomes operable, as shown in FIG. 3 (B) in synchronization with the rising edge of the clock CLK shown in FIG. 3 (A). Image data is sequentially D-
The data is taken into the F / F 11, is stored in the D-F / F 12 at the next rising edge of the clock, and is supplied to the output selection circuit 15.
【0015】また、イネーブル信号IDEN*の低レベ
ル反転後に供給された水平同期信号HS*(図3
(D))により、その立ち上がりで開始点用カウンタ2
1はトリガされて、タイミング発生回路5からクロック
CLKが入力する毎に値Jからカウントダウンを開始す
る。カウンタ21の値がゼロになると、次のクロックに
同期して該カウンタは後段の水平方向幅カウンタ23を
トリガする。それによりカウンタ23からの水平方向有
効信号HEN*が、図3(F)に示されるように高レベ
ルから低レベルに反転すると共に、該カウンタ23はタ
イミング発生回路5からのクロック信号CLKのカウン
トをゼロから開始する。カウンタ23が値Nまでカウン
トアップすると、信号HEN*が再び高レベルに反転す
る。以上の動作が、水平同期信号HS*の到来毎に反復
される。The horizontal synchronizing signal HS * (FIG. 3) supplied after the enable signal IDEN * is inverted at a low level.
(D)), the start point counter 2
1 is triggered, and starts counting down from the value J each time the clock CLK is input from the timing generation circuit 5. When the value of the counter 21 becomes zero, the counter triggers the horizontal width counter 23 in the subsequent stage in synchronization with the next clock. As a result, the horizontal direction valid signal HEN * from the counter 23 is inverted from the high level to the low level as shown in FIG. 3 (F), and the counter 23 counts the clock signal CLK from the timing generation circuit 5. Start from scratch. When the counter 23 counts up to the value N, the signal HEN * is inverted to the high level again. The above operation is repeated each time the horizontal synchronizing signal HS * arrives.
【0016】一方、垂直方向開始点用カウンタ22は、
画像データ入力バスからの垂直同期信号VS*(図3
(C))の立ち上がりでトリガされてタイミング発生回
路5からの分周クロック(水平同期信号HS*と同一周
波数)の到来毎に値Iからカウントダウンするが、その
カウント値がゼロとなるまでは出力が反転せず、従って
垂直方向幅カウンタ24がトリガされないので、図3
(E)に示すように、その出力である水平方向有効信号
VEN*が高レベルのままである。従って、信号HEN
*が低レベルに反転されている期間でも出力選択回路1
5のスイッチングゲートはオフ状態に保持され、図3
(G)に示すように画像データは出力されない。On the other hand, the vertical starting point counter 22 is
Vertical sync signal VS * from the image data input bus (see FIG.
(C)) It is triggered by the rising edge of (C)) and counts down from the value I each time the divided clock (the same frequency as the horizontal synchronization signal HS *) from the timing generation circuit 5 arrives, but outputs until the count value becomes zero. 3 is not flipped, and therefore the vertical width counter 24 is not triggered,
As shown in (E), the horizontal direction effective signal VEN *, which is its output, remains at the high level. Therefore, the signal HEN
Output selection circuit 1 even when * is inverted to low level
The switching gate of No. 5 is kept in the off state, as shown in FIG.
No image data is output as shown in (G).
【0017】該カウンタ22のカウント値がゼロに等し
くなると、次のクロックに同期してカウンタ24がトリ
ガされ、図3(E’)に示されるように有効信号VEN
*がその時点で低レベルになり、それと共にカウンタ2
4はタイミング発生回路41からの分周クロックのカウ
ントを始める。この信号VEN*が低レベルの期間中で
あって、かつカウンタ23からの信号HEN*が低レベ
ルの期間中、出力選択回路15のスイッチングゲートが
オン状態にされ、図3(B’)に示した入力画像データ
IDが、図3(G’)に示されるように選択出力回路1
5から画像データ出力バスを介してCPUに伝送され
る。そして、カウンタ24のカウント値がプリセット値
Nと等しくなると、信号VEN*を高レベルに復帰させ
るが、それ以降、有効信号HEN*が低レベルに反転し
ても、画像データは出力されない。When the count value of the counter 22 becomes equal to zero, the counter 24 is triggered in synchronization with the next clock, and the valid signal VEN is output as shown in FIG. 3 (E ').
* Becomes low level at that time, and with it, counter 2
4 starts counting the divided clock from the timing generation circuit 41. While the signal VEN * is at the low level and the signal HEN * from the counter 23 is at the low level, the switching gate of the output selection circuit 15 is turned on, as shown in FIG. The selected input image data ID is selected as shown in FIG.
5 to the CPU via the image data output bus. Then, when the count value of the counter 24 becomes equal to the preset value N, the signal VEN * is returned to the high level, but thereafter, even if the valid signal HEN * is inverted to the low level, the image data is not output.
【0018】また上記したように、幅方向カウンタ2
3、24はそれぞれ、フレームメモリアドレス発生回路
4にそれぞれのカウント値(カウンタ23においては0
〜N、カウンタ24においては0〜M)を順次、処理領
域列信号、処理領域行信号として供給し、加算回路41
からの高位アドレス信号HFA(オフセットアドレスF
AOFSと処理領域行信号との加算値)、及び低位アド
レス信号LFA(処理領域列信号)はマルチプレクサ4
2で切り換えられて出力される。該マルチプレクサ42
における切り換え動作は、タイミング発生回路5からの
分周クロック(即ち水平同期信号HS*に同期する信
号)によって制御され、図3(H’)に示すように、分
周クロックの立ち上がりから1クロック周期の間、高位
アドレス信号HFAIが出力され、またこれに同期して
図3(I’)に示される高位アドレスストローブ信号H
FAS*がストローブ発生回路43から出力される。C
PUにおいては、このストローブ信号HFAS*の後縁
で高位アドレス信号をラッチし、その後にクロックに同
期して順次入力される低位アドレス信号LFA0〜LF
AN(図3(H’))と組み合わせてフレームメモリの
アドレス指定を実行する。Further, as described above, the width direction counter 2
3 and 24 are respectively counted by the frame memory address generation circuit 4 (0 in the counter 23).
To N, 0 to M in the counter 24) are sequentially supplied as a processing region column signal and a processing region row signal, and the adder circuit 41
High-order address signal HFA from (offset address F
The added value of the AOFS and the processing area row signal) and the low-order address signal LFA (processing area column signal) are supplied to the multiplexer 4
It is switched by 2 and output. The multiplexer 42
The switching operation in is controlled by a divided clock (that is, a signal synchronized with the horizontal synchronizing signal HS *) from the timing generation circuit 5, and as shown in FIG. 3 (H '), one clock cycle from the rising edge of the divided clock. During this period, the high-order address signal HFA I is output, and in synchronization with this, the high-order address strobe signal H shown in FIG.
FAS * is output from the strobe generating circuit 43. C
In the PU, the high-order address signals are latched at the trailing edge of the strobe signal HFAS *, and subsequently the low-order address signals LFA 0 to LF are sequentially input in synchronization with the clock.
In combination with A N (FIG. 3 (H ′)), addressing of the frame memory is executed.
【0019】従って、例えばアドレス信号FAを伝送す
るバスが12ビットで構成されている場合、水平帰線期
間中に高位アドレスHFAが伝送され、有効信号の出力
中に低位アドレスLFAが順次伝送されるので、高位及
び低位アドレス信号をそれぞれ12ビットとする事がで
き、よって合計24ビットのアドレス信号をCPUのメ
モリに供給できる。Therefore, for example, when the bus for transmitting the address signal FA is composed of 12 bits, the high-order address HFA is transmitted during the horizontal blanking period, and the low-order address LFA is sequentially transmitted during the output of the valid signal. Therefore, each of the high-order address signal and the low-order address signal can be 12 bits, so that a total of 24 bits of the address signal can be supplied to the memory of the CPU.
【0020】このフレームメモリアドレスによりフレー
ムメモリのアドレス指定がなされ、該アドレス信号FA
は、処理領域内のピクセルに対応する画像データが出力
選択回路15から出力される毎にそれに同期して出力さ
れるので、オフセットアドレス信号FAOFSによって
規定される高位アドレス(低位アドレスはゼロ)を先頭
として、高位アドレス=(FAOFS+M)、低位アド
レス=Nで規定されるアドレスまでに、処理領域の画像
データが D(I,J) D(I,J+1) … D(I,J+N) D(I+1,J) D(I+1,J+1) … D(I+1,J+N) ……… D(I+M,J) D(I+M,J+1) … D(I+M,J+N) の順で記憶される事になる。The frame memory is addressed by this frame memory address, and the address signal FA
Is output in synchronization with the image data corresponding to the pixels in the processing area each time it is output from the output selection circuit 15, so that the high-order address (low-order address is zero) defined by the offset address signal FAOFS is the first. As a result, the image data in the processing area is D (I , J) D (I , J + 1) ... D (I , J + N) by the address defined by the high-order address = (FAOFS + M) and the low-order address = N. D (I + 1 , J) D (I + 1 , J + 1) … D (I + 1 , J + N) ……… D (I + M , J) D (I + M , J + 1) … It will be stored in the order of D (I + M , J + N) .
【0021】[0021]
【発明の効果】本発明は以上のように構成されているの
で、専用メモリを介する事なく画像データから必要な処
理領域をクリッピングしてCPU等の処理装置にほぼ実
時間で転送でき、それにより、クリッピングした画像デ
ータの処理が高速化されるという作用効果を奏する事が
できる。また、高位アドレス信号と低位アドレス信号と
を切り換えて出力しているので、アドレス信号伝送バス
のビット数が少ない場合でもビット数が大きなアドレス
信号を伝送できる。Since the present invention is configured as described above, the necessary processing area can be clipped from the image data and transferred to the processing device such as the CPU in almost real time without passing through the dedicated memory. Therefore, it is possible to obtain the effect of speeding up the processing of the clipped image data. Further, since the high-order address signal and the low-order address signal are switched and output, the address signal having a large number of bits can be transmitted even if the number of bits of the address signal transmission bus is small.
【図1】本発明の画像データ転送装置の一実施例を示す
ブロック回路図である。FIG. 1 is a block circuit diagram showing an embodiment of an image data transfer device of the present invention.
【図2】図1に示した実施例に具備されるフレームメモ
リアドレス選択回路の内部構成を示すブロック図であ
る。FIG. 2 is a block diagram showing an internal configuration of a frame memory address selection circuit provided in the embodiment shown in FIG.
【図3】(A)〜(I’)は、図1に示した実施例の動
作を説明するためのタイミング波形図である。3A to 3I are timing waveform diagrams for explaining the operation of the embodiment shown in FIG.
【図4】1フレーム又は奇数(偶数)フィールドの入力
信号領域、有効画像領域、処理領域の関係、及びピクセ
ル配置を模式的に示すピクセル配置図である。FIG. 4 is a pixel arrangement diagram schematically showing a relationship between an input signal area, an effective image area, a processing area, and a pixel arrangement in one frame or an odd (even) field.
─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───
【手続補正書】[Procedure amendment]
【提出日】平成4年9月21日[Submission date] September 21, 1992
【手続補正1】[Procedure Amendment 1]
【補正対象書類名】図面[Document name to be corrected] Drawing
【補正対象項目名】全図[Correction target item name] All drawings
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【図2】 [Fig. 2]
【図1】 [Figure 1]
【図3】 [Figure 3]
【図4】 [Figure 4]
Claims (3)
ングし、該処理領域の画像データを、処理装置内のフレ
ームメモリの所定のアドレス領域に記憶するために転送
する画像データ転送装置において、 画像データが入力され、該画像データを選択的に出力す
るためのスイッチングゲートを有する画像データ選択手
段、 水平及び垂直同期信号によってトリガされ、処理領域の
水平及び垂直方向の開始点から終了点までに対応する時
間幅の水平及び垂直方向有効信号を前記スイッチングゲ
ートに制御信号として供給して、水平及び垂直有効信号
が共に出力された場合に該スイッチングゲートをオン状
態にし、さらに、これらの有効信号が出力されている期
間中、処理領域の開始点を原点とし処理領域内のピクセ
ルの行及び列番号を表す処理領域行及び列信号をそれぞ
れ順次出力する有効信号/行列信号発生手段、 処理装置からのデータを記憶し、該記憶されたデータに
基づいて、処理領域の水平及び垂直方向開始点信号、並
びに水平及び垂直方向幅信号を有効信号/行列信号発生
手段に供給し、かつ処理領域の開始点ピクセルの画像デ
ータをフレームメモリに記憶するための先頭アドレス値
を表すオフセットアドレス信号を発生するレジスタ手
段、 オフセットアドレス信号と処理領域行及び列信号とに基
づき、フレームメモリのアドレス信号を発生するフレー
ムメモリアドレス発生手段を具備する事を特徴とする画
像データ転送装置。1. An image data transfer apparatus for clipping a predetermined processing area of image data and transferring the image data of the processing area to store in a predetermined address area of a frame memory in the processing apparatus. Image data selection means having a switching gate for selectively outputting the image data, triggered by horizontal and vertical synchronization signals, and corresponding to start and end points in the horizontal and vertical directions of the processing area The horizontal and vertical direction effective signals of the time width are supplied to the switching gate as a control signal to turn on the switching gate when both the horizontal and vertical effective signals are output, and these effective signals are output. The processing area that represents the row and column number of the pixel in the processing area with the starting point of the processing area as the origin during the period Effective signal / matrix signal generating means for sequentially outputting a column signal and a column signal, data stored from the processing device, and based on the stored data, horizontal and vertical direction start point signals of the processing region, and horizontal and vertical direction signals. Register means for supplying a width signal to the effective signal / matrix signal generating means and for generating an offset address signal representing a start address value for storing the image data of the starting point pixel of the processing area in the frame memory, the offset address signal and An image data transfer device comprising a frame memory address generating means for generating an address signal of a frame memory based on a processing area row and column signal.
いて、フレームメモリアドレス発生手段は、 オフセットアドレス信号と処理領域行信号とを加算する
加算回路、 得られた加算信号を高位アドレス信号としかつ処理領域
列信号を低位アドレス信号として、これらを切り換えて
出力するマルチプレクサ回路、 高アドレス信号の出力時点で、該信号を低位アドレス信
号とを識別するためのストローブ信号を出力するストロ
ーブ発生回路を具備する事を特徴とする画像データ転送
装置。2. The image data transfer device according to claim 1, wherein the frame memory address generating means adds an offset address signal and a processing area row signal, and the obtained addition signal is used as a high-order address signal and processed. A multiplexer circuit for switching the area column signal as a low-order address signal and outputting the low-order address signal, and a strobe generation circuit for outputting a strobe signal for distinguishing the high-address signal from the low-order address signal at the time of outputting the high-address signal An image data transfer device characterized by:
いて、有効信号/行列信号発生手段は、 水平及び垂直同期信号でトリガされる第1及び第2のカ
ウンタ、 該第1及び第2のカウンタのカウントアップ出力により
それぞれトリガされかつ水平及び垂直方向有効信号を出
力すると共に、処理領域行及び列信号を出力する第3及
び第4のカウンタを具備し、第1及び第3のカウンタ
は、前記レジスタ手段からの水平方向開始点及び幅信号
がそれぞれプリセット信号として供給されて、画像デー
タ伝送周期と一致する周期のクロックをカウントし、第
2及び第4のカウンタは、前記レジスタ手段からの垂直
方向開始点及び幅信号がそれぞれプリセット信号として
供給されて、水平同期信号の周期と一致する周期のクロ
ックをカウントするように構成されている事を特徴とす
る画像データ転送装置。3. The image data transfer apparatus according to claim 1, wherein the effective signal / matrix signal generating means comprises: first and second counters triggered by horizontal and vertical synchronization signals; and the first and second counters. Each of which is triggered by the count-up output of the above and outputs a horizontal and vertical direction valid signal, and outputs a processing area row and column signal, the first and third counters respectively comprising: The horizontal start point and the width signal from the register means are respectively supplied as preset signals to count clocks having a cycle that matches the image data transmission cycle, and the second and fourth counters are arranged in the vertical direction from the register means. The start point and width signals are respectively supplied as preset signals so that clocks with a cycle that matches the cycle of the horizontal synchronization signal are counted. Image data transfer device, characterized in that have been made.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13778491A JPH0591403A (en) | 1991-06-10 | 1991-06-10 | Image data transfer device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13778491A JPH0591403A (en) | 1991-06-10 | 1991-06-10 | Image data transfer device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0591403A true JPH0591403A (en) | 1993-04-09 |
Family
ID=15206767
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP13778491A Pending JPH0591403A (en) | 1991-06-10 | 1991-06-10 | Image data transfer device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0591403A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| FR2730842A1 (en) * | 1995-02-17 | 1996-08-23 | Renault | METHOD AND DEVICE FOR VIEWING IMAGES, ESPECIALLY IN A DRIVING SIMULATOR |
| US11250574B2 (en) | 2019-11-21 | 2022-02-15 | Aisin Seiki Kabushiki Kaish | Sensor system |
-
1991
- 1991-06-10 JP JP13778491A patent/JPH0591403A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| FR2730842A1 (en) * | 1995-02-17 | 1996-08-23 | Renault | METHOD AND DEVICE FOR VIEWING IMAGES, ESPECIALLY IN A DRIVING SIMULATOR |
| US11250574B2 (en) | 2019-11-21 | 2022-02-15 | Aisin Seiki Kabushiki Kaish | Sensor system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS60135985A (en) | Display controller | |
| US10412320B1 (en) | Method and system for switching display from first video source to second video source | |
| US5963221A (en) | Device for writing and reading of size reduced video on a video screen by fixing read and write of alternating field memories during resize operation | |
| JPH0591403A (en) | Image data transfer device | |
| JP3423327B2 (en) | Video signal input / output device | |
| CN115547225A (en) | Control device and method for image display time sequence, driving device and equipment | |
| JPS632116B2 (en) | ||
| US7483164B2 (en) | Image processing apparatus | |
| JP3349941B2 (en) | Display control device | |
| JPS59154886A (en) | How to access display memory in a teletext receiver | |
| JPH08194818A (en) | Picture processing system, its storage device and its accessing method | |
| JP2905949B2 (en) | Image display circuit | |
| US20150208022A1 (en) | Display control unit and method for generating a video signal | |
| JP2000250512A (en) | Display device and image data synthesizing method | |
| GB2150391A (en) | Sync signal generator | |
| KR930005808B1 (en) | Display system | |
| JP3251027B2 (en) | Image display memory | |
| JP2619648B2 (en) | Color image display control device | |
| JPH06290261A (en) | Image processor | |
| JP2001243446A (en) | Device and method for image input processing | |
| JPH05197359A (en) | Lookup table circuit for display | |
| CN101789236A (en) | A device that controls screen input and output | |
| JPH0713507A (en) | Image processing device | |
| JPS589433B2 (en) | Cursor control method | |
| JPH06133192A (en) | Video diplay device |