JPS6126128A - Displacing method of two-dimensional data - Google Patents

Displacing method of two-dimensional data

Info

Publication number
JPS6126128A
JPS6126128A JP14682584A JP14682584A JPS6126128A JP S6126128 A JPS6126128 A JP S6126128A JP 14682584 A JP14682584 A JP 14682584A JP 14682584 A JP14682584 A JP 14682584A JP S6126128 A JPS6126128 A JP S6126128A
Authority
JP
Japan
Prior art keywords
data
dimensional data
stored
block
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.)
Pending
Application number
JP14682584A
Other languages
Japanese (ja)
Inventor
Akira Maeda
章 前田
Koichi Honma
弘一 本間
Fuminobu Furumura
文伸 古村
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP14682584A priority Critical patent/JPS6126128A/en
Publication of JPS6126128A publication Critical patent/JPS6126128A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a method for displacing two-dimensional data rapidly by dividing the two-dimensional data into small blocks and executing the displacement of the two-dimensional data in each small block and between blocks independently to displace the whole data. CONSTITUTION:A small block a22 included in undisplaced data 21 stored in a disc is read out to a high speed main storage device 23 on the basis of two- dimensional data displacing algorithm. Local displacement (g) of the block (a) is executed in the main storage device 23, and then the displaced result is stored in a position 25 corresponding to the displaced data 24, so that the data in each small divided block are stored in a continuous addresses of the disc. Said processing is applied to all the blocks of the two-dimensional data 21 to displace the whole two-dimensional data 21. Since the data transfer to the disc is executed in each block stored in a continuous address, high speed processing can be attained.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は2次元データの転置方式に係り、特に少ない主
記憶装置の容量で、高速に転置することを可能とした2
次元データの転置方式に関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a two-dimensional data transposition method, and particularly a two-dimensional data transposition method that enables high-speed transposition with a small main storage capacity.
Concerning the transposition method of dimensional data.

〔発明の背景〕[Background of the invention]

少ない主記憶装置の容量で2次元データを転置する方法
としては、従来よりE klundh法が知られている
。  (J 、O,Eklundh、“A F ast
 ComputerMethod for  Matr
ix  Transposing”、IE’Trans
、Comput、、C−21,p801−803.19
72)しかしE klundhの方法では、外部記憶装
置に格納された2次元データの読み出し、書き込みを列
方向に繰り返して転置を行なうが、1回の転置処理を行
なうためには2次元データの各要素は各々複数回の読み
出し、書き込みをされるため、データの転送回数が多く
なり結果として転置に時間がかかることと、正方形の2
次元データにしか適用できない、といった欠点があった
The E klundh method has been known as a method for transposing two-dimensional data with a small main storage capacity. (J. O. Eklundh, “AF ast
ComputerMethod for Matr
ix Transposing”, IE'Trans
, Comput, , C-21, p801-803.19
72) However, in E klundh's method, transposition is performed by repeating reading and writing of two-dimensional data stored in an external storage device in the column direction, but in order to perform one transposition process, each element of the two-dimensional data must be are read and written multiple times, so the number of data transfers increases, resulting in longer transposition times.
The drawback is that it can only be applied to dimensional data.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、従来方式における上記の如き欠点を解
消し、2次元データの転置を高速に実行する方式を提供
することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a method that eliminates the above-mentioned drawbacks of the conventional method and executes transposition of two-dimensional data at high speed.

〔発明の概要〕[Summary of the invention]

上記目的を達成するため、本発明は、2次元データを小
ブロックに分割し、全体の転置を各小ブロツク内の転置
とブロック間の転置とに分けて実行することに特徴があ
る。また、2次元データを外部記憶装置に格納するとき
、上記ブロックの境界に空き領域を設けることにより、
格納に要する処理時間を短縮することを特徴とする。
In order to achieve the above object, the present invention is characterized in that two-dimensional data is divided into small blocks, and the entire transposition is performed separately into transposition within each small block and transposition between blocks. Also, when storing two-dimensional data in an external storage device, by providing free space at the boundaries of the blocks,
It is characterized by shortening the processing time required for storage.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を合成開口レーダ(S ynt
hetic Aperture Radar;以下SA
Rと略す)の画像再生処理システムを例にとって説明す
る。
Hereinafter, one embodiment of the present invention will be described as a synthetic aperture radar (S ynt
hetic Aperture Radar; hereinafter SA
The image reproduction processing system (abbreviated as R) will be explained as an example.

第1図にSAR画像再生処理の流れを示す。FIG. 1 shows the flow of SAR image reproduction processing.

SAR画像再生処理の詳細については従来知られている
(例えば、J 、R,Bennett、 I 、G、C
Cumm1n。
The details of SAR image reproduction processing are conventionally known (for example, J.R., Bennett, I., G.C.
Cumm1n.

“Digital S ARImage Format
im ofAirborne and 5atelli
te Re5ults”、 P roe。
“Digital S ARImage Format
im ofAirborne and 5ateli
te Re5ults”, Proe.

13th Int、Symp、Remote Sens
ing of Enviro−nment、vo Q 
I 、 337−360.1979を参照のこと)ので
、ここでは、以下の説明に関係するSARの画像再生処
理が、まず横方向、次いでたて方向の2回の1次元処理
について述べる。
13th Int, Symp, Remote Sens
ing of Enviro-nment, vo Q
I, 337-360.1979) Therefore, here, the SAR image reproduction processing related to the following description will be described as two one-dimensional processing, first in the horizontal direction and then in the vertical direction.

以下、第1図に従って処理の流れを説明する。The flow of processing will be explained below according to FIG.

処理すべきSARの生データはライン単位に磁気テープ
1から読み込まれ、レンジ圧縮と呼ばれる横方向の1次
元処理2の後、中間結果が外部記憶装置であるディスク
中のファイル3に格納される。
Raw SAR data to be processed is read line by line from a magnetic tape 1, and after horizontal one-dimensional processing 2 called range compression, intermediate results are stored in a file 3 on a disk, which is an external storage device.

すべてのラインに対してこの処理を行なった後、たて方
向の1次元処理であるアジマス方向F FT処理6に備
えて、2次元データの転置処理4を、ファイル3に対し
て行ない、結果をファイル5に格納する。
After performing this processing on all lines, in preparation for azimuth direction FFT processing 6, which is one-dimensional processing in the vertical direction, transpose processing 4 of the two-dimensional data is performed on file 3, and the result is Store in file 5.

ディスク装置はランダムアクセスではあるがよこ方向の
データを連続アドレスに格納した2次元データをたて方
向に読み出す場合には、ヘッドの回転待ちなどのため、
禁止的に時間がかかる。そのため、SAR画像再生処理
時間短縮のためには転置処理4が必要となる。
Disk devices use random access, but when reading two-dimensional data in the vertical direction in which horizontal data is stored in consecutive addresses, there is a wait for the head to rotate, etc.
It's prohibitively time consuming. Therefore, transposition processing 4 is necessary to shorten the SAR image reproduction processing time.

第2図に本発明方式による2次元データの転置のための
ディスク格納の状態を示す。2次元データ11は小ブロ
ック12に分割され、各ブロックのデータがディスクの
連続アドレスに格納される。
FIG. 2 shows the state of disk storage for transposing two-dimensional data according to the method of the present invention. The two-dimensional data 11 is divided into small blocks 12, and the data of each block is stored at consecutive addresses on the disk.

第3図に本発明方式による2次元データの転置アルゴリ
ズムを示す。第2図の方式でディスクに格納された転置
前のデータ21のある小ブロック22を高速の主記憶装
置23に読み出し、主記憶装置23上でブロック内の局
所転置を行なった後、結果を転置後のデータ24の対応
する位置25に、第2図の形式で格納する。第3図の処
理を、2次元データ21のすべてのブロックに対して行
なうことにより2次元データ21全体の転置が行なわれ
る。第3図の処理では、ディスクとのデータ転送は連続
したアドレスに格納されたブロック単位に行なわれるの
で高速に処理することが可能である。
FIG. 3 shows a transposition algorithm for two-dimensional data according to the method of the present invention. A small block 22 with data 21 before transposition stored on the disk is read out to the high-speed main memory 23 using the method shown in FIG. 2, local transposition within the block is performed on the main memory 23, and the result is transposed. It is stored in the corresponding position 25 of the subsequent data 24 in the format shown in FIG. By performing the process shown in FIG. 3 on all blocks of the two-dimensional data 21, the entire two-dimensional data 21 is transposed. In the process shown in FIG. 3, data transfer to and from the disk is performed in units of blocks stored at consecutive addresses, so high-speed processing is possible.

第2図の格納形式(以下、「ブロック形式」と呼ぶ)で
は、転置処理におけるブロック単位のデータ転送は高速
に行なえるが、転置処理の前後の処理で必要となるライ
ン単位のデータ転送は一般に低速でしか行なえない。こ
れは、ブロック形式では1ライン内のデータは連続アド
レスにないため、ディスクの回転まち時間を要するから
である。
In the storage format shown in Figure 2 (hereinafter referred to as the "block format"), data transfer in blocks during transposition processing can be performed at high speed, but data transfer in line units, which is required for processing before and after transposition processing, is generally not possible. It can only be done at low speed. This is because in the block format, data within one line is not at consecutive addresses, so it takes time for the disk to rotate.

第4図に一例を示す。2次元データ31のある1ライン
のデータ32は、ディスクの論理アドレス33.33’
 、33’に分割して格納される。
An example is shown in FIG. One line of data 32 with two-dimensional data 31 has a logical address of 33.33' on the disk.
, 33' and stored.

小ブロック34のサイズをたて64画画素上こ64画素
、1画素8バイト、ディスクの1トラツク=64セクタ
、1セクタ=256バイトとすると、1ラインのデータ
32のディスク内配置は、第4図の配置36の如くなる
。この配置では、ディスクが回転方向35に1回転する
間に64画素分のデータ転送しか出来ないため、ライン
単位のデータ転送は非常に遅くなる。
Assuming that the size of the small block 34 is 64 pixels vertically, 64 pixels vertically, 8 bytes per pixel, 1 track of the disk = 64 sectors, and 1 sector = 256 bytes, the arrangement of 1 line of data 32 in the disk is as follows: The arrangement will look like the arrangement 36 in the figure. With this arrangement, only 64 pixels of data can be transferred during one revolution of the disk in the rotational direction 35, so line-by-line data transfer is extremely slow.

第5図に本発明方式によるディスク格納方法を示す。各
ブロックのデータの間にダミーデータ41.41’ 、
41’ 、・・・を挿入することにより。
FIG. 5 shows a disk storage method according to the present invention. Between the data of each block, dummy data 41.41',
By inserting 41',...

データのディスク内配置は第5図の配置42の如くなり
、回転まち時間は大幅に減少され、ライン単位のデータ
を高速に行なうことができる。ダミーデータ41.41
’ 、41’・・・の挿入によっても、各ブロックのデ
ータが連続にあることは変わらず、転置処理におけるブ
ロック単位のデータ転送が遅くなることはない。
The data is arranged in the disk as shown in the arrangement 42 in FIG. 5, and the rotation waiting time is greatly reduced, making it possible to perform line-by-line data at high speed. Dummy data 41.41
Even if ', 41', .

以上、本実施例によれば、SAR画像再生処理において
、転置処理とその前後の処理におけるディスクとのデー
タ転送を高速に行ない、全体処理時間を短縮できるとい
う効果がある。
As described above, according to this embodiment, in SAR image reproduction processing, data transfer between the disk and the transposition processing in the transposition processing and the processing before and after the transposition processing can be performed at high speed, and the overall processing time can be shortened.

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

本発明によれば、以上に述べた如く、2次元データをブ
ロック分割して外部記憶装置であるディスクに格納し、
各ブロックの境界に空き領域を設けることによってライ
ン単位のデータ転送における回転まち時間を減少させる
ことができるので、一般の長方形2次元データの転置を
、少ない主記憶装置で高速に実行できるという効果があ
る。
According to the present invention, as described above, two-dimensional data is divided into blocks and stored on a disk, which is an external storage device,
By providing free space at the boundaries of each block, it is possible to reduce the rotation wait time during line-by-line data transfer, which has the effect of allowing general rectangular two-dimensional data to be transposed at high speed with less main memory. be.

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

第1図はSAR画像再生処理の流れ図、第2図は2次元
データの外部記憶装置への格納形式を示す図、第3図は
転置アルゴリズムを示す図、第4図、第5図はディスク
内のデータ配置を示す図である。 21・・・転置前の2次元データ、23・・・主記憶装
置、24・・・転置後の2次元データ、41.41’ 
。 41#・・・ダミーデータ領域、42・・・1ラインの
デ第 1  口 第3図 ¥35 図
Figure 1 is a flowchart of SAR image reproduction processing, Figure 2 is a diagram showing the storage format of two-dimensional data in an external storage device, Figure 3 is a diagram showing the transposition algorithm, and Figures 4 and 5 are inside the disk. FIG. 2 is a diagram showing data arrangement of FIG. 21... Two-dimensional data before transposition, 23... Main memory, 24... Two-dimensional data after transposition, 41.41'
. 41#... Dummy data area, 42... 1st line data Figure 3 ¥35 Figure

Claims (1)

【特許請求の範囲】 1、演算器と主記憶装置と外部記憶装置とから成る装置
によって2次元データの転置を行う場合に上記2次元の
データをブロックに分割して上記外部記憶装置に格納す
ることを特徴とする2次元データの転置方式。 2、上記外部記憶装置内における各ブロックの境界に空
き領域を設けて、上記2次元のデータを記憶することを
特徴とする特許請求の範囲第1項記載の2次元データの
転置方式。
[Claims] 1. When transposing two-dimensional data using a device consisting of an arithmetic unit, a main storage device, and an external storage device, the two-dimensional data is divided into blocks and stored in the external storage device. A two-dimensional data transposition method characterized by: 2. The two-dimensional data transposition method according to claim 1, wherein a free area is provided at the boundary of each block in the external storage device to store the two-dimensional data.
JP14682584A 1984-07-17 1984-07-17 Displacing method of two-dimensional data Pending JPS6126128A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14682584A JPS6126128A (en) 1984-07-17 1984-07-17 Displacing method of two-dimensional data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14682584A JPS6126128A (en) 1984-07-17 1984-07-17 Displacing method of two-dimensional data

Publications (1)

Publication Number Publication Date
JPS6126128A true JPS6126128A (en) 1986-02-05

Family

ID=15416376

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14682584A Pending JPS6126128A (en) 1984-07-17 1984-07-17 Displacing method of two-dimensional data

Country Status (1)

Country Link
JP (1) JPS6126128A (en)

Similar Documents

Publication Publication Date Title
EP2446413B1 (en) Apparatus and method for displaying a warped version of a source image
JPS6037947B2 (en) Processor for Hadamard conversion
US7742063B2 (en) Efficient and high speed 2D data transpose engine for SOC application
US7397477B2 (en) Memory system having multiple address allocation formats and method for use thereof
JPH02278375A (en) Collective type optical disk system
JPH0715706B2 (en) Memory controller
JPS6126128A (en) Displacing method of two-dimensional data
US5910794A (en) Method and apparatus for storing and rotating bit patterns
JPS58151675A (en) Two-dimensional high speed fourier conversion processing method
JPS61145767A (en) Magnetic disk device
JPS58197562A (en) Magnetic disk device
US6873334B2 (en) Method of buffer management and task scheduling for two-dimensional data transforming
JPH0223572A (en) External storage controller
JPS58207170A (en) Picture processing system
JPH03102418A (en) Magnetic disk device
JP2714926B2 (en) Image processing method and image processing apparatus
JPH04306746A (en) Storage element access system for storage device
JPS581467B2 (en) File access quick access door
JPS60234268A (en) Data processing method of magnetic disk
JPH04350741A (en) Access speed increasing method for indexed sequential file
JPS585865A (en) Magnetic disk device
JPS6319858Y2 (en)
JPS61120986A (en) Signal processor for synthetic aperture radar
JPS6271990A (en) Storing method for image information
JPH0877338A (en) Method and device for storing image data