JP6958641B2 - Image processing system, image processing method and program - Google Patents
Image processing system, image processing method and program Download PDFInfo
- Publication number
- JP6958641B2 JP6958641B2 JP2020001368A JP2020001368A JP6958641B2 JP 6958641 B2 JP6958641 B2 JP 6958641B2 JP 2020001368 A JP2020001368 A JP 2020001368A JP 2020001368 A JP2020001368 A JP 2020001368A JP 6958641 B2 JP6958641 B2 JP 6958641B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- case
- information
- unit
- modification
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Processing Or Creating Images (AREA)
- Image Processing (AREA)
- Color Image Communication Systems (AREA)
Description
本発明は、画像の修整を行う画像処理システム、画像処理方法およびその方法をコンピュータに実行させるためのプログラムに関する。 The present invention relates to an image processing system for modifying an image, an image processing method, and a program for causing a computer to execute the method.
デジタルカメラ等で撮像して得られた画像に対し、不具合のある部分に手を加えてその不具合を解消する画像の修整(補正)が行われている。この修整は、例えば、色調やシャープネス等の画像表現を変更することにより行われている。 The image obtained by capturing the image with a digital camera or the like is modified (corrected) to solve the problem by modifying the defective part. This modification is performed by changing the image expression such as color tone and sharpness, for example.
画像修整には、ユーザあるいは装置が、画像処理の手段やパラメータ等を指定し、それに従って修整を行う型(以下、標準型と呼ぶ。)と、目標である画像や特徴量等を指定し、その目標に向けて修整を行う型(以下、転写型と呼ぶ。)の2つの型が存在する。画像修整は、このような修整の型による区分のほか、ユーザが指定する内容によって区分する以下の3つの型も存在する。 For image modification, the user or device specifies the means and parameters of image processing, and specifies the type (hereinafter referred to as the standard type) that performs modification according to it, and the target image, feature amount, etc. There are two types of types (hereinafter referred to as transfer types) that are modified toward that goal. In addition to the classification according to the type of such modification, there are the following three types of image modification, which are classified according to the content specified by the user.
1つ目の型は、ユーザが画像修整の操作(オペレータ)やパラメータを直接指定する型(以下、手段指定型と呼ぶ。)である。2つ目の型は、ユーザが画像の形式等で目標を指定する型(以下、目標指定型と呼ぶ。)である。3つ目の型は、複数の修整画像の中からユーザが最終的に期待と合致する修整画像を指定する型(以下、結果指定型と呼ぶ。)である。 The first type is a type in which the user directly specifies an image modification operation (operator) and parameters (hereinafter, referred to as a means designation type). The second type is a type in which the user specifies a target in an image format or the like (hereinafter, referred to as a target specification type). The third type is a type in which the user finally specifies a modified image that matches the expectation from a plurality of modified images (hereinafter, referred to as a result specification type).
前者の2つの型と後者の3つの型との組み合わせを考えると、合計6通りの区分が考えられる。しかしながら、転写型と手段指定型を同時に満たす方法は存在しないので、実際には5通りである。 Considering the combination of the former two types and the latter three types, a total of six categories can be considered. However, since there is no method of simultaneously satisfying the transfer type and the means-designated type, there are actually five methods.
標準型の例としては、トーンカーブ変換、シャープネス変換、エッジ強調等がある。これらの手段は公知であるので、詳細な説明は省略する。これらの手段は、パラメータを自在に変えられるので、処理自由度が高い。しかしながら、目標を達成するために試行錯誤が要求され、熟練度が必要とされる。この標準型と手段指定型とを組み合わせた例としては、指定画素の色とその所望の色とをユーザに指定させ、それらに基づいて画像全体の色調整を行う技術がある(特許文献1参照)。 Examples of the standard type include tone curve conversion, sharpness conversion, edge enhancement, and the like. Since these means are known, detailed description thereof will be omitted. Since the parameters of these means can be freely changed, the degree of freedom in processing is high. However, trial and error is required to achieve the goal, and skill is required. As an example of combining this standard type and the means-designated type, there is a technique in which a user specifies a designated pixel color and a desired color thereof, and the color of the entire image is adjusted based on the specified pixel color (see Patent Document 1). ).
また、画像データの調整結果を用いて、調整前後の画素値の対応関係を色変換リストとして作成し、これを他の画像に適用して補正する技術もある(特許文献2参照)。そのほか、色変換リストを、ユーザ・インタラクションを含めて簡単に作成する技術(特許文献3参照)や、処理対象に映像を想定している同様の技術(特許文献4参照)もある。 Further, there is also a technique of creating a correspondence relationship between pixel values before and after adjustment as a color conversion list using the adjustment result of image data, and applying this to another image for correction (see Patent Document 2). In addition, there is a technique for easily creating a color conversion list including user interaction (see Patent Document 3) and a similar technique for assuming an image as a processing target (see Patent Document 4).
標準型と目標指定型とを組み合わせた例としては、Instagramというアプリケーションにより実行される、効果をアイコン形式でユーザに提示して選択させる技術がある。標準型と結果指定型とを組み合わせた例としては、予め代表的な処理やパラメータを少数個定めておき、それと修整画像とを対にしてユーザに提示し、選択させる技術がある(特許文献5参照)。 As an example of combining the standard type and the target specification type, there is a technique executed by an application called Instagram, in which the effect is presented to the user in an icon format and selected. As an example of combining the standard type and the result specification type, there is a technique in which a small number of typical processes and parameters are determined in advance, and the modified image is presented to the user as a pair and selected (Patent Document 5). reference).
転写型と目標指定型とを組み合わせた例としては、類似のシーンの写真プリントの仕上がりの色階調等を揃えるため、画像特性(ハイライト濃度、シャドー濃度、平均濃度等)を基準画像の画像特性に合わせる技術(特許文献6参照)がある。また、デジタルフォトプリンタで同一被写体の顔の色階調を合わせるため、目標とする顔画像(領域)をユーザに選択させて、入力画像の顔画像の色領域の色階調を、目標の顔画像の色領域の色階調に合わせる技術もある(特許文献7参照)。さらに、好みの画像再現を直感的に行うため、入力画像を画像再現項目(色再現、階調再現、輪郭再現)が参照する教師データの画像再現項目に近づくように補正する技術もある(特許文献8参照)。 As an example of combining the transfer type and the target specification type, the image characteristics (highlight density, shadow density, average density, etc.) are used as the reference image in order to align the color gradation of the finished photographic print of similar scenes. There is a technique for matching the characteristics (see Patent Document 6). In addition, in order to match the color gradation of the face of the same subject with a digital photo printer, the user is allowed to select the target face image (area), and the color gradation of the color region of the face image of the input image is set to the target face. There is also a technique for matching the color gradation of the color region of an image (see Patent Document 7). Furthermore, in order to intuitively reproduce the desired image, there is also a technique for correcting the input image so that it approaches the image reproduction item of the teacher data referred to by the image reproduction item (color reproduction, gradation reproduction, contour reproduction) (patented). Reference 8).
転写型と結果指定型とを組み合わせた例としては、複数種類の第1画像の各々の第1特徴量に、画像補正対象の第2画像の第2特徴量を近づけるように補正処理した結果から、所望の第1画像を選定させる技術がある(特許文献9参照)。 As an example of combining the transfer type and the result designation type, from the result of correction processing so that the second feature amount of the second image to be image-corrected is brought closer to the first feature amount of each of the plurality of types of first images. , There is a technique for selecting a desired first image (see Patent Document 9).
標準型と手段指定型の組み合わせは、標準型の利点である処理自由度を犠牲にして、ユーザに簡単な選択肢を与えるため、処理自由度が限定的になってしまう。また、画素単位に色変換を適用した結果が画像全体の印象にどのような変化をもたらすか、実際に実行してみないとわからないという予測困難性がある。この点、標準型と目標指定型の組み合わせも、実際の効果が入力画像に依存するため、予測困難性があり、試行錯誤が必要である。標準型と結果指定型の組み合わせは、修整画像の中から選択できるので予測困難性には問題がないが、処理自由度を犠牲にしてユーザに選択肢を与えるため、処理自由度が限定的になってしまう。 The combination of the standard type and the means-specified type sacrifices the processing degree of freedom, which is an advantage of the standard type, and gives the user a simple choice, so that the processing degree of freedom is limited. In addition, it is difficult to predict what kind of change the result of applying the color conversion for each pixel will bring about the impression of the entire image until it is actually executed. In this respect, the combination of the standard type and the target specification type is also difficult to predict because the actual effect depends on the input image, and trial and error is required. The combination of the standard type and the result specification type can be selected from the modified images, so there is no problem in predictability, but the degree of freedom in processing is limited because the user is given a choice at the expense of the degree of freedom in processing. It ends up.
転写型と目標指定型の組み合わせは、手段やパラメータを自在に変えられないので、処理自由度が極めて限定的になってしまう。予測困難性についても、上記各組み合わせより緩和されるが、解消はされない。転写型と結果指定型の組み合わせは、予測困難性を解消することができるが、上記転写型と目標指定型の組み合わせと同様、処理自由度が限定的になってしまうという問題を解消することはできない。 Since the means and parameters cannot be freely changed in the combination of the transfer type and the target specification type, the degree of freedom in processing is extremely limited. Difficulty in predicting is also alleviated by each of the above combinations, but it is not resolved. The combination of the transfer type and the result specification type can eliminate the difficulty of prediction, but like the combination of the transfer type and the target specification type, the problem that the degree of freedom of processing is limited cannot be solved. Can not.
このように2つの型の組み合わせは、標準型のみに比べて、予測困難性を解消することができるようになるが、処理自由度が限定的になってしまう。この処理自由度を高めるために、標準型のみにすれば、予測困難性が生じてしまう。ちなみに、予測困難性が生じなければ、直観性が高まり、使い勝手が良く、より少ない工数で所望の結果に到達することができる。そこで、直観的で簡単な使い勝手をもち、より少ない工数で所望の結果に到達することができるとともに、処理自由度も高めることができるシステムや方法の提供が望まれていた。 In this way, the combination of the two types can eliminate the difficulty of prediction as compared with the standard type alone, but the degree of freedom in processing is limited. If only the standard type is used in order to increase the degree of freedom in processing, it will be difficult to predict. By the way, if the prediction difficulty does not occur, the intuition is enhanced, the usability is good, and the desired result can be reached with less man-hours. Therefore, it has been desired to provide a system and a method that are intuitive and easy to use, can reach a desired result with less man-hours, and can increase the degree of freedom in processing.
本発明は、上記課題に鑑み、画像の修整を行う画像処理システムであって、修整の内容を特定するために参照される修整時参照情報と、その修整の内容に従って修整を行った事例を識別可能な事例識別情報とを含む複数の事例情報を記憶する情報記憶部と、画像の入力を受け付け、当該画像を取得する画像取得部と、情報記憶部に記憶された複数の事例情報を、各前記事例情報に含まれる事例識別情報に基づき表示部上に配置して表示させ、ユーザから事例情報の選択を受け付ける事例選択部と、選択された事例情報に含まれる修整時参照情報により特定された修整の内容に従って、画像取得部により取得された画像を修整する事例適用部とを含む、画像処理システムが提供される。 In view of the above problems, the present invention is an image processing system for modifying an image, and identifies the reference information at the time of modification referred to for specifying the content of the modification and the case where the modification is performed according to the content of the modification. An information storage unit that stores a plurality of case information including possible case identification information, an image acquisition unit that accepts an image input and acquires the image, and a plurality of case information stored in the information storage unit, respectively. It is specified by the case selection unit that arranges and displays on the display unit based on the case identification information included in the case information and accepts the selection of the case information from the user, and the reference information at the time of modification included in the selected case information. An image processing system is provided that includes a case application unit that modifies the image acquired by the image acquisition unit according to the content of the modification.
本発明によれば、直観的で簡単な使い勝手をもち、より少ない工数で所望の結果に到達することができるとともに、処理自由度も高めることができる。 According to the present invention, it is intuitive and easy to use, a desired result can be achieved with less man-hours, and the degree of freedom in processing can be increased.
図1は、画像処理システムの構成例を示した図である。画像処理システムは、画像処理装置10と、後述する事例情報を記憶するサーバ装置11とを含んで構成される。画像処理システムは、この事例情報をサーバ装置11に記憶するのではなく、画像処理装置10が備える記憶装置に記憶すれば、画像処理装置10のみで構成されていてもよい。また、事例情報は、画像処理装置10やサーバ装置11以外の機器に記憶させることもでき、この場合、画像処理システムは、画像処理装置10とその機器とを含んで構成される。
FIG. 1 is a diagram showing a configuration example of an image processing system. The image processing system includes an
図1に示す例では、画像処理装置10およびサーバ装置11のほか、原稿等を読み取り、画像処理装置10へ画像データとして画像を入力する画像読取装置12と、被写体を撮像し、画像処理装置10へ画像データとして画像を入力する撮像装置13とを含んでいる。サーバ装置11は、上記の事例情報のほか、画像としての画像データを記憶し、画像処理装置10からの要求により画像データを読み出し、送信することができる。
In the example shown in FIG. 1, in addition to the
図1に示す画像処理システムは、画像処理装置10と撮像装置13とがケーブル14により直接接続され、画像処理装置10と画像読取装置12とサーバ装置11とがネットワーク15を介して互いに接続されている。
In the image processing system shown in FIG. 1, the
画像処理システムは、画像処理装置10、サーバ装置11、画像読取装置12、撮像装置13を2台以上含んで構成されていてもよく、他の機器をさらに含んで構成されていてもよい。図1では、ケーブル14を使用して接続しているが、無線通信により接続することもできる。また、画像処理装置10と画像読取装置12およびサーバ装置11は、ネットワーク15でなくても、直接ケーブルにより接続されていてもよい。
The image processing system may be configured to include two or more
また、ネットワーク15には、ケーブルにより接続することもできるし、無線により接続することも可能である。無線により接続する場合、アクセスポイントと呼ばれる基地局を介してネットワーク15に接続することができる。ネットワーク15は、WAN(Wide Area Network)やインターネット等を利用することができる。
Further, the
画像処理装置10としては、画像の修整を行うことができるPCやタブレット端末等を使用することができる。画像処理装置10のハードウェア構成、機能、その処理内容については後述する。
As the
サーバ装置11としては、PCやワークステーション等を使用することができる。サーバ装置11のハードウェア構成は画像処理装置10のハードウェア構成と同様のものとすることができる。このため、ここでは説明を省略する。画像処理装置10は、サーバ装置11にアクセスし、サーバ装置11に対して事例情報や画像データを要求し、サーバ装置11から要求した事例情報や画像データを取得することができる。
As the
画像読取装置12としては、スキャナ装置やMFP(Multi Function Peripheral)等を使用することができる。画像読取装置12は、原稿を所定の位置にセットするための原稿台、その原稿に光を照射する光源、原稿からの光を所定の方向へ導くミラー、光を電気信号に変換する光電変換素子、電気信号をデジタルデータへ変換するA/Dコンバータ等を含む。画像読取装置12は、変換されたデジタルデータを画像データとして画像処理装置10へ出力する。
As the
撮像装置13としては、デジタルカメラやビデオカメラ等を使用することができる。例えば、デジタルカメラは、レンズと絞り機構とを含む光学系と、レンズを通して入射された光を受光し、電気信号として出力する受光素子と、出力された電気信号をデジタルデータへ変換する等の処理を行う画像演算回路とを含む。また、デジタルカメラは、処理されたデジタルデータを画像データとして記録するメモリ、撮像された画像を表示するための表示装置、ストロボ、操作スイッチ、ケーブルを接続するためのインタフェース等を含む。画像処理装置10は、このメモリにアクセスし、このメモリに記録された画像データを読み出し、取得することができる。
As the
図2を参照して、画像処理装置10のハードウェア構成について説明する。画像処理装置10は、一般のPCと同様、入力I/F20、CPU21、メモリ等の記憶装置22、HDD等の補助記憶装置23、出力I/F24、記録媒体25が挿入されるドライブ26、コントローラ27を備える。入力I/F20は、例えば、撮像装置13を画像処理装置10にケーブル14により接続する際、そのケーブル14の一端を接続する。ケーブル14の他端は、撮像装置13に接続される。
The hardware configuration of the
CPU21は、補助記憶装置23に記憶されたプログラムを実行し、画像処理装置10を制御し、また、所定の機能を実現する。この所定の機能の実現により、画像の修整を行う。記憶装置22は、CPU21に対して作業空間を与え、また、ブートプログラムやファームウェア、設定パラメータ等を記憶する。出力I/F24は、図示しない表示装置とケーブルにより接続する際、そのケーブルの一端を接続する。ケーブルの他端は、図示しない表示装置に接続される。
The
記録媒体25は、例えば、上記の画像の修整を行うためのプログラムが記録される。このプログラムは、記録媒体25の読み書きを制御するドライブ26を介して補助記憶装置23へインストールされる。コントローラ27は、ネットワーク15に接続するネットワークI/Fとして機能し、ネットワーク15との通信を制御する。なお、上記プログラムは、独立したプログラムソフトウェアであってもよいし、プリンタドライバ内に実装されていてもよい。
On the
画像処理装置10の具体的な機能やその機能により実行される処理について説明する前に、本発明の概要について説明しておく。指定された画像処理の手段やパラメータを用いて修整する標準型の欠点は、熟練を要し、試行錯誤を必要とする点である。標準型と手段指定型等の組み合わせや、目標として参照される画像に向けて修整する転写型と目標指定型等の組み合わせの欠点は、処理自由度が低い点である。これらの点は、相関関係があり、両方の欠点を解消することは、これまでの技術では出来なかった。
Before explaining the specific function of the
この両方の欠点を解消するために、本発明では、画像修整の粒度(単位)を、上記の標準型より大きくし、それらの登録、再利用が可能な仕組みを導入する。そして、その登録、再利用が可能な単位を、事例と定義する。事例は、熟練者が行った修整の実例であり、その事例からは、その修整の内容や使用したパラメータ、修整前後の画像等の事例情報を得ることができる。このような事例を適用すれば、熟練を要することなく、また、試行錯誤を要することなく、所望の画像に修整できる。また、多くの事例の中から所望の事例を選択して適用できれば、処理自由度も高められる。 In order to eliminate both of these drawbacks, the present invention introduces a mechanism in which the particle size (unit) of image modification is made larger than that of the above standard type, and they can be registered and reused. Then, the unit that can be registered and reused is defined as an example. The example is an example of the modification performed by a skilled person, and from the example, case information such as the content of the modification, the parameters used, and the images before and after the modification can be obtained. By applying such a case, it is possible to modify the desired image without requiring skill and trial and error. Further, if a desired case can be selected and applied from many cases, the degree of freedom in processing can be increased.
そこで、事例を収集する必要があるが、事例の収集を効率良く行うことを考えた場合、転写型が有効である。これは、所望する画像のみを収集すればよく、入力された画像や途中の修整過程を記録する必要がないからである。しかしながら、以下の2点を考慮すると、標準型を排除することは得策ではない。すなわち、多くのプロ・レタッチャ(専門の写真編集を行う人)は、現実に標準型による修整を活用していること、転写型による修整は現時点で発展途上であることの2点である。 Therefore, it is necessary to collect cases, but the transfer type is effective when considering the efficient collection of cases. This is because it is only necessary to collect the desired image, and it is not necessary to record the input image or the modification process in the middle. However, considering the following two points, it is not a good idea to exclude the standard type. In other words, many professional retouchers (professional photo editors) actually utilize standard-type retouching, and transfer-type retouching is still under development.
詳細に説明すると、標準型による画像修整は、熟練者によってのみ適切に使いこなすことができる。熟練者は、多くの知識と経験を有していて、どのような画像処理手段を、どの程度、どのような順序で適用すれば、どのような結果が得られるかを理解している。熟練者は、画像の絵柄に応じて対応可能で、修整された画像(修整画像)の品質を評価する審美眼を有しており、これらのスキルを総合的に有するが故、標準型による画像修整を可能にしている。しかしながら、このようなスキルは、極めて貴重で、簡単に外在化させることは難しい。このため、初心者やあまり経験のない者は、熟練者に教わりつつ、試行錯誤を繰り返してスキルを身に付けているのが現状である。また、熟練者といえども、言葉で明確に表現して伝達することは難しい。 More specifically, standard image modification can only be properly used by a skilled person. Experts have a lot of knowledge and experience and understand what kind of image processing means should be applied, in what order, and what kind of result should be obtained. Experts can respond according to the pattern of the image, have an aesthetic eye to evaluate the quality of the modified image (modified image), and have these skills comprehensively, so the standard type image Allows retouching. However, such skills are extremely valuable and difficult to easily externalize. For this reason, the current situation is that beginners and inexperienced people acquire skills by repeating trial and error while being taught by experts. Moreover, it is difficult for even an expert to express and convey clearly in words.
したがって、このようなスキルを外在化させるための唯一の方法は、熟練者が行った画像修整の実例を蓄積し、それを活用していくことである。本発明では、事例という情報形式を導入することによって、熟練者が選んだ手法を蓄積し、利用する。そうすれば、標準型において蓄積した手法や画像を転写型において利用することが可能になる。 Therefore, the only way to externalize such skills is to accumulate and utilize examples of image modification performed by experts. In the present invention, by introducing an information format called a case, a method selected by an expert is accumulated and used. Then, the methods and images accumulated in the standard type can be used in the transfer type.
ここで、図3〜図5を参照して、各型による修整、事例情報について説明する。図3(a)は、標準型による修整を例示した図である。この修整では、事例において使用した修整前後の2つの画像(事例画像)と、その事例において適用した画像処理の手段であるトーンカーブとを使用している。トーンカーブは、画像を階調補正するための手段であり、2つの事例画像のうちの画像Aを、もう1つの画像Bとなるように階調補正する。このため、修整対象の画像が入力画像として入力されると、このトーンカーブにより変換され、変換後の画像が修整画像として出力される。トーンカーブは、階調変換関数で表すことができ、この関数を使用して変換することができる。図3(a)では、この修整により、背景、人物の顔の色や洋服の色等が変更されている。 Here, with reference to FIGS. 3 to 5, modifications and case information for each type will be described. FIG. 3A is a diagram illustrating modification by the standard type. In this modification, the two images before and after the modification used in the case (case image) and the tone curve which is the means of image processing applied in the case are used. The tone curve is a means for correcting the gradation of an image, and the image A of the two case images is gradation-corrected so as to become the other image B. Therefore, when the image to be modified is input as an input image, it is converted by this tone curve, and the converted image is output as a modified image. The tone curve can be represented by a gradation conversion function, which can be used for conversion. In FIG. 3A, the background, the color of the person's face, the color of clothes, and the like are changed by this modification.
図3(b)は、転写型による修整を例示した図である。この修整では、目標として参照される画像(参照画像)のみを使用する。転写型では、参照画像に向けて修整を行うため、参照画像のみがあればよいからである。この転写型では、例えば、色彩転写(http://www.thegooch.org/Publications/PDFs/ColorTransfer.pdf)等の既知の方法を用いて修整することができる。図3(b)では、この修整により、背景、人物の顔の色や洋服の色が変更されている。 FIG. 3B is a diagram illustrating modification by the transfer type. In this modification, only the image referred to as the target (reference image) is used. This is because in the transfer type, only the reference image is required because the modification is performed toward the reference image. This transfer type can be modified using known methods such as color transfer (http://www.thegooch.org/Publications/PDFs/ColorTransfer.pdf). In FIG. 3B, the background, the color of the person's face, and the color of the clothes are changed by this modification.
図4(a)は、標準型の事例情報の例を、図4(b)は、転写型の事例情報の例を示した図である。事例情報は、修整の内容を特定するために参照される修整時参照情報と、その修整の内容に従って修整を行った事例を識別可能な事例識別情報とを含む。図4には、修整時参照情報として、画像処理オペレータと、画像処理パラメータとが示されている。 FIG. 4A is a diagram showing an example of standard type case information, and FIG. 4B is a diagram showing an example of transfer type case information. The case information includes the reference information at the time of modification that is referred to for specifying the content of the modification, and the case identification information that can identify the case in which the modification is performed according to the content of the modification. In FIG. 4, an image processing operator and an image processing parameter are shown as reference information at the time of modification.
画像処理オペレータは、画像処理の手段を表すもので、図4(a)ではオペレータ名「Lトーンカーブ」が、図4(b)では「転写オペレータ」が示されている。画像処理パラメータは、その手段に使用されるパラメータで、図4(a)ではトーンカーブを作成するのに使用される制御点情報が、図4(b)ではパラメータはないので、NULLが示されている。なお、図4(b)では、NULLに続いてかっこ書きで「画像Bを参照」と記述され、画像Bを参照画像として使用することが示されている。 The image processing operator represents a means of image processing, and the operator name “L tone curve” is shown in FIG. 4A, and the operator name “transfer operator” is shown in FIG. 4B. The image processing parameter is a parameter used for the means, and in FIG. 4A, the control point information used to create the tone curve is shown, and in FIG. 4B, there is no parameter, so NULL is shown. ing. In addition, in FIG. 4B, following NULL, it is described in parentheses as "Refer to image B", and it is shown that image B is used as a reference image.
事例識別情報は、その事例を他の事例と識別することができる情報であれば、いかなる情報であってもよい。図4では、修整の型であるタイプ、事例識別子(事例ID)、撮影位置、撮影日時、画像ファイル名、色調情報、撮影シーンのシーン名、撮影対象の対象物名、画像の印象を表す印象表現、画像内の領域を選択する場合の選択領域情報が示されている。したがって、上記の修整時参照情報も、他の事例と識別することができれば、事例識別情報に含めることができる。 The case identification information may be any information as long as it can distinguish the case from other cases. In FIG. 4, the type that is the type of modification, the case identifier (case ID), the shooting position, the shooting date and time, the image file name, the color tone information, the scene name of the shooting scene, the name of the object to be shot, and the impression representing the impression of the image are shown. The selection area information when selecting the area in the expression and the image is shown. Therefore, the above-mentioned reference information at the time of modification can also be included in the case identification information if it can be distinguished from other cases.
図4(a)は、標準型であるから、タイプは標準型とされ、画像の撮影位置として緯度、経度の情報が、対象物名として画像内の人物の氏名が、印象情報としてその人物の印象が示されている。また、標準型の場合、事例画像として2つの画像を必要とするため、画像A、画像Bのファイル名、色調情報が登録されている。 Since FIG. 4A is a standard type, the type is a standard type, the latitude and longitude information is used as the shooting position of the image, the name of the person in the image is used as the object name, and the impression information of the person is used. The impression is shown. Further, in the case of the standard type, since two images are required as case images, the file names and color tone information of the images A and B are registered.
図4(b)は、転写型であるから、タイプは転写型とされ、それ以外は図4(a)と同様とされる。ただし、転写型の場合、参照画像のみがあればよいことから、参照画像である画像Bのみのファイル名、色調情報が登録されている。このため、もう1つのファイル名、色調情報の欄は、情報がないことを示す「NULL」が入力される。 Since FIG. 4B is a transfer type, the type is a transfer type, and other than that, it is the same as that of FIG. 4A. However, in the case of the transfer type, since only the reference image needs to be provided, the file name and color tone information of only the image B, which is the reference image, are registered. Therefore, in the other file name and color tone information fields, "Null" indicating that there is no information is input.
ここでは、事例情報がテーブル形式で表現されているが、実際には、XML(eXtensible Markup Language)等の記述方法に従って実現することができる。これは一例であるので、他の記述方法を採用してもよい。 Here, the case information is expressed in a table format, but in reality, it can be realized according to a description method such as XML (eXtensible Markup Language). Since this is an example, other description methods may be adopted.
標準型による事例で収集された2つの事例画像は、2つの転写型の参照画像として使用することが可能である。図5(a)に示す標準型の事例情報は、図4(a)と同様であるが、この中の画像Aの情報、画像Bの情報を参照情報とし、図5(b)、(c)に示すような事例情報を作成することができる。図5では、図5(a)をルートノードとし、そのルートノードに接続される子ノードを図5(b)、(c)として、事例情報を階層化して保持することができる。このようにすることで、標準型と転写型の両方の修整を行える枠組みを提供することができる。なお、図5(b)、(c)中の矢印は、図5(a)中の対応する項目の内容と同じであることを意味する。 The two case images collected in the standard case can be used as reference images for the two transfer types. The standard type case information shown in FIG. 5 (a) is the same as that in FIG. 4 (a), but the information of image A and the information of image B in this are used as reference information, and FIGS. 5 (b) and 5 (c) are used. ) Can be created as shown in case information. In FIG. 5, case information can be stored in a hierarchical manner, with FIG. 5A as a root node and child nodes connected to the root node as FIGS. 5B and 5C. By doing so, it is possible to provide a framework capable of modifying both the standard type and the transfer type. The arrows in FIGS. 5 (b) and 5 (c) mean that the contents of the corresponding items in FIG. 5 (a) are the same.
次に、直観的で簡単な使い勝手を実現するためには、事例を何らかの形で視覚的に表示し、ユーザに選択の余地を与えることが好適である。事例の数が少ない場合、事例情報をそのまま並べて表示することができる。 Next, in order to realize intuitive and easy usability, it is preferable to visually display the case in some form and give the user a choice. When the number of cases is small, the case information can be displayed side by side as it is.
ところが、事例の収集や登録が進むにつれて、上記のように並べて表示しても、一度に表示できる数には限界があるため、全部の事例を一度に表示することはできなくなってしまう。図6に示すように、一度に表示することができる事例としての事例画像や参照画像は数枚から数十枚であるから、スクロールバー等により画面をスクロールさせて表示しなければならない。表示に制約がなくランダムに並べられている場合、好適な事例情報を探し出すのが非常に困難である。 However, as the collection and registration of cases progresses, even if they are displayed side by side as described above, there is a limit to the number that can be displayed at one time, so it becomes impossible to display all the cases at once. As shown in FIG. 6, since there are several to several tens of case images and reference images as examples that can be displayed at one time, the screen must be scrolled and displayed by a scroll bar or the like. It is very difficult to find suitable case information when the display is not restricted and arranged randomly.
そこで、事例情報に事例識別情報を含ませ、ランダムに並べるのではなく、事例識別情報に基づき(例えば、型や色調情報に従って並ぶように)、表示装置である表示部上に事例情報を適切に配置して表示させることができるようにする。これにより、好適な事例情報を探し出すのが困難という問題を解消することができる。 Therefore, instead of including the case identification information in the case information and arranging them randomly, based on the case identification information (for example, arranging them according to the type and color tone information), the case information is appropriately displayed on the display unit which is a display device. Make it possible to arrange and display it. This makes it possible to solve the problem that it is difficult to find suitable case information.
図7を参照して、顔画像の肌色を例にとり、具体的に説明する。事例識別情報には、顔領域といった特定の領域を選択するための選択領域情報と、その選択領域情報により選択された領域の色調情報が含まれている。色調情報は、例えば、平均Lab値である。Lは、明度を示す次元、a、bは、色次元であり、図4や図5にも例示したように(80,10,10)のようなLab色空間における座標値で表される。この色調情報は、登録時に計算して登録しておいてもよいし、必要になったときに計算してもよい。 The skin color of the face image will be specifically described with reference to FIG. 7. The case identification information includes selection area information for selecting a specific area such as a face area, and color tone information of the area selected by the selection area information. The color tone information is, for example, an average Lab value. L is a dimension indicating lightness, and a and b are color dimensions, and are represented by coordinate values in the Lab color space as illustrated in FIGS. 4 and 5 (80, 10, 10). This color tone information may be calculated and registered at the time of registration, or may be calculated when needed.
転写型においては、事例画像である画像Bにおける顔画像の色調情報を用いて修整が行われる。このため、標準型に対して、この色調情報を用いるというルールを設けるか、ユーザに選択させるようにすることで、事例の型によらず、両者を二次元に配置することができる。なお、表示は、アイコンやサムネイル等の画像形式であってもよいし、事例IDや撮影位置等の言語形式であってもよい。ちなみに、図7では、画像形式により事例情報の一覧が表示されている。 In the transfer type, the modification is performed using the color tone information of the face image in the image B which is the case image. Therefore, by providing a rule to use this color tone information for the standard type or letting the user select it, both can be arranged two-dimensionally regardless of the type of the case. The display may be in an image format such as an icon or a thumbnail, or may be in a language format such as a case ID or a shooting position. Incidentally, in FIG. 7, a list of case information is displayed in an image format.
表示は、図7に示すような事例情報の一覧表示のほか、図8に示すようにLab空間のab平面(二次元)をマップ化し、各点を各事例として表示することができる。任意の点にカーソルを移動させ、その点上で停止させたとき、事例情報をアイコン等で表示させることができるようにされていてもよい。また、現状の入力画像を点と区別可能な形、図8では星形で示し、目標をどのように選択するかを、より直観的に行うことができるようにされていてもよい。この例では、顔画像の肌色を例に挙げたが、それ以外のシーン名や対象物名等であってもよい。 In addition to the list display of case information as shown in FIG. 7, the display can map the ab plane (two-dimensional) of the Lab space as shown in FIG. 8 and display each point as each case. When the cursor is moved to an arbitrary point and stopped at that point, the case information may be displayed by an icon or the like. Further, the current input image may be shown in a shape that can be distinguished from a point, or in a star shape in FIG. 8, so that how to select a target can be performed more intuitively. In this example, the skin color of the face image is taken as an example, but other scene names, object names, and the like may be used.
すべての事例情報を一覧表示すると、その数だけ表示しなければならないが、多くの場合は、同一カテゴリの中で事例情報を選択するので、一覧表示の対象をそのカテゴリに限定することで、表示する事例情報の数を減少させることができる。例えば、事例識別情報の中のシーン名や対象物名といった項目を、カテゴリとして選択できるようにすることで、表示する事例情報の数を減少させることができる。図8では、「空」、「芝」、「花」等をタブによって選択することができるようになっている。 When displaying a list of all case information, it is necessary to display as many cases as there are cases, but in many cases, case information is selected within the same category, so by limiting the target of list display to that category, it is displayed. The number of case information to be used can be reduced. For example, the number of case information to be displayed can be reduced by allowing items such as scene names and object names in the case identification information to be selected as categories. In FIG. 8, "sky", "turf", "flower" and the like can be selected by tabs.
そのほか、タイプを選択すると、図9(a)に示すように、標準型は各事例情報につき2つの事例画像を表示させなければならないが、転写型は1つの参照画像のみで済むため、一度により多くの事例情報を表示することが可能となる。また、目標指定も可能となる。標準型については、図9(b)に示すように、2つの事例画像を並べて表示させるのではなく、一定時間間隔で交互に表示させることができる。これにより、転写型の場合と同様、一度により多くの事例情報を表示することが可能となる。 In addition, when the type is selected, as shown in FIG. 9A, the standard type must display two case images for each case information, but the transfer type requires only one reference image, so that it can be displayed at once. It is possible to display a lot of case information. In addition, it is possible to specify a goal. As for the standard type, as shown in FIG. 9B, the two case images can be displayed alternately at regular time intervals instead of being displayed side by side. This makes it possible to display more case information at one time, as in the case of the transfer type.
表示する画像は、標準型については2つの事例画像、転写型については1つの参照画像のみであってもよいが、図9(c)に示すように、その事例における修整の内容に従って修整した後の修整画像も表示させることができる。これにより、結果指定が可能となる。この場合においても、標準型については、その修整画像を含め、3つの画像を交互に表示させることができる。また、転写型についても、その修整画像を含め、2つの画像を交互に表示させることができる。これにより、一度により多くの事例情報を表示することが可能となる。 The image to be displayed may be only two case images for the standard type and one reference image for the transfer type, but as shown in FIG. 9 (c), after the modification is performed according to the content of the modification in the case. The modified image of is also displayed. This makes it possible to specify the result. Even in this case, for the standard type, three images including the modified image can be displayed alternately. Also, for the transfer type, two images including the modified image can be displayed alternately. This makes it possible to display more case information at one time.
これまで概略について説明してきたが、以下、上記の修整を実現するための機能構成、各機能部が行う処理について詳細に説明する。図10は、画像処理装置10の第1実施形態を示した機能ブロック図である。画像処理装置10は、機能部として、制御部30と、画像取得部31と、事例取得部32と、情報記憶部33と、事例選択部34と、事例適用部35と、画像出力部36とを含んで構成される。事例適用部35は、第一形式補正部37と、第二形式補正部38とを含んで構成される。
Although the outline has been described so far, the functional configuration for realizing the above modification and the processing performed by each functional unit will be described in detail below. FIG. 10 is a functional block diagram showing a first embodiment of the
制御部30は、画像処理装置10全体の制御を行う。画像取得部31は、図1に示した画像読取装置12、撮像装置13やサーバ装置11等から画像の入力を受け付け、その画像を取得する。ここでは、画像を取得するとしているが、実際にはその画像の画像データを取得している。画像の取得は、撮像装置13等から入力される画像データを取得してもよいし、制御部30がユーザからの指示を受けてサーバ装置11へ要求し、読み出した画像データを取得することもできる。
The
事例取得部32は、画像取得部31が画像を取得したことを受けて、情報記憶部33に記憶された複数の事例情報を取得し、事例選択部34へ渡す。事例取得部32は、情報記憶部33に記憶された全ての事例情報を取得することもできるし、ユーザが上記のカテゴリを選択した場合は、そのカテゴリの事例情報のみを取得することができる。例えば、ユーザがタイプとして転写型を選択した場合、事例識別情報に転写型を含むもののみを取得することができる。
In response to the
事例選択部34は、事例取得部32から受け取った複数の事例情報を、各事例情報に含まれる事例識別情報に基づき表示部上に配置して表示させる。そして、事例選択部34は、ユーザからの事例情報の選択を受け付ける。事例適用部35は、ユーザにより選択された事例情報に含まれる事例識別情報から事例における修整の型、すなわちタイプを特定する。タイプが標準型であれば、第一形式補正部37に修整を依頼し、タイプが転写型であれば、第二形式補正部38に修整を依頼する。
The
第一形式補正部37では、依頼を受けると、ユーザにより選択された事例情報に含まれる修整時参照情報により特定された修整の内容に従って、画像取得部31が取得した画像に対して標準型による修整を行う。第二形式補正部38では、依頼を受けると、ユーザにより選択された事例情報に含まれる修整時参照情報により特定された修整の内容に従って、画像取得部31が取得した画像に対して転写型による修整を行う。
Upon receiving the request, the first
事例適用部35は、修整が終了し、修整画像を得ると、画像出力部36に渡す。画像出力部36は、修整画像を表示部に表示し、また、修整画像を印刷して出力し、さらには、修整画像を情報記憶部33に記憶させる。これらの出力は、予め設定された内容に応じて実行することができる。
When the modification is completed and the modified image is obtained, the
これらの機能部は、図2に示したCPU21が、補助記憶装置23に記憶された画像修整を行うプログラムを、記憶装置22に読み出し実行することにより実現される。なお、情報記憶部33は、サーバ装置11が備える記憶装置とすることができるが、画像処理装置10が備える補助記憶装置23や、ケーブルあるいはネットワーク15に接続された外部記憶装置等の他の機器とすることも可能である。
These functional units are realized by the
図11に示すフローチャートを参照して、図10に示す画像処理装置10が実行する画像を修整する処理について詳細に説明する。ステップ1100において、撮像装置13等から画像の入力を、画像取得部31が受け付けることにより開始する。ステップ1105では、画像取得部31は、その入力された画像を取得する。ステップ1110では、事例取得部32が、画像取得部31が画像を取得したことを受けて、情報記憶部33から複数の事例情報を取得する。ここでは、情報記憶部33に記憶されている全ての事例情報を取得するものとして説明する。
The process of modifying the image executed by the
ステップ1115では、事例選択部34が、事例取得部32が取得した事例情報を、各事例情報に含まれる事例識別情報に基づき表示部上に配置して表示させる。最も単純な配置例は、事例IDの順に事例情報を並べるという配置である。事例IDは、数値やアルファベット等から構成されるので、数字の1から順に、あるいはアルファベット順に並べることができる。これ以外に、撮影位置や撮影日時の順に並べることもできる。
In step 1115, the
事例選択部34は、ユーザ・インタラクション、すなわちユーザとの対話により項目を指定し、その項目の順に並べることもできるし、予め定めた項目、例えば色調情報に従って配置を求め、そこに配置することもできる。
The
事例情報の表示方法については、修整の型の違いを踏まえて適切に行う必要があり、標準型の場合、修整前後の2つの画像(事例画像)を並べて、または交互に表示させる。転写型の場合は、目標として参照される参照画像のみを表示させる。これにより、目標指定が可能となる。 It is necessary to appropriately display the case information in consideration of the difference in the modification type. In the case of the standard type, the two images (case images) before and after the modification are displayed side by side or alternately. In the case of the transfer type, only the reference image referred to as the target is displayed. This makes it possible to specify a goal.
また、事例情報の表示方法については、画像取得部31により取得された画像(入力画像)に対する修整画像も含めて表示することができ、標準型の場合、2つの事例画像に修整画像を含めた3つの画像を並べて、または交互に表示させる。転写型の場合は、参照画像に修整画像を含めた2つの画像を並べて、または交互に表示させる。これにより、結果指定が可能となる。
Further, regarding the display method of the case information, it is possible to display the modified image for the image (input image) acquired by the
ステップ1115では、ユーザが、このように表示された事例情報の中から好適な事例情報を選択し、事例選択部34は、ユーザが選択した事例情報を受け付ける。ステップ1120では、事例情報が選択されたことを受けて、事例適用部35が、入力画像に対して事例情報を適用するために、まず、事例識別情報の中のタイプを参照し、型の識別を行う。型が標準型であれば、ステップ1125へ進み、転写型であれば、ステップ1130へ進む。
In step 1115, the user selects suitable case information from the case information displayed in this way, and the
ステップ1125では、第一形式補正部37が、標準型による修整を行い、ステップ1130では、第二形式補正部38が、転写型による修整を行う。修整は、事例情報に含まれる修整時参照情報の中の画像処理オペレータおよび画像処理パラメータを取り出し、これを適用することにより行われる。画像処理オペレータには、トーンカーブ、シャープネス、エッジ強調等が指定され、画像処理パラメータには、それらに使用される制御点情報等が指定されている。第一形式補正部37は、トーンカーブが指定されていれば、トーンカーブ変換を行い、シャープネスが指定されていれば、シャープネス変換を行う。これらの変換については、既に公知であるので、その内容については説明を省略する。なお、画像処理オペレータは、1つに限定されるものではなく、2つ以上であってもよい。
In step 1125, the first
上記のトーンカーブ等は、標準型に対して指定されるもので、転写型に対しては、転写オペレータが指定される。このとき、画像処理パラメータには、参照画像が指定される。転写型による修整については、上記の色彩転写等の既知の方法を用いて行うことができる。第一形式補正部37または第二形式補正部38は、画像の修整が終ると、事例適用部35に修整結果としての修整画像を渡す。
The above tone curve and the like are specified for the standard type, and a transfer operator is specified for the transfer type. At this time, a reference image is specified in the image processing parameter. The transfer type modification can be performed by using a known method such as the above-mentioned color transfer. When the image modification is completed, the first
ステップ1135では、画像出力部36が、事例適用部35から修整画像を受け取り、表示部に表示する等して、修整画像をユーザに提示する。ステップ1140では、その提示された修整画像でよいかどうかを判断する。例えば、OKボタンとやり直しボタンを表示させ、ユーザがOKボタンを押下した場合は、その修整画像でよいと判断し、やり直しボタンを押下した場合は、その修整画像ではダメと判断することができる。
In step 1135, the
ステップ1140で判断した結果が、修整画像でよい場合、ステップ1145へ進み、画像出力部36は、その修整画像を情報記憶部33に記憶させ、ステップ1150でこの処理を終了する。これに対し、修整画像ではダメである場合、ステップ1115へ戻り、再びユーザが事例情報の選択を行い、事例選択部34がその選択を受け付ける。
If the result determined in step 1140 is a modified image, the process proceeds to step 1145, the
以上に説明した実施形態では、2つの型による修整を可能にしているが、一方の型に限定し、その型のみの修整を行うことも可能である。この場合、事例識別情報は、タイプという項目を含んでいなくてもよく、事例適用部35は、タイプを特定する判断を行う必要がなく、いずれか一方の補正部のみを保持していればよい。
In the embodiment described above, it is possible to modify by two types, but it is also possible to limit the modification to one type and modify only that type. In this case, the case identification information does not have to include the item of type, and the
次に、画像処理装置10の別の機能構成、各機能部が行う処理について説明する。図12は、画像処理装置10の第2実施形態を示した機能ブロック図である。図10に示した画像処理装置10と同様、制御部30と、画像取得部31と、事例取得部32と、情報記憶部33と、事例選択部34と、事例適用部35と、画像出力部36とを含んで構成される。事例適用部35は、第一形式補正部37と、第二形式補正部38とを含んで構成される。この図12に示す実施形態では、さらに、領域選択部40を備えている。上記の制御部30等の同じ機能部については既に説明したので、ここでは領域選択部40についてのみ説明する。
Next, another functional configuration of the
領域選択部40も、CPU21がプログラムを実行することにより実現され、修整対象の領域の選択を行う。この領域選択部40は、入力画像における修整対象の領域を限定するものである。
The
画像全体について事例情報に基づき修整を行うことは、標準型、転写型の両方において可能である。標準型は、例えば、色調を明るく、鮮やかにといった簡単な修整に対して好適で、転写型は、シーンとして画像全体が類似しているものに対して好適である。画像全体を対象とする修整では、このような好適な場合がある反面、必ずしも意図する画像に修整することができない場合がある。例えば、顔だけを少し明るくしたい場合や、青味成分だけを少し抑えたい場合や、高周波数成分だけを強調したい場合等である。 It is possible to modify the entire image based on case information in both the standard type and the transfer type. The standard type is suitable for simple modifications such as brightening and vivid color tones, and the transfer type is suitable for scenes in which the entire image is similar. In the modification for the entire image, there are cases where such a suitable case is used, but on the other hand, there are cases where the modification cannot always be performed on the intended image. For example, when it is desired to brighten only the face a little, when it is desired to suppress only the bluish component, or when it is desired to emphasize only the high frequency component.
このような特定の領域のみを修整したい場合に、領域選択部40によりその修整したい領域を選択し、事例適用部35によりその選択された領域を修整することができる。領域の選択は、既に知られた、色相で選択する方法、領域境界をユーザがなぞる方法、ブラシにより領域面をなぞる方法、顔領域抽出、高速フーリエ変換(FFT)等を用いて行うことができる。
When it is desired to modify only such a specific region, the
図13を参照して、具体的に説明すると、図13には、入力画像41が表示され、その向かって左側にツールボックス42が表示されている。ツールボックス42内には、様々なツールがアイコン表示されていて、ここでは、自動選択ツール43が選択されている。自動選択ツール43は、マウスによりクリックした位置にある画素およびそれに隣接する近似色の画素を自動的に選択するツールである。
More specifically, with reference to FIG. 13, the
図13では、顔の肌を表示している画素がクリックされたため、それに隣接する肌色の画素すべてを抽出し、抽出されたすべての画素により形成される領域が選択され、それが破線により表示されている。 In FIG. 13, since the pixel displaying the skin of the face is clicked, all the pixels of the skin color adjacent to the pixel are extracted, the area formed by all the extracted pixels is selected, and the area formed by all the extracted pixels is displayed by the broken line. ing.
領域選択部40が選択する領域は、画像空間(平面)における領域に限定されるものではない。カラー画像の特定のチャネル、例えば赤、青、緑で示される画像信号のチャネル領域を選択してもよいし、周波数空間における特定の帯域をもつ画像信号の周波数領域を選択してもよい。領域選択部40は、これら3つの領域のうちの1つを選択することに限られるものではなく、これら3つの領域のうちの2つ以上を組み合わせた領域を選択してもよい。
The area selected by the
図14に示すフローチャートを参照して、この実施形態の画像処理装置10が実行する画像を修整する処理について説明する。ステップ1400からこの処理を開始する。この場合も、図11と同様、撮像装置13等から画像の入力を、画像取得部31が受け付けることにより開始する。ステップ1405、ステップ1415〜ステップ1455は、図11に示すステップ1105〜ステップ1150と同様であるため、ここではその説明を省略する。
The process of modifying the image executed by the
ステップ1410では、領域選択部40が、ユーザから領域の指定を受け付け、その指定された領域を選択する。この選択された領域の情報は、事例適用部35へ送られ、修整する領域を特定し、その領域につき修整が行われる。
In step 1410, the
画像処理装置10のさらに別の機能構成、各機能部が行う処理について説明する。図15は、画像処理装置10の第3実施形態を示した機能ブロック図である。図10に示した画像処理装置10と同様、制御部30と、画像取得部31と、事例取得部32と、情報記憶部33と、事例選択部34と、事例適用部35と、画像出力部36とを含んで構成される。事例適用部35は、第一形式補正部37と、第二形式補正部38とを含んで構成される。この図15に示す実施形態では、さらに、事例登録部50を備えている。上記の制御部30等の同じ機能部については既に説明したので、ここでは事例登録部50についてのみ説明する。なお、画像処理装置10は、事例登録部50と上記の領域選択部40の両方を備えていてもよい。
Further another functional configuration of the
事例登録部50は、CPU21がプログラムを実行することにより実現され、画像修整により得られた修整画像に付加情報を加えて新しい事例情報として情報記憶部33に記憶させ、登録する。事例登録部50は、図4に示した表現形式に従って、各項目に対応する内容を特定し、1つの事例情報として登録する。したがって、修整画像を除く、各項目に対応する内容が付加情報とされる。タイプは、修整を行ったときに特定されたタイプがそのまま継承される。
The
タイプが標準型である場合、修整時参照情報には、修整の際に参照された画像処理オペレータ、画像処理パラメータをそのまま指定する。事例識別情報には、図4に示した画像A、画像Bの内容として、入力画像、修整画像の内容が指定される。すなわち、入力画像および修整画像のファイル名、色調情報が指定される。その他の情報は、修整の際に参照した事例情報内の各情報がデフォルト値として指定される。このため、修正が必要であれば、ユーザ・インタラクションを介して修正したい箇所の情報を修正することができる。 When the type is the standard type, the image processing operator and the image processing parameter referred to at the time of modification are specified as they are in the reference information at the time of modification. As the case identification information, the contents of the input image and the modified image are designated as the contents of the image A and the image B shown in FIG. That is, the file names and color tone information of the input image and the modified image are specified. For other information, each information in the case information referred to at the time of modification is specified as the default value. Therefore, if correction is necessary, the information of the portion to be corrected can be corrected via user interaction.
タイプが転写型である場合も、修整時参照情報には、修整の際に参照された画像処理オペレータ、画像処理パラメータをそのまま指定する。そして、事例識別情報には、画像Bの内容として、修整画像の内容が指定される。その他の情報については、標準型と同様である。 Even when the type is transfer type, the image processing operator and the image processing parameter referred to at the time of modification are specified as they are in the reference information at the time of modification. Then, in the case identification information, the content of the modified image is designated as the content of the image B. Other information is the same as the standard type.
このようにして新しい1つの事例情報として作成し、それを追加することで、その事例情報を再利用することが可能となる。なお、標準型の場合、図5に示したように、2つの事例画像を含むため、2つの事例画像の各々を参照画像とし、2つの転写型の事例情報として登録することも可能である。これにより、標準型の事例情報のほか、転写型の事例情報も追加することができる。また、事例情報の追加により、より所望する修整画像を得ることが可能となる。 By creating one new case information in this way and adding it, the case information can be reused. In the case of the standard type, as shown in FIG. 5, since two case images are included, each of the two case images can be used as a reference image and registered as two transfer type case information. As a result, in addition to the standard type case information, the transfer type case information can be added. Further, by adding the case information, it becomes possible to obtain a more desired modified image.
図16に示すフローチャートを参照して、この実施形態の画像処理装置10が実行する画像を修整する処理について説明する。ステップ1600からこの処理を開始する。この場合も、図11と同様、撮像装置13等から画像の入力を、画像取得部31が受け付けることにより開始する。ステップ1605〜ステップ1645、ステップ1655は、図11に示すステップ1105〜ステップ1150と同様であるため、ここではその説明を省略する。
The process of modifying the image executed by the
ステップ1650では、事例登録部50が、入力画像に対して行った修整を追加の事例とし、その事例において得られた事例情報を、情報記憶部33に追加の事例情報として記憶させ、登録する。この登録された事例情報は、次の画像修整において、ユーザに提示され、選択可能にされる。
In step 1650, the
画像処理装置10のさらに別の機能構成、各機能部が行う処理について説明する。図17は、画像処理装置10の第4実施形態を示した機能ブロック図である。図10に示した画像処理装置10と同様、制御部30と、画像取得部31と、事例取得部32と、情報記憶部33と、事例選択部34と、事例適用部35と、画像出力部36とを含んで構成される。事例適用部35は、第一形式補正部37と、第二形式補正部38とを含んで構成される。この図17に示す実施形態では、さらに、画像評価部60を備えている。上記の制御部30等の同じ機能部については既に説明したので、ここでは画像評価部60についてのみ説明する。なお、画像処理装置10は、画像評価部60と、上記領域選択部40および上記事例登録部50のいずれか1つもしくはその両方を備えていてもよい。
Further another functional configuration of the
画像評価部60は、CPU21がプログラムを実行することにより実現され、修整画像の品質を評価するための指標を表示部に表示させる。熟練者でない場合、鑑識眼が十分ではないため、修整画像を見ただけでは、所望の画像が得られたかどうかを判断することは難しい。このため、画像評価部60を設け、ユーザが客観的に評価を行うことができる評価指標を表示させることが望ましい。
The
画像評価部60は、評価指標を提供するため、画像対評価と単一評価の少なくとも一方を利用する。図18を参照して、画像評価部60が表示させる評価指標について説明する。図18に示す画像は、向かって左側から、入力画像、修整画像、Ch差分(明度L)画像で、Ch差分画像が画像対評価により得られる評価指標の例である。Ch差分画像の下側には、ΔE(色差)が数値として示されている。このΔEも、画像対評価により得られる評価指標の例である。要するに、単一評価と画像対評価の違いは、評価指標を画像一枚から得るか、2つの画像から得るかの違いである。
The
画像対評価により得られる評価指標の例としては、S/N(信号対ノイズ比)、MSE(平均二乗誤差)、ΔE等が知られている。これらの評価指標により、信号レベルでどれほどの変化があるかを客観的に理解することができる。そのほか、S/NやMSEよりも主観との合致度が高いとされるSSIMと呼ばれる評価指標を導入することもできる。 S / N (signal-to-noise ratio), MSE (mean squared error), ΔE, and the like are known as examples of evaluation indexes obtained by image pair evaluation. With these evaluation indexes, it is possible to objectively understand how much the signal level changes. In addition, an evaluation index called SSIM, which is said to have a higher degree of consistency with subjectivity than S / N or MSE, can be introduced.
単一評価により得られる評価指標の例としては、明度あるいは色チャネル毎のヒストグラムが知られている。このヒストグラムは、例えば、画像を構成するR、G、Bの各画素値が何個使用されているかを棒グラフで表したものである。このため、このヒストグラムを見ることで、ユーザは、画像全体の調子を客観的に理解することができ、適切な判断を行うことが可能になる。画質を評価する要因としては、明度等のほか、コントラスト、シャープネス、鮮鋭性、粒状性等を挙げることができ、これらについての評価指標を導入することもできる。 As an example of the evaluation index obtained by a single evaluation, a histogram for each lightness or color channel is known. This histogram is, for example, a bar graph showing how many pixel values of R, G, and B constituting the image are used. Therefore, by looking at this histogram, the user can objectively understand the tone of the entire image and make an appropriate judgment. Factors for evaluating image quality include contrast, sharpness, sharpness, graininess, etc., in addition to brightness and the like, and evaluation indexes for these can be introduced.
単一評価により得られる指標の例としては、そのほか、Saliency Map(誘目性マップ)を挙げることができる。これは、人の視覚特性に照らして目立ち度合いを、画素値を流用し、画像的に表現する方法である。このマップによれば、どの当たりに注目して評価すべきかの指針を得ることができる。これらの例は、一例であり、これ以外の評価指標を加えてもよい。 Other examples of indicators obtained by a single evaluation include Saliency Map (attractiveness map). This is a method of expressing the degree of conspicuity in the light of human visual characteristics as an image by diverting pixel values. With this map, you can get guidance on which hits to focus on and evaluate. These examples are just examples, and other evaluation indexes may be added.
評価する対象の画像あるいは画像対としては、修整画像、修整画像と入力画像もしくは参照画像もしくは事例画像を挙げることができる。評価する対象の画像あるいは画像対は、その他の入力画像、参照画像、入力画像と参照画像等であってもよい。このうち、入力画像と参照画像または事例画像の画像対評価は、将来的に、より適した事例情報を配置するという目的に拡張するための基盤となる。修整画像の評価は、得られた結果を判断するための客観的な情報として活用される。この評価により、ユーザは安心して評価を下すことができ、同時に、画像修整に必要なスキル・レベルの向上を図ることが可能となる。 Examples of the image or image pair to be evaluated include a modified image, a modified image and an input image, a reference image, or a case image. The image or image pair to be evaluated may be another input image, a reference image, an input image and a reference image, or the like. Of these, the image pair evaluation of the input image and the reference image or the case image will be the basis for expanding to the purpose of arranging more suitable case information in the future. The evaluation of the modified image is used as objective information for judging the obtained result. With this evaluation, the user can make an evaluation with peace of mind, and at the same time, it is possible to improve the skill level required for image modification.
図19に示すフローチャートを参照して、この実施形態の画像処理装置10が実行する画像を修整する処理について説明する。ステップ1900からこの処理を開始する。この場合も、図11と同様、撮像装置13等から画像の入力を、画像取得部31が受け付けることにより開始する。ステップ1905〜ステップ1935、ステップ1945〜ステップ1655は、図11に示すステップ1105〜ステップ1150と同様であるため、ここではその説明を省略する。
The process of modifying the image executed by the
ステップ1940では、画像評価部60が、ユーザに修整画像の品質を評価させるため、評価指標を表示させる。画像評価部60は、修整画像の品質を、修整画像の情報、例えばRGBの画素値を用いて上記のヒストグラムという指標を生成し、そのヒストグラムをユーザに提示するため、表示部に表示させる。また、画像評価部60は、修整画像と、入力画像もしくは参照画像もしくは事例画像の情報とを用いて、上記のS/N等を求め、その数値を指標としてユーザに提示するため、表示部に表示させる。
In step 1940, the
以上のように、事例識別情報に基づき事例情報を配置して表示させることにより、直観的で簡単な使い勝手をもち、より少ない工数で所望の結果に到達することができ、また、多くの事例から選択できるようにすることで、処理自由度を高めることができる。また、事例識別情報が色調情報やシーン名等を含み、それに基づいて適切に配置するので、直観的な目標指定が可能となる。型によらない事例表示が可能となり、これによっても直観的な目標指定が可能となる。 As described above, by arranging and displaying the case information based on the case identification information, it is intuitive and easy to use, the desired result can be reached with less man-hours, and from many cases. By making it selectable, the degree of freedom in processing can be increased. In addition, since the case identification information includes the color tone information, the scene name, and the like and is appropriately arranged based on the information, it is possible to intuitively specify the target. It is possible to display cases regardless of type, which also enables intuitive goal specification.
修整画像も含めて表示することで、直観的な結果指定が可能となる。そして、領域を選択することで、処理対象を限定し、画像修整の効果を高めることができる。また、追加の事例として登録することができるようにすることで、処理自由度をさらに高めることができる。また、標準型で一定の事例の登録がなされれば、その情報から転写型の事例として使用することができるので、これによって転写型の事例収集、蓄積を加速させることができる。 By displaying the modified image as well, it is possible to specify the result intuitively. Then, by selecting the area, the processing target can be limited and the effect of image modification can be enhanced. In addition, the degree of freedom in processing can be further increased by allowing registration as an additional case. Further, if a certain case is registered in the standard type, it can be used as a transfer type case from the information, and thus it is possible to accelerate the collection and accumulation of the transfer type case.
画像評価のための評価指標を表示させることで、客観的な判断材料を提供できるので、ユーザはより安心して評価を下すことができ、画像修整に必要なスキル・レベルの向上を図ることができる。 By displaying the evaluation index for image evaluation, it is possible to provide objective judgment material, so that the user can make an evaluation with more peace of mind and improve the skill level required for image modification. ..
これまで本発明の画像処理装置、画像処理方法およびプログラムにより実行される処理について図面に示した実施形態を参照しながら詳細に説明してきたが、本発明は、上述した実施形態に限定されるものではない。したがって、他の実施形態や、追加、変更、削除など、当業者が想到することができる範囲内で変更することができ、いずれの態様においても本発明の作用・効果を奏する限り、本発明の範囲に含まれるものである。よって、本発明では、画像処理装置を含む画像処理システムや、コンピュータに実行させるための上記プログラムが記録された記録媒体も提供することができるものである。 Although the image processing apparatus, the image processing method, and the processing executed by the program of the present invention have been described in detail with reference to the embodiments shown in the drawings, the present invention is limited to the above-described embodiments. is not it. Therefore, other embodiments, additions, changes, deletions, etc. can be made within the range that can be conceived by those skilled in the art, and the present invention can be changed as long as the actions and effects of the present invention are exhibited in any of the embodiments. It is included in the range. Therefore, the present invention can also provide an image processing system including an image processing device and a recording medium on which the above program for being executed by a computer is recorded.
10…画像処理装置、11…サーバ装置、12…画像読取装置、13…撮像装置、14…ケーブル、15…ネットワーク、20…入力I/F、21…CPU、22…記憶装置、23…補助記憶装置、24…出力I/F、25…記憶媒体、26…ドライブ、27…コントローラ、30…制御部、31…画像取得部、32…事例取得部、33…情報記憶部、34…事例選択部、35…事例適用部、36…画像出力部、37…第一形式補正部、38…第二形式補正部、40…領域選択部、41…入力画像、42…ツールボックス、43…自動選択ツール、50…事例登録部、60…画像評価部 10 ... image processing device, 11 ... server device, 12 ... image reading device, 13 ... imaging device, 14 ... cable, 15 ... network, 20 ... input I / F, 21 ... CPU, 22 ... storage device, 23 ... auxiliary storage Device, 24 ... Output I / F, 25 ... Storage medium, 26 ... Drive, 27 ... Controller, 30 ... Control unit, 31 ... Image acquisition unit, 32 ... Case acquisition unit, 33 ... Information storage unit, 34 ... Case selection unit , 35 ... Case application unit, 36 ... Image output unit, 37 ... First format correction unit, 38 ... Second format correction unit, 40 ... Area selection unit, 41 ... Input image, 42 ... Toolbox, 43 ... Automatic selection tool , 50 ... Case registration department, 60 ... Image evaluation department
Claims (7)
修整の内容を特定するために参照される修整時参照情報と、前記修整の内容に従って修整を行った事例を識別可能な事例識別情報と、を含む複数の事例情報を記憶する情報記憶部と、
画像の入力を受け付け、当該画像を取得する画像取得部と、
前記情報記憶部に記憶された複数の事例情報を、各前記事例情報に含まれる前記事例識別情報に基づき表示部上に配置して表示させ、事例情報の選択を受け付ける事例選択部と、
選択された前記事例情報に基づいて、前記画像取得部により取得された前記画像を修整する事例適用部と、
前記事例適用部により修整された前記画像の品質をユーザに評価させるために、修整された前記画像の情報、または修整された前記画像の情報と前記画像取得部により取得された前記画像もしくは目標として参照される一の画像の情報とを用いて評価指標を生成し、前記評価指標を表示部に表示させる画像評価部と
を含み、
前記事例選択部は、前記各事例情報につき目標として参照される一の画像を表示させ、目標となる一の画像の指定を受け付け、
前記事例適用部は、指定された前記一の画像に向けて修整する、画像処理システム。 An image processing system that modifies images
An information storage unit that stores a plurality of case information including reference information at the time of modification that is referred to for specifying the content of the modification, and case identification information that can identify a case that has been modified according to the content of the modification.
An image acquisition unit that accepts image input and acquires the image,
A case selection unit that accepts selection of case information by arranging and displaying a plurality of case information stored in the information storage unit on the display unit based on the case identification information included in each case information.
A case application unit that modifies the image acquired by the image acquisition unit based on the selected case information, and a case application unit.
In order for the user to evaluate the quality of the image modified by the case application unit, the information of the modified image, or the information of the modified image and the image or target acquired by the image acquisition unit. An image evaluation unit that generates an evaluation index using the information of one image to be referred to and displays the evaluation index on the display unit is included.
The case selection unit displays one image referred to as a target for each case information, and accepts the designation of one target image.
The case application unit is an image processing system that modifies the designated image toward the one image.
画像の入力を受け付け、当該画像を取得するステップと、
前記取得するステップで取得された前記画像に対して修整を行う領域として、画像空間の領域、画像信号のチャネル領域、画像信号の周波数領域の少なくとも1つの指定を受け付け、指定された少なくとも1つの領域を選択するステップと、
前記情報記憶部に記憶された複数の事例情報を、各前記事例情報に含まれる前記事例識別情報に基づき表示部上に配置して表示させるステップと、
前記表示部に表示された前記複数の事例情報のうちの1つの選択を受け付けるステップと、
選択された前記事例情報に基づいて、前記取得するステップで取得された前記画像の選択された前記領域を修整するステップと、
前記取得するステップで取得された前記画像に対して前記修整するステップで行った修整を追加の事例とし、当該修整において得られた事例情報を、前記情報記憶部に追加の事例情報として記憶させるステップと、
前記修整するステップで修整された前記画像の品質をユーザに評価させるために、修整された前記画像の情報、または修整された前記画像の情報と取得された前記画像もしくは目標として参照される一の画像の情報とを用いて評価指標を生成し、前記評価指標を表示部に表示させるステップと
を含み、
前記選択を受け付けるステップでは、前記各事例情報につき目標として参照される一の画像を表示させ、目標となる一の画像の指定を受け付け、
前記修整するステップでは、指定された前記一の画像に向けて修整する、画像処理方法。 It is an image processing method executed by an image processing system that modifies an image, and the image processing system performs modification according to the modification reference information referred to for specifying the content of the modification and the content of the modification. Includes a case identification information that can identify a case, and an information storage unit that stores a plurality of case information including
The steps to accept the input of an image and acquire the image,
As a region for modifying the image acquired in the acquisition step, at least one designation of an image space region, an image signal channel region, and an image signal frequency domain is accepted, and at least one designated region is received. Steps to select and
A step of arranging and displaying a plurality of case information stored in the information storage unit on the display unit based on the case identification information included in each of the case information.
A step of accepting the selection of one of the plurality of case information displayed on the display unit, and
Based on the selected case information, the step of modifying the selected area of the image acquired in the acquisition step and the step of modifying the selected area.
The modification performed in the modification step is used as an additional case for the image acquired in the acquisition step, and the case information obtained in the modification is stored in the information storage unit as additional case information. When,
In order to allow the user to evaluate the quality of the image modified in the modification step, the information of the modified image, or the information of the modified image and the acquired image or the target is referred to. Including a step of generating an evaluation index using image information and displaying the evaluation index on a display unit.
In the step of accepting the selection, one image referred to as a target is displayed for each case information, and the designation of one target image is accepted.
In the retouching step, an image processing method for retouching the designated one image.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020001368A JP6958641B2 (en) | 2018-04-23 | 2020-01-08 | Image processing system, image processing method and program |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018082246A JP6675594B2 (en) | 2018-04-23 | 2018-04-23 | Image processing system, image processing method and program |
| JP2020001368A JP6958641B2 (en) | 2018-04-23 | 2020-01-08 | Image processing system, image processing method and program |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2018082246A Division JP6675594B2 (en) | 2018-04-23 | 2018-04-23 | Image processing system, image processing method and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2020064671A JP2020064671A (en) | 2020-04-23 |
| JP6958641B2 true JP6958641B2 (en) | 2021-11-02 |
Family
ID=70387413
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2020001368A Expired - Fee Related JP6958641B2 (en) | 2018-04-23 | 2020-01-08 | Image processing system, image processing method and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6958641B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6949072B2 (en) * | 2019-03-27 | 2021-10-13 | 本田技研工業株式会社 | Car body structure |
-
2020
- 2020-01-08 JP JP2020001368A patent/JP6958641B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2020064671A (en) | 2020-04-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4285290B2 (en) | Image processing apparatus, image processing method, and program | |
| JP3991196B2 (en) | Image processing system and image processing server | |
| CN103763475B (en) | A kind of photographic method and device | |
| JP5288961B2 (en) | Image processing apparatus and image processing method | |
| JP5163392B2 (en) | Image processing apparatus and program | |
| JP2015011585A (en) | Image processing apparatus, image forming apparatus, image forming system, image processing method, and program | |
| JP6337430B2 (en) | Image processing system, image processing method, and program | |
| US20030184812A1 (en) | Image processing apparatus and method | |
| JP2008244997A (en) | Image processing system | |
| JP6958641B2 (en) | Image processing system, image processing method and program | |
| JP6675594B2 (en) | Image processing system, image processing method and program | |
| JP2008244996A (en) | Image processing system | |
| JP4168610B2 (en) | Device for generating image file with processing control data | |
| CN100536549C (en) | Apparatus, method and program for information processing | |
| JP2019032654A (en) | Image processing apparatus, image processing method, and computer program | |
| JP2006180160A (en) | Image processing apparatus and image processing program | |
| US20060227348A1 (en) | Information processing method and apparatus | |
| JP2007036592A (en) | Image processing device | |
| JP2007096904A (en) | Print order receiving apparatus and method, and index image creating apparatus and method | |
| JP7340973B2 (en) | Image processing device and its control method and program | |
| CN111164961A (en) | Image processing system and image processing method of intelligent terminal | |
| US10757277B2 (en) | Image forming apparatus and electronic device for displaying sample image subjected to picture quality adjustment, and image forming system including image forming apparatus and electronic apparatus | |
| US20060050954A1 (en) | Image processing method, computer program product, and image processing apparatus | |
| JP4687325B2 (en) | Image processing method, image processing apparatus, and program | |
| JPH1169179A (en) | Image information recording medium, method and system reproducing image recorded on recording medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200207 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210308 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210323 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210520 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210622 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210712 |
|
| 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: 20210907 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210920 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 6958641 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
| LAPS | Cancellation because of no payment of annual fees |