JP3291070B2 - Data transposition equipment - Google Patents

Data transposition equipment

Info

Publication number
JP3291070B2
JP3291070B2 JP12248993A JP12248993A JP3291070B2 JP 3291070 B2 JP3291070 B2 JP 3291070B2 JP 12248993 A JP12248993 A JP 12248993A JP 12248993 A JP12248993 A JP 12248993A JP 3291070 B2 JP3291070 B2 JP 3291070B2
Authority
JP
Japan
Prior art keywords
data
address
parallel
memory
serial
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
JP12248993A
Other languages
Japanese (ja)
Other versions
JPH06334869A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP12248993A priority Critical patent/JP3291070B2/en
Publication of JPH06334869A publication Critical patent/JPH06334869A/en
Application granted granted Critical
Publication of JP3291070B2 publication Critical patent/JP3291070B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Complex Calculations (AREA)
  • Image Processing (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ファクシミリ装置など
の画像処理装置に備えられ、カラー画像データを2次元
直交変換する際に用いるデータ転置装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transposition apparatus provided in an image processing apparatus such as a facsimile apparatus and used for two-dimensional orthogonal transformation of color image data.

【0002】画像処理装置において、イメージスキャナ
で読み取られた画像データは、符号化処理により符号デ
ータに変換された後に記憶手段に格納される。画像デー
タの符号化は、以下のように実行される。まず、画像デ
ータをN×N画素マトリクスからなる処理ブロックに分
割する。次に、分割された各処理ブロック内の画像デー
タ毎に離散コサイン変換等の2次元直交変換処理を実行
する。次に、2次元直交変換処理により求められる係数
データを所定のしきい値を用いて量子化する。次に、量
子化された係数データをハフマン符号化テーブルを参照
して符号化する。ここで、上記2次元直交変換は、N×
N画素マトリクスに分割された画像データを列方向(又
は行方向)に1次元直交変換(離散コサイン変換)した
後に、行方向(又は列方向)に1次元直交変換(離散コ
サイン変換)することで実行される。
2. Description of the Related Art In an image processing apparatus, image data read by an image scanner is converted into encoded data by an encoding process and then stored in a storage unit. The encoding of the image data is performed as follows. First, the image data is divided into processing blocks composed of an N × N pixel matrix. Next, a two-dimensional orthogonal transform process such as a discrete cosine transform is performed for each image data in each of the divided processing blocks. Next, the coefficient data obtained by the two-dimensional orthogonal transformation process is quantized using a predetermined threshold value. Next, the quantized coefficient data is encoded with reference to the Huffman encoding table. Here, the two-dimensional orthogonal transform is N ×
By performing one-dimensional orthogonal transformation (discrete cosine transformation) in the column direction (or row direction) on the image data divided into the N pixel matrix, and then performing one-dimensional orthogonal transformation (discrete cosine transformation) in the row direction (or column direction). Be executed.

【0003】また、符号データを画像データに復号化す
る処理は、以下のように実行される。まず、ハフマン復
号化により符号データを復号化して被量子化係数データ
を求める。次に、求められた被量子化係数データを係数
データへ逆量子化する。次に、係数データをN×N画素
マトリクスからなる各処理ブロックに分割する。分割さ
れた係数データを逆離散コサイン変換等の2次元直交変
換処理を実行する。2次元直交変換により得られる処理
ブロック単位の画像データを連続する画像データにし
て、例えば、表示用ディスプレイに出力する。ここで、
上記2次元直交変換は、N×N画素マトリクスに分割さ
れた係数データを列方向(又は行方向)に1次元直交変
換(逆離散コサイン変換)した後に、行方向(又は列方
向)に1次元直交変換(逆離散コサイン変換)すること
で実行される。
[0003] The process of decoding code data into image data is executed as follows. First, code data is decoded by Huffman decoding to obtain quantized coefficient data. Next, the obtained quantized coefficient data is inversely quantized into coefficient data. Next, the coefficient data is divided into processing blocks each composed of an N × N pixel matrix. A two-dimensional orthogonal transformation process such as an inverse discrete cosine transform is performed on the divided coefficient data. The image data for each processing block obtained by the two-dimensional orthogonal transformation is converted into continuous image data, and is output to, for example, a display. here,
In the two-dimensional orthogonal transformation, the coefficient data divided into an N × N pixel matrix is subjected to a one-dimensional orthogonal transformation (an inverse discrete cosine transformation) in a column direction (or a row direction), and then to a one-dimensional transformation in a row direction (or a column direction). This is performed by performing an orthogonal transform (inverse discrete cosine transform).

【0004】上記のように、2次元直交変換は、入力さ
れるN×N画素マトリクスからなる画像データもしくは
係数データを列方向(又は行方向)に1次元直交変換し
た後に、行方向(又は列方向)に1次元直交変換するこ
とで実行される。上記処理を実行するため、例えば、図
2に示すような8×8画素マトリクスの1次元直交変換
されたデータdnをメモリにd0,d1、d2、d3、
d4、…と行方向に一旦格納した後、該メモリからデー
タを列方向にd0,d8、d16、d24、d32、…
の順に読み出す装置がある(特開平4−531号公
報)。
As described above, in the two-dimensional orthogonal transformation, after the input image data or coefficient data composed of an N × N pixel matrix is one-dimensionally orthogonally transformed in the column direction (or the row direction), the two-dimensional orthogonal transformation is performed. Direction) by performing one-dimensional orthogonal transformation. In order to execute the above processing, for example, data dn obtained by one-dimensional orthogonal transformation of an 8 × 8 pixel matrix as shown in FIG. 2 is stored in a memory as d0, d1, d2, d3,.
After temporarily storing data in the row direction as d4,..., data from the memory is stored in the column direction as d0, d8, d16, d24, d32,.
(Japanese Unexamined Patent Publication No. 4-531).

【0005】[0005]

【発明が解決しようとする課題】しかし上記装置では、
8×8画素マトリクスからなるデータの書き込み/読み
出しが、基準クロック信号1サイクルに対して1画素分
のデータ単位で実行される。このため、データの転置処
理の速度が遅い。
However, in the above device,
Writing / reading of data composed of an 8 × 8 pixel matrix is executed in units of data of one pixel for one cycle of the reference clock signal. Therefore, the speed of the data transposition process is low.

【0006】そこで、本発明は、より効率良く迅速にデ
ータの転置を実行できるデータ転置装置を提供すること
を目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a data transposing apparatus capable of efficiently and quickly transposing data.

【0007】[0007]

【課題を解決するための手段】請求項1に記載されたデ
ータ転置装置は、上記N×N画素マトリクスを構成する
データがシリアル・データとして順次入力される入力端
子と、上記入力端子に入力されたシリアル・データを、
隣接する複数の画素分のデータからなる第1パラレル・
データに変換するシリアル・パラレル変換手段と、それ
ぞれマトリクス状のアドレス配列を備え、上記N×N画
素マトリクスを構成するデータを等分して記憶する複数
のメモリ領域からなり、各メモリ領域において、外部か
ら順次入力されるアドレス信号により指定されるアドレ
スに上記第1パラレル・データを構成するデータが書き
込まれ、また、同様に指定されるアドレスからデータが
読み出される記憶手段と、上記記憶手段を構成する各メ
モリ領域を所定のタイミングでデータ書き込み可能及び
データ読み出し可能に切り換える制御手段と、基準クロ
ック信号1サイクル単位で動作し、上記各メモリ領域の
データ書き込み及び読み出しに用いるアドレス信号を生
成するアドレス発生手段であって、基準クロック信号1
サイクルにつき、上記第1パラレル・データを構成する
複数の画素分のデータが、それぞれ、書き込み可能であ
る各メモリ領域に対して、行方向及び列方向のうちの一
方向に書き込まれるように、上記各メモリ領域における
i行j列のアドレスを指定するアドレス信号Ai,jを
出力する一方、基準クロック信号1サイクルにつき、上
記各メモリ領域に書き込まれた第2パラレル・データを
構成する複数の画素分のデータが、それぞれ、読み出し
可能である各メモリ領域から、上記第1パラレル・デー
タを構成する各データが書き込まれた方向と直交する方
向に読み出されるように、上記各メモリ領域におけるj
行i列のアドレスを指定するアドレス信号Aj,iを出
力するアドレス発生手段と、上記アドレス発生手段によ
り生成されたアドレス信号Ai,j及びAj,iを上記
各メモリ領域に出力するアドレスデコーダと、上記各メ
モリ領域より読み出された複数の画素分のデータからな
る上記第2パラレル・データをシリアル・データに変換
して出力するパラレル・シリアル変換手段とを有してい
ることを特徴としたものである。
According to a first aspect of the present invention, there is provided a data transposition apparatus, comprising: an input terminal to which data constituting the N × N pixel matrix is sequentially input as serial data; The serial data
A first parallel data consisting of data for a plurality of adjacent pixels
A serial / parallel conversion means for converting data into data, and a plurality of memory areas each having a matrix-shaped address array and equally dividing and storing the data constituting the N × N pixel matrix. The data forming the first parallel data is written to an address specified by an address signal sequentially input from the storage device, and the storage means reads data from the similarly specified address, and forms the storage means. Control means for switching each memory area so that data can be written and data can be read at a predetermined timing; and address generating means which operates in units of one cycle of a reference clock signal and generates address signals used for writing and reading data in each memory area. And the reference clock signal 1
For each cycle, the data for a plurality of pixels constituting the first parallel data is written in each of the writable memory areas in one of the row direction and the column direction. While outputting an address signal Ai, j designating the address of the i-th row and the j-th column in each memory area, a plurality of pixels constituting the second parallel data written in each of the memory areas per one cycle of the reference clock signal. Is read from each readable memory area in a direction orthogonal to the direction in which each piece of data constituting the first parallel data is written.
Address generating means for outputting an address signal Aj, i designating an address in a row i column, an address decoder for outputting the address signals Ai, j and Aj, i generated by the address generating means to each of the memory areas, Parallel serial conversion means for converting the second parallel data consisting of data for a plurality of pixels read from each memory area into serial data and outputting the serial data. It is.

【0008】請求項2に記載されたデータ転置装置は、
上記N×N画素マトリクスを構成するデータがシリアル
・データとして順次入力される入力端子と、上記入力端
子に入力されるシリアル・データを、隣接する2画素分
のデータからなる第1パラレル・データに変換するシリ
アル・パラレル変換手段と、それぞれマトリクス状のア
ドレス配列を備え、上記N×N画素マトリクスを構成す
るデータを等分して記憶する第1,第2,第3及び第4
のメモリからなり、各メモリにおいて、外部から順次入
力されるアドレス信号により指定されるアドレスに上記
第1パラレルデータを構成するデータが書き込まれ、ま
た、同様に指定されるアドレスからデータが読み出され
る記憶手段と、上記第1及び第3のメモリの組と第2及
び第4のメモリの組を所定のタイミングで交互に書き込
み可能にする一方、上記第1及び第2のメモリの組と第
3及び第4のメモリの組を所定のタイミングで交互に読
出し可能にする制御手段と、基準クロック信号1サイク
ル単位で動作し、上記各メモリのデータ書込み及び読み
出しに用いるアドレス信号を生成するアドレス発生手段
であって、基準クロック信号1サイクルにつき、上記第
1パラレル・データを構成する2画素分のデータが、そ
れぞれ、書き込み可能である第1及び第3のメモリの組
および上記第2及び第4のメモリの組のいずれか一方に
対して、行方向及び列方向のうちの一方向に順次書き込
まれるように、上記各メモリにおけるi行j列のアドレ
スを指定するアドレス信号Ai,jを出力する一方、基
準クロック信号1サイクルにつき、上記各メモリに書き
込まれた第2パラレル・データを構成する2画素分のデ
ータが、それぞれ、読み出し可能である上記第1及び第
2のメモリの組および上記第3及び第4のメモリの組か
ら、上記第1パラレル・データを構成する各データが書
き込まれた方向と直交する方向に順次読み出されるよう
に、上記各メモリにおけるj行i列のアドレスを指定す
るアドレス信号Aj,iを出力するアドレス発生手段
と、上記第1パラレル・データを構成する各データの書
き込みに際して、基準クロック信号の1サイクルにつ
き、上記アドレス発生手段により生成されたアドレス信
号Ai,jを、第1及び第3のメモリの組および上記第
2及び第4のメモリの組に順次出力する一方、上記第2
のパラレル・データを構成する各データの読み出しに際
して、基準クロック信号の1サイクルにつき、上記アド
レス発生手段により生成されたアドレス信号Aj,i
を、上記第1及び第2のメモリの組および上記第3及び
第4のメモリの組へ順次出力するアドレスデコーダと、
上記第1及び第2のメモリの組および第3及び第4のメ
モリの組のいずれか一方から読み出された2画素分のデ
ータからなる第2パラレル・データをシリアル・データ
に変換して出力するパラレル・シリアル変換手段とを有
していることを特徴としたものである。
According to a second aspect of the present invention, there is provided a data transposition apparatus.
An input terminal to which data constituting the N × N pixel matrix is sequentially input as serial data, and serial data input to the input terminal into first parallel data composed of data of two adjacent pixels. First, second, third, and fourth serial / parallel conversion means for converting, and a matrix-shaped address array, each of which equally divides and stores data constituting the N × N pixel matrix.
In each memory, data constituting the first parallel data is written to an address specified by an address signal sequentially input from the outside, and data is read from the similarly specified address. Means for enabling the first and third memory sets and the second and fourth memory sets to be alternately writable at a predetermined timing, while the first and second memory sets and third and Control means for enabling the fourth memory set to be alternately read at a predetermined timing; and address generating means for operating in units of one cycle of the reference clock signal and generating address signals used for data writing and reading of each memory. The data of two pixels constituting the first parallel data is written in each cycle of the reference clock signal. Each of the first and third sets of memories and the second and fourth sets of memories is sequentially written in one of a row direction and a column direction. While outputting an address signal Ai, j designating the address of the i-th row and the j-th column in the memory, the data of two pixels constituting the second parallel data written in each memory per one cycle of the reference clock signal is: From the set of the first and second memories and the set of the third and fourth memories, which are readable, respectively, in the direction orthogonal to the direction in which each data constituting the first parallel data is written. Address generating means for outputting an address signal Aj, i for designating the address of the j-th row and the i-th column in each of the memories and the first parallel data; At the time of writing each data, the address signal Ai, j generated by the address generating means for one cycle of the reference clock signal is transferred to the set of the first and third memories and the set of the second and fourth memories. , While the second
When reading each data constituting the parallel data, the address signal Aj, i generated by the address generating means per one cycle of the reference clock signal.
An address decoder for sequentially outputting to the first and second memory sets and the third and fourth memory sets,
The second parallel data consisting of data for two pixels read from one of the first and second memory sets and the third and fourth memory sets is converted into serial data and output. And a parallel-to-serial converter.

【0009】請求項3に記載されたデータ転置装置は、
上記N×N画素マトリクスを構成するデータがシリアル
・データとして順次入力される入力端子と、上記入力端
子に入力されるシリアル・データを、隣接する2画素分
のデータからなる第1パラレル・データに変換するシリ
アル・パラレル変換手段と、それぞれマトリクス状のア
ドレス配列を備え、上記N×N画素マトリクスを構成す
るデータを等分して記憶する複数のメモリ領域からな
り、各記録手段において、外部から順次入力されるアド
レス信号により指定されるアドレスに上記第1パラレル
データを構成するデータが書き込まれ、また、同様に指
定されるアドレスからデータが読み出される第1の記憶
手段と、それぞれマトリクス状のアドレス配列を備え、
上記N×N画素マトリクスを構成するデータを等分して
記憶する複数のメモリ領域からなり、各記録手段におい
て、外部から順次入力されるアドレス信号により指定さ
れるアドレスに上記第1パラレルデータを構成するデー
タが書き込まれ、また、同様に指定されるアドレスから
データが読み出される第2の記憶手段と、上記第1及び
第2の記憶手段のいずれか一方を書き込み可能とすると
同時に、他方を読み出し可能にする制御手段と、基準ク
ロック信号1サイクル単位で動作し、上記各記憶手段を
構成するメモリ領域のデータ書込み及び読み出しに用い
るアドレス信号を生成するアドレス発生手段であって、
基準クロック信号1サイクルにつき、上記第1パラレル
・データを構成する2画素分のデータが、それぞれ、上
記第1及び第2の記憶手段のいずれか一方の各メモリ領
域に対して、行方向及び列方向のうちの一方向に順次書
き込まれるように、各メモリ領域におけるi行j列のア
ドレスを指定するアドレス信号Ai,jを出力すると同
時に、上記第1及び第2の記憶手段の他方に対して、第
2パラレル・データを構成する2画素分のデータが、そ
れぞれ、上記記憶手段から、上記第1パラレル・データ
が書き込まれた方向と直交する方向に読み出されるよう
に、各メモリ領域におけるj行i列のアドレスを指定す
るアドレス信号Aj,iを出力するアドレス発生手段
と、上記アドレス発生手段から出力されるアドレス信号
Ai,jを、上記制御手段により書き込み可能にされた
上記第1及び第2の記憶手段のいずれか一方の各メモリ
領域に出力すると同時に、上記アドレス発生手段から出
力されるアドレス信号Aj,iを、上記制御手段により
読み出し可能にされた上記第1及び第2の記憶手段の他
方に出力するアドレスデコーダと、上記第1及び第2の
記憶手段のいずれか一方の各メモリ領域から読み出され
た2画素分のデータからなる第2パラレル・データをシ
リアル・データに変換して出力するパラレル・シリアル
変換手段とを有していることを特徴としたものである。
According to a third aspect of the present invention, there is provided a data transposition apparatus.
An input terminal to which data constituting the N × N pixel matrix is sequentially input as serial data, and serial data input to the input terminal into first parallel data composed of data of two adjacent pixels. A serial / parallel conversion means for converting, and a plurality of memory areas each having a matrix-shaped address array and equally dividing and storing the data constituting the N × N pixel matrix, are sequentially stored in each recording means from the outside. First storage means for writing data constituting the first parallel data at an address specified by an input address signal, and reading data from the similarly specified address; and a matrix-like address array With
It comprises a plurality of memory areas for equally dividing and storing data constituting the N × N pixel matrix, and in each recording means, configures the first parallel data at an address specified by an address signal sequentially input from the outside. And the second storage means from which data is written and the data is read from the similarly designated address, and one of the first and second storage means is made writable, while the other is made readable. And an address generating means which operates in units of one cycle of the reference clock signal and generates address signals used for writing and reading data in the memory area constituting each of the storage means,
For one cycle of the reference clock signal, two pixels of data constituting the first parallel data are stored in the row direction and the column, respectively, in one of the memory areas of the first and second storage means. At the same time as outputting an address signal Ai, j designating the address of the i-th row and the j-th column in each memory area so as to be sequentially written in one of the directions, the other one of the first and second storage means is , J rows in each memory area such that data for two pixels constituting the second parallel data is read from the storage means in a direction orthogonal to the direction in which the first parallel data is written. address generating means for outputting an address signal Aj, i designating the address of the i-th column, and an address signal Ai, j output from the address generating means, The address signal Aj, i output from the address generation means can be read out by the control means at the same time as the data is output to each one of the first and second storage means made writable by the means. An address decoder for outputting to the other of the first and second storage means and data for two pixels read from each memory area of one of the first and second storage means. Parallel-to-serial conversion means for converting the second parallel data into serial data and outputting the serial data.

【0010】請求項4に記載されたデータ転置装置は、
上記N×N画素マトリクスを構成するデータがシリアル
・データとして順次入力される入力端子と、上記入力端
子に入力されたシリアル・データを、隣接する2画素分
のデータからなる第1パラレル・データに変換するシリ
アル・パラレル変換手段と、それぞれマトリクス状に配
列した複数のアドレスを備え、上記N×N画素マトリク
スを構成するデータを等分して記憶する複数のメモリ領
域からなり、各メモリ領域において、外部から順次入力
されるアドレス信号により指定されるアドレスに対して
データが書き込まれ、また、同様に指定されるアドレス
からデータが読み出される記憶手段と、基準クロック信
号1サイクル単位で動作し、上記記憶手段を構成する各
メモリ領域のデータ書き込み及び読み出しに用いるアド
レス信号を生成するアドレス発生手段であって、上記第
1パラレル・データを構成する2画素分のデータが、そ
れぞれ、書き込み可能であるメモリ領域に対して、行方
向及び列方向のうちの一方向に順次書き込まれるよう
に、上記メモリ領域におけるi行j列のアドレスを指定
するアドレス信号Ai,jを出力し、他方、上記各メモ
リ領域に書き込まれた第2パラレル・データを構成する
2画素分のデータが、それぞれ、読み出し可能であるメ
モリ領域から、上記第1パラレル・データを書き込んだ
方向と直交する方向に読み出されるように、上記各メモ
リ領域におけるj行i列のアドレスを指定するアドレス
信号Aj,iを出力するアドレス発生手段と、上記アド
レス発生手段により生成されたアドレス信号Ai,j及
びAj,iを上記メモリ領域に出力するアドレスデコー
ダと、最初に上記記憶手段の各メモリ領域を書き込み可
能にして、N×N画素マトリクス分のデータを記憶させ
た後、基準クロック信号1サイクル中に、上記記憶手段
の各メモリ領域を書き込み/読み出し可能にし、上記記
憶手段の各メモリ領域から1つのデータを読み出した後
に、データが読み出された場合と同一のアドレスに新規
のデータを書き込ませる制御手段と、上記記憶手段の各
メモリ領域から読み出された2画素分のデータからなる
第2パラレル・データをシリアル・データに変換して出
力するパラレル・シリアル変換手段とを有していること
を特徴としたものである。
According to a fourth aspect of the present invention, there is provided a data transposing apparatus.
An input terminal to which data forming the N × N pixel matrix is sequentially input as serial data, and serial data input to the input terminal into first parallel data composed of data of two adjacent pixels. A serial-parallel conversion means for converting, and a plurality of memory areas each of which has a plurality of addresses arranged in a matrix and stores the data constituting the N × N pixel matrix in equal parts. Data is written to an address specified by an address signal sequentially input from the outside, and storage means for reading data from the similarly specified address. Generating an address signal used for writing and reading data in each memory area constituting the means; Address generating means for writing two pixels of data constituting the first parallel data sequentially into one of a row direction and a column direction in a writable memory area; Outputs an address signal Ai, j designating the address of the i-th row and the j-th column in the memory area. On the other hand, the data of two pixels constituting the second parallel data written in each of the memory areas are respectively And outputting an address signal Aj, i designating the address of the j-th row and the i-th column in each of the memory areas so as to be read from the readable memory area in a direction orthogonal to the direction in which the first parallel data is written. Address generating means for outputting the address signals Ai, j and Aj, i generated by the address generating means to the memory area. First, each memory area of the storage means is made writable, and data for an N × N pixel matrix is stored, and then each memory area of the storage means is written in one cycle of the reference clock signal. Read / write control means for reading out one piece of data from each memory area of the storage means and then writing new data to the same address as when the data was read out; and each memory area of the storage means And parallel-to-serial conversion means for converting the second parallel data composed of the data for two pixels read from the second into serial data and outputting the serial data.

【0011】[0011]

【作用】請求項1に記載されたデータ転置装置の入力端
子に、N×N画素マトリクス分のデータが入力された場
合、シリアル・パラレル変換手段は、上記入力されたデ
ータを複数の画素分のデータからなる第1パラレル・デ
ータに変換する。制御手段は、記憶手段の各メモリ領域
を書き込み可能にする。これに伴い、アドレスデコーダ
は、アドレス発生手段から出力されるアドレス信号A
i,jを記憶手段に出力する。記憶手段の各メモリ領域
には、アドレス信号Ai,jにより指定されるアドレス
に、第1パラレル・データが書き込まれる。記憶手段に
N×N画素マトリクス分のデータが記憶された後、制御
手段は、記憶手段の各メモリ領域を読み出し可能にす
る。これに伴い、アドレスデコーダは、アドレス発生手
段から出力されるアドレス信号Aj,iを記憶手段に出
力する。記憶手段の各メモリ領域から、アドレス信号A
j,iにより指定されるアドレスに記憶される第2パラ
レル・データが読み出される。パラレル・シリアル変換
手段は、記憶手段の各メモリ領域から読み出された第2
パラレル・データをシリアル・データに変換して出力す
る。
When data of an N × N pixel matrix is input to an input terminal of the data transposition device according to claim 1, the serial / parallel conversion means converts the input data to a plurality of pixels. Data is converted to first parallel data. The control means makes each memory area of the storage means writable. Accordingly, the address decoder outputs the address signal A output from the address generation means.
i and j are output to the storage means. First parallel data is written to each memory area of the storage means at an address specified by the address signal Ai, j. After the data of the N × N pixel matrix is stored in the storage unit, the control unit makes each memory area of the storage unit readable. Accordingly, the address decoder outputs the address signal Aj, i output from the address generation means to the storage means. From each memory area of the storage means, an address signal A
The second parallel data stored at the address specified by j and i is read. The parallel-to-serial conversion means is configured to read the second data read from each memory area of the storage means.
Converts parallel data to serial data and outputs.

【0012】請求項2に記載されたデータ転置装置の入
力端子にN×N画素マトリクス分のデータが入力された
場合、シリアル・パラレル変換手段は、上記入力された
データを2画素分のデータからなる第1パラレル・デー
タに変換する。制御手段は、第1及び第3のメモリ領域
と、第2及び第4のメモリ領域を所定のタイミングで書
き込み可能とする。制御手段により第1及び第3のメモ
リ領域が書き込み可能とされている場合、アドレスデコ
ーダは、アドレス発生手段から出力されるアドレス信号
Ai,jを、第1及び第3のメモリ領域に交互に出力す
る。また、制御手段により第2及び第4のメモリ領域が
書き込み可能とされている場合、アドレスデコーダは、
アドレス発生手段から出力されるアドレス信号Ai,j
を第2及び第4のメモリ領域に交互に出力する。第1〜
第4のメモリ領域では、アドレス発生手段から出力され
るアドレス信号Ai,jが指定するアドレスに上記パラ
レル・データを書き込む。第1〜第4のメモリ領域にN
×N画素マトリクス分のデータが格納された後、制御手
段は、第1及び第2のメモリ領域と、第3及び第4のメ
モリ領域を所定のタイミングで読み出し可能にする。制
御手段により第1及び第2のメモリ領域が読み出し可能
とされている場合、アドレスデコーダは、アドレス発生
手段から出力されるアドレス信号Aj,iを第1及び第
2のメモリ領域に交互に出力する。また、制御手段によ
り第3及び第4のメモリ領域が読み出し可能とされてい
る場合、アドレスデコーダは、アドレス発生手段により
出力されるアドレス信号Aj,iを第3及び第4のメモ
リ領域に交互に出力する。第1〜第4のメモリ領域は、
アドレス発生手段により出力されるアドレス信号Aj,
iにより指定されるアドレスに記憶されている2画素分
のデータを第2パラレル・データとして読み出す。パラ
レル・シリアル変換手段は、第2パラレル・データをシ
リアル・データに変換して出力する。
When data of an N × N pixel matrix is input to an input terminal of the data transposition device according to the second aspect, the serial / parallel conversion means converts the input data from data of two pixels. Into the first parallel data. The control means enables the first and third memory areas and the second and fourth memory areas to be written at a predetermined timing. When the first and third memory areas are writable by the control means, the address decoder alternately outputs the address signals Ai, j output from the address generation means to the first and third memory areas. I do. Further, when the second and fourth memory areas are set to be writable by the control means, the address decoder
Address signal Ai, j output from address generation means
Are alternately output to the second and fourth memory areas. First to first
In the fourth memory area, the parallel data is written to the address specified by the address signal Ai, j output from the address generation means. N in the first to fourth memory areas
After the data for the × N pixel matrix is stored, the control unit makes the first and second memory areas and the third and fourth memory areas readable at a predetermined timing. When the first and second memory areas are readable by the control means, the address decoder alternately outputs the address signals Aj, i output from the address generation means to the first and second memory areas. . When the third memory area and the fourth memory area are readable by the control means, the address decoder alternately transfers the address signals Aj, i output by the address generation means to the third and fourth memory areas. Output. The first to fourth memory areas are:
Address signals Aj,
The data for two pixels stored at the address specified by i is read as second parallel data. The parallel-serial conversion means converts the second parallel data into serial data and outputs the serial data.

【0013】請求項3に記載されたデータ転置装置の入
力端子にN×N画素マトリクス分のシリアル・データが
入力された場合、シリアル・パラレル変換手段は、上記
入力されたシリアル・データを2画素分のデータからな
る第1パラレル・データに変換する。制御手段は、第1
の記憶手段を書き込み可能にすると共に、第2の記憶手
段を読み出し可能にする。これに伴い、アドレスデコー
ダは、アドレス発生手段から出力されるアドレス信号A
i,jを第1の記憶手段に出力すると共に、アドレス信
号Aj,iを第2記憶手段に出力する。第1記憶手段
は、アドレス信号Ai,jにより指定されるアドレスに
第1パラレル・データを記憶する。第2の記憶手段に
は、データが記憶されていないため、アドレス信号A
j,iの入力に対して何も読み出さない。第1の記憶手
段にN×N画素マトリクス分のデータが記憶された後、
制御手段は、第1の記憶手段を読み出し可能にすると共
に、第2の記憶手段を書き込み可能にする。これに伴
い、アドレスデコーダは、アドレス発生手段から出力さ
れるアドレス信号Aj,iを第1の記憶手段に出力する
と共に、アドレス発生手段から出力されるアドレスA
i,jを第2の記憶手段に出力する。第1の記憶手段
は、アドレス信号Aj,iにより指定されるアドレスに
記憶された2画素分のデータを第2パラレル・データと
して読み出す。第2の記憶手段は、入力されるアドレス
信号Ai,jにより指定されるアドレスに第1パラレル
・データを書き込む。第1の記憶手段から読み出された
第2パラレル・データは、パラレル・シリアル変換手段
によりシリアル・データに変換されて出力される。
When serial data of an N × N pixel matrix is input to the input terminal of the data transposition device according to the third aspect, the serial / parallel conversion means converts the input serial data into two pixels. Is converted into first parallel data composed of minute data. The control means includes:
Is writable, and the second storage means is readable. Accordingly, the address decoder outputs the address signal A output from the address generation means.
i, j is output to the first storage means, and the address signal Aj, i is output to the second storage means. The first storage means stores the first parallel data at an address specified by the address signal Ai, j. Since no data is stored in the second storage means, the address signal A
Nothing is read for the inputs of j and i. After the data of the N × N pixel matrix is stored in the first storage unit,
The control unit makes the first storage unit readable and the second storage unit writable. Accordingly, the address decoder outputs the address signal Aj, i output from the address generation means to the first storage means, and outputs the address signal Aj, i output from the address generation means.
i and j are output to the second storage means. The first storage unit reads out data of two pixels stored at an address specified by the address signal Aj, i as second parallel data. The second storage writes the first parallel data to an address specified by the input address signal Ai, j. The second parallel data read from the first storage is converted into serial data by the parallel-serial converter and output.

【0014】請求項4に記載されたデータ転置装置の端
子にN×N画素マトリクス分のデータが入力された場
合、シリアル・パラレル変換手段は、入力されたデータ
を2画素分のデータからなる第1パラレル・データに変
換する。制御手段は、記憶手段の各メモリ領域を書き込
み可能にする。これに伴い、アドレスデコーダは、アド
レス発生手段から出力されたアドレス信号Ai,jを記
憶手段の各メモリ領域に出力する。各メモリ領域は、ア
ドレス信号Ai,jにより指定されるアドレスに上記第
1パラレル・データを記憶する。一旦、記憶手段にN×
N画素マトリクス分のデータが記憶された後、制御手段
は、基準クロック信号1サイクル中に記憶手段の各メモ
リ領域を読み出し可能/書き込み可能にする。アドレス
デコーダは、アドレス発生手段から出力されるアドレス
信号Aj,iを記憶手段の各メモリ領域に出力する。制
御手段により記憶手段が書き込み可能とされている場
合、記憶手段の各メモリ領域から、アドレス信号Aj,
iにより指定されるアドレスに記憶された2画素分のデ
ータからなる第2パラレル・データが読み出される。制
御手段により記憶手段の各メモリ領域が書き込み可能と
されている場合、各メモリ領域には、上記データを読み
出したアドレス信号Aj,iにより指定されるアドレス
に新規の第1パラレル・データが書き込まれる。パラレ
ル・シリアル変換手段は、各メモリ領域から読み出され
た第2パラレル・データをシリアル・データに変換して
出力する。
When data of an N × N pixel matrix is input to the terminal of the data transposition device according to the fourth aspect, the serial / parallel conversion means converts the input data to data of two pixels. Convert to 1 parallel data. The control means makes each memory area of the storage means writable. Accordingly, the address decoder outputs the address signal Ai, j output from the address generation means to each memory area of the storage means. Each memory area stores the first parallel data at an address specified by the address signal Ai, j. Once the storage means is N ×
After the data for the N pixel matrix is stored, the control means makes each memory area of the storage means readable / writable during one cycle of the reference clock signal. The address decoder outputs an address signal Aj, i output from the address generation means to each memory area of the storage means. When the control means allows the storage means to write data, the address signals Aj, Aj,
The second parallel data composed of the data for two pixels stored at the address specified by i is read. When each memory area of the storage means is writable by the control means, new first parallel data is written into each memory area at an address specified by the address signal Aj, i from which the data has been read. . The parallel-serial conversion means converts the second parallel data read from each memory area into serial data and outputs the serial data.

【0015】[0015]

【実施例】本発明のデータ転置装置は、データの入力端
子に複数のレジスタを備え、端子に入力されるシリアル
・データを複数の所定の画素分のデータからなるパラレ
ル・データに変換し、基準クロック信号の1サイクルに
上記パラレル・データをメモリに格納することを特徴と
する。これにより、従来の装置と比べて基準クロック信
号の1サイクルに数倍の速度でデータを転置する。第1
実施例のデータ転置装置は、入力端子に2つのレジスタ
を備え、基準クロック信号の1サイクルで2画素分のデ
ータからなるパラレル・データをメモリに書き込む。メ
モリにデータが書き込まれた後、基準クロック信号の1
サイクルに2画素分のデータを転置して出力する。ま
た、第1実施例の変形例では、行方向に格納されたデー
タを列方向に転置して読み出すと共に、データを読み出
したアドレスに新規のデータを順次格納する。これによ
り上記行方向に格納された全てのデータの読み出しが終
了すると同時に、新規のデータのメモリへの列方向の書
き込みが終了する。次のデータの読み出しは、列方向に
格納されたデータを行方向から読み出すと共に、データ
を読み出したアドレスへ別の新規のデータを順次格納す
る。これにより基準クロック信号の1サイクルで2画素
分のデータの書き込み、及び転置されたデータの読み出
しができる。また、第2実施例のデータ転置装置は、入
力端子に2つのレジスタを備えると共に、転置するデー
タの2倍の容量のメモリを備え、一方のメモリにデータ
を書き込む際にもう一方のメモリに格納されたデータを
読み出す。これにより、従来例と比べて基準クロック信
号の1サイクルに2画素分のデータの書き込み、及び転
置されたデータを読み出すことができる。以下、本発明
のデータ転置装置について説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A data transposition apparatus according to the present invention has a plurality of registers at a data input terminal, converts serial data input to the terminal into parallel data composed of data of a plurality of predetermined pixels, The parallel data is stored in a memory in one cycle of a clock signal. As a result, data is transposed at several times the speed of one cycle of the reference clock signal as compared with the conventional device. First
The data transposition apparatus of the embodiment has two registers at the input terminal, and writes parallel data composed of data for two pixels to the memory in one cycle of the reference clock signal. After data is written to the memory, the reference clock signal 1
Data for two pixels is transposed and output in a cycle. In a modification of the first embodiment, data stored in the row direction is transposed and read in the column direction, and new data is sequentially stored at the address from which the data was read. This completes the reading of all the data stored in the row direction and the writing of new data in the memory in the column direction. In reading the next data, the data stored in the column direction is read from the row direction, and another new data is sequentially stored at the address from which the data was read. Thus, data for two pixels can be written and transposed data can be read in one cycle of the reference clock signal. Further, the data transposition device of the second embodiment has two registers at the input terminal, a memory having twice the capacity of the data to be transposed, and stores the data in one memory when writing the data to the other memory. The read data is read. As a result, data for two pixels can be written and transposed data can be read in one cycle of the reference clock signal as compared with the conventional example. Hereinafter, the data transposition apparatus of the present invention will be described.

【0016】(1)第1実施例 図1は、本発明のデータ転置装置100の構成を示す図
である。データ転置装置100は、シリアル入力される
データを2画素分のデータからなるパラレル・データと
して出力するためのレジスタ101及び102と、N×
N画素マトリクスの画像データ入力がされる場合に(N
×N)/4画素分のデータを記憶する4個のレジスタフ
ァイル103〜106と、基準クロック信号1サイクル
にN/2ビットのアドレス信号を1つ発生し、アドレス
デコーダ107に出力するアドレス発生器108と、レ
ジスタファイル103〜106に、アドレス発生器10
8から入力されるアドレス信号を出力するアドレスデコ
ーダ107と、各レジスタファイル103〜106から
出力されるパラレル・データをシリアル・データに変換
するレジスタ110及びマルチプレクサ111と、読み
出し/書き込み制御部109から構成される。なお、本
実施例では、8×8画素マトリクスからなる画像データ
を用いる。従って、レジスタファイル103〜106
は、各々16画素分のデータを格納できるものを用い
る。
(1) First Embodiment FIG. 1 is a diagram showing a configuration of a data transposition apparatus 100 according to the present invention. The data transposition device 100 includes registers 101 and 102 for outputting serially input data as parallel data composed of data for two pixels, and N × N registers.
When image data of an N pixel matrix is input, (N
.Times.N) / 4 register files 103 to 106 for storing data for 4 pixels, and an address generator for generating one N / 2-bit address signal in one cycle of the reference clock signal and outputting it to the address decoder 107. 108 and the register files 103 to 106 include the address generator 10
8 comprises an address decoder 107 for outputting an address signal inputted from the register file 8, a register 110 and a multiplexer 111 for converting parallel data outputted from each of the register files 103 to 106 into serial data, and a read / write control unit 109. Is done. In the present embodiment, image data composed of an 8 × 8 pixel matrix is used. Therefore, the register files 103 to 106
Are used which can store data for 16 pixels each.

【0017】データ転置装置100には、図2に示すよ
うに行方向に並べられた8×8画素マトリクスのシリア
ル・データが、d0,d1,d2,d3…,dn,…,
d63の順に入力される。ここで、データdnのnの値
は、データ番号を示す。装置100に入力されたデータ
は、レジスタ101及び102で<d0,d1>、<d
2,d3>、…といった2画素分のデータからなるパラ
レル・データに変換される。次に、データの配列を行方
向から列方向に入れ換えるために、上記パラレル・デー
タをレジスタファイル103〜106に書き込む処理を
実行する。まず、読み出し/書き込み制御部109から
各レジスタファイル103〜106に制御信号が出力さ
れ、書き込み可能状態にされる。書き込み可能状態にあ
るレジスタファイル103〜106は、アドレスデコー
ダ107から出力される4ビットのアドレス信号Ai,
jにより指定されるアドレスにデータdnを格納する
(図3参照)。
The data transposing apparatus 100 stores serial data of an 8 × 8 pixel matrix arranged in a row direction as shown in FIG. 2 in d0, d1, d2, d3..., Dn,.
They are input in the order of d63. Here, the value of n of the data dn indicates a data number. The data input to the device 100 is stored in registers 101 and 102 at <d0, d1>, <d
2, d3>,... Are converted into parallel data composed of data for two pixels. Next, in order to change the data array from the row direction to the column direction, a process of writing the parallel data into the register files 103 to 106 is executed. First, a control signal is output from the read / write control unit 109 to each of the register files 103 to 106 so that the register files 103 to 106 are set in a writable state. The register files 103 to 106 in a writable state include 4-bit address signals Ai,
The data dn is stored at the address specified by j (see FIG. 3).

【0018】アドレスデコーダ107からレジスタファ
イル103〜106に出力される4ビットのアドレス信
号は、アドレス発生器108により生成される。図5
は、アドレス発生器108の構成図である。アドレス発
生器108は、2個の2ビットカウンタ150及び15
1を備え、スイッチングゲート152を用いて各々のカ
ウンタから出力される2ビットの信号i及びjを組み合
わせて4ビットのアドレス信号Ai,j及びAj,iを
構成する。2ビットカウンタ150及び151には、基
準クロック信号が入力される。アドレス発生器108で
は、入力される基準クロック信号の1サイクルに1つの
アドレス信号を出力する。カウンタ150からは、2ビ
ットのアドレス信号j(a2,a3)が出力される。ま
た、カウンタ151からは、2ビットのアドレス信号i
(a0,a1)が出力される。アドレス発生器108
は、この各2ビットのアドレス信号i及びjを組み合わ
せて4ビットのアドレス信号Ai,j及びAj,iを構
成する。図5に示すスイッチングゲート152の切換に
より、アドレス発生器108から出力される4ビットの
アドレス信号は、Ai,j=(a0,a1,a2,a
3)と、Aj,i=(a2,a3,a0,a1)の2通
りとなる。この2つのアドレス信号の関係は、レジスタ
ファイル103〜106において行アドレスと、列アド
レスとを入れ換えたものに相当する。例えば、アドレス
信号i(a0,a1)が(1,1)であり、アドレス信
号j(a2,a3)が(0,0)である場合、アドレス
発生器108はスイッチングゲート152の切換により
Ai,j=(1100)のアドレス信号と、Aj,i=
(0011)のアドレス信号を出力する。図3から理解
されるように、アドレス(0011)と(1100)と
は、互いに行/列のアドレスを入れ換えたものに相当す
る。アドレス発生器108は、データを書き込む場合に
は、アドレス信号Ai,j=(a0,a1,a2,a
3)を出力する。また、データを読み出す場合には、ア
ドレス信号Aj,i=(a2,a3,a0,a1)を出
力する。
A 4-bit address signal output from the address decoder 107 to the register files 103 to 106 is generated by an address generator 108. FIG.
3 is a configuration diagram of the address generator 108. The address generator 108 has two 2-bit counters 150 and 15
1 and the 4-bit address signals Ai, j and Aj, i are configured by combining the 2-bit signals i and j output from each counter using the switching gate 152. The reference clock signal is input to the 2-bit counters 150 and 151. The address generator 108 outputs one address signal in one cycle of the input reference clock signal. The counter 150 outputs a 2-bit address signal j (a2, a3). The counter 151 outputs a 2-bit address signal i.
(A0, a1) is output. Address generator 108
Constitutes 4-bit address signals Ai, j and Aj, i by combining the 2-bit address signals i and j. By switching the switching gate 152 shown in FIG. 5, the 4-bit address signal output from the address generator 108 is Ai, j = (a0, a1, a2, a
3) and Aj, i = (a2, a3, a0, a1). The relationship between these two address signals corresponds to the one obtained by exchanging the row address and the column address in the register files 103 to 106. For example, when the address signal i (a0, a1) is (1, 1) and the address signal j (a2, a3) is (0, 0), the address generator 108 switches Ai, j = (1100) address signal and Aj, i =
An address signal (0011) is output. As can be understood from FIG. 3, the addresses (0011) and (1100) correspond to the addresses in which the row / column addresses are interchanged. When writing data, the address generator 108 generates an address signal Ai, j = (a0, a1, a2, a
3) is output. When data is read, an address signal Aj, i = (a2, a3, a0, a1) is output.

【0019】具体的には、まず、アドレスデコーダ10
7は、レジスタファイル103及び105に4つのアド
レス信号Ai,j=(0000)〜(0011)を出力す
る。アドレス信号Ai,jを受け取ったレジスタファイル
103及び105は、該当するアドレスの位置に、レジ
スタ101及び102から<d0,d1>、<d2,d
3>、<d4,d5>、<d6,d7>のデータを順に
受け取る。従って、レジスタファイル103及び105
には、受け取ったデータが図4に示されるように列方向
に格納される。次にアドレスデコーダ107は、レジス
タファイル104及び106に4つのアドレス信号Ai,
j=(0000)〜(0011)を出力する。アドレス
信号Ai,jを受け取ったレジスタファイル104及び1
06は、該当するアドレスの位置に、レジスタ101及
び102から<d8,d9>、<d10,d11>、<
d12,d13>、<d14,d15>のデータを順に
受け取る。従って、レジスタファイル104及び106
には、受け取ったデータが図4に示されるように列方向
に格納される。アドレスデコーダ107は、レジスタ1
01及び102からパラレル・データが4つ(8画素
分)出力される毎に、レジスタファイル103及び10
5と、レジスタファイル104及び106に各アドレス
信号Ai,j=(0100)〜(0111)、Ai,j=(1
000)〜(1011)及びAi,j=(1100)〜
(1111)を出力する。
Specifically, first, the address decoder 10
7 outputs four address signals Ai, j = (0000) to (0011) to the register files 103 and 105. The register files 103 and 105 that have received the address signal Ai, j store the <d0, d1>, <d2, d
3>, <d4, d5>, and <d6, d7>. Therefore, register files 103 and 105
The received data is stored in the column direction as shown in FIG. Next, the address decoder 107 outputs the four address signals Ai,
j = (0000) to (0011) are output. Register files 104 and 1 receiving address signal Ai, j
06 is <d8, d9>, <d10, d11>, <d8, d9> from the registers 101 and 102 at the corresponding address position.
d12, d13> and <d14, d15>. Therefore, register files 104 and 106
The received data is stored in the column direction as shown in FIG. The address decoder 107 has a register 1
Each time four (8 pixels) parallel data is output from the registers 01 and 102, the register files 103 and 10 are output.
5, and the address signals Ai, j = (0100) to (0111) and Ai, j = (1
000)-(1011) and Ai, j = (1100)-
(1111) is output.

【0020】レジスタファイル103〜106の各々
に、図4に示されるように、各16個のデータが格納さ
れると、次に、読み出し/書き込み制御部109は、レ
ジスタファイル103〜106に制御信号を出力し、読
み出し可能状態とする。読み出し可能状態にされたレジ
スタファイル103〜106では、アドレスデコーダ1
07から出力されるアドレス信号に対応するアドレスの
データを次のレジスタ110に出力する。アドレスデコ
ーダ107から出力されるアドレスの値は、アドレス発
生器108により生成される。前に説明したように、ア
ドレス発生器108は、データの読み出しの場合には、
アドレス信号Aj,i=(a2,a3,a0,a1)を出
力する。レジスタファイル103〜106が読み出し可
能状態である場合、まず、アドレスデコーダ107は、
4つのアドレス信号Aj,i=(0000),(010
0),(1000),(1100)をレジスタファイル
103及び104に出力する。上記4つのアドレス信号
Aj,iの入力に対し、レジスタファイル103及び10
4からは、4つ(8画素分)のパラレル・データ<d
0,d8>、<d16,d24>、<d32,d40
>、<d48,d56>がレジスタ110に読み出され
る。アドレスデコーダ107は、レジスタファイル10
3及び104からパラレル・データが4つ(8画素分)
出力された後、レジスタファイル105及び106に上
記4つのアドレス信号Aj,i=(0000),(010
0),(1000),(1100)を出力する。これに
対してレジスタファイル105及び106からは、4つ
(8画素分)のパラレル・データ<d1,d9>、<d
17,d25>、<d33,d41>、<d49,d5
7>が、レジスタ110に読み出される。この後、アド
レスデコーダ107は、レジスタファイル103及び1
05と、レジスタファイル104及び106にアドレス
信号Aj,i=(0001),(0101),(100
1),(1101)を上記手順で出力する。また、アド
レスデコーダ107は、レジスタファイル103及び1
05と、レジスタファイル104及び106に4つのア
ドレス信号Aj,i=(0010),(0110),(1
010),(1110)を上記手順で出力する。更に、
アドレスデコーダ107は、レジスタファイル103及
び105と、レジスタファイル104及び106にアド
レス信号Aj,i=(0011),(0111),(10
11),(1111)を上記手順で出力する。
When 16 data are stored in each of the register files 103 to 106 as shown in FIG. 4, the read / write control unit 109 next sends a control signal to the register files 103 to 106. Is output to make it readable. In the register files 103 to 106 which can be read, the address decoder 1
The data of the address corresponding to the address signal output from 07 is output to the next register 110. The address value output from the address decoder 107 is generated by an address generator 108. As described above, when reading data, the address generator 108
An address signal Aj, i = (a2, a3, a0, a1) is output. When the register files 103 to 106 are in a readable state, first, the address decoder 107
The four address signals Aj, i = (0000), (010
0), (1000), and (1100) are output to the register files 103 and 104. In response to the input of the four address signals Aj, i, register files 103 and 10
From four, four (eight pixels) parallel data <d
0, d8>, <d16, d24>, <d32, d40
>, <D48, d56> are read out to the register 110. The address decoder 107 stores the register file 10
4 parallel data from 3 and 104 (8 pixels)
After the output, the four address signals Aj, i = (0000), (010) are stored in the register files 105 and 106.
0), (1000), and (1100) are output. On the other hand, from the register files 105 and 106, four (for eight pixels) parallel data <d1, d9>, <d
17, d25>, <d33, d41>, <d49, d5
7> is read out to the register 110. Thereafter, the address decoder 107 stores the register files 103 and 1
05, and the address signals Aj, i = (0001), (0101), (100
1) and (1101) are output in the above procedure. Further, the address decoder 107 stores the register files 103 and 1
05 and four address signals Aj, i = (0010), (0110), (1
010) and (1110) are output in the above procedure. Furthermore,
The address decoder 107 sends the address signals Aj, i = (0011), (0111), (10) to the register files 103 and 105 and the register files 104 and 106.
11) and (1111) are output in the above procedure.

【0021】レジスタファイル110に出力された各パ
ラレル・データは、マルチプレクサMUX111により
シリアル・データに変換され、出力される。以上の処理
が実行されることで、図6に示されるように、入力され
たデータの行と列が置き換えられたデータが出力され
る。以上のようにデータ転置装置100は、基準クロッ
ク信号の1サイクルで2つのデータを処理することがで
きるため、従来と比べて処理速度を2倍にできる。
Each parallel data output to the register file 110 is converted into serial data by the multiplexer MUX 111 and output. By executing the above processing, as shown in FIG. 6, data in which the rows and columns of the input data are replaced is output. As described above, the data transposition apparatus 100 can process two data in one cycle of the reference clock signal, so that the processing speed can be doubled as compared with the related art.

【0022】上記実施例では、一旦、全てのレジスタフ
ァイル103〜106にデータdnを格納した後に、行
アドレスと列アドレスとを入れ換えてデータdnを読み
出すが、データ転置処理の方法は、これに限定されな
い。本発明の骨子は、データ入力端子に複数のレジスタ
を備え、入力されるシリアル・データを所定のパラレル
・データに変換し、基準クロック信号1サイクルで処理
するデータ数を多くすることだからである。
In the above embodiment, the data dn is once stored in all the register files 103 to 106, and then the data dn is read by exchanging the row address and the column address. However, the data transposition method is not limited to this. Not done. This is because the gist of the present invention is to provide a plurality of registers at the data input terminal, convert input serial data into predetermined parallel data, and increase the number of data processed in one cycle of the reference clock signal.

【0023】(2)第1実施例の変形例 データ転置の方法としては、上記第1実施例で述べた方
法の他に、以下のような方法が考えられる。上記第1実
施例で示したデータ転置装置100において、入力端子
に入力されたデータを2画素分のデータからなるパラレ
ル・データに変換した後、レジスタファイル103のア
ドレス(0000)に格納されるデータd0を読み出す
と共に、当該アドレス(0000)に新規のデータd
0’を格納する。レジスタファイル104のアドレス
(0000)に格納されているデータd8を読み出すと
共に、当該アドレス(0000)に新規のデータd1’
を格納する。次に、レジスタファイル103のアドレス
(0100)に格納されるデータd16を読み出すと共
に、当該アドレス(0100)に新規のデータd2’を
格納する。レジスタファイル104のアドレス(010
0)に格納されているデータd24を読み出すと共に、
当該アドレス(0100)に新規のデータd10’を格
納する。以上の処理をレジスタファイル103及び10
4の各8画素分のデータについて実行した後、続いて、
レジスタファイル105及び106の各8画素分のデー
タについて同じ処理を実行する。これを繰り返すこと
で、レジスタファイル103〜106には、図7に示さ
れるように、新規のデータdn’が行方向に格納され
る。
(2) Modification of First Embodiment As a method of transposing data, the following method can be considered in addition to the method described in the first embodiment. In the data transposition apparatus 100 shown in the first embodiment, after the data input to the input terminal is converted into parallel data composed of data of two pixels, the data stored in the address (0000) of the register file 103 d0 is read, and new data d is stored in the address (0000).
0 'is stored. The data d8 stored at the address (0000) of the register file 104 is read, and new data d1 'is stored at the address (0000).
Is stored. Next, the data d16 stored at the address (0100) of the register file 103 is read, and new data d2 ′ is stored at the address (0100). Address of register file 104 (010
0), read out the data d24 stored in
The new data d10 'is stored at the address (0100). The above processing is performed by register files 103 and 10
After executing for each of the eight pixels of data of 4,
The same process is performed on the data of eight pixels in the register files 105 and 106. By repeating this, new data dn 'is stored in the register files 103 to 106 in the row direction as shown in FIG.

【0024】次に、データを読み出す場合には、レジス
タファイル103及び105の各4画素分のデータを列
方向に<d0’,d8’>、<d16’,d24’>、
<d32’,d40’>、<d48’,d56’>を読
み出すと共に、新規のデータ<d0”,d1”>、<d
2”,d3”>、<d4”,d5”>、<d6”,d
7”>を列方向に格納し、次にレジスタファイル104
及び106のデータを列方向に<d1’,d9’>、<
d17’,d25’>、<d33’,d41>、<d4
9,d57>を読み出すと共に、新規のデータ<d
8”,d9”>、<d10”,d11”>、<d1
2”,d13”>、<d14”,d15”>を列方向に
書き込む。この処理を繰り返すことで、図7にdn’に
ついて示す場合と同様の配列で、各データdn”が、レ
ジスタファイル103〜106に格納される。
Next, when reading data, the data for each of the four pixels in the register files 103 and 105 are written in the column direction in the order of <d0 ', d8'>, <d16 ', d24'>,
<D32 ', d40'> and <d48 ', d56'> are read, and new data <d0 ", d1">, <d
2 ", d3">, <d4 ", d5">, <d6 ", d
7 ″> in the column direction, and then register file 104
And 106 in the column direction by <d1 ′, d9 ′>, <
d17 ′, d25 ′>, <d33 ′, d41>, <d4
9, d57> and new data <d
8 ", d9">, <d10 ", d11">, <d1
2 ", d13">, <d14 ", d15"> are written in the column direction. By repeating this process, each data dn ″ is stored in the register files 103 to 106 in the same arrangement as that shown for dn ′ in FIG.

【0025】上記の処理を行うことで、基準クロック信
号の1サイクルで、2画素分のデータをメモリに書き込
むと共に、読み出すことが可能となり、従来の4倍の速
度でデータを転置処理できる。
By performing the above-described processing, data for two pixels can be written to and read from the memory in one cycle of the reference clock signal, and the data can be transposed at four times the speed of the related art.

【0026】(3)第2実施例 次の図8は、本発明の第2実施例のデータ転置装置20
0を示す。データ転置装置200は、データ転置装置1
00の備えていた4個のレジスタファイル103〜10
6と同じ容量のレジスタファイルを2倍の計8個備え
る。データ転置装置200は、レジスタファイル203
〜206にデータが書き込まれている期間中に、残りの
レジスタファイル207〜210に格納されたデータを
行/列変換したものを出力することを特徴とする。デー
タ転置装置200は、シリアル入力されるデータを2画
素分のデータからなるパラレル・データにするためのレ
ジスタ201及び202と、N×N画素マトリクスの画
像データ入力がされる場合、(N×N)/4画素分のデ
ータを記憶する8個のレジスタファイル203〜210
と、N/2ビットのアドレス信号を発生し、アドレスデ
コーダ211に出力するアドレス発生器212と、レジ
スタファイル203〜210にアドレス発生器212か
ら入力されるアドレス信号を出力するアドレスデコーダ
211と、各レジスタファイル203〜210から出力
されるパラレル・データをシリアル・データに変換する
レジスタ214及びマルチプレクサ215と、読み出し
/書き込み制御部213から構成される。なお、第2実
施例では、第1実施例と同様に8×8画素マトリクスか
らなる画像データを用いる。従って、レジスタファイル
203〜210は、各々16画素分のデータを格納でき
るものを用いる。
(3) Second Embodiment FIG. 8 shows a data transposing apparatus 20 according to a second embodiment of the present invention.
Indicates 0. The data transposition apparatus 200 is a data transposition apparatus 1
00 has four register files 103 to 10
A total of eight register files, twice as large, are provided. The data transposition apparatus 200 stores the register file 203
During the period in which the data is written to the remaining register files 207 to 210, the data stored in the remaining register files 207 to 210 are subjected to row / column conversion and output. The data transposition apparatus 200 includes registers 201 and 202 for converting serially input data into parallel data composed of data for two pixels, and (N × N) when image data of an N × N pixel matrix is input. 8) register files 203 to 210 for storing data of / 4 pixels
An address generator 212 that generates an N / 2-bit address signal and outputs it to the address decoder 211, and an address decoder 211 that outputs an address signal input from the address generator 212 to the register files 203 to 210. The read / write controller 213 includes a register 214 and a multiplexer 215 for converting parallel data output from the register files 203 to 210 into serial data. In the second embodiment, image data composed of an 8 × 8 pixel matrix is used as in the first embodiment. Therefore, the register files 203 to 210 are each capable of storing data for 16 pixels.

【0027】図8に示すようにデータ転置装置200
は、データ転置装置100に比べてレジスタファイルの
数が2倍になっている。上記第1実施例に示したデータ
転置装置100では、基準クロック信号の1サイクルで
2つのデータを各レジスタファイルに格納する。全ての
データを格納した後、データ転置装置100は、基準ク
ロック信号の1サイクルで行/列変換されたデータをシ
リアルデータとして出力していた。これに対してデータ
転置装置200では、基準クロック信号の立ち上がりタ
イミングに同期してレジスタファイル203〜206に
第1実施例と同様にデータを列方向に格納すると共に、
基準クロック信号の立ち下がりタイミングに同期してレ
ジスタファイル207〜210に格納されたデータを行
方向に読み出す。また、レジスタファイル203〜20
6にデータが格納された場合、即ち、レジスタファイル
207〜210に格納されたデータが全て出力された場
合には、レジスタファイル207〜210に列方向にデ
ータを格納すると共に、レジスタファイル203〜20
6に格納されたデータを行方向に読み出し出力する。以
上の処理を実行することで基準クロック信号の1サイク
ル期間中に、従来に比べて4倍のデータを転置処理でき
る。
[0027] As shown in FIG.
Has twice as many register files as the data transposition apparatus 100. In the data transposition apparatus 100 shown in the first embodiment, two data are stored in each register file in one cycle of the reference clock signal. After storing all the data, the data transposition apparatus 100 outputs the data subjected to row / column conversion in one cycle of the reference clock signal as serial data. On the other hand, in the data transposition apparatus 200, data is stored in the register files 203 to 206 in the column direction in the same manner as in the first embodiment, in synchronization with the rising timing of the reference clock signal.
The data stored in the register files 207 to 210 is read in the row direction in synchronization with the falling timing of the reference clock signal. Also, register files 203 to 20
6, when all the data stored in the register files 207 to 210 are output, the data is stored in the register files 207 to 210 in the column direction, and the register files 203 to 20 are stored.
6 is read out in the row direction and output. By performing the above processing, four times as much data can be transposed as in the prior art during one cycle of the reference clock signal.

【0028】[0028]

【発明の効果】本発明のデータ転置装置は、データ入力
端子に複数のレジスタを備え、入力されるシリアル・デ
ータをパラレル・データに変換し、基準クロック信号1
サイクルに上記パラレル・データをメモリ(レジスタフ
ァイル)に書き込む。このため、従来と比べ、データの
転置処理の速度を数倍に向上することができる。
The data transposition apparatus of the present invention has a plurality of registers at the data input terminal, converts input serial data into parallel data,
In the cycle, the parallel data is written to a memory (register file). For this reason, the speed of the data transposition process can be improved several times as compared with the related art.

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

【図1】 本発明のデータ転置装置100の構成図であ
る。
FIG. 1 is a configuration diagram of a data transposition apparatus 100 of the present invention.

【図2】 データ転置装置に入力される8×8画素マト
リクスからなるデータdnの配列を示す図である。
FIG. 2 is a diagram showing an array of data dn composed of an 8 × 8 pixel matrix input to a data transposition apparatus.

【図3】 レジスタファイル103〜106及び203
〜210のアドレス
FIG. 3 shows register files 103 to 106 and 203
Address of ~ 210

【図4】 データ転置装置100に備えられるレジスタ
ファイル103〜106に格納されるデータdnを示す
図である。
4 is a diagram showing data dn stored in register files 103 to 106 provided in the data transposing apparatus 100. FIG.

【図5】 アドレス発生器108の構成を示す図であ
る。
FIG. 5 is a diagram showing a configuration of an address generator 108.

【図6】 データ転置装置100から出力される8×8
画素マトリクスからなるデータdnの配列を示す図であ
る。
FIG. 6 shows 8 × 8 output from data transposition apparatus 100
FIG. 3 is a diagram showing an array of data dn formed of a pixel matrix.

【図7】 本発明の第1実施例の変形例によってレジス
タファイル103〜106に格納されるデータdn’を
示す図である。
FIG. 7 is a diagram showing data dn ′ stored in register files 103 to 106 according to a modification of the first embodiment of the present invention.

【図8】 本発明のデータ転置装置200の構成図であ
る。
FIG. 8 is a configuration diagram of a data transposition apparatus 200 of the present invention.

【符号の説明】 101,102,110,201,202,214…レ
ジスタ 103〜106,203〜210…レジスタファイル 107,211…アドレスデコーダ 108,212…アドレス発生器 109,213…読出/書き込み制御部 111,215…マルチプレクサ 150,151…2ビットカウンタ 152…スイッチングゲート
[Description of References] 101, 102, 110, 201, 202, 214 ... Registers 103 to 106, 203 to 210 ... Register files 107 and 211 ... Address decoders 108 and 212 ... Address generators 109 and 213 ... Read / write control unit 111, 215: multiplexer 150, 151: 2-bit counter 152: switching gate

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平6−70305(JP,A) 特開 昭62−267168(JP,A) 特開 平2−26476(JP,A) 特開 平2−26477(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 1/41 - 1/419 G06F 17/14 G06T 1/20 H04N 7/30 ──────────────────────────────────────────────────続 き Continuation of front page (56) References JP-A-6-70305 (JP, A) JP-A-62-267168 (JP, A) JP-A-2-26476 (JP, A) JP-A-2- 26477 (JP, A) (58) Field surveyed (Int. Cl. 7 , DB name) H04N 1/41-1/419 G06F 17/14 G06T 1/20 H04N 7/30

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 N×N画素マトリクスを構成するデータ
の行と列を置き換えるデータ転置装置において、 上記N×N画素マトリクスを構成するデータがシリアル
・データとして順次入力される入力端子と、 上記入力端子に入力されたシリアル・データを、隣接す
る複数の画素分のデータからなる第1パラレル・データ
に変換するシリアル・パラレル変換手段と、 それぞれマトリクス状のアドレス配列を備え、上記N×
N画素マトリクスを構成するデータを等分して記憶する
複数のメモリ領域からなり、各メモリ領域において、外
部から順次入力されるアドレス信号により指定されるア
ドレスに上記第1パラレル・データを構成するデータが
書き込まれ、また、同様に指定されるアドレスからデー
タが読み出される記憶手段と、 上記記憶手段を構成する各メモリ領域を所定のタイミン
グでデータ書き込み可能及びデータ読み出し可能に切り
換える制御手段と、 基準クロック信号1サイクル単位で動作し、上記各メモ
リ領域のデータ書き込み及び読み出しに用いるアドレス
信号を生成するアドレス発生手段であって、基準クロッ
ク信号1サイクルにつき、上記第1パラレル・データを
構成する複数の画素分のデータが、それぞれ、書き込み
可能である各メモリ領域に対して、行方向及び列方向の
うちの一方向に書き込まれるように、上記各メモリ領域
におけるi行j列のアドレスを指定するアドレス信号A
i,jを出力する一方、基準クロック信号1サイクルに
つき、上記各メモリ領域に書き込まれた第2パラレル・
データを構成する複数の画素分のデータが、それぞれ、
読み出し可能である各メモリ領域から、上記第1パラレ
ル・データを構成する各データが書き込まれた方向と直
交する方向に読み出されるように、上記各メモリ領域に
おけるj行i列のアドレスを指定するアドレス信号A
j,iを出力するアドレス発生手段と、 上記アドレス発生手段により生成されたアドレス信号A
i,j及びAj,iを上記各メモリ領域に出力するアド
レスデコーダと、 上記各メモリ領域より読み出された複数の画素分のデー
タからなる上記第2パラレル・データをシリアル・デー
タに変換して出力するパラレル・シリアル変換手段とを
有していることを特徴とするデータ転置装置。
1. A data transposition device for replacing a row and a column of data forming an N × N pixel matrix, comprising: an input terminal to which data forming the N × N pixel matrix is sequentially input as serial data; Serial-parallel conversion means for converting serial data input to the terminal into first parallel data composed of data of a plurality of adjacent pixels; and a matrix-like address arrangement.
A plurality of memory areas for equally dividing and storing data forming the N pixel matrix, and in each memory area, data forming the first parallel data at an address specified by an address signal sequentially input from the outside. Is written, and data is read from an address designated in the same manner. A control means for switching each memory area constituting the storage means to be writable and readable at a predetermined timing; and a reference clock. Address generating means for operating in units of one signal cycle to generate address signals used for writing and reading data in each memory area, wherein a plurality of pixels constituting the first parallel data are provided for one cycle of a reference clock signal Each writable memory Relative frequency, as written in one of the row direction and the column direction, the address signal A to the address of row i and column j in the above memory area
i and j are output, and the second parallel data written in each of the above memory areas is output for each cycle of the reference clock signal.
The data for a plurality of pixels that make up the data
An address for designating an address on the j-th row and the i-th column in each of the memory areas so that each of the data constituting the first parallel data is read out from each of the readable memory areas in a direction orthogonal to a writing direction. Signal A
address generating means for outputting j and i, and an address signal A generated by the address generating means.
an address decoder for outputting i, j and Aj, i to each of the memory areas; and converting the second parallel data consisting of data for a plurality of pixels read from each of the memory areas into serial data. A data transposition device, comprising: a parallel-serial converter for outputting.
【請求項2】 N×N画素マトリクスのデータの行と列
を置き換えるデータ転置装置において、 上記N×N画素マトリクスを構成するデータがシリアル
・データとして順次入力される入力端子と、 上記入力端子に入力されるシリアル・データを、隣接す
る2画素分のデータからなる第1パラレル・データに変
換するシリアル・パラレル変換手段と、 それぞれマトリクス状のアドレス配列を備え、上記N×
N画素マトリクスを構成するデータを等分して記憶する
第1,第2,第3及び第4のメモリからなり、各メモリ
において、外部から順次入力されるアドレス信号により
指定されるアドレスに上記第1パラレルデータを構成す
るデータが書き込まれ、また、同様に指定されるアドレ
スからデータが読み出される記憶手段と、 上記第1及び第3のメモリの組と第2及び第4のメモリ
の組を所定のタイミングで交互に書き込み可能にする一
方、上記第1及び第2のメモリの組と第3及び第4のメ
モリの組を所定のタイミングで交互に読出し可能にする
制御手段と、 基準クロック信号1サイクル単位で動作し、上記各メモ
リのデータ書込み及び読み出しに用いるアドレス信号を
生成するアドレス発生手段であって、基準クロック信号
1サイクルにつき、上記第1パラレル・データを構成す
る2画素分のデータが、それぞれ、書き込み可能である
第1及び第3のメモリの組および上記第2及び第4のメ
モリの組のいずれか一方に対して、行方向及び列方向の
うちの一方向に順次書き込まれるように、上記各メモリ
におけるi行j列のアドレスを指定するアドレス信号A
i,jを出力する一方、基準クロック信号1サイクルに
つき、上記各メモリに書き込まれた第2パラレル・デー
タを構成する2画素分のデータが、それぞれ、読み出し
可能である上記第1及び第2のメモリの組および上記第
3及び第4のメモリの組から、上記第1パラレル・デー
タを構成する各データが書き込まれた方向と直交する方
向に順次読み出されるように、上記各メモリにおけるj
行i列のアドレスを指定するアドレス信号Aj,iを出
力するアドレス発生手段と、 上記第1パラレル・データを構成する各データの書き込
みに際して、基準クロック信号の1サイクルにつき、上
記アドレス発生手段により生成されたアドレス信号A
i,jを、第1及び第3のメモリの組および上記第2及
び第4のメモリの組に順次出力する一方、上記第2のパ
ラレル・データを構成する各データの読み出しに際し
て、基準クロック信号の1サイクルにつき、上記アドレ
ス発生手段により生成されたアドレス信号Aj,iを、
上記第1及び第2のメモリの組および上記第3及び第4
のメモリの組へ順次出力するアドレスデコーダと、 上記第1及び第2のメモリの組および第3及び第4のメ
モリの組のいずれか一方から読み出された2画素分のデ
ータからなる第2パラレル・データをシリアル・データ
に変換して出力するパラレル・シリアル変換手段とを有
していることを特徴とするデータ転置装置。
2. A data transposition apparatus for replacing a row and a column of data of an N × N pixel matrix, comprising: an input terminal to which data constituting the N × N pixel matrix is sequentially input as serial data; Serial-parallel conversion means for converting input serial data into first parallel data composed of data of two adjacent pixels;
It comprises first, second, third and fourth memories for equally dividing and storing the data constituting the N pixel matrix, and in each memory, the first to second addresses are designated by address signals sequentially input from the outside. A storage unit into which data constituting one parallel data is written and from which data is read out from an address designated in the same manner; and a set of the first and third memories, and a set of the second and fourth memories. Control means for enabling the first and second memories and the third and fourth memories to be alternately readable at a predetermined timing, and a reference clock signal 1 Address generating means which operates in a cycle unit and generates an address signal used for writing and reading data in and from each of the memories. The data of two pixels constituting the first parallel data can be written to either one of the first and third memory sets and the second and fourth memory sets where the data can be written. , An address signal A for designating the address of the i-th row and the j-th column in each of the memories so as to be sequentially written in one of the row and column directions
While outputting i and j, the first and second data which can be read out for two pixels constituting the second parallel data written in each memory per reference clock signal cycle, respectively. J in each of the memories so that each of the data constituting the first parallel data is sequentially read out from the set of memories and the set of the third and fourth memories in a direction orthogonal to the direction in which the data is written.
Address generating means for outputting an address signal Aj, i for designating an address in a row i column; and when writing each data constituting the first parallel data, the address generating means generates one cycle of a reference clock signal by the address generating means. Address signal A
i, j are sequentially output to the first and third sets of memories and the second and fourth sets of memories, while the reference clock signal is used for reading each data constituting the second parallel data. The address signal Aj, i generated by the address generation means for one cycle of
The first and second memory sets and the third and fourth sets
And an address decoder for sequentially outputting the data to two or more memory sets, and a second pixel consisting of two pixels of data read from one of the first and second memory sets and the third and fourth memory sets. And a parallel-serial conversion means for converting parallel data into serial data and outputting the converted data.
【請求項3】 N×N画素マトリクスのデータの行と列
を置き換えるデータ転置装置において、 上記N×N画素マトリクスを構成するデータがシリアル
・データとして順次入力される入力端子と、 上記入力端子に入力されるシリアル・データを、隣接す
る2画素分のデータからなる第1パラレル・データに変
換するシリアル・パラレル変換手段と、 それぞれマトリクス状のアドレス配列を備え、上記N×
N画素マトリクスを構成するデータを等分して記憶する
複数のメモリ領域からなり、各メモリ領域において、外
部から順次入力されるアドレス信号により指定されるア
ドレスに上記第1パラレルデータを構成するデータが書
き込まれ、また、同様に指定されるアドレスからデータ
が読み出される第1の記憶手段と、 それぞれマトリクス状のアドレス配列を備え、上記N×
N画素マトリクスを構成するデータを等分して記憶する
複数のメモリ領域からなり、各メモリ領域において、外
部から順次入力されるアドレス信号により指定されるア
ドレスに上記第1パラレルデータを構成するデータが書
き込まれ、また、同様に指定されるアドレスからデータ
が読み出される第2の記憶手段と、 上記第1及び第2の記憶手段のいずれか一方を書き込み
可能とすると同時に、他方を読み出し可能にする制御手
段と、 基準クロック信号1サイクル単位で動作し、上記各記憶
手段を構成するメモリ領域のデータ書込み及び読み出し
に用いるアドレス信号を生成するアドレス発生手段であ
って、基準クロック信号1サイクルにつき、上記第1パ
ラレル・データを構成する2画素分のデータが、それぞ
れ、上記第1及び第2の記憶手段のいずれか一方の各メ
モリ領域に対して、行方向及び列方向のうちの一方向に
順次書き込まれるように、各メモリ領域におけるi行j
列のアドレスを指定するアドレス信号Ai,jを出力す
ると同時に、上記第1及び第2の記憶手段の他方に対し
て、第2パラレル・データを構成する2画素分のデータ
が、それぞれ、上記各メモリ領域から、上記第1パラレ
ル・データが書き込まれた方向と直交する方向に読み出
されるように、各メモリ領域におけるj行i列のアドレ
スを指定するアドレス信号Aj,iを出力するアドレス
発生手段と、 上記アドレス発生手段から出力されるアドレス信号A
i,jを、上記制御手段により書き込み可能にされた上
記第1及び第2の記憶手段のいずれか一方の各メモリ領
域に出力すると同時に、上記アドレス発生手段から出力
されるアドレス信号Aj,iを、上記制御手段により読
み出し可能にされた上記第1及び第2の記憶手段の他方
に出力するアドレスデコーダと、 上記第1及び第2の記憶手段のいずれか一方の各メモリ
領域から読み出された2画素分のデータからなる第2パ
ラレル・データをシリアル・データに変換して出力する
パラレル・シリアル変換手段とを有していることを特徴
とするデータ転置装置。
3. A data transposition device for replacing a row and a column of data of an N × N pixel matrix, wherein: an input terminal to which data constituting the N × N pixel matrix is sequentially input as serial data; Serial-parallel conversion means for converting input serial data into first parallel data composed of data of two adjacent pixels;
It comprises a plurality of memory areas for equally dividing and storing data forming the N pixel matrix. In each memory area, the data forming the first parallel data is stored at an address specified by an address signal sequentially input from the outside. A first storage unit in which data is written and data is read from an address designated in the same manner;
It comprises a plurality of memory areas for equally dividing and storing data forming the N pixel matrix. In each memory area, the data forming the first parallel data is stored at an address specified by an address signal sequentially input from the outside. A second storage unit in which data is written and data is read from an address designated in the same manner; and a control in which one of the first and second storage units is made writable and the other is made readable. Means for generating address signals used for writing and reading data in a memory area constituting each of the storage means, the address generating means operating in units of one cycle of the reference clock signal. Data of two pixels constituting one parallel data is stored in the first and second storages, respectively. Against one respective memory area of the stage, as sequentially written in one of the row and column directions, i and the row j in the memory area
At the same time as outputting an address signal Ai, j for designating a column address, the data of two pixels constituting the second parallel data are stored in the other of the first and second storage means. Address generating means for outputting an address signal Aj, i designating an address of a j-th row and an i-th column in each memory area so that the first parallel data is read from the memory area in a direction orthogonal to a direction in which the first parallel data is written; Address signal A output from the address generating means
i and j are output to each one of the first and second storage areas which are made writable by the control means, and at the same time, the address signal Aj, i output from the address generation means is output. An address decoder for outputting to the other of the first and second storage means readable by the control means; and an address decoder read from each memory area of one of the first and second storage means. A data transposition apparatus, comprising: a parallel-serial conversion means for converting second parallel data composed of data for two pixels into serial data and outputting the serial data.
【請求項4】 N×N画素マトリクスのデータの行と列
を置き換えるデータ転置装置において、 上記N×N画素マトリクスを構成するデータがシリアル
・データとして順次入力される入力端子と、 上記入力端子に入力されたシリアル・データを、隣接す
る2画素分のデータからなる第1パラレル・データに変
換するシリアル・パラレル変換手段と、 それぞれマトリクス状に配列した複数のアドレスを備
え、上記N×N画素マトリクスを構成するデータを等分
して記憶する複数のメモリ領域からなり、各メモリ領域
において、外部から順次入力されるアドレス信号により
指定されるアドレスに対してデータが書き込まれ、ま
た、同様に指定されるアドレスからデータが読み出され
る記憶手段と、 基準クロック信号1サイクル単位で動作し、上記記憶手
段を構成する各メモリ領域のデータ書き込み及び読み出
しに用いるアドレス信号を生成するアドレス発生手段で
あって、上記第1パラレル・データを構成する2画素分
のデータが、それぞれ、書き込み可能であるメモリ領域
に対して、行方向及び列方向のうちの一方向に順次書き
込まれるように、上記メモリ領域におけるi行j列のア
ドレスを指定するアドレス信号Ai,jを出力し、他
方、上記各メモリ領域に書き込まれた第2パラレル・デ
ータを構成する2画素分のデータが、それぞれ、読み出
し可能であるメモリ領域から、上記第1パラレル・デー
タを書き込んだ方向と直交する方向に読み出されるよう
に、上記各メモリ領域におけるj行i列のアドレスを指
定するアドレス信号Aj,iを出力するアドレス発生手
段と、 上記アドレス発生手段により生成されたアドレス信号A
i,j及びAj,iを上記メモリ領域に出力するアドレ
スデコーダと、 最初に上記記憶手段の各メモリ領域を書き込み可能にし
て、N×N画素マトリクス分のデータを記憶させた後、
基準クロック信号1サイクル中に、上記記憶手段の各メ
モリ領域を書き込み/読み出し可能にし、上記記憶手段
の各メモリ領域から1つのデータを読み出した後に、デ
ータが読み出された場合と同一のアドレスに新規のデー
タを書き込ませる制御手段と、 上記記憶手段の各メモリ領域から読み出された2画素分
のデータからなる第2パラレル・データをシリアル・デ
ータに変換して出力するパラレル・シリアル変換手段と
を有していることを特徴とするデータ転置装置。
4. A data transposition device for replacing a row and a column of data of an N × N pixel matrix, wherein: an input terminal to which data constituting the N × N pixel matrix is sequentially input as serial data; A serial-to-parallel conversion means for converting input serial data into first parallel data consisting of data of two adjacent pixels, and a plurality of addresses each arranged in a matrix; Is composed of a plurality of memory areas for equally dividing and storing the data constituting the memory. In each memory area, data is written to an address specified by an address signal sequentially inputted from the outside, and data is similarly specified. Memory means for reading data from an address, and operating in units of one cycle of a reference clock signal. Address generating means for generating an address signal used for writing and reading data in each memory area constituting the memory means, wherein the data for two pixels constituting the first parallel data is a writable memory. An address signal Ai, j designating the address of the i-th row and the j-th column in the memory area so as to be sequentially written to the area in one of the row direction and the column direction. So that the data of two pixels constituting the second parallel data written in the first parallel data are read from the readable memory area in a direction orthogonal to the direction in which the first parallel data is written. Address generating means for outputting an address signal Aj, i designating the address of row j and column i in each memory area; Address signals A generated by the less generation means
an address decoder for outputting i, j and Aj, i to the memory area; and firstly, to make each memory area of the storage means writable, and to store data of an N × N pixel matrix.
In one cycle of the reference clock signal, each memory area of the storage means is made writable / readable, and one data is read from each memory area of the storage means, and then the same address as when the data is read is read out. Control means for writing new data; parallel-serial conversion means for converting second parallel data composed of data for two pixels read from each memory area of the storage means into serial data and outputting the serial data; A data transposition device, comprising:
JP12248993A 1993-05-25 1993-05-25 Data transposition equipment Expired - Fee Related JP3291070B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12248993A JP3291070B2 (en) 1993-05-25 1993-05-25 Data transposition equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12248993A JP3291070B2 (en) 1993-05-25 1993-05-25 Data transposition equipment

Publications (2)

Publication Number Publication Date
JPH06334869A JPH06334869A (en) 1994-12-02
JP3291070B2 true JP3291070B2 (en) 2002-06-10

Family

ID=14837115

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12248993A Expired - Fee Related JP3291070B2 (en) 1993-05-25 1993-05-25 Data transposition equipment

Country Status (1)

Country Link
JP (1) JP3291070B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3845920B2 (en) * 1996-11-26 2006-11-15 ソニー株式会社 Matrix transposition device
TWI423659B (en) 2010-11-09 2014-01-11 Avisonic Technology Corp Image corretion method and related image corretion system thereof

Also Published As

Publication number Publication date
JPH06334869A (en) 1994-12-02

Similar Documents

Publication Publication Date Title
US6640295B2 (en) Semiconductor circuit with address translation circuit that enables quick serial access in row or column directions
US6604166B1 (en) Memory architecture for parallel data access along any given dimension of an n-dimensional rectangular data array
US5938763A (en) System for transposing data from column order to row order
JPH11144451A (en) Semiconductor memory device
JP2011138511A (en) System, data structure, and method for processing multi-dimensional video data
US7525577B2 (en) Image processing apparatus and image processing method
JP3291070B2 (en) Data transposition equipment
JP3168183B2 (en) Data processing device
US5408615A (en) Direct memory access method and memory control apparatus
JPH05307600A (en) Read/readout circuit for data
JPH11306343A (en) Rotational processing device for two-dimensional data
JP2906869B2 (en) Data sorting device
JPH07234863A (en) Two-dimensional orthogonal transformation device
JP3146772B2 (en) Digital signal processing circuit
JP3052628B2 (en) Digital signal processing circuit
JPH06324935A (en) Address generator and address generation system
JPH08147458A (en) Memory control unit
JP2001308721A (en) Product code encoder and decoder
JPH08147269A (en) Orthogonal transformer
JPH0215783A (en) Data conversion circuit
JPS63229574A (en) Rotary image memory
JPH0537793A (en) Picture data storage read system and picture data conversion system
JPH01201780A (en) Information processor
JPS6250791A (en) Dynamic type semiconductor memory
JPH0520172A (en) Multi-level image data form converter

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090322

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100322

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110322

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120322

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees