JPH0439112B2 - - Google Patents
Info
- Publication number
- JPH0439112B2 JPH0439112B2 JP5241483A JP5241483A JPH0439112B2 JP H0439112 B2 JPH0439112 B2 JP H0439112B2 JP 5241483 A JP5241483 A JP 5241483A JP 5241483 A JP5241483 A JP 5241483A JP H0439112 B2 JPH0439112 B2 JP H0439112B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- image data
- file
- data
- command
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—Two-dimensional [2D] image generation
- G06T11/60—Creating or editing images; Combining images with text
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Processing Or Creating Images (AREA)
Description
【発明の詳細な説明】
〔発明の利用分野〕
本発明は、画像、文書等の部分修正機能を持つ
画像処理システムに係り、光デイスク、磁気デイ
スク等のフアイル装置に広く適用可能であるが特
に、光デイスク等の書替不可能なフアイル装置に
好適な方式を提供するものである。[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to an image processing system having a function of partially correcting images, documents, etc., and is widely applicable to file devices such as optical disks and magnetic disks, but is particularly applicable to file devices such as optical disks and magnetic disks. , provides a system suitable for non-rewritable file devices such as optical disks.
画像文書等のフアイルを運用するためには、フ
アイル装置上に蓄積された画像文章等のデータ
(以下画像データという)を部分修正する機能が
一般に必要になる。従来、磁気デイスク等で用い
ている方式で最も単純なものは、フアイル装置か
ら読出した画像データをランダム・アクセス・メ
モリ上で修正し、修正後の画像データを再度、フ
アイル装置に書込む方式である。この方式は、部
分修正の都度、画像全体を再登録するので、光デ
イスク等の書替不可能なフアイル装置では、多く
の領域を使い捨てるという問題が生じる。この従
来方式を拡張したものに、登録時には画像データ
をいくつかの小領域に分割してフアイル装置に蓄
積しておき、修正時には、修正を要する小領域の
データのみをフアイル装置から読出して、ランダ
ム・アクセス・メモリ上で修正し、これをフアイ
ル装置に再登録する方式が知られている(例え
ば、特開昭57−114962)。この方式は、前記第一
の方式に比較して、光デイスク等の書替不可能な
フアイル装置において使い捨てる領域を削減でき
る利点はあるが、反面、画像を小領域に分割して
蓄積するので、領域分割にともなうオーバヘツド
のため、データの登録や読出に時間を要し、ま
た、小領域の管理が煩雑になるという問題があつ
た。
In order to operate files such as image documents, a function for partially modifying data such as image texts (hereinafter referred to as image data) stored on a file device is generally required. The simplest method conventionally used for magnetic disks, etc. is a method in which image data read from a file device is corrected on a random access memory, and the corrected image data is written back to the file device. be. In this method, the entire image is re-registered each time a partial correction is made, so in a non-rewritable file device such as an optical disk, a problem arises in that a large amount of area is wasted. An extension of this conventional method is that at the time of registration, image data is divided into several small areas and stored in the file device, and at the time of correction, only the data of the small area that requires correction is read out from the file device, and the image data is randomly - A method is known in which the data is corrected in the access memory and then re-registered in the file device (for example, Japanese Patent Laid-Open No. 114962/1983). Compared to the first method, this method has the advantage of reducing the disposable area in non-rewritable file devices such as optical disks, but on the other hand, images are divided into small areas and stored. However, due to the overhead associated with region division, it takes time to register and read data, and management of small regions becomes complicated.
本発明の目的は、光デイスク磁気デイスク、磁
気バルブ等の記憶媒体を用いたフアイル装置にお
いて、蓄積された画像文書等のデータの部分修正
を高速かつ簡便に、また、フアイル利用効率を高
く実現する画像処理システムを提供することにあ
る。特に光デイスク等の書替不可能な記憶媒体の
利用効率を高めることを目的とする。
An object of the present invention is to achieve fast and simple partial correction of data such as stored image documents, and to achieve high file utilization efficiency in a file device using storage media such as optical disks, magnetic disks, magnetic valves, etc. The purpose is to provide an image processing system. In particular, the purpose is to improve the utilization efficiency of non-rewritable storage media such as optical disks.
本発明の基本原理を第1図に示す。図中、10
はフアイル装置に蓄積された原画像文書等(以下
画像という)、20は原画像に対して追記修正す
べき画像(部分図)、30は修正後の画像、40
は修正領域を示す。また、説明の便宜上、2値画
像を対象とする。原画像10を画像30のように
修正することは、原画像10と画像20を領域4
0の位置に重ね合せ、両者を論理和演算で合成す
ることによつて実現できる。したがつて、修正後
の画像をフアイル装置に記憶するのではなく、原
画像10に加えて、画像20のデータ、および、
画像合成の演算種別(第1図の例では論理和)、
合成位置などをフアイル装置に記憶すればよい。
この時、従来方式のように、フアイル装置上の原
画像を無効にし、修正後の画像30を再登録する
必要がないので、光デイスク等の書替不可能な記
憶媒体で問題になる使い捨てのフアイル領域を削
減でき、また、フアイル装置とのデータ転送量を
削減できる。
The basic principle of the present invention is shown in FIG. In the figure, 10
is the original image document etc. (hereinafter referred to as an image) stored in the file device, 20 is an image (partial view) to be added and corrected to the original image, 30 is the image after correction, 40
indicates the correction area. Furthermore, for convenience of explanation, a binary image is targeted. Modifying the original image 10 into image 30 means changing the original image 10 and image 20 to area 4.
This can be realized by superimposing them on the 0 position and composing them using a logical sum operation. Therefore, rather than storing the modified image in a file device, in addition to the original image 10, the data of the image 20 and
Image synthesis operation type (logical OR in the example in Figure 1),
The combining position and the like may be stored in the file device.
At this time, unlike the conventional method, there is no need to invalidate the original image on the file device and re-register the corrected image 30, so there is no need to discard the disposable file area, which is a problem with non-rewritable storage media such as optical disks. It is also possible to reduce the amount of data transferred to and from the file device.
第1図では、論理和演算で画像合成する例を示
したが、画像間の合成処理には、これ以外に、種
類の演算が可能である。第2図がその一例であ
り、原画像50の一部を画像60で置換えて新画
像70を得る場合を示している。 Although FIG. 1 shows an example in which images are synthesized using a logical OR operation, other types of operations are possible in the process of composing images. FIG. 2 is an example of this, and shows a case where a part of the original image 50 is replaced with an image 60 to obtain a new image 70.
なお、原画像を複数箇所について修正する場合
は、修正用部分図(第1図の画像20、第2図の
画像60など)、画像合成の演算種別、合成位置
などを修正領域の箇数だけフアイル装置に記憶す
る。 In addition, when correcting multiple areas of the original image, the partial images for correction (image 20 in Figure 1, image 60 in Figure 2, etc.), image compositing operation type, compositing position, etc. must be set as many times as there are correction areas. Store in file device.
以下、実施例により本発明の原理を説明する。
第3図は、画像フアイルの構成図である。画像フ
アイルはインデツクス部とデータ部から成る。イ
ンデツクス部とは、画像フアイルに格納された各
画像データ(各々をメンバと呼ぶ)に関する、デ
ータ名、フアイル上の格納番地(先頭番地)、デ
ータ長、画像の横幅と縦長さ等を記憶するフアイ
ル領域である。また、データ部とは、画像データ
の実体を記憶するフアイル領域である。インデツ
クス部とデータ部は、それぞれ、磁気デイスク、
光デイスクのように、異なる媒体上に存在しても
よいし、あるいは、同一媒体上であつてもよい。
Hereinafter, the principle of the present invention will be explained with reference to Examples.
FIG. 3 is a configuration diagram of an image file. The image file consists of an index section and a data section. The index section is a file that stores the data name, storage address (starting address), data length, width and height of the image, etc. for each image data (each is called a member) stored in the image file. It is an area. Furthermore, the data section is a file area that stores the substance of image data. The index section and data section are respectively magnetic disks,
They may be on different media, such as an optical disc, or they may be on the same media.
第3図にはフアイル装置に格納されたメンバの
代表例として、第m番目のメンバに関し、インデ
ツクス部とデータ部の内容を示している。図中、
「全体図」とは、当該メンバの原画像を意味し、
「部分図」とは、修正用画像を意味する。1つの
メンバは、1つの全体図と最大N個の部分図を持
つ。ただし、当該メンバがフアイルへの登録以
降、無修正であれば、そのメンバは部分図を持た
ない。インデツクス部には、全体図の格納番地、
データ長、横幅、縦長さ等を記憶するとともに、
当該メンバが部分図を持つ場合は、各部分図に関
する、フアイル上の格納番地(先頭番地)、デー
タ長、部分図の横幅と縦長さ、合成位置、演算種
別等をも記憶する。部分図の画像データの実体
は、全体図のそれと同様、画像フアイルのデータ
部に記憶する。 FIG. 3 shows the contents of the index section and data section regarding the m-th member as a representative example of members stored in the file device. In the diagram,
“Overall image” means the original image of the member;
“Partial view” means an image for correction. One member has one overall view and a maximum of N partial views. However, if the member has not been modified since being registered in the file, the member does not have a partial diagram. The index section contains the storage address of the overall diagram,
In addition to memorizing data length, width, height, etc.
If the member has a partial diagram, it also stores the storage address (starting address) on the file, data length, width and height of the partial diagram, synthesis position, calculation type, etc. for each partial diagram. The substance of the image data of the partial view is stored in the data section of the image file, similar to that of the entire view.
上記のインデツクス部に記憶する項目を詳細に
示したものが第4図である。第4図は、メンバm
の全体図90の横幅Um、縦長さVmとともに、
その第i番目の部分図に関して、横幅Umi、縦
長さHmi合成位置(Xmi,Ymi)を定義し、修
正領域100との関係を図示する。 FIG. 4 shows in detail the items stored in the index section. Figure 4 shows member m
Along with the width Um and the height Vm of the overall diagram 90,
Regarding the i-th partial view, a width Umi and a height Hmi combination position (Xmi, Ymi) are defined, and the relationship with the correction area 100 is illustrated.
本発明の方式を実現するためのハードウエア構
成例を第5図に示す。図中、200はマイクロ・
プロセツサ、210は主メモリ、220は入力鍵
盤、230は画像プロセツサ、240は画像メモ
リ、250は画像入力装置、260は画像デイス
プレイ、270はフアイル装置である。第5図の
システムは、フアイル装置270に画像データを
蓄積し、必要に応じて適切な画像データをフアイ
ル装置270から読出して画像デイスプレイ26
0に表示し、また、修正を加える機能を持つ。本
システムの動作を制御するために、いくつかのコ
マンドが用意されているが、このうち、本発明に
関連が深いコマンドを挙げれば、第6図の通りで
ある。各コマンドの概要を次に説明する。 FIG. 5 shows an example of a hardware configuration for implementing the method of the present invention. In the figure, 200 is a micro
210 is a main memory, 220 is an input keyboard, 230 is an image processor, 240 is an image memory, 250 is an image input device, 260 is an image display, and 270 is a file device. The system shown in FIG. 5 stores image data in a file device 270, reads appropriate image data from the file device 270 as needed, and displays the image data on the image display 26.
0 and also has the function to make corrections. Several commands are prepared to control the operation of this system, and among these, the commands that are most closely related to the present invention are as shown in FIG. An overview of each command is explained below.
(1) STOREコマンド:
STOREコマンドは、画像データを画像入力装
置250から読込み、フアイル装置270上の画
像フアイルに格納するコマンドである。(1) STORE command: The STORE command is a command that reads image data from the image input device 250 and stores it in an image file on the file device 270.
(2) FINDコマンド
FINDコマンドは、入力鍵盤220で指定する
画像データを画像フアイルから読出し、画像デイ
スプレイに表示するコマンドである。(2) FIND Command The FIND command is a command that reads the image data specified by the input keyboard 220 from the image file and displays it on the image display.
(3) DELETEコマンド
DELETEコマンドは、入力鍵盤220で指定
する画像データを画像フアイルから削除するコマ
ンドである。(3) DELETE command The DELETE command is a command for deleting the image data specified by the input keyboard 220 from the image file.
(4) OVERLAYコマンド
OVERLAYコマンドは、画像データの部分領
域上に、部分図を論理和で合成して部分修正する
コマンドである。(4) OVERLAY command The OVERLAY command is a command for partially modifying a partial area of image data by combining partial figures with a logical sum.
(5) MASKコマンド
MASKコマンドは、画像データの部分領域上
に部分図を論理積で合成して部分修正するコマン
ドである。(5) MASK command The MASK command is a command for partially modifying a partial area of image data by synthesizing a partial figure using logical AND.
(6) REPLACEコマンド
REPLACEコマンドは、画像データの部分領域
を、部分図で置換えて部分修正するコマンドであ
る。(6) REPLACE command The REPLACE command is a command that partially corrects a partial area of image data by replacing it with a partial view.
(7) ERASEコマンド
ERASEコマンドは、画像データの部分領域を
濃度が“0”の画素で埋込んで部分修正するコマ
ンドである。(7) ERASE command The ERASE command is a command that partially corrects a partial area of image data by embedding it with pixels with a density of "0".
(8) REVERSEコマンドは、画像データの部分領
域の濃度を白黒反転して部分修正するコマンド
である。(8) The REVERSE command is a command that partially corrects the density of a partial area of image data by reversing black and white.
上記のコマンドのうち、OVERLAY、
MASK、REPLACE、ERASE、REVERSEは、
画像データの部分修正に関するコマンドであり、
各コマンドの演算種別を、第6図に示すように1
〜5の数値で定める。また、OVERLAY、
MASK、REPLACE、ERASE、REVERSEの各
コマンドは、直前のFINDコマンドで処理した
(したがつて、画像メモリ240上に存在する)
画像データを部分修正するものである。 Among the above commands, OVERLAY,
MASK, REPLACE, ERASE, REVERSE are
This is a command related to partial correction of image data.
The operation type of each command is set to 1 as shown in Figure 6.
Defined by a value between ~5. Also, OVERLAY,
The MASK, REPLACE, ERASE, and REVERSE commands were processed by the previous FIND command (therefore, they exist in the image memory 240)
This is to partially correct image data.
マイクロ・プロセツサ220が、主メモリ21
0上のプログラムとデータにもとづいてコマンド
の実行を制御する。その処理フローは第7図の通
りであり、以下、説明する。 The microprocessor 220 is the main memory 21
Controls the execution of commands based on the program and data on 0. The processing flow is shown in FIG. 7, and will be explained below.
(1) 処理300: 入力鍵盤220から、コマンドを読込む。(1) Processing 300: A command is read from the input keyboard 220.
(2) 処理350:
コマンドを解析し、入力コマンドがSTORE、
FIND、DELETEコマンドの時は、それぞれ、処
理400,450,500に進み、OVERLAYまたは
MASK、REPLACEコマンドの時は処理550に、
ERASEまたはREVERSEコマンドの時は処理
600に進む。また、終了コマンド(第6図には示
さず)の時は、処理650に進む。(2) Processing 350: Parse the command and check if the input command is STORE,
For FIND and DELETE commands, proceed to processing 400, 450, and 500, respectively, and proceed to OVERLAY or DELETE commands.
For MASK and REPLACE commands, process 550,
Process when ERASE or REVERSE command
Go to 600. Further, in the case of an end command (not shown in FIG. 6), the process proceeds to process 650.
(3) 処理400: 第8図の手順でSTOREコマンドを実行する。(3) Processing 400: Execute the STORE command as shown in Figure 8.
a 処理401:
格納すべき画像データのデータ名、横幅、縦
長を入力鍵盤220から読込む。 a Process 401: Read the data name, width, and height of the image data to be stored from the input keyboard 220.
b 処理402:
画像入力装置250を起動し、画像データを
読込んで画像メモリ240に格納する。 b Process 402: Start up the image input device 250, read the image data, and store it in the image memory 240.
c 処理403:
画像メモリ上の画像データを画像プロセツサ
230によつてデータ圧縮し、処理結果を画像
メモリ240に格納する。データ圧縮の方式に
は、従来、フアクシミリ伝送で実用化されてい
る各種の技術(例えば、モデフアイド・ハフマ
ン方式、モデイフアイド・リード方式)が知ら
れており、周知の技術であるので、画像プロセ
ツサでの処理手順の説明は省略する。 c. Processing 403: The image data on the image memory is compressed by the image processor 230, and the processing result is stored in the image memory 240. Various data compression methods have been known that have been put to practical use in facsimile transmission (e.g., modified Huffman method, modified read method), and since these are well-known technologies, image processors can Explanation of the processing procedure will be omitted.
d 処理404:
画像フアイルのインデツクス部に新メンバと
して、当該画像データのデータ名、格納番地、
データ長(画像メモリ上の圧縮データの長さ)、
横幅、縦長を登録する。ただし、当該画像に関
する部分図は、この時点では存在しないので、
インデツクス部における部分図の項目は空白の
ままとする。また、格納番地は、画像フアイル
のデータ部の未使用領域の先頭番地に等しく定
める。 d Process 404: Add the data name, storage address, and
Data length (length of compressed data on image memory),
Register the width and height. However, since there is no partial diagram related to the image at this point,
Leave the partial diagram item in the index section blank. Further, the storage address is set equal to the starting address of the unused area of the data section of the image file.
e 処理405:
画像メモリ上の画像データ(圧縮データ)を
画像フアイルのデータ部に格納する。 e Process 405: Store the image data (compressed data) on the image memory in the data section of the image file.
(4) 処理450: 第9図の手順でFINDコマンドを実行する。(4) Processing 450: Execute the FIND command as shown in Figure 9.
a 処理451:
検索すべき画像データのデータ名を入力鍵盤
220から読込む。 a Process 451: Read the data name of the image data to be searched from the input keyboard 220.
b 処理452:
画像フアイルのインデツクス部を参照し、当
該メンバの全体図の格納番地、データ長、横
幅、縦長を求める。 b Process 452: Refer to the index section of the image file and obtain the storage address, data length, width, and height of the overall diagram of the member.
c 処理453:
全体図の画像データを画像フアイルから読出
し、画像メモリに格納する。 c Process 453: Read out the image data of the overall view from the image file and store it in the image memory.
d 処理454:
画像メモリ上の全体図の画像データ(圧縮デ
ータ)を、画像プロセツサ230によつて伸長
(すなわち、圧縮と逆の処理)し、結果を画像
メモリに格納する。 d Processing 454: The image data (compressed data) of the overall view on the image memory is decompressed by the image processor 230 (that is, the process opposite to compression), and the result is stored in the image memory.
e 処理455:
当該メンバに関して、処理未済の部分図が存
在するか否かを判定する。この判定は、インデ
ツクス部に登録された部分図の個数を参照して
行なう。処理未済の部分図が存在する場合は、
処理456に進み、それが存在しない場合は、処
理459に進む。 e Process 455: Determine whether or not there is an unprocessed partial diagram for the member. This determination is made with reference to the number of partial views registered in the index section. If there are unprocessed partial views,
Proceed to process 456, and if it does not exist, proceed to process 459.
f 処理456:
画像フアイルのインデツクス部を参照し、処
理未済の部分図のうち最若番のものについて、
格納番地、データ長、横幅、縦長、合成位置、
演算種別を求める。 f Processing 456: Refer to the index section of the image file, and perform the processing for the smallest number among the unprocessed partial drawings.
Storage address, data length, width, height, composition position,
Find the operation type.
g 処理457:
演算種別が“4”(すなわち、ERASE)か、
“5”(すなわち、REVERSE)の場合は、処理
458に進む。演算種別が“1”(すなわち、
OVERLAY)、“2”(すなわち、MASK)、
“3”(すなわち、REPLACE)の場合は、処理
459に進む。 g Processing 457: Is the operation type “4” (i.e. ERASE)?
If “5” (i.e. REVERSE), process
Proceed to 458. The operation type is “1” (i.e.
OVERLAY), “2” (i.e. MASK),
If “3” (i.e. REPLACE), process
Proceed to 459.
h 処理458:
画像メモリ上の全体図の画像データに対し
て、所定の部分領域の画素濃度を変更する。す
なわち、演算種別が“4”の場合は、当該領域
の画素濃度をゼロに、演算種別が“5”の場合
は、当該領域の画素濃度を白黒反転する。この
時、処理対象の部分領域の位置と大きさは、処
理456でインデツクス部を参照して定めた、合
成位置、横幅、縦長に等しい。この処理を完了
後、処理455に戻る。 h Process 458: Change the pixel density of a predetermined partial area with respect to the image data of the overall view on the image memory. That is, when the calculation type is "4", the pixel density of the relevant area is set to zero, and when the calculation type is "5", the pixel density of the relevant area is reversed. At this time, the position and size of the partial area to be processed are equal to the combination position, width, and length determined by referring to the index section in step 456. After completing this process, the process returns to process 455.
i 処理459:
処理456で定めた部分図の画像データを画像
フアイルから読出し、画像メモリ(ただし、処
理454で格納した全体図とは別領域上)に格納
する。 i Process 459: Read the image data of the partial view determined in process 456 from the image file and store it in the image memory (however, in a separate area from the entire view stored in process 454).
j 処理460:
画像メモリ上の部分図の画像データ(圧縮デ
ータ)を画像プロセツサ230によつて伸長
し、その結果を画像メモリ上の全体図に合成す
る。この合成位置と演算種別(論理和、論理
積、置換など)は、処理456においてインデツ
クス部を参照して定めた通りである。画像間の
論理和、論理積、置換等の処理を高速に実現す
る方式を、既に、本出願人等は開発しており
(特願昭56−101238)、画像プロセツサ230
は、このような機構を備えている。以上の処理
を完了後、処理455に戻る。 j Processing 460: The image data (compressed data) of the partial view on the image memory is decompressed by the image processor 230, and the result is combined with the overall view on the image memory. The synthesis position and operation type (logical sum, logical product, substitution, etc.) are as determined in step 456 with reference to the index section. The present applicant has already developed a method for quickly performing processes such as logical sum, logical product, and substitution between images (Japanese Patent Application No. 101238/1983), and the image processor 230
has such a mechanism. After completing the above process, the process returns to process 455.
k 処理461:
画像メモリ上の全体図の画像データを画像デ
イスプレイ260に表示する。 k Process 461: Display the image data of the overall view on the image memory on the image display 260.
(5) 処理500:
第10図の手順でDELETEコマンドを実現す
る。(5) Process 500: Implement the DELETE command using the procedure shown in FIG.
a 処理501:
削除すべき画像データのデータ名を入力鍵盤
220から読込む。 a Process 501: Read the data name of the image data to be deleted from the input keyboard 220.
b 処理502:
画像フアイルのインデツクス部から、当該画
像データを削除する。 b Process 502: Delete the image data from the index section of the image file.
(6) 処理550:
第11図の手順でOVERLAY、MASK、
REPLACEコマンドを実行する。ただし、前述の
ように、これらのコマンドは、直前のFINDコマ
ンドで処理した画像データ(処理結果は、画像メ
モリ上に格納されている)を部分修正するものと
する。(6) Processing 550: OVERLAY, MASK,
Execute the REPLACE command. However, as described above, these commands partially modify the image data processed by the previous FIND command (the processing results are stored in the image memory).
a 処理551:
第3図に示す通り、各メンバは、最大N個ま
での部分を許容する。OVERLAY、MASK、
REPLACEの各コマンドは、部分図を1個追加
登録するものであるので、当該メンバが部分図
の個数制限を満たしているか否かを判定する。
即ち、当該メンバの現在の部分図がN個未満で
あれば、処理552に進み、N個に等しい場合は
処理560に進む。 a Process 551: As shown in FIG. 3, each member allows up to N parts. OVERLAY, MASK,
Since each REPLACE command is for registering one additional partial diagram, it is determined whether the member in question satisfies the limit on the number of partial diagrams.
That is, if the number of current partial views of the member is less than N, the process proceeds to step 552, and if it is equal to N, the process proceeds to step 560.
b 処理552:
修正用画像データを画像入力装置250から
読込み、画像メモリ(ただし、直前のFINDコ
マンドの処理結果、格納された原画像データを
破壊せぬよう、これとは別領域)上に格納す
る。 b Processing 552: Read the image data for correction from the image input device 250 and store it in the image memory (in a separate area from the original image data stored as a result of the processing of the previous FIND command so as not to destroy it). do.
c 処理553:
画像メモリ上の原画像データと修正用画像デ
ータとを重合せて、画像デイスプレイ260に
表示する。 c Process 553: The original image data on the image memory and the correction image data are superimposed and displayed on the image display 260.
d 処理554:
原画像データと修正用画像データの重合せ位
置を指示するデータを入力鍵盤220から読込
む。この時、重合せるべき修正用画像データの
移動方向(上下左右)に応じて、入力鍵盤22
0上のカーソル・キーを押下し、重合せ位置の
移動が不要の場合は、“OK”キーを押下する
ものとする。 d Process 554: Read data from the input keyboard 220 that indicates the overlapping position of the original image data and the correction image data. At this time, the input keyboard 22
The cursor key above 0 is pressed, and if the overlapping position does not need to be moved, the "OK" key is pressed.
e 処理555:
入力鍵盤220からの入力データを判定し、
重合せ位置の移動を要する(カーソル・キー)
場合は処理561に進み、位置移動が不要
(“OK”キー)の場合は処理556に進む。 e Processing 555: Determine the input data from the input keyboard 220,
It is necessary to move the overlapping position (cursor keys)
If so, the process advances to process 561, and if no position movement is required ("OK" key), the process advances to process 556.
f 処理556:
原画像の修正領域(第4図の100)を入力
鍵盤上で指定し、その位置座標(Xmi,Ymi)
と横幅Wmi、縦長Hmiの値を読込む。 f Processing 556: Specify the correction area (100 in Figure 4) of the original image on the input keyboard, and set its position coordinates (Xmi, Ymi)
and read the width Wmi and height Hmi values.
g 処理557:
画像メモリ上の修正用画像データから、処理
556で指定した横幅Wmi、縦長Hmiの部分図を
画像プロセツサ230によつて切出し、これを
データ圧縮する。 g Processing 557: Processing from the correction image data on the image memory
The image processor 230 cuts out a partial view of the width Wmi and the height Hmi specified in 556, and compresses the data.
h 処理558:
処理557で作成した部分図に関する情報を画
像フアイルのインデツクス部に登録する。即
ち、当該部分図の格納番地、データ長、横幅、
縦長、合成位置、演算種別をインデツクス部に
登録する。ここで、演算種別は、OVERLAY
コマンドに対しては“1”,MASKコマンドに
対しては“2”,REPLACEコマンドに対して
は“3”を、それぞれ、設定する。 h Process 558: Information regarding the partial diagram created in process 557 is registered in the index section of the image file. That is, the storage address, data length, width,
Register the vertical orientation, composition position, and calculation type in the index section. Here, the operation type is OVERLAY
Set "1" for the command, "2" for the MASK command, and "3" for the REPLACE command.
i 処理559:
処理557で作成した部分図の画像データを画
像フアイルに格納する。以上で、OVERLAY、
MASK、REPLACEの各コマンドに対する処
理を終了する。 i Process 559: Store the image data of the partial view created in process 557 in an image file. With that, OVERLAY,
Finishes processing for the MASK and REPLACE commands.
j 処理560:
OVERLAY、MASK、REPLACEコマンド
の直前に実行したFINDコマンドにより、当該
メンバの画像データが画像メモリ上に格納され
ているが、これを1つの全体図として画像フア
イルに再登録する。即ち、インデツクス部から
当該メンバをまず削除し、同一のデータ名で再
登録する。この画像データは、部分図を持た
ず、全体図のみで構成されるとしてインデツク
ス部に登録する。画像メモリ上の画像データ
は、画像プロセツサ230によりデータ圧縮し
た後、画像フアイルに格納する。この処理を完
了後、処理552に進む。 j Process 560: The image data of the member is stored in the image memory by the FIND command executed immediately before the OVERLAY, MASK, and REPLACE commands, but this is re-registered in the image file as one overall image. That is, the member is first deleted from the index section and then re-registered with the same data name. This image data is registered in the index section as consisting only of the entire image without any partial images. The image data on the image memory is compressed by the image processor 230 and then stored in an image file. After completing this process, the process proceeds to process 552.
k 処理561:
処理554において、入力鍵盤220から読込
むカーソル・キーの種別(上下左右)に応じ
て、重合せ位置を1ピツチ分だけ修正し、処理
553に戻る。 k Processing 561: In processing 554, the overlapping position is corrected by one pitch according to the type of cursor key (up, down, left, right) read from the input keyboard 220, and processing is performed.
Return to 553.
(7) 処理600:
第12図の手順で、ERASE、REVERSE各コ
マンドを実行する。ただし、これらのコマンド
は、直前のFINDコマンドで処理した画像データ
(したがつて、処理結果は画像メモリ上に格納さ
れている)を部分修正するものとする。(7) Process 600: Execute the ERASE and REVERSE commands according to the steps shown in Figure 12. However, these commands partially modify the image data processed by the previous FIND command (therefore, the processing results are stored in the image memory).
a 処理601,606:
これらは、第11図の処理551,560と同一で
あるので説明を省略する。 a. Processing 601, 606: These are the same as processing 551, 560 in FIG. 11, so their explanation will be omitted.
b 処理602:
原画像の修正領域(第4図の100)を入力
鍵盤上で指定し、その位置座標(Xmi,Ymi)
を横幅Wmi、縦長Hmiの値を読込む。 b Process 602: Specify the correction area (100 in Figure 4) of the original image on the input keyboard and set its position coordinates (Xmi, Ymi)
Read the values of width Wmi and height Hmi.
c 処理603:
画像メモリ上の画像データを画像プロセツサ
230により部分修正する。修正内容は、
ERASEコマンドの時、当該修正領域を濃度が
ゼロの画素で埋込み、また、REVERSEコマン
ドの時は、当該修正領域の画素を白黒反転す
る。 c. Process 603: The image data on the image memory is partially corrected by the image processor 230. The modifications are as follows:
When using the ERASE command, the correction area is filled with pixels with zero density, and when using the REVERSE command, the black and white of the pixels in the correction area are reversed.
d 処理604:
修正後の画像データを画像デイスプレイに表
示する。 d Process 604: Display the corrected image data on an image display.
e 処理605:
当該修正領域を1つの部分図として、その合
成位置、即ち、位置座標(Xmi,Ymi)と横
幅Wmi、縦長Hmi、演算種別をインデツクス
部に登録する。演算種別は、ERASEコマンド
の時は“4”を、REVERSEコマンドの時は
“5”を、それぞれ、設定する。ただし、
OVERLAY、MASK、REPLACEコマンドと
は異なり、REVERSE、ERASEコマンドで
は、部分図の画像データ自体が不要であるの
で、インデツクス部における格納番地とデータ
長の項は空白のままとする。 e Process 605: The correction area is treated as one partial diagram, and its composite position, that is, position coordinates (Xmi, Ymi), width Wmi, height Hmi, and calculation type are registered in the index section. The calculation type is set to "4" for the ERASE command and "5" for the REVERSE command. however,
Unlike the OVERLAY, MASK, and REPLACE commands, the REVERSE and ERASE commands do not require the image data of the partial view, so the storage address and data length fields in the index section are left blank.
(8) 処理700:
全ての処理を終了し、プログラムの実行を停止
する。(8) Process 700: Finish all processing and stop program execution.
以上一実施態様について詳細に説明したが、本
発明におけるインデツクス情報の入力は入力鍵盤
220によるだけでなく、デイスプレイ画面上よ
りのタツチパネル入力、ライトペン入力により、
マンマシン性を高めることも可能である。また書
き加え、変更の多いインデツクス部のフアイルを
主メモリや他のフアイルメモリとすることも可能
である。またマイクロプロセツサ200、画像プ
ロセツサ230、画像メモリ240等の機能をコ
ンピユータシステムの一機能としたり必要機能を
統合した専用装置とすることも効果的である。ま
た単に画像の表示丈でなく、画像や文書をメモリ
システム内で合成する場合や、その結果をプリン
トアウトするインテリジエントコピア等の技術と
して利用することも可能である。 Although one embodiment has been described in detail above, index information in the present invention is input not only by the input keyboard 220 but also by touch panel input from the display screen and light pen input.
It is also possible to improve man-machine characteristics. In addition, it is also possible to use the index section file, which is often changed, as the main memory or other file memory. It is also effective to make the functions of the microprocessor 200, image processor 230, image memory 240, etc. part of the computer system, or to make them a dedicated device that integrates the necessary functions. In addition to simply determining the display length of an image, it can also be used as a technology for compositing images or documents within a memory system, or for an intelligent copier that prints out the results.
本発明は次の効果がある。 The present invention has the following effects.
(1) 従来方式のように、フアイル装置上の原画像
を無効にし、修正後の画像を再登録する方式と
は異なり、修正領域を部分図として追加登録す
ればよい。したがつて、光デイスク等の書替不
可能な記憶媒体で問題になる使い捨てのフアイ
ル領域を削減できる。また、フアイル装置との
データ転送量を削減できる。(1) Unlike the conventional method in which the original image on the file device is invalidated and the corrected image is re-registered, the corrected area can be additionally registered as a partial image. Therefore, the disposable file area, which is a problem with non-rewritable storage media such as optical disks, can be reduced. Furthermore, the amount of data transferred to and from the file device can be reduced.
(2) 従来方式のように、画像データを小領域に分
割する方式とは異なり、修正領域ごとに部分図
を作成するので、従来の領域分割方式に比べ
て、画像データの登録・読出の処理が高速であ
り、また、フアイル管理が単純である。(2) Unlike the conventional method, which divides image data into small regions, a partial view is created for each correction region, so the process of registering and reading image data is faster than with the conventional region dividing method. is fast and file management is simple.
第1〜2図は本発明の概念図、第3図は本発明
画像フアイルの構成図、第4図は本発明における
画像の修正領域の説明図、第5図は本発明一実施
例におけるハードウエア構成図、第6図は本発明
における主要コマンドの一覧表、第7〜12図は
本発明における画像合成等の処理フロー図であ
る。
200……マイクロ・プロセツサ、210……
主メモリ、220……入力鍵盤、230……画像
プロセツサ、240……画像メモリ、250……
画像入力装置、260……画像デイスプレイ、2
70……フアイル装置。
Figures 1 and 2 are conceptual diagrams of the present invention, Figure 3 is a configuration diagram of an image file of the present invention, Figure 4 is an explanatory diagram of an image correction area in the present invention, and Figure 5 is a hardware diagram of an embodiment of the present invention. FIG. 6 is a list of main commands in the present invention, and FIGS. 7 to 12 are process flow diagrams for image synthesis, etc. in the present invention. 200...Micro processor, 210...
Main memory, 220... Input keyboard, 230... Image processor, 240... Image memory, 250...
Image input device, 260... Image display, 2
70...File device.
Claims (1)
記フアイル手段から読出された原画像に対して画
像処理を施すための手段と、画像を出力するため
の出力手段とを備えた画像処理システムにおい
て、上記フアイル手段に、いずれかの原画像の修
正された部分領域を形成するための修正用画像デ
ータと、上記部分領域を特定するための位置情報
と、上記修正用画像データを用いて原画像に施こ
すべき画像処理の種類を特定するための演算種別
情報とを上記原画像に対応づけて記憶しておき、
上記フアイル手段から読出された原画像を上記出
力手段に出力する時、もし上記原画像に対応して
修正用画像データが記憶してあれば、上記修正用
画像データと、これに関する上記位置情報および
上記演算種別情報とを用いて、上記画像処理手段
により原画像の1部に画像合成処理を施すように
したことを特徴とする画像処理システム。 2 前記フアイル手段が画像データ記憶領域と検
索情報記憶領域とからなり、前記原画像と修正用
画像データが上記画像データ記憶領域に記憶さ
れ、各原画像を読出すための検索情報と、各修正
用画像データを読出すための検索情報と、前記位
置情報および演算種別情報とが上記検索情報領域
に記憶されることを特徴とする第1項記載の画像
処理システム。[Claims] 1. A device comprising: a file means for storing an original image; a means for performing image processing on the original image read from the file means; and an output means for outputting the image. In the image processing system, the file means includes correction image data for forming a corrected partial area of one of the original images, position information for specifying the partial area, and the correction image data. storing calculation type information for specifying the type of image processing to be performed on the original image using the original image in association with the original image;
When outputting the original image read out from the file means to the output means, if correction image data is stored corresponding to the original image, the correction image data and the position information and information related to the correction image data are stored. An image processing system characterized in that the image processing means performs image synthesis processing on a part of the original image using the calculation type information. 2. The file means includes an image data storage area and a search information storage area, the original image and correction image data are stored in the image data storage area, search information for reading each original image, and each correction image data are stored in the image data storage area. 2. The image processing system according to claim 1, wherein search information for reading out image data for use in a computer, the position information, and calculation type information are stored in the search information area.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5241483A JPS59178567A (en) | 1983-03-30 | 1983-03-30 | image processing system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5241483A JPS59178567A (en) | 1983-03-30 | 1983-03-30 | image processing system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS59178567A JPS59178567A (en) | 1984-10-09 |
| JPH0439112B2 true JPH0439112B2 (en) | 1992-06-26 |
Family
ID=12914127
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5241483A Granted JPS59178567A (en) | 1983-03-30 | 1983-03-30 | image processing system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS59178567A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100426288C (en) * | 2004-11-23 | 2008-10-15 | 广东瑞图万方科技有限公司 | Graphic data positioning display method and device |
Families Citing this family (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0677261B2 (en) * | 1984-12-26 | 1994-09-28 | 株式会社日立製作所 | Document image information search method |
| JPS61286972A (en) * | 1985-06-14 | 1986-12-17 | Mitsui & Co Ltd | Picture processor |
| JPS62259186A (en) * | 1986-05-02 | 1987-11-11 | Matsushita Graphic Commun Syst Inc | Recording and reproducing device for picture information |
| JP2622376B2 (en) * | 1986-12-09 | 1997-06-18 | 株式会社リコー | Image processing device |
| JP2665907B2 (en) * | 1987-03-03 | 1997-10-22 | 株式会社リコー | Optical disk image filing device |
| JP2889984B2 (en) * | 1987-04-14 | 1999-05-10 | セイコーエプソン株式会社 | Schematic map generator |
| JPS6481076A (en) * | 1987-09-24 | 1989-03-27 | Hitachi Ltd | Picture data register system for picture file system |
| JP2675043B2 (en) * | 1988-02-19 | 1997-11-12 | 株式会社日立製作所 | How to edit drawing data |
| JPH02240772A (en) * | 1989-03-14 | 1990-09-25 | Sanyo Electric Co Ltd | Image processing system |
| US5280574A (en) * | 1989-05-26 | 1994-01-18 | Hitachi, Ltd. | Text document management method adapted for generating plural text documents derived from the same original text document |
| JP5247601B2 (en) * | 2009-06-16 | 2013-07-24 | キヤノン株式会社 | Image processing apparatus, image processing method, and computer program |
-
1983
- 1983-03-30 JP JP5241483A patent/JPS59178567A/en active Granted
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100426288C (en) * | 2004-11-23 | 2008-10-15 | 广东瑞图万方科技有限公司 | Graphic data positioning display method and device |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS59178567A (en) | 1984-10-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4053115B2 (en) | Storage control method for document image data | |
| US20080109717A1 (en) | Reviewing editing operations | |
| JPH05189431A (en) | Method for correcting information related to memory document and method for associating information with stored document | |
| JPH05205024A (en) | Information control method and multi-medium system using the same | |
| JPS60134357A (en) | Image file registration/search method | |
| JPH0439112B2 (en) | ||
| US7813577B2 (en) | Image editing apparatus and image editing method | |
| JP2617007B2 (en) | Interactive large image processing method | |
| JPH02244281A (en) | Image data registration search method | |
| Swartz et al. | A resolution independent video language | |
| JP2003317078A (en) | Image managing method, program, and recording medium | |
| EP0825557A2 (en) | Maintaining invalidation information for tiled images | |
| JP2001265761A (en) | Device and method for editing data and recording medium recording editing processing procedure | |
| JP2691006B2 (en) | Image file device | |
| JPH02301873A (en) | Image processor | |
| JP2825273B2 (en) | Drawing management method and apparatus | |
| JP3507353B2 (en) | Overlay printing control method and apparatus, and storage medium storing computer readable program | |
| JPS62243067A (en) | Image file device | |
| JPH0486951A (en) | Picture retrieving device | |
| JP3154790B2 (en) | Optical character reader | |
| JPH0696078A (en) | Shared processing system for data and processor for its data | |
| JPH02240772A (en) | Image processing system | |
| JP2756186B2 (en) | Document editing method and apparatus | |
| JP3225633B2 (en) | Image data management device | |
| JPH034367A (en) | Information processor |