JPH10240912A - Information processing apparatus and method - Google Patents
Information processing apparatus and methodInfo
- Publication number
- JPH10240912A JPH10240912A JP4665097A JP4665097A JPH10240912A JP H10240912 A JPH10240912 A JP H10240912A JP 4665097 A JP4665097 A JP 4665097A JP 4665097 A JP4665097 A JP 4665097A JP H10240912 A JPH10240912 A JP H10240912A
- Authority
- JP
- Japan
- Prior art keywords
- processing
- data
- display
- image
- area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Processing Or Creating Images (AREA)
- Image Processing (AREA)
Abstract
(57)【要約】
【課題】画像データに所望の加工処理を行なう場合に加
工対象となる画像データを処理することなく適用される
加工処理を施した結果を確認可能とする。
【解決手段】データ処理システムは画像データ領域3a
1に格納された画像データに所望の加工処理を行う。表
示用データ2b2は指定された加工処理を施した結果を
簡易的に表示するためのデータである。表示用データ2
b2は未変更状態の表示用データを含み、所望の加工処
理が指定されると、その指定された加工処理を未変更状
態の表示用データに施した結果として得られるデータを
表示用データとして獲得し、これを表示器6に表示す
る。指定された加工処理は加工種別記憶領域3cに保持
され、画像データ領域3a1に保持された画像データに
対して実際に加工処理を施す際に参照される。
(57) [Summary] When performing desired processing on image data, it is possible to confirm a result of performing processing applied without processing image data to be processed. A data processing system includes an image data area (3a).
The desired processing is performed on the image data stored in No. 1. The display data 2b2 is data for simply displaying the result of performing the specified processing. Display data 2
b2 includes display data in an unchanged state, and when a desired processing is specified, data obtained as a result of performing the specified processing on the display data in an unchanged state is obtained as display data. Then, this is displayed on the display 6. The designated processing is stored in the processing type storage area 3c, and is referred to when the processing is actually performed on the image data stored in the image data area 3a1.
Description
【0001】[0001]
【発明の属する技術分野】本発明は情報処理装置及び方
法に関し、特に画像に対して所望の加工処理を行える情
報処理装置及び方法に関する。The present invention relates to an information processing apparatus and method, and more particularly to an information processing apparatus and method capable of performing desired processing on an image.
【0002】[0002]
【従来の技術】従来より、2次元カラー画像または白黒
多値画像または白黒2値画像データに対して加工処理が
可能なデータ処理装置が知られている。この種のデータ
処理装置を用いて画像データを加工する場合には、実際
の画像データの全体または一部に対して実際の加工を行
なわないと、その加工結果を確認することはできなかっ
た。2. Description of the Related Art Conventionally, there has been known a data processing apparatus capable of processing a two-dimensional color image, a monochrome multi-valued image, or a monochrome binary image data. When processing image data using this type of data processing apparatus, the actual processing result cannot be confirmed unless actual processing is performed on all or part of the actual image data.
【0003】[0003]
【発明が解決しようとする課題】しかしながら、上記従
来のデータ処理装置が例えばワードプロセッサのような
処理速度がそれほど速くないような装置に適用された場
合、加工の具合を確認する場合でも実際の画像データに
対して加工処理が行なわれるので処理時間がかかってし
まい、効率が悪かった。また、その加工結果を確認した
後で別の加工処理に変更するような場合には、さらに多
くの時間がかかってしまい、非効率的であった。また、
データ処理装置の仕様によっては、画像データを加工処
理前の状態に戻すことができず、加工のやり直しができ
ないといったような状況も発生し、非生産的であった。However, when the above-mentioned conventional data processing device is applied to a device such as a word processor, for example, in which the processing speed is not so high, even if the degree of processing is confirmed, the actual image data is processed. , Processing time is required, and the efficiency is poor. In addition, when changing to another processing after confirming the processing result, much more time is required, which is inefficient. Also,
Depending on the specifications of the data processing apparatus, image data cannot be returned to the state before the processing, and there are situations in which the processing cannot be performed again, which has been unproductive.
【0004】本発明は上記問題に鑑みてなされたもので
あり、画像データに対して所望の加工処理を行なう場合
に、加工対象となる画像データを処理することなく、適
用される加工処理を施した結果を確認可能とする情報処
理装置及び方法を提供することを目的とする。[0004] The present invention has been made in view of the above-mentioned problems, and when performing a desired processing process on image data, it is possible to perform an applicable processing process without processing the image data to be processed. It is an object of the present invention to provide an information processing apparatus and method capable of confirming a result of the operation.
【0005】[0005]
【課題を解決するための手段】上記の目的を達成するた
めの本発明の情報処理装置は以下の構成を備える。すな
わち、画像データに対して所望の加工処理を行う情報処
理装置であって、少なくとも1つの表示用データを記憶
する記憶手段と、所望の加工処理を指定する指定手段
と、前記指定手段で指定された加工処理を前記表示用デ
ータに適用した結果に対応する結果表示用データを獲得
する獲得手段と、前記獲得手段で獲得された結果データ
を表示する表示手段とを備える。An information processing apparatus according to the present invention for achieving the above object has the following arrangement. That is, an information processing apparatus that performs a desired processing on image data, a storage unit that stores at least one display data, a specifying unit that specifies a desired processing, and a storage unit that specifies the desired processing. Acquisition means for acquiring result display data corresponding to the result of applying the modified processing to the display data, and display means for displaying the result data acquired by the acquisition means.
【0006】また、上記の目的を達成する本発明の情報
処理方法は以下の工程を備える。すなわち、画像データ
に対して所望の加工処理を行うための情報処理方法であ
って、所望の加工処理を指定する指定工程と、前記指定
工程で指定された加工処理を、メモリに記憶された表示
用データに適用した結果に対応する結果表示用データを
獲得する獲得工程と、前記獲得工程で獲得された結果デ
ータを表示する表示工程とを備える。The information processing method of the present invention for achieving the above object has the following steps. That is, an information processing method for performing a desired processing on image data, wherein a specifying step of specifying a desired processing and a processing specified in the specifying step are displayed in a memory stored in a memory. An acquisition step of acquiring result display data corresponding to a result applied to the application data, and a display step of displaying the result data acquired in the acquisition step.
【0007】[0007]
【発明の実施の形態】以下、添付の図面を参照して本発
明の好適な一実施形態を説明する。Preferred embodiments of the present invention will be described below with reference to the accompanying drawings.
【0008】図1は、本発明の一実施形態に係るデータ
処理装置の概略構成を示すブロック図である。なお、本
実施形態のデータ処理装置としては、ワードプロセッサ
等の文書処理専用機であってもよいし、或いはパーソナ
ルコンピュータ等であってもよい。FIG. 1 is a block diagram showing a schematic configuration of a data processing device according to one embodiment of the present invention. Note that the data processing device of the present embodiment may be a dedicated document processing device such as a word processor, or may be a personal computer or the like.
【0009】本実施形態に係るデータ処理装置は、主と
してCPU(中央処理装置)1、ROM(リードオンリ
メモリ)2、RAM(ランダムアクセスメモリ)3、キ
ーボード4、マウス5、表示器6、および外部記憶装置
7により構成され、これら各構成要素はバスライン8に
より互いに接続されている。なお、システム構成によっ
ては、後述するシステムプログラムや画像加工処理プロ
グラムなどは、ROM2のかわりにハードディスクなど
のような外部記憶装置7に格納され、CPU1によって
実行される際にRAM3にロードされるようにしてもよ
い。The data processing apparatus according to the present embodiment mainly includes a CPU (central processing unit) 1, a ROM (read only memory) 2, a RAM (random access memory) 3, a keyboard 4, a mouse 5, a display 6, and an external device. The storage device 7 is configured, and these components are connected to each other by a bus line 8. Depending on the system configuration, a system program and an image processing program to be described later are stored in an external storage device 7 such as a hard disk instead of the ROM 2 and are loaded into the RAM 3 when executed by the CPU 1. You may.
【0010】CPU1は、例えばマイクロプロセッサの
形態で設けられ、本データ処理装置各部の動作を制御す
る。ROM2は、システムプログラム2a、各種処理を
指示、実行するための画像アプリケーションプログラム
2b(以下、画像アプリプログラム2bという)を格納
する。特に本実施形態の画像アプリプログラム2bは、
その一部に、本実施形態による画像加工処理プログラム
2b1や、後述する簡易表示用領域に表示するための表
示用データ2b2などを含む。これらの画像加工処理プ
ログラム2b1や表示用データ2b2の詳細については
後述する。The CPU 1 is provided, for example, in the form of a microprocessor and controls the operation of each section of the data processing apparatus. The ROM 2 stores a system program 2a and an image application program 2b (hereinafter, referred to as an image application program 2b) for instructing and executing various processes. In particular, the image application program 2b of the present embodiment includes:
A part thereof includes an image processing program 2b1 according to the present embodiment, display data 2b2 to be displayed in a simple display area described later, and the like. Details of the image processing program 2b1 and the display data 2b2 will be described later.
【0011】なお、表示用データ2b2は、画像加工処
理プログラム2b1にあらかじめ準備された加工処理に
応じた表示データが格納されている。本実施形態では、
加工方法として「スタイル」「額ぶち」「影」の3分野
が準備されており、スタイルには6種類の表示データ
(図5参照)が、額ぶちには5種類の表示データ(図6
参照)が格納されている。なお、表示用データ2b2
は、ビットマップデータとして準備されているものとす
るが、圧縮処理されたデータであってもよいことはいう
までもない。The display data 2b2 stores display data corresponding to the processing prepared in advance in the image processing program 2b1. In this embodiment,
As the processing method, three fields of “style”, “border”, and “shadow” are prepared, and six types of display data (see FIG. 5) are stored in the style, and five types of display data (see FIG. 6) are displayed in the frame.
Reference) is stored. The display data 2b2
Is prepared as bitmap data, but it goes without saying that it may be data that has been subjected to compression processing.
【0012】また、RAM3には次のような領域が設け
られる。すなわち、加工する元になる画像を格納するた
めの画像データ領域3a1、加工途中にワーク領域とし
て使用したり、加工後の画像を格納したりするためのワ
ーク画像データ領域3a2、後述の簡易表示処理で必要
となる簡易表示データを作成するための表示用ワーク領
域3b1などを含む表示用領域3b、指示された加工種
別や、画像に対して実行された加工種別などを記憶する
ための加工種別記憶領域3c、およびその他の管理・ワ
ーク領域3f等が設けられている。The following areas are provided in the RAM 3. That is, an image data area 3a1 for storing an image to be processed, a work image data area 3a2 for use as a work area during processing, and for storing an image after processing, and a simple display process described later. A display area 3b including a display work area 3b1 and the like for creating simplified display data required in the above, and a processing type storage for storing a specified processing type, a processing type executed on an image, and the like. An area 3c and another management / work area 3f are provided.
【0013】画像データ領域3a1は、加工を行なう元
になる画像データを格納する領域である。従って、外部
記憶装置7から画像データを読み込むと、まずこの画像
データ領域3a1に格納される。そして、何らかの加工
を行なう場合には、この画像データに対して加工を行な
い、加工結果の画像データはワーク画像データ領域3a
2に格納される。または、加工結果の画像データを再び
画像データ領域3a1に複写するようにしてもよい。こ
の場合は、加工後の画像に対して、更にそれ以後の加工
が行なえるようになる。The image data area 3a1 is an area for storing image data from which processing is to be performed. Therefore, when image data is read from the external storage device 7, it is first stored in the image data area 3a1. When any processing is performed, the image data is processed, and the processed image data is stored in the work image data area 3a.
2 is stored. Alternatively, the processed image data may be copied again to the image data area 3a1. In this case, further processing can be performed on the processed image.
【0014】また、表示用領域3bには、簡易表示画面
F1(後述)に表示するためのビットマップデータ領域
(不図示)と、簡易表示用データを作成するためのワー
ク領域として使用する領域(表示用ワーク領域3b1)
がある。The display area 3b includes a bitmap data area (not shown) for displaying on a simplified display screen F1 (described later) and an area (not shown) used as a work area for creating simplified display data. Display work area 3b1)
There is.
【0015】また、加工種別記憶領域3cにおけるデー
タ構成を図2に示す。加工種別記憶領域3cには、実際
の画像データを加工した加工済加工種別3c1、ユーザ
より指示された加工種別を格納する指定加工種別3c
2、さらにユーザより指示された加工種別と加工済加工
種別とが一致しているか否かにより、その画像に対して
画像加工指示が有効であるか否かを判定するための加工
可否フラグ3c3とがある。上述のように、本実施形態
における加工処理では「スタイル」、「額ぶち」、
「影」の3種類が用いられるので、編集画像の加工済加
工種別3c1及び指定された加工種別3c2の夫々は、
スタイル領域3c11、3c21と、額ぶち領域3c1
2、3c22と、影領域3c13、3c23を有する。FIG. 2 shows a data structure in the processing type storage area 3c. In the processing type storage area 3c, a processed processing type 3c1 for processing the actual image data, and a specified processing type 3c for storing the processing type specified by the user.
2. Further, a processing enable / disable flag 3c3 for determining whether or not the image processing instruction is valid for the image based on whether or not the processing type designated by the user matches the processed processing type. There is. As described above, in the processing according to the present embodiment, “style”, “frame border”,
Since three types of “shadow” are used, each of the processed type 3c1 of the edited image and the specified type 3c2 is
Style areas 3c11, 3c21 and border area 3c1
2, 3c22 and shadow areas 3c13, 3c23.
【0016】更に、その他の管理・ワーク領域3fは、
その他の各種情報やデータを管理したり、ワークとして
使用したりするための領域である。Further, the other management / work area 3f includes:
It is an area for managing other various information and data and using it as a work.
【0017】キーボード4は、ユーザが文字・数字・記
号等のデータの入力、及びCPU1に対する各種指示を
行なうためのものである。マウス5は、表示器6上に表
示されている各種情報を指示することにより、CPU1
に対して各種指示を行なう。マウスの代わりにトラック
ボール、ペン、またはタッチパネル等の方式を採用して
も良い。表示器6は、LCD等により構成され、CPU
1の制御により各種データの表示を行なう。外部記憶装
置7は、例えばハードディスクやフロッピーディスク等
のメディアからなり、該外部記憶装置7からCPU1の
制御により読み出された各種データは、バスライン8を
介してRAM3上に格納される。The keyboard 4 is for the user to input data such as characters, numbers, and symbols, and to give various instructions to the CPU 1. The mouse 5 is used to indicate various types of information displayed on the display unit 6 so that the CPU 1
To give various instructions. A system such as a trackball, a pen, or a touch panel may be used instead of the mouse. The display 6 is composed of an LCD or the like, and has a CPU
Various data are displayed under the control of 1. The external storage device 7 is composed of a medium such as a hard disk or a floppy disk. Various data read from the external storage device 7 under the control of the CPU 1 is stored in the RAM 3 via the bus line 8.
【0018】図3は本実施形態によるデータ処理装置に
おける各処理状態の遷移を示す状態遷移図である。図3
の遷移図には、ユーザ操作による遷移も含まれている。
同図においては、各指示待ち状態(「T」で始まる符号
で示される状態)と、各操作指示(「Q」で始まる符号
で示される矢印)と、各種処理(「P」で始まる符号で
示される状態)とを備えている。FIG. 3 is a state transition diagram showing transition of each processing state in the data processing apparatus according to the present embodiment. FIG.
The transition diagram of FIG. 3 also includes a transition by a user operation.
In the figure, each instruction waiting state (state indicated by a symbol starting with “T”), each operation instruction (arrow indicated by a symbol starting with “Q”), and various processes (characters starting with “P”) are shown. State shown).
【0019】指示待ち状態としては、ユーザからの各種
指示を待つ基本状態T1と、各加工種別の選択画面にお
いて加工種別決定指示を待つスタイル画面T2、額ぶち
画面T3及び影画面T4がある。The instruction waiting state includes a basic state T1 for waiting for various instructions from the user, a style screen T2 for waiting for a processing type determination instruction on a selection screen for each processing type, a frame border screen T3, and a shadow screen T4.
【0020】また、操作指示としては、スタイル変更指
示Q1、スタイル決定指示Q2、額ぶち変更指示Q3、
額ぶち決定指示Q4、影変更指示Q5、影決定指示Q
6、印刷を行なうための印刷指示Q7、保存を行なうた
めの保存指示Q10、画像データが指示されている加工
種別通りに加工されていない状態において画像データの
印刷や保存が指示された場合に、加工処理後の画像デー
タを印刷または保存する旨を指定する指示Q8・Q1
1、画像データが指示されている加工種別通りに加工さ
れていない状態において画像データの印刷や保存が指示
された場合に、加工前の(その時点での)画像データを
印刷または保存する旨を指定する指示Q9・Q12、画
像データを加工させる画像加工指示Q13がある。The operation instructions include a style change instruction Q1, a style determination instruction Q2, a frame change instruction Q3,
Border determination instruction Q4, shadow change instruction Q5, shadow determination instruction Q
6. A print instruction Q7 for performing printing, a save instruction Q10 for performing storage, and an instruction to print or save image data in a state where the image data is not processed according to the specified processing type, Instructions Q8 and Q1 to specify that image data after processing is to be printed or saved
1. When printing or saving of image data is instructed in a state where the image data is not processed according to the designated processing type, the image data before processing (at that time) is printed or stored. There are instructions Q9 and Q12 to specify, and an image processing instruction Q13 for processing image data.
【0021】更に、各種処理としては、加工種別が決定
された直後に簡易表示をその加工種別の通りに表示する
ための表示データを作成する簡易表示処理P1、指示さ
れた加工種別通りに画像データを加工する加工処理P
2、印刷または保存が指示された場合にその画像データ
が指示されている加工種別と同じ加工がなされているか
を判定し、異なる場合は印刷または保存の対象となる画
像データが加工後のものか現在のものかを選択させる印
刷画像判定処理P3及び保存画像判定処理P5、印刷処
理P4、保存処理P6、実際の画像データが指示されて
いる加工種別と同じ加工がなされているか否かを判定
し、加工指示が有効であるか否かを判定する加工可否判
定処理P7とからなる。Further, various processes include a simple display process P1 for generating display data for displaying a simple display according to the processing type immediately after the processing type is determined, and an image data according to the specified processing type. Processing P for processing
2. When printing or saving is instructed, it is determined whether the image data has been processed in the same processing type as that instructed. If not, it is determined whether the image data to be printed or saved is after processing. A print image determination process P3 and a save image determination process P5 for selecting the current image data, a print process P4, a save process P6, and a determination is made as to whether or not the same process as the process type indicated by the actual image data has been performed. , A processing availability determination process P7 for determining whether the processing instruction is valid.
【0022】図4は基本状態T1における画面表示例を
示す図である。図4においてF1は簡易表示領域であ
り、表示用データ2b2を、ユーザによって指示された
加工種別にしたがって処理して得られた簡易表示データ
が表示される。F2は実際の画像データに対して加工指
示を行なう際に選択する加工指示アイコンである。この
加工指示アイコンF2は、実際の画像データが指示され
ている加工種別と異なる加工がなされている場合に選択
可能となる。ここで、「指示されている加工種別と異な
る加工がなされている場合」とは、画像データを呼び出
した直後、または前回実際の画像データに加工処理を行
なった直後から、別の加工種別が指示された状態などを
意味する。このような判断を設けて加工指示アイコンの
選択できる状態と選択不可状態とを制御するのは、画像
データに対して現在加工されているものと同じ加工処理
を行なうことは無意味だからである。また、加工指示ア
イコンF2は、選択できる状態と選択不可状態とで表示
形態を異ならせるなどの方法で、加工指示アイコンF2
を選択できるか否かがユーザに簡単に判別できるように
なっている。FIG. 4 is a diagram showing an example of a screen display in the basic state T1. In FIG. 4, F1 is a simple display area, in which simple display data obtained by processing the display data 2b2 according to the processing type instructed by the user is displayed. F2 is a processing instruction icon selected when a processing instruction is given to actual image data. The processing instruction icon F2 can be selected when processing different from the processing type indicated by the actual image data is performed. Here, "when a process different from the specified process type has been performed" means that immediately after calling the image data or immediately after performing the process on the actual image data last time, another process type is designated. It means the state that was done. The reason why such a determination is provided to control the state in which the processing instruction icon can be selected and the state in which the processing instruction icon can not be selected is that it is meaningless to perform the same processing as that currently performed on the image data. The processing instruction icon F2 may be displayed in a different manner between a selectable state and a non-selectable state.
The user can easily determine whether or not can be selected.
【0023】F3はスタイル、F4は額ぶち、F5は影
であり、現在指示されている加工種別が示されている。
スタイル、額ぶち、影を変更したい場合は、これらの内
の所望の項目をマウス5等によって選択して、夫々に対
応する画面(図5、図6、図8)を表示させ、変更内容
を設定することができる。F3 is a style, F4 is a forehead, and F5 is a shadow, and indicates the currently designated processing type.
If the user wants to change the style, frame, and shadow, he or she selects the desired item with the mouse 5 or the like, displays the corresponding screen (FIGS. 5, 6, and 8) and sets the details of the change. can do.
【0024】画像表示領域F6には、画像データ領域3
a1に格納されている実際の画像データが表示される。
加工指示アイコンF2が選択されて加工処理が行なわれ
るまでは、画像データの呼出直後の画像、または画像デ
ータに対する前回の加工処理直後の画像が表示され、画
像データに加工処理を行なった直後には、その加工処理
が行なわれた画像が表示される。F7〜F10は、それ
ぞれ、呼出、印刷、保存、終了の操作を指示するための
アイコンである。なお、上述のF2、F3、F4、F
5、F7、F8、F9、F10の各操作指示は、キーボ
ード4などから指示出来るようにしてもよい。The image display area F6 includes an image data area 3
The actual image data stored in a1 is displayed.
Until the processing instruction icon F2 is selected and the processing is performed, the image immediately after the calling of the image data or the image immediately after the previous processing on the image data is displayed, and immediately after the processing is performed on the image data. Then, the image on which the processing has been performed is displayed. F7 to F10 are icons for instructing call, print, save, and end operations, respectively. Note that F2, F3, F4, F
The operation instructions of 5, F7, F8, F9, and F10 may be instructed from the keyboard 4 or the like.
【0025】以下、本実施形態のデータ処理装置の処理
の流れを説明する。図12は本実施形態のデータ処理装
置における画像加工処理の手順を説明するフローチャー
トである。Hereinafter, the processing flow of the data processing apparatus of the present embodiment will be described. FIG. 12 is a flowchart illustrating a procedure of an image processing process in the data processing device of the present embodiment.
【0026】まず、画像アプリが起動されると、画像ア
プリプログラム2bがROM2からRAM3にロードさ
れるとともに、図12に示されるような制御を実現する
ための画像加工処理プログラム2b1がROM2からR
AM3にロードされる。ただし、画像加工処理プログラ
ム2b1は、画像アプリから画像加工処理が起動された
時に読み出されるようにすれば、RAM3において無駄
な領域を使わないで済み、効果的である。同様に、表示
用データ2b2も必要に応じて、必要な表示要データが
読み出されるようにする。First, when the image application is started, the image application program 2b is loaded from the ROM 2 into the RAM 3, and the image processing program 2b1 for realizing the control as shown in FIG.
Loaded to AM3. However, if the image processing program 2b1 is read out when the image processing is started from the image application, it is effective to avoid using a useless area in the RAM3. Similarly, the display data 2b2 is set so that necessary display necessary data is read as needed.
【0027】画像の加工に必要となる各種情報や領域
は、RAM3上に確保される。画像を外部記憶装置7な
どから呼び出すために必要となる画像データ領域3a1
や、画像の加工処理で必要となるワーク画像データ領域
3a2、簡易表示を表示するために必要となる表示用領
域3b、指示もしくは実行された加工種別を記憶する加
工種別記憶領域3cなどは、起動時に確保しても良い
が、それぞれが必要となった時点で確保するようにすれ
ば、やはり無駄な領域を使わないですむため、RAM3
の領域を使用する他の処理を行なう際などに効果的であ
る。Various information and areas required for image processing are secured in the RAM 3. Image data area 3a1 necessary for retrieving an image from external storage device 7 or the like
In addition, the work image data area 3a2 required for image processing, the display area 3b required for displaying the simplified display, the processing type storage area 3c for storing the instruction or the type of processing executed are activated. Although they may be secured at the time, they can be secured at the time when they are needed.
This is effective when performing other processing using the area of.
【0028】なお、本実施形態では、表示用ワーク領域
3b1として、表示用の画像サイズの最大5枚分使用す
る(用途は、図10によって後述する)。例えば表示が
16色とすると1画素が4ビットで表現でき、画面上で
の簡易表示が120×90画素とすると、1画面のデー
タ量は(120×90×4ビット/8=5400バイト
を必要とする。なお、このような表示用ワーク領域3b
1や加工種別記憶領域3cも、最大の使用量をアプリ起
動時などに予め確保したり、プログラム内にその領域を
確保しておいてもよい。その他の管理・ワーク領域3f
も、アプリ起動時に予め確保してもよいし、必要となっ
た時に確保するようにしても良い。In the present embodiment, a maximum of five display image sizes are used as the display work area 3b1 (the use will be described later with reference to FIG. 10). For example, if the display is 16 colors, one pixel can be represented by 4 bits, and if the simple display on the screen is 120 × 90 pixels, the data amount of one screen requires (120 × 90 × 4 bits / 8 = 5400 bytes) Note that such a display work area 3b
1 and the processing type storage area 3c may also reserve the maximum usage amount at the time of starting the application or the like, or may reserve the area in the program. Other management / work area 3f
May be reserved in advance when the application is activated, or may be reserved when necessary.
【0029】画像アプリで加工したい画像を呼び出し、
本実施形態における画像加工処理の起動を画像アプリか
ら指示すると、画像データ領域3a1には、呼び出され
た画像データが格納される(ステップS101)。ただ
し、復元用などの目的で呼び出した画像を残しておく場
合には、その他の管理・ワーク領域3f上などにその画
像を複写しておくなどの処理を行なっておく。ここで、
本実施形態における機能全体を1つのアプリケーション
と考えた場合、図3における基本状態で画像の呼出など
も行なうことになる。Call an image to be processed by the image application,
When the image application instructs to start the image processing in the present embodiment, the called image data is stored in the image data area 3a1 (step S101). However, when the image called for the purpose of restoration or the like is to be left, processing such as copying the image on the other management / work area 3f or the like is performed. here,
When the entire function in the present embodiment is considered as one application, an image is called in the basic state in FIG.
【0030】次に、ステップS102において、これか
ら加工処理を行なうために必要となる情報などの初期化
などを行なう初期処理を行なう。本実施形態では、例え
ば加工種別記憶領域3cの各加工種別の状態を「なし
(指示されていない、加工されていない)」に初期化し
たり、加工可否フラグ3c3をクリアしたりする。ま
た、基本状態T1における画面(図4)の簡易表示領域
F1への表示のために、加工種別が何も指定されていな
い画像を表現する表示データを表示用データ2b2から
読み出しておく。そして、ステップS103において、
図4に示したような基本状態T1における画面表示を行
う。Next, in step S102, an initial process for initializing information and the like necessary for performing a processing process is performed. In the present embodiment, for example, the state of each processing type in the processing type storage area 3c is initialized to “none (not instructed, not processed)”, or the processing permission flag 3c3 is cleared. In order to display the screen (FIG. 4) in the simple display area F1 in the basic state T1, display data representing an image for which no processing type is specified is read from the display data 2b2. Then, in step S103,
The screen display in the basic state T1 as shown in FIG. 4 is performed.
【0031】以上のように、加工する画像データが呼び
出され、各種初期化が行なわれた状態から、ステップS
104以降の処理が実行され、図3の状態遷移に従った
制御が実行されることになる。As described above, from the state where the image data to be processed is called and various initializations are performed, step S is executed.
The processes after 104 are executed, and the control according to the state transition of FIG. 3 is executed.
【0032】基本状態T1では、ユーザからの各種指示
を待つ(ステップS104)。ユーザからの指示として
は、画像の加工種別を選択する変更指示(本実施形態で
は画像のフィルタ処理を行なうスタイル変更指示、画像
に額ぶちのような枠を付ける額ぶち変更指示、画像に影
を付ける影変更指示がある)、画像データに対して加工
処理を行なう指示をする画像加工指示、画像を印刷した
り保存したりする印刷指示、保存指示などがある。な
お、選択操作によって終了ボタンF10が選択された場
合は本加工処理を終了する。In the basic state T1, it waits for various instructions from the user (step S104). The instructions from the user include a change instruction for selecting a processing type of the image (in the present embodiment, a style change instruction for performing an image filter process, a frame change instruction for forming a frame such as a frame on the image, a shadow for shading the image) There is a change instruction), an image processing instruction for giving an instruction to perform processing on image data, a print instruction for printing or saving an image, and a save instruction. In addition, when the end button F10 is selected by the selection operation, the main processing is ended.
【0033】一方、画像に対して加工処理を指定する指
示(F3〜F5)が選択された場合は、「スタイル」、
「額ぶち」、「影」のいずれかの変更が指定されている
ので、ステップS106、S109、S112のいずれ
かによって処理が分岐されることになる。On the other hand, when an instruction (F3 to F5) for designating a processing for an image is selected, "style"
Since any change of “frame border” or “shadow” is specified, the process branches by any of steps S106, S109, and S112.
【0034】まず、スタイル変更指示について説明す
る。ここでの「スタイル」とは、例えばカラー画像をセ
ピア色や白黒に加工したり、油絵を模倣した画像に加工
したり、彩度を上げてあざやかに見えるように加工した
りする機能である。基本状態T1から「スタイル変更」
の指示を行なう(図4の画面構成ではF3「スタイル」
を、ポインティングデバイスで指示したり、キーボード
から指示したりすることによる。以下の説明において、
例えばスタイル画面などでスタイル種別を選択したり、
基本状態の画面で印刷や保存などの機能を選択した場合
も同様の操作で行なわれることとする)と、本画像加工
処理プログラムはその指示を解析し、スタイル画面(図
5)を表示し、スタイルの選択待ち状態T2に入る(ス
テップS106、S107)。First, the style change instruction will be described. The “style” here is a function of processing a color image into sepia or black and white, processing into an image imitating an oil painting, or processing to increase the saturation and make the image look vivid. "Change style" from basic state T1
(In the screen configuration of FIG. 4, F3 "style"
By using a pointing device or a keyboard. In the following description,
For example, select a style type on the style screen, etc.
The same operation is performed when a function such as printing or saving is selected on the screen in the basic state). The image processing program analyzes the instruction and displays the style screen (FIG. 5). The process enters a style selection waiting state T2 (steps S106 and S107).
【0035】図5はスタイル画面の画面構成例を示す図
である。スタイル画面には図5の例で示されるように、
予め準備されたフィルタ処理の内容を示す画像(各スタ
イルに対応する画像)をすべて表示する。ただし,フィ
ルタ処理の数が多く1画面に表示しきれいない場合は、
「次画面」「前画面」を表示できる手段を準備すること
により,画面を切り替えて全ての種類を表示することが
できるようにする。なお,この処理は後述の額ぶち画面
(図6)、影画面(図8)においても同様である。これ
らの画像は表示用データ2b2に例えばビットマップデ
ータとしてあらかじめ準備されているものであり、この
画面を表示する指示があった場合に、ROM2から読み
出される。この選択待ち状態でいずれかのスタイル種別
を指定して実行ボタンが指示される(図3;Q2)と、
加工種別記憶領域3c内の指定された加工種別3c2の
スタイル領域3c21に、選択されたスタイルを表すス
タイルIDを格納して当該スタイル画面を消去する(ス
テップS108)。例えば図5のスタイル画面において
「未変更」のスタイルIDが0、「アンティーク」のス
タイルIDが1、「ペン画」のスタイルIDが2などと
定義されているとし、「アンティーク」が選択されたと
すると、指定された加工種別のスタイル両域3c21に
は「1」がセットされる。FIG. 5 is a diagram showing an example of the screen configuration of the style screen. On the style screen, as shown in the example of FIG. 5,
All images (images corresponding to each style) indicating the contents of the filter processing prepared in advance are displayed. However, if the number of filtering processes is too large to be displayed on one screen,
By preparing means for displaying the “next screen” and “previous screen”, the screens can be switched to display all types. Note that this process is the same for a forehead screen (FIG. 6) and a shadow screen (FIG. 8) described later. These images are prepared in advance in the display data 2b2, for example, as bitmap data, and are read from the ROM 2 when an instruction to display this screen is issued. In this selection waiting state, when one of the style types is designated and the execution button is instructed (FIG. 3; Q2),
The style ID representing the selected style is stored in the style area 3c21 of the specified processing type 3c2 in the processing type storage area 3c, and the style screen is erased (step S108). For example, suppose that the style ID of “unchanged” is defined as 0, the style ID of “antique” is defined as 1 and the style ID of “pen drawing” is defined as 2 on the style screen of FIG. 5, and “antique” is selected. Then, “1” is set in the both styles area 3c21 of the designated processing type.
【0036】この状態で処理は簡易表示処理P1へ移行
する(すなわち、ステップS116へ進む)。簡易表示
処理については図13以降のフローチャートを参照して
後述する。In this state, the process shifts to the simple display process P1 (that is, the process proceeds to step S116). The simple display process will be described later with reference to the flowcharts in FIG.
【0037】額ぶち、影についても同様に種別の選択が
行える。すなわち、ステップS104における指示操作
が「額ぶち変更」であった場合、処理はステップS10
9からステップS110へ進み、図6に示される額ぶち
画面を表示する。図6は本実施形態で用意された各額ぶ
ちを選択するための額ぶち画面の表示例を示す図であ
る。本実施形態では5種類の額ぶちが用意されており、
表示用データ2b2はこれら額ぶちのビットマップデー
タを含んでいる。各額ぶちデータは当該額ぶちの内部が
薄いグレーで、額ぶちの外部が濃いグレーで、額ぶちの
枠部分が他の色で構成されている。この色構成は、表示
用データにおける後述の額ぶち合成時に利用される。そ
して、所望の額ぶちが選択され、実行ボタンが指示され
ると指定された額ぶちに対応した額ぶちIDが加工種別
3c2の額ぶち慮域3c22にセットされ、当該額ぶち
画面が消去される(ステップS111)。そして、ステ
ップS116へ進み、再表示処理を行う。なお、以上の
処理手順は、図3の状態遷移図によれば、額ぶち変更指
示Q3によって額ぶち画面T3に状態が遷移し、額ぶち
決定指示Q4によって簡易表示処理P1が実行されるこ
とに相当する。The type can be similarly selected for the frame border and the shadow. That is, if the instruction operation in step S104 is “change border”, the process proceeds to step S10.
The process proceeds from step 9 to step S110, and the frame border screen shown in FIG. 6 is displayed. FIG. 6 is a diagram showing a display example of a border frame screen for selecting each border frame prepared in the present embodiment. In this embodiment, five types of borders are prepared,
The display data 2b2 includes the bitmap data of these borders. In each of the border data, the inside of the border is light gray, the outside of the border is dark gray, and the frame portion of the border is composed of another color. This color configuration is used at the time of frame border synthesis described later in the display data. Then, when the desired border is selected and the execution button is instructed, the border ID corresponding to the designated border is set in the border area 3c22 of the processing type 3c2, and the border screen is erased (step S111). Then, the process proceeds to step S116 to perform a re-display process. According to the state transition diagram of FIG. 3, the above processing procedure corresponds to the state transition to the frame border screen T3 by the frame border change instruction Q3 and the simple display processing P1 being executed by the frame border determination instruction Q4.
【0038】また、ステップS104における選択操作
が「影変更」であった場合、処理はステップS112か
らステップS113へ進み、図8に示される影画面を表
示する。図8は本実施形態で選択可能な影パターンを選
択するための影画面の表示例を示す図である。そして、
所望の影パターンが選択され、実行ボタンが指示される
と、指定された影パターンに対応した影IDが加工種別
3c2の影領域3c23にセットされ、当該影画面が消
去される(ステップS114)。そして、ステップS1
16へ進み、再表示処理を行う。なお、以上の影パター
ンの選択の処理手順は、図3の状態遷移図によれば、影
変更指示Q5によって影画面T4に状態が遷移し、影決
定指示Q6によって簡易表示処理P1が実行されること
に相当する。If the selection operation in step S104 is "shadow change", the process advances from step S112 to step S113 to display the shadow screen shown in FIG. FIG. 8 is a diagram showing a display example of a shadow screen for selecting a shadow pattern that can be selected in the present embodiment. And
When a desired shadow pattern is selected and an execution button is instructed, a shadow ID corresponding to the specified shadow pattern is set in the shadow area 3c23 of the processing type 3c2, and the shadow screen is erased (step S114). Then, step S1
Proceed to 16 to perform a re-display process. According to the above-described procedure for selecting a shadow pattern, according to the state transition diagram of FIG. 3, the state is changed to the shadow screen T4 by the shadow change instruction Q5, and the simple display processing P1 is executed by the shadow determination instruction Q6. It is equivalent to
【0039】ステップS116における簡易表示処理
(図3のP1)では、ステップS108、S111、S
114でセットされたIDを参照して簡易表示領域F1
を更新し、図4の如き基本状態の画面表示状態に戻る。
この結果、スタイル、額ぶち、影について所望の加工を
行った画像が簡易表示領域F1に表示されることにな
る。なお、上記選択操作が上述の加工処理の選択以外で
あった場合はステップS115において他の処理が行な
われることになる。In the simple display process (P1 in FIG. 3) in step S116, steps S108, S111, S111
The simple display area F1 is referred by referring to the ID set in 114.
And returns to the basic screen display state as shown in FIG.
As a result, an image in which the desired processing has been performed on the style, frame, and shadow is displayed in the simplified display area F1. If the selection operation is other than the selection of the processing described above, another processing is performed in step S115.
【0040】次に、簡易表示処理P1について、図13
〜図16のフローチャートを参照して説明する。Next, the simple display processing P1 will be described with reference to FIG.
This will be described with reference to flowcharts in FIGS.
【0041】本実施形態では、加工種別としてスタイ
ル、額ぶち、影の3種類を想定しているので、図13で
示すように、その3種類の加工処理を順に簡易表示処理
を通し、画面上の簡易表示領域F1に表示している。す
なわち、表示用データを用いて、ステップS2において
スタイル簡易表示処理を行い、ステップS3において額
ぶち簡易表示処理を行い、ステップS4において影簡易
表示処理を行う。そして、ステップS5において、得ら
れた加工処理後の表示用データを用いて表示処理を行
う。In the present embodiment, three types of processing are assumed as processing types: style, frame border, and shadow. Therefore, as shown in FIG. It is displayed in the simple display area F1. That is, using the display data, a simple style display process is performed in step S2, a simple border display process is performed in step S3, and a simple shadow display process is performed in step S4. Then, in step S5, display processing is performed using the obtained display data after the processing.
【0042】なお、上記の簡易表示処理P1における簡
易表示の順番は、実際の画像データに対する加工処理P
2と一致している。例えば、スタイル加工によってアン
ティーク風に加工された画像に、額ぶちを合成し、それ
に影を付けるという順番となる。従って、この場合、額
ぶちはアンティーク風に加工はされない。The order of the simple display in the simple display processing P1 is the same as that of the processing P for the actual image data.
Matches 2. For example, a frame is combined with an image processed in an antique style by style processing, and a shadow is added to the frame. Therefore, in this case, the forehead is not processed in an antique style.
【0043】以上の説明で分かる通り、例えばスタイル
の種別が決定されたからといってスタイルに関する簡易
表示のみを行なうわけではなく、いずれの種別が決定さ
れた場合にも、ステップS116(図13の簡易表示処
理)が実行されることになり、指定されているスタイ
ル、額ぶち、影のすべてについて簡易表示処理が行なわ
なければならない。ただしその処理の中では、もちろん
場合によっては不必要な、実行されない処理も含まれて
いる。なお、図10は表示用ワーク領域3b1の使用方
法を説明する図であり、以下の各加工処理に対応した簡
易表示処理の説明において参照する。As can be seen from the above description, for example, simply determining the style type does not mean that only a simple display relating to the style is performed, but if any type is determined, step S116 (see FIG. 13). Display processing), and simple display processing must be performed for all of the specified style, frame, and shadow. However, the processing includes, of course, unnecessary processing that is not performed in some cases. FIG. 10 is a diagram for explaining how to use the display work area 3b1, and will be referred to in the following description of the simple display processing corresponding to each processing.
【0044】さて、本実施形態の簡易表示処理では、図
13に示されるように、最初にスタイルの簡易表示処理
(ステップS7)を行なう。図14はスタイル簡易表示
の手順を説明するフローチャートである。まず、ステッ
プS8で、指定された加工種別のスタイル種別を示すス
タイルIDを、指定された加工種別のスタイル領域3c
21から取得する。次にステップS9では、ステップS
8で取得したスタイルIDに対応する表示データを、表
示用データ2b2から読み出し、表示用スタイルデータ
として表示用ワーク領域3b1のワーク1領域(図1
0)に複写する。ただし2b2の表示用データが圧縮さ
れているような場合には、ここで伸長しながら表示用の
領域に書き込むことになる。なお、以下の説明におい
て、表示用データ2b2の中から選択された表示データ
を読み出して表示用ワーク領域に複写する処理では、こ
のステップS9と同様の処理が行われることになる。In the simplified display processing of the present embodiment, as shown in FIG. 13, the simplified display processing of the style is first performed (step S7). FIG. 14 is a flowchart illustrating the procedure of the simple style display. First, in step S8, the style ID indicating the style type of the specified processing type is assigned to the style area 3c of the specified processing type.
21. Next, in step S9, step S
The display data corresponding to the style ID acquired in step 8 is read out from the display data 2b2, and the work 1 area of the display work area 3b1 (FIG. 1) is displayed as display style data.
Copy to 0). However, when the display data 2b2 is compressed, it is written in the display area while being expanded here. In the following description, in the process of reading out the display data selected from the display data 2b2 and copying it to the display work area, the same process as that in step S9 is performed.
【0045】次に、ステップS10では、ステップS9
で読み込んだワーク1領域の表示用スタイルデータを、
画面に実際に表示するための表示用の領域に複写する。
後述する額ぶち簡易表示処理、影簡易表示処理におい
て、額ぶち、影に「なし」が指定されている場合には、
それぞれの簡易表示処理は何もせずに終了するので、こ
のステップS10においてあらかじめ表示用データを作
成しておく。なお、ステップS10による表示用領域へ
の表示データの複写を省略し、額ぶち、影の簡易表示処
理において、額ぶち、影それぞれが「なし」の場合には
直前の簡易表示処理で作成された表示データをこの表示
用データに複写するようにしてもよい。Next, in step S10, step S9
The display style data of the work 1 area read in
Copies to a display area for actual display on the screen.
In the frame border simple display process and shadow simple display process described below, when “none” is specified for the frame border and shadow,
Since each simple display process ends without doing anything, display data is created in advance in step S10. It should be noted that the copying of the display data to the display area in step S10 is omitted, and in the simple display processing of the border and shadow, if the border and the shadow are each “none”, the display data created in the previous simple display processing is used. May be copied to this display data.
【0046】以上のスタイル簡易表示処理を終了する
と、ステップS3へ進み、額ぶちの簡易表示処理を行な
う。図15は額ぶち簡易表示処理の手順を示すフローチ
ャートである。ここで、上述のスタイル簡易表示処理
(ステップS2)により、表示用領域3b内のワーク1
には、既に指定されたスタイルの表示データが格納され
ている。額ぶち簡易表示処理では、まず指定された加工
種別の額ぶちの種別を示す額ぶちIDを額ぶち領域3c
22から取得する(ステップS13)。ステップS14
では、ステップS13で取得した額ぶちIDが「なし」
を示すか否かを判定し、額ぶちが「なし」であった場合
はここでは処理を行なわずに本処理を終了する(ステッ
プS17)。ただし上述のように、額ぶちが「なし」の
場合に、額ぶち処理内で表示用データを作成する場合に
は、直前の簡易表示処理で作成された表示データを表示
用ワーク領域の表示用データに複写する。When the above-described simple style display processing is completed, the process proceeds to step S3, and the simple display processing of the border is performed. FIG. 15 is a flowchart showing the procedure of the border simple display process. Here, the work 1 in the display area 3b is performed by the above-described simple style display processing (step S2).
Stores display data of a specified style. In the border simple display process, first, a border ID indicating the border type of the designated processing type is set to the border area 3c.
22 (step S13). Step S14
Then, the border ID acquired in step S13 is "none"
Is determined, and if the border is “none”, the process is terminated here without performing the process (step S17). However, as described above, when the border is “none” and the display data is created in the border processing, the display data created in the previous simple display processing is used as the display data in the display work area. Copy.
【0047】ステップS14において、額ぶちIDが
「なし」以外を示す場合は、ステップS15に進む。ス
テップS15では、ステップS13で取得した額ぶちI
Dに対応する額ぶちの表示データ(表示用額ぶちデー
タ)を表示用データ2b2の中から読み出し、表示用ワ
ーク領域3b1のワーク2領域に複写する(図10)。
次にステップS16では、上述のステップS9でワーク
1領域に格納された表示用スタイルデータと、ワーク2
領域に格納された表示用額ぶちデータを参照し、以下の
規則に従って表示用ワーク領域3b1の表示用領域に画
素値を描き込んでいく。なお、本実施形態において、額
ぶちデータは、額ぶち内部は薄いグレーで、額ぶちの外
側は濃いグレーで、額ぶちそのものはそれら以外の色で
構成されているものとして説明する。If it is determined in step S14 that the border ID is other than "none", the process proceeds to step S15. In step S15, the frame I obtained in step S13
The display data of the border corresponding to D (display border data) is read from the display data 2b2, and is copied to the work 2 area of the display work area 3b1 (FIG. 10).
Next, in step S16, the display style data stored in the work 1 area in step S9 and the work 2
Referring to the display border data stored in the area, pixel values are drawn in the display area of the display work area 3b1 according to the following rules. In the present embodiment, the border data will be described assuming that the inside of the border is light gray, the outside of the border is dark gray, and the border itself is composed of other colors.
【0048】まず、ワーク2領域の表示用額ぶちデータ
の注目する画素の値を1画素ずつ参照し、それが濃グレ
ーに相当する値ならば、表示用領域の対応する画素に白
に相当する値を描き込む。これは、額ぶちの外側の背景
に当たる部分である。また、ワーク2領域の表示用額ぶ
ちデータの注目する画素の値が薄いグレーならば、ワー
ク1領域に展開された表示用スタイルデータの対応する
画素の値を、表示用領域の対応する画素に描き込む。こ
れは額ぶち内における部分である。また、ワーク2の表
示用額ぶちデータの注目する画素の値が濃グレー、薄グ
レー以外の色に当たる値であれば、それは額ぶちのデー
タの部分であると解釈し、表示用額ぶちデータの当該画
素の値を表示用領域の対応する画素に描き込む。以上の
処理を、表示用額ぶちデータにおけるすべての画素に対
して行なう。First, the value of the pixel of interest in the display border data in the work 2 area is referred to one pixel at a time, and if it is a value corresponding to dark gray, a value corresponding to white is assigned to the corresponding pixel in the display area. Draw. This is the portion corresponding to the background outside the forehead. If the value of the pixel of interest in the display border data in the work 2 area is light gray, the value of the corresponding pixel in the display style data developed in the work 1 area is drawn on the corresponding pixel in the display area. Put in. This is the portion within the border. Further, if the value of the pixel of interest in the display border data of the work 2 is a value corresponding to a color other than dark gray and light gray, it is interpreted as a part of the border data, and the corresponding pixel of the display border data is displayed. The value is drawn on the corresponding pixel in the display area. The above processing is performed for all pixels in the display border data.
【0049】ここで、濃グレーを額ぶちの外側に当たる
部分、薄グレーを額ぶちの内側すなわち画像がはめ込ま
れる部分と仮定して説明したが、その色の割り当てはも
ちろんそれ以外の組み合わせでも良く、その色の割り当
てにしたがって、表示用額ぶちデータを作成しておく。Here, the description has been made on the assumption that the dark gray is the portion outside the frame and the light gray is the inside of the frame, that is, the portion into which the image is fitted. In accordance with the assignment, the display frame data is created.
【0050】ワーク2領域に展開された表示用額ぶちデ
ータのすべての画素について以上の処理が終了すると、
表示用ワーク領域の表示用領域には、スタイルと額ぶち
が合成された表示用データが作成されることになる。When the above processing is completed for all the pixels of the display border data expanded in the work 2 area,
In the display area of the display work area, display data in which the style and the border are combined is created.
【0051】図7は額ぶちの合成加工例を示す図であ
る。図7の(b)に示されるように、濃いグレーの部分
が白になり、薄いグレーの部分には元画像が形成され、
それ以外の部分には額ぶちが形成される。FIG. 7 is a diagram showing an example of the processing for synthesizing the border. As shown in FIG. 7B, the dark gray portion turns white, and the light gray portion forms the original image.
Borders are formed in other portions.
【0052】以上のようにして額ぶちの簡易表示が終了
すると、影の簡易表示処理を行なう。図16は影簡易表
示処理の手順を示すフローチャートである。ただし本実
施形態の説明では、分かりやすくするために額ぶちを合
成してから影の加工を行なっている。しかしながら、後
述する影の簡易表示処理の説明の中でも明らかになる通
り、影が付く場合にはステップS12〜S17の額ぶち
の簡易表示処理で無駄となる処理も含まれている。従っ
て、上述の額ぶちの処理内で影が付くか否かを判定し、
適当な処理を省くことにより、無駄な処理を行なわない
ようにすることも可能である。When the simple display of the border is completed as described above, the simple display processing of the shadow is performed. FIG. 16 is a flowchart showing the procedure of the simple shadow display process. However, in the description of the present embodiment, for the sake of simplicity, the frame processing is performed after the borders are combined. However, as will be apparent in the description of the simple shadow display process described later, when a shadow is added, a process that is wasted in the simple display process of the border in steps S12 to S17 is included. Therefore, it is determined whether or not a shadow is cast in the above-described processing of the border,
By omitting appropriate processing, it is also possible to prevent unnecessary processing from being performed.
【0053】また同様にスタイルの簡易表示処理内でも
適当な処理によって全体としての無駄を省くこともでき
る。例えば影が付く場合には、ステップS9でスタイル
の表示用データを読み出す場合に、影の幅を除いた大き
さに縮小して読み出したり、後述する影の簡易表示処理
で説明するように影の幅を除いた中心部分のスタイルの
データを読み出したりして、簡易表示処理の先頭から影
の幅を除いた部分に対して指定されたスタイルの簡易表
示処理を行なう。この場合、額ぶちの簡易表示処理内で
も、額ぶちの表示用データを影の幅を除いた大きさに縮
小して読み出したりして処理を行なう。Similarly, wasteful processing as a whole can be eliminated by appropriate processing in the simple style display processing. For example, when a shadow is added, when reading out the style display data in step S9, the size is reduced to the size excluding the width of the shadow and read out, or as described in a simple shadow display process described later. The style data of the central portion excluding the width is read out, and the simplified display process of the designated style is performed on the portion excluding the width of the shadow from the head of the simplified display process. In this case, even in the simple border display processing, the border display data is reduced to a size excluding the width of the shadow and read out.
【0054】また影が付く場合には、スタイル簡易表
示、額ぶち簡易表示で最後に作成された表示用領域内の
データは参照しないため、その領域に対して描き込む処
理を行なわなくても良いことになる。或いは、影が付く
場合においては、スタイル・額ぶちの簡易表示処理を前
述の通りに行なった後で、影の加工処理内で、スタイル
・額ぶちが合成された簡易表示データ(表示用領域内の
データ)を縮小すれば、スタイル、額ぶちの表示用デー
タを個別に縮小しながら呼び出す処理を省略することも
出来る。When a shadow is cast, the data in the display area created last in the simple style display and the simple border display is not referred to, so that it is not necessary to perform the processing for drawing in the area. become. Alternatively, in the case where a shadow is added, after the simplified display processing of the style and the border is performed as described above, the simplified display data (the data in the display area) in which the style and the border are combined in the shadow processing is processed. If) is reduced, it is also possible to omit the calling process while individually reducing the style and border display data.
【0055】影の簡易表示処理では、まずステップS1
9において、指定された加工種別3c2の影領域3c2
3から設定された影IDを取得する。ステップS20で
は、ステップS19で取得した影IDから、影が付くか
否かを判定する。影IDが「なし」を示すものである場
合には、処理を行なわず、本処理を終了する(ステップ
S26)。この場合、表示用ワーク領域の中の表示用の
領域には、これまでの処理で作成されているスタイル・
額ぶちの簡易表示が出来上がっており、この状態が表示
されることになる。もちろん、スタイルの簡易表示処理
の最後でも述べたように、影が「なし」の場合に影処理
内で表示用データを作成する場合には、その処理を行な
う。In the simplified shadow display process, first, in step S1
9, the shadow area 3c2 of the designated processing type 3c2
3 to obtain the set shadow ID. In step S20, it is determined from the shadow ID acquired in step S19 whether or not a shadow is to be formed. If the shadow ID indicates "none", the process is terminated without performing the process (step S26). In this case, the display area in the display work area contains the styles and
The simple display of the frame is completed, and this state is displayed. Of course, as described at the end of the simple style display processing, when the display data is created in the shadow processing when the shadow is “none”, the processing is performed.
【0056】ステップS20で影IDが「なし」以外で
あると判定された場合には、ステップS21に進む。ス
テップS21では、ワーク1領域に展開された表示用ス
タイルデータのうち、影の幅分だけ外側を除いた中心部
分を、ワーク3領域に複写する(図10参照)。この
時、スタイルの表示用データを変倍して、影の幅分を除
いた大きさに縮小しても良いが、表示器や表示方法の仕
様、表示色やハッチングパターンによっては縮小するこ
とにより表示データが崩れる場合もあるので、本実施形
態では縮小せずに中心部分を切り出している。If it is determined in step S20 that the shadow ID is other than "none", the flow advances to step S21. In step S21, of the display style data developed in the work 1 area, the central portion excluding the outside by the width of the shadow is copied to the work 3 area (see FIG. 10). At this time, the display data of the style may be scaled down and reduced to the size excluding the width of the shadow, but may be reduced depending on the specifications of the display and display method, display color and hatching pattern. In this embodiment, the central part is cut out without being reduced because the display data may be corrupted.
【0057】次に、ステップS22で、ワーク4領域を
影の色として割り当てている濃グレーに当たる値で塗り
つぶす。これは、後述するステップS24の処理で、ワ
ーク4領域に表示用額ぶちデータを書き込んだ場合に、
額ぶちの内側と外側の影が付く部分との判別を行なうこ
とができるようにするためである。Next, in step S22, the work 4 area is painted with a value corresponding to dark gray assigned as a shadow color. This is because the display frame data is written in the work 4 area in the processing of step S24 described later.
This is so that it is possible to distinguish between the inside of the forehead and the portion with the outside shadow.
【0058】ステップS23では、ワーク2領域に展開
されている表示用額ぶちデータを、影の幅を除いた大き
さに縮小しながらワーク4領域に上書きする。その位置
は、縮小された表示用額ぶちデータの全体が収まる位置
であれば、ワーク4領域の左上、中央など、任意の位置
で良い。ただし縮小された表示用額ぶちデータを上書き
した、ワーク4領域上での位置は、プログラムで固定し
て持つか、その他の管理・ワーク領域3fなどに格納す
るなどして把握しておかなければならない。本実施形態
の図10では、ワーク4領域の左上の位置に上書きする
場合を示している。この場合の縮小された額ぶちの左上
座標がワーク4領域に重なる座標を、基準座標とする。
図10のワーク4領域の例では、(0、0)が基準座標
となる(前述の、ワーク3領域上のスタイルのデータで
も同様に考える。)。In step S23, the display border data developed in the work 2 area is overwritten on the work 4 area while reducing the size of the display border data to a size excluding the width of the shadow. The position may be any position, such as the upper left or center of the work 4 area, as long as the reduced display frame data fits in its entirety. However, the position in the work 4 area where the reduced display frame data has been overwritten must be fixed by a program or stored in another management / work area 3f. . FIG. 10 of the present embodiment shows a case in which the position is overwritten on the upper left position of the work 4 area. In this case, the coordinates where the upper left coordinates of the reduced forehead overlap the work 4 area are set as reference coordinates.
In the example of the work 4 area in FIG. 10, (0, 0) is the reference coordinate (the same applies to the above-described style data on the work 3 area).
【0059】ここで、額ぶちが「なし」の場合の額ぶち
の表示用データについて説明すると、額ぶちがないとい
うことはすなわち画像全体が透明の額ぶちに覆われてい
るというのと同じことなので、額ぶちが「なし」の場合
の額ぶちの表示用額ぶちデータは、全体が薄グレーを表
す値で構成されているものとする(すなわちワーク2領
域の全体が薄いグレーとなる)。このように考えると、
額ぶちとは画像データの上下左右4辺をすべて囲むもの
だけではなく、矩形の画像データの一部分に、小さなモ
チーフを置いたようなものも額ぶちとして考えることが
できる。この場合の額ぶちの表示用データは、全体が薄
グレーの矩形であるが、その内部の一部分がモチーフの
データで構成されているものとなり、額ぶちの種類の幅
が広がる。Here, the display data of the border when the border is "none" will be described. Since there is no border, it is the same as that the whole image is covered with the transparent border, the border is displayed. It is assumed that the display border data for the border in the case of “none” is constituted entirely by values representing light gray (that is, the entire work 2 area is light gray). Thinking like this,
The border can be considered as not only a frame surrounding all four sides of the image data but also a small motif placed in a part of the rectangular image data. In this case, the border display data is a light gray rectangle as a whole, but a part of the inside of the rectangle is composed of motif data, and the range of border types is widened.
【0060】次にステップS24では、まず、表示用ワ
ーク領域3b1の表示用領域の全体を背景を表す白に当
たる値で塗りつぶす。次に、表示用領域上の、ステップ
S19で取得した影IDによって判定される影の位置
(例えば画面の右下、左上など)に、ワーク4領域の濃
グレー以外の色の値を持つ部分に対応する影を描画す
る。これは、ワーク4領域の濃グレー以外の色の値を持
つ画素に対応する表示用領域上の画素を濃グレーに相当
する値で上書きすることで行う。具体的には、ワーク4
領域のすべての画素に対して、1画素ずつ参照し、その
注目している画素の値が濃グレーであれば何もせずに次
の画素の処理にいき、濃グレー以外の値であれば、表示
用領域の対応する画素に、濃グレーに当たる色の値を上
書きする。なお、表示用領域の対応する画素は、影の位
置によって異なるものとなる。ここで行なっている処理
は、表示用の領域に、影を作成するためのものである。
ワーク4において濃グレー以外の色の値を持つ部分が、
額ぶちを合成したその内側の部分であるので、それと同
じ形、大きさの影を、このようにして作成することがで
きるのである。Next, in step S24, the entire display area of the display work area 3b1 is painted out with a value corresponding to white representing the background. Next, at the position of the shadow determined by the shadow ID acquired in step S19 on the display area (for example, the lower right or upper left of the screen), a portion having a value of a color other than dark gray in the work 4 area is set. Draw the corresponding shadow. This is performed by overwriting pixels in the display area corresponding to pixels having a color value other than dark gray in the work 4 area with a value corresponding to dark gray. Specifically, work 4
For all pixels in the area, one pixel is referred to, and if the value of the pixel of interest is dark gray, the process proceeds to the next pixel without doing anything. The corresponding pixel in the display area is overwritten with the value of the color corresponding to dark gray. Note that the corresponding pixel in the display area differs depending on the position of the shadow. The processing performed here is for creating a shadow in the display area.
The part having a color value other than dark gray in Work 4 is
Since it is the inner part where the border is synthesized, a shadow having the same shape and size can be created in this way.
【0061】ステップS24で表示用領域に影の部分が
完成すると、次にステップS25において、額ぶちを合
成した合成画像の部分を表示用の領域に上書きする。表
示用の領域において影の位置と対角をなす位置(例えば
影が右下の場合は左上)に合成画像を重ねるものと考
え、ワーク4領域上の合成する画像の基準座標が、表示
用領域ではどの座標に重なるのかを算出する。そして、
以下でワーク4、ワーク3の画素を表示用の領域に上書
きする場合に、その値に応じて、必要に応じて画素をず
らして描き込む処理を行なう。When the shadow portion is completed in the display area in step S24, then in step S25, the display area is overwritten with the synthesized image portion obtained by synthesizing the border. It is assumed that the synthesized image is superimposed on a position diagonal to the position of the shadow in the display area (for example, upper left when the shadow is at the lower right), and the reference coordinates of the image to be synthesized on the work 4 area are the display area. Then, which coordinate is calculated is calculated. And
In the following, when the pixels of the work 4 and the work 3 are overwritten on the display area, a process of drawing the pixels by shifting the pixels as necessary according to the value is performed.
【0062】例えば図9の例のように、影の位置が右下
の場合、表示用の領域における合成画像の位置は左上に
なるので、表示用の領域に合成画像を上書きする場合に
は基準座標が(0、0)の場合には座標をずらさずに同
じ座標の画素に対して以下の処理を行なえば良い。ま
た、例えば影が左上であり、影の幅が縦方向、横方向共
に6画素であった場合、基準座標が(0、0)である合
成画像を表示用の領域に上書きする場合には、合成画像
の(x、y)の座標に対応する表示用の領域上の座標は
(x+6、y+6)であるので、その座標の画素に対し
て処理を行なうことになる。この方法は、ステップS2
4で表示用の領域に影を作成する場合でも同様である。For example, as shown in FIG. 9, when the position of the shadow is at the lower right, the position of the composite image in the display area is at the upper left. When the coordinates are (0, 0), the following processing may be performed on the pixels of the same coordinates without shifting the coordinates. Further, for example, when the shadow is at the upper left and the width of the shadow is 6 pixels in both the vertical and horizontal directions, when the composite image whose reference coordinates are (0, 0) is overwritten on the display area, Since the coordinates on the display area corresponding to the coordinates (x, y) of the composite image are (x + 6, y + 6), the processing is performed on the pixel at the coordinates. The method includes step S2
The same applies to the case where a shadow is created in the display area in step 4.
【0063】さてステップS25で、合成画像を表示用
領域に上書きするのであるが、ステップS24で行なっ
たのと同様に、ワーク4領域に作成された表示用縮小額
ぶちデータの全画素に対して、以下の処理を行なう。す
なわち、ワーク4領域で注目している画素が薄グレーで
あれば、その画素には表示用縮小額ぶちデータ以外の表
示用縮小スタイルデータが貼り込まれることになる。従
って、ワーク3領域上の、注目している座標に対応する
座標の画素の値を、表示用領域の対応する画素に上書き
する。また、ワーク4領域で注目している画素が濃グレ
ーであれば、合成画像の外側にあたる部分であるので何
もせずに次の画素の処理へ移る。また、ワーク4領域で
注目している画素がそれら以外の色の値を持っていれ
ば、それは額ぶち部分の画素であるので、その値を表示
用領域の対応する画素に上書きする。In step S25, the composite image is overwritten on the display area. As in step S24, all the pixels in the reduced display frame data created in the work 4 area are processed. The following processing is performed. In other words, if the pixel of interest in the work 4 area is light gray, reduced display style data other than display reduced border data is pasted into that pixel. Accordingly, the value of the pixel at the coordinate corresponding to the coordinate of interest on the work 3 area is overwritten on the pixel corresponding to the display area. If the pixel of interest in the work 4 area is dark gray, the process goes to the processing of the next pixel without doing anything because it is the portion outside the composite image. Further, if the pixel of interest in the work 4 area has a value of a color other than these, it is a pixel in the frame border portion, and that value is overwritten on the corresponding pixel in the display area.
【0064】以上のようにしてワーク4領域上のすべて
の画素について処理を行なうと、表示用領域には影まで
合成された表示用データが作成される。図9は額ぶち、
影の合成を説明する図である。図9の(b)に示される
ように、元の画像(スタイル設定された画像)に額ぶち
と影(本例では右下に影を合成)が合成される。When the processing is performed for all the pixels on the work 4 area as described above, display data in which the shadow is combined is created in the display area. FIG. 9 shows the frame,
It is a figure explaining composition of a shadow. As shown in FIG. 9B, a border and a shadow (in this example, a shadow is synthesized at the lower right) are synthesized with the original image (the style-set image).
【0065】以上のようにして、所望の加工処理を指定
することにより、簡易表示処理が実行され、ユーザは設
定した加工処理がどのようなものかを容易に確認するこ
とができる。As described above, by specifying the desired processing, the simple display processing is executed, and the user can easily confirm what kind of processing is set.
【0066】加工処理の指定を終えると、実際に画像デ
ータに対して加工を実行させたり、画像データの保存、
印刷等を行ったりすることになる。これらの処理は、上
述の図12のステップS115において示される処理で
あるが、以下では、これらのうちの加工処理P2、保存
処理(保存画像判定処理P5、保存処理P6)について
説明する。When the designation of the processing is completed, the processing is actually executed on the image data,
Or printing. These processes are the processes shown in step S115 in FIG. 12 described above, and the processing process P2 and the storage process (the storage image determination process P5 and the storage process P6) will be described below.
【0067】加工処理P2や保存画像判定処理P5にお
いては、加工可否フラグ3c3の状態によって各種処理
の実行可否を判断することになる。従って、まず、加工
可否判定処理P7について、図17のフローチャートを
用いて説明する。図17は本実施形態の加工可否判定処
理の手順を説明するフローチャートである。In the processing P2 and the stored image determination processing P5, it is determined whether or not various processing can be executed based on the state of the processing permission flag 3c3. Therefore, first, the processing availability determination processing P7 will be described with reference to the flowchart in FIG. FIG. 17 is a flowchart illustrating the procedure of the processing availability determination processing according to the present embodiment.
【0068】加工可否判定とは、前述の通り、指示され
ている加工種別と同じ加工が実際の画像データに対して
なされている。すなわち加工済み加工種別3c1のID
と指定加工種別3c2のIDとが一致していれば、その
画像データに対して同じ加工処理を行なうことは無意味
であるので、加工できないとみなすものである。逆に、
実際の画像データが指示されている加工種別の通りに加
工されていない場合は、その画像データに対して指示さ
れている加工種別通りに加工処理を行なうような指示を
選択できる手段を提供しなければならないので、加工可
とみなす。As described above, the determination as to whether or not processing is possible is that the same processing as the specified processing type has been performed on the actual image data. That is, the ID of the processed processing type 3c1
If the ID of the designated processing type 3c2 matches, it is meaningless to perform the same processing on the image data, so that it is regarded that the image data cannot be processed. vice versa,
If the actual image data is not processed according to the specified processing type, a means for selecting an instruction to perform the processing according to the processing type specified for the image data must be provided. Since it must be processed, it is regarded as workable.
【0069】この加工可否判定は、加工種別が決定され
たり(すなわちQ2、Q4、Q6の決定指示とP1の簡
易表示処理の直後)、画像データが指示されている加工
種別にしたがって加工されたり、新規の画像データが呼
び出されるなどして画像データ領域が他の画像に置き換
わったりした場合(この場合、画像データも指示されて
いる加工種別も、すべて「未加工」あるいは「なし」な
どの状態になる)などのタイミングで実行される。This processing availability determination may be made by determining the processing type (that is, immediately after the instruction to determine Q2, Q4, Q6 and the simple display processing of P1), processing the image data according to the specified processing type, When the image data area is replaced with another image, for example, when new image data is called (in this case, the image data and the specified processing type are all set to “unprocessed” or “none”. ).
【0070】加工可否判定処理が起動されると、まず、
ステップS35とS36において、編集画像の加工済加
工種別3c1に登録された各IDと指定されている加工
種別3c2に登録された各IDを取得する。もちろんこ
の順番は逆であっても良い。また、加工済加工種別3c
1の各IDは、後述する加工処理において設定されるも
のであり、実際に画像データに対して加工処理を施した
直後に設定されるものである。次に、ステップS37
で、編集画像の加工済加工種別と指定されている加工種
別の、スタイルID・額ぶちID・影IDをそれぞれ比
較し、少なくともどれか1つでも一致していなければ、
ステップS39で加工可能にするための処理を行なう。
ステップS39では、加工可否フラグ3c3が加工不可
状態であればそれを「加工可能」にセットする。また基
本画面における加工アイコンF2を選択可能状態にす
る。ただし加工アイコンF2を選択可能状態にしたり後
述するように選択不可状態にしたりする処理は、加工可
否判定が終了してから基本状態側で行なっても良い。When the processing availability determination process is started, first,
In steps S35 and S36, each ID registered in the processed type 3c1 of the edited image and each ID registered in the specified type 3c2 are acquired. Of course, this order may be reversed. In addition, processed machining type 3c
Each of the IDs 1 is set in a processing process to be described later, and is set immediately after the image data is actually processed. Next, step S37
Then, the style ID, the border ID, and the shadow ID of the edited processing type and the specified processing type are compared, and if at least any one of them does not match,
In step S39, processing for enabling processing is performed.
In step S39, if the processing possibility flag 3c3 is in the processing impossible state, it is set to "processing possible". Further, the processing icon F2 on the basic screen is made selectable. However, the process of setting the processing icon F2 to a selectable state or setting the processing icon F2 to a non-selectable state as described later may be performed in the basic state after the processing feasibility determination is completed.
【0071】ステップS37の判定処理で、編集画像の
加工済加工種別と指定されている加工種別の、スタイル
・額ぶち・影をそれぞれ比較し、すべての加工種別が一
致していればステップS38に進み、加工可否フラグが
加工可能状態であればそれを「加工不可」にセットす
る。また基本画面における加工アイコンF2を選択不可
状態にする。In the determination processing in step S37, the style, frame border, and shadow of the processed processing type of the edited image and the specified processing type are compared, and if all the processing types match, the process proceeds to step S38. If the processing enable / disable flag is in the processing enable state, it is set to "processing impossible". Further, the processing icon F2 on the basic screen is set to a non-selectable state.
【0072】このようにして、実際の画像データに対す
る加工処理の指示が有効であるか否かを判定することが
できる。そして、加工処理の指示が有効である場合に限
って、加工指示Q13を選択して画像の加工処理を指示
することができる。In this way, it is possible to determine whether or not the instruction of the processing for the actual image data is valid. Only when the processing instruction is valid, the processing instruction Q13 can be selected to instruct the image processing.
【0073】図18は本実施形態による加工処理の手順
を説明する図である。画像加工指示Q13(図4の加工
F2の指示)によって図18の加工処理が起動される
が、この加工処理の起動は、加工可否フラグ3c3が加
工可を示す場合に限られる。FIG. 18 is a diagram for explaining the procedure of the processing according to the present embodiment. The image processing instruction Q13 (the instruction of the processing F2 in FIG. 4) starts the processing in FIG. 18, but the processing is started only when the processing permission flag 3c3 indicates that processing is possible.
【0074】加工処理が起動されるとまず、ステップS
51において加工種別3c2のスタイル領域3c21に
設定されているスタイルIDで示されるスタイル加工が
画像データ領域3a1の画像データに対して行われる、
そして、ステップS52において加工済加工種別3c1
のスタイル領域3c11にステップS51で行った加工
内容に対応するスタイルIDが登録される。この時点
で、スタイル領域3c11と3c21のスタイルIDが
一致する。When the processing is started, first, in step S
At 51, the style processing indicated by the style ID set in the style area 3c21 of the processing type 3c2 is performed on the image data of the image data area 3a1.
Then, in step S52, the processed machining type 3c1
The style ID corresponding to the processing performed in step S51 is registered in the style area 3c11. At this point, the style IDs of the style areas 3c11 and 3c21 match.
【0075】次に、ステップS53において、加工種別
3c2の額ぶち領域3c22に設定されている額ぶちI
Dで示される額ぶち加工が画像データ領域3a1の画像
データに対して行われる、そして、ステップS54にお
いて加工済加工種別3c1額ぶち領域3c12にステッ
プS53で行った加工内容に対応する額ぶちIDが登録
される。この時点で、額ぶち領域3c12と3c22の
額ぶちIDが一致する。Next, in step S53, the border I set in the border area 3c22 of the processing type 3c2 is set.
The border processing indicated by D is performed on the image data in the image data area 3a1, and the border ID corresponding to the processing content performed in step S53 is registered in the processed processing type 3c1 border area 3c12 in step S54. . At this point, the border IDs of the border regions 3c12 and 3c22 match.
【0076】更に、ステップS55において加工種別3
c2の影領域3c23に設定されている影IDで示され
る影加工が画像データ領域3a1の画像データに対して
行われる、そして、ステップS56において加工済加工
種別3c1の影領域3c13にステップS55で行った
加工内容に対応する影IDが登録される。この時点で、
影領域3c13と3c23の影IDが一致する。最後に
ステップS58にて、加工された画像データを画像表示
領域F6に表示する。Further, in step S55, processing type 3
Shadow processing indicated by the shadow ID set in the shadow area 3c23 of c2 is performed on the image data of the image data area 3a1, and in step S56, the shadow processing is performed on the shadow area 3c13 of the processed processing type 3c1 in step S55. The shadow ID corresponding to the processed content is registered. at this point,
The shadow IDs of the shadow areas 3c13 and 3c23 match. Finally, in step S58, the processed image data is displayed in the image display area F6.
【0077】なお、上記処理手順において、スタイル、
額ぶち、影の処理順序は、簡易表示処理と同じ順序とな
っている。また、スタイル加工は、所定のアルゴリズム
に従って画像データを加工することになる。ここで、実
際の画像に対する加工処理の例として、「アンティー
ク」加工について、図19のフローチャートで説明す
る。図19は、本実施形態によるスタイル加工の一つで
あるアンティーク加工の処理手順を示すフローチャート
である。この加工は、フルカラー画像データを、古い写
真のように、全体的にセピア調にしながら、原画像の色
合いは残すという加工を行なうものである。In the above processing procedure, the style,
The processing order of the border and shadow is the same as the simple display processing. In the style processing, image data is processed according to a predetermined algorithm. Here, "antique" processing will be described with reference to the flowchart of FIG. 19 as an example of processing for an actual image. FIG. 19 is a flowchart showing a processing procedure of antique processing which is one of style processing according to the present embodiment. In this processing, the full-color image data is made to have a sepia tone like an old photograph, while retaining the color of the original image.
【0078】まず画像の加工を行なう場合には、原画像
(メディアから呼び出した直後の画像、または直前の加
工処理によって加工がなされた画像。アプリケーション
の仕様として、いずれの方式でも良い)を格納する領域
と、それを加工した画像を格納する領域と、加工の処理
によってはその他にワークの画像データ領域を必要とす
る。本実施形態では、原画像領域として画像データ領域
3a1を、ワーク用と加工した画像を格納するための画
像データ領域として、原画像と同じサイズのワーク画像
データ領域3a2を用いることにする。本加工処理は、
原画像ともう1枚分の画像データ領域の他には、ワーク
用の画像データ領域は使用しない。また、本実施形態で
扱う画像データとして、1画素がRGBそれぞれ1バイ
トすなわち1画素24ビットで表されるフルカラーデー
タを扱うものとして説明する。First, when processing an image, an original image (an image immediately after being called from a medium or an image processed by the immediately preceding processing; any method may be used as an application specification) is stored. An area, an area for storing an image obtained by processing the area, and an image data area of the workpiece are required depending on the processing. In the present embodiment, an image data area 3a1 is used as an original image area, and a work image data area 3a2 having the same size as the original image is used as an image data area for storing an image processed and processed. This processing is
In addition to the original image and another image data area, no work image data area is used. Also, the following description is based on the assumption that, as image data handled in the present embodiment, full-color data in which one pixel is represented by one byte each of RGB, that is, 24 bits per pixel.
【0079】アンティーク加工では、最初に、ステップ
S28で、3a1の原画像(RGB画像)をHLS変換
する。HLSとは、H=色相、L=明度、S=彩度を表
し、HLS変換によって変換された画像は、H、L、S
それぞれの値で処理を行なうことができる。この変換方
法やHLSデータは一般的であるので、説明は省略す
る。In the antique processing, first, in step S28, the original image (RGB image) of 3a1 is subjected to HLS conversion. HLS represents H = hue, L = brightness, S = saturation, and the image converted by the HLS conversion is H, L, S
Processing can be performed with each value. Since the conversion method and the HLS data are general, the description is omitted.
【0080】次に、ステップS29では、HLS変換さ
れた3a1の画像データのS(彩度)の値を変換する。
古い写真の特徴を表すために、本実施形態では彩度を下
げ、より鮮やかでなくなるように変換する。この場合の
彩度の算出方法は、各画素の彩度を一定の量だけ下げた
り、元の彩度の値に応じて比例的に下げたり、またはガ
ンマ関数を用いたりなど、いろいろな方法が挙げられ
る。画像全体に対して彩度を下げると、ステップS30
において、再び画像データ領域3a1内の画像データを
RGB画像に戻すためにHLS逆変換を行なう。この方
法も一般的であるので、説明は省略する。Next, in step S29, the value of S (chroma) of the HLS-transformed 3a1 image data is converted.
In order to represent the characteristics of an old photograph, in the present embodiment, the saturation is reduced and the image is converted so as to become less vivid. There are various methods for calculating the saturation in this case, such as reducing the saturation of each pixel by a fixed amount, decreasing the saturation proportionally according to the original saturation value, or using a gamma function. No. If the saturation is reduced for the entire image, step S30
In step (1), HLS inverse conversion is performed to return the image data in the image data area 3a1 to an RGB image again. Since this method is also general, the description is omitted.
【0081】次に、ステップS31とS32では、RG
B画像に変換された3a1の画像データに対して、R
(赤)の値を上げ、B(青)の値を下げる処理を行な
う。これによって、原画像はセピア色がかり、古い写真
のように変換できる。ステップS31、S32でRの値
を上げたりBの値を下げたりする場合のRGB値の算出
方法としても、ステップS29の彩度の変換方法のよう
にいろいろな変換方法が挙げられるが、図11にその一
例を示す。図11はアンティーク加工における色変換グ
ラフの一例を示す図である。図11には、Rのデータに
対してある一定の値を加え、Bのデータに対してある一
定の値を引いて変換後の画素値を決定するグラフが示さ
れている。なお、このようなグラフはあらかじめプログ
ラム内にテーブルとして準備しておけば、変換の度に数
式によって算出する時間を短縮できる。Next, in steps S31 and S32, RG
For the 3a1 image data converted to a B image, R
A process of increasing the value of (red) and decreasing the value of B (blue) is performed. As a result, the original image has a sepia tone and can be converted like an old photograph. As a method of calculating the RGB values when the value of R is increased or the value of B is decreased in steps S31 and S32, there are various conversion methods such as the saturation conversion method in step S29. An example is shown below. FIG. 11 is a diagram showing an example of a color conversion graph in antique processing. FIG. 11 shows a graph in which a certain value is added to R data and a certain value is subtracted from B data to determine a pixel value after conversion. If such a graph is prepared in advance as a table in the program, the time required to calculate the expression by a mathematical expression can be reduced each time the conversion is performed.
【0082】このようにして加工処理を行なうと、ワー
ク画像データ領域3a2に、加工結果の画像が作成され
る。アプリケーションの仕様によって、この領域の画像
を「実際の画像」としても良いし、この加工済の画像デ
ータを3a1の原画像に複写し、それ以後の加工処理の
ための「原画像」としても良い。When the processing is performed in this manner, an image of the processing result is created in the work image data area 3a2. Depending on the specifications of the application, the image in this area may be used as an “actual image”, or the processed image data may be copied into an original image of 3a1 and used as an “original image” for subsequent processing. .
【0083】以上のように、単純な処理を重ねることに
より、ユーザにとってはただ1つの指示で、古い写真を
思わせるようなアンティーク加工を行なうことができ
る。As described above, by repeating the simple processing, the user can perform antique processing that resembles an old photograph with only one instruction.
【0084】また、ステップS53における額ぶち加工
は、図7の(a)に示されるように額ぶちの合成を行
う。この処理では、予め用意されている額ぶちのデータ
を画像データに合成していくことになる。ただし、額ぶ
ち簡易表示では額の内部を「薄いグレーの値を持つ」と
しているが,額ぶち加工では別データで額の内部をマス
クデータとして持っている。また、額ぶちデータと加工
対象の画像データとのサイズが異なる場合には、額ぶち
データをリサイズしながら加工処理を行う。また、ステ
ップS55における影加工は、図9の(a)に示される
ように処理される。ただし、影簡易表示では「額ぶちの
外側は濃いグレーの色を持つ」としているが、影加工処
理では別データで額ぶちの外部をマスクデータとして持
っている。また、額ぶちが付かない場合には、加工対象
の画像と同じ大きさのデータを上記マスクデータと考え
て影加工処理を行う。なお、額ぶち加工、影加工のいず
れにおいても、メモリを節約するために、ワーク画像領
域を節約した処理方法を採用するのが望ましい。In the border processing in step S53, the borders are combined as shown in FIG. 7A. In this processing, frame data prepared in advance is synthesized with image data. However, in the simple border display, the inside of the frame is described as “having a light gray value”, but in the border processing, the inside of the frame is provided as mask data as separate data. If the border data and the image data to be processed have different sizes, the processing is performed while resizing the border data. The shadow processing in step S55 is processed as shown in FIG. However, in the simple shadow display, “the outside of the border has a dark gray color”, but in the shadow processing, the outside of the border is masked as separate data. If no border is applied, data having the same size as the image to be processed is considered as the mask data, and shadow processing is performed. In any of the frame processing and the shadow processing, it is desirable to adopt a processing method that saves a work image area in order to save memory.
【0085】最後に、実際の画像データを印刷したり保
存したりする場合に、指示されている加工種別と同じ加
工が実際の画像データに対してなされていない場合、指
示されている加工種別で加工した画像に対して機能を実
行するのか、それともその時点で存在している画像デー
タに対して機能を実行するのかをユーザに判定させる処
理P3、P5について説明する。Lastly, when printing or storing actual image data, if the same processing as the specified processing type is not performed on the actual image data, the specified processing type is used. Processes P3 and P5 for allowing the user to determine whether to execute a function on a processed image or on image data existing at that time will be described.
【0086】前述の加工可否判定処理P7で説明した通
り、本実施形態におけるアプリケーションには、指示さ
れている加工種別と、実際の画像データが加工された加
工種別が異なる場合がある。このような状態の時に、そ
の時点での画像データを印刷したり保存したりするの
か、それとも指示されている加工種別に加工した画像デ
ータを印刷したり保存したりするのかをユーザに選択さ
せるのが本処理である。以下、印刷の機能が選択された
場合について説明する。As described in the processing possibility determination processing P7 described above, in the application in the present embodiment, the designated processing type may be different from the processing type in which the actual image data has been processed. In such a state, the user is prompted to select whether to print or save the image data at that time or to print or save the image data processed to the specified processing type. This is the processing. Hereinafter, a case where the print function is selected will be described.
【0087】基本状態において、ユーザにより印刷機能
が指示される(Q7)と、図20で示される印刷処理が
起動される。印刷画像判定処理P3では、まず指示され
ている加工種別と、実際の画像データが加工された加工
種別が異なるか否かを判定する。この判定方法は、前述
の加工可否判定処理P7により既に判定されているの
で、加工可否フラグ3c3を参照することにより判定で
きる(ステップS71)。加工可否フラグ3c3が加工
不可状態を示していれば、すなわち指示されている加工
種別と、実際の画像データが加工された加工種別が一致
していることを意味するので、ただちに印刷処理へ進ん
で良い。しかし、加工可否フラグ3c3が加工可能状態
を示していれば、指示されている加工種別と、実際の画
像データが加工された加工種別が一致していないので、
その時点での画像データを印刷するか、指示されている
加工種別に加工してから印刷するかをユーザに選択させ
る画面を表示するなどして、ユーザに判定させる(ステ
ップS72)。In the basic state, when the print function is instructed by the user (Q7), the print processing shown in FIG. 20 is started. In the print image determination process P3, first, it is determined whether or not the designated processing type is different from the processing type in which the actual image data has been processed. Since this determination method has already been determined by the above-described processing availability determination process P7, the determination can be made by referring to the processing availability flag 3c3 (step S71). If the processing possibility flag 3c3 indicates a processing impossible state, that is, it means that the designated processing type matches the processing type in which the actual image data has been processed, and the process immediately proceeds to the printing process. good. However, if the processability flag 3c3 indicates a processable state, the designated process type does not match the process type in which the actual image data has been processed.
The user is determined by, for example, displaying a screen for allowing the user to select whether to print the image data at that time or to process the image data into the specified processing type before printing (step S72).
【0088】その判定が「現時点での画像データを印刷
する(Q9)」であれば、そのまま印刷処理へ進む(ス
テップS73、S75)。逆に「加工してから、印刷す
る(Q8)」であれば、画像の加工処理P2を行なう
(ステップS74)。画像の加工処理P2は、図18、
図19で示したように、実際の画像データに対して指示
された加工を行なう。加工処理が終了すると印刷処理が
実行される(ステップS75)。なお、加工処理を終了
した時点で、その加工結果の画像データを画面に表示す
るなどして、ユーザにその画像を印刷しても良いか否か
を判定させるようにしてもよい。If the determination is "print the current image data (Q9)", the flow directly proceeds to the printing process (steps S73 and S75). Conversely, if it is “processed and then printed (Q8)”, image processing P2 is performed (step S74). The image processing P2 is performed as shown in FIG.
As shown in FIG. 19, the specified processing is performed on the actual image data. When the processing is completed, a printing process is executed (step S75). At the end of the processing, the image data of the processing result may be displayed on a screen or the like, so that the user can determine whether or not to print the image.
【0089】このように、本実施形態による処理方式お
よび装置は、ユーザに対してさまざまな配慮を示す処理
で構成されている。As described above, the processing method and apparatus according to the present embodiment are configured by processing that gives various considerations to the user.
【0090】以上のように本実施形態によれば、任意の
2次元カラー画像または白黒多値画像または白黒2値画
像に対して加工を行なう場合に、実際の画像データに対
して加工を行なう前にあらかじめ準備された表示用デー
タを用いて擬似的に簡易表示を表示することにより、加
工処理の結果をただちに確認することができる。As described above, according to the present embodiment, when processing is performed on an arbitrary two-dimensional color image, a black-and-white multivalued image, or a black-and-white binary image, before processing is performed on actual image data. By displaying the simplified display in a pseudo manner using the display data prepared in advance, the result of the processing can be immediately confirmed.
【0091】<他の実施形態>上記実施形態では、各ス
タイルや各額ぶちについて表示データを準備し、額ぶ
ち、影の加工については表示データを実際に加工してい
るが、未変更状態の表示データを1つ用意しておき、各
スタイルの変更についても実際に処理を行って加工結果
を示すようにしてもよい。<Other Embodiments> In the above embodiment, display data is prepared for each style and each border, and the display data is actually processed for the processing of borders and shadows. May be prepared, and the processing of the change of each style may be actually performed to indicate the processing result.
【0092】また、上記実施形態では、加工処理の順番
が「スタイル」→「額ぶち」→「影」の順に固定されて
おり、額ぶちを付加した画像の全体にスタイル変更を作
用させることはできない。しかしながら、上記のように
表示用データについても実際と同様のスタイル変更処理
を施すように構成し、変更指示の順番を記憶する領域を
設ければ、額ぶち処理を指定した後にスタイル変更を指
定することにより、額ぶちを付加した表示データの全体
にスタイル変更を作用させることができる。また、記憶
された変更指示の順番によって、加工処理の順序を制御
することで、加工の指示順序を実際の画像データへの加
工に反映させることができる。このようにすれば、バラ
エティに富んだ加工処理が可能となる。Further, in the above embodiment, the order of the processing is fixed in the order of “style” → “border” → “shadow”, so that the style change cannot be applied to the entire image with the border added. However, if the display data is configured to perform the same style change processing as the actual one as described above, and if an area for storing the order of the change instruction is provided, it is possible to specify the style change after specifying the border processing. Thereby, the style change can be applied to the entire display data to which the border is added. Further, by controlling the order of the processing according to the stored order of the change instructions, the order of the processing can be reflected in the actual processing to the image data. In this way, a variety of processing can be performed.
【0093】また、例えば、額ぶちを付加した後にスタ
イル変更を指示した場合のための表示データ(例えば、
各額ぶちについてスタイル変更を施した額ぶちの表示用
データ)を用意しておくようにしてもよい。この場合、
額ぶち指定の後にスタイル指定があった場合は、直前の
額ぶち簡易表示で指定されていた額ぶちを、指定された
スタイル変更を施した後の表示用額ぶちデータに変更す
ればよい。Further, for example, display data for a case where a style change is instructed after adding a border (for example,
The display data of the border that has been style-changed for each border may be prepared. in this case,
If a style is specified after the border specification, the border specified in the previous simple border display may be changed to the display border data after the specified style change.
【0094】なお、上述のように、処理順序を変更する
場合は、記憶された加工の指示順序に応じてステップS
51〜S57の処理順序を変更することになる。As described above, when the processing order is changed, step S is performed in accordance with the stored processing instruction order.
The processing order of 51 to S57 will be changed.
【0095】また、上記実施形態においては、画像デー
タに施される加工処理として、スタイル、額ぶち、影を
例にあげて説明したが、本発明の適用がこれらの加工処
理に限定されるものではない。Further, in the above-described embodiment, the processing performed on the image data has been described using the style, the border, and the shadow as an example. However, the application of the present invention is not limited to these processings. Absent.
【0096】なお、本発明は、複数の機器(例えばホス
トコンピュータ,インタフェイス機器,リーダ,プリン
タなど)から構成されるシステムに適用しても、一つの
機器からなる装置(例えば、複写機,ファクシミリ装置
など)に適用してもよい。The present invention can be applied to a system composed of a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), and can be applied to a single device (for example, a copier, a facsimile). Device).
【0097】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体を、システムあるいは装置に供給し、そ
のシステムあるいは装置のコンピュータ(またはCPU
やMPU)が記憶媒体に格納されたプログラムコードを
読出し実行することによっても、達成されることは言う
までもない。Further, an object of the present invention is to provide a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a system or an apparatus, and to provide a computer (or CPU) of the system or apparatus.
And MPU) read and execute the program code stored in the storage medium.
【0098】この場合、記憶媒体から読出されたプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコードを記憶した記憶媒体は
本発明を構成することになる。In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.
【0099】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピディスク,ハードディス
ク,光ディスク,光磁気ディスク,CD−ROM,CD
−R,磁気テープ,不揮発性のメモリカード,ROMな
どを用いることができる。Examples of a storage medium for supplying the program code include a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, and CD.
-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.
【0100】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼働しているOS(オペレ
ーティングシステム)などが実際の処理の一部または全
部を行い、その処理によって前述した実施形態の機能が
実現される場合も含まれることは言うまでもない。When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instruction of the program code. ) May perform some or all of the actual processing, and the processing may realize the functions of the above-described embodiments.
【0101】さらに、記憶媒体から読出されたプログラ
ムコードが、コンピュータに挿入された機能拡張ボード
やコンピュータに接続された機能拡張ユニットに備わる
メモリに書込まれた後、そのプログラムコードの指示に
基づき、その機能拡張ボードや機能拡張ユニットに備わ
るCPUなどが実際の処理の一部または全部を行い、そ
の処理によって前述した実施形態の機能が実現される場
合も含まれることは言うまでもない。Further, after the program code read from the storage medium is written into a memory provided on a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instruction of the program code, It goes without saying that the CPU included in the function expansion board or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.
【発明の効果】以上説明したように本発明によれば、画
像データに対して所望の加工処理を行なう場合に、加工
対象となる画像データを処理することなく、適用される
加工処理を施した結果を確認することが可能となる。As described above, according to the present invention, when desired processing is performed on image data, the applicable processing is performed without processing the image data to be processed. The result can be confirmed.
【0102】[0102]
【図1】本発明の一実施形態に係るデータ処理装置の概
略構成を示すブロック図である。FIG. 1 is a block diagram illustrating a schematic configuration of a data processing device according to an embodiment of the present invention.
【図2】また、加工種別記憶領域3cにおけるデータ構
成を示す図である。FIG. 2 is a diagram showing a data configuration in a processing type storage area 3c.
【図3】本実施形態によるデータ処理装置における各処
理状態の遷移を示す状態遷移図である。FIG. 3 is a state transition diagram showing transition of each processing state in the data processing device according to the present embodiment.
【図4】基本状態T1における画面表示例を示す図であ
る。FIG. 4 is a diagram showing a screen display example in a basic state T1.
【図5】スタイル画面の画面構成例を示す図である。FIG. 5 is a diagram illustrating a screen configuration example of a style screen.
【図6】本実施形態で用意された各額ぶちを選択するた
めの額ぶち画面の表示例を示す図である。FIG. 6 is a diagram showing a display example of a border screen for selecting each border prepared in the embodiment.
【図7】額ぶちの合成加工例を示す図である。FIG. 7 is a diagram illustrating an example of processing for synthesizing a forehead;
【図8】本実施形態で選択可能な影パターンを選択する
ための影画面の表示例を示す図である。FIG. 8 is a diagram showing a display example of a shadow screen for selecting a shadow pattern that can be selected in the embodiment.
【図9】額ぶち、影の合成を説明する図である。FIG. 9 is a diagram for explaining synthesis of a forehead and a shadow.
【図10】表示用ワーク領域3b1の使用方法を説明す
る図である。FIG. 10 is a diagram illustrating a method of using a display work area 3b1.
【図11】アンティーク加工における色変換グラフの一
例を示す図である。FIG. 11 is a diagram showing an example of a color conversion graph in antique processing.
【図12】本実施形態のデータ処理装置における画像加
工処理の手順を説明するフローチャートである。FIG. 12 is a flowchart illustrating a procedure of an image processing process in the data processing device of the present embodiment.
【図13】簡易表示処理の手順を説明するフローチャー
トである。FIG. 13 is a flowchart illustrating a procedure of a simple display process.
【図14】スタイル簡易表示の手順を説明するフローチ
ャートである。FIG. 14 is a flowchart illustrating a procedure of simple style display.
【図15】額ぶち簡易表示処理の手順を示すフローチャ
ートである。FIG. 15 is a flowchart illustrating a procedure of a frame border simple display process.
【図16】影簡易表示処理の手順を示すフローチャート
である。FIG. 16 is a flowchart illustrating a procedure of a shadow simple display process.
【図17】本実施形態の加工可否判定処理の手順を説明
するフローチャートである。FIG. 17 is a flowchart illustrating a procedure of a processing availability determination process according to the embodiment;
【図18】本実施形態による加工処理の手順を説明する
図である。FIG. 18 is a diagram for explaining the procedure of the processing according to the present embodiment.
【図19】本実施形態によるスタイル加工の一つである
アンティーク加工の処理手順を示すフローチャートであ
る。FIG. 19 is a flowchart showing a processing procedure of antique processing which is one of style processing according to the present embodiment.
【図20】本実施形態による印刷処理の手順を説明する
フローチャートである。FIG. 20 is a flowchart illustrating a print processing procedure according to the present embodiment.
1 CPU 2 ROM 3 RAM 4 キーボード 5 マウス 6 表示器 7 外部記憶装置 8 バスライン Reference Signs List 1 CPU 2 ROM 3 RAM 4 Keyboard 5 Mouse 6 Display 7 External storage device 8 Bus line
Claims (12)
う情報処理装置であって、 少なくとも1つの表示用データを記憶する記憶手段と、 所望の加工処理を指定する指定手段と、 前記指定手段で指定された加工処理を前記表示用データ
に適用した結果に対応する結果表示用データを獲得する
獲得手段と、 前記獲得手段で獲得された結果データを表示する表示手
段とを備えることを特徴とする情報処理装置。1. An information processing apparatus for performing desired processing on image data, a storage unit for storing at least one display data, a specifying unit for specifying a desired processing, and the specifying unit Acquiring means for acquiring result display data corresponding to a result of applying the processing specified in the above to the display data; anddisplay means for displaying the result data acquired by the acquiring means. Information processing device.
用データと、該第1表示用データに所定の加工処理を適
用した結果を示す第2表示用データとを記憶し、 前記獲得手段は、前記所定の加工処理が指定された場合
には前記記憶手段に記憶された第2表示用データを該所
定の加工処理に対応する結果表示用データとして獲得す
ることを特徴とする請求項1に記載の情報処理装置。2. The storage means stores first display data before processing and second display data indicating a result of applying a predetermined processing to the first display data. The means for acquiring the second display data stored in the storage means as result display data corresponding to the predetermined processing when the predetermined processing is designated. 2. The information processing device according to 1.
外の加工処理が指定された場合、前記記憶手段に記憶さ
れた第1表示用データに、前記指定手段で指定された加
工処理を施して結果表示用データを獲得することを特徴
とする請求項2に記載の情報処理装置。3. When the processing means other than the predetermined processing processing is designated, the acquisition means performs the processing processing designated by the designation means on the first display data stored in the storage means. The information processing apparatus according to claim 2, wherein the data for displaying a result is obtained by performing the processing.
指定された後に別の加工処理が指定された場合、該所定
の加工処理に対応する前記第2表示用データに該別の加
工処理を施して結果表示用データを獲得することを特徴
とする請求項2に記載の情報処理装置。4. When another processing is specified after the predetermined processing is specified, the acquisition unit adds the another processing to the second display data corresponding to the predetermined processing. 3. The information processing apparatus according to claim 2, wherein data for result display is obtained by performing the following.
容を保持する保持手段と、 前記保持手段に保持された加工処理の内容に基づいて前
記画像データを加工処理する加工手段とを更に備えるこ
とを特徴とする請求項1に記載の情報処理装置。5. A processing apparatus further comprising: holding means for holding the contents of the processing specified by the specifying means; and processing means for processing the image data based on the contents of the processing held by the holding means. The information processing apparatus according to claim 1, wherein:
れた加工処理とその順番を保持し、 前記加工手段は、前記保持手段に保持された加工処理の
内容とその順番に基づいて前記画像データを加工処理す
ることを特徴とする請求項5に記載の情報処理装置。6. The processing device according to claim 1, wherein the holding unit holds the processing and the order specified by the specifying unit, and the processing unit stores the image based on the content of the processing and the order held by the holding unit. The information processing apparatus according to claim 5, wherein the data is processed.
実行された加工処理の内容を保持する第2保持手段を更
に備え、 前記加工手段は、前記保持手段に保持された加工処理の
内容と前記第2保持手段に保持された加工処理の内容と
が異なる場合に実行可能となることを特徴とする請求項
6に記載の情報処理装置。7. The image processing apparatus according to claim 1, further comprising a second holding unit configured to hold a content of the processing performed on the image data by the processing unit, wherein the processing unit stores the content of the processing held by the holding unit. The information processing apparatus according to claim 6, wherein the processing can be executed when a content of the processing held in the second holding unit is different.
合、前記保持手段と前記第2保持手段の夫々に保持され
た加工処理の内容が異なる場合にその旨を通知する通知
手段を更に備えることを特徴とする請求項7に記載の情
報処理装置。8. When the output of the image data is requested, when the contents of the processing held in each of the holding unit and the second holding unit are different, there is further provided a notifying unit for notifying the fact. The information processing apparatus according to claim 7, wherein:
テゴリを有し、これら複数のカテゴリの実行順序が固定
されていることを特徴とする請求項1に記載の情報処理
装置。9. The information processing apparatus according to claim 1, wherein the information processing apparatus has a plurality of processing processing categories, and the execution order of the plurality of categories is fixed.
処理が指定される毎に、前記カテゴリの実行順序に従っ
て、その時点で指定されている加工処理を前記表示用デ
ータに適用して得られるデータを結果表示用データとし
て獲得することを特徴とする請求項9に記載の情報処理
装置。10. The acquiring means is obtained by applying the processing specified at that time to the display data in accordance with the execution order of the category every time the processing is specified by the specifying means. The information processing apparatus according to claim 9, wherein the data is obtained as result display data.
行うための情報処理方法であって、 所望の加工処理を指定する指定工程と、 前記指定工程で指定された加工処理を、メモリに記憶さ
れた表示用データに適用した結果に対応する結果表示用
データを獲得する獲得工程と、 前記獲得工程で獲得された結果データを表示する表示工
程とを備えることを特徴とする情報処理方法。11. An information processing method for performing a desired processing on image data, wherein a specifying step of specifying a desired processing and a processing specified in the specifying are stored in a memory. An information processing method, comprising: an obtaining step of obtaining result display data corresponding to a result applied to the obtained display data; and a displaying step of displaying the result data obtained in the obtaining step.
行うための制御プログラムを格納する記憶媒体であっ
て、該制御プログラムがコンピュータを、 少なくとも1つの表示用データを記憶する記憶手段と、 所望の加工処理を指定する指定手段と、 前記指定手段で指定された加工処理を前記表示用データ
に適用した結果に対応する結果表示用データを獲得する
獲得手段と、 前記獲得手段で獲得された結果データを表示する表示手
段として機能させることを特徴とする記憶媒体。12. A storage medium for storing a control program for performing desired processing on image data, said control program causing a computer to store at least one display data, Designating means for designating the processing of the following; acquiring means for acquiring result display data corresponding to a result of applying the processing specified by the designating means to the display data; A storage medium characterized by functioning as display means for displaying data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4665097A JPH10240912A (en) | 1997-02-28 | 1997-02-28 | Information processing apparatus and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4665097A JPH10240912A (en) | 1997-02-28 | 1997-02-28 | Information processing apparatus and method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH10240912A true JPH10240912A (en) | 1998-09-11 |
| JPH10240912A5 JPH10240912A5 (en) | 2005-02-03 |
Family
ID=12753199
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4665097A Pending JPH10240912A (en) | 1997-02-28 | 1997-02-28 | Information processing apparatus and method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH10240912A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005196483A (en) * | 2004-01-07 | 2005-07-21 | Noritsu Koki Co Ltd | Image processing device |
| JP2007074694A (en) * | 2005-08-12 | 2007-03-22 | Canon Inc | Image editing apparatus, control method therefor, computer program, and storage medium |
-
1997
- 1997-02-28 JP JP4665097A patent/JPH10240912A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005196483A (en) * | 2004-01-07 | 2005-07-21 | Noritsu Koki Co Ltd | Image processing device |
| JP2007074694A (en) * | 2005-08-12 | 2007-03-22 | Canon Inc | Image editing apparatus, control method therefor, computer program, and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7113306B1 (en) | Image data processing apparatus, medium recording image data set, medium recording image data processing program and image data processing method | |
| US7142225B1 (en) | Lossless manipulation of media objects | |
| US20120229501A1 (en) | Method and a Computer System for Displaying and Selecting Images | |
| JPH09270924A (en) | Image expression characteristic setting device | |
| US6977665B2 (en) | Method, apparatus and recording medium for generating composite image | |
| JP3008943B1 (en) | Image processing apparatus and image processing method | |
| US7639262B2 (en) | Selecting rendering intents | |
| JP2001084245A (en) | Device and method for processing document | |
| JPH10240912A (en) | Information processing apparatus and method | |
| US6611632B1 (en) | Device and method for interpolating image data and medium on which image data interpolating program is recorded | |
| JP2001056867A (en) | Image data processing apparatus, medium recording image data set, medium recording image data processing program, and image data processing method | |
| JP2001056867A5 (en) | ||
| JP2002269550A (en) | Two-color print data generation device, two-color print data generation method, and information recording medium | |
| JP3110919B2 (en) | Document processing device | |
| JP3656570B2 (en) | Apparatus, method and computer program for performing image processing | |
| JP4841457B2 (en) | Image processing apparatus and image processing program | |
| JP2009005081A (en) | Profile creation apparatus and profile creation method | |
| JPH10198781A (en) | Image data processing method and apparatus | |
| CN111951367A (en) | Character rendering method, character processing method and device | |
| JPH09190538A (en) | Image processing apparatus and method | |
| JP4159387B2 (en) | Image processing apparatus, program used for image processing, and medium storing the program | |
| JP3560124B2 (en) | Image data interpolation device, image data interpolation method, and medium recording image data interpolation program | |
| JP2000333023A (en) | Image data processing method and apparatus | |
| JPH08153095A (en) | Image management editing system | |
| JP3471762B2 (en) | Image conversion synthesis editing apparatus and method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040226 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040226 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20061027 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20061102 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20061226 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20070611 |