JPH0312741B2 - - Google Patents

Info

Publication number
JPH0312741B2
JPH0312741B2 JP4926883A JP4926883A JPH0312741B2 JP H0312741 B2 JPH0312741 B2 JP H0312741B2 JP 4926883 A JP4926883 A JP 4926883A JP 4926883 A JP4926883 A JP 4926883A JP H0312741 B2 JPH0312741 B2 JP H0312741B2
Authority
JP
Japan
Prior art keywords
data
memory
mask
processing
memory module
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
JP4926883A
Other languages
Japanese (ja)
Other versions
JPS59173863A (en
Inventor
Ryoichi Aizawa
Tadao Tatezuki
Jiro Izumi
Keiji Yamamoto
Takeshi Kubo
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 JP4926883A priority Critical patent/JPS59173863A/en
Publication of JPS59173863A publication Critical patent/JPS59173863A/en
Publication of JPH0312741B2 publication Critical patent/JPH0312741B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Digital Computer Display Output (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、マスクメモリ方式に関し、特にハー
ド上で専用のマスクメモリを設けずに、複数のメ
モリモジユールからなるメモリシステム中の任意
のメモリモジユールをマスクメモリとして随時割
付け、残りのメモリモジユールを処理メモリとし
て指定してマスク処理を行なう方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a mask memory method, and in particular to a method for using any memory module in a memory system consisting of a plurality of memory modules without providing a dedicated mask memory on hardware. This invention relates to a method in which a module is allocated as a mask memory at any time, and the remaining memory modules are designated as processing memories to perform mask processing.

〔技術の背景〕[Technology background]

従来、たとえばイメージ処理システムにおいて
は、画面中の特定部分画面を抽出したり、更新す
るなど、画面上の領域を特定して処理する場合
に、マスク処理が利用されているが、その場合の
マスク処理は、画面データ用の処理メモリの他に
専用のマスクメモリを設け、双方のメモリを同時
的にアクセスし、対応するアドレスの画面データ
およびマスクデータを読み出して、それらの論理
積をとることにより行なつていた。
Conventionally, for example, in image processing systems, mask processing has been used to specify and process areas on the screen, such as extracting or updating a specific part of the screen. Processing is performed by providing a dedicated mask memory in addition to the processing memory for screen data, accessing both memories simultaneously, reading the screen data and mask data at the corresponding address, and taking the AND of them. I was doing it.

また一般の画像処理では、複数の画像を重ねて
合成したり、前面の画像で後面の画像を隠すなど
の処理が多く行われる。そのため、画像データ間
でAND,OR,EORなどの論理演算や算術演算
を行う機能とともに、複数の処理メモリを設け
て、このような画像処理を高速に実行できるよう
にしている。第4図は、このような複数の画像デ
ータ間での演算とマスク処理とを複合させた例を
示す。
Furthermore, in general image processing, processing such as overlapping and compositing multiple images or hiding a rear image with a front image is often performed. Therefore, in addition to functions to perform logical and arithmetic operations such as AND, OR, and EOR between image data, multiple processing memories are provided to enable high-speed execution of such image processing. FIG. 4 shows an example in which such calculations between a plurality of image data and mask processing are combined.

第4図の例は、画像データAと画像データBの
OR論理をとり、その結果をマスクデータにした
がつてマスクしたものである。
The example in Figure 4 shows image data A and image data B.
The OR logic is performed and the result is masked according to the mask data.

第1図は、上記した従来のマスク処理機構の1
例を示したものである。図中、1−1乃至1−3
は処理データ、たとえば画面データ蓄積用のメモ
リモジユール、2はマスクデータ蓄積用のメモリ
モジユール、3−1乃至3−2は出力部、4はマ
スクデータ出力部、5は論理積演算部、6はライ
トデータバス、7はアドレスおよびコントロール
バス、8−1および8−2は処理データ線、9は
被マスク処理データ線である。
Figure 1 shows one of the conventional mask processing mechanisms described above.
This is an example. In the figure, 1-1 to 1-3
2 is a memory module for storing process data, for example screen data; 2 is a memory module for storing mask data; 3-1 and 3-2 are output sections; 4 is a mask data output section; 5 is an AND operation section; 6 is a write data bus, 7 is an address and control bus, 8-1 and 8-2 are processing data lines, and 9 is a masked processing data line.

マスクメモリ2の容量は、各処理データメモリ
モジユール1−1乃至1−3の容量と同じであ
り、マスクデータメモリモジユール2に設定され
たマスクデータにより、メモリモジユール1−1
乃至1−3の任意の1つの処理データをマスクす
ることができる。なお、メモリモジユール1−1
乃至1−3の処理データはたとえばそれぞれ全サ
イズ画面の異なる画面データであるか、あるいは
1つの全サイズ画面を分割した部分画面のデータ
であつてもよい。後者の場合、マスクデータメモ
リモジユール2によつてマスク可能な画面領域
は、各メモリモジユールのそれぞれの部分画面に
対応する。また、メモリモジユールの数および出
力部の数は1例にすぎず、適宜必要個数で構成す
ることができる。
The capacity of the mask memory 2 is the same as the capacity of each processing data memory module 1-1 to 1-3, and the mask data set in the mask data memory module 2 allows the memory module 1-1 to
Any one of processing data 1 to 3 can be masked. In addition, memory module 1-1
The processing data 1 to 3 may be, for example, different screen data of a full-size screen, or may be data of partial screens obtained by dividing one full-size screen. In the latter case, the screen area maskable by the mask data memory module 2 corresponds to the respective partial screen of each memory module. Further, the number of memory modules and the number of output units are merely examples, and can be configured with any necessary number as appropriate.

処理データメモリモジユール1−1乃至1−3
およびマスクデータメモリモジユール2には、ア
ドレスおよびコントロールバス7からの信号にも
とづいて、ライトデータバス6からデータが書き
込まれ、またメモリモジユール1−1乃至1−3
のリードデータは、出力部3−1あるいは3−2
により選択され、処理データ線8−1,8−2に
読み出される。
Processing data memory modules 1-1 to 1-3
Data is written to the mask data memory module 2 from the write data bus 6 based on signals from the address and control bus 7, and the memory modules 1-1 to 1-3
The read data is sent to the output section 3-1 or 3-2.
and read out to the processing data lines 8-1 and 8-2.

出力部3−1あるいは3−2は、メモリモジユ
ール1−1乃至1−3のいずれか1つを選択し、
それとマスクデータメモリモジユール2とから読
み出したデータについて演算部5で論理積をと
り、マスクした結果のデータを、被マスク処理デ
ータ線9に出力する。
The output unit 3-1 or 3-2 selects one of the memory modules 1-1 to 1-3,
The arithmetic unit 5 performs a logical AND operation on this data and the data read from the mask data memory module 2, and outputs the masked data to the masked data line 9.

上記した従来のマスク処理機構では、マスクデ
ータをマスクデータメモリモジユール2にだけ設
定することができ、メモリモジユール1−1乃至
1−3は処理データの蓄積専用、そしてメモリモ
ジユール2はマスクデータ蓄積専用に固定されて
いるため、メモリの利用性が低くなり多様なマス
ク処理を行なう場合に処理効率が上らないという
問題があつた。
In the conventional mask processing mechanism described above, mask data can be set only in the mask data memory module 2, the memory modules 1-1 to 1-3 are dedicated to storing processing data, and the memory module 2 is used for mask data. Since the memory is fixed only for data storage, there is a problem in that the usability of the memory is low and the processing efficiency cannot be improved when performing various mask processing.

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

本発明の目的は、データ処理システムにおい
て、マスクデータ蓄積用のメモリをハード的に固
定化せず、複数のメモリモジユールのうちの任意
のものを随時マスクメモリとして使用できるよう
にして、メモリの効率を高めマスク処理機能を改
善することにある。
An object of the present invention is to provide a data processing system in which a memory for storing mask data is not fixed in hardware, and any one of a plurality of memory modules can be used as a mask memory at any time. The goal is to increase efficiency and improve mask processing capabilities.

本発明の構成は、複数のメモリモジユールから
なるメモリシステムと、上記複数のメモリモジユ
ールの各々に接続された少なくとも1つのデータ
出力部と1つのマスクデータ出力部とをそなえ、
上記データ出力部とマスクデータ出力部とは、そ
れぞれマスク処理時に上記複数のメモリモジユー
ルの中で処理メモリとしてアクセスする1つのメ
モリモジユールと、マスクメモリとしてアクセス
する1つのメモリモジユールとをセツトされ、デ
ータ出力部は処理メモリとしてアクセスするよう
にセツトされた1つのメモリモジユールのリード
データを選択して処理データとして出力し、マス
クデータ出力部は、マスクメモリとしてアクセス
するようにセツトされた1つのメモリモジユール
のリードデータを選択してマスクデータとして出
力することを特徴としている。
The configuration of the present invention includes a memory system including a plurality of memory modules, at least one data output section and one mask data output section connected to each of the plurality of memory modules,
The data output section and the mask data output section each set one memory module to be accessed as a processing memory among the plurality of memory modules and one memory module to be accessed as a mask memory during mask processing. The data output section selects read data from one memory module that is set to be accessed as processing memory and outputs it as processing data, and the mask data output section selects read data from one memory module that is set to be accessed as processing memory and outputs it as processing data. The feature is that read data of one memory module is selected and output as mask data.

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

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

第2図は、本発明の1実施例構成を示す。図
中、10−1乃至10−nは汎用のメモリモジユ
ール、11−1および11−2が出力部、12は
マスクデータ出力部、13は論理積演算部、14
はライトデータバス、15はアドレスおよびコン
トロールバス、16−1乃至16−2は処理デー
タ選択線、17はマスクデータ選択線、18−1
および18−2は処理データ線、19はマスクデ
ータ線、20は被マスク処理データ線である。な
おメモリモジユールは、2次元メモリあるいは3
次元メモリのいずれでもよい。
FIG. 2 shows the configuration of one embodiment of the present invention. In the figure, 10-1 to 10-n are general-purpose memory modules, 11-1 and 11-2 are output sections, 12 is a mask data output section, 13 is an AND operation section, and 14
15 is a write data bus, 15 is an address and control bus, 16-1 to 16-2 are processing data selection lines, 17 is a mask data selection line, 18-1
18-2 is a processing data line, 19 is a mask data line, and 20 is a masked data line. Note that the memory module is a two-dimensional memory or a three-dimensional memory.
Any dimensional memory may be used.

本実施例では、メモリモジユール10−1乃至
10−nは、全てモジユール単位で同等に処理デ
ータとマスクデータの蓄積用メモリとして使用さ
れることができ、マスクデータ用としてハード的
に固定されるのはマスクデータ出力部12のみで
ある。したがつて、あるメモリモジユールが完全
に空きである限り、それを処理データあるいはマ
スクデータのいずれの蓄積用に指定するかは処理
状況に応じて任意に定めることができる。各メモ
リモジユールに対する処理データおよびマスクデ
ータの割付け管理は、たとえばテーブルを用いて
ソフトウエアにより行なわれる。
In this embodiment, the memory modules 10-1 to 10-n can all be equally used as memories for storing processing data and mask data on a module basis, and are fixed in hardware for mask data. Only the mask data output section 12 is. Therefore, as long as a certain memory module is completely empty, whether it is designated for storing processing data or mask data can be arbitrarily determined depending on the processing situation. The allocation management of processing data and mask data to each memory module is performed by software using, for example, a table.

出力部11−1,11−2、およびマスクデー
タ出力部12は、それぞれメモリモジユール10
−1乃至10−nのいずれかのリードデータを選
択する。選択信号は、処理データ選択線16−1
乃至16−2、およびマスクデータ選択線17に
よつて与えられる。
The output units 11-1, 11-2 and the mask data output unit 12 are each connected to a memory module 10.
Select read data from -1 to 10-n. The selection signal is the processing data selection line 16-1.
to 16-2, and mask data selection line 17.

前述したように本発明では複数のメモリモジユ
ールはすべて対等で、それぞれ処理メモリにもマ
スクメモリにもなりうる。たとえば2つの画像の
マスク付き演算をする場合、2つの処理メモリお
よびマスクメモリを一度にリードするためにメモ
リモジユール内のレジスタに同じ上位アドレスを
セツトし、また、1つの出力部に処理メモリの1
つからの画像データを選択する様にセレクト信号
をセツトし、同様に他の1つの出力部に処理メモ
リの他の1つからの画像データを選択する様にセ
レクト信号をセツトし、そしてマスクデータ出力
部にマスクメモリからの画像データを選択するよ
うにセレクト信号をセツトする。このようにする
ことにより、各出力部から処理データとマスクデ
ータとを同時に得ることができる。
As described above, in the present invention, all of the plurality of memory modules are equal and can each serve as processing memory or mask memory. For example, when performing a masked operation on two images, in order to read the two processing memories and the mask memory at once, set the same upper address in the registers in the memory module, and also set the processing memory's address in one output section. 1
a select signal is set to select image data from one of the processing memories, a select signal is similarly set to select image data from another one of the processing memories to one other output, and a select signal is set to select image data from another one of the processing memories; A select signal is set so that the output section selects image data from the mask memory. By doing so, processing data and mask data can be obtained from each output section at the same time.

このようにして選択された処理データおよびマ
スクデータは、論理積演算部13で演算処理さ
れ、被マスク処理データ線20へ出力される。
The processing data and mask data selected in this manner are subjected to arithmetic processing in the AND operation section 13 and output to the masked processing data line 20.

なお、第2図の実施例において処理データの出
力部が2つ設けられているのは、この例の場合2
つの画像間での演算を行うことが想定されている
からであり、2つの処理メモリからのデータを画
素ごとに演算するためには、少なくとも2つの出
力部が必要であるためである。
In addition, in the embodiment shown in FIG. 2, two output sections for processing data are provided.
This is because calculations are assumed to be performed between two images, and at least two output units are required to calculate data from two processing memories for each pixel.

また第2図中の論理積演算部4のブロツク内に
は1つのORゲートと1つのANDゲートのみが示
されているが、これは例示的なものに過ぎず、一
般の画像間演算で必要となる任意の論理機能を設
けることができる。
Also, only one OR gate and one AND gate are shown in the block of the AND operation unit 4 in FIG. 2, but this is only an example and is necessary for general inter-image operations. Any logical function can be provided.

第3図は、第2図に示した実施例システムの1
動作例を示し、メモリモジユール10−2および
10−3がマスクデータ蓄積用に使用され、残り
のメモリモジユールが処理データ蓄積用に使用さ
れている場合を示す。図では、出力部11−1に
よりメモリモジユール10−1の処理データが選
択され、またマスクデータ出力部12により、メ
モリモジユール10−2のマスクデータが選択さ
れ、そして演算部13で両者の論理積をとつてマ
スク処理が行なわれている。
FIG. 3 shows one of the embodiment systems shown in FIG.
An operation example will be shown in which memory modules 10-2 and 10-3 are used for storing mask data, and the remaining memory modules are used for storing processed data. In the figure, the output section 11-1 selects the processing data of the memory module 10-1, the mask data output section 12 selects the mask data of the memory module 10-2, and the calculation section 13 selects the processing data of the memory module 10-2. Mask processing is performed by calculating logical product.

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

上述したように、マスクデータは、任意の空き
メモリモジユールに設定でき、また不用になれば
解放して画面データ蓄積用に変更することがで
き、動的にメモリモジユールの割付けができるの
で、従来の方式にくらべて、システムのマスク処
理能率は改善され、メモリの利用効率も向上され
る。
As mentioned above, mask data can be set in any free memory module, and when it is no longer needed, it can be released and changed to store screen data, and memory modules can be allocated dynamically. Compared to conventional methods, the mask processing efficiency of the system is improved and the memory utilization efficiency is also improved.

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

第1図は従来のマスクメモリ処理機構の概要
図、第2図は本発明実施例の構成図、第3図は動
作例を示す説明図、第4図はマスク処理の具体例
の説明図である。 図中、10−1乃至10−nはメモリモジユー
ル、11−1および11−2はリードデータの出
力部、12はマスクデータ出力部、13は論理積
演算部、14はライトデータバス、15はアドレ
スおよびコントロールバス、20は被マスク処理
データ線を示す。
FIG. 1 is a schematic diagram of a conventional mask memory processing mechanism, FIG. 2 is a configuration diagram of an embodiment of the present invention, FIG. 3 is an explanatory diagram showing an example of operation, and FIG. 4 is an explanatory diagram of a specific example of mask processing. be. In the figure, 10-1 to 10-n are memory modules, 11-1 and 11-2 are read data output units, 12 is a mask data output unit, 13 is an AND operation unit, 14 is a write data bus, and 15 denotes an address and control bus, and 20 denotes a data line to be masked.

Claims (1)

【特許請求の範囲】[Claims] 1 複数のメモリモジユールからなるメモリシス
テムと、上記複数のメモリモジユールの各々に接
続された少なくとも1つのデータ出力部と1つの
マスクデータ出力部とをそなえ、上記データ出力
部とマスクデータ出力部とは、それぞれマスク処
理時に上記複数のメモリモジユールの中で処理メ
モリとしてアクセスする1つのメモリモジユール
と、マスクメモリとしてアクセスする1つのメモ
リモジユールとをセツトされ、データ出力部は処
理メモリとしてアクセスするようにセツトされた
1つのメモリモジユールのリードデータを選択し
て処理データとして出力し、マスクデータ出力部
は、マスクメモリとしてアクセスするようにセツ
トされた1つのメモリモジユールのリードデータ
を選択してマスクデータとして出力することを特
徴とするマスクメモリ方式。
1. A memory system comprising a plurality of memory modules, and at least one data output section and one mask data output section connected to each of the plurality of memory modules, the data output section and the mask data output section being connected to each of the plurality of memory modules. This means that one memory module to be accessed as processing memory and one memory module to be accessed as mask memory are set among the plurality of memory modules mentioned above during mask processing, and the data output section is set as processing memory. The read data of one memory module set to be accessed is selected and output as processed data, and the mask data output section outputs the read data of one memory module set to be accessed as mask memory. A mask memory method characterized by selecting and outputting it as mask data.
JP4926883A 1983-03-24 1983-03-24 Mask memory system Granted JPS59173863A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4926883A JPS59173863A (en) 1983-03-24 1983-03-24 Mask memory system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4926883A JPS59173863A (en) 1983-03-24 1983-03-24 Mask memory system

Publications (2)

Publication Number Publication Date
JPS59173863A JPS59173863A (en) 1984-10-02
JPH0312741B2 true JPH0312741B2 (en) 1991-02-20

Family

ID=12826084

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4926883A Granted JPS59173863A (en) 1983-03-24 1983-03-24 Mask memory system

Country Status (1)

Country Link
JP (1) JPS59173863A (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61246884A (en) * 1985-04-25 1986-11-04 Matsushita Graphic Commun Syst Inc Image reader
JPS61248178A (en) * 1985-04-26 1986-11-05 Matsushita Graphic Commun Syst Inc Picture reading device
JPS61251971A (en) * 1985-04-30 1986-11-08 Fanuc Ltd Image processor
JPH0756587B2 (en) * 1985-05-08 1995-06-14 富士通株式会社 Negative turning display control method
JPS6344688A (en) * 1986-08-13 1988-02-25 フアナツク株式会社 Image processor
JPS6368983A (en) * 1986-09-10 1988-03-28 Pfu Ltd Image data segmenting and processing system
JPS63155084A (en) * 1986-12-18 1988-06-28 日本電気株式会社 Image memory accessing system
JPS63174091A (en) * 1987-01-14 1988-07-18 株式会社日立製作所 Work station with video animation display function
JP2624795B2 (en) * 1988-09-02 1997-06-25 株式会社日立製作所 How to correct skew of paper sheets

Also Published As

Publication number Publication date
JPS59173863A (en) 1984-10-02

Similar Documents

Publication Publication Date Title
JPH0312741B2 (en)
US5420997A (en) Memory having concurrent read and writing from different addresses
JP2003108437A (en) Stored-memory data processing device
JPH0664606B2 (en) Image processing device
JPS61256478A (en) Parallel processing computer
JPH07210545A (en) Parallel processing processors
JP2514473B2 (en) Parallel processor
JPS5858752B2 (en) address translation device
US5887137A (en) Data processing apparatus having a sorting unit to provide sorted data to a processor
JP2776125B2 (en) Image playback device
JPH0756807A (en) Automatic memory bank switching system
JP2684752B2 (en) Extended storage control method
JPS59173862A (en) Mask memory control circuit
JPS6116115B2 (en)
JPS59223880A (en) Picture input device
JPH04199242A (en) Cache storage device
JPS59165176A (en) Image processor
JPS61193245A (en) Memory control system
JPH09251545A (en) Picture processor
JPH0721760B2 (en) Digital arithmetic circuit
JPS58117068A (en) Processing circuit of picture data
JPS6156826B2 (en)
JPH03271845A (en) History storage circuit for storage device
JPH11328010A (en) Digital signal processor
JPS642985B2 (en)