JPH01171068A - Image data access method - Google Patents
Image data access methodInfo
- Publication number
- JPH01171068A JPH01171068A JP33326187A JP33326187A JPH01171068A JP H01171068 A JPH01171068 A JP H01171068A JP 33326187 A JP33326187 A JP 33326187A JP 33326187 A JP33326187 A JP 33326187A JP H01171068 A JPH01171068 A JP H01171068A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- data
- line
- plane
- address
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims description 15
- 230000015654 memory Effects 0.000 claims abstract description 54
- 238000006243 chemical reaction Methods 0.000 claims description 12
- 238000012545 processing Methods 0.000 abstract description 10
- 238000013500 data storage Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000006073 displacement reaction Methods 0.000 description 2
- PEDCQBHIVMGVHV-UHFFFAOYSA-N Glycerine Chemical compound OCC(O)CO PEDCQBHIVMGVHV-UHFFFAOYSA-N 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
Landscapes
- Image Input (AREA)
Abstract
Description
【発明の詳細な説明】
〔概 要〕
本発明は、多値データを格納した複数のプレーンメモリ
のアドレスを変換してライン単位にアクセスできるよう
にしたイメージデータアクセス方式に関し、
1ライン分のデータを単位としたメモリを構成して、1
回のコマンドで1ライン分のデータの処理を可能にする
方式を提供することを・目的とし、多値データを構成す
る単位データが複数のプレーンメモリそれぞれの同じ位
置のメモリ単位に格納されてなるビットマツプメモリに
アドレス変換回路を設けて、該ビットマツプメモリの同
じライン番号ごとにアクセスできるよう前記データのア
ドレスを変換することを特徴とする特
〔産業上の利用分野〕
本発明は、多値データを格納した複数のプレーンメモリ
のアドレスを変換してライン単位にアクセスできるよう
にしたイメージデータアクセス方式に関するものである
。[Detailed Description of the Invention] [Summary] The present invention relates to an image data access method that converts the addresses of a plurality of plane memories storing multivalued data so that the data can be accessed line by line. Configure memory in units of 1
The purpose is to provide a method that makes it possible to process one line of data with a single command, and the unit data that makes up the multi-level data is stored in memory units at the same location in each of multiple plane memories. [Industrial Field of Application] The present invention is characterized in that an address conversion circuit is provided in a bitmap memory to convert the address of the data so that each line number of the bitmap memory can be accessed. The present invention relates to an image data access method that converts the addresses of a plurality of plane memories storing data so that it can be accessed line by line.
近年、カラー等の多値データを表示、編集する機能を有
するデイスプレィ装置は、イメージメモリを複数のプレ
ーンメモリで構成し、画素をメモリ単位としてメモリ上
に画像を展開したビットマツプ形式でイメージデータを
格納している。In recent years, display devices that have the function of displaying and editing multivalued data such as color data are configured with image memory consisting of multiple plane memories, and store image data in a bitmap format in which the image is developed on the memory using pixels as memory units. are doing.
このイメージデータをライン相関で処理する場合、ある
いは、プリンタ等の出力装置にデータを転送する場合に
は高速に処理することが難しく、適切なアクセス方法が
要望されている。When processing this image data using line correlation, or when transferring the data to an output device such as a printer, it is difficult to process it at high speed, and an appropriate access method is desired.
複数のプレーンで構成されたイメージデータのメモリは
、通常、データがプレーンの同じ位置のビットで構成さ
れる。In an image data memory composed of multiple planes, the data is usually composed of bits at the same position of the planes.
従って、ライン単位で処理を行う場合には、各プレーン
ごとに対応するラインをそれぞれアクセスすることによ
って、1ラインずつデータを読み出していた。Therefore, when processing is performed line by line, data is read out line by line by accessing the corresponding line for each plane.
即ち、1つのラインデータをアクセスするのに各プレー
ンをアクセスする必要があり、その都度プレーンの指定
を変更して命令コマンドを起動していた。That is, it is necessary to access each plane in order to access one line data, and each time, the designation of the plane is changed and an instruction command is activated.
この従来の方式では、1ラインのデータを読み出すため
に、プレーンを変更してコマンドを起−動する必要があ
るため、全体の処理時間を高速化することができなかっ
た。In this conventional method, in order to read one line of data, it is necessary to change the plane and start a command, so it is not possible to speed up the overall processing time.
本発明はこのような点に鑑みて創作されたものであって
、イメージメモリをプレーン構成にとられれることなく
、1947分のデータを単位としたメモリを構成して、
1回のコマンドで1ライン分のデータの処理を可能にす
る方式を提供することを目的としている。The present invention has been created in view of the above points, and instead of having an image memory in a plain configuration, it is configured to have a memory unit of 1947 minutes of data.
The purpose is to provide a method that allows processing of one line of data with one command.
上記した目的を達成するため、多値データを格納する複
数のプレーンメモリからなるビットマツプメモリのアド
レスをアドレス変換回路を設けて、同じライン番号ごと
にアクセスできる構成にする。In order to achieve the above object, an address conversion circuit is provided to convert the address of a bitmap memory consisting of a plurality of plane memories storing multivalued data, so that the address can be accessed for each line number.
ライン順に格納されたラインデータでそれぞれのプレー
ンメモリが構成される実際のビットマツプメモリ (イ
メージメモリ)は、アドレス変換回路を介することによ
って、各プレーンの同じライン番号のデータをライン単
位にプレーン番号順に配列し、且つ、そのプレーン順の
データ群が、ライン番号順に配列されるようなメモリに
変換される。The actual bitmap memory (image memory), in which each plane memory is made up of line data stored in line order, uses an address conversion circuit to process the data of the same line number of each plane line by line in the order of the plane number. The data group arranged in plane order is converted into a memory in which the data group is arranged in line number order.
第1図は本発明のイメージデータアクセス方式の一実施
例を説明する図で、
第2図はアドレス変換回路の構成を示すブロック図であ
る。FIG. 1 is a diagram illustrating an embodiment of the image data access method of the present invention, and FIG. 2 is a block diagram showing the configuration of an address conversion circuit.
第1図(a)において、Mlは通常のメモリのデータ格
納形式を示す。In FIG. 1(a), Ml indicates a data storage format of a normal memory.
M2はライン構成したメモリのデータ格納形式で、格納
形式M1のメモリはアドレス変換回路lを介した場合、
格納形式M2のメモリに置換された格納形式をもつ。M2 is the data storage format of the memory configured as a line, and when the memory with the storage format M1 is passed through the address conversion circuit l,
It has a storage format replaced by a memory with storage format M2.
iはプレーン番号、jはライン番号を示すものとし、i
−j (i、j=1〜n)はiプレーンのjラインのデ
ータを示す。i is the plane number, j is the line number, and i
−j (i, j=1 to n) indicates data of the j line of the i plane.
即ち、格納形式M2のメモリで、第1ラインにはMlの
第1プレーン第1ラインのデータが格納され、第2ライ
ンにはMlの第2プレーン第1ラインのデータが格納さ
れ、第nラインにはMlの第nプレーン第1ラインのデ
ータが格納される。That is, in a memory of storage format M2, the data of the first line of the first plane of Ml is stored in the first line, the data of the first line of the second plane of Ml is stored in the second line, and the data of the first line of the second plane of Ml is stored in the first line. The data of the first line of the nth plane of Ml is stored.
そして、M2の第n+lラインにはMlの第1プレーン
第2ラインのデータが格納されるような形式で順次格納
されることを示す。Further, it is shown that the data of the second line of the first plane of Ml is sequentially stored in the n+lth line of M2.
例えば、第1図(b)に示すように、データ処理袋;こ
2からライン構成のメモリのアドレスとして与えられる
アドレスAは、アドレス変換回路1によって、実際のイ
メージメモリのアドレスに変換して、そのアドレスに格
納されたデータをアクセスすることになる。For example, as shown in FIG. 1(b), the address A given as the address of the line-configured memory from the data processing bag 2 is converted into an actual image memory address by the address conversion circuit 1. The data stored at that address will be accessed.
即ち、第2図に示すように、データ処理装置から与えら
れるアドレスAは、1プレーンメモリのライン数pと1
ラインを構成するメモリ単位数qとの積、即ち1プレー
ンメモリのメモリ単位数を除数とする第1の割算器11
によって除算され、その商にはメモリの選択されたプレ
ーン番号を示し、剰余は第2の割算器12に接続される
。That is, as shown in FIG.
A first divider 11 whose divisor is the product of the number of memory units q constituting the line, that is, the number of memory units of one plane memory.
The quotient indicates the selected plane number of the memory, and the remainder is connected to the second divider 12.
第2の割算器12は入力した第1の割算器11の剰余を
、1ラインを構成するメモリ単位数qで除算を行う。The second divider 12 divides the input remainder of the first divider 11 by the number q of memory units constituting one line.
第2の割算器12の商2はプレーン内のY方向のメモリ
座標変位Δyを示し、剰余mはプレーン内のX方向の変
位ΔXを示す。The quotient 2 of the second divider 12 indicates the memory coordinate displacement Δy in the Y direction within the plane, and the remainder m indicates the displacement ΔX in the X direction within the plane.
即ち、M2のアドレスAは、 A=k −p −q+l −q+m で表される。That is, address A of M2 is A=k-p-q+l-q+m It is expressed as
一方、イメージデータのメモリMのプレーン数p、およ
び1ラインのビット長qは、2の巾乗で構成されるのが
一般である。On the other hand, the number p of planes of the image data memory M and the bit length q of one line are generally configured as a power of two.
従って、割算器は割算手法としてディジタル演算に常用
される2進数で構成されるコードの桁シフトの手段が適
用でき、桁シフト可能なレジスタで簡単に構成すること
ができる。Therefore, the divider can use means for shifting the digits of a code made up of binary numbers, which is commonly used in digital operations, as a division method, and can be easily constructed with registers capable of shifting digits.
以上述べてきたように、本発明によれば、ライン単位の
転送(例えば、カラーデータのプリンタ出力)がブレー
ン単位の転送を行うことなく実行できるため、高速処理
が可能になり、またライン単位の編集(例えば、カラー
データの圧縮処理)が容易に可能となり、工業的には極
めて有用である。As described above, according to the present invention, line-by-line transfer (for example, outputting color data to a printer) can be executed without transferring in brane-by-brane units, making high-speed processing possible. Editing (for example, compression processing of color data) can be easily performed, which is extremely useful industrially.
第1図は、本発明のイメージデータアクセス方式の一実
施例を説明する図、
第1図は、アドレス変換回路の構成を示すブrlツク図
である。
図において、
1はアドレス変換回路、
2はデータ処理装置、
11.12は割算器、
Mlはメモリの通常のデータ格納形式、M2はメモリの
アドレス変換後のデータ格納形刃
(Q)
、ミド空な413月の一史扼ヅ列と説日月可る固相り図FIG. 1 is a diagram illustrating an embodiment of the image data access method of the present invention. FIG. 1 is a block diagram showing the configuration of an address translation circuit. In the figure, 1 is an address conversion circuit, 2 is a data processing device, 11.12 is a divider, Ml is a normal data storage format of memory, M2 is a data storage type blade (Q) after address conversion of memory, and mid The history of the empty 413 months and the solid relationship between the dates and the moon
Claims (2)
ンメモリそれぞれの同じ位置のメモリ単位に格納されて
なるビットマップメモリにアドレス変換回路(1)を設
けて、該ビットマップメモリの同じライン番号ごとにア
クセスできるよう前記データのアドレスを変換すること
を特徴とするイメージデータアクセス方式。(1) An address conversion circuit (1) is provided in a bitmap memory in which unit data constituting multivalued data is stored in memory units at the same location in each of a plurality of plane memories, and the same line number of the bitmap memory is provided. An image data access method characterized by converting the address of the data so that it can be accessed separately.
成するメモリ単位数を除数とする第1の割算器(11)
と、プレーンメモリを構成するラインのメモリ単位数を
除数とする第2の割算器(12)を備え、前記第1の割
算器(11)の商をプレーンメモリの番号とし、該第1
の割算器(11)の剰余を前記第2の割算器(12)に
出力し、該第2の割算器(12)の商を前記プレーンメ
モリのライン番号とし、剰余を該ライン番号における単
位メモリの番号とするアドレス変換回路とする特許請求
の範囲第1項記載のイメージデータアクセス方式。(2) The address conversion circuit is a first divider (11) whose divisor is the number of memory units constituting one plane memory.
and a second divider (12) whose divisor is the number of memory units of the lines constituting the plane memory, the quotient of the first divider (11) is the number of the plane memory, and the first
The remainder of the divider (11) is output to the second divider (12), the quotient of the second divider (12) is set as the line number of the plain memory, and the remainder is set as the line number. 2. The image data access method according to claim 1, wherein the image data access method is an address conversion circuit that converts the unit memory number into the address conversion circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP33326187A JPH01171068A (en) | 1987-12-25 | 1987-12-25 | Image data access method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP33326187A JPH01171068A (en) | 1987-12-25 | 1987-12-25 | Image data access method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH01171068A true JPH01171068A (en) | 1989-07-06 |
Family
ID=18264132
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP33326187A Pending JPH01171068A (en) | 1987-12-25 | 1987-12-25 | Image data access method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01171068A (en) |
-
1987
- 1987-12-25 JP JP33326187A patent/JPH01171068A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5111192A (en) | Method to rotate a bitmap image 90 degrees | |
| US4627020A (en) | Method for rotating a binary image | |
| US4561072A (en) | Memory system handling a plurality of bits as a unit to be processed | |
| SE458401B (en) | DATA DISPLAY SYSTEM INCLUDING A CENTRAL PROCESSING UNIT AND A DISPLAY DEVICE WHEN PICTURES ARE UPDATED SIGNIFICANTLY INDEPENDENT OF THE PERIODS THAT IMAGE BUFFER DEVICES REFRESH THE DISPLAY | |
| US4434502A (en) | Memory system handling a plurality of bits as a unit to be processed | |
| JPH04504629A (en) | scaler gate array | |
| KR900702499A (en) | Method and apparatus for generating video signal | |
| JPS62190541A (en) | Apparatus for shifting digital data with memory for computerized data processor | |
| JPS58132855A (en) | Image processing system | |
| JPH01171068A (en) | Image data access method | |
| US5274589A (en) | Method and apparatus for writing and reading data to/from a memory | |
| JP3151788B2 (en) | How to rotate the original rectangle image | |
| EP0549309B1 (en) | Address reduction scheme implementing rotation algorithm | |
| JPH02148237A (en) | Method of storing and operating block of data | |
| JPS6037930B2 (en) | information storage device | |
| JPH0241267A (en) | Image forming device | |
| JPS5947394B2 (en) | Variable length two-dimensional register | |
| JP2767815B2 (en) | Image data conversion circuit | |
| JPS5816186B2 (en) | character pattern generator | |
| JPH01201780A (en) | Information processor | |
| JPH0563959A (en) | Method and device for processing picture | |
| JPS6398694A (en) | Vertical-horizontal converter for pattern data | |
| JPH061449B2 (en) | Image memory for image editing | |
| JPS6125192B2 (en) | ||
| JPH0282369A (en) | Method of transferring data |