JP7580441B2 - Information processing device, information processing method, and information processing program - Google Patents
Information processing device, information processing method, and information processing program Download PDFInfo
- Publication number
- JP7580441B2 JP7580441B2 JP2022202512A JP2022202512A JP7580441B2 JP 7580441 B2 JP7580441 B2 JP 7580441B2 JP 2022202512 A JP2022202512 A JP 2022202512A JP 2022202512 A JP2022202512 A JP 2022202512A JP 7580441 B2 JP7580441 B2 JP 7580441B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- learning
- information processing
- noise
- unit
- 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.)
- Active
Links
- 230000010365 information processing Effects 0.000 title claims description 276
- 238000003672 processing method Methods 0.000 title claims description 7
- 238000000034 method Methods 0.000 claims description 140
- 230000008569 process Effects 0.000 claims description 118
- 238000009792 diffusion process Methods 0.000 claims description 88
- 238000012545 processing Methods 0.000 claims description 37
- 238000012549 training Methods 0.000 claims description 25
- 238000013459 approach Methods 0.000 claims description 13
- 238000006243 chemical reaction Methods 0.000 description 22
- 238000013500 data storage Methods 0.000 description 18
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 8
- 239000003086 colorant Substances 0.000 description 6
- 238000010801 machine learning Methods 0.000 description 5
- 230000015654 memory Effects 0.000 description 5
- 238000013528 artificial neural network Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 238000013527 convolutional neural network Methods 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000012447 hatching Effects 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 101001111655 Homo sapiens Retinol dehydrogenase 11 Proteins 0.000 description 2
- 102100023916 Retinol dehydrogenase 11 Human genes 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 2
- 238000013135 deep learning Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000000306 recurrent effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000012706 support-vector machine Methods 0.000 description 2
- 101100150099 Caenorhabditis elegans spk-1 gene Proteins 0.000 description 1
- 238000013256 Gubra-Amylin NASH model Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004040 coloring Methods 0.000 description 1
- 238000005094 computer simulation Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006403 short-term memory Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000008685 targeting Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Image Analysis (AREA)
Description
本発明は、情報処理装置、情報処理方法、及び情報処理プログラムに関する。 The present invention relates to an information processing device, an information processing method, and an information processing program.
従来、画像の色に関する様々な種別の色属性情報を変換するための技術が提供されている。例えば、色変換前の画像と色変換後の画像の組を用いて色変換モデルを学習する技術が提供されている。 Conventionally, techniques have been provided for converting various types of color attribute information related to the colors of an image. For example, a technique has been provided for learning a color conversion model using a pair of an image before and after color conversion.
しかしながら、上記の従来技術には、改善の余地がある。例えば、色変換前の画像と色変換後の画像の組が必要となり、色変換前の画像と色変換後の画像の組が無い場合、その組に対応する色変換を行った画像を生成することが難しい。そのため、適切な画像生成を可能にすることが望まれている。 However, there is room for improvement in the above conventional technology. For example, if a pair of an image before color conversion and an image after color conversion is required, and a pair of an image before color conversion and an image after color conversion does not exist, it is difficult to generate an image that has undergone color conversion corresponding to that pair. Therefore, it is desirable to enable appropriate image generation.
本願は、上記に鑑みてなされたものであって、適切な画像生成を可能にする情報処理装置、情報処理方法、及び情報処理プログラムを提供することを目的とする。 The present application has been made in view of the above, and aims to provide an information processing device, an information processing method, and an information processing program that enable appropriate image generation.
本願に係る情報処理装置は、所定の対象が撮像された画像である学習用画像がグレースケール化された学習用グレースケール画像と、前記学習用画像における前記所定の対象の特徴を示すラベルとを取得する取得部と、前記取得部により取得された前記学習用グレースケール画像と前記ラベルとに基づいて、ノイズが含まれる画像である一のノイズ画像を前記学習用画像に近づけるように変換する拡散モデルを学習する学習部と、を備えたことを特徴とする。 The information processing device according to the present application is characterized by comprising: an acquisition unit that acquires a learning grayscale image obtained by grayscaling a learning image, which is an image of a predetermined object captured, and a label indicating the characteristics of the predetermined object in the learning image; and a learning unit that learns a diffusion model that converts a noise image, which is an image containing noise, so as to approximate the learning image, based on the learning grayscale image and the label acquired by the acquisition unit.
実施形態の一態様によれば、適切な画像生成を可能にすることができるという効果を奏する。 According to one aspect of the embodiment, it is possible to achieve the effect of enabling appropriate image generation.
以下に、本願に係る情報処理装置、情報処理方法、及び情報処理プログラムを実施するための形態(以下、「実施形態」と呼ぶ)について図面を参照しつつ詳細に説明する。なお、この実施形態により本願に係る情報処理装置、情報処理方法、及び情報処理プログラムが限定されるものではない。また、以下の各実施形態において同一の部位には同一の符号を付し、重複する説明は省略される。 Below, the information processing device, information processing method, and information processing program according to the present application will be described in detail with reference to the drawings. Note that the information processing device, information processing method, and information processing program according to the present application are not limited to these embodiments. In addition, the same parts in the following embodiments will be denoted by the same reference numerals, and duplicated descriptions will be omitted.
(実施形態)
〔1.情報処理〕
以下では、図1を用いて、実施形態に係る情報処理の一例について説明する。図1は、実施形態に係る情報処理の一例を示す図である。具体的には、図1は、実施形態に係るモデルの学習処理及び、モデルを用いた画像の生成処理を含む情報処理の一例を示す。図1では、情報処理装置100(図3参照)がノイズ画像から画像を生成するための拡散モデルである拡散モデルM1(以下「モデルM1」ともいう)を学習(生成)し、生成したモデルM1を用いて画像を生成する場合を一例として説明する。なお、以下では、色等の特徴を変換する対象物を含むグレースケール画像を用いる場合を一例として説明するが、対象物を含む画像としてはグレースケール画像に限らず任意の画像が用いられてもよいが、この点については後述する。
(Embodiment)
[1. Information Processing]
An example of information processing according to the embodiment will be described below with reference to FIG. 1. FIG. 1 is a diagram showing an example of information processing according to the embodiment. Specifically, FIG. 1 shows an example of information processing including a learning process of a model according to the embodiment and a generation process of an image using the model. In FIG. 1, a case will be described as an example in which an information processing device 100 (see FIG. 3) learns (generates) a diffusion model M1 (hereinafter also referred to as "model M1"), which is a diffusion model for generating an image from a noise image, and generates an image using the generated model M1. Note that, in the following, a case will be described as an example in which a grayscale image including an object whose characteristics such as color are converted is used, but the image including the object is not limited to a grayscale image and any image may be used, but this point will be described later.
〔1-1.学習処理例〕
まず、図1を用いて、モデルM1の学習処理の一例について説明する。まず、モデルM1の学習処理に用いるデータ(学習用データ)について説明する。
[1-1. Learning process example]
First, an example of the learning process of the model M1 will be described with reference to Fig. 1. First, data (learning data) used in the learning process of the model M1 will be described.
図1では、情報処理装置100は、モデルM1の学習処理に用いるデータ(学習用データ)を取得する。例えば、情報処理装置100は、モデルM1の学習用データを学習用データ記憶部121(図4参照)から取得する。なお、学習用データ記憶部121に学習用データが未登録の場合、情報処理装置100は、情報提供装置50(図3参照)等の外部装置に学習用データの提供を要求し、外部装置から受信したデータを学習用データとして学習用データ記憶部121に登録してもよい。 In FIG. 1, the information processing device 100 acquires data (learning data) to be used in the learning process of the model M1. For example, the information processing device 100 acquires the learning data of the model M1 from the learning data storage unit 121 (see FIG. 4). Note that if the learning data is not registered in the learning data storage unit 121, the information processing device 100 may request the provision of learning data from an external device such as the information providing device 50 (see FIG. 3), and register the data received from the external device in the learning data storage unit 121 as learning data.
図1では、モデルM1の学習処理に用いるデータの一例として、所定の画像にノイズが段階的に付与した複数の段階画像を含む画像群IG1を示す。情報処理装置100は、図1に示す画像群IG1等を含む学習用データを用いてモデルM1を学習する。 In FIG. 1, as an example of data used in the learning process of model M1, an image group IG1 including multiple stage images in which noise is added in stages to a specific image is shown. The information processing device 100 learns model M1 using learning data including the image group IG1 shown in FIG. 1.
画像群IG1は、所定の対象が撮像された画像(学習用画像)である画像P10を含む。画像P10は、所定の対象としてパーカーが撮像された画像である。画像P10は、ノイズの付与に関する段階が段階#0である、すなわちノイズが付与されていない画像である。なお、図1では、図示の関係上、色(色彩)をハッチングで示すが、画像P10に含まれるパーカーの色は青色である。 Image group IG1 includes image P10, which is an image (learning image) of a specified object. Image P10 is an image of a hoodie as the specified object. Image P10 is at level #0 in terms of noise addition, i.e., an image with no noise added. Note that in Figure 1, colors are shown with hatching for ease of illustration, but the color of the hoodie included in image P10 is blue.
また、画像群IG1は、画像P10にノイズが付与された画像である画像P11を含む。画像P11は、画像P10にノイズが1段階付された画像である。画像P11は、ノイズの付与に関する段階が段階#1である、すなわちノイズが1段階付与された画像である。例えば、画像P11は、画像P10にノイズを付与するノイズ付与処理(図1中の処理SN1)により生成される。
Image group IG1 also includes image P11, which is an image in which noise has been added to image P10. Image P11 is an image in which one level of noise has been added to image P10. Image P11 is an image in which the level of noise addition is
また、画像群IG1は、画像P11にノイズが付与された画像である画像P12を含む。画像P12は、画像P11にノイズがさらに1段階付された画像である。画像P12は、ノイズの付与に関する段階が段階#2である、すなわちノイズが2段階付与された画像である。例えば、画像P12は、画像P11にノイズを付与するノイズ付与処理(図1中の処理SN2)により生成される。
Image group IG1 also includes image P12, which is image P11 with noise added. Image P12 is image P11 with one more level of noise added. Image P12 is an image in which the level of noise added is
また、画像群IG1は、画像P12にノイズが付与された画像である画像P13を含む。例えば、画像P12にノイズを付与するノイズ付与処理(図1中の処理SN3)によりノイズが3段階付与された段階#3の画像(画像P13)が生成される。なお、ノイズ繰り返しとなるため途中の処理の説明は省略する。 The image group IG1 also includes an image P13, which is an image in which noise has been added to image P12. For example, a noise addition process (process SN3 in FIG. 1) that adds noise to image P12 generates an image (image P13) at stage #3 in which three stages of noise have been added. Note that because noise is repeated, a description of the intermediate processes will be omitted.
また、画像群IG1は、ノイズがK-3段階付与された画像P1K-3にノイズが付与された画像である画像P1K-2を含む。なお、Kは例えば30、1000等の任意の数(値)である。例えば、画像P1K-3にノイズを付与するノイズ付与処理(図1中の処理SNK-2)によりノイズがK-2段階付与された段階#K-2の画像(画像P1K-2)が生成される。 The image group IG1 also includes image P1K-2, which is an image in which noise has been added to image P1K-3 to which noise has been added at K-3 levels. Note that K is an arbitrary number (value), for example, 30, 1000, etc. For example, a noise adding process (process SNK-2 in FIG. 1) that adds noise to image P1K-3 generates an image at level #K-2 (image P1K-2) in which noise has been added at K-2 levels.
また、画像群IG1は、画像P1K-2にノイズが付与された画像である画像P1K-1を含む。画像P1K-1は、画像P1K-2にノイズがさらに1段階付された画像である。画像P1K-1は、ノイズの付与に関する段階が段階#K-1である、すなわちノイズがK-1段階付与された画像である。例えば、画像P1K-1は、画像P1K-2にノイズを付与するノイズ付与処理(図1中の処理SNK-1)により生成される。 Image group IG1 also includes image P1K-1, which is an image in which noise has been added to image P1K-2. Image P1K-1 is an image in which one more level of noise has been added to image P1K-2. Image P1K-1 is an image in which the level of noise addition is level #K-1, i.e., an image to which K-1 levels of noise have been added. For example, image P1K-1 is generated by a noise addition process (process SNK-1 in FIG. 1) that adds noise to image P1K-2.
また、画像群IG1は、ノイズ画像である画像P1Kを含む。例えば、画像P1Kは、画像P1K-1にノイズがさらに1段階付された画像である。画像P1Kは、ノイズの付与に関する段階が段階#Kである、すなわちノイズがK段階付与された画像である。例えば、画像P1Kは、画像P1K-1にノイズを付与するノイズ付与処理(図1中の処理SNK)により生成される。図1中の処理SN1~処理SNKは、拡散モデルにおける拡散過程(forward process)に対応する処理である。 The image group IG1 also includes image P1K, which is a noise image. For example, image P1K is an image in which one more level of noise has been added to image P1K-1. Image P1K is an image in which the level of noise addition is level #K, i.e., an image to which K levels of noise have been added. For example, image P1K is generated by a noise addition process (process SNK in FIG. 1) that adds noise to image P1K-1. Processes SN1 to SNK in FIG. 1 correspond to the forward process in the diffusion model.
例えば、画像群IG1中の各画像は、データにガウシアンノイズを付与して、実データから徐々に完全なガウシアンノイズに遷移させる処理(ノイズ付与処理)により生成されてもよい。例えば、Kが1000の場合、1000回のノイズ付与処理後に完全なノイズになるようにデータとノイズの割合を変えながら混ぜ合わせることにより、画像群IG1中の各画像が生成される。なお、Kが1000の場合、すなわちノイズ付与処理の回数が1000回である場合は一例に過ぎず、ノイズ付与処理の回数は32回や1回等、1000回よりも少ない回数であってもよいし、1000回よりも多い回数であってもよい。また、画像群IG1中の各画像は、情報処理装置100が生成してもよいし、情報提供装置50等の外部装置が生成してもよい。
For example, each image in the image group IG1 may be generated by a process (noise addition process) in which Gaussian noise is added to the data, and the data gradually transitions from the actual data to complete Gaussian noise. For example, when K is 1000, each image in the image group IG1 is generated by mixing the data and noise while changing the ratio so that the data becomes complete noise after 1000 noise addition processes. Note that when K is 1000, that is, when the number of times the noise addition process is performed is 1000, this is merely an example, and the number of times the noise addition process is performed may be less than 1000 times, such as 32 times or 1 time, or may be more than 1000 times. Also, each image in the image group IG1 may be generated by the information processing device 100, or an external device such as the
このように、図1に示す画像群IG1は、画像P10、P11、P12、…P1K-2、P1K-1、P1K等の複数の画像を含む。以下、上記した画像群IG1を用いて情報処理装置100がモデルM1を学習する場合を一例として説明する。なお、上記は一例に過ぎず、画像群IG1に含まれる画像は任意の画像であってもよい。例えば、画像P1Kは、いわゆるホワイトノイズ等のノイズ画像であってもよい。 In this way, the image group IG1 shown in FIG. 1 includes multiple images such as images P10, P11, P12, ... P1K-2, P1K-1, P1K, etc. Below, a case where the information processing device 100 learns the model M1 using the image group IG1 described above will be described as an example. Note that the above is merely an example, and the images included in the image group IG1 may be any images. For example, image P1K may be a noise image such as so-called white noise.
ここから、学習処理例の詳細について説明する。図1では、情報処理装置100は、画像群IG1等を用いてモデルM1を学習する学習処理を実行する(ステップS1)。情報処理装置100は、ノイズを含む画像(ノイズ画像)を入力とし、一つ手前の過程、すなわちノイズ画像からノイズを1段階除去した画像を出力(予測)するようにモデルM1を学習する。例えば、情報処理装置100は、ノイズ画像、ノイズ画像に対応する元の画像(ノイズが付与されていない状態の画像)をグレースケール化したグレースケール画像、及び元の画像に含まれる対象の色等の特徴を示すラベルを入力とするモデルM1を学習する。 Now, the details of the learning process example will be described. In FIG. 1, the information processing device 100 executes a learning process to learn a model M1 using an image group IG1 and the like (step S1). The information processing device 100 inputs an image containing noise (noise image) and learns the model M1 to output (predict) an image obtained by performing the previous process, that is, an image in which noise has been removed by one step from the noise image. For example, the information processing device 100 learns the model M1 to input a noise image, a grayscale image obtained by grayscaling an original image (an image in a state in which noise has not been added) corresponding to the noise image, and a label indicating features such as the color of an object contained in the original image.
このように、情報処理装置100は、一の段階のノイズ画像からノイズを1段階除去した画像を生成するように、モデルM1を学習する。図1では、情報処理装置100は、画像P10をグレースケール化したグレースケール画像(「学習用グレースケール画像」ともいう)と、画像P10中のパーカーの色が青であることを示すラベル(「学習用ラベル」ともいう)とを用いて、モデルM1を学習する。このように、情報処理装置100は、生成する画像に含ませる対象を示す情報(画像)、及び対象の特徴を示すラベルも入力として学習することで、条件付きの拡散モデルとしてモデルM1を学習することができる。 In this way, the information processing device 100 trains the model M1 to generate an image in which one stage of noise has been removed from a noise image at one stage. In FIG. 1, the information processing device 100 trains the model M1 using a grayscale image (also called a "training grayscale image") obtained by grayscaling the image P10, and a label (also called a "training label") indicating that the color of the hoodie in the image P10 is blue. In this way, the information processing device 100 can train the model M1 as a conditional diffusion model by learning information (image) indicating an object to be included in the image to be generated and a label indicating the characteristics of the object as inputs.
例えば、情報処理装置100は、画像P1K、学習用グレースケール画像(例えばグレースケール画像GS1)、及び学習用ラベルを入力として、画像P1K-1を出力するようにモデルM1を学習する学習処理(図1中の処理SR1)を実行する。このように、情報処理装置100は、段階#Kのノイズ画像である画像P1Kから、一つ手前の過程の段階#K-1のノイズ画像である画像P1K-1を生成するようにモデルM1を学習する。 For example, the information processing device 100 executes a learning process (process SR1 in FIG. 1) in which the model M1 is trained to output image P1K-1 using image P1K, a training grayscale image (e.g., grayscale image GS1), and training labels as input. In this way, the information processing device 100 trains the model M1 to generate image P1K-1, which is a noise image at stage #K-1 in the previous process, from image P1K, which is a noise image at stage #K.
また、情報処理装置100は、段階#K-1のノイズ画像である画像P1K-1、学習用グレースケール画像、及び学習用ラベルを入力として、段階#K-2のノイズ画像である画像P1K-2を出力するようにモデルM1を学習する学習処理(図1中の処理SR2)を実行する。同様に、情報処理装置100は、段階#K-2のノイズ画像である画像P1K-2、学習用グレースケール画像、及び学習用ラベルを入力として、段階#K-3のノイズ画像である画像P1K-3を出力するようにモデルM1を学習する学習処理(図1中の処理SR3)を実行する。なお、図1中の処理SR3から処理SRK-2の間の処理は、上述した処理と同様に、ノイズ画像を入力として、そのノイズ画像のノイズ付与の1段階前の画像の出力するように学習するため、詳細な説明は省略する。 In addition, the information processing device 100 executes a learning process (process SR2 in FIG. 1) in which the model M1 is trained to output image P1K-2, which is a noise image of stage #K-2, using image P1K-1, which is a noise image of stage #K-1, a learning grayscale image, and a learning label as input. Similarly, the information processing device 100 executes a learning process (process SR3 in FIG. 1) in which the model M1 is trained to output image P1K-3, which is a noise image of stage #K-3, using image P1K-2, which is a noise image of stage #K-2, a learning grayscale image, and a learning label as input. Note that the processes between process SR3 and process SRK-2 in FIG. 1 are similar to the above-mentioned processes in that they train the model M1 to output an image one stage before the noise addition of the noise image using a noise image as input, and therefore detailed explanations are omitted.
情報処理装置100は、段階#3のノイズ画像である画像P13、学習用グレースケール画像、及び学習用ラベルを入力として、段階#2のノイズ画像である画像P12を出力するようにモデルM1を学習する学習処理(図1中の処理SRK-2)を実行する。情報処理装置100は、段階#2のノイズ画像である画像P12、学習用グレースケール画像、及び学習用ラベルを入力として、段階#1のノイズ画像である画像P11を出力するようにモデルM1を学習する学習処理(図1中の処理SRK-1)を実行する。
The information processing device 100 executes a learning process (process SRK-2 in FIG. 1) to train the model M1 to output image P12, which is a noise image of
そして、情報処理装置100は、段階#1のノイズ画像である画像P11、学習用グレースケール画像、及び学習用ラベルを入力として、段階#0、すなわちノイズが付与されていない画像である画像P10を出力するようにモデルM1を学習する学習処理(図1中の処理SRK)を実行する。図1中の処理SR1~処理SRKは、拡散モデルにおける生成過程(reverse process)に対応する処理である。図1では、情報処理装置100は、画像P10、P11、P12、…P1K-2、P1K-1、P1K等を含む画像群IG1を用いてモデルM1を学習する。
Then, the information processing device 100 executes a learning process (process SRK in FIG. 1) to train the model M1 so that it outputs image P10, which is stage #0, that is, an image with no noise added, using image P11, which is a noise image of
このように、情報処理装置100は、ノイズ画像を入力とし、徐々にノイズを除去していくことで、データを生成するモデルであるモデルM1を学習する。図1では、情報処理装置100は、ノイズ画像、グレースケール画像、及びラベルを入力とし、徐々にノイズ画像からノイズを除去していくことで、グレースケール画像に含まれる対象物にラベルが示す特徴が反映されたデータ(「変換後画像」ともいう)を生成するモデルM1を学習する。 In this way, the information processing device 100 learns model M1, which is a model that generates data by inputting a noise image and gradually removing noise. In FIG. 1, the information processing device 100 learns model M1, which receives a noise image, a grayscale image, and a label as input, and gradually removes noise from the noise image to generate data (also called a "converted image") in which the characteristics indicated by the label are reflected in the object included in the grayscale image.
図1では、情報処理装置100は、徐々にノイズ画像からノイズを除去していくことで、グレースケール画像に含まれる対象物であるパーカーにラベルが示す色「青」が着色されるように変換後画像を生成するモデルM1を学習する。このように、情報処理装置100は、グレースケール画像とラベルとに基づいて、ノイズ画像を学習用画像に近づけるように変換するモデルM1を学習する。 In FIG. 1, the information processing device 100 learns a model M1 that generates a converted image by gradually removing noise from the noise image so that the hoodie, which is an object contained in the grayscale image, is colored "blue," the color indicated by the label. In this way, the information processing device 100 learns a model M1 that converts the noise image so as to approach the learning image, based on the grayscale image and the label.
なお、図1に示す画像群IG1を用いた学習処理はモデルM1の学習の一部であり、情報処理装置100は、画像群IG1以外にも様々な画像群を含む学習用データを用いてモデルM1を学習する。例えば、情報処理装置100は、対象物はパーカーに限らず、靴、鞄、帽子等の様々な取引対象が撮像された学習用画像を対象とする画像群を用いてモデルM1を学習する。例えば、情報処理装置100は、色は青に限らず、赤、黄色、緑、紫等の様々な色の学習用画像を対象とする画像群を用いてモデルM1を学習する。また、上述した処理は一例に過ぎず、情報処理装置100は、非特許文献2、3等に開示される拡散モデルに関する学習手法に基づいてモデルM1を学習してもよい。
The learning process using the image group IG1 shown in FIG. 1 is a part of the learning of the model M1, and the information processing device 100 learns the model M1 using learning data including various image groups other than the image group IG1. For example, the information processing device 100 learns the model M1 using an image group including learning images of various trading objects such as shoes, bags, and hats, not limited to hoodies. For example, the information processing device 100 learns the model M1 using an image group including learning images of various colors such as red, yellow, green, and purple, not limited to blue. The above-mentioned process is merely an example, and the information processing device 100 may learn the model M1 based on a learning method related to a diffusion model disclosed in
このように、情報処理装置100は、所定の対象を含む学習用画像のグレースケール画像と、所定の対象の特徴を示すラベルに基づいて、ノイズ画像を学習用画像に近づけるように変換する拡散モデルを学習する。これにより、情報処理装置100は、画像中の所定の対象の特徴を変換するモデルを学習することができる。したがって、情報処理装置100は、適切な画像生成を可能にすることができる。 In this way, the information processing device 100 learns a diffusion model that converts a noise image so as to approximate the learning image based on a grayscale image of the learning image including a specific object and a label indicating the characteristics of the specific object. This allows the information processing device 100 to learn a model that converts the characteristics of the specific object in the image. Therefore, the information processing device 100 can enable appropriate image generation.
上述した例では、情報処理装置100は、拡散モデルにグレースケール画像とともに、元の画像に含まれる商品等の対象の色のドメイン(赤、青等)をラベルとして入力して、拡散モデルを学習する。例えば、画像収集時に色別に画像を収集している場合、ラベルも既知であり、容易に学習用データを収集することができるため、情報処理装置100は、容易に自己教師あり学習でモデルを学習することができる。 In the above example, the information processing device 100 inputs the color domain (red, blue, etc.) of the object such as a product contained in the original image as a label along with the grayscale image into the diffusion model to train the diffusion model. For example, if images are collected by color when collecting images, the labels are also known and training data can be easily collected, so the information processing device 100 can easily train the model by self-supervised learning.
〔1-2.生成処理例〕
次に、モデルM1を用いた画像の生成処理の一例を説明する。なお、図1では、説明のために変換後画像を生成する対象となる画像(「対象画像」ともいう)が画像P10である場合を一例として説明するが、対象画像は、画像P10に限らず、任意の画像であってもよい。例えば、情報処理装置100は、画像P10を対象画像とする指定をユーザから受け付ける。
[1-2. Example of generation process]
Next, an example of an image generation process using the model M1 will be described. In FIG. 1, for the sake of explanation, an image P10 is used as a target image for generating a converted image (also referred to as a "target image"). However, the target image is not limited to the image P10 and may be any image. For example, the information processing device 100 receives a designation from a user that the image P10 is the target image.
また、図1では、変換対象とする特徴(「対象特徴」ともいう)が色「緑」であることを示すラベルLB1が用いられる場合を示すが、対象特徴は、緑に限らず、赤、茶色等の任意の色であってもよい。例えば、情報処理装置100は、ラベルLB1をユーザから受け付ける。 In addition, FIG. 1 shows a case where a label LB1 is used to indicate that the feature to be converted (also called the "target feature") is the color "green," but the target feature is not limited to green and may be any color such as red, brown, etc. For example, the information processing device 100 accepts the label LB1 from the user.
まず、情報処理装置100は、対象画像をグレースケール化する処理により対象画像のグレースケールを生成する(ステップS11)。情報処理装置100は、画像のグレースケール化に関する種々の技術を適宜用いて、画像のグレースケール化を実行する。図1では、情報処理装置100は、画像P10をグレースケール化する処理により画像P10のグレースケール画像GS1を生成する。 First, the information processing device 100 generates a grayscale image of the target image by performing a process of grayscaling the target image (step S11). The information processing device 100 performs grayscaling of the image by appropriately using various techniques related to grayscaling of the image. In FIG. 1, the information processing device 100 generates a grayscale image GS1 of image P10 by performing a process of grayscaling image P10.
そして、情報処理装置100は、ノイズ画像、グレースケール画像、及びラベルを入力として、変換後画像を生成する生成処理を実行する(ステップS12)。例えば、ノイズ画像NZ1は、画像P1Kと同じノイズ画像であってもよいし、異なるノイズ画像であってもよい。図1では、情報処理装置100は、ノイズ画像NZ1、グレースケール画像GS1、及びラベルLB1を最初のモデルM1への入力情報IN1として、モデルM1を用いた画像の生成を繰り返すことにより、画像P20を生成する。なお、図1では、図示の関係上、色(色彩)をハッチングで示すが、画像P20に含まれるパーカーの色は緑色である。 Then, the information processing device 100 executes a generation process to generate a converted image using the noise image, grayscale image, and label as inputs (step S12). For example, the noise image NZ1 may be the same noise image as the image P1K, or may be a different noise image. In FIG. 1, the information processing device 100 generates an image P20 by repeating image generation using the model M1, using the noise image NZ1, grayscale image GS1, and label LB1 as input information IN1 to the initial model M1. Note that in FIG. 1, colors are shown with hatching for ease of illustration, but the color of the hoodie included in image P20 is green.
例えば、情報処理装置100は、モデルM1への入力をK回繰り返すことにより、画像P20を生成する。例えば、Kが1000である場合、情報処理装置100は、ノイズ画像NZ1、グレースケール画像GS1、ラベルLB1が入力されたモデルM1が出力した画像を入力として、モデルM1への入力を999回繰り返す。 For example, the information processing device 100 generates an image P20 by repeating the input to the model M1 K times. For example, when K is 1000, the information processing device 100 repeats the input to the model M1 999 times, using as input the image output by the model M1 to which the noise image NZ1, the grayscale image GS1, and the label LB1 have been input.
例えば、情報処理装置100は、最初(1回目)の繰り返し処理では、ノイズ画像NZ1、グレースケール画像GS1、及びラベルLB1をモデルM1へ入力し、モデルM1から画像#1を出力させる。そして、情報処理装置100は、2回目の繰り返し処理では、画像#1、グレースケール画像GS1、及びラベルLB1をモデルM1へ入力し、モデルM1から画像#2を出力させる。情報処理装置100は、3回目の繰り返し処理では、画像#2、グレースケール画像GS1、及びラベルLB1をモデルM1へ入力し、モデルM1から画像#3を出力させる。
For example, in the first (first) iteration, the information processing device 100 inputs noise image NZ1, grayscale image GS1, and label LB1 to model M1 and causes model M1 to
情報処理装置100は、4~K-1回目の繰り返し処理でも同様に、画像#3~#K-2の各々、グレースケール画像GS1、及びラベルLB1をモデルM1へ入力し、モデルM1から画像#4~#K-1の各々を出力させる。そして、情報処理装置100は、K回目の繰り返し処理では、画像#K-1、グレースケール画像GS1、及びラベルLB1をモデルM1へ入力し、モデルM1から画像P20を出力させる。 In the 4th to K-1th iterations, the information processing device 100 similarly inputs each of images #3 to #K-2, grayscale image GS1, and label LB1 to model M1, and causes model M1 to output each of images #4 to #K-1. Then, in the Kth iteration, the information processing device 100 inputs image #K-1, grayscale image GS1, and label LB1 to model M1, and causes model M1 to output image P20.
これにより、情報処理装置100は、徐々にノイズ画像からノイズを除去していくことで、グレースケール画像GS1に含まれる対象物に、ラベルLB1が示す特徴が反映された画像P20を生成する。図1では、情報処理装置100は、モデルM1を用いて徐々にノイズ画像からノイズを除去していくことで、グレースケール画像GS1に含まれる対象物であるパーカーに、ラベルLB1が示す色「緑」が着色された変換後画像である画像P20を生成する。 In this way, the information processing device 100 gradually removes noise from the noise image to generate an image P20 in which the characteristics indicated by the label LB1 are reflected in the object included in the grayscale image GS1. In FIG. 1, the information processing device 100 gradually removes noise from the noise image using the model M1 to generate an image P20, which is a converted image in which the hoodie, which is an object included in the grayscale image GS1, is colored "green," which is indicated by the label LB1.
〔1-3.平坦化〕
上述した処理により所望の対象の所望の特徴を反映した画像を生成することができるが、さらに改善の余地がある。例えば、拡散モデル学習時に入力画像(学習用画像)をグレースケール変換のみ行った画像(グレースケール画像)を用いて学習した場合、色等の特徴を変換した場合、適切に特徴の変換が行われない場合がある。
[1-3. Flattening]
Although the above-mentioned process can generate an image that reflects the desired features of a desired target, there is still room for improvement. For example, when learning a diffusion model using an input image (learning image) that has only been converted to grayscale (a grayscale image), when features such as color are converted, the conversion of the features may not be performed appropriately.
例えば、学習用画像がグレースケール化されたグレースケール画像の各画素の画素値の分布に偏りがある場合等においては、変換後画像を適切に生成する拡散モデルを学習することが難しい場合がある。例えば、グレースケール画像の各画素の複数種別の色属性情報のうち明度(例えば白から黒までの階調)に対応する画素値(例えば0から255までの値)の分布に偏りがある場合等においては、変換後画像を適切に生成する拡散モデルを学習することが難しい場合がある。 For example, when there is a bias in the distribution of pixel values of each pixel of a grayscale image obtained by grayscaling a training image, it may be difficult to learn a diffusion model that appropriately generates a converted image. For example, when there is a bias in the distribution of pixel values (e.g., values from 0 to 255) corresponding to brightness (e.g., gradations from white to black) among multiple types of color attribute information of each pixel of a grayscale image, it may be difficult to learn a diffusion model that appropriately generates a converted image.
そこで、情報処理装置100は、学習用画像における所定の種別の色属性情報の分布を平坦化した画像(「平坦化後画像」ともいう)を生成し、生成した平坦化後画像を用いて、拡散モデルを学習する。この点について図2を用いて一例を説明する。なお、図1と同様の点については、同様の符号を付すこと等により適宜説明を省略する。 Therefore, the information processing device 100 generates an image (also called a "flattened image") in which the distribution of color attribute information of a predetermined type in the learning image is flattened, and the diffusion model is trained using the generated flattened image. An example of this point will be explained using Figure 2. Note that the same points as those in Figure 1 will be appropriately omitted from the explanation by assigning the same reference numerals, etc.
例えば、情報処理装置100は、学習用画像における明度の分布を平坦化したグレースケール画像を平坦化後画像として生成し、明度の分布が平坦化したグレースケール画像(「平坦化後グレースケール画像」ともいう)を用いて、拡散モデルを学習する。なお、明度は、平坦化の対象とする色属性情報の一例に過ぎず、平坦化の対象とする色属性情報は明度に限られないが、この点については後述する。 For example, the information processing device 100 generates a grayscale image in which the lightness distribution in the learning image is flattened as a flattened image, and uses the grayscale image in which the lightness distribution is flattened (also called the "flattened grayscale image") to learn the diffusion model. Note that lightness is merely one example of color attribute information to be flattened, and color attribute information to be flattened is not limited to lightness, but this point will be described later.
図2中のヒストグラムHG1は、平坦化処理を行っていない場合のグレースケール画像GS1での各画素の明度の分布を示すヒストグラムである。ヒストグラムHG1は、平坦化処理前のヒストグラムに対応する。図2では白から黒への横方向のバー内のハッチングの濃淡で画素値の高低を示す。例えば、ヒストグラムHG1の白(右端)が、グレースケール画像において画素が取り得る画素値(例えば明度)の最小値(例えば0等)に対応し、黒(左端)が、グレースケール画像において画素が取り得る画素値(例えば255等)の最大値に対応する。また、ヒストグラムHG1の縦方向が各画素値を有する画素の数(個数)を示す。例えば、ヒストグラムHG1の少(下端)が、対応する画素値を有する画素の数が0であることを示し、ヒストグラムHG1の多(上端)に向かうにつれて対応する画素値を有する画素の数が多いことを示す。ヒストグラムHG1中の波形が各画素値を有する画素の数を示す。図2では、グレースケール画像GS1に対応するヒストグラムHG1は、一部の画素値(白と黒の中間付近の値)を有する画素の数(出現頻度)が多く、分布に偏りがあるヒストグラムである。 The histogram HG1 in FIG. 2 is a histogram showing the distribution of brightness of each pixel in the grayscale image GS1 when flattening processing is not performed. The histogram HG1 corresponds to the histogram before flattening processing. In FIG. 2, the shade of hatching in the horizontal bar from white to black indicates the high and low of the pixel value. For example, white (right end) of the histogram HG1 corresponds to the minimum value (e.g., 0) of the pixel value (e.g., brightness) that a pixel can have in the grayscale image, and black (left end) corresponds to the maximum value (e.g., 255) that a pixel can have in the grayscale image. The vertical direction of the histogram HG1 indicates the number (number) of pixels having each pixel value. For example, the low (lower end) of the histogram HG1 indicates that the number of pixels having the corresponding pixel value is 0, and the high (upper end) of the histogram HG1 indicates that the number of pixels having the corresponding pixel value is large. The waveform in the histogram HG1 indicates the number of pixels having each pixel value. In FIG. 2, the histogram HG1 corresponding to the grayscale image GS1 is a histogram in which the number (occurrence frequency) of pixels having certain pixel values (values near the middle between black and white) is high, and the distribution is biased.
また、図2中のヒストグラムHG2は、平坦化処理を行った場合のグレースケール画像GS2での各画素の明度の分布を示すヒストグラムである。ヒストグラムHG2は、平坦化処理後のヒストグラムに対応する。なお、ヒストグラムHG2においてヒストグラムHG1と同様の点については適宜説明を省略する。図2では、グレースケール画像GS2に対応するヒストグラムHG2は、白から黒までの各画素値を有する画素の数の分布に偏りが無く、全体的に各画素値の個数が均一なヒストグラムである。 Furthermore, histogram HG2 in FIG. 2 is a histogram that shows the distribution of brightness of each pixel in grayscale image GS2 when flattening processing has been performed. Histogram HG2 corresponds to the histogram after flattening processing. Note that explanations of the similarities between histogram HG2 and histogram HG1 will be omitted as appropriate. In FIG. 2, histogram HG2 corresponding to grayscale image GS2 is a histogram in which there is no bias in the distribution of the number of pixels having each pixel value from white to black, and the number of each pixel value is uniform overall.
ここでいう平坦化処理は、ヒストグラム平坦化の処理であり、所定の画素値のヒストグラムが全体的にたいら(均一)になるように濃度変換する処理である。例えば、平坦化処理は、画像中の各画素の複数種別の色属性情報のうち、所定の種別の色属性情報(所定の種別に対応する画素値等)のヒストグラムが全体的にたいらになるように濃度変換する処理である。ヒストグラム平坦化の処理については、種々の従来技術が採用可能であり詳細な説明は省略する。 The flattening process referred to here is a histogram flattening process, which converts the density so that the histogram of a specified pixel value becomes flat (uniform) overall. For example, the flattening process is a process of converting the density so that the histogram of a specified type of color attribute information (such as pixel values corresponding to a specified type) out of multiple types of color attribute information for each pixel in an image becomes flat overall. Various conventional techniques can be used for the histogram flattening process, so a detailed description will be omitted.
例えば、情報処理装置100は、図1中の画像P10からグレースケール画像を生成する際に、グレースケール化する処理(グレースケール変換処理)に加えて、平坦化処理を行うことにより画像P10の平坦化後グレースケール画像であるグレースケール画像GS2を生成する。なお、情報処理装置100は、グレースケール画像GS1を対象として平坦化処理を行うことにより、平坦化後グレースケール画像であるグレースケール画像GS2を生成してもよい。 For example, when generating a grayscale image from image P10 in FIG. 1, the information processing device 100 performs a flattening process in addition to a grayscale conversion process to generate a grayscale image GS2 that is a flattened grayscale image of image P10. Note that the information processing device 100 may also generate the grayscale image GS2 that is a flattened grayscale image by performing a flattening process on the grayscale image GS1.
情報処理装置100は、平坦化処理により生成した平坦化後グレースケール画像であるグレースケール画像GS2を用いて、拡散モデルを学習する。すなわち、情報処理装置100は、平坦化後グレースケール画像であるグレースケール画像GS2をモデルM1への入力として用いて、拡散モデルを学習する。 The information processing device 100 learns the diffusion model using the grayscale image GS2, which is a flattened grayscale image generated by the flattening process. That is, the information processing device 100 learns the diffusion model using the grayscale image GS2, which is a flattened grayscale image, as an input to the model M1.
この場合、情報処理装置100は、図1に示す学習処理において、学習用グレースケール画像として平坦化後グレースケール画像を用いて、モデルM1を学習する。例えば、情報処理装置100は、図1に示す学習処理において、グレースケール画像GS2を学習用グレースケール画像として、モデルM1を学習する。なお、平坦化後グレースケール画像を用いた学習処理は、モデルM1に入力するグレースケール画像が平坦化後グレースケール画像となる点以外は、図1に示す学習処理と同様であるため、詳細な説明は省略する。 In this case, the information processing device 100 uses the flattened grayscale image as the learning grayscale image in the learning process shown in FIG. 1 to learn the model M1. For example, the information processing device 100 uses the grayscale image GS2 as the learning grayscale image in the learning process shown in FIG. 1 to learn the model M1. Note that the learning process using the flattened grayscale image is similar to the learning process shown in FIG. 1 except that the grayscale image input to the model M1 is the flattened grayscale image, and therefore a detailed description thereof will be omitted.
このように、情報処理装置100は、各画素に複数種別の色属性情報が対応付けられた学習用画像から、所定の種別の色属性情報である明度の分布を平坦化した平坦化後画像を生成する。そして、情報処理装置100は、生成した平坦化後画像と、ラベルとに基づいて、ノイズ画像を学習用画像に近づけるように変換する拡散モデルを学習する。これにより、情報処理装置100は、所定の種別の色属性情報に偏りがない平坦化後画像を用いて適切にモデルを学習することができる。したがって、情報処理装置100は、適切な画像生成を可能にすることができる。 In this way, the information processing device 100 generates a flattened image in which the distribution of brightness, which is a predetermined type of color attribute information, is flattened from a learning image in which multiple types of color attribute information are associated with each pixel. Then, the information processing device 100 learns a diffusion model that converts a noise image so as to approach the learning image, based on the generated flattened image and the label. This allows the information processing device 100 to appropriately learn the model using a flattened image that is not biased in the predetermined type of color attribute information. Therefore, the information processing device 100 can enable appropriate image generation.
例えば、拡散モデルを学習する際に指定された色ラベルごとに入力されるグレースケール画像のヒストグラムの組み合わせに偏りがあり、拡散モデルがこの偏りも含めて学習した場合、色変換時に、青い画像をグレー化したものと白のラベルの組み合わせを入力すると、学習時のデータ分布との差異が大きく、うまく変換できない場合がある。 For example, if there is a bias in the combination of histograms of grayscale images input for each color label specified when training a diffusion model, and the diffusion model is trained including this bias, when a combination of a blue image turned gray and a white label is input during color conversion, there may be a large difference from the data distribution at the time of training, and conversion may not be successful.
そこで、情報処理装置100は、モデルの学習時には、画像をグレースケール変換するだけでなく、ヒストグラム平坦化も合わせて実施した画像を入力画像とすることで、適切にモデルを学習することができる。例えば、情報処理装置100により生成される拡散モデルは、グレースケール画像を着色するだけでなく、平坦化されたヒストグラムを指定された色に応じたヒストグラムへと変換することも併せて学習するようになる。これにより、情報処理装置100は、着色時に元の画像とは異なる任意の色のラベルに差し替えた場合にもうまく着色が行われた変換後画像を生成することができる。 Therefore, when learning the model, the information processing device 100 can properly learn the model by using as an input image an image that has been subjected to grayscale conversion as well as histogram equalization. For example, the diffusion model generated by the information processing device 100 not only colors a grayscale image, but also learns to convert the flattened histogram into a histogram corresponding to a specified color. This allows the information processing device 100 to generate a converted image that is well colored even when the label of an arbitrary color different from that of the original image is replaced during coloring.
なお、平坦化後グレースケール画像を用いる場合、モデルM1を用いた画像の生成処理時においては、情報処理装置100は、対象画像の平坦化後グレースケール画像を用いて、変換後画像を生成してもよい。この場合、情報処理装置100は、図1に示す生成処理のステップS11において、グレースケール化する処理(グレースケール変換処理)に加えて、平坦化処理を行うにより画像P10の平坦化後グレースケール画像であるグレースケール画像GS2を生成する。そして、情報処理装置100は、平坦化後グレースケール画像を用いて、変換後画像を生成する。なお、平坦化後グレースケール画像を用いた生成処理は、モデルM1に入力するグレースケール画像が平坦化後グレースケール画像となる点以外は、図1に示す生成処理と同様であるため、詳細な説明は省略する。 When using a flattened grayscale image, in the image generation process using the model M1, the information processing device 100 may generate a converted image using the flattened grayscale image of the target image. In this case, in step S11 of the generation process shown in FIG. 1, the information processing device 100 generates a grayscale image GS2, which is a flattened grayscale image of the image P10, by performing a flattening process in addition to the grayscale conversion process (grayscale conversion process). Then, the information processing device 100 generates a converted image using the flattened grayscale image. Note that the generation process using the flattened grayscale image is similar to the generation process shown in FIG. 1 except that the grayscale image input to the model M1 is a flattened grayscale image, so a detailed description will be omitted.
〔1-4.その他(限定解除、サービス等)〕
なお、上述した処理は一例に過ぎず、情報処理装置100は、様々な情報を適宜用いて処理を行ってもよい。この点について以下例示を記載する。例えば、上述した例では、モデルM1へ入力する対象を含む画像(「対象撮像画像」ともいう)として、グレースケール画像が用いられる場合を示したが、対象撮像画像は、グレースケール画像に限らず、カラー画像等の任意の画像が用いられてもよい。
[1-4. Other (removal of restrictions, services, etc.)]
The above-described process is merely an example, and the information processing device 100 may perform the process using various information as appropriate. In this regard, an example will be described below. For example, in the above-described example, a grayscale image is used as an image including a target to be input to the model M1 (also referred to as a "target captured image"), but the target captured image is not limited to a grayscale image, and any image such as a color image may be used.
また、上述した例では、色を変換対象とする場合を説明したが、情報処理装置100は、画像に含まれる対象の色に限らず、対象の形状、雰囲気等の任意の対象を変換対象としてもよい。例えば、情報処理装置100は、画像に含まれる対象の色、形状、雰囲気の少なくとも1つを変換対象とする。 In the above example, the case where the color is the conversion target has been described, but the information processing device 100 may convert any object, such as the shape or atmosphere of an object, rather than the color of the object contained in the image. For example, the information processing device 100 converts at least one of the color, shape, and atmosphere of an object contained in the image.
例えば、情報処理装置100は、画像に含まれる対象の形状を変換対象とする場合、学習する拡散モデルへ入力するラベルとして、対象の形状を示すラベル(「形状ラベル」ともいう)を用いる。例えば、学習処理時において、情報処理装置100は、画像に含まれる対象の形状が矩形である場合、その画像を用いた学習時のラベルとして、矩形を示す形状ラベルを用いる。 For example, when the shape of an object contained in an image is the object to be converted, the information processing device 100 uses a label indicating the shape of the object (also called a "shape label") as the label to be input to the learning diffusion model. For example, during the learning process, when the shape of the object contained in the image is rectangular, the information processing device 100 uses a shape label indicating a rectangle as the label when learning using that image.
また、例えば、生成処理時において、情報処理装置100は、対象画像に含まれる対象の形状を円形にしたい場合、対象画像とともに円形を示す形状ラベルを拡散モデルに入力することにより、形状が変換された変換後画像を生成する。なお、上記は一例に過ぎず、情報処理装置100は、変換対象に応じて適宜の情報を用いて拡散モデルを学習し、学習した拡散モデルを用いて変換後画像を生成する。 For example, during the generation process, if the information processing device 100 wants to make the shape of an object contained in a target image circular, the information processing device 100 generates a transformed image with a transformed shape by inputting a shape label indicating a circular shape along with the target image into the diffusion model. Note that the above is merely an example, and the information processing device 100 learns the diffusion model using appropriate information according to the conversion object, and generates a transformed image using the learned diffusion model.
例えば、上述した例では、複数種別の色属性情報のうち、明度を平坦化の対象とする場合を説明したが、情報処理装置100は、明度に限らず、画像に関する任意の対象を平坦化の対象としてもよい。例えば、情報処理装置100は、色相、彩度等を平坦化の対象としてもよい。 For example, in the above example, a case has been described in which, among multiple types of color attribute information, lightness is the target of flattening, but the information processing device 100 may flatten any target related to the image, not limited to lightness. For example, the information processing device 100 may flatten hue, saturation, etc.
また、情報処理装置100は、画像の色の表現形式に応じた色属性情報を平坦化の対象としてもよい。例えば、情報処理装置100は、画像の色の表現形式がRGB(赤、緑、青)である場合、画像の各画素に対応付けられたR(赤)に関する値、G(緑)に関する値、B(青)に関する値の少なくとも1つを平坦化の対象としてもよい。例えば、情報処理装置100は、G(緑)に関する値を平坦化の対象とする場合、画像におけるG(緑)に関する画素値のヒストグラムが全体的にたいらになるように濃度変換する処理を実行する。 In addition, the information processing device 100 may flatten color attribute information according to the color expression format of the image. For example, when the color expression format of the image is RGB (red, green, blue), the information processing device 100 may flatten at least one of the values related to R (red), G (green), and B (blue) associated with each pixel of the image. For example, when the values related to G (green) are to be flattened, the information processing device 100 performs a process of density conversion so that the histogram of pixel values related to G (green) in the image becomes uniform overall.
また、例えば、情報処理装置100は、画像の色の表現形式がCMYK(シアン、マゼンタ、イエロー、ブラック(キー・プレート))である場合、画像の各画素に対応付けられたC(シアン)に関する値、M(マゼンタ)に関する値、Y(イエロー)に関する値、K(ブラック)に関する値の少なくとも1つを平坦化の対象としてもよい。例えば、情報処理装置100は、K(ブラック)に関する値を平坦化の対象とする場合、画像におけるK(ブラック)に関する画素値のヒストグラムが全体的にたいらになるように濃度変換する処理を実行する。 Also, for example, when the color representation format of an image is CMYK (cyan, magenta, yellow, black (key plate)), the information processing device 100 may target at least one of the values related to C (cyan), M (magenta), Y (yellow), and K (black) associated with each pixel of the image for flattening. For example, when the information processing device 100 targets values related to K (black) for flattening, it performs a density conversion process so that the histogram of pixel values related to K (black) in the image becomes uniform overall.
また、情報処理装置100は、生成した変換後画像を用いて、様々なサービスを提供してもよい。図1では、情報処理装置100は、生成した変換後画像である画像P20を用いたサービスを、対象画像である画像P10を指定したユーザ(「指定元ユーザ」ともいう)に提供してもよい。情報処理装置100は、画像P20に類似する類似画像検索の検索結果を、指定元ユーザが利用する端末装置10に送信する。 In addition, the information processing device 100 may provide various services using the generated post-conversion image. In FIG. 1, the information processing device 100 may provide a service using the generated post-conversion image, image P20, to a user (also referred to as the "designating user") who designated the target image, image P10. The information processing device 100 transmits search results of a similar image search similar to image P20 to the terminal device 10 used by the designating user.
情報処理装置100は、指定元ユーザに検索サービスを提供してもよい。この場合、情報処理装置100は、画像P20を検索クエリとなる画像(「クエリ画像」ともいう)として受け付け、検索対象となる各種画像の中からクエリ画像(画像P20)と類似する画像を検索する検索処理を実行し、検索結果を提供する。 The information processing device 100 may provide a search service to the designated user. In this case, the information processing device 100 accepts the image P20 as an image that serves as a search query (also referred to as a "query image"), executes a search process to search for images similar to the query image (image P20) from among various images to be searched, and provides the search results.
例えば、情報処理装置100は、電子商店街(ECサイト等)において出品された商品等の取引対象を含む画像(取引対象画像)のインデックスを用いて、画像P20の類似画像の検索処理を実行し、画像P20の類似画像の検索結果を提供する。情報処理装置100は、画像P20の類似画像の検索結果に関する情報を指定元ユーザに提供する。情報処理装置100は、画像P20の類似画像の検索結果を指定元ユーザが利用する端末装置10に送信する。 For example, the information processing device 100 executes a search process for images similar to image P20 using an index of images (trading target images) that include trading targets such as products listed in an online shopping mall (EC site, etc.), and provides the search results for images similar to image P20. The information processing device 100 provides the designated user with information regarding the search results for images similar to image P20. The information processing device 100 transmits the search results for images similar to image P20 to the terminal device 10 used by the designated user.
上述したように、情報処理装置100は、所定の対象が撮影された学習画像のグレースケール画像と、所定の対象の特徴を示すラベルとに従って、ノイズ画像を学習画像に近づけるように変換する拡散モデルを学習する。例えば、情報処理装置100は、学習画像にノイズを段階的に付与した複数の段階画像を生成し、段階画像からノイズを1段階除去した段階画像を生成するように、拡散モデルを学習する。また、例えば、情報処理装置100は、ユーザから画像を取得し、取得した画像をグレースケール化して、入力された特徴で所望する対象が撮影された画像を生成し、生成した画像を用いて、所定の対象と類似する商品をEC(電子商取引)サービス等で画像検索する。 As described above, the information processing device 100 learns a diffusion model that converts a noise image to approach a training image according to a grayscale image of a training image in which a specific object is captured and a label indicating the characteristics of the specific object. For example, the information processing device 100 generates multiple stage images in which noise is added to the training image in stages, and learns the diffusion model to generate a stage image in which noise is removed from the stage image by one stage. Also, for example, the information processing device 100 acquires an image from a user, converts the acquired image into grayscale, generates an image in which a desired object is captured using the input characteristics, and uses the generated image to perform an image search for products similar to the specific object in an EC (electronic commerce) service or the like.
また、情報処理装置100は、所定の対象が撮影された学習画像であって各画素に複数種別の色属性情報(色彩情報)が対応付けられた学習画像から、所定種別の色彩情報が示す示唆画像であって、当該所定種別の色彩情報の分布を平坦化した平坦化画像(示唆画像)を生成する。例えば、情報処理装置100は、示唆画像と、所定の対象の特徴を示すラベルとに従って、ノイズ画像を学習画像に近づけるように変換する拡散モデルを学習する。例えば、情報処理装置100は、白飛びした画像の平坦化と、通常の画像の平坦化とを学習したチャンネル推定モデルを生成してもよい。この場合、情報処理装置100は、生成したチャンネル推定モデルで示唆画像を生成してもよい。 The information processing device 100 also generates a flattened image (suggested image) that is a suggested image indicated by a predetermined type of color information and in which the distribution of the predetermined type of color information is flattened, from a learning image in which a predetermined object is photographed and in which multiple types of color attribute information (color information) are associated with each pixel. For example, the information processing device 100 learns a diffusion model that converts a noise image to approach the learning image according to the suggested image and a label indicating the characteristics of the predetermined object. For example, the information processing device 100 may generate a channel estimation model that has learned to flatten an image with blown out highlights and a normal image. In this case, the information processing device 100 may generate a suggested image using the generated channel estimation model.
上述したように、情報処理装置100は、画像をグレースケール化した画像に含まれる対象に所望の色付けするように学習する。例えば、情報処理装置100は、元の画像と元の画像にノイズを乗せたノイズ画像を準備して、ノイズ画像を元の画像に戻すように学習する。例えば、情報処理装置100は、段階的にいろいろなノイズ画像を作成して学習し、ノイズに対して何度もモデルがノイズ除去することで、元の画像を再現することができる。 As described above, the information processing device 100 learns to color objects contained in a grayscale image as desired. For example, the information processing device 100 prepares an original image and a noise image in which noise is added to the original image, and learns to return the noise image to the original image. For example, the information processing device 100 creates and learns various noise images in stages, and the model removes noise multiple times, thereby reproducing the original image.
また、情報処理装置100は、拡散モデルの学習時に、元の画像を示す情報(各種のラベル、被写体の名称やどんなシーンであるか、被写体の色等)を入力して学習するようにする。情報処理装置100は、様々な画像を学習用画像として、ノイズ画像と、学習用画像のグレースケール画像と、ラベルとを入力して何度もノイズ除去することで、ラベルが示す特徴をグレースケール画像に反映した画像を生成するようなモデルを学習することが成できる。 In addition, when training the diffusion model, the information processing device 100 inputs information indicating the original image (various labels, the name of the subject, the type of scene, the color of the subject, etc.) to train the model. The information processing device 100 inputs various images as training images, noise images, grayscale images of the training images, and labels, and performs noise removal multiple times, thereby training a model that generates an image in which the features indicated by the labels are reflected in the grayscale image.
上述したように、情報処理装置100は、複数種別の色属性情報のうち所定の種別である1チャンネルを平坦化した平坦化画像と、学習用画像に対応するラベルとから、ノイズ画像を学習用画像に復元するようにモデルを学習する。例えば、情報処理装置100は、通常画像から白飛び画像を生成し、生成した白飛び画像を用いて学習を行ってもよい。 As described above, the information processing device 100 learns a model to restore a noise image to a learning image from a flattened image obtained by flattening one channel, which is a specific type among multiple types of color attribute information, and a label corresponding to the learning image. For example, the information processing device 100 may generate a blown-out image from a normal image and perform learning using the generated blown-out image.
また、情報処理装置100は、複数種別の色属性情報のうち所定の種別の色属性情報のヒストグラムの偏りに応じて、処理を切り替えてもよい。例えば、情報処理装置100は、所定の種別の色属性情報のヒストグラムに所定の基準以上の偏りがある場合、StarGAN(Generative Adversarial Network)等のGANモデルを用いて変換後画像を生成してもよい。また、情報処理装置100は、所定の種別の色属性情報のヒストグラムに所定の基準以上の偏りがない場合、拡散モデルを用いて変換後画像を生成してもよい。 The information processing device 100 may also switch processing depending on the bias of the histogram of a specific type of color attribute information among the multiple types of color attribute information. For example, if the histogram of the specific type of color attribute information has a bias equal to or greater than a specific standard, the information processing device 100 may generate a converted image using a GAN model such as StarGAN (Generative Adversarial Network). If the histogram of the specific type of color attribute information does not have a bias equal to or greater than a specific standard, the information processing device 100 may generate a converted image using a diffusion model.
また、情報処理装置100は、画像中の一部の領域(範囲)のみの特徴を変換した変換後画像を生成してもよい。この場合、情報処理装置100は、画像中の一部の領域を指定する範囲指定情報も入力とするモデルを学習し、学習したモデルを用いて、一部の領域のみを変換の対象とした変換後画像を生成してもよい。例えば、情報処理装置100は、画像中の一部の領域以外をマスクするマスク情報を入力とするモデルを学習し、学習したモデルを用いて、一部の領域のみを変換の対象とした変換後画像を生成してもよい。また、上述したラベルは、変換対象とする特徴を示す情報であれば、文字情報に限らず任意の情報であってもよい。例えば、ラベルは、雰囲気を示す画像、ヒストグラム、他の画像等の任意の画像であってもよい。 In addition, the information processing device 100 may generate a converted image in which the features of only a portion of the area (range) in the image are converted. In this case, the information processing device 100 may learn a model that also takes as input range designation information that designates a portion of the area in the image, and use the learned model to generate a converted image in which only a portion of the area is the target of conversion. For example, the information processing device 100 may learn a model that takes as input mask information that masks areas other than the portion of the image, and use the learned model to generate a converted image in which only a portion of the area is the target of conversion. In addition, the above-mentioned label may be any information, not limited to text information, as long as it is information that indicates the features to be converted. For example, the label may be any image, such as an image indicating an atmosphere, a histogram, or another image.
〔2.情報処理システムの構成〕
次に、図3を用いて情報処理システム1の構成例について説明する。図3は、実施形態に係る情報処理システムの構成例を示す図である。図3に示すように、情報処理システム1は、情報処理装置100と、情報提供装置50と、端末装置10とが含まれる。情報処理装置100と、情報提供装置50と、端末装置10とは所定のネットワークNを介して、有線または無線により通信可能に接続される。なお、図3に示した情報処理システム1には、複数の情報処理装置100、複数の情報提供装置50、複数の端末装置10が含まれてもよい。
2. Configuration of Information Processing System
Next, a configuration example of the
情報処理装置100は、拡散モデル等のモデルを学習するコンピュータである。すなわち、情報処理装置100は、学習処理を行う学習装置である。情報処理装置100は、所定の対象が撮像された学習用画像がグレースケール化された学習用グレースケール画像と、学習用画像における所定の対象の特徴を示すラベルとに基づいて拡散モデルを学習する。例えば、情報処理装置100は、ノイズが含まれる画像である一のノイズ画像を学習用画像に近づけるように変換する拡散モデルを学習する。 The information processing device 100 is a computer that learns a model such as a diffusion model. In other words, the information processing device 100 is a learning device that performs learning processing. The information processing device 100 learns a diffusion model based on a learning grayscale image in which a learning image of a specific object is grayscaled, and a label that indicates the characteristics of the specific object in the learning image. For example, the information processing device 100 learns a diffusion model that converts a noise image, which is an image that includes noise, so as to approximate the learning image.
また、情報処理装置100は、各画素に複数種別の色属性情報が対応付けられた学習用画像から、所定の種別の色属性情報の分布を平坦化した平坦化後画像を生成する生成装置である。例えば、情報処理装置100は、平坦化後画像と、学習用画像における所定の対象の特徴を示すラベルとに基づいて、一のノイズ画像を学習用画像に近づけるように変換する拡散モデルを学習する。 In addition, the information processing device 100 is a generating device that generates a flattened image in which the distribution of a predetermined type of color attribute information is flattened from a learning image in which multiple types of color attribute information are associated with each pixel. For example, the information processing device 100 learns a diffusion model that converts a noise image so as to approach the learning image, based on the flattened image and a label that indicates the characteristics of a predetermined target in the learning image.
情報処理装置100は、ユーザから変換対象となる対象画像の指定を受け付け、ユーザが指定した対象画像のグレースケール画像と拡散モデルとを用いて変換後画像を生成する。また、情報処理装置100は、ユーザから変換後の特徴を指定する指定情報を受け付け、ユーザが指定した特徴が反映された変換後画像を生成する。情報処理装置100は、生成した変換後画像を用いたサービスをユーザに提供する。情報処理装置100は、変換後画像に類似する類似画像検索の検索結果を、ユーザが利用する端末装置10に送信する。 The information processing device 100 receives from the user a designation of a target image to be transformed, and generates a transformed image using a grayscale image of the target image designated by the user and a diffusion model. The information processing device 100 also receives designation information from the user that designates post-transformation features, and generates a transformed image that reflects the features designated by the user. The information processing device 100 provides the user with a service that uses the generated transformed image. The information processing device 100 transmits search results of a similar image search that is similar to the transformed image to the terminal device 10 used by the user.
情報処理装置100は、端末装置10を利用するユーザに検索サービスを提供するコンピュータである。この場合、情報処理装置100は、検索サービスを提供する検索サーバとしての機能を有する。例えば、情報処理装置100は、変換後画像を検索クエリとなる画像(クエリ画像)として受け付けると、検索対象となる各種画像の中からクエリ画像(変換後画像)と類似する画像を検索する検索処理を実行し、検索結果を提供する。 The information processing device 100 is a computer that provides a search service to a user who uses the terminal device 10. In this case, the information processing device 100 has a function as a search server that provides the search service. For example, when the information processing device 100 receives a converted image as an image (query image) that serves as a search query, it executes a search process that searches for images similar to the query image (converted image) from among various images that are the subject of the search, and provides the search results.
情報処理装置100は、端末装置10から変換対象となる対象画像及び特徴を指定する指定情報を受け付け、拡散モデルであるモデルM1を用いて、その対象画像に含まれる対象物に指定情報が示す特徴が反映された変換後画像を生成する。例えば、情報処理装置100は、ノイズ画像、対象画像及びユーザが指定した色を示す指定情報をモデルM1への入力として、ノイズを除去する処理を繰り返すことにより、指定情報が示す色に対象画像に含まれる対象物が着色された変換後画像を生成する。 The information processing device 100 receives from the terminal device 10 specification information that specifies the target image and features to be transformed, and uses model M1, which is a diffusion model, to generate a transformed image in which the features indicated by the specification information are reflected in the objects included in the target image. For example, the information processing device 100 uses the noise image, the target image, and specification information indicating a color specified by the user as input to model M1, and repeats a process of removing noise to generate a transformed image in which the objects included in the target image are colored in the color indicated by the specification information.
情報処理装置100は、変換後画像を基に検索処理を実行し、検索結果を提供する。例えば、情報処理装置100は、検索対象となる商品等の取引対象を含む画像(取引対象画像)のインデックスを用いて、検索処理を実行し、検索結果を提供してもよい。例えば、情報処理装置100は、電子商店街(ECサイト等)において出品された取引対象の各々について、取引対象を示す画像として登録された取引対象画像を用いて検索処理を実行する。 The information processing device 100 executes a search process based on the converted image and provides search results. For example, the information processing device 100 may execute a search process and provide search results using an index of an image (a trading object image) that includes a trading object such as a product that is the subject of the search. For example, the information processing device 100 executes a search process for each trading object listed in an online shopping mall (an EC site, etc.) using a trading object image registered as an image indicating the trading object.
例えば、情報処理装置100は、電子商店街において出品された取引対象の中から、取引対象画像がクエリ画像(変換後画像)と類似する取引対象を検索し、変換後画像がクエリ画像(変換後画像)と類似する取引対象の情報を、類似画像の検索結果として抽出する。なお、情報処理装置100は、類似画像の検索が可能であれば、任意の画像検索に関する技術を適宜用いて画像検索の処理を行えばよく、画像検索についての詳細な説明は省略する。 For example, the information processing device 100 searches for trading objects whose images are similar to the query image (converted image) from among trading objects listed in the online shopping mall, and extracts information on trading objects whose converted images are similar to the query image (converted image) as search results for similar images. Note that as long as the information processing device 100 is capable of searching for similar images, it can perform image search processing using any image search technology as appropriate, and a detailed description of image search will be omitted.
情報処理装置100は、類似画像の検索結果に関する情報をユーザに提供する。情報処理装置100は、類似画像の検索結果をユーザが利用する端末装置10に送信する。例えば、情報処理装置100は、検索結果として抽出した取引対象の変換後画像や価格、取引対象を販売する電子商店街の店舗の情報等を提供する。 The information processing device 100 provides the user with information regarding the search results for similar images. The information processing device 100 transmits the search results for similar images to the terminal device 10 used by the user. For example, the information processing device 100 provides the converted image and price of the transaction object extracted as the search result, information on the store in the online shopping mall that sells the transaction object, etc.
このように、情報処理装置100は、クエリ画像となる変換後画像に、取引対象画像が類似する取引対象の情報を提供する。なお、情報処理装置100は、変換後画像と取引対象画像との類似度に応じたランキングを生成し、生成したランキングを検索結果として提供してもよい。この場合、情報処理装置100は、変換後画像と取引対象画像との類似度が高い方から順に高い順位を付与し、高い順位の取引対象から順に並べたランキングを示す一覧情報を生成し、生成した一覧情報を、類似画像の検索結果として、ユーザが利用する端末装置10に送信してもよい。 In this way, the information processing device 100 provides information on trading objects whose trading object images are similar to the converted image that is the query image. The information processing device 100 may generate a ranking according to the similarity between the converted image and the trading object image, and provide the generated ranking as a search result. In this case, the information processing device 100 may assign a higher ranking to the trading object images with the highest similarity, generate list information showing the ranking of trading objects arranged in descending order of the ranking, and transmit the generated list information to the terminal device 10 used by the user as a search result for similar images.
なお、上記は一例に過ぎず、ユーザに検索サービスを提供する装置は、情報処理装置100に限らず、情報処理システム1に含まれる他の装置であってもよい。例えば、情報提供装置50がユーザに検索サービスを提供してもよいし、情報処理システム1にはユーザに検索サービスを提供する検索サーバが含まれてもよい。
Note that the above is merely an example, and the device that provides a search service to the user is not limited to the information processing device 100, but may be another device included in the
情報提供装置50は、モデルの学習に利用可能な情報(データ)を情報処理装置100へ提供するサーバ装置である。例えば、情報提供装置50は、モデルの学習への利用が許可されているデータを、学習用データとして情報処理装置100へ送信する。例えば、情報提供装置50は、インターネット上で公開データを公開し、情報処理装置100等の外部装置からの要求に応じて、要求先の外部装置へ要求されたデータを送信する。例えば、情報提供装置50は、情報処理装置100からデータを要求する要求情報を受信し、要求情報の受信に応じて、情報処理装置100へ要求情報に対応するデータを送信する。
The
例えば、情報提供装置50は、一の画像に段階的にノイズを付与した画像群と、その一の画像に含まれる対象物の特徴を示す特徴情報とを対応付けた情報を学習用データとして、情報処理装置100へ送信する。例えば、情報提供装置50は、ECサイト等において取引される取引対象の取引対象画像に段階的にノイズが付与された複数の段階画像と、その取引対象の色等の特徴を示す特徴情報とを対応付けたデータを、学習用データとして情報処理装置100へ送信する。
For example, the
端末装置10は、ユーザによって利用される情報処理装置である。端末装置10は、例えば、スマートフォンや、タブレット型端末や、ノート型PC(Personal Computer)や、デスクトップPCや、携帯電話機や、PDA(Personal Digital Assistant)等により実現される。なお、端末装置10をユーザと表記する場合がある。すなわち、ユーザを端末装置10と読み替えることもできる。 The terminal device 10 is an information processing device used by a user. The terminal device 10 is realized, for example, by a smartphone, a tablet terminal, a notebook PC (Personal Computer), a desktop PC, a mobile phone, a PDA (Personal Digital Assistant), etc. The terminal device 10 may be referred to as a user. In other words, the user can also be read as the terminal device 10.
端末装置10は、ユーザによる操作を受け付ける。また、端末装置10は、ユーザの操作に応じて、情報処理装置100や情報提供装置50に種々の情報を送信する。例えば、端末装置10は、情報処理装置100や情報提供装置50に各種情報を要求する要求情報等を送信する。また、端末装置10は、情報処理装置100や情報提供装置50から種々の情報を受信する。
The terminal device 10 accepts operations by the user. In addition, the terminal device 10 transmits various information to the information processing device 100 and the
端末装置10は、ユーザが指定した変換対象となる画像(対象画像)を情報処理装置100へ送信する。端末装置10は、ユーザが指定した特徴を示す情報(指定情報)を情報処理装置100へ送信する。 The terminal device 10 transmits an image to be converted (target image) specified by the user to the information processing device 100. The terminal device 10 transmits information indicating the characteristics specified by the user (specified information) to the information processing device 100.
端末装置10は、類似画像の検索結果を情報処理装置100から受信する。例えば、端末装置10は、検索結果として抽出した取引対象の変換後画像や価格、取引対象を販売する電子商店街の店舗の情報等を情報処理装置100から受信する。 The terminal device 10 receives the search results for similar images from the information processing device 100. For example, the terminal device 10 receives from the information processing device 100 the converted image and price of the transaction object extracted as the search result, information on the store in the online shopping mall that sells the transaction object, etc.
端末装置10は、クエリ画像となる変換後画像に、取引対象画像が類似する取引対象の情報を情報処理装置100から受信する。端末装置10は、変換後画像と取引対象画像との類似度に応じたランキングを情報処理装置100から受信する。端末装置10は、変換後画像と取引対象画像との類似度が高い方から順に高い順位を付与し、高い順位の取引対象から順に並べたランキングを示す一覧情報を、類似画像の検索結果として、情報処理装置100から受信する。 The terminal device 10 receives from the information processing device 100 information on transaction objects whose images are similar to the transformed image that is the query image. The terminal device 10 receives from the information processing device 100 a ranking according to the degree of similarity between the transformed image and the transaction object image. The terminal device 10 assigns a higher rank to the transaction object with the highest degree of similarity between the transformed image and the transaction object image, and receives list information from the information processing device 100 indicating the ranking of the transaction objects arranged in descending order of the rank, as the search result of similar images.
〔3.情報処理装置の構成〕
次に、図4を用いて、実施形態に係る情報処理装置100の構成について説明する。図4は、実施形態に係る情報処理装置100の構成例を示す図である。図4に示すように、情報処理装置100は、通信部110と、記憶部120と、制御部130とを有する。なお、情報処理装置100は、情報処理装置100の管理者等から各種操作を受け付ける入力部(例えば、キーボードやマウス等)や、各種情報を表示するための表示部(例えば、液晶ディスプレイ等)を有してもよい。
3. Configuration of information processing device
Next, the configuration of the information processing device 100 according to the embodiment will be described with reference to Fig. 4. Fig. 4 is a diagram showing an example of the configuration of the information processing device 100 according to the embodiment. As shown in Fig. 4, the information processing device 100 has a communication unit 110, a storage unit 120, and a control unit 130. Note that the information processing device 100 may have an input unit (e.g., a keyboard, a mouse, etc.) that accepts various operations from an administrator of the information processing device 100, and a display unit (e.g., a liquid crystal display, etc.) that displays various information.
(通信部110)
通信部110は、例えば、NIC(Network Interface Card)等によって実現される。そして、通信部110は、ネットワークと有線または無線で接続され、端末装置10や情報提供装置50との間で情報の送受信を行う。
(Communication unit 110)
The communication unit 110 is realized by, for example, a network interface card (NIC) etc. The communication unit 110 is connected to a network via a wired or wireless connection, and transmits and receives information between the terminal device 10 and the
(記憶部120)
記憶部120は、例えば、RAM(Random Access Memory)、フラッシュメモリ(Flash Memory)等の半導体メモリ素子、または、ハードディスク、光ディスク等の記憶装置によって実現される。実施形態に係る記憶部120は、図4に示すように、学習用データ記憶部121と、モデル情報記憶部122とを有する。
(Memory unit 120)
The storage unit 120 is realized by, for example, a semiconductor memory element such as a random access memory (RAM) or a flash memory, or a storage device such as a hard disk or an optical disk. As shown in FIG. 4 , the storage unit 120 according to the embodiment has a learning data storage unit 121 and a model
(学習用データ記憶部121)
実施形態に係る学習用データ記憶部121は、学習に用いるデータに関する各種情報(学習用データ)を記憶する。学習用データ記憶部121は、モデルの生成に用いる教師データを記憶する。学習用データ記憶部121は、入力に用いるデータやそのデータに対応する正解情報(正解画像)といった情報を含む学習用データ情報を記憶する。
(Learning Data Storage Unit 121)
The learning data storage unit 121 according to the embodiment stores various information (learning data) related to data used for learning. The learning data storage unit 121 stores teacher data used for generating a model. The learning data storage unit 121 stores learning data information including information such as data used for input and correct answer information (correct answer image) corresponding to the data.
学習用データ記憶部121は、入力に用いるノイズ画像、グレースケール画像、及びラベルの組み合わせと、その入力に対応する画像データ(正解画像)とが対応付けられた学習用データを記憶する。 The learning data storage unit 121 stores learning data that associates a combination of noise images, grayscale images, and labels used for input with image data (correct image) that corresponds to the input.
なお、学習用データ記憶部121は、上記に限らず、目的に応じて種々の情報を記憶してもよい。例えば、学習用データ記憶部121は、入力データの種別を示す情報を各入力データに対応付けて記憶する。例えば、学習用データ記憶部121は、平坦化される対象となる色属性の種別を示す情報を各データに対応付けて記憶する。 The learning data storage unit 121 may store various information according to the purpose, not limited to the above. For example, the learning data storage unit 121 stores information indicating the type of input data in association with each input data. For example, the learning data storage unit 121 stores information indicating the type of color attribute to be flattened in association with each data.
(モデル情報記憶部122)
実施形態に係るモデル情報記憶部122は、モデルに関する情報を記憶する。例えば、モデル情報記憶部122は、学習処理により学習(生成)された学習済みモデル(モデル)の情報(モデルデータ)を記憶する。図5は、実施形態に係るモデル情報記憶部の一例を示す図である。図5に示した例では、モデル情報記憶部122は、「モデルID」、「用途」、「モデルデータ」といった項目が含まれる。
(Model information storage unit 122)
The model
「モデルID」は、モデルを識別するための識別情報を示す。「用途」は、対応するモデルの用途を示す。「モデルデータ」は、モデルのデータを示す。図5では「モデルデータ」に「MDT1」といった概念的な情報が格納される例を示したが、実際には、モデルの構成(ネットワーク構成)の情報やパラメータに関する情報等、そのモデルを構成する種々の情報が含まれる。例えば、「モデルデータ」には、ネットワークの各層におけるノードと、各ノードが採用する関数と、ノードの接続関係と、ノード間の接続に対して設定される接続係数とを含む情報が含まれる。 "Model ID" indicates identification information for identifying a model. "Use" indicates the use of the corresponding model. "Model data" indicates the data of the model. Figure 5 shows an example in which conceptual information such as "MDT1" is stored in "model data", but in reality, various information that constitutes the model is included, such as information on the model configuration (network configuration) and information on parameters. For example, "model data" includes information including the nodes in each layer of the network, the functions employed by each node, the connection relationships between the nodes, and the connection coefficients set for the connections between the nodes.
図5では、モデルID「M1」により識別されるモデル(モデルM1)は、用途が「画像生成」であり、例えば、モデルM1は、対象物が撮像された画像中の対象物の色を変換したり、着色を行ったりするために用いられるモデルであることを示す。また、モデルM1のモデルデータは、モデルデータMDT1であることを示す。 In FIG. 5, the model (model M1) identified by the model ID "M1" has an application of "image generation," which indicates that, for example, model M1 is a model used to convert or color an object in an image of the object. Also, it indicates that the model data of model M1 is model data MDT1.
なお、モデル情報記憶部122は、上記に限らず、目的に応じて種々の情報を記憶してもよい。なお、モデルM1等のモデルは、人工知能ソフトウェアの一部であるプログラムモジュールとしての利用が想定されるものであってもよい。モデルM1等のモデルは、プログラムであってもよい。
The model
(制御部130)
図4の説明に戻って、制御部130は、コントローラ(controller)であり、例えば、CPU(Central Processing Unit)やMPU(Micro Processing Unit)等によって、情報処理装置100内部の記憶装置に記憶されている各種プログラム(学習プログラムや生成プログラム等の情報処理プログラムの一例に相当)がRAMを作業領域として実行されることにより実現される。また、制御部130は、コントローラであり、例えば、ASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)等の集積回路により実現される。
(Control unit 130)
Returning to the explanation of Fig. 4, the control unit 130 is a controller, and is realized, for example, by a CPU (Central Processing Unit) or an MPU (Micro Processing Unit) executing various programs (corresponding to examples of information processing programs such as a learning program and a generation program) stored in a storage device inside the information processing device 100 using a RAM as a working area. The control unit 130 is also a controller, and is realized, for example, by an integrated circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array).
図4に示すように、制御部130は、取得部131と、生成部132と、学習部133と、処理部134と、提供部135とを有し、以下に説明する情報処理の機能や作用を実現または実行する。なお、制御部130の内部構成は、図4に示した構成に限られず、後述する情報処理を行う構成であれば他の構成であってもよい。 As shown in FIG. 4, the control unit 130 has an acquisition unit 131, a generation unit 132, a learning unit 133, a processing unit 134, and a provision unit 135, and realizes or executes the functions and actions of the information processing described below. Note that the internal configuration of the control unit 130 is not limited to the configuration shown in FIG. 4, and may be other configurations as long as they perform the information processing described below.
(取得部131)
取得部131は、各種情報を取得する。取得部131は、端末装置10や情報提供装置50等の外部の情報処理装置から各種情報を取得する。取得部131は、学習用データ記憶部121やモデル情報記憶部122等に示す各種情報を、外部の情報処理装置から受信してもよい。
(Acquisition unit 131)
The acquisition unit 131 acquires various information. The acquisition unit 131 acquires various information from an external information processing device such as the terminal device 10 or the
取得部131は、記憶部120から各種情報を取得する。取得部131は、学習用データ記憶部121やモデル情報記憶部122等から各種情報を取得する。取得部131は、外部装置から各種情報を受信する。
The acquisition unit 131 acquires various information from the storage unit 120. The acquisition unit 131 acquires various information from the learning data storage unit 121, the model
取得部131は、ユーザが利用する端末装置10から各種情報を受信する。例えば、取得部131は、端末装置10から色変換の対象となる対象物を含むグレースケール画像を受信する。例えば、取得部131は、端末装置10からユーザが指定したグレースケール画像を受信する。例えば、取得部131は、端末装置10から端末装置10を利用するユーザが指定する特徴を示す特徴情報を受信する。 The acquisition unit 131 receives various information from the terminal device 10 used by the user. For example, the acquisition unit 131 receives a grayscale image including an object to be color converted from the terminal device 10. For example, the acquisition unit 131 receives a grayscale image specified by the user from the terminal device 10. For example, the acquisition unit 131 receives feature information indicating features specified by the user using the terminal device 10 from the terminal device 10.
取得部131は、情報提供装置50から各種情報を受信する。例えば、取得部131は、情報提供装置50から学習に用いる情報を受信する。例えば、取得部131は、情報提供装置50からモデルM1の学習に用いる学習用データを受信する。
The acquisition unit 131 receives various information from the
取得部131は、所定の対象が撮像された画像である学習用画像がグレースケール化された学習用グレースケール画像を取得する。取得部131は、学習用画像における所定の対象の特徴を示すラベルを取得する。取得部131は、学習用画像における所定の対象の色、形状、雰囲気の少なくとも1つを含む特徴を示すラベルを取得する。取得部131は、学習用画像における所定の対象の色を示すラベルを取得する。 The acquisition unit 131 acquires a learning grayscale image in which a learning image, which is an image of a specific object, is grayscaled. The acquisition unit 131 acquires a label indicating the characteristics of the specific object in the learning image. The acquisition unit 131 acquires a label indicating the characteristics including at least one of the color, shape, and atmosphere of the specific object in the learning image. The acquisition unit 131 acquires a label indicating the color of the specific object in the learning image.
取得部131は、一のノイズ画像を取得する。取得部131は、学習用画像にノイズを段階的に付与した複数の段階画像を取得する。取得部131は、第1段階画像と、第1段階画像に1段階ノイズが付与された第2段階画像とを含む複数の段階画像を取得する。取得部131は、第2段階画像に1段階ノイズが付与された第3段階画像を含む複数の段階画像を取得する。 The acquisition unit 131 acquires one noise image. The acquisition unit 131 acquires multiple stage images in which noise is added to a learning image in stages. The acquisition unit 131 acquires multiple stage images including a first stage image and a second stage image in which one stage of noise is added to the first stage image. The acquisition unit 131 acquires multiple stage images including a third stage image in which one stage of noise is added to the second stage image.
取得部131は、ユーザから変換対象となる対象画像を取得する。取得部131は、ユーザから特徴を指定する指定情報を取得する。 The acquisition unit 131 acquires a target image to be converted from a user. The acquisition unit 131 acquires specification information that specifies features from the user.
(生成部132)
生成部132は、種々の情報を推定する生成処理を実行する。例えば、生成部132は、取得部131により取得された各種情報に基づいて、生成処理を実行する。生成部132は、記憶部120に記憶された各種情報に基づいて、生成処理を実行する。生成部132は、外部の情報処理装置から受信された各種情報に基づいて、生成処理を実行する。生成部132は、学習部133により学習されたモデルに基づいて、生成処理を実行する。生成部132は、処理部134により決定された情報に基づいて、生成処理を実行する。
(Generation unit 132)
The generating unit 132 executes a generation process to estimate various pieces of information. For example, the generating unit 132 executes the generation process based on various pieces of information acquired by the acquiring unit 131. The generating unit 132 executes the generation process based on various pieces of information stored in the storage unit 120. The generating unit 132 executes the generation process based on various pieces of information received from an external information processing device. The generating unit 132 executes the generation process based on a model learned by the learning unit 133. The generating unit 132 executes the generation process based on information determined by the processing unit 134.
生成部132は、所定の対象が撮像された画像である学習用画像であって各画素に複数種別の色属性情報が対応付けられた学習用画像から、所定の種別の色属性情報の分布を平坦化した平坦化後画像を生成する。生成部132は、複数種別の色属性情報のうち明度の分布を平坦化したグレースケール画像を平坦化後画像として生成する。 The generation unit 132 generates a flattened image in which the distribution of a predetermined type of color attribute information is flattened from a learning image, which is an image of a predetermined object and in which multiple types of color attribute information are associated with each pixel. The generation unit 132 generates, as the flattened image, a grayscale image in which the distribution of brightness of the multiple types of color attribute information is flattened.
(学習部133)
学習部133は、各種情報を学習する。学習部133は、学習処理により各種モデルを生成する。例えば、学習部133は、学習用データ記憶部121等に記憶された情報に基づいて、学習処理を行う。学習部133は、学習用データ記憶部121等に記憶された情報に基づいて種々のモデルを生成する。例えば、学習部133は、学習用データ記憶部121に記憶された学習データを用いて、モデルM1を学習する。
(Learning Unit 133)
The learning unit 133 learns various information. The learning unit 133 generates various models through a learning process. For example, the learning unit 133 performs a learning process based on information stored in the learning data storage unit 121, etc. The learning unit 133 generates various models based on information stored in the learning data storage unit 121, etc. For example, the learning unit 133 learns a model M1 using the learning data stored in the learning data storage unit 121.
学習部133は、取得部131により取得された学習用グレースケール画像とラベルとに基づいて、ノイズが含まれる画像である一のノイズ画像を学習用画像に近づけるように変換する拡散モデルを学習する。学習部133は、生成部132により生成された平坦化後画像と、学習用画像における所定の対象の特徴を示すラベルとに基づいて、ノイズが含まれる画像である一のノイズ画像を学習用画像に近づけるように変換する拡散モデルを学習する。 The learning unit 133 learns a diffusion model that converts a noise image, which is an image containing noise, so as to approach the learning image, based on the learning grayscale image and label acquired by the acquisition unit 131. The learning unit 133 learns a diffusion model that converts a noise image, which is an image containing noise, so as to approach the learning image, based on the flattened image generated by the generation unit 132 and a label indicating the feature of a specified target in the learning image.
学習部133は、一のノイズ画像を、ラベルが示す色の所定の対象を含む学習用画像に近づけるように変換する拡散モデルを学習する。学習部133は、取得部131により取得された一のノイズ画像を学習用画像に近づけるように変換する拡散モデルを学習する。 The learning unit 133 learns a diffusion model that converts a noise image so that it approaches a learning image that includes a specific object of the color indicated by the label. The learning unit 133 learns a diffusion model that converts a noise image acquired by the acquisition unit 131 so that it approaches the learning image.
学習部133は、取得部131により取得された複数の段階画像を用いて、拡散モデルを学習する。学習部133は、複数の段階画像のうち一の段階画像からノイズを1段階除去した画像である段階画像を生成するように、拡散モデルを学習する。学習部133は、第2段階画像からノイズを1段階除去した第1段階画像を生成するように、拡散モデルを学習する。学習部133は、第3段階画像からノイズを1段階除去した第2段階画像を生成するように、拡散モデルを学習する。 The learning unit 133 learns a diffusion model using the multiple stage images acquired by the acquisition unit 131. The learning unit 133 learns the diffusion model to generate a stage image that is an image in which noise has been removed by one stage from one of the multiple stage images. The learning unit 133 learns the diffusion model to generate a first stage image in which noise has been removed by one stage from a second stage image. The learning unit 133 learns the diffusion model to generate a second stage image in which noise has been removed by one stage from a third stage image.
例えば、学習部133は、取得部131により取得された各種情報に基づいて、学習処理を実行する。例えば、学習部133は、生成部132により生成された情報に基づいて、モデルを学習する。学習部133は、外部の情報処理装置からの情報や記憶部120に記憶された情報に基づいて、学習処理を実行する。学習部133は、モデル情報記憶部122に記憶された情報に基づいて、学習処理を実行する。学習部133は、学習により生成したモデルをモデル情報記憶部122に格納する。
For example, the learning unit 133 executes a learning process based on various information acquired by the acquisition unit 131. For example, the learning unit 133 learns a model based on information generated by the generation unit 132. The learning unit 133 executes a learning process based on information from an external information processing device and information stored in the storage unit 120. The learning unit 133 executes a learning process based on information stored in the model
学習部133は、学習処理を行う。学習部133は、各種学習を行う。学習部133は、取得部131により取得された情報に基づいて、各種情報を学習する。学習部133は、モデルを学習(生成)する。学習部133は、モデル等の各種情報を学習する。学習部133は、学習によりモデルを生成する。学習部133は、種々の機械学習に関する技術を用いて、モデルを学習する。例えば、学習部133は、モデル(ネットワーク)のパラメータを学習する。学習部133は、種々の機械学習に関する技術を用いて、モデルを学習する。 The learning unit 133 performs a learning process. The learning unit 133 performs various types of learning. The learning unit 133 learns various types of information based on the information acquired by the acquisition unit 131. The learning unit 133 learns (generates) a model. The learning unit 133 learns various types of information such as a model. The learning unit 133 generates a model through learning. The learning unit 133 learns the model using various machine learning techniques. For example, the learning unit 133 learns the parameters of the model (network). The learning unit 133 learns the model using various machine learning techniques.
学習部133は、モデルM1等の各種の学習モデルを生成する。学習部133は、ネットワークのパラメータを学習する。例えば、学習部133は、モデルM1等の各種の学習モデルのネットワークのパラメータを学習する。学習部133は、モデル情報記憶部122に記憶された学習用データを用いて、学習処理を行うことにより、モデルM1等の各種の学習モデルを生成する。例えば、学習部133は、画像の生成に用いられるモデルを生成する。学習部133は、モデルM1等の各種の学習モデルのネットワークのパラメータを学習することにより、モデルM1等の各種の学習モデルを生成する。
The learning unit 133 generates various learning models such as model M1. The learning unit 133 learns network parameters. For example, the learning unit 133 learns network parameters of various learning models such as model M1. The learning unit 133 generates various learning models such as model M1 by performing a learning process using the learning data stored in the model
学習部133は、モデル情報記憶部122に記憶された学習用データ(教師データ)に基づいて、学習処理を行う。学習部133は、モデル情報記憶部122に記憶された学習用データを用いて、学習処理を行うことにより、モデルM1等の各種の学習モデルを生成する。
The learning unit 133 performs a learning process based on the learning data (teacher data) stored in the model
例えば、学習部133は、モデルM1が出力する画像が、モデルM1に入力した入力情報に対応付けられた正解情報(望ましい生成結果を示す情報)に近づくように、バックプロパゲーション(誤差逆伝播法)等の手法により学習処理を行う。例えば、学習部133は、ノイズ画像を含む入力情報が入力されたモデルM1が出力する画像が、入力されたノイズ画像のノイズが1段階除去された画像(正解情報)に近づくように学習処理を行う。 For example, the learning unit 133 performs a learning process using a method such as backpropagation so that the image output by the model M1 approaches correct answer information (information indicating a desired generation result) associated with the input information input to the model M1. For example, the learning unit 133 performs a learning process so that the image output by the model M1 to which input information including a noise image is input approaches an image (correct answer information) in which the noise of the input noise image has been removed by one step.
例えば、学習部133は、学習処理によりノード間で値が伝達する際に考慮される重み(すなわち、接続係数)の値を調整する。このように、学習部133は、モデルM1における出力と、入力に対応する正解情報との誤差が少なくなるようにパラメータ(接続係数)を補正するバックプロパゲーション等の処理によりモデルM1を学習する。例えば、学習部133は、所定の損失(ロス)関数を最小化するようにバックプロパゲーション等の処理を行うことによりモデルM1を生成する。これにより、学習部133は、モデルM1のパラメータを学習する学習処理を行うことができる。 For example, the learning unit 133 adjusts the value of the weight (i.e., the connection coefficient) that is taken into account when values are transmitted between nodes by the learning process. In this way, the learning unit 133 learns the model M1 by processing such as backpropagation that corrects the parameters (connection coefficients) so as to reduce the error between the output in the model M1 and the correct answer information corresponding to the input. For example, the learning unit 133 generates the model M1 by performing processing such as backpropagation to minimize a predetermined loss function. This allows the learning unit 133 to perform a learning process that learns the parameters of the model M1.
なお、モデルの学習手法については、上述した手法に限定されるものではなく、任意の公知技術が適用可能である。なお、各モデルの生成は、機械学習に関する種々の従来技術を適宜用いて行われてもよい。例えば、モデルの生成は、SVM(Support Vector Machine)等の教師あり学習の機械学習に関する技術を用いて行われてもよい。また、例えば、モデルの生成は、教師なし学習の機械学習に関する技術を用いて行われてもよい。例えば、モデルの生成は、深層学習(ディープラーニング)の技術を用いて行われてもよい。例えば、モデルの生成は、DNN(Deep Neural Network)やRNN(Recurrent Neural Network)やCNN(Convolutional Neural Network)等の種々のディープラーニングの技術を適宜用いて行われてもよい。なお、上記モデルの生成に関する記載は例示であり、モデルの生成は、取得可能な情報等に応じて適宜選択された学習手法により行われてもよい。すなわち、学習部133は、学習用データに含まれる入力情報が入力された場合に、正解情報に対応する情報を出力するようにモデルM1を学習可能であれば、どのような手法によりモデルM1の生成を行ってもよい。 The model learning method is not limited to the above-mentioned method, and any known technology can be applied. Each model may be generated using various conventional techniques related to machine learning as appropriate. For example, the model may be generated using a supervised learning machine learning technique such as SVM (Support Vector Machine). Also, for example, the model may be generated using an unsupervised learning machine learning technique. For example, the model may be generated using a deep learning technique. For example, the model may be generated using various deep learning techniques such as DNN (Deep Neural Network), RNN (Recurrent Neural Network), and CNN (Convolutional Neural Network). Note that the above description of the model generation is an example, and the model may be generated by a learning method appropriately selected according to the obtainable information, etc. That is, the learning unit 133 may generate the model M1 by any method as long as the model M1 can be trained to output information corresponding to the correct answer information when input information included in the learning data is input.
上記のように、学習部133による学習の手法は特に限定されないが、例えば、データ(入力情報)とその正解情報(出力情報)とを紐づけた学習用データを用意し、その学習用データを多層ニューラルネットワークに基づいた計算モデルに入力して学習してもよい。また、例えばCNN、3D-CNN等のDNNに基づく手法が用いられてもよい。具体的には、学習部133による学習の手法は、U-netに基づく手法が用いられてもよい。学習部133は、音声等のような時系列データを対象とする場合、再帰型ニューラルネットワーク(RNN)やRNNを拡張したLSTM(Long Short-Term Memory units)に基づく手法を用いてもよい。 As described above, the learning method used by the learning unit 133 is not particularly limited, but for example, learning data that links data (input information) with its correct answer information (output information) may be prepared, and the learning data may be input to a computational model based on a multi-layer neural network for learning. Also, a method based on DNN, such as CNN or 3D-CNN, may be used. Specifically, the learning method used by the learning unit 133 may be a method based on U-net. When targeting time-series data such as voice, the learning unit 133 may use a method based on a recurrent neural network (RNN) or LSTM (Long Short-Term Memory units), which is an extension of RNN.
(処理部134)
処理部134は、各種情報を処理する。処理部134は、記憶部120に記憶された情報に基づいて、情報処理を行う。処理部134は、推論処理を行う推論部として機能する。処理部134は、モデル情報記憶部122に記憶されたモデルを用いて、推論処理を行う。例えば、学習部133は、生成部132により生成された情報に基づいて、推論処理を行う。
(Processing Unit 134)
The processing unit 134 processes various types of information. The processing unit 134 performs information processing based on the information stored in the storage unit 120. The processing unit 134 functions as an inference unit that performs inference processing. The processing unit 134 performs inference processing using the model stored in the model
処理部134は、学習部133により学習されたモデルM1を用いて推論を行う。処理部134は、拡散モデルであるモデルM1を用いて推論を行う。処理部134は、ノイズ画像、グレースケール画像、及びラベルを入力情報としてモデルM1に入力することにより、グレースケール画像中の対象にラベルに対応する色が付された画像を生成する推論処理を行う。処理部134は、学習部133により学習された拡散モデルを用いて、変換後画像を生成する。 The processing unit 134 performs inference using the model M1 learned by the learning unit 133. The processing unit 134 performs inference using the model M1, which is a diffusion model. The processing unit 134 performs inference processing to generate an image in which objects in the grayscale image are given colors corresponding to the labels by inputting a noise image, a grayscale image, and labels as input information to the model M1. The processing unit 134 generates a converted image using the diffusion model learned by the learning unit 133.
(提供部135)
提供部135は、各種情報を提供する。例えば、提供部135は、端末装置10や情報提供装置50に各種情報を提供する。提供部135は、端末装置10や情報提供装置50に各種情報を送信する。提供部135は、取得部131により取得された各種情報に基づいて、種々の情報を提供する。提供部135は、生成部132により生成された各種情報に基づいて、種々の情報を提供する。
(Providing Unit 135)
The providing unit 135 provides various information. For example, the providing unit 135 provides various information to the terminal device 10 and the
提供部135は、学習部133により学習された各種情報に基づいて、種々の情報を提供する。提供部135は、学習部133により学習されたモデルに基づいて、種々の情報を提供する。提供部135は、処理部134により処理された各種情報に基づいて、種々の情報を提供する。例えば、提供部135は、情報を端末装置10に送信する。 The providing unit 135 provides various information based on the various information learned by the learning unit 133. The providing unit 135 provides various information based on the model learned by the learning unit 133. The providing unit 135 provides various information based on the various information processed by the processing unit 134. For example, the providing unit 135 transmits information to the terminal device 10.
提供部135は、学習部133により学習された拡散モデルを用いたサービスを提供する。提供部135は、拡散モデルにより生成された変換後画像を用いたサービスをユーザに提供する。提供部135は、変換後画像を用いた画像検索サービスをユーザに提供する。 The providing unit 135 provides a service using the diffusion model learned by the learning unit 133. The providing unit 135 provides a service using the converted image generated by the diffusion model to the user. The providing unit 135 provides an image search service using the converted image to the user.
提供部135は、変換後画像を用いた画像検索の結果をユーザが利用する端末装置10に送信する。提供部135は、変換後画像に類似する類似画像をユーザが利用する端末装置10に送信する。提供部135は、対象画像のグレースケール画像と拡散モデルとを用いて生成された変換後画像を用いたサービスをユーザに提供する。提供部135は、指定情報を用いて生成された変換後画像を用いたサービスをユーザに提供する。 The providing unit 135 transmits the result of the image search using the converted image to the terminal device 10 used by the user. The providing unit 135 transmits a similar image similar to the converted image to the terminal device 10 used by the user. The providing unit 135 provides the user with a service using the converted image generated using a grayscale image of the target image and a diffusion model. The providing unit 135 provides the user with a service using the converted image generated using the specified information.
〔4.情報処理のフロー〕
次に、図6及び図7を用いて、情報処理装置100による情報処理のフローについて説明する。図6及び図7は、実施形態に係る情報処理の一例を示すフローチャートである。
[4. Information processing flow]
Next, a flow of information processing by the information processing device 100 will be described with reference to Fig. 6 and Fig. 7. Fig. 6 and Fig. 7 are flowcharts showing an example of information processing according to the embodiment.
まず、図6に示す処理例について説明する。図6に示すように、情報処理装置100は、所定の対象が撮像された画像である学習用画像がグレースケール化された学習用グレースケール画像と、学習用画像における所定の対象の特徴を示すラベルとを取得する(ステップS101)。 First, the processing example shown in FIG. 6 will be described. As shown in FIG. 6, the information processing device 100 acquires a learning grayscale image obtained by grayscaling a learning image, which is an image of a specific object captured, and a label indicating the characteristics of the specific object in the learning image (step S101).
情報処理装置100は、学習用グレースケール画像とラベルとに基づいて、ノイズが含まれる画像である一のノイズ画像を学習用画像に近づけるように変換する拡散モデルを学習する(ステップS102)。 Based on the training grayscale image and the label, the information processing device 100 learns a diffusion model that converts a noise image, which is an image that contains noise, so as to approximate the training image (step S102).
次に、図7に示す処理例について説明する。図7に示すように、情報処理装置100は、所定の対象が撮像された画像である学習用画像であって各画素に複数種別の色属性情報が対応付けられた学習用画像から、所定の種別の色属性情報の分布を平坦化した平坦化後画像を生成する(ステップS201)。 Next, a processing example shown in FIG. 7 will be described. As shown in FIG. 7, the information processing device 100 generates a flattened image in which the distribution of a predetermined type of color attribute information is flattened from a learning image, which is an image of a predetermined object and in which multiple types of color attribute information are associated with each pixel (step S201).
情報処理装置100は、平坦化後画像と、学習用画像における所定の対象の特徴を示すラベルとに基づいて、ノイズが含まれる画像である一のノイズ画像を学習用画像に近づけるように変換する拡散モデルを学習する(ステップS202)。 Based on the flattened image and a label indicating the characteristics of a specific target in the training image, the information processing device 100 learns a diffusion model that converts a noise image, which is an image containing noise, so as to approximate the training image (step S202).
〔5.効果〕
上述してきたように、実施形態に係る情報処理装置100は、取得部131と、学習部133とを有する。取得部131は、所定の対象が撮像された画像である学習用画像がグレースケール化された学習用グレースケール画像と、学習用画像における所定の対象の特徴を示すラベルとを取得する。学習部133は、取得部131により取得された学習用グレースケール画像とラベルとに基づいて、ノイズが含まれる画像である一のノイズ画像を学習用画像に近づけるように変換する拡散モデルを学習する。
5. Effects
As described above, the information processing device 100 according to the embodiment includes the acquisition unit 131 and the learning unit 133. The acquisition unit 131 acquires a learning grayscale image obtained by grayscaling a learning image, which is an image of a predetermined target, and a label indicating a feature of the predetermined target in the learning image. The learning unit 133 learns a diffusion model that converts a noise image, which is an image including noise, so as to approximate the learning image, based on the learning grayscale image and the label acquired by the acquisition unit 131.
このように、実施形態に係る情報処理装置100は、所定の対象が撮像された学習用画像がグレースケール化された学習用グレースケール画像と、学習用画像における所定の対象の特徴を示すラベルに基づいて、ノイズが含まれる画像である一のノイズ画像を学習用画像に近づけるように変換する拡散モデルを学習することで、画像中の所定の対象の特徴を変換するモデルを学習することができる。したがって、情報処理装置100は、適切な画像生成を可能にすることができる。 In this way, the information processing device 100 according to the embodiment can learn a model that transforms the features of a specific object in an image by learning a diffusion model that transforms a noise image, which is an image that contains noise, to approach the training image based on a training grayscale image in which a training image of a specific object has been grayscaled and a label indicating the features of the specific object in the training image. Therefore, the information processing device 100 can enable appropriate image generation.
また、実施形態に係る情報処理装置100において、取得部131は、学習用画像における所定の対象の色、形状、雰囲気の少なくとも1つを含む特徴を示すラベルを取得する。 In addition, in the information processing device 100 according to the embodiment, the acquisition unit 131 acquires a label indicating characteristics including at least one of the color, shape, and atmosphere of a specific object in the learning image.
このように、実施形態に係る情報処理装置100は、学習用画像における所定の対象の色、形状、雰囲気の少なくとも1つを含む特徴を示すラベルを取得することで、画像中の所定の対象の色、形状、雰囲気等を変換するモデルを学習することができる。したがって、情報処理装置100は、適切な画像生成を可能にすることができる。 In this way, the information processing device 100 according to the embodiment can learn a model that converts the color, shape, atmosphere, etc. of a specific object in an image by acquiring a label that indicates a feature including at least one of the color, shape, and atmosphere of the specific object in the learning image. Therefore, the information processing device 100 can enable appropriate image generation.
また、実施形態に係る情報処理装置100において、取得部131は、学習用画像における所定の対象の色を示すラベルを取得する。学習部133は、一のノイズ画像を、ラベルが示す色の所定の対象を含む学習用画像に近づけるように変換する拡散モデルを学習する。 In addition, in the information processing device 100 according to the embodiment, the acquisition unit 131 acquires a label indicating the color of a predetermined object in the learning image. The learning unit 133 learns a diffusion model that converts a noise image so as to approximate a learning image that includes a predetermined object of the color indicated by the label.
このように、実施形態に係る情報処理装置100は、学習用画像における所定の対象の色を示すラベルを取得することで、画像中の所定の対象の色を変換するモデルを学習することができる。したがって、情報処理装置100は、適切な画像生成を可能にすることができる。 In this way, the information processing device 100 according to the embodiment can learn a model that converts the color of a specific object in an image by acquiring a label that indicates the color of the specific object in the learning image. Therefore, the information processing device 100 can enable appropriate image generation.
また、実施形態に係る情報処理装置100において、取得部131は、一のノイズ画像を取得する。学習部133は、取得部131により取得された一のノイズ画像を学習用画像に近づけるように変換する拡散モデルを学習する。 In addition, in the information processing device 100 according to the embodiment, the acquisition unit 131 acquires one noise image. The learning unit 133 learns a diffusion model that converts the one noise image acquired by the acquisition unit 131 so as to approximate the learning image.
このように、実施形態に係る情報処理装置100は、一のノイズ画像を取得し、取得した一のノイズ画像を用いて拡散モデルを学習することで、適切にモデルを学習することができる。したがって、情報処理装置100は、適切な画像生成を可能にすることができる。 In this way, the information processing device 100 according to the embodiment can appropriately learn the model by acquiring one noise image and learning the diffusion model using the acquired one noise image. Therefore, the information processing device 100 can enable appropriate image generation.
また、実施形態に係る情報処理装置100において、取得部131は、学習用画像にノイズを段階的に付与した複数の段階画像を取得する。学習部133は、取得部131により取得された複数の段階画像を用いて、拡散モデルを学習する。 In addition, in the information processing device 100 according to the embodiment, the acquisition unit 131 acquires a plurality of stage images in which noise is added in stages to the learning image. The learning unit 133 uses the plurality of stage images acquired by the acquisition unit 131 to learn a diffusion model.
このように、実施形態に係る情報処理装置100は、学習用画像にノイズを段階的に付与した複数の段階画像を用いて拡散モデルを学習することで、適切にモデルを学習することができる。したがって、情報処理装置100は、適切な画像生成を可能にすることができる。 In this way, the information processing device 100 according to the embodiment can appropriately learn the diffusion model by using a plurality of step images in which noise is gradually added to the learning image. Therefore, the information processing device 100 can enable appropriate image generation.
また、実施形態に係る情報処理装置100において、学習部133は、複数の段階画像のうち一の段階画像からノイズを1段階除去した画像である段階画像を生成するように、拡散モデルを学習する。 In addition, in the information processing device 100 according to the embodiment, the learning unit 133 learns a diffusion model to generate a stage image that is an image in which one stage of noise is removed from one of the multiple stage images.
このように、実施形態に係る情報処理装置100は、複数の段階画像のうち一の段階画像からノイズを1段階除去した画像である段階画像を生成するように、拡散モデルを学習することで、適切にモデルを学習することができる。したがって、情報処理装置100は、適切な画像生成を可能にすることができる。 In this way, the information processing device 100 according to the embodiment can appropriately learn the model by learning the diffusion model so as to generate a stage image in which one stage of noise has been removed from one of a plurality of stage images. Therefore, the information processing device 100 can enable appropriate image generation.
また、実施形態に係る情報処理装置100において、取得部131は、第1段階画像と、第1段階画像に1段階ノイズが付与された第2段階画像とを含む複数の段階画像を取得する。学習部133は、第2段階画像からノイズを1段階除去した第1段階画像を生成するように、拡散モデルを学習する。 In the information processing device 100 according to the embodiment, the acquisition unit 131 acquires a plurality of stage images including a first stage image and a second stage image in which one stage of noise has been added to the first stage image. The learning unit 133 learns a diffusion model so as to generate a first stage image in which one stage of noise has been removed from the second stage image.
このように、実施形態に係る情報処理装置100は、第1段階画像に1段階ノイズが付与された第2段階画像からノイズを1段階除去した第1段階画像を生成するように、拡散モデルを学習することで、適切にモデルを学習することができる。したがって、情報処理装置100は、適切な画像生成を可能にすることができる。 In this way, the information processing device 100 according to the embodiment can appropriately learn the model by learning the diffusion model so as to generate a first-stage image in which one level of noise has been removed from a second-stage image in which one level of noise has been added to the first-stage image. Therefore, the information processing device 100 can enable appropriate image generation.
また、実施形態に係る情報処理装置100において、取得部131は、第2段階画像に1段階ノイズが付与された第3段階画像を含む複数の段階画像を取得する。学習部133は、第3段階画像からノイズを1段階除去した第2段階画像を生成するように、拡散モデルを学習する。 In addition, in the information processing device 100 according to the embodiment, the acquisition unit 131 acquires a plurality of stage images including a third stage image in which one stage of noise has been added to the second stage image. The learning unit 133 learns a diffusion model so as to generate a second stage image in which one stage of noise has been removed from the third stage image.
このように、実施形態に係る情報処理装置100は、第2段階画像に1段階ノイズが付与された第3段階画像からノイズを1段階除去した第2段階画像を生成するように、拡散モデルを学習することで、適切にモデルを学習することができる。したがって、情報処理装置100は、適切な画像生成を可能にすることができる。 In this way, the information processing device 100 according to the embodiment can appropriately learn the model by learning the diffusion model so as to generate a second-stage image in which one level of noise has been removed from a third-stage image in which one level of noise has been added to the second-stage image. Therefore, the information processing device 100 can enable appropriate image generation.
また、実施形態に係る情報処理装置100は、提供部135を有する。提供部135は、学習部133により学習された拡散モデルを用いたサービスを提供する。 The information processing device 100 according to the embodiment also includes a providing unit 135. The providing unit 135 provides a service using the diffusion model learned by the learning unit 133.
このように、実施形態に係る情報処理装置100は、拡散モデルを用いたサービスを提供することにより、適切なサービス提供を行うことができる。 In this way, the information processing device 100 according to the embodiment can provide appropriate services by providing services using a diffusion model.
また、実施形態に係る情報処理装置100において、提供部135は、拡散モデルにより生成された変換後画像を用いたサービスをユーザに提供する。 In addition, in the information processing device 100 according to the embodiment, the providing unit 135 provides a service to a user using a transformed image generated by the diffusion model.
このように、実施形態に係る情報処理装置100は、拡散モデルにより生成された変換後画像を用いたサービスをユーザに提供することにより、適切なサービスをユーザに提供することができる。 In this way, the information processing device 100 according to the embodiment can provide the user with an appropriate service by providing the user with a service that uses a transformed image generated by a diffusion model.
また、実施形態に係る情報処理装置100において、提供部135は、変換後画像を用いた画像検索サービスをユーザに提供する。 In addition, in the information processing device 100 according to the embodiment, the providing unit 135 provides the user with an image search service using the converted image.
このように、実施形態に係る情報処理装置100は、変換後画像を用いた画像検索サービスをユーザに提供することにより、適切な検索サービスをユーザに提供することができる。 In this way, the information processing device 100 according to the embodiment can provide the user with an appropriate search service by providing the user with an image search service using the converted image.
また、実施形態に係る情報処理装置100において、提供部135は、変換後画像を用いた画像検索の結果をユーザが利用する端末装置10に送信する。 In addition, in the information processing device 100 according to the embodiment, the providing unit 135 transmits the results of the image search using the converted image to the terminal device 10 used by the user.
このように、実施形態に係る情報処理装置100は、変換後画像を用いた画像検索の結果をユーザが利用する端末装置10に送信することにより、適切な検索結果をユーザに提供することができる。 In this way, the information processing device 100 according to the embodiment can provide the user with appropriate search results by transmitting the results of an image search using the converted image to the terminal device 10 used by the user.
また、実施形態に係る情報処理装置100において、提供部135は、変換後画像に類似する類似画像をユーザが利用する端末装置10に送信する。 In addition, in the information processing device 100 according to the embodiment, the providing unit 135 transmits a similar image that is similar to the converted image to the terminal device 10 used by the user.
このように、実施形態に係る情報処理装置100は、変換後画像に類似する類似画像をユーザが利用する端末装置10に送信することにより、適切な類似画像の検索結果をユーザに提供することができる。 In this way, the information processing device 100 according to the embodiment can provide the user with appropriate search results for similar images by transmitting similar images that are similar to the converted image to the terminal device 10 used by the user.
また、実施形態に係る情報処理装置100において、取得部131は、ユーザから変換対象となる対象画像を取得する。提供部135は、対象画像のグレースケール画像と拡散モデルとを用いて生成された変換後画像を用いたサービスをユーザに提供する。 In addition, in the information processing device 100 according to the embodiment, the acquisition unit 131 acquires a target image to be converted from a user. The provision unit 135 provides the user with a service that uses a converted image generated using a grayscale image of the target image and a diffusion model.
このように、実施形態に係る情報処理装置100は、ユーザから変換対象となる対象画像を取得し、取得した対象画像のグレースケール画像と拡散モデルとを用いて生成された変換後画像を用いたサービスをユーザに提供することにより、適切なサービスをユーザに提供することができる。 In this way, the information processing device 100 according to the embodiment can provide the user with an appropriate service by acquiring a target image to be converted from the user and providing the user with a service using a converted image generated using a grayscale image of the acquired target image and a diffusion model.
また、実施形態に係る情報処理装置100において、取得部131は、ユーザから特徴を指定する指定情報を取得する。提供部135は、指定情報を用いて生成された変換後画像を用いたサービスをユーザに提供する。 In addition, in the information processing device 100 according to the embodiment, the acquisition unit 131 acquires specification information for specifying features from the user. The provision unit 135 provides the user with a service that uses the converted image generated using the specification information.
このように、実施形態に係る情報処理装置100は、ユーザから特徴を指定する指定情報を取得し、取得した指定情報を用いて生成された変換後画像を用いたサービスをユーザに提供することにより、適切なサービスをユーザに提供することができる。 In this way, the information processing device 100 according to the embodiment can provide the user with an appropriate service by acquiring specification information that specifies characteristics from the user and providing the user with a service that uses a converted image generated using the acquired specification information.
また、実施形態に係る情報処理装置100は、処理部134を有する。処理部134は、学習部133により学習された拡散モデルを用いて、変換後画像を生成する。 The information processing device 100 according to the embodiment also includes a processing unit 134. The processing unit 134 generates a converted image using the diffusion model learned by the learning unit 133.
このように、実施形態に係る情報処理装置100は、拡散モデルを用いて、変換後画像を生成することにより、適切な画像生成を行うことができる。 In this way, the information processing device 100 according to the embodiment can generate an appropriate image by generating a transformed image using a diffusion model.
〔6.ハードウェア構成〕
また、上述した実施形態に係る情報処理装置100や端末装置10は、例えば図8に示すような構成のコンピュータ1000によって実現される。以下、情報処理装置100を例に挙げて説明する。図8は、ハードウェア構成の一例を示す図である。コンピュータ1000は、出力装置1010、入力装置1020と接続され、演算装置1030、一次記憶装置1040、二次記憶装置1050、出力I/F(Interface)1060、入力I/F1070、ネットワークI/F1080がバス1090により接続された形態を有する。
6. Hardware Configuration
The information processing device 100 and the terminal device 10 according to the above-described embodiment are realized by a computer 1000 having a configuration as shown in Fig. 8, for example. The information processing device 100 will be described below as an example. Fig. 8 is a diagram showing an example of a hardware configuration. The computer 1000 is connected to an output device 1010 and an
演算装置1030は、一次記憶装置1040や二次記憶装置1050に格納されたプログラムや入力装置1020から読み出したプログラム等に基づいて動作し、各種の処理を実行する。演算装置1030は、例えばCPU(Central Processing Unit)、MPU(Micro Processing Unit)、ASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)等により実現される。
The
一次記憶装置1040は、RAM(Random Access Memory)等、演算装置1030が各種の演算に用いるデータを一次的に記憶するメモリ装置である。また、二次記憶装置1050は、演算装置1030が各種の演算に用いるデータや、各種のデータベースが登録される記憶装置であり、ROM(Read Only Memory)、HDD(Hard Disk Drive)、SSD(Solid State Drive)、フラッシュメモリ等により実現される。二次記憶装置1050は、内蔵ストレージであってもよいし、外付けストレージであってもよい。また、二次記憶装置1050は、USBメモリやSD(Secure Digital)メモリカード等の取り外し可能な記憶媒体であってもよい。また、二次記憶装置1050は、クラウドストレージ(オンラインストレージ)やNAS(Network Attached Storage)、ファイルサーバ等であってもよい。
The
出力I/F1060は、ディスプレイ、プロジェクタ、及びプリンタ等といった各種の情報を出力する出力装置1010に対し、出力対象となる情報を送信するためのインターフェイスであり、例えば、USB(Universal Serial Bus)やDVI(Digital Visual Interface)、HDMI(登録商標)(High Definition Multimedia Interface)といった規格のコネクタにより実現される。また、入力I/F1070は、マウス、キーボード、キーパッド、ボタン、及びスキャナ等といった各種の入力装置1020から情報を受信するためのインターフェイスであり、例えば、USB等により実現される。
The output I/
また、出力I/F1060及び入力I/F1070はそれぞれ出力装置1010及び入力装置1020と無線で接続してもよい。すなわち、出力装置1010及び入力装置1020は、ワイヤレス機器であってもよい。
In addition, the output I/
また、出力装置1010及び入力装置1020は、タッチパネルのように一体化していてもよい。この場合、出力I/F1060及び入力I/F1070も、入出力I/Fとして一体化していてもよい。
In addition, the output device 1010 and the
なお、入力装置1020は、例えば、CD(Compact Disc)、DVD(Digital Versatile Disc)、PD(Phase change rewritable Disk)等の光学記録媒体、MO(Magneto-Optical disk)等の光磁気記録媒体、テープ媒体、磁気記録媒体、又は半導体メモリ等から情報を読み出す装置であってもよい。
The
ネットワークI/F1080は、ネットワークNを介して他の機器からデータを受信して演算装置1030へ送り、また、ネットワークNを介して演算装置1030が生成したデータを他の機器へ送信する。
The network I/F 1080 receives data from other devices via the network N and sends it to the
演算装置1030は、出力I/F1060や入力I/F1070を介して、出力装置1010や入力装置1020の制御を行う。例えば、演算装置1030は、入力装置1020や二次記憶装置1050からプログラムを一次記憶装置1040上にロードし、ロードしたプログラムを実行する。
The
例えば、コンピュータ1000が情報処理装置100として機能する場合、コンピュータ1000の演算装置1030は、一次記憶装置1040上にロードされたプログラムを実行することにより、制御部130の機能を実現する。また、コンピュータ1000の演算装置1030は、ネットワークI/F1080を介して他の機器から取得したプログラムを一次記憶装置1040上にロードし、ロードしたプログラムを実行してもよい。また、コンピュータ1000の演算装置1030は、ネットワークI/F1080を介して他の機器と連携し、プログラムの機能やデータ等を他の機器の他のプログラムから呼び出して利用してもよい。
For example, when the computer 1000 functions as the information processing device 100, the
〔7.その他〕
また、上記実施形態及び変形例において説明した各処理のうち、自動的に行われるものとして説明した処理の全部または一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部または一部を公知の方法で自動的に行うこともできる。この他、上記文書中や図面中で示した処理手順、具体的名称、各種のデータやパラメータを含む情報については、特記する場合を除いて任意に変更することができる。例えば、各図に示した各種情報は、図示した情報に限られない。
[7. Other]
Furthermore, among the processes described in the above embodiments and modifications, all or part of the processes described as being performed automatically can be performed manually, or all or part of the processes described as being performed manually can be performed automatically by a known method. In addition, the information including the processing procedures, specific names, various data and parameters shown in the above documents and drawings can be changed arbitrarily unless otherwise specified. For example, the various information shown in each drawing is not limited to the illustrated information.
また、図示した各装置の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各装置の分散・統合の具体的形態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。 In addition, each component of each device shown in the figure is a functional concept, and does not necessarily have to be physically configured as shown in the figure. In other words, the specific form of distribution and integration of each device is not limited to that shown in the figure, and all or part of them can be functionally or physically distributed and integrated in any unit depending on various loads, usage conditions, etc.
また、上述してきた実施形態及び変形例は、処理内容を矛盾させない範囲で適宜組み合わせることが可能である。 The above-described embodiments and variations can be combined as appropriate to the extent that they do not cause inconsistencies in the processing content.
また、上述してきた「部(section、module、unit)」は、「手段」や「回路」などに読み替えることができる。例えば、取得部は、取得手段や取得回路に読み替えることができる。 The above-mentioned "section, module, unit" can be read as "means" or "circuit." For example, an acquisition unit can be read as an acquisition means or an acquisition circuit.
1 情報処理システム
100 情報処理装置
121 学習用データ記憶部
122 モデル情報記憶部
130 制御部
131 取得部
132 生成部
133 学習部
134 処理部
135 提供部
10 端末装置
50 情報提供装置
N ネットワーク
REFERENCE SIGNS
Claims (15)
前記取得部により取得された前記学習用グレースケール画像と前記ラベルとに基づいて、ノイズが含まれる画像である一のノイズ画像を前記学習用画像に近づけるように変換する拡散モデルを学習する学習部と、
前記学習部により学習された前記拡散モデルにより生成された変換後画像を用いた画像検索サービスをユーザに提供する提供部と、
を備えることを特徴とする情報処理装置。 an acquisition unit that acquires a learning grayscale image that is a learning image obtained by capturing a predetermined object and a label that indicates a feature of the predetermined object in the learning image;
a learning unit that learns a diffusion model that converts a noise image, which is an image including noise, so as to approximate the learning image based on the learning grayscale image and the label acquired by the acquisition unit;
a provision unit that provides a user with an image search service using a transformed image generated by the diffusion model trained by the learning unit;
An information processing device comprising:
前記学習用画像における前記所定の対象の色、形状、雰囲気の少なくとも1つを含む前記特徴を示す前記ラベルを取得する
ことを特徴とする請求項1に記載の情報処理装置。 The acquisition unit is
The information processing apparatus according to claim 1 , further comprising: acquiring the label indicating the feature including at least one of a color, a shape, and an atmosphere of the predetermined object in the learning image.
前記学習用画像における前記所定の対象の色を示す前記ラベルを取得し、
前記学習部は、
前記一のノイズ画像を、前記ラベルが示す色の前記所定の対象を含む前記学習用画像に近づけるように変換する前記拡散モデルを学習する
ことを特徴とする請求項1に記載の情報処理装置。 The acquisition unit is
obtaining the label indicating the color of the predetermined object in the learning image;
The learning unit is
The information processing apparatus according to claim 1 , further comprising: learning the diffusion model for converting the one noise image so as to approximate the learning image including the predetermined target of the color indicated by the label.
前記一のノイズ画像を取得し、
前記学習部は、
前記取得部により取得された前記一のノイズ画像を前記学習用画像に近づけるように変換する前記拡散モデルを学習する
ことを特徴とする請求項1に記載の情報処理装置。 The acquisition unit is
acquiring the one noise image;
The learning unit is
The information processing apparatus according to claim 1 , further comprising: learning the diffusion model that converts the one noise image acquired by the acquisition unit so as to approach the learning image.
前記学習用画像にノイズを段階的に付与した複数の段階画像を取得し、
前記学習部は、
前記取得部により取得された前記複数の段階画像を用いて、前記拡散モデルを学習する
ことを特徴とする請求項4に記載の情報処理装置。 The acquisition unit is
Obtaining a plurality of step images by adding noise to the learning image in a stepwise manner;
The learning unit is
The information processing apparatus according to claim 4 , wherein the diffusion model is trained using the plurality of stage images acquired by the acquisition unit.
前記複数の段階画像のうち一の段階画像からノイズを1段階除去した画像である前記段階画像を生成するように、前記拡散モデルを学習する
ことを特徴とする請求項5に記載の情報処理装置。 The learning unit is
The information processing apparatus according to claim 5 , wherein the diffusion model is trained to generate a step image that is an image in which noise is removed by one step from one of the plurality of step images.
第1段階画像と、前記第1段階画像に1段階ノイズが付与された第2段階画像とを含む前記複数の段階画像を取得し、
前記学習部は、
前記第2段階画像からノイズを1段階除去した前記第1段階画像を生成するように、前記拡散モデルを学習する
ことを特徴とする請求項5に記載の情報処理装置。 The acquisition unit is
acquiring the plurality of stage images including a first stage image and a second stage image obtained by adding one stage noise to the first stage image;
The learning unit is
The information processing apparatus according to claim 5 , wherein the diffusion model is trained to generate the first-stage image by removing noise from the second-stage image by one stage.
前記第2段階画像に1段階ノイズが付与された第3段階画像を含む前記複数の段階画像を取得し、
前記学習部は、
前記第3段階画像からノイズを1段階除去した前記第2段階画像を生成するように、前記拡散モデルを学習する
ことを特徴とする請求項7に記載の情報処理装置。 The acquisition unit is
acquiring the plurality of stage images including a third stage image in which one stage noise is added to the second stage image;
The learning unit is
The information processing apparatus according to claim 7 , wherein the diffusion model is trained to generate the second stage image by removing noise from the third stage image by one stage.
前記変換後画像を用いた画像検索の結果を前記ユーザが利用する端末装置に送信する
ことを特徴とする請求項1に記載の情報処理装置。 The providing unit is
The information processing apparatus according to claim 1 , further comprising: a terminal device that transmits a result of an image search using the converted image to the user.
前記変換後画像に類似する類似画像を前記ユーザが利用する端末装置に送信する
ことを特徴とする請求項1に記載の情報処理装置。 The providing unit is
The information processing apparatus according to claim 1 , further comprising: a processor configured to transmit an image similar to the converted image to a terminal device used by the user.
前記ユーザから変換対象となる対象画像を取得し、
前記提供部は、
前記対象画像のグレースケール画像と前記拡散モデルとを用いて生成された前記変換後画像を用いたサービスを前記ユーザに提供する
ことを特徴とする請求項1に記載の情報処理装置。 The acquisition unit is
Obtaining a target image to be converted from the user;
The providing unit is
The information processing apparatus according to claim 1 , further comprising: providing the user with a service using the converted image generated using the grayscale image of the target image and the diffusion model.
前記ユーザから特徴を指定する指定情報を取得し、
前記提供部は、
前記指定情報を用いて生成された前記変換後画像を用いたサービスを前記ユーザに提供する
ことを特徴とする請求項1に記載の情報処理装置。 The acquisition unit is
acquiring specification information specifying a characteristic from the user;
The providing unit is
The information processing apparatus according to claim 1 , further comprising: a service that uses the converted image generated using the specification information and is provided to the user.
をさらに備えることを特徴とする請求項1に記載の情報処理装置。 a processing unit that generates a transformed image by using the diffusion model trained by the training unit;
The information processing apparatus according to claim 1 , further comprising:
所定の対象が撮像された画像である学習用画像がグレースケール化された学習用グレースケール画像と、前記学習用画像における前記所定の対象の特徴を示すラベルとを取得する取得工程と、
前記取得工程により取得された前記学習用グレースケール画像と前記ラベルとに基づいて、ノイズが含まれる画像である一のノイズ画像を前記学習用画像に近づけるように変換する拡散モデルを学習する学習工程と、
前記学習工程により学習された前記拡散モデルにより生成された変換後画像を用いた画像検索サービスをユーザに提供する提供工程と、
を含むことを特徴とする情報処理方法。 1. A computer-implemented information processing method, comprising:
an acquisition step of acquiring a learning grayscale image in which a learning image, which is an image of a predetermined object, is grayscaled, and acquiring a label indicating a feature of the predetermined object in the learning image;
a learning process for learning a diffusion model that converts a noise image, which is an image including noise, so as to approximate the learning image based on the learning grayscale image acquired by the acquisition process and the label;
a providing step of providing an image search service to a user using a transformed image generated by the diffusion model trained in the training step;
13. An information processing method comprising:
前記取得手順により取得された前記学習用グレースケール画像と前記ラベルとに基づいて、ノイズが含まれる画像である一のノイズ画像を前記学習用画像に近づけるように変換する拡散モデルを学習する学習手順と、
前記学習手順により学習された前記拡散モデルにより生成された変換後画像を用いた画像検索サービスをユーザに提供する提供手順と、
をコンピュータに実行させることを特徴とする情報処理プログラム。 An acquisition step of acquiring a learning grayscale image in which a learning image, which is an image of a predetermined object, is grayscaled, and acquiring a label indicating a feature of the predetermined object in the learning image;
a learning step of learning a diffusion model that converts a noise image, which is an image containing noise, so as to approximate the learning image based on the learning grayscale image acquired by the acquisition step and the label;
a providing step of providing a user with an image search service using a transformed image generated by the diffusion model trained by the learning step;
An information processing program characterized by causing a computer to execute the above.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022202512A JP7580441B2 (en) | 2022-12-19 | 2022-12-19 | Information processing device, information processing method, and information processing program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022202512A JP7580441B2 (en) | 2022-12-19 | 2022-12-19 | Information processing device, information processing method, and information processing program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2024087603A JP2024087603A (en) | 2024-07-01 |
| JP7580441B2 true JP7580441B2 (en) | 2024-11-11 |
Family
ID=91671727
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2022202512A Active JP7580441B2 (en) | 2022-12-19 | 2022-12-19 | Information processing device, information processing method, and information processing program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7580441B2 (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111080605A (en) | 2019-12-12 | 2020-04-28 | 哈尔滨市科佳通用机电股份有限公司 | Method for identifying railway wagon manual brake shaft chain falling fault image |
| CN113239960A (en) | 2021-04-09 | 2021-08-10 | 中用科技有限公司 | Intelligent early warning method and system for road protection by fusing AI visual algorithm |
| CN115170825A (en) | 2022-06-30 | 2022-10-11 | 阿里巴巴(中国)有限公司 | Image generation system training method, image generation method, and image generation system |
-
2022
- 2022-12-19 JP JP2022202512A patent/JP7580441B2/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111080605A (en) | 2019-12-12 | 2020-04-28 | 哈尔滨市科佳通用机电股份有限公司 | Method for identifying railway wagon manual brake shaft chain falling fault image |
| CN113239960A (en) | 2021-04-09 | 2021-08-10 | 中用科技有限公司 | Intelligent early warning method and system for road protection by fusing AI visual algorithm |
| CN115170825A (en) | 2022-06-30 | 2022-10-11 | 阿里巴巴(中国)有限公司 | Image generation system training method, image generation method, and image generation system |
Non-Patent Citations (1)
| Title |
|---|
| からあげ,話題の画像生成AI「Stable Diffusion」で遊ぶ!,日経Linux,日本,日経BP,2022年12月08日,第25巻 第1号,pp.85~93 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2024087603A (en) | 2024-07-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6355800B1 (en) | Learning device, generating device, learning method, generating method, learning program, and generating program | |
| JP6381768B1 (en) | Learning device, learning method, learning program and operation program | |
| CN111742345B (en) | Visual tracking through coloring | |
| US10621764B2 (en) | Colorizing vector graphic objects | |
| JP5993897B2 (en) | Specific apparatus, specific method, and specific program | |
| US11087504B2 (en) | Transforming grayscale images into color images using deep neural networks | |
| CN113609398A (en) | A social recommendation method based on heterogeneous graph neural network | |
| CN114627331B (en) | Model training method and device | |
| CN108280451A (en) | Semantic segmentation and network training method and device, equipment, medium, program | |
| CN110717953A (en) | Coloring method and system for black and white pictures based on CNN-LSTM combination model | |
| JP6975610B2 (en) | Learning device and learning method | |
| CN115272671A (en) | Image identification method based on high-order spatial information interaction | |
| US12488221B2 (en) | Unsupervised pre-training of neural networks using generative models | |
| WO2024255105A1 (en) | Method and apparatus for training picture recognition model, and storage medium, electronic device and program product | |
| US12586344B2 (en) | Generative model for multi-modality outputs from a single input | |
| JP7839030B2 (en) | Machine learning methods, information processing systems, information processing devices, servers, and programs | |
| JP7580441B2 (en) | Information processing device, information processing method, and information processing program | |
| JP7561175B2 (en) | Information processing device, information processing method, and information processing program | |
| CN114969508B (en) | Recommendation model data processing method | |
| Zhao | Artificial Intelligence‐Based Digital Media Design Effect Enhancement Mechanism | |
| Bhaumik et al. | Systematic comparison of head mounted display colorimetric performance using various color characterization models | |
| US20240242394A1 (en) | Non-adversarial image generation using transfer learning | |
| GB2567722A (en) | Predicting patch displacement maps using a neural network | |
| CN114780847A (en) | Object information processing and information pushing method, device and system | |
| CN114926568A (en) | Model training method, image generation method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20231018 |
|
| A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20231026 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240716 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240917 |
|
| 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: 20241001 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20241029 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7580441 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |