WO2020145164A1 - Image processing device, image processing program, and image processing method - Google Patents

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

Info

Publication number
WO2020145164A1
WO2020145164A1 PCT/JP2019/050990 JP2019050990W WO2020145164A1 WO 2020145164 A1 WO2020145164 A1 WO 2020145164A1 JP 2019050990 W JP2019050990 W JP 2019050990W WO 2020145164 A1 WO2020145164 A1 WO 2020145164A1
Authority
WO
WIPO (PCT)
Prior art keywords
evaluation
value
parameter
image processing
prior knowledge
Prior art date
Application number
PCT/JP2019/050990
Other languages
French (fr)
Japanese (ja)
Inventor
加藤 豊
Original Assignee
オムロン株式会社
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 オムロン株式会社 filed Critical オムロン株式会社
Priority to DE112019006614.5T priority Critical patent/DE112019006614T5/en
Priority to CN201980058642.8A priority patent/CN112689851A/en
Publication of WO2020145164A1 publication Critical patent/WO2020145164A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/40Software arrangements specially adapted for pattern recognition, e.g. user interfaces or toolboxes therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/217Validation; Performance evaluation; Active pattern learning techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting

Definitions

  • the image processing device 50 processes a processing image based on a plurality of parameters. More specifically, the image processing device 50 inspects the processing image of the target object, determines the position from the processing image of the target object, and determines the processing image of the target object based on the plurality of parameters. It is to collate characters from.
  • the object on the line device 90 is photographed by the imaging device 60, and the image processing device 50 inspects the image for processing the photographed object.
  • the plurality of parameters are, for example, the size of the kernel or the filter when smoothing the processing image, the threshold value when binarizing the processing image, and the like.
  • the prior knowledge generation unit 44 uses an evaluation function 31 defined by the evaluation item and the target value of the evaluation item, and an evaluation unit for obtaining an evaluation value of the evaluation function 31 corresponding to the value of the parameter.
  • the prior knowledge 34 is generated based on the plurality of evaluation values obtained by the evaluation means.
  • the selection unit 41 is configured to select the prior knowledge 34. More specifically, the selection unit 41 is configured to select the prior knowledge 34 based on the designated type of processing for the image or the type of business of the image object.
  • the type of processing is, for example, inspection, positioning, character matching, or the like.
  • the business type of the target object is, for example, an automobile or food.
  • the extraction unit 43 extracts a plurality of combinations of a parameter having a high evaluation value and its value as promising parameter candidates based on the search result in step S205 (S206).

Abstract

Provided are an image processing device, an image processing program, and an image processing method, with which values for a plurality of parameters can be set efficiently. An image processing device 50, which is for carrying out a process for a processing image on the basis of a plurality of parameters, is equipped with: a prior knowledge generation unit 44, which uses a plurality of learning images, an evaluation item corresponding to the plurality of learning images, and a target value for the evaluation item to generate prior knowledge 34 related to the parameters; and a setting unit 42, which uses the prior knowledge 34, the plurality of processing images, the evaluation item corresponding to the plurality of processing images, and the target value for the evaluation item to set a value for the parameters.

Description

画像処理装置、画像処理プログラム、及び画像処理方法Image processing apparatus, image processing program, and image processing method
 本発明は、画像処理装置、画像処理プログラム、及び画像処理方法に関する。 The present invention relates to an image processing device, an image processing program, and an image processing method.
 従来、パラメータ決定支援装置として、計測対象物体を撮像して得られる画像データに対して予め定められたパラメータの組を用いた処理を行うことで処理結果を得る画像処理装置のためのパラメータ決定支援装置であって、画像データおよび当該画像データに対応付けられた期待結果を受付ける入力手段と、前記パラメータの組に含まれる少なくとも1つのパラメータ値を互いに異ならせた複数のパラメータ候補を生成する候補生成手段と、画像データに対して、複数のパラメータ候補のそれぞれを用いた複数の処理結果を取得する取得手段と、複数の処理結果の各々を対応する前記期待結果と比較することで、複数の処理結果の各々についての評価結果を生成する評価手段と、複数のパラメータ候補の別に、評価結果を出力する出力手段とを備えるものが知られている(特許文献1参照)。このパラメータ決定支援装置は、計測対象物体を撮像して得られる画像データに対して予め定められたパラメータの組を用いた処理を行うことで処理結果を得る画像処理装置に設定されるパラメータの組をより迅速かつ容易に決定することができる。 Conventionally, as a parameter determination support device, a parameter determination support for an image processing device that obtains a processing result by performing processing using a set of predetermined parameters on image data obtained by imaging a measurement target object. The apparatus is an apparatus for receiving image data and an expected result associated with the image data, and a candidate generation for generating a plurality of parameter candidates in which at least one parameter value included in the parameter set is different from each other. Means for acquiring a plurality of processing results using each of a plurality of parameter candidates for the image data, and a plurality of processing results by comparing each of the plurality of processing results with the corresponding expected result. It is known that an evaluation unit that generates an evaluation result for each result and an output unit that outputs the evaluation result for each of a plurality of parameter candidates are provided (see Patent Document 1). This parameter determination support device is a set of parameters set in an image processing device that obtains a processing result by performing processing using a predetermined set of parameters on image data obtained by imaging a measurement target object. Can be determined more quickly and easily.
特開2010-191939号公報JP, 2010-191939, A
 一方、複数のパラメータの値を設定する場合、適切なパラメータの値を設定しようとすると、例えば、複数のパラメータの値の全ての組合せについて評価し、その評価値が最も高いパラメータの値の組合せを選択するする必要があった。そのため、パラメータの値の設定に非常に長い時間が掛かり、効率的ではなかった。 On the other hand, in the case of setting the values of a plurality of parameters, when trying to set the value of an appropriate parameter, for example, all combinations of the values of the plurality of parameters are evaluated, and the combination of the values of the parameters having the highest evaluation value is set. Had to choose. Therefore, it takes a very long time to set the parameter value, which is not efficient.
 そこで、本発明は、複数のパラメータの値を効率的に設定することのできる画像処理装置、画像処理プログラム、及び画像処理方法を提供することを目的とする。 Therefore, an object of the present invention is to provide an image processing device, an image processing program, and an image processing method capable of efficiently setting the values of a plurality of parameters.
 本発明の一態様に係る画像処理装置は、複数のパラメータに基づいて処理用画像に対する処理を行う画像処理装置であって、複数の学習用画像と、当該複数の学習用画像に対応する評価項目と、当該評価項目の目標値とを用い、パラメータに関する事前知識を生成する事前知識生成部と、事前知識と複数の処理用画像と当該複数の処理用画像に対応する評価項目と当該評価項目の目標値とに基づいて、パラメータの値を設定する設定部と、を備える。 An image processing apparatus according to an aspect of the present invention is an image processing apparatus that performs processing on a processing image based on a plurality of parameters, and includes a plurality of learning images and evaluation items corresponding to the plurality of learning images. And a target value of the evaluation item, an a priori knowledge generation unit that generates a priori knowledge about the parameter, an a priori knowledge, a plurality of processing images, an evaluation item corresponding to the plurality of processing images, and an evaluation item of the evaluation item. And a setting unit that sets the value of the parameter based on the target value.
 この態様によれば、パラメータに関する事前知識と複数の処理用画像と当該複数の処理用画像に対応する評価項目と当該評価項目の目標値とに基づいてパラメータの値が設定される。これにより、例えばあるパラメータについて、適切な変更幅で、適切な範囲の値を探索することが可能となるので、事前知識がない場合と比較して、短時間で、適切なパラメータの値を設定することができる。従って、複数のパラメータの値を効率的に設定することができる。 According to this aspect, the value of the parameter is set based on the prior knowledge about the parameter, the plurality of processing images, the evaluation item corresponding to the plurality of processing images, and the target value of the evaluation item. This makes it possible, for example, to search for a value in an appropriate range with an appropriate range of change for a parameter, so that an appropriate parameter value can be set in a shorter time than when there is no prior knowledge. can do. Therefore, the values of the plurality of parameters can be efficiently set.
 前述した態様において、事前知識生成部は、評価項目と当該評価項目の目標値とによって定められる評価関数を用い、パラメータの値に対応する評価関数の評価値を求めるための評価手段と当該評価手段で得られた複数の評価値とに基づいて、事前知識を生成し、設定部は、評価値が高くなるようにパラメータの値を設定してもよい。 In the above-described aspect, the prior knowledge generation unit uses an evaluation function defined by the evaluation item and the target value of the evaluation item, and an evaluation unit for obtaining an evaluation value of the evaluation function corresponding to the value of the parameter and the evaluation unit. The a priori knowledge may be generated based on the plurality of evaluation values obtained in step 1, and the setting unit may set the value of the parameter so that the evaluation value becomes high.
 この態様によれば、評価値を高くなるようにパラメータの値が設定される。これにより、評価項目の目標値に近い又は目標値を満たすパラメータの値に設定することが可能となる。また、評価項目と当該評価項目の目標値とによって定められる評価関数を用い、パラメータの値に対応する評価関数の評価値を求めるための評価手段と当該評価手段で得られた複数の評価値とに基づいて、事前知識が生成される。これにより、例えば評価値を高めるために適したパラメータについて、適切な変更幅で、適切な範囲の値を探索することが可能となるので、事前知識がない場合と比較して、短時間で、さらに評価値の高いパラメータの値を設定することができる。 According to this aspect, the value of the parameter is set so that the evaluation value becomes high. This makes it possible to set the value of the parameter close to or satisfying the target value of the evaluation item. Further, using the evaluation function defined by the evaluation item and the target value of the evaluation item, the evaluation means for obtaining the evaluation value of the evaluation function corresponding to the value of the parameter, and a plurality of evaluation values obtained by the evaluation means Prior knowledge is generated based on With this, for example, for a parameter suitable for increasing the evaluation value, it is possible to search for a value in an appropriate range with an appropriate change range, and thus in a short time as compared with the case without prior knowledge, It is possible to set the value of a parameter having a higher evaluation value.
 前述した態様において、評価手段は、評価関数を用いて生成され、評価項目におけるパラメータの値ごとの評価値を示す評価値マップであってもよい。 In the above-mentioned aspect, the evaluation means may be an evaluation value map generated using an evaluation function and showing an evaluation value for each parameter value in the evaluation item.
 この態様によれば、評価手段は、評価関数を用いて生成され、評価項目におけるパラメータの値ごとの評価値を示す評価値マップである。これにより、事前知識を生成する事前知識生成部を容易に実現することができる。 According to this aspect, the evaluation means is an evaluation value map which is generated by using the evaluation function and indicates the evaluation value for each value of the parameter in the evaluation item. This makes it possible to easily realize the prior knowledge generation unit that generates the prior knowledge.
 前述した態様において、事前知識生成部は、処理の種類ごと又は処理用画像の対象物の業種ごとに、事前知識を生成し、指定された種類又は業種に基づいて事前知識を選択する選択部をさらに備えてもよい。 In the above-mentioned aspect, the prior knowledge generation unit generates the prior knowledge for each type of processing or each business type of the processing image object, and selects the selection unit for selecting the prior knowledge based on the designated type or business type. You may further prepare.
 この態様によれば、処理の種類ごと又は処理用画像の対象物の業種ごとに事前知識が生成され、指定された種類又は業種に基づいて事前知識が選択される。これにより、処理の種類又は対象物の業種ごとに共通する事前知識を得ることができる。 According to this aspect, prior knowledge is generated for each type of processing or each industry of the object of the processing image, and prior knowledge is selected based on the designated type or industry. Thereby, it is possible to obtain common prior knowledge for each type of processing or the type of business of the object.
 前述した態様において、事前知識は、パラメータが評価項目に与える影響度、パラメータの間の依存度、パラメータの値の変更幅、及びパラメータの値の変更範囲のうちの少なくとも一つを含んでもよい。 In the above-mentioned aspect, the prior knowledge may include at least one of the degree of influence of the parameter on the evaluation item, the degree of dependence between the parameters, the range of change of the parameter value, and the range of change of the parameter value.
 この態様によれば、事前知識は、パラメータが評価項目に与える影響度、パラメータの間の依存度、パラメータの値の変更幅、パラメータの値の変更範囲のうちの少なくとも一つを含む。これにより、短時間で、より評価値の高いパラメータを設定する設定する設定部を容易に実現することができる。 According to this aspect, the prior knowledge includes at least one of the degree of influence of the parameter on the evaluation item, the degree of dependence between the parameters, the range of change of the value of the parameter, and the range of change of the value of the parameter. This makes it possible to easily realize a setting unit that sets a parameter having a higher evaluation value in a short time.
 前述した態様において、設定部は、指定された設定時間の範囲内において評価値が最も高い値をパラメータに設定してもよい。 In the above-described aspect, the setting unit may set a parameter having a highest evaluation value within the designated set time range.
 この態様によれば、指定された設定時間の範囲内において評価値が最も高い値をパラメータに設定する。これにより、限られた設定時間内であっても、より評価値の高いパラメータの値を設定することができる。 According to this aspect, a value having the highest evaluation value within the specified set time range is set as the parameter. As a result, the value of the parameter having a higher evaluation value can be set even within the limited setting time.
 前述した態様において、事前知識に基づいて複数のパラメータのうちの少なくとも一つを抽出する抽出部をさらに備え、設定部は、抽出されたパラメータの値を設定してもよい。 In the above-described aspect, the setting unit may further include an extraction unit that extracts at least one of the plurality of parameters based on prior knowledge, and the setting unit may set the value of the extracted parameter.
 この態様によれば、事前知識に基づいて複数のパラメータのうちの少なくとも一つが抽出され、抽出されたパラメータの値が設定される。これにより、複数のパラメータのうち、評価値を高め得るパラメータについて、その値を設定することができる。 According to this aspect, at least one of the plurality of parameters is extracted based on the prior knowledge, and the value of the extracted parameter is set. With this, it is possible to set the value of the parameter that can increase the evaluation value among the plurality of parameters.
 また、本発明の他の態様に係る画像処理プログラムは、複数のパラメータに基づいて処理用画像に対する処理を行う、コンピュータに実行させる画像処理プログラムであって、複数の学習用画像と、当該複数の学習用画像に対応する評価項目と、当該評価項目の目標値とを用い、パラメータに関する事前知識を生成する事前知識生成ステップと、事前知識と複数の処理用画像と当該複数の処理用画像に対応する評価項目と当該評価項目の目標値とに基づいて、パラメータの値を設定する設定ステップと、を含む。 An image processing program according to another aspect of the present invention is an image processing program that causes a computer to perform processing on a processing image based on a plurality of parameters, and includes a plurality of learning images and the plurality of learning images. A prior knowledge generation step of generating prior knowledge about parameters using an evaluation item corresponding to the learning image and a target value of the evaluation item, corresponding to the prior knowledge, a plurality of processing images, and the plurality of processing images. The setting step of setting the value of the parameter based on the evaluation item to be performed and the target value of the evaluation item.
 この態様によれば、パラメータに関する事前知識と複数の処理用画像と当該複数の処理用画像に対応する評価項目と当該評価項目の目標値とに基づいて、パラメータの値が設定される。これにより、例えばあるパラメータについて、適切な変更幅で、適切な範囲の値を探索することが可能となるので、事前知識がない場合と比較して、短時間で、適切なパラメータの値を設定することができる。従って、複数のパラメータの値を効率的に設定することができる。 According to this aspect, the value of the parameter is set based on the prior knowledge about the parameter, the plurality of processing images, the evaluation items corresponding to the plurality of processing images, and the target value of the evaluation item. This makes it possible, for example, to search for a value in an appropriate range with an appropriate range of change for a parameter, so that an appropriate parameter value can be set in a shorter time than when there is no prior knowledge. can do. Therefore, the values of the plurality of parameters can be efficiently set.
 前述した態様において、事前知識生成ステップは、評価項目と当該評価項目の目標値とによって定められる評価関数を用い、パラメータの値に対応する評価関数の評価値を求めるための評価手段と当該評価手段で得られた複数の評価値とに基づいて、事前知識を生成することを含み、設定ステップは、評価値が高くなるように前記パラメータの値を設定することを含んでもよい。 In the above-described aspect, the a priori knowledge generation step uses an evaluation function defined by the evaluation item and the target value of the evaluation item, and an evaluation unit for obtaining an evaluation value of the evaluation function corresponding to the value of the parameter and the evaluation unit. The method may include generating a priori knowledge based on the plurality of evaluation values obtained in 1., and the setting step may include setting the value of the parameter so that the evaluation value becomes high.
 この態様によれば、評価値を高くなるようにパラメータの値が設定される。これにより、評価項目の目標値に近い又は目標値を満たすパラメータの値に設定することが可能となる。また、評価項目と当該評価項目の目標値とによって定められる評価関数を用い、パラメータの値に対応する評価関数の評価値を求めるための評価手段と当該評価手段で得られた複数の評価値とに基づいて、事前知識が生成される。これにより、例えば評価値を高めるために適したパラメータについて、適切な変更幅で、適切な範囲の値を探索することが可能となるので、事前知識がない場合と比較して、短時間で、さらに評価値の高いパラメータの値を設定することができる。 According to this aspect, the value of the parameter is set so that the evaluation value becomes high. This makes it possible to set the value of the parameter close to or satisfying the target value of the evaluation item. Further, using the evaluation function defined by the evaluation item and the target value of the evaluation item, the evaluation means for obtaining the evaluation value of the evaluation function corresponding to the value of the parameter, and a plurality of evaluation values obtained by the evaluation means Prior knowledge is generated based on With this, for example, for a parameter suitable for increasing the evaluation value, it is possible to search for a value in an appropriate range with an appropriate change range, and thus in a short time as compared with the case without prior knowledge, It is possible to set the value of a parameter having a higher evaluation value.
 前述した態様において、評価手段は、評価関数を用いて生成され、評価項目におけるパラメータの値ごとの評価値を示す評価値マップであってもよい。 In the above-mentioned aspect, the evaluation means may be an evaluation value map generated using an evaluation function and showing an evaluation value for each parameter value in the evaluation item.
 この態様によれば、評価手段は、評価関数を用いて生成され、評価項目におけるパラメータの値ごとの評価値を示す評価値マップである。これにより、事前知識を生成する事前知識生成ステップを容易に実現することができる。 According to this aspect, the evaluation means is an evaluation value map which is generated by using the evaluation function and indicates the evaluation value for each value of the parameter in the evaluation item. Thereby, the prior knowledge generating step for generating the prior knowledge can be easily realized.
 前述した態様において、事前知識生成ステップは、処理の種類ごと又は処理用画像の対象物の業種ごとに、事前知識を生成することを含み、指定された種類又は業種に基づいて事前知識を選択する選択ステップをさらに含んでもよい。 In the above-mentioned aspect, the a priori knowledge generation step includes generating a priori knowledge for each type of processing or each business type of the object of the processing image, and selects the prior knowledge based on the specified type or business type. It may further include a selection step.
 この態様によれば、処理の種類ごと又は処理用画像の対象物の業種ごとに、事前知識が生成され、処理の種類ごと又は対象物の業種ごとに評価値マップが選択される。これにより、処理の種類又は対象物の業種ごとに共通する事前知識を得ることができる。 According to this aspect, a priori knowledge is generated for each type of processing or for each business type of the target of the processing image, and the evaluation value map is selected for each type of processing or each business type of the target. Thereby, it is possible to obtain common prior knowledge for each type of processing or the type of business of the object.
 前述した態様において、事前知識は、パラメータが評価項目に与える影響度、パラメータの間の依存度、パラメータの値の変更幅、及びパラメータの値の変更範囲のうちの少なくとも一つを含んでもよい。 In the above-mentioned aspect, the prior knowledge may include at least one of the degree of influence of the parameter on the evaluation item, the degree of dependence between the parameters, the range of change of the parameter value, and the range of change of the parameter value.
 この態様によれば、事前知識は、パラメータが評価項目に与える影響度、パラメータの間の依存度、パラメータの値の変更幅、パラメータの値の変更範囲のうちの少なくとも一つを含む。これにより、短時間で、より評価値の高いパラメータを設定する設定する設定部を容易に実現することができる。 According to this aspect, the prior knowledge includes at least one of the degree of influence of the parameter on the evaluation item, the degree of dependence between the parameters, the range of change of the value of the parameter, and the range of change of the value of the parameter. This makes it possible to easily realize a setting unit that sets a parameter having a higher evaluation value in a short time.
 前述した態様において、設定ステップは、指定された設定時間の範囲内において評価値が最も高い値をパラメータに設定することを含んでもよい。 In the above-mentioned aspect, the setting step may include setting a parameter having a highest evaluation value within the designated set time range.
 この態様によれば、指定された設定時間の範囲内において評価値が最も高い値をパラメータに設定する。これにより、限られた設定時間内であっても、より評価値の高いパラメータの値を設定することができる。 According to this aspect, a value having the highest evaluation value within the specified set time range is set as the parameter. As a result, the value of the parameter having a higher evaluation value can be set even within the limited setting time.
 前述した態様において、事前知識に基づいて複数のパラメータのうちの少なくとも一つを抽出する抽出ステップをさらに含み、設定ステップは、抽出されたパラメータの値を設定してもよい。 The above-described aspect may further include an extraction step of extracting at least one of the plurality of parameters based on prior knowledge, and the setting step may set the value of the extracted parameter.
 この態様によれば、事前知識に基づいて複数のパラメータのうちの少なくとも一つが抽出され、抽出されたパラメータの値が設定される。これにより、複数のパラメータのうち、評価値を高め得るパラメータについて、その値を設定することができる。 According to this aspect, at least one of the plurality of parameters is extracted based on the prior knowledge, and the value of the extracted parameter is set. With this, it is possible to set the value of the parameter that can increase the evaluation value among the plurality of parameters.
 また、本発明の他の態様に係る画像処理方法は、複数のパラメータに基づいて処理用画像に対する処理を行う画像処理方法であって、複数の学習用画像と、当該複数の学習用画像に対応する評価項目と、当該評価項目の目標値とを用い、パラメータに関する事前知識を生成する事前知識生成ステップと、事前知識と複数の処理用画像と当該複数の処理用画像に対応する評価項目と当該評価項目の目標値とに基づいて、パラメータの値を設定する設定ステップと、を含む。 An image processing method according to another aspect of the present invention is an image processing method for performing processing on a processing image based on a plurality of parameters, and corresponds to a plurality of learning images and the plurality of learning images. Using the evaluation item and the target value of the evaluation item, a prior knowledge generation step of generating prior knowledge about the parameter, the prior knowledge, the plurality of processing images, and the evaluation items corresponding to the plurality of processing images A setting step of setting the value of the parameter based on the target value of the evaluation item.
 この態様によれば、パラメータに関する事前知識と複数の処理用画像と当該複数の処理用画像に対応する評価項目と当該評価項目の目標値とに基づいて、パラメータの値が設定される。これにより、例えばあるパラメータについて、適切な変更幅で、適切な範囲の値を探索することが可能となるので、事前知識がない場合と比較して、短時間で、適切なパラメータの値を設定することができる。従って、複数のパラメータの値を効率的に設定することができる。 According to this aspect, the value of the parameter is set based on the prior knowledge about the parameter, the plurality of processing images, the evaluation items corresponding to the plurality of processing images, and the target value of the evaluation item. This makes it possible, for example, to search for a value in an appropriate range with an appropriate range of change for a parameter, so that an appropriate parameter value can be set in a shorter time than when there is no prior knowledge. can do. Therefore, the values of the plurality of parameters can be efficiently set.
 本発明によれば、複数のパラメータの値を効率的に設定することができる。 According to the present invention, it is possible to efficiently set the values of multiple parameters.
図1は、一実施形態に係る画像処理システムの概略構成を例示する構成図である。FIG. 1 is a configuration diagram illustrating a schematic configuration of an image processing system according to an embodiment. 図2は、図1に示した評価関数を例示する図である。FIG. 2 is a diagram illustrating the evaluation function shown in FIG. 図3は、図1に示した評価値マップを例示する図である。FIG. 3 is a diagram showing an example of the evaluation value map shown in FIG. 図4は、図1に示した評価値マップを例示する図である。FIG. 4 is a diagram showing an example of the evaluation value map shown in FIG. 図5は、図1に示した評価値マップを例示する図である。FIG. 5 is a diagram illustrating the evaluation value map shown in FIG. 1. 図6は、図1に示した学習用データセットを例示する図である。FIG. 6 is a diagram showing an example of the learning data set shown in FIG. 図7は、図1に示した評価値マップを例示する図である。FIG. 7 is a diagram showing an example of the evaluation value map shown in FIG. 図8は、一実施形態に係る画像処理装置のパラメータを設定する概略動作を示すフローチャートである。FIG. 8 is a flowchart showing a schematic operation for setting the parameters of the image processing apparatus according to the embodiment.
 以下に本発明の実施形態を説明する。以下の図面の記載において、同一または類似の部分には同一または類似の符号で表している。但し、図面は模式的なものである。従って、具体的な寸法等は以下の説明を照らし合わせて判断するべきものである。また、図面相互間においても互いの寸法の関係や比率が異なる部分が含まれていることは勿論である。さらに、本発明の技術的範囲は、当該実施形態に限定して解するべきではない。 An embodiment of the present invention will be described below. In the following description of the drawings, the same or similar parts are denoted by the same or similar reference numerals. However, the drawings are schematic. Therefore, specific dimensions and the like should be determined in light of the following description. Further, it is needless to say that the drawings include portions in which dimensional relationships and ratios are different from each other. Furthermore, the technical scope of the present invention should not be understood as being limited to the embodiment.
 まず、図1から図7を参照しつつ、本発明の一実施形態に係る画像処理装置の構成の一例について説明する。図1は、一実施形態に係る画像処理システム100の概略構成を例示する構成図である。図2は、図1に示した評価関数31を例示する図である。図3は、図1に示した評価値マップ32を例示する図である。図4は、図1に示した評価値マップ32を例示する図である。図5は、図1に示した評価値マップ32を例示する図である。図6は、図1に示した学習用データセット33を例示する図である。図7は、図1に示した評価値マップ32を例示する図である。 First, an example of the configuration of an image processing apparatus according to an embodiment of the present invention will be described with reference to FIGS. 1 to 7. FIG. 1 is a configuration diagram illustrating a schematic configuration of an image processing system 100 according to an embodiment. FIG. 2 is a diagram illustrating the evaluation function 31 shown in FIG. FIG. 3 is a diagram illustrating the evaluation value map 32 shown in FIG. FIG. 4 is a diagram illustrating the evaluation value map 32 shown in FIG. FIG. 5 is a diagram illustrating the evaluation value map 32 shown in FIG. FIG. 6 is a diagram illustrating the learning data set 33 illustrated in FIG. 1. FIG. 7 is a diagram illustrating the evaluation value map 32 shown in FIG.
 図1に示すように、画像処理システム100は、サーバSVと、ネットワークNWと、画像処理装置50と、撮像装置60と、入力装置70と、出力装置80と、ライン装置90と、を備える。 As shown in FIG. 1, the image processing system 100 includes a server SV, a network NW, an image processing device 50, an imaging device 60, an input device 70, an output device 80, and a line device 90.
 画像処理装置50とサーバSVとは、ネットワークNWを介して相互に通信可能に接続されている。ネットワークNWは、例えば、インターネット、LAN(Local Area Network)、専用線、電話回線、企業内ネットワーク、ブルートゥース(登録商標)、Wi-Fi(Wireless Fidelity)、移動体通信網、その他の通信回線、またはこれらの組合せ等である。また、画像処理装置50及びサーバSVとネットワークNWとの間の接続は、それぞれ、有線であるか無線であるかを問わない。 The image processing device 50 and the server SV are communicably connected to each other via the network NW. The network NW is, for example, the Internet, LAN (Local Area Network), leased line, telephone line, corporate network, Bluetooth (registered trademark), Wi-Fi (Wireless Fidelity), mobile communication network, other communication lines, or These are combinations and the like. Further, the connection between the image processing apparatus 50 and the server SV and the network NW may be wired or wireless.
 本実施形態では、図1において画像処理システム100に含まれるネットワークNWが1つである例を示したが、これに限定されるものではない。画像処理システム100に含まれるネットワークは、例えば2つ以上であってもよい。 In the present embodiment, an example in which the number of networks NW included in the image processing system 100 is shown in FIG. 1, but the present invention is not limited to this. The number of networks included in the image processing system 100 may be two or more, for example.
 サーバSVは、画像処理装置50の上位コントローラの役割を果たすコンピュータである。サーバSVは、例えば、PLC(Programmable Logic Controller)等のコントローラを含んで構成される。 The server SV is a computer that functions as a host controller of the image processing device 50. The server SV is configured to include a controller such as a PLC (Programmable Logic Controller), for example.
 画像処理装置50は、複数のパラメータに基づいて処理用画像に対する処理を行うものである。より詳細には、画像処理装置50は、複数のパラメータに基づいて、対象物の映る処理用画像を検査したり、対象物の映る処理用画像から位置を決めたり、対象物の映る処理用画像から文字を照合したりするものである。 The image processing device 50 processes a processing image based on a plurality of parameters. More specifically, the image processing device 50 inspects the processing image of the target object, determines the position from the processing image of the target object, and determines the processing image of the target object based on the plurality of parameters. It is to collate characters from.
 本実施形態では、例えば、ライン装置90の上の対象物を撮像装置60によって撮影し、撮影された対象物の処理用画像を画像処理装置50が検査するように構成されている。この場合、複数のパラメータは、例えば、処理用画像の平滑化を行う際のカーネル又はフィルタのサイズ、処理用画像に対して2値化を行う際のしきい値等である。 In the present embodiment, for example, the object on the line device 90 is photographed by the imaging device 60, and the image processing device 50 inspects the image for processing the photographed object. In this case, the plurality of parameters are, for example, the size of the kernel or the filter when smoothing the processing image, the threshold value when binarizing the processing image, and the like.
 画像処理装置50は、例えば、コンピュータ等の情報処理装置である。画像処理装置50は、通信部10と、入出力インターフェース(以下、「入出力I/F」という)20と、記憶部30と、制御部40と、を備える。また、画像処理装置50は、画像処理装置50の各部の間で信号やデータを伝送するように構成されたバス51をさらに備える。 The image processing device 50 is, for example, an information processing device such as a computer. The image processing apparatus 50 includes a communication unit 10, an input/output interface (hereinafter, referred to as “input/output I/F”) 20, a storage unit 30, and a control unit 40. Further, the image processing device 50 further includes a bus 51 configured to transmit signals and data between the respective units of the image processing device 50.
 通信部10は、ネットワークNWを介してデータを通信(送受信)するためのものである。通信部10は、1つ又は複数の所定の通信方式に基づいて、ネットワークNWに接続されるサーバSVとネットワークNWを介して通信可能に構成されている。 The communication unit 10 is for communicating (transmitting/receiving) data via the network NW. The communication unit 10 is configured to be able to communicate with the server SV connected to the network NW via the network NW based on one or a plurality of predetermined communication methods.
 入出力I/F20は、画像処理装置50と外部の機器とのインターフェースである。入出力I/F20は、外部の機器との間でデータや信号をやり取りするように構成されている。また、入出力I/F20は、外部の機器との通信を制御するように構成されている。入出力I/F20は、例えば、USB(Universal Serial Bus)、HDMI(登録商標)(High-Definition Mutimedia Interface)、IEEE1394等の規格化されたインターフェースの接続端子を含んで構成される。入出力I/F20は、撮像装置60、入力装置70、出力装置80、及びライン装置90に接続されている。 The input/output I/F 20 is an interface between the image processing device 50 and an external device. The input/output I/F 20 is configured to exchange data and signals with external devices. Further, the input/output I/F 20 is configured to control communication with an external device. The input/output I/F 20 includes connection terminals of standardized interfaces such as USB (Universal Serial Bus), HDMI (registered trademark) (High-Definition Multimedia Interface), and IEEE 1394. The input/output I/F 20 is connected to the imaging device 60, the input device 70, the output device 80, and the line device 90.
 記憶部30は、プログラムやデータ等を記憶するように構成されている。記憶部30は、例えば、ハードディスクドライブ、ソリッドステートドライブ等を含んで構成される。記憶部30は、制御部40が実行する各種プログラムやプログラムの実行に必要なデータ等をあらかじめ記憶している。 The storage unit 30 is configured to store programs and data. The storage unit 30 includes, for example, a hard disk drive, a solid state drive, and the like. The storage unit 30 stores various programs executed by the control unit 40, data necessary for executing the programs, and the like in advance.
 また、記憶部30は、評価関数31、評価値マップ32、学習用データセット33、事前知識34、探索履歴35、及び計算結果36をあらかじめ記憶している。 The storage unit 30 also stores in advance an evaluation function 31, an evaluation value map 32, a learning data set 33, prior knowledge 34, a search history 35, and a calculation result 36.
 評価関数31は、評価項目と当該評価項目の目標値とによって定められる。評価項目は複数の画像に対応して定められる項目である。本実施形態では、評価項目は学習用データセット33に含まれる複数の学習用画像に対応するものである。図2に示すように、評価項目は、例えば、「処理時間」、「見すぎ率」、「見逃し率」、「位置精度」、「姿勢精度」、「寸法精度」等の項目である。各評価項目には、目標値が設定される。図2に示す例では、当該目標値は、マスト目標値と、ウォント目標値との2つの目標値を含んでいる。 The evaluation function 31 is defined by the evaluation item and the target value of the evaluation item. The evaluation item is an item defined corresponding to a plurality of images. In the present embodiment, the evaluation items correspond to the plurality of learning images included in the learning data set 33. As shown in FIG. 2, the evaluation items are, for example, items such as "processing time", "overlooking rate", "missing rate", "position accuracy", "posture accuracy", and "dimensional accuracy". A target value is set for each evaluation item. In the example shown in FIG. 2, the target value includes two target values, a mast target value and a want target value.
 各目標値は、利用者(ユーザ)が入力装置70を操作することによって入力される。評価関数31は、画像処理装置50のパラメータの値によって、全ての評価項目のマスト目標値を満たすときに例えば60点又は60%、全ての評価項目のウォント目標値を満たすときに例えば90点又は90%になるように、数量が正規化されている。 Each target value is input by the user (user) operating the input device 70. The evaluation function 31 is, for example, 60 points or 60% when the mast target values of all the evaluation items are satisfied, and is 90 points when the want target values of all the evaluation items are satisfied, depending on the parameter values of the image processing device 50. The quantity is normalized to be 90%.
 評価値マップ32は、図2に示す評価関数31を用いて生成されるものであり、評価関数31の評価項目ごとに生成される。評価値マップ32は、当該評価項目において、画像処理装置50のパラメータの値ごとに、評価関数の評価値(以下、単に「評価値」という)を示すものである。 The evaluation value map 32 is generated using the evaluation function 31 shown in FIG. 2, and is generated for each evaluation item of the evaluation function 31. The evaluation value map 32 shows the evaluation value of the evaluation function (hereinafter, simply referred to as “evaluation value”) for each value of the parameter of the image processing device 50 in the evaluation item.
 例えば、図3に示す評価値マップ32は、評価関数31の評価項目の一つである「処理時間」において、パラメータp1、p2、p3のパラメータ空間における評価値をマッピングしたものである。 For example, the evaluation value map 32 shown in FIG. 3 maps the evaluation values of the parameters p1, p2, and p3 in the parameter space in the “processing time” which is one of the evaluation items of the evaluation function 31.
 また、図4に示す評価値マップ32は、評価関数31の別の評価項目である「見すぎ率」において、パラメータp1、p2、p3のパラメータ空間における評価値をマッピングしたものである。 Further, the evaluation value map 32 shown in FIG. 4 is a map obtained by mapping the evaluation values of the parameters p1, p2, and p3 in the parameter space in the “oversight rate” which is another evaluation item of the evaluation function 31.
 なお、評価値マップ32は、評価項目ごとに、複数のパラメータ空間における評価値をマッピングしたものに限定されるものではない。例えば、図5に示すように、評価項目「処理時間」において、パラメータp1の値に対する評価値をマッピングしたものであってもよい。 The evaluation value map 32 is not limited to the one in which evaluation values in a plurality of parameter spaces are mapped for each evaluation item. For example, as shown in FIG. 5, in the evaluation item “processing time”, an evaluation value for the value of the parameter p1 may be mapped.
 事前知識34は、例えば、図3から図5に示すような評価値マップ32に基づいて生成されるものである。事前知識34は、パラメータに関するものであり、例えば、パラメータが評価項目に与える影響度、パラメータの間の依存度、パラメータの刻み幅、パラメータの変更範囲等である。図5では、事前知識34としてパラメータp1の変更幅を得る例を示している。 The prior knowledge 34 is generated based on the evaluation value map 32 as shown in FIGS. 3 to 5, for example. The prior knowledge 34 is related to the parameters, and is, for example, the degree of influence of the parameters on the evaluation item, the degree of dependence between the parameters, the step size of the parameters, the range of parameter changes, and the like. FIG. 5 shows an example of obtaining the change width of the parameter p1 as the prior knowledge 34.
 事前知識34としてパラメータが評価項目に与える影響度が得られると、ある評価項目の評価値が低いときに、当該評価項目の評価値を高めるために値を変更すべきパラメータが分かる。また、事前知識34としてパラメータの間の依存度が得られると、あるパラメータを変更するときに、同時に変更すべきパラメータが分かる。また、事前知識34としてパラメータの変更幅が得られると、あるパラメータについてより評価値の高い値を探索するときに、当該パラメータの値における適切な変更幅が分かる。さらに、事前知識34としてパラメータの変更範囲が得られると、あるパラメータについてより評価値の高い値を探索するときに、当該パラメータの値における適切な変更範囲が分かる。 When the degree of influence of the parameter on the evaluation item is obtained as the prior knowledge 34, when the evaluation value of a certain evaluation item is low, the parameter whose value should be changed to increase the evaluation value of the evaluation item is known. Further, when the degree of dependence between parameters is obtained as the prior knowledge 34, when changing a certain parameter, the parameter to be changed is known at the same time. Further, when the parameter change width is obtained as the prior knowledge 34, an appropriate change width in the value of the parameter can be known when searching for a value having a higher evaluation value for a certain parameter. Further, when the parameter change range is obtained as the prior knowledge 34, an appropriate change range in the value of the parameter can be known when searching for a value having a higher evaluation value for a certain parameter.
 本実施形態では、事前知識34が評価値マップ32に基づいて生成される例を示したが、これに限定されるものではない。例えば、事前に準備された問題について、何らかの試行実験を行ってパラメータの傾向を掴む方法が考えられる。この場合、パラメータの傾向から事前知識を得るようにしてもよい。 In the present embodiment, an example in which the prior knowledge 34 is generated based on the evaluation value map 32 has been shown, but the present invention is not limited to this. For example, a method of performing some kind of trial experiment on a problem prepared in advance and grasping the tendency of parameters can be considered. In this case, a priori knowledge may be obtained from the tendency of the parameters.
 評価値マップ32は、学習用データセット33を用いて生成される。図6に示すように、学習用データセット33は、複数の学習用データを含んでおり、評価値マップ32は、学習用データセット33のうちの少なくとも一つの学習用データを用いて生成される。 The evaluation value map 32 is generated using the learning data set 33. As shown in FIG. 6, the learning data set 33 includes a plurality of learning data sets, and the evaluation value map 32 is generated using at least one learning data set in the learning data set 33. ..
 各学習用データは、例えば、複数の学習用画像と、当該複数の学習用画像に対して行う処理の種類と、学習用画像の画像数と、各学習用画像に付与されるラベルと、を含んでいる。ラベルは、処理の種類に応じた関連情報、つまり、アノテーションである。例えば、処理種類が「検査」の場合、ラベルは「OK」又は「NG」、処理種類が「位置決め」の場合、ラベルはあるピクセルを基準又は原点とするxy座標の位置(x、y)、処理種類が「文字照合」の場合、ラベルは年月等の日付である。 Each learning data includes, for example, a plurality of learning images, a type of processing to be performed on the plurality of learning images, the number of learning images, and a label given to each learning image. Contains. The label is related information according to the type of processing, that is, an annotation. For example, when the processing type is “inspection”, the label is “OK” or “NG”, and when the processing type is “positioning”, the label is a position (x, y) of xy coordinates with a certain pixel as a reference or origin, When the processing type is "character collation", the label is a date such as year and month.
 評価値マップ32は、評価項目ごとに加えて、処理用画像に対して行う処理の種類ごとに、又は処理用画像に映る対象物の業種ごとに、生成されてもよい。例えば、図7に示すように、評価値マップ32は、処理種類が「検査」である学習用データを用い、評価項目「処理時間」について、p1、p2、p3のパラメータ空間における評価値をマッピングしたものである。 The evaluation value map 32 may be generated for each evaluation item, for each type of processing performed on the processing image, or for each business type of the target object shown in the processing image. For example, as shown in FIG. 7, the evaluation value map 32 uses the learning data whose processing type is “inspection”, and maps the evaluation values in the parameter space of p1, p2, and p3 for the evaluation item “processing time”. It was done.
 記憶部30に記憶される評価値マップ32は、画像処理装置50が生成する場合に限定されるものではない。例えば、図1に示すサーバSVが、評価値マップを作成してもよい。この場合、サーバSVは、評価関数及び学習用データセットをあらかじめ記憶する、あるいは、ネットワークNWを介して他の装置から取得する。そして、サーバSVで生成された評価値マップは、ネットワークNWを介して画像処理装置50に送信され、記憶部30に記憶される。 The evaluation value map 32 stored in the storage unit 30 is not limited to the one generated by the image processing device 50. For example, the server SV shown in FIG. 1 may create the evaluation value map. In this case, the server SV stores the evaluation function and the learning data set in advance, or acquires the evaluation function and the learning data set from another device via the network NW. Then, the evaluation value map generated by the server SV is transmitted to the image processing apparatus 50 via the network NW and stored in the storage unit 30.
 なお、評価関数31、評価値マップ32、学習用データセット33、事前知識34、探索履歴35、及び計算結果36の構造及び形式は、前述した例に限定されるものではない。例えば、評価関数31、評価値マップ32、学習用データセット33、事前知識34、探索履歴35、及び計算結果36は、それぞれ、単なるデータであってもよいし、データベースであってもよい。また、評価関数31、評価値マップ32、学習用データセット33、事前知識34、探索履歴35、及び計算結果36のうち、少なくとも一部がデータベースである場合、正規化を行い、データのグループ単位を細分化してもよい。 The structures and formats of the evaluation function 31, the evaluation value map 32, the learning data set 33, the prior knowledge 34, the search history 35, and the calculation result 36 are not limited to the examples described above. For example, the evaluation function 31, the evaluation value map 32, the learning data set 33, the prior knowledge 34, the search history 35, and the calculation result 36 may each be simple data or a database. If at least a part of the evaluation function 31, the evaluation value map 32, the learning data set 33, the prior knowledge 34, the search history 35, and the calculation result 36 is a database, normalization is performed and the data is grouped into groups. May be subdivided.
 図1の説明に戻り、制御部40は、通信部10、入出力I/F20、及び記憶部30等、画像処理装置50の各部の動作を制御するように構成されている。また、制御部40は、記憶部30に記憶されたプログラムを実行する等によって、後述する各機能を実現するように構成されている。制御部40は、例えば、CPU(Central Processing Unit)等のプロセッサ、ROM(Read Only Memory)、RAM(Random Access Memory)等のメモリ、及びバッファ等の緩衝記憶装置を含んで構成される。なお、制御部40の詳細については、後述する。 Returning to the description of FIG. 1, the control unit 40 is configured to control the operation of each unit of the image processing apparatus 50, such as the communication unit 10, the input/output I/F 20, the storage unit 30, and the like. Further, the control unit 40 is configured to realize each function described below by executing a program stored in the storage unit 30 or the like. The control unit 40 is configured to include a processor such as a CPU (Central Processing Unit), a memory such as a ROM (Read Only Memory), a RAM (Random Access Memory), and a buffer storage device such as a buffer. The details of the control unit 40 will be described later.
 撮像装置60は、画像を撮影してデータとして記録するように構成されている。撮像装置60は、デジタルカメラであり、例えば、レンズ等の光学系部品と、撮像素子(受光素子)等の電子系部品とを含んで構成される。なお、光学系部品は、複数のレンズを備えていてもよい。また、電子系部品は、フラッシュ等の発光装置を備えていてもよい。撮像装置60は、ライン装置90の上方に配置されており、ライン装置90上の対象物を撮影し、撮影した画像を出力する。撮像装置60が出力した画像は、入出力I/F20を介して画像処理装置50に入力される。制御部40は、撮像装置60から入力された画像に必要な処理を施して処理用画像のファイルを生成し、生成した処理用画像のファイルを記憶部30に記憶させる。 The imaging device 60 is configured to capture an image and record it as data. The imaging device 60 is a digital camera, and is configured to include, for example, optical system components such as a lens and electronic system components such as an imaging element (light receiving element). The optical system component may include a plurality of lenses. Moreover, the electronic component may include a light emitting device such as a flash. The imaging device 60 is arranged above the line device 90, photographs the object on the line device 90, and outputs the photographed image. The image output by the imaging device 60 is input to the image processing device 50 via the input/output I/F 20. The control unit 40 performs necessary processing on the image input from the imaging device 60 to generate a processing image file, and stores the generated processing image file in the storage unit 30.
 入力装置70は、利用者(ユーザ)の操作によって情報を入力できるように構成されている。入力装置70は、例えば、キーボード、キーパッド、マウス、トラックボール、タッチパネル、マイク等を含んで構成される。例えば、利用者が、キーボード、キーパッド、マウス、トラックボール、タッチパネル、マイク等を操作(マイクを用いた音声操作を含む)したときに、入力装置70は、当該操作に対応するデータ又は信号を出力する。入力装置70が出力したデータ又は信号は、入出力I/F20を介して画像処理装置50に入力される。制御部40がこのデータまた信号に基づいてデータを生成することで、画像処理装置50に情報を入力することが可能になる。 The input device 70 is configured so that information can be input by a user (user) operation. The input device 70 includes, for example, a keyboard, a keypad, a mouse, a trackball, a touch panel, a microphone, and the like. For example, when the user operates a keyboard, a keypad, a mouse, a trackball, a touch panel, a microphone or the like (including a voice operation using a microphone), the input device 70 outputs data or a signal corresponding to the operation. Output. The data or signal output by the input device 70 is input to the image processing device 50 via the input/output I/F 20. The control unit 40 generates data based on this data or signal, so that information can be input to the image processing device 50.
 出力装置80は、情報を出力するように構成されている。出力装置80は、例えば、液晶ディスプレイ、EL(Electro Luminescence)ディスプレイ、プラズマディスプレイ等の表示装置と、スピーカー等の音声装置とを含んで構成される。 The output device 80 is configured to output information. The output device 80 is configured to include, for example, a display device such as a liquid crystal display, an EL (Electro Luminescence) display, and a plasma display, and an audio device such as a speaker.
 出力装置80は、入出力I/F20を介して画像処理装置50から入力される情報のうち、文字、数字、記号等のテキスト、画像、及び動画の情報を表示装置に表示し、音声の情報をスピーカーから出力することで、情報を出力することが可能になる。 The output device 80 displays information such as text such as characters, numbers, and symbols, images, and moving images on the display device among the information input from the image processing device 50 via the input/output I/F 20, and the audio information. By outputting from the speaker, it becomes possible to output information.
 ライン装置90は、対象物を搬送するように構成されている。ライン装置90は、例えばベルトコンベヤ等の搬送手段を含んで構成される。ライン装置90は、入出力I/F10を介して画像処理装置50から入力される制御信号に基づいて、例えば、ライン装置90上の対象物を移動させたり、停止させたり、除外したりすることが可能になる。 The line device 90 is configured to convey an object. The line device 90 is configured to include a conveying unit such as a belt conveyor. The line device 90 moves, stops, or excludes an object on the line device 90, for example, based on a control signal input from the image processing device 50 via the input/output I/F 10. Will be possible.
 画像処理装置50の制御部40は、その機能構成として、例えば、選択部41と、設定部42と、抽出部43と、事前知識生成部44と、を備える。 The control unit 40 of the image processing device 50 includes, for example, a selection unit 41, a setting unit 42, an extraction unit 43, and a prior knowledge generation unit 44 as its functional configuration.
 事前知識生成部44は、学習用データセット33の学習用データに含まれる複数の学習用画像と、当該複数の学習用画像に対応する評価項目と、当該評価項目の目標値とを用い、前述した事前知識34を生成するように構成されている。事前知識生成部44は、生成した事前知識34を記憶部30に記憶させる。 The prior knowledge generation unit 44 uses the plurality of learning images included in the learning data of the learning data set 33, the evaluation items corresponding to the plurality of learning images, and the target values of the evaluation items, and It is configured to generate the prior knowledge 34 described above. The prior knowledge generation unit 44 stores the generated prior knowledge 34 in the storage unit 30.
 より詳細には、事前知識生成部44は、評価項目と当該評価項目の目標値とによって定められる評価関数31を用い、パラメータの値に対応する評価関数31の評価値を求めるための評価手段と当該評価手段で得られた複数の評価値とに基づいて、事前知識34を生成するように構成されている。 More specifically, the prior knowledge generation unit 44 uses an evaluation function 31 defined by the evaluation item and the target value of the evaluation item, and an evaluation unit for obtaining an evaluation value of the evaluation function 31 corresponding to the value of the parameter. The prior knowledge 34 is generated based on the plurality of evaluation values obtained by the evaluation means.
 前述した評価手段は、例えば、評価関数31を用いて生成され、評価項目におけるパラメータの値ごとの評価値を示す評価値マップ32である。これにより、事前知識34を生成する事前知識生成部44を容易に実現することができる。 The evaluation means described above is, for example, an evaluation value map 32 that is generated by using the evaluation function 31 and that indicates the evaluation value for each value of the parameter in the evaluation item. This makes it possible to easily realize the prior knowledge generation unit 44 that generates the prior knowledge 34.
 また、事前知識生成部44は、処理用画像に対する処理の種類ごと又は処理用画像の対象物の業種ごとに事前知識34を生成してもよい。 Further, the prior knowledge generation unit 44 may generate the prior knowledge 34 for each type of processing for the processing image or for each business type of the object of the processing image.
 選択部41は、事前知識34を選択するように構成されている。より詳細には、選択部41は、指定された、画像に対する処理の種類又は画像の対象物の業種に基づいて、事前知識34を選択するように構成されている。処理の種類は、例えば、検査、位置決め、文字照合等である。また、対象物の業種は、例えば、自動車、食品等である。 The selection unit 41 is configured to select the prior knowledge 34. More specifically, the selection unit 41 is configured to select the prior knowledge 34 based on the designated type of processing for the image or the type of business of the image object. The type of processing is, for example, inspection, positioning, character matching, or the like. Further, the business type of the target object is, for example, an automobile or food.
 前述したように、処理の種類ごと又は処理用画像の対象物の業種ごとに事前知識34が生成され、指定された種類又は業種に基づいて事前知識34が選択されることにより、処理の種類又は対象物の業種ごとに共通する事前知識34を得ることができる。 As described above, the prior knowledge 34 is generated for each type of processing or each business type of the object of the processing image, and the prior knowledge 34 is selected based on the designated type or business type, whereby the processing type or It is possible to obtain the prior knowledge 34 that is common to each business type of the object.
 なお、選択部41は、事前知識34を選択する際に与えられる画像に基づいて、事前知識34を選択するようにしてもよい。この場合、選択部41は、与えられた画像に類似する学習用画像を、機械学習されたネットワーク等を用いて検索し、当該類似する学習用画像を含む学習用データセット33の学習用データを探し出す。そして、選択部41は、当該学習用データを用いて得られた事前知識34を選択する。 Note that the selection unit 41 may select the prior knowledge 34 based on the image given when selecting the prior knowledge 34. In this case, the selection unit 41 searches for a learning image similar to the given image using a machine-learned network or the like, and selects the learning data of the learning data set 33 including the similar learning image. Find out. Then, the selection unit 41 selects the prior knowledge 34 obtained by using the learning data.
 設定部42は、事前知識34と複数の処理用画像と当該複数の処理用画像に対応する評価項目と当該評価項目の目標値とに基づいて、パラメータの値を設定するように構成されている。これにより、例えばあるパラメータについて、適切な変更幅で、適切な範囲の値を探索することが可能となるので、事前知識がない場合と比較して、短時間で、適切なパラメータの値を設定することができる。従って、複数のパラメータの値を効率的に設定することができる。 The setting unit 42 is configured to set the value of the parameter based on the prior knowledge 34, the plurality of processing images, the evaluation items corresponding to the plurality of processing images, and the target values of the evaluation items. .. This makes it possible, for example, to search for a value in an appropriate range with an appropriate range of change for a parameter, so that an appropriate parameter value can be set in a shorter time than when there is no prior knowledge. can do. Therefore, the values of the plurality of parameters can be efficiently set.
 より詳細には、設定部42は、評価値が高くなるように、評価値を高くするようにパラメータの値を設定するように構成されている。これにより、評価項目の目標値に近い又は目標値を満たすパラメータの値に設定することが可能となる。また、前述したように、評価項目と当該評価項目の目標値とによって定められる評価関数を用い、パラメータの値に対応する評価関数の評価値を求めるための評価手段と当該評価手段で得られた複数の評価値とに基づいて、事前知識34が生成されることにより、例えば評価値を高めるために適したパラメータについて、適切な変更幅で、適切な範囲の値を探索することが可能となるので、事前知識32がない場合と比較して、短時間で、さらに評価値の高いパラメータの値を設定することができる。 More specifically, the setting unit 42 is configured to set the value of the parameter so that the evaluation value becomes high and the evaluation value becomes high. This makes it possible to set the value of the parameter close to or satisfying the target value of the evaluation item. Further, as described above, the evaluation function determined by the evaluation item and the target value of the evaluation item is used, and the evaluation means for obtaining the evaluation value of the evaluation function corresponding to the value of the parameter and the evaluation means are obtained. By generating the a priori knowledge 34 based on a plurality of evaluation values, it is possible to search a value in an appropriate range with an appropriate change range for a parameter suitable for increasing the evaluation value. Therefore, the value of the parameter having a higher evaluation value can be set in a shorter time than in the case without the prior knowledge 32.
 事前知識34は、パラメータが評価項目に与える影響度、パラメータの間の依存度、パラメータの値の変更幅、パラメータの値の変更範囲のうちの少なくとも一つを含むことが好ましい。これにより、短時間で、より評価値の高いパラメータを設定する設定する設定部42を容易に実現することができる。 The prior knowledge 34 preferably includes at least one of the degree of influence of parameters on evaluation items, the degree of dependency between parameters, the range of parameter value changes, and the range of parameter value changes. This makes it possible to easily realize the setting unit 42 that sets a parameter having a higher evaluation value in a short time.
 また、設定部42は、設定時間が指定されたときに、指定された設定時間の範囲内において評価値が最も高い値をパラメータに設定するように構成されている。これにより、限られた設定時間内であっても、より評価値の高いパラメータの値を設定することができる。 Further, the setting unit 42 is configured to set a value having the highest evaluation value as a parameter within the specified set time range when the set time is specified. As a result, the value of the parameter having a higher evaluation value can be set even within the limited setting time.
 設定時間の指定は、例えば、利用者(ユーザ)が入力装置70を操作することによって行われる。設定時間は、例えば、10秒、1分、1日等のあらかじめ用意された選択肢の中から指定される。 The designation of the set time is performed, for example, by the user (user) operating the input device 70. The set time is specified from the prepared options such as 10 seconds, 1 minute, and 1 day.
 抽出部43は、事前知識34に基づいて複数のパラメータのうちの少なくとも一つを抽出するように構成されている。抽出部43がパラメータを抽出した場合、設定部42は、抽出されたパラメータの値を設定する。これにより、複数のパラメータのうち、評価値を高め得るパラメータについて、その値を設定することができる。 The extraction unit 43 is configured to extract at least one of the plurality of parameters based on the prior knowledge 34. When the extraction unit 43 extracts the parameter, the setting unit 42 sets the value of the extracted parameter. With this, it is possible to set the value of the parameter that can increase the evaluation value among the plurality of parameters.
 制御部40の各機能は、コンピュータ(マイクロプロセッサ)で実行されるプログラムによって実現することが可能である。したがって、制御部40が備える各機能は、ハードウェア、ソフトウェア、若しくはハードウェア及びソフトウェアの組み合わせによって実現可能であり、いずれかの場合に限定されるものではない。 Each function of the control unit 40 can be realized by a program executed by a computer (microprocessor). Therefore, each function of the control unit 40 can be realized by hardware, software, or a combination of hardware and software, and is not limited to either case.
 また、制御部40の各機能が、ソフトウェア、若しくはハードウェア及びソフトウェアの組み合わせによって実現される場合、その処理は、マルチタスク、マルチスレッド、若しくはマルチタスク及びマルチスレッドの両方で実行可能であり、いずれかの場合に限定されるものではない。 When each function of the control unit 40 is realized by software or a combination of hardware and software, the processing can be executed by multitasking, multithreading, or both multitasking and multithreading. It is not limited to such a case.
 次に、図8を参照しつつ、一実施形態に係る画像処理装置の動作について説明する。図8は、一実施形態に係る画像処理装置50のパラメータを設定する概略動作を示すフローチャートである。 Next, the operation of the image processing apparatus according to the embodiment will be described with reference to FIG. FIG. 8 is a flowchart showing a schematic operation for setting parameters of the image processing apparatus 50 according to the embodiment.
 例えば利用者(ユーザ)の操作によってパラメータの設定が選択されると、画像処理装置50の制御部40は、図8に示すパラメータ設定処理S200を実行する。 For example, when the parameter setting is selected by the operation of the user (user), the control unit 40 of the image processing device 50 executes the parameter setting process S200 shown in FIG.
 なお、以下の説明において、あらかじめ事前知識34が生成され、記憶部30に記憶されているものとする。すなわち、複数の学習用画像と、当該複数の学習用画像に対応する評価項目と、当該評価項目の目標値とを用い、事前知識34を生成する事前知識生成ステップは、パラメータ設定処理S200の前に行われているものとする。また、画像処理装置50が複数のパラメータに基づいて行う処理の対象である複数の処理用画像はあらかじめ与えられており、当該処理の種類又は対象物の業種は、あらかじめ指定されているものとする。 In the following description, it is assumed that the prior knowledge 34 is generated in advance and stored in the storage unit 30. That is, the prior knowledge generation step of generating the prior knowledge 34 using the plurality of learning images, the evaluation items corresponding to the plurality of learning images, and the target value of the evaluation items is performed before the parameter setting process S200. It is supposed to be done in. Further, it is assumed that a plurality of processing images, which are targets of the processing performed by the image processing device 50 based on a plurality of parameters, are given in advance, and the type of the processing or the type of business of the target is designated in advance. ..
 最初に、選択部41は、与えられた複数の処理用画像のうちのいくつかをサンプル(以下、「サンプル画像」という)として取り出す(S201)。 First, the selection unit 41 takes out some of the given plurality of processing images as samples (hereinafter referred to as “sample images”) (S201).
 次に、選択部41は、指定された処理の種類又は対象物の業種に基づいて、事前知識34を選択する(S202)。処理の種類又は対象物の業種の指定は、例えば、利用者(ユーザ)が入力装置70を操作することによって行われる。 Next, the selection unit 41 selects the prior knowledge 34 based on the designated type of processing or the type of business of the target (S202). The type of processing or the type of business of the object is specified by, for example, a user (user) operating the input device 70.
 次に、設定部42は、ステップS201で取り出したサンプル画像を用い、ステップS202で選択された事前知識34に基づいて、大まかな評価値マップを生成する(S203)。ステップS203において、設定部42は、事前知識34のうち、例えば、パラメータの値の変化幅、パラメータの値の変化範囲等を参照する。 Next, the setting unit 42 uses the sample image extracted in step S201 to generate a rough evaluation value map based on the prior knowledge 34 selected in step S202 (S203). In step S203, the setting unit 42 refers to, for example, the variation width of the parameter value, the variation range of the parameter value, and the like in the prior knowledge 34.
 次に、抽出部43は、ステップS203で作成された大まかな評価値マップに基づいて、評価値の高いパラメータとその値との組合せをパラメータ候補として複数抽出する(S204)。 Next, the extraction unit 43 extracts a plurality of combinations of a parameter having a high evaluation value and its value as parameter candidates based on the rough evaluation value map created in step S203 (S204).
 次に、設定部42は、ステップS204で抽出したパラメータ候補について、ステップS202で選択された事前知識34に基づいて、評価値がさらに高くなるパラメータの値があるか否か、パラメータ候補の値の周辺を探索する(S205)。 Next, the setting unit 42 determines whether or not there is a parameter value for which the evaluation value becomes higher based on the a priori knowledge 34 selected in step S202 among the parameter candidates extracted in step S204. The surroundings are searched (S205).
 探索の具体例として、設定部42は、パラメータ候補の値を中央値とし、変化幅を最小値に設定する。そして、設定部42は、事前知識34の変化幅の範囲において、パラメータの値を変化させて評価値を求める。このとき、設定部42は、事前知識34のうち、パラメータが評価項目に与える影響度、パラメータの間の依存度等を参照し、評価値の低い評価項目において影響度の高いパラメータ、当該パラメータとの間で依存度の高いパラメータの値も変化させて評価値を求める。 As a specific example of the search, the setting unit 42 sets the value of the parameter candidate to the median value and sets the change width to the minimum value. Then, the setting unit 42 obtains the evaluation value by changing the value of the parameter within the range of the change width of the prior knowledge 34. At this time, the setting unit 42 refers to the degree of influence of the parameter on the evaluation item, the degree of dependence between the parameters, and the like in the prior knowledge 34, and determines the parameter having a high degree of influence in the evaluation item having a low evaluation value, The evaluation value is obtained by changing the value of the parameter having a high degree of dependence between the two.
 また、ステップS205の間、設定部42は、探索において用いた事前知識34、探索したパラメータ、探索範囲、探索時の変化幅等を、記憶部30の探索履歴35に書き込んで記憶させる。さらに、設定部42は、探索において評価値を求めたときのパラメータ、その値、及び評価値等を、記憶部30の計算結果36に書き込んで記憶させる。これにより、パラメータ、その値等の条件が同じときに、設定部42が記憶部30の計算結果36を参照することで、評価値の算出を省略することができる。 Further, during step S205, the setting unit 42 writes and stores the prior knowledge 34 used in the search, the searched parameters, the search range, and the change width at the time of search in the search history 35 of the storage unit 30. Further, the setting unit 42 writes and stores the parameter, the value, the evaluation value, and the like when the evaluation value is obtained in the search, in the calculation result 36 of the storage unit 30. Thus, when the conditions such as the parameter and its value are the same, the setting unit 42 can omit the calculation of the evaluation value by referring to the calculation result 36 of the storage unit 30.
 次に、抽出部43は、ステップS205において探索した結果に基づいて、評価値の高いパラメータとその値との組合せを有望パラメータ候補として複数抽出する(S206)。 Next, the extraction unit 43 extracts a plurality of combinations of a parameter having a high evaluation value and its value as promising parameter candidates based on the search result in step S205 (S206).
 次に、設定部42は、ステップS206で抽出した有望パラメータ候補について、ステップS202で選択された事前知識34に基づいて、評価値がさらに高くなるパラメータの値があるか否か、有望パラメータ候補の値の周辺を探索する(S207)。 Next, the setting unit 42 determines whether or not there is a parameter value for which the evaluation value becomes higher, based on the a priori knowledge 34 selected in step S202, among the promising parameter candidates extracted in step S206. Around the value is searched (S207).
 探索の具体例は、ステップS205の探索と同様に、設定部42は、有望パラメータ候補の値を中央値とし、変化幅を最小値に設定する。そして、設定部42は、事前知識34のパラメータの値の変化幅の範囲において、パラメータの値を変化させて評価値を求める。このとき、設定部42は、事前知識34のうち、パラメータが評価項目に与える影響度、パラメータの間の依存度等を参照し、評価値の低い評価項目において影響度の高いパラメータ、当該パラメータとの間で依存度の高いパラメータの値も変化させて評価値を求める。 As a specific example of the search, like the search in step S205, the setting unit 42 sets the value of the promising parameter candidate to the median value and sets the change width to the minimum value. Then, the setting unit 42 obtains an evaluation value by changing the parameter value in the range of the variation range of the parameter value of the prior knowledge 34. At this time, the setting unit 42 refers to, among the prior knowledge 34, the degree of influence that the parameter has on the evaluation item, the degree of dependence between the parameters, and the like, and sets the parameter having the high degree of influence in the evaluation item having the low evaluation value and the parameter. The evaluation value is obtained by changing the value of the parameter having a high degree of dependence between the two.
 また、ステップS207の間、設定部42は、探索において用いた事前知識34、探索したパラメータ、探索範囲、探索時の変化幅等を、記憶部30の探索履歴35に書き込んで記憶させる。さらに、設定部42は、探索において評価値を求めたときのパラメータ、その値、及び評価値等を、記憶部30の計算結果36に書き込んで記憶させる。 Also, during step S207, the setting unit 42 writes and stores the prior knowledge 34 used in the search, the searched parameters, the search range, and the change width at the time of search in the search history 35 of the storage unit 30. Further, the setting unit 42 writes and stores the parameter, the value, the evaluation value, and the like when the evaluation value is obtained in the search, in the calculation result 36 of the storage unit 30.
 次に、設定部42は、ステップS207において探索した結果に基づいて、最も評価値の高いものをパラメータの値に設定する(S208)。 Next, the setting unit 42 sets the one having the highest evaluation value as the parameter value based on the result of the search in step S207 (S208).
 次に、設定部42は、記憶部30に記憶された探索履歴35の内容を、入出力I/F20を介して出力装置80に出力させる(S209)。これにより、設定されたパラメータの値は利用者(ユーザ)に対する説明性を有し、当該利用者(ユーザ)は、評価値を高めるためにどのくらい余地があるのかを推定することができる。 Next, the setting unit 42 causes the output device 80 to output the contents of the search history 35 stored in the storage unit 30 via the input/output I/F 20 (S209). Thereby, the value of the set parameter has a descriptive property to the user (user), and the user (user) can estimate how much room is left for increasing the evaluation value.
 ステップS209の後、制御部40は、パラメータ設定処理S200を終了する。 After step S209, the control unit 40 ends the parameter setting process S200.
 なお、パラメータ設定処理S200の実行に際して設定時間が指定される場合、制御部40は、その設定時間の範囲内でパラメータの値を設定するように、調整する。具体的には、ステップS201において、選択部41は、指定された設定時間に応じた数のサンプル画像を取り出す。また、ステップS203において、設定部42は、指定された設定時間に応じたパラメータの値の変化幅で、大まかな評価値マップ及び評価値マップを生成する。さらに、ステップS204及びステップS206において、抽出部43は、指定された設定時間に応じた数のパラメータ候補及び有望パラメータ候補を抽出する。 Note that when the set time is specified when executing the parameter setting process S200, the control unit 40 adjusts the value of the parameter within the range of the set time. Specifically, in step S201, the selection unit 41 extracts the number of sample images according to the designated set time. Further, in step S203, the setting unit 42 generates a rough evaluation value map and an evaluation value map with the change width of the parameter value according to the designated set time. Further, in steps S204 and S206, the extraction unit 43 extracts a number of parameter candidates and promising parameter candidates according to the designated set time.
 以上、本発明の例示的な実施形態について説明した。本発明の一実施形態に係る画像処理装置50、画像処理プログラム、及び画像処理方法によれば、パラメータに関する事前知識34と複数の処理用画像と当該複数の処理用画像に対応する評価項目と当該評価項目の目標値とに基づいて、パラメータの値が設定される。これにより、例えばあるパラメータについて、適切な変更幅で、適切な範囲の値を探索することが可能となるので、事前知識がない場合と比較して、短時間で、適切なパラメータの値を設定することができる。従って、複数のパラメータの値を効率的に設定することができる。 The exemplary embodiments of the present invention have been described above. According to the image processing apparatus 50, the image processing program, and the image processing method according to the embodiment of the present invention, the prior knowledge 34 about the parameters, the plurality of processing images, the evaluation items corresponding to the plurality of processing images, and The value of the parameter is set based on the target value of the evaluation item. This makes it possible, for example, to search for a value in an appropriate range with an appropriate range of change for a parameter, so that an appropriate parameter value can be set in a shorter time than when there is no prior knowledge. can do. Therefore, the values of the plurality of parameters can be efficiently set.
 以上説明した各実施形態は、本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。各実施形態が備える各要素並びにその配置、材料、条件、形状及びサイズ等は、例示したものに限定されるわけではなく適宜変更することができる。また、異なる実施形態で示した構成同士を部分的に置換し又は組み合わせることが可能である。 The embodiments described above are for facilitating the understanding of the present invention and are not for limiting the interpretation of the present invention. Each element provided in each embodiment and the arrangement, material, condition, shape, size, and the like thereof are not limited to the exemplified ones, and can be appropriately changed. Further, the configurations shown in different embodiments can be partially replaced or combined.
 (附記)
 1.複数のパラメータに基づいて処理用画像に対する処理を行う画像処理装置(50)であって、
 複数の学習用画像と、該複数の学習用画像に対応する評価項目と、該評価項目の目標値とを用い、前記パラメータに関する事前知識(34)を生成する事前知識生成部(44)と、
 事前知識(34)と複数の処理用画像と当該複数の処理用画像に対応する評価項目と当該評価項目の目標値とに基づいて、パラメータの値を設定する設定部(42)と、を備える、
 画像処理装置(50)。
 8.複数のパラメータに基づいて処理用画像に対する処理を行う、コンピュータに実行させる画像処理プログラムであって、
 複数の学習用画像と、該複数の学習用画像に対応する評価項目と、該評価項目の目標値とを用い、前記パラメータに関する事前知識(34)を生成する事前知識生成ステップと、
 事前知識(34)と複数の処理用画像と当該複数の処理用画像に対応する評価項目と当該評価項目の目標値とに基づいて、パラメータの値を設定する設定ステップと、を含む、
 画像処理プログラム。
 15.複数のパラメータに基づいて処理用画像に対する処理を行う画像処理方法であって、
 複数の学習用画像と、該複数の学習用画像に対応する評価項目と、該評価項目の目標値とを用い、前記パラメータに関する事前知識(34)を生成する事前知識生成ステップと、
 事前知識(34)と複数の処理用画像と当該複数の処理用画像に対応する評価項目と当該評価項目の目標値とに基づいてパラメータの値を設定する設定ステップと、を含む、
 画像処理方法。
(Appendix)
1. An image processing device (50) for performing processing on a processing image based on a plurality of parameters,
A prior knowledge generation unit (44) that generates prior knowledge (34) about the parameters using a plurality of learning images, evaluation items corresponding to the plurality of learning images, and target values of the evaluation items;
A priori knowledge (34), a plurality of processing images, an evaluation item corresponding to the plurality of processing images, and a setting unit (42) for setting a value of a parameter based on a target value of the evaluation item. ,
Image processing device (50).
8. An image processing program that causes a computer to perform processing on a processing image based on a plurality of parameters,
A prior knowledge generation step of generating a priori knowledge (34) about the parameter using a plurality of learning images, evaluation items corresponding to the plurality of learning images, and target values of the evaluation items;
A priori knowledge (34), a plurality of processing images, an evaluation item corresponding to the plurality of processing images, and a setting step of setting a parameter value based on a target value of the evaluation item,
Image processing program.
15. An image processing method for performing processing on a processing image based on a plurality of parameters,
A prior knowledge generation step of generating a priori knowledge (34) about the parameter using a plurality of learning images, evaluation items corresponding to the plurality of learning images, and target values of the evaluation items;
A prior knowledge (34), a plurality of processing images, an evaluation item corresponding to the plurality of processing images, and a setting step of setting a parameter value based on a target value of the evaluation item,
Image processing method.
 10…通信部、20…入出力I/F、30…記憶部、31…評価関数、32…評価値マップ、33…学習用データセット、34…事前知識、35…探索履歴、36…計算結果、40…制御部、41…選択部、42…設定部、43…抽出部、44…事前知識生成部、50…画像処理装置、51…バス、60…撮像装置、70…入力装置、80…出力装置、90…ライン装置、100…画像処理システム、NW…ネットワーク、p1,p2,p3…パラメータ、S200…パラメータ設定処理、SV…サーバ。 10... Communication unit, 20... Input/output I/F, 30... Storage unit, 31... Evaluation function, 32... Evaluation value map, 33... Learning data set, 34... Prior knowledge, 35... Search history, 36... Calculation result , 40... Control unit, 41... Selection unit, 42... Setting unit, 43... Extraction unit, 44... Prior knowledge generation unit, 50... Image processing device, 51... Bus, 60... Imaging device, 70... Input device, 80... Output device, 90... Line device, 100... Image processing system, NW... Network, p1, p2, p3... Parameter, S200... Parameter setting process, SV... Server.

Claims (15)

  1.  複数のパラメータに基づいて処理用画像に対する処理を行う画像処理装置であって、
     複数の学習用画像と、該複数の学習用画像に対応する評価項目と、該評価項目の目標値とを用い、前記パラメータに関する事前知識を生成する事前知識生成部と、
     前記事前知識と複数の前記処理用画像と該複数の処理用画像に対応する前記評価項目と該評価項目の目標値とに基づいて、前記パラメータの値を設定する設定部と、を備える、
     画像処理装置。
    An image processing apparatus that performs processing on a processing image based on a plurality of parameters,
    A prior knowledge generation unit that generates a priori knowledge about the parameter using a plurality of learning images, evaluation items corresponding to the plurality of learning images, and target values of the evaluation items;
    A setting unit that sets the value of the parameter based on the prior knowledge, the plurality of processing images, the evaluation items corresponding to the plurality of processing images, and target values of the evaluation items;
    Image processing device.
  2.  前記事前知識生成部は、前記評価項目と該評価項目の目標値とによって定められる評価関数を用い、前記パラメータの値に対応する前記評価関数の評価値を求めるための評価手段と該評価手段で得られた複数の前記評価値とに基づいて、前記事前知識を生成し、
     前記設定部は、前記評価値が高くなるように前記パラメータの値を設定する、
     請求項1に記載の画像処理装置。
    The a priori knowledge generation unit uses an evaluation function defined by the evaluation item and a target value of the evaluation item, and an evaluation unit for obtaining an evaluation value of the evaluation function corresponding to the value of the parameter and the evaluation unit. Based on the plurality of evaluation values obtained in, to generate the prior knowledge,
    The setting unit sets the value of the parameter so that the evaluation value is high,
    The image processing apparatus according to claim 1.
  3.  前記評価手段は、前記評価関数を用いて生成され、前記評価項目における前記パラメータの値ごとの前記評価値を示す評価値マップである、
     請求項2に記載の画像処理装置。
    The evaluation means is an evaluation value map that is generated using the evaluation function and that indicates the evaluation value for each value of the parameter in the evaluation item.
    The image processing apparatus according to claim 2.
  4.  前記事前知識生成部は、前記処理の種類ごと又は前記処理用画像の対象物の業種ごとに、前記事前知識を生成し、
     指定された前記種類又は前記業種に基づいて前記事前知識を選択する選択部をさらに備える、
     請求項1から3のいずれか一項に記載の画像処理装置。
    The a priori knowledge generation unit generates the a priori knowledge for each type of the processing or for each business type of the object of the processing image,
    Further comprising a selection unit for selecting the prior knowledge based on the specified type or the type of industry,
    The image processing device according to claim 1.
  5.  前記事前知識は、前記パラメータが前記評価項目に与える影響度、前記パラメータの間の依存度、前記パラメータの値の変更幅、及び前記パラメータの値の変更範囲のうちの少なくとも一つを含む、
     請求項2から4のいずれか一項に記載の画像処理装置。
    The prior knowledge includes at least one of a degree of influence of the parameter on the evaluation item, a degree of dependence between the parameters, a change width of the value of the parameter, and a change range of the value of the parameter,
    The image processing apparatus according to claim 2.
  6.  前記設定部は、指定された設定時間の範囲内において前記評価値が最も高い値を前記パラメータに設定する、
     請求項2から5のいずれか一項に記載の画像処理装置。
    The setting unit sets a value having the highest evaluation value to the parameter within a designated set time range,
    The image processing apparatus according to claim 2.
  7.  前記事前知識に基づいて前記複数のパラメータのうちの少なくとも一つを抽出する抽出部をさらに備え、
     前記設定部は、前記抽出されたパラメータの値を設定する、
     請求項1から6のいずれか一項に記載の画像処理装置。
    Further comprising an extraction unit that extracts at least one of the plurality of parameters based on the prior knowledge,
    The setting unit sets a value of the extracted parameter,
    The image processing apparatus according to claim 1.
  8.  複数のパラメータに基づいて処理用画像に対する処理を行う、コンピュータに実行させる画像処理プログラムであって、
     複数の学習用画像と、該複数の学習用画像に対応する評価項目と、該評価項目の目標値とを用い、前記パラメータに関する事前知識を生成する事前知識生成ステップと、
     前記事前知識と複数の前記処理用画像と該複数の処理用画像に対応する前記評価項目と該評価項目の目標値とに基づいて、前記パラメータの値を設定する設定ステップと、を含む、
     画像処理プログラム。
    An image processing program that causes a computer to perform processing on a processing image based on a plurality of parameters,
    A prior knowledge generation step of generating a priori knowledge about the parameter using a plurality of learning images, evaluation items corresponding to the plurality of learning images, and target values of the evaluation items;
    A setting step of setting a value of the parameter based on the prior knowledge, the plurality of processing images, the evaluation items corresponding to the plurality of processing images, and target values of the evaluation items,
    Image processing program.
  9.  前記事前知識生成ステップは、前記評価項目と該評価項目の目標値とによって定められる評価関数を用い、前記パラメータの値に対応する前記評価関数の評価値を求めるための評価手段と該評価手段で得られた複数の前記評価値とに基づいて、前記事前知識を生成することを含み、
     前記設定ステップは、前記評価値が高くなるように前記パラメータの値を設定することを含む、
     請求項8に記載の画像処理プログラム。
    The a priori knowledge generation step uses an evaluation function defined by the evaluation item and a target value of the evaluation item, and an evaluation unit for obtaining an evaluation value of the evaluation function corresponding to the value of the parameter and the evaluation unit. Generating the a priori knowledge based on the plurality of evaluation values obtained in
    The setting step includes setting the value of the parameter so that the evaluation value is high.
    The image processing program according to claim 8.
  10.  前記評価手段は、前記評価関数を用いて生成され、前記評価項目における前記パラメータの値ごとの前記評価値を示す評価値マップである、
     請求項9に記載の画像処理プログラム。
    The evaluation means is an evaluation value map that is generated using the evaluation function and that indicates the evaluation value for each value of the parameter in the evaluation item.
    The image processing program according to claim 9.
  11.  前記事前知識生成ステップは、前記処理の種類ごと又は前記処理用画像の対象物の業種ごとに、前記事前知識を生成することを含み、
     前記指定された前記種類又は前記業種に基づいて前記事前知識を選択する選択ステップをさらに含む、
     請求項8から10のいずれか一項に記載の画像処理プログラム。
    The a priori knowledge generating step includes generating the a priori knowledge for each type of the processing or for each business type of the target object of the processing image,
    Further comprising a selecting step of selecting the prior knowledge based on the specified type or the industry.
    The image processing program according to any one of claims 8 to 10.
  12.  前記事前知識は、前記パラメータが前記評価項目に与える影響度、前記パラメータの間の依存度、前記パラメータの値の変更幅、及び前記パラメータの値の変更範囲のうちの少なくとも一つを含む、
     請求項9から11のいずれか一項に記載の画像処理プログラム。
    The prior knowledge includes at least one of a degree of influence of the parameter on the evaluation item, a degree of dependence between the parameters, a change width of the value of the parameter, and a change range of the value of the parameter,
    The image processing program according to any one of claims 9 to 11.
  13.  前記設定ステップは、指定された設定時間の範囲内において前記評価値が最も高い値を前記パラメータに設定することを含む、
     請求項9から12のいずれか一項に記載の画像処理プログラム。
    The setting step includes setting a value having the highest evaluation value in the parameter within a designated set time range,
    The image processing program according to any one of claims 9 to 12.
  14.  前記事前知識に基づいて前記複数のパラメータのうちの少なくとも一つを抽出する抽出ステップをさらに含み、
     前記設定ステップは、前記抽出されたパラメータの値を設定する、
     請求項8から13のいずれか一項に記載の画像処理プログラム。
    Further comprising an extracting step of extracting at least one of the plurality of parameters based on the prior knowledge,
    The setting step sets a value of the extracted parameter,
    The image processing program according to any one of claims 8 to 13.
  15.  複数のパラメータに基づいて処理用画像に対する処理を行う画像処理方法であって、
     複数の学習用画像と、該複数の学習用画像に対応する評価項目と、該評価項目の目標値とを用い、前記パラメータに関する事前知識を生成する事前知識生成ステップと、
     前記事前知識と複数の前記処理用画像と該複数の処理用画像に対応する前記評価項目と該評価項目の目標値とに基づいて、前記パラメータの値を設定する設定ステップと、を含む、
     画像処理方法。
    An image processing method for performing processing on a processing image based on a plurality of parameters,
    A prior knowledge generation step of generating a priori knowledge about the parameter using a plurality of learning images, evaluation items corresponding to the plurality of learning images, and target values of the evaluation items;
    A setting step of setting a value of the parameter based on the prior knowledge, the plurality of processing images, the evaluation items corresponding to the plurality of processing images, and target values of the evaluation items,
    Image processing method.
PCT/JP2019/050990 2019-01-09 2019-12-25 Image processing device, image processing program, and image processing method WO2020145164A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
DE112019006614.5T DE112019006614T5 (en) 2019-01-09 2019-12-25 IMAGE PROCESSING DEVICE, IMAGE PROCESSING PROGRAM AND IMAGE PROCESSING METHOD
CN201980058642.8A CN112689851A (en) 2019-01-09 2019-12-25 Image processing device, image processing program, and image processing method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019-001997 2019-01-09
JP2019001997A JP7049587B2 (en) 2019-01-09 2019-01-09 Image processing device, image processing program, and image processing method

Publications (1)

Publication Number Publication Date
WO2020145164A1 true WO2020145164A1 (en) 2020-07-16

Family

ID=71520670

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2019/050990 WO2020145164A1 (en) 2019-01-09 2019-12-25 Image processing device, image processing program, and image processing method

Country Status (4)

Country Link
JP (1) JP7049587B2 (en)
CN (1) CN112689851A (en)
DE (1) DE112019006614T5 (en)
WO (1) WO2020145164A1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018129029A (en) * 2017-02-08 2018-08-16 日本電信電話株式会社 Image processing apparatus, image processing method, and image processing program

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577003B (en) * 2009-06-05 2011-08-17 北京航空航天大学 Image segmenting method based on improvement of intersecting visual cortical model
JP6937508B2 (en) * 2017-06-08 2021-09-22 国立大学法人 筑波大学 Image processing system, evaluation model construction method, image processing method and program
CN107369142A (en) * 2017-06-29 2017-11-21 北京小米移动软件有限公司 Image processing method and device
CN107527074B (en) * 2017-09-05 2020-04-07 百度在线网络技术(北京)有限公司 Image processing method and device for vehicle
CN107844751B (en) * 2017-10-19 2021-08-27 陕西师范大学 Method for classifying hyperspectral remote sensing images of guide filtering long and short memory neural network
CN108053398A (en) * 2017-12-19 2018-05-18 南京信息工程大学 A kind of melanoma automatic testing method of semi-supervised feature learning
CN108550131B (en) * 2018-04-12 2020-10-20 浙江理工大学 SAR image vehicle detection method based on feature fusion sparse representation model

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018129029A (en) * 2017-02-08 2018-08-16 日本電信電話株式会社 Image processing apparatus, image processing method, and image processing program

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"IBM structural analysis system PolyFEM, Technical Manual for Version 3.0", IBM JAPAN, September 1997 (1997-09-01), Tokyo, pages 3-1 - 3-4 *
POTTER, KAREN D.: "CG World Review Approaches to design optimization", WORLD REVIEW CG, NIKKEI COMPUTER GRAPHICS, vol. 119, 8 August 1996 (1996-08-08), pages 134 - 139, ISSN: 0912-1609 *

Also Published As

Publication number Publication date
JP7049587B2 (en) 2022-04-07
DE112019006614T5 (en) 2021-09-30
JP2020112938A (en) 2020-07-27
CN112689851A (en) 2021-04-20

Similar Documents

Publication Publication Date Title
US9230192B2 (en) Image classification using images with separate grayscale and color channels
JP6740457B2 (en) Content-based search and retrieval of trademark images
US20160148079A1 (en) Object detection using cascaded convolutional neural networks
US11288307B2 (en) Method, electronic device, and computer readable medium for photo organization
AU2017204531B2 (en) Smart and automatic selection of same shaped objects in images
US20190188729A1 (en) System and method for detecting counterfeit product based on deep learning
JP2021103555A (en) Image detection method, device, electronic apparatus, storage medium, and program
CN107766349B (en) Method, device, equipment and client for generating text
CN107368550B (en) Information acquisition method, device, medium, electronic device, server and system
US10803174B2 (en) Bit-level data generation and artificial intelligence techniques and architectures for data protection
US9355338B2 (en) Image recognition device, image recognition method, and recording medium
US10007680B2 (en) Content collection search with robust content matching
US9875548B2 (en) Candidate list generation
US8538171B2 (en) Method and system for object detection in images utilizing adaptive scanning
CN112949661A (en) Detection frame self-adaptive external expansion method and device, electronic equipment and storage medium
AU2015202463B2 (en) Capturing specific information based on field information associated with a document class
CN113326766B (en) Training method and device of text detection model, text detection method and device
WO2020145164A1 (en) Image processing device, image processing program, and image processing method
US11621000B2 (en) Systems and methods for associating a voice command with a search image
JP6419560B2 (en) Search device, method and program
US20160140426A1 (en) Systems and methods for multi-factor image recognition
CN115984709B (en) Content identification method for rapid large-scale remote sensing image
US20200151451A1 (en) Electronic device and method for providing multiple services respectively corresponding to multiple external objects included in image
CN105096029A (en) Method and apparatus for handling digital assets in an assets-based workflow
CN111737509A (en) Information processing method, device, system, computer readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19908103

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19908103

Country of ref document: EP

Kind code of ref document: A1