JP2023066489A - Evaluation system, evaluation method, and evaluation program - Google Patents

Evaluation system, evaluation method, and evaluation program Download PDF

Info

Publication number
JP2023066489A
JP2023066489A JP2021177112A JP2021177112A JP2023066489A JP 2023066489 A JP2023066489 A JP 2023066489A JP 2021177112 A JP2021177112 A JP 2021177112A JP 2021177112 A JP2021177112 A JP 2021177112A JP 2023066489 A JP2023066489 A JP 2023066489A
Authority
JP
Japan
Prior art keywords
trained model
estimated value
input image
image
evaluation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2021177112A
Other languages
Japanese (ja)
Inventor
剛志 今野
Tsuyoshi Konno
翔 田島
Sho Tajima
徹 梶原
Toru Kajiwara
央 出口
O Deguchi
啓介 中村
Keisuke Nakamura
毅 伊藤
Takeshi Ito
弘信 三浦
Hironobu Miura
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP2021177112A priority Critical patent/JP2023066489A/en
Publication of JP2023066489A publication Critical patent/JP2023066489A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a novel evaluation system, evaluation method, and evaluation program for evaluating a surface of an object.SOLUTION: An evaluation system according to one example includes: an acquisition unit that acquires an input image showing a surface of an object; a first estimation unit that inputs the input image to a first learned model and calculates a first estimated value for the surface; and a second estimation unit that inputs the input image to a second learned model different from the first learned model and calculates a second estimated value for the surface.SELECTED DRAWING: Figure 1

Description

本開示の一側面は、評価システム、評価方法、および評価プログラムに関する。 One aspect of the present disclosure relates to an evaluation system, an evaluation method, and an evaluation program.

特許文献1には、一つの検査対象を撮像して得られた複数の画像を使用して該検査対象に係る外観検査を行う検査装置が記載されている。この検査装置は、予め定義された画像と検査結果との関係を予め定めた学習モデルに基づいて、複数の画像それぞれにかかる検査結果を推定し、複数の画像にかかる検査結果それぞれの信頼度に基づいて、総合的な検査結果を算出する総合判定部を有する。 Patent Literature 1 describes an inspection apparatus that uses a plurality of images obtained by imaging a single inspection target to perform a visual inspection of the inspection target. This inspection apparatus estimates inspection results for each of a plurality of images based on a learning model that predefines the relationship between predefined images and inspection results. Based on this, it has a comprehensive determination unit that calculates a comprehensive inspection result.

特許第6708695号公報Japanese Patent No. 6708695

対象物の表面を評価するための新たな手法が望まれている。 A new technique for evaluating the surface of an object is desired.

本開示の一側面に係る評価システムは、対象物の表面を写した入力画像を取得する取得部と、入力画像を第1学習済みモデルに入力して、表面に関する第1推定値を算出する第1推定部と、入力画像を、第1学習済みモデルとは異なる第2学習済みモデルに入力して、表面に関する第2推定値を算出する第2推定部とを備える。 An evaluation system according to one aspect of the present disclosure includes an acquisition unit that acquires an input image showing the surface of an object, and a first trained model that inputs the input image into a first trained model to calculate a first estimated value for the surface. 1 estimating unit; and a second estimating unit that inputs the input image to a second trained model different from the first trained model and calculates a second estimated value for the surface.

本開示の一側面に係る評価方法は、少なくとも一つのプロセッサを備える評価システムにより実行される。この評価方法は、対象物の表面を写した入力画像を取得するステップと、入力画像を第1学習済みモデルに入力して、表面に関する第1推定値を算出するステップと、入力画像を、第1学習済みモデルとは異なる第2学習済みモデルに入力して、表面に関する第2推定値を算出するステップとを含む。 An evaluation method according to one aspect of the present disclosure is performed by an evaluation system that includes at least one processor. This evaluation method includes the steps of acquiring an input image showing the surface of the object, inputting the input image into a first trained model to calculate a first estimated value of the surface, and converting the input image into a first and inputting a second trained model, different from the one trained model, to compute a second estimate for the surface.

本開示の一側面に係る評価プログラムは、対象物の表面を写した入力画像を取得するステップと、入力画像を第1学習済みモデルに入力して、表面に関する第1推定値を算出するステップと、入力画像を、第1学習済みモデルとは異なる第2学習済みモデルに入力して、表面に関する第2推定値を算出するステップとをコンピュータに実行させる。 An evaluation program according to one aspect of the present disclosure includes steps of acquiring an input image showing the surface of an object, and inputting the input image into a first trained model to calculate a first estimated value of the surface. and inputting the input image to a second trained model different from the first trained model to calculate a second estimate of the surface.

本開示の一側面によれば、対象物の表面を評価するための新たな手法を提供できる。 According to one aspect of the present disclosure, a new technique for evaluating the surface of an object can be provided.

評価システムの機能構成の一例を示す図である。It is a figure showing an example of functional composition of an evaluation system. 評価システムで用いられるコンピュータのハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of the computer used with an evaluation system. 評価システムでの処理の一例を示すフローチャートである。It is a flow chart which shows an example of processing in an evaluation system. 原画像から複数の入力画像を得る処理の一例を示す図である。FIG. 4 is a diagram showing an example of processing for obtaining a plurality of input images from an original image; 拡散反射画像および正反射画像の一例を示す図である。FIG. 4 is a diagram showing an example of a diffuse reflection image and a specular reflection image; 対象物の表面の推定および評価の一例を示す図である。FIG. 4 is a diagram showing an example of estimation and evaluation of the surface of an object;

以下、添付図面を参照しながら本開示での実施形態を詳細に説明する。図面の説明において同一または同等の要素には同一の符号を付し、重複する説明を省略する。 Hereinafter, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. In the description of the drawings, the same or equivalent elements are denoted by the same reference numerals, and overlapping descriptions are omitted.

[システムの構成]
実施形態に係る評価システム1は、対象物の表面を写した入力画像に基づいてその表面を解析するコンピュータシステムである。対象物は任意の有体物である。一例では、評価システム1は対象物の表面に施された処理を評価するためにその解析を実行する。評価される処理の例として塗装および研磨が挙げられるが、これらに限定されない。
[System configuration]
The evaluation system 1 according to the embodiment is a computer system that analyzes the surface of an object based on an input image of the surface of the object. An object is any tangible object. In one example, the evaluation system 1 performs its analysis to evaluate the treatment applied to the surface of the object. Examples of treatments evaluated include, but are not limited to, painting and polishing.

評価システム1はその解析のために、入力画像を学習済みモデルに入力して、対象物の表面に関する推定値を算出する。学習済みモデルは入力画像を処理して推定値を出力する計算モデルである。学習済みモデルは予め機械学習によって生成される。機械学習とは、与えられた情報に基づいて反復的に学習することで、法則またはルールを自律的に見つけ出す手法をいう。学習済みモデルはアルゴリズムおよびデータ構造を用いて構築される。一例では、学習済みモデルは畳み込みニューラルネットワーク(CNN)などのニューラルネットワークによって構築される。CNNの例として、16層から成るCNNモデルであるVGG16が挙げられるが、これに限定されない。評価システム1で用いられる学習済みモデルは、最適であると推定される計算モデルであり、“現実に最適である計算モデル”とは限らないことに留意されたい。学習済みモデルはコンピュータシステム間で移植可能である。したがって、評価システム1は別のコンピュータシステムで生成された学習済みモデルを用いてもよい。あるいは、評価システム1は学習済みモデルを生成する機能を更に備えてもよい。学習済みモデルの生成は学習フェーズに相当し、評価システム1による学習済みモデルの利用は運用フェーズに相当する。 For its analysis, the evaluation system 1 feeds the input image into a trained model to calculate an estimate for the surface of the object. A trained model is a computational model that processes input images and outputs estimates. A trained model is generated in advance by machine learning. Machine learning refers to a method of autonomously discovering laws or rules by learning iteratively based on given information. A trained model is built using algorithms and data structures. In one example, the trained model is built by a neural network such as a convolutional neural network (CNN). An example of a CNN includes, but is not limited to, VGG16, a 16-layer CNN model. It should be noted that the trained model used in the evaluation system 1 is a computational model that is estimated to be optimal, and is not necessarily the “actually optimal computational model”. Trained models are portable between computer systems. Therefore, the evaluation system 1 may use a trained model generated by another computer system. Alternatively, the evaluation system 1 may further have a function of generating trained models. Generating a trained model corresponds to the learning phase, and using the trained model by the evaluation system 1 corresponds to the operation phase.

評価システム1のユーザは様々な利点を享受し得る。例えば、評価システム1を導入することで、人手による検査を自動化したり検査工数を削減したりすることが可能になり、ひいては、コスト削減または処理の効率化が期待できる。加えて、人の感覚による判断のばらつきを無くして、検査の質を安定させることができる。更に、解析は画像処理によって行われるので、対象物の表面に物理的に接触することなく該表面を検査できる。 Users of rating system 1 may enjoy various advantages. For example, by introducing the evaluation system 1, it becomes possible to automate manual inspections and reduce the number of inspection man-hours. In addition, it is possible to eliminate variations in judgment based on human senses and stabilize the quality of examination. Furthermore, since the analysis is performed by image processing, the surface of the object can be inspected without physically touching the surface.

図1は評価システム1の機能構成の一例を示す図である。一例では、評価システム1は機能モジュールとして選択部10、取得部11、推定部12、評価部13を備える。選択部10は、評価システム1によって処理されようとする画像を選択する機能モジュールである。取得部11は、対象物の表面を写した入力画像を取得する機能モジュールである。推定部12は学習済みモデルに入力画像を入力して推定値を算出する機能モジュールである。評価部13はその推定値に基づいて対象物の表面を評価する機能モジュールである。 FIG. 1 is a diagram showing an example of the functional configuration of the evaluation system 1. As shown in FIG. In one example, the evaluation system 1 includes a selection unit 10, an acquisition unit 11, an estimation unit 12, and an evaluation unit 13 as functional modules. The selection unit 10 is a functional module that selects images to be processed by the evaluation system 1 . The acquisition unit 11 is a functional module that acquires an input image representing the surface of an object. The estimation unit 12 is a functional module that inputs an input image to a trained model and calculates an estimated value. The evaluation unit 13 is a functional module that evaluates the surface of the object based on the estimated values.

一例では、推定部12は第1推定部14および第2推定部15を備える。第1推定部14は入力画像を第1学習済みモデルに入力して、対象物の表面に関する第1推定値を算出する機能モジュールである。第2推定部15は、第1学習済みモデルとは異なる第2学習済みモデルに入力画像を入力して、表面に関する第2推定値を算出する機能モジュールである。すなわち、推定部12は一つの入力画像を2種類の学習済みモデルのそれぞれで処理して2種類の推定値を算出してもよい。 In one example, the estimator 12 comprises a first estimator 14 and a second estimator 15 . The first estimation unit 14 is a functional module that inputs the input image to the first trained model and calculates a first estimated value regarding the surface of the object. The second estimation unit 15 is a functional module that inputs an input image to a second trained model different from the first trained model and calculates a second estimated value for the surface. That is, the estimation unit 12 may process one input image with two types of trained models and calculate two types of estimated values.

第1学習済みモデルおよび第2学習済みモデルのそれぞれは、入力画像に基づいて分類および回帰のいずれか一方を実行する。分類は、入力画像中における所定の対象物の位置または領域を推定する物体検出であってもよい。あるいは、分類は、所定の対象物が入力画像中に存在するか否かを推定する存在判定であってもよい。したがって、分類を実行する学習済みモデルは、物体検出を実行してもよいし、存在判定を実行してもよい。例えば、第1学習済みモデルが入力画像に基づく分類を実行し、第2学習済みモデルが入力画像に基づく回帰を実行してもよい。この場合、第1推定部14は、入力画像を第1学習済みモデルに入力して、表面の物理的性質を示すクラスを第1推定値として算出する。すなわち、第1推定部14は多クラス問題を解いてもよく、例えば2クラス問題を解いてもよい。第2推定部15は、入力画像を第2学習済みモデルに入力して、表面の物理的性質を示す連続値を第2推定値として算出する。物理的性質の例として、表面に施された塗装または研磨の状態が挙げられるが、これに限定されない。表面の塗装状態は、塗装量に関連する指標によって表されてもよい。例えば、塗装状態は透け、垂れなどのように定性的に表されてもよい。透けとは、塗装が不十分であるために素地の一部が露出した状態をいう。垂れとは、塗装が過剰であるために塗装の一部が滴のように浮き上がった状態をいう。塗装状態は膜厚などのように定量的に表されてもよい。 Each of the first trained model and the second trained model performs one of classification and regression based on the input image. Classification may be object detection, estimating the location or region of a given object in the input image. Alternatively, the classification may be a presence determination that estimates whether a given object is present in the input image. Thus, a trained model that performs classification may perform object detection and may perform presence determination. For example, a first trained model may perform classification based on input images and a second trained model may perform regression based on input images. In this case, the first estimating unit 14 inputs the input image to the first trained model and calculates the class indicating the physical property of the surface as the first estimated value. That is, the first estimation unit 14 may solve a multi-class problem, for example, a two-class problem. The second estimation unit 15 inputs the input image to the second trained model, and calculates continuous values indicating the physical properties of the surface as second estimated values. Examples of physical properties include, but are not limited to, the state of painting or polishing applied to the surface. The coating state of the surface may be represented by an index related to the amount of coating. For example, the coating state may be expressed qualitatively, such as see-through or dripping. "Transparent" refers to a state in which a part of the substrate is exposed due to insufficient coating. Dripping refers to a state in which a portion of the coating rises like a drop due to excessive coating. The coating state may be expressed quantitatively such as film thickness.

評価システム1は任意の種類のコンピュータによって実現され得る。そのコンピュータは、パーソナルコンピュータ、業務用サーバなどの汎用コンピュータでもよいし、特定の処理を実行する専用装置に組み込まれてもよい。評価システム1は一つのコンピュータによって実現されてもよいし、複数のコンピュータを有する分散システムによって実現されてもよい。 Rating system 1 can be implemented by any kind of computer. The computer may be a general-purpose computer such as a personal computer or a server for business use, or may be incorporated in a dedicated device that executes specific processing. The evaluation system 1 may be implemented by one computer, or may be implemented by a distributed system having a plurality of computers.

図2は、評価システム1で用いられるコンピュータ100のハードウェア構成の一例を示す図である。この例では、コンピュータ100は本体110、モニタ120、および入力デバイス130を備える。 FIG. 2 is a diagram showing an example of the hardware configuration of the computer 100 used in the evaluation system 1. As shown in FIG. In this example, computer 100 comprises main body 110 , monitor 120 and input device 130 .

本体110はコンピュータの主たる機能を実行する装置である。本体110は回路160を有し、回路160は、少なくとも一つのプロセッサ161と、メモリ162と、ストレージ163と、入出力ポート164と、通信ポート165とを有する。ストレージ163は、本体110の各機能モジュールを構成するためのプログラムを記録する。ストレージ163は、ハードディスク、不揮発性の半導体メモリ、磁気ディスク、光ディスクなどの、コンピュータ読み取り可能な記録媒体である。メモリ162は、ストレージ163からロードされたプログラム、プロセッサ161の演算結果などを一時的に記憶する。プロセッサ161は、メモリ162と協働してプログラムを実行することで、各機能モジュールを構成する。入出力ポート164は、プロセッサ161からの指令に応じて、モニタ120または入力デバイス130との間で電気信号の入出力を行う。入出力ポート164は他の装置との間で電気信号の入出力を行ってもよい。通信ポート165は、プロセッサ161からの指令に従って、通信ネットワークNを介して他の装置との間でデータ通信を行う。 The main body 110 is the device that performs the main functions of the computer. The main body 110 has a circuit 160 which has at least one processor 161 , a memory 162 , a storage 163 , an input/output port 164 and a communication port 165 . Storage 163 records programs for configuring each functional module of main body 110 . The storage 163 is a computer-readable recording medium such as a hard disk, nonvolatile semiconductor memory, magnetic disk, or optical disk. The memory 162 temporarily stores programs loaded from the storage 163, calculation results of the processor 161, and the like. The processor 161 configures each functional module by executing a program in cooperation with the memory 162 . The input/output port 164 inputs and outputs electrical signals to/from the monitor 120 or the input device 130 according to instructions from the processor 161 . The input/output port 164 may input/output electrical signals to/from other devices. Communication port 165 performs data communication with other devices via communication network N according to instructions from processor 161 .

モニタ120は、本体110から出力された情報を表示するための装置である。モニタ120は、グラフィック表示が可能であればいかなるものであってもよく、その具体例としては液晶パネルが挙げられる。 Monitor 120 is a device for displaying information output from main body 110 . The monitor 120 may be of any type as long as it can display graphics, and a specific example thereof is a liquid crystal panel.

入力デバイス130は、本体110に情報を入力するための装置である。入力デバイス130は、所望の情報を入力可能であればいかなるものであってもよく、その具体例としてはキーパッド、マウス、操作コントローラなどの操作インタフェースが挙げられる。 Input device 130 is a device for inputting information into main body 110 . The input device 130 may be of any type as long as desired information can be input, and specific examples thereof include operation interfaces such as a keypad, mouse, and operation controller.

モニタ120および入力デバイス130はタッチパネルとして一体化されていてもよい。例えばタブレットコンピュータのように、本体110、モニタ120、および入力デバイス130が一体化されていてもよい。 The monitor 120 and the input device 130 may be integrated as a touch panel. For example, the main body 110, the monitor 120, and the input device 130 may be integrated like a tablet computer.

評価システム1の各機能モジュールは、プロセッサ161またはメモリ162の上に評価プログラムを読み込ませてプロセッサ161にそのプログラムを実行させることで実現される。評価プログラムは、評価システム1の各機能モジュールを実現するためのコードを含む。プロセッサ161は評価プログラムに従って入出力ポート164または通信ポート165を動作させ、メモリ162またはストレージ163におけるデータの読み出しおよび書き込みを実行する。 Each functional module of the evaluation system 1 is realized by loading an evaluation program into the processor 161 or memory 162 and causing the processor 161 to execute the program. The evaluation program includes codes for realizing each functional module of the evaluation system 1. FIG. The processor 161 operates the input/output port 164 or communication port 165 according to the evaluation program to read and write data in the memory 162 or storage 163 .

評価プログラムは、CD-ROM、DVD-ROM、半導体メモリなどの非一時的な記録媒体に固定的に記録された上で提供されてもよい。あるいは、評価プログラムは、搬送波に重畳されたデータ信号として通信ネットワークを介して提供されてもよい。 The evaluation program may be provided after being permanently recorded in a non-temporary recording medium such as a CD-ROM, DVD-ROM, or semiconductor memory. Alternatively, the evaluation program may be provided via a communication network as a data signal superimposed on a carrier wave.

[評価方法]
本開示に係る評価方法の一例として、図3を参照しながら、評価システム1により実行される処理手順の一例を説明する。図3は評価システム1での処理の一例を処理フローS1として示すフローチャートである。すなわち、評価システム1は処理フローS1を実行する。
[Evaluation method]
As an example of the evaluation method according to the present disclosure, an example of a processing procedure executed by the evaluation system 1 will be described with reference to FIG. FIG. 3 is a flow chart showing an example of processing in the evaluation system 1 as a processing flow S1. That is, the evaluation system 1 executes the processing flow S1.

ステップS11では、取得部11が、対象物の表面を写した入力画像を取得する。例えば、取得部11は塗装または研磨された表面を写す入力画像を取得する。入力画像は静止画でもよいし、映像を構成する一つのフレーム入力画像でもよい。取得部11はカメラまたは他のコンピュータから送られてきた入力画像を受信してもよい。あるいは、取得部11はユーザにより入力された入力画像を受け付けてもよいし、ユーザ入力に基づいて所与の記憶装置から入力画像を読み出してもよい。一例では、取得部11は入力された原画像に対して物体認識を実行し、対象物が映っている領域をその画像から切り出す。取得部11はその切り出された領域を入力画像として取得する。 In step S11, the acquisition unit 11 acquires an input image showing the surface of the object. For example, the acquisition unit 11 acquires an input image showing a painted or polished surface. The input image may be a still image, or may be one frame input image forming a video. Acquisition unit 11 may receive an input image sent from a camera or another computer. Alternatively, the acquisition unit 11 may accept an input image input by a user, or read an input image from a given storage device based on user input. In one example, the acquisition unit 11 performs object recognition on the input original image, and cuts out a region in which the target object is shown from the image. The obtaining unit 11 obtains the clipped area as an input image.

一例では、取得部11は対象物の表面を写した原画像を取得し、この原画像を分割して複数の入力画像を取得する。図4はその処理の一例を示す図である。この例では、取得部11は対象物210の表面を写した原画像200を取得する。取得部11は対象物210が映っている領域を原画像200から切り出し、その切り出された領域を分割して6個の入力画像221~226を取得する。 In one example, the acquisition unit 11 acquires an original image of the surface of the object, divides the original image, and acquires a plurality of input images. FIG. 4 is a diagram showing an example of the processing. In this example, the acquisition unit 11 acquires an original image 200 representing the surface of the object 210 . The acquisition unit 11 cuts out a region in which the object 210 is shown from the original image 200, divides the cut out region, and acquires six input images 221-226.

入力画像の寸法は、対象物の種類、表面の種類、表面に施された処理方法などの様々な要素に基づいて設定されてよい。例えば、取得部11は448(画素)×448(画素)の入力画像を取得してもよい。 The dimensions of the input image may be set based on various factors such as the type of object, the type of surface, the method of treatment applied to the surface, and the like. For example, the acquisition unit 11 may acquire an input image of 448 (pixels)×448 (pixels).

一例では、取得部11は入力画像として、拡散反射画像および正反射画像のうちのいずれか一方を取得する。正反射画像とは光の正反射成分が抽出された画像をいう。拡散反射画像とは光の拡散反射成分が抽出された画像をいう。 In one example, the acquisition unit 11 acquires either one of a diffuse reflection image and a specular reflection image as an input image. A specular reflection image is an image from which specular reflection components of light are extracted. A diffuse reflection image is an image from which diffuse reflection components of light are extracted.

図5は、或る対象物の表面を写した共通の原画像から得られた拡散反射画像および正反射画像を示す図である。この図に示すように、拡散反射画像と正反射画像とで表面の状態の現れ方が異なる。一例として、表面の光沢状態がメタリックである場合、すなわち表面の光沢度が高い場合には、正反射画像によって表面の状況がより明確に現れる。典型的には、メタルフレークなどの金属粉が混入されている塗料が用いられた場合に、表面の光沢状態はメタリックになる。一方、表面の光沢状態が非メタリックである場合、すなわち表面の光沢度が低い場合には、拡散反射画像によって表面の状況がより明確に現れる。別の例として、正反射画像は表面の傷の検査に適する。一方、拡散反射画像は表面上の異物または汚れを検査したり、膜厚を評価したりする処理に適する。 FIG. 5 is a diagram showing a diffuse reflection image and a specular reflection image obtained from a common original image of the surface of an object. As shown in this figure, the appearance of the surface state differs between the diffuse reflection image and the specular reflection image. As an example, when the glossiness of the surface is metallic, that is, when the glossiness of the surface is high, the specular reflection image clearly shows the condition of the surface. Typically, when a paint mixed with metal powder such as metal flakes is used, the gloss of the surface becomes metallic. On the other hand, when the glossiness of the surface is non-metallic, that is, when the glossiness of the surface is low, the surface condition appears more clearly in the diffuse reflection image. As another example, specular images are suitable for surface flaw inspection. Diffuse reflection images, on the other hand, are suitable for processes such as inspecting for foreign matter or dirt on the surface and evaluating film thickness.

このような各画像の性質を考慮して、取得部11は拡散反射画像および正反射画像のうちのいずれか一方を取得してもよい。一例では、取得部11は選択部10によって選択された画像を取得する。例えば、選択部10が対象物の塗装の種類に基づいて、正反射画像および拡散反射画像のうちの一方の画像を選択し、取得部11はその選択された画像を入力画像として取得する。選択部10は正反射画像および拡散反射画像のうちの一方の画像を撮影することをカメラに指示することで、その選択を実行してもよい。あるいは、選択部10は評価システム1によって受け付けられた正反射画像および拡散反射画像から一方の画像を選択してもよい。あるいは、選択部10は受け付けた原画像を正反射画像および拡散反射画像の一方に変換することで、その選択を実行してもよい。いずれにしても、取得部11は選択部10によって選択された画像を入力画像として取得する。一例では、選択部10が、表面の光沢状態がメタリックである場合に正反射画像を選択し、取得部11がその正反射画像を取得してもよい。 Considering such properties of each image, the acquisition unit 11 may acquire either a diffuse reflection image or a specular reflection image. In one example, the acquisition unit 11 acquires the image selected by the selection unit 10 . For example, the selection unit 10 selects one of the regular reflection image and the diffuse reflection image based on the type of coating of the object, and the acquisition unit 11 acquires the selected image as the input image. The selection unit 10 may perform the selection by instructing the camera to capture one of the specular reflection image and the diffuse reflection image. Alternatively, the selection unit 10 may select one of the specular reflection image and the diffuse reflection image received by the evaluation system 1 . Alternatively, the selection unit 10 may perform the selection by converting the received original image into one of the specular reflection image and the diffuse reflection image. In any case, the acquisition unit 11 acquires the image selected by the selection unit 10 as the input image. In one example, the selection unit 10 may select a specular reflection image when the glossiness of the surface is metallic, and the obtaining unit 11 may obtain the specular reflection image.

図3に戻って、ステップS12では、推定部12が入力画像に対応する学習済みモデルを選択する。一例では、推定部12は、正反射画像に基づいて推定値を算出する学習済みモデル(正反射画像用の学習済みモデル)と、拡散反射画像に基づいて推定値を算出する学習済みモデル(拡散反射画像用の学習済みモデル)との中から、入力画像に対応する学習済みモデルを選択する。正反射画像用の学習済みモデルおよび拡散反射画像用の学習済みモデルは、入力画像を処理するための学習済みモデルの候補であるといえる。一例では、第1推定部14が、正反射画像のための第1学習済みモデルの候補と、拡散反射画像のための第1学習済みモデルの候補とから、入力画像に対応する第1学習済みモデルを選択する。更に、第2推定部15が、正反射画像のための第2学習済みモデルの候補と、拡散反射画像のための第2学習済みモデルの候補とから、入力画像に対応する第2学習済みモデルを選択する。このように、推定部12(第1推定部14および第2推定部15)は選択部としても機能し得る。 Returning to FIG. 3, in step S12, the estimation unit 12 selects a trained model corresponding to the input image. In one example, the estimation unit 12 includes a trained model for calculating an estimated value based on a specular reflection image (a trained model for a specular reflection image) and a trained model for calculating an estimated value based on a diffuse reflection image (a diffuse A trained model corresponding to the input image is selected from among the trained models for the reflection image). It can be said that the trained model for the specular reflection image and the trained model for the diffuse reflection image are candidates for the trained model for processing the input image. In one example, the first estimating unit 14 selects the first trained model candidate for the specular reflection image and the first trained model candidate for the diffuse reflection image from the first trained model candidate corresponding to the input image. Choose a model. Further, the second estimating unit 15 generates a second trained model corresponding to the input image from the second trained model candidate for the specular reflection image and the second trained model candidate for the diffuse reflection image. to select. Thus, the estimator 12 (the first estimator 14 and the second estimator 15) can also function as a selector.

ステップS13では、第1推定部14が入力画像を第1学習済みモデルに入力して第1推定値を算出する。一例では、第1学習済みモデルは入力画像に基づく分類を実行する学習済みモデルである。この場合、第1推定部14は入力画像を第1学習済みモデルに入力して、表面の物理的性質を示すクラスを第1推定値として算出する。複数の入力画像が取得された場合には、第1推定部14は、複数の入力画像のそれぞれについて第1推定値を算出する。 In step S13, the first estimation unit 14 inputs the input image to the first trained model to calculate the first estimated value. In one example, the first trained model is a trained model that performs classification based on input images. In this case, the first estimator 14 inputs the input image to the first trained model and calculates a class representing the physical property of the surface as the first estimated value. When multiple input images are acquired, the first estimation unit 14 calculates a first estimated value for each of the multiple input images.

ステップS14では、推定部12が、第1推定値が所与の条件を満たすか否かを判定する。第1推定値がその条件を満たす場合には処理はステップS15に進み、第1推定値がその条件を満たさない場合にはステップS15は実行されない。一例では、推定部12は第1推定値が特定のクラスであるか否かを判定する。第1推定値がそのクラスである場合にはステップS15が実行され、そうでない場合にはステップS15は省略される。複数の入力画像が取得された場合には、推定部12は、複数の入力画像のそれぞれについてその判定を実行する。一例では、少なくとも一つの入力画像について第1推定値が所与の条件を満たす場合に、該少なくとも一つの入力画像についてステップS15が実行される。あるいは、少なくとも一つの入力画像について第1推定値が所与の条件を満たさない場合に、すべての入力画像についてステップS15がスキップされてもよい。 In step S14, the estimation unit 12 determines whether the first estimated value satisfies a given condition. If the first estimated value satisfies the condition, the process proceeds to step S15, and if the first estimated value does not satisfy the condition, step S15 is not executed. In one example, the estimator 12 determines whether the first estimated value belongs to a specific class. If the first estimate is of that class, step S15 is performed, otherwise step S15 is omitted. When a plurality of input images are acquired, the estimation unit 12 executes the determination for each of the plurality of input images. In one example, step S15 is performed for at least one input image if the first estimate satisfies a given condition for the at least one input image. Alternatively, step S15 may be skipped for all input images if the first estimate does not satisfy the given condition for at least one input image.

ステップS15では、第2推定部15が、第1推定値が所与の条件を満たすことに応答して、入力画像を第2学習済みモデルに入力して第2推定値を算出する。一例では、第2学習済みモデルは入力画像に基づく回帰を実行する学習済みモデルである。この場合、第2推定部15は入力画像を第2学習済みモデルに入力して、表面の物理的性質を示す連続値を第2推定値として算出する。複数の入力画像が取得された場合には、第2推定部15は、複数の入力画像のそれぞれについて第2推定値を算出し得る。 In step S15, the second estimator 15 inputs the input image to the second trained model to calculate the second estimated value in response to the fact that the first estimated value satisfies the given condition. In one example, the second trained model is a trained model that performs regression based on the input image. In this case, the second estimator 15 inputs the input image to the second trained model, and calculates continuous values representing the physical properties of the surface as second estimated values. When multiple input images are acquired, the second estimation unit 15 can calculate a second estimated value for each of the multiple input images.

ステップS16では、評価部13が第1推定値および第2推定値の少なくとも一方に基づいて対象物の表面を評価する。第1推定値が算出され第2推定値が算出されなかった場合には、評価部13は第1推定値に基づいて対象物の表面を評価する。第1推定値および第2推定値が算出された場合には、評価部13は双方の推定値に基づいて対象物の表面を評価してもよいし、第1推定値を用いることなく第2推定値に基づいてその評価を実行してもよい。すなわち、評価部13は、第1推定値が条件を満たさないことに応答して、第1推定値に基づいて表面を評価し、第1推定値が条件を満たすことに応答して、少なくとも第2推定値に基づいて表面を評価してもよい。評価部13は第1推定値および第2推定値の少なくとも一方をそのまま評価値として用いてもよい。あるいは、評価部13は第1推定値および第2推定値の少なくとも一方に基づいて所与の指標値または物性値を評価値として決定してもよい。 In step S16, the evaluation unit 13 evaluates the surface of the object based on at least one of the first estimated value and the second estimated value. When the first estimated value is calculated and the second estimated value is not calculated, the evaluation unit 13 evaluates the surface of the object based on the first estimated value. When the first estimated value and the second estimated value are calculated, the evaluation unit 13 may evaluate the surface of the object based on both estimated values, or the second estimated value may be evaluated without using the first estimated value. The evaluation may be performed based on estimates. That is, the evaluation unit 13 evaluates the surface based on the first estimated value in response to the first estimated value not satisfying the condition, and at least the first estimated value in response to the first estimated value satisfying the condition. Surfaces may be evaluated based on two estimates. The evaluation unit 13 may directly use at least one of the first estimated value and the second estimated value as the evaluation value. Alternatively, the evaluation unit 13 may determine a given index value or physical property value as an evaluation value based on at least one of the first estimated value and the second estimated value.

複数の入力画像が取得された場合には、評価部13は、複数の入力画像に対応する表面の複数の部分領域のそれぞれを、第1推定値および第2推定値の少なくとも一方に基づいて評価する。図4に示す入力画像221~226が取得された場合には、対象物210の表面は6個の部分領域に分けられる。この場合、評価部13はこれらの部分領域のそれぞれを評価する。 When a plurality of input images are acquired, the evaluation unit 13 evaluates each of the plurality of partial regions of the surface corresponding to the plurality of input images based on at least one of the first estimated value and the second estimated value. do. When the input images 221-226 shown in FIG. 4 are acquired, the surface of the object 210 is divided into six subregions. In this case, the evaluation unit 13 evaluates each of these partial areas.

図6は対象物の表面の推定および評価の一例を示す図である。この例では、評価システム1は対象物の表面300に施された塗装状態を推定および評価する。取得部11は塗装された表面300を写した入力画像を取得する。第1推定部14はその入力画像を第1学習済みモデルに入力して、表面の塗装状態を示すクラスを第1推定値として算出する。この例では、第1学習済みモデルは一つの入力画像に対して、塗料の垂れを示すクラスID「0」と、垂れ以外の状態を示すクラスID「1」とのいずれか一方を出力する。第1推定値が「1」であることに応答して、第2推定部15はその入力画像を第2学習済みモデルに入力して、表面の塗装状態を示す連続値を第2推定値として算出する。この例では、第2学習済みモデルは一つの入力画像に対して、「垂れ以外」の塗装状態を-10~+10の範囲内の一つの数値によって推定する。下限値-10は塗装の透けが最も酷いことを意味し、上限値+10は塗料が垂れそうな程に塗装量が多いことを意味する。このような第1推定値および第2推定値は、垂れが生ずるまでは塗装状態が塗料の量にほぼ比例し、垂れが生ずるとその線形的な変化が成り立たなくなることを考慮して設定されたものである。 FIG. 6 is a diagram showing an example of estimation and evaluation of the surface of an object. In this example, the evaluation system 1 estimates and evaluates the state of paint applied to the surface 300 of the object. Acquisition unit 11 acquires an input image showing painted surface 300 . The first estimator 14 inputs the input image to the first learned model, and calculates a class indicating the painting state of the surface as a first estimated value. In this example, the first trained model outputs either class ID "0" indicating dripping of paint or class ID "1" indicating a state other than dripping for one input image. In response to the fact that the first estimated value is "1", the second estimator 15 inputs the input image to the second trained model, and uses continuous values indicating the state of painting on the surface as the second estimated value. calculate. In this example, the second trained model estimates the “non-sagging” paint condition for one input image by one numerical value within the range of −10 to +10. The lower limit value of -10 means that the paint is most transparent, and the upper limit value of +10 means that the amount of paint is so large that the paint is likely to drip. The first estimated value and the second estimated value are set in consideration of the fact that the state of the coating is approximately proportional to the amount of paint until dripping occurs, and once dripping occurs, the linear change ceases to hold. It is.

図6は5個の入力画像311~315を示す。入力画像311では、表面300上の塗装の透けの程度が相対的に大きい。入力画像312では、その透けの程度は相対的に小さいが、良好な塗装であるとはいえない。入力画像313では、表面300上に塗装が過不足なく施されており、したがってこれは良好な塗装状態であるといえる。入力画像314では、塗装量がやや過剰であるために部分的に塗料が盛り上がっている。入力画像315では、塗装量が過剰であるために表面300上に垂れが生じている。 FIG. 6 shows five input images 311-315. In the input image 311, the degree of transparency of the paint on the surface 300 is relatively large. In the input image 312, the degree of transparency is relatively small, but it cannot be said that the paint is good. The input image 313 has just enough paint on the surface 300, so it can be said that this is a good paint condition. In the input image 314, the paint is partially raised because the amount of paint is slightly excessive. In the input image 315, the excessive amount of paint causes sagging on the surface 300. FIG.

図6の例では、第1推定部14は入力画像311~314のそれぞれについてクラスID「1」を、入力画像315についてクラスID「0」を、第1推定値として算出する。これは処理フローS1でのステップS13に相当する。この例では、第1推定値についての所与の条件が「第1推定値が1であること」とする。入力画像311~314のそれぞれについては、第2推定部15は第1推定値が1であることに応答して(ステップS14においてYES)、その入力画像を第2学習済みモデルに入力して、-10~+10の間の一つの値を第2推定値として算出する(ステップS15)。例えば、第2推定部15は、入力画像311については相対的に-10に近い値を第2推定値として算出し、入力画像314については相対的に+10に近い値を第2推定値として算出する。 In the example of FIG. 6, the first estimation unit 14 calculates class ID "1" for each of the input images 311 to 314 and class ID "0" for the input image 315 as the first estimated values. This corresponds to step S13 in the processing flow S1. In this example, it is assumed that the given condition for the first estimated value is "the first estimated value is 1". For each of the input images 311 to 314, in response to the first estimated value being 1 (YES in step S14), the second estimation unit 15 inputs the input image to the second trained model, One value between -10 and +10 is calculated as the second estimated value (step S15). For example, the second estimation unit 15 calculates a value relatively close to −10 as the second estimated value for the input image 311, and calculates a value relatively close to +10 as the second estimated value for the input image 314. do.

図6の例では、評価部13は二値の第1推定値と、-10~+10の間の第2推定値との少なくとも一方に基づいて表面300の塗装状態を評価する。評価部13は第1推定値および第2推定値の少なくとも一方をそのまま評価値として決定してもよい。あるいは評価部13は第1推定値および第2推定値の少なくとも一方に基づいて、「透け」、「OK」、「垂れ」などの指標値を評価値として決定してもよい。あるいは評価部13は第2推定値を膜厚に変換してその膜厚を評価値として決定してもよい。第2学習済みモデルが入力画像に基づいて膜厚を出力する場合には、評価部13はその出力値をそのまま評価値として決定してもよい。 In the example of FIG. 6, the evaluation unit 13 evaluates the paint condition of the surface 300 based on at least one of a binary first estimated value and a second estimated value between -10 and +10. The evaluation unit 13 may directly determine at least one of the first estimated value and the second estimated value as the evaluation value. Alternatively, the evaluation unit 13 may determine index values such as “see-through”, “OK”, and “drip” as evaluation values based on at least one of the first estimated value and the second estimated value. Alternatively, the evaluation unit 13 may convert the second estimated value into a film thickness and determine the film thickness as the evaluation value. When the second trained model outputs the film thickness based on the input image, the evaluation unit 13 may directly determine the output value as the evaluation value.

図6の例において、第1推定部14は表面の塗装状態を3以上のクラスIDによって推定してもよい。例えば、第1推定部14は塗料の透けおよび垂れの少なくとも一方について、2以上のクラスIDを用いて詳細に推定してもよい。第2推定部15は3以上のクラスIDのうちの任意の1以上のクラスIDについて第2推定値を算出してよい。例えば、第1推定部14は塗料の透けに関する少なくとも一つのクラスIDに応答して第2推定値を算出してもよいし、塗料の垂れに関する少なくとも一つのクラスIDに応答して第2推定値を算出してもよい。 In the example of FIG. 6, the first estimation unit 14 may estimate the painting state of the surface using three or more class IDs. For example, the first estimation unit 14 may estimate in detail at least one of paint transparency and paint dripping using two or more class IDs. The second estimation unit 15 may calculate the second estimated value for any one or more class IDs among the three or more class IDs. For example, the first estimating unit 14 may calculate the second estimated value in response to at least one class ID related to paint transparency, or the second estimated value in response to at least one class ID related to paint dripping. may be calculated.

図3に戻って、ステップS17では評価部13が評価結果を出力する。評価部13はテキスト、コンピュータグラフィック(CG)による動画または静止画などの形式で評価結果をモニタ120上に表示してもよい。あるいは、評価部13は評価結果をストレージ163などの記録媒体に格納してもよい。あるいは、評価部13は評価結果を他のコンピュータに向けて送信してもよい。複数の入力画像が取得された場合には、評価部13はそれぞれの入力画像について、対象物の表面内における部分領域の位置と評価値との対応を示す評価結果を出力してもよい。この評価結果によって表面の状態を部分領域ごとに詳細に提示できる。 Returning to FIG. 3, the evaluation unit 13 outputs the evaluation result in step S17. The evaluation unit 13 may display the evaluation results on the monitor 120 in the form of text, computer graphics (CG) moving images or still images. Alternatively, the evaluation unit 13 may store evaluation results in a recording medium such as the storage 163 . Alternatively, the evaluation unit 13 may transmit evaluation results to other computers. When a plurality of input images are acquired, the evaluation unit 13 may output an evaluation result indicating the correspondence between the position of the partial area within the surface of the object and the evaluation value for each input image. Based on the evaluation results, the surface state can be presented in detail for each partial area.

評価システム1は処理フローS1を繰り返し実行し得る。取得部11は個々の処理フローS1において、正反射画像を取得する場合もあれば、拡散反射画像を取得する場合もある。すなわち、取得部11は正反射画像および拡散反射画像のうちの少なくとも一方を入力画像として取得してもよい。 The evaluation system 1 can repeatedly execute the process flow S1. In each processing flow S1, the acquiring unit 11 may acquire a specular reflection image or may acquire a diffuse reflection image. That is, the acquisition unit 11 may acquire at least one of the specular reflection image and the diffuse reflection image as the input image.

評価システム1は或る一つの表面について、ステップS11において正反射画像および拡散反射画像の双方を入力画像として取得し、その2種類の入力画像のそれぞれについてステップS12~S17の処理を実行してもよい。この場合に、評価システム1は正反射画像および拡散反射画像の少なくとも一方について、画像分割によって複数の入力画像を取得し、それぞれの入力画像について推定および評価を実行してもよい。上述したように、正反射画像と拡散反射画像とでは表面の状態の現れ方が異なる。したがって、対象物の表面を正反射画像および拡散反射画像の双方に基づいて推定することで、複数の観点から表面を評価することが可能になる。 The evaluation system 1 acquires both a specular reflection image and a diffuse reflection image as input images in step S11 for a certain surface, and executes the processing of steps S12 to S17 for each of the two types of input images. good. In this case, the evaluation system 1 may acquire a plurality of input images by image division for at least one of specular reflection images and diffuse reflection images, and perform estimation and evaluation for each input image. As described above, the specular reflection image and the diffuse reflection image show different surface states. Therefore, by estimating the surface of the object based on both the specular reflection image and the diffuse reflection image, it becomes possible to evaluate the surface from a plurality of viewpoints.

[効果]
以上説明したように、本開示の一側面に係る評価システムは、対象物の表面を写した入力画像を取得する取得部と、入力画像を第1学習済みモデルに入力して、表面に関する第1推定値を算出する第1推定部と、入力画像を、第1学習済みモデルとは異なる第2学習済みモデルに入力して、表面に関する第2推定値を算出する第2推定部とを備える。
[effect]
As described above, the evaluation system according to one aspect of the present disclosure includes an acquisition unit that acquires an input image representing the surface of an object, and inputs the input image to the first trained model to obtain the first A first estimating unit that calculates an estimated value, and a second estimating unit that inputs the input image to a second trained model different from the first trained model and calculates a second estimated value for the surface.

本開示の一側面に係る評価方法は、少なくとも一つのプロセッサを備える評価システムにより実行される。この評価方法は、対象物の表面を写した入力画像を取得するステップと、入力画像を第1学習済みモデルに入力して、表面に関する第1推定値を算出するステップと、入力画像を、第1学習済みモデルとは異なる第2学習済みモデルに入力して、表面に関する第2推定値を算出するステップとを含む。 An evaluation method according to one aspect of the present disclosure is performed by an evaluation system that includes at least one processor. This evaluation method includes the steps of acquiring an input image showing the surface of the object, inputting the input image into a first trained model to calculate a first estimated value of the surface, and converting the input image into a first and inputting a second trained model, different from the one trained model, to compute a second estimate for the surface.

本開示の一側面に係る評価プログラムは、対象物の表面を写した入力画像を取得するステップと、入力画像を第1学習済みモデルに入力して、表面に関する第1推定値を算出するステップと、入力画像を、第1学習済みモデルとは異なる第2学習済みモデルに入力して、表面に関する第2推定値を算出するステップとをコンピュータに実行させる。 An evaluation program according to one aspect of the present disclosure includes steps of acquiring an input image showing the surface of an object, and inputting the input image into a first trained model to calculate a first estimated value of the surface. and inputting the input image to a second trained model different from the first trained model to calculate a second estimate of the surface.

このような側面においては、一つの入力画像に対して2種類の学習済みモデルのそれぞれが用いられて二つの推定値が算出される。2種類の推定を採用することで対象物の表面を適切に評価することが可能になる。 In this aspect, two estimated values are calculated using two types of trained models, respectively, for one input image. Employing two types of estimation allows the surface of the object to be properly evaluated.

他の側面に係る評価システムでは、第1学習済みモデルは、入力画像に基づく分類を実行する学習済みモデルであり、第1推定部は、入力画像を第1学習済みモデルに入力して、第1推定値として、表面の物理的性質を示すクラスを算出してもよい。分類問題を解くことで、対象物の表面の物理的性質を複数のクラス(カテゴリ)を用いて正確に推定できる。 In the evaluation system according to another aspect, the first trained model is a trained model that performs classification based on the input image, and the first estimation unit inputs the input image to the first trained model, As one estimate, a class may be calculated that indicates the physical properties of the surface. By solving a classification problem, the physical properties of an object's surface can be accurately estimated using multiple classes (categories).

他の側面に係る評価システムでは、第2学習済みモデルは、入力画像に基づく回帰を実行する学習済みモデルであり、第2推定部は、入力画像を第2学習済みモデルに入力して、第2推定値として、表面の物理的性質を示す連続値を算出してもよい。回帰問題を解くことで、対象物の表面の物理的性質を詳細に推定できる。 In the evaluation system according to another aspect, the second trained model is a trained model that performs regression based on the input image, and the second estimation unit inputs the input image to the second trained model, 2 As an estimate, a continuous value indicative of the physical properties of the surface may be calculated. By solving a regression problem, detailed physical properties of the surface of the object can be estimated.

他の側面に係る評価システムでは、第2推定部は、第1推定値が所与の条件を満たすことに応答して、第2推定値を算出してもよい。特定の場合に限って第2推定値が算出されるので、評価システムでの計算の負荷を抑制しつつ対象物の表面を詳細に推定できる。 In the evaluation system according to another aspect, the second estimator may calculate the second estimated value in response to the first estimated value satisfying a given condition. Since the second estimated value is calculated only in specific cases, the surface of the object can be estimated in detail while suppressing the calculation load on the evaluation system.

他の側面に係る評価システムでは、第1推定値および第2推定値の少なくとも一方に基づいて表面を評価する評価部を更に備え、評価部は、第1推定値が条件を満たさないことに応答して、第1推定値に基づいて表面を評価し、第1推定値が条件を満たすことに応答して、少なくとも第2推定値に基づいて表面を評価してもよい。第1推定値の結果に応じて第2推定値が算出され、このような推定に応じて、評価のために用いられる推定値が使い分けられる。したがって、評価システムでの計算の負荷を抑制しつつ対象物の表面を精度良く評価できる。 The evaluation system according to another aspect further comprises an evaluation unit that evaluates the surface based on at least one of the first estimate and the second estimate, the evaluation unit responding that the first estimate does not satisfy the condition. Then, the surface may be evaluated based on the first estimate, and in response to the first estimate satisfying the condition, the surface may be evaluated based on at least the second estimate. A second estimated value is calculated according to the result of the first estimated value, and the estimated value used for the evaluation is selectively used according to such estimation. Therefore, it is possible to accurately evaluate the surface of the object while suppressing the calculation load on the evaluation system.

他の側面に係る評価システムでは、取得部は、対象物の表面を写した入力画像として、正反射画像および拡散反射画像のうちの少なくとも一方を取得してもよい。正反射画像および拡散反射画像は対象物の表面の状態を通常の画像よりも明確に表す。このような画像を用いることで、より精度良く対象物の表面を推定できる。 In the evaluation system according to another aspect, the acquisition unit may acquire at least one of a specular reflection image and a diffuse reflection image as the input image of the surface of the object. The specular reflection image and the diffuse reflection image represent the surface condition of the object more clearly than the normal image. By using such an image, the surface of the object can be estimated with higher accuracy.

他の側面に係る評価システムは、表面の塗装の種類に基づいて、正反射画像および拡散反射画像のうちの一方の画像を選択する選択部を更に備え、取得部は、一方の画像を入力画像として取得してもよい。この構成により、表面の塗装の種類に応じて該表面の状態を推定することが可能になる。 The evaluation system according to another aspect further includes a selection unit that selects one of the specular reflection image and the diffuse reflection image based on the type of coating on the surface, and the acquisition unit selects the one image from the input image. can be obtained as This configuration makes it possible to estimate the state of the surface according to the type of coating on the surface.

他の側面に係る評価システムでは、選択部は表面の光沢状態がメタリックである場合に正反射画像を選択してもよい。正反射画像ではメタリック調の表面の状態が明確に現れる。したがって、このような選択によってその表面をより適切に評価できる。 In the evaluation system according to another aspect, the selection unit may select the regular reflection image when the gloss state of the surface is metallic. The specular reflection image clearly shows the state of the metallic surface. Such a selection therefore allows a better evaluation of the surface.

他の側面に係る評価システムでは、第1推定部は、正反射画像のための第1学習済みモデルの候補と、拡散反射画像のための第1学習済みモデルの候補とから、入力画像に対応する第1学習済みモデルを選択し、第2推定部は、正反射画像のための第2学習済みモデルの候補と、拡散反射画像のための第2学習済みモデルの候補とから、入力画像に対応する第2学習済みモデルを選択してもよい。入力された画像の種類に応じて学習済みモデルが選択されるので、複数種類の画像に対応しつつ対象物の表面を精度良く推定できる。 In the evaluation system according to another aspect, the first estimation unit corresponds to the input image from the first trained model candidate for the specular reflection image and the first trained model candidate for the diffuse reflection image. and the second estimating unit selects the first trained model for the specular reflection image and the second trained model candidate for the diffuse reflection image from the second trained model candidates for the input image. A corresponding second trained model may be selected. Since a trained model is selected according to the type of input image, the surface of the object can be estimated with high accuracy while dealing with a plurality of types of images.

他の側面に係る評価システムでは、第1推定値および第2推定値の少なくとも一方に基づいて表面を評価する評価部を更に備え、取得部は、対象物の表面を写した原画像を分割して複数の入力画像を取得し、第1推定部は、複数の入力画像のそれぞれについて第1推定値を算出し、第2推定部は、複数の入力画像のそれぞれについて第2推定値を算出し、評価部は、複数の入力画像に対応する表面の複数の部分領域のそれぞれを、第1推定値および第2推定値の少なくとも一方に基づいて評価してもよい。対象物の表面が複数の部分領域に分割され、それぞれの部分領域が評価されるので、その表面をより詳細に評価できる。 The evaluation system according to another aspect further includes an evaluation unit that evaluates the surface based on at least one of the first estimated value and the second estimated value, and the acquisition unit divides the original image showing the surface of the object. A first estimation unit calculates a first estimated value for each of the plurality of input images, and a second estimation unit calculates a second estimated value for each of the plurality of input images. , the evaluating unit may evaluate each of the plurality of partial regions of the surface corresponding to the plurality of input images based on at least one of the first estimate and the second estimate. Since the surface of the object is divided into subregions and each subregion is evaluated, the surface can be evaluated in more detail.

他の側面に係る評価システムでは、取得部は、塗装された表面を写した入力画像を取得し、第1推定部は、表面の塗装状態を表す第1推定値を算出し、第2推定部は、表面の塗装状態を表す第2推定値を算出してもよい。この場合には、対象物の表面の塗装状態を適切に評価することが可能になる。 In the evaluation system according to another aspect, the acquisition unit acquires an input image showing the painted surface, the first estimation unit calculates a first estimated value representing the state of coating of the surface, and the second estimation unit may calculate a second estimate representing the surface coating condition. In this case, it becomes possible to appropriately evaluate the coating state of the surface of the object.

本開示の一側面に係る評価システムは、対象物の表面を写した入力画像として、正反射画像および拡散反射画像のうちの一方を取得する取得部と、正反射画像に基づいて表面に関する推定値を算出する正反射画像用の学習済みモデルと、拡散反射画像に基づいて表面に関する推定値を算出する拡散反射画像用の学習済みモデルとの中から、入力画像に対応する学習済みモデルを選択する選択部と、選択された学習済みモデルに入力画像を入力して、表面に関する推定値を算出する推定部とを備える。 An evaluation system according to one aspect of the present disclosure includes an acquisition unit that acquires one of a specular reflection image and a diffuse reflection image as an input image of the surface of an object, and an estimated value for the surface based on the specular reflection image. Select the trained model corresponding to the input image from a trained model for specular reflection images that calculates , and a trained model for diffuse reflection images that calculates surface estimates based on diffuse reflection images A selection unit and an estimation unit that inputs an input image to the selected trained model and calculates an estimated value for the surface.

正反射画像または拡散反射画像は対象物の表面の状態を通常の画像よりも明確に映す。この側面においては、入力された画像の種類に応じて学習済みモデルが選択されるので、それら2種類の画像に対応しつつ対象物の表面を適切に評価することが可能になる。 A specular image or a diffuse image shows the surface condition of an object more clearly than a normal image. In this aspect, since a trained model is selected according to the type of input image, it is possible to appropriately evaluate the surface of the object while dealing with these two types of images.

[変形例]
以上、本開示の実施形態に基づいて詳細に説明した。しかし、本開示は上記の例に限定されるものではない。本開示は、その要旨を逸脱しない範囲で様々な変形が可能である。
[Modification]
The above has been described in detail based on the embodiments of the present disclosure. However, the disclosure is not limited to the above examples. Various modifications can be made to the present disclosure without departing from the gist thereof.

評価システムの機能構成は上記の例に限定されない。例えば、推定部は第1推定値および第2推定値ではなく単一の推定値を推定してもよい。あるいは、推定部は第1推定値が何であるかにかかわらず第2推定値を更に算出してもよい。推定部は入力画像にかかわらず所定の学習済みモデルを用いて推定値を算出してもよい。評価部は省略されてもよい。 The functional configuration of the evaluation system is not limited to the above example. For example, the estimator may estimate a single estimate rather than the first estimate and the second estimate. Alternatively, the estimator may also calculate a second estimate regardless of what the first estimate is. The estimation unit may calculate the estimated value using a predetermined trained model regardless of the input image. The evaluation part may be omitted.

評価システムのハードウェア構成は、プログラムの実行により各機能モジュールを実現する態様に限定されない。例えば、上述した機能モジュール群の少なくとも一部は、その機能に特化した論理回路により構成されていてもよいし、該論理回路を集積したASIC(Application Specific Integrated Circuit)により構成されてもよい。 The hardware configuration of the evaluation system is not limited to the implementation of each functional module by executing a program. For example, at least part of the functional module group described above may be configured by a logic circuit specialized for that function, or may be configured by an ASIC (Application Specific Integrated Circuit) integrated with the logic circuit.

少なくとも一つのプロセッサにより実行される方法の処理手順は上記の例に限定されない。例えば、上述したステップまたは処理の一部が省略されてもよいし、別の順序で各ステップが実行されてもよい。また、上述したステップのうちの2以上のステップが組み合わされてもよいし、ステップの一部が修正または削除されてもよい。あるいは、上記の各ステップに加えて他のステップが実行されてもよい。 The procedure of the method executed by at least one processor is not limited to the above examples. For example, some of the steps or processes described above may be omitted, or the steps may be performed in a different order. Also, two or more of the steps described above may be combined, and some of the steps may be modified or deleted. Alternatively, other steps may be performed in addition to the above steps.

コンピュータシステムまたはコンピュータ内で二つの数値の大小関係を比較する際には、「以上」および「よりも大きい」という二つの基準のどちらを用いてもよく、「以下」および「未満」という二つの基準のうちのどちらを用いてもよい。 When comparing two numerical values within a computer system or within a computer, either of the two criteria "greater than" and "greater than" may be used, and the two criteria "less than" and "less than" may be used. Either of the criteria may be used.

1…評価システム、10…選択部、11…取得部、12…推定部、13…評価部、14…第1推定部、15…第2推定部、200…原画像、210…対象物、221~226…入力画像、300…対象物の表面、311~315…入力画像。 Reference Signs List 1 evaluation system 10 selection unit 11 acquisition unit 12 estimation unit 13 evaluation unit 14 first estimation unit 15 second estimation unit 200 original image 210 target object 221 226: input image, 300: surface of object, 311 to 315: input image.

Claims (14)

対象物の表面を写した入力画像を取得する取得部と、
前記入力画像を第1学習済みモデルに入力して、前記表面に関する第1推定値を算出する第1推定部と、
前記入力画像を、前記第1学習済みモデルとは異なる第2学習済みモデルに入力して、前記表面に関する第2推定値を算出する第2推定部と、
を備える評価システム。
an acquisition unit that acquires an input image showing the surface of an object;
a first estimation unit that inputs the input image to a first trained model and calculates a first estimated value for the surface;
a second estimation unit that inputs the input image to a second trained model different from the first trained model and calculates a second estimated value for the surface;
A rating system with
前記第1学習済みモデルは、前記入力画像に基づく分類を実行する学習済みモデルであり、
前記第1推定部は、前記入力画像を前記第1学習済みモデルに入力して、前記第1推定値として、前記表面の物理的性質を示すクラスを算出する、
請求項1に記載の評価システム。
the first trained model is a trained model that performs classification based on the input image;
The first estimation unit inputs the input image to the first trained model, and calculates a class indicating physical properties of the surface as the first estimated value.
The evaluation system according to claim 1.
前記第2学習済みモデルは、前記入力画像に基づく回帰を実行する学習済みモデルであり、
前記第2推定部は、前記入力画像を前記第2学習済みモデルに入力して、前記第2推定値として、前記表面の物理的性質を示す連続値を算出する、
請求項1または2に記載の評価システム。
the second trained model is a trained model that performs regression based on the input image;
The second estimation unit inputs the input image to the second trained model, and calculates a continuous value indicating physical properties of the surface as the second estimated value.
The evaluation system according to claim 1 or 2.
前記第2推定部は、前記第1推定値が所与の条件を満たすことに応答して、前記第2推定値を算出する、
請求項1~3のいずれか一項に記載の評価システム。
The second estimation unit calculates the second estimated value in response to the first estimated value satisfying a given condition.
The evaluation system according to any one of claims 1-3.
前記第1推定値および前記第2推定値の少なくとも一方に基づいて前記表面を評価する評価部を更に備え、
前記評価部は、
前記第1推定値が前記条件を満たさないことに応答して、前記第1推定値に基づいて前記表面を評価し、
前記第1推定値が前記条件を満たすことに応答して、少なくとも前記第2推定値に基づいて前記表面を評価する、
請求項4に記載の評価システム。
further comprising an evaluation unit that evaluates the surface based on at least one of the first estimated value and the second estimated value;
The evaluation unit
evaluating the surface based on the first estimate in response to the first estimate failing the condition;
evaluating the surface based at least on the second estimate in response to the first estimate satisfying the condition;
The evaluation system according to claim 4.
前記取得部は、対象物の表面を写した入力画像として、正反射画像および拡散反射画像のうちの少なくとも一方を取得する、
請求項1~5のいずれか一項に記載の評価システム。
The acquisition unit acquires at least one of a specular reflection image and a diffuse reflection image as an input image of the surface of the object.
The evaluation system according to any one of claims 1-5.
前記表面の塗装の種類に基づいて、前記正反射画像および前記拡散反射画像のうちの一方の画像を選択する選択部を更に備え、
前記取得部は、前記一方の画像を前記入力画像として取得する、
請求項6に記載の評価システム。
a selection unit that selects one of the specular reflection image and the diffuse reflection image based on the type of coating on the surface;
the acquisition unit acquires the one image as the input image;
The evaluation system according to claim 6.
前記選択部は、前記表面の光沢状態がメタリックである場合に前記正反射画像を選択する、
請求項7に記載の評価システム。
wherein the selection unit selects the specular reflection image when the gloss state of the surface is metallic;
The evaluation system according to claim 7.
前記第1推定部は、前記正反射画像のための第1学習済みモデルの候補と、前記拡散反射画像のための第1学習済みモデルの候補とから、前記入力画像に対応する前記第1学習済みモデルを選択し、
前記第2推定部は、前記正反射画像のための第2学習済みモデルの候補と、前記拡散反射画像のための第2学習済みモデルの候補とから、前記入力画像に対応する前記第2学習済みモデルを選択する、
請求項6~8のいずれか一項に記載の評価システム。
The first estimating unit calculates the first trained model corresponding to the input image from the first trained model candidate for the specular reflection image and the first trained model candidate for the diffuse reflection image. Select a ready-made model,
The second estimating unit calculates the second trained model corresponding to the input image from the second trained model candidate for the specular reflection image and the second trained model candidate for the diffuse reflection image. select a ready-made model,
The evaluation system according to any one of claims 6-8.
前記第1推定値および前記第2推定値の少なくとも一方に基づいて前記表面を評価する評価部を更に備え、
前記取得部は、前記対象物の表面を写した原画像を分割して複数の前記入力画像を取得し、
前記第1推定部は、前記複数の入力画像のそれぞれについて前記第1推定値を算出し、
前記第2推定部は、前記複数の入力画像のそれぞれについて前記第2推定値を算出し、
前記評価部は、前記複数の入力画像に対応する前記表面の複数の部分領域のそれぞれを、前記第1推定値および前記第2推定値の少なくとも一方に基づいて評価する、
請求項1~9のいずれか一項に記載の評価システム。
further comprising an evaluation unit that evaluates the surface based on at least one of the first estimated value and the second estimated value;
The acquisition unit acquires a plurality of input images by dividing an original image showing the surface of the object,
The first estimation unit calculates the first estimated value for each of the plurality of input images,
The second estimation unit calculates the second estimated value for each of the plurality of input images,
The evaluation unit evaluates each of the plurality of partial regions of the surface corresponding to the plurality of input images based on at least one of the first estimated value and the second estimated value.
Evaluation system according to any one of claims 1 to 9.
前記取得部は、塗装された前記表面を写した前記入力画像を取得し、
前記第1推定部は、前記表面の塗装状態を表す前記第1推定値を算出し、
前記第2推定部は、前記表面の塗装状態を表す前記第2推定値を算出する、
請求項1~10のいずれか一項に記載の評価システム。
The acquisition unit acquires the input image showing the painted surface,
The first estimation unit calculates the first estimated value representing the coating state of the surface,
The second estimation unit calculates the second estimated value representing the painting state of the surface.
The evaluation system according to any one of claims 1-10.
対象物の表面を写した入力画像として、正反射画像および拡散反射画像のうちの一方を取得する取得部と、
前記正反射画像に基づいて前記表面に関する推定値を算出する正反射画像用の学習済みモデルと、前記拡散反射画像に基づいて前記表面に関する前記推定値を算出する拡散反射画像用の学習済みモデルとの中から、前記入力画像に対応する学習済みモデルを選択する選択部と、
前記選択された学習済みモデルに前記入力画像を入力して、前記表面に関する前記推定値を算出する推定部と、
を備える評価システム。
an acquisition unit that acquires one of a specular reflection image and a diffuse reflection image as an input image of a surface of an object;
A trained model for specular reflection images that calculates an estimated value for the surface based on the specular reflection image, and a trained model for diffuse reflection images that calculates the estimated value for the surface based on the diffuse reflection image. a selection unit that selects a trained model corresponding to the input image from among
an estimating unit that inputs the input image to the selected trained model and calculates the estimated value for the surface;
A rating system with
少なくとも一つのプロセッサを備える評価システムにより実行される評価方法であって、
対象物の表面を写した入力画像を取得するステップと、
前記入力画像を第1学習済みモデルに入力して、前記表面に関する第1推定値を算出するステップと、
前記入力画像を、前記第1学習済みモデルとは異なる第2学習済みモデルに入力して、前記表面に関する第2推定値を算出するステップと、
を含む評価方法。
An evaluation method performed by an evaluation system comprising at least one processor, comprising:
obtaining an input image of the surface of the object;
inputting the input image into a first trained model to compute a first estimate for the surface;
inputting the input image into a second trained model different from the first trained model to calculate a second estimate for the surface;
evaluation methods, including
対象物の表面を写した入力画像を取得するステップと、
前記入力画像を第1学習済みモデルに入力して、前記表面に関する第1推定値を算出するステップと、
前記入力画像を、前記第1学習済みモデルとは異なる第2学習済みモデルに入力して、前記表面に関する第2推定値を算出するステップと、
をコンピュータに実行させる評価プログラム。
obtaining an input image of the surface of the object;
inputting the input image into a first trained model to compute a first estimate for the surface;
inputting the input image into a second trained model different from the first trained model to calculate a second estimate for the surface;
An evaluation program that causes a computer to run
JP2021177112A 2021-10-29 2021-10-29 Evaluation system, evaluation method, and evaluation program Pending JP2023066489A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021177112A JP2023066489A (en) 2021-10-29 2021-10-29 Evaluation system, evaluation method, and evaluation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021177112A JP2023066489A (en) 2021-10-29 2021-10-29 Evaluation system, evaluation method, and evaluation program

Publications (1)

Publication Number Publication Date
JP2023066489A true JP2023066489A (en) 2023-05-16

Family

ID=86325996

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021177112A Pending JP2023066489A (en) 2021-10-29 2021-10-29 Evaluation system, evaluation method, and evaluation program

Country Status (1)

Country Link
JP (1) JP2023066489A (en)

Similar Documents

Publication Publication Date Title
Micallef et al. Towards perceptual optimization of the visual design of scatterplots
KR20200057770A (en) System and method for image processing using deep neural networks
CN110726724A (en) Defect detection method, system and device
US9361666B2 (en) Learning user preferences for photo adjustments
US10573044B2 (en) Saliency-based collage generation using digital images
CN111860565A (en) Workflow for training classifiers for quality inspection in measurement technology
JP6089886B2 (en) Region dividing method and inspection apparatus
US11164306B2 (en) Visualization of inspection results
US11378522B2 (en) Information processing apparatus related to machine learning for detecting target from image, method for controlling the same, and storage medium
CN104053984A (en) Image examination method and image examination apparatus
US9952677B2 (en) Method and apparatus for distinguishing features in data
WO2018173478A1 (en) Learning device, learning method, and learning program
US10346861B2 (en) Adaptive sampling scheme for imbalanced large scale data
CN112052868A (en) Model training method, image similarity measuring method, terminal and storage medium
WO2020041610A1 (en) System and method for automated electronic catalogue management and electronic image quality assessment
CN110619672B (en) Figure edge line selecting method, machine readable storage medium and data processing equipment
CN111241961A (en) Face detection method and device and electronic equipment
US20230053838A1 (en) Image recognition apparatus, image recognition method, and recording medium
JP2023066489A (en) Evaluation system, evaluation method, and evaluation program
Prematilake et al. Evaluation and prediction of polygon approximations of planar contours for shape analysis
US20220122341A1 (en) Target detection method and apparatus, electronic device, and computer storage medium
CN114663662A (en) Hyper-parameter searching method, device, computer equipment and storage medium
CN110728222B (en) Pose estimation method for target object in mechanical arm grabbing system
CN114548250A (en) Mobile phone appearance detection method and device based on data analysis
CN115619924A (en) Method and apparatus for light estimation