JPS62278675A - Transfer device for picture data - Google Patents

Transfer device for picture data

Info

Publication number
JPS62278675A
JPS62278675A JP61121308A JP12130886A JPS62278675A JP S62278675 A JPS62278675 A JP S62278675A JP 61121308 A JP61121308 A JP 61121308A JP 12130886 A JP12130886 A JP 12130886A JP S62278675 A JPS62278675 A JP S62278675A
Authority
JP
Japan
Prior art keywords
image data
transfer
image
picture
circuit
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
JP61121308A
Other languages
Japanese (ja)
Other versions
JP2669432B2 (en
Inventor
Takashi Sakurada
剛史 桜田
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.)
Olympus Corp
Original Assignee
Olympus Optical Co 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 Olympus Optical Co Ltd filed Critical Olympus Optical Co Ltd
Priority to JP61121308A priority Critical patent/JP2669432B2/en
Publication of JPS62278675A publication Critical patent/JPS62278675A/en
Application granted granted Critical
Publication of JP2669432B2 publication Critical patent/JP2669432B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To transfer even picture data on an optional memory area of a 1st picture memory means to a 2nd picture memory means in the form of an optional reduced picture, by adding a circuit that detects the position of the picture data and then sets the transfer style to be executed next in response to the detected position of the picture data and therefore dividing and reducing optionally a picture. CONSTITUTION:A skidding circuit 22 counts down a counter 33 every time the picture data is skidded by a picture element and sets both RC and selection signals at H when the count value of the counter 33 is equal to zero. At the same time, the clock signal supplied to the counter 33 is masked. While an address selection circuit 23 switches the addresses delivered to a microprogram memory 24 to the values received from a latch 11 and a sequencer 12 in response to a fact that the selection signal received from the circuit 22 is set at H. Therefore the thinning, skidding and thinning are carried out to the transfer of the 2nd picture data, for example, against the picture data that is transferred so that the picture data 60 is expensed into a picture 61. Then the picture data are transferred continuously to obtain a reduced picture 62.

Description

【発明の詳細な説明】 3、発明の詳細な説明 〔産業上の利用分野〕 この発明は画像データ転送装置に関する。[Detailed description of the invention] 3. Detailed description of the invention [Industrial application field] The present invention relates to an image data transfer device.

〔従来の技術〕[Conventional technology]

例えば、画像記憶装置から順次出力される圧縮された画
像データに対して伸長処理を施し、さらに、順次出力さ
れる伸長された画像データを種々のマイクロプログラム
により制御してディスプレイのフレームメモリ上で任意
の縮小画像となるように間引いて転送する画像データ転
送装置として、本願人は第8図に示すような構成のもの
を提案している。この画像データ転送装置は、圧縮処理
された画像データを記憶し、これをセクタ単位で転送す
る画像記憶装置1と、この画像記憶装置1から出力され
る圧縮された画像データに対して伸長処理を施す画像デ
ータ圧縮伸長回路2と、マイクロプログラムにより制御
され、画像データ圧縮伸長回路2から順次出力される伸
長された画像データを任意の縮小画像となるように間引
く間引き回路3と、マイクロプログラムにより制御され
、画像データ圧縮伸長回路2を制御すると共にディスプ
レイ4のフレームメモリ5上で任意の縮小画像となるよ
うに所定の規則に従って不連続なアドレスを発生して画
像データのDMA転送を行う直接メモリアクセスコント
ローラ(DMAC) 6とから成る。
For example, compressed image data that is sequentially output from an image storage device is decompressed, and the decompressed image data that is sequentially output is controlled by various microprograms and arbitrarily stored in the frame memory of the display. The applicant has proposed an image data transfer device having a structure as shown in FIG. 8 as an image data transfer device that thins out and transfers images so that they become reduced images. This image data transfer device includes an image storage device 1 that stores compressed image data and transfers it sector by sector, and an image storage device 1 that decompresses the compressed image data output from this image storage device 1. an image data compression/expansion circuit 2 that performs image data compression/expansion; a thinning circuit 3 that is controlled by a microprogram and thins out the expanded image data sequentially output from the image data compression/expansion circuit 2 into an arbitrary reduced image; and a thinning circuit 3 that is controlled by a microprogram. direct memory access that controls the image data compression/decompression circuit 2 and performs DMA transfer of image data by generating discontinuous addresses according to predetermined rules so that an arbitrary reduced image is created on the frame memory 5 of the display 4. It consists of a controller (DMAC) 6.

第9図は第8図に示した画像データ転送装置における間
引き回路3及びDMAC6の一部の一例の回路構成を示
すものである。この回路は、図示しないキーボード等の
入力装置から図示しないプロセッサを介して入力される
実行すべきマイクロプログラムの上位アドレスを格納し
ておくラッチ11と、マイクロプログラムの実行に応じ
て下位アドレスを出力してマイクロプログラムの流れを
制御するシーケンサ12と、各種転送用のマイクロプロ
グラムを記憶してラッチ11及びシーケンサ12から与
えられるアドレスに応じてマイクロプログラムを出力す
るマイクロプログラムメモリ13と、マイクロプログラ
ムメモリ13から出力されるマイクロプログラムを実行
うロックに同期して出力するパイプラインレジスタ14
と、転送される画像のライン数(縦方向の画素数)をセ
ットし、1ライン転送する毎にカウントダウンするライ
ンカウンタ15と、転送される画像のカラム数(横方向
の画素数)をセットし、1画素転送する毎にカウントダ
ウンするカラムカウンタ16とにより構成される。
FIG. 9 shows a circuit configuration of a part of the thinning circuit 3 and DMAC 6 in the image data transfer apparatus shown in FIG. 8. This circuit includes a latch 11 that stores an upper address of a microprogram to be executed that is input from an input device such as a keyboard (not shown) through a processor (not shown), and a latch 11 that stores a lower address of a microprogram to be executed in response to the execution of the microprogram. a sequencer 12 that controls the flow of microprograms; a microprogram memory 13 that stores microprograms for various transfers and outputs microprograms according to addresses given from the latch 11 and the sequencer 12; Pipeline register 14 that outputs in synchronization with the lock that executes the output microprogram
, set the number of lines (number of pixels in the vertical direction) of the image to be transferred, set the line counter 15 that counts down every time one line is transferred, and the number of columns (number of pixels in the horizontal direction) of the image to be transferred. , and a column counter 16 that counts down every time one pixel is transferred.

〔発明が触法しようとする問題点〕[Issues that the invention attempts to violate]

しかしながら、上述した画像データ転送装置にあっては
、次のような改良すべき点があることが判明した。
However, it has been found that the image data transfer device described above has the following points to be improved.

すなわち、画像を任意に分割して圧縮処理し、これら画
像データを画像記憶装置1の任意の記憶領域に割当てて
記憶した場合において、その各々の画像データを読出し
て伸長処理を行い、その伸長された画像データを所望の
縮小画像となるように間引いて転送すると、転送されて
いる画像≠−タが画像のどの位置のものかわからないた
めに、縮小画像としてつながらず、縮小画像を正常に転
送することができない場合がある。
That is, when an image is arbitrarily divided and compressed, and these image data are allocated and stored in an arbitrary storage area of the image storage device 1, each piece of image data is read out and decompressed, and the decompressed data is stored. If you thin out the image data that has been transferred and transfer it so that it becomes the desired reduced image, it will not be possible to connect the transferred image as a reduced image because it is not known where in the image the transferred image ≠ - data is, and the reduced image will not be transferred normally. It may not be possible.

この発明はこのような問題に着目してなされたもので、
任意に分割されて圧縮され、任意の記憶領域に各々記憶
されている画像データに対しても、正常な任意の縮小画
像が得られるように転送できるよう適切に構成した画像
データ転送装置を提供することを目的とする。
This invention was made with a focus on these problems.
To provide an image data transfer device appropriately configured to transfer image data arbitrarily divided and compressed and stored in arbitrary storage areas so as to obtain a normal arbitrary reduced image. The purpose is to

〔問題点を解決するための手段および作用〕上記目的を
達成するため、この発明では、第1の画像記憶手段及び
第2の画像記憶手段間に設けられ、これら間で転送され
る画像データを圧縮あるいは伸長する画像データ圧縮伸
長手段と、この画像データ圧縮伸長手段で伸長された画
像データをそのままあるいは縮小画像となるように前記
第2の画像記憶手段に転送する転送制御手段と、前記画
像データ圧縮伸長手段により伸長されて転送された画像
データが画像のどの位置のデータかを検出して次に実行
すべき転送形式を設定する転送形式選択手段とを具え、
前記第1の画像記憶手段と前記第2の画像記憶手段との
間で直接画像データの転送を行うよう構成する。
[Means and operations for solving the problem] In order to achieve the above object, the present invention provides a method for storing image data that is provided between the first image storage means and the second image storage means and transferred therebetween. an image data compression/expansion unit that compresses or expands the image data; a transfer control unit that transfers the image data expanded by the image data compression/expansion unit to the second image storage unit as it is or as a reduced image; and the image data Transfer format selection means for detecting at which position of the image the image data expanded and transferred by the compression/expansion means is and sets the transfer format to be executed next;
Image data is directly transferred between the first image storage means and the second image storage means.

〔実施例〕〔Example〕

第1図はこの発明の一実施例の要部である第9図に示し
た回路に相当する回路の構成を示すもので、全体の構成
は第8図と同様である。
FIG. 1 shows the configuration of a circuit corresponding to the circuit shown in FIG. 9, which is a main part of an embodiment of the present invention, and the overall configuration is the same as that of FIG. 8.

この実施例では、図示しないキーボード等の人力装置か
ら図示しないプロセッサを介して人力される実行すべき
マイクロプログラムの上位アドレスを格納しておくラッ
チ11と、データ圧縮伸長回路2から送られる伸長され
た画像データを受は取ってもフレームメモリ5へは転送
せず空送りを行うためのプログラムの上位アドレスを格
納しておくラッチ21と、マイクロプログラムの実行に
応じて下位アドレスを出力してマイクロプログラムの流
れを制御するシーケンサ12と、プロセッサにおいて空
送りを行うか否かを判断する空送り回路22と、この空
送り回路22からの信号に応じて次に実行すべきマイク
ロプログラムのアドレスをラッチ11、ラッチ21及び
シーケンサ12から入力されるアドレスの中から選択す
るためのアドレスセレクト回路23と、各種転送用及び
空送り用のマイクロプログラムを記憶し、アドレスセレ
クト回路23から人力されるアドレスに応じてマイクロ
プログラムを出力するマイクロプログラムメモリ24と
、このマイクロプログラムメモリ24から人力されるマ
イクロプログラムを実行うロックに同期して出力するパ
イプラインレジスフ14と、転送される画像のライン数
をセットし、1ライン転送する毎にカウントダウンする
ラインカウンタ15と、このラインカウンタ15の値を
プロセッサへ出力するためのバッファ25と、転送され
る画像のカラム数をセットし、1画素転送する毎にカウ
ントダウンするカラムカウンタ16と、このカラムカウ
ンタ16の値をプロセッサへ出力するだめのバッファ2
6とを具える。
In this embodiment, a latch 11 stores an upper address of a microprogram to be executed that is manually inputted from a human-powered device such as a keyboard (not shown) via a processor (not shown), and an expanded address sent from a data compression/expansion circuit 2 is used. A latch 21 stores the upper address of a program for performing a blank feed without transferring it to the frame memory 5 even if it receives image data, and a latch 21 stores the upper address of the program to perform a blank feed without transferring it to the frame memory 5. a sequencer 12 that controls the flow of the data; a jump feed circuit 22 that determines whether or not to perform jump feed in the processor; , the address select circuit 23 for selecting from among the addresses inputted from the latch 21 and the sequencer 12, and microprograms for various transfers and idle feeds. A microprogram memory 24 that outputs a microprogram, a pipeline register 14 that outputs a microprogram manually input from the microprogram memory 24 in synchronization with a lock, and the number of lines of an image to be transferred are set; A line counter 15 that counts down every time one line is transferred, a buffer 25 that outputs the value of this line counter 15 to the processor, and a column that sets the number of columns of the image to be transferred and counts down every time one pixel is transferred. A counter 16 and a buffer 2 for outputting the value of this column counter 16 to the processor.
6.

第2図は第1図に示した空送り回路22の一例の回路構
成を示すものである。この空送り回路22は、プロセッ
サからのモード信号に応じてプロセッサから送られるデ
ータを格納しておくラッチ31と、このラッチ31から
のデータとプロセッサからのデータとをプロセッサから
のロード信号に応じて選択するためのセレクタ32と、
このセレクタ32からのデータをセットし、1画素転送
する毎にカウントダウンして零になったらRC信号を出
力するカウンタ33と、このカウンタ33へのロード信
号を制御するためのインバータ34及びゲート35と、
プロセッサからのモード信号、ロード信号及びカウンタ
33からのRC信号に応じてアドレスセレクト回路23
へのセレクト信号を制御するためのフリップフロップ3
6. 37及びゲート38と、フリップフロップ36の
出力及びセレクト信号に応じてカウンタ33に人力され
るクロック信号を制御するためのゲート39゜40及び
インバータ41とから成る。
FIG. 2 shows a circuit configuration of an example of the idle feed circuit 22 shown in FIG. 1. The idle feed circuit 22 includes a latch 31 that stores data sent from the processor in response to a mode signal from the processor, and a latch 31 that stores data sent from the processor in response to a mode signal from the processor, and a latch 31 that stores data sent from the latch 31 and data from the processor in response to a load signal from the processor. a selector 32 for selecting;
A counter 33 that sets data from the selector 32, counts down every time one pixel is transferred, and outputs an RC signal when it reaches zero, and an inverter 34 and a gate 35 for controlling the load signal to the counter 33. ,
The address select circuit 23 responds to the mode signal from the processor, the load signal, and the RC signal from the counter 33.
Flip-flop 3 for controlling the select signal to
6. 37 and gate 38, and gates 39 and 40 and an inverter 41 for controlling the clock signal input to the counter 33 in accordance with the output of the flip-flop 36 and the select signal.

第3図はこの実施例における画像データ転送の一例を示
すものである。これは、カラム数640×ライン数48
0の画像を任意に4つに分割して各々圧縮処理を施され
、画像記憶装置1の4つの記憶領域に記憶されている画
像データを順番に読出して伸長処理を施して640 X
480の伸長された画像50とし、さらに、縮小画像と
なるようにフレームメモリ5へ転送するものである。
FIG. 3 shows an example of image data transfer in this embodiment. This is 640 columns x 48 lines.
The image of 0 is arbitrarily divided into four parts, each of which is compressed, and the image data stored in the four storage areas of the image storage device 1 is sequentially read out and decompressed into 640x.
The expanded image 50 of 480 pixels is further transferred to the frame memory 5 so as to become a reduced image.

以下、第3図に示す画像転送をもとにこの実施例の動作
を説明する。
The operation of this embodiment will be explained below based on the image transfer shown in FIG.

先ず、図示しないキーボード等からプロセッサを介して
人力される転送形式に応じたマイクロプログラムの先頭
アドレスの上位アドレスをラッチ11に、空送り用マイ
クロプログラムの先頭アドレスの上位アドレスをラッチ
21に、転送先のフレームメモリ5の先頭アドレスをD
MAC6にセットする。
First, the upper address of the start address of the microprogram according to the transfer format manually entered from a keyboard (not shown) or the like through the processor is inputted into the latch 11, the upper address of the start address of the microprogram for empty feeding is inputted into the latch 21, and the transfer destination is inputted manually through the processor. The start address of the frame memory 5 of
Set it to MAC6.

次に、プロセッサは空送り回路22を初期状態に設定し
て画像記憶装置1に対して画像データ51を転送するよ
うに読出し先頭アドレス及び転送セクタ数等のコマンド
を送り、DMAC6に対して画像データのDMA転送開
始を指示する。これを受けて、DMAC6はプロセッサ
をホールド状態としてDMA転送を開始する。
Next, the processor sets the idle transfer circuit 22 to the initial state, sends commands such as the read start address and the number of transfer sectors to the image storage device 1 to transfer the image data 51, and sends the image data 51 to the DMAC 6. Instructs to start DMA transfer. In response to this, the DMAC 6 puts the processor in a hold state and starts DMA transfer.

第4図は空送り回路22の初期状態の各信号を示すもの
で、図中の各信号は第2図の各信号線に対応している。
FIG. 4 shows each signal in the initial state of the idle feed circuit 22, and each signal in the figure corresponds to each signal line in FIG. 2.

アドレスセレクト回路23は、空送り回路22から送ら
れるセレクト信号がハイレベル(H)なので、ラッチ1
1及びシーケン12からのアドレスを選択してマイクロ
プログラムメモリ24へ出力し、これによりマイクロプ
ログラムメモリ24から出力されるマイクロプログラム
の先頭でラインカウンタ15にライン数480を、カラ
ムカウンタ16にカラム数640をセットして以降のマ
イクロプログラムに応じて画像データ51の転送を実行
する。
Since the select signal sent from the idle feed circuit 22 is at a high level (H), the address select circuit 23 selects the latch 1.
1 and the sequence 12 are selected and outputted to the microprogram memory 24, and as a result, at the beginning of the microprogram output from the microprogram memory 24, the line counter 15 has the number of lines 480, and the column counter 16 has the number of columns 640. is set, and the image data 51 is transferred according to the subsequent microprogram.

転送される画像データ51は、画像データ圧縮伸長回路
2に入力され、画像52となるように伸長処理が施され
て間引き回路3へ順次出力される。間引き回路3では順
次人力される画像データを間引き、縮小画像53となる
ようにDMAC6からの所定の規則に従った不連続なア
ドレスの制御の下にフレームメモリ5へ格納する。例え
ば、画像の縮小率をaとすれば、aライン中先頭1ライ
ン目(画像50中に破線で示したライン)はa個間隔で
画像データを転送し、残り(a−1)ラインは空送りを
行うこと己より、横方向及び縦方向共にl/aの画像と
することができる。ラインカウンタ15は640×48
0の画像の1ライン分の画像データ(640)を転送す
る毎にカウントダウンする。また、カラムカウンタ16
は1ライン分の画像データ(640)を1画素転送する
毎にカウントダウンすると共に、1ライン分の転送が終
了すると再び1ライン分の画像データ数(640)がセ
ットされる。従って、ラインカウンタ15及びカラムカ
ウンタ16の値により、現在画像のどの部分を転送して
いるのかを知ることができる。
The image data 51 to be transferred is input to the image data compression/expansion circuit 2, subjected to expansion processing so as to become an image 52, and sequentially outputted to the thinning circuit 3. The thinning circuit 3 thins out the sequentially inputted image data and stores it in the frame memory 5 under the control of discontinuous addresses according to a predetermined rule from the DMAC 6 so as to form a reduced image 53. For example, if the image reduction ratio is a, image data is transferred at intervals of a for the first line of a lines (line indicated by a broken line in image 50), and the remaining (a-1) lines are empty. By performing the feeding, it is possible to obtain an image of 1/a in both the horizontal and vertical directions. Line counter 15 is 640x48
A countdown is performed each time one line of image data (640) of the 0 image is transferred. In addition, the column counter 16
counts down each time one pixel of image data (640) for one line is transferred, and when the transfer for one line is completed, the number of image data for one line (640) is set again. Therefore, from the values of the line counter 15 and column counter 16, it is possible to know which part of the image is currently being transferred.

1回目の画像転送が終了すると、OMAC6はプロセッ
サのホールド状態を解除する。プロセッサは、ラインカ
ウンタ15及びカラムカウンタ16の値を調べ、次の転
送形式を設定する。
When the first image transfer is completed, the OMAC 6 releases the processor from the hold state. The processor checks the values of the line counter 15 and column counter 16 and sets the next transfer format.

第5図はプロセッサにおける処理の流れを示すもので、
図中A、Bはプロセッサ内のレジスタを、aは縮小率を
示している。プロセッサは、先ずバッファ25を制御し
てレジスタAにラインカウンタ15の値を取り込み、現
在どのラインまで転送を終了しているかを判断する。こ
こで、空送りすべきラインの転送を終了(A=0)’し
ていれば、次にバッファ26を制御してレジスタBにカ
ラムカウンタ16の値を取込み、現在法のラインのどの
カラムまで転送を終了しているかを判断する。ここで、
次のラインの転送がまだ行われていなければ(B=0)
、プログラム71を選択する。これは、例えば1回目の
画像データ転送が、第3図中画像データ51を伸長して
画像52となるように転送される画像データを間引いて
縮小画像53となるように実行−されたことを意味し、
この場合にはプロセッサはプログラム71を選択するこ
とにより、空送り回路22に対して何の処理も行わず、
1回目の画像データ転送と同様の手順で、引続き次の画
像データの転送を実行することができる。
Figure 5 shows the flow of processing in the processor.
In the figure, A and B indicate registers within the processor, and a indicates the reduction rate. The processor first controls the buffer 25 to load the value of the line counter 15 into the register A, and determines to which line the transfer has been completed. At this point, if the transfer of the line to be skipped has been completed (A=0)', then the buffer 26 is controlled and the value of the column counter 16 is loaded into the register B. Determine whether the transfer is complete. here,
If the next line has not been transferred yet (B=0)
, select program 71. This means that, for example, the first image data transfer was performed by expanding the image data 51 in FIG. means,
In this case, by selecting the program 71, the processor does not perform any processing on the idle feed circuit 22,
The next image data transfer can be subsequently performed using the same procedure as the first image data transfer.

一方、空送りすべきラインの途中で1回目の転送が終了
している場合(A<aで、かつA≠0)には、プログラ
ム72が選択される。これは、例えば1回目の画像デー
タ転送が、第3図中画像データ54を伸長して画像55
となるように転送される画像データを間引いて縮小画像
56となるように転送した場合である。この場合、プロ
セッサでは空送りしなければならない画像数を求めて空
送り回路22へ出力すると共に、ロード信号を出力する
。これにより、空送り回路22ではプロセッサからのデ
ータをロード信号に応じてセレクタ32により選択して
カウンタ33にセットすると共に、セレクト信号をロー
レベル(L) にして、カウンタ33のクロック信号の
マスクを外す。第6図にこの場合の空送り回路22の動
作タイミングを示す。また、アドレスセレクト回路23
は、空送り回路22から送られるセレクト信号がLなの
で、ラッチ21及びシーケンサ12からのアドレスを選
択してマイクロプログラムメモリ24へ出力する。次に
、プロセッサは画像記憶装置1に対してコマンドを送り
、[]MAC6に対して画像データのDMA転送開始を
指示する。これに応じて、DMAC6はプロセッサをホ
ールド状態とし、DMA転送を開始する。このDMA転
送においては、最初は画像データ空送り用のマイクロプ
ログラムが実行されて画像データの空送りが行われる。
On the other hand, if the first transfer ends in the middle of the line to be skipped (A<a and A≠0), program 72 is selected. This means that, for example, the first image data transfer expands the image data 54 in FIG.
This is a case where the image data to be transferred is thinned out and transferred to become a reduced image 56. In this case, the processor calculates the number of images that need to be skipped and outputs it to the skipping circuit 22, as well as outputting a load signal. As a result, in the idle feed circuit 22, data from the processor is selected by the selector 32 according to the load signal and set in the counter 33, and the select signal is set to low level (L) to mask the clock signal of the counter 33. remove. FIG. 6 shows the operation timing of the idle feed circuit 22 in this case. In addition, the address select circuit 23
Since the select signal sent from the idle feed circuit 22 is L, the address from the latch 21 and the sequencer 12 is selected and output to the microprogram memory 24. Next, the processor sends a command to the image storage device 1 and instructs the MAC 6 to start DMA transfer of image data. In response, the DMAC 6 puts the processor in a hold state and starts DMA transfer. In this DMA transfer, a microprogram for image data empty feeding is initially executed to perform image data feeding.

空送り回路22では、画像データを1画素空送りする毎
にカウンタ33をカウントダウンし、零になったらRC
信号及びセレクト信号をHにすると共に、カウンタ33
に人力されるクロック信号をマスクする。また、アドレ
スセレクト回路23は、空送り回路22からのセレクト
信号がHになったのに応じて、マイクロプログラムメモ
リ24に出力するアドレスをラッチ11及びシーケンサ
12からの値に切り換える。これにより、例えば、2回
目の画像データの転送が、第3図中画像データ57を伸
長して画像58となるように転送される画像データに対
して空送りと間引きを行い、縮小画像59となるように
、引続き画像データの転送が実行される。
In the jump feed circuit 22, the counter 33 counts down every time the image data is skipped by one pixel, and when it reaches zero, the RC
While setting the signal and select signal to H, the counter 33
Mask the clock signal that is input manually. Further, the address select circuit 23 switches the address output to the microprogram memory 24 to the value from the latch 11 and the sequencer 12 in response to the select signal from the idle feed circuit 22 becoming H. As a result, for example, in the second image data transfer, image data 57 in FIG. The image data is then transferred continuously.

これに対し、画像データを間引いて転送すべきラインの
途中で、1回目の転送が終了している場合(A<a、A
”0で、かつB≠0)、例えば、1回目の画像データの
転送が第3図中画像データ57を伸長して画像58とな
るように転送される画像データを縮小画像59となるよ
うに実行された場合には、プログラム73が選択される
。この場合、プロセッサでは、先ず、転送しなければな
らない画素数を求めて空送り回路22へ出力すると共に
、ロード信号を出力する。空送り回路22は、プロセッ
サからのデータをロード信号に応じてセレクタ32によ
り選択してカウンタ33にセットすると共に、セレクト
信号をLにしてカウンタ33のクロック信号のマスクを
外す。次に、プロセッサは空送りしなければならない画
素数を求めて空送り回路22へ出力すると共に、モード
信号をHにする。このモード信号により、空送り回路2
2はプロセッサからのデータをラッチ31に格納すると
共に、セレクト信号をHにする。第7図にこの場合の空
送り回路22の動作タイミングを示す。アドレスセレク
ト回路23は、空送り回路22からのセレクト信号がH
なので、ラッチ11及びシーケンサ12からのアドレス
を選択してマイクロプログラムメモリ24に出力する。
On the other hand, if the first transfer ends in the middle of the line where the image data should be thinned out and transferred (A<a, A
"0, and B≠0), for example, the first image data transfer expands image data 57 in FIG. 3 to become image 58, and the transferred image data becomes reduced image 59. When executed, the program 73 is selected. In this case, the processor first calculates the number of pixels that must be transferred and outputs it to the blank feed circuit 22, as well as outputs a load signal. 22 selects data from the processor by the selector 32 in response to the load signal and sets it in the counter 33, and also sets the select signal to L to unmask the clock signal of the counter 33.Next, the processor performs a blank feed. The required number of pixels is determined and outputted to the idle feed circuit 22, and the mode signal is set to H. This mode signal causes the idle feed circuit 2 to
2 stores data from the processor in the latch 31 and sets the select signal to H. FIG. 7 shows the operation timing of the idle feed circuit 22 in this case. The address select circuit 23 receives the select signal from the idle feed circuit 22 at an H level.
Therefore, the addresses from the latch 11 and sequencer 12 are selected and output to the microprogram memory 24.

プロセッサは、画像記憶装置1に対してコマンドを送り
、0MAc6に対して画像データのDMA転送開始を指
示する。これに応じて、DMAC6は、プロセッサをホ
ールド状態としてDMA転送を開始する。
The processor sends a command to the image storage device 1 and instructs the 0MAc6 to start DMA transfer of image data. In response, the DMAC 6 puts the processor in a hold state and starts DMA transfer.

このDMA転送においては、最初は画像データ転送用の
マイクロプログラムが実行されて画像データの転送が行
われる。空送り回路22では、画像データを1画素転送
する毎にカウンタ33をカウントダウンし、零になった
ら、RC信号をHに、セレクト信号をLにすると共に、
ラッチ31からセレクタ32を介して出力されるデータ
をカウンタ33にセットする。また、アドレスセレクト
回路23は、空送り回路22からのセレクト信号がLに
なったのに応じて、マイクロプログラムメモリ24へ出
力するアドレスをラッチ21及びシーケンサ12からの
値に切換える。これにより引続き画像データの空送りが
実行される。空送り回路22では、画像データを1画素
空送りする毎にカウンタ33をカウントダウンし、零に
なったらRC信号及びセレクト信号をHにすると共に、
カウンタ33に人力されるクロック信号をマスクする。
In this DMA transfer, a microprogram for image data transfer is initially executed to transfer image data. In the idle feed circuit 22, the counter 33 is counted down every time one pixel of image data is transferred, and when it reaches zero, the RC signal is set to H, the select signal is set to L, and
Data output from the latch 31 via the selector 32 is set in the counter 33. Further, the address select circuit 23 switches the address output to the microprogram memory 24 to the value from the latch 21 and the sequencer 12 in response to the select signal from the idle feed circuit 22 becoming L. As a result, the image data is continuously fed. In the jump feed circuit 22, the counter 33 counts down each time the image data is skipped by one pixel, and when it reaches zero, the RC signal and the select signal are set to H,
The clock signal manually input to the counter 33 is masked.

また、アドレスセレクト回路23は、空送り回路22か
らのセレクト信号がHになったのに応じて、マイクロプ
ログラムメモリ24に出力するアドレスをラッチ11及
びシーケンサ12からの値に切り換える。これにより、
例えば2回目の画像データの転送が、第3図中画像デー
タ60を伸長して画像61となるように転送される画像
データに対して、間引き、空送り、間引きを行い、縮小
画像62となるように引続き画像データの転送が実行さ
れる。
Further, the address select circuit 23 switches the address output to the microprogram memory 24 to the value from the latch 11 and the sequencer 12 in response to the select signal from the idle feed circuit 22 becoming H. This results in
For example, in the second image data transfer, image data 60 in FIG. The image data is then transferred as follows.

〔発明の効果〕〔Effect of the invention〕

以上述べたように、この発明によれば第1の画像記憶手
段から順次出力される画像データに対して伸長処理を施
し、さらに順次出力される伸長された画像データを第2
の画像記憶手段に任意の縮小画像となるように間引いて
転送する画像データ転送装置に、画像データの位置を検
出し、これに応じて次に実行すべき転送形式を設定する
回路を加えることにより、画像を任意に分割して圧縮し
て第1の画像記憶手段の任意の記憶領域に各々記憶され
ている画像データに対しても、第2の画像記憶手段に任
意の正常な縮小画像となるように転送することができる
As described above, according to the present invention, the image data sequentially outputted from the first image storage means is subjected to expansion processing, and the expanded image data sequentially outputted is then transferred to the second image storage means.
By adding a circuit that detects the position of the image data and sets the next transfer format to be executed in accordance with this to the image data transfer device that thins out and transfers the image data to an image storage means of an arbitrary reduced size. , even if the image is arbitrarily divided and compressed and each image data is stored in an arbitrary storage area of the first image storage means, an arbitrary normal reduced image is stored in the second image storage means. It can be transferred as follows.

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

第1図はこの発明の一実施例の要部を示すブロック図、 第2図は第1図に示す空送り回路の一例を構成を示すブ
ロック図、 第3図は画像データ転送の一例を示す図、第4図は空送
り回路の初期状態の各信号を示す図、 第5図は画像データ転送の動作を示すフローチャート、 第6図および第7図はそれぞれ異なる転送形式における
空送り回路のタイミングチャート、第8図および第9図
は本願人が先に開発した画像データ転送装置の構成を示
す図である。 1・・・画像記憶装置  2・・・データ圧縮伸長回路
3・・・間引き回路   4・・・ディスプレイ5・・
・フレームメモリ 6・・・DMAC11・・・転送プ
ログラム先頭アドレス用ラッチ12・・・シーケンサ 
  14・・・パイプラインレジス、り15・・・ライ
ンカウンタ 16・・・カラムカウンタ21・・・空送
りプログラム先頭アドレス用ラッチ22・・・空送り回
路   23・・・アドレスセレクト回路24・・・マ
イクロプログラムメモリ 25、26・・・バッファ 第2図 第3図 第4図 H□ ロード ■ L 第5図 第6図 ■ 第7図 ■
Fig. 1 is a block diagram showing the main parts of an embodiment of the present invention, Fig. 2 is a block diagram showing the configuration of an example of the idle feed circuit shown in Fig. 1, and Fig. 3 shows an example of image data transfer. Figure 4 is a diagram showing each signal in the initial state of the jump feed circuit. Figure 5 is a flowchart showing the operation of image data transfer. Figures 6 and 7 are timings of the jump feed circuit in different transfer formats. The chart, FIGS. 8 and 9 are diagrams showing the configuration of an image data transfer device previously developed by the applicant. 1... Image storage device 2... Data compression/expansion circuit 3... Thinning circuit 4... Display 5...
・Frame memory 6...DMAC11...Latch for transfer program start address 12...Sequencer
14...Pipeline register, 15...Line counter 16...Column counter 21...Latch for blank feed program start address 22...Nut feed circuit 23...Address select circuit 24... Micro program memory 25, 26... Buffer Figure 2 Figure 3 Figure 4 H□ Load ■ L Figure 5 Figure 6 ■ Figure 7 ■

Claims (1)

【特許請求の範囲】 1、第1の画像記憶手段及び第2の画像記憶手段間に設
けられ、これら間で転送される画像データを圧縮あるい
は伸長する画像データ圧縮伸長手段と、この画像データ
圧縮伸長手段で伸長された画像データをそのままあるい
は縮小画像となるように前記第2の画像記憶手段に転送
する転送制御手段と、前記画像データ圧縮伸長手段によ
り伸長されて転送された画像データが画像のどの位置の
データかを検出して次に実行すべき転送形式を設定する
転送形式選択手段とを具え、前記第1の画像記憶手段と
前記第2の画像記憶手段との間で直接画像データの転送
を行うよう構成したことを特徴とする画像データ転送装
置。 2、前記転送形式選択手段は、転送される画像データの
画像上での位置を検出する画像位置検出手段と、この画
像位置検出手段の出力に基づいて次に実行すべき転送形
式を設定する転送形式設定手段と、この転送形式設定手
段で設定された転送形式に基づいて画像データを空送り
する画像データ空送り手段とを具えることを特徴とする
特許請求の範囲第1項記載の画像データ転送装置。 3、前記転送制御手段は、前記画像データ圧縮伸長手段
から順次出力される画像データを所定の規則に従って間
引く間引き手段と、前記第2の画像記憶手段に対して所
定の規則に従って不連続なアドレスを発生するアドレス
発生手段とを具えることを特徴とする特許請求の範囲第
1または2項記載の画像データ転送装置。 4、前記画像データ空送り手段、間引き手段及びアドレ
ス発生手段をマイクロプログラムにより制御するよう構
成したことを特徴とする特許請求の範囲第3項記載の画
像データ転送装置。
[Claims] 1. Image data compression/expansion means provided between the first image storage means and the second image storage means and compresses or expands the image data transferred between them, and this image data compression means. a transfer control means for transferring the image data expanded by the expansion means to the second image storage means as it is or as a reduced image; transfer format selection means for detecting the position of the data and setting the transfer format to be executed next; An image data transfer device characterized by being configured to perform transfer. 2. The transfer format selection means includes an image position detection means for detecting the position of the image data to be transferred on the image, and a transfer method for setting the transfer format to be executed next based on the output of the image position detection means. Image data according to claim 1, comprising a format setting means and an image data empty feeding means for feeding the image data based on the transfer format set by the transfer format setting means. Transfer device. 3. The transfer control means includes a thinning means for thinning out the image data sequentially output from the image data compression/expansion means according to a predetermined rule, and a thinning means for thinning out the image data sequentially output from the image data compression/expansion means, and a discontinuous address to the second image storage means according to a predetermined rule. 3. The image data transfer apparatus according to claim 1, further comprising address generating means for generating an address. 4. The image data transfer apparatus according to claim 3, wherein the image data empty feeding means, thinning means, and address generation means are configured to be controlled by a microprogram.
JP61121308A 1986-05-28 1986-05-28 Image data transfer device Expired - Lifetime JP2669432B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61121308A JP2669432B2 (en) 1986-05-28 1986-05-28 Image data transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61121308A JP2669432B2 (en) 1986-05-28 1986-05-28 Image data transfer device

Publications (2)

Publication Number Publication Date
JPS62278675A true JPS62278675A (en) 1987-12-03
JP2669432B2 JP2669432B2 (en) 1997-10-27

Family

ID=14808033

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61121308A Expired - Lifetime JP2669432B2 (en) 1986-05-28 1986-05-28 Image data transfer device

Country Status (1)

Country Link
JP (1) JP2669432B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5465416A (en) * 1977-11-02 1979-05-26 Nec Corp Encoded picture storing device
JPS55118084A (en) * 1979-03-05 1980-09-10 Nippon Telegraph & Telephone Image display unit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5465416A (en) * 1977-11-02 1979-05-26 Nec Corp Encoded picture storing device
JPS55118084A (en) * 1979-03-05 1980-09-10 Nippon Telegraph & Telephone Image display unit

Also Published As

Publication number Publication date
JP2669432B2 (en) 1997-10-27

Similar Documents

Publication Publication Date Title
US20060179180A1 (en) Signal processing apparatus, signal processing system and signal processing method
JPS62278675A (en) Transfer device for picture data
JP2653078B2 (en) Image display control device and electronic device having the same
JPH03232070A (en) Picture processor
US5333259A (en) Graphic information processing system having a RISC CPU for displaying information in a window
JP4553998B2 (en) Bus control device
JP2922519B2 (en) Video synthesizer
JP3502404B2 (en) Computer system
JPS63249663A (en) Printer control apparatus
JPH06138863A (en) Moving picture window display control system
JPH02158884A (en) Image memory device and multiprocessor image processor
JP2535841B2 (en) Display controller
JP2001243446A (en) Device and method for image input processing
JPH10149149A (en) Image processor
JPH0782313B2 (en) Display controller
JPH0399317A (en) Image processor
JPH0340426B2 (en)
JPH05197360A (en) Image processing system and method therefor
JPH035755B2 (en)
JPH09251545A (en) Picture processor
JPH0373073A (en) Information processor with picture editing function
JPS6113873A (en) Picture data processor
JP2005110124A (en) Image transfer method and device
JPH04364588A (en) Data processor
JPH0290373A (en) Picture reduction/magnification processor

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term