JP2022114876A - Image processing device, image processing system and image processing program - Google Patents

Image processing device, image processing system and image processing program Download PDF

Info

Publication number
JP2022114876A
JP2022114876A JP2021011337A JP2021011337A JP2022114876A JP 2022114876 A JP2022114876 A JP 2022114876A JP 2021011337 A JP2021011337 A JP 2021011337A JP 2021011337 A JP2021011337 A JP 2021011337A JP 2022114876 A JP2022114876 A JP 2022114876A
Authority
JP
Japan
Prior art keywords
image
color
degree
adjustment
image processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2021011337A
Other languages
Japanese (ja)
Inventor
宏子 大貫
Hiroko Onuki
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fujifilm Business Innovation 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 Fujifilm Business Innovation Corp filed Critical Fujifilm Business Innovation Corp
Priority to JP2021011337A priority Critical patent/JP2022114876A/en
Publication of JP2022114876A publication Critical patent/JP2022114876A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

To provide an image processing device, an image processing system and an image processing program capable of changing the reflection level of the impression of a coloration image so as to correspond to a natural language when the impression of the coloration image is reflected on a subjected image.SOLUTION: A CPU of an image processing device executes processing as: an impression adjustment level determination unit 18 which accepts an adverb representing an impression level when a coloration reproduction image obtained by reflecting the coloration of a coloration image on the coloration of a subjected image is generated, and which determines an adjustment level of the impression corresponding to the adverb representing the accepted impression level; and a coloration transfer level adjustment unit 20 that adjusts a coloration transfer level on the basis of the impression adjustment level to generate a coloration level adjustment reproduction image.SELECTED DRAWING: Figure 3

Description

本発明は、画像処理装置、画像処理システム、及び画像処理プログラムに関する。 The present invention relates to an image processing device, an image processing system, and an image processing program.

画像コンテンツの配色は、購買意欲の喚起や、ものの売れ行きへ影響する。そのため、例えば、Webデザインやパッケージデザインをはじめ、チラシ、または商品の現物などで、色をどのように組み合わせるかは重要な課題となる。近年、このようなニーズに応えるために、画像コンテンツで使用している配色を分析し、定量化するサービスなども増えており、このようなサービスを活用することで、例えば、売れるデザインを分析したときの画像の色のヒストグラムや、色相・彩度の分布などを分析する試みがなされている。 The color scheme of the image content arouses the willingness to buy and influences the sales of products. Therefore, for example, how to combine colors in Web design, package design, leaflets, and actual products is an important issue. In recent years, in order to meet such needs, services that analyze and quantify color schemes used in image content have increased. Attempts have been made to analyze color histograms and distributions of hue/saturation of images.

特許文献1には、モデル画像データ、モデル画像データについての複数個の配色領域データ、及び各配色領域データの各代表色データを格納したモデル画像データベースと、モデル画像データを表示するモデル画像表示部と、各代表色データが貼り付けられた所定の色立体を表示する色立体表示部と、感性語によって各代表色データを変更させる指示をする指示部と、変更指示に従ってモデル画像表示部の表示を変更するとともに、色立体表示部の各代表色データの表示を変更させる制御部とを備える配色シミュレーションシステムが開示されている。 Patent Document 1 discloses a model image database storing model image data, a plurality of coloration area data for the model image data, and each representative color data of each coloration area data, and a model image display unit for displaying the model image data. , a color solid display section for displaying a predetermined color solid to which each representative color data is pasted, an instruction section for instructing to change each representative color data by a sensitivity word, and display on the model image display section according to the change instruction. and a control section for changing the display of each representative color data of the color stereoscopic display section.

特許文献2には、取得された画像上の配色の分布を解析し、色の定義に関する情報を具備する色特性データベースを設け、解析した配色について、色差を解析することによって、上記解析した配色を配色タイプに分類し、上記色差を解析するための情報を具備する色差解析情報データベースを設け、上記分類した配色タイプに応じて、色差を変更することによって、上記取得された画像上の配色を変換し、上記色差の変更に関する規則を具備する変換規則データベースを設け、配色が変換された結果を出力する配色変換装置が開示されている。 In Patent Document 2, the distribution of color schemes on an acquired image is analyzed, a color characteristic database having information on the definition of colors is provided, and color differences are analyzed for the analyzed color schemes to obtain the above-analyzed color schemes. A color difference analysis information database having information for classifying the color scheme type and analyzing the color difference is provided, and the color scheme on the obtained image is converted by changing the color difference according to the classified color scheme type. A color scheme conversion apparatus is disclosed which provides a conversion rule database having rules for changing the color difference and outputs the result of color scheme conversion.

特開2011-248641号公報JP 2011-248641 A 特開2011-86092号公報JP 2011-86092 A

本発明は、被処理画像に対して色見本の印象を反映する場合に、色見本の印象の反映度合いを自然言語に対応させて変更可能な画像処理装置、画像処理システム、及び画像処理プログラムを提供することを目的とする。 The present invention provides an image processing device, an image processing system, and an image processing program that can change the degree of reflection of the impression of the color sample in correspondence with natural language when the impression of the color sample is reflected in the image to be processed. intended to provide

上記目的を達成するために、第1態様に係る画像処理装置は、プロセッサを備え、前記プロセッサは、被処理画像の色分布と、前記被処理画像と異なる色見本の色分布との関係を用いて、前記被処理画像の色を変更する際に、予め定めた副詞表現で示す色の調整度合いを受け付け、受け付けた前記調整度合いに従って前記被処理画像の色の変更度合いを調整する処理を行う。 In order to achieve the above object, an image processing apparatus according to a first aspect includes a processor, and the processor uses the relationship between the color distribution of an image to be processed and the color distribution of a color sample different from the image to be processed. When changing the color of the image to be processed, a color adjustment degree indicated by a predetermined adverb expression is received, and the color change degree of the image to be processed is adjusted according to the received adjustment degree.

また、第2態様に係る画像処理装置は、第1態様に係る画像処理装置において、前記プロセッサは、前記被処理画像と前記色見本と前記調整度合いを選択するための選択用画像とを表示部に表示する処理を更に行い、ユーザが選択した前記色見本及び前記選択用画像を用いて、前記処理を行う。 Further, the image processing apparatus according to a second aspect is the image processing apparatus according to the first aspect, wherein the processor displays the image to be processed, the color sample, and the selection image for selecting the degree of adjustment on a display unit. , and the processing is performed using the color sample and the selection image selected by the user.

また、第3態様に係る画像処理装置は、第2態様に係る画像処理装置において、前記プロセッサは、それぞれ調整度合いが異なる複数の副詞表現を組み合わせた複数の副詞表現パターンの中から、利用する前記副詞表現パターンを受け付け、受け付けた前記副詞表現パターンに対応する前記選択用画像を前記表示部に表示する。 Further, the image processing apparatus according to a third aspect is the image processing apparatus according to the second aspect, wherein the processor selects the adverbial expression patterns to be used from among a plurality of adverbial expression patterns each having a different degree of adjustment. An adverb expression pattern is received, and the selection image corresponding to the received adverb expression pattern is displayed on the display unit.

また、第4態様に係る画像処理装置は、第2態様又は第3態様に係る画像処理装置において、前記選択用画像は、予め定めた複数種類の前記副詞表現が配置され、何れかの前記副詞表現を選択可能な画像である。 Further, the image processing apparatus according to a fourth aspect is the image processing apparatus according to the second aspect or the third aspect, wherein the selection image includes a plurality of predetermined types of adverb expressions, and any of the adverb expressions is arranged. It is an image for which expression can be selected.

また、第5態様に係る画像処理装置は、第1態様~第4態様の何れか1の態様に係る画像処理装置において、前記プロセッサは、前記副詞表現に対応した印象の調整度合いは、前記被処理画像と前記色見本の類似度に応じて変化させる。 Further, the image processing device according to a fifth aspect is the image processing device according to any one of the first to fourth aspects, wherein the processor adjusts the impression adjustment degree corresponding to the adverb expression to the subject It is changed according to the degree of similarity between the processed image and the color sample.

また、第6態様に係る画像処理装置は、第1態様~第5態様の何れか1の態様に係る画像処理装置において、前記プロセッサは、受け付けた前記調整度合いを反映する領域をさらに受け付けて、受け付けた領域に対して、前記調整度合いに従って前記被処理画像の色の変更度合いを調整する。 Further, an image processing apparatus according to a sixth aspect is the image processing apparatus according to any one of the first to fifth aspects, wherein the processor further receives an area reflecting the received adjustment degree, Adjusting the degree of color change of the image to be processed for the accepted area according to the degree of adjustment.

また、第7態様に係る画像処理装置は、第1態様~第6態様の何れか1の態様に係る画像処理装置において、前記プロセッサは、複数種類の前記副詞表現に対応する調整が行われた画像を表示する処理を更に行う。 Further, an image processing device according to a seventh aspect is the image processing device according to any one of the first to sixth aspects, wherein the processor is adjusted to correspond to a plurality of types of adverbial expressions. Further processing is performed to display the image.

また、第8態様に係る画像処理装置は、第7態様に係る画像処理装置において、前記プロセッサは、調整が行われた画像をそれぞれ表示する際に、調整が行われた画像を縮小して同時に表示する。 Further, the image processing apparatus according to an eighth aspect is the image processing apparatus according to the seventh aspect, wherein when displaying each adjusted image, the processor reduces the adjusted image and at the same time indicate.

また、第9態様に係る画像処理装置は、第7態様又は第8態様に係る画像処理装置において、前記プロセッサは、複数種類の前記副詞表現を受け付けて、受け付けた複数種類の前記副詞表現に対応する調整が行われた画像を表示する。 Further, the image processing device according to the ninth aspect is the image processing device according to the seventh aspect or the eighth aspect, wherein the processor receives a plurality of types of adverbial expressions and corresponds to the received plurality of types of adverbial expressions. display the image after the adjustment has been made.

また、第10態様に係る画像処理システムは、第1態様~第9態様の何れか1の態様に係る画像処理装置と、前記被処理画像、前記色見本、及び前記調整度合いを前記画像処理装置に指示するクライアント端末とを含む。 Further, an image processing system according to a tenth aspect includes the image processing apparatus according to any one of the first to ninth aspects, and the image processing apparatus for processing the image to be processed, the color sample, and the degree of adjustment. and a client terminal that directs to.

また、第11態様に係る画像処理プログラムは、コンピュータに、被処理画像の色分布と、前記被処理画像と異なる色見本の色分布との関係を用いて、前記被処理画像の色を変更する際に、予め定めた副詞表現で示す色の調整度合いを受け付け、受け付けた前記調整度合いに従って前記被処理画像の色の変更度合いを調整する処理を実行させる。 Further, the image processing program according to the eleventh aspect causes the computer to change the color of the image to be processed using the relationship between the color distribution of the image to be processed and the color distribution of a color sample different from the image to be processed. In this case, a color adjustment degree indicated by a predetermined adverb expression is received, and a process of adjusting the color change degree of the image to be processed according to the received adjustment degree is executed.

第1態様によれば、被処理画像に対して色見本の印象を反映する場合に、色見本の印象の反映度合いを自然言語に対応させて変更可能な画像処理装置を提供できる。 According to the first aspect, it is possible to provide an image processing apparatus capable of changing the degree of reflection of the impression of the color sample in accordance with natural language when reflecting the impression of the color sample on the image to be processed.

第2態様によれば、視覚的に副詞表現を確認しながら副詞表現で示す色の調整度合いを選択することが可能となる。 According to the second aspect, it is possible to select the adjustment degree of the color indicated by the adverbial expression while visually confirming the adverbial expression.

第3態様によれば、ユーが選択した副詞表現パターンを用いて、色の変更度合いを調整することが可能となる。 According to the third aspect, it is possible to adjust the degree of color change using the adverb expression pattern selected by Yu.

第4態様によれば、複数種類の副詞表現を見ながら副詞表現の選択が可能となる。 According to the fourth aspect, it is possible to select an adverbial expression while viewing a plurality of types of adverbial expressions.

第5態様によれば、被処理画像と見本色の類似度に関係なく、一律同じ印象の調整度合いを用いる場合に比べて、被処理画像と配色画像の配色が近い場合の調整結果を分かり易くすることが可能となる。 According to the fifth aspect, the adjustment result when the coloration of the image to be processed and the coloration image is close to each other is easier to understand than the case where the adjustment degree of the same impression is uniformly used regardless of the similarity between the image to be processed and the color of the sample. It becomes possible to

第6態様によれば、部分的に被処理画像の色の変更度合いを調整することが可能となる。 According to the sixth aspect, it is possible to partially adjust the degree of color change of the image to be processed.

第7態様によれば、1つの副詞表現に対応する調整が行われた画像を表示する場合に比べて、利用者が意図する、被処理画像の色の変更度合いの調整結果を選択し易くなる。 According to the seventh aspect, it becomes easier for the user to select the adjustment result of the degree of change in the color of the image to be processed, which is intended by the user, compared to the case where the image adjusted corresponding to one adverb expression is displayed. .

第8態様によれば、被処理画像の色の変更度合いを調整する際に、大まかな調整結果を確認することが可能となる。 According to the eighth aspect, when adjusting the degree of color change of the image to be processed, it is possible to check the rough adjustment result.

第9態様によれば、全ての副詞表現に対応する調整が行われた画像を表示する場合に比べて、処理負荷を軽減できる。 According to the ninth aspect, it is possible to reduce the processing load compared to the case of displaying images adjusted to correspond to all adverb expressions.

第10態様によれば、被処理画像に対して色見本の印象を反映する場合に、色見本の印象の反映度合いを自然言語に対応させて変更可能な画像処理システムを提供できる。 According to the tenth aspect, it is possible to provide an image processing system that can change the degree of reflection of the impression of the color sample in accordance with natural language when the impression of the color sample is reflected in the image to be processed.

第11態様によれば、被処理画像に対して色見本の印象を反映する場合に、色見本の印象の反映度合いを自然言語に対応させて変更可能な画像処理プログラムを提供できる。 According to the eleventh aspect, it is possible to provide an image processing program capable of changing the degree of reflection of the impression of the color sample in accordance with natural language when the impression of the color sample is reflected in the image to be processed.

本実施形態に係る画像処理装置の構成例を示す図である。1 is a diagram illustrating a configuration example of an image processing apparatus according to an embodiment; FIG. 本実施形態に係る画像処理装置の電気系の要部構成を示すブロック図である。2 is a block diagram showing the main configuration of the electrical system of the image processing apparatus according to the embodiment; FIG. 第1実施形態に係る画像処理装置の機能構成を示す機能ブロック図である。2 is a functional block diagram showing the functional configuration of the image processing apparatus according to the first embodiment; FIG. 対象画像の一例を示す図である。It is a figure which shows an example of a target image. 配色画像の一例を示す図である。It is a figure which shows an example of a color scheme image. 副詞に対応した印象の調整度合いを決定するインタフェースの一例を示す図である。FIG. 10 is a diagram showing an example of an interface for determining the degree of impression adjustment corresponding to an adverb; 配色再現画像に対して印象の調整度合いがやや強めの配色転写を行った例を説明するための図である。FIG. 11 is a diagram for explaining an example in which color scheme transfer is performed with a slightly stronger impression adjustment degree for a color scheme reproduction image; 対象画像に対して印象の調整度合いが弱い配色転写を行った例を説明するための図である。FIG. 10 is a diagram for explaining an example in which color scheme transfer with a weak adjustment degree of impression is performed on a target image; 「わずかに」、「やや」、「なかなか」、「かなり」に対応する印象の調整度合いαを設定した一例を示す図である。FIG. 10 is a diagram showing an example of setting the impression adjustment degree α corresponding to “slightly”, “slightly”, “fairly”, and “considerably”. 「若干」、「少し」、「わりあい」、「そうとう」に対応する印象の調整度合いαを設定した一例を示す図である。FIG. 10 is a diagram showing an example of setting an impression adjustment degree α corresponding to “slightly”, “slightly”, “relatively”, and “slightly”. 第1実施形態に係る画像処理装置で行われる処理の流れの一例を示すフローチャートである。4 is a flow chart showing an example of the flow of processing performed by the image processing apparatus according to the first embodiment; 類似度が高ければ調整する調整度合いαを大きくし、類似度が低ければ調整度合いαを小さくする例を示す図である。FIG. 10 is a diagram showing an example in which the degree of adjustment α is increased when the degree of similarity is high, and the degree of adjustment α is decreased when the degree of similarity is low; Kとして適用する、類似度が高いほど大きくなるような関数の一例を示す図である。FIG. 10 is a diagram showing an example of a function applied as K that increases as the degree of similarity increases. 第2実施形態に係る画像処理装置で行われる処理の流れの一例を示すフローチャートである。9 is a flow chart showing an example of the flow of processing performed by the image processing apparatus according to the second embodiment; 第3実施形態に係る画像処理装置の機能構成を示す機能ブロック図である。FIG. 11 is a functional block diagram showing the functional configuration of an image processing apparatus according to a third embodiment; FIG. グラスだけ副詞の度合いを変える場合を説明するための図である。FIG. 10 is a diagram for explaining a case where only the glass changes the degree of adverbs; 本実施形態に係る画像処理システムの概略構成を示す図である。1 is a diagram showing a schematic configuration of an image processing system according to this embodiment; FIG. 配色画像として撮影画像を適用した例を示す図である。It is a figure which shows the example which applied the picked-up image as a coloration image. 複数種類の副詞に対応する印象の調整が行われた画像を表示する一例を示す図である。FIG. 10 is a diagram showing an example of displaying an image in which impressions corresponding to a plurality of types of adverbs are adjusted;

以下、図面を参照して本発明の実施の形態の一例を詳細に説明する。図1は、本実施形態に係る画像処理装置の構成例を示す図である。 An example of an embodiment of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a diagram showing a configuration example of an image processing apparatus according to this embodiment.

本実施形態に係る画像処理装置10は、表示部10F、及びキーボードやマウス等の操作部10Eを備えた所謂汎用のパーソナルコンピュータ(PC)とされている。画像処理装置10は、表示部10Fに表示される画像を表す画像情報に対して画像処理を行う。 The image processing apparatus 10 according to this embodiment is a so-called general-purpose personal computer (PC) including a display section 10F and an operation section 10E such as a keyboard and a mouse. The image processing device 10 performs image processing on image information representing an image displayed on the display unit 10F.

図2は、本実施形態に係る画像処理装置10の電気系の要部構成を示すブロック図である。 FIG. 2 is a block diagram showing the essential configuration of the electrical system of the image processing apparatus 10 according to this embodiment.

画像処理装置10は、プロセッサの一例としてのCPU(Central Processing Unit)10A、ROM(Read Only Memory)10B、RAM(Random Access Memory)10C、ストレージ10D、操作部10E、表示部10F、及び通信I/F(インタフェース)部10Gを備えている。CPU10Aは、画像処理装置10の全体の動作を司る。ROM10Bは、各種制御プログラムや各種パラメータ等が予め記憶される。RAM10Cは、CPU10Aによる各種プログラムの実行時のワークエリア等として用いられる。ストレージ10Dは、各種のデータやアプリケーション・プログラム等が記憶される。操作部10Eは各種の情報を入力するために用いられる。表示部10Fは、各種の情報を表示するために用いられる。通信I/F部10Gは、外部の機器に接続可能とされ、外部の機器と各種データの送受信を行う。以上の画像処理装置10の各部はシステムバス10Hにより電気的に相互に接続されている。なお、本実施の形態に係る画像処理装置10では、ストレージ10Dを記憶部として適用しているが、これに限らず、ハードディスクやフラッシュメモリ等の他の不揮発性の記憶部を適用してもよい。 The image processing apparatus 10 includes a CPU (Central Processing Unit) 10A as an example of a processor, a ROM (Read Only Memory) 10B, a RAM (Random Access Memory) 10C, a storage 10D, an operation section 10E, a display section 10F, and a communication I/ It has an F (interface) section 10G. The CPU 10A controls the overall operation of the image processing apparatus 10. FIG. Various control programs, various parameters, and the like are stored in advance in the ROM 10B. The RAM 10C is used as a work area or the like when various programs are executed by the CPU 10A. The storage 10D stores various data, application programs, and the like. The operation unit 10E is used to input various information. The display unit 10F is used to display various information. The communication I/F unit 10G can be connected to an external device, and transmits and receives various data to and from the external device. Each part of the image processing apparatus 10 described above is electrically connected to each other by a system bus 10H. In the image processing apparatus 10 according to the present embodiment, the storage 10D is applied as a storage unit, but the storage unit is not limited to this, and other non-volatile storage units such as a hard disk and flash memory may be applied. .

以上の構成により、本実施の形態に係る画像処理装置10は、CPU10Aにより、ROM10B、RAM10C、及びストレージ10Dに対するアクセス、操作部10Eを介した各種データの取得、表示部10Fに対する各種情報の表示を各々実行する。また、画像処理装置10は、CPU10Aにより、通信I/F部10Gを介した各種データの送受信の制御を実行する。 With the above configuration, the image processing apparatus 10 according to the present embodiment uses the CPU 10A to access the ROM 10B, the RAM 10C, and the storage 10D, acquire various data via the operation unit 10E, and display various information on the display unit 10F. Execute each. Further, the image processing apparatus 10 controls transmission and reception of various data via the communication I/F section 10G by the CPU 10A.

(第1実施形態)
本実施形態に係る画像処理装置10は、色調整の目標となる配色画像が予め用意され、ユーザがこの配色画像を選択すると、この配色画像の配色を対象画像の配色に反映する処理を行う。また、対象画像の配色に配色画像の配色を反映する際に、予め定めた副詞表現で示す色の調整度合いを受け付けて、受け付けた調整度合いに従って対象画像の色の変更度合いを調整する処理を行う。なお、本実施形態では、色調整の目標となる色見本の画像を配色画像、色調整を行う被処理画像を対象画像、配色画像の配色が対象画像の配色に反映された画像を配色再現画像、配色画像の配色を対象画像の配色に反映する際の配色の印象を調整した画像を配色度合い調整再現画像と称するものとする。また、副詞表現としては、副詞句表現を含むものとする。また、以下では、副詞表現を単に副詞と略して称する場合がある。
(First embodiment)
The image processing apparatus 10 according to the present embodiment prepares a coloration image as a target of color adjustment in advance, and when the user selects the coloration image, performs processing to reflect the coloration of the coloration image to the coloration of the target image. Further, when the color scheme of the color scheme image is reflected in the color scheme of the target image, a process of accepting a color adjustment degree indicated by a predetermined adverb expression and adjusting the degree of change of the color of the target image according to the accepted adjustment degree is performed. . Note that in this embodiment, the image of the color sample that is the target of color adjustment is the coloration image, the image to be processed for color adjustment is the target image, and the image in which the coloration of the coloration image is reflected in the coloration of the target image is the coloration reproduction image. , the image obtained by adjusting the impression of the coloration when the coloration of the coloration image is reflected in the coloration of the target image is referred to as a coloration degree adjustment reproduction image. In addition, the adverbial expression includes an adverbial phrase expression. Also, hereinafter, adverb expressions may be simply referred to as adverbs for short.

ここで、画像処理装置10のCPU10AがROM10Bに記憶されたプログラムを実行することにより実現される機能構成について説明する。図3は、本実施形態に係る画像処理装置10の機能構成を示す機能ブロック図である。 Here, a functional configuration realized by executing a program stored in the ROM 10B by the CPU 10A of the image processing apparatus 10 will be described. FIG. 3 is a functional block diagram showing the functional configuration of the image processing apparatus 10 according to this embodiment.

本実施形態に係る画像処理装置10は、対象色分布解析部12、目標色分布解析部14、配色転写部16、印象調整度合い決定部18、及び配色転写度合い調整部20の機能を有する。 The image processing apparatus 10 according to this embodiment has functions of a target color distribution analysis unit 12 , a target color distribution analysis unit 14 , a coloration transfer unit 16 , an impression adjustment degree determination unit 18 , and a coloration transfer degree adjustment unit 20 .

対象色分布解析部12は、配色を変える対象となる対象画像の色分布を表す情報を算出する。例えば、対象色分布解析部12は、画像を構成する色成分毎の平均値や分散、標準偏差、ヒストグラムなどの情報を算出する。また、その他、色分布の特性を表すものであれば、いかなるものでもよい。 The target color distribution analysis unit 12 calculates information representing the color distribution of the target image whose color arrangement is to be changed. For example, the target color distribution analysis unit 12 calculates information such as an average value, a variance, a standard deviation, a histogram, etc. for each color component forming an image. In addition, any other information may be used as long as it represents the characteristics of the color distribution.

また、目標色分布解析部14は、対象画像の配色を変えるにあたり、目標となる配色画像の色分布を表す情報を算出する。例えば、目標色分布解析部14は、対象色分布解析部12と同様に、画像を構成する色成分毎の平均値や分散、標準偏差、ヒストグラムなどの情報を算出する。また、その他、色分布の特性を表すものであれば、いかなるものでもよい。 In addition, the target color distribution analysis unit 14 calculates information representing the color distribution of the target color scheme image when changing the color scheme of the target image. For example, similarly to the target color distribution analysis unit 12, the target color distribution analysis unit 14 calculates information such as average values, variances, standard deviations, and histograms for each color component forming the image. In addition, any other information may be used as long as it represents the characteristics of the color distribution.

配色転写部16は、対象色分布解析部12及び目標色分布解析部14の各々の解析結果に基づいて、配色画像の配色を対象画像の配色に反映した配色再現画像を生成する。 The coloration transfer unit 16 generates a coloration reproduction image in which the coloration of the coloration image is reflected in the coloration of the target image based on the analysis results of the target color distribution analysis unit 12 and the target color distribution analysis unit 14 .

ここで、対象画像は、例えば、図4で示すようなカラー画像であるものとする。図4は、対象画像の一例を示す図である。図4の対象画像は、グラスと瓶が載置されたトレイがテーブルに置かれている例を示す。この対象画像の配色を変えるにあたり、目標となる配色情報が必要となるが、本実施形態では例えば、図5に示すように、人が直感的に理解しやすい配色バーや配色ブロックなどを配色画像として用いる例を一例として説明する。図5の配色画像の例では、複数(図5では3つ)の見本色を一方向に向かい順に並べたものを示す。また、図5の配色画像の例では、配色パターン1~3の3種類を示す。 Here, it is assumed that the target image is, for example, a color image as shown in FIG. FIG. 4 is a diagram showing an example of a target image. The target image in FIG. 4 shows an example in which a tray on which glasses and bottles are placed is placed on a table. In order to change the color scheme of the target image, target color scheme information is required. In this embodiment, for example, as shown in FIG. An example of using as is explained as an example. The example of the color scheme image in FIG. 5 shows a plurality (three in FIG. 5) of sample colors arranged in order facing one direction. Also, in the example of the color arrangement image in FIG. 5, three types of color arrangement patterns 1 to 3 are shown.

目標となる配色画像の印象を、対象画像に転写する基本原理としては、以下の参考文献がある。当該参考文献の原理によれば、各々の色分布を基に、配色画像の印象を対象画像に転写され、知覚的に感じる印象の一致が得られる。このときの色成分はRGB以外でも、何を用いてもよく、例えば、人の知覚を基に考案された色空間であるLαβを用いることが多い。 The following references are available for the basic principle of transferring the impression of the target color scheme image to the target image. According to the principle of the reference, the impression of the color scheme image is transferred to the target image based on the respective color distributions to obtain a match of perceptual impressions. At this time, any color component other than RGB may be used, and for example, Lαβ, which is a color space devised based on human perception, is often used.

(参考文献)
引例3:Reubhard, E., Ashikhmin, M., Gooch, B., And Shirley, P. 2001. Color transfer between images. IEEE Computer Graphics and Appications 21, 34-41
(References)
Reference 3: Reubhard, E., Ashikhmin, M., Gooch, B., And Shirley, P. 2001. Color transfer between images. IEEE Computer Graphics and Applications 21, 34-41

ここでは画像をRGBからLαβへ変換したものとして説明をするが、色度成分と輝度成分に分離できる色空間での色度データであれば、これに限られるものではない。例えば、Lαβデータの代わりにCIEL*a*b*データ、IPTデータ、CAMO2データ、HSVデータ等に変換してもよい。 Here, the description will be made assuming that the image is converted from RGB to Lαβ, but the chromaticity data is not limited to this as long as it is chromaticity data in a color space that can be separated into chromaticity components and luminance components. For example, the Lαβ data may be converted into CIEL*a*b* data, IPT data, CAMO2 data, HSV data, or the like.

対象画像の1つの画素値を(Ls,αs,βs)として、配色変換後の画素が、(L0,α0,β0)になっているものとする。図5のような配色画像も画像とみなせるため、RGBからLαβへ変換するものとして、このときの配色画像の1つの画素値を(Lt,αt,βt)とする。 Assume that one pixel value of the target image is (L s , α s , β s ), and the pixel after coloration conversion is (L 0 , α 0 , β 0 ). Since the colored image as shown in FIG. 5 can also be regarded as an image, one pixel value of the colored image at this time is assumed to be (L t , α t , β t ) for conversion from RGB to Lαβ.

対象画像と配色画像のLαβの画素平均を以下のようにそれぞれ算出し、それぞれの色分布の広がりを表す標準偏差を以下のように算出する。 The pixel averages of Lαβ of the target image and the color scheme image are calculated as follows, and the standard deviation representing the spread of each color distribution is calculated as follows.

Figure 2022114876000002
Figure 2022114876000002

Figure 2022114876000003
Figure 2022114876000003

これにより、配色変換後の対象画像の画素 は、以下の式により表すことができる。 Accordingly, the pixels of the target image after color scheme conversion can be represented by the following equation.

Figure 2022114876000004
Figure 2022114876000004

Figure 2022114876000005
Figure 2022114876000005

Figure 2022114876000006
Figure 2022114876000006

当然ながら、配色画像は、配色の組み合わせ情報だけ与えてもよく、その場合は3色のバーであれば例えば、RGB=(0,50,100)、(50,50,200)、(200,100,0)などの情報を与えて配色画像を生成、または、配色画像があるものとして上記の計算式に当てはめてもよい。 Of course, the color scheme image may be provided only with color combination information. In that case, if it is a bar of three colors, for example, 100, 0) may be given to generate a coloration image, or the above calculation formula may be applied assuming that there is a coloration image.

印象調整度合い決定部18は、予め定めた副詞表現として、印象の度合いを表す副詞を指定することによって、それぞれの副詞に対応した印象の調整度合いを決定する。すなわち、印象調整度合い決定部18は、対象画像の配色を配色画像の配色に反映する際の度合いを決定する。副詞は、例えば、図6に示すように、プルダウンメニューや、ラジオボタン、スライドバーなどいろいろなパターンの選択用画像を表示して副詞を選択するユーザインタフェースで設定する。これらのユーザインタフェースへの操作を受け付けることで、印象の強度の増減を可能とされ、対象画像の配色を配色画像の配色に調整する調整量として変化させる情報である調整度合いαが決まる。 The impression adjustment degree determination unit 18 determines the impression adjustment degree corresponding to each adverb by designating an adverb representing the degree of impression as a predetermined adverb expression. That is, the impression adjustment degree determining unit 18 determines the degree of reflecting the coloration of the target image on the coloration of the coloration image. Adverbs are set by a user interface that displays various patterns of selection images such as pull-down menus, radio buttons, and slide bars to select adverbs, as shown in FIG. By accepting these user interface operations, it is possible to increase or decrease the intensity of the impression, and the adjustment degree α, which is information for changing the color arrangement of the target image to the color arrangement of the color arrangement image, is determined.

配色転写度合い調整部20では、印象調整度合い決定部18で決定した調整度合いαと配色再現画像と対象画像とを使って、印象の調整度合いを反映した配色度合い調整再現画像を生成する。 A coloration transfer degree adjustment unit 20 generates a coloration degree adjustment reproduction image reflecting the impression adjustment degree using the adjustment degree α determined by the impression adjustment degree determination unit 18, the coloration reproduction image, and the target image.

ここでは、以下の式に示すように、対象画像に配色再現画像を加えて生成したものとして説明する。印象の調整度合いαは選択した副詞に従って算出する。調整度合いαは官能評価で使う平均嗜好尺度に従うものとする。 Here, as shown in the following formula, it is assumed that the image is generated by adding the color reproduction image to the target image. The impression adjustment degree α is calculated according to the selected adverb. The degree of adjustment α shall follow the average preference scale used in the sensory evaluation.

Figure 2022114876000007
Figure 2022114876000007

例えば、図7は印象の度合いを決定するひとつの形態である。図6に示すプルダウンメニュー、ラジオボタン、またはスライドバーを使用して印象の強度を調整する例を説明する。例えば、図6のスライドバーに示すように、「わりと」を選択すると、指定した副詞に対応した値αが返される。この時、αは指定した副詞である「わりと」に対応し、配色制限画像に対してやや強めの印象の調整度合いを乗じた配色転写を行い、図7に示すように、配色度合い調整再現画像を生成する。また、図6に示すスライドバーにおいて「すこし」を選択すると、副詞「すこし」に対応した印象の調整度合いαが返され、図8に示すように、対象画像に対して印象の調整度合いの弱い配色転写を行い、配色度合い調整再現画像を生成する。このように指定する副詞の印象の調整度合いが弱いと対象画像に近いイメージになり、強いと配色画像に近いイメージの画像が生成される。なお、図6のスライドバー、図7、8の対象画像、配色画像、配色再現画像、及び配色度合い再現画像を1画面に表示する形態としてもよい。 For example, FIG. 7 is one form of determining the degree of impression. An example of adjusting the impression intensity using the pull-down menu, radio buttons, or slide bar shown in FIG. 6 will be described. For example, as shown in the slide bar of FIG. 6, selecting "warito" returns the value α corresponding to the specified adverb. At this time, α corresponds to the specified adverb "warito", and the color scheme transfer is performed by multiplying the color scheme limited image by the adjustment degree of a slightly strong impression, and as shown in FIG. 7, the color scheme degree adjustment reproduction Generate an image. Further, when "slightly" is selected on the slide bar shown in FIG. 6, the impression adjustment degree α corresponding to the adverb "slightly" is returned, and as shown in FIG. Coloration transfer is performed to generate a coloration degree-adjusted reproduction image. If the degree of adjustment of the impression of the adverb specified in this way is weak, an image close to the target image will be generated, and if it is strong, an image close to the color scheme image will be generated. Note that the slide bar in FIG. 6, the target image in FIGS. 7 and 8, the coloration image, the coloration reproduction image, and the coloration degree reproduction image may be displayed on one screen.

ここで、印象を決定する強度は、スケールで使用する副詞に応じて決定することとし、副詞と尺度は官能検査ハンドブックに準じるものとしてもよい。図9、10に用語による印象強度の違いの一例を示す。図9の例では、「わずかに」、「やや」、「なかなか」、「かなり」に対応する印象の調整度合いαを設定した一例を示し、図10は、「若干」、「少し」、「わりあい」、「そうとう」に対応する印象の調整度合いαを設定した一例を示す。 Here, the intensity that determines the impression is determined according to the adverbs used in the scale, and the adverbs and scales may conform to the sensory test handbook. 9 and 10 show an example of the difference in impression strength depending on terms. The example of FIG. 9 shows an example of setting the impression adjustment degree α corresponding to “slightly”, “slightly”, “fairly”, and “remarkably”, and FIG. An example of setting the impression adjustment degree α corresponding to "relatively" and "somewhat" is shown.

なお、図9、10に示すように、それぞれ調整度合いαが異なる副詞表現パターンを複数用意しておき、使用する副詞表現パターンの選択をユーザが受け付ける形態としてもよい。 As shown in FIGS. 9 and 10, a plurality of adverbial expression patterns having different degrees of adjustment α may be prepared, and the user may select an adverbial expression pattern to be used.

続いて、上述のように構成された本実施形態に係る画像処理装置10で行われる具体的な処理について説明する。図11は、本実施形態に係る画像処理装置10で行われる処理の流れの一例を示すフローチャートである。なお、図11の処理は、例えば、ユーザによって操作部10Eが操作されて開始が指示された場合に開始する。 Next, specific processing performed by the image processing apparatus 10 according to this embodiment configured as described above will be described. FIG. 11 is a flowchart showing an example of the flow of processing performed by the image processing apparatus 10 according to this embodiment. Note that the processing in FIG. 11 is started, for example, when the user operates the operation unit 10E to instruct the start.

ステップ100では、CPU10Aが、配色を変える対象となる対象画像を取得してステップ102へ移行する。すなわち、対象色分布解析部12が、対象画像を取得する。対象画像の取得は、ユーザが指定した画像を対象画像として取得する。 At step 100, the CPU 10A obtains a target image whose color scheme is to be changed, and proceeds to step 102. FIG. That is, the target color distribution analysis unit 12 acquires the target image. Acquisition of the target image acquires the image specified by the user as the target image.

ステップ102では、CPU10Aが、対象画像の色分布を解析してステップ104へ移行する。すなわち、対象色分布解析部12が、対象画像の色分布を表す情報を算出する。例えば、画像を構成する色成分毎の平均値や分散、標準偏差、ヒストグラムなどの情報を対象画像の色分布を表す情報として算出する。 At step 102, the CPU 10A analyzes the color distribution of the target image and proceeds to step 104. FIG. That is, the target color distribution analysis unit 12 calculates information representing the color distribution of the target image. For example, information such as the average value, variance, standard deviation, and histogram for each color component forming the image is calculated as information representing the color distribution of the target image.

ステップ104では、CPU10Aが、対象画像の配色を変える目標となる配色画像を取得してステップ106へ移行する。すなわち、目標色分布解析部14が、配色画像を取得する。配色画像の取得は、例えば、複数種類の予め定めた配色バーの中からユーザが選択したものを取得する。 At step 104, the CPU 10A obtains a target coloration image for changing the coloration of the target image, and proceeds to step 106. FIG. That is, the target color distribution analysis unit 14 acquires the color scheme image. Acquisition of the color arrangement image acquires, for example, one selected by the user from among a plurality of types of predetermined color arrangement bars.

ステップ106では、CPU10Aが、配色画像の色分布を解析してステップ108へ移行する。すなわち、目標色分布解析部14が、配色画像の色分布を表す情報を算出する。例えば、対象色分布解析部12と同様に、画像を構成する色成分毎の平均値や分散、標準偏差、ヒストグラムなどの情報を算出する。 At step 106, the CPU 10A analyzes the color distribution of the color scheme image and proceeds to step 108. FIG. That is, the target color distribution analysis unit 14 calculates information representing the color distribution of the color scheme image. For example, similarly to the target color distribution analysis unit 12, information such as the average value, variance, standard deviation, histogram, etc. for each color component forming the image is calculated.

なお、ステップ100~106の処理順は、これに限定されるものではなく、画像の取得と解析が可能となる順であればよい。例えば、ステップ104、ステップ106、ステップ100、ステップ102の順に処理を行ってもよい。或いは、ステップ100、ステップ104、ステップ102、ステップ106の順に行ってもよい。或いは、ステップ104、ステップ100、ステップ106、ステップ102の順に行ってもよい。 Note that the processing order of steps 100 to 106 is not limited to this, and may be any order that enables image acquisition and analysis. For example, steps 104, 106, 100, and 102 may be processed in this order. Alternatively, steps 100, 104, 102, and 106 may be performed in order. Alternatively, step 104, step 100, step 106, and step 102 may be performed in order.

ステップ108では、CPU10Aが、配色画像の配色を対象画像の配色に反映してステップ110へ移行する。すなわち、 配色転写部16が、対象色分布解析部12及び目標色分布解析部14の各々の解析結果に基づいて、配色画像の配色を対象画像の配色に反映する。 At step 108, the CPU 10A reflects the color scheme of the color scheme image to the color scheme of the target image, and proceeds to step 110. FIG. That is, the coloration transfer unit 16 reflects the coloration of the coloration image to the coloration of the target image based on the analysis results of the target color distribution analysis unit 12 and the target color distribution analysis unit 14 .

ステップ110では、CPU10Aが、印象度合いを表す副詞を受け付けたか否かを判定する。該判定は、印象調整度合い決定部18が、印象の度合いを表す副詞の選択操作を受け付けたか否かを判定する。例えば、図6に示すスライドバー等によって印象強度が選択されたか否かを判定する。該判定が肯定されるまで待機してステップ112へ移行する。 At step 110, the CPU 10A determines whether or not an adverb representing the degree of impression has been accepted. The determination is made by determining whether or not the impression adjustment degree determination unit 18 has received an operation to select an adverb representing the degree of impression. For example, it is determined whether or not the impression strength has been selected using the slide bar or the like shown in FIG. It waits until the determination is affirmative and proceeds to step 112 .

ステップ112では、CPU10Aが、印象調整度合いを決定してステップ114へ移行する。すなわち、印象調整度合い決定部18が、ステップ110で受け付けた印象度合いを表す副詞に対応した印象の調整度合いを決定する。 At step 112, the CPU 10A determines the degree of impression adjustment and proceeds to step 114. FIG. That is, the impression adjustment degree determination unit 18 determines the impression adjustment degree corresponding to the adverb representing the impression degree received in step 110 .

ステップ114では、CPU10Aが、印象の調整度合いに基づいて、配色転写度合いを調整して一連の処理を終了する。すなわち、配色転写度合い調整部20が、印象調整度合い決定部18で決定した調整度合いと配色再現画像と対象画像とを使って、印象の調整度合いを反映した配色度合い調整再現画像を生成する。 At step 114, the CPU 10A adjusts the coloration transfer degree based on the impression adjustment degree, and ends the series of processing. That is, the coloration transfer degree adjustment unit 20 uses the adjustment degree determined by the impression adjustment degree determination unit 18, the coloration reproduction image, and the target image to generate the coloration degree adjustment reproduction image reflecting the impression adjustment degree.

以上の処理により、配色画像の配色が対象画像の配色に反映される。これにより、対象画像の印象を配色画像に基づく印象に変更する色調整が行われる。また、印象の度合いを表す副詞によって印象の調整度合いが調整される。 Through the above processing, the color scheme of the color scheme image is reflected in the color scheme of the target image. Accordingly, color adjustment is performed to change the impression of the target image to the impression based on the color arrangement image. Also, the degree of adjustment of the impression is adjusted by an adverb representing the degree of impression.

(第2実施形態)
続いて、第2実施形態に係る画像処理装置について説明する。本実施形態は、第1実施形態の変形例であり、基本的な構成は第1実施形態と同一であるため差異のみ説明する。
(Second embodiment)
Next, an image processing apparatus according to the second embodiment will be described. This embodiment is a modification of the first embodiment, and since the basic configuration is the same as that of the first embodiment, only the differences will be described.

第1実施形態において、対象画像と配色画像の配色が近い場合には、そもそも配色度合い再現画像の配色があまり変化しない。 In the first embodiment, when the coloration of the target image and the coloration image are close to each other, the coloration of the coloration degree reproduction image does not change much in the first place.

そこで、本実施形態では、印象調整度合い決定部18が、副詞に対応した印象の調整度合いを決定する際に、対象画像と配色画像の類似度に応じて、調整度合いαの値を変化させる。類似度としては、例えば、対象画像と配色画像の平均色差や、明るさの差などを用いる。 Therefore, in the present embodiment, the impression adjustment degree determination unit 18 changes the value of the adjustment degree α according to the similarity between the target image and the color scheme image when determining the impression adjustment degree corresponding to the adverb. As the degree of similarity, for example, the average color difference between the target image and the color scheme image, the difference in brightness, and the like are used.

具体的には、以下の式で示すように、類似度に応じて調整度合いαの値を増減する。 Specifically, the value of the degree of adjustment α is increased or decreased according to the degree of similarity, as shown by the following formula.

Figure 2022114876000008
Figure 2022114876000008

例えば、図12に示すように、類似度が高ければ調整する調整度合いαを大きくし、類似度が低ければ調整度合いαを小さくする。なお、上記数式中のKは、図13に示すように、類似度が高いほど大きくなるような関数で定義すればよい。なお、当該関数は図13に示すような線形関数に限定されるものではなく、非線形の関数としてもよい。 For example, as shown in FIG. 12, if the degree of similarity is high, the degree of adjustment α to be adjusted is increased, and if the degree of similarity is low, the degree of adjustment α is decreased. As shown in FIG. 13, K in the above formula may be defined by a function that increases as the degree of similarity increases. Note that the function is not limited to a linear function as shown in FIG. 13, and may be a nonlinear function.

続いて、本実施形態に係る画像処理装置で行われる具体的な処理について説明する。図14は、本実施形態に係る画像処理装置で行われる処理の流れの一例を示すフローチャートである。なお、図14の処理は、例えば、ユーザによって操作部10Eが操作されて開始が指示された場合に開始する。また、図11と同一処理は省略して差異のみ説明する。 Next, specific processing performed by the image processing apparatus according to this embodiment will be described. FIG. 14 is a flowchart showing an example of the flow of processing performed by the image processing apparatus according to this embodiment. Note that the processing in FIG. 14 is started, for example, when the user operates the operation unit 10E to instruct the start. Also, the same processing as in FIG. 11 will be omitted, and only differences will be described.

すなわち、ステップ110において、印象調整度合い決定部18が、印象の度合いを表す副詞の選択操作を受け付けると、ステップ112Aへ移行する。 That is, in step 110, when the impression adjustment degree determination unit 18 receives an operation of selecting an adverb representing the degree of impression, the process proceeds to step 112A.

ステップ112Aでは、CPU10Aが、対象画像と配色画像の類似度を算出してステップ112Bへ移行する。すなわち、印象調整度合い決定部18が、対象画像と配色画像の類似度を算出する。例えば、対象画像と配色画像の平均色差や、明るさの差などの類似度を算出する。 At step 112A, the CPU 10A calculates the degree of similarity between the target image and the color scheme image, and proceeds to step 112B. That is, the impression adjustment degree determination unit 18 calculates the degree of similarity between the target image and the color scheme image. For example, a similarity such as an average color difference or a difference in brightness between the target image and the color scheme image is calculated.

ステップ112Bでは、CPU10Aが、類似度に応じて印象調整度合いを決定してステップ114へ移行する。すなわち、印象調整度合い決定部18が、ステップ110で受け付けた印象度合いを表す副詞に対応した印象の調整度合いαを算出し、対象画像と配色画像の類似度に応じて、調整度合いαを求める。 At step 112B, the CPU 10A determines the degree of impression adjustment according to the degree of similarity, and proceeds to step 114. FIG. That is, the impression adjustment degree determination unit 18 calculates the impression adjustment degree α corresponding to the adverb representing the impression degree received in step 110, and obtains the adjustment degree α according to the similarity between the target image and the color arrangement image.

これにより、対象画像と配色画像が近い場合でも、配色度合い再現画像の配色変化が分かり易くなる。 As a result, even when the target image and the coloration image are close to each other, it becomes easy to understand the coloration change of the coloration degree reproduction image.

(第3実施形態)
続いて、第3実施形態に係る画像処理装置について説明する。図15は、本実施形態に係る画像処理装置の機能構成を示す機能ブロック図である。
(Third embodiment)
Next, an image processing apparatus according to the third embodiment will be described. FIG. 15 is a functional block diagram showing the functional configuration of the image processing apparatus according to this embodiment.

上記の各実施形態では、対象画像の配色に配色画像の配色を反映する際の調整度合いαを画像の全域に対して一律で反映する例を説明したが、本実施形態では、調整度合いαを反映する領域を指定可能としている。 In each of the above embodiments, an example was described in which the adjustment degree α when the color scheme of the color scheme image is reflected in the color scheme of the target image is uniformly reflected in the entire image. It is possible to specify the area to be reflected.

本実施形態では、第1実施形態に対して、図15に示すように、領域指定部22の機能を更に備えている点のみが異なり、以下では第1実施形態との差異のみを説明する。 As shown in FIG. 15, the present embodiment differs from the first embodiment only in that it further includes the function of an area designation unit 22, and only the differences from the first embodiment will be described below.

領域指定部22は、印象調整度合い決定部18により決定された印象の調整度合いを適用する領域を受け付ける。すなわち、領域指定部22は、画像全体ではなく、強調したい領域をユーザに指定させ、指定された領域を受け付ける。例えば、図16に示すように、グラスだけ副詞の度合いを変える場合、印象度合いを適用する領域としてグラスの領域を受け付ける。 The area specifying unit 22 receives an area to which the impression adjustment degree determined by the impression adjustment degree determining unit 18 is applied. That is, the area specifying unit 22 allows the user to specify an area to be emphasized instead of the entire image, and accepts the specified area. For example, as shown in FIG. 16, when the degree of adverbs is changed only for the glass, the region of the glass is accepted as the region to which the impression degree is applied.

配色転写度合い調整部20は、以下の式を用いて、領域指定部22によって指定された領域に対して、印象調整度合い決定部18により決定された印象の調整度合いを反映する。 The color scheme transfer degree adjustment unit 20 reflects the impression adjustment degree determined by the impression adjustment degree determination unit 18 on the area specified by the area specification unit 22 using the following formula.

Figure 2022114876000009
Figure 2022114876000009

例えば、グラスなどの強調する領域をf(x、y)=1とし、それ以外の強調しない領域をf(x、y)=0とする。これにより、指定した領域に対して、印象の調整度合いが調整される。 For example, let f(x, y)=1 for areas to be emphasized, such as glasses, and f(x, y)=0 for other areas that are not to be emphasized. As a result, the impression adjustment degree is adjusted with respect to the designated area.

(第4実施形態)
上記の各実施形態では、画像処理装置10としてPCを適用して、PCで全ての処理を実施する例を説明したが、本実施形態では、クラウドサーバ及びクライアント端末を含む画像処理システムとされている。本実施形態では、ユーザによる操作に関する部分をクライアント端末で行い、画像処理に関する部分をクラウドサーバで行う。
(Fourth embodiment)
In each of the above-described embodiments, an example in which a PC is used as the image processing apparatus 10 and all processing is performed by the PC has been described. there is In the present embodiment, the client terminal performs the portion related to the user's operation, and the cloud server performs the portion related to the image processing.

図17は、本実施形態に係る画像処理システムの概略構成を示す図である。本実施形態に係る画像処理システム50は、クラウドサーバ52、及び複数のクライアント端末54a、54bを備えている。なお、本実施形態では、クライアント端末54を複数(図17では2つ)備える例を示すが、クライアント端末54は単一でも3以上であってもよい。また、クライアント端末54は、パーソナルコンピュータを適用してもよいし、タブレット端末やスマートフォン等の携帯端末を適用してもよい。 FIG. 17 is a diagram showing a schematic configuration of an image processing system according to this embodiment. An image processing system 50 according to this embodiment includes a cloud server 52 and a plurality of client terminals 54a and 54b. In this embodiment, an example of providing a plurality of client terminals 54 (two in FIG. 17) is shown, but the number of client terminals 54 may be one or three or more. Also, the client terminal 54 may be a personal computer, or may be a mobile terminal such as a tablet terminal or a smart phone.

クラウドサーバ52及びクライアント端末54は、LAN(Local Area Network)、WAN(Wide Area Network)、インターネット、イントラネット等の通信回線56を介して各々接続されている。そして、クラウドサーバ52及びクライアント端末54の各々は、通信回線56を介して各種データの送受信を相互に行うことが可能とされている。また、クラウドサーバ52及びクライアント端末54の構成は、一般的なコンピュータの構成とされ、上述の画像処理装置10と基本的な構成は同じである。すなわち、クラウドサーバ52及びクライアント端末54はそれぞれ、図2に示す画像処理装置10の構成と同様に、CPU、ROM、RAM、ストレージ、操作部、表示部、及び通信I/F部を備えている。 The cloud server 52 and the client terminal 54 are each connected via a communication line 56 such as a LAN (Local Area Network), WAN (Wide Area Network), Internet, intranet, or the like. Each of the cloud server 52 and the client terminal 54 can mutually transmit and receive various data via the communication line 56 . The configuration of the cloud server 52 and the client terminal 54 is the configuration of a general computer, and the basic configuration is the same as that of the image processing apparatus 10 described above. That is, each of the cloud server 52 and the client terminal 54 includes a CPU, ROM, RAM, storage, operation unit, display unit, and communication I/F unit, similar to the configuration of the image processing apparatus 10 shown in FIG. .

このように画像処理システム50を構成し、クライアント端末54を操作することで、対象画像及び配色画像の選択、印象調整度合い決定部18において印象の調整度合いを決定する際の印象の度合いを表す副詞の指定等の操作を受け付ける。そして、クラウドサーバ52が、図3、15の機能を実行するサービスを実行する。 By configuring the image processing system 50 in this way and operating the client terminal 54, the target image and the color scheme image can be selected, and the degree of impression when determining the degree of adjustment of the impression in the impression adjustment degree determination unit 18. Accepts operations such as designation of The cloud server 52 then executes a service that executes the functions of FIGS.

なお、図3、15に示す機能を単一のクラウドサーバ52に備える形態としてもよいが、複数のサーバで図3、15に示す機能を分担する形態としてもよい。 The functions shown in FIGS. 3 and 15 may be provided in a single cloud server 52, or the functions shown in FIGS. 3 and 15 may be shared by a plurality of servers.

また、上記の実施形態では、配色画像として配色バーや配色ブロックを一例として挙げたが、配色画像は、これに限るものではない。例えば、予め撮影した撮影画像を配色画像として適用してもよい。図18は、配色画像として撮影画像を適用した例を示す図である。撮影画像を配色画像として用いる場合には、以下の数式により、配色画像の印象を対象画像に転写する。 Further, in the above-described embodiment, the coloration bar and the coloration block are given as examples of the coloration image, but the coloration image is not limited to this. For example, a captured image captured in advance may be applied as the color scheme image. FIG. 18 is a diagram showing an example of applying a photographed image as a color scheme image. When a photographed image is used as a colored image, the impression of the colored image is transferred to the target image according to the following formula.

Figure 2022114876000010
Figure 2022114876000010

ここで、Iは対象画像の各画素値、μsは対象画像の平均、σtは配色画像の標準偏差、σsは対象画像の標準偏差、μtは配色画像の平均を示す。μs<μtで全体的に明るくなり、σt<σsでコントラストが高くなる。 Here, I is each pixel value of the target image, μs is the average of the target image, σt is the standard deviation of the coloration image, σs is the standard deviation of the target image, and μt is the average of the coloration image. When μ st , the overall brightness increases, and when σ ts , the contrast increases.

図18の例では、対象画像の平均値が44、標準偏差が22とし、配色画像の平均値が57、標準偏差が30としたとき、配色再現画像の平均値が57、標準偏差が30となっている。対象画像の画素値が65に対して、配色再現画像は、(65-44)×30/22+57=85になる。 In the example of FIG. 18, when the target image has an average value of 44 and a standard deviation of 22, and the coloration image has an average value of 57 and a standard deviation of 30, the coloration reproduction image has an average value of 57 and a standard deviation of 30. It's becoming When the target image has a pixel value of 65, the color reproduction image is (65−44)×30/22+57=85.

なお、上記の実施形態において、複数種類の副詞に対応する印象の調整が行われた画像を表示してもよい。例えば、図19に示すように、「すこし」、「ほどほど」、「かなり」のように複数種類の副詞に対応する調整結果を表示してもよい。この場合、図19に示すように、調整された画像を縮小してサムネイル画像として表示してもよい。また、このとき、表示する画像は、ユーザによって選択を受け付けて表示してもよいし、全ての副詞に対応する画像を表示してもよい。 It should be noted that in the above-described embodiment, an image in which impressions corresponding to a plurality of types of adverbs have been adjusted may be displayed. For example, as shown in FIG. 19, adjustment results corresponding to a plurality of types of adverbs such as "slightly", "moderately", and "pretty much" may be displayed. In this case, as shown in FIG. 19, the adjusted image may be reduced and displayed as a thumbnail image. Also, at this time, the images to be displayed may be selected by the user and displayed, or images corresponding to all adverbs may be displayed.

また、上記の実施形態では、選択用画像を標示して副詞を選択するユーザインタフェースを用いて印象の度合いを調整する変わりに、ユーザの音声を受け付けるインタフェースを用いて音声によって副詞を選択する形態としてもよい。例えば、「もうちょっと」などの音声を受け付けて、「もうちょっと」を受け付ける毎に段階的に調整度合いαの値を増加させる形態としてもよい。 In the above embodiment, instead of adjusting the degree of impression using a user interface that displays a selection image and selects adverbs, an interface that accepts user's voice is used to select adverbs by voice. good too. For example, it is possible to adopt a form in which a voice such as "just a little more" is received, and the value of the adjustment degree α is increased stepwise each time "just a little more" is received.

また、上記の実施形態において、配色度合い調整再現画像の生成及び表示の手順は、対象画像の配色に配色画像の配色を反映して配色再現画像を生成して表示してから、調整度合いαを調整して配色度合い調整再現画像を生成して表示する手順としてもよい。或いは、配色再現画像を生成せずに、スライドバー等により副詞により調整度合いαを指定して配色度合い調整再現画像を直接生成して表示する手順としてもよい。 In the above-described embodiment, the procedure for generating and displaying the coloration degree adjusted reproduction image is to generate and display the coloration reproduction image by reflecting the coloration of the coloration image in the coloration of the target image, and then adjust the degree of adjustment α. A procedure of adjusting and generating and displaying a reproduction image having the degree of color combination adjustment may be employed. Alternatively, instead of generating the coloration reproduction image, a procedure may be adopted in which the coloration degree adjustment reproduction image is directly generated and displayed by designating the adjustment degree α by an adverb using a slide bar or the like.

また、上記の実施形態では、3つの見本色を一方向に向かい順に並べた配色画像を一例として示したが、これに限定されるものではない。例えば、4つの見本色を2×2のブロック状に配置してもよい。 Further, in the above-described embodiment, a color scheme image in which three sample colors are arranged in order facing one direction is shown as an example, but the present invention is not limited to this. For example, four swatch colors may be arranged in a 2×2 block.

また、上記の実施形態において、配色画像の配色を対象画像の配色に反映させる際に、配色画像を構成する複数の見本色のそれぞれについて、重み付けをして色調整を行うようにしてもよい。例えば、複数の見本色の中で、対象画像に最も高頻度で含まれる色に最も近い色について他の色より大きい重み付けをすることで、色調整後の画像がより自然となり易い。また、配色画像の見本色に重み付けする場合は、重みに応じて見本色の面積を変えて表示してもよい。また、見本色の面積をユーザが変更可能とし、変更された面積に応じて重みを変更可能としてもよい。 In the above-described embodiment, when the color scheme of the color scheme image is reflected in the color scheme of the target image, each of the plurality of sample colors forming the color scheme image may be weighted for color adjustment. For example, among a plurality of sample colors, by weighting the color closest to the color most frequently included in the target image more than other colors, the image after color adjustment tends to become more natural. When weighting the sample colors of the color scheme image, the areas of the sample colors may be changed according to the weights. Alternatively, the area of the sample color may be changed by the user, and the weight may be changed according to the changed area.

また、上記の各実施形態において、ユーザに画像の印象を表す予め定めた感性用語を選択させ、選択された感性用語を基に配色画像を選択する形態としてもよい。例えば、「可憐」、「ロマンチック」、「キュート」などの感性用語に対応する配色画像を予め関連付けて、感性用語をユーザに選択させることにより、対応する配色画像を選択する。 Further, in each of the above-described embodiments, the user may be allowed to select a predetermined sensibility term expressing the impression of the image, and the color scheme image may be selected based on the selected sensibility term. For example, colored images corresponding to emotional terms such as "pretty", "romantic", and "cute" are associated in advance, and the user selects the emotional terms to select the corresponding colored images.

また、上記の第1~第4実施形態はそれぞれ個別に説明したが、2以上の実施形態を組み合わせた形態としてもよい。 Moreover, although the first to fourth embodiments have been described individually, two or more embodiments may be combined.

また、上記の実施形態において、CPUをプロセッサの一例として説明したが、プロセッサとは広義的なプロセッサを指し、汎用的なプロセッサ(例えばCPU等)や、専用のプロセッサ(例えばGPU: Graphics Processing Unit、ASIC: Application Specific Integrated Circuit、FPGA: Field Programmable Gate Array、プログラマブル論理デバイス等)を含むものである。 Further, in the above embodiments, the CPU was described as an example of a processor, but the processor refers to a processor in a broad sense, such as a general-purpose processor (such as a CPU) or a dedicated processor (such as a GPU: Graphics Processing Unit, ASIC: Application Specific Integrated Circuit, FPGA: Field Programmable Gate Array, programmable logic device, etc.).

また、上記の実施形態におけるプロセッサの動作は、1つのプロセッサによって成すのみでなく、物理的に離れた位置に存在する複数のプロセッサが協働して成すものであってもよい。また、プロセッサの各動作の順序は上記各実施形態において記載した順序のみに限定されるものではなく、適宜変更してもよい。 Further, the operations of the processors in the above embodiments may be performed not only by one processor but also by cooperation of a plurality of physically separated processors. Moreover, the order of each operation of the processor is not limited to the order described in each of the above embodiments, and may be changed as appropriate.

また、上記の実施形態に係る画像処理装置10で行われる処理は、ソフトウエアで行われる処理としてもよいし、ハードウエアで行われる処理としてもよいし、双方を組み合わせた処理としてもよい。また、画像処理装置10で行われる処理は、プログラムとして記憶媒体に記憶して流通させるようにしてもよい。 Further, the processing performed by the image processing apparatus 10 according to the above embodiment may be processing performed by software, may be performed by hardware, or may be a combination of both. Further, the processing performed by the image processing apparatus 10 may be stored as a program in a storage medium and distributed.

また、本発明は、上記に限定されるものでなく、上記以外にも、その主旨を逸脱しない範囲内において種々変形して実施可能であることは勿論である。 In addition, the present invention is not limited to the above, and it goes without saying that various modifications can be made without departing from the spirit of the present invention.

10 画像処理装置
10A CPU
10F 表示部
12 対象色分布解析部
14 目標色分布解析部
16 配色転写部
18 印象調整度合い決定部
20 配色転写度合い調整部
22 領域指定部
50 画像処理システム
52 クラウドサーバ
54 クライアント端末
10 image processing device 10A CPU
10F display unit 12 target color distribution analysis unit 14 target color distribution analysis unit 16 coloration transfer unit 18 impression adjustment degree determination unit 20 coloration transfer degree adjustment unit 22 area designation unit 50 image processing system 52 cloud server 54 client terminal

Claims (11)

プロセッサを備え、前記プロセッサは、
被処理画像の色分布と、前記被処理画像と異なる色見本の色分布との関係を用いて、前記被処理画像の色を変更する際に、予め定めた副詞表現で示す色の調整度合いを受け付け、
受け付けた前記調整度合いに従って前記被処理画像の色の変更度合いを調整する処理を行う画像処理装置。
a processor, said processor comprising:
Using the relationship between the color distribution of the image to be processed and the color distribution of a color sample different from that of the image to be processed, when changing the color of the image to be processed, the degree of color adjustment indicated by a predetermined adverb expression is determined. reception,
An image processing apparatus that adjusts the degree of color change of the image to be processed according to the received adjustment degree.
前記プロセッサは、前記被処理画像と前記色見本と前記調整度合いを選択するための選択用画像とを表示部に表示する処理を更に行い、ユーザが選択した前記色見本及び前記選択用画像を用いて、前記処理を行う請求項1に記載の画像処理装置。 The processor further performs a process of displaying the image to be processed, the color sample, and a selection image for selecting the degree of adjustment on a display unit, and uses the color sample and the selection image selected by the user. 2. The image processing apparatus according to claim 1, wherein said processing is performed by 前記プロセッサは、それぞれ調整度合いが異なる複数の副詞表現を組み合わせた複数の副詞表現パターンの中から、利用する前記副詞表現パターンを受け付け、受け付けた前記副詞表現パターンに対応する前記選択用画像を前記表示部に表示する請求項2に記載の画像処理装置。 The processor receives the adverbial expression pattern to be used from among a plurality of adverbial expression patterns obtained by combining a plurality of adverbial expressions with different degrees of adjustment, and displays the selection image corresponding to the received adverbial expression pattern. 3. The image processing apparatus according to claim 2, wherein the image is displayed in the section. 前記選択用画像は、予め定めた複数種類の前記副詞表現が配置され、何れかの前記副詞表現を選択可能な画像である請求項2又は請求項3に記載の画像処理装置。 4. The image processing apparatus according to claim 2, wherein the selection image is an image in which a plurality of predetermined types of adverbial expressions are arranged and any one of the adverbial expressions can be selected. 前記プロセッサは、前記副詞表現に対応した印象の調整度合いは、前記被処理画像と前記色見本の類似度に応じて変化させる請求項1~4の何れか1項に記載の画像処理装置。 The image processing apparatus according to any one of claims 1 to 4, wherein the processor changes the degree of impression adjustment corresponding to the adverbial expression according to the degree of similarity between the image to be processed and the color sample. 前記プロセッサは、受け付けた前記調整度合いを反映する領域をさらに受け付けて、受け付けた領域に対して、前記調整度合いに従って前記被処理画像の色の変更度合いを調整する請求項1~5の何れか1項に記載の画像処理装置。 6. The processor further receives an area that reflects the received degree of adjustment, and adjusts the degree of color change of the image to be processed for the received area according to the degree of adjustment. 10. The image processing device according to claim 1. 前記プロセッサは、複数種類の前記副詞表現に対応する調整が行われた画像を表示する処理を更に行う請求項1~6の何れか1項に記載の画像処理装置。 The image processing apparatus according to any one of claims 1 to 6, wherein the processor further performs a process of displaying an image that has been adjusted to correspond to a plurality of types of adverbial expressions. 前記プロセッサは、調整が行われた画像をそれぞれ表示する際に、調整が行われた画像を縮小して同時に表示する請求項7に記載の画像処理装置。 8. The image processing apparatus according to claim 7, wherein when displaying the adjusted images, the processor reduces the adjusted images and simultaneously displays them. 前記プロセッサは、複数種類の前記副詞表現を受け付けて、受け付けた複数種類の前記副詞表現に対応する調整が行われた画像を表示する請求項7又は請求項8に記載の画像処理装置。 9. The image processing apparatus according to claim 7, wherein said processor receives a plurality of types of said adverbial expressions and displays an image adjusted corresponding to said plurality of types of received adverbial expressions. 請求項1~9の何れか1項に記載の画像処理装置と、
前記被処理画像、前記色見本、及び前記調整度合いを前記画像処理装置に指示するクライアント端末と
を含む画像処理システム。
The image processing device according to any one of claims 1 to 9,
and a client terminal that instructs the image processing apparatus about the image to be processed, the color sample, and the degree of adjustment.
コンピュータに、
被処理画像の色分布と、前記被処理画像と異なる色見本の色分布との関係を用いて、前記被処理画像の色を変更する際に、予め定めた副詞表現で示す色の調整度合いを受け付け、
受け付けた前記調整度合いに従って前記被処理画像の色の変更度合いを調整する処理を実行させるための画像処理プログラム。
to the computer,
Using the relationship between the color distribution of the image to be processed and the color distribution of a color sample different from that of the image to be processed, when changing the color of the image to be processed, the degree of color adjustment indicated by a predetermined adverb expression is determined. reception,
An image processing program for executing a process of adjusting the degree of color change of the image to be processed according to the received adjustment degree.
JP2021011337A 2021-01-27 2021-01-27 Image processing device, image processing system and image processing program Pending JP2022114876A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021011337A JP2022114876A (en) 2021-01-27 2021-01-27 Image processing device, image processing system and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021011337A JP2022114876A (en) 2021-01-27 2021-01-27 Image processing device, image processing system and image processing program

Publications (1)

Publication Number Publication Date
JP2022114876A true JP2022114876A (en) 2022-08-08

Family

ID=82747235

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021011337A Pending JP2022114876A (en) 2021-01-27 2021-01-27 Image processing device, image processing system and image processing program

Country Status (1)

Country Link
JP (1) JP2022114876A (en)

Similar Documents

Publication Publication Date Title
JP6786850B2 (en) Image processing equipment, image processing methods, image processing systems and programs
CN109741279A (en) Image saturation method of adjustment, device, storage medium and terminal
JP2004219731A (en) Information display device and information processing apparatus
Rumiński et al. Color transformation methods for dichromats
US20140104385A1 (en) Method and apparatus for determining information associated with a food product
US10628185B1 (en) Content-adaptive guided tutorial generation
JP2539158B2 (en) Apparatus and method for automatic image enhancement
US20220414971A1 (en) Method of processing information, method of rendering image, and electronic device
JP6818284B1 (en) Image processing equipment, image processing system, and image processing method
Song et al. Naturalness index for a tone-mapped high dynamic range image
JP2022114876A (en) Image processing device, image processing system and image processing program
CN116563570B (en) Color recognition method and device, electronic equipment and storage medium
CN111784814A (en) Virtual character skin adjusting method and device
US10679383B2 (en) Interface color branding
US11527023B2 (en) Image processing for increasing visibility of obscured patterns
US11189062B2 (en) Image processing system, image processing apparatus, non-transitory computer readable medium
US20230410706A1 (en) Method for image rendering, terminal device and non-transitory computer-readable storage medium
US7639398B2 (en) Color coordinate systems and image editing
Kim et al. Crowdcolor: Crowdsourcing color perceptions using mobile devices
US11669591B2 (en) Information processing apparatus and non-transitory computer readable medium
JP7027288B2 (en) Decision device, decision method and decision program
JP7305517B2 (en) Program, information processing device, simulation method, and information processing system
Vladusich Brightness scaling according to gamut relativity
US20230394727A1 (en) Dynamic color adjustment in augmented reality
US11947937B2 (en) Software tool for deriving colors from a reference color by varying color characteristics

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231219