Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH022188B2 - - Google Patents
[go: Go Back, main page]

JPH022188B2 - - Google Patents

Info

Publication number
JPH022188B2
JPH022188B2 JP58118783A JP11878383A JPH022188B2 JP H022188 B2 JPH022188 B2 JP H022188B2 JP 58118783 A JP58118783 A JP 58118783A JP 11878383 A JP11878383 A JP 11878383A JP H022188 B2 JPH022188 B2 JP H022188B2
Authority
JP
Japan
Prior art keywords
data
input
output device
serial
image
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 - Lifetime
Application number
JP58118783A
Other languages
Japanese (ja)
Other versions
JPS6010391A (en
Inventor
Toshiharu Ooshima
Tomoshige Adachi
Wataru Kikuchi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP58118783A priority Critical patent/JPS6010391A/en
Publication of JPS6010391A publication Critical patent/JPS6010391A/en
Publication of JPH022188B2 publication Critical patent/JPH022188B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/60Memory management

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Input (AREA)
  • Image Processing (AREA)
  • Memory System (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、イメージ空間上で、縦横いずれの方
向の連続データも同時にアクセスすることが可能
なイメージメモリを使用するイメージ処理システ
ムにおいて、イメージメモリと入出力装置との間
のデータ転送を高速化するためのイメージ処理方
式に関し、特に、イメージメモリへのデータ書込
みあるいはイメージメモリからのデータ読み出し
の際に必要なデータシフト操作をデータ転送時に
行なう直列―並列間の変換操作中に取り込むこと
により、データシフトに要する処理時間を不要に
したイメージ処理方式に関する。
Detailed Description of the Invention [Technical Field of the Invention] The present invention relates to an image processing system that uses an image memory that can simultaneously access continuous data in both vertical and horizontal directions in an image space. Regarding image processing methods for speeding up data transfer between input/output devices, in particular serial processing that performs data shift operations required when writing data to or reading data from image memory during data transfer. The present invention relates to an image processing method that eliminates the processing time required for data shifting by importing data during a parallel conversion operation.

〔技術の背景〕[Technology background]

はじめに、本発明が対象とするイメージメモリ
の原理について説明する。
First, the principle of the image memory to which the present invention is directed will be explained.

第1図はイメージ空間、すなわちイメージメモ
リの論理空間を示す。空間内の画素位置は、左上
隅を原点とする行アドレスiおよび列アドレスj
により(i,j)で表わされる。なお図中の,
,,…は、空間内の全画素に対してラスタ走
査を行なつたときの通番である。
FIG. 1 shows the image space, that is, the logical space of the image memory. The pixel position in space is given by row address i and column address j with the origin at the upper left corner.
is expressed as (i, j). In addition, in the figure,
, . . . are serial numbers when raster scanning is performed on all pixels in the space.

イメージメモリは、このようなイメージ空間に
おいて、任意のあるいは制限を付された位置の画
素を先頭位置とする行方向あるいは列方向の一定
数の画素(たとえば8個、あるいは16個)を、同
時にアクセスすることが可能である。
In this image space, image memory simultaneously accesses a fixed number of pixels (e.g. 8 or 16) in the row or column direction, starting with a pixel at an arbitrary or restricted position. It is possible to do so.

第2図は、上記のイメージメモリを実現する物
理メモリの構成例を示す。一般に縦横の任意の位
置にある一群の画素の同時アクセスを可能にする
ためには、物理メモリ上において、それらの画素
に対応するビツトが、それぞれ異なるメモリチツ
プ上に分散して格納されはえればならない。これ
は、1つのメモリチツプについては、一時に1ビ
ツトしかアクセスすることができないからであ
る。このため、各メモリチツプに対して、第1図
に示すイメージ空間のデータを、行あるいは列ご
とに異なる所定のシフトを与えて格納し、また読
出しの際に逆シフトして復元する必要がある。
FIG. 2 shows an example of the configuration of a physical memory that implements the above image memory. Generally, in order to enable simultaneous access to a group of pixels located at arbitrary positions in the vertical and horizontal directions, the bits corresponding to those pixels must be distributed and stored on different memory chips in physical memory. . This is because only one bit of a memory chip can be accessed at a time. Therefore, it is necessary to store the data in the image space shown in FIG. 1 in each memory chip with a predetermined shift applied to each row or column, and to restore the data by inversely shifting the data when reading the data.

第2図は、イメージデータに対して行ごとに列
方向のサーキユラシフトを、順次0,1,2,
3,…のビツトずつ与えて、各チツプ1,2,
3,4…に格納したものである。この結果、たと
えば第1図の横方向画素列,,,…は、第
2図においてそれぞれ横方向に実線で囲んで示さ
れているように、各チツプ上に分散して格納さ
れ、同時にアクセスされることができ、また第1
図の縦方向画素列,,,…は、第2図にお
いて斜めに破線で囲んで示されているように、各
チツプ上に分散して格納されており、同様に同時
にアクセスされることができる。
Figure 2 shows the circular shift in the column direction for each row of image data, sequentially 0, 1, 2,
By giving 3,... bits each, each chip is 1, 2,
3, 4, etc. As a result, for example, the horizontal pixel columns, . and also the first
The vertical pixel columns, ,... in the figure are stored in a distributed manner on each chip, as indicated by the diagonally broken lines in Figure 2, and can similarly be accessed simultaneously. .

しかし、このためには、イメージメモリとデー
タバスとの間にデータシフト手段を設け、書き込
む時に所定のデータシフトを行ない、読み出し時
には復元のためのデータシフトを行なう必要があ
る。
However, for this purpose, it is necessary to provide a data shift means between the image memory and the data bus, to perform a predetermined data shift when writing, and to perform data shift for restoration when reading.

第3図は、このようなイメージメモリを含む従
来のイメージ処理システムの構成例を示す。
FIG. 3 shows an example of the configuration of a conventional image processing system including such an image memory.

第3図において、1は主処理装置、2はサーキ
ユラシフタ、3はイメージメモリ、4はデータバ
ス、5および6はアダプタ、7はデイスプレイ又
はプリンタ等のイメージ出力装置、8はイメージ
入力装置、9はバツフア、10は並列/直列変換
回路、11は直列/並列変換回路、12はバツフ
アを示す。
In FIG. 3, 1 is a main processing unit, 2 is a circular shifter, 3 is an image memory, 4 is a data bus, 5 and 6 are adapters, 7 is an image output device such as a display or printer, 8 is an image input device, and 9 is an image input device. 10 is a parallel/serial conversion circuit, 11 is a serial/parallel conversion circuit, and 12 is a buffer.

サーキユラシフタ2は、主処理装置1からのシ
フトコントロール信号にしたがつて、イメージメ
モリ3とデータバス4との間で、双方向に上述し
たデータシフト操作を行なう。イメージメモリお
よびデータバス4を、たとえば8ビツト幅で構成
したとき、シフト量は(i+j)/8の剰余すな
わち(i+j)8で与えられる。この剰余は、
0〜7の8種類である。
Circular shifter 2 performs the above-described data shift operation bidirectionally between image memory 3 and data bus 4 in accordance with a shift control signal from main processing device 1 . When the image memory and data bus 4 are configured to have a width of 8 bits, for example, the shift amount is given by the remainder of (i+j)/8, that is, (i+j)8. This remainder is
There are eight types from 0 to 7.

入出力装置用アダプタ5および6は、入出力装
置とイメージメモリとの間でDMA転送の制御や
データ形式をマツチングさせるためのアダプタで
ある。入出力装置用アダプタ5は、データバス4
の並列形式データを、並列/直列変換回路10に
より直列形式データに変換して、デイスプレイ又
はプリンタ等のイメージ出力装置7に供給する。
入出力装置用アダプタ6は、イメージ入力装置8
から出力された直列形式データを、直列/並列変
換回路11で並列形式データに変換して、データ
バス4に供給する。
The input/output device adapters 5 and 6 are adapters for controlling DMA transfer and matching data formats between the input/output device and the image memory. The input/output device adapter 5 is connected to the data bus 4
The parallel format data is converted into serial format data by a parallel/serial conversion circuit 10 and supplied to an image output device 7 such as a display or a printer.
The input/output device adapter 6 is an image input device 8
The serial format data outputted from the serial/parallel converting circuit 11 converts the serial format data into parallel format data and supplies it to the data bus 4.

このようなシステムにおいて、イメージメモリ
3と、入出力装置用アダプタ(5または6)との
間でDMA転送を行なう場合には、サーキユラシ
フタ2におけるデータシフトのためメモリアクセ
ス時間が長くなり、これに入出力装置用アダプタ
(5または6)でのデータ変換の動作が直列に加
わるため、転送速度が遅くなるという問題があつ
た。
In such a system, when performing DMA transfer between the image memory 3 and the input/output device adapter (5 or 6), the memory access time becomes longer due to data shifting in the circular shifter 2, Since the data conversion operation in the output device adapter (5 or 6) is added in series, there is a problem that the transfer speed becomes slow.

〔発明の目的および構成〕[Object and structure of the invention]

本発明の目的は、イメージメモリと入出力装置
との間のデータ転送に際して、メモリアクセス時
間の短縮を図ることにあり、そのため、データシ
フト操作を直列/並列変換あるいは並列/直列変
換操作に統合できることに着目して、データシフ
トのための特別の時間を不要にするものである。
An object of the present invention is to reduce memory access time when transferring data between an image memory and an input/output device, and therefore, data shift operations can be integrated into serial/parallel conversion or parallel/serial conversion operations. By focusing on this, it eliminates the need for special time for data shifting.

そして本発明の構成は、それにより、行アドレ
スと列アドレスとによつて指定される縦方向ある
いは横方向の連続する一群のイメージデータをい
ずれの方向についても同時にアクセスできるよう
に、複数のメモリチツプ上に一方のアドレスによ
りデータをシフトして分散格納するイメージメモ
リと、直列/並列変換あるいは並列/直列変換機
能を有する入出力装置用アダプタと、入出力装置
と、処理装置とをそなえたイメージ処理システム
において、入出力装置用アダプタに直列/並列変
換あるいは並列/直列変換の過程で同時にデータ
シフトを行なう手段を設け、上記イメージメモリ
と入出力装置との間で該入出力装置用アダプタを
介してデータ転送を行なう場合に、イメージメモ
リの読出しあるいは書込みに必要なデータシフト
を、入出力装置用アダプタにおいて実行すること
を特徴とする。
The configuration of the present invention is such that a group of continuous image data in the vertical or horizontal direction specified by the row address and the column address can be accessed simultaneously in either direction. An image processing system equipped with an image memory that shifts data according to one address and stores it in a distributed manner, an adapter for an input/output device having a serial/parallel conversion function or a parallel/serial conversion function, an input/output device, and a processing device. In this method, the input/output device adapter is provided with means for simultaneously shifting data during the process of serial/parallel conversion or parallel/serial conversion, and the data is transferred between the image memory and the input/output device via the input/output device adapter. The present invention is characterized in that, when performing transfer, the data shift required for reading or writing to the image memory is executed in the input/output device adapter.

〔発明の実施例〕 以下に、本発明の詳細を実施例にしたがつて説
明する。
[Examples of the Invention] The details of the present invention will be described below with reference to Examples.

第4図は、本発明の1実施例システムの構成図
であり、第1図の従来例に対応するものである
が、DMA転送処理状態を示す。図中、1は主処
理装置、2はサーキユラシフタ、3はイメージメ
モリ、5および6は入出力装置用アダプタ、7は
デイスプレイ又はプリンタ等のイメージ出力装
置、8はイメージ入力装置、9および12はバツ
フア、13は並列/直列変換およびシフト回路、
14は直列/並列変換およびシフト回路、15は
DMAコントローラ、16はDMAデータバスを
表わす。
FIG. 4 is a block diagram of a system according to an embodiment of the present invention, which corresponds to the conventional system shown in FIG. 1, and shows the state of DMA transfer processing. In the figure, 1 is a main processing unit, 2 is a circular shifter, 3 is an image memory, 5 and 6 are input/output device adapters, 7 is an image output device such as a display or printer, 8 is an image input device, and 9 and 12 are buffers. , 13 is a parallel/serial conversion and shift circuit;
14 is a serial/parallel conversion and shift circuit, 15 is a
DMA controller, 16 represents a DMA data bus.

本実施例においては、入出力装置用アダプタ内
の並列/直列変換およびシフト回路13あるいは
直列/並列変換およびシフト回路14が、DMA
転送の際にサーキユラシフタ2と同じ機能を果
す。
In this embodiment, the parallel/serial conversion and shift circuit 13 or the serial/parallel conversion and shift circuit 14 in the input/output device adapter is
It performs the same function as Circular Shifter 2 during transfer.

第5図は、並列/直列変換およびシフト回路1
3の細部構成図である。図中、バツフア9中に
は、イメージメモリ3からDMAデータバス16
上に読み出されたところのシフト補正されていな
いイメージデータの配列,,,,,
,,が例示されている。このデータは、本
来、左端先頭位置にビツトが配置されなければ
ならない。したがつて、2ビツトの左サーキユラ
シフタを行なつて復元することが必要なものであ
る。
Figure 5 shows parallel/serial conversion and shift circuit 1.
FIG. 3 is a detailed configuration diagram of No. 3. In the figure, the buffer 9 includes data from the image memory 3 to the DMA data bus 16.
Array of unshift-corrected image data read out above, , , ,
,, are illustrated. In this data, a bit must originally be placed at the top position on the left end. Therefore, it is necessary to perform a 2-bit left circular shifter for restoration.

17は8−1データセレクタであり、18のカ
ウンタの出力により、バツフア9の8出力中か
ら、指示された1つの出力を順次選択して、直列
形式データのビデオ信号として出力する。カウン
タ18は3ビツトのカウンタであり、主処理装置
から予め送られるシフトコントロールデータによ
り初期値をプリセツトされ、その後、第6図に示
すビデオ送出クロツクをカウントしてその値から
+1ずつ歩進し、バツフア17の8出力を順次送
査するためのスキヤン信号18aを出力する。
An 8-1 data selector 17 sequentially selects one designated output from among the eight outputs of the buffer 9 according to the output of the counter 18, and outputs it as a video signal in serial format data. The counter 18 is a 3-bit counter whose initial value is preset by shift control data sent in advance from the main processing unit, and then counts the video output clock shown in FIG. 6 and increments by +1 from that value. A scan signal 18a for sequentially transmitting the eight outputs of the buffer 17 is output.

第6図は、第5図の回路のタイミング図であ
り、第5図に例示されたイメージデータ配列の場
合のカウンタ出力と、8−1データセレクタ17
によりバツフア9から選択され出力されたビデオ
信号を示す。本例では、カウンタ18の初期値が
“010”に設定され、それにより図示のように、バ
ツフア9中の並列形式のデータ配列は、2ビツト
の左サーキユラシフタを受け、同時に直列形式デ
ータに変換され、,,…,の補正されたデ
ータ配列となつて出力される。
FIG. 6 is a timing diagram of the circuit of FIG. 5, and shows the counter output and the 8-1 data selector 17 in the case of the image data array illustrated in FIG.
The video signal selected and output from the buffer 9 is shown. In this example, the initial value of the counter 18 is set to "010", so that the parallel format data array in the buffer 9 receives a 2-bit left circular shifter and is simultaneously converted to serial format data as shown in the figure. , , . . . is output as a corrected data array.

第7図は、入出力装置用アダプタ5とは逆の動
作を行なう入出力装置用アダプタ6の直列/並列
変換およびシフト回路14の細部構成図である。
図中、19はアドレツサブルラツチ回路であり、
直列形式の入力データは、カウンタ20の出力値
によりアドレスされるラツチに順次設定される。
図は、2ビツト右サーキユラシフタを与える場合
の例を示している。
FIG. 7 is a detailed configuration diagram of the serial/parallel conversion and shift circuit 14 of the input/output device adapter 6 which performs an operation opposite to that of the input/output device adapter 5.
In the figure, 19 is an addressable latch circuit,
Input data in serial form is sequentially set in the latches addressed by the output value of counter 20.
The figure shows an example of providing a 2-bit right circular shifter.

カウンタ20は、第5図のカウンタ18に対応
するものであり、同様にシフトコントロールデー
タにより初期値をプリセツトされる(本例では
“010”)。この値は、イメージメモリ3に対する必
要な2ビツトのシフト量に相当する。この初期値
からビデオ受信クロツクをカウントし、アドレス
信20aを出力する。
The counter 20 corresponds to the counter 18 in FIG. 5, and similarly has an initial value preset by shift control data ("010" in this example). This value corresponds to the necessary 2-bit shift amount for the image memory 3. The video reception clock is counted from this initial value and an address signal 20a is output.

アドレツサブルラツチ回路19は、このカウン
タ20により制御されて、直列形式入力データの
順次のビツトを、バツフア12上の適切なシフト
位置に分配し、並列形式データとして設定する。
バツフア12に設定されたデータは、2ビツト右
サーキユラシフタされたデータとしてDMAデー
タバス16上に並列に出力され、イメージメモリ
3へ書き込まれる。
Addressable latch circuit 19 is controlled by counter 20 to distribute successive bits of serial format input data to appropriate shift positions on buffer 12 and set as parallel format data.
The data set in the buffer 12 is output in parallel onto the DMA data bus 16 as 2-bit right circular shifted data and written into the image memory 3.

このようにして、並列/直列変換、あるいは直
列/並列変換操作において、同時にサーキユラシ
フタを行なわせることができる。
In this way, a circular shifter can be performed simultaneously in a parallel/serial conversion or serial/parallel conversion operation.

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

以上述べたように、本発明によれば、イメージ
メモリの書き込みあるいは読み出しにおいて必要
とされるシフト操作が、直列形式データにより動
作する入出力装置との間のデータ転送の際に行な
われる直列/並列変換あるいは並列/直列変換の
操作中に取り込まれ、同時に処理されるためイメ
ージメモリのアクセス時間を大幅に短縮すること
ができ、DMA転送速度の向上を図ることができ
る。
As described above, according to the present invention, the shift operation required for writing or reading image memory is carried out in serial/parallel format when data is transferred to/from an input/output device that operates using serial format data. Since the data is captured during the conversion or parallel/serial conversion operation and is processed simultaneously, the image memory access time can be significantly shortened and the DMA transfer speed can be improved.

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

第1図はイメージ空間の説明図、第2図は物理
メモリ上でのイメージ配列を示す説明図、第3図
は従来のイメージ処理システムの1例の構成図、
第4図は本発明の1実施例の構成図、第5図は並
列/直列変換およびシフト回路の実施例図、第6
図は第5図に示す回路の動作タイミング図、第7
図は直列/並列変換およびシフト回路の実施例図
である。 図中、1は主処理装置、2はサーキユラシフ
タ、3はイメージメモリ、5および6は入出力装
置用アダプタ、7はデイスプレイ又はプリンタ等
のイメージ出力装置、8はイメージ入力装置、9
はバツフア、13は並列/直列変換およびシフト
回路、14は直列/並列変換およびシフト回路を
表わす。
FIG. 1 is an explanatory diagram of an image space, FIG. 2 is an explanatory diagram showing an image arrangement on a physical memory, and FIG. 3 is a configuration diagram of an example of a conventional image processing system.
FIG. 4 is a block diagram of one embodiment of the present invention, FIG. 5 is an embodiment diagram of a parallel/serial conversion and shift circuit, and FIG.
The diagram shows the operation timing diagram of the circuit shown in Figure 5, and the circuit shown in Figure 7.
The figure is an example diagram of a serial/parallel conversion and shift circuit. In the figure, 1 is a main processing unit, 2 is a circular shifter, 3 is an image memory, 5 and 6 are input/output device adapters, 7 is an image output device such as a display or printer, 8 is an image input device, 9
13 represents a parallel/serial conversion and shift circuit, and 14 represents a serial/parallel conversion and shift circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 行アドレスと列アドレスとによつて指定され
る縦方向あるいは横方向の連続する一群のイメー
ジデータをいずれの方向についても同時にアクセ
スできるように、複数のメモリチツプ上に一方の
アドレスによりデータをシフトして分散格納する
イメーメモリと、直列/並列変換あるいは並列/
直列変換機能を有する入出力装置用アダプタと、
入出力装置と、処理装置とをそなえたイメージ処
理システムにおいて、入出力装置用アダプタに直
列/並列変換あるいは並列/直列変換の過程で同
時にデータシフトを行なう手段を設け、上記イメ
ージメモリと入出力装置との間で該入出力装置用
アダプタを介してデータ転送を行なう場合に、イ
メージメモリの読出しあるいは書込みに必要なデ
ータシフトを、入出力装置用アダプタにおいて実
行することを特徴とするイメージ処理方式。
1. Shift data onto multiple memory chips using one address so that a group of continuous image data in the vertical or horizontal direction specified by a row address and a column address can be accessed simultaneously in either direction. Image memory for distributed storage and serial/parallel conversion or parallel/
An input/output device adapter with a serial conversion function,
In an image processing system equipped with an input/output device and a processing device, an adapter for the input/output device is provided with means for simultaneously performing data shifting during the process of serial/parallel conversion or parallel/serial conversion, and the image memory and the input/output device are An image processing method characterized in that when data is transferred between the input and output device adapters, the data shift required for reading or writing to an image memory is executed in the input/output device adapters.
JP58118783A 1983-06-30 1983-06-30 Image processing system Granted JPS6010391A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58118783A JPS6010391A (en) 1983-06-30 1983-06-30 Image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58118783A JPS6010391A (en) 1983-06-30 1983-06-30 Image processing system

Publications (2)

Publication Number Publication Date
JPS6010391A JPS6010391A (en) 1985-01-19
JPH022188B2 true JPH022188B2 (en) 1990-01-17

Family

ID=14744972

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58118783A Granted JPS6010391A (en) 1983-06-30 1983-06-30 Image processing system

Country Status (1)

Country Link
JP (1) JPS6010391A (en)

Also Published As

Publication number Publication date
JPS6010391A (en) 1985-01-19

Similar Documents

Publication Publication Date Title
EP0147500A2 (en) Semiconductor memory device
US5675826A (en) Image data storage
US6557086B1 (en) Memory write and read control
JPS5823373A (en) Picture memory device
JPH022188B2 (en)
JP2820048B2 (en) Image processing system, storage device and access method therefor
JPH028335B2 (en)
US20060082585A1 (en) Apparatus and method for transposing data
JP2907630B2 (en) Frame memory controller
JPH0129634Y2 (en)
JP2737932B2 (en) Image data reduction device
KR960036534A (en) High speed data transmission device for image processing
JP2636834B2 (en) Image processing device
JPS61205071A (en) Color recorder
JPS60128489A (en) Data conversion circuit
JPS6010963A (en) Image memory constituting system
JP2989193B2 (en) Image memory interleaved input / output circuit
JPH0612329A (en) RAM rewriting method
JPS6359641A (en) Picture memory
JPH05207264A (en) Picture memory device for longitudinal lateral size conversion
JPS63250736A (en) Image data processor
JPH04342022A (en) Shift type bit-byte converting system
JPS62255153A (en) recording device
JPS6346630B2 (en)
JPH0560849U (en) Image recorder