JP2000285250A - Method and device for picture processing - Google Patents

Method and device for picture processing

Info

Publication number
JP2000285250A
JP2000285250A JP11090075A JP9007599A JP2000285250A JP 2000285250 A JP2000285250 A JP 2000285250A JP 11090075 A JP11090075 A JP 11090075A JP 9007599 A JP9007599 A JP 9007599A JP 2000285250 A JP2000285250 A JP 2000285250A
Authority
JP
Japan
Prior art keywords
template
image processing
information
image
setting
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.)
Withdrawn
Application number
JP11090075A
Other languages
Japanese (ja)
Inventor
Hajime Sato
元 佐藤
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP11090075A priority Critical patent/JP2000285250A/en
Publication of JP2000285250A publication Critical patent/JP2000285250A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Processing Or Creating Images (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain a method and a device for picture processing which effectively prevent an undesired template from being set. SOLUTION: This picture processor a picture file to the picture processing according to a prescribed template and checks whether the contents of the template which a user is going set correspond to the picture file at the time when the user sets picture processing determined in the template.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、画像処理装置及び
方法に関し、特にユーザの操作により所望の画像ファイ
ルを取扱い、画像処理を行なうことのできる画像処理装
置及び方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus and method, and more particularly to an image processing apparatus and method capable of handling a desired image file and performing image processing by user operation.

【0002】[0002]

【従来の技術】従来から、この種の画像処理装置とし
て、例えば、入力装置によって入力された画像情報を記
憶装置で記憶し、操作者が予め記憶されたテンプレート
情報を選択し、記憶装置内の画像情報を選択されたテン
プレート情報に基づいて加工し、加工された画像情報を
出力装置に出力するものが知られている(特開平10−
232913等)。
2. Description of the Related Art Conventionally, as this type of image processing apparatus, for example, image information input by an input device is stored in a storage device, and an operator selects pre-stored template information and stores the image information in the storage device. There is known an image processing apparatus that processes image information based on selected template information and outputs the processed image information to an output device (Japanese Patent Application Laid-Open No. H10-1998).
232913).

【0003】テンプレート情報は、操作者の操作により
作成され、あるいは内容を変更され、画像ファイルと関
連づけられたテンプレート情報として記憶される。
[0005] Template information is created or changed in content by an operation of an operator, and stored as template information associated with an image file.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記し
た従来技術の場合には、操作者の操作により画像ファイ
ルに対応しない内容のテンプレート情報が作成され、当
該テンプレート情報が画像ファイルに対して使用された
場合、画像処理装置が正しく動作せず、所望の画像情報
を出力装置から得ることができないという問題が生じて
いた。
However, in the case of the above-mentioned prior art, template information having contents not corresponding to an image file is created by an operation of an operator, and the template information is used for the image file. In this case, there has been a problem that the image processing apparatus does not operate properly and desired image information cannot be obtained from the output apparatus.

【0005】本発明は上記の従来技術の課題を解決する
ためになされたもので、その目的とするところは、望ま
しくないテンプレートの設定を効果的に防止し得る画像
処理装置及びその方法を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems of the prior art, and an object of the present invention is to provide an image processing apparatus and a method thereof which can effectively prevent setting of an undesired template. It is in.

【課題を解決するための手段】上記目的を達成するため
に本発明は、画像ファイルに対し、所定のテンプレート
に従った画像処理を施す画像処理装置であって、ユーザ
が前記テンプレートに定める画像処理を設定する設定手
段と、前記設定手段によってユーザが設定しようとする
テンプレートの内容が、前記画像ファイルに対応するか
どうかをチェックするチェック手段と、を有することを
特徴とする。
According to the present invention, there is provided an image processing apparatus for performing image processing on an image file in accordance with a predetermined template. And setting means for setting whether the content of the template to be set by the user by the setting means corresponds to the image file.

【0006】前記チェック手段は、チェック情報記憶手
段を有し、該チェック情報記憶手段に記憶されたチェッ
ク情報に応じて前記テンプレートの内容をチェックする
ことを特徴とする。
[0006] The check means has check information storage means, and checks the contents of the template according to the check information stored in the check information storage means.

【0007】前記テンプレートおよび前記チェック情報
内にバージョン情報を有し、前記チェック手段は、該バ
ージョン情報に基づいて前記チェック情報記憶手段から
テンプレートに応じたチェック情報を検索するチェック
情報検索手段を有することを特徴とする。
[0007] Version information is included in the template and the check information, and the check means includes a check information search means for searching the check information storage means for check information corresponding to the template based on the version information. It is characterized by.

【0008】前記チェック手段は、前記テンプレートの
内容が前記画像ファイルに対応するかどうかのチェック
の結果に応じて、前記設定手段での設定を制御すること
を特徴とする。
[0008] The checking means controls the setting by the setting means according to the result of checking whether or not the contents of the template correspond to the image file.

【0009】前記チェック手段は、前記テンプレートの
内容が前記画像ファイルに対応しない場合には、前記設
定手段でのテンプレートの設定を禁止することを特徴と
する前記チェック情報は、文字列情報であることを特徴
とする。
If the contents of the template do not correspond to the image file, the checking means prohibits the setting of the template by the setting means, wherein the check information is character string information. It is characterized by.

【0010】また、本発明に係る画像処理方法は、画像
ファイルに対し、所定のテンプレートに従った画像処理
を施す画像処理方法であって、ユーザが前記テンプレー
トに定める画像処理を設定する設定工程と、前記設定工
程でユーザが設定しようとするテンプレートの内容が、
前記画像ファイルに対応するかどうかをチェックするチ
ェック工程と、を有することを特徴とする。
An image processing method according to the present invention is an image processing method for performing image processing on an image file in accordance with a predetermined template, comprising: a setting step in which a user sets image processing specified in the template; , The content of the template that the user intends to set in the setting step,
A checking step of checking whether the image file corresponds to the image file.

【0011】前記チェック工程は、チェック情報記憶手
段に記憶されたチェック情報に応じて前記テンプレート
の内容をチェックすることを特徴とする。
[0011] The checking step is characterized in that the contents of the template are checked according to the check information stored in the check information storage means.

【0012】前記テンプレートおよび前記チェック情報
内にバージョン情報を有し、前記チェック工程は、該バ
ージョン情報に基づいて前記チェック情報記憶手段から
テンプレートに応じたチェック情報を検索するチェック
情報検索工程を有することを特徴とする。
[0012] Version information is included in the template and the check information, and the checking step includes a check information retrieving step of retrieving check information corresponding to the template from the check information storage means based on the version information. It is characterized by.

【0013】前記チェック工程での前記テンプレートの
内容が前記画像ファイルに対応するかどうかのチェック
の結果に応じて、前記設定工程での設定が制御されるこ
とを特徴とする。
[0013] The setting in the setting step is controlled according to the result of checking whether or not the contents of the template correspond to the image file in the checking step.

【0014】前記チェック工程で、前記テンプレートの
内容が前記画像ファイルに対応しない場合には、前記設
定工程でのテンプレートの設定を禁止することを特徴と
する。
In the checking step, when the contents of the template do not correspond to the image file, the setting of the template in the setting step is prohibited.

【0015】更に、本発明に係るコンピュータ可読メモ
リは、画像ファイルに対し、所定のテンプレートに従っ
た画像処理を施す画像処理プログラムを格納したコンピ
ュータ可読メモリであって、前記画像処理プログラム
は、ユーザが前記テンプレートに定める画像処理を設定
する設定プログラムと、前記設定手プログラムによって
ユーザが設定しようとするテンプレートの内容が、前記
画像ファイルに対応するかどうかをチェックするチェッ
クプログラムと、を格納することを特徴とする。
Further, the computer readable memory according to the present invention is a computer readable memory storing an image processing program for performing image processing according to a predetermined template on an image file, wherein the image processing program is executed by a user. A setting program for setting image processing defined in the template, and a check program for checking whether or not the content of the template to be set by the user by the setting program corresponds to the image file are stored. And

【0016】[0016]

【発明の実施の形態】以下に、図面を参照して、この発
明の好適な実施の形態を例示的に詳しく説明する。ただ
し、この実施の形態に記載されている構成要素の相対配
置、数式、数値等は、特に特定的な記載がない限りは、
この発明の範囲をそれらのみに限定する趣旨のものでは
ない。
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, the relative arrangement of components described in this embodiment, formulas, numerical values, etc., unless otherwise specified,
It is not intended to limit the scope of the present invention only to them.

【0017】(一実施の形態)図1は、本発明の一実施
の形態に係る画像処理装置1の概略構成を示すブロック
図である。
(Embodiment) FIG. 1 is a block diagram showing a schematic configuration of an image processing apparatus 1 according to an embodiment of the present invention.

【0018】同図が示すように、画像処理装置1全体の
動作を制御するCPU2は、バス12を介して、画像情
報、テンプレート情報を格納する外部記憶装置であるフ
ロッピー(登録商標)ディスク(FDD)3、画像情
報、テンプレート情報およびチェック情報を格納する主
記憶装置であるハードディスクドライブ(HDD)4、
テンプレート情報編集処理およびテンプレート情報チェ
ック処理動作時に各種のデータを書き込み、また読み出
すRAM5、および図5、図6および図7を用いて後述
するテンプレート情報編集処理およびテンプレート情報
チェック処理動作のプログラムを格納するROM6と相
互に接続されている。同様に、CPU2はバス12を介
して、各種のデータおよび操作者からの編集指示操作を
入力するキーボード7、および画像表示データを格納す
るビデオRAM(VRAM)8とを相互に接続され、V
RAM8には画像表示や操作パネル等の表示を行うCR
T9が接続されている。さらに、CPU2は、バス12
を介して、プリンタインターフェース(プリンタI/
F)10と相互に接続され、プリンタI/F10には、
画像印刷出力を行うプリンタ11が接続されている。同
様に、CPU2は、バス12を介して、スキャナインタ
ーフェース(スキャナI/F)13と相互に接続され、
スキャナI/F10には、画像入力を行うスキャナ14
が接続されている。
As shown in FIG. 1, a CPU 2 for controlling the entire operation of the image processing apparatus 1 is connected via a bus 12 to a floppy (registered trademark) disk (FDD) which is an external storage device for storing image information and template information. 3.) a hard disk drive (HDD) 4, which is a main storage device for storing image information, template information, and check information;
A RAM 5 for writing and reading various data during template information editing processing and template information checking processing operation, and a program for template information editing processing and template information checking processing operation to be described later with reference to FIGS. 5, 6, and 7. It is interconnected with the ROM 6. Similarly, the CPU 2 is connected with a keyboard 7 for inputting various data and an editing instruction operation from an operator via a bus 12 and a video RAM (VRAM) 8 for storing image display data.
A CR for displaying an image or displaying an operation panel or the like in the RAM 8
T9 is connected. Further, the CPU 2 controls the bus 12
Via a printer interface (printer I /
F) 10 and mutually connected, and the printer I / F 10
A printer 11 for performing image print output is connected. Similarly, the CPU 2 is mutually connected to a scanner interface (scanner I / F) 13 via a bus 12,
The scanner I / F 10 includes a scanner 14 for inputting an image.
Is connected.

【0019】図2は、画像処理装置1が使用するテンプ
レート情報21の構造(データフォーマット)を示す図
であり、テンプレート情報21は、たとえばHDD4あ
るいはFDD3に格納される。
FIG. 2 is a diagram showing the structure (data format) of the template information 21 used by the image processing apparatus 1. The template information 21 is stored in, for example, the HDD 4 or the FDD 3.

【0020】図2において、テンプレート情報21は1
つのヘッダ情報22と複数のページ情報23から成り立
っている。ヘッダ情報22には、ページ情報の数24な
どが記憶されている。各々のページ情報23は、印刷出
力の各ページに相当する情報が記憶されており、ページ
番号26、出力画像情報のファイル名27、画像枠の数
28、各画像枠の位置29/階層30/サイズ31/属
性32および挿入される画像情報のファイル名33が記
憶されている。
In FIG. 2, the template information 21 is 1
One header information 22 and a plurality of page information 23. The header information 22 stores the number 24 of page information and the like. In each page information 23, information corresponding to each page of the print output is stored, and the page number 26, the file name 27 of the output image information, the number of image frames 28, the position 29 of each image frame / hierarchy 30 / A size 31 / attribute 32 and a file name 33 of image information to be inserted are stored.

【0021】画像枠の位置情報29は、画像枠の左下隅
の座標位置を、ページの左下隅を原点とする座標で表し
た情報である。
The position information 29 of the image frame is information representing the coordinate position of the lower left corner of the image frame in coordinates with the origin at the lower left corner of the page.

【0022】画像枠の階層情報30は、ページに対して
一番奥に存在する枠を基準とする数値情報で表され、数
値が大きいほど画像枠は手前に出力されるものである。
The hierarchical information 30 of the image frame is represented by numerical information based on the frame present at the back of the page. The larger the numerical value, the more the image frame is output to the front.

【0023】画像枠のサイズ情報31は、画像枠の矩形
サイズを表す情報である。
The image frame size information 31 is information representing the rectangular size of the image frame.

【0024】画像枠の属性情報32は、画像入力装置に
より入力された入力画像情報を挿入することに対する許
可/不許可を表す情報である。
The attribute information 32 of the image frame is information indicating permission / non-permission of inserting the input image information input by the image input device.

【0025】画像情報のファイル名33は、当該画像枠
に挿入される画像情報が存在する主記憶装置あるいは外
部記憶装置上のファイルを識別するためのファイル名称
である。当該画像枠に画像情報が挿入されない場合に
は、画像情報のファイル名33は設定されない。
The file name 33 of the image information is a file name for identifying a file in the main storage device or the external storage device in which the image information to be inserted into the image frame exists. If no image information is inserted into the image frame, the file name 33 of the image information is not set.

【0026】図3はテンプレート情報21を用いた画像
出力の一例を表す図であり、34は前述テンプレート情
報における画像枠1、35は画像枠2を示すものであ
る。
FIG. 3 shows an example of an image output using the template information 21. Reference numeral 34 denotes an image frame 1 in the template information, and reference numeral 35 denotes an image frame 2 in the template information.

【0027】図4は、画像処理装置1が使用するチェッ
ク情報36の構造(データフォーマット)を示す図であ
り、チェック情報36は、たとえばHDD4あるいはF
DD3に格納される。
FIG. 4 is a diagram showing the structure (data format) of the check information 36 used by the image processing apparatus 1.
Stored in DD3.

【0028】図4において、チェック情報36は1つの
バージョン情報37と複数のルール情報38から成り立
っている。
In FIG. 4, the check information 36 is composed of one version information 37 and a plurality of rule information 38.

【0029】バージョン情報37には、チェック情報3
6が持つルール情報38を用いてチェックすることが可
能なテンプレート情報21のバージョンが記憶されてい
る。
The version information 37 includes check information 3
The version of the template information 21 that can be checked by using the rule information 38 of 6 is stored.

【0030】各々のルール情報38として、正しい内容
のテンプレート情報21である場合に成立する条件が文
字列として記憶されている。ルール情報38は、前提条
件部39と必須条件部40の組み合わせで成り立ってお
り、セパレータ文字41(本実施の形態においては句
点)にて区切られている。前提条件部39が成立するよ
うなテンプレート情報21の全てのページあるいは画像
枠に対して、必須条件部40に記述されている要件が成
立する事で、当該テンプレート情報の内容は正しいと判
断される。前提条件部39の無いルール情報38は、無
条件でテンプレート情報21の全てのページあるいは画
像枠に対して、必須条件部40に記述されている要件が
成立する事で、当該テンプレート情報の内容は正しいと
判断される。
As each rule information 38, a condition that is satisfied when the template information 21 has correct contents is stored as a character string. The rule information 38 is made up of a combination of a prerequisite part 39 and a mandatory condition part 40, and is separated by a separator character 41 (a period in this embodiment). If the requirements described in the essential condition part 40 are satisfied for all pages or image frames of the template information 21 for which the precondition part 39 is satisfied, the content of the template information is determined to be correct. . The rule information 38 without the prerequisite part 39 is such that the requirements described in the essential condition part 40 are satisfied for all pages or image frames of the template information 21 unconditionally. It is determined to be correct.

【0031】以上のように構成された画像処理装置1が
実行するテンプレート情報編集処理、テンプレート情報
保存処理およびテンプレート情報チェック処理動作を、
以下、図5および図6のフローチャートに基づいて説明
する。
The template information editing processing, template information storage processing, and template information check processing operations performed by the image processing apparatus 1 configured as described above are described below.
Hereinafter, description will be given based on the flowcharts of FIGS.

【0032】ステップS1で初期化処理を行い、編集中
のテンプレート情報を記憶するメモリ内に新規のテンプ
レート情報を作成する。
In step S1, initialization processing is performed, and new template information is created in a memory for storing the template information being edited.

【0033】ステップS2で、メモリ内に記憶されてい
る編集中のテンプレート情報の内容をCRT上に表示
し、ステップS3にて、操作者からの編集操作指示入力
を待つ。
In step S2, the contents of the template information being edited stored in the memory are displayed on the CRT, and in step S3, an input of an editing operation instruction from the operator is waited.

【0034】ステップS4で、操作指示入力がテンプレ
ート情報の読み込みである場合にはステップS5へ進
み、そうでなければステップS7へ進む。
In step S4, if the operation instruction input is reading of template information, the flow proceeds to step S5; otherwise, the flow proceeds to step S7.

【0035】テンプレート情報の読み込みが指示される
と、ステップS5で、操作者から読み込むテンプレート
情報のファイル名称が入力され、ステップS6にて、H
DDあるいはFDDからステップS5にて指定されたテ
ンプレート情報のファイルをメモリ内に読み込み、ステ
ップS2へ戻る。ステップS4で、操作指示入力が画像
枠の作成である場合にはステップS8へ進み、そうでな
ければステップS10へ進む。
When reading of the template information is instructed, the file name of the template information to be read is input by the operator in step S5, and H is set in step S6.
The file of the template information specified in step S5 is read from the DD or FDD into the memory, and the process returns to step S2. In step S4, if the operation instruction input is creation of an image frame, the process proceeds to step S8; otherwise, the process proceeds to step S10.

【0036】画像枠の作成が指示されると、ステップS
8で、操作者から作成する画像枠のサイズおよび位置座
標が入力され、ステップS9にてメモリ内に記憶されて
いる編集中のテンプレート情報に画像枠情報を追加し、
ステップS8にて入力された画像枠のサイズおよび位置
が設定された後にステップS2へ戻る。
When creation of an image frame is instructed, step S
At 8, the operator inputs the size and position coordinates of the image frame to be created, and adds image frame information to the template information being edited stored in the memory at step S9.
After the size and position of the image frame input in step S8 are set, the process returns to step S2.

【0037】ステップS10で、操作指示入力が画像枠
の修正である場合にはステップS11へ進み、そうでな
ければステップS13へ進む。
In step S10, if the operation instruction input is to correct the image frame, the process proceeds to step S11; otherwise, the process proceeds to step S13.

【0038】画像枠の修正が指示されると、ステップS
11で、操作者から修正する対象となる画像枠とサイズ
および位置座標が入力され、ステップS12にてメモリ
内に記憶されている編集中のテンプレート情報からステ
ップS11で指定された画像枠情報を得て、ステップS
11にて入力されたサイズおよび位置が設定された後に
ステップS2へ戻る。
When an instruction to correct the image frame is issued, step S
In step 11, the operator inputs the image frame to be corrected, the size and the position coordinates, and obtains the image frame information specified in step S11 from the template information being edited stored in the memory in step S12. And step S
After the size and position input at 11 are set, the process returns to step S2.

【0039】ステップS13で、操作指示入力が画像枠
の設定変更である場合にはステップS14へ進み、そう
でなければステップS16へ進む。
In step S13, if the operation instruction input is to change the setting of the image frame, the process proceeds to step S14, and if not, the process proceeds to step S16.

【0040】画像枠の設定変更が指示されると、ステッ
プS14で、操作者から修正する対象となる画像枠と変
更する項目および内容が入力され、ステップS15にて
メモリ内に記憶されている編集中のテンプレート情報か
らステップS14で指定された画像枠情報を得て、ステ
ップS14にて指定された項目に対して入力された内容
に設定を変更した後にステップS2へ戻る。
When an instruction to change the setting of the image frame is given, in step S14, the image frame to be corrected and the items and contents to be changed are input by the operator. In step S15, the editing stored in the memory is performed. The image frame information specified in step S14 is obtained from the template information in the table, the setting is changed to the content input for the item specified in step S14, and the process returns to step S2.

【0041】ステップS13で、操作指示入力がテンプ
レート情報の保存である場合にはステップS20へ進
み、そうでなければステップS17で操作指示入力がテ
ンプレート編集作業の終了であれば、処理を終了する。
そうでなければステップS2へ戻る。
At step S13, if the operation instruction input is to save the template information, the process proceeds to step S20. Otherwise, if the operation instruction input is the end of the template editing work at step S17, the process ends.
Otherwise, return to step S2.

【0042】テンプレート情報の保存が指示されると、
ステップS20で、メモリ内に記憶されている編集中の
テンプレート情報からバージョン情報を取得し、ステッ
プS21で、得られたバージョン情報の内容が同一であ
るチェック情報がHDD内に存在するか検索を行う。
When an instruction to save template information is issued,
In step S20, version information is obtained from the template information being edited stored in the memory, and in step S21, a check is performed to determine whether or not the check information having the same contents of the obtained version information exists in the HDD. .

【0043】ステップS22で、ステップS21の検索
の結果、該当するチェック情報が存在しなければ、ステ
ップS23にて編集中のテンプレート情報の内容チェッ
ク処理がチェック情報が無いために行えない旨のメッセ
ージをCRT上に表示した後に、ステップS2へ戻る。
In step S22, as a result of the search in step S21, if the corresponding check information does not exist, a message indicating that the content check processing of the template information being edited cannot be performed in step S23 because there is no check information. After displaying on the CRT, the process returns to step S2.

【0044】ステップS22で、ステップS21の検索
の結果、該当するチェック情報が存在する場合には、ス
テップS24で、得られたチェック情報とメモリ内に記
憶されている編集中のテンプレート情報を基に後述する
テンプレート情報チェック処理を行う。
In step S22, as a result of the search in step S21, if the corresponding check information is present, in step S24, based on the obtained check information and the template information being edited stored in the memory, A template information check process described later is performed.

【0045】ステップS25で、前述テンプレート情報
チェック処理の結果、メモリ内に記憶されている編集中
のテンプレート情報に誤りがある場合、ステップS26
にて編集中のテンプレート情報の内容に誤りがあるため
テンプレート情報の保存を行えない旨のメッセージをC
RT上に表示した後に、ステップS2へ戻る。
If it is determined in step S25 that there is an error in the template information being edited stored in the memory as a result of the template information check processing, step S26
A message stating that template information cannot be saved due to an error in the template information being edited in C
After the display on the RT, the process returns to step S2.

【0046】ステップS25で、前述テンプレート情報
チェック処理の結果、メモリ内に記憶されている編集中
のテンプレート情報の内容が正しい場合、ステップS2
7にて、操作者から保存するテンプレート情報のファイ
ル名称が入力され、ステップS28にて、メモリ内に記
憶されている編集中のテンプレート情報を指定されたフ
ァイル名称でHDDあるいはFDDへ保存を行った後
に、ステップS2へ戻る。
In step S25, as a result of the template information check processing, if the contents of the template information being edited stored in the memory are correct, step S2
At 7, the operator inputs the file name of the template information to be saved, and at step S28, the template information being edited stored in the memory is saved to the HDD or FDD with the designated file name. Later, the process returns to step S2.

【0047】次に、画像処理装置1が実行するテンプレ
ート情報チェック処理動作を、以下、図7のフローチャ
ートに基づいて説明する。なお、当該処理を行う前に
は、チェック処理対象となるテンプレート情報およびチ
ェック情報が当該処理を呼び出した処理から与えられる
事が前提条件である。
Next, the template information check processing operation executed by the image processing apparatus 1 will be described below with reference to the flowchart of FIG. Before performing the process, it is a precondition that template information to be checked and check information are provided from the process that called the process.

【0048】ステップS30で、初期化処理として、テ
ンプレート情報チェック処理の結果にテンプレート情報
に誤りが無いフラグをセットする。
In step S30, as an initialization process, a flag having no error in the template information is set in the result of the template information check process.

【0049】ステップS31で、与えられたチェック情
報から1行分のルール情報の文字列を得て、当該文字列
からセパレータ文字を基準にして、前提条件部と必須条
件部に分離する。
In step S31, a character string of one line of rule information is obtained from the given check information, and is separated from the character string into a prerequisite part and an essential condition part based on a separator character.

【0050】ステップS32にて、必須条件部の記述に
「画像枠」の記述が存在するかを検索し、存在するなら
ばステップS33へ進み、存在しなければステップS3
8へ進む。
In step S32, a search is made to see if the description of the "image frame" exists in the description of the indispensable condition part. If so, the process proceeds to step S33, and if not, the process proceeds to step S3.
Proceed to 8.

【0051】必須条件部の記述に「画像枠」の記述が存
在する場合、ステップS33にて、与えられたテンプレ
ー卜情報のページ部から1つの画像枠情報を取得し、前
述前提条件部の記述と前述画像枠情報の設定内容が合致
するかを判定する。判定の結果、合致しない場合にはス
テップS37へ進む。判定の結果、合致する場合には、
ステップS35にて前述必須条件部の記述と前述画像枠
情報の設定内容が合致するかを判定する。判定の結果、
合致する場合にはズテップS37へ進み、合致しない場
合にはステップS36にて、テンプレート情報チェック
処理の結果にテンプレート情報に誤りがあるフラグを立
てた後に、ステップS37へ進む。
If the description of the essential condition part includes the description of "image frame", in step S33, one piece of image frame information is acquired from the page part of the given template information, and the description of the prerequisite part is described. And whether the setting contents of the image frame information match. If the result of the determination is that they do not match, the operation proceeds to step S37. If the result of the judgment is that they match,
In step S35, it is determined whether or not the description of the essential condition part matches the setting content of the image frame information. As a result of the judgment,
If they match, the process proceeds to step S37. If they do not match, in step S36 a flag indicating an error in the template information is set as a result of the template information check processing, and then the process proceeds to step S37.

【0052】ステップS37で、前述与えられたテンプ
レート情報の全ての画像枠情報に対してチェックが行わ
れていなければ、ステップS33へ戻る。全ての画像枠
情報に対してチェックが行われていれば、ステップS4
2へ進む。
If it is determined in step S37 that all the image frame information of the template information given above has not been checked, the process returns to step S33. If all image frame information has been checked, step S4
Proceed to 2.

【0053】ステップS38にて、必須条件部の記述に
「ページ」の記述が存在するかを検索し、存在するなら
ばステップS39へ進み、存在しなければステップS4
2へ進む。
In step S38, a search is made to see if the description of the "page" exists in the description of the indispensable condition part, and if there is, the flow proceeds to step S39; if not, the flow proceeds to step S4.
Proceed to 2.

【0054】必須条件部の記述に「ページ」の記述が存
在する場合、ステップS39にて、与えられたテンプレ
ート情報のヘッダ部からページ数を取得し、ステップS
40にて、前述必須条件部の記述と前述ページ数の内容
が合致するかを判定する。判定の結果、合致する場合に
はステップS42へ進み、合致しない場合にはステップ
S41にて、テンプレート情報チェック処理の結果にテ
ンプレート情報に誤りがあるフラグを立てた後に、ステ
ップS42へ進む。
If there is a description of “page” in the description of the essential condition part, the number of pages is obtained from the header part of the given template information in step S39, and
At 40, it is determined whether or not the description of the above-mentioned essential condition part matches the content of the above-mentioned number of pages. As a result of the determination, if they match, the process proceeds to step S42. If they do not match, in step S41, a flag indicating an error in the template information is set as a result of the template information check processing, and then the process proceeds to step S42.

【0055】ステップS42にて、前述与えられたチェ
ック情報に含まれる全てのルール情報に対して処理が行
われたかを判定し、処理が行われていない場合には、ス
テップS31へ戻って処理を繰り返す。処理が行われた
場合には、本処理の呼び出した処理に対して当該テンプ
レート情報チェック処理の結果を通知した後に、テンプ
レート情報チェック処理を終了する。
In step S42, it is determined whether or not the processing has been performed on all the rule information included in the check information given above. If the processing has not been performed, the flow returns to step S31 to execute the processing. repeat. If the processing has been performed, the template information check processing is terminated after notifying the result of the template information check processing to the processing called this processing.

【0056】上記実施の形態において、テンプレート情
報チェック処理にて行われるチェック内容はページ数お
よび画像枠の設定内容に限った処理であったが、テンプ
レート情報のデータ構造から入手可能な情報であれば、
いかなるチェック処理を行っても、本発明の効果は変わ
らない。
In the above embodiment, the check contents performed in the template information check processing are limited to the number of pages and the setting contents of the image frame. However, if the information can be obtained from the data structure of the template information, ,
The effect of the present invention does not change even if any check processing is performed.

【0057】また、上記実施の形態において、ルール情
報については文字列で表現されている事を前提としてテ
ンプレート情報チェック処理を行っていたが、当該ルー
ル情報をバイナリファイルによる表現、あるいはソフト
ウェアプログラムの関数などの表現を用いて実現して
も、本発明の効果は変わらない。
In the above embodiment, the template information check processing is performed on the assumption that the rule information is represented by a character string. However, the rule information is represented by a binary file or a function of a software program. However, the effects of the present invention do not change even if realized using such expressions.

【0058】また、上記実施の形態において、テンプレ
ート情報保存処理においてテンプレート情報に誤りがあ
る場合には一律にテンプレート情報を保存できなかった
が、当該編集中のテンプレート情報の内容を誤ってHD
DあるいはFDDへ上書きしない方法であれば、別ファ
イル名称の一時ファイルとしてのみ保存可能とするなど
の処理を行っても本発明の効果は変わらない。
Further, in the above-described embodiment, when template information is incorrect in the template information storing process, the template information cannot be uniformly stored.
As long as the method does not overwrite D or FDD, the effect of the present invention does not change even if processing such as being able to save only as a temporary file with a different file name is performed.

【0059】(他の実施形態)なお、本発明は、複数の
機器(例えばホストコンピュータ、インタフェイス機
器、リーダ、プリンタなど)から構成されるシステムに
適用しても、一つの機器からなる装置(例えば、複写
機、ファクシミリ装置など)に適用してもよい。
(Other Embodiments) Even if the present invention is applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), an apparatus including a single device (for example, For example, the present invention may be applied to a copying machine, a facsimile machine, and the like.

【0060】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体(または記録媒体)を、システムあるい
は装置に供給し、そのシステムあるいは装置のコンピュ
ータ(またはCPUやMPU)が記憶媒体に格納されたプログ
ラムコードを読み出し実行することによっても、達成さ
れることは言うまでもない。この場合、記憶媒体から読
み出されたプログラムコード自体が前述した実施形態の
機能を実現することになり、そのプログラムコードを記
憶した記憶媒体は本発明を構成することになる。また、
コンピュータが読み出したプログラムコードを実行する
ことにより、前述した実施形態の機能が実現されるだけ
でなく、そのプログラムコードの指示に基づき、コンピ
ュータ上で稼働しているオペレーティングシステム(OS)
などが実際の処理の一部または全部を行い、その処理に
よって前述した実施形態の機能が実現される場合も含ま
れることは言うまでもない。
Further, an object of the present invention is to supply a storage medium (or a recording medium) on which a program code of software for realizing the functions of the above-described embodiments is recorded to a system or an apparatus, and a computer (a computer) of the system or the apparatus. It is needless to say that the present invention can also be achieved by a CPU or an MPU) reading and executing the program code stored in the storage medium. In this case, the program code itself read from the storage medium implements the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention. Also,
When the computer executes the readout program code, not only the functions of the above-described embodiments are realized, but also the operating system (OS) running on the computer based on the instructions of the program code.
It is needless to say that a case in which the functions of the above-described embodiments are implemented by performing part or all of the actual processing.

【0061】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張カー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書込まれた後、そのプログラムコードの指示
に基づき、その機能拡張カードや機能拡張ユニットに備
わるCPUなどが実際の処理の一部または全部を行い、そ
の処理によって前述した実施形態の機能が実現される場
合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written in the memory provided in the function expansion card inserted into the computer or the function expansion unit connected to the computer, the program code is read based on the instruction of the program code. Needless to say, the CPU included in the function expansion card or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0062】本発明を上記記憶媒体に適用する場合、そ
の記憶媒体には、先に説明した図6及び/又は図7に示
すフローチャートに対応するプログラムコードが格納さ
れることになる。
When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the flowcharts shown in FIG. 6 and / or FIG. 7 described above.

【0063】[0063]

【発明の効果】以上説明したように、本発明によれば、
望ましくないテンプレートの設定を効果的に防止し得る
画像処理装置及びその方法を提供することができる。
As described above, according to the present invention,
It is possible to provide an image processing apparatus and method capable of effectively preventing setting of an undesired template.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施の形態に係る画像処理装置1の
概略構成を示す図である。
FIG. 1 is a diagram showing a schematic configuration of an image processing apparatus 1 according to an embodiment of the present invention.

【図2】図1の画像処理装置が使用するテンプレート情
報21のデータ構造の一例を示す図である。
FIG. 2 is a diagram illustrating an example of a data structure of template information 21 used by the image processing apparatus in FIG. 1;

【図3】図1の画像処理装置が画像情報20をテンプレ
ート情報21を基に加工し、出力される一例を示す図で
ある。
FIG. 3 is a diagram showing an example in which the image processing apparatus of FIG. 1 processes image information 20 based on template information 21 and outputs the processed image information.

【図4】図1の画像処理装置が使用するチェック情報3
6のデータ構造の一例を示す図である。
FIG. 4 is check information 3 used by the image processing apparatus of FIG.
6 is a diagram illustrating an example of a data structure of No. 6. FIG.

【図5】図1の画像処理装置が実行するテンプレート情
報編集処理およびテンプレート情報保存処理動作の手順
を示すフローチャートである。
FIG. 5 is a flowchart illustrating a procedure of template information editing processing and template information storage processing performed by the image processing apparatus of FIG. 1;

【図6】図1の画像処理装置が実行するテンプレート情
報編集処理およびテンプレート情報保存処理動作の手順
を示すフローチャートである。
FIG. 6 is a flowchart illustrating a procedure of template information editing processing and template information storage processing performed by the image processing apparatus of FIG. 1;

【図7】図1の画像処理装置が実行するテンプレート情
報チェック処理動作の手順を示すフローチャートであ
る。
FIG. 7 is a flowchart illustrating a procedure of a template information check processing operation executed by the image processing apparatus of FIG. 1;

【符号の説明】[Explanation of symbols]

2 CPU 3 FDD 4 HDD 7 キーボード 9 CRT 11 スキャナ 2 CPU 3 FDD 4 HDD 7 Keyboard 9 CRT 11 Scanner

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】画像ファイルに対し、所定のテンプレート
に従った画像処理を施す画像処理装置であって、 ユーザが前記テンプレートに定める画像処理を設定する
設定手段と、 前記設定手段によってユーザが設定しようとするテンプ
レートの内容が、前記画像ファイルに対応するかどうか
をチェックするチェック手段と、 を有することを特徴とする画像処理装置。
An image processing apparatus for performing image processing on an image file according to a predetermined template, wherein the setting means sets image processing defined by the user in the template; Checking means for checking whether or not the content of the template corresponds to the image file.
【請求項2】前記チェック手段は、 チェック情報記憶手段を有し、 該チェック情報記憶手段に記憶されたチェック情報に応
じて前記テンプレートの内容をチェックすることを特徴
とする請求項1に記載の画像処理装置。
2. The apparatus according to claim 1, wherein said checking means has check information storing means, and checks the contents of said template according to the check information stored in said check information storing means. Image processing device.
【請求項3】前記テンプレートおよび前記チェック情報
内にバージョン情報を有し、 前記チェック手段は、 該バージョン情報に基づいて前記チェック情報記憶手段
からテンプレートに応じたチェック情報を検索するチェ
ック情報検索手段を有することを特徴とする請求項2に
記載の画像処理装置。
3. The apparatus according to claim 1, wherein the template and the check information have version information, and the check means includes a check information search means for searching the check information storage means for check information corresponding to the template based on the version information. The image processing apparatus according to claim 2, further comprising:
【請求項4】前記チェック手段は、前記テンプレートの
内容が前記画像ファイルに対応するかどうかのチェック
の結果に応じて、前記設定手段での設定を制御すること
を特徴とする請求項1に記載の画像処理装置。
4. The apparatus according to claim 1, wherein said checking means controls the setting by said setting means according to a result of checking whether or not the contents of said template correspond to said image file. Image processing device.
【請求項5】前記チェック手段は、前記テンプレートの
内容が前記画像ファイルに対応しない場合には、前記設
定手段でのテンプレートの設定を禁止することを特徴と
する請求項1に記載の画像処理装置。
5. The image processing apparatus according to claim 1, wherein the checking unit prohibits the setting of the template by the setting unit when the content of the template does not correspond to the image file. .
【請求項6】前記チェック情報は、文字列情報であるこ
とを特徴とする請求項2に記載の画像処理装置。
6. The image processing apparatus according to claim 2, wherein the check information is character string information.
【請求項7】画像ファイルに対し、所定のテンプレート
に従った画像処理を施す画像処理方法であって、 ユーザが前記テンプレートに定める画像処理を設定する
設定工程と、 前記設定工程でユーザが設定しようとするテンプレート
の内容が、前記画像ファイルに対応するかどうかをチェ
ックするチェック工程と、 を有することを特徴とする画像処理方法。
7. An image processing method for performing image processing on an image file in accordance with a predetermined template, wherein the user sets the image processing specified in the template. A checking step of checking whether or not the content of the template corresponds to the image file.
【請求項8】前記チェック工程は、 チェック情報記憶手段に記憶されたチェック情報に応じ
て前記テンプレートの内容をチェックすることを特徴と
する請求項7に記載の画像処理方法。
8. The image processing method according to claim 7, wherein in the checking step, the contents of the template are checked according to check information stored in check information storage means.
【請求項9】前記テンプレートおよび前記チェック情報
内にバージョン情報を有し、 前記チェック工程は、 該バージョン情報に基づいて前記チェック情報記憶手段
からテンプレートに応じたチェック情報を検索するチェ
ック情報検索工程を有することを特徴とする請求項8に
記載の画像処理方法。
9. A method according to claim 9, wherein said template and said check information have version information, and said checking step includes a check information searching step of searching said check information storage means for check information corresponding to the template based on said version information. 9. The image processing method according to claim 8, comprising:
【請求項10】前記チェック工程での前記テンプレート
の内容が前記画像ファイルに対応するかどうかのチェッ
クの結果に応じて、前記設定工程での設定が制御される
ことを特徴とする請求項7に記載の画像処理方法。
10. The setting in the setting step is controlled in accordance with the result of checking whether the content of the template in the checking step corresponds to the image file. The image processing method described in the above.
【請求項11】前記チェック工程で、前記テンプレート
の内容が前記画像ファイルに対応しない場合には、前記
設定工程でのテンプレートの設定を禁止することを特徴
とする請求項7に記載の画像処理方法。
11. The image processing method according to claim 7, wherein in the checking step, when the contents of the template do not correspond to the image file, the setting of the template in the setting step is prohibited. .
【請求項12】画像ファイルに対し、所定のテンプレー
トに従った画像処理を施す画像処理プログラムを格納し
たコンピュータ可読メモリであって、 前記画像処理プログラムは、 ユーザが前記テンプレートに定める画像処理を設定する
設定プログラムと、 前記設定手プログラムによってユーザが設定しようとす
るテンプレートの内容が、前記画像ファイルに対応する
かどうかをチェックするチェックプログラムと、 を格納することを特徴とするコンピュータ可読メモリ。
12. A computer-readable memory storing an image processing program for performing image processing according to a predetermined template on an image file, wherein the image processing program sets image processing specified by the user in the template. A computer-readable memory storing: a setting program; and a check program for checking whether contents of a template to be set by a user by the setting program correspond to the image file.
JP11090075A 1999-03-30 1999-03-30 Method and device for picture processing Withdrawn JP2000285250A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11090075A JP2000285250A (en) 1999-03-30 1999-03-30 Method and device for picture processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11090075A JP2000285250A (en) 1999-03-30 1999-03-30 Method and device for picture processing

Publications (1)

Publication Number Publication Date
JP2000285250A true JP2000285250A (en) 2000-10-13

Family

ID=13988416

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11090075A Withdrawn JP2000285250A (en) 1999-03-30 1999-03-30 Method and device for picture processing

Country Status (1)

Country Link
JP (1) JP2000285250A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004055224A1 (en) * 2002-12-17 2004-07-01 Jfe Steel Corporation Process for producing sintering feedstock and apparatus therefor
JP2015066236A (en) * 2013-09-30 2015-04-13 オリンパス株式会社 Endoscope image processing device, endoscope image processing method and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004055224A1 (en) * 2002-12-17 2004-07-01 Jfe Steel Corporation Process for producing sintering feedstock and apparatus therefor
JP2015066236A (en) * 2013-09-30 2015-04-13 オリンパス株式会社 Endoscope image processing device, endoscope image processing method and program

Similar Documents

Publication Publication Date Title
JP3892626B2 (en) Document processing apparatus and storage medium
US4924411A (en) Document processing apparatus having shading process function
JP2000285250A (en) Method and device for picture processing
JPH11250037A (en) Content editing device and recording medium
JP2001101327A (en) Information processing method, information processor and printing system
JP2621486B2 (en) Document editing method and apparatus
JP3307358B2 (en) Partial correction command method and information processing apparatus
JPS6367215B2 (en)
JPH0451359A (en) Document managing system
JPH05250014A (en) Peripheral device for programmable controller
JPH11203279A (en) Kana-kanji conversion device and method and storage medium
JPH0962676A (en) Document preparation device and display control method
JP2009290779A (en) Method of creating circulars, and device for forming image to embodying the method
JPH10232913A (en) Device and method for processing image and medium storing program
JPH0410163A (en) Document processing device
JP2001101326A (en) Information processor, information processing method and printing system
JPH06187346A (en) Word processor
JP2001022817A (en) Automatic generation device of logic circuit
JPH11134379A (en) Cad device, drawing preparation method and recording medium for recording cad program
JPH0552966B2 (en)
JPH0268622A (en) Program specializing system
JPH0944580A (en) Record generating method
JPH08212220A (en) Document preparing device and document editing method
JPH04114272A (en) Document preparing machine
JPH08123802A (en) Document preparing device and deformed character interchanging method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060606