JP2007295593A - Image data processor, computer-readable recording medium with image data processing program recorded thereon and image data processing method - Google Patents

Image data processor, computer-readable recording medium with image data processing program recorded thereon and image data processing method Download PDF

Info

Publication number
JP2007295593A
JP2007295593A JP2007135597A JP2007135597A JP2007295593A JP 2007295593 A JP2007295593 A JP 2007295593A JP 2007135597 A JP2007135597 A JP 2007135597A JP 2007135597 A JP2007135597 A JP 2007135597A JP 2007295593 A JP2007295593 A JP 2007295593A
Authority
JP
Japan
Prior art keywords
image data
image
processing
parameters
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2007135597A
Other languages
Japanese (ja)
Other versions
JP4348562B2 (en
Inventor
Kaoru Nakabayashi
薫 中林
Shingo Yudasaka
新吾 湯田坂
Yasushi Hiraoka
靖 平岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2007135597A priority Critical patent/JP4348562B2/en
Publication of JP2007295593A publication Critical patent/JP2007295593A/en
Application granted granted Critical
Publication of JP4348562B2 publication Critical patent/JP4348562B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Television Signal Processing For Recording (AREA)
  • Facsimiles In General (AREA)
  • Storing Facsimile Image Data (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image data processor, capable of easily referring to an image processing result while ensuring image data originality, a medium with a set of image data recorded thereon, and provide a medium with an image data processing program recorded thereon, and to provide an image data processing method. <P>SOLUTION: A database of photographic data 30b corresponding to image data is prepared, while storing the image data in a folder managed as a film metaphor. When desired image processing is selected for desired image data, the selected image processing is updated as modification information in a structure of the database; and when it becomes necessary to perform actual display, outputting or printing, since the modification information is referenced only on a work area, while keeping the original image data so as to execute various kinds of image processings, image modification or the like can be enjoyed, while keeping image data as originals. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、画像データを適宜修整して利用可能な画像データ処理装置、画像データセットを記録した媒体、画像データ処理プログラムを記録した媒体および画像データ処理方法に関する。   The present invention relates to an image data processing apparatus capable of appropriately modifying and using image data, a medium on which an image data set is recorded, a medium on which an image data processing program is recorded, and an image data processing method.

近年、デジタルスチルカメラが急速に利用されはじめている。ディジタルスチルカメラで撮影した場合、画像をデータとして管理できるようになり、修整などが簡単に行われるようになっている。例えば、画像が暗く写った場合に明るく修整するとか、空の色をより青くして美しくさせるということも、画像データであれば容易に行える。   In recent years, digital still cameras have begun to be used rapidly. When taking a picture with a digital still camera, it is possible to manage the image as data, and the correction and the like can be easily performed. For example, if the image is dark, the image data can easily be corrected brightly, or the sky color can be made more blue and beautiful.

このような処理は画像処理として広く利用されているが、入力される画像データに処理を施せば新たな画像データとなり、これが元の記憶領域に上書きされていくことになる。   Such processing is widely used as image processing. However, if input image data is processed, it becomes new image data, which is overwritten in the original storage area.

上述した従来の画像データ処理装置においては、次のような課題があった。
まず、オリジナルの画像データが変更されてしまうが、オリジナルの画像データを重視するものにとっては利用しがたい。むろん、オリジナルの画像データを保存しておいた上で別名で保存するといった処理を行うことも可能であるが、煩雑であるし、必要な記憶領域が増えてしまう。また、そのような場合のオリジナルと修整後の画像データを個別に管理していくこと自体も極めて煩雑である。
The above-described conventional image data processing apparatus has the following problems.
First, the original image data is changed, but it is difficult to use for those who place importance on the original image data. Of course, it is possible to save the original image data and save it under a different name, but it is cumbersome and increases the required storage area. In such a case, managing the original and the modified image data individually is extremely complicated.

また、ある種の画像フォーマットにおいては書き換えを行うたびに画質が劣化していくものもあるため、この意味ではたとえ修整がわずかであっても画質は劣化してしまう。
本発明は、上記課題にかんがみてなされたもので、画像データのオリジナル性を確保しながらも、容易に画像処理した結果を参照することが可能な画像データ処理装置、画像データセットを記録した媒体、画像データ処理プログラムを記録した媒体および画像データ処理方法の提供を目的とする。
In addition, in some image formats, image quality deteriorates every time rewriting is performed. In this sense, even if slight modification is made, the image quality deteriorates.
The present invention has been made in view of the above problems, and an image data processing apparatus capable of easily referring to the result of image processing while ensuring the originality of the image data, and a medium on which an image data set is recorded Another object is to provide a medium on which an image data processing program is recorded and an image data processing method.

上記目的を達成するため、請求項1にかかる発明は、画像データに実施する所定の画像処理の内容を表すパラメータを設定するパラメータ設定手段と、上記画像データと上記パラメータとを関連付け情報とともに保存するデータ保存手段と、上記関連付け情報を参照して上記画像データと上記パラメータを取得するデータ取得手段と、取得された上記画像データと上記パラメータとに基づいて上記指定される画像処理を施した画像データを得る画像処理再現手段とを具備する構成としてある。   In order to achieve the above object, the invention according to claim 1 saves parameter setting means for setting parameters representing the contents of predetermined image processing to be performed on image data, and the image data and the parameters together with association information. Data storage means, data acquisition means for acquiring the image data and the parameters with reference to the association information, and image data subjected to the specified image processing based on the acquired image data and the parameters And image processing reproduction means for obtaining the above.

また、請求項2にかかる発明は、画像データに実施する所定の画像処理の内容を表すパラメータを設定するパラメータ設定手段と、上記画像データと上記パラメータとを関連付け情報とともに保存するデータ保存手段とを具備する構成としてあるとともに、請求項3にかかる発明は、画像データに実施する所定の画像処理の内容を表すパラメータと同画像データとが相互の関連付け情報とともに保存されており、上記関連付け情報を参照して上記画像データと上記パラメータを取得するデータ取得手段と、取得された上記画像データと上記パラメータとに基づいて上記指定される画像処理を施した画像データを得る画像処理再現手段とを具備する構成としてある。   According to a second aspect of the present invention, there is provided parameter setting means for setting parameters representing the contents of predetermined image processing performed on image data, and data storage means for storing the image data and the parameters together with association information. In the invention according to claim 3, the parameter representing the content of the predetermined image processing performed on the image data and the image data are stored together with the mutual association information, and the above-mentioned association information is referred to. Data acquisition means for acquiring the image data and the parameters, and image processing reproduction means for obtaining image data subjected to the specified image processing based on the acquired image data and the parameters. As a configuration.

上記のように構成した請求項1にかかる発明においては、パラメータ設定手段にて画像データに実施する所定の画像処理の内容を表すパラメータを設定すると、データ保存手段は上記画像データと上記パラメータとを関連付け情報とともに保存する。そして、データ取得手段にて上記関連付け情報を参照して上記画像データと上記パラメータを取得すると、画像処理再現手段は取得された上記画像データと上記パラメータとに基づいて上記指定される画像処理を施した画像データを得る。   In the invention according to claim 1 configured as described above, when the parameter setting unit sets a parameter representing the content of predetermined image processing to be performed on the image data, the data storage unit stores the image data and the parameter. Save with association information. Then, when the data acquisition means refers to the association information and acquires the image data and the parameters, the image processing reproduction means performs the designated image processing based on the acquired image data and the parameters. Obtained image data is obtained.

すなわち、画像データに関連づけて画像処理内容を表すパラメータを記憶する。例えば、画像処理した場合でも元の画像データを変更せずにパラメータとして管理するようにし、必要なときにパラメータに基づいて画像処理した画像データを得る。そして、このような画像処理した結果を利用可能としながらも元の画像データはそのままにしておくことになる。
請求項2にかかる発明や請求項3にかかる発明は、この発明全体をそれぞれ部分的に実施している。
That is, a parameter representing the image processing content is stored in association with the image data. For example, even when image processing is performed, the original image data is managed as a parameter without being changed, and image data obtained by image processing based on the parameter is obtained when necessary. The original image data is left as it is while the result of such image processing can be used.
The invention according to claim 2 and the invention according to claim 3 partially implement the entire invention.

また、上記のように構成した請求項4においては、上記パラメータで画像処理の種別あるいは程度を表している。これにより、画像処理の内容をより具体的に示すようにしている。むろん、複数の画像処理の種別であるとか程度も表している。
さらに、上記のように構成した請求項5にかかる発明においては、上記パラメータは画像処理の種別ごとに複数用意されているので、ある画像処理の種別において必ずしも一つの内容に限らず、複数の内容を残すことが可能となる。例えば、一つの画像処理がシャープネスを調整するものであるとして、シャープネスの強調度合いの強いものを表すパラメータと弱い強調度合いを表すパラメータとを保存し、再現時にいずれかを選択する。再現された画像データを印刷する場合、印刷装置の解像度によって最適なシャープネスの強調度合いが変化することもあり、このような場合に対応してパラメータを複数残しておくことも可能である。
In the fourth aspect configured as described above, the type or degree of image processing is represented by the parameter. Thereby, the content of the image processing is shown more specifically. Of course, it also indicates the degree of image processing.
Furthermore, in the invention according to claim 5 configured as described above, a plurality of the parameters are prepared for each type of image processing. It becomes possible to leave. For example, assuming that one image process is for adjusting sharpness, a parameter representing a sharpness enhancement degree and a parameter representing a weak enhancement degree are stored, and either one is selected during reproduction. When the reproduced image data is printed, the optimum sharpness enhancement degree may change depending on the resolution of the printing apparatus, and a plurality of parameters can be left corresponding to such a case.

さらに、上記のように構成した請求項6にかかる発明においては、複数保存可能なパラメータから選択的に実行可能である。これにより、例えば、画像処理に十分な時間を得られる場合と、極めて短時間に処理しなければならない場合に必ずしも同一の画質が要求されるとは言えないので、後者について低負荷で実現しうる画像処理を実施させるということが可能となる。従って、スライドショーの場合は、スライドショーの実行に即したパラメータに対応する画像処理が実行されるし、印刷を実行するときにはこれに対応するパラメータに即して画像処理が実行される。むろん、この選択は実行条件を決めておき、実行時にその条件に見合うものを選択して実行させるようにしても良いし、ユーザーが指定して行うようにしても良い。   Furthermore, in the invention according to claim 6 configured as described above, it can be selectively executed from a plurality of parameters that can be stored. As a result, for example, when sufficient time is required for image processing and when processing must be performed in a very short time, the same image quality is not necessarily required, so the latter can be realized with low load. It is possible to perform image processing. Accordingly, in the case of a slide show, image processing corresponding to the parameters corresponding to the execution of the slide show is executed, and when executing printing, the image processing is executed corresponding to the parameters corresponding to this. Of course, this selection may be executed by determining execution conditions and selecting and executing those that meet the conditions at the time of execution.

さらに、上記のように構成した請求項7にかかる発明においては、複数のパラメータがあることを前提にしつつ、パラメータの実行順序情報をも備えることにより、当該実行順序情報に従って画像処理を行わせると、画像処理が時系列的に行われるのに対応し、各操作毎にパラメータを残しておけば、かかるパラメータは複数の時系列的な履歴を表すことになる。従って、途中の画像処理過程を忠実に経て再現することになる。むろん、必ずしもすべてを実行する必要はなく、途中で止めて再現過程を再現することも可能である。   Furthermore, in the invention according to claim 7 configured as described above, when it is assumed that there are a plurality of parameters and also includes parameter execution order information, image processing is performed according to the execution order information. Corresponding to the image processing being performed in time series, if a parameter is left for each operation, the parameter represents a plurality of time series history. Therefore, the image processing process on the way is reproduced faithfully. Of course, it is not always necessary to execute all of them, and it is possible to reproduce the reproduction process by stopping halfway.

さらに、上記のように構成した請求項8にかかる発明においては、パラメータが複数の組に分かれており、それぞれを任意に選択できるようにしてあり、実行時の状況に応じて選択した組のパラメータに基づいて画像処理を実施する。
すなわち、単に一通りの画像処理結果だけでなく、複数の画像処理結果から選択することを可能ならしめる。例えば、ディスプレイで表示するときに美しく表示させる画像処理と、印刷時に美しく印刷させる画像処理が異なることは多々ある。このような場合、ディスプレイでの表示のためのパラメータと、印刷のためのパラメータとをともに記憶できれば好都合だからである。また、出力先のみならず出力する大きさに対応したり、複数のユーザーが一つの画像データを共有する場合なども各大きさ毎やユーザー毎にパラメータの組を用意できて好適である。
Furthermore, in the invention according to claim 8 configured as described above, the parameters are divided into a plurality of groups, each of which can be arbitrarily selected, and the parameters of the group selected according to the situation at the time of execution. Based on the above, image processing is performed.
That is, it is possible to select not only a single image processing result but also a plurality of image processing results. For example, there are many differences between image processing that is beautifully displayed when displayed on a display and image processing that is beautifully printed during printing. In such a case, it is convenient if the parameters for display on the display and the parameters for printing can be stored together. In addition, it is preferable that a set of parameters can be prepared for each size or for each user when not only the output destination but also the output size or a plurality of users share one image data.

さらに、上記のように構成した請求項9にかかる発明においては、上記パラメータは複数の組に分かれており、画素の状況に対応した画像処理を適用する。すなわち、画像データに対して一律でなく適用し、例えば、画素の位置であるとか、画素の色に応じてパラメータの組を使い分ける。画素の位置としては画像の中央部分とか、予め指定された特定の範囲であるとか、上半分と下半分というように領域を区分してそれぞれに異なる組のパラメータを適用する。また、画素の色としては、肌色の領域や、空色の領域や、夕焼けの領域というように分ければ概ね被写体に応じた最適なパラメータを適用できることになる。   Furthermore, in the invention according to claim 9 configured as described above, the parameters are divided into a plurality of sets, and image processing corresponding to the situation of the pixels is applied. In other words, the present invention is applied uniformly to image data, and for example, a set of parameters is used depending on the position of a pixel or the color of a pixel. The pixel position is divided into areas such as the central part of the image, a specific range designated in advance, or the upper half and the lower half, and different sets of parameters are applied to each. In addition, if the pixel color is divided into a flesh-colored region, a sky-blue region, or a sunset region, an optimum parameter can be applied according to the subject.

さらに、上記のように構成した請求項10にかかる発明においては、記憶領域を階層構造として区画化し、上記画像データとパラメータをこの階層構造で区分けしており、区分けしたその区画自体でも関連づけを表すことになる。また、画像データとパラメータとの対応付けは、同じ区画にパラメータを記憶しても良いし、対応する階層構造を別の領域に設けて同パラメータを記憶するようにしてもよい。   Furthermore, in the invention according to claim 10 configured as described above, the storage area is partitioned as a hierarchical structure, and the image data and parameters are partitioned by this hierarchical structure, and the partitioned partition itself represents the association. It will be. Further, associating the image data with the parameters, the parameters may be stored in the same section, or the corresponding parameters may be stored by providing a corresponding hierarchical structure in another area.

さらに、上記のように構成した請求項11にかかる発明においては、パラメータを対応づけるのと同列のレベルで予め小容量のサムネールを対応づけており、パラメータを管理するのと並行した処理でサムネールデータも管理できる。
さらに、上記のように構成した請求項12にかかる発明においては、上記画像データと上記パラメータとを異なる記憶装置上で管理している。例えば、複数の着脱可能な記憶領域において画像データを管理することもあり、この場合、記憶領域によっては必ずしも書き込み可能であるとは限らない。そこで、書き込み不能な記憶領域については、書き込み可能な記憶領域において上記パラメータを管理するということができる。
Furthermore, in the invention according to claim 11 configured as described above, a small-capacity thumbnail is associated in advance at the same level as that associated with the parameter, and the thumbnail data is processed in parallel with the parameter management. Can also manage.
Furthermore, in the invention according to claim 12 configured as described above, the image data and the parameters are managed on different storage devices. For example, image data may be managed in a plurality of detachable storage areas, and in this case, writing is not always possible depending on the storage area. Therefore, it can be said that the above parameters are managed in a writable storage area for a non-writable storage area.

また、書き込みは不能ではないものの、書き込みに不適な記憶領域というものもある。例えば、ネットワークを介して数人で共有することも多く、誰かが勝手に共有の画像データを書き換えてしまうのは避けるべきである。このような場合、書き込み不適な記憶領域としての共有領域とともに書き込み可能な記憶領域で画像データを管理しつつ、書き込みに不適な記憶領域の画像データについては書き込み可能な記憶領域において上記パラメータを管理する構成とする。むろん、ネットワークや共有領域以外にも同様の問題が生じることはあり、いずれの場合でも書き込みに適した記憶領域において上記パラメータを管理する。   There are also storage areas that are not impossible to write but are inappropriate for writing. For example, it is often shared by several people over a network, and someone should avoid rewriting shared image data without permission. In such a case, the image data is managed in a writable storage area together with a shared area as a writable storage area, and the above parameters are managed in the writable storage area for image data in the storage area inappropriate for writing. The configuration. Of course, the same problem may occur in areas other than the network and the shared area. In any case, the above parameters are managed in a storage area suitable for writing.

さらに、上記のように構成した請求項13にかかる発明においては、パラメータが表す画像処理の内容を、パラメータ設定手段が画像データを統計的に解析した結果に基づいて設定する。すなわち、自動処理化に対応する。
さらに、上記のように構成した請求項14にかかる発明においては、画像処理結果を再現するに際して行う画像処理は、画像処理再現手段がパラメータに基づいて対応する画像処理部を選択して実施させる。画像処理を実現する手段はコンピュータ上で実現する例を取っても様々な方法を選択可能であり、内部・外部を問うことなく選択させることによって実現しうる。より具体的にはバージョンの異なる画像処理に対応した画像処理部を選択したり、コンピュータのオペレーティングシステムなどが提供する画像処理部を選択して起動させたり、必要な画像処理部をネットワークなどから探し出してきて起動させることができる。
Further, in the invention according to claim 13 configured as described above, the content of the image processing represented by the parameter is set based on the result of the statistical analysis of the image data by the parameter setting means. That is, it corresponds to automatic processing.
Furthermore, in the invention according to claim 14 configured as described above, the image processing performed when reproducing the image processing result is performed by the image processing reproduction unit selecting a corresponding image processing unit based on the parameter. The means for realizing the image processing can be selected from various methods even if the example is realized on a computer, and can be realized by selecting the inside / outside without questioning. More specifically, an image processing unit corresponding to a different version of image processing is selected, an image processing unit provided by a computer operating system or the like is selected and started, or a necessary image processing unit is searched from a network or the like. Can come up and start.

このように画像データに対して画像処理を実施して変化させてしまうことなく、その画像処理内容を表すパラメータを関連付けて保存する手法は、必ずしも実体のある装置に限られる必要はなく、その方法としても機能することは容易に理解できる。すなわち、必ずしも実体のある装置に限らず、その方法としても有効であることに相違はない。
また、このような画像データ処理装置は単独で存在する場合もあるし、ある機器に組み込まれた状態で利用されることもあるなど、発明の思想としてはこれに限らず、各種の態様を含むものである。従って、ソフトウェアであったりハードウェアであったりするなど、適宜、変更可能である。
In this way, a method for associating and storing parameters representing the contents of image processing without executing image processing on the image data and changing the image data is not necessarily limited to a substantial apparatus. Can easily be understood. That is, it is not necessarily limited to a substantial apparatus, and there is no difference that the method is also effective.
In addition, such an image data processing apparatus may exist alone, or may be used in a state of being incorporated in a certain device, but the idea of the invention is not limited to this and includes various aspects. It is a waste. Therefore, it can be changed as appropriate, such as software or hardware.

発明の思想の具現化例として画像データ処理装置のソフトウェアとなる場合には、かかるソフトウェアを記録した記録媒体上においても当然に存在し、利用されるといわざるをえないし、当該ソフトウェア自体としても発明は成立する。従って、本発明で叙述した媒体としての各発明は、それぞれ記録しているプログラム自体に一対一で対応するものである。
むろん、その記録媒体は、磁気記録媒体であってもよいし光磁気記録媒体であってもよいし、今後開発されるいかなる記録媒体においても全く同様に考えることができる。また、一次複製品、二次複製品などの複製段階については全く問う余地無く同等である。その他、供給方法として通信回線を利用して行なう場合でも本発明が利用されていることにはかわりない。
When the software of the image data processing apparatus is embodied as an embodiment of the idea of the invention, it naturally exists on a recording medium on which such software is recorded and must be used. The invention is valid. Accordingly, each invention as a medium described in the present invention has a one-to-one correspondence with the recorded program itself.
Of course, the recording medium may be a magnetic recording medium, a magneto-optical recording medium, or any recording medium that will be developed in the future. In addition, the duplication stages such as the primary duplication product and the secondary duplication product are equivalent without any question. In addition, even when the communication method is used as a supply method, the present invention is not changed.

さらに、一部がソフトウェアであって、一部がハードウェアで実現されている場合においても発明の思想において全く異なるものではなく、一部を記録媒体上に記憶しておいて必要に応じて適宜読み込まれるような形態のものとしてあってもよい。
また、このようにして画像データを再現できるようになる上で、かかる画像データセットを記録した媒体は必要不可欠であり、本発明はこのような形態としても実現されうる。
Further, even when a part is software and a part is realized by hardware, the idea of the invention is not completely different, and a part is stored on a recording medium and is appropriately changed as necessary. It may be in the form of being read.
In addition, in order to be able to reproduce image data in this way, a medium on which such an image data set is recorded is indispensable, and the present invention can be realized in such a form.

以上説明したように本発明は、画像データに画像処理を施すにあたって元の画像データを残しつつ画像処理結果を容易に利用することが可能な画像データ処理装置を提供することができる。
また、請求項2にかかる発明によれば、これを実現するために少なくともパラメータを画像データに関連付けさせた画像データセットを作成することができ、請求項3にかかる発明によれば、かかる画像データセットが存在すれば設定された所望の画像処理結果を再現できる。
As described above, the present invention can provide an image data processing apparatus that can easily use the image processing result while leaving the original image data when performing image processing on the image data.
According to the invention of claim 2, an image data set in which at least a parameter is associated with the image data can be created in order to realize this, and according to the invention of claim 3, the image data If the set exists, the set desired image processing result can be reproduced.

さらに、請求項4にかかる発明によれば、画像処理の内容をより具体的に表すことができるようになる。また、これによって再現性もより確保しやすくなる。
さらに、請求項5にかかる発明によれば、実質的に複数の対応の再現結果を用意でき、状況に応じた再現結果を選択することができる。
さらに、請求項6にかかる発明によれば、実行条件などを顧慮して最適な画像処理結果を提供できるようになる。
Furthermore, according to the invention of claim 4, the contents of the image processing can be expressed more specifically. This also makes it easier to ensure reproducibility.
Furthermore, according to the fifth aspect of the present invention, a plurality of corresponding reproduction results can be prepared substantially, and a reproduction result corresponding to the situation can be selected.
Further, according to the sixth aspect of the present invention, an optimum image processing result can be provided in consideration of execution conditions and the like.

さらに、請求項7にかかる発明によれば、実行順序を再現することによって不可逆的な画像処理によるバリエーションを増やしたり、画像処理過程を再現することが可能となる。
さらに、請求項8にかかる発明によれば、個別に用意したパラメータだけで複数の画像処理結果を得られることになるため、ファイル容量をさほど増やすことなく、複数の画像データを提供することができる。
さらに、請求項9にかかる発明によれば、画素の状況に応じてより適切な画像処理を適用させることが可能となる。
Furthermore, according to the seventh aspect of the present invention, it is possible to increase variations due to irreversible image processing or to reproduce the image processing process by reproducing the execution order.
Furthermore, according to the eighth aspect of the present invention, since a plurality of image processing results can be obtained with only individually prepared parameters, a plurality of image data can be provided without increasing the file capacity. .
Furthermore, according to the invention concerning Claim 9, it becomes possible to apply more suitable image processing according to the condition of a pixel.

さらに、請求項10にかかる発明によれば、階層構造を利用して関連づけなどを容易にできるようになる。
さらに、請求項11にかかる発明によれば、サムネールデータを利用して処理の負担を軽減できる。
さらに、請求項12にかかる発明によれば、画像データの保存状況に即して最適な対応が可能であり、特に書き込み不能な領域や書き込みが好ましくない画像データとパラメータとの対応付けも実現できるようになる。
Furthermore, according to the tenth aspect of the present invention, it is possible to easily perform association using a hierarchical structure.
Furthermore, according to the invention concerning Claim 11, the burden of a process can be reduced using thumbnail data.
Furthermore, according to the invention of claim 12, it is possible to optimally cope with the storage state of the image data, and it is possible to realize the association between the parameters that are not writable or the image data that is not preferable for writing and the parameters. It becomes like this.

さらに、請求項13にかかる発明によれば、パラメータの設定を自動化することが可能となる。
さらに、請求項14にかかる発明によれば、画像処理部を画像処理に対応して用意しておくことにより画像再現処理を簡易に実現でき、また、外部に存在する画像処理部なども容易に実施させることができるようになる。
さらに、請求項15にかかる発明によれば、同様の効果を奏することが可能な画像データセットを記録した媒体を提供でき、請求項16〜請求項29にかかる発明によれば、同様の効果を奏することが可能な画像データ処理プログラムを記録した媒体を提供でき、請求項30〜請求項36にかかる発明によれば、画像データ処理方法を提供できる。
Furthermore, according to the invention of claim 13, parameter setting can be automated.
Furthermore, according to the fourteenth aspect of the present invention, image reproduction processing can be easily realized by preparing an image processing unit corresponding to image processing, and an image processing unit existing outside can be easily performed. Can be implemented.
Furthermore, according to the invention according to claim 15, it is possible to provide a medium on which an image data set capable of exhibiting the same effect can be provided, and according to the invention according to claims 16 to 29, the same effect can be provided. A medium in which an image data processing program that can be played is recorded can be provided. According to the inventions according to claims 30 to 36, an image data processing method can be provided.

<第一の実施例>
以下、図面にもとづいて本発明の実施形態を説明する。
図1は、本発明の一実施形態にかかる画像データ処理装置を対応概略構成図により示している。
デジタルスチルカメラなどで撮影した画像データは、コンピュータなどの外部記憶装置などを利用して管理することになる。かかる外部記憶装置などに該当するデータ保存手段A1はこれらの複数の画像データとともにそれぞれに対応するパラメータを関連づけて記憶し、コンピュータによるデータベース管理などによって適宜変更、追加、削除などといった管理が行われる。
<First embodiment>
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a schematic diagram showing a configuration of an image data processing apparatus according to an embodiment of the present invention.
Image data captured by a digital still camera or the like is managed using an external storage device such as a computer. The data storage means A1 corresponding to such an external storage device stores these plural pieces of image data in association with the corresponding parameters, and performs management such as change, addition, deletion, etc. as appropriate by database management by a computer.

このような管理を行うため、データ保存手段A1には、画像データ記憶領域A11とパラメータ記憶領域A12と関連付け情報記憶領域A13が確保されている。画像データ記憶領域A11には画像データが記憶されるが、一括したデータベース構造としても良いし、それぞれ個別のファイルを格納する領域としてもよい。パラメータ記憶領域A12は個別の画像データに対する画像処理の指示を示す情報であり、画像データと比べると比較的容量は小さい。この場合も、一括したデータベース構造としても良いし、それぞれ個別のファイルを生成してもよい。関連付け情報記憶領域A13はパラメータ記憶領域A12に記憶されるパラメータと画像データ記憶領域A11に記憶される画像データとを関連づける関連付け情報が記録される。このように関連させる手法は様々であり、一例としてパラメータのデータベース構造を形成しつつその索引情報として構成すれば、パラメータ記憶領域A12と関連付け情報記憶領域A13とは不可分一体的に実現される。なお、画像データ記憶領域A11については着脱自由な記録メディア等も当然に含まれるし、また、物理的に画像データ記憶領域A11とパラメータ記憶領域A12と関連付け情報記憶領域A13とが同一の装置である必要はない。さらに、画像データ記憶領域A11が複数の装置などからアクセスされる共有領域であっても良い。   In order to perform such management, the data storage unit A1 has an image data storage area A11, a parameter storage area A12, and an association information storage area A13. Image data is stored in the image data storage area A11, but it may have a collective database structure or an area for storing individual files. The parameter storage area A12 is information indicating an image processing instruction for individual image data, and has a relatively small capacity compared to the image data. In this case as well, the database structure may be a batch, or individual files may be generated. In the association information storage area A13, association information for associating the parameters stored in the parameter storage area A12 with the image data stored in the image data storage area A11 is recorded. There are various methods for relating them as described above, and as an example, the parameter storage area A12 and the association information storage area A13 are inseparably integrated if they are configured as index information while forming a parameter database structure. Note that the image data storage area A11 naturally includes a removable recording medium, and the image data storage area A11, the parameter storage area A12, and the association information storage area A13 are physically the same device. There is no need. Further, the image data storage area A11 may be a shared area accessed from a plurality of devices.

また、コンピュータ自身における入出力機器およびコンピュータ自身の演算結果によって実現されるパラメータ設定手段A2によって画像データの管理操作あるいは演算などによって画像処理の内容を表すパラメータを設定すると、このデータ保存手段A1はデータベース管理を介して対応するパラメータと画像データとを関連付けて管理処理を実行することになり、この際に関連付け情報が生成される。このパラメータ設定手段A2は結果的にパラメータを生成するものであり、GUIを介してユーザーからの画像処理の指示を受け付けてパラメータを設定する場合や、画像データを独自に検査して所定の目的に添う画像処理を実現するパラメータを設定する場合を含んでいる。関連付け情報は、様々なものを利用でき、対応テーブルを用意しても良いし、ファイル名を関連させても良いし、保存領域を一致させるなどして関連付けるものであってもよい。   Further, when a parameter representing image processing contents is set by image data management operation or calculation by the input / output device in the computer itself and the parameter setting means A2 realized by the calculation result of the computer itself, the data storage means A1 is a database Management processing is executed by associating corresponding parameters with image data through management, and association information is generated at this time. This parameter setting means A2 generates parameters as a result. The parameter setting means A2 accepts an image processing instruction from the user via the GUI and sets the parameters, or the image data is independently inspected for a predetermined purpose. This includes the case of setting parameters for realizing the accompanying image processing. A variety of association information can be used, and a correspondence table may be prepared, a file name may be associated, or a storage area may be associated to be associated.

このようにして上記データ保存手段A1には、画像データとそれに実施すべき画像処理の内容を表すパラメータが関連付け情報によって関連づけがなされて保存されることになる。そして、データ取得手段A4は、このデータ保存手段A1は関連付け情報記憶領域A13の情報に基づいて対応する画像データとパラメータとを画像データ記憶領域A11とパラメータ記憶領域A12とから取得し、画像処理再現手段A3に出力する。このデータ取得手段A4も一般的にはGUIを介してユーザーからの画像選択の指示を受け付けて取得する画像データを特定することになるが、特定する方法はこれに限られない。例えば、コンピュータなどでは外部のアプリケーションから所定の引数を与えられて対象とする画像データを特定され、これによって画像データを特定して取得しつつ画像処理再現手段A3に引き渡すことも可能である。また、画像データを取得する態様は具体的なハードウェアによって変化し、メモリ上に展開されている状態で単に画像データを変数にセットするだけのような場合でも取得したものと同視できる。   In this way, the data storage means A1 stores the image data and the parameters representing the contents of the image processing to be performed on the image data in association with the association information. Then, the data acquisition means A4 acquires the corresponding image data and parameters from the image data storage area A11 and the parameter storage area A12 based on the information in the association information storage area A13, and reproduces the image processing. Output to means A3. The data acquisition unit A4 also generally specifies image data to be acquired by receiving an image selection instruction from the user via the GUI, but the method of specifying is not limited thereto. For example, in a computer or the like, a predetermined argument is given from an external application to specify target image data, and the image data can be specified and acquired by this to be transferred to the image processing reproduction unit A3. The manner in which the image data is acquired varies depending on the specific hardware, and can be regarded as acquired even when the image data is simply set as a variable in a state where it is expanded on the memory.

画像処理再現手段A3はパラメータに対応した修整処理を実現するものであり、複数の修整エンジンA31〜A3nを備える。各修整エンジンA3xは画像データとパラメータが与えられたときに同パラメータが表す各修整エンジンA3xに応じた修整を同画像データに施して新たに修整画像データを生成し、これを出力する。ここで画像データはオリジナルとして扱われ、修整画像データは新たに生成される。むろん、新たに生成した画像データによってオリジナルの画像データを上書きすることは自由であり、データ保存手段A1における画像データ記憶領域A11に上書き保存してもよい。修整エンジンA31〜A3nは数種の変換結果が得られるという意味で複数存在するように表示しているが、実質的に一つの修整エンジンであってパラメータ次第で数種の変換結果が得られるものであっても良いし、個別の修整エンジンを用意してそれぞれ別個に変換結果が得られるものであっても良い。また、修整エンジンA31〜A3nはアプリケーション自体が内部に備えるものに限らず、外部に存在する修整エンジンA31〜A3nを選択するものであっても良い。   The image processing reproduction means A3 realizes a modification process corresponding to the parameter, and includes a plurality of modification engines A31 to A3n. When each modification engine A3x is provided with image data and parameters, the modification engine A3x represented by the parameters is subjected to modification corresponding to each modification engine A3x to newly generate modified image data and output it. Here, the image data is treated as an original, and the modified image data is newly generated. Of course, it is free to overwrite the original image data with the newly generated image data, and it may be overwritten and stored in the image data storage area A11 in the data storage means A1. The modification engines A31 to A3n are displayed so that there are a plurality of conversion results in the sense that several conversion results can be obtained. However, the modification engines A31 to A3n are substantially one modification engine and can obtain several conversion results depending on parameters. Alternatively, individual modification engines may be prepared and conversion results may be obtained separately. Further, the modification engines A31 to A3n are not limited to those provided in the application itself, but may be those that select the modification engines A31 to A3n existing outside.

なお、データ保存手段A1やパラメータ設定手段A2や画像処理再現手段A3やデータ取得手段A4は単独のハードウェアでのみ実現可能なものではなく、汎用的なコンピュータシステム10を利用して実現することが可能であり、そのようにソフトウェアで上記構成を実現する場合はそれぞれがデータ保存ステップA1、パラメータ設定ステップA2、データ取得ステップA4、画像再現処理ステップA3として実現される。   The data storage means A1, parameter setting means A2, image processing reproduction means A3, and data acquisition means A4 are not realizable only by a single hardware, but can be realized by using a general-purpose computer system 10. In the case where the above-described configuration is realized by software, the data storage step A1, the parameter setting step A2, the data acquisition step A4, and the image reproduction processing step A3 are realized.

本実施形態においてはこのような画像データ処理装置を実現するハードウェアの一例としてコンピュータシステム10を採用している。図2は、同コンピュータシステム10をブロック図により示している。本コンピュータシステム10は、画像データを直接的に入力する画像入力デバイスとして、スキャナ11aとデジタルスチルカメラ11bとビデオカメラ11cとを備えており、コンピュータ本体12に接続されている。それぞれの入力デバイスは画像をドットマトリクス状の画素で表現した画像データを生成してコンピュータ本体12に出力可能となっており、ここで同画像データはRGBの三原色においてそれぞれ256階調表示することにより、約1670万色を表現可能となっている。   In the present embodiment, a computer system 10 is employed as an example of hardware that realizes such an image data processing apparatus. FIG. 2 is a block diagram showing the computer system 10. The computer system 10 includes a scanner 11 a, a digital still camera 11 b, and a video camera 11 c as image input devices for directly inputting image data, and is connected to a computer main body 12. Each input device can generate image data in which an image is expressed by a dot matrix pixel and output the image data to the computer main body 12. Here, the image data is displayed in 256 gradations for each of the three primary colors of RGB. About 16.7 million colors can be expressed.

コンピュータ本体12には、外部補助記憶装置としてのフロッピーディスクドライブ13aとハードディスク13bとCD−ROMドライブ13cとが接続されており、ハードディスク13bにはシステム関連の主要プログラムが記録されており、フロッピーディスクやCD−ROMなどから適宜必要なプログラムなどを読み込み可能となっている。
また、コンピュータ本体12を外部のネットワークなどに接続するための通信デバイスとしてモデム14aが接続されており、外部のネットワークに同公衆通信回線を介して接続し、ソフトウェアやデータをダウンロードして導入可能となっている。この例ではモデム14aにて電話回線を介して外部にアクセスするようにしているが、LANアダプタを介してネットワークに対してアクセスする構成とすることも可能である。
A floppy disk drive 13a, a hard disk 13b, and a CD-ROM drive 13c as external auxiliary storage devices are connected to the computer main body 12, and main programs related to the system are recorded on the hard disk 13b. Necessary programs and the like can be read from a CD-ROM or the like as appropriate.
In addition, a modem 14a is connected as a communication device for connecting the computer main body 12 to an external network or the like, and it can be connected to an external network via the public communication line, and can be installed by downloading software and data. It has become. In this example, the modem 14a accesses the outside via a telephone line, but it is also possible to adopt a configuration where the network is accessed via a LAN adapter.

ここで、外部補助記憶装置のうち、フロッピーディスクドライブ13aやCD−ROMドライブ13cについては、記録媒体自身が交換可能であり、この記録媒体に画像データが記録された状態で供給されることにより、画像入力デバイスの一手段ともなりうる。また、モデム14aやLANアダプタを介してネットワークにアクセスした場合、このネットワークから画像データが供給されることもあり、このような場合も画像入力デバイスの一手段となりうる。なお、ネットワークにアクセスするのは、データを取得する場合に限らず、プログラムの一部や、外部的に起動可能な別プログラムを取得する場合もある。これにより、修整エンジンの一部あるいは全部を外部から取得したり、外部にあるものに実行を委ねるということも可能である。   Here, among the external auxiliary storage devices, the floppy disk drive 13a and the CD-ROM drive 13c can be replaced by the recording medium itself, and supplied with the image data recorded on the recording medium. It can also be a means of an image input device. Further, when a network is accessed via the modem 14a or the LAN adapter, image data may be supplied from this network. In such a case, it can be a means of an image input device. The access to the network is not limited to acquiring data, but a part of the program or another program that can be started externally may be acquired. As a result, part or all of the modification engine can be acquired from the outside, or execution can be entrusted to the outside.

この他、コンピュータ本体12の操作用にキーボード15aやポインティングデバイスとしてのマウス15bも接続され、さらに、マルチメディア対応のためにスピーカ18aやマイク18bを備えている。
さらに、画像出力デバイスとして、ディスプレイ17aとカラープリンタ17bとを備えている。ディスプレイ17aについては水平方向に800画素と垂直方向に600画素の表示エリアを備えており、各画素毎に上述した1670万色の表示が可能となっている。むろん、この解像度は一例に過ぎず、640×480画素であったり、1024×768画素であるなど、適宜、変更可能である。
In addition, a keyboard 15a and a mouse 15b as a pointing device are connected for operating the computer main body 12, and a speaker 18a and a microphone 18b are provided for multimedia support.
Furthermore, a display 17a and a color printer 17b are provided as image output devices. The display 17a has a display area of 800 pixels in the horizontal direction and 600 pixels in the vertical direction, and the above-described display of 16.7 million colors can be performed for each pixel. Of course, this resolution is only an example, and can be changed as appropriate, such as 640 × 480 pixels or 1024 × 768 pixels.

また、印刷装置としてのカラープリンタ17bはインクジェットプリンタであり、CMYKの四色の色インクを用いて記録媒体たる印刷用紙上にドットを付して画像を印刷可能となっている。画像密度は360×360dpiや720×720dpiといった高密度印刷が可能となっているが、階調表限については色インクを付すか否かといった2階調表現となっている。色インクについては、かかる四色のものに限らず、色の薄いライトシアンやライトマゼンタを加えた六色によってドットの目立ちを低減させることも可能であるし、インクジェット方式に限らずカラートナーを利用した静電写真方式などを採用することも可能である。また、印刷装置は必ずしもカラープリンタである必要はなく、白黒のプリンタであっても良い。後述するように白黒再現においてはそれに応じた最適な画像処理がありえるし、かかる画像処理を画像データに施してしまうと再度カラーで再現したい場合には不都合なことが生じる。しかしながら、本発明においては、あくまでも元の画像データは残されることになり、そのような画像処理も容易に実行してしまうことが可能となる。   A color printer 17b as a printing apparatus is an ink jet printer, and can print an image by adding dots on a printing paper as a recording medium using four color inks of CMYK. The image density is capable of high-density printing such as 360 × 360 dpi or 720 × 720 dpi, but the gradation table has a two-gradation expression such as whether or not color ink is applied. The color ink is not limited to such four colors, and it is possible to reduce the conspicuousness of dots by adding light cyan and light magenta, which are light in color, and not only the ink jet method but also color toner is used. It is also possible to employ an electrostatic photographic method. The printing apparatus is not necessarily a color printer, and may be a monochrome printer. As will be described later, in black-and-white reproduction, there can be optimum image processing corresponding to the reproduction, and if such image processing is applied to the image data, inconvenience occurs when it is desired to reproduce in color again. However, in the present invention, the original image data is left, and such image processing can be easily executed.

一方、このような画像入力デバイスを使用して画像を入力しつつ、画像出力デバイスに表示あるいは出力するため、コンピュータ本体12内では所定のプログラムが実行されることになる。そのうち、基本プログラムとして稼働しているのはオペレーティングシステム(OS)12aであり、このオペレーティングシステム12aにはディスプレイ17aでの表示を行わせるディスプレイドライバ(DSP DRV)12bとカラープリンタ17bに印刷出力を行わせるプリンタドライバ(PRT DRV)12cが組み込まれている。これらのドライバ12b,12cの類はディスプレイ17aやカラープリンタ17bの機種に依存しており、それぞれの機種に応じてオペレーティングシステム12aに対して追加変更可能である。また、機種に依存して標準処理以上の付加機能を実現することもできるようになっている。すなわち、オペレーティングシステム12aという標準システム上で共通化した処理体系を維持しつつ、許容される範囲内での各種の追加的処理を実現できる。   On the other hand, in order to display or output to the image output device while inputting an image using such an image input device, a predetermined program is executed in the computer main body 12. Among them, an operating system (OS) 12a is operating as a basic program, and the operating system 12a performs a print output to a display driver (DSP DRV) 12b for displaying on the display 17a and a color printer 17b. A printer driver (PRT DRV) 12c is installed. These types of drivers 12b and 12c depend on the models of the display 17a and the color printer 17b, and can be added to and changed from the operating system 12a according to the respective models. In addition, depending on the model, additional functions beyond standard processing can be realized. That is, various additional processes within an allowable range can be realized while maintaining a common processing system on the standard system called the operating system 12a.

むろん、このようなプログラムを実行する前提として、コンピュータ本体12内にはCPU12eとRAM12fとROM12gとI/O12hなどが備えられており、演算処理を実行するCPU12eがRAM12fを一時的なワークエリアや設定記憶領域として使用したりプログラム領域として使用しながら、ROM12gに書き込まれた基本プログラムを適宜実行し、I/O12hを介して接続されている外部機器及び内部機器などを制御している。   Of course, the computer main body 12 is provided with a CPU 12e, a RAM 12f, a ROM 12g, an I / O 12h, etc. as a premise for executing such a program, and the CPU 12e for executing arithmetic processing sets the RAM 12f in a temporary work area or setting. A basic program written in the ROM 12g is appropriately executed while being used as a storage area or a program area, and external devices and internal devices connected via the I / O 12h are controlled.

この基本プログラムとしてのオペレーティングシステム12a上でアプリケーション12dが実行される。アプリケーション12dの処理内容は様々であり、操作デバイスとしてのキーボード15aやマウス15bの操作を監視し、操作された場合には各種の外部機器を適切に制御して対応する演算処理などを実行し、さらには、処理結果をディスプレイ17aに表示したり、カラープリンタ17bに出力したりすることになる。   The application 12d is executed on the operating system 12a as the basic program. The processing contents of the application 12d are various. The operation of the keyboard 15a and the mouse 15b as operation devices is monitored, and when operated, various external devices are appropriately controlled to execute corresponding arithmetic processing, Furthermore, the processing result is displayed on the display 17a or output to the color printer 17b.

かかるコンピュータシステム10では、画像入力デバイスであるスキャナ11aなどで写真などを読み取って画像データを取得することができる他、デジタルスチルカメラ11bで撮影した画像データを取得したり、ビデオカメラ11cで撮影した動画としての画像データを取得することができる。また、予め撮影された各種の画像データがCD−ROMソフトとして提供されることも多々あるし、予め画像データを一つの記憶領域に保存しておいた上で複数の人間がネットワークを介してアクセスすることも多い。   The computer system 10 can acquire image data by reading a photograph or the like with a scanner 11a as an image input device, and can also acquire image data captured with a digital still camera 11b or a video camera 11c. Image data as a moving image can be acquired. In addition, various types of pre-photographed image data are often provided as CD-ROM software, and the image data is stored in a single storage area before being accessed by multiple people over the network. There are many things to do.

デジタルスチルカメラ11bで撮影した画像データはハードディスク13bにまとめて保存しておくことが多く、このような画像データはディスプレイ17a上で鑑賞して楽しむばかりでなく、カラープリンタ17bで出力して楽しむことも多い。画像データの利点として、写りが悪くても容易に修整できる点がある。すなわち、カラープリンタ17bで印刷するにあたって元の画像データのままでは写りが悪いなど、フォトレタッチなどで修整が行われる。このようにして、画像データの管理と画像の修整を行なう画像データ処理装置の必要性が生じ、アプリケーション12dとコンピュータシステム10とが有機一体化して画像データ処理装置を実現することになる。   Image data taken with the digital still camera 11b is often stored together on the hard disk 13b, and such image data is not only enjoyed on the display 17a but also output on the color printer 17b. There are many. As an advantage of image data, there is a point that it can be easily corrected even if the image is poor. That is, when printing with the color printer 17b, correction is performed by photo retouching or the like such that the original image data is not captured as it is. In this way, there is a need for an image data processing apparatus that manages image data and corrects an image, and the application 12d and the computer system 10 are organically integrated to realize an image data processing apparatus.

この意味で、画像データ処理ソフトであるアプリケーション12dは、デジタルスチルカメラ11bで撮影された画像データをハードディスク13bに記憶して管理したり、CD−ROMドライブ13cを介してCD−ROMによって供給される画像データを適宜入力できるようにして管理しつつ、後述するようにパラメータも併せて管理する。従って、この意味で関連するソフトウェアとハードウェアとによってデータ保存手段A1を構成する。   In this sense, the application 12d, which is image data processing software, stores and manages image data captured by the digital still camera 11b in the hard disk 13b, or is supplied by the CD-ROM via the CD-ROM drive 13c. While managing image data so that it can be input as appropriate, it also manages parameters as will be described later. Therefore, the data storage means A1 is constituted by software and hardware related in this sense.

また、このようにして記憶されている画像データについては、アプリケーション12dによって処理対象を特定した上で上述したような対応するパラメータと共に内部の画像処理ルーチンによって画像処理することになり、この意味で関連するソフトウェアとハードウェアとによって画像処理再現手段A3を構成する。
そして、アプリケーション12dは、オペレーティングシステム12aを介してキーボード15aやマウス15bの操作を入力しつつ所定の対応画面を生成してディスプレイ17a上に表示するが、このようなGUI処理を経て対象とする画像データを選定し、実行する画像処理を特定していくという意味で関連するソフトウェアとハードウェアとによってパラメータ設定手段A2を構成する。さらに、既に保存されている画像データを読み出したときに予め特定しておいた画像処理を実行可能とするようにパラメータを読み込む意味で関連するソフトウェアとハードウェアとによってデータ取得手段A4を構成する。
Further, the image data stored in this way is subjected to image processing by an internal image processing routine together with the corresponding parameters as described above after specifying the processing target by the application 12d. The image processing reproduction means A3 is configured by software and hardware.
Then, the application 12d generates a predetermined corresponding screen while inputting the operation of the keyboard 15a and the mouse 15b via the operating system 12a and displays them on the display 17a. The target image is obtained through such GUI processing. The parameter setting means A2 is configured by related software and hardware in the sense of selecting data and specifying image processing to be executed. Furthermore, the data acquisition means A4 is configured by related software and hardware in order to read parameters so that image processing specified in advance when image data that has already been stored is read can be executed.

なお、このようなソフトウェアは、ハードディスク13bに記憶されており、コンピュータ本体12にて読み込まれて稼働する。また、導入時にはCD−ROM13c−1であるとかフロッピーディスク13a−1などの媒体に記録されてインストールされる。従って、これらの媒体は画像データ処理プログラムを記録した媒体を構成する。
図3は上記画像データ処理ソフトによる制御内容をブロック化して表しており、各種の総合的な制御を行うメイン制御部60と、各種の共通的な制御を行う共通機能部20と、画像データの管理を行うフィルムデータ管理部30と、各画像データについて画像修整を実行する画像修整制御部40と、一連の印刷処理を実行するDPE印刷制御部50から構成されている。
Such software is stored in the hard disk 13b and is read and operated by the computer main body 12. At the time of introduction, it is recorded on a medium such as the CD-ROM 13c-1 or the floppy disk 13a-1 and installed. Therefore, these media constitute a medium on which an image data processing program is recorded.
FIG. 3 shows the contents of control by the image data processing software in a block form. The main control unit 60 performs various comprehensive controls, the common function unit 20 performs various common controls, and the image data. It comprises a film data management unit 30 that performs management, an image modification control unit 40 that performs image modification for each image data, and a DPE print control unit 50 that performs a series of printing processes.

メイン制御部60は、後述する各種フローを適宜選択して実行するものであり、その他、他に分類されない各種の機能も実行する。そのうちの一つが環境設定部60aであり、本画像データ処理ソフトにおいて共通の設定などを設定情報ファイル60bとしてハードディスク13b上に記録し、適宜他の機能部から読み出し可能としている。この設定情報ファイル60bは、各種のデフォルト指定、例えば、新たな画像データの取り込み元の指定であるとか、後述するような印刷処理で次回に引き継ぐためのページのパラメータであるといったような類のものが記録されることになる。   The main control unit 60 appropriately selects and executes various flows to be described later, and also executes various other functions not classified elsewhere. One of them is an environment setting unit 60a, which records common settings and the like in the image data processing software on the hard disk 13b as a setting information file 60b and can be read out from other functional units as appropriate. This setting information file 60b has various default designations, such as designation of a new image data import source, or a page parameter to be carried over to the next time in print processing as will be described later. Will be recorded.

共通機能部20については、図4にその詳細ブロックを示しており、そのいくつかは他の機能部からも共通して呼び出せるようになっている。例えば、画像選択部20aはサムネール作成部20iにて各画像データについてサムネールを作成させつつ画像表示部20mにてディスプレイ17aに複数のサムネール画像を表示させ、その状態でキーボード15aやマウス15bによる選択操作を受け付けることによって各画像についての選択の有無を入力する。むろん、選択操作に伴って表示を変えたりする場合には適宜画像表示部20mにて表示を変更させるし、選択の結果は他の機能部に受け渡すことになる。また、表示指定部20bは画面上での表示を指定するものであり、GUI操作に応じてウィンドウ領域の大きさなどを変更したときに対応して画像の表示を適宜指定することになる。   Detailed blocks of the common function unit 20 are shown in FIG. 4, and some of them can be called from other function units in common. For example, the image selection unit 20a displays a plurality of thumbnail images on the display 17a on the image display unit 20m while generating thumbnails for each image data in the thumbnail generation unit 20i, and in this state, a selection operation using the keyboard 15a and the mouse 15b. To accept whether or not each image is selected. Of course, when the display is changed in accordance with the selection operation, the display is appropriately changed by the image display unit 20m, and the selection result is transferred to another function unit. The display designation unit 20b designates display on the screen, and appropriately designates display of an image corresponding to a change in the size of the window area or the like according to the GUI operation.

ファイル編集部20cは画像データの保存領域を適宜変更する操作などを実行し、検索部20dは画像ファイルと併せて管理されるパラメータに基づいてコメントであるとか日付などによって検索を実行するものである。一括コメント部20eでは複数の画像データに対するコメント付けを一括して処理するものであり、一括整理部20fは画像データやパラメータを一括して同時に処理するものである。   The file editing unit 20c executes an operation for appropriately changing the storage area of the image data, and the search unit 20d executes a search based on a parameter, a comment, or a date based on parameters managed together with the image file. . The batch comment unit 20e processes commenting for a plurality of image data at once, and the batch organization unit 20f processes image data and parameters at the same time.

画像処理部20gと画像編集部20hは、画像修整制御部40が主に画像処理の自動実行をするにあたって各種のパラメータを生成するのに対して、実際に画像処理を実行する部分であり、さらに手動にて指定される画像処理も実行する。この処理結果は原則的に仮のデータとして扱われ、実際の処理時にオリジナル画像データに変更を加える指定がなされている場合は元の画像データに反映される。また、表示や処理時間の便宜上から必ずしも元の画像データに基づいて実行する必要はなく、操作中はサムネールの画像データに基づいて画像処理部20gや画像編集部20hが各種の処理を実行する。   The image processing unit 20g and the image editing unit 20h are portions that actually execute image processing, whereas the image modification control unit 40 mainly generates various parameters when performing automatic image processing. Manual image processing is also executed. In principle, this processing result is treated as temporary data, and if the original image data is specified to be changed during actual processing, it is reflected in the original image data. For convenience of display and processing time, it is not always necessary to execute the process based on the original image data. During the operation, the image processing unit 20g and the image editing unit 20h execute various processes based on the thumbnail image data.

画像入力部20jは画像データの記憶領域がファイル編集部20cによって既に登録されている場合に、画像処理や印刷処理の際に同画像データを読み込んでくる処理を行い、また、画像データとして各種のデータフォーマットが存在するのに対応し画像出力部20kは形式を変換して出力するといった処理を実行する。
次に、フィルムデータ管理部30について説明する。図5は、本フィルムデータ管理部30が管理する画像データである画像ファイル30aと、パラメータを含む写真データ30bと、画像データのグループ化において利用するフィルムデータ30cの管理構造をブロック図により示している。ここで、画像データはコンピュータシステム10においてファイルとして扱われることにより、画像ファイルとして示しているし、パラメータはそれぞれの画像データに対応する各種の情報とともに写真データ30bとして示している。また、フィルムデータ30cは画像データをグループ化して管理するための情報であり、図6にはフィルムメタファとして示している。ここで写真データ30bのデータベースは、コンピュータシステム10上における書き換え可能な記憶領域に保存されるものとし、また、複数存在するフィルムメタファに関わらず一定の領域に保存される。むろん、物理的に複数のデータベースとすることは可能であるが、要は必ずしも画像データが現実に記憶されている媒体に形成される必要はないということである。
When the image data storage area is already registered by the file editing unit 20c, the image input unit 20j performs processing for reading the image data during image processing and printing processing, and various kinds of image data are also included. In response to the existence of the data format, the image output unit 20k executes a process of converting the format and outputting it.
Next, the film data management unit 30 will be described. FIG. 5 is a block diagram showing a management structure of an image file 30a which is image data managed by the film data management unit 30, photographic data 30b including parameters, and film data 30c used for grouping image data. Yes. Here, the image data is handled as a file in the computer system 10 and thus shown as an image file, and the parameters are shown as photographic data 30b together with various information corresponding to each image data. The film data 30c is information for grouping and managing image data, and is shown as a film metaphor in FIG. Here, the database of the photographic data 30b is stored in a rewritable storage area on the computer system 10, and is stored in a fixed area regardless of a plurality of film metaphors. Of course, it is possible to physically create a plurality of databases, but the point is that the image data need not necessarily be formed on a medium in which image data is actually stored.

同図では、画像ファイルの物理的記録形態を同図の左方に示しており、オペレーティングシステム12aによってフォルダ単位で階層構造が形成され、各フォルダの中に画像ファイルを記憶するようになっている。本実施形態における画像データのグループ化は、物理的にはまさにこのフォルダ単位の階層構造を利用しており、このフォルダ単位で情報を付加して管理している。すなわち、フィルムデータ30cを構成する最低限の情報は、任意につけることが可能なフィルム名、このフォルダの物理的配置情報としての実際の記憶領域を示すリンク先、作成した日付、コメント、媒体属性、媒体ラベル、フィルム属性、収容画像ファイル数などである。また、図に示すように各フォルダは管理上においてフィルムのパトローネと同視しており、別の視点からすれば実際の記憶領域を個別に意識することなくパトローネとして同一視してしまうので、エリアス管理にも近くなっている。なお、パトローネには物理的な記憶領域が交換可能な媒体であるか否かを示すマークを表示して利用者に分かりやすくしている。すなわち、画像ファイルがCD−ROMによって供給されているような場合は交換可能であるが、この場合はCD−ROMを交換することによって実際のCD−ROMドライブ13cに装着されていない場合もあり得る。このような場合にそのCD−ROMが装着されていなければ非表示としまうのではなく、フィルムデータ30cとして登録した以上は同データに基づいて表示が行われるし、その場合には交換可能なマークがあることによって操作者はCD−ROMをセットしなければ参照できないことが容易に理解できるようになる。   In the figure, the physical recording form of the image file is shown on the left side of the figure, and a hierarchical structure is formed in folder units by the operating system 12a, and the image file is stored in each folder. . The grouping of image data in the present embodiment physically uses this hierarchical structure in units of folders, and is managed by adding information in units of folders. That is, the minimum information constituting the film data 30c includes a film name that can be arbitrarily assigned, a link destination indicating an actual storage area as physical arrangement information of the folder, a created date, a comment, and a medium attribute. Media label, film attribute, number of stored image files, and the like. Also, as shown in the figure, each folder is administratively equated with a film patrone, and from a different perspective, the actual storage area is identified as a patrone without being individually conscious of it. Is also close. Note that a mark indicating whether the physical storage area is a replaceable medium is displayed on the cartridge for easy understanding by the user. That is, if the image file is supplied by a CD-ROM, it can be exchanged. In this case, the CD-ROM may be exchanged so that it is not attached to the actual CD-ROM drive 13c. . In such a case, if the CD-ROM is not mounted, the display is not hidden but the display is performed based on the same data as registered as the film data 30c. In this case, the replaceable mark is displayed. Therefore, the operator can easily understand that it cannot be referred to unless the CD-ROM is set.

この例では、交換可能なマークを示しているだけであるが、このようなマークを適宜変更して情報を表示するようにしても良い。例えば、交換可能な記憶領域であるとしてそのCD−ROMが装着されている場合と装着されていない場合とでマークを変えても良い。また、ネットワークで複数人が共有する記憶領域に画像データが保存されている場合には、各人で勝手に書き換えてしまうと収拾がつかなくなるため、ネットワークドライブを表すマークを表示するようにしても良い。むろん、ネットワークドライブであれば書き込み可能であっても書き込み不能の扱いをするようにしても良い。なお、マークを変化させるのではなく、パトローネ自体の形状を変更するようにしても良い。   In this example, only replaceable marks are shown, but information may be displayed by appropriately changing such marks. For example, the mark may be changed depending on whether the CD-ROM is attached or not attached as an exchangeable storage area. Also, if image data is stored in a storage area shared by multiple people on the network, it will not be able to be picked up if it is rewritten by each person, so a mark representing the network drive may be displayed. good. Of course, if it is a network drive, it may be treated as being writable but not writable. Instead of changing the mark, the shape of the cartridge itself may be changed.

写真データ30bの具体的構成は、図5および図6に示している。ここで、索引情報はファイル名とファイル日時とファイルサイズと撮影日時とから構成されており、画像ファイルを縮尺したサムネールデータをサムネールとして表示している。コメントは各画像ファイル毎に付すことができるようにしており、表示順序などを表す整理情報や、実際の記憶領域を示す位置情報や、マイク18bなどを介して付された音声情報とともに写真データ30bを構成している。   A specific configuration of the photographic data 30b is shown in FIGS. Here, the index information includes a file name, a file date and time, a file size, and a shooting date and time, and thumbnail data obtained by reducing the scale of the image file is displayed as a thumbnail. The comment can be attached to each image file. The photo data 30b is arranged together with the arrangement information indicating the display order, the position information indicating the actual storage area, and the audio information added via the microphone 18b. Is configured.

さらに、写真データ30bは修整情報と特徴情報と色合せ情報も備えている。上述したように本画像データ処理ソフトでは画像データの管理と画像の修整を行なうが、画像の修整によって元の画像データを直に変更してしまうのではなく、これらのパラメータによって修整する指針だけを修整情報として管理し、これに併せて特徴情報や色合わせ情報を管理できるようにしている。図7は修整情報を管理するための具体的な変数宣言例を示しており、トリミングに関する修整情報を表すトリミング開始X座標(m_x1)とトリミング開始Y座標(m_y1)とトリミング終了X座標(m_x2)とトリミング終了Y座標(m_y2)と、回転処理を実行する場合の回転角度(m_nRotation)と、自動画像修整(m_nApf)と、赤成分の強調度(m_nRed)と、緑成分の強調度(m_nGreen)と、青成分の強調度(m_Blue)と、明るさ成分の強調度(m_nBrightness)と、コントラストの強調度(m_nContrast)とから構成されている。   Furthermore, the photo data 30b also includes modification information, feature information, and color matching information. As described above, in this image data processing software, image data management and image modification are performed, but the original image data is not directly changed by image modification, but only guidelines for modification by these parameters. It is managed as modification information, and feature information and color matching information can be managed together. FIG. 7 shows a specific variable declaration example for managing the modification information. The trimming start X coordinate (m_x1), the trimming start Y coordinate (m_y1), and the trimming end X coordinate (m_x2) representing the modification information related to trimming. , Trimming end Y coordinate (m_y2), rotation angle (m_nRotation) when performing rotation processing, automatic image correction (m_nApf), red component enhancement level (m_nRed), and green component enhancement level (m_nGreen) And a blue component enhancement degree (m_Blue), a brightness component enhancement degree (m_nBrightness), and a contrast enhancement degree (m_nContrast).

ここで、本画像データ処理ソフトで実行可能な画像処理、特に自動画像修整にについて説明する。自動画像修整において核となるのは図8に示す画像修整制御部40であり、画像特徴抽出部40aが画像データに基づいて画像の特徴を抽出すると、修整情報作成部40bが修整に必要なパラメータを作成し、修整指定部40cは同パラメータを使って上述した画像処理部20gに対して実際の処理を実行させることになる。   Here, image processing that can be executed by the image data processing software, particularly automatic image correction, will be described. The core of the automatic image modification is the image modification control unit 40 shown in FIG. 8, and when the image feature extraction unit 40a extracts image features based on the image data, the modification information creation unit 40b has parameters necessary for the modification. The modification designating unit 40c causes the image processing unit 20g described above to execute actual processing using the same parameter.

図9はこの画像修整制御部40が実行する概略の手続の流れを模式的に示しており、以下にこの流れを参照しつつ自動画像修整処理について説明する。
手順1では画像データを入力する。画像データはオペレーティングシステム12aを介して読み込み、所定のワークエリアに保存する。ただし、既にサムネールデータを作成してある場合には、写真データ30bの中からサムネールデータを読み込んで画像データとする。特徴抽出は画像データの各画素についての集計処理であるため、画素の量に応じて演算時間は変化する。サムネールデータを使用するのはこのような画素の量の圧倒的な差異を考慮したものであり、本来の画像データを使用する場合に比べて処理時間を短くすることができる。なお、画像データ自体は一つのファイルであり、図10に示すように先頭部分に画像のサイズであるとか色数などのプロファイルデータを備えるとともに、その後には個々の画素についてRGB256階調で表現するべく3バイトのエリアが画素数分だけ確保されている。
FIG. 9 schematically shows a flow of a schematic procedure executed by the image modification control unit 40, and automatic image modification processing will be described below with reference to this flow.
In procedure 1, image data is input. The image data is read via the operating system 12a and stored in a predetermined work area. However, if thumbnail data has already been created, the thumbnail data is read from the photo data 30b and used as image data. Since the feature extraction is an aggregation process for each pixel of the image data, the calculation time varies depending on the amount of pixels. The use of the thumbnail data is in consideration of such an overwhelming difference in the amount of pixels, and the processing time can be shortened compared to the case of using the original image data. Note that the image data itself is one file, and as shown in FIG. 10, the head portion is provided with profile data such as the image size and the number of colors, and thereafter, each pixel is expressed in RGB 256 gradations. Therefore, a 3-byte area is reserved for the number of pixels.

画像データをワークエリアに読み込んだら、手順2〜4にて図11に示すようにして対象画素を移動させつつ同対象画素の画像データについて加工を行って集計処理を行う。集計処理の内容は画像の特徴量に応じて様々であるが、本実施形態においては、「コントラスト」、「明度」、「カラーバランス」、「彩度」、「シャープネス」の5つの特徴量を得るための集計処理を行う。また、全画素について集計処理を終えたら、手順5では集計結果に基づいて特徴量を算出する。以下、これらの集計処理とともにそれに基づいて導出する特徴量について説明する。   When the image data is read into the work area, the processing is performed on the image data of the target pixel while moving the target pixel as shown in FIG. The contents of the tabulation process vary depending on the feature amount of the image. In this embodiment, five feature amounts of “contrast”, “brightness”, “color balance”, “saturation”, and “sharpness” are included. Perform aggregation processing to obtain. In addition, when the aggregation process is completed for all the pixels, in step 5, a feature amount is calculated based on the aggregation result. Hereinafter, the feature amount derived based on these aggregation processes will be described.

コントラストは画像全体としての輝度の幅を示し、コントラストを修整したいと感じる場合、コントラストの幅を広げたいという要望が主である。ある画像の各画素における輝度の分布をヒストグラムとして集計したものを図12で実線にて示している。実線に示す分布を取る場合、明るい画素の輝度と暗い画素の輝度との差が少ないが、輝度の分布が一点鎖線に示すように広がれば明るい画素の輝度と暗い画素の輝度との差が大きくなり、コントラストの幅が広がることになる。ここで、図13はコントラストを拡大するための輝度変換を示している。変換元の輝度yと変換後の輝度Yとの間において、
Y=ay+b
なる関係で変換させるとすると、変換元の最大輝度Ymaxと最小輝度Yminの画素の差はa>1の場合において変換後において大きくなり、図12に示すように輝度の分布が広がることになる。従って、このようなヒストグラムを作成するとして輝度の最大値から輝度の最小値までの間隔をコントラストの幅として集計処理することが必要である。ただし、この場合はあくまでも輝度の変換であり、画像データが輝度を要素として備えていれば直接に集計が可能であるが、上述したように画像データはRGB256階調で表現されてているので、直接には輝度の値を持っていない。輝度を求めるためにLuv表色空間に色変換する必要があるが、演算量などの問題から得策ではないため、テレビジョンなどの場合に利用されているRGBから輝度を直に求める次式の変換式を利用する。
y=0.30R+0.59G+0.11B
すなわち、対象画素を移動させながら各画素の画像データである3バイトを読み込み、同式に基づいて輝度yを演算する。この場合、輝度yも256階調であらわすものとし、演算された輝度yに対する度数を1つずつ加えていくことになる。なお、白黒への変換はこの輝度を利用すればよく、求められた輝度の階調値をRGBの各成分値に一致させることで実現する。また、セピア調などの単色カラーについては輝度の階調値を求めた後でRGBの成分比に応じてRGBの各成分値を求めればよい。
Contrast indicates the width of the brightness of the entire image, and when it is desired to correct the contrast, there is mainly a desire to increase the width of the contrast. The brightness distribution in each pixel of an image is tabulated as a histogram and is shown by a solid line in FIG. When the distribution shown by the solid line is taken, the difference between the brightness of the bright pixel and the brightness of the dark pixel is small, but if the brightness distribution is widened as shown by the dashed line, the difference between the brightness of the bright pixel and the brightness of the dark pixel is large. As a result, the range of contrast is widened. Here, FIG. 13 shows luminance conversion for increasing the contrast. Between the luminance y after conversion and the luminance Y after conversion,
Y = ay + b
Therefore, the difference between the pixels of the maximum luminance Ymax and the minimum luminance Ymin of the conversion source becomes large after the conversion when a> 1, and the luminance distribution is widened as shown in FIG. Therefore, in order to create such a histogram, it is necessary to tabulate the interval from the maximum luminance value to the minimum luminance value as the contrast width. However, in this case, it is only luminance conversion, and if the image data has luminance as an element, it can be directly counted. It does not have a luminance value directly. In order to obtain the luminance, it is necessary to perform color conversion to the Luv color space. However, since this is not a solution because of problems such as the amount of computation, conversion of the following equation that directly obtains the luminance from RGB used in the case of a television or the like Use an expression.
y = 0.30R + 0.59G + 0.11B
That is, 3 bytes, which are image data of each pixel, are read while moving the target pixel, and the luminance y is calculated based on the same equation. In this case, the luminance y is also expressed by 256 gradations, and the frequency for the calculated luminance y is added one by one. The conversion to black and white may be performed by using this luminance, and is realized by matching the obtained luminance gradation value with each component value of RGB. For a monochromatic color such as a sepia tone, after obtaining the luminance gradation value, the RGB component values may be obtained in accordance with the RGB component ratio.

このようにして輝度分布のヒストグラムを得るのが手順2の画像データ集計処理であり、このヒストグラムに基づいて手順5の特徴量抽出処理では輝度分布の両端を求める。写真画像の輝度分布は図14に示すように概ね山形に表れる。むろん、その位置、形状についてはさまざまである。輝度分布の幅はこの両端をどこに決めるかによって決定されるが、単に裾野が延びて分布数が「0」となる点を両端とすることはできない。裾野部分では分布数が「0」付近で変移する場合があるし、統計的に見れば限りなく「0」に近づきながら推移していくからである。   In this way, the histogram of the luminance distribution is obtained in the image data totaling process of the procedure 2. In the feature amount extraction process of the procedure 5, both ends of the luminance distribution are obtained based on this histogram. The luminance distribution of a photographic image appears generally in a mountain shape as shown in FIG. Of course, there are various positions and shapes. The width of the luminance distribution is determined by where the both ends are determined. However, the point where the base is simply extended and the number of distributions becomes “0” cannot be the both ends. This is because the number of distributions may change around “0” in the base portion, and if it is statistically viewed, it changes while approaching “0” as much as possible.

このため、分布範囲において最も輝度の大きい側と小さい側からある分布割合だけ内側に寄った部分を分布の両端とする。本実施形態においては、同図に示すように、この分布割合を0.5%に設定している。むろん、この割合については、適宜、変更することが可能である。このように、ある分布割合だけ上端と下端をカットすることにより、ノイズなどに起因して生じている白点や黒点を無視することもできる。すなわち、このような処理をしなければ一点でも白点や黒点があればそれが輝度分布の両端となるので、255階調の輝度値であれば、多くの場合において最下端は階調「0」であるし、最上端は階調「255」となるが、上端部分から0.5%の画素数だけ内側に入った部分を端部とすることにより、このようなことが無くなる。そして、実際に得られたヒストグラムに基づいて画素数に対する0.5%を演算し、再現可能な輝度分布における上端の輝度値と下端の輝度値から順番に内側に向かいながらそれぞれの分布数を累積し、0.5%の値となった輝度値が最大輝度Ymaxと最小輝度Yminとなる。   For this reason, in the distribution range, portions that are closer to the inside by a certain distribution ratio from the side with the highest luminance and the side with the lowest luminance are defined as both ends of the distribution. In the present embodiment, as shown in the figure, this distribution ratio is set to 0.5%. Of course, this ratio can be appropriately changed. In this way, by cutting the upper end and the lower end by a certain distribution ratio, it is possible to ignore white spots and black spots caused by noise or the like. That is, if such a process is not performed, if there is even a single white point or black point, it becomes the both ends of the luminance distribution. Therefore, in the case of a luminance value of 255 gradations, in many cases, the lowest end is the gradation “0”. The uppermost end has a gradation of “255”. However, such a problem can be eliminated by setting the portion that is inward by 0.5% of the number of pixels from the upper end portion as an end portion. Then, 0.5% of the number of pixels is calculated based on the actually obtained histogram, and the number of distributions is accumulated inwardly starting from the luminance value at the upper end and the luminance value at the lower end in the reproducible luminance distribution. Then, the luminance value having a value of 0.5% becomes the maximum luminance Ymax and the minimum luminance Ymin.

輝度分布の幅Ydifは最大輝度Ymaxと最小輝度Yminの差であり、
Ydif=Ymax−Ymin
となる。
コントラストを拡大する画像処理としては、輝度の分布に応じて傾きaとオフセットbを決定すればよい。例えば、
a=255/(Ymax−Ymin)
b=−a・Yminあるいは255−a・Ymax
とおくとすると、せまい幅を持った輝度分布を再現可能な範囲まで広げることができる。ただし、再現可能な範囲を最大限に利用して輝度分布の拡大を図った場合、ハイライト部分が白く抜けてしまったり、ハイシャドウ部分が黒くつぶれてしまうことが起こる。これを防止するには再現可能な範囲の上端と下端に拡大しない範囲として輝度値で「5」ぐらいを残すようにすればよい。この結果、変換式のパラメータは次式のようになる。
a=245/(Ymax−Ymin)
b=5−a・Yminあるいは250−a・Ymax
そして、この場合にはY<Yminと、Y>Ymaxの範囲においては変換を行わないようにするとよい。
The width Ydif of the luminance distribution is the difference between the maximum luminance Ymax and the minimum luminance Ymin.
Ydif = Ymax−Ymin
It becomes.
As image processing for enlarging the contrast, the inclination a and the offset b may be determined according to the luminance distribution. For example,
a = 255 / (Ymax−Ymin)
b = −a · Ymin or 255−a · Ymax
If this is the case, the luminance distribution with a narrow width can be expanded to a reproducible range. However, when the luminance distribution is expanded by making the maximum use of the reproducible range, the highlight portion may be white and the high shadow portion may be black. In order to prevent this, it is only necessary to leave “5” as a luminance value as a range that does not expand to the upper end and the lower end of the reproducible range. As a result, the parameters of the conversion equation are as follows:
a = 245 / (Ymax−Ymin)
b = 5-a · Ymin or 250-a · Ymax
In this case, it is preferable not to perform conversion in the range of Y <Ymin and Y> Ymax.

また、このように変換するにあたって、毎回計算する必要はない。輝度の範囲が「0」〜「255」という値をとるとすれば、各輝度値について予め変換結果を予めておき、図15に示すように変換テーブルを形成しておく。ただ、この場合はあくまでも輝度の変換であり、RGB256階調の画像データの適用については別に考える必要がありそうである。しかしながら、実際には、変換前の画像データ(R0,G0,B0 )と変換後の画像データ(R1,G1,B1 )との間には輝度と同じ変換関係を適用可能であり、
R1=aR0+b
G1=aG0+b
B1=aB0+b
なる関係で求めることができるから、結果として図15に示す変換テーブルを利用して変換すればよいことが分かる。
Moreover, it is not necessary to calculate every time in this conversion. If the luminance range takes values “0” to “255”, a conversion result is previously set for each luminance value, and a conversion table is formed as shown in FIG. However, in this case, it is merely a luminance conversion, and it seems that it is necessary to consider separately the application of image data of RGB 256 gradations. However, in practice, the same conversion relationship as luminance can be applied between the image data before conversion (R0, G0, B0) and the image data after conversion (R1, G1, B1).
R1 = aR0 + b
G1 = aG0 + b
B1 = aB0 + b
As a result, it is understood that the conversion should be performed using the conversion table shown in FIG.

すなわち、手順5にて特徴抽出する作業は上述した最大輝度Ymaxと最小輝度Yminを求める作業が該当するし、手順6の修整情報作成処理ではこれらから輝度分布の幅Ydifを求めつつ変換式のパラメータa,bを求めて変換テーブルを作成する処理が該当する。そして、手順7の修整指定処理ではこのような変換テーブルを指定して変換前の画像データ(R0,G0,B0 )から変換後の画像データ(R1,G1,B1 )を生成させることになる。   In other words, the feature extraction operation in step 5 corresponds to the above-described operation for obtaining the maximum luminance Ymax and the minimum luminance Ymin. In the modification information creation processing in step 6, the parameters of the conversion formula are obtained while obtaining the width Ydif of the luminance distribution from these. This corresponds to the process of obtaining a and b and creating a conversion table. In the modification designating process of the procedure 7, such a conversion table is designated, and the image data (R1, G1, B1) after conversion is generated from the image data (R0, G0, B0) before conversion.

次に、明度について説明する。ここでいう画像の特徴量としての明度は画像全体の明暗の指標を意味しており、上述したヒストグラムから求められる分布の中央値(メジアン)Ymedを使用する。従って、この場合における集計処理は手順2にてコントラストのための集計処理と同時に行われる。
一方、手順5にて特徴量を分析する際には明度の理想値であるYmed_targetとの差(Ymed_target−Ymed)を算出すればよい。なお、理想値Ymed_targetの実際の値は「106」を使用するが、固定的なものではない。また、好みを反映して変更できるようにしても良い。
Next, brightness will be described. The lightness as the feature amount of the image here means an index of lightness and darkness of the entire image, and the median value (median) Ymed of the distribution obtained from the above-described histogram is used. Accordingly, the aggregation process in this case is performed simultaneously with the aggregation process for contrast in the procedure 2.
On the other hand, when analyzing the feature value in the procedure 5, the difference (Ymed_target-Ymed) from Ymed_target, which is an ideal value of lightness, may be calculated. The actual value of the ideal value Ymed_target uses “106”, but is not fixed. Further, it may be changed to reflect the preference.

この特徴量を利用して明度を修整する場合は次のようにする。中央値Ymedが理想値Ymed_targetと比較して大きいか小さいかで画像が明るいか否かを評価できる。例えば、中央値Ymedが「85」であるとすれば理想値Ymed_targetの「106」よりも小さいので、第一次的に「暗い」と評価されるし、第二次的に暗さの程度は「106−85」と数値的に表現される。   When correcting the brightness by using this feature amount, the following is performed. Whether the image is bright or not can be evaluated based on whether the median value Ymed is larger or smaller than the ideal value Ymed_target. For example, if the median value Ymed is “85”, it is smaller than the ideal value Ymed_target “106”. Therefore, the median value Ymed is first evaluated as “dark”, and secondarily the degree of darkness is It is expressed numerically as “106-85”.

図16は輝度のヒストグラムを示しているが、実線で示すように輝度分布の山が全体的に暗い側に寄っている場合には波線で示すように全体的に明るい側に山を移動させると良いし、逆に、図17にて実線で示すように輝度分布の山が全体的に明るい側に寄っている場合には波線で示すように全体的に暗い側に山を移動させると良い。このような場合には図13に示すような直線的な輝度の変換を施すのではなく、図18に示すようないわゆるγ曲線を利用した輝度の変換を行えばよい。   FIG. 16 shows a luminance histogram. When the peaks of the luminance distribution are on the dark side as shown by the solid line, the peaks are moved to the bright side as shown by the wavy line. On the contrary, when the peak of the luminance distribution is on the whole bright side as shown by the solid line in FIG. 17, it is preferable to move the mountain to the whole dark side as shown by the wavy line. In such a case, instead of performing linear luminance conversion as shown in FIG. 13, luminance conversion using a so-called γ curve as shown in FIG. 18 may be performed.

γ曲線による補正ではγ<1において全体的に明るくなるし、γ>1において全体的に暗くなる。上の例では中央値Ymedが「21」上がれば理想値Ymed_targetと一致することになるが、γ曲線を利用してぴったりと「21」上げるというのは容易ではない。このため、図19に示すように評価値である(Ymed_target−Ymed)について「5」刻み毎に対応するγの値を設定しておけばよい。この例では評価値の変動量「5」に対応してγの値を「0.05」ずつ変動させているが、両者の対応関係を適宜変更可能であることはいうまでもない。   In the correction using the γ curve, the entire image becomes bright when γ <1, and the entire image becomes dark when γ> 1. In the above example, if the median value Ymed increases by “21”, it will coincide with the ideal value Ymed_target. However, it is not easy to increase “21” exactly by using the γ curve. For this reason, as shown in FIG. 19, the value of γ corresponding to every increment of “5” should be set for the evaluation value (Ymed_target−Ymed). In this example, the value of γ is varied by “0.05” corresponding to the variation amount “5” of the evaluation value, but it goes without saying that the correspondence between the two can be changed as appropriate.

また、コントラストの修整の場合と同様に自動的にγの値を設定することも可能である。例えば、
γ=Ymed/106
あるいは、
γ=(Ymed/106)**(1/2)
としてγの値を求めるようにしてもよい。むろん、γ曲線による輝度の変換についても図15に示すような変換テーブルを形成しておけばよい。
すなわち、手順5にて特徴抽出する作業は中央値Ymedを求める作業が該当するし、手順6の修整情報作成処理ではこれからγ補正値を求めつつ変換テーブルを作成する処理が該当する。そして、手順7の修整指定処理ではこのような変換テーブルを指定して各画素の変換前の画像データ(R0,G0,B0 )から変換後の画像データ(R1,G1,B1 )を生成させることになる。
It is also possible to automatically set the value of γ as in the case of contrast correction. For example,
γ = Ymed / 106
Or
γ = (Ymed / 106) ** (1/2)
The value of γ may be obtained as Of course, it is sufficient to form a conversion table as shown in FIG.
That is, the work for extracting the feature in the procedure 5 corresponds to the work for obtaining the median Ymed, and the modification information creation process in the procedure 6 corresponds to the process for creating the conversion table while obtaining the γ correction value. Then, in the modification designation process of step 7, such a conversion table is designated to generate post-conversion image data (R1, G1, B1) from the pre-conversion image data (R0, G0, B0) of each pixel. become.

次にカラーバランスについて説明する。ここでいうカラーバランスとは画像データを構成するR成分、G成分、B成分の間に一定のアンバランス傾向があるか否かを指すものとする。例えば、写真が赤っぽく見えるとして、それが撮影時の本当の状況を表しているのであれば構わないが、そうではない場合には何らかの悪影響が表れていると言える。ただし、このようなアンバランスは実際のところ本当の状況と比較しなければ分からないとも言えるので、事後的に評価すること自体が不可能であるとも考えられる。   Next, color balance will be described. Here, the color balance indicates whether or not there is a certain unbalance tendency between the R component, the G component, and the B component constituting the image data. For example, if a photograph looks reddish, it does not matter as long as it represents the real situation at the time of shooting, but if it is not, it can be said that some adverse effect appears. However, it can be said that such an imbalance cannot be understood unless it is actually compared with the real situation, so it is considered impossible to evaluate it after the fact.

本実施形態において、これを各色毎の度数分布の均一さから評価することにする。撮影時の状況によっては各色成分の度数分布が不均一となることの方が自然な状況もあり得、そのような場合においては色修整すべきではない。しかしながら、結果から逆を辿るとすると、各色成分の度数分布がある程度似ている状況では度数分布が均一となっているべきであろうし、度数分布が似ていなければ均一にすべきでないだろうと判断できる。   In the present embodiment, this is evaluated from the uniformity of the frequency distribution for each color. Depending on the situation at the time of shooting, it may be natural that the frequency distribution of each color component becomes non-uniform, and in such a case, the color should not be corrected. However, if the results are reversed, the frequency distribution should be uniform when the frequency distribution of each color component is somewhat similar, and it should not be uniform if the frequency distribution is not similar. it can.

このため、手順2の画像データ集計処理においては、後で各色成分毎の度数分布の類似度をチェックするために、各色成分毎のヒストグラムを作成する。このとき、全階調値について度数分布を求めるのではなく、256階調の領域を8〜16分割(n分割)し、各領域に属する度数を集計していく。8分割する場合であれば、図20に示すように、「0〜31」、「32〜63」…「224〜255」という8つの領域について度数分布を求めていく。   For this reason, in the image data totaling process of procedure 2, a histogram for each color component is created in order to check the similarity of the frequency distribution for each color component later. At this time, instead of obtaining the frequency distribution for all the gradation values, the 256 gradation region is divided into 8 to 16 (n divisions), and the frequencies belonging to each region are tabulated. In the case of dividing into eight, as shown in FIG. 20, the frequency distribution is obtained for eight regions of “0 to 31”, “32 to 63”... “224 to 255”.

一方、全画素を対象として各色成分毎に上述したヒストグラムを作成したら、手順5における特徴量の分析では各色毎に各領域に属する画素数(r1、r2…rn)、(g1、g2…gn)、(b1,b2…bn)(ここではn=8)を成分としてベクトル化する。RGBのそれぞれについて、特徴ベクトルVR,VG,VBを次のように表すとし、
VR=(r1、r2…rn) Σri=1
VG=(g1、g2…gn) Σgi=1
VB=(b1,b2…bn) Σbi=1
これらの特徴ベクトルの相互相関を求める。相互相関は、内積として
corr_rg=(VR・VG)/|VR|・|VG|
corr_gb=(VG・VB)/|VG|・|VB|
corr_br=(VB・VR)/|VB|・|VR|
で表されるが、ベクトルの内積自体は両ベクトルの類似度を表すといえ、その値は「0」〜「1」となる。ここでは、その最小値corr_xに基づいてカラーバランスを評価する。
On the other hand, when the above-described histogram is created for each color component for all the pixels, the number of pixels belonging to each region (r1, r2... Rn), (g1, g2. , (B1, b2... Bn) (here, n = 8) are vectorized as components. For each of RGB, the feature vectors VR, VG, VB are expressed as follows:
VR = (r1, r2... Rn) Σri = 1
VG = (g1, g2... Gn) Σgi = 1
VB = (b1, b2... Bn) Σbi = 1
The cross correlation between these feature vectors is obtained. The cross-correlation is calculated as an inner product: corr_rg = (VR · VG) / | VR | · | VG |
corr_gb = (VG · VB) / | VG | · | VB |
corr_br = (VB · VR) / | VB | · | VR |
It can be said that the inner product of the vectors itself represents the similarity of both vectors, and the values are “0” to “1”. Here, the color balance is evaluated based on the minimum value corr_x.

なお、カラーバランスの修整はn分割した各領域毎に行うようにしても良いが、概略的には各色成分毎に全体的に明るくするか暗くするという対応で対処できるので、γ曲線を利用したRGB値の修整を行えばよい。
すなわち、手順5にて特徴抽出する作業は最小値corr_xを求める作業が該当するし、手順6の修整情報作成処理ではこれに基づいてバランスを修整するためのγ補正値を求めつつ変換テーブルを作成する処理が該当する。そして、手順7の修整指定処理ではこのような変換テーブルを指定して各画素の変換前の画像データ(R0,G0,B0 )から変換後の画像データ(R1,G1,B1 )を生成させることになる。
The color balance adjustment may be performed for each of the divided n regions, but generally, it can be dealt with by making each color component brighter or darker as a whole, so a γ curve is used. The RGB value may be corrected.
That is, the feature extraction operation in step 5 corresponds to the operation for obtaining the minimum value corr_x. In the modification information creation process in procedure 6, a conversion table is created while obtaining a γ correction value for modifying the balance based on this. This process is applicable. Then, in the modification designation process of step 7, such a conversion table is designated to generate image data (R1, G1, B1) after conversion from the image data (R0, G0, B0) before conversion of each pixel. become.

次に、彩度について説明する。ここでいう彩度は画像全体としての色鮮やかさを指すものとする。例えば、原色のものが色鮮やかに写っているかグレーっぽく写っているかといった評価である。彩度自体はLuv表色空間におけるuv平面内での基準軸からの大きさで表されるものの、上述したように表色空間を変換する演算量は多大であるため、画素の彩度を簡略化して求めることにする。これには彩度の代替値Xとして次のように演算する。
X=|G+B−2×R|
本来的には彩度は、R=G=Bの場合に「0」となり、RGBの単色あるいはいずれか二色の所定割合による混合時において最大値となる。この性質から直に彩度を適切に表すのは可能であるものの、簡略化した上式によっても赤の単色および緑と青の混合色である黄であれば最大値の彩度となり、各成分が均一の場合に「0」となる。また、緑や青の単色についても最大値の半分程度には達している。むろん、
X’=|R+B−2×G|
X”=|G+R−2×B|
という式にも代替可能である。
Next, saturation will be described. The saturation here refers to the vividness of the entire image. For example, it is an evaluation of whether the primary color is vividly or grayish. Although the saturation itself is represented by the size from the reference axis in the uv plane in the Luv color space, the amount of calculation for converting the color space is large as described above, so the pixel saturation is simplified. I will ask for it. For this purpose, a saturation substitution value X is calculated as follows.
X = | G + B-2 × R |
Originally, the saturation is “0” when R = G = B, and becomes the maximum value when mixing with a predetermined ratio of one or two colors of RGB. Although it is possible to express the saturation appropriately from this property, even if it is yellow, which is a single color of red and a mixed color of green and blue, even according to the simplified formula, the maximum saturation is obtained. Becomes “0” when is uniform. In addition, green and blue single colors reach about half of the maximum value. Of course,
X ′ = | R + B−2 × G |
X ″ = | G + R−2 × B |
It is also possible to substitute for this formula.

手順2での画像データ集計処理では、この彩度の代替値Xについてのヒストグラムの分布を求めることになる。この彩度の代替値Xについてのヒストグラムの分布を求めるとすると彩度が最低値「0」〜最大値「511」の範囲で分布するので、概略的には図21に示すような分布となる。
一方、手順5で特徴量を分析する際には、このヒストグラムに基づいて行う。すなわち、集計されたヒストグラムに基づいてこの画像についての彩度指数というものを決定する。この彩度の代替値Xの分布から上位の「16%」が占める範囲を求め、この範囲内での最低の彩度「S」がこの画像の彩度を表すものとする。
In the image data totaling process in the procedure 2, the distribution of the histogram for the alternative value X of saturation is obtained. If the distribution of the histogram for the alternative value X of saturation is obtained, the saturation is distributed in the range from the minimum value “0” to the maximum value “511”, and thus the distribution is roughly as shown in FIG. .
On the other hand, when the feature amount is analyzed in step 5, it is performed based on this histogram. That is, a saturation index for this image is determined based on the aggregated histogram. The range occupied by the upper “16%” is obtained from the distribution of the substitution value X of the saturation, and the lowest saturation “S” within this range represents the saturation of the image.

この彩度「S」が低ければ彩度強調を望むことになるが、自動修整する場合には次のようにする。
RGB表色空間のように各成分が概略対等な関係にある色相成分の成分値であるときには、R=G=Bであればグレイであって無彩度となる。RGBの各成分における最小値となる成分については各画素の色相に影響を与えることなく単に彩度を低下させているにすぎないと考えれば、各成分における最小値をすべての成分値から減算し、その差分値を拡大することによって彩度を強調できるといえる。いま、画像データの各成分(R,G,B)における青(B)の成分値が最小値であったとすると、この彩度強調パラメータSratio を使用して次のように変換できる。
R’=B+(R−B)×Sratio
G’=B+(G−B)×Sratio
B’=B
この例は無彩度の成分について単純に最小値の成分を他の成分値から減算する手法であるが、無彩度の成分を減算するにあたって他の手法も採用可能である。特に、この変換を行う場合には彩度を強調すると輝度も向上して全体的に明るくなるという傾向がある。従って、各成分値から輝度の相当値を減算した差分値を対象として変換を行うことにする。
彩度強調が、
R’=R+△R
G’=G+△G
B’=B+△B
となるとすると、この加減値△R,△G,△Bは輝度との差分値に基づいて次式のように求める。すなわち、
△R=(R−Y)×Sratio
△G=(G−Y)×Sratio
△B=(B−Y)×Sratio
となり、この結果、
R’=R+(R−Y)×Sratio
G’=G+(G−Y)×Sratio
B’=B+(B−Y)×Sratio
として変換可能となる。なお、輝度の保存は次式から明らかである。
Y’=Y+△Y
△Y=0.30△R+0.59△G+0.11△B
=Sratio{(0.30R+0.59G+0.11B)−Y}
=0
すなわち、変換前後で輝度が保存され、彩度を強調しても全体的に明るくなることはない。また、入力がグレー(R=G=B)のときには、輝度Y=R=G=Bとなるので、加減値△R=△G=△B=0となり、無彩色に色が付くこともない。
If the saturation “S” is low, saturation enhancement is desired, but in the case of automatic correction, the following is performed.
When each component is a component value of a hue component in which the respective components are roughly equivalent as in the RGB color space, if R = G = B, the color is gray and achromatic. Assuming that the minimum component in each component of RGB is merely reducing the saturation without affecting the hue of each pixel, the minimum value in each component is subtracted from all component values. It can be said that the saturation can be enhanced by enlarging the difference value. Now, assuming that the component value of blue (B) in each component (R, G, B) of the image data is the minimum value, it can be converted as follows using this saturation emphasis parameter Sratio.
R ′ = B + (R−B) × Sratio
G ′ = B + (GB) × Sratio
B '= B
This example is a method of simply subtracting the minimum value component from the other component values for the achromatic component, but other methods can also be employed for subtracting the achromatic component. In particular, when this conversion is performed, there is a tendency that when the saturation is emphasized, the luminance is improved and the entire image becomes brighter. Therefore, the conversion is performed on the difference value obtained by subtracting the luminance equivalent value from each component value.
Saturation enhancement
R ′ = R + ΔR
G '= G + △ G
B ′ = B + ΔB
Then, the addition / subtraction values ΔR, ΔG, and ΔB are obtained as follows based on the difference value from the luminance. That is,
ΔR = (R−Y) × Sratio
ΔG = (G−Y) × Sratio
ΔB = (BY) × Sratio
And as a result,
R ′ = R + (R−Y) × Sratio
G ′ = G + (G−Y) × Sratio
B ′ = B + (BY) × Sratio
Can be converted as In addition, the preservation | save of a brightness | luminance is clear from following Formula.
Y '= Y + △ Y
ΔY = 0.30ΔR + 0.59ΔG + 0.11ΔB
= Sratio {(0.30R + 0.59G + 0.11B) -Y}
= 0
That is, the luminance is preserved before and after the conversion, and even if the saturation is emphasized, it does not become bright overall. Further, when the input is gray (R = G = B), the luminance Y = R = G = B, so the addition / subtraction value ΔR = ΔG = ΔB = 0, and the achromatic color is not colored. .

ここで、彩度強調パラメータSratio は評価値Psatuが小さくなるときに大きくなればよく、上述した最低の彩度「S」との関係で
S<92なら
S’=−S×(10/92)+50
92≦S<184なら
S’=−S×(10/46)+60
184≦S<230なら
S’=−S×(10/23)+100
230≦Sなら
S’=0
というように彩度強調指数S’を決定し、この彩度指数S’から彩度強調指数Sratio への変換を、
Sratio =(S+100)/100
として求めればよい。この場合、彩度強調指数S=0のときに彩度強調パラメータSratio =1となって彩度強調されない。図22はこの彩度「S」と彩度強調指数S’との関係を示している。
Here, the saturation emphasis parameter Sratio only needs to be increased when the evaluation value Psatur becomes smaller. If S <92 in relation to the above-described minimum saturation “S”, S ′ = − S × (10/92) +50
If 92 ≦ S <184, S ′ = − S × (10/46) +60
If 184 ≦ S <230, S ′ = − S × (10/23) +100
If 230 ≦ S, S ′ = 0
Thus, the saturation emphasis index S ′ is determined, and the conversion from the saturation index S ′ to the saturation emphasis index Sratio is performed.
Sratio = (S + 100) / 100
As long as you ask. In this case, when the saturation enhancement index S = 0, the saturation enhancement parameter Sratio = 1 and the saturation is not enhanced. FIG. 22 shows the relationship between the saturation “S” and the saturation enhancement index S ′.

すなわち、手順5にて特徴抽出する作業は彩度「S」を求める作業が該当するし、手順6の修整情報作成処理では彩度指数S’を経て彩度強調指数Sratio を求める処理が該当する。そして、手順7の修整指定処理ではこのような彩度強調指数Sratio を使用しながら各画素の変換前の画像データ(R0,G0,B0 )から輝度を求めつつ変換後の画像データ(R1,G1,B1 )を生成させることになる。   That is, the feature extracting operation in step 5 corresponds to the operation for obtaining the saturation “S”, and the modification information creation processing in step 6 corresponds to the processing for obtaining the saturation emphasis index Sratio through the saturation index S ′. . Then, in the modification specifying process of step 7, the image data (R1, G1 after conversion) is obtained while obtaining the luminance from the image data (R0, G0, B0) before conversion of each pixel using such a saturation emphasis index Sratio. , B1).

最後に、シャープネスについて説明する。画像の特徴量としてのシャープネスについては以下に述べるエッジ度で評価する。画像データがドットマトリクス状の画素から構成されるものとすると、画像のエッジ部分では隣接する画素間での画像データの差分は大きくなる。この差分は輝度勾配であり、これをエッジ度と呼ぶことにする。図23に示すようなXY直交座標を考察する場合、画像の変化度合いのベクトルはX軸方向成分とY軸方向成分とをそれぞれ求めれば演算可能となる。ドットマトリクス状の画素からなるディジタル画像においては、図24に示すように縦軸方向と横軸方向に画素が隣接しており、その明るさをf(x,y)で表すものとする。この場合、f(x,y)は輝度Y(x,y)であってもよいし、RGBの各輝度であるR(x,y),G(x,y),B(x,y)であってもよい。図24に示すものにおいて、X方向の差分値fxとY方向の差分値fyは、 fx=f(x+1,y)−f(x,y)
fy=f(x,y+1)−f(x,y)
のように表される。従って、これらを成分とするベクトルg(x,y)の大きさDdifは、
Ddif=|g(x,y)|=(fx**2+fy**2)**(1/2)
のように表される。エッジ度はこのDdifで表される。なお、本来、画素は図25に示すように縦横に升目状に配置されており、中央の画素に注目すると八つの隣接画素がある。従って、同様にそれぞれの隣接する画素との画像データの差分をベクトルで表し、このベクトルの和を画像の変化度合いと判断しても良い。さらに、単に横並びのがその間でのみ比較するということも演算量の低減という面では効果がある。
Finally, sharpness will be described. Sharpness as an image feature is evaluated by the edge degree described below. If the image data is composed of pixels in a dot matrix shape, the difference in image data between adjacent pixels becomes large at the edge portion of the image. This difference is a luminance gradient, which is referred to as an edge degree. When considering the XY orthogonal coordinates as shown in FIG. 23, the vector of the degree of change of the image can be calculated by obtaining the X-axis direction component and the Y-axis direction component, respectively. In a digital image composed of dot matrix pixels, as shown in FIG. 24, the pixels are adjacent to each other in the vertical axis direction and the horizontal axis direction, and the brightness is represented by f (x, y). In this case, f (x, y) may be luminance Y (x, y), or R (x, y), G (x, y), B (x, y), which are the luminances of RGB. It may be. In the example shown in FIG. 24, the difference value fx in the X direction and the difference value fy in the Y direction are: fx = f (x + 1, y) −f (x, y)
fy = f (x, y + 1) −f (x, y)
It is expressed as Accordingly, the magnitude Ddif of the vector g (x, y) having these as components is
Ddif = | g (x, y) | = (fx ** 2 + fy ** 2) ** (1/2)
It is expressed as The edge degree is represented by Ddif. Note that the pixels are originally arranged in a grid pattern as shown in FIG. 25, and there are eight adjacent pixels when attention is paid to the center pixel. Accordingly, similarly, the difference between the image data of each adjacent pixel may be represented by a vector, and the sum of the vectors may be determined as the degree of image change. Further, simply comparing the horizontal arrangements between them is effective in reducing the amount of calculation.

以上のようにして各画素についてエッジ度が求められるとしても、全画素のエッジ度を求めて平均化するだけでは画像のシャープ度合いは求められない。図26は空を飛ぶ飛行機の写真を示しており、背景の空については画像の変化度合いが大きくないことは容易に分かる。このような場合、空の部分をトリミングする状況を想定すると、中央の被写体である飛行機の画像データが変わらないにも関わらず、空の画素が多くなると平均値が下がって画像はシャープでないことになり、空の画素か少なくなると平均値が上がって画像はシャープであることになる。このような場合、本来の被写体である飛行機のシャープさに基づいて画像のシャープさを判断するのが普通であるから、平均化は好適ではないといえる。   Even if the edge degree is obtained for each pixel as described above, the sharpness of the image cannot be obtained only by obtaining the edge degree of all the pixels and averaging them. FIG. 26 shows a photograph of an airplane flying in the sky, and it can be easily understood that the degree of change in the image is not large in the background sky. In such a case, assuming a situation in which the sky part is trimmed, the average value decreases and the image is not sharp when the number of sky pixels increases, even though the image data of the airplane as the center subject does not change. When the number of empty pixels decreases, the average value increases and the image is sharp. In such a case, since it is normal to determine the sharpness of the image based on the sharpness of the airplane that is the original subject, it can be said that averaging is not suitable.

このため、全画像のエッジ度を平均化するのではなく、画像の中の輪郭部分がどれくらいシャープであるかを判断すべく、輪郭部分だけのエッジ度を平均化することにする。より具体的には、対象画素を移動させながら手順2にて画像データを集計処理する際に、上述したようにエッジ度を算出した上であるしきい値Th1と比較することにより、その画素がエッジ部分であるか否かを判定し、エッジ部分である場合にのみ、同エッジ度Ddifを積算する(ΣDdif)とともに、エッジ部分の画素数を積算する(ΣEdge_Pixel)。   Therefore, instead of averaging the edge degree of all the images, the edge degree of only the contour portion is averaged in order to determine how sharp the contour portion in the image is. More specifically, when the image data is aggregated in step 2 while moving the target pixel, the pixel value is compared with the threshold value Th1 obtained by calculating the edge degree as described above. Whether or not it is an edge portion is determined, and only when it is an edge portion, the same edge degree Ddif is integrated (ΣDdif) and the number of pixels of the edge portion is integrated (ΣEdge_Pixel).

一方、手順5で特徴抽出する際には、手順2にて積算しておいたエッジ度(ΣDdif)を画素数(ΣEdge_Pixel)で割り、エッジ部分におけるエッジ度の平均値Ddif_aveを算出する。むろん、このエッジ度の平均値Ddif_aveが大きいほどシャープな画像ということになる。エッジ度の平均値Ddif_aveが小さければエッジ強調を望むことになるが、本実施形態においては以下のようにする。まず、エッジ強調度Eenhance をエッジ度の平均値Ddif_aveから求める。一例として、
Eenhance =4×Ddif_ave/100
といった演算式で構わない。
On the other hand, when feature extraction is performed in step 5, the edge degree (ΣDdif) accumulated in step 2 is divided by the number of pixels (ΣEdge_Pixel), and an average value Ddif_ave of the edge degree in the edge portion is calculated. Of course, the larger the average value Ddif_ave of the edge degree, the sharper the image. If the average value Ddif_ave of the edge degree is small, edge enhancement is desired. In the present embodiment, the following is performed. First, the edge enhancement degree Eenhance is obtained from the average value Ddif_ave of the edge degree. As an example,
Eenhance = 4 × Ddif_ave / 100
An arithmetic expression such as

エッジ強調処理自体は図27に示すようなアンシャープマスクを利用する。
エッジ強調度Eenhance を求めたら、全画素について図27に示すようなアンシャープマスクを利用してエッジ強調処理を実行する。強調前の各画素の輝度Yに対して強調後の輝度Y’は、
Y’=Y+Eenhance ・(Y−Yunsharp )
として演算される。ここで、Yunsharp は各画素の画像データに対してアンシャープマスク処理を施したものであり、アンシャープマスクは、中央の「100」の値をマトリクス状の画像データにおける処理対象画素Y(x,y)の重み付けとし、その周縁画素に対して同マスクの升目における数値に対応した重み付けをして積算するのに利用される。図27に示すアンシャープマスクを利用するのであれば、
The edge enhancement process itself uses an unsharp mask as shown in FIG.
When the edge enhancement degree Eenhance is obtained, an edge enhancement process is executed for all pixels using an unsharp mask as shown in FIG. The luminance Y ′ after enhancement with respect to the luminance Y of each pixel before enhancement is
Y '= Y + Eenhance (Y-Yunsharp)
Is calculated as Here, Yunsharp is obtained by performing unsharp mask processing on the image data of each pixel. The unsharp mask uses a central value of “100” as a processing target pixel Y (x, x, The weighting of y) is used for weighting and integrating the peripheral pixels corresponding to the numerical values in the cells of the same mask. If the unsharp mask shown in FIG. 27 is used,

Figure 2007295593
なる演算式に基づいて積算する。同式において、「396」とあるは重み付け係数の合計値である。また、Mijはアンシャープマスクの升目に記載されている重み係数であり、Y(x,y)は各画素の画像データであり、ijについてはアンシャープマスクにおける横列と縦列の座標値で示している。
Figure 2007295593
Is integrated based on the following equation. In the equation, “396” is the total value of the weighting coefficients. Mij is a weighting factor written in the grid of the unsharp mask, Y (x, y) is image data of each pixel, and ij is indicated by the coordinate values of the horizontal and vertical columns in the unsharp mask. Yes.

アンシャープマスクを利用して演算されるエッジ強調演算の意味するところは次のようになる。Yunsharp (x,y)は注目画素に対して周縁画素の重み付けを低くして加算したものであるから、いわゆる「なまった(アンシャープ)」画像データとしていることになる。このようにしてなまらせたものはいわゆるローパスフィルタをかけたものと同様の意味あいを持つ。従って、「Y(x,y)−Yunsharp (x,y)」とは本来の全成分から低周波成分を引いたことになってハイパスフィルタをかけたものと同様の意味あいを持つ。そして、ハイパスフィルタを通過したこの高周波成分に対してエッジ強調度Eenhance を乗算して「Y(x,y)」に加えれば同エッジ強調度Eenhance に比例して高周波成分を増したことになり、エッジが強調される結果となる。   The meaning of the edge enhancement calculation calculated using the unsharp mask is as follows. Yunsharp (x, y) is obtained by lowering the weight of the peripheral pixel with respect to the target pixel and adding it, so that it is so-called “unsharp” image data. What is smoothed in this way has the same meaning as that obtained by applying a so-called low-pass filter. Therefore, “Y (x, y) −Yunsharp (x, y)” has the same meaning as that obtained by applying the high-pass filter by subtracting the low frequency component from the original all components. When the high frequency component that has passed through the high-pass filter is multiplied by the edge enhancement degree Eenhance and added to “Y (x, y)”, the high frequency component is increased in proportion to the edge enhancement degree Eenhance. The result is an enhanced edge.

なお、エッジの強調度合いは、アンシャープマスクの大きさによっても変化するため、エッジ強調度Eenhance をクラス分けするとともに対応するサイズのアンシャープマスクを用意しておき、対応するサイズのアンシャープマスクを利用するようにしても良い。また、エッジ強調が必要になるのは当然のことながら画像のエッジ部分であるから、上述したように隣接する画素同士の間で画像データが大きく異なる場所においてのみ演算するようにしてもよい。このようにすれば、殆どのエッジ部分でない画像データ部分でアンシャープマスクの演算を行う必要がなくなり、処理が激減する。   Note that the degree of edge enhancement also changes depending on the size of the unsharp mask. Therefore, classify the edge enhancement level Eenhance and prepare an unsharp mask of the corresponding size. It may be used. In addition, since it is a matter of course that edge enhancement is necessary at the edge portion of the image, as described above, calculation may be performed only at a place where image data greatly differs between adjacent pixels. In this way, it is not necessary to perform an unsharp mask operation on image data portions that are not almost edge portions, and the processing is drastically reduced.

以上、シャープネスについてまとめると、手順5にて特徴抽出する作業はエッジ度の平均値Ddif_aveを求める作業が該当するし、手順6の修整情報作成処理ではエッジ強調度Eenhance を求める処理が該当する。そして、手順7の修整指定処理ではこのようなエッジ強調度Eenhance を使用しながら各画素の変換前の画像データ(R0,G0,B0 )から輝度強調された変換後の画像データ(R1,G1,B1 )を生成させることになる。   As described above, when the sharpness is summarized, the work of extracting features in the procedure 5 corresponds to the operation of obtaining the average value Ddif_ave of the edge degree, and the modification information creation process of the procedure 6 corresponds to the process of obtaining the edge enhancement degree Eenhance. Then, in the modification designation processing in the procedure 7, the converted image data (R1, G1, R1, G1, B1) of which brightness is enhanced from the image data (R0, G0, B0) before conversion of each pixel while using the edge enhancement degree Eenhance. B1) is generated.

以上が本実施形態における画像修整制御部40における処理を概略的に説明したものである。ただ、同様の修整処理であっても目標値を変えることによって修整結果が変化する。従って、スタンダードな自動画像修整処理の他、色を記憶色に近づけて「きれい」な感じにする自動画像修整処理や、シャープネス強調や彩度強調を強めにしたりする「DPE」調の自動画像修整処理といったものを選択できるようにしておいても良い。記憶色に合わせる自動画像修整では、標準値としてユーザーの好みを設定できるようにしておくことにより、各人が「きれい」と感じるような自動画像修整を行えるようにすることもできる。   The above is a schematic description of the processing in the image modification control unit 40 in the present embodiment. However, even in the same modification process, the modification result changes by changing the target value. Therefore, in addition to standard automatic image modification processing, automatic image modification processing that makes colors look more “clean” by bringing them closer to the memory color, and “DPE” -style automatic image modification that enhances sharpness enhancement and saturation enhancement. It may be possible to select a process. In the automatic image adjustment to match the memory color, the user's preference can be set as a standard value, so that it is possible to perform the automatic image correction so that each person feels “beautiful”.

この画像修整制御部40はいわゆる画像修整エンジンとして利用され、本画像データ処理ソフトにおいてはかかる画像修整エンジンを使用しつつ図28〜図33のフローチャートに従ってメイン制御部60が画像修整処理を総括的に制御している。なお、JPEG方式データフォーマットは、書き換えを行う都度、画質が劣化してしまう。これはJPEG特有の8×8のブロックを基準とする処理のゆえであるが、このブロックに起因する歪みの低減処理を合わせて行っている。より具体的には、平滑化処理のフィルタを適用しており、ただしエッジ部分については平滑化しない手法である。このようなエッジ保存平滑化処理を弱めに架けることにより、エッジの箇所は強調される一方、8×8のブロック歪みやノイズについては平滑化されて滑らかになる。そして、折角、8×8ブロック歪みの低減をしても、JPEGなど劣化する方式で保存しては再度歪んでしまうし、BMP(ビットマップ)などの劣化しない方式では記録サイズが増大してしまう。一方、本実施形態のようにパラメータを管理する方式においては、表示や印刷という出力のときに低減処理を行うため、ベストな画質での画像表現が可能となっている。   The image modification control unit 40 is used as a so-called image modification engine. In the present image data processing software, the main control unit 60 comprehensively performs the image modification process according to the flowcharts of FIGS. 28 to 33 while using the image modification engine. I have control. Note that the image quality of the JPEG data format deteriorates every time rewriting is performed. This is because the process is based on an 8 × 8 block unique to JPEG, and a process for reducing distortion caused by this block is also performed. More specifically, a smoothing filter is applied, but the edge portion is not smoothed. By applying such edge preserving smoothing processing weakly, the edge portion is emphasized, while 8 × 8 block distortion and noise are smoothed and smoothed. Even if the folding angle and 8 × 8 block distortion are reduced, the image is stored again with a degrading method such as JPEG and then distorted again, and the recording size is increased with a non-degrading method such as BMP (bitmap). . On the other hand, in the method of managing parameters as in the present embodiment, since reduction processing is performed at the time of output such as display or printing, image representation with the best image quality is possible.

このメイン制御部60によって行われる一連の画像データ管理処理として同時プリント処理がある。図34はこの同時プリント処理における画面表示を示している。この場合、メイン制御部60は共通機能部20の表示指定部20bに対して適宜指令を出力してディスプレイ17a上に同画面を表示させつつ、キーボード15aやマウス15bの操作入力を受け付けることになる。
この同時プリント処理画面においては、画面上の左寄り部分が操作表示エリアとなっており、ここには一連のデータ処理の流れに沿ってタブが表示されている。この例では「写真の入力」、「写真の修整」、「プリント指定」、「印刷」というタブが表示され、それぞれの間に下向きの「△」マークを表示している。むろん、データ処理は「写真の入力」処理、「写真の修整」処理、「プリント指定」処理、「印刷」処理という順序を経て、所望の画像データを綺麗に印刷できるようになる。従来でも、同様の処理を実行することは当然に可能であったのだが、その場合には自分自身で手続の流れを想定して作業を進めていかなければならない。
There is a simultaneous print process as a series of image data management processes performed by the main control unit 60. FIG. 34 shows a screen display in the simultaneous printing process. In this case, the main control unit 60 appropriately outputs commands to the display designation unit 20b of the common function unit 20 to display the same screen on the display 17a, and accepts operation inputs of the keyboard 15a and the mouse 15b. .
In the simultaneous print processing screen, the left-hand portion on the screen is an operation display area, and tabs are displayed along a series of data processing flows. In this example, tabs of “photo input”, “photo correction”, “print designation”, and “print” are displayed, and a downward “Δ” mark is displayed therebetween. Of course, the desired image data can be printed neatly through the sequence of “photo input” processing, “photo modification” processing, “print designation” processing, and “printing” processing. In the past, it was naturally possible to execute the same processing, but in that case, it is necessary to proceed by assuming the flow of the procedure.

すなわち、1:ファイルメニューの中から画像データをオープンし、2:ツールメニューの中から画像修整操作を指定して必要なパレットなどを表示させつつ所望の修整を行った後で保存し、3:ファイルメニューの中の印刷レイアウトで印刷したいフォーマットを指定し、4:ファイルメニューの中の印刷プレビューで確認し、5:最後にファイルメニューの中の印刷を実行する。むろん、複数の画像データを印刷したい場合には、この処理の中でファイルメニューの中から印刷対象を決定するという作業が必要になる。   That is, 1: Open the image data from the file menu, 2: Specify the image modification operation from the tool menu, display the necessary palette, etc., perform the desired modification, save, and 3: The format to be printed is designated by the print layout in the file menu, 4: the print preview in the file menu is confirmed, and finally, the printing in the file menu is executed. Of course, when printing a plurality of image data, it is necessary to determine the print target from the file menu in this process.

これに対して、デジタルスチルカメラ11bで撮影した写真を印刷しようとするのは通常の写真撮影の場合と比較するとDPEにて同時プリントを指定することに対応するわけであり、一連のデータ処理を同時プリントの作業に対応させて進行させるようにし、アプリケーションに精通していなくても一連のデータ処理を実行可能となる。
図34の同時プリント処理画面では「写真の入力」という表示をしているが、実質的にはフィルムデータ管理部30による画像データ管理を行うことになる。表示エリアの内の左寄り部分は操作表示エリアdp1となっているが、残りの表示エリアは主表示エリアdp2となり、さらにそのうちの左寄り部分が画像データをグループ化して表示するためのグループ表示領域dp3となっており、残りの部分はあるグループが選択された場合にそのグループに属する画像データをサムネールで表示するための画像表示領域dp4となっている。
On the other hand, printing a photograph taken with the digital still camera 11b corresponds to designating simultaneous printing at the DPE as compared with the case of normal photography, and a series of data processing is performed. A series of data processing can be executed even if the user is not familiar with the application by proceeding with the simultaneous printing work.
In the simultaneous print processing screen of FIG. 34, the display of “photo input” is displayed, but the image data management by the film data management unit 30 is practically performed. The left part of the display area is the operation display area dp1, the remaining display area is the main display area dp2, and the left part of the display area is a group display area dp3 for grouping and displaying image data. The remaining portion is an image display area dp4 for displaying image data belonging to a group in a thumbnail when a group is selected.

このグループ表示領域dp3は上述したようなフォルダ単位に対応したフィルムメタファを表示するための領域であり、フィルムのパトローネを枠として表示しつつ、その中にフィルム名とコメントと日付と収容画像ファイル数を表示している。むろん、各フィルムメタファのプロパティを表示させれば、フィルム名、リンク先、日付、コメント、媒体属性、媒体ラベル、フィルム属性、収容画像ファイル数といった全ての情報を表示することになる。また、グループ表示領域dp3はGUIを使用して適宜表示領域を増減させることができ、表示領域に表示しきれなくなればスクロール表示を付加したり、縮小表示するようになる。むろん、表示された複数のフィルムメタファの内のいずれか一つを選択操作することにより、画像表示領域dp4には選択されたフィルムメタファに対応するフォルダ内に保存された画像ファイル30aがサムネール表示されることになる。   The group display area dp3 is an area for displaying a film metaphor corresponding to the folder unit as described above, and displays a film cartridge as a frame, and includes a film name, a comment, a date, and the number of accommodated image files. Is displayed. Of course, if the properties of each film metaphor are displayed, all information such as film name, link destination, date, comment, medium attribute, medium label, film attribute, and number of stored image files are displayed. In addition, the group display area dp3 can be appropriately increased or decreased using a GUI, and if it cannot be displayed in the display area, a scroll display is added or a reduced display is performed. Of course, by selecting and operating one of the displayed film metaphors, the image display area dp4 displays thumbnails of the image files 30a stored in the folder corresponding to the selected film metaphor. Will be.

本実施形態においては、オペレーティングシステム12aが採用しているフォルダの階層構造を利用して画像データの管理を行っているため、操作者がコンピュータシステム10を直に操作してフォルダ内に画像ファイル30aを収容することも可能であり、この場合にはフォルダ内の画像ファイル30aの有無と写真データ30bとにずれが生じる場合があるが、この場合にはフォルダ内の画像ファイル30aの有無を優先して写真データ30bを適宜増減させることにする。   In this embodiment, since the image data is managed using the hierarchical structure of the folder adopted by the operating system 12a, the operator directly operates the computer system 10 to store the image file 30a in the folder. In this case, there may be a difference between the presence / absence of the image file 30a in the folder and the photo data 30b. In this case, priority is given to the presence / absence of the image file 30a in the folder. The photographic data 30b is increased or decreased as appropriate.

この意味でもフィルムメタファに対応するフォルダ内に存在する画像ファイル30aに基づいて対応する写真データ30bがあるか否かを判断し、写真データ30bがあればそのサムネールデータを使用して表示を行うし、写真データ30bがなければサムネール作成部20iにてサムネールデータを作成後、表示を行う。写真自体は縦長あるいは横長であり、一つのサムネール表示領域は両方を収容可能な正方形であるとともにその枠外には連番と実際のファイル名を表示している。   In this sense as well, it is determined whether or not the corresponding photo data 30b exists based on the image file 30a existing in the folder corresponding to the film metaphor. If there is the photo data 30b, the thumbnail data is used for display. If there is no photo data 30b, thumbnail data is created by the thumbnail creation unit 20i and then displayed. The photo itself is vertically long or horizontally long, and one thumbnail display area is a square that can accommodate both, and a serial number and an actual file name are displayed outside the frame.

なお、同時プリントを選択する場合は、既にデータ管理を行っているものである場合のみならず、撮影したばかりの画像データを取り込んで印刷にかけるときもあるし、あらかじめ画像データ自体は一定の記憶領域に取り込んであって新たにデータ管理を開始する場合とが考えられる。撮影したばかりの画像データを取り込む手法は、例えば、デジタルスチルカメラ11bからケーブル接続して取り込む場合であるとか、所定の交換可能な記録媒体を利用する場合であるとかが考えらえる。いずれにおいても、図34に示す画面において主表示エリアの上部にコマンドボタンとして用意されている「新しいフィルム」を実行する。すると、図35に示すように「いつもの入力」と「入力方法を選択」という二つのコマンドボタンを実行可能となるとともに、併せて「入力の設定」というコマンドボタンを実行可能となる。一般の操作者は単一のデジタルスチルカメラ11bを持っているとすると画像データの取り込みは一定であると考えられ、あらかじめ「入力の設定」で選択しておいた画像データの転送手法を実行することになる。むろん、複数のデジタルスチルカメラ11bを所有している場合であるとか、たまたま別の手法で取り込む必要がある場合もあるから「入力方法を選択」のコマンドボタンを実行させれば取り込み可能な複数の手法を表示して選択することになる。なお、これらの場合において外部アプリケーションを実行させる必要がある場合もあるが、これらは入力の設定にて設定しておくことによって適宜実行される。なお、入力の指定方法などは適宜変更可能であることはいうまでもない。   In addition, when selecting simultaneous printing, not only the case where data management has already been performed, there are times when image data just taken is taken in for printing and the image data itself is stored in a certain amount in advance. It can be considered that the data management is newly started in the area. The method of capturing image data that has just been photographed may be, for example, the case of capturing by connecting a cable from the digital still camera 11b, or the case of using a predetermined exchangeable recording medium. In any case, a “new film” prepared as a command button on the upper part of the main display area on the screen shown in FIG. 34 is executed. Then, as shown in FIG. 35, two command buttons “ordinary input” and “select input method” can be executed, and a command button “setting input” can be executed together. If a general operator has a single digital still camera 11b, it is considered that the capture of the image data is constant, and the image data transfer method selected in advance in the “input setting” is executed. It will be. Of course, there may be cases where a plurality of digital still cameras 11b are owned, or it may be necessary to take in by another method. The method will be displayed and selected. In these cases, it may be necessary to execute an external application, but these are executed as appropriate by setting them in the input settings. Needless to say, the input designation method can be appropriately changed.

このような状態で、操作者はグループ表示領域に表示されるパトローネ内の表示を見てグループを判断しつつその画像データを画像表示領域に表示させ、さらに印刷対象としたい画像データを選択する。この選択操作は画像選択部20aによって受け付けられる。選択された画像データについてはそのサムネール表示領域の枠部分の色を変えて表示することにより、選択の有無が容易に判断できる。そして、選択結果は以後の「写真の修整」はもとより、「プリント指定」を経て「印刷」の処理での出力対象として反映されることになる。なお、これらの場合に各処理で参照されるのは物理的配置情報であり、選択対象とした画像データを仮領域に移動させて実際の処理を行うわけではない。   In this state, the operator looks at the display in the cartridge displayed in the group display area, determines the group, displays the image data in the image display area, and further selects image data to be printed. This selection operation is accepted by the image selection unit 20a. About the selected image data, the presence or absence of selection can be easily determined by changing the color of the frame portion of the thumbnail display area. Then, the selection result is reflected as an output target in the “printing” process through “print designation” as well as “photo modification” thereafter. In these cases, the physical arrangement information is referred to in each process, and the actual process is not performed by moving the image data to be selected to the temporary area.

「写真の入力」において印刷したい画像データを選択したとして、操作表示エリアでの表示に依れば次の処理が「写真の修整」であることが一目瞭然である。この「写真の修整」では選択された画像データだけについて画像修整を実行することができる。図36は自動画像修整を行う場合の主表示エリアでの表示を示している。同図には選択された画像データについて修整前の画像をサムネールで上段に表示し、上述した自動修整を施した修整後の画像をサムネールで下段に表示している。操作者は両者を見て比較し、どちらが良いか選択する。むろん、選択は好みの側のサムネールをマウス15bでクリックすることにより行え、クリックした側については表示指定部20bが枠部分を反転表示するなどして判別できるようにする。なお、デフォルトは修整前を選択状態としておき、マウスでクリックした側についてだけ修整後のものを選択状態としても良いし、殆どの場合は画質を修整されたものについて選択されるであろうとの想定のもとでデフォルトを修整後のものを選択状態とするようにしても良い。   If image data to be printed is selected in “photo input”, it is obvious that the next process is “photo modification” according to the display in the operation display area. In this “photo correction”, image correction can be executed only for selected image data. FIG. 36 shows the display in the main display area when automatic image correction is performed. In the figure, the image before modification of the selected image data is displayed in the upper part as a thumbnail, and the image after modification subjected to the automatic modification described above is displayed in the lower part as a thumbnail. The operator looks at both and compares them, and selects which is better. Of course, the selection can be made by clicking on the thumbnail on the desired side with the mouse 15b, and the display designation unit 20b can make the determination by highlighting the frame portion on the clicked side. Note that the default is to select the state before modification and select the modified state only for the side clicked with the mouse. In most cases, it is assumed that the image quality will be selected. Under these conditions, the default may be selected.

この場面において、最下部には「実行」のコマンドボタンと、「キャンセル」のコマンドボタンが用意されており、「実行」のコマンドボタンをマウスでクリックすると、各画像データごとに用意されている写真データ30bの修整情報が更新される。図7に示すように自動画像修整(m_nApf)の管理パラメータが用意されており、修整後の画像データを選択して「実行」コマンドボタンをクリックしたときには同自動画像修整(m_nApf)の管理パラメータにフラグをセットする。すなわち、修整後の画像データを選択するとしても、この元の画像データに置き換えて修整後の画像データを上書きしてしまうのではなく、単に管理パラメータのフラグをセットするにすぎない。しかし、以後の処理においてはこの管理パラメータを参照し、本画像データについては自動修整された画像データについて処理を実行すべきものと判断できるようになる。むろん、その際には画像データを読み込み、画像修整制御部40によって自動画像修整しなければならない場合もあるが、写真データ30b内のサムネールデータについては修整後の画像データに基づくサムネールデータに更新しておき、表示程度であればこのサムネールデータを表示するだけでも良い。なお、画面下には「オリジナルデータに反映させる」というチェックボックスを用意してあり、このチェックボックスをチェックしておいたときには修整後の画像データで元の画像データを上書きする。   In this scene, a command button for "execute" and a command button for "cancel" are prepared at the bottom, and if the command button for "execute" is clicked with the mouse, a photo prepared for each image data The modification information of the data 30b is updated. As shown in FIG. 7, management parameters for automatic image modification (m_nApf) are prepared. When the image data after modification is selected and the “execute” command button is clicked, the management parameters for the automatic image modification (m_nApf) are set. Set the flag. That is, even if the modified image data is selected, it is not replaced with the original image data and the modified image data is overwritten, but only a management parameter flag is set. However, in the subsequent processing, this management parameter is referred to, and it can be determined that the processing should be executed for the automatically corrected image data for the main image data. Of course, in this case, it may be necessary to read the image data and automatically modify the image by the image modification control unit 40. However, the thumbnail data in the photo data 30b is updated to the thumbnail data based on the modified image data. The thumbnail data may be displayed only if the display level is sufficient. A check box “Reflect to original data” is prepared at the bottom of the screen. When this check box is checked, the original image data is overwritten with the corrected image data.

この例では、自動画像修整を選択的に実施するようにしているものの、かかる機能を利用しない手はなく、特に操作の未熟なものにおいてはかかる機能があっても選択操作を知りえないという問題もある。従って、写真の入力時にデフォルトで自動画像修整を行なってしまい、写真の修整という処理を表さないようにすることも便利である。
図37は、そのような場合の画面表示の一例を示している。同図に示すものでは、操作として「写真の入力」の前に「フィルムの選択」という処理を加えるとともに、「写真の入力」の後は「プリント指定」の処理を実行するようにしている。図34に示すもののように「写真の入力」の処理で新しいフィルムを選択できるようにしつつ、写真を選択するようにしても良いが、図37に示すものでは最初に「フィルムの選択」の画面表示を行うことにより、パトローネ単位での写真データの選択であるとか新しいフィルムの選択を先に実行して分かりやすくしている。また、この画面表示では処理を進めたり戻したりするための指示を行うために画面右寄り部分の上段に「前のステップ」と「次のステップ」というコマンドボタンを用意し、「前のステップ」を実行させると処理を戻し、「次のステップ」を実行させると処理を先に進めるようにしている。さらに、画面上段部分には各段階の処理の簡単な説明を表示できるようにしている。例えば、「フィルム選択」の段階では「フィルムを選んで次に進んで下さい。新しいフィルムは『フィルムの追加』で作れます」と表示している。
In this example, although automatic image modification is selectively performed, there is no hand that does not use such a function, and in particular, when there is such an inexperienced user, the selection operation cannot be known. There is also. Therefore, it is convenient to automatically correct the image at the time of inputting the photograph, and not to display the process of correcting the photograph.
FIG. 37 shows an example of the screen display in such a case. In the figure, as the operation, a “film selection” process is added before “photo input”, and a “print designation” process is executed after “photo input”. As shown in FIG. 34, it is possible to select a photo while allowing a new film to be selected in the “photo input” process, but in the case shown in FIG. 37, the “film selection” screen is displayed first. By displaying, it is easy to understand by selecting the photographic data in the cartridge unit or selecting a new film first. Also, in this screen display, command buttons called “Previous Step” and “Next Step” are prepared on the upper right part of the screen in order to give instructions to advance or return processing, and “Previous Step” is displayed. When it is executed, the process is returned, and when the “next step” is executed, the process is advanced. Furthermore, a simple explanation of the process at each stage can be displayed on the upper part of the screen. For example, in the “Film Selection” stage, “Select a film and go to the next. A new film can be created by“ Add Film ”” is displayed.

一方、手動画像修整を選択することも可能であり、修整度合いをGUIを利用して指示することになる。すなわち、GUI表示をマウス15bで操作して手動修整の結果を反映させる。本実施形態においては、画像処理部20gにおいて明るさとコントラストについて段階的な強調処理を実行可能で、その前提のもとに各強調程度を表すパラメータを用意してあり、選択された修整結果を表すパラメータを明るさ成分の強調度(m_nBrightness)の管理パラメータと、コントラストの強調度(m_nContrast)の管理パラメータとに反映させるようにしている。   On the other hand, manual image modification can also be selected, and the degree of modification is instructed using the GUI. That is, the result of manual correction is reflected by operating the GUI display with the mouse 15b. In this embodiment, the image processing unit 20g can execute stepwise enhancement processing for brightness and contrast, and parameters representing the degree of enhancement are prepared based on the premise, and the selected modification result is represented. The parameters are reflected in the management parameter of the brightness component enhancement level (m_nBrightness) and the management parameter of the contrast enhancement level (m_nContrast).

手動画像修整は、明るさとコントラストに限られるものではなく、赤成分と緑成分と青成分とにおいてそれぞれ強調処理を実行可能であり、それぞれの強調程度を表すパラメータが赤成分の強調度(m_nRed)の管理パラメータと、緑成分の強調度(m_nGreen)の管理パラメータと、青成分の強調度(m_Blue)の管理パラメータとにそれぞれ反映されるようになっている。
画像修整は広い意味で画像データの表示に反映される各種の処理を含むものであり、広義の意味で画像のトリミングや回転も含めている。画像データを選択した状態でトリミングを実行させると図38に示すように現時点での管理パラメータに基づく画像データを所定の大きさの枠内に表示する。ここで、マウス15bを操作してトリミング開始位置とトリミング終了位置を指定し、「実行」コマンドボタンをクリックすると開始位置と終了位置を対角とする矩形領域以外を取り除いて表示する。むろん、この場合に元の画像データの一部を削除するわけではなく、トリミング開始X座標(m_x1)とトリミング開始Y座標(m_y1)とトリミング終了X座標(m_x2)とトリミング終了Y座標(m_y2)の管理パラメータに座標値を設定するだけであり、これに基づいてサムネール作成部20iが新たにサムネールを作成し、写真データ30b内においてのみ更新する。
Manual image retouching is not limited to brightness and contrast, and it is possible to execute enhancement processing for each of the red component, the green component, and the blue component, and the parameter representing the degree of enhancement is a red component enhancement degree (m_nRed). Management parameter, green component enhancement level (m_nGreen) management parameter, and blue component enhancement level (m_Blue) management parameter.
Image modification includes various processes reflected in the display of image data in a broad sense, and includes image trimming and rotation in a broad sense. When the trimming is executed with the image data selected, the image data based on the current management parameter is displayed in a frame of a predetermined size as shown in FIG. Here, the mouse 15b is operated to specify the trimming start position and trimming end position, and when the “execute” command button is clicked, the area other than the rectangular area whose diagonal is the start position and end position is removed and displayed. Of course, in this case, a part of the original image data is not deleted, but the trimming start X coordinate (m_x1), the trimming start Y coordinate (m_y1), the trimming end X coordinate (m_x2), and the trimming end Y coordinate (m_y2). Only the coordinate value is set to the management parameter of the image data, and the thumbnail creation unit 20i newly creates a thumbnail based on the coordinate value and updates it only in the photo data 30b.

一方、画面の回転も広い意味で画像修整と呼び、カメラを横にして写した縦型の写真を表示上でも縦長とする場合に利用する。図39はこのような回転処理の場合の主表示エリアの表示画面を示しており、左上部分に元の画像データをサムネール表示するとともに、その下に90度毎の三つの回転角度と、任意の回転角度を選択するための操作入力ボタンを用意してある。また、右中央部部分には選択された回転角度だけ回転させたサムネールを表示できるようになっている。むろん、選択された回転角度は回転角度(m_nRotation)の管理パラメータにセットされる。   On the other hand, screen rotation is also called image modification in a broad sense, and is used when a portrait photograph taken with the camera lying horizontally is displayed vertically. FIG. 39 shows a display screen of the main display area in the case of such rotation processing, in which the original image data is displayed as a thumbnail in the upper left part, and three rotation angles every 90 degrees are displayed below the arbitrary image data. Operation input buttons for selecting the rotation angle are provided. Further, a thumbnail rotated by a selected rotation angle can be displayed in the right center portion. Of course, the selected rotation angle is set in the management parameter of the rotation angle (m_nRotation).

図40と図41はこれらの画像修整を指定する際のメニュー操作を示している。図40は自動画像修整を行う場合のメニュー操作例であり、メニューバー上で画像修整をクリックするとドロップダウンメニューが表示され、その中で自動画像修整を選択すると、更に詳細なオプションが表示される。むろん、このときに「きれい」をクリックすれば自動画像修整を「きれい」のオプションで起動させることになる。この場合、選択されている画像データの全てについて図36に示すように表示される。また、図41は手動画像修整を行う場合のメニュー操作例であり、画像修整をクリックしつつドロップダウンメニューの手動画像修整を選択すると、「明るさ・コントラスト」についての修整か「色強調」の修整かを選択可能となる。手動画像修整については自動画像修整を実行しても未だ改善されないようなものについて個別的に実行することが多いと考えられ、手動画像修整の対象とする画像データを選択しておいた上で起動した場合にのみこれらを実行できるようにしておく。   40 and 41 show menu operations when designating these image modifications. FIG. 40 shows an example of menu operation when automatic image correction is performed. When image correction is clicked on the menu bar, a drop-down menu is displayed, and when automatic image correction is selected, more detailed options are displayed. . Of course, if you click "clean" at this time, automatic image modification will be activated with the "clean" option. In this case, all the selected image data are displayed as shown in FIG. FIG. 41 shows an example of a menu operation when manual image correction is performed. When manual image correction is selected from the drop-down menu while clicking image correction, correction of “brightness / contrast” or “color enhancement” is selected. It becomes possible to select whether to modify. Regarding manual image modification, it is considered that there are many cases where individual image correction is not yet improved even if automatic image modification is performed, and it is activated after selecting image data to be manually modified. You can only run them if you do.

この他、トリミングであるとか回転であるとか白黒変換やセピア変換についても画像データを選択しておいた上でこのドロップダウンメニューから画像処理を選択して実行させることになる。なお、白黒変換やセピア調変換は個別に行うものではあっても変換結果は画一的であり、手動画像修整のように操作者の主観で調整しなければならないものではない。従って、実際には白黒変換やセピア調変換については自動画像修整(m_nApf)の管理パラメータをセットすることにしている。   In addition, image processing is selected from the drop-down menu and executed for trimming, rotation, monochrome conversion, and sepia conversion after image data is selected. Note that even if black-and-white conversion and sepia tone conversion are performed individually, the conversion results are uniform and do not have to be adjusted by the operator's subjectivity like manual image correction. Therefore, in practice, management parameters for automatic image modification (m_nApf) are set for black and white conversion and sepia tone conversion.

これまでは、同時プリントの処理を選択したときに画像データに対して各種の修整を行っていく過程でパラメータがセットされていく状況を説明した。次に、実際にこのような操作を実現するためのコンピュータシステム10内での処理について説明する。
図28〜図31は各処理をフローチャートにより示している。図28は自動画像修整を実行する場合の処理を示しており、自動画像修整を実行する画像データを読み込む際、ステップ100にて写真データ30bのデータベース構造を参照し、修整情報を読み取る。この修整情報は、上述した各種のパラメータを意味しており、これらのパラメータによって自動画像修整や手動画像修整を実行すべき旨の指定があれば以下の自動画像修整は行うことなく本処理を終了する。これは自動画像修整を重ねて実行する意味がないことと、手動画像修整によって好みが反映されている以上はこれを自動的に修整することはできないからである。
So far, the situation has been described in which parameters are set in the process of performing various modifications to the image data when the simultaneous printing process is selected. Next, processing in the computer system 10 for actually realizing such an operation will be described.
FIG. 28 to FIG. 31 show each processing in a flowchart. FIG. 28 shows a process in the case of executing automatic image modification. When image data to be subjected to automatic image modification is read, the modification information is read in step 100 by referring to the database structure of the photographic data 30b. This modification information means the various parameters described above, and if these parameters specify that automatic image modification or manual image modification should be executed, the process ends without performing the following automatic image modification. To do. This is because there is no point in executing automatic image correction repeatedly, and it cannot be automatically corrected as long as the preference is reflected by manual image correction.

次に、ステップ110にて画像データを読み込み、ステップ115にて画像の特徴を抽出し、ステップ120にて特徴情報の保存を行い、ステップ125にて自動修整の修整情報を作成し、ステップ130にて自動修整の画像処理を実行する。むろん、これらは図9にて説明したような手順1〜手順6に該当する。一方、トリミング開始X座標(m_x1)とトリミング開始Y座標(m_y1)とトリミング終了X座標(m_x2)とトリミング終了Y座標(m_y2)の管理パラメータにトリミングの位置情報が設定されている場合にはステップ135の判断を経てステップ140にてトリミングする画像処理を実行するし、回転角度(m_nRotation)の管理パラメータに回転の修整情報が設定されている場合にはステップ145の判断を経てステップ150にて画像を回転させる回転の画像処理を実行することになる。   Next, in step 110, the image data is read, the feature of the image is extracted in step 115, the feature information is stored in step 120, the correction information for automatic correction is created in step 125, and the process goes to step 130. To perform automatic retouching image processing. Of course, these correspond to the procedures 1 to 6 as described in FIG. On the other hand, if the trimming position information is set in the management parameters of the trimming start X coordinate (m_x1), the trimming start Y coordinate (m_y1), the trimming end X coordinate (m_x2), and the trimming end Y coordinate (m_y2). After the determination of 135, the image processing for trimming is executed in step 140, and when the rotation correction information is set in the management parameter of the rotation angle (m_nRotation), the image is determined in step 150 after the determination of step 145. Rotation image processing for rotating is performed.

以上の処理を経ることにより自動画像修整後の画像を得ることができるようになるため、ステップ155では図36に示すように修整前と修整後のサムネールを表示するとともに、この自動画像修整処理の結果を採用するか否かの入力を待機することになる。すなわち、自動画像修整後のものの方が望ましければそれを選択状態とし、「実行」コマンドボタンをクリックする。この場合、ステップ170では「オリジナルデータに反映」というチェックボックスにおける選択状況を取り込み、チェックしてあると判断するとステップ175にて画像データを上書き保存することになる。   Since the image after the automatic image modification can be obtained through the above processing, the thumbnails before and after the modification are displayed at step 155 as shown in FIG. 36, and the automatic image modification process is performed. It waits for the input of whether to adopt the result. That is, if the image after automatic image modification is desired, it is selected, and the “execute” command button is clicked. In this case, in step 170, the selection status in the check box “Reflect to original data” is fetched, and if it is determined that it is checked, the image data is overwritten and saved in step 175.

オリジナルを書き換える場合には修整情報を参照することは必要なくなり、書き換えない場合にのみステップ180にて修整情報を保存する。一方、「標準」の画像自動処理では物足りないような場合には、図40に示すように「きれい」だとか「DPE調」などを選択したときには当該設定に応じた自動画像修整を実行させるべく、予めステップステップ165にて自動画像処理の動作条件値を変更し、ステップ115にて上述した処理を繰り返す。なお、「キャンセル」のコマンドボタンをクリックされたときには「中止」と判断して本処理を終了する。   When the original is rewritten, it is not necessary to refer to the modification information, and the modification information is stored at step 180 only when the original is not rewritten. On the other hand, if the “standard” automatic image processing is not satisfactory, as shown in FIG. 40, when “clean” or “DPE tone” is selected, automatic image correction according to the setting is executed. In step 165, the operation condition value for automatic image processing is changed in advance, and in step 115, the above-described processing is repeated. When the “Cancel” command button is clicked, it is determined to be “Cancel” and the present process is terminated.

むろん、自動画像修整はこれ以外にも様々な条件に対応する事が可能である。従って、予め用意してある「DPE調」などの選択以外にも「この辺りをもっと明るく...」とか「全体をもっと黄色に」といったユーザの指定に応じて上記動作条件値を変更し、上述した処理を繰り返すようにすることも可能である。この動作条件値はステップ165にて後発的に設定するばかりではなく、ステップ125にて最初に自動画像修整の修整情報を作成する時点でも当然に反映されている。   Of course, the automatic image correction can cope with various other conditions. Accordingly, in addition to the selection of “DPE tone” prepared in advance, the above operating condition value is changed according to the user's designation such as “brighter around here” or “whole yellow”. It is also possible to repeat the above-described processing. This operating condition value is not only set later in step 165, but is naturally reflected at the time when the correction information for automatic image correction is first created in step 125.

次に、手動画像修整を実行する場合の処理を説明する。図29は手動画像修整の処理を示しており、手動画像修整を実行されたときには、処理対象となっている画像データを読み込む前にステップ200にて修整情報を読み込み、続いてステップ205にて同画像データを読み込む。続いてステップ210にて自動画像修整(m_nApf)の管理パラメータを参照し、同管理パラメータが設定されている場合にはステップ210の判断を経てステップ215にて自動画像修整の画像処理を実行する。   Next, processing when manual image correction is executed will be described. FIG. 29 shows manual image modification processing. When manual image modification is executed, modification information is read in step 200 before image data to be processed is read. Read image data. Subsequently, in step 210, the management parameter of automatic image modification (m_nApf) is referred to. When the management parameter is set, the image processing of automatic image modification is executed in step 215 after the determination in step 210.

この後、ステップ220では、既に設定されている手動画像修整についての管理パラメータを読み込んで指定どおりの画像処理を実行し、その後でトリミングについての処理と回転についての処理をそれぞれ管理パラメータに基づいてステップ225〜240にて実行する。
以上の処理を経ることにより既に設定されている手動画像調整後の画像を得ることができるようになるため、ステップ245で上述したようにしてさらに手動調整の操作を実行すればステップ255にて修整情報を変更し、ステップ220〜240の処理を経て画像修整を実行する。
Thereafter, in step 220, the management parameters for manual image modification that have already been set are read and image processing is performed as specified. Thereafter, the processing for trimming and the processing for rotation are performed based on the management parameters, respectively. Executed at 225-240.
Since the image after the manual image adjustment that has already been set can be obtained through the above processing, if the manual adjustment operation is further executed as described above in step 245, the image is corrected in step 255. The information is changed, and image correction is executed through the processing of steps 220 to 240.

また、「実行」のコマンドボタンをクリックされたら「確定」を意味するものと判断し、「オリジナルデータに反映」のチェックボックスにおける選択状況に応じてステップ265にて元の画像データを書き換えたりステップ270にて最終的な修整情報を表す管理パラメータを書き換えたりすることになる。なお、「キャンセル」のコマンドボタンをクリックされたときには「中止」と判断して本処理を終了する。   If the “execute” command button is clicked, it is determined that it means “confirm”, and the original image data is rewritten in step 265 according to the selection status in the “reflect to original data” check box or step In 270, the management parameter representing the final modification information is rewritten. When the “Cancel” command button is clicked, it is determined to be “Cancel” and the present process is terminated.

次に、トリミングを実行する場合の処理を説明する。図30はトリミングの処理を示しており、処理対象となっている画像データを読み込む前にステップ300にて修整情報を読み込み、続いてステップ305にて同画像データを読み込む。続いてステップ310にて自動画像修整(m_nApf)の管理パラメータを参照し、同管理パラメータが設定されている場合にはステップ315にて自動画像修整の画像処理を実行する。また、ステップ320にて既に設定されている手動画像修整についての各種の管理パラメータを参照し、それぞれ管理パラメータが設定されている場合にはステップ325にて対応する画像処理を実行する。   Next, processing when trimming is executed will be described. FIG. 30 shows the trimming process. Before the image data to be processed is read, the modification information is read in step 300, and then the image data is read in step 305. Subsequently, in step 310, the management parameter for automatic image modification (m_nApf) is referred to. If the management parameter is set, image processing for automatic image modification is executed in step 315. Also, various management parameters for manual image modification already set in step 320 are referred to, and if the management parameters are set, corresponding image processing is executed in step 325.

この後、ステップ330では既に設定されているトリミングについての管理パラメータを参照し、ステップ335にてトリミングの画像処理を実行するし、ステップ340では既に設定されている回転についての管理パラメータを参照し、ステップ345にて回転の画像処理を実行する。
以上の処理を経ることにより既に設定されている全ての画像修整後の画像を得ることができるようになるため、ステップ355では図38に示す画面表示でトリミングの操作を受け付け、新たにトリミングの操作が行われた場合にはステップ360にて修整情報を変更し、ステップ335の処理を経て画像修整を実行する。なお、この場合はステップ340にて回転についての管理パラメータを参照するが、回転については重複するか否かを判断し、重複して実行するわけではない。
Thereafter, in step 330, the management parameter for trimming that has already been set is referred to, image processing for trimming is executed in step 335, and in step 340, the management parameter for rotation that has already been set is referred to. In step 345, rotation image processing is executed.
By performing the above processing, it becomes possible to obtain all the images that have already been set, so that in step 355, a trimming operation is accepted on the screen display shown in FIG. 38, and a new trimming operation is performed. In step 360, the modification information is changed, and the image modification is executed through the process in step 335. In this case, although reference is made to the management parameter for rotation in step 340, it is determined whether or not the rotation is duplicated, and is not executed redundantly.

この場合も、「実行」のコマンドボタンをクリックされたら「確定」を意味するものと判断し、「オリジナルデータに反映」のチェックボックスにおける選択状況に応じてステップ365にて元の画像データを書き換えたり、ステップ370にて最終的な修整情報を表す管理パラメータを書き換えたりすることになる。なお、「キャンセル」のコマンドボタンをクリックされたときには「中止」と判断して本処理を終了する。   Also in this case, if the “execute” command button is clicked, it is determined to mean “confirm”, and the original image data is rewritten in step 365 according to the selection status in the “reflect to original data” check box. In step 370, the management parameter representing the final modification information is rewritten. When the “Cancel” command button is clicked, it is determined to be “Cancel” and the present process is terminated.

最後に、回転を実行する場合の処理を説明する。図31は回転の処理を示しており、処理対象となっている画像データを読み込む前にステップ400にて修整情報を読み込み、続いてステップ405にて同画像データを読み込む。続いてステップ410にて自動画像修整(m_nApf)の管理パラメータを参照し、同管理パラメータが設定されている場合にはステップ415にて自動画像修整の画像処理を実行する。また、ステップ420にて既に設定されている手動画像修整についての各種の管理パラメータを参照し、それぞれ管理パラメータが設定されている場合にはステップ425にて対応する画像処理を実行する。   Finally, a process for executing rotation will be described. FIG. 31 shows a rotation process. Before the image data to be processed is read, the modification information is read in step 400, and then the image data is read in step 405. Subsequently, in step 410, the management parameter for automatic image modification (m_nApf) is referred to. If the management parameter is set, image processing for automatic image modification is executed in step 415. Also, various management parameters for manual image modification already set in step 420 are referred to, and if each management parameter is set, corresponding image processing is executed in step 425.

この後、ステップ430では既に設定されているトリミングについての管理パラメータを参照し、ステップ435にてトリミングの画像処理を実行するし、ステップ440では既に設定されている回転角度(m_nRotation)についての管理パラメータを参照し、ステップ445にて回転の画像処理を実行する。
以上の処理を経ることにより既に設定されている全ての画像修整後の画像を得ることができるようになるため、ステップ455では図39に示す画面表示で回転の操作を受け付け、新たに回転の操作が行われた場合にはステップ460にて修整情報を変更し、ステップ445の処理を経て画像修整を実行する。
Thereafter, in step 430, the management parameter for trimming that has already been set is referred to, and image processing for trimming is executed in step 435. In step 440, the management parameter for the rotation angle (m_nRotation) that has already been set. In step 445, rotation image processing is executed.
Through the above processing, it becomes possible to obtain all the images that have already been set, and in step 455, a rotation operation is accepted on the screen display shown in FIG. 39, and a new rotation operation is performed. In step 460, the modification information is changed, and the image modification is executed through the processing in step 445.

この場合も、「実行」のコマンドボタンをクリックされたら「確定」を意味するものと判断し、「オリジナルデータに反映」のチェックボックスにおける選択状況に応じてステップ465にて元の画像データを書き換えたり、ステップ470にて最終的な修整情報を表す回転角度(m_nRotation)の管理パラメータを書き換えたりすることになる。なお、「キャンセル」のコマンドボタンをクリックされたときには「中止」と判断して本処理を終了する。   Also in this case, if the “execute” command button is clicked, it is determined to mean “confirm”, and the original image data is rewritten in step 465 according to the selection status in the “reflect to original data” check box. In step 470, the management parameter of the rotation angle (m_nRotation) representing the final modification information is rewritten. When the “Cancel” command button is clicked, it is determined to be “Cancel” and the present process is terminated.

このようにして管理パラメータを利用する一つのメリットとして元の画像データに変更を加える必要が無くなることがあげられ、元の画像データを活かすためには管理パラメータを修整する必要が生じてくる。
図40や図41に示すようにファイルメニューの画像修整を選択した際に表示されるドロップダウンメニューには、最下段に画像修整取消のコマンドが用意されており、同コマンドを選択して実行させると図32のフローチャートに従って処理が実行される。
One advantage of using the management parameters in this way is that it is not necessary to change the original image data, and it is necessary to modify the management parameters in order to make use of the original image data.
As shown in FIGS. 40 and 41, in the drop-down menu displayed when image modification is selected from the file menu, an image modification cancellation command is prepared at the bottom, and this command is selected and executed. The process is executed according to the flowchart of FIG.

この場合も画像データを選択した状態で画像修整取消を実行させるものとし、ステップ500において当該画像データについての写真データ30bの修整情報を読み込み、ステップ505において図42に示す操作メニューを主表示エリアに表示して操作入力を待機する。この操作メニューでは取消対象として「自動画像修整」、「手動画像調整」、「回転」、「トリミング」、「白黒」、「セピア調」といった取消対象の項目とともにそれぞれの項目の前にチェックボックスを表示している。ここで、操作者は取り消したい画像修整項目の前のチェックボックスをマウス15bでクリックすることによりチェックマークがトグル表示されるとともに、内部的にはそれぞれのチェックマークの有無をフラグで表して記憶する。また、下段には「実行」コマンドボタンと「キャンセル」コマンドボタンとを用意してあり、操作者は必要なチェックボックスをチェックしたら「実行」のコマンドボタンをクリックする。   Also in this case, it is assumed that the image modification / cancellation is executed with the image data selected, the modification information of the photo data 30b for the image data is read in step 500, and the operation menu shown in FIG. 42 is displayed in the main display area in step 505. Display and wait for operation input. In this operation menu, check boxes in front of each item as well as the items to be canceled, such as “Automatic image correction”, “Manual image adjustment”, “Rotation”, “Trimming”, “Monochrome”, “Sepia”. it's shown. Here, when the operator clicks the check box in front of the image modification item to be canceled with the mouse 15b, a check mark is toggled and the presence / absence of each check mark is internally stored as a flag. . In the lower row, an “execute” command button and a “cancel” command button are prepared, and the operator clicks the “execute” command button after checking the necessary check boxes.

すると、ステップ510以下において各チェックボックスにチェックマークが付されているか否かを判断しながら対応する修整情報を削除していく。むろん、ここでいう修整情報の削除とは管理パラメータの修整に他ならず、元の画像データを加工するようなことは一切不要である。具体的に説明していくと、ステップ510では「自動画像修整」の項目にチェックマークが付されているか否かを判断し、付されていればステップ515にて「自動画像修整」の修整情報を削除する。次に、ステップ520では「白黒」の項目にチェックマークが付されているか否かを判断し、付されていればステップ525にて「白黒」の修整情報を削除する。次に、ステップ530では「セピア調」の項目にチェックマークが付されているか否かを判断し、付されていればステップ535にて「セピア調」の修整情報を削除する。次に、ステップ540では「手動画像調整」の項目にチェックマークが付されているか否かを判断し、付されていればステップ545にて「手動画像調整」の修整情報を削除する。手動画像調整には明度やコントラストや色強調といったものが含まれ、この例では全部を取り消すようにしているが、それらを個別に取り消せるようにしても良い。   Then, in step 510 and subsequent steps, the corresponding modification information is deleted while determining whether or not each check box is checked. Of course, the deletion of the modification information here is nothing but the modification of the management parameters, and it is not necessary to process the original image data. More specifically, in step 510, it is determined whether or not a check mark is added to the item “automatic image correction”. If it is added, correction information of “automatic image correction” is determined in step 515. Is deleted. Next, in step 520, it is determined whether or not a check mark is added to the item “black and white”. If it is added, correction information of “black and white” is deleted in step 525. Next, in step 530, it is determined whether or not a check mark is added to the item “sepia”, and if it is attached, the modification information of “sepia” is deleted in step 535. Next, in step 540, it is determined whether or not a check mark is added to the item “manual image adjustment”. If it is added, correction information of “manual image adjustment” is deleted in step 545. Manual image adjustment includes things such as brightness, contrast, and color enhancement. In this example, all are canceled, but they may be canceled individually.

次に、ステップ550では「トリミング」の項目にチェックマークが付されているか否かを判断し、付されていればステップ555にて「トリミング」の修整情報を削除する。次に、ステップ560では「回転」の項目にチェックマークが付されているか否かを判断し、付されていればステップ565にて「回転」の修整情報を削除する。
以上の結果を経ていくつかの修整情報が削除された状態でステップ570ではその修整情報を保存する。ここでいう保存作業は、写真データ30bの更新を意味し、図5に示す写真データ30bのデータベース構造にアクセスして最新の修整情報に更新する。なお、図42に示す操作メニューで「キャンセル」のコマンドボタンをクリックすると、内部的には全てのチェックマークを削除して以上の処理を実行するため、結局は何も修整情報を削除することなく本処理を終了することになる。なお、この例では一旦作成した修整情報を削除することによって元に戻す手法を採用しているが、修整情報自体に日時の情報を付加することにより一つの画像データについて時系列に対応した複数の修整情報を管理するようにしてもよい。このようにすれば、単に修整情報を削除することによって元に戻すだけでなく、任意の段階の修整情報まで遡って修整情報を削除することも可能であり、途中の段階で良好だった修整結果を復元するといったことも可能となる。
Next, in step 550, it is determined whether or not a check mark is added to the item “trimming”. If it is added, correction information of “trimming” is deleted in step 555. Next, in step 560, it is determined whether or not a check mark is added to the item “rotation”. If it is added, correction information of “rotation” is deleted in step 565.
In a state where some modification information has been deleted through the above results, the modification information is stored in step 570. The storage operation here means updating of the photo data 30b, and the database structure of the photo data 30b shown in FIG. 5 is accessed and updated to the latest modification information. When the “Cancel” command button in the operation menu shown in FIG. 42 is clicked, all the check marks are deleted and the above processing is executed internally, so that eventually no modification information is deleted. This process ends. In addition, in this example, a method of restoring the original information by deleting the once created correction information is adopted, but by adding date and time information to the correction information itself, a plurality of time series corresponding to one image data are added. The modification information may be managed. In this way, it is possible not only to restore the original by simply deleting the correction information, but also to delete the correction information retroactively to the correction information at any stage, and the correction result that was good at the intermediate stage It is also possible to restore.

これまで、各画像データに対応して用意されている管理パラメータを設定し、あるいは取り消す作業について説明したが、この管理パラメータを利用しつつ、実際に修整された画像データを利用できるようにする処理について図33のフローチャートを参照しながら説明する。
修整された画像データを利用する場面は、表示指定部20bによる指示に従ってサムネール作成部20iがサムネールを更新して画面表示する場合であるとか、画像出力部20kによって画像データのデータフォーマットの形式を変換して出力する場合であるとか、後述するようにDPE印刷制御部50によって印刷を実行する場合にその元の印刷データを作成する場合などである。従って、それぞれの場合において微細な処理の相違はあるものの、概ね図33のフローチャートと一致している。
Up to now, the management parameter prepared for each image data has been set or canceled, but the processing to make it possible to use the actually modified image data while using this management parameter Will be described with reference to the flowchart of FIG.
The scene where the modified image data is used is a case where the thumbnail creating unit 20i updates the thumbnail and displays it on the screen according to an instruction from the display designating unit 20b, or the image output unit 20k converts the data format of the image data. Or the case where the original print data is created when printing is executed by the DPE print control unit 50, as will be described later. Therefore, although there is a fine processing difference in each case, it generally matches the flowchart of FIG.

ステップ600で対象となる画像データの修整情報を読み込むとともに、ステップ605で画像データを読み込み、以下の処理において修整情報に従いながら同画像データに基づいて画像修整を行っていき、この画像データを書き換えることなく新たな画像データを作成していく。ステップ610では自動画像修整の修整情報があるか判断し、ある場合にはステップ615にて自動画像修整を行なう。この場合、自動画像修整(m_nApf)の管理パラメータには単に自動画像修整を行うという情報だけではなく、「標準」、「きれい」、「DPE調」といったどの自動画像修整を行うのかを判断して処理を進める。また、白黒やセピア調への変換は修整結果が1通りにしか過ぎないことからこの自動画像修整の管理パラメータで表せるようにしており、同時あるいは択一的に実施する。   In step 600, the modification information of the target image data is read. In step 605, the image data is read. In the following processing, the image modification is performed based on the image data while following the modification information, and the image data is rewritten. New image data will be created. In step 610, it is determined whether there is correction information for automatic image correction, and if there is, automatic image correction is performed in step 615. In this case, the management parameter of the automatic image modification (m_nApf) is not only the information that the automatic image modification is performed, but it is determined which automatic image modification such as “standard”, “beautiful”, “DPE tone” is performed. Proceed with the process. Also, since conversion to black and white or sepia tone has only one modification result, it can be expressed by the management parameters of this automatic image modification, and is performed simultaneously or alternatively.

続いてステップ620では手動調整の修整情報があるか否かを判断し、あればステップ625にて手動調整の画像処理を実行する。手動調整の修整情報は上述したように、明るさ成分の強調度(m_nBrightness)と、コントラストの強調度(m_nContrast)と、赤成分の強調度(m_nRed)と、緑成分の強調度(m_nGreen)と、青成分の強調度(m_Blue)とから構成されており、いずれか一つでも修整情報があれば対応する画像処理を実行するし、明るさとコントラストについての修整情報と、色強調の修整情報とがある場合には、前者についての修整を行った上で後者の修整を行うことにする。むろん、かかる修整順序を反映した結果が得られる場合には一度の修整で実行することも可能である。   Subsequently, in step 620, it is determined whether there is manual adjustment correction information. If there is manual adjustment image processing, in step 625, manual adjustment image processing is executed. As described above, the correction information of the manual adjustment includes the brightness component enhancement level (m_nBrightness), the contrast enhancement level (m_nContrast), the red component enhancement level (m_nRed), and the green component enhancement level (m_nGreen). And the blue component enhancement level (m_Blue), and if any one of the correction information is present, the corresponding image processing is executed, the correction information on brightness and contrast, the correction information on color enhancement, If there is, the latter is modified after the former is modified. Of course, when a result reflecting such a modification order is obtained, it is also possible to perform the modification once.

この後、ステップ630ではトリミングの修整情報があるか判断し、ある場合にはステップ635にてトリミングの画像処理を実行する。トリミングの画像処理では、トリミング開始X座標(m_x1)とトリミング開始Y座標(m_y1)とトリミング終了X座標(m_x2)とトリミング終了Y座標(m_y2)に囲まれるエリアを残して周囲の画像データを削除することになる。
また、ステップ640では回転の修整情報があるか判断し、ある場合にはステップ645にて回転の画像処理を実行する。回転の画像処理では、回転角度(m_nRotation)の管理パラメータに基づいて回転角度を参照し、画像データを回転させる処理を実行することになる。
Thereafter, in step 630, it is determined whether there is trimming modification information. If there is, trimming image processing is executed in step 635. In the image processing for trimming, the surrounding image data is deleted leaving an area surrounded by the trimming start X coordinate (m_x1), trimming start Y coordinate (m_y1), trimming end X coordinate (m_x2), and trimming end Y coordinate (m_y2). Will do.
In step 640, it is determined whether there is rotation correction information. If there is rotation correction information, rotation image processing is executed in step 645. In the rotation image processing, the rotation angle is referred to based on the management parameter of the rotation angle (m_nRotation), and processing for rotating the image data is executed.

以上の画像処理は最初に元画像データをワークエリアに保存し直した上、そのワークエリア上の画像データに変更を加えていく。従って、元画像データには変更は加えられない。
以上は、操作者の選択操作に応じて実行されたりされなかったりするオプション的な画像処理であるが、ステップ650とステップ655ではハードウェア環境の相違に基づいて必須の画像処理を実行している。ステップ650では出力機器に応じた色再現の画像処理を実行する。カラー出力の再現機器では基準とのずれがあるのは否めない。すなわち、同じ画像データを入力しながら出力結果が相違することは多々ある。また、このずれを画一化して画像データと出力結果とが必ず標準状態と一致することは単純に費用対コストの面でも無理な話であり、それよりはずれを見越して修整するための色合わせ情報を利用するのが得策である。
In the above image processing, the original image data is first saved in the work area, and the image data on the work area is changed. Accordingly, no change is made to the original image data.
The above is optional image processing that may or may not be executed according to the selection operation of the operator. In Step 650 and Step 655, essential image processing is executed based on the difference in hardware environment. . In step 650, image processing for color reproduction according to the output device is executed. It cannot be denied that there is a deviation from the standard in color output reproduction equipment. That is, there are many cases where the output results are different while inputting the same image data. In addition, it is impossible for the cost and cost to be uniform because the image data and the output result must be consistent with the standard state by unifying this displacement. It is a good idea to use information.

上述した画像データの場合であれば、撮影した側での色ずれ情報と出力する側での色ずれ情報があれば出力結果において大きな色ずれは発生しないと言える。本実施形態においては、前者の色ずれ情報を色合わせ情報として写真データ30bのデータベース構造内で管理するとともに、本コンピュータシステム10とカラープリンタ17bとにおいて生じる色ずれ情報として設定情報内で管理し、ステップ650において両者の色ずれ情報に基づいてワークエリア上の画像データを修整する。   In the case of the image data described above, it can be said that there is no large color shift in the output result if there is color shift information on the photographing side and color shift information on the output side. In the present embodiment, the former color misregistration information is managed as color matching information in the database structure of the photographic data 30b, and is managed in the setting information as color misregistration information generated in the computer system 10 and the color printer 17b. In step 650, the image data on the work area is corrected based on both color misregistration information.

また、ステップ655では出力機器に応じた解像度の画像処理を実行するものであり、画像データの解像度に対して出力する際の解像度とを対比して対応する解像度変換を行う。例えば、カラーディスプレイ17aでの表示が70dpiであってその大きさ通りに印刷しようとする場合、カラープリンタ17bの解像度が720dpiであるとすると、縦横方向に10倍の解像度変換が必要になる。   In step 655, image processing with a resolution corresponding to the output device is executed, and corresponding resolution conversion is performed by comparing the resolution of the image data with the resolution at the time of output. For example, when the display on the color display 17a is 70 dpi and printing is performed according to the size, if the resolution of the color printer 17b is 720 dpi, 10-times resolution conversion is required in the vertical and horizontal directions.

図34に示す同時プリントの処理の説明に戻ると、写真の修整の次に行われるのは「プリント指定」の処理である。既に、「写真の入力」と「写真の修整」を経ており、印刷したい画像データの選択と、それに施すべき画像処理が選択されている。この「プリント指定」では選択されている画像データをどのようなフォーマットで印刷するかを指定する。
図43は「プリント指定」での主表示エリアでの表示を示しており、上段部分には横方向にスクロール可能な表示エリアを配してレイアウトのパターンを表示可能となっている。同図においては、「4枚ずつのレイアウト」、「アルバム印刷」、「シール印刷」のレイアウトが表示されている。むろん、これ以外にもレイアウトのパターンを実装することは可能である。また、オプションとして、切断する際の位置の目安となるトンボを印刷したり、日付を印刷したり、タイトルを印刷させるのを選択できるようにチェックボックスを設けている。さらに、用紙については「A4」、「B5」、「シール」などに対応しており、これらについてはいずれかだけを排他的に選択できるラジオボタンを設けてある。
Returning to the description of the simultaneous printing process shown in FIG. 34, the "print designation" process is performed after the photo correction. Already through “photo input” and “photo correction”, selection of image data to be printed and image processing to be performed on it are selected. This “print designation” designates in what format the selected image data is to be printed.
FIG. 43 shows the display in the main display area in the “print designation”. A display pattern that can be scrolled in the horizontal direction is arranged in the upper portion so that a layout pattern can be displayed. In the drawing, layouts of “layout for every four sheets”, “album print”, and “sticker print” are displayed. Of course, other layout patterns can be implemented. In addition, as an option, a check box is provided so that a register mark that is a guide for the position when cutting, a date, or a title can be selected. Furthermore, the paper corresponds to “A4”, “B5”, “seal”, and the like, and for these, a radio button that can exclusively select any one is provided.

印刷する際には、カラープリンタ17bの機種に応じて印刷データを生成させる必要があるから、下段左方にはプリンタ装置の選択表示エリアを設けてある。ここでプリンタ装置を選択することにより、それぞれに対応した設定情報が読み出され、上述した色ずれを修整したり、出力解像度を一致させることになる。
レイアウトの中には「アルバム印刷」のレイアウトが用意されており、「アルバム詳細」のコマンドボタンをクリックすると主表示エリアには図44に示す操作画面が表示される。この表示画面においても上段部分には横方向にスクロール可能な表示エリアを配してアルバムのパターンを表示可能となっており、この例ではA4用紙を横二列縦四段に配して市松様に画像を印刷するものと、左側半分に縦四段に配して画像を印刷するものと、上下に二段に分けて画像を印刷するものとを示している。また、アルバム印刷用のオプションとして、コメントを印刷したり、日付を印刷したり、ページタイトルを印刷させるのを選択できるようにチェックボックスを設けてあるとともに、アルバム印刷においては日をおいて順次印刷していくことから通しのページ番号を印刷できるようにページ番号の指定覧も設けてある。なお、このページ番号は前回のアルバム印刷の後続ページ番号を自動的にセットするようにしても良い。そして、この表示通りで良ければ「OK」のコマンドボタンをクリックすればよいし、気に入らなければ「キャンセル」のコマンドボタンをクリックすればよい。
When printing, since it is necessary to generate print data according to the model of the color printer 17b, a printer device selection display area is provided on the left side of the lower stage. Here, by selecting a printer device, setting information corresponding to each is read, and the above-described color misregistration is corrected or output resolutions are matched.
The layout of “album print” is prepared in the layout, and when the “album details” command button is clicked, an operation screen shown in FIG. 44 is displayed in the main display area. Also in this display screen, an album pattern can be displayed by arranging a display area that can be scrolled horizontally in the upper part. In this example, A4 paper is arranged in two horizontal rows and four vertical rows. In the figure, an image is printed, an image is printed in four columns on the left half, and an image is printed in two stages on the top and bottom. Also, as an option for album printing, check boxes are provided so that you can choose to print comments, print the date, or print the page title. Therefore, a page number designation list is also provided so that a continuous page number can be printed. This page number may be automatically set to the subsequent page number of the previous album printing. Then, if the display is acceptable, the “OK” command button may be clicked. If the user does not like the display, the “Cancel” command button may be clicked.

図34に示す同時プリントの最後の処理は「印刷」であるが、この主表示エリアには図45に示すように現在指定されているプリンタ装置の機種と、印刷する用紙のサイズと、必要な枚数を含めて確認用のメッセージを表示し、さらに印刷を開始させるための「実行」のコマンドボタンと、「キャンセル」のコマンドボタンを用意してある。むろん、この状態で「実行」のコマンドボタンをクリックすれば印刷が開始される。カラープリンタ17bによっては印刷に時間を要することが少なくないため、予め指定しておくべき操作を全て完了した上でこの「実行」ボタンをクリックすれば風呂上がりには印刷を全て完了させておくということが容易になる。   The last process of the simultaneous printing shown in FIG. 34 is “printing”, but in this main display area, as shown in FIG. 45, the model of the currently designated printer device, the size of the paper to be printed, and the necessary A confirmation message including the number of copies is displayed, and an “execute” command button and a “cancel” command button for starting printing are prepared. Of course, if you click the "execute" command button in this state, printing will start. Depending on the color printer 17b, it often takes time to print. Therefore, if all the operations that should be specified in advance are completed and this "execute" button is clicked, all the printing is completed after the bath is finished. It becomes easy.

ところで、図46はこのような「プリント指定」と「印刷」の処理を実行するDPE印刷制御部50の具体的構成を示している。印刷画像指定部50aは上述したようにして選択された画像データの指定を受け継ぐものであり、フレーム指定部50bとレイアウト指定部50cとによって「プリント指定」の処理を実行し、プリント指定部50dによる制御の下で印刷スタイル作成部50eと印刷画像処理部50fとで実際の印刷データを生成する。一般に画像データはRGBの多階調表示で表されている反面、印刷はCMYKの二階調表示が多い。このため、印刷画像処理部50fは上述した指定に応じた画像処理を実行させた上でRGB→CMYKの色空間の変更ととともに多階調→二階調の階調変換処理も併せて実行する。   Incidentally, FIG. 46 shows a specific configuration of the DPE print control unit 50 which executes such “print designation” and “print” processing. The print image designation unit 50a inherits the designation of the image data selected as described above. The print designation unit 50d executes the “print designation” process by the frame designation unit 50b and the layout designation unit 50c. Under the control, the print style creation unit 50e and the print image processing unit 50f generate actual print data. In general, image data is represented by RGB multi-gradation display, but printing is often CMYK two-gradation display. For this reason, the print image processing unit 50f executes the image processing according to the above-described designation, and also executes the multi-tone → two-tone gradation conversion processing together with the change of the RGB → CMYK color space.

なお、一つの画像データに対して複数の修整情報を時系列的に保存するようにする場合、修整の削除を行う際には履歴を表示し、一つ一つ遡って削除するようにしていけばよい。むろん、事例列的な修整データがある場合には最古のものから順番に画像処理を施していって利用したい画像データを再現することになる。また、修整を追加したい場合には新たに修整情報を生成し、以前の修整情報を残したまま保存する。

<第二の実施例>
一方、図47は上述したフォルダ単位の階層構造をより具体的に示したものである。まず、フィルムデータ30cについては、この画像データ処理装置の主要プログラムが格納される「main」フォルダ31のデータベースファイルai_dpe.db0として保存されている。主要プログラムと同一フォルダであるので、どのパトローネがどのフォルダに対応するかは核となる重要な情報であり、ユーザーの任意の指定によって場所を変えてしまうことにより、結果的に散逸してしまうことを防止する。次に、CD−ROM13c−1等の交換可能な記憶領域に保存された画像ファイル30aについては、パトローネ単位で写真データ30bを管理するものとして、この写真データ30bを「main」フォルダ31の中に形成した「removable」フォルダ32にデータベースファイルphoto1.db1,photo1.db2,photo2.db1,photo2.db2として保存している。ここで、一つのパトローネに対してphoto1,photo2という名称が付されつつ、それぞれに拡張子db1,db2が付された二つのファイルを生成している。この二つのデータベースファイルのうち、拡張子がdb2となっているものが写真データ30bにおけるサムネールの専用のファイルであり、拡張子がdb1となっているファイルに残りの写真データ30bが格納されている。従って、この例では一組のデータベースファイルphoto1.db1,photo1.db2で写真データ30bを構成している。
If you want to save multiple modification information for one image data in time series, display the history when deleting modifications, and delete them one by one. That's fine. Of course, if there is modification data in the case sequence, the image data to be used is reproduced by performing image processing in order from the oldest. In addition, when it is desired to add corrections, new correction information is generated and stored with the previous correction information remaining.

<Second Example>
On the other hand, FIG. 47 shows more specifically the above-described hierarchical structure of folder units. First, regarding the film data 30c, the database file ai_dpe .. of the “main” folder 31 in which the main program of the image data processing apparatus is stored. Stored as db0. Since it is the same folder as the main program, which patrone corresponds to which folder is important information at the core, and it will be dissipated as a result of changing the location according to the user's arbitrary designation To prevent. Next, regarding the image file 30a stored in the exchangeable storage area such as the CD-ROM 13c-1, the photo data 30b is managed in the cartridge unit, and the photo data 30b is stored in the “main” folder 31. In the formed “removable” folder 32, the database file photo1. db1, photo1. db2, photo2. db1, photo2. Stored as db2. Here, two files having the extensions db1 and db2 are generated while the names photo1 and photo2 are assigned to one cartridge. Of these two database files, the one with the extension db2 is a thumbnail-specific file in the photo data 30b, and the remaining photo data 30b is stored in the file with the extension db1. . Therefore, in this example, a set of database files photo1. db1, photo1. Photo data 30b is composed of db2.

一方、画像ファイル30aをハードディスク13b上に保存する場合は「main」フォルダ31の中に形成した「films」フォルダ33内に保存される。ここで、「films」フォルダ33の中にはさらにパトローネごとに一つずつのフォルダが形成され、パトローネの名称として「海水浴」を設定したときには「海水浴」フォルダ34となるし、パトローネの名称として「ハイキング」を設定したときには「ハイキング」フォルダ35となる。そして、それぞれのフォルダ内には写真データ30bとしてデータベースファイルai_dpe.db1,ai_dpe.db2が作成されるとともに、個別の画像ファイル30aがユニークな名称で保存されている。二つのデータベースファイルは先ほどと同様に拡張子がdb2のものにサムネールデータが保存され、拡張子がdb1のものに残りの写真データが保存されている。また、このデータベースファイルは同じディレクトリに保存される画像ファイル30aだけの情報が格納されている。むろん、「ハイキング」フォルダ35についても全く同様である。   On the other hand, when the image file 30 a is stored on the hard disk 13 b, it is stored in the “films” folder 33 formed in the “main” folder 31. Here, one folder is formed for each cartridge in the “films” folder 33, and when “sea bathing” is set as the name of the cartridge, it becomes the “sea bathing” folder 34, and the name of the cartridge is “ When “hiking” is set, the “hiking” folder 35 is displayed. In each folder, the database file ai_dpe. db1, ai_dpe. db2 is created, and an individual image file 30a is stored with a unique name. As with the previous two database files, thumbnail data is stored in the extension db2 and the remaining photo data is stored in the extension db1. In addition, this database file stores information on only the image file 30a stored in the same directory. Of course, the same applies to the “hiking” folder 35.

また、処理の都合上、一時的に分離不明なものを保存しておくパトローネがあると便利であり、「その他」という名称のパトローネを用意してある。そして、この「その他」のパトローネに分類される画像ファイル30aは「films」フォルダ33の直下に上述した「海水浴」フォルダ34や「ハイキング」フォルダ35と同列で保存されている。ここでも当該ディレクトリに存在する画像ファイルを対象としたデータベースファイルai_dpe.db1,ai_dpe.db2が作成されている。   In addition, for the convenience of processing, it is convenient to have a cartridge that temporarily stores information that cannot be separated, and a cartridge named “Other” is prepared. The image file 30 a classified as the “others” cartridge is stored in the same row as the “sea bathing” folder 34 and the “hiking” folder 35 described above immediately below the “films” folder 33. Here again, the database file ai_dpe. db1, ai_dpe. db2 has been created.

このように画像ファイル30aの存在場所は、交換可能な記録媒体上かハードディスク13bとなり、それぞれパトローネ単位で管理され、その存在場所は「main」フォルダ31のデータベースファイルai_dpe.db0で集中管理されている。そして、データベースファイルai_dpe.db0内でリンク先としてその情報が格納されている。リンク先がハードディスク13b上であれば画像ファイル30aは写真データ30bとともに一つのディレクトリが確保されて保存されるし、交換可能な記録媒体上であれば写真データ30bだけを一つのディレクトリに集中して保存している。なお、写真データ30bと画像ファイル30aとが同じディレクトリにない場合、すなわち交換可能な記録媒体上にある場合には写真データ30bであるデータベースファイルphoto1.db1,photo1.db2のファイル名もフィルムデータ30cに保存されている。これは、複数のパトローネの写真データ30bが一つのディレクトリ上に保存されることになるためである。これに対して写真データ30bと画像ファイル30aとが同じディレクトリにある場合、写真データ30bであるai_dpe.db1,ai_dpe.db2の名称は特に重要ではない。これは、パトローネごとに一つのディレクトリが確保され、その中には一組のデータベースファイルai_dpe.db1,ai_dpe.db2しか存在しないためである。むろん、ディレクトリの名称がパトローネの名称に対応するため、パトローネの名称でその所在も特定される。   As described above, the location of the image file 30a is on a replaceable recording medium or the hard disk 13b, and is managed on a cartridge basis, and the location is stored in the database file ai_dpe. Centralized management is performed with db0. Then, the database file ai_dpe. The information is stored as a link destination in db0. If the link destination is on the hard disk 13b, the image file 30a is stored with one directory secured together with the photo data 30b. If the link destination is on an exchangeable recording medium, only the photo data 30b is concentrated in one directory. Saved. If the photo data 30b and the image file 30a are not in the same directory, that is, if they are on an exchangeable recording medium, the database file photo1. db1, photo1. The file name of db2 is also stored in the film data 30c. This is because a plurality of cartridge photo data 30b are stored in one directory. On the other hand, when the photo data 30b and the image file 30a are in the same directory, ai_dpe. db1, ai_dpe. The name of db2 is not particularly important. This is because one directory is reserved for each cartridge, and a set of database files ai_dpe. db1, ai_dpe. This is because only db2 exists. Of course, since the name of the directory corresponds to the name of the cartridge, the location is also specified by the name of the cartridge.

ところで、画像ファイル30aと写真データ30bをリンクさせる手法は様々である。上の例では複数の画像ファイル30aに対して一組のデータベースファイルを形成するようにしているが、ファイル単位で分散させることも可能である。図48は一つの画像ファイル「0616000x.jpg」に対して上述した修整情報や特徴情報や色合せ情報等を含む一つのアトリビュートファイル「0616000x.ATB」を写真データ30bとして生成している。この場合、一つのパトローネに対して一つのディレクトリを生成し、各ディレクトリに画像ファイル30a群とアトリビュートファイル30d群とが保存される。画像ファイル30aを扱うに際しては、まず、各ディレクトリ内のアトリビュートファイル30dと画像ファイル30aとが一対一で対応しているか判断し、一致していればアトリビュートファイル30d内のサムネールデータを使用して簡易的な表示や各種の操作の処理を実行する。この場合、フィルムデータ30cに書き込まれたディレクトリの存在場所と各画像ファイル30aの名称とによってアトリビュートファイル30dが特定されるので、これらの情報が画像ファイル30aと修整情報とのリンクの情報を構成する。   By the way, there are various methods for linking the image file 30a and the photo data 30b. In the above example, a set of database files is formed for a plurality of image files 30a, but it is also possible to distribute them in file units. In FIG. 48, one attribute file “0616000x.ATB” including the above-described modification information, feature information, color matching information, and the like is generated as photographic data 30b for one image file “0616000x.jpg”. In this case, one directory is generated for one cartridge, and the image file 30a group and the attribute file 30d group are stored in each directory. When handling the image file 30a, first, it is determined whether the attribute file 30d and the image file 30a in each directory have a one-to-one correspondence. If they match, the thumbnail data in the attribute file 30d is used for simple processing. Execute typical display and various operations. In this case, since the attribute file 30d is specified by the directory location written in the film data 30c and the name of each image file 30a, these pieces of information constitute the information of the link between the image file 30a and the modification information. .

また、データベースファイルを生成しない他の一例として、画像ファイル30aと写真データ30bを一体化したファイルを生成することも可能である。図49(a)はその場合のディレクトリ構造の一例を示しており、一つの画像ファイル「0616000x.jpg」の存在を前提として写真データ30bを含めた一つのファイル「0616000x.PHT」を生成している。この場合は、画像ファイル30aが存在することを前提として写真データ30bを付属させるような対応であるため、別ファイルとした場合のように対応が不一致となることはない。   As another example in which a database file is not generated, a file in which an image file 30a and photo data 30b are integrated can be generated. FIG. 49A shows an example of the directory structure in that case, and one file “0616000x.PHT” including the photo data 30b is generated on the assumption that one image file “0616000x.jpg” exists. Yes. In this case, since the correspondence is such that the photo data 30b is attached on the assumption that the image file 30a exists, the correspondence does not become different as in the case of separate files.

また、修整処理のバージョンアップが予見されるし、その他予見できない変更に対応するためにも予備の情報が必要となる。図49(b)には修整処理のバージョンアップに対応して画像修整エンジンのバージョンを示す情報を含める例を示している。ここでは、画像ファイル「xxxx.jpg」と写真データ「xxxx.ATB」に加えて画像修整エンジンのバージョンを示す情報ファイル「xxxx.ENG」とを一体化して一つの統合されたファイル「xxxx.PHT」を生成している。   In addition, the upgrade process of the modification process is foreseen, and preliminary information is required to cope with other unforeseeable changes. FIG. 49B shows an example in which information indicating the version of the image modification engine is included corresponding to the upgrade of the modification process. Here, in addition to the image file “xxxx.jpg” and the photo data “xxxx.ATB”, an information file “xxxx.ENG” indicating the version of the image modification engine is integrated into one integrated file “xxxx.PHT”. Is generated.

このようなフォルダ構造を採用した場合の具体的な処理を図50に示している。上述したように、通常の修整処理結果はサムネールにのみ反映させておき、オリジナルの画像ファイル30aには修整を加えていない。従って、等倍表示や拡大表示の場合、あるいは印刷の場合に、実際の画像ファイル30aに修整処理を加える必要がある。むろん、修整結果は、一時的なワークの画像データ30aである。   FIG. 50 shows a specific process when such a folder structure is adopted. As described above, the normal modification processing result is reflected only in the thumbnail, and the original image file 30a is not modified. Therefore, it is necessary to apply a modification process to the actual image file 30a in the case of the same size display, enlarged display, or printing. Of course, the modification result is temporary work image data 30a.

以上のようなファイル構成を前提として図50のワーク画像ファイル生成処理について説明する。図34の同時プリント処理を実行しているときには、その途中で修整結果をチェックするために画像ファイルを等倍あるいは拡大して表示する必要が生じる。また、最終的に印刷を実行する場合には修整結果を反映させた画像ファイルが必要である。図50に示すワーク画像ファイル生成処理では、このような場合にワークの画像ファイルを生成する処理である。   The work image file generation process of FIG. 50 will be described on the premise of the file configuration as described above. When the simultaneous printing process of FIG. 34 is being executed, it is necessary to display the image file at the same magnification or enlarged size in order to check the modification result. Further, when printing is finally executed, an image file reflecting the modification result is necessary. The work image file generation process shown in FIG. 50 is a process for generating a work image file in such a case.

なお、この処理は一つのモジュールなどとして実現され、当該モジュールを呼び出すにあたってはあるパトローネが選択されている下で画像ファイルが指定されているものとする。従って、図51に示すようにパトローネの選択情報は変数PATRONEに、また、各パトローネ内に保持されている画像ファイル30aのそれぞれについて選択の有無を示す変数f_PICTが用意されている。この変数f_PICTについては、1000バイトの文字領域であるが、各バイトが一枚の画像ファイル30aごとの選択情報となっており、都合1000枚の画像ファイル30aの選択の有無を指定できるようになっている。そして、引数を与えて任意の場所の1バイトを参照でき、その情報で各画像ファイル30aの選択の有無を判定するものとする。   Note that this process is realized as a single module, and it is assumed that an image file is specified under a selected cartridge when calling the module. Therefore, as shown in FIG. 51, the cartridge selection information is provided in a variable PATRONE, and a variable f_PICT indicating whether or not each image file 30a held in each cartridge is selected. The variable f_PICT is a character area of 1000 bytes, but each byte is selection information for each image file 30a, and it is possible to designate whether or not 1000 image files 30a are selected for convenience. ing. Then, it is possible to refer to one byte at an arbitrary place by giving an argument, and determine whether or not each image file 30a is selected based on the information.

まず、ステップ700では変数PATRONEから選択されているパトローネのフィルムデータ30cを「main」フォルダ31のデータベースファイルai_dpe.db0で参照する。該当するフィルムデータ30cには当該パトローネについて媒体属性とリンク先が含まれている。従って、ステップ700ではこのリンク先を取得し、ステップ705では媒体属性から交換可能な記録媒体、すなわちリムーバブルであるか否かを判断して処理を分岐させる。リムーバブルの場合は、まず、ステップ707にて対応すべきリムーバブル記録媒体を装填する。具体的には、リムーバブル記録媒体のリンク先であるパス名や媒体ラベルを取得し、ユーザーに示して所定のドライブにセットを促し、セットされたらそれが正しいかどうかを確認して間違っていたらやり直させる。これが完了したら、ステップ710にて「removable」フォルダ32内で対応するデータベースファイルを参照する。データベースファイルphoto1.db1,photo1.db2であれば、変数f_PICTにおける指定情報に基づいて指定された各画像ファイルの修整情報を当該データベースファイルから取得する。   First, in step 700, the patrone film data 30c selected from the variable PATRONE is stored in the database file ai_dpe. Refer to it by db0. The corresponding film data 30c includes the medium attribute and the link destination for the cartridge. Therefore, in step 700, the link destination is acquired, and in step 705, it is determined whether or not the recording medium can be exchanged from the medium attribute, that is, the removable recording medium, and the process is branched. In the case of removable, first, in step 707, a removable recording medium to be supported is loaded. Specifically, it obtains the path name and media label that is the link destination of the removable recording medium, shows it to the user, prompts the user to set the drive, checks if it is correct, and if it is incorrect, starts again. Make it. When this is completed, the corresponding database file is referred to in the “removable” folder 32 in step 710. Database file photo1. db1, photo1. If it is db2, the modification information of each image file designated based on the designation information in the variable f_PICT is acquired from the database file.

また、媒体属性に基づいてリムーバブルでない場合には、ステップ715にてパトローネの名称が付されたフォルダをfilmsフォルダ33内で探し、該当するフォルダ内のデータベースファイルai_dpe.db1,ai_dpe.db2を参照する。そして、変数f_PICTにおける指定情報に基づいて指定された各画像ファイルの修整情報を当該データベースファイルから取得する。
このようにして画像ファイル30aの所在とともにこれに対応する修整情報などを取得できるため、ステップ720では指定された修整情報に基づいて対応する画像修整エンジンにて修整処理を実行させ、さらにステップ725で本来の当該・拡大表示あるいは印刷処理を実行させる。なお、ステップ725については当該モジュールの中から実行しても良いし、一度処理を上位のモジュールに戻して実行させるようにしても構わない。
If it is not removable based on the medium attribute, a folder with the name of the cartridge is searched in the films folder 33 in step 715, and the database file ai_dpe. db1, ai_dpe. Refer to db2. Then, the modification information of each image file designated based on the designation information in the variable f_PICT is acquired from the database file.
In this way, the location of the image file 30a and the modification information corresponding to the location can be acquired. In step 720, the modification process is executed by the corresponding image modification engine based on the designated modification information, and further in step 725. The original / enlarged display or printing process is executed. Note that step 725 may be executed from the module, or the process may be returned to the upper module and executed.

一方、パトローネが選択された状態で画像表示領域dp4にサムネール画像を表示させることになるが、この場合は図52に示すサムネール表示処理を実行する。この場合も、まずステップ730にて変数PATRONEに基づいて選択されているパトローネのフィルムデータ30cを「main」フォルダ31のデータベースファイルai_dpe.db0で参照し、該当するフィルムデータ30cの中から当該パトローネについての媒体属性とリンク先を取得する。そして、媒体属性から交換可能な記録媒体、すなわちリムーバブルであるか否かを判断し、リムーバブルの場合は、ステップ740にて「removable」フォルダ32内のデータベースファイルphoto1.db2からサムネールデータを取得する。また、媒体属性に基づいてリムーバブルでない場合には、ステップ745にてパトローネの名称が付されたフォルダをfilmsフォルダ33内で探し、該当するフォルダ内のデータベースファイルai_dpe.db2からサムネールデータを取得する。そして、ステップ750では取得されたサムネールデータを画像表示領域dp4に表示する。   On the other hand, a thumbnail image is displayed in the image display area dp4 in a state where the cartridge is selected. In this case, a thumbnail display process shown in FIG. 52 is executed. Also in this case, first, in step 730, the patrone film data 30c selected based on the variable PATRONE is stored in the database file ai_dpe. With reference to db0, the media attribute and link destination for the cartridge are acquired from the corresponding film data 30c. Then, it is determined from the medium attribute whether the recording medium can be exchanged, that is, removable, and if it is removable, in step 740, the database file photo1.jpg in the “removable” folder 32 is determined. Thumbnail data is acquired from db2. If it is not removable based on the medium attribute, the folder with the name of the cartridge is searched in the films folder 33 in step 745, and the database file ai_dpe. Thumbnail data is acquired from db2. In step 750, the obtained thumbnail data is displayed in the image display area dp4.

次に、画像処理の順序を任意に変更可能とする処理について説明する。図53はこの場合の写真データ30bにおける修整情報の内容を示している。処理の内容は、最左欄に示すように「自動画像修整」、「明るさ」、「コントラスト」、「赤(強調)」、「緑(強調)」、「青(強調)」である。また、各各処理ごとに、設定すべき個別の指定情報は最上覧に示すように「修整エンジンのバージョン」、「順番(実行順序情報)」、「処理強さ」となっている。   Next, processing for enabling the image processing order to be arbitrarily changed will be described. FIG. 53 shows the contents of the modification information in the photo data 30b in this case. The contents of the processing are “automatic image correction”, “brightness”, “contrast”, “red (emphasized)”, “green (emphasized)”, and “blue (emphasized)” as shown in the leftmost column. In addition, for each process, individual designation information to be set is “modified engine version”, “order (execution order information)”, and “processing strength” as shown in the top list.

ここで、「自動画像修整」は各処理内容の実行順序が固定であるので、選択しない場合にのみ他の処理同士の間で順番が有効となる。 同図(a)は自動画像修整の順番に「1」を設定してあり、他の処理は「0」であって選択していないことを意味する。これに対して同図(b)は自動画像修整の順番は「0」であって選択されていない。そして、他の処理は「1」〜「5」という順番が設定されている。   Here, since the execution order of each processing content is fixed in “automatic image modification”, the order is effective between other processes only when not selected. FIG. 5A shows that “1” is set in the order of automatic image modification, and that other processing is “0” and is not selected. On the other hand, in FIG. 5B, the order of automatic image modification is “0” and is not selected. In the other processes, the order of “1” to “5” is set.

図54はこのような処理の順番が付されている場合に画像の修整処理を実行させるフローチャートを示している。まず、ステップ760では処理順序別のソートを実行する。上述したように、処理を選択していない場合には「0」を付すので昇順ソートの結果、選択しない処理が先頭に来る。ステップ765では順番の欄に「0」が付されて先頭に並べられた処理を排除する。例えば、図53(a)に示すものであれば自動画像処理だけが残るし、同図(b)に示すものであれば自動画像処理だけが排除され、処理対象のものとして赤強調、緑強調、青強調、明るさ、コントラストの順に並ぶ。   FIG. 54 shows a flowchart for executing image modification processing when such processing order is assigned. First, in step 760, sorting by processing order is executed. As described above, when no process is selected, “0” is added, and as a result of ascending order sorting, a process that is not selected comes first. In step 765, “0” is added to the order column and the process arranged at the head is excluded. For example, in the case shown in FIG. 53 (a), only the automatic image processing remains, and in the case shown in FIG. 53 (b), only the automatic image processing is excluded, and red enhancement and green enhancement are processed. , Blue enhancement, brightness, contrast.

ステップ770はループの終了判断であって処理すべきものがなくなったらこの修整処理を終了させ、処理すべきものがあればステップ775とステップ780にて処理を実行させる。ステップ775は最優先の処理の処理エンジンに画像データと処理強さのパラメータを引き渡して修整処理を実行させる。最優先の処理は、ソートされて先頭に並べ替えられた処理であり、図53(b)の例であれば最初は赤強調の処理である。   Step 770 is a loop end determination, and when there is no more thing to be processed, this retouching process is ended. If there is anything to be processed, the process is executed in steps 775 and 780. In step 775, the image data and the processing strength parameter are delivered to the processing engine of the highest priority processing, and the correction processing is executed. The highest-priority processing is processing that has been sorted and rearranged to the top, and in the example of FIG. 53B, the processing is initially red-emphasized.

この処理の後、ステップ780では未処理のものを繰り上げる。最初、赤強調の処理が最優先の処理であり、その処理を終了したら赤強調の処理を排除して二番目の青強調を最優先の処理とし、以下同様に繰り上げる。このような繰り上げの処理によって最後の処理が終了するまで順番通りに処理が実行され、最後に実行すべき処理がなくなってループ処理を終了する。
図55はステップ775の処理を観念的に示している。画像修整制御部40はいわゆる画像修整エンジンとして利用されることを前提に複数の画像修整エンジンを内蔵している。同図に示すものでは、自動画像修整の修整エンジンとしてバージョン1(41)とバージョン2(42)があり、明るさ修整の修整エンジンとして同様にバージョン1(43)とバージョン2(44)があり、コントラスト修整の修整エンジンとしてバージョン1(45)があり、その他、これと同様に備えられている。ステップ775では同図にて作法に示すように処理エンジンとバージョンと画像データと処理強さをパラメータとして画像修整制御部40に指定すると、同画像修整制御部40は指定されたとおりの画像修整を画像データに実行して修整画像データを出力する。
After this process, in step 780, the unprocessed one is moved up. First, the red emphasis process is the highest priority process. When the process is completed, the red emphasis process is eliminated and the second blue emphasis is set as the highest priority process, and so on. By such advance processing, the processing is executed in order until the last processing is completed, the processing to be executed last is lost, and the loop processing is finished.
FIG. 55 conceptually shows the process of step 775. The image modification control unit 40 incorporates a plurality of image modification engines on the assumption that it is used as a so-called image modification engine. In the figure, there are version 1 (41) and version 2 (42) as retouching engines for automatic image retouching, and similarly there are version 1 (43) and version 2 (44) as retouching engines for brightness retouching. Version 1 (45) is available as a contrast correction engine, and the other is provided in the same manner. In step 775, when the processing engine, the version, the image data, and the processing strength are designated as parameters to the image modification control unit 40 as shown in the manner of operation in the figure, the image modification control unit 40 performs the image modification as designated. Execute on image data and output modified image data.

すなわち、同画像修整制御部40ではパラメータの内容に応じた修整エンジン41〜45…が選択され、これにパラメータを与えて画像修整を実行する。むろん、画像修整制御部40自体は多数のモジュールの集合体のように構成され、分岐処理を経て特定の修整エンジンのモジュールが実行される。
このように修整情報の一つのパラメータとして順番の要素を設定しておき、ソートを実行させることによって不要な処理を実行することなく、望むとおりの順番で修整処理を実行させることができる。
That is, the image modification control unit 40 selects the modification engines 41 to 45... According to the contents of the parameters, and gives the parameters to these to perform image modification. Of course, the image modification control unit 40 itself is configured as an assembly of a large number of modules, and a module of a specific modification engine is executed through branch processing.
As described above, by setting the order element as one parameter of the modification information and executing the sort, the modification process can be executed in the desired order without executing an unnecessary process.

一方、「自動画像修整」、「明るさ」、「コントラスト」、「赤(強調)」、「緑(強調)」、「青(強調)」というそれぞれの処理はグループ化して使い分けることもできる。例えば、「自動画像修整」だけの第1グループと、「明るさ」と「コントラスト」の第2グループと、「赤(強調)」と「緑(強調)」と「青(強調)」の第3グループというように三つのグループ化を行うことができる。第1グループは独自に特徴抽出処理と修整情報作成処理と修整指定処理が必要であり、一連の処理として実現されなければならない。また、第2グループは処理の内容として輝度の変換を主眼としており、共通性がある。さらに、第3グループは各色成分の強調処理であって処理内容は共通である。   On the other hand, the processes “automatic image correction”, “brightness”, “contrast”, “red (emphasized)”, “green (emphasized)”, and “blue (emphasized)” can be grouped and used separately. For example, a first group of only “automatic image correction”, a second group of “brightness” and “contrast”, and a first group of “red (emphasized)”, “green (emphasized)”, and “blue (emphasized)”. Three groups can be made, such as three groups. The first group requires a feature extraction process, a modification information creation process, and a modification designation process, and must be realized as a series of processes. In addition, the second group focuses on luminance conversion as the content of processing and has commonality. Further, the third group is an emphasis process for each color component, and the process contents are common.

従って、CPUの処理能力が高い場合であるなど、実行環境に余裕があればすべてのグループの指定を実行可能としつつも、実行環境次第で第3グループは実現可能であるが、第1グループと第2グループは実現できないようにするということが可能である。これは環境設定などで第1〜第3グループの実行可否を定めておき、画像修整制御部40の実行可否判定部46にて実行可否情報に基づいて各修整エンジン41〜45…の実行可否を参照する。そして、実行可能なグループの処理については修整エンジンを実行させるものの、実行不能なグループの処理については修整エンジンに実行させることなく処理を完了したものと同様にして終了させる。   Therefore, while there is room in the execution environment, such as when the processing capacity of the CPU is high, the designation of all groups can be performed, but the third group can be realized depending on the execution environment. It is possible to prevent the second group from being realized. This determines whether or not the first to third groups can be executed by environment setting or the like, and the execution determination unit 46 of the image correction control unit 40 determines whether or not each of the modification engines 41 to 45. refer. Then, although the modification engine is executed for the executable group process, the non-executable group process is terminated in the same manner as the completed process without causing the modification engine to execute the process.

ところで、これまでは写真データ30bが一組のものを主に説明してきたが、上述した履歴情報のように複数の組を有する構成とすることも可能である。図56はこのような修整情報の組を複数組持つ場合の写真データ30bの内容の一例を示している。内容的には図53(a)(b)に示すものを複数組備えている。
各組を1グループと呼ぶものとすると、図57は写真データ30bが複数グループを備える場合の処理を示すフローチャートである。まず、これまでは修整の指定を一つしか備えていないため、複数グループとして保存する必要がある。
By the way, the description has been mainly given of the photo data 30b having a set, but a configuration having a plurality of sets such as the history information described above is also possible. FIG. 56 shows an example of the contents of the photo data 30b in the case of having a plurality of sets of such modification information. In terms of content, a plurality of sets shown in FIGS. 53 (a) and 53 (b) are provided.
Assuming that each set is called one group, FIG. 57 is a flowchart showing processing when the photograph data 30b includes a plurality of groups. First, since there is only one modification designation so far, it is necessary to save as a plurality of groups.

ステップ800にて修整の対象とする画像データを選択したら、ステップ805では具体的に実行させるべき修整を指示し、ステップ810にて指示した修整を実行させる。むろん、ステップ810の画像修整はもとの画像ファイル30aを表すサムネールデータに対して実行させる。また、以上の指示の与え方については上述したものと同様である。
次に、ステップ815ではステップ805で与えた修整指示を保存するか否かをユーザーに問合せる。問い合わせはGUIを使用してディスプレイ17a上に表示させ、マウス15bあるいはキーボード15aで応答せしめる。保存する場合はステップ820にて保存グループの指定を入力させる。予め5つの保存グループを選択できるようにしておき、そのいずれかをGUIを介して入力せしめる。むろん、保存グループの数は任意であるし、上限を一定に決めることなく順番に追加することも可能である。
When the image data to be modified is selected in step 800, the modification to be specifically executed is instructed in step 805, and the modification instructed in step 810 is executed. Of course, the image modification in step 810 is performed on the thumbnail data representing the original image file 30a. The method of giving the above instructions is the same as described above.
Next, in step 815, the user is inquired whether to save the modification instruction given in step 805. The inquiry is displayed on the display 17a using the GUI, and responded with the mouse 15b or the keyboard 15a. In the case of saving, the designation of the saving group is input in step 820. Five storage groups can be selected in advance, and any one of them is input via the GUI. Of course, the number of storage groups is arbitrary, and it is possible to add them in order without deciding a fixed upper limit.

保存グループが決定されたらステップ830で修整情報を書き込む。予めグループの数を決めておくときの一態様として、各グループに所定の場合を対応させるようにしても良い。例えば、グループ1はスライドショーの場合の修整処理であり、グループ2は印刷の場合の修整処理であるという具合である。また、各グループを選択するときにそのグループがスライドショーの場合のものであるとか印刷の場合のものであるというように個別に指定を加えられるようにしても良い。ステップ825はこのようにグループとそれを実行する条件を対応させる処理を表しており、必須のものではない。   When the storage group is determined, the modification information is written in step 830. As one aspect of determining the number of groups in advance, a predetermined case may be associated with each group. For example, group 1 is a modification process in the case of a slide show, and group 2 is a modification process in the case of printing. In addition, when selecting each group, it may be possible to individually specify that the group is for a slide show or for printing. Step 825 represents a process for associating a group with a condition for executing the group as described above, and is not essential.

修整情報を書き込んだら、ステップ840ではサムネールデータも書き込む。サムネールデータは各グループごとに必要であり、上述した写真データ30bのデータベースファイルで拡張子がdb2のものに書き加える。
以上のようにして複数のグループが登録されている場合の修整処理を図58に示している。ここでは、図54に示す修整処理の前提として、ステップ850にて複数グループの修整情報が保存されているか否かを判定し、複数グループがある場合にのみステップ855にていずれかのグループを選択させる。また、複数のグループがなければ存在するグループをステップ860にてデフォルト指定する。ステップ855あるいはステップ860にて一つのグループが修整情報として指定されるので、以下は図57に示すステップ800以下の処理を実行する。
After the modification information is written, the thumbnail data is also written in step 840. Thumbnail data is required for each group, and is added to the database file of the above-described photo data 30b with an extension of db2.
FIG. 58 shows the modification processing when a plurality of groups are registered as described above. Here, as a premise of the modification process shown in FIG. 54, it is determined in step 850 whether or not modification information of a plurality of groups is stored, and if there are a plurality of groups, one of the groups is selected in step 855. Let If there are not a plurality of groups, an existing group is designated by default in step 860. Since one group is designated as the modification information at step 855 or step 860, the following processing from step 800 shown in FIG. 57 is executed.

なお、この例ではパラメータ全体を複数セット用意しておいていずれかの組を選択している。しかし、必ずしも全体を複数セット用意するのではなく、一部の画像処理について複数の処理パターン用意しておくことも当然に可能である。例えば、図53や図56に示すものにおいて処理強度の欄を複数用意しておき、ステップ820にて保存グループを指定するのと同様にして設定する欄を指定する。また、読み出すときにはステップ850にて複数の欄に複数の値が設定されていればステップ855にて読み出す設定を選択させる。   In this example, a plurality of sets of all parameters are prepared, and one of the groups is selected. However, it is not always necessary to prepare a plurality of sets as a whole, and it is naturally possible to prepare a plurality of processing patterns for some image processing. For example, a plurality of processing intensity fields are prepared in the ones shown in FIGS. 53 and 56, and the field to be set is designated in the same manner as the storage group is designated in step 820. When reading, if a plurality of values are set in a plurality of columns in step 850, the setting for reading in step 855 is selected.

一方、上述したようにグループにそれを実行する条件を付して保存することがある。この場合は図59に示すフローチャートに従って修整処理を実行する。すなわち、ステップ870にて複数グループがあるか否かを判断し、複数グループがあればステップ875にて現在の環境を取得する。この環境とは、上述したような条件に対応する。すなわち、現在、スライドショーを実行しているのか印刷処理を実行しているのかを所定の変数あるいはフラグを参照して判断する。参照する変数はどのようなものでもよく、一例としてグローバルな変数JOKEN というものを設定しておいてもよい。現在の条件を取得したら、ステップ880にてこの条件に対応するグループを選択する。以下は、図57に示すステップ800以下の処理を実行する。   On the other hand, as described above, a group may be stored with a condition for executing it. In this case, the modification process is executed according to the flowchart shown in FIG. That is, it is determined in step 870 whether there are a plurality of groups. If there are a plurality of groups, the current environment is acquired in step 875. This environment corresponds to the above-described conditions. That is, it is determined with reference to a predetermined variable or flag whether the slide show is currently being executed or the printing process is being executed. Any variable can be referenced. For example, the global variable JOKEN may be set. If the current condition is acquired, a group corresponding to this condition is selected in step 880. In the following, the processing after step 800 shown in FIG. 57 is executed.

このようにしておくと、修整処理を実行したときにその実行条件を設定しておくと、表示や印刷などの処理が起動されたときに自動的にその環境を判断し、予めその環境のために修整処理を設定してあれば自動的に該当する修整処理が行われる。例えば、スライドショーであると画像の修整中に本来の表示間隔を過ぎてしまうことのないようにする必要がある。従って、処理時間の短縮が望まれ、処理の簡素化が必須となる。これに対して印刷の場合は時間がかかってもきれいな画質を望むので、望みどおりの修整処理を実行させても構わない。   In this way, if the execution conditions are set when the retouching process is executed, the environment is automatically determined when a process such as display or printing is started, and If the retouching process is set in, the corresponding retouching process is automatically performed. For example, in the case of a slide show, it is necessary not to pass the original display interval during image modification. Therefore, shortening of processing time is desired, and simplification of processing is essential. On the other hand, in the case of printing, even if it takes time, a beautiful image quality is desired. Therefore, it is possible to execute a desired correction process.

このような背景からスライドショーの場合は自動画像修整ではなく、比較的処理の簡易な明るさとコントラストだけを修整するグループを登録しておき、印刷の場合は自動画像修整を実行するようにグループとして登録しておくということが有効である。
次に、図60はこのような複数のグループを使用して履歴に利用する場合のフローチャートを示している。ステップ900〜ステップ910は上述したステップ800〜810の場合と同様に所定の画像データを選択して修整を実行させる。この後、ステップ915で修整指示を保存するか否かを選択させ、保存する場合にはステップ920にて最新修整情報のグループを追加する。例えば、既存のグループが3つであれば4つ目のグループとして保存する。また、このときに修整日時などを情報の一つとして加えておいても良い。そして、ステップ925ではステップ840等と同様に対応するサムネールデータを所定のデータベースファイルに追加する。
In the case of a slide show from such a background, a group that corrects only the brightness and contrast that is relatively easy to process is registered instead of automatic image correction, and in the case of printing, it is registered as a group to execute automatic image correction. It is effective to keep it.
Next, FIG. 60 shows a flowchart in the case of using such a plurality of groups for the history. In steps 900 to 910, as in the case of steps 800 to 810 described above, predetermined image data is selected and correction is executed. Thereafter, in step 915, it is selected whether or not to save the modification instruction, and if it is to be saved, a group of the latest modification information is added in step 920. For example, if there are three existing groups, the fourth group is stored. At this time, the date and time of modification may be added as one piece of information. In step 925, corresponding thumbnail data is added to a predetermined database file in the same manner as in step 840 or the like.

履歴である以上、過去の修整の上に新たな修整が実行されなければならない。図61は履歴の修整情報がある場合の修整処理のフローチャートを示している。まず、ステップ930ではグループの実行順にソートを実行する。通常は番号の大きいグループの方が新しい修整情報であり、必須ではない。しかし、仕様の変更もあり得るし、上述したように修整日時の情報を保存している場合もあるので、ソートを実行できるようにしておく意味がある。   As long as it is a history, new modifications must be performed on top of past modifications. FIG. 61 shows a flowchart of the modification process when there is history modification information. First, in step 930, sorting is performed in the order of group execution. Usually, the group with the larger number is new modification information and is not essential. However, there is a possibility that the specification is changed, and there is a case where the information on the modification date is stored as described above, so that it is meaningful to enable sorting.

ソートが終わればステップ935にてグループ数を変数g_totalにセットし、ステップ940にてループポインタiに「1」をセットする。そして、ステップ945ではループポインタiで示されるグループiの修整情報に基づいて修整処理を実行する。ループポインタiはステップ950にて「1」ずつ追加されていくので、グループ番号の小さい順に修整処理が実行されることになり、古い順に履歴が再現されることになる。そして、ステップ955ではループポインタiが既存のグループ数を越えていないか判断し、グループ数を越えていない限りは未処理の修整処理があるものとしてループを繰り返す。   When the sorting is completed, the number of groups is set to the variable g_total in step 935, and “1” is set to the loop pointer i in step 940. In step 945, the modification process is executed based on the modification information of the group i indicated by the loop pointer i. Since the loop pointer i is incremented by “1” at step 950, the modification processing is executed in ascending order of the group number, and the history is reproduced in the oldest order. In step 955, it is determined whether or not the loop pointer i exceeds the number of existing groups. Unless the number of groups exceeds the number of groups, the loop is repeated assuming that there is an unprocessed modification process.

一方、これまでは修整処理として画像データの一部に対してのみ実行することを前提としていないが、むろん全体に対して実行される場合のみならず、一部に対して実行されるようにすることも可能である。ここで一部とは画像の一部の領域の場合もあり得るし、複数のレイヤから構成されていれば一部のレイヤだけということもあり得る。
図62はこのような修整領域を指定して画像修整を実現する場合のフローチャートを示している。ステップ960で処理の対象となる画像データを選択したら、ステップ965で修整領域を指定してステップ970で修整指示を与え、ステップ975にて画像を修整する。領域の指定と修整の内容は適宜試行錯誤を繰り返すことが多いから、ステップ965〜ステップ975の処理の順番は相対的な実行順序を表しているに過ぎない。
On the other hand, up to now, it is not assumed that the modification processing is executed only on a part of the image data, but it is executed not only on the whole image but also on the part. It is also possible. Here, the “part” may be a partial region of the image, or may be only a part of the layer if it is composed of a plurality of layers.
FIG. 62 shows a flowchart in a case where image modification is realized by designating such a modification area. When image data to be processed is selected in step 960, a modification area is designated in step 965, a modification instruction is given in step 970, and the image is modified in step 975. Since the contents of area designation and modification often repeat trial and error as appropriate, the order of processing in steps 965 to 975 represents only a relative execution order.

ステップ980にて修整指示を保存するか問い合わせ、保存するのであればステップ985にて領域の情報とともに修整指示を修整情報として保存する。
ただ、このようにして保存される修整領域は修整エンジンにとって一つのパラメータに過ぎないといえる。従って、図55に示すように修整エンジンの側で領域やレイヤに対応して部分的に修整を加え、修整画像データとして出力する。
修整領域の指定を具体的な特定領域を指定して行なう場合、例えば、矩形領域であれば二つの対角コーナーの座標値を指示したり、あるいはオブジェクトごとに指示したり、任意の曲線で所望の領域を指示するといったことが可能である。また、全体の中央領域とか、上半分とか、下半分といった指定でも構わない。
In step 980, an inquiry is made as to whether or not the modification instruction is to be stored.
However, it can be said that the modified area stored in this way is only one parameter for the modified engine. Therefore, as shown in FIG. 55, the modification engine side partially modifies corresponding to the region and layer and outputs it as modified image data.
When specifying a specific area by specifying a specific area, for example, in the case of a rectangular area, specify the coordinate values of two diagonal corners, specify for each object, or use a desired curve. It is possible to indicate the area of Also, it may be specified as the entire central region, the upper half, or the lower half.

一方、画像の色を指定して画像処理を対応づけることも可能である。例えば、明るさの影響受けにくい色度を指定して画像処理を対応づけることもできる。肌色の領域であればオブジェクトは人間の顔であることが殆どであると考えられ、人間の顔であればシャープにするよりもややぼかし気味の方が美しく見える。従って、領域情報の代わりに肌色の色度を指定し、修正指示としてシャープネスを減らす(ぼかす)指示を与える。そして、修整エンジンの側では処理対象画素の色度を識別し、対象となる色度であれば指示された処理強度のアンシャープ化を実施する。   On the other hand, it is also possible to associate image processing by designating the color of the image. For example, image processing can be associated by specifying chromaticity that is not easily affected by brightness. If it is a skin-colored region, it is considered that the object is mostly a human face, and if it is a human face, it looks slightly more blurry than sharpening. Therefore, the skin color chromaticity is specified instead of the area information, and an instruction to reduce (blur) sharpness is given as a correction instruction. Then, the modification engine side identifies the chromaticity of the processing target pixel, and if the chromaticity is the target, the specified processing intensity is unsharpened.

色度毎の他の例として、青空の色度を指定してアンシャープにさせることも好適である。また、夕焼けを考慮して赤みを強調する処理を指定することも好適である。
ここで、各画素の画像データが(R,G,B)で表されるとすると、色度は、
r=R/(R+G+B)
b=B/(R+G+B)
として表される。色度は人の肌が暗く写っているときも明るく写っているときもでもあまり影響を受けず、一定の分布を示し、より具体的には、
0.33<r<0.51
|0.74r+b−0.57|<0.1
という関係式で判断できる。そして、各画素についてこの条件があてはめられれば肌色領域に属するものといえる。これが青空であると、肌色の場合よりも変動幅が大きいことを考慮して、
0.17<r<0.30
|1.11r+b−0.70|<0.2
なる関係式が成立していればよい。
As another example for each chromaticity, it is also preferable to specify the chromaticity of the blue sky to make it unsharp. It is also preferable to designate a process for enhancing redness in consideration of the sunset.
Here, if the image data of each pixel is represented by (R, G, B), the chromaticity is
r = R / (R + G + B)
b = B / (R + G + B)
Represented as: Chromaticity is not affected much when human skin appears dark or bright, shows a constant distribution, and more specifically,
0.33 <r <0.51
| 0.74r + b−0.57 | <0.1
It can be judged by the relational expression. If this condition is applied to each pixel, it can be said that it belongs to the skin color region. Considering that this is a blue sky, the fluctuation range is larger than the skin color,
0.17 <r <0.30
| 1.11r + b−0.70 | <0.2
It is sufficient that the following relational expression holds.

このように画素の位置、画素の色などの画素の状況に応じて最適な画像処理を実施できるようにするため、画素の状況に対応したパラメータを関連付けて保存しておき、このパラメータを取得したときには画素の状況に対応した画像処理を実施して画像を再現する。
このように、画像データをフィルムメタファとして管理されるフォルダに収容しつつ、各画像データに対応した写真データ30bのデータベースを用意しておき、所望の画像データについて所望の画像処理を選択すると、この選択した画像処理を上記データベース構造における修整情報として更新するようにし、実際に表示したり出力したり印刷する必要が生じたときには元の画像データを残したままワークエリア上でのみ修整情報を参照して各種の画像処理を実行するようにしたため、オリジナルとしての画像データを残したまま容易に画像修整などを実施することが可能となる。
In order to perform optimal image processing according to the pixel status such as the pixel position and pixel color in this way, parameters corresponding to the pixel status are stored in association with each other, and the parameters are acquired. Sometimes image processing is performed according to pixel conditions to reproduce an image.
As described above, when image data is stored in a folder managed as a film metaphor, a database of photographic data 30b corresponding to each image data is prepared, and desired image processing is selected for desired image data. The selected image processing is updated as modification information in the above database structure, and when it is necessary to actually display, output, or print, the modification information is referred to only in the work area while leaving the original image data. Therefore, it is possible to easily perform image modification while leaving the original image data.

本発明の一実施形態にかかる画像データ処理装置のクレーム対応概略構成図である。1 is a schematic configuration diagram corresponding to a claim of an image data processing apparatus according to an embodiment of the present invention; 同画像データ処理装置の具体的ハードウェアのブロック図である。It is a block diagram of specific hardware of the image data processing apparatus. 同画像データ処理装置の機能ブロック図である。It is a functional block diagram of the image data processing apparatus. 共通機能部のブロック図である。It is a block diagram of a common function part. フィルムデータ管理部の機能ブロック図である。It is a functional block diagram of a film data management part. 同フィルムデータ管理部が管理するデータ構造を示す概略説明図である。It is a schematic explanatory drawing which shows the data structure which the film data management part manages. 管理パラメータの変数宣言を示す図である。It is a figure which shows the variable declaration of a management parameter. 画像修整制御部の機能ブロック図である。It is a functional block diagram of an image modification control unit. 画像修整制御を説明するための手続の流れを示す図である。It is a figure which shows the flow of the procedure for demonstrating image modification control. 画像ファイルの構成を示す図である。It is a figure which shows the structure of an image file. 処理対象画素を移動させていく状態を示す図である。It is a figure which shows the state which moves a process target pixel. 輝度分布を拡大する場合の分布範囲を示す図である。It is a figure which shows the distribution range in the case of expanding luminance distribution. 輝度分布を拡大させるための変換関係を示す図である。It is a figure which shows the conversion relationship for expanding luminance distribution. 輝度分布の端部処理と端部処理にて得られる端部を示す図である。It is a figure which shows the edge part obtained by the edge part process and edge part process of luminance distribution. 輝度分布を拡大する際の変換テーブルを示す図である。It is a figure which shows the conversion table at the time of enlarging luminance distribution. γ補正で明るくする概念を示す図である。It is a figure which shows the concept brightened by (gamma) correction. γ補正で暗くする概念を示す図である。It is a figure which shows the concept darkened by (gamma) correction. γ補正で変更される輝度の対応関係を示す図である。It is a figure which shows the correspondence of the brightness | luminance changed by (gamma) correction. 明るさの評価とγの対応関係を示す図である。It is a figure which shows the correspondence of brightness evaluation and (gamma). 各色成分毎の特徴ベクトルとするための要素の抽出方法を示す図である。It is a figure which shows the extraction method of the element for setting it as the feature vector for every color component. 彩度分布の集計状態の概略図である。It is the schematic of the total state of saturation distribution. 彩度と彩度強調指数との関係を示す図である。It is a figure which shows the relationship between saturation and a saturation emphasis index | exponent. 画像の変化度合いを直交座標の各成分値で表す場合の説明図である。It is explanatory drawing in the case of representing the change degree of an image with each component value of a rectangular coordinate. 画像の変化度合いを縦軸方向と横軸方向の隣接画素における差分値で求める場合の説明図である。It is explanatory drawing in the case of calculating | requiring the change degree of an image with the difference value in the adjacent pixel of a vertical axis | shaft direction and a horizontal axis direction. 隣接する全画素間で画像の変化度合いを求める場合の説明図である。It is explanatory drawing in the case of calculating | requiring the change degree of an image between all the adjacent pixels. 画像データの一例を示す図である。It is a figure which shows an example of image data. 5×5画素のアンシャープマスクを示す図である。It is a figure which shows a 5x5 pixel unsharp mask. 自動画像調整の指定を行う際のフローチャートである。It is a flowchart at the time of designating automatic image adjustment. 手動画像調整の指定を行う際のフローチャートである。It is a flowchart at the time of designating manual image adjustment. トリミングの指定を行う際のフローチャートである。It is a flowchart at the time of designating trimming. 回転の指定を行う際のフローチャートである。It is a flowchart at the time of designating rotation. 修整取消の指定を行う際のフローチャートである。It is a flowchart at the time of designating correction cancellation. 修整された画像データを利用できるようにする処理のフローチャートである。It is a flowchart of the process which makes it possible to use the corrected image data. 同時プリントの処理の操作画面を示す図である。It is a figure which shows the operation screen of the process of simultaneous printing. 新たに画像データを取り込む際の操作画面を示す図である。It is a figure which shows the operation screen at the time of newly taking in image data. 自動画像修整の処理を行う場合の操作画面を示す図である。It is a figure which shows the operation screen in the case of performing the process of automatic image correction. 自動画像修整をデフォルトで実行するようにした場合の操作画面を示す図である。It is a figure which shows the operation screen at the time of making it perform automatic image correction by default. トリミングの処理を行う場合の操作画面を示す図である。It is a figure which shows the operation screen in the case of performing the process of trimming. 回転の処理を行う場合の操作画面を示す図である。It is a figure which shows the operation screen in the case of performing the process of rotation. 自動画像調整の処理を行う場合の操作画面を示す図である。It is a figure which shows the operation screen in the case of performing the process of automatic image adjustment. 手動画像調整の処理を行う場合の操作画面を示す図である。It is a figure which shows the operation screen in the case of performing the process of manual image adjustment. 修整取消の処理を行う場合の操作画面を示す図である。It is a figure which shows the operation screen in the case of performing correction cancellation process. プリント指定の処理を行う場合の操作画面を示す図である。FIG. 10 is a diagram illustrating an operation screen when performing print designation processing. アルバム印刷の処理を行う場合の操作画面を示す図である。It is a figure which shows the operation screen in the case of performing the album printing process. 印刷の処理を行う場合の操作画面を示す図である。It is a figure which shows the operation screen in the case of performing a printing process. DPE印刷制御部の機能ブロック図である。It is a functional block diagram of a DPE printing control unit. ディレクトリ構造を示す図である。It is a figure which shows a directory structure. ファイル構造の変形例を示す図である。It is a figure which shows the modification of a file structure. ファイル構造の他の変形例を示す図である。It is a figure which shows the other modification of a file structure. ワーク画像ファイルの生成処理のフローチャートである。It is a flowchart of a production | generation process of a work image file. ワーク画像ファイルの生成処理で使用する変数の定義例を示す図である。It is a figure which shows the example of a definition of the variable used by the production | generation process of a work image file. サムネール表示処理のフローチャートである。It is a flowchart of a thumbnail display process. 修整情報の内容を示す図である。It is a figure which shows the content of modification information. 修整処理の一例のフローチャートである。It is a flowchart of an example of a correction process. 修整処理を示す概念図である。It is a conceptual diagram which shows a correction process. 複数の修整情報を持つ場合の内容を示す図である。It is a figure which shows the content in the case of having several modification information. 複数のグループで修整情報を持つ場合の修整操作のフローチャートである。It is a flowchart of retouching operation in a case where a plurality of groups have retouching information. 複数のグループで修整情報を持つ場合の修整処理のフローチャートの一部である。It is a part of flowchart of the modification process in the case of having modification information in a plurality of groups. グループを環境に対応させた場合の修整処理のフローチャートの一部である。It is a part of flowchart of the correction process at the time of making a group respond | correspond to an environment. 複数のグループで履歴の修整情報を持つ場合の修整操作のフローチャートである。It is a flowchart of the correction operation when there is history correction information in a plurality of groups. 複数のグループで修整の履歴を実現する場合の修整処理のフローチャートである。It is a flowchart of the correction process in the case of implement | achieving the log | history of correction in a some group. 画像の一部に修整を加える場合の修整操作のフローチャートである。It is a flowchart of retouching operation when retouching a part of an image.

符号の説明Explanation of symbols

10…コンピュータシステム
11a…スキャナ
11b…デジタルスチルカメラ
11c…ビデオカメラ
12…コンピュータ本体
12a…オペレーティングシステム
12b…ディスプレイドライバ
12c…プリンタドライバ
12d…アプリケーション
13a…フロッピーディスクドライブ
13b…ハードディスク
13c…CD−ROMドライブ
14a…モデム
15a…キーボード
15b…マウス
17a…ディスプレイ
17b…カラープリンタ
18a…スピーカ
18b…マイク
20…共通機能部
20a…画像選択部
20b…表示指定部
20c…ファイル編集部
20d…検索部
20e…一括コメント部
20f…一括整理部
20g…画像処理部
20h…画像編集部
20i…サムネール作成部
20j…画像入力部
20k…画像出力部
20m…画像表示部
30…フィルムデータ管理部
30a…画像ファイル
30b…写真データ
30c…フィルムデータ
40…画像修整制御部
40a…画像特徴抽出部
40b…修整情報作成部
40c…修整指定部
50…DPE印刷制御部
50a…印刷画像指定部
50b…フレーム指定部
50c…レイアウト指定部
50d…プリント指定部
50e…印刷スタイル作成部
50f…印刷画像処理部
60…メイン制御部
60a…環境設定部
60b…設定情報ファイル
DESCRIPTION OF SYMBOLS 10 ... Computer system 11a ... Scanner 11b ... Digital still camera 11c ... Video camera 12 ... Computer main body 12a ... Operating system 12b ... Display driver 12c ... Printer driver 12d ... Application 13a ... Floppy disk drive 13b ... Hard disk 13c ... CD-ROM drive 14a ... Modem 15a ... Keyboard 15b ... Mouse 17a ... Display 17b ... Color printer 18a ... Speaker 18b ... Microphone 20 ... Common function part 20a ... Image selection part 20b ... Display designation part 20c ... File editing part 20d ... Search part 20e ... Batch comment part 20f ... Batch organization unit 20g ... Image processing unit 20h ... Image editing unit 20i ... Thumbnail creation unit 20j ... Image input unit 20k ... Image output unit 20m ... Image display unit 3 ... film data management unit 30a ... image file 30b ... photo data 30c ... film data 40 ... image modification control unit 40a ... image feature extraction unit 40b ... modification information creation unit 40c ... modification designation unit 50 ... DPE print control unit 50a ... print image Designation unit 50b ... Frame designation unit 50c ... Layout designation unit 50d ... Print designation unit 50e ... Print style creation unit 50f ... Print image processing unit 60 ... Main control unit 60a ... Environment setting unit 60b ... Setting information file

Claims (36)

画像データに実施する所定の画像処理の内容を表すパラメータを設定するパラメータ設定手段と、
上記画像データと上記パラメータとを関連付け情報とともに保存するデータ保存手段と、
上記関連付け情報を参照して上記画像データと上記パラメータを取得するデータ取得手段と、
取得された上記画像データと上記パラメータとに基づいて上記指定される画像処理を施した画像データを得る画像処理再現手段とを具備することを特徴とする画像データ処理装置。
Parameter setting means for setting parameters representing the contents of predetermined image processing performed on the image data;
Data storage means for storing the image data and the parameters together with association information;
Data acquisition means for acquiring the image data and the parameters with reference to the association information;
An image data processing apparatus comprising: image processing reproduction means for obtaining image data subjected to the specified image processing based on the acquired image data and the parameter.
画像データに実施する所定の画像処理の内容を表すパラメータを設定するパラメータ設定手段と、
上記画像データと上記パラメータとを関連付け情報とともに保存するデータ保存手段とを具備することを特徴とする画像データ処理装置。
Parameter setting means for setting parameters representing the contents of predetermined image processing performed on the image data;
An image data processing apparatus comprising: data storage means for storing the image data and the parameters together with association information.
画像データに実施する所定の画像処理の内容を表すパラメータと同画像データとが相互の関連付け情報とともに保存されており、
上記関連付け情報を参照して上記画像データと上記パラメータを取得するデータ取得手段と、
取得された上記画像データと上記パラメータとに基づいて上記指定される画像処理を施した画像データを得る画像処理再現手段とを具備することを特徴とする画像データ処理装置。
Parameters representing the content of predetermined image processing performed on the image data and the image data are stored together with the correlation information,
Data acquisition means for acquiring the image data and the parameters with reference to the association information;
An image data processing apparatus comprising: image processing reproduction means for obtaining image data subjected to the specified image processing based on the acquired image data and the parameter.
上記請求項1〜請求項3のいずれかに記載の画像データ処理装置において、上記パラメータは画像処理の種別あるいは程度を表すものであることを特徴とする画像データ処理装置。   4. The image data processing apparatus according to claim 1, wherein the parameter represents a type or degree of image processing. 上記請求項1〜請求項3のいずれかに記載の画像データ処理装置において、上記パラメータは画像処理の種別ごとに複数あることを特徴とする画像データ処理装置。   4. The image data processing apparatus according to claim 1, wherein there are a plurality of parameters for each type of image processing. 上記請求項1または請求項3のいずれかに記載の画像データ処理装置において、上記パラメータは複数保存可能であり、複数あるパラメータから選択的に実行可能であることを特徴とする画像データ処理装置。   4. The image data processing apparatus according to claim 1, wherein a plurality of parameters can be stored and can be selectively executed from a plurality of parameters. 上記請求項1〜請求項3、請求項5および請求項6のいずれかに記載の画像データ処理装置において、上記パラメータは、所定の順序通りに画像処理を行う為の実行順序情報を含むものであることを特徴とする画像データ処理装置。   The image data processing apparatus according to any one of claims 1 to 3, 5, and 6, wherein the parameter includes execution order information for performing image processing in a predetermined order. An image data processing device. 上記請求項1〜請求項3のいずれかに記載の画像データ処理装置において、上記パラメータは選択可能な複数の組に分かれており、実行時に選択した組のパラメータに基づいて画像処理を実施することを特徴とする画像データ処理装置。   The image data processing apparatus according to any one of claims 1 to 3, wherein the parameters are divided into a plurality of selectable groups, and image processing is performed based on the parameters of the group selected at the time of execution. An image data processing device. 上記請求項1〜請求項3のいずれかに記載の画像データ処理装置において、上記パラメータは複数の組に分かれており、画素の状況に対応したパラメータの組を使い分けることを特徴とする画像データ処理装置。   4. The image data processing apparatus according to claim 1, wherein the parameter is divided into a plurality of sets, and a set of parameters corresponding to a pixel state is selectively used. apparatus. 上記請求項1〜請求項3のいずれかに記載の画像データ処理装置において、上記データ保存手段は、記憶領域を階層構造として区画化可能であり、上記画像データとパラメータをこの階層構造で区分けすることを特徴とする画像データ処理装置。   4. The image data processing apparatus according to claim 1, wherein the data storage means can partition the storage area as a hierarchical structure, and divides the image data and parameters according to the hierarchical structure. An image data processing apparatus. 上記請求項1〜請求項3のいずれかに記載の画像データ処理装置において、上記データ保存手段は、上記パラメータと共に上記画像データのサムネールデータを関連付けて保存することを特徴とする画像データ処理装置。   4. The image data processing apparatus according to claim 1, wherein the data storage unit stores thumbnail data of the image data in association with the parameters. 上記請求項1〜請求項3のいずれかに記載の画像データ処理装置において、上記画像データは、上記パラメータとは異なる記憶装置上で管理されることを特徴とする画像データ処理装置。   4. The image data processing apparatus according to claim 1, wherein the image data is managed on a storage device different from the parameters. 上記請求項1〜請求項3のいずれかに記載の画像データ処理装置において、上記パラメータ設定手段は、上記画像データを統計的に解析した結果に基づいて画像処理内容を設定することを特徴とする画像データ処理装置。   4. The image data processing apparatus according to claim 1, wherein the parameter setting means sets image processing contents based on a result of statistical analysis of the image data. Image data processing device. 上記請求項1または請求項3のいずれかに記載の画像データ処理装置において、上記画像処理再現手段は、上記パラメータが表す画像処理を実施する画像処理部を選択して実施させることを特徴とする画像データ処理装置。   4. The image data processing apparatus according to claim 1, wherein the image processing reproduction unit selects and executes an image processing unit that performs image processing represented by the parameter. Image data processing device. 画像データと、
対応する画像データに対して所定の画像処理を実施することが可能なように同画像処理内容を表すパラメータと、
上記パラメータが表す画像処理の内容を上記画像データに実施することが可能なように上記画像データと上記パラメータを関連付ける関連付け情報とを記録した画像データセットを記録した媒体。
Image data,
A parameter representing the content of the image processing so that predetermined image processing can be performed on the corresponding image data;
A medium on which an image data set in which the image data and association information for associating the parameters are recorded is recorded so that the image processing content represented by the parameters can be applied to the image data.
コンピュータにて画像データに画像処理を実施させる画像データ処理プログラムを記録した媒体であって、
画像データに実施する所定の画像処理の内容を表すパラメータを設定するパラメータ設定ステップと、
上記画像データと上記パラメータとを関連付け情報とともに保存するデータ保存ステップと、
上記関連付け情報を参照して上記画像データと上記パラメータを取得するデータ取得ステップと、
取得された上記画像データと上記パラメータとに基づいて上記指定される画像処理を施した画像データを得る画像処理再現ステップとを具備することを特徴とする画像データ処理プログラムを記録した媒体。
A medium having recorded thereon an image data processing program for performing image processing on image data by a computer,
A parameter setting step for setting parameters representing the contents of predetermined image processing performed on the image data;
A data storage step for storing the image data and the parameters together with association information;
A data acquisition step of acquiring the image data and the parameter with reference to the association information;
A medium on which an image data processing program is recorded, comprising: an image processing reproduction step for obtaining image data subjected to the specified image processing based on the acquired image data and the parameter.
コンピュータにて画像データに画像処理を実施させる画像データ処理プログラムを記録した媒体であって、
画像データに実施する所定の画像処理の内容を表すパラメータを設定するパラメータ設定ステップと、
上記画像データと上記パラメータとを関連付け情報とともに保存するデータ保存ステップとを具備することを特徴とする画像データ処理プログラムを記録した媒体。
A medium having recorded thereon an image data processing program for performing image processing on image data by a computer,
A parameter setting step for setting parameters representing the contents of predetermined image processing performed on the image data;
A medium storing an image data processing program, comprising: a data storage step for storing the image data and the parameters together with association information.
コンピュータにて画像データに画像処理を実施させる画像データ処理プログラムを記録した媒体であって、
画像データに実施する所定の画像処理の内容を表すパラメータと同画像データとが相互の関連付け情報とともに保存されており、
上記関連付け情報を参照して上記画像データと上記パラメータを取得するデータ取得ステップと、
取得された上記画像データと上記パラメータとに基づいて上記指定される画像処理を施した画像データを得る画像処理再現ステップとを具備することを特徴とする画像データ処理プログラムを記録した媒体。
A medium having recorded thereon an image data processing program for performing image processing on image data by a computer,
Parameters representing the content of predetermined image processing performed on the image data and the image data are stored together with the correlation information,
A data acquisition step of acquiring the image data and the parameter with reference to the association information;
A medium on which an image data processing program is recorded, comprising: an image processing reproduction step for obtaining image data subjected to the specified image processing based on the acquired image data and the parameter.
上記請求項16〜請求項18のいずれかに記載の画像データ処理プログラムを記録した媒体において、上記パラメータは画像処理の種別あるいは程度を表すものであることを特徴とする画像データ処理プログラムを記録した媒体。   19. A medium on which the image data processing program according to any one of claims 16 to 18 is recorded, wherein the parameter represents a type or degree of image processing. Medium. 上記請求項16〜請求項18のいずれかに記載の画像データ処理プログラムを記録した媒体において、上記パラメータは画像処理の種別ごとに複数あることを特徴とする画像データ処理プログラムを記録した媒体。   19. A medium on which the image data processing program according to claim 16 is recorded, wherein there are a plurality of parameters for each type of image processing. 上記請求項16または請求項18のいずれかに記載の画像データ処理プログラムを記録した媒体において、上記パラメータは複数保存可能であり、複数あるパラメータから選択的に実行可能であることを特徴とする画像データ処理プログラムを記録した媒体。   An image on which the image data processing program according to claim 16 or 18 is recorded, wherein a plurality of the parameters can be stored and can be selectively executed from a plurality of parameters. A medium on which a data processing program is recorded. 上記請求項16〜請求項18、請求項20および請求項21のいずれかに記載の画像データ処理プログラムを記録した媒体において、上記パラメータは、所定の順序通りに画像処理を行う為の実行順序情報を含むものであることを特徴とする画像データ処理プログラムを記録した媒体。   In the medium on which the image data processing program according to any one of claims 16 to 18, 20 and 21 is recorded, the parameter is execution order information for performing image processing in a predetermined order. A medium on which an image data processing program is recorded. 上記請求項16〜請求項18のいずれかに記載の画像データ処理プログラムを記録した媒体において、上記パラメータは選択可能な複数の組に分かれており、実行条件に応じた組のパラメータに基づいて画像処理を実施することを特徴とする画像データ処理プログラムを記録した媒体。   In the medium on which the image data processing program according to any one of claims 16 to 18 is recorded, the parameters are divided into a plurality of selectable groups, and the image is based on a set of parameters according to execution conditions. A medium having recorded thereon an image data processing program for performing processing. 上記請求項16〜請求項18のいずれかに記載の画像データ処理プログラムを記録した媒体において、上記パラメータは複数の組に分かれており、画素の状況に対応したパラメータの組を使い分けることを特徴とする画像データ処理プログラムを記録した媒体。   The medium in which the image data processing program according to any one of claims 16 to 18 is recorded, wherein the parameters are divided into a plurality of groups, and the parameter groups corresponding to the pixel conditions are selectively used. A medium on which an image data processing program is recorded. 上記請求項16〜請求項18のいずれかに記載の画像データ処理プログラムを記録した媒体において、上記データ保存ステップでは、階層構造として区画化可能な記憶領域を利用し、上記画像データとパラメータをこの階層構造で区分けすることを特徴とする画像データ処理プログラムを記録した媒体。   In the medium on which the image data processing program according to any one of claims 16 to 18 is recorded, the data storage step uses a storage area that can be partitioned as a hierarchical structure, and the image data and parameters are A medium on which an image data processing program is recorded, characterized by being classified by a hierarchical structure. 上記請求項16〜請求項18のいずれかに記載の画像データ処理プログラムを記録した媒体において、上記データ保存ステップでは、上記パラメータと共に上記画像データのサムネールデータを関連付けて保存することを特徴とする画像データ処理プログラムを記録した媒体。   19. A medium on which the image data processing program according to any one of claims 16 to 18 is recorded, wherein in the data storage step, thumbnail data of the image data is stored in association with the parameters. A medium on which a data processing program is recorded. 上記請求項16〜請求項18のいずれかに記載の画像データ処理プログラムを記録した媒体において、上記データ保存ステップと上記データ取得ステップでは、上記画像データを上記パラメータとは異なる記憶装置上で読み書きすることを特徴とする画像データ処理プログラムを記録した媒体。   19. In a medium on which the image data processing program according to claim 16 is recorded, the image data is read and written on a storage device different from the parameters in the data storage step and the data acquisition step. A medium on which an image data processing program is recorded. 上記請求項16〜請求項18のいずれかに記載の画像データ処理プログラムを記録した媒体において、上記パラメータ設定ステップでは、上記画像データを統計的に解析し、その結果に基づいて画像処理内容を設定することを特徴とする画像データ処理プログラムを記録した媒体。   19. In the medium on which the image data processing program according to claim 16 is recorded, in the parameter setting step, the image data is statistically analyzed, and the image processing content is set based on the result. A medium having recorded thereon an image data processing program. 上記請求項16または請求項18のいずれかに記載の画像データ処理プログラムを記録した媒体において、上記画像処理再現ステップでは、上記パラメータが表す画像処理を実施する画像処理プログラムを選択して実施させることを特徴とする画像データ処理プログラムを記録した媒体。   In the medium on which the image data processing program according to claim 16 or 18 is recorded, in the image processing reproduction step, an image processing program for performing the image processing represented by the parameter is selected and executed. A medium on which an image data processing program is recorded. 画像データに実施する所定の画像処理の内容を表すパラメータを設定し、上記画像データと上記パラメータとを関連付け情報とともに保存しつつ、
上記関連付け情報を参照して上記画像データと上記パラメータを取得し、取得された上記画像データと上記パラメータとに基づいて上記指定される画像処理を施した画像データを得ることを特徴とすることを特徴とする画像データ処理方法。
While setting parameters representing the content of predetermined image processing to be performed on the image data, and storing the image data and the parameters together with the association information,
The image data and the parameters are acquired with reference to the association information, and the image data subjected to the specified image processing is obtained based on the acquired image data and the parameters. A featured image data processing method.
画像データに実施する所定の画像処理の内容を表すパラメータを設定し、上記画像データと上記パラメータとを関連付け情報とともに保存することを特徴とする画像データ処理方法。   An image data processing method, wherein a parameter representing the content of predetermined image processing to be performed on image data is set, and the image data and the parameter are stored together with association information. 画像データに実施する所定の画像処理の内容を表すパラメータと同画像データとが相互の関連付け情報とともに保存されており、上記関連付け情報を参照して上記画像データと上記パラメータを取得し、取得された上記画像データと上記パラメータとに基づいて上記指定される画像処理を施した画像データを得ることを特徴とする画像データ処理方法。   The parameter representing the content of the predetermined image processing to be performed on the image data and the image data are stored together with the correlation information. The image data and the parameter are acquired by referring to the correlation information, and acquired. An image data processing method characterized by obtaining image data subjected to the specified image processing based on the image data and the parameter. 上記請求項30に記載の画像データ処理方法において、上記パラメータと共に上記画像データのサムネールデータを関連付けて保存することを特徴とする画像データ処理方法。   31. The image data processing method according to claim 30, wherein thumbnail data of the image data is stored in association with the parameter. 上記請求項30〜請求項32のいずれかに記載の画像データ処理方法において、上記画像データは、上記パラメータとは異なる記憶装置上で管理されることを特徴とする画像データ処理方法。   33. The image data processing method according to any one of claims 30 to 32, wherein the image data is managed on a storage device different from the parameters. 上記請求項30〜請求項32のいずれかにに記載の画像データ処理方法において、上記画像データを統計的に解析し、その結果に基づいて画像処理内容を設定することを特徴とする画像データ処理方法。   The image data processing method according to any one of claims 30 to 32, wherein the image data is statistically analyzed, and the image processing content is set based on the result. Method. 上記請求項30または請求項32のいずれかにに記載の画像データ処理方法において、上記パラメータが表す画像処理を実施する画像処理部を選択して実施させることを特徴とする画像データ処理方法。   33. The image data processing method according to claim 30, wherein an image processing unit that performs image processing represented by the parameter is selected and executed.
JP2007135597A 2007-05-22 2007-05-22 Image data processing apparatus, computer-readable recording medium storing image data processing program, and image data processing method Expired - Lifetime JP4348562B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007135597A JP4348562B2 (en) 2007-05-22 2007-05-22 Image data processing apparatus, computer-readable recording medium storing image data processing program, and image data processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007135597A JP4348562B2 (en) 2007-05-22 2007-05-22 Image data processing apparatus, computer-readable recording medium storing image data processing program, and image data processing method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP23099499A Division JP4032202B2 (en) 1999-08-18 1999-08-18 Image data processing apparatus, computer-readable recording medium storing image data processing program, and image data processing method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2009132479A Division JP4715950B2 (en) 2009-06-01 2009-06-01 Image data processing apparatus, recording medium, and image data processing method

Publications (2)

Publication Number Publication Date
JP2007295593A true JP2007295593A (en) 2007-11-08
JP4348562B2 JP4348562B2 (en) 2009-10-21

Family

ID=38765684

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007135597A Expired - Lifetime JP4348562B2 (en) 2007-05-22 2007-05-22 Image data processing apparatus, computer-readable recording medium storing image data processing program, and image data processing method

Country Status (1)

Country Link
JP (1) JP4348562B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009141663A (en) * 2007-12-06 2009-06-25 Canon Inc Image processing device, image processing method, and image processing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009141663A (en) * 2007-12-06 2009-06-25 Canon Inc Image processing device, image processing method, and image processing program

Also Published As

Publication number Publication date
JP4348562B2 (en) 2009-10-21

Similar Documents

Publication Publication Date Title
JP4120724B2 (en) Image data management apparatus, image data management method, and medium on which image data management program is recorded
JP5032911B2 (en) Image processing apparatus and image processing method
US7639262B2 (en) Selecting rendering intents
US20100271513A1 (en) Selection of decorative picture suitable for input picture
US8463038B2 (en) Image processing apparatus and method for correcting an image based upon features of the image
US20090027732A1 (en) Image processing apparatus, image processing method, and computer program
JP2005527880A (en) User definable image reference points
JP4032202B2 (en) Image data processing apparatus, computer-readable recording medium storing image data processing program, and image data processing method
JP2011061860A (en) Image-data processor, medium with image-data set recorded, medium with image-data processing program recorded and method for processing image data
EP2506560B1 (en) Image Processing Apparatus, Image Processing Method, and Storage Medium
JP2001056867A5 (en)
Annum et al. Image colouration in adobe photoshop: A digital painting technique for transforming grayscale photographs into colour mode
JP4433040B2 (en) Image data management apparatus, image data management method, and image data management program
JP4715950B2 (en) Image data processing apparatus, recording medium, and image data processing method
JP4348956B2 (en) Image layout apparatus, image layout method, and program in image layout apparatus
JP4348562B2 (en) Image data processing apparatus, computer-readable recording medium storing image data processing program, and image data processing method
JP4725683B2 (en) Image data management apparatus and image data management program
JP3661749B2 (en) PRINT CONTROL DEVICE, PRINT CONTROL METHOD, AND MEDIUM RECORDING PRINT CONTROL PROGRAM
JP4586932B2 (en) Image data management apparatus, image data management method, and medium on which image data management program is recorded
US20040017476A1 (en) Printing system, layout data generation device, print data processing device and program
KR20020084321A (en) real-time character composition method using template
JP2005301337A (en) Apparatus and method for image processing, and program
Evening Adobe Photoshop CC for Photographers: 2016 Edition—Version 2015.5
Kost Adobe® Photoshop® cs
JPH11328403A (en) Image evaluating device and method therefor and medium for recording image

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090401

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090601

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090624

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090707

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120731

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4348562

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120731

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130731

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term