JPS61101875A - Image data processing system - Google Patents

Image data processing system

Info

Publication number
JPS61101875A
JPS61101875A JP22370484A JP22370484A JPS61101875A JP S61101875 A JPS61101875 A JP S61101875A JP 22370484 A JP22370484 A JP 22370484A JP 22370484 A JP22370484 A JP 22370484A JP S61101875 A JPS61101875 A JP S61101875A
Authority
JP
Japan
Prior art keywords
memory
flag
data
image
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP22370484A
Other languages
Japanese (ja)
Inventor
Tomonari Adachi
足立 具成
Wataru Kikuchi
亘 菊池
Riyouichi Nishimachi
西町 良市
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 JP22370484A priority Critical patent/JPS61101875A/en
Publication of JPS61101875A publication Critical patent/JPS61101875A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the number of access to the image memory by disabling an access to the block of no data as referring to the flag when transferring the data. CONSTITUTION:An image memory 1 is constituted respectively of 4096 bits in the (i) and (j) directions of the matrix. The memory 1 is, for instance, divided into rectangles of 16X16 bits, and a flag is attached to each block. A flag memory 2 is specified address by registers 3 and 4. When the data A part of the memory 1 starts writing from addresses 6, 10, a control circuit 6 writes a flag F0 in the correspondent address '0', '0' in the memory 2. On one hand, the control circuit 6, detecting the carry generating, writes the flag F0in the next address '0', '1'. Thus, when writing the image data in the memory 1, correspondent flags are stored in the memory 2. And by this, when transferring image data from the memory 1, the transfer can be performed without access of the flag-lacking addresses to the memory 1.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、イメージデータの処理方式に関し、特にイ
メージメモリのアクセス回数を減少するイメージデータ
の処理方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image data processing method, and particularly to an image data processing method that reduces the number of accesses to an image memory.

〔従来の技術〕[Conventional technology]

印刷装置、表示装置等に出力される文字、ベクトル、イ
メージ等は、2次元アドレスによって指定されるイメー
ジメモリに展開され、このイメージメモリの内容を出力
データとして印刷或いは表示を行うことが、一般にイメ
ージ処理を行うシステムに用いられている。ところがイ
メージメモリの内容を転送するには、イメージメモリを
アクセスして、データを取出すことが必要である。この
アクセスは、イメージメモリの全アドレスを順次アクセ
スするものである。一方、イメージメモリに展開された
文字等は、イメージメモリの全域に展開されるものでな
い。従って、展開された空間をアクセスすることは、無
駄であり、処理能力を低下させると云うことが生じる。
Characters, vectors, images, etc. that are output to a printing device, display device, etc. are expanded into an image memory specified by a two-dimensional address, and the contents of this image memory are generally printed or displayed as output data. Used in processing systems. However, in order to transfer the contents of the image memory, it is necessary to access the image memory and retrieve the data. This access sequentially accesses all addresses in the image memory. On the other hand, characters etc. developed in the image memory are not developed over the entire area of the image memory. Therefore, accessing the expanded space is wasteful and reduces processing power.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

この発明は、以上のような従来の状況から、特にイメー
ジメモリのアクセス回数を減少させるイメージデータ処
理方式を提供するものであり、更に具体的には展開され
ていないイメージが空間となっているイメージメモリの
空間部をアクセスせずに処理能力の低下防止を図ろうと
するものである。
In view of the above-mentioned conventional situation, the present invention provides an image data processing method that particularly reduces the number of accesses to the image memory, and more specifically, it is an object of the present invention to provide an image data processing method that reduces the number of accesses to the image memory. This is an attempt to prevent a decline in processing performance without accessing the memory space.

〔問題点を解決するための手段〕[Means for solving problems]

以上のような問題点を解決するための手段は、イメージ
データを格納するイメージメモリから前記イメージデー
タの転送を行うイメージ処理システムにおいて、前記イ
メージメモリを分割してブロックを形成し、該ブロック
内の前記イメージデータの有無に対してフラグの設定を
行うと共に、該フラグを前記ブロック単位に格納するフ
ラグ記憶域に格納し、前記イメージデータを転送する際
に、前記フラグ記憶域のフラグ無しのイメージメモリの
アクセスを行わずに転送するイメージデータ転送方式で
ある。
A means for solving the above problems is to divide the image memory to form blocks in an image processing system that transfers image data from an image memory that stores image data, and to A flag is set for the presence or absence of the image data, and the flag is stored in the flag storage area that is stored in units of blocks, and when the image data is transferred, the image memory without the flag is set in the flag storage area. This is an image data transfer method that transfers data without accessing it.

〔作用〕[Effect]

上記のイメージデータ転送方式は、イメージメモリをブ
ロックに分割して、イメージデータを展開するときに、
ブロック単位にデータの有無をフラグ記憶域に格納して
、データを転送する際にフラグを参照してデータの無い
ブロックのアクセスを行わないものであり、アクセス回
数が減少される。
The above image data transfer method divides the image memory into blocks and when expanding the image data,
The presence or absence of data is stored in a flag storage area for each block, and when data is transferred, the flag is referenced and blocks without data are not accessed, reducing the number of accesses.

〔実施例〕〔Example〕

以下、図面を参照して本発明の実施例を詳細に説明する
Embodiments of the present invention will be described in detail below with reference to the drawings.

第1図は、本発明のイメージデータの処理方式を説明す
るためのブロック図、 第2図は、矩形ブロック分割の
フラグ説明用ブロック図、第3図は矩形分割ブロックを
説明するための模式図、第4図は水平分割の際の本発明
のブロック図、第5図は垂直分割の際の本発明のブロッ
ク図である。
FIG. 1 is a block diagram for explaining the image data processing method of the present invention, FIG. 2 is a block diagram for explaining flags for rectangular block division, and FIG. 3 is a schematic diagram for explaining rectangular divided blocks. , FIG. 4 is a block diagram of the present invention in the case of horizontal division, and FIG. 5 is a block diagram of the present invention in the case of vertical division.

第3図のイメージメモリーは行列(i、D方向がそれぞ
れ4096ビツト(4096x4096)で構成されて
いる。以上のイメージメモリーを例えば(16X 16
)ビア)づつの矩形に分割し、各ブロックにフラグを付
けるとすると、(256X 256)ビットのフラグ記
憶域(後フラグメモリと記す)が必要となる。
The image memory in Fig. 3 is composed of a matrix (4096 bits (4096 x 4096) in the i and D directions each).
) vias) and a flag is attached to each block, a flag storage area of (256×256) bits (referred to as rear flag memory) is required.

フラグメモリ2は第1図に示すように、i方向1、; アドレスを指定するレジスタ3とj方向アドレスを指定
するレジスタ4からフラグアドレス制御回路5を介して
アドレスを指定される。尚レジスタ3と4は12ビツト
で構成され、上位8ビツトがフラグメモリ2のアドレス
であり、全ビット(12ビツト)はイメージメモリ1の
1+J アドレスを示す。
As shown in FIG. 1, the flag memory 2 receives addresses via a flag address control circuit 5 from a register 3 that specifies an i-direction 1 address and a register 4 that specifies a j-direction address. Note that registers 3 and 4 are composed of 12 bits, the upper 8 bits are the address of flag memory 2, and all bits (12 bits) indicate the 1+J address of image memory 1.

上記イメージメモリ1のアドレスは制御回路6にて制御
される。なおイメージメモリ1に展開されるイメージデ
ータはレジスタ7から入力される。
The address of the image memory 1 is controlled by a control circuit 6. Note that the image data to be developed in the image memory 1 is input from the register 7.

レジスタ7のイメージデータは制御回路6にも入力され
る。制御回路6はイメージデータのデータ長と指定され
るイメージメモリの分割方法(矩形分割、水平方向分割
、垂直方向分割)によってフラグメモリ2を制御する。
The image data in the register 7 is also input to the control circuit 6. The control circuit 6 controls the flag memory 2 according to the data length of the image data and the designated image memory division method (rectangular division, horizontal division, vertical division).

なお水平、垂直分割については後述する。Note that horizontal and vertical division will be described later.

矩形分割の詳細に付いて第3図を用いて説明を行う。イ
メージメモリ1には、図の斜線で示すような水平16ビ
ツトからなるデータA部と垂直9ビツトからなるデータ
8部のイメージデータが書込まれるとする。データA、
B部の先頭アドレスはいずれもアドレス(i、j、6.
10)である。
Details of rectangular division will be explained using FIG. 3. It is assumed that image data is written into the image memory 1, as shown by diagonal lines in the figure, consisting of a data part A consisting of 16 horizontal bits and 8 parts of data consisting of 9 vertical bits. Data A,
The first addresses of part B are all addresses (i, j, 6 .
10).

フラグメモリ2のアドレスは上記したようにレジスタ3
と4のそれぞれ上位8ビツトにて割付けられる。従って
、レジスタ3と4の下位4ビット分の16 X 16の
イメージメモリの矩形範囲がフラグメモリ2の1ビツト
に割付られる。データA部は水平方向に16ビツト目の
境界を越えている。従って、フラグメモリ2のアドレス
(0,1)と(0,2)にフラグが付けられなければな
らない。この働きをするのが、制御回路6に設けられた
ブロック境界判定の機能を持つ全加算器61と62であ
る。
The address of flag memory 2 is register 3 as described above.
and 4 are allocated in the upper 8 bits, respectively. Therefore, a rectangular range of 16×16 image memory corresponding to the lower four bits of registers 3 and 4 is allocated to one bit of flag memory 2. The data part A exceeds the 16th bit boundary in the horizontal direction. Therefore, flags must be attached to addresses (0, 1) and (0, 2) in flag memory 2. This function is performed by full adders 61 and 62 provided in the control circuit 6 and having a block boundary determination function.

全加算器61と62にはそれぞれレジスタ3と4の下位
4ビツトが入力されると共に、イメージメモリ1に書込
まれる〔データのビット長−1ビツト〕が入力され、そ
れぞれ全加算される。なお、水平方向の境界判定を行う
か又垂直方向の境界判定を行うかは、制御回路6に入力
する方向指定信号りによって制御回路が制御を行う。
The lower 4 bits of registers 3 and 4 are input to full adders 61 and 62, respectively, as well as [bit length of data - 1 bit] to be written to image memory 1, and these are respectively fully added. Note that the control circuit controls whether to perform horizontal boundary determination or vertical boundary determination based on a direction designation signal input to the control circuit 6.

例えば、水平方向のデータA部境界判定を行う場合に信
号りを論理値“0゛ とすると、信号D ′0”の時レ
ジスタ4と全加算器62を制御回路6が制御する。図に
示すレジスタ4内の数字はデータへ部の先頭アドレスで
ある。この下位4ビツトのrloloJと水平方向のデ
ータ長16−1、即ちrllll」とが全加算器62に
入力される。データへ部がアドレス(6,10)から書
込みを開始すると制御回路6は対応するフラグメモリ2
のアドレス(0,0)にフラグFOを書込む。
For example, if the signal D is set to a logical value of "0" when determining the boundary of the data section A in the horizontal direction, the control circuit 6 controls the register 4 and the full adder 62 when the signal D'0. The number in the register 4 shown in the figure is the start address of the data section. The lower 4 bits rloloJ and the horizontal data length 16-1, ie, rllll'' are input to the full adder 62. When the data section starts writing from address (6, 10), the control circuit 6 sends the corresponding flag memory 2
Write flag FO to address (0,0).

一方全加算器62に依ってキャリの発生したことを検知
した制御回路6は、次のフラグメモリ2のアドレス(0
,1)にフラグF1を書込む。なお、キャリの発生によ
ってレジスタ4の上位8ピツトノ更新が行われる。デー
タ8部の場合には、方向指定信号D “1′によって、
制御回路6はレジスタ3と全加算器61が制御され、全
加算器61にはrollo」とr 1000 Jとの加
算が行われ、キャリの発生はなく、フラグメモリ2のア
ドレス(0、O)のFOのみとなる。
On the other hand, the control circuit 6 detects the occurrence of a carry by the full adder 62 and selects the next address (0) of the flag memory 2.
, 1). Note that the upper eight pits of the register 4 are updated due to the occurrence of a carry. In the case of 8 parts of data, the direction designation signal D "1' causes
In the control circuit 6, the register 3 and the full adder 61 are controlled, and the full adder 61 performs the addition of "rollo" and r1000 J, no carry occurs, and the address (0, O) of the flag memory 2 is added. FO only.

以上のように、イメージメモリ1にイメージデータを書
込みを行う際に、フラグメモリ2の16×16ビツトの
矩形単位にフラグを立てて置けば、イメージメモリ1か
らイメージデータを転送する際に、フラグメモリを参照
してフラグの無いアドレスは、イメージメモリをアクセ
スしないで所要の転送が行われる。
As described above, when writing image data to image memory 1, if a flag is set in each 16 x 16 bit rectangular unit of flag memory 2, when image data is transferred from image memory 1, the flag is set. When the memory is referenced, for addresses without flags, the required transfer is performed without accessing the image memory.

他の実施例として水平分割に付いて第4図を用いて説明
を行う。実施例と同じく、イメージメモリ1は4096
 X 4096ビノトとする。このイメージメモリ1を
水平方向のI X 4096に分割すると、フラグメモ
リ20は4096ビノトとなる。
As another embodiment, horizontal division will be explained using FIG. 4. As in the embodiment, image memory 1 has 4096
X 4096 Binoto. If this image memory 1 is divided into I x 4096 parts in the horizontal direction, the flag memory 20 will have 4096 bits.

イメージメモリ1にイメージデータを書込む際に、イメ
ージデータを格納するレジスタ7にデータが有れば、そ
の時のレジスタ3のアドレス単位にフラグを立てておけ
ばよい。従って制御回路50は簡単化され、データの有
無を検出するピント検出回路51を設けるのみでよい。
When writing image data to the image memory 1, if there is data in the register 7 that stores the image data, a flag may be set for each address in the register 3 at that time. Therefore, the control circuit 50 is simplified and only needs to be provided with a focus detection circuit 51 that detects the presence or absence of data.

ビットが検出されると制御回路50は該当するアドレス
にフラグを立てる動作を行う。
When a bit is detected, the control circuit 50 performs an operation of setting a flag at the corresponding address.

第5図は垂直分割の場合であり、水平分割とことなるの
は、レジスタ3に替えてレジスタ4を用いたことであり
、動作は水平分割と同じである。
FIG. 5 shows the case of vertical division, which differs from horizontal division in that register 4 is used instead of register 3, and the operation is the same as horizontal division.

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

以上の説明から理解されるように、この発明はフラグ記
憶域にイメージメモリのデータの有無を分割単位に表示
し、イメージメモリからデータを転送する時にフラグの
無いアドレスはイメージメモリのアクセスを行わずに転
送ができ、アクセス回数の減少し、処理性能の向上が図
れるものとなる。
As can be understood from the above explanation, the present invention displays the presence or absence of image memory data in the flag storage area in division units, and when transferring data from the image memory, addresses without flags do not access the image memory. data can be transferred to other locations, reducing the number of accesses and improving processing performance.

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

第1図は、本発明のイメージデータの処理方式を説明す
るためのブロック図、 第2図は、矩形ブロック分割のフラグ説明用ブロック図
、 第3図は矩形分割ブロックを説明するための模式図、 第4図は水平分割の際の本発明のブロック図、第5図は
垂直分割の際の本発明のブロック図をそれぞれ示す。 図において、1はイメージメモリ、2はフラグメモリ、
3と4と7はレジスタ、5はフラグアドレス制御回路、
6は制御回路をそれぞれ示す。 第1図 第 2 閏 第4図 工 第5図 ム
FIG. 1 is a block diagram for explaining the image data processing method of the present invention. FIG. 2 is a block diagram for explaining flags of rectangular block division. FIG. 3 is a schematic diagram for explaining rectangular divided blocks. , FIG. 4 is a block diagram of the present invention in the case of horizontal division, and FIG. 5 is a block diagram of the present invention in the case of vertical division. In the figure, 1 is image memory, 2 is flag memory,
3, 4 and 7 are registers, 5 is a flag address control circuit,
6 indicates a control circuit, respectively. Figure 1 Figure 2 Leap Figure 4 Figure 5 Mu

Claims (1)

【特許請求の範囲】[Claims] イメージデータを格納するイメージメモリから前記イメ
ージデータの転送を行うイメージ処理システムにおいて
、前記イメージメモリを分割してブロックを形成し、該
ブロック内の前記イメージデータの有無に対してフラグ
の設定を行うと共に、該フラグを前記ブロック単位に格
納するフラグ記憶域に格納し、前記イメージデータを転
送する際に、前記フラグ記憶域のフラグ無しのイメージ
メモリのアクセスを行わずに転送することを特徴とする
イメージデータの処理方式。
In an image processing system that transfers image data from an image memory that stores image data, the image memory is divided to form blocks, and a flag is set as to the presence or absence of the image data in the block. , the image is characterized in that the flag is stored in the flag storage area stored in units of blocks, and when the image data is transferred, the image data is transferred without accessing the image memory without the flag in the flag storage area. Data processing method.
JP22370484A 1984-10-23 1984-10-23 Image data processing system Pending JPS61101875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22370484A JPS61101875A (en) 1984-10-23 1984-10-23 Image data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22370484A JPS61101875A (en) 1984-10-23 1984-10-23 Image data processing system

Publications (1)

Publication Number Publication Date
JPS61101875A true JPS61101875A (en) 1986-05-20

Family

ID=16802347

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22370484A Pending JPS61101875A (en) 1984-10-23 1984-10-23 Image data processing system

Country Status (1)

Country Link
JP (1) JPS61101875A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61251965A (en) * 1985-05-01 1986-11-08 Fuji Xerox Co Ltd Image editing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61251965A (en) * 1985-05-01 1986-11-08 Fuji Xerox Co Ltd Image editing system

Similar Documents

Publication Publication Date Title
US5606650A (en) Method and apparatus for storage and retrieval of a texture map in a graphics display system
US5990902A (en) Apparatus and method for prefetching texture data in a video controller of graphic accelerators
JP2538029B2 (en) Computer display device
US6911984B2 (en) Desktop compositor using copy-on-write semantics
JP4562919B2 (en) Method and apparatus for implementing dynamic display memory
JP3172950B2 (en) Predictive caching system
US4945499A (en) Graphic display system
EP0284904B1 (en) Display system with symbol font memory
JPS6180339A (en) Memory access control system
US4924432A (en) Display information processing apparatus
US5473348A (en) Apparatus and method of controlling paging unit of coprocessor built in display control system
JPS61101875A (en) Image data processing system
US4988985A (en) Method and apparatus for a self-clearing copy mode in a frame-buffer memory
JPS61147292A (en) Multiwindow control system
EP0787326B1 (en) System and method for processing of memory data and communication system comprising such system
JPS58136093A (en) Display controller
US6418505B1 (en) Accessing beyond memory address range of commodity operating system using enhanced operating system adjunct processor interfaced to appear as RAM disk
JPS6122391A (en) Copy control system for display
JP3217815B2 (en) Address translation method
JPH11259058A (en) Screen display system
JPH0728990A (en) Graphic memory access circuit
JPH0651751A (en) Image display device
JPH05234370A (en) Data transfer method of image memory
KR970029104A (en) Group Adaptive Segment Cache Buffer Implementation
JPH08147458A (en) Memory control unit