JPS60210065A - Picture synthesizer - Google Patents

Picture synthesizer

Info

Publication number
JPS60210065A
JPS60210065A JP59133143A JP13314384A JPS60210065A JP S60210065 A JPS60210065 A JP S60210065A JP 59133143 A JP59133143 A JP 59133143A JP 13314384 A JP13314384 A JP 13314384A JP S60210065 A JPS60210065 A JP S60210065A
Authority
JP
Japan
Prior art keywords
window
image data
data
mark
buffer
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.)
Granted
Application number
JP59133143A
Other languages
Japanese (ja)
Other versions
JPS642267B2 (en
Inventor
Kuniaki Tabata
邦晃 田畑
Tetsuo Machida
哲夫 町田
Kazuaki Ooya
大家 万明
Koji Fujimoto
藤本 好司
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP59133143A priority Critical patent/JPS60210065A/en
Publication of JPS60210065A publication Critical patent/JPS60210065A/en
Publication of JPS642267B2 publication Critical patent/JPS642267B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)

Abstract

PURPOSE:To synthesize pictures at a high speed by providing window start and end marks at the start and the end of a window area together with end marks put at the end of each line, and performing the synthesization of pictures with compressed code trains. CONSTITUTION:When a processor 13 outputs a synthesization start instruction to a gate 2, a clock pulse is fed to a total diagram buffer 5 from a clock pulse generating part 1 via the gate 2. Then data are read out every bit synchronously with said clock puse. The picture data read out of the buffer 5 are supplied in series to a shift register 15 with which the clock pulse synchronizes. Here a gate 10 transfers the series output of the register 15 to a synthetic diagram buffer 6 in response to the start instruction. While the parallel output of the register 15 is sent to a mark detecting part 9. The part 9 checks whether or not the data stored in the register 15 is equal to the window start or end mark designated by the register 15.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、複数の文書画面等の二次元画像を合成編集し
て一つの二次元画像情報を合成する装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a device that synthesizes and edits two-dimensional images such as a plurality of document screens to synthesize one two-dimensional image information.

〔発明の背景〕[Background of the invention]

ここでいう画像合成とは、全体図上の所定領域・(これ
を窓とよぶ)に部分図の画像を挿入する処理を言う。一
般には、ひとつの全体図には複数個の窓が存在しうる。
Image compositing here refers to the process of inserting images of partial views into predetermined areas (this is called a window) on the overall view. In general, there can be multiple windows in one overall view.

通常、画像情報を処理するには、この情報を2値データ
として表わし、これを圧縮、たとえば、ランレングスコ
ードによる圧縮を行った後、圧縮後のデータについて情
報処理をすることが望ましいτしかるに、画像合成に関
しては、このデータ圧縮前に合成を行うことは知られて
いるが、データ圧縮後に、適切に画像合成を行う技術は
これまでなかった。このため、画像合成のために、デー
タ圧縮前の生の2値データを用いるため、きわめて多量
のデータを処理する必要がある。従って、合成処理に時
間を要する上に、データ圧縮された画像データについて
画像合成する場合、この圧縮されたデータを元の生のデ
ータに変換した後、合成しなければならないという問題
がある。
Normally, in order to process image information, it is desirable to represent this information as binary data, compress it, for example, by using a run-length code, and then process the compressed data. Regarding image synthesis, it is known to perform image synthesis before data compression, but until now there has been no technique for appropriately performing image synthesis after data compression. Therefore, since raw binary data before data compression is used for image synthesis, it is necessary to process an extremely large amount of data. Therefore, there is a problem in that the compositing process requires time, and when composing compressed image data, the compressed data must be converted into the original raw data before compositing.

〔発明の目的〕[Purpose of the invention]

本発明は、以上の問題をなくすために、圧縮された2値
化データをそのまま用いて、画像合成する装置を提供す
ることを目的とする。
SUMMARY OF THE INVENTION In order to eliminate the above-mentioned problems, it is an object of the present invention to provide an apparatus that performs image synthesis using compressed binary data as is.

〔発明の概要〕[Summary of the invention]

本発明は窓領域を有する全体画像データ、該窓領域に合
成されるべき部分画像データおよび合成された画像デー
タを記録する装置であって、該全体画像データは、窓領
域の内部と外部に分けて圧縮符号化され、かつ、窓領域
の始めと終りに、それぞれ窓開始マークと窓終了マーク
を有し、かつ、該窓開始マークおよび窓終了マークは、
異なる窓に対しては異なる符号となるようにコード化さ
れていて、該全体画像データおよび部分画像データは、
表示時の行の終り部に行マークを有し、全行の終り部に
エンドマークを有し、ランレングス法等により圧縮され
た符号列のまま画像の合成を行なうものである。
The present invention is an apparatus for recording whole image data having a window area, partial image data to be synthesized with the window area, and synthesized image data, wherein the whole image data is divided into inside and outside of the window area. and has a window start mark and a window end mark at the beginning and end of the window area, respectively, and the window start mark and window end mark are
Different windows are coded with different codes, and the whole image data and partial image data are
A line mark is provided at the end of a line when displayed, and an end mark is provided at the end of all lines, and images are synthesized as they are code strings compressed by the run-length method or the like.

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

本発明で扱う画像合成とは、全体図(原画像)上の所定
領域(これをr窓」と呼ぶ)に部分図の画像を挿入する
処理を言う。一般に、ひとつの全体図には複数個の窓が
存在し、それらを窓番号(窓1.庵2.・・・)で識別
する。窓の番号づけは、重複さえなければ任意の方法が
許される。窓と部分図の対応関係は既知とする。例えば
、第1図は、全体図中の窓1に部分図Aを挿入し、窓2
に部分図Bを挿入して、合成図を得る場合を表わす。
The image synthesis handled in the present invention refers to a process of inserting an image of a partial view into a predetermined area (this is called an r window) on an overall view (original image). Generally, there are a plurality of windows in one overall view, and they are identified by window numbers (window 1, hermitage 2, etc.). Any numbering method for windows is allowed as long as there is no duplication. It is assumed that the correspondence between windows and partial views is known. For example, in Figure 1, partial view A is inserted into window 1 in the overall view, and window 2
This shows the case where a composite diagram is obtained by inserting partial diagram B into .

第2図(a)に示すように、第1行〜第21行からなり
、第4行から第13行にかけて窓lを有し、第11行か
ら第16行にかけて窓2を有する全体図に対する非圧縮
の白黒2値表現によるデータは、第2図(b)のように
表わされる。ここでHは窓を含まない行内のデータ、H
4,+11 、 Hj12)、・・・は、窓を含む行内
の忘恩外の部分のデータ、α1゜β□はそれぞれ窓1,
2を含む行内の窓の部分のデータである。ここでiy 
J+ ky Qは適当な数である。
As shown in FIG. 2(a), the overall diagram consists of the 1st to 21st rows, has a window 1 from the 4th row to the 13th row, and has a window 2 from the 11th row to the 16th row. Data in uncompressed black and white binary representation is expressed as shown in FIG. 2(b). Here, H is the data in the row that does not include windows, H
4, +11, Hj12), ... are the data of the part outside of Boon in the line that includes the window, α1゜β□ are the window 1,
This is the data of the window part in the row containing 2. Here iy
J+kyQ is an appropriate number.

本発明では、このデータを各部分ごとにあらかじめ第3
図のようにランレングスコードにより符号化しておく。
In the present invention, this data is stored in a third
It is encoded using a run length code as shown in the figure.

すなわち、非圧縮の2値表現の画像データH12(13
,α12 + H12”弓β12. Hl、!(33等
をそれぞれランレングス圧縮符号C12” 、 X 1
2 。
That is, the image data H12 (13
, α12 + H12" bow β12. Hl,! (33 etc. are respectively run-length compression codes C12", X 1
2.

CI2” y Y 12 t C: 12”” HC:
21に変換するとともに、これらのデータ間に後述の合
成処理の制御情報となる識別符号Z1〜Z4を付加する
。この符号化のルールを纏めると次の通りである。
CI2" y Y 12 t C: 12"" HC:
21, and identification codes Z1 to Z4, which serve as control information for the synthesis process described later, are added between these data. The rules for this encoding can be summarized as follows.

(1)4種類の識別符号(行マークZl、エンドマーク
Z4.窓開始マークZ2.窓終了マークZ3)を付加す
る。
(1) Add four types of identification codes (line mark Zl, end mark Z4, window start mark Z2, window end mark Z3).

(2)行マークzlは全体図データの管区分を示す符号
であり各行の終りにつけられる。たゾし、最終行につい
ては、行マークZ1の代りに下記のエンドマークZ4を
付す。
(2) The line mark zl is a code indicating the division of the overall view data and is placed at the end of each line. However, for the last line, the following end mark Z4 is added instead of the line mark Z1.

(3) エンドマークz4は全体図データの終了を示す
符号である。
(3) The end mark z4 is a code indicating the end of the overall view data.

(4)窓開始マークz2と窓終了マークZ3は部分図の
挿入位置(すなわち、窓)を示す符号である。一般に複
数個の窓が存在するが、窓番号が識別できるように各窓
ごとに窓開始マークZ2と窓終了マークZ3を符号化す
る。
(4) The window start mark z2 and the window end mark Z3 are symbols indicating the insertion position of the partial view (ie, window). Generally, there are a plurality of windows, but a window start mark Z2 and a window end mark Z3 are encoded for each window so that the window number can be identified.

(5)行マークZl、エンドマークZ4.窓開始マーク
Z2.窓終了マークZ3によって、全体図データの圧縮
さ九た部分データは区切られる。
(5) Line mark Zl, end mark Z4. Window start mark Z2. The compressed partial data of the overall view data is separated by the window end mark Z3.

以上に述べた事項は全体図を圧縮符号化するためのルー
ルである。部分図を圧縮符号化する場合には、窓の概念
が不要であるので、窓開始マーク窓終了マークを除けば
、上記のルールが部分図にも適用できる。
The matters described above are rules for compressing and encoding the entire diagram. When compressing and encoding a partial view, the concept of a window is not necessary, so the above rules can also be applied to partial views, except for the window start mark and window end mark.

このような圧縮符号化を実現するのにいくつかの方法が
考えられる。基本的にはランレングス圧縮処理の変形で
あるので、ファクシミリ等で多用されているランレング
ス圧縮器の技術が応用できる。あるいは、ソフトウェア
による符号化も可能である。本発明のポイントは、次の
述べる合成処理にあるので、ここでは圧縮符号化の実現
方法に関する説明を省略する。
Several methods can be considered to realize such compression encoding. Since this is basically a modification of run-length compression processing, the technology of run-length compressors often used in facsimiles and the like can be applied. Alternatively, encoding by software is also possible. Since the point of the present invention lies in the synthesis processing described below, a description of the method for realizing compression encoding will be omitted here.

第4図は本発明を実施するために用いる合成装置の一例
である。この実施例にもとづいて、本発明を説明する。
FIG. 4 is an example of a synthesis apparatus used to carry out the present invention. The present invention will be explained based on this example.

画像ファイル3には、全体図と部分図の画像データが、
第3図に示した圧縮符号で格納されている。第1図のよ
うに、複数個の部分図を合成する場合には、まず、いず
れか1つの部分図の合成を実行する。例えば、最初に部
分図Aを窓1に合成するとした場合、部分図Aの画像デ
ータを画像ファイル3から読出して部分図バッファ4に
セットする。とともに、該当の窓番号(この場合は窓1
)を窓番号レジスタ8に設定しておく。全体図の画像デ
ータを画像ファイル3から読出して全体図バッファ5に
セットする。合成開始のスタート命令を処理装置、13
がゲート2に出すと、全体図バッファ5に、クロックパ
ルス7発生部1からゲート2.線t2を介してクロック
パルスが与えられ、このクロックパルスに同期して、1
ビツトずつデータが読出される。この時、ゲート2は部
分図バッファ4にはクロックパルスを送らないので、部
分図バッファ4からのデータ読出しは停止している。全
体図バッファ5から読出された画像データは、このクロ
ックパルスが同期するシフトレジスタ15に直列に入力
される。ゲート10は、このスタート命令に応答して、
シフトレジスタ15の直列出力を合成図バッファ6に転
送する。シフトレジスタ15の並列出力はマーク検出部
9にも送出される(状態Sl)。マーク検出部9は、シ
フトレジスタ15にストアされたデータがレジスタ9に
より指定される窓番号に対する窓開始マーク又は窓終了
マークあるいはエンドマークに等しいか否かを検出する
Image file 3 contains image data of the whole diagram and partial diagrams.
It is stored in the compression code shown in FIG. As shown in FIG. 1, when a plurality of partial views are to be combined, first, any one partial view is combined. For example, when partial view A is to be first combined into window 1, image data of partial view A is read from image file 3 and set in partial view buffer 4. and the corresponding window number (in this case, window 1
) is set in window number register 8. The image data of the overall view is read from the image file 3 and set in the overall view buffer 5. A processing unit 13 receives a start command for starting synthesis.
When the clock pulse 7 is sent to the gate 2, the clock pulse 7 is sent to the gate 2 from the clock pulse generator 1 to the overall diagram buffer 5. A clock pulse is applied via line t2, and in synchronization with this clock pulse, 1
Data is read out bit by bit. At this time, since the gate 2 does not send a clock pulse to the partial diagram buffer 4, data reading from the partial diagram buffer 4 is stopped. The image data read out from the overall view buffer 5 is serially input to a shift register 15 that is synchronized with this clock pulse. In response to this start command, the gate 10
The serial output of the shift register 15 is transferred to the composite diagram buffer 6. The parallel outputs of the shift register 15 are also sent to the mark detection section 9 (state Sl). The mark detection unit 9 detects whether the data stored in the shift register 15 is equal to the window start mark, window end mark, or end mark for the window number specified by the register 9.

前述のように、複数個の部分図を合成する場合、部分図
をひとつずつ選んで逐次合成を繰返す。窓番号レジスタ
8には、現在選択されている部分図を挿入すべき窓の番
号11177が処理装置13によりセットされている。
As mentioned above, when composing a plurality of partial diagrams, the partial diagrams are selected one by one and the compositing is repeated one by one. In the window number register 8, a window number 11177 into which the currently selected partial view is to be inserted is set by the processing device 13.

マーク検出部9は、全体図バッファ5から読出すデータ
の中に、この指定された窓番号″′1″に対応した窓開
始マークZ2を検出すると、ゲート2とゲート10に検
出信号P1を送る。これを受けて、ゲート2は全体図バ
ッファ5へのクロックパルスの送出を停止し、部分図バ
ッファ4へ線t1を介してクロックパルスを送出し、デ
ータの読出しを開始する。また、ゲートlOは窓開始マ
ークを合成図バッファ6に送出した後、全体図データの
通過を阻止し、クロック信号に同期してシフトレジスタ
14から出力される部分図データを合成図バッファ6に
送出する。
When the mark detection unit 9 detects a window start mark Z2 corresponding to the designated window number "'1" in the data read from the overall view buffer 5, it sends a detection signal P1 to the gates 2 and 10. . In response to this, the gate 2 stops sending clock pulses to the overall view buffer 5, sends clock pulses to the partial view buffer 4 via line t1, and starts reading data. Furthermore, after sending the window start mark to the composite diagram buffer 6, the gate IO blocks passage of the entire diagram data, and sends the partial diagram data output from the shift register 14 to the composite diagram buffer 6 in synchronization with the clock signal. do.

また、ゲート2は更にこの信号P1に応答して所定の時
刻後、このクロックパルスを合成図バッファ6に線t3
を介して送出する。その結果、部分図バッファ4のデー
タが、ゲート2からのクロックパルスに同期して、1ビ
ツトずつ読出され、シフトレジスタ14、ゲート10を
通って合成図バッファ6二転送され記憶される。と同時
に、この ゛部分図データはシフトレジスタ14の並列
出力としてマーク検出部7にも送出される(状態S2)
In addition, the gate 2 further responds to this signal P1 and sends this clock pulse to the composite diagram buffer 6 on the line t3 after a predetermined time.
Send via. As a result, the data in the partial picture buffer 4 is read out bit by bit in synchronization with the clock pulse from the gate 2, and is transferred to the composite picture buffer 6 through the shift register 14 and the gate 10 and stored therein. At the same time, this partial figure data is also sent to the mark detection unit 7 as a parallel output of the shift register 14 (state S2).
.

マーク検出部7は、シフトレジスタ14中のデータが行
マーク又はエンドマークに等しいか否かを検出する。
The mark detection unit 7 detects whether the data in the shift register 14 is equal to a row mark or an end mark.

マーク検出部7は、部分図データの中に行マークZlあ
るいはエンドマークZ4を検出すると、それぞれの検出
信号qf t ’12をゲート2とゲー1〜10に送る
。これらを受けて、ゲート2は、部分図バッファ4およ
び合成図バッファ6へのクロックパルスの送出を停止し
、全体図バッファ5へのクロックパルスの送出を開始す
る。(部分図データ中の行マークおよびエンドマークは
合成図バッファ6には転送されない。)また、ゲート1
0は、全体図データおよび部分図データのいずれについ
ても通過を阻止する。この時、全体図バッファ5からは
、窓領域のデータ(例えば、第3図のX12’)が読出
され、シフトレジスタ15を通ってマーク検出部9に送
出される。こ窓領域のデータは合成図バッファ6には転
送されない。(状態X53)。
When the mark detection unit 7 detects the line mark Zl or the end mark Z4 in the partial drawing data, it sends the respective detection signals qf t '12 to the gate 2 and the gates 1 to 10. In response to these, gate 2 stops sending clock pulses to partial view buffer 4 and composite view buffer 6, and starts sending clock pulses to overall view buffer 5. (The line mark and end mark in the partial figure data are not transferred to the composite figure buffer 6.) Also, the gate 1
0 prevents passage of both the entire view data and the partial view data. At this time, data in the window area (for example, X12' in FIG. 3) is read from the overall view buffer 5 and sent to the mark detection section 9 through the shift register 15. Data in this window area is not transferred to the composite drawing buffer 6. (State X53).

マーク検出部9は、当該窓番号に対応した窓終了マーク
Z3を検出すると、その振出信号P2をゲート2とゲー
ト10に送る。これを受けて、ゲート2は、合成図バッ
ファ6へのクロックパルスの送出を開始する。部分図バ
ッファ4へのクロックパルスの送出は停止されており、
全体図バッファ5へのクロックパルスの送出は継続され
る。また、ゲート10はシフトレジスタ15から与えら
れる全体図データの通過を許可する。その結果、全体図
バッファ5のデータが、ゲート2からのクロックパルス
に同期して、1ビツトずつ読出され、合成図バッファ6
に転送される。(窓終了マークも合成図バッファ6に転
送される。)それと同時にマーク検出部9にも送出され
る。この状態は、先に述べた状態S1に等しい。このよ
うな処理がすべての行について行なわれる。
When the mark detection unit 9 detects the window end mark Z3 corresponding to the window number, it sends the output signal P2 to the gate 2 and the gate 10. In response to this, the gate 2 starts sending clock pulses to the composite diagram buffer 6. The sending of clock pulses to the partial diagram buffer 4 has been stopped;
The sending of clock pulses to the overview buffer 5 continues. The gate 10 also allows the passage of overview data provided from the shift register 15. As a result, the data in the overall diagram buffer 5 is read out bit by bit in synchronization with the clock pulse from the gate 2, and the data in the composite diagram buffer 5 is read out bit by bit in synchronization with the clock pulse from the gate 2.
will be forwarded to. (The window end mark is also transferred to the composite drawing buffer 6.) At the same time, it is also sent to the mark detection unit 9. This state is equivalent to state S1 mentioned earlier. Such processing is performed for all rows.

マーク検出部9が全体図データの中にエンドマークを検
出した時、当該部分図に関する合成を完了したことにな
る′=合成結果は合成図バッファ6に格納されている。
When the mark detection unit 9 detects an end mark in the overall drawing data, it means that the synthesis for the partial drawing has been completed.'=The synthesis result is stored in the combined drawing buffer 6.

他に合成すべき部分図がある場合は、処理装置13はこ
の合成結果を全体図バッファ5に転送し、次に合成すべ
き部分図データを画像ファイル3から読出して部分図バ
ッファ4にセットする。とともに、この部分図に対応し
た窓の番号を窓番号レジスタ8に設定する。しかる後に
、上記と同じ操作を繰返せばよい。マーク検出部9が全
体図データの中にエンドマークを検出した時、エンドマ
ーク検出信号を出し、これを受けてOR回路11が処理
装置13に割込信号を出す。処理装置13は割込処理に
よって、各種レジスタ類の初期設定を行ない、再度、合
成開始のスタート命令を出す。
If there are other partial views to be combined, the processing device 13 transfers this combined result to the overall view buffer 5, then reads out the partial view data to be combined from the image file 3 and sets it in the partial view buffer 4. . At the same time, the window number corresponding to this partial drawing is set in the window number register 8. After that, you can repeat the same operation as above. When the mark detection section 9 detects an end mark in the overall diagram data, it outputs an end mark detection signal, and in response to this, the OR circuit 11 outputs an interrupt signal to the processing device 13. The processing device 13 initializes various registers by interrupt processing, and issues a start command to start synthesis again.

割込信号のきっかけはマーク検出部9以外に、部分図バ
ッファ4.全体図バッファ5、合成図バッファ6からも
出る。これらを部分図バッファエンプティ信号、全体図
バッファエンプティ信号、合成図バッファ・フル信号と
呼ぶ。全体図バッファ・エンプティ信号とは全体図バッ
ファ5からデータを読出している時に、バッファが空に
なった場合、処理装置13に割込んで画像ファイル3か
ら新たなデータを全体図バッファ5に取込むための信号
である。部分図バッファエンプティ信号も同様である。
The trigger for the interrupt signal is not only the mark detection unit 9 but also the partial diagram buffer 4. It also exits from the overall view buffer 5 and composite view buffer 6. These are called a partial diagram buffer empty signal, a global diagram buffer empty signal, and a composite diagram buffer full signal. What is the overview buffer empty signal? If the buffer becomes empty while reading data from the overview buffer 5, it interrupts the processing device 13 and reads new data from the image file 3 into the overview buffer 5. This is a signal for The same applies to the partial diagram buffer empty signal.

合成図バッファ・フル信号は同バッファが満杯であるこ
とを示す。割込が発生した場合、処理装置13は、ステ
ィタスレジスタ12の内容を参照することによって割込
要因を知ることができる。
The composite diagram buffer full signal indicates that the buffer is full. When an interrupt occurs, the processing device 13 can know the cause of the interrupt by referring to the contents of the status register 12.

以上、第4図に示す合成装置の動作原理を概説したが、
これを状態遷移図として要約したものが第5図である。
The operating principle of the synthesizer shown in Fig. 4 has been outlined above.
FIG. 5 summarizes this as a state transition diagram.

また、各状態におけるゲート2とゲート10の制御機能
は第5図に並記した通りである。
Further, the control functions of the gates 2 and 10 in each state are as shown in FIG.

第6図は部分図バッファ4の構成図である。画像ファイ
ル3から読出した部分図データはメモリユニット44に
格納される。格納されたワード数はワードカウンタ45
の初期値としてセットされる。メモリ・ユニット44内
の部分図データは、ゲート2からのシフトパルスに同期
して1ビツトずつ読出されるが、このデータ読出しは、
ゲート42とシフトレジスタ41を通して行なわれる。
FIG. 6 is a configuration diagram of the partial diagram buffer 4. The partial view data read from the image file 3 is stored in the memory unit 44. The number of stored words is displayed in the word counter 45.
is set as the initial value. The partial diagram data in the memory unit 44 is read out bit by bit in synchronization with the shift pulse from the gate 2.
This is done through gate 42 and shift register 41.

メモリユニット44はワード単位(Nビット/ワ−ド)
に格納さオしているので、シフトパルスがN凹入力され
る度に1ワードのデータをメモリユニット44から読出
してシフトレジスタ41に転送する。このため、シフト
パルスはN進カウンタ43にも入力され、シフトパルス
がN凹入力される度にゲート42を開き、かつ、メモリ
ユニット44に1ワードの読出を要求する。と同時に、
ワードカウンタ45を1ずつ減算する。ワードカウンタ
45がゼロになれば、部分図バッファ・エンプティ信号
を出力する。
Memory unit 44 is word unit (N bits/word)
Therefore, one word of data is read from the memory unit 44 and transferred to the shift register 41 every time a shift pulse is input N times. Therefore, the shift pulse is also input to the N-ary counter 43, which opens the gate 42 and requests the memory unit 44 to read one word each time the N-ary shift pulse is input. At the same time,
The word counter 45 is decremented by one. When the word counter 45 reaches zero, a partial diagram buffer empty signal is output.

全体図バッファ5の構成も第6図と同一である。The configuration of the overall view buffer 5 is also the same as that in FIG.

合成図バッファ6は部分図バッファ4および全体図バッ
ファ5とデータの入出力方向が逆になるが、構成は同様
である。
The composite diagram buffer 6 has the same structure as the partial diagram buffer 4 and the entire diagram buffer 5, although the input/output direction of data is reversed.

なお、以上の実施例において、窓番号レジスタには、窓
番号そのもののかわりに、その窓番号に対する窓開始マ
ークと窓終了マークそのものをストアしてもよい。この
とき、マーク検出部9は、このレジスタ内のコードとシ
フ1へレジスタ15内のデータの一致を判定することに
より、このデータが、上述のマークと一致するか否かの
判別するように構成される。
In the above embodiment, instead of the window number itself, the window start mark and window end mark for that window number may be stored in the window number register. At this time, the mark detection unit 9 is configured to determine whether or not this data matches the above-mentioned mark by determining whether the code in this register matches the data in the shift register 15. be done.

以上のようにして、合成された画像を復号する場合、合
成画像中に全体図の行マークを基準にして、順次走査的
に復号を行うとともに、同一行内のデータ中にある窓番
号に対する窓開始マークが出現したとき、この開始マー
クを基準として、同じ窓番号に対する窓終了マークが検
出されるまで順次走査的に復号し、この窓終了マークが
検出されると、それを基準として新たに復号を始めてい
くことにより、データの復号が可能となる。
When decoding a composite image as described above, decoding is performed in a sequential scanning manner based on the row mark of the overall view in the composite image, and the window number corresponding to the window number in the data in the same row is started. When a mark appears, decoding is performed sequentially using this start mark as a reference until a window end mark for the same window number is detected. When this window end mark is detected, new decoding is performed using it as a reference. By starting, the data can be decrypted.

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

以上に述べたごとく、本発明によれば、画像情報を2値
データに展開することなく、圧縮された符号列のま\で
画像合成が行なえる。ランレングス圧縮による、通常、
115〜1/10程度に画像のデータ量が削減できるの
で、本発明により、画像合成を、高速に、かつ安価な装
置で実現することができる。
As described above, according to the present invention, image synthesis can be performed using compressed code strings without developing image information into binary data. Through run-length compression, typically
Since the amount of image data can be reduced to about 115 to 1/10, the present invention allows image synthesis to be achieved at high speed and with an inexpensive device.

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

第1図から第3図は本発明の動作を示す説明図。 第4図は本発明合成装置の1実施例を示すブロック図、
第5図は第4図に示す装置の動作を示す説明図、第6図
は本発明における部分図/<ソファを示すブロック図で
ある。 第 1 図 ¥3 2 邑 (良) (b) Hl +ds (v’64N:FI’+z、)l:¥ 
’Hhs’ I+ H!:λ第 3 図 第12竹 第 4 図 消5図 (みン (b) 】−鴫;:@
FIGS. 1 to 3 are explanatory diagrams showing the operation of the present invention. FIG. 4 is a block diagram showing one embodiment of the synthesis apparatus of the present invention;
FIG. 5 is an explanatory diagram showing the operation of the apparatus shown in FIG. 4, and FIG. 6 is a block diagram showing a partial diagram/<sofa in the present invention. Figure 1 ¥3 2 Eup (Good) (b) Hl +ds (v'64N:FI'+z,)l:¥
'Hhs' I+ H! :λ 3rd figure 12th bamboo 4th figure erased 5th figure (min (b) 】-Shizu;:@

Claims (1)

【特許請求の範囲】 窓領域を有する全体画像データ、該窓領域に合成される
べき部分画像データおよび合成された画像データを記録
手段であって、該全体画像データは、窓領域の内部と外
部に分けて圧縮符号化され、かつ、窓領域の始めと終り
に、それぞれ窓開始マークと窓終了マークを有し、かつ
、該窓開始マークおよび窓終了マークは、異なる窓に対
しては異なる符号となるようにコード化されていて、該
全体画像データおよび部分画像データは、表示時の行の
終り部に行マークを有し、全行の終り部にエンドマーク
を有するものと、 該複数の窓の1つを指定するデータを記録する指定手段
と、 該記憶手段から読出された全体画像データが該指定手段
により指定された窓開始マーク又は窓終了マーク又は、
該エンドマークと一致するか否かを検出する第1の検出
手段と、 該記憶手段から読出された部分画像データが、該行マー
ク又はエンドマークと一致するか否かを検出する第2の
検出手段と、 該記憶手段からのデータの読出し、該記憶手段へのデー
タの書込みを制御する手段であって、該全体画像データ
を順次読出し、該読出されたデータと該窓開始マークと
の一致が該第1の検出手段により検出されない間は、該
読出されたデータを合成画像として該記憶手段に書き込
み、該一致が検出された後、該部分画像データを読出し
、該第2の検出手段によりその後一致が検出されるまで
合成画像データとして該記憶手段に書き込み、該一致の
検出後、該全体画像データを読出し、該窓終了マークが
該第1の検出手段により検出された後、該続出したデー
タを合成画像データとして該記憶手段に書き込むことを
連続して行い、該第1の検出手段により該エンドマーク
が検出された後、該合成画像データを該全体画像データ
記憶部分にシフトする手段と、 該第1の検出手段による該エンドマークの検出に応答し
て該指定手段の内容を更新する手段とを有する画像合成
装置。
[Scope of Claims] A means for recording whole image data having a window area, partial image data to be synthesized with the window area, and synthesized image data, the whole image data including the inside and outside of the window area. and has a window start mark and a window end mark at the beginning and end of the window area, respectively, and the window start mark and window end mark have different codes for different windows. The whole image data and the partial image data have a line mark at the end of the line when displayed, and an end mark at the end of all the lines; designation means for recording data designating one of the windows; and the entire image data read from the storage means is a window start mark or a window end mark designated by the designation means, or
a first detection means for detecting whether the partial image data read from the storage means matches the line mark or the end mark; and a second detection means for detecting whether the partial image data read from the storage means matches the line mark or the end mark. means for controlling reading of data from the storage means and writing of data to the storage means, the means for sequentially reading out the entire image data and determining whether the read data matches the window start mark; While it is not detected by the first detection means, the read data is written in the storage means as a composite image, and after the coincidence is detected, the partial image data is read out and then the second detection means writes the read data into the storage means. The entire image data is written into the storage means until a match is detected, and after the match is detected, the entire image data is read out, and after the window end mark is detected by the first detection means, the successive data is written into the storage means. means for continuously writing the composite image data into the storage means as composite image data, and after the end mark is detected by the first detection means, shifting the composite image data to the entire image data storage part; and means for updating the contents of the specifying means in response to the detection of the end mark by the first detecting means.
JP59133143A 1984-06-29 1984-06-29 Picture synthesizer Granted JPS60210065A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59133143A JPS60210065A (en) 1984-06-29 1984-06-29 Picture synthesizer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59133143A JPS60210065A (en) 1984-06-29 1984-06-29 Picture synthesizer

Publications (2)

Publication Number Publication Date
JPS60210065A true JPS60210065A (en) 1985-10-22
JPS642267B2 JPS642267B2 (en) 1989-01-17

Family

ID=15097740

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59133143A Granted JPS60210065A (en) 1984-06-29 1984-06-29 Picture synthesizer

Country Status (1)

Country Link
JP (1) JPS60210065A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06164948A (en) * 1992-11-20 1994-06-10 Mitsubishi Electric Corp Facsimile equipment
GB2362329A (en) * 2000-05-16 2001-11-21 Parmeader Shinh Suit providing tactile response in game simulations

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5336133A (en) * 1976-09-16 1978-04-04 Nec Corp Composing equipment of picture signal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5336133A (en) * 1976-09-16 1978-04-04 Nec Corp Composing equipment of picture signal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06164948A (en) * 1992-11-20 1994-06-10 Mitsubishi Electric Corp Facsimile equipment
GB2362329A (en) * 2000-05-16 2001-11-21 Parmeader Shinh Suit providing tactile response in game simulations

Also Published As

Publication number Publication date
JPS642267B2 (en) 1989-01-17

Similar Documents

Publication Publication Date Title
JPS6035373A (en) Data compression and restoration system
US3599178A (en) Method of storing information on and retrieving information from a magnetic drum
US4922437A (en) Image information processing apparatus
JPS63138881A (en) Mr code expander
JPS60210065A (en) Picture synthesizer
JPS6338152B2 (en)
US5033007A (en) Apparatus for processing continuously inputted picture data strings
US4776028A (en) Apparatus for and method of compressing form data
US4201980A (en) GCR Data write control apparatus
JP2774488B2 (en) Image code decoding device
JP2614927B2 (en) Image decoding processing method
JPS5853272A (en) Compressing and reproducing system of picture data
JPS59132479A (en) Data processing circuit
JPS5851371A (en) Book processing system
JP2541103B2 (en) Image signal compression device
JPS6235779A (en) Decoding device for image code
JP2584744B2 (en) Data transmission equipment
GB1190609A (en) Data Compression System.
JP2506720B2 (en) Encoder
JPS61234664A (en) Decoding circuit
JPS5876363A (en) Display device for train number
JPS61117765A (en) Data compression restoring system
JPH0131830B2 (en)
JPS59161174A (en) Picture processing device
JPS60211579A (en) Access control system for picture data