JPH10191091A - Data converter and its coefficient decision device - Google Patents

Data converter and its coefficient decision device

Info

Publication number
JPH10191091A
JPH10191091A JP9304080A JP30408097A JPH10191091A JP H10191091 A JPH10191091 A JP H10191091A JP 9304080 A JP9304080 A JP 9304080A JP 30408097 A JP30408097 A JP 30408097A JP H10191091 A JPH10191091 A JP H10191091A
Authority
JP
Japan
Prior art keywords
coefficient
value
data group
error
coefficient value
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.)
Granted
Application number
JP9304080A
Other languages
Japanese (ja)
Other versions
JP3817866B2 (en
Inventor
Kazumasa Murai
和昌 村井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP30408097A priority Critical patent/JP3817866B2/en
Publication of JPH10191091A publication Critical patent/JPH10191091A/en
Application granted granted Critical
Publication of JP3817866B2 publication Critical patent/JP3817866B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Processing Of Color Television Signals (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To allow the device to learn coefficients stably and simply even in the case that data are converted by using coefficients taking discrete values. SOLUTION: An input buffer 11 stores m-dimension input data received externally. A data converter 12 uses coefficients taking discrete values to convert m-dimension input data into n-dimension output data. An output buffer 13 stores n-dimension output data outputted from the data converter 12. An error calculation section 15 calculates an error between the output data and ideal output data and gives the error to a coefficient update section 19. A random number distribution control section 17 varies distribution of a random number depending on the history of each error and a step control section 18 varies the size of each step depending on the history of each error. Thus, annealing is conducted. The coefficient update section 19 selects a coefficient where a sum of the error and the random number is minimized to be a new coefficient.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、適宜の個数の離散
値の係数により規定されるデータ変換装置において、所
定の入力データに対応する理想出力データとの誤差が小
さい出力を得るための係数を決定する方法、および装置
に関する。本発明は例えば離散値の係数を持つ階層型ニ
ューラルネットワークによる色変換装置の係数決定や、
代表点テーブルおよび補間を用いた色変換の代表点値決
定に適用できる。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data conversion device defined by an appropriate number of discrete-valued coefficients, wherein a coefficient for obtaining an output having a small error from ideal output data corresponding to predetermined input data is obtained. A method and an apparatus for determining. The present invention is, for example, a coefficient determination of a color conversion device by a hierarchical neural network having discrete value coefficients,
The present invention can be applied to a representative point table and determination of a representative point value of color conversion using interpolation.

【0002】[0002]

【従来の技術】適宜の個数の離散値の係数により規定さ
れるデータ変換装置では、取り得る係数の範囲を限れ
ば、各係数の取りうる値の種類は有限である。従って、
全ての係数の組合せについて誤差を評価すれば、その中
には少なくとも1つの最適な係数が存在する。そして、
このように係数の全空間を検索する手法によれば確実に
最適な係数を得ることが可能である。しかしながら、一
般的にはこの組合せは膨大な数となるために、係数を算
出する手法としては現実的ではない。そこで、各データ
変換装置の特性を基に、演繹的な方法や、各種の近似的
な方法によって係数を算出することが一般的である。
2. Description of the Related Art In a data converter defined by an appropriate number of discrete-valued coefficients, the number of possible values of each coefficient is finite if the range of possible coefficients is limited. Therefore,
If the error is evaluated for all coefficient combinations, there is at least one optimal coefficient among them. And
As described above, according to the method of searching the entire space of coefficients, it is possible to surely obtain the optimum coefficients. However, in general, the number of combinations is enormous, which is not practical as a method for calculating coefficients. Therefore, it is common to calculate coefficients by a deductive method or various approximate methods based on the characteristics of each data conversion device.

【0003】離散値の係数を含むデータ変換装置におい
て、与えられた任意の入出力対応に対して最適な係数が
演繹的に定まる場合は、その手法により係数を定めるこ
とが可能であり、従来の技術を用いても課題となること
はない。
In a data conversion device including discrete-valued coefficients, when an optimum coefficient is determined a priori for a given arbitrary input / output correspondence, it is possible to determine the coefficient by that method. There is no problem with using technology.

【0004】一方、係数が演繹的に定まる場合でも、離
散値の係数とはならない場合がある。例えば、離散値の
係数からなる行列演算によるデータ変換装置において
は、誤差が最小となる各係数は演繹的に算出できるもの
の、算出結果は離散値とはならず、これを四捨五入、切
上げ、切捨て等により離散値に丸める操作が必要とな
る。丸めにより、各係数は最適値とは異なる値となるた
めに、誤差が大きくなることが一般的である。
On the other hand, even when coefficients are determined a priori, they may not be discrete value coefficients. For example, in a data conversion device using a matrix operation composed of discrete-valued coefficients, each coefficient with the smallest error can be calculated a priori, but the calculation result is not a discrete value, and this is rounded, rounded up, rounded down, etc. Requires an operation of rounding to a discrete value. Since each coefficient has a value different from the optimum value due to the rounding, an error is generally increased.

【0005】同様に、行列演算などの手法であっても、
演算過程において有効精度が限られる場合、例えば有限
精度の固定小数点の積和演算による場合には、データ変
換装置の演算過程において、計算過程の丸めなどによっ
て更に精度が低下する。このような場合、最適な係数を
算出するために計算過程の丸めなどの特性を考慮する必
要があるが、係数と誤差の対応が非常に複雑な関係とな
るために、従来は考慮されることはなかった。従来技術
により精度を向上するためには、一般的には計算過程に
おける有効精度や、係数の刻みを細かくするなどの技術
が用いられてきた。
Similarly, even in a method such as a matrix operation,
In the case where the effective precision is limited in the operation process, for example, in the case of the finite-precision fixed-point product-sum operation, the accuracy is further reduced due to the rounding of the calculation process in the operation process of the data converter. In such a case, it is necessary to consider characteristics such as rounding in the calculation process in order to calculate the optimal coefficient, but since the correspondence between the coefficient and the error has a very complicated relationship, it must be considered in the past. There was no. In order to improve the accuracy by the conventional technique, generally, techniques such as effective accuracy in a calculation process and finer increments of coefficients have been used.

【0006】代表点テーブルおよび補間を用いるデータ
変換装置では、入力の各次元の代表点からなる格子点
に、変換後のデータを予めテーブルに記録し、補間を行
うことにより変換結果を得る。このようなデータ変換装
置においてテーブルに記録される係数は、代表点の変換
後のデータが用いられることが一般的である。一般に、
補間により補間誤差が発生するが、格子点以外の入力の
変換誤差も考慮して格子点に記録される係数を最適化す
る手法はなかった。従来技術により精度を向上するため
には、一般的には入力次元の代表点の数を増やすという
技術が用いられてきた。
In a data conversion apparatus using a representative point table and interpolation, converted data is recorded in advance in a table at grid points composed of representative points of each input dimension, and interpolation is performed to obtain a conversion result. In such a data conversion apparatus, the coefficient recorded in the table generally uses data after conversion of the representative point. In general,
Although an interpolation error occurs due to the interpolation, there is no method for optimizing the coefficients recorded at the lattice points in consideration of the conversion error of the input other than the lattice points. In order to improve the accuracy by the conventional technique, a technique of increasing the number of representative points of the input dimension has been generally used.

【0007】係数が連続値であり、誤差を各係数で偏微
分できるデータ変換装置については、微分方程式の逐次
近似による係数の決定方法が知られている。特に、ニュ
ーラルネットワークでは、バックプロパゲーション法に
代表される係数算出方法が一般的に用いられている。
As for a data conversion device in which coefficients are continuous values and an error can be partially differentiated by each coefficient, a method of determining coefficients by successive approximation of a differential equation is known. In particular, in a neural network, a coefficient calculation method represented by a back propagation method is generally used.

【0008】しかしながら、離散値の係数を含む場合に
関しては、それらの係数では誤差を偏微分することは不
可能であり、バックプロパゲーションに代表される上述
の方法を用いることができない。
However, in the case of including coefficients of discrete values, it is impossible to partially differentiate an error with those coefficients, and the above-described method represented by back propagation cannot be used.

【0009】そこで、従来は、同構成で、偏微分可能な
データ変換装置を構成できる場合については、予め、連
続値で係数を算出し、その結果を丸めることによって離
散値の係数を得る技術が用いられてきた。この場合に
は、前述の行列式と同じように、丸めによって精度が低
下するなどの課題があった。
Therefore, conventionally, in the case where a data converter capable of performing partial differentiation can be configured with the same configuration, a technique of calculating coefficients in advance by continuous values and rounding the result to obtain coefficients of discrete values has been proposed. Has been used. In this case, as in the case of the determinant described above, there is a problem that the accuracy is reduced due to rounding.

【0010】また、ハードウェアによる学習では、同様
の微分方程式を有限精度で近似したバックプロパゲーシ
ョンに類する技術が用いられてきた。この技術では、逆
伝搬する誤差が計算精度を下回った時点で学習が停止し
てしまうという課題があった。
In learning by hardware, a technique similar to back propagation in which the same differential equation is approximated with finite precision has been used. In this technique, there is a problem that the learning is stopped when the backpropagating error falls below the calculation accuracy.

【0011】さらに、有限精度の固定小数点演算による
ニューラルネットワークなどでは、固定小数点の行列式
と同様に、計算過程の丸めなどの影響があり、係数と誤
差の関係は更に複雑になるために、実際に最適な離散値
を獲得することは困難であった。従来技術により精度を
向上するためには、一般的には計算過程における有効精
度や、係数の刻みを細かくするなどの技術が用いられて
きた。有効精度や、係数の刻みを細かくする場合、デー
タ変換装置の構成が複雑になる。
Further, in a neural network or the like based on finite-precision fixed-point arithmetic, as in the case of a fixed-point determinant, there is an effect of rounding in the calculation process, and the relationship between coefficients and errors is further complicated. It was difficult to obtain the optimal discrete value for In order to improve the accuracy by the conventional technique, generally, techniques such as effective accuracy in a calculation process and finer increments of coefficients have been used. In the case where the effective precision and the step size of the coefficient are reduced, the configuration of the data conversion device becomes complicated.

【0012】また、この手法では、微分方程式を逐次近
似によって解く必要があるので、この方法に基づく装置
の構成が複雑になるという課題があった。
Also, in this method, since it is necessary to solve the differential equation by successive approximation, there is a problem that the configuration of the device based on this method becomes complicated.

【0013】ニューラルネットワークに限定すると、構
成が比較的簡単な学習方法としては、特開平4−282
476号公報(米国特許明細書第5459817号)に
あるように、係数の更新差分量を乱数により発生し、更
新前後の二者択一によって係数を更新する手法があっ
た。この手法では各シナプスごとに乱数を発生する機構
が必要となる。更に、更新量自体は制御せず、符号のみ
を乱数によって制御するために、学習の初期から、逐次
学習が進行した段階まで、更新量を制御してはいない。
そのため、学習の速度に課題が生じる上に、二者択一の
構成を適切に行わなければ極少に収束するという課題が
あった。
If the neural network is limited, a learning method having a relatively simple structure is disclosed in Japanese Patent Laid-Open No. 4-282.
As disclosed in Japanese Patent No. 476 (U.S. Pat. No. 5,459,817), there has been a method in which an update difference amount of a coefficient is generated by a random number, and the coefficient is updated by alternatives before and after the update. This method requires a mechanism that generates random numbers for each synapse. Furthermore, since the update amount itself is not controlled but only the code is controlled by random numbers, the update amount is not controlled from the beginning of learning to the stage at which successive learning has progressed.
Therefore, there is a problem in that the learning speed has a problem, and if the alternative configuration is not properly performed, the convergence becomes extremely small.

【0014】[0014]

【発明が解決しようとする課題】以上述べた方法のう
ち、係数の全空間を検索する手法を除いては、各データ
変換装置の構成に基づいて係数を算出する方法が異な
り、これらの方法に基づく装置を構成した場合には、装
置の構成が複雑になるという課題があった。また、前述
したように、係数の全空間を検索する手法に基づく装置
は、構成は簡単なものの、膨大な空間を検索するので、
現実的ではなかった。
Among the methods described above, except for the method of searching the entire space of coefficients, the method of calculating coefficients based on the configuration of each data conversion device is different. When a device based on this is configured, there is a problem that the configuration of the device is complicated. In addition, as described above, an apparatus based on a method of searching the entire space of coefficients has a simple configuration, but searches an enormous space.
It was not realistic.

【0015】データ変換装置の精度を向上する目的で
は、装置や方法の構成を変更する必要があった。
In order to improve the accuracy of the data conversion device, it is necessary to change the configuration of the device and the method.

【0016】また、微係数に基づいて係数を更新する場
合については、微分方程式を構成することが必須要件で
あり、桁落ちなどの微分不可能な対応については微分方
程式が構成できず、係数を決定できなかった。
In addition, when updating coefficients based on differential coefficients, it is essential to construct a differential equation. For non-differentiable countermeasures such as cancellation of digits, a differential equation cannot be constructed. I could not decide.

【0017】そこで、本発明は、係数自体や計算過程の
丸めなどの影響等も考慮した上で、各データ変換装置の
構成によらず、かつ、係数の全空間を検索する手法より
短時間に誤差が少ない係数を算出することを課題とす
る。
Therefore, the present invention takes into account the effects of the coefficients themselves and the rounding of the calculation process, etc., and does not depend on the configuration of each data conversion device, but in a shorter time than the method of searching the entire space of the coefficients. It is an object to calculate a coefficient having a small error.

【0018】[0018]

【課題を解決するための手段】本発明は、誤差の計算
と、誤差に依存した確率的な係数の選択に基づいた操作
の繰り返しによって誤差を低減することにより、誤差の
小さい係数を算出することを特徴とする。
SUMMARY OF THE INVENTION According to the present invention, a coefficient having a small error is calculated by reducing the error by repeating the operation based on the calculation of the error and the selection of a stochastic coefficient depending on the error. It is characterized by.

【0019】すなわち、本発明によれば、上述の目的を
達成するために、離散的な値を取る少なくとも1つの係
数を含むk個の係数に応じてm次元の入力データをn次
元の出力データに変換するデータ変換装置において係数
を最適化する係数決定装置に、上記離散的な値を取る係
数の各々について、現在の係数値、上記現在の係数値よ
り所定のステップs1だけ大きな係数値、および上記現
在の係数値より所定のステップs2だけ小さい係数値の
うち少なくとも2つの係数値について所定の入力データ
群に対する出力データ群を算出する手段と、上記少なく
とも2つの係数値について算出した出力データ群と上記
所定の入力データ群に対応する理想出力データ群との誤
差が小さいほど高くなる確率で、上記少なくとも2つの
係数値のいずれか1つを新たな係数値として選択する係
数値選択手段とを設けるようにしている。
That is, according to the present invention, in order to achieve the above object, m-dimensional input data is converted to n-dimensional output data in accordance with k coefficients including at least one coefficient having a discrete value. A coefficient determining device that optimizes a coefficient in a data conversion device that converts the current coefficient value into a coefficient value larger than the current coefficient value by a predetermined step s1 for each of the coefficients having the discrete values; Means for calculating an output data group for a predetermined input data group for at least two coefficient values among coefficient values smaller than the current coefficient value by a predetermined step s2; and an output data group calculated for the at least two coefficient values. One of the at least two coefficient values has a probability that the smaller the error from the ideal output data group corresponding to the predetermined input data group becomes, the higher the error becomes. One of so that provided the coefficient value selecting means for selecting as a new coefficient value.

【0020】この構成においては、候補係数値について
誤差を算出し、この誤差が小さい候補係数値ほど高い確
率で新たな係数値とするようにしている。したがって係
数値の更新の繰り返しにより、係数値の最適化を行うこ
とができる。
In this configuration, an error is calculated for a candidate coefficient value, and a candidate coefficient value having a smaller error is set as a new coefficient value with a higher probability. Therefore, the coefficient value can be optimized by repeating the updating of the coefficient value.

【0021】また、この構成においては、上記係数値選
択手段が、上記少なくとも2つの係数値におけるそれぞ
れの誤差に、所定の分布に従う乱数をそれぞれ加え、そ
の和の最小値を与える係数値を選択する手段を有するよ
うにすることができる。
In this configuration, the coefficient value selecting means adds a random number according to a predetermined distribution to each error in the at least two coefficient values, and selects a coefficient value giving a minimum value of the sum. Means may be provided.

【0022】また、上記誤差ないしは微係数の大きさに
対する上記確率の漸減の程度、もしくは、上記所定のス
テップs1とs2を、もしくはその双方を、誤差の履歴
に応じて制御する手段とを設けるようにしてもよい。
Further, there is provided means for controlling the degree of the gradual decrease of the probability with respect to the magnitude of the error or differential coefficient, or the predetermined steps s1 and s2, or both, in accordance with the error history. It may be.

【0023】また、上記誤差の大きさに対する上記確率
の漸減の程度を誤差の履歴に応じて制御する手段は、乱
数についての上記所定の分布を制御する手段によるよう
にしてもよい。
Further, the means for controlling the degree of the gradual decrease of the probability with respect to the magnitude of the error according to the history of the error may be realized by means for controlling the predetermined distribution of random numbers.

【0024】また、上記離散的な値を取る少なくとも1
つの係数は、m次元の入力データに対応するm次元の代
表点のテーブルの各代表点ごとに、それぞれn個の出力
に相当する離散値を予め記録し、出力に相当する値を補
間することによってn次元の出力を得るデータ変換装置
の上記代表点の出力に相当する値であって、適宜の入力
値群について誤差及び理想出力値群を規定することによ
り係数を更新する手段を有するようにすることができ
る。
Also, at least one of the above discrete values is taken.
For the two coefficients, discrete values corresponding to n outputs are recorded in advance for each representative point in the table of m-dimensional representative points corresponding to m-dimensional input data, and values corresponding to outputs are interpolated. Means for updating the coefficient by defining an error and an ideal output value group for an appropriate input value group, the value being a value corresponding to the output of the representative point of the data conversion device that obtains an n-dimensional output. can do.

【0025】また、本発明によれば、上述の目的を達成
するために、データ変換装置に、離散的な値を取る少な
くとも1つの係数を含むk個の係数に応じてm次元の入
力データをn次元の出力データに変換するデータ変換手
段と、上記離散的な値を取る係数の各々について、現在
の係数値、上記現在の係数値より所定のステップs1だ
け大きな係数値、および上記現在の係数値より所定のス
テップs2だけ小さい係数値のうち少なくとも2つの係
数値について所定の入力データ群に対する出力データ群
を算出する手段と、上記少なくとも2つの係数値につい
て算出した出力データ群と上記所定の入力データ群に対
応する理想出力データ群との誤差が小さいほど高くなる
確率で、上記少なくとも2つの係数値のいずれか1つを
新たな係数値として選択する係数値選択手段とを設けて
いる。
According to the present invention, in order to achieve the above-mentioned object, the data conversion device outputs m-dimensional input data according to k coefficients including at least one coefficient taking a discrete value. a data conversion means for converting the data into n-dimensional output data; a current coefficient value; a coefficient value larger than the current coefficient value by a predetermined step s1 for each of the coefficients having the discrete values; Means for calculating an output data group for a predetermined input data group for at least two coefficient values among coefficient values smaller than a numerical value by a predetermined step s2; an output data group calculated for the at least two coefficient values; One of the at least two coefficient values is set as a new coefficient value with a probability that the smaller the error from the ideal output data group corresponding to the data group becomes, the higher the error becomes. It is provided with coefficient value selecting means for selecting.

【0026】この構成においても、候補係数値について
誤差を算出し、この誤差が小さい候補係数値ほど高い確
率で新たな係数値とするようにしている。したがって係
数値の更新の繰り返しにより、係数値の最適化を行うこ
とができる。
Also in this configuration, an error is calculated for a candidate coefficient value, and a candidate coefficient value with a smaller error has a higher probability as a new coefficient value with a higher probability. Therefore, the coefficient value can be optimized by repeating the updating of the coefficient value.

【0027】また、本発明によれば、上述の目的を達成
するために、色変換装置に、離散的な値を取る少なくと
も1つの係数を含むk個の係数に応じてm次元の第1の
色データをn次元の第2の色データに変換する色変換手
段と、上記離散的な値を取る係数の各々について、現在
の係数値、上記現在の係数値より所定のステップs1だ
け大きな係数値、および上記現在の係数値より所定のス
テップs2だけ小さい係数値のうち少なくとも2つの係
数値について所定の第1の色データ群に対する第2の色
データ群を算出する手段と、上記少なくとも2つの係数
値について算出した第2の色データ群と上記所定の第1
の色データ群に対応する理想の第2の色データ群との誤
差が小さいほど高くなる確率で、上記少なくとも2つの
係数値のいずれか1つを新たな係数値として選択する係
数値選択手段とを設けている。
According to the present invention, in order to achieve the above-mentioned object, the color conversion apparatus has a first m-dimensional coefficient in accordance with k coefficients including at least one coefficient having a discrete value. Color conversion means for converting the color data into n-dimensional second color data, and a current coefficient value and a coefficient value larger than the current coefficient value by a predetermined step s1 for each of the coefficients having discrete values. Means for calculating a second color data group with respect to a predetermined first color data group for at least two coefficient values among coefficient values smaller than the current coefficient value by a predetermined step s2; The second color data group calculated for the numerical value and the predetermined first
Coefficient value selecting means for selecting any one of the at least two coefficient values as a new coefficient value with a probability that the smaller the error from the ideal second color data group corresponding to the color data group, the higher the error. Is provided.

【0028】この構成においても、候補係数値について
誤差を算出し、この誤差が小さい候補係数値ほど高い確
率で新たな係数値とするようにしている。したがって係
数値の更新の繰り返しにより、係数値の最適化を行うこ
とができる。
Also in this configuration, an error is calculated for a candidate coefficient value, and a candidate coefficient value having a smaller error has a higher probability as a new coefficient value. Therefore, the coefficient value can be optimized by repeating the updating of the coefficient value.

【0029】また、この構成においては、上記誤差を色
差とすることができる。
Further, in this configuration, the above error can be regarded as a color difference.

【0030】また、本発明によれば、上述の目的を達成
するために、カラー画像形成装置(例えばカラー複写機
やカラー印刷機)に、m次元の第1の色データを受け取
る手段と、離散的な値を取る少なくとも1つの係数を含
むk個の係数に応じて上記m次元の第1の色データをn
次元の第2の色データに変換する色変換手段と、上記色
変換手段から出力された上記第2の色データに基づいて
所定の出力動作を行う出力手段と、上記離散的な値を取
る係数の各々について、現在の係数値、上記現在の係数
値より所定のステップs1だけ大きな係数値、および上
記現在の係数値より所定のステップs2だけ小さい係数
値のうち少なくとも2つの係数値について所定の第1の
色データ群に対する第2の色データ群を算出する手段
と、上記少なくとも2つの係数値について算出した第2
の色データ群と上記所定の第1の色データ群に対応する
理想の第2の色データ群との誤差が小さいほど高くなる
確率で、上記少なくとも2つの係数値のいずれか1つを
新たな係数値として選択する係数値選択手段とを設ける
ようにしている。
According to the present invention, in order to achieve the above-mentioned object, a color image forming apparatus (for example, a color copying machine or a color printing machine) is provided with means for receiving m-dimensional first color data, The m-dimensional first color data is represented by n according to k coefficients including at least one coefficient having a typical value.
Color conversion means for converting to two-dimensional second color data, output means for performing a predetermined output operation based on the second color data output from the color conversion means, and a coefficient for taking the discrete value For each of at least two of a current coefficient value, a coefficient value larger than the current coefficient value by a predetermined step s1, and a coefficient value smaller than the current coefficient value by a predetermined step s2. Means for calculating a second color data group for one color data group, and a second color data group calculated for the at least two coefficient values.
Any one of the at least two coefficient values is set to a new probability with a probability that the smaller the error between the color data group and the ideal second color data group corresponding to the predetermined first color data group becomes, the higher the error becomes. A coefficient value selecting means for selecting a coefficient value is provided.

【0031】この構成においても、候補係数値について
誤差を算出し、この誤差が小さい候補係数値ほど高い確
率で新たな係数値とするようにしている。したがって係
数値の更新の繰り返しにより、係数値の最適化を行うこ
とができる。
Also in this configuration, an error is calculated for a candidate coefficient value, and a candidate coefficient value having a smaller error is set as a new coefficient value with a higher probability. Therefore, the coefficient value can be optimized by repeating the updating of the coefficient value.

【0032】また、この構成においては、上記出力手段
は上記第2の色データを後続の色変換手段を介して受け
取るようにしてもよい。
In this configuration, the output means may receive the second color data via a subsequent color conversion means.

【0033】また、本発明によれば、上述の目的を達成
するために、電子機器に、m次元の入力データを受け取
る手段と、離散的な値を取る少なくとも1つの係数を含
むk個の係数に応じて上記m次元の入力データをn次元
の出力データに変換するデータ変換手段と、上記データ
変換手段から出力されたn次元の出力データに基づいて
所定の出力動作を行う出力手段と、上記離散的な値を取
る係数の各々について、現在の係数値、上記現在の係数
値より所定のステップs1だけ大きな係数値、および上
記現在の係数値より所定のステップs2だけ小さい係数
値のうち少なくとも2つの係数値について所定の入力デ
ータ群に対する出力データ群を算出する手段と、上記少
なくとも2つの係数値について算出した出力データ群と
上記所定の入力データ群に対応する理想出力データ群と
の誤差が小さいほど高くなる確率で、上記少なくとも2
つの係数値のいずれか1つを新たな係数値として選択す
る係数値選択手段とを設けるようにしている。
According to the present invention, in order to achieve the above-described object, the electronic device includes means for receiving m-dimensional input data, and k coefficients including at least one coefficient taking a discrete value. Data conversion means for converting the m-dimensional input data into n-dimensional output data in accordance with the following; output means for performing a predetermined output operation based on the n-dimensional output data output from the data conversion means; For each of the coefficients taking discrete values, at least two of a current coefficient value, a coefficient value larger than the current coefficient value by a predetermined step s1, and a coefficient value smaller than the current coefficient value by a predetermined step s2. Means for calculating an output data group for a predetermined input data group with respect to one coefficient value; and an output data group calculated for the at least two coefficient values and the predetermined input data group. At a probability becomes higher as the error between the ideal output data group corresponding to the data group is small, the at least 2
Coefficient value selecting means for selecting any one of the two coefficient values as a new coefficient value.

【0034】この構成においても、候補係数値について
誤差を算出し、この誤差が小さい候補係数値ほど高い確
率で新たな係数値とするようにしている。したがって係
数値の更新の繰り返しにより、係数値の最適化を行うこ
とができる。
Also in this configuration, an error is calculated for the candidate coefficient value, and the smaller the error is, the higher the probability that a new coefficient value is obtained with a higher probability. Therefore, the coefficient value can be optimized by repeating the updating of the coefficient value.

【0035】また、本発明によれば、離散的な値を取る
少なくとも1つの係数を含むk個の係数に応じてm次元
の入力データをn次元の出力データに変換するデータ変
換装置において係数を最適化する係数決定装置に、上記
離散的な値を取る係数の各々について、現在の係数値を
含む適宜の区間中のp種類の係数値について出力データ
群を算出する手段と、上記p種類の係数値について算出
した出力データ群と上記所定の入力データ群に対応する
理想出力データ群との誤差を算出し、p種類の誤差を得
る算出手段と、上記p種類の誤差から、上記現在の係数
値において微分可能な、係数値から誤差への所定の関数
を想定し、現在の係数値における微係数を算出する微係
数算出手段と、上記微係数に基づいて、確率的ないしは
確定的に係数を更新する係数値更新手段とを設けるよう
にしている。
Further, according to the present invention, a coefficient is converted in a data conversion device for converting m-dimensional input data into n-dimensional output data in accordance with k coefficients including at least one coefficient having a discrete value. A coefficient determining device for optimizing, for each of the coefficients taking the discrete values, means for calculating an output data group for p kinds of coefficient values in an appropriate section including the current coefficient value; Calculating means for calculating an error between the output data group calculated for the coefficient value and the ideal output data group corresponding to the predetermined input data group to obtain p kinds of errors; Assuming a predetermined function from a coefficient value to an error that can be differentiated in a numerical value, a differential coefficient calculating means for calculating a differential coefficient at the current coefficient value, and a coefficient determined stochastically or deterministically based on the differential coefficient. Change And it is provided with a coefficient value updating means for.

【0036】ここで、現在の係数値を含む適宜の区間か
らp種類の係数を得るのに代えて、現在の係数値にp種
類の所定の関数を施すことによりp種類の係数値を算出
することができる。この関数は、任意の関数をとること
ができるが、とくに、適宜の離散値を現在の係数値に加
えて関数値とすることも可能であり、また、適宜の値
を、現在の係数値に乗じて、その結果の積を離散値に丸
めた値を関数値とすることもできる。上記pの個数およ
び、上記所定のp種類の関数を、誤差の履歴に応じて制
御する手段をさらに設けてもよい。また、上記所定の関
数は、適宜の離散値を、現在の係数値に加えて関数値と
するものでもよい。また、上記所定の関数は、適宜の値
を、現在の係数値に乗じて、もしくは、現在の係数値を
適宜の値で除して、その結果の積または商を離散値に丸
めた値を関数値とするものでもよい。
Here, instead of obtaining p kinds of coefficients from an appropriate section including the current coefficient values, p kinds of predetermined functions are applied to the current coefficient values to calculate p kinds of coefficient values. be able to. This function can take an arbitrary function. In particular, it is also possible to add an appropriate discrete value to the current coefficient value to obtain a function value, and to set an appropriate value to the current coefficient value. The value obtained by multiplying the result and rounding the resulting product to a discrete value can be used as a function value. Means for controlling the number of p and the predetermined p kinds of functions according to the error history may be further provided. Further, the predetermined function may be a function value in which an appropriate discrete value is added to the current coefficient value. In addition, the predetermined function is obtained by multiplying an appropriate value by a current coefficient value or dividing the current coefficient value by an appropriate value, and rounding a product or quotient of the result to a discrete value. It may be a function value.

【0037】この構成においては、候補係数値について
誤差を算出し、この誤差に基づいて誤差の関数を想定
し、この関数に基づいて現在の係数値における誤差の関
数の微係数を求めるようにしている。そしてこの微係数
に基づいて新たな係数値を求めている。係数値の更新の
繰り返しにより、係数値の最適化を行うことができる。
In this configuration, an error is calculated for the candidate coefficient value, an error function is assumed based on the error, and a differential coefficient of the error function at the current coefficient value is obtained based on the function. I have. Then, a new coefficient value is obtained based on this differential coefficient. Optimization of the coefficient value can be performed by repeating the updating of the coefficient value.

【0038】また、この構成において、現在の係数値、
現在の係数値に所定のステップs1を加えた係数値、及
び、現在の係数値から所定のステップs2を減じた係数
値のうち少なくとも1つが上記p種類の係数に含まれる
ようにすることができる。
In this configuration, the current coefficient value,
At least one of the coefficient value obtained by adding the predetermined step s1 to the current coefficient value and the coefficient value obtained by subtracting the predetermined step s2 from the current coefficient value can be included in the p types of coefficients. .

【0039】また、上記微係数の大きさに対する上記確
率の漸減の程度および上記所定のステップs1とs2の
一方または双方を、誤差の履歴に応じて制御する手段を
設けるようにしてもよい。
Further, means may be provided for controlling the degree of the gradual decrease of the probability with respect to the magnitude of the differential coefficient and one or both of the predetermined steps s1 and s2 according to the error history.

【0040】また、上記離散的な値を取る少なくとも1
つの係数は、m次元の入力データに対応するm次元の代
表点のテーブルの各代表点ごとに、それぞれn個の出力
に相当する離散値を予め記録し、出力に相当する値を補
間することによってn次元の出力を得るデータ変換装置
の上記代表点の出力に相当する値であって、適宜の入力
値群について誤差及び理想出力値群を規定することによ
り係数を更新する手段を設けるようにしてもよい。
At least one of the discrete values
For the two coefficients, discrete values corresponding to n outputs are recorded in advance for each representative point in the table of m-dimensional representative points corresponding to m-dimensional input data, and values corresponding to outputs are interpolated. Means for updating a coefficient by defining an error and an ideal output value group for an appropriate input value group, the value being a value corresponding to the output of the representative point of the data conversion device which obtains an n-dimensional output. You may.

【0041】また、本発明によれば、上述の目的を達成
するために、データ変換装置に、離散的な値を取る少な
くとも1つの係数を含むk個の係数に応じてm次元の入
力データをn次元の出力データに変換するデータ変換手
段と、上記離散的な値を取る係数の各々について、現在
の係数値を含む適宜の区間中のp種類の係数値について
出力データ群を算出する手段と、上記p種類の係数値に
ついて算出した出力データ群と上記所定の入力データ群
に対応する理想出力データ群との誤差を算出し、p種類
の誤差を得る算出手段と、上記p種類の誤差から、上記
現在の係数値において微分可能な適宜の計数値から誤差
への関数を想定し、現在の係数値における微係数を算出
する微係数算出手段と、上記微係数に基づいて、確率的
ないしは確定的に係数を更新する係数値更新手段とを設
けるようにしている。
According to the present invention, in order to achieve the above-described object, the data conversion device transmits m-dimensional input data to the data conversion device in accordance with k coefficients including at least one coefficient having a discrete value. data conversion means for converting the data into n-dimensional output data, and means for calculating an output data group for p kinds of coefficient values in an appropriate section including a current coefficient value for each of the coefficients having discrete values. Calculating means for calculating an error between the output data group calculated for the p kinds of coefficient values and the ideal output data group corresponding to the predetermined input data group, and obtaining p kinds of errors; A differential coefficient calculating means for calculating a differential coefficient in the current coefficient value by assuming a function from an appropriate count value that can be differentiated in the current coefficient value to an error; and a stochastic or fixed method based on the differential coefficient. Typically And it is provided with a coefficient value updating means for updating the number.

【0042】この構成においても、候補係数値について
誤差を算出し、この誤差に基づいて誤差の関数を想定
し、この関数に基づいて現在の係数値における誤差の関
数の微係数を求めるようにしている。そしてこの微係数
に基づいて新たな係数値を求めている。係数値の更新の
繰り返しにより、係数値の最適化を行うことができる。
Also in this configuration, an error is calculated for the candidate coefficient value, an error function is assumed based on the error, and a differential coefficient of the error function at the current coefficient value is obtained based on the function. I have. Then, a new coefficient value is obtained based on this differential coefficient. Optimization of the coefficient value can be performed by repeating the updating of the coefficient value.

【0043】また、本発明によれば、上述の目的を達成
するために、色変換装置に、離散的な値を取る少なくと
も1つの係数を含むk個の係数に応じてm次元の第1の
色データをn次元の第2の色データに変換する色変換手
段と、上記離散的な値を取る係数の各々について、現在
の係数値を含む適宜の区間中のp種類の係数値について
第2の色データ群を算出する手段と、上記p種類の係数
値について算出した第2の色データ群と上記所定の第1
の色データ群に対応する理想の第2の色データ群との誤
差を算出し、p種類の誤差を得る算出手段と、上記p種
類の誤差から、上記現在の係数値において微分可能な、
係数値から誤差への所定の関数を想定し、現在の係数値
における微係数を算出する微係数算出手段と、上記微係
数に基づいて、確率的ないしは確定的に係数を更新する
係数値更新手段とを設けるようにしている。
According to the present invention, in order to achieve the above-mentioned object, the color conversion apparatus includes a first m-dimensional coefficient corresponding to k coefficients including at least one coefficient having a discrete value. Color conversion means for converting the color data into n-dimensional second color data; and for each of the coefficients taking discrete values, a second conversion is performed for p kinds of coefficient values in an appropriate section including the current coefficient value. Means for calculating the color data group of the first, second color data groups calculated for the p kinds of coefficient values and the predetermined first
A calculating means for calculating an error from an ideal second color data group corresponding to the color data group of the above, and obtaining p kinds of errors; and
Differential coefficient calculating means for calculating a differential coefficient at the current coefficient value, assuming a predetermined function from the coefficient value to the error, and a coefficient value updating means for stochastically or deterministically updating the coefficient based on the differential coefficient Are provided.

【0044】この構成においても、候補係数値について
誤差を算出し、この誤差に基づいて誤差の関数を想定
し、この関数に基づいて現在の係数値における誤差の関
数の微係数を求めるようにしている。そしてこの微係数
に基づいて新たな係数値を求めている。係数値の更新の
繰り返しにより、係数値の最適化を行うことができる。
Also in this configuration, an error is calculated for the candidate coefficient value, an error function is assumed based on the error, and a differential coefficient of the error function at the current coefficient value is obtained based on the function. I have. Then, a new coefficient value is obtained based on this differential coefficient. Optimization of the coefficient value can be performed by repeating the updating of the coefficient value.

【0045】また、この構成において、上記誤差を色差
とすることができる。
Further, in this configuration, the above error can be a color difference.

【0046】また、本発明によれば、上述の目的を達成
するために、カラー画像形成装置(たとえばカラー複写
機やカラー印刷機)に、m次元の第1の色データを受け
取る手段と、離散的な値を取る少なくとも1つの係数を
含むk個の係数に応じて上記m次元の第1の色データを
n次元の第2の色データに変換する色変換手段と、上記
色変換手段から出力された上記第2の色データに基づい
て所定の出力動作を行う出力手段と、上記離散的な値を
取る係数の各々について、現在の係数値を含む適宜の区
間中のp種類の係数値について第2の色データ群を算出
する手段と、上記p種類の係数値について算出した第2
の色データ群と上記所定の第1の色データ群に対応する
理想の第2の色データ群との誤差を算出し、p種類の誤
差を得る算出手段と、上記p種類の誤差から、上記現在
の係数値において微分可能な、係数値から誤差への所定
の関数を想定し、現在の係数値における微係数を算出す
る微係数算出手段と、上記微係数に基づいて、確率的な
いしは確定的に係数を更新する係数値更新手段とを設け
るようにしている。
According to the present invention, in order to achieve the above object, a means for receiving m-dimensional first color data is provided to a color image forming apparatus (for example, a color copying machine or a color printing machine). Color conversion means for converting the m-dimensional first color data into n-dimensional second color data in accordance with k coefficients including at least one coefficient having a typical value, and an output from the color conversion means. Output means for performing a predetermined output operation on the basis of the obtained second color data, and for each of the coefficients having discrete values, for p kinds of coefficient values in an appropriate section including the current coefficient value Means for calculating a second color data group, and a second color data group
Calculating means for calculating an error between the color data group of the first color data group and the ideal second color data group corresponding to the predetermined first color data group to obtain p kinds of errors; A differential coefficient calculating means for calculating a differential coefficient at the current coefficient value, assuming a predetermined function from the coefficient value to an error that is differentiable at the current coefficient value, and a stochastic or deterministic method based on the differential coefficient. And a coefficient value updating means for updating the coefficient.

【0047】この構成においても、候補係数値について
誤差を算出し、この誤差に基づいて誤差の関数を想定
し、この関数に基づいて現在の係数値における誤差の関
数の微係数を求めるようにしている。そしてこの微係数
に基づいて新たな係数値を求めている。係数値の更新の
繰り返しにより、係数値の最適化を行うことができる。
Also in this configuration, an error is calculated for the candidate coefficient value, an error function is assumed based on the error, and the differential coefficient of the error function at the current coefficient value is obtained based on the function. I have. Then, a new coefficient value is obtained based on this differential coefficient. Optimization of the coefficient value can be performed by repeating the updating of the coefficient value.

【0048】また、この構成においては、上記出力手段
は上記第2の色データを後続の色変換手段を介して受け
取るようにしてもよい。
In this configuration, the output means may receive the second color data via the subsequent color conversion means.

【0049】また、本発明によれば、上述の目的を達成
するために、電子機器に、m次元の入力データを受け取
る手段と、離散的な値を取る少なくとも1つの係数を含
むk個の係数に応じて上記m次元の入力データをn次元
の出力データに変換するデータ変換手段と、上記データ
変換手段から出力されたn次元の出力データに基づいて
所定の出力動作を行う出力手段と、上記離散的な値を取
る係数の各々について、現在の係数値を含む適宜の区間
中のp種類の係数値について出力データ群を算出する手
段と、上記p種類の係数値について算出した出力データ
群と上記所定の入力データ群に対応する理想出力データ
群との誤差を算出し、p種類の誤差を得る算出手段と、
上記p種類の誤差から、上記現在の係数値において微分
可能な、係数値から誤差への所定の関数を想定し、現在
の係数値における微係数を算出する微係数算出手段と、
上記微係数に基づいて、確率的ないしは確定的に係数を
更新する係数値更新手段とを設けるようにしている。
According to the present invention, in order to achieve the above-mentioned object, the electronic device includes means for receiving m-dimensional input data, and k coefficients including at least one coefficient taking discrete values. Data conversion means for converting the m-dimensional input data into n-dimensional output data in accordance with the following; output means for performing a predetermined output operation based on the n-dimensional output data output from the data conversion means; Means for calculating an output data group for p kinds of coefficient values in an appropriate section including a current coefficient value for each of coefficients having discrete values, and an output data group calculated for the p kinds of coefficient values. Calculating means for calculating an error from an ideal output data group corresponding to the predetermined input data group to obtain p kinds of errors;
Differential coefficient calculating means for calculating a differential coefficient in the current coefficient value, assuming a predetermined function from the coefficient value to the error, which is differentiable in the current coefficient value from the p kinds of errors,
A coefficient value updating means for stochastically or deterministically updating the coefficient based on the differential coefficient is provided.

【0050】この構成においても、候補係数値について
誤差を算出し、この誤差に基づいて誤差の関数を想定
し、この関数に基づいて現在の係数値における誤差の関
数の微係数を求めるようにしている。そしてこの微係数
に基づいて新たな係数値を求めている。係数値の更新の
繰り返しにより、係数値の最適化を行うことができる。
Also in this configuration, an error is calculated for the candidate coefficient value, an error function is assumed based on the error, and a differential coefficient of the error function at the current coefficient value is obtained based on the function. I have. Then, a new coefficient value is obtained based on this differential coefficient. Optimization of the coefficient value can be performed by repeating the updating of the coefficient value.

【0051】また、本発明によれば、上述の目的を達成
するために、離散的な結合係数、あるいは、離散的な閾
値、あるいはその双方を少なくとも1つ含むk個の係数
をもつニューラルネットワークにおいて係数値の最適化
を行う係数決定装置に、上記離散的な値を取る係数の各
々について、現在の係数値、上記現在の係数値より所定
のステップs1だけ大きな係数値、および上記現在の係
数値より所定のステップs2だけ小さい係数値のうち少
なくとも2つの係数値について所定の入力データ群に対
する出力データ群を算出する手段と、上記少なくとも2
つの係数値について算出した出力データ群と上記所定の
入力データ群に対応する理想出力データ群との誤差が小
さいほど高くなる確率で、上記少なくとも2つの係数値
のいずれか1つを新たな係数値として選択する係数値選
択手段とを設けるようにしている。
According to the present invention, in order to achieve the above object, a neural network having k coefficients including at least one of discrete coupling coefficients or discrete thresholds, or both. The coefficient determining apparatus for optimizing the coefficient value includes, for each of the coefficients having the discrete values, a current coefficient value, a coefficient value larger than the current coefficient value by a predetermined step s1, and the current coefficient value. Means for calculating an output data group for a predetermined input data group for at least two coefficient values among coefficient values smaller by a predetermined step s2;
One of the at least two coefficient values is set to a new coefficient value with a probability that the smaller the error between the output data group calculated for one coefficient value and the ideal output data group corresponding to the predetermined input data group becomes, the higher the error becomes. And a coefficient value selecting means for selecting a value.

【0052】この構成においても、候補係数値について
誤差を算出し、この誤差が小さい候補係数値ほど高い確
率で新たな係数値とするようにしている。したがって係
数値の更新の繰り返しにより、係数値の最適化を行うこ
とができる。
Also in this configuration, an error is calculated for a candidate coefficient value, and the smaller the error is, the higher the probability of obtaining a new coefficient value with a higher probability. Therefore, the coefficient value can be optimized by repeating the updating of the coefficient value.

【0053】また、本発明によれば、上述の目的を達成
するために、データ変換装置に、離散的な結合係数、あ
るいは、離散的な閾値、あるいはその双方を少なくとも
1つ含むk個の係数をもつニューラルネットワークと、
上記離散的な値を取る係数の各々について、現在の係数
値、上記現在の係数値より所定のステップs1だけ大き
な係数値、および上記現在の係数値より所定のステップ
s2だけ小さい係数値のうち少なくとも2つの係数値に
ついて所定の入力データ群に対する出力データ群を算出
する手段と、上記少なくとも2つの係数値について算出
した出力データ群と上記所定の入力データ群に対応する
理想出力データ群との誤差が小さいほど高くなる確率
で、上記少なくとも2つの係数値のいずれか1つを新た
な係数値として選択する係数値選択手段とを設けるよう
にしている。
Further, according to the present invention, in order to achieve the above object, the data conversion apparatus includes k discrete coefficients, discrete thresholds, or k coefficients including at least one of both. A neural network with
For each of the coefficients taking the discrete values, at least one of a current coefficient value, a coefficient value larger than the current coefficient value by a predetermined step s1, and a coefficient value smaller than the current coefficient value by a predetermined step s2. Means for calculating an output data group for a predetermined input data group for two coefficient values, and an error between the output data group calculated for the at least two coefficient values and an ideal output data group corresponding to the predetermined input data group There is provided a coefficient value selecting means for selecting any one of the at least two coefficient values as a new coefficient value with a probability that the smaller the value, the higher the probability.

【0054】この構成においても、候補係数値について
誤差を算出し、この誤差が小さい候補係数値ほど高い確
率で新たな係数値とするようにしている。したがって係
数値の更新の繰り返しにより、係数値の最適化を行うこ
とができる。
Also in this configuration, an error is calculated for a candidate coefficient value, and a candidate coefficient value having a smaller error has a higher probability as a new coefficient value with a higher probability. Therefore, the coefficient value can be optimized by repeating the updating of the coefficient value.

【0055】また、本発明によれば、上述の目的を達成
するために、離散的な結合係数、あるいは、離散的な閾
値、あるいはその双方を少なくとも1つ含むk個の係数
をもつニューラルネットワークにおいて係数値を最適化
する係数決定装置に、上記離散的な値を取る係数の各々
について、現在の係数値を含む適宜の区間中のp種類の
係数値について出力データ群を算出する手段と、上記p
種類の係数値について算出した出力データ群と上記所定
の入力データ群に対応する理想出力データ群との誤差を
算出し、p種類の誤差を得る算出手段と、上記p種類の
誤差から、上記現在の係数値において微分可能な、係数
値から誤差への所定の関数を想定し、現在の係数値にお
ける微係数を算出する微係数算出手段と、上記微係数に
基づいて、確率的ないしは確定的に係数を更新する係数
値更新手段とを設けるようにしている。
According to the present invention, in order to achieve the above object, a neural network having k coefficients including at least one of discrete coupling coefficients or discrete thresholds, or both. A coefficient determining device for optimizing a coefficient value, for each of the coefficients having the discrete values, means for calculating an output data group for p kinds of coefficient values in an appropriate section including the current coefficient value; p
Calculating means for calculating an error between the output data group calculated for the coefficient values of the types and the ideal output data group corresponding to the predetermined input data group to obtain p types of errors; Assuming a predetermined function from the coefficient value to an error that is differentiable in the coefficient value of the coefficient value, a differential coefficient calculating unit that calculates a differential coefficient at the current coefficient value, and based on the differential coefficient, stochastically or deterministically A coefficient value updating means for updating the coefficient is provided.

【0056】この構成においても、候補係数値について
誤差を算出し、この誤差に基づいて誤差の関数を想定
し、この関数に基づいて現在の係数値における誤差の関
数の微係数を求めるようにしている。そしてこの微係数
に基づいて新たな係数値を求めている。係数値の更新の
繰り返しにより、係数値の最適化を行うことができる。
Also in this configuration, an error is calculated for the candidate coefficient value, an error function is assumed based on the error, and the differential coefficient of the error function at the current coefficient value is obtained based on the function. I have. Then, a new coefficient value is obtained based on this differential coefficient. Optimization of the coefficient value can be performed by repeating the updating of the coefficient value.

【0057】また、本発明によれば、上述の目的を達成
するために、データ変換装置に、離散的な結合係数、あ
るいは、離散的な閾値、あるいはその双方を少なくとも
1つ含むk個の係数をもつニューラルネットワークと、
上記離散的な値を取る係数の各々について、現在の係数
値を含む適宜の区間中のp種類の係数値について出力デ
ータ群を算出する手段と、上記p種類の係数値について
算出した出力データ群と上記所定の入力データ群に対応
する理想出力データ群との誤差を算出し、p種類の誤差
を得る算出手段と、上記p種類の誤差から、上記現在の
係数値において微分可能な、係数値から誤差への所定の
関数を想定し、現在の係数値における微係数を算出する
微係数算出手段と、上記微係数に基づいて、確率的ない
しは確定的に係数を更新する係数値更新手段とを設ける
ようにしている。
Further, according to the present invention, in order to achieve the above object, the data conversion device includes k coefficients including at least one of a discrete combination coefficient and / or a discrete threshold value. A neural network with
Means for calculating an output data group for p kinds of coefficient values in an appropriate section including a current coefficient value for each of the coefficients having discrete values, and an output data group calculated for the p kinds of coefficient values Calculating means for calculating an error between the ideal output data group corresponding to the predetermined input data group and obtaining p kinds of errors; and a coefficient value differentiable in the current coefficient value from the p kinds of errors. From a predetermined function to an error, a differential coefficient calculating means for calculating a differential coefficient at the current coefficient value, and a coefficient value updating means for stochastically or deterministically updating the coefficient based on the differential coefficient. It is provided.

【0058】この構成においても、候補係数値について
誤差を算出し、この誤差に基づいて誤差の関数を想定
し、この関数に基づいて現在の係数値における誤差の関
数の微係数を求めるようにしている。そしてこの微係数
に基づいて新たな係数値を求めている。係数値の更新の
繰り返しにより、係数値の最適化を行うことができる。
Also in this configuration, an error is calculated for the candidate coefficient value, an error function is assumed based on the error, and the differential coefficient of the error function at the current coefficient value is calculated based on the function. I have. Then, a new coefficient value is obtained based on this differential coefficient. Optimization of the coefficient value can be performed by repeating the updating of the coefficient value.

【0059】また、本発明によれば、上述の目的を達成
するために、離散的な値を取る少なくとも1つの係数を
含むk個の係数に応じてm次元の入力データをn次元の
出力データに変換するデータ変換装置において係数値を
最適化する係数決定装置に、上記離散的な値を取る係数
の各々について、現在の係数値、上記現在の係数値より
所定のステップs1だけ大きな係数値、および上記現在
の係数値より所定のステップs2だけ小さい係数値のう
ち少なくとも2つの係数値について所定の入力データ群
に対する出力データ群を算出する手段と、上記少なくと
も2つの係数値について算出した出力データ群と上記所
定の入力データ群に対応する理想出力データ群との誤差
が小さいほど高くなる確率で、上記少なくとも2つの係
数値のいずれか1つを新たな係数値として選択する係数
値選択手段と、上記離散的な値を取る係数の各々につい
て、現在の係数値を含む適宜の区間中のp種類の係数値
について出力データ群を算出する手段と、上記p種類の
係数値について算出した出力データ群と上記所定の入力
データ群に対応する理想出力データ群との誤差を算出
し、p種類の誤差を得る算出手段と、上記p種類の誤差
から、上記現在の係数値において微分可能な、係数値か
ら誤差への所定の関数を想定し、現在の係数値における
微係数を算出する微係数算出手段と、上記微係数に基づ
いて、確率的ないしは確定的に係数を更新する係数値更
新手段とを設け、上記係数値選択手段による係数値の選
択を1回以上実行した後、上記係数値更新手段による係
数値の更新を1回以上実行するようにしている。
According to the present invention, in order to achieve the above object, m-dimensional input data is converted to n-dimensional output data in accordance with k coefficients including at least one coefficient having a discrete value. The coefficient determining device that optimizes the coefficient value in the data converting device converts the current coefficient value, the coefficient value that is larger than the current coefficient value by a predetermined step s1 for each of the coefficients having the discrete values, Means for calculating an output data group for a predetermined input data group for at least two coefficient values among coefficient values smaller than the current coefficient value by a predetermined step s2, and an output data group calculated for the at least two coefficient values And the probability that the smaller the difference between the ideal output data group corresponding to the predetermined input data group and the ideal output data group is, the higher the probability is. And a means for calculating an output data group for p kinds of coefficient values in an appropriate section including the current coefficient value for each of the coefficients taking the discrete values. Calculating means for calculating an error between an output data group calculated for the p kinds of coefficient values and an ideal output data group corresponding to the predetermined input data group to obtain p kinds of errors; A differential coefficient calculating means for calculating a differential coefficient at the current coefficient value, assuming a predetermined function from the coefficient value to an error which is differentiable in the current coefficient value, and a stochastic function based on the differential coefficient. Or coefficient value updating means for deterministically updating the coefficient, and after selecting the coefficient value by the coefficient value selecting means at least once, updating the coefficient value by the coefficient value updating means at least once. like To have.

【0060】この構成においては、まず、候補係数値に
ついて誤差を算出し、この誤差が小さい候補係数値ほど
高い確率で新たな係数値とするようにしている。この
後、この誤差に基づいて誤差の関数を想定し、この関数
に基づいて現在の係数値における誤差の関数の微係数を
求めるようにしている。そしてこの微係数に基づいて新
たな係数値を求めている。係数値の更新の繰り返しによ
り、係数値の最適化を行うことができる。
In this configuration, first, an error is calculated for a candidate coefficient value, and a candidate coefficient value having a smaller error is set as a new coefficient value with a higher probability. Thereafter, an error function is assumed based on the error, and the differential coefficient of the error function at the current coefficient value is determined based on the function. Then, a new coefficient value is obtained based on this differential coefficient. Optimization of the coefficient value can be performed by repeating the updating of the coefficient value.

【0061】また、本発明によれば、上述の目的を達成
するために、離散的な値を取る少なくとも1つの係数を
含むk個の係数に応じてm次元の入力データをn次元の
出力データに変換するデータ変換装置において上記係数
値を決定する方法において、上記離散的な値を取る係数
の各々について、現在の係数値、上記現在の係数値より
所定のステップs1だけ大きな係数値、および上記現在
の係数値より所定のステップs2だけ小さい係数値のう
ち少なくとも2つの係数値について所定の入力データ群
に対する出力データ群を算出するステップと、上記少な
くとも2つの係数値について算出した出力データ群と上
記所定の入力データ群に対応する理想出力データ群との
誤差が小さいほど高くなる確率で、上記少なくとも2つ
の係数値のいずれか1つを新たな係数値として選択する
ステップとを実行するようにしている。
According to the present invention, in order to achieve the above object, m-dimensional input data is converted to n-dimensional output data in accordance with k coefficients including at least one coefficient having a discrete value. In the method for determining the coefficient value in the data conversion device for converting into a coefficient value, for each of the coefficients having the discrete values, a current coefficient value, a coefficient value larger than the current coefficient value by a predetermined step s1, Calculating an output data group for a predetermined input data group for at least two coefficient values among coefficient values smaller than the current coefficient value by a predetermined step s2; and calculating the output data group calculated for the at least two coefficient values. The probability that the smaller the error from the ideal output data group corresponding to the predetermined input data group becomes, the higher the error becomes. So that and a step of selecting one as a new coefficient value.

【0062】この構成においても、候補係数値について
誤差を算出し、この誤差が小さい候補係数値ほど高い確
率で新たな係数値とするようにしている。したがって係
数値の更新の繰り返しにより、係数値の最適化を行うこ
とができる。
Also in this configuration, an error is calculated for a candidate coefficient value, and a candidate coefficient value with a smaller error has a higher probability as a new coefficient value with a higher probability. Therefore, the coefficient value can be optimized by repeating the updating of the coefficient value.

【0063】また、本発明によれば、上述の目的を達成
するために、離散的な値を取る少なくとも1つの係数を
含むk個の係数に応じてm次元の入力データをn次元の
出力データに変換するデータ変換装置において上記係数
値を決定する方法において、上記離散的な値を取る係数
の各々について、現在の係数値を含む適宜の区間中のp
種類の係数値について出力データ群を算出するステップ
と、上記p種類の係数値について算出した出力データ群
と上記所定の入力データ群に対応する理想出力データ群
との誤差を算出し、p種類の誤差を得る算出手段と、上
記p種類の誤差から、上記現在の係数値において微分可
能な、係数値から誤差への所定の関数を想定し、現在の
係数値における微係数を算出するステップと、上記微係
数に基づいて、確率的ないしは確定的に係数を更新する
ステップとを実行するようにしている。
According to the present invention, in order to achieve the above object, m-dimensional input data is converted to n-dimensional output data in accordance with k coefficients including at least one coefficient having a discrete value. In the method of determining the coefficient value in the data conversion device for converting to the above, for each of the coefficients having the discrete values, p in an appropriate section including the current coefficient value
Calculating an output data group for the coefficient values of the type; calculating an error between the output data group calculated for the coefficient values of the p types and an ideal output data group corresponding to the predetermined input data group; Calculating means for obtaining an error, and, from the p kinds of errors, assuming a predetermined function from the coefficient value to the error which is differentiable in the current coefficient value, and calculating a differential coefficient in the current coefficient value; And a step of stochastically or deterministically updating the coefficient based on the differential coefficient.

【0064】この構成においても、候補係数値について
誤差を算出し、この誤差に基づいて誤差の関数を想定
し、この関数に基づいて現在の係数値における誤差の関
数の微係数を求めるようにしている。そしてこの微係数
に基づいて新たな係数値を求めている。係数値の更新の
繰り返しにより、係数値の最適化を行うことができる。
Also in this configuration, an error is calculated for the candidate coefficient value, an error function is assumed based on the error, and a differential coefficient of the error function at the current coefficient value is obtained based on the function. I have. Then, a new coefficient value is obtained based on this differential coefficient. Optimization of the coefficient value can be performed by repeating the updating of the coefficient value.

【0065】また、本発明によれば、上述の目的を達成
するために、離散的な値を取る少なくとも1つの係数を
含むk個の係数に応じてm次元の入力データをn次元の
出力データに変換するデータ変換装置において上記係数
値を決定する方法において、上記離散的な値を取る係数
の各々について、現在の係数値、上記現在の係数値より
所定のステップs1だけ大きな係数値、および上記現在
の係数値より所定のステップs2だけ小さい係数値のう
ち少なくとも2つの係数値について所定の入力データ群
に対する出力データ群を算出するステップと、上記少な
くとも2つの係数値について算出した出力データ群と上
記所定の入力データ群に対応する理想出力データ群との
誤差が小さいほど高くなる確率で、上記少なくとも2つ
の係数値のいずれか1つを新たな係数値として選択する
ステップと、上記新たな係数値が選択された後、上記離
散的な値を取る係数の各々について、現在の係数値を含
む適宜の区間中のp種類の係数値について出力データ群
を算出するステップと、上記p種類の係数値について算
出した出力データ群と上記所定の入力データ群に対応す
る理想出力データ群との誤差を算出し、p種類の誤差を
得る算出手段と、上記p種類の誤差から、上記現在の係
数値において微分可能な、係数値から誤差への所定の関
数を想定し、現在の係数値における微係数を算出するス
テップと、上記微係数に基づいて、確率的ないしは確定
的に係数を更新するステップとを実行し、上記係数値の
選択を1回以上実行した後、上記係数値の更新を1回以
上実行するするようにしている。
According to the present invention, in order to achieve the above object, m-dimensional input data is converted to n-dimensional output data in accordance with k coefficients including at least one coefficient having a discrete value. In the method for determining the coefficient value in the data conversion device for converting into a coefficient value, for each of the coefficients having the discrete values, a current coefficient value, a coefficient value larger than the current coefficient value by a predetermined step s1, Calculating an output data group for a predetermined input data group for at least two coefficient values among coefficient values smaller than the current coefficient value by a predetermined step s2; and calculating the output data group calculated for the at least two coefficient values. The probability that the smaller the error from the ideal output data group corresponding to the predetermined input data group becomes, the higher the error becomes. Selecting one as a new coefficient value, and, after the new coefficient value is selected, for each of the coefficients taking the discrete values, the p types of Calculating an output data group for the coefficient value; calculating an error between the output data group calculated for the p types of coefficient values and an ideal output data group corresponding to the predetermined input data group; Calculating a differential coefficient in the current coefficient value, assuming a predetermined function that can be differentiated in the current coefficient value from the p types of errors, and calculating the differential coefficient in the current coefficient value; Updating the coefficient stochastically or deterministically based on the coefficient, executing the selection of the coefficient value at least once, and then updating the coefficient value at least once. .

【0066】この構成においては、まず、候補係数値に
ついて誤差を算出し、この誤差が小さい候補係数値ほど
高い確率で新たな係数値とするようにしている。この
後、この誤差に基づいて誤差の関数を想定し、この関数
に基づいて現在の係数値における誤差の関数の微係数を
求めるようにしている。そしてこの微係数に基づいて新
たな係数値を求めている。係数値の更新の繰り返しによ
り、係数値の最適化を行うことができる。
In this configuration, first, an error is calculated for the candidate coefficient value, and the smaller the error is, the higher the probability that a new coefficient value is obtained with a higher probability. Thereafter, an error function is assumed based on the error, and the differential coefficient of the error function at the current coefficient value is determined based on the function. Then, a new coefficient value is obtained based on this differential coefficient. Optimization of the coefficient value can be performed by repeating the updating of the coefficient value.

【0067】また、本発明によれば、上述の目的を達成
するために、離散的な値を取る少なくとも1つの係数を
含むk個の係数に応じてm次元の入力データをn次元の
出力データに変換するデータ変換装置において上記係数
値を設定する方法において、上記データ変換装置本体と
同等な機能を有する標準データ変換装置において、上記
離散的な値を取る係数の各々について、現在の係数値、
上記現在の係数値より所定のステップs1だけ大きな係
数値、および上記現在の係数値より所定のステップs2
だけ小さい係数値のうち少なくとも2つの係数値につい
て所定の入力データ群に対する出力データ群を算出する
ステップと、上記少なくとも2つの係数値について算出
した出力データ群と上記所定の入力データ群に対応する
理想出力データ群との誤差が小さいほど高くなる確率
で、上記少なくとも2つの係数値のいずれか1つを新た
な係数値として選択するステップと、選択した係数を上
記データ変換装置本体の係数として設定するステップと
を実行するようにしている。
According to the present invention, in order to achieve the above object, m-dimensional input data is converted to n-dimensional output data in accordance with k coefficients including at least one coefficient having a discrete value. In the method of setting the coefficient value in the data conversion device to convert, in the standard data conversion device having the same function as the data conversion device main body, for each of the coefficients taking the discrete value, the current coefficient value,
A coefficient value larger than the current coefficient value by a predetermined step s1 and a predetermined step s2 from the current coefficient value
Calculating an output data group for a predetermined input data group with respect to at least two coefficient values among the coefficient values smaller than the above, and an output data group calculated for the at least two coefficient values and an ideal corresponding to the predetermined input data group A step of selecting any one of the at least two coefficient values as a new coefficient value with a probability that the smaller the error from the output data group is, and setting the selected coefficient as a coefficient of the data conversion device body Steps to execute.

【0068】この構成においても、候補係数値について
誤差を算出し、この誤差が小さい候補係数値ほど高い確
率で新たな係数値とするようにしている。したがって係
数値の更新の繰り返しにより、係数値の最適化を行うこ
とができる。
Also in this configuration, an error is calculated for a candidate coefficient value, and a candidate coefficient value having a smaller error is set as a new coefficient value with a higher probability. Therefore, the coefficient value can be optimized by repeating the updating of the coefficient value.

【0069】また、本発明によれば、上述の目的を達成
するために、離散的な値を取る少なくとも1つの係数を
含むk個の係数に応じてm次元の入力データをn次元の
出力データに変換するデータ変換装置において上記係数
値を設定する方法において、上記データ変換装置本体と
同等のデータ変換機能を有する基準データ変換装置にお
いて、上記離散的な値を取る係数の各々について、現在
の係数値を含む適宜の区間中のp種類の係数値について
出力データ群を算出するステップと、上記p種類の係数
値について算出した出力データ群と上記所定の入力デー
タ群に対応する理想出力データ群との誤差を算出し、p
種類の誤差を得る算出手段と、上記p種類の誤差から、
上記現在の係数値において微分可能な、係数値から誤差
への所定の関数を想定し、現在の係数値における微係数
を算出するステップと、上記微係数に基づいて、確率的
ないしは確定的に係数を更新するステップと、更新した
係数を上記データ変換装置本体の係数として設定するス
テップとを実行するようにしている。
According to the present invention, in order to achieve the above object, m-dimensional input data is converted to n-dimensional output data in accordance with k coefficients including at least one coefficient having a discrete value. In the method of setting the coefficient value in the data conversion device for converting into a data, the reference data conversion device having a data conversion function equivalent to that of the data conversion device main body may be configured such that the current coefficient Calculating an output data group for p kinds of coefficient values in an appropriate section including a numerical value; and calculating an output data group corresponding to the p kinds of coefficient values and an ideal output data group corresponding to the predetermined input data group. Is calculated, and p
Calculation means for obtaining the type of error, and
Assuming a predetermined function from the coefficient value to the error that is differentiable in the current coefficient value, calculating a differential coefficient in the current coefficient value, and based on the differential coefficient, the coefficient is determined stochastically or deterministically. And a step of setting the updated coefficient as a coefficient of the data conversion device main body.

【0070】この構成においても、候補係数値について
誤差を算出し、この誤差に基づいて誤差の関数を想定
し、この関数に基づいて現在の係数値における誤差の関
数の微係数を求めるようにしている。そしてこの微係数
に基づいて新たな係数値を求めている。係数値の更新の
繰り返しにより、係数値の最適化を行うことができる。
Also in this configuration, an error is calculated for the candidate coefficient value, an error function is assumed based on the error, and the differential coefficient of the error function at the current coefficient value is obtained based on the function. I have. Then, a new coefficient value is obtained based on this differential coefficient. Optimization of the coefficient value can be performed by repeating the updating of the coefficient value.

【0071】[0071]

【発明の実施の態様】以下、本発明の実施例について説
明する。 [実施例1]図1は、本発明の実施例1の構成を示すも
のであり、この図において、データ変換装置の係数最適
化システムは、入力バッファ11、データ変換装置1
2、出力バッファ13、理想出力メモリ14、誤差算出
部15、誤差履歴メモリ16、乱数分布制御部17、ス
テップ制御部18および係数更新部19を有している。
入力バッファ11は外部から与えられたm次元の入力デ
ータを記憶するものである。データ変換装置12は、離
散的な値をとる係数を用いてm次元の入力データをn次
元の出力データに変換するものである。出力バッファ1
3はデータ変換装置12から出力されたn次元の出力デ
ータを記憶する。誤差算出部15は出力データと理想出
力データとの誤差を算出し、この誤差を係数更新部19
および誤差履歴メモリ16に送出する。乱数分布制御部
17は誤差の履歴に応じて乱数の分布を可変し、またス
テップ制御部18も誤差の履歴に応じてステップの大き
さを可変する。これにより、アニーリングが行われる。
係数更新部19は誤差と乱数との和が最少となる係数値
を新たな係数値とする。
Embodiments of the present invention will be described below. [Embodiment 1] FIG. 1 shows the configuration of Embodiment 1 of the present invention. In this figure, a coefficient optimizing system of a data conversion device includes an input buffer 11, a data conversion device 1
2, an output buffer 13, an ideal output memory 14, an error calculation unit 15, an error history memory 16, a random number distribution control unit 17, a step control unit 18, and a coefficient update unit 19.
The input buffer 11 stores m-dimensional input data given from outside. The data conversion device 12 converts m-dimensional input data into n-dimensional output data using coefficients having discrete values. Output buffer 1
Reference numeral 3 stores n-dimensional output data output from the data conversion device 12. The error calculator 15 calculates an error between the output data and the ideal output data, and calculates the error as a coefficient updating unit 19.
And to the error history memory 16. The random number distribution control unit 17 varies the distribution of random numbers according to the error history, and the step control unit 18 also varies the step size according to the error history. Thereby, annealing is performed.
The coefficient updating unit 19 sets a coefficient value that minimizes the sum of the error and the random number as a new coefficient value.

【0072】つぎに係数の最適化について詳細に説明す
る。m次元の入力データと、それに対応するn次元の理
想出力データがj組与えれられた場合について説明す
る。すなわち、入力データxと理想出力データyは、
{x1,y1},{x2,y2},…,{xi,yi}…,
{xj,yj}であり、各入力データxiは、m次元で、
i=(xi1,xi2,…,xim)であり、各理想出力デ
ータyiは、n次元で、yi=(yi1,yi2,…,yin
であるとする。このデータ変換装置のk個の係数
(w1,w2,…,wp,…,wk)は、予め適宜の初期
値、一例としては、丸めなどによる従来の手法で決定し
た係数や、全て0などにより初期化しておく。このデー
タ変換装置に、m次元のデータxiを与えた時の出力
を、f(xi|w1,w2,…,wp,…,wk)とする。
このときの理想出力yiとの誤差を、d(yi,f(xi
|w1,w2,…,wp,…,wk))とする。ここで、d
はn次元の適宜の距離、例えばユークリッド距離などと
する。本実施例では、このデータ変換装置の誤差を、各
データの誤差の和
Next, the optimization of the coefficients will be described in detail. A case where j sets of m-dimensional input data and corresponding n-dimensional ideal output data are provided will be described. That is, the input data x and the ideal output data y are
{X 1, y 1}, {x 2, y 2}, ..., {x i, y i} ...,
{X j , y j }, and each input data x i has m dimensions,
x i = (x i1 , x i2 ,..., x im ), and each ideal output data y i is n-dimensional and y i = (y i1 , y i2 ,..., y in )
And The k coefficients (w 1 , w 2 ,..., W p ,..., W k ) of the data converter are predetermined initial values, for example, coefficients determined by a conventional method such as rounding, All are initialized by 0 or the like. This data conversion device, the output when given the m-dimensional data x i, f (x i | w 1, w 2, ..., w p, ..., w k) and.
The error from the ideal output y i at this time is represented by d (y i , f (x i
| W 1 , w 2 , ..., w p , ..., w k )). Where d
Is an appropriate n-dimensional distance, for example, a Euclidean distance. In this embodiment, the error of the data converter is calculated by adding the error of each data.

【0073】[0073]

【数1】 E(w1,w2,…,wp,…,wk) =Σi=1・・・jd(yi,f(xi|w1,w2,…,wp,…,wk)) とする。E (w 1 , w 2 ,..., W p ,..., W k ) = Σ i = 1... J d (y i , f (x i | w 1 , w 2 ,..., W p, ..., and w k)).

【0074】いま、k個の係数のうち、p番目の係数w
pに着目し、現在の係数値に対する誤差E0、すなわち、
0=E(w1,w2,…,wp,…,wk)、現在の係数
値より所定のステップsだけ大きな係数値に対する誤差
+、すなわち、E+=E(w1,w2,…,wp+s,
…,wk)、および、現在の係数値より所定のステップ
sだけ小さな係数値に対する誤差E-、すなわち、E-
E(w1,w2,…,wp−s,…,wk)の3種類の誤差
を算出する。この実施例では加算の場合の所定のステッ
プと、減算の場合の所定のステップはいずれの場合もs
としているが、加算の場合の所定のステップと、減算の
場合の所定のステップは必ずしも等しい値とする必要は
ない。
Now, of the k coefficients, the p-th coefficient w
Focusing on p , the error E 0 with respect to the current coefficient value, ie,
E 0 = E (w 1 , w 2 ,..., W p ,..., W k ), an error E + for a coefficient value larger than the current coefficient value by a predetermined step s, that is, E + = E (w 1 , w 1 , w 2 ,..., w p + s,
.., W k ) and an error E for a coefficient value smaller than the current coefficient value by a predetermined step s, that is, E =
E (w 1 , w 2 ,..., W p −s,..., W k ) are calculated. In this embodiment, the predetermined step in the case of addition and the predetermined step in the case of subtraction are both s.
However, the predetermined step in the case of addition and the predetermined step in the case of subtraction do not necessarily have to have the same value.

【0075】次に、これらの誤差に、所定の区間[0,
T]に一様な分布に基づく乱数Nをそれぞれに加算し、
Next, a predetermined interval [0,
T], a random number N based on a uniform distribution is added to each,

【0076】[0076]

【数2】e0=E0+N e+=E++N e-=E-+N を得る。ここで、e0,e+,e-のうち、e0が最小であ
れば、wpは更新しない。e+が最小であれば、wpにs
を加え、更新する。e-が最小であれば、wpからsを減
じ、更新する。
[Number 2] e 0 = E 0 + N e + = E + + N e - = E - + obtain N. Here, if e 0 is the minimum among e 0 , e + , and e , w p is not updated. If e + is minimum, then s for w p
Add and update. If e - is minimum, subtract s from w p and update.

【0077】この操作を各係数wp(p=1,2,…,
k)について適用する。この最適化の操作が1巡した時
点で、このデータ変換装置の誤差を求め、所定の値以下
になるか、ほぼ収束する状態、もしくは、所定の回数ま
で繰り返す。その際、最小の誤差となった場合には、
「最適な係数」として係数を記録し、前述の所定の区間
を決定するTに、1よりも大きい所定の値を乗じること
によって、Tを増加させる。一方、誤差が最適化を1巡
行う前に比較して、増加してしまった場合には、Tに1
よりも小さい所定の値を乗じて、Tを減少させる。所定
のステップsについても同様の操作を行うが、最小ステ
ップ未満の値とはしない。
This operation is performed by using each coefficient w p (p = 1, 2,...,
Apply for k). When this optimization operation has completed one round, the error of the data conversion device is obtained, and the error is reduced to a value equal to or less than a predetermined value, substantially converges, or repeated a predetermined number of times. At that time, if the error is the minimum,
The coefficient is recorded as “optimal coefficient”, and T is increased by multiplying T for determining the above-mentioned predetermined section by a predetermined value larger than 1. On the other hand, if the error has increased compared to before performing one round of optimization, 1 is added to T.
Multiplying by a predetermined value smaller than T reduces T. The same operation is performed for the predetermined step s, but the value is not smaller than the minimum step.

【0078】以上により、学習が終了した時点で、最終
的に記録された「最適な係数」を出力する。
As described above, when the learning is completed, the finally recorded “optimum coefficient” is output.

【0079】つぎに、第2図に示す、本実施例の最も簡
素な一例を用いて係数決定の具体的な手順を示す。1入
力1出力で、2つの整数の係数w1とw2を持つ下記の式
によるデータ変換装置について説明する。
Next, a specific procedure of coefficient determination will be described using the simplest example of this embodiment shown in FIG. A data conversion device according to the following equation having one input and one output and having two integer coefficients w 1 and w 2 will be described.

【0080】[0080]

【数3】y=x・w1+w2 ここで、xはデータ変換装置の入力、yはデータ変換装
置の出力である。所定のステップを、s1=s2=1とし
て、このデータ変換装置に、入力群と、対応する理想出
力群として、以下の値を供給する。
Y = x · w 1 + w 2 where x is the input of the data converter and y is the output of the data converter. Assuming that predetermined steps are s 1 = s 2 = 1, the following values are supplied to the data converter as an input group and a corresponding ideal output group.

【0081】[0081]

【表1】 本実施例による係数を決定する方法により、w1とw2
初期値をいずれも0とする。この場合、誤差としては、
合計のユークリッド距離を用いる。まず、w1につい
て、誤差と、誤差に区間[0…2]の一様乱数を加えた
ものを算出する。その結果、次表のように算出されたと
する。
[Table 1] The method for determining the coefficients according to the present embodiment, both the w 1 and w 2 and the initial value is 0. In this case, the error is
Use the total Euclidean distance. First, w 1, and calculates the error, the plus uniform random interval [0 ... 2] to the error. As a result, it is assumed that it is calculated as shown in the following table.

【0082】[0082]

【表2】 この結果に基づき、w1は更新しない。次に、w2につい
て、同様に、誤差と、誤差に同上の乱数を加えたものを
算出する。その結果、次表のように算出されたとする。
[Table 2] Based on this result, w 1 is not updated. Next, w 2, likewise, to calculate the error, the plus random Id to the error. As a result, it is assumed that it is calculated as shown in the following table.

【0083】[0083]

【表3】 この結果に基づき、w2も更新しない。この状況は、い
ずれの変数も変更しない方が誤差が小さいという極少の
状況の例である。本実施例では誤差を付加しているの
で、引続きこの計算を繰り返し、所定の確率によってこ
のような極少から脱出できる。
[Table 3] Based on this result, w 2 also does not update. This situation is an example of a minimal situation where no variable is changed and the error is smaller. In this embodiment, since an error is added, the calculation is continuously repeated to escape from such a minimum with a predetermined probability.

【0084】この時点で誤差を評価し、2を得る。誤差
が大きいので、引続き、w1について、誤差と、誤差に
乱数を加えたものを算出する。その結果、次表のように
算出されたとする。
At this point, the error is evaluated to obtain 2. Since the error is large, it continues for w 1, calculates the error, the plus a random number error. As a result, it is assumed that it is calculated as shown in the following table.

【0085】[0085]

【表4】 この結果に基づき、w1は1に更新する。更に、w2につ
いて、同様に、誤差と、誤差に乱数を加えたものを算出
する。その結果、次表のように算出されたとする。
[Table 4] Based on this result, w 1 is updated to 1. Furthermore, for w 2, likewise, to calculate the error, the plus a random number error. As a result, it is assumed that it is calculated as shown in the following table.

【0086】[0086]

【表5】 この結果に基づき、w2は−1に更新する。この時点で
誤差を評価し、0を得る。誤差が十分に小さいので、係
数の最適化を終了する。
[Table 5] Based on this result, w 2 is updated to -1. At this point, the error is evaluated and 0 is obtained. Since the error is sufficiently small, the optimization of the coefficient ends.

【0087】以上に例を以て示したように、本実施例に
よれば、誤差は次第に減少し、所定の乱数を付加するこ
とによって誤差が極少となる点から、所定の確率によっ
て脱出し、より誤差の小さい係数を得ることができる。
As described above, according to the present embodiment, the error gradually decreases, and the error is minimized by adding a predetermined random number. Can be obtained.

【0088】以上に示した簡単な例では、最適化を2巡
した時点で最適化が終了したが、現実的な係数決定で
は、より複雑な係数を決定する必要があることが一般的
である。この場合、乱数の大きさが大きいまま最適化を
進めると、最適化が概ね終了しても、最終的な係数には
収束しにくい。そこで、誤差が小さい係数がより高い確
率で選択されるように、乱数の大きさを小さくし、収束
を進めるようにする。一方、乱数が小さすぎると極少を
脱出できなくなる場合がある。本実施例では誤差の履歴
により、確率を制御することによってこの課題を解決し
た。
In the simple example described above, the optimization has been completed at the point of time when the optimization has been performed twice, but it is generally necessary to determine a more complicated coefficient in a realistic coefficient determination. . In this case, if the optimization is performed while the random number is large, even if the optimization is almost completed, it is difficult to converge to the final coefficient. Therefore, the size of the random number is reduced and convergence is advanced so that a coefficient having a small error is selected with a higher probability. On the other hand, if the random number is too small, it may not be possible to escape from the minimum. In the present embodiment, this problem has been solved by controlling the probability based on the error history.

【0089】また、以上に示した簡単な例では所定のス
テップは、s1,s2とも1を用いたが、処理を高速化す
るためと、極少からより高い確率で脱出できる目的で、
誤差の履歴により、所定のステップを制御している。ま
た、s1,s2に異なる値を用い、実質的により小さいス
テップ、すなわちs1、s2、|s1−s2|の最大公約数
による最適化を可能にする。
In the simple example described above, the predetermined step uses 1 for both s 1 and s 2. However, in order to speed up the processing and to escape from a minimum to a higher probability,
A predetermined step is controlled based on the error history. Moreover, using different values for s 1, s 2, substantially smaller steps, namely s 1, s 2, | to allow optimization of the greatest common divisor | s 1 -s 2.

【0090】以上、簡単な例を以て作用を説明したが、
本実施例によれば複雑なデータ変換装置においても、同
様の動作をする。
The operation has been described with a simple example.
According to this embodiment, the same operation is performed in a complicated data conversion device.

【0091】本方式においては、データ変換装置の誤差
は、装置内の丸めや精度を含めた誤差による評価を行っ
ている。従って、このような誤差を含めた上で、より誤
差の少ない係数を、全探査よりも高速に算出することが
可能である。
In this method, the error of the data conversion device is evaluated based on the error including rounding and accuracy in the device. Therefore, it is possible to calculate a coefficient having a smaller error at a higher speed than the full search, including such an error.

【0092】[実施例2]つぎにデータ変換装置として
離散的な係数をとるニューラルネットワークを用いて色
変換を行う実施例2について説明する。図3は本実施例
の構成を示し、この図において、図1と対応する箇所に
は対応する符号を付して詳細な説明を省略する。図3に
おいて、入力バッファ11は入力データとして印刷のC
(サイアン)、M(マジェンタ)、Y(イエロー)、K
(墨)の面積率を保持している。ニューラルネットワー
クを用いた色変換装置21はC、M、Y、Kの面積率を
CIE L***(D50)色座標に変換するもので
ある。ニューラルネットワークの係数は離散的であり、
係数更新部19によって最適化されていく。変換された
色座標データは出力バッファ13にストアされ、色差算
出部22によって出力色座標データと理想色座標データ
との色差が算出される。色差自乗平均算出部23は色差
の自乗平均を算出し、これが誤差とされる。
[Second Embodiment] Next, a second embodiment in which color conversion is performed using a neural network that takes discrete coefficients as a data conversion device will be described. FIG. 3 shows the configuration of the present embodiment. In this figure, portions corresponding to those in FIG. 1 are denoted by corresponding reference numerals, and detailed description thereof is omitted. In FIG. 3, an input buffer 11 stores a print C as input data.
(Sian), M (Magenta), Y (Yellow), K
(Ink) area ratio is maintained. The color conversion device 21 using a neural network converts the area ratio of C, M, Y, and K into CIE L * a * b * (D50) color coordinates. The coefficients of the neural network are discrete,
The optimization is performed by the coefficient updating unit 19. The converted color coordinate data is stored in the output buffer 13, and the color difference calculator 22 calculates the color difference between the output color coordinate data and the ideal color coordinate data. The color difference root mean square calculator 23 calculates the root mean square of the color difference, which is regarded as an error.

【0093】つぎに色変換装置21の係数の最適化につ
いて詳細に説明する。上述のとおり、色変換装置21
は、印刷のC、M、Y、Kの面積率を、印刷結果のCI
E L***(D50)色座標に変換するものであ
る。この色変換装置21の係数決定には、、入力とし
て、IT8/7.3 extended setに基づ
く928組のCMYK面積率を、理想出力には、各面積
率に基づいて印刷を行い、印刷結果をD50光源により
測色し、CIE L***色座標としたものを用い
る。すなわち、入力データxと理想出力データyは、
{x1,y1},{x2,y2},…,{xi,yi}…,
{x928,y928}であり、各入力データxiは、4次元
で、xi=(Ci,Mi,Yi,Ki)であり、各理想出力
データyiは、3次元で、yi=(Li,ai,bi)であ
るとする。このデータ変換装置のk個の係数(w1
2,…,wp,…,wk)は、予め全て0に初期化して
おく。このデータ変換装置に、データxiを与えた時の
出力を、g(xi|w1,w2,…,wp,…,wk)とす
る。このときの理想出力yiとの誤差を、ΔE色差、す
なわち、CIEL**b*色空間上のユークリッド距離
ΔE(yi,g(xi|w1,w2,…,wp,…,wk))
とする。本実施例では、この色変換装置の誤差を、各色
の自乗平均誤差、すなわち、
Next, the optimization of the coefficients of the color conversion device 21 will be described in detail. As described above, the color conversion device 21
Indicates the area ratio of C, M, Y, and K of the printing, and the CI of the printing result.
EL * a * b * (D50) is converted into color coordinates. To determine the coefficients of the color conversion device 21, 928 sets of CMYK area ratios based on IT8 / 7.3 extended set are input and the ideal output is printed based on each area ratio. The color is measured with a D50 light source, and CIE L * a * b * color coordinates are used. That is, the input data x and the ideal output data y are
{X 1, y 1}, {x 2, y 2}, ..., {x i, y i} ...,
{X 928 , y 928 }, each input data x i is four-dimensional, x i = (C i , M i , Y i , K i ), and each ideal output data y i is three-dimensional Let y i = (L i , a i , b i ). The k coefficients (w 1 ,
w 2, ..., w p, ..., w k) is, it keeps initialized to all pre-0. This data conversion device, the output when given the data x i, g (x i | w 1, w 2, ..., w p, ..., w k) and. The error from the ideal output y i at this time is represented by ΔE color difference, that is, the Euclidean distance ΔE (y i , g (x i | w 1 , w 2 ,..., W p) in the CIEL * a * b * color space. …, W k ))
And In the present embodiment, the error of the color conversion device is calculated as the root mean square error of each color, that is,

【0094】[0094]

【数4】 とする。(Equation 4) And

【0095】いま、k個の係数のうち、p番目の係数w
pに着目し、現在の係数値に対する誤差E0、すなわち、
0=E(w1,w2,…,wp,…,wk)と、現在の係
数値より所定のステップs1だけ大きな係数値に対する
誤差E+、すなわち、E+=E(w1,w2,…,wp
1,…,wk)、及び、現在の係数値より所定のステッ
プs2だけ小さな係数値に対する誤差E、すなわち、E-
=E(w1,w2,…,wp−s2,…,wk)の3種類の
誤差を算出する。この実施例では加算の場合の所定のス
テップを異なる値としているが、加算の場合の所定のス
テップと、減算の場合の所定のステップは必ずしも異な
る値とする必要はない。
Now, of the k coefficients, the p-th coefficient w
Focusing on p , the error E 0 with respect to the current coefficient value, ie,
E 0 = E (w 1 , w 2 ,..., W p ,..., W k ) and an error E + for a coefficient value larger than the current coefficient value by a predetermined step s 1 , that is, E + = E (w 1, w 2, ..., w p +
s 1 ,..., w k ) and an error E for a coefficient value smaller than the current coefficient value by a predetermined step s 2 , that is, E
= E (w 1 , w 2 ,..., W p −s 2 ,..., W k ) are calculated. In this embodiment, the predetermined step in the case of addition has a different value, but the predetermined step in the case of addition and the predetermined step in the case of subtraction do not necessarily have to have different values.

【0096】次に、これらの誤差に基づいて、より低い
誤差のものが、より高い確率で選ばれる適宜の関数によ
って、いずれか1つを選択する。E0が選択された場
合、wpは更新しない。E+が選択された場合、wpにs1
を加え、更新する。E-が選択された場合、wpからs2
を減じ、更新する。
Next, based on these errors, one of the ones with a lower error is selected by an appropriate function selected with a higher probability. If E 0 is selected, w p is not updated. If E + is selected, s 1 for w p
Add and update. If E - is selected, w p to s 2
And update.

【0097】この操作を各重みwp(p=1,2,…,
k)について適用する。この最適化の操作が1巡した時
点で、この色変換装置の誤差を求め、所定の値以下にな
るか、ほぼ収束する状態、もしくは、所定の回数まで繰
り返す。その際、最小の誤差となった場合には、「最適
な係数」として係数を記録し、前述の所定のステップs
に、1よりも大きい所定の値を乗じることによって、s
を増加させる。一方、誤差が最適化を1巡行う前に比較
して、増加してしまった場合には、s1やS2に1よりも
小さい所定の値を乗じて、s1やS2を減少させるが、最
小ステップ以下未満の値とはしない。
This operation is repeated for each weight w p (p = 1, 2,...,
Apply for k). When this optimization operation has completed one round, the error of the color conversion apparatus is obtained, and the error is reduced to a value equal to or less than a predetermined value, substantially converged, or repeated a predetermined number of times. At this time, when the error becomes the minimum, the coefficient is recorded as the “optimal coefficient”, and the above-described predetermined step s is performed.
Is multiplied by a predetermined value greater than 1 to obtain s
Increase. On the other hand, the error is compared before cormorants 1 cruise optimization, if you happen to increase, multiplied by the smaller predetermined value than 1 to s 1 and S 2, to reduce the s 1 and S 2 Is not less than the minimum step.

【0098】以上により、学習が終了した時点で、最終
的に記録された「最適な係数」を出力する。
As described above, when the learning is completed, the finally recorded “optimum coefficient” is output.

【0099】[実施例3]つぎに係数が離散値をとるテ
ーブルと補間とを用いる色変換装置を用いた実施例3に
ついて説明する。図4は実施例3の構成を示しており、
この図において、図1と対応する箇所には対応する符号
を付して詳細な説明を省略する。図4において、入力バ
ッファ11は入力データとしてCIE L***
(D50)色座標データをストアしている。色変換装置
31は、係数が離散値をとるテーブルと補間とを用い
て、CIE L*** (D50)色座標を入力し、
所定の印刷装置のC、M、Y、Kの面積率を算出するも
のである。本実施例では、各格子点に記憶する値は離散
値とする。この変換装置31の詳細は後述する。C、
M、Y、Kの面積率は出力バッファ13にストアされ、
これに基づいて印刷装置32を駆動して印刷出力を得
る。こののち印刷出力を測定してCIE L**
*(D50)色座標データを得る。この色座標データは
測定値バッファ33にストアされる。理想出力データメ
モリ14には入力データ自体がストアされ、この入力デ
ータと測定値バッファ33の色座標データとの色差が色
差算出部22で算出され、平均色差が平均色差算出部3
4で算出され、誤差とされる。
[Third Embodiment] Next, a third embodiment using a color conversion apparatus using a table in which coefficients take discrete values and interpolation will be described. FIG. 4 shows a configuration of the third embodiment.
In this figure, parts corresponding to those in FIG. 1 are denoted by corresponding reference numerals, and detailed description is omitted. In FIG. 4, the input buffer 11 receives CIE L * a * b * as input data .
(D50) Stores color coordinate data. The color conversion device 31 inputs CIE L * a * b * (D50) color coordinates using a table in which coefficients take discrete values and interpolation,
This is to calculate the area ratio of C, M, Y, K of a predetermined printing device. In this embodiment, the value stored at each grid point is a discrete value. Details of the conversion device 31 will be described later. C,
The area ratios of M, Y, and K are stored in the output buffer 13,
Based on this, the printing device 32 is driven to obtain a print output. After that, the print output is measured and CIE L * a * b
* (D50) Obtain color coordinate data. The color coordinate data is stored in the measurement value buffer 33. The input data itself is stored in the ideal output data memory 14, the color difference between the input data and the color coordinate data of the measured value buffer 33 is calculated by the color difference calculation unit 22, and the average color difference is calculated by the average color difference calculation unit 3.
It is calculated in 4 and is regarded as an error.

【0100】つぎに変換装置31の係数の最適化につい
て詳細に説明する。変換装置31は、入力空間上のL*
軸、a*軸、b*軸の各々の代表点、例えば、各軸10点
からなる3次元の表に、予め変換後のCMYK各面積率
を記録し、色変換に際しては、入力した色座標を含む直
方体の各頂点に相当する格子点の変換値を、直方体内の
位置に応じて補間を行い、変換結果を得るものであり、
補間方法としては、4面体補間法、プリズム補間法、c
ubic補間法などが知られている。本実施例はこれら
の補間方法のいずれの場合でも適用することができる。
Next, the optimization of the coefficients of the conversion device 31 will be described in detail. The conversion device 31 calculates L * in the input space .
Each area ratio of CMYK after conversion is recorded in advance in a three-dimensional table composed of 10 points on each axis, a * axis and b * axis, for example, 10 points on each axis. The interpolation value of the grid point corresponding to each vertex of the rectangular parallelepiped including, according to the position in the rectangular parallelepiped, to obtain a conversion result,
Interpolation methods include tetrahedral interpolation, prism interpolation, c
Ubic interpolation and the like are known. The present embodiment can be applied to any of these interpolation methods.

【0101】一般的に、各格子点に記憶される変換値
は、各代表点の変換値をテーブルの精度によって丸めた
値であり、いずれの補間方法においても、入出力の対応
によっては補間誤差が発生する。
Generally, the conversion value stored at each grid point is a value obtained by rounding the conversion value at each representative point according to the accuracy of the table. Occurs.

【0102】所定の係数における、この色変換装置の誤
差を次の手順により求めた平均色差とする。十分に細か
い所定の間隔、例えば、各次元とも格子点の代表値の間
隔の16分の1の間隔で、所定のの係数によって色変換
し、CMYKの各面積率を算出する。この算出結果をも
とに印刷を行い、測色値と、変換前の色座標との色差を
算出し、全入力範囲についての平均の色差を誤差とす
る。この際、実際に印刷を行って、測色することに換え
て、プリンタをモデル化したものを用いて印刷後の予測
値を推定しても良い。
The error of the color conversion device at a predetermined coefficient is defined as an average color difference obtained by the following procedure. Color conversion is performed by a predetermined coefficient at a sufficiently fine predetermined interval, for example, at an interval of 1/16 of the interval between the representative values of the grid points in each dimension, and each area ratio of CMYK is calculated. Printing is performed based on this calculation result, the color difference between the colorimetric values and the color coordinates before conversion is calculated, and the average color difference over the entire input range is used as an error. At this time, instead of actually performing printing and performing colorimetry, a predicted value after printing may be estimated using a modeled printer.

【0103】本実施例は、補間後の平均の色差が最小に
なるように、各格子点の値を最適化することを目的と
し、以下の最適化を行う。
The present embodiment aims at optimizing the value of each grid point so as to minimize the average color difference after interpolation, and performs the following optimization.

【0104】まず、全ての格子点について、各格子点
(L,A,B)のテーブルに記憶する離散値の係数{C
(L,A,B),M(L,A,B),Y(L,A,
B),K(L,A,B)}を、対応する変換値をテーブ
ルの精度によって丸めた値により初期化する。T及びs
をそれぞれ適宜の初期値とする。各格子点に、色再現範
囲内で、彩度の低いものから順に通し番号を付け、引続
き、色再現範囲外の格子点について、変換前後の色差が
小さい順に通し番号を付ける。つぎに以下の処理プを行
う。 処理(1):通し番号が小さい順に、Kの格子点値を、
処理(1.1)〜(1.3)の操作により最適化する。 処理(1.1):現在のKの値に所定のステップsを加
え、色変換装置の誤差を算出する。 処理(1.2):現在のKの値から所定のステップs及
びステップの最小単位を減じ、色変換装置の誤差を算出
する。
First, for all grid points, the coefficient of discrete value {C stored in the table of each grid point (L, A, B)
(L, A, B), M (L, A, B), Y (L, A,
B), K (L, A, B)} are initialized by values obtained by rounding the corresponding converted values according to the precision of the table. T and s
Is an appropriate initial value. Each grid point is assigned a serial number in ascending order of color saturation within the color reproduction range, and subsequently, with respect to grid points outside the color reproduction range, serial numbers are assigned in ascending order of color difference before and after conversion. Next, the following processing is performed. Process (1): The grid point values of K are calculated in ascending order of the serial number,
Optimization is performed by the operations of the processes (1.1) to (1.3). Process (1.1): A predetermined step s is added to the current value of K to calculate an error of the color conversion device. Process (1.2): A predetermined step s and a minimum unit of the step are subtracted from the current value of K to calculate an error of the color conversion device.

【0105】この際、全入力範囲に換えて、この係数が
影響を持つ範囲に限って色差の平均を求めてもよい。例
えば、4面体補間法、プリズム補間法、cubic補間
法では、それぞれ当該格子点を頂点に持つ4面体、3角
柱、直方体に含まれる部分のみについて平均を求めても
良い。 処理(1.3):上記処理(1.1)の誤差と処理
(1.2)の誤差に所定の区間[0,T]に一様な分布
に基づく乱数をそれぞれに加算し、処理(1.1)の誤
差と乱数の和が、処理(1.2)の誤差と乱数の和より
も小さい場合には現在のKの値に所定のステップsを加
え、更新する。そうでない場合には、現在のKの値から
所定のステップs及びステップの最小単位を減じ更新す
る。 処理(2):上記処理(1)の操作を、全ての格子点の
Kに適用する。この最適化の操作が1巡した時点で、こ
の色変換装置の誤差を求め、所定の値以下になるか、ほ
ぼ収束する状態、もしくは、所定の回数まで繰り返す。
その際、最小の誤差となった場合には、「Kが最適な係
数」として係数を記録し、前述の所定の区間を決定する
Tに、1よりも大きい所定の値を乗じることによって、
Tを増加させる。一方、誤差が最適化を1巡行う前に比
較して、増加してしまった場合には、Tに1よりも小さ
い所定の値を乗じて、Tを減少させる。所定のステップ
sについても同様の操作を行うが、最小ステップ未満の
値とはしない。
At this time, instead of the entire input range, the average of the color differences may be obtained only in a range where this coefficient has an influence. For example, in the tetrahedron interpolation method, the prism interpolation method, and the cubic interpolation method, the average may be obtained only for the portions included in the tetrahedron, the triangular prism, and the rectangular parallelepiped each having the lattice point at the vertex. Process (1.3): A random number based on a uniform distribution is added to a predetermined section [0, T] to the error of the process (1.1) and the error of the process (1.2), respectively. If the sum of the error of 1.1) and the random number is smaller than the sum of the error of step (1.2) and the random number, a predetermined step s is added to the current value of K to update. If not, a predetermined step s and the minimum unit of the step are subtracted from the current value of K and updated. Process (2): The operation of process (1) is applied to K at all grid points. When this optimization operation has completed one round, the error of the color conversion apparatus is obtained, and the error is reduced to a value equal to or less than a predetermined value, substantially converged, or repeated a predetermined number of times.
At this time, when the error becomes the minimum, the coefficient is recorded as “K is the optimal coefficient”, and T for determining the predetermined section is multiplied by a predetermined value larger than 1.
Increase T. On the other hand, if the error increases before performing one round of optimization, T is reduced by multiplying T by a predetermined value smaller than 1. The same operation is performed for the predetermined step s, but the value is not smaller than the minimum step.

【0106】次に、「Kが最適な係数」を初期値とし
て、T及びsをそれぞれ適宜の初期値とし以下の処理を
実行する。 処理(3):通し番号が小さい順に、CMYの格子点値
を、処理(3.1)〜(3.5)の操作により最適化す
る。 処理(3.1):現在のCの値に所定のステップsを加
え、色変換装置の誤差を算出する。 処理(3.2):現在のCの値から所定のステップs及
びステップの最小単位を減じ、色変換装置の誤差を算出
する。 処理(3.3):上記処理(3.1)の誤差と処理
(3.2)の誤差に所定の区間[0,T]に一様な分布
に基づく乱数をそれぞれに加算し、処理(3.1)の誤
差と乱数の和が処理(3.2)の誤差と乱数の和よりも
小さい場合には現在のCの値に所定のステップsを加
え、更新する。そうでない場合には、現在のCの値から
所定のステップs及びステップの最小単位を減じ更新す
る。 処理(3.4):処理(3.1)〜(3.3)の操作を
Cに換えてMについて適用する。 処理(3.5):処理(3.1)〜(3.3)の操作を
Cに換えてYについて適用する。 処理(4):上記処理(3)の操作を、全ての格子点に
適用する。この最適化の操作が1巡した時点で、この色
変換装置の誤差を求め、所定の値以下になるか、ほぼ収
束する状態、もしくは、所定の回数まで繰り返す。その
際、最小の誤差となった場合には、「最適な係数」とし
て係数を記録し、前述の所定の区間を決定するTに、1
よりも大きい所定の値を乗じることによって、Tを増加
させる。一方、誤差が最適化を1巡行う前に比較して、
増加してしまった場合には、Tに1よりも小さい所定の
値を乗じて、Tを減少させる。所定のステップsについ
てもTと同様の操作を行うが、最小ステップ未満の値と
はしない。
Next, the following processing is executed with “K is the optimal coefficient” as an initial value and T and s as appropriate initial values. Process (3): CMY lattice point values are optimized by the operations of processes (3.1) to (3.5) in ascending order of serial numbers. Process (3.1): A predetermined step s is added to the current value of C to calculate an error of the color conversion device. Process (3.2): A predetermined step s and a minimum unit of the step are subtracted from the current value of C to calculate an error of the color conversion device. Process (3.3): A random number based on a uniform distribution is added to the error of the above process (3.1) and the error of the process (3.2) in a predetermined section [0, T], respectively. When the sum of the error of 3.1) and the random number is smaller than the sum of the error of the process (3.2) and the random number, a predetermined step s is added to the current value of C and updated. If not, a predetermined step s and the minimum unit of the step are subtracted from the current value of C and updated. Process (3.4): The operations of processes (3.1) to (3.3) are applied to M instead of C. Process (3.5): The operations of processes (3.1) to (3.3) are applied to Y instead of C. Process (4): The operation of process (3) is applied to all grid points. When this optimization operation has completed one round, the error of the color conversion apparatus is obtained, and the error is reduced to a value equal to or less than a predetermined value, substantially converged, or repeated a predetermined number of times. At this time, if the error becomes the minimum, the coefficient is recorded as the “optimal coefficient”, and 1 is set to T for determining the aforementioned predetermined section.
T is increased by multiplying by a predetermined value greater than. On the other hand, when the error is compared before performing one round of optimization,
If it has increased, T is reduced by multiplying T by a predetermined value smaller than one. The same operation as T is performed for the predetermined step s, but the value is not smaller than the minimum step.

【0107】以上により、学習が終了した時点で、最終
的に記録された「最適な係数」を出力する。
As described above, when the learning is completed, the finally recorded “optimal coefficient” is output.

【0108】[実施例4]つぎに離散的な係数値と誤差
との間に想定可能な連続的な関数を導入して係数の最適
化を行う実施例4について説明する。図5は実施例4の
構成を示しており、この図において図3と対応する箇所
には対応する符号を付して詳細な説明をその省略する。
図5において、2次関数決定部41はE0、E-、E+
誤差に基づいて2次関数を決定し、微係数算出部42は
この2次関数のE0における微係数を算出する。係数更
新部43は温度(アニーリングにおける温度)および微
係数に応じて係数を決定する。これについては後に詳述
する。
[Fourth Embodiment] Next, a fourth embodiment for optimizing coefficients by introducing a continuous function that can be assumed between discrete coefficient values and errors will be described. FIG. 5 shows the configuration of the fourth embodiment. In FIG. 5, portions corresponding to those in FIG. 3 are denoted by corresponding reference numerals, and detailed description thereof is omitted.
In FIG. 5, a quadratic function determining unit 41 determines a quadratic function based on the errors of E 0 , E and E + , and a differential coefficient calculating unit 42 calculates a differential coefficient of the quadratic function at E 0 . . The coefficient updating unit 43 determines a coefficient according to the temperature (temperature during annealing) and the differential coefficient. This will be described later in detail.

【0109】つぎにこの実施例における色変換装置21
の係数の最適化について詳細に説明する。色変換装置2
1は、本実施単独で最適化を行ってもよいし、また、本
実施例に先だって実施例2により適宜回数最適化を行っ
た後に本実施例による最適化を行ってもよい。誤差など
の諸定義は実施例2と同じである。
Next, the color conversion device 21 according to this embodiment will be described.
The optimization of the coefficient will be described in detail. Color conversion device 2
1 may perform the optimization according to the present embodiment alone, or may perform the optimization according to the present embodiment after optimizing the number of times as appropriate according to the second embodiment prior to the present embodiment. Various definitions such as errors are the same as in the second embodiment.

【0110】いま、k個の係数のうち、p番目の係数w
pに着目し、現在の係数値に対する誤差E0、すなわち、
0=E(w1,w2,…,wp,…,wk)と、現在の係
数値より所定のステップs1だけ大きな係数値に対する
誤差E+、すなわち、E+=E(w1,w2,…,wp
1,…,wk)、及び、現在の係数値より所定のステッ
プs2だけ小さな係数値に対する誤差E、すなわち、E-
=E(w1,w2,…,wp−s2,…,wk)の3種類の
誤差を算出する。この3点の誤差より、2次関数を推定
し、wpにおける微係数E’pを算出する。
Now, of the k coefficients, the p-th coefficient w
Focusing on p , the error E 0 with respect to the current coefficient value, ie,
E 0 = E (w 1 , w 2 ,..., W p ,..., W k ) and an error E + for a coefficient value larger than the current coefficient value by a predetermined step s 1 , that is, E + = E (w 1, w 2, ..., w p +
s 1 ,..., w k ) and an error E for a coefficient value smaller than the current coefficient value by a predetermined step s 2 , that is, E
= E (w 1 , w 2 ,..., W p −s 2 ,..., W k ) are calculated. Than the error of the three points, to estimate the quadratic function, calculates a differential coefficient E 'p in w p.

【0111】温度tに応じて、微係数E’pが大きけれ
ば高い確率で1(それ以外は0)となる確率変数X
+(E’p;t)と、微係数E’pが小さければ高い確率
で1(それ以外は0)となる確率変数X-(E’p;t)
によって、係数wpを、以下の値によって更新する。こ
こで、確率変数X+とX-は、温度が高いほど不確定的
に、温度が低いほど確定的に微係数の影響を受けるもの
とする。
According to the temperature t, if the differential coefficient E ′ p is large, the probability variable X becomes 1 with high probability (0 otherwise).
+ (E ′ p ; t) and a random variable X (E ′ p ; t) which becomes 1 with a high probability if the derivative E ′ p is small (0 otherwise).
Updates the coefficient w p with the following values. Here, it is assumed that the random variables X + and X - are uncertainly influenced by the differential coefficient as the temperature is higher, and deterministically as the temperature is lower.

【0112】[0112]

【数5】wp←wp+s1・X+(E’p;t)−s2・X-
(E’p;t) この実施例では加算の場合の所定のステップを異なる値
としているが、加算の場合の所定のステップと、減算の
場合の所定のステップは必ずしも異なる値とする必要は
ない。
## EQU5 ## wp ← w p + s 1 .X + (E ′ p ; t) −s 2 .X
(E ′ p ; t) In this embodiment, the predetermined step in the case of addition has a different value, but the predetermined step in the case of addition and the predetermined step in the case of subtraction do not necessarily have to have different values. .

【0113】この操作を各重みwp(p=1,2,…,
k)について適用する。この最適化の操作が1巡した時
点で、この色変換装置の誤差を求め、所定の値以下にな
るか、ほぼ収束する状態、もしくは、所定の回数まで繰
り返す。その際、最小の誤差となった場合には、「最適
な係数」として係数を記録し、前述の所定のステップs
1、s2と温度tに、1よりも大きい所定の値を乗じるこ
とによって、ステップと温度を増加させる。一方、誤差
が最適化を1巡行う前に比較して、増加してしまった場
合には、s1、s2と温度tに1よりも小さい所定の値を
乗じて、ステップと温度をを減少させる。但し各ステッ
プは、最小ステップ以下未満の値とはしない。
This operation is repeated for each weight w p (p = 1, 2,...,
Apply for k). When this optimization operation has completed one round, the error of the color conversion apparatus is obtained, and the error is reduced to a value equal to or less than a predetermined value, substantially converged, or repeated a predetermined number of times. At this time, when the error becomes the minimum, the coefficient is recorded as the “optimal coefficient”, and the above-described predetermined step s is performed.
To 1, s 2 and the temperature t, by multiplying a predetermined value greater than 1 increases the step and temperature. On the other hand, if the error increases before performing one round of optimization, s 1 , s 2 and the temperature t are multiplied by a predetermined value smaller than 1, and the step and the temperature are calculated. Decrease. However, each step is not set to a value smaller than the minimum step.

【0114】以上により、学習が終了した時点で、最終
的に記録された「最適な係数」を出力する。
As described above, when the learning is completed, the finally recorded “optimum coefficient” is output.

【0115】尚、本実施例では3点を取り、2次関数に
より微係数を算出したが、2点以上の点を取れば適宜の
関数によって微係数を定めることができる。
In this embodiment, three points are taken and the differential coefficient is calculated by a quadratic function. However, if two or more points are taken, the differential coefficient can be determined by an appropriate function.

【0116】また、以上では、3点をとっていたが、p
種類の適宜の関数f1(w)、f2(w)…fp(w)を
用いてp種類の係数を算出することができる。
In the above description, three points were obtained.
It is possible to calculate the p type coefficients using different appropriate function f 1 (w), f 2 (w) ... f p (w).

【0117】ここで、例として、p=4の場合、Here, as an example, when p = 4,

【0118】[0118]

【数6】f1(w)=w+1 f2(w)=w+2 f3(w)=w+3 f4(w)=w+4 とすることができる。微係数を算出する場合では、現在
の係数を含む区間でなくても現在の値の微係数を推定す
ることが可能であるから、関数値が現在の係数を含む区
間でなくてもよい。
F 1 (w) = w + 1 f 2 (w) = w + 2 f 3 (w) = w + 3 f 4 (w) = w + 4 When calculating the differential coefficient, since the differential coefficient of the current value can be estimated even in a section that does not include the current coefficient, the function value does not have to be in the section that includes the current coefficient.

【0119】また、別の例として、p=5の場合、As another example, when p = 5,

【0120】[0120]

【数7】f1(w)=floor(w×0.98) f2(w)=floor(w×0.99) f3(w)=w f4(w)=ceil(w/0.99) f5(w)=ceil(w/0.98) としてもよい。ここで、floorは切り捨て、cei
lは切り上げによる丸めである。ここでは、係数の取り
得る離散値に丸める操作の例として切り捨てや切り上げ
を用いて例を示したが、丸める操作は任意の方法を取る
ことができる。
F 1 (w) = floor (w × 0.98) f 2 (w) = floor (w × 0.99) f 3 (w) = w f 4 (w) = ceil (w / 0) .99) f 5 (w) = it may be as ceil (w / 0.98). Where floor is truncated and cei
l is rounding up. Here, as an example of the operation of rounding to a discrete value that can take a coefficient, an example using truncation or round-up has been shown, but the rounding operation can take any method.

【0121】[適用例]つぎに本発明の適用例について
説明する。
[Application Example] Next, an application example of the present invention will be described.

【0122】図6は、本発明のデータ変換装置を利用し
た電子機器を示しており、この図において、電子機器1
00はデータ変換装置110を有している。データ変換
装置110は上述した実施例と同様なものであり、変換
用の係数として離散値をとっている。データ変換装置1
10は係数最適化部111により上述した実施例と同様
な手法で最適化が行われる。
FIG. 6 shows an electronic device using the data conversion apparatus of the present invention.
00 has a data conversion device 110. The data conversion device 110 is the same as the above-described embodiment, and takes a discrete value as a conversion coefficient. Data converter 1
10 is optimized by the coefficient optimizing unit 111 in the same manner as in the above-described embodiment.

【0123】この場合、基準となるデータ変換装置で予
め係数の最適化を行い、これを電子機器100のデータ
変換装置110にインストールするようにしてもよい。
この後、さらに係数最適化部111で最終的な最適化処
理を行うようにしてもよい。
In this case, the coefficient may be optimized in advance by the reference data converter, and the coefficient may be installed in the data converter 110 of the electronic device 100.
Thereafter, the coefficient optimizing unit 111 may further perform a final optimizing process.

【0124】図7は本発明のデータ変換装置を利用した
カラー画像形成装置(カラー複写機やカラー印刷機)を
示しており、この図において、画像形成装置200はデ
ータ変換装置からなる2つの色変換装置210、220
を有している。入力部230から入力された色データは
色変換部210、220で逐次色変換され、出力部24
0に供給され、印刷出力される。この例では色変換装置
210、220の両方もしくは一方において本発明のデ
ータ変換装置の係数最適化を行える。
FIG. 7 shows a color image forming apparatus (color copying machine or color printing machine) using the data conversion apparatus of the present invention. In this figure, an image forming apparatus 200 has two colors of data conversion apparatuses. Conversion devices 210, 220
have. The color data input from the input unit 230 is sequentially color-converted by the color conversion units 210 and 220,
0 and printed out. In this example, both or one of the color conversion devices 210 and 220 can optimize the coefficient of the data conversion device of the present invention.

【0125】図8は、本発明のデータ変換装置を利用し
たロボット装置を示しており、この図において、ロボッ
ト300はデータ変換装置310を備えており、位置入
力部320からの位置入力に応じて姿勢等の制御を行う
ようになっている。誤差検出部330は誤差を検出し、
これに応じてデータ変換装置の係数の最適化が行われ
る。
FIG. 8 shows a robot device using the data conversion device of the present invention. In this figure, the robot 300 has a data conversion device 310 and responds to a position input from a position input section 320. The posture and the like are controlled. The error detection unit 330 detects an error,
Accordingly, the optimization of the coefficients of the data conversion device is performed.

【0126】[0126]

【発明の効果】以上説明したように、本発明によれば、
離散的な値を取る係数を用いてデータの変換を行う場合
であっても、係数の値を簡易かつ安定して学習させるこ
とができる。
As described above, according to the present invention,
Even when data conversion is performed using coefficients having discrete values, the values of the coefficients can be easily and stably learned.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の実施例1の構成を示す図である。FIG. 1 is a diagram illustrating a configuration of a first exemplary embodiment of the present invention.

【図2】 上述実施例の詳細を具体的に説明する図であ
る。
FIG. 2 is a diagram specifically explaining the details of the above embodiment.

【図3】 本発明の実施例2の構成を示す図である。FIG. 3 is a diagram illustrating a configuration of a second exemplary embodiment of the present invention.

【図4】 本発明の実施例3の構成を示す図である。FIG. 4 is a diagram showing a configuration of a third embodiment of the present invention.

【図5】 本発明の実施例4の構成を示す図である。FIG. 5 is a diagram illustrating a configuration of a fourth embodiment of the present invention.

【図6】 本発明の適用例を説明する図である。FIG. 6 is a diagram illustrating an application example of the present invention.

【図7】 本発明の適用例を説明する図である。FIG. 7 is a diagram illustrating an application example of the present invention.

【図8】 本発明の適用例を説明する図である。FIG. 8 is a diagram illustrating an application example of the present invention.

【符号の説明】[Explanation of symbols]

11 入力バッファ 12 データ変換装置 13 出力バッファ 14 理想出力メモリ 15 誤差算出部 16 誤差履歴メモリ 17 乱数分布制御部 18 ステップ制御部 19 係数更新部 100 電子機器 200 カラー画像形成装置 300 ロボット REFERENCE SIGNS LIST 11 input buffer 12 data conversion device 13 output buffer 14 ideal output memory 15 error calculation unit 16 error history memory 17 random number distribution control unit 18 step control unit 19 coefficient update unit 100 electronic device 200 color image forming device 300 robot

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H04N 9/64 H04N 1/46 Z ──────────────────────────────────────────────────の Continued on front page (51) Int.Cl. 6 Identification code FI H04N 9/64 H04N 1/46 Z

Claims (36)

【特許請求の範囲】[Claims] 【請求項1】 離散的な値を取る少なくとも1つの係数
を含むk個の係数に応じてm次元の入力データをn次元
の出力データに変換するデータ変換装置において、 上記離散的な値を取る係数の各々について、現在の係数
値、上記現在の係数値より所定のステップs1だけ大き
な係数値、および上記現在の係数値より所定のステップ
s2だけ小さい係数値のうち少なくとも2つの係数値に
ついて所定の入力データ群に対する出力データ群を算出
する手段と、 上記少なくとも2つの係数値について算出した出力デー
タ群と上記所定の入力データ群に対応する理想出力デー
タ群との誤差が小さいほど高くなる確率で、上記少なく
とも2つの係数値のいずれか1つを新たな係数値として
選択する係数値選択手段とを有することを特徴とする係
数決定装置。
1. A data conversion apparatus for converting m-dimensional input data into n-dimensional output data in accordance with k coefficients including at least one coefficient which takes a discrete value, wherein said discrete value is taken For each of the coefficients, a predetermined coefficient value is determined for at least two of the current coefficient value, a coefficient value larger than the current coefficient value by a predetermined step s1, and a coefficient value smaller than the current coefficient value by a predetermined step s2. Means for calculating an output data group for the input data group, and a probability that the smaller the error between the calculated output data group for the at least two coefficient values and the ideal output data group corresponding to the predetermined input data group is, the higher the probability is; Coefficient value selecting means for selecting any one of the at least two coefficient values as a new coefficient value. .
【請求項2】 上記係数値選択手段は、上記少なくとも
2つの係数値におけるそれぞれの誤差に、所定の分布に
従う乱数をそれぞれ加え、その和の最小値を与える係数
値を選択する手段を有することを特徴とする請求項1記
載の係数決定装置。
2. The apparatus according to claim 1, wherein said coefficient value selecting means includes means for adding a random number according to a predetermined distribution to each error in said at least two coefficient values, and selecting a coefficient value giving a minimum value of the sum. The coefficient determining apparatus according to claim 1, wherein
【請求項3】 上記誤差の大きさに対する上記確率の漸
減の程度、もしくは、上記所定のステップs1とs2
を、もしくはその双方を、誤差の履歴に応じて制御する
手段とを有することを特徴とする請求項1または2記載
の係数決定装置。
3. The degree of the gradual decrease of the probability with respect to the magnitude of the error, or the predetermined steps s1 and s2
3. A coefficient determining apparatus according to claim 1, further comprising: means for controlling (a) or (b) based on an error history.
【請求項4】 上記誤差の大きさに対する上記確率の漸
減の程度を誤差の履歴に応じて制御する手段は、上記所
定の分布を制御する手段によることを特徴とする請求項
3記載の係数決定装置。
4. The coefficient determination method according to claim 3, wherein the means for controlling the degree of the gradual decrease of the probability with respect to the magnitude of the error in accordance with the history of the error is a means for controlling the predetermined distribution. apparatus.
【請求項5】 上記離散的な値を取る少なくとも1つの
係数は、m次元の入力データに対応するm次元の代表点
のテーブルの各代表点ごとに、それぞれn個の出力に相
当する離散値を予め記録し、出力に相当する値を補間す
ることによってn次元の出力を得るデータ変換装置の上
記代表点の出力に相当する値であって、適宜の入力値群
について誤差及び理想出力値群を規定することにより係
数を更新する手段を有すことを特徴とする請求項1、
2、3または4記載の係数決定装置。
5. The at least one coefficient having a discrete value is a discrete value corresponding to n outputs for each representative point in a table of m-dimensional representative points corresponding to m-dimensional input data. Is recorded in advance, and a value corresponding to the output of the representative point of the data conversion apparatus that obtains an n-dimensional output by interpolating a value corresponding to the output. And means for updating the coefficient by defining
The coefficient determination device according to 2, 3, or 4.
【請求項6】 離散的な値を取る少なくとも1つの係数
を含むk個の係数に応じてm次元の入力データをn次元
の出力データに変換するデータ変換手段と、上記離散的
な値を取る係数の各々について、現在の係数値、上記現
在の係数値より所定のステップs1だけ大きな係数値、
および上記現在の係数値より所定のステップs2だけ小
さい係数値のうち少なくとも2つの係数値について所定
の入力データ群に対する出力データ群を算出する手段
と、 上記少なくとも2つの係数値について算出した出力デー
タ群と上記所定の入力データ群に対応する理想出力デー
タ群との誤差が小さいほど高くなる確率で、上記少なく
とも2つの係数値のいずれか1つを新たな係数値として
選択する係数値選択手段とを有することを特徴とするデ
ータ変換装置。
6. A data conversion means for converting m-dimensional input data into n-dimensional output data in accordance with k coefficients including at least one coefficient taking a discrete value, and taking the discrete value For each of the coefficients, a current coefficient value, a coefficient value greater than the current coefficient value by a predetermined step s1,
Means for calculating an output data group for a predetermined input data group for at least two coefficient values among coefficient values smaller than the current coefficient value by a predetermined step s2, and an output data group calculated for the at least two coefficient values And coefficient value selecting means for selecting any one of the at least two coefficient values as a new coefficient value with a probability that the smaller the error between the ideal output data group corresponding to the predetermined input data group and the ideal output data group is, the higher the error becomes. A data conversion device, comprising:
【請求項7】 離散的な値を取る少なくとも1つの係数
を含むk個の係数に応じてm次元の第1の色データをn
次元の第2の色データに変換する色変換手段と、 上記離散的な値を取る係数の各々について、現在の係数
値、上記現在の係数値より所定のステップs1だけ大き
な係数値、および上記現在の係数値より所定のステップ
s2だけ小さい係数値のうち少なくとも2つの係数値に
ついて所定の第1の色データ群に対する第2の色データ
群を算出する手段と、 上記少なくとも2つの係数値について算出した第2の色
データ群と上記所定の第1の色データ群に対応する理想
の第2の色データ群との誤差が小さいほど高くなる確率
で、上記少なくとも2つの係数値のいずれか1つを新た
な係数値として選択する係数値選択手段とを有すること
を特徴とする色変換装置。
7. An m-dimensional first color data is represented by n in accordance with k coefficients including at least one coefficient taking a discrete value.
Color conversion means for converting to a second dimension of color data; a current coefficient value, a coefficient value larger than the current coefficient value by a predetermined step s1 for each of the coefficients having the discrete values, Means for calculating a second color data group for a predetermined first color data group for at least two coefficient values among coefficient values smaller than the coefficient value by a predetermined step s2, and calculating for the at least two coefficient values. With the probability that the smaller the error between the second color data group and the ideal second color data group corresponding to the predetermined first color data group becomes, the higher one of the at least two coefficient values is, A coefficient value selecting means for selecting a new coefficient value.
【請求項8】 上記誤差が色差であることを特徴とする
請求項7記載の色変換装置。
8. The color conversion device according to claim 7, wherein the error is a color difference.
【請求項9】 m次元の第1の色データを受け取る手段
と、 離散的な値を取る少なくとも1つの係数を含むk個の係
数に応じて上記m次元の第1の色データをn次元の第2
の色データに変換する色変換手段と、 上記色変換手段から出力された上記第2の色データに基
づいて所定の出力動作を行う出力手段と、 上記離散的な値を取る係数の各々について、現在の係数
値、上記現在の係数値より所定のステップs1だけ大き
な係数値、および上記現在の係数値より所定のステップ
s2だけ小さい係数値のうち少なくとも2つの係数値に
ついて所定の第1の色データ群に対する第2の色データ
群を算出する手段と、 上記少なくとも2つの係数値について算出した第2の色
データ群と上記所定の第1の色データ群に対応する理想
の第2の色データ群との誤差が小さいほど高くなる確率
で、上記少なくとも2つの係数値のいずれか1つを新た
な係数値として選択する係数値選択手段とを有すること
を特徴とするカラー画像形成装置。
9. A means for receiving m-dimensional first color data; and converting the m-dimensional first color data into n-dimensional data according to k coefficients including at least one coefficient taking a discrete value. Second
Color conversion means for converting into color data; output means for performing a predetermined output operation based on the second color data output from the color conversion means; and for each of the coefficients taking discrete values, Predetermined first color data for at least two of a current coefficient value, a coefficient value larger than the current coefficient value by a predetermined step s1, and a coefficient value smaller than the current coefficient value by a predetermined step s2; Means for calculating a second color data group for a group; a second color data group calculated for the at least two coefficient values; and an ideal second color data group corresponding to the predetermined first color data group A coefficient value selecting means for selecting any one of the at least two coefficient values as a new coefficient value with a probability that the error becomes higher as the error from the color image becomes smaller. Forming apparatus.
【請求項10】 上記出力手段は上記第2の色データを
後続の色変換手段を介して受け取る請求項9記載のカラ
ー画像形成装置。
10. The color image forming apparatus according to claim 9, wherein said output means receives said second color data via a subsequent color conversion means.
【請求項11】 m次元の入力データを受け取る手段
と、 離散的な値を取る少なくとも1つの係数を含むk個の係
数に応じて上記m次元の入力データをn次元の出力デー
タに変換するデータ変換手段と、 上記データ変換手段から出力されたn次元の出力データ
に基づいて所定の出力動作を行う出力手段と、 上記離散的な値を取る係数の各々について、現在の係数
値、上記現在の係数値より所定のステップs1だけ大き
な係数値、および上記現在の係数値より所定のステップ
s2だけ小さい係数値のうち少なくとも2つの係数値に
ついて所定の入力データ群に対する出力データ群を算出
する手段と、 上記少なくとも2つの係数値について算出した出力デー
タ群と上記所定の入力データ群に対応する理想出力デー
タ群との誤差が小さいほど高くなる確率で、上記少なく
とも2つの係数値のいずれか1つを新たな係数値として
選択する係数値選択手段とを有することを特徴とする電
子機器。
11. A means for receiving m-dimensional input data, and data for converting said m-dimensional input data into n-dimensional output data in accordance with k coefficients including at least one coefficient taking a discrete value. Conversion means, output means for performing a predetermined output operation based on the n-dimensional output data output from the data conversion means, for each of the coefficients taking the discrete value, the current coefficient value, the current Means for calculating an output data group with respect to a predetermined input data group for at least two coefficient values among a coefficient value larger than the coefficient value by a predetermined step s1 and a coefficient value smaller than the current coefficient value by a predetermined step s2; The smaller the error between the output data group calculated for the at least two coefficient values and the ideal output data group corresponding to the predetermined input data group, the higher the error. Probability, the electronic device characterized by having a coefficient selecting means for selecting one of the at least two coefficient values as a new coefficient value that.
【請求項12】 離散的な値を取る少なくとも1つの係
数を含むk個の係数に応じてm次元の入力データをn次
元の出力データに変換するデータ変換装置において、 上記離散的な値を取る係数の各々について、現在の係数
値を含む適宜の区間中のp種類の係数値について出力デ
ータ群を算出する手段と、 上記p種類の係数値について算出した出力データ群と上
記所定の入力データ群に対応する理想出力データ群との
誤差を算出し、p種類の誤差を得る算出手段と、 上記p種類の誤差から、上記現在の係数値において微分
可能な、係数値から誤差への所定の関数を想定し、現在
の係数値における微係数を算出する微係数算出手段と、 上記微係数に基づいて、確率的ないしは確定的に係数を
更新する係数値更新手段とを有することを特徴とする係
数決定装置。
12. A data conversion device for converting m-dimensional input data into n-dimensional output data in accordance with k coefficients including at least one coefficient taking a discrete value, wherein said discrete value is taken. Means for calculating, for each of the coefficients, an output data group for p types of coefficient values in an appropriate section including the current coefficient value; an output data group calculated for the p types of coefficient values; and the predetermined input data group Calculating means for calculating an error from an ideal output data group corresponding to the above, and obtaining p kinds of errors; and a predetermined function from the p kinds of errors, which can be differentiated in the current coefficient value, from a coefficient value to an error. And differential coefficient calculating means for calculating a differential coefficient in a current coefficient value, and coefficient value updating means for stochastically or deterministically updating the coefficient based on the differential coefficient. Number determining device.
【請求項13】 現在の係数値、現在の係数値に所定の
ステップs1を加えた係数値、及び、現在の係数値から
所定のステップs2を減じた係数値のうち少なくとも1
つが上記p種類の係数に含まれることを特徴とする請求
項12の係数決定装置。
13. At least one of a current coefficient value, a coefficient value obtained by adding a predetermined step s1 to the current coefficient value, and a coefficient value obtained by subtracting a predetermined step s2 from the current coefficient value.
13. The coefficient determining apparatus according to claim 12, wherein one of the coefficients is included in the p kinds of coefficients.
【請求項14】 上記微係数の大きさに対する上記確率
の漸減の程度および上記所定のステップs1とs2の一
方または双方を、誤差の履歴に応じて制御する手段とを
有することを特徴とする請求項12または13記載の係
数決定装置。
14. A method for controlling a degree of a gradual decrease of the probability with respect to a magnitude of the derivative and one or both of the predetermined steps s1 and s2 in accordance with an error history. Item 14. The coefficient determination device according to item 12 or 13.
【請求項15】 上記離散的な値を取る少なくとも1つ
の係数は、m次元の入力データに対応するm次元の代表
点のテーブルの各代表点ごとに、それぞれn個の出力に
相当する離散値を予め記録し、出力に相当する値を補間
することによってn次元の出力を得るデータ変換装置の
上記代表点の出力に相当する値であって、適宜の入力値
群について誤差及び理想出力値群を規定することにより
係数を更新する手段を有すことを特徴とする請求項1
2、13また14記載の係数決定装置。
15. The at least one coefficient taking a discrete value is a discrete value corresponding to n outputs for each representative point in a table of m-dimensional representative points corresponding to m-dimensional input data. Is recorded in advance, and a value corresponding to the output of the representative point of the data conversion apparatus that obtains an n-dimensional output by interpolating a value corresponding to the output. 2. A means for updating a coefficient by defining the following.
The coefficient determining apparatus according to 2, 13, or 14.
【請求項16】 離散的な値を取る少なくとも1つの係
数を含むk個の係数に応じてm次元の入力データをn次
元の出力データに変換するデータ変換手段と、 上記離散的な値を取る係数の各々について、現在の係数
値を含む適宜の区間中のp種類の係数値について出力デ
ータ群を算出する手段と、 上記p種類の係数値について算出した出力データ群と上
記所定の入力データ群に対応する理想出力データ群との
誤差を算出し、p種類の誤差を得る算出手段と、 上記p種類の誤差から、上記現在の係数値において微分
可能な適宜の計数値から誤差への関数を想定し、現在の
係数値における微係数を算出する微係数算出手段と、 上記微係数に基づいて、確率的ないしは確定的に係数を
更新する係数値更新手段とを有することを特徴とするデ
ータ変換装置。
16. Data conversion means for converting m-dimensional input data into n-dimensional output data according to k coefficients including at least one coefficient taking a discrete value, and taking the discrete value Means for calculating, for each of the coefficients, an output data group for p types of coefficient values in an appropriate section including the current coefficient value; an output data group calculated for the p types of coefficient values; and the predetermined input data group Calculating means for calculating an error from an ideal output data group corresponding to the above, and obtaining p kinds of errors; and calculating a function from an appropriate count value differentiable in the current coefficient value to the error from the p kinds of errors. A data transformation method comprising: a differential coefficient calculating means for calculating a differential coefficient at an assumed and current coefficient value; and a coefficient value updating means for stochastically or deterministically updating the coefficient based on the differential coefficient. Apparatus.
【請求項17】 離散的な値を取る少なくとも1つの係
数を含むk個の係数に応じてm次元の第1の色データを
n次元の第2の色データに変換する色変換手段と、 上記離散的な値を取る係数の各々について、現在の係数
値を含む適宜の区間中のp種類の係数値について第2の
色データ群を算出する手段と、 上記p種類の係数値について算出した第2の色データ群
と上記所定の第1の色データ群に対応する理想の第2の
色データ群との誤差を算出し、p種類の誤差を得る算出
手段と、 上記p種類の誤差から、上記現在の係数値において微分
可能な、係数値から誤差への所定の関数を想定し、現在
の係数値における微係数を算出する微係数算出手段と、 上記微係数に基づいて、確率的ないしは確定的に係数を
更新する係数値更新手段とを有することを特徴とする色
変換装置。
17. Color conversion means for converting m-dimensional first color data into n-dimensional second color data in accordance with k coefficients including at least one coefficient having a discrete value, Means for calculating a second color data group for p kinds of coefficient values in an appropriate section including the current coefficient value for each of the coefficients having discrete values, Calculating means for calculating an error between the second color data group and an ideal second color data group corresponding to the predetermined first color data group to obtain p kinds of errors; A differential coefficient calculating means for calculating a differential coefficient at the current coefficient value, assuming a predetermined function from the coefficient value to an error, which is differentiable at the current coefficient value; and Coefficient value updating means for periodically updating the coefficient The color conversion apparatus according to claim and.
【請求項18】 上記誤差が色差であることを特徴とす
る請求項17記載の色変換装置。
18. The color conversion apparatus according to claim 17, wherein said error is a color difference.
【請求項19】 m次元の第1の色データを受け取る手
段と、 離散的な値を取る少なくとも1つの係数を含むk個の係
数に応じて上記m次元の第1の色データをn次元の第2
の色データに変換する色変換手段と、 上記色変換手段から出力された上記第2の色データに基
づいて所定の出力動作を行う出力手段と、 上記離散的な値を取る係数の各々について、現在の係数
値を含む適宜の区間中のp種類の係数値について第2の
色データ群を算出する手段と、 上記p種類の係数値について算出した第2の色データ群
と上記所定の第1の色データ群に対応する理想の第2の
色データ群との誤差を算出し、p種類の誤差を得る算出
手段と、 上記p種類の誤差から、上記現在の係数値において微分
可能な、係数値から誤差への所定の関数を想定し、現在
の係数値における微係数を算出する微係数算出手段と、 上記微係数に基づいて、確率的ないしは確定的に係数を
更新する係数値更新手段とを有することを特徴とするカ
ラー画像形成装置。
19. means for receiving m-dimensional first color data; and converting the m-dimensional first color data into n-dimensional data according to k coefficients including at least one coefficient taking discrete values. Second
Color conversion means for converting into color data; output means for performing a predetermined output operation based on the second color data output from the color conversion means; and for each of the coefficients taking discrete values, Means for calculating a second color data group for p kinds of coefficient values in an appropriate section including the current coefficient value; a second color data group calculated for the p kinds of coefficient values; Calculating means for calculating an error from an ideal second color data group corresponding to the color data group of the above, and obtaining p kinds of errors; Assuming a predetermined function from a numerical value to an error, a differential coefficient calculating means for calculating a differential coefficient at the current coefficient value, and a coefficient value updating means for stochastically or deterministically updating the coefficient based on the differential coefficient. A color characterized by having Image forming apparatus.
【請求項20】 上記出力手段は上記第2の色データを
後続の色変換手段を介して受け取る請求項19記載のカ
ラー画像形成装置。
20. The color image forming apparatus according to claim 19, wherein said output means receives said second color data via a subsequent color conversion means.
【請求項21】 m次元の入力データを受け取る手段
と、 離散的な値を取る少なくとも1つの係数を含むk個の係
数に応じて上記m次元の入力データをn次元の出力デー
タに変換するデータ変換手段と、 上記データ変換手段から出力されたn次元の出力データ
に基づいて所定の出力動作を行う出力手段と、 上記離散的な値を取る係数の各々について、現在の係数
値を含む適宜の区間中のp種類の係数値について出力デ
ータ群を算出する手段と、 上記p種類の係数値について算出した出力データ群と上
記所定の入力データ群に対応する理想出力データ群との
誤差を算出し、p種類の誤差を得る算出手段と、 上記p種類の誤差から、上記現在の係数値において微分
可能な、係数値から誤差への所定の関数を想定し、現在
の係数値における微係数を算出する微係数算出手段と、 上記微係数に基づいて、確率的ないしは確定的に係数を
更新する係数値更新手段とを有することを特徴とする電
子機器。
21. A means for receiving m-dimensional input data, and data for converting said m-dimensional input data into n-dimensional output data in accordance with k coefficients including at least one coefficient taking a discrete value. Conversion means, output means for performing a predetermined output operation based on the n-dimensional output data output from the data conversion means, and appropriate coefficients including a current coefficient value for each of the coefficients having discrete values. Means for calculating an output data group for p kinds of coefficient values in the section; calculating an error between the output data group calculated for the p kinds of coefficient values and an ideal output data group corresponding to the predetermined input data group , Calculating means for obtaining p kinds of errors, and assuming a predetermined function from the coefficient values to the errors that can be differentiated in the current coefficient values from the p kinds of errors, A differential coefficient calculating means for calculating, based on the differential coefficient, the electronic device characterized by having a coefficient updating means for updating the probabilistic or deterministic manner coefficient.
【請求項22】 離散的な結合係数、あるいは、離散的
な閾値、あるいはその双方を少なくとも1つ含むk個の
係数をもつニューラルネットワークにおいて、 上記離散的な値を取る係数の各々について、現在の係数
値、上記現在の係数値より所定のステップs1だけ大き
な係数値、および上記現在の係数値より所定のステップ
s2だけ小さい係数値のうち少なくとも2つの係数値に
ついて所定の入力データ群に対する出力データ群を算出
する手段と、 上記少なくとも2つの係数値について算出した出力デー
タ群と上記所定の入力データ群に対応する理想出力デー
タ群との誤差が小さいほど高くなる確率で、上記少なく
とも2つの係数値のいずれか1つを新たな係数値として
選択する係数値選択手段とを有することを特徴とするニ
ューラルネットワークの係数決定装置。
22. In a neural network having k coefficients including at least one discrete coupling coefficient or a discrete threshold value, or both, a current value of each of the discrete value coefficients is determined by a current value. An output data group corresponding to a predetermined input data group for at least two of a coefficient value, a coefficient value larger than the current coefficient value by a predetermined step s1 and a coefficient value smaller than the current coefficient value by a predetermined step s2 Means for calculating the at least two coefficient values with a probability that the smaller the error between the output data group calculated for the at least two coefficient values and the ideal output data group corresponding to the predetermined input data group is, the higher the error is. A coefficient value selecting means for selecting any one as a new coefficient value. Coefficient determining apparatus of the work.
【請求項23】 離散的な結合係数、あるいは、離散的
な閾値、あるいはその双方を少なくとも1つ含むk個の
係数をもつニューラルネットワークと、 上記離散的な値を取る係数の各々について、現在の係数
値、上記現在の係数値より所定のステップs1だけ大き
な係数値、および上記現在の係数値より所定のステップ
s2だけ小さい係数値のうち少なくとも2つの係数値に
ついて所定の入力データ群に対する出力データ群を算出
する手段と、 上記少なくとも2つの係数値について算出した出力デー
タ群と上記所定の入力データ群に対応する理想出力デー
タ群との誤差が小さいほど高くなる確率で、上記少なく
とも2つの係数値のいずれか1つを新たな係数値として
選択する係数値選択手段とを有することを特徴とするデ
ータ変換装置。
23. A neural network having k coefficients including at least one discrete combination coefficient or a discrete threshold value, or both, and a current value of each of the discrete value coefficients. An output data group corresponding to a predetermined input data group for at least two of a coefficient value, a coefficient value larger than the current coefficient value by a predetermined step s1 and a coefficient value smaller than the current coefficient value by a predetermined step s2 Means for calculating the at least two coefficient values with a probability that the smaller the error between the output data group calculated for the at least two coefficient values and the ideal output data group corresponding to the predetermined input data group is, the higher the error is. A coefficient value selecting unit for selecting any one as a new coefficient value.
【請求項24】 離散的な結合係数、あるいは、離散的
な閾値、あるいはその双方を少なくとも1つ含むk個の
係数をもつニューラルネットワークにおいて、 上記離散的な値を取る係数の各々について、現在の係数
値を含む適宜の区間中のp種類の係数値について出力デ
ータ群を算出する手段と、 上記p種類の係数値について算出した出力データ群と上
記所定の入力データ群に対応する理想出力データ群との
誤差を算出し、p種類の誤差を得る算出手段と、 上記p種類の誤差から、上記現在の係数値において微分
可能な、係数値から誤差への所定の関数を想定し、現在
の係数値における微係数を算出する微係数算出手段と、 上記微係数に基づいて、確率的ないしは確定的に係数を
更新する係数値更新手段とを有することを特徴とするニ
ューラルネットワークの係数決定装置。
24. In a neural network having k coefficients including at least one discrete combination coefficient or a discrete threshold value or both, a current value of each of the discrete value coefficients is determined by a current value. Means for calculating an output data group for p kinds of coefficient values in an appropriate section including a coefficient value; an output data group calculated for the p kinds of coefficient values and an ideal output data group corresponding to the predetermined input data group Calculation means for calculating an error with respect to the current coefficient value, and a predetermined function which is differentiable in the current coefficient value from the p type error and which is assumed to be a function from the coefficient value to the error. A differential coefficient calculating means for calculating a differential coefficient in a numerical value; and a coefficient value updating means for stochastically or deterministically updating the coefficient based on the differential coefficient. Coefficient determiner Le networks.
【請求項25】 離散的な結合係数、あるいは、離散的
な閾値、あるいはその双方を少なくとも1つ含むk個の
係数をもつニューラルネットワークと、 上記離散的な値を取る係数の各々について、現在の係数
値を含む適宜の区間中のp種類の係数値について出力デ
ータ群を算出する手段と、 上記p種類の係数値について算出した出力データ群と上
記所定の入力データ群に対応する理想出力データ群との
誤差を算出し、p種類の誤差を得る算出手段と、 上記p種類の誤差から、上記現在の係数値において微分
可能な、係数値から誤差への所定の関数を想定し、現在
の係数値における微係数を算出する微係数算出 手段と、上記微係数に基づいて、確率的ないしは確定的
に係数を更新する係数値更新手段とを有することを特徴
とするニューラルネットワークの係数決定装置およびニ
ューラルネットワークによるデータ変換装置。
25. A neural network having k coefficients including at least one discrete combination coefficient or a discrete threshold value or both, and a current value of each of the discrete value coefficients. Means for calculating an output data group for p kinds of coefficient values in an appropriate section including a coefficient value; an output data group calculated for the p kinds of coefficient values and an ideal output data group corresponding to the predetermined input data group Calculation means for calculating an error with respect to the current coefficient value, and a predetermined function which is differentiable in the current coefficient value from the p type error and which is assumed to be a function from the coefficient value to the error. A neural network comprising: differential coefficient calculating means for calculating a differential coefficient in a numerical value; and coefficient value updating means for stochastically or deterministically updating the coefficient based on the differential coefficient. Coefficient determining device and a neural network data conversion device according to the network.
【請求項26】 離散的な値を取る少なくとも1つの係
数を含むk個の係数に応じてm次元の入力データをn次
元の出力データに変換するデータ変換装置において、 上記離散的な値を取る係数の各々について、現在の係数
値、上記現在の係数値より所定のステップs1だけ大き
な係数値、および上記現在の係数値より所定のステップ
s2だけ小さい係数値のうち少なくとも2つの係数値に
ついて所定の入力データ群に対する出力データ群を算出
する手段と、 上記少なくとも2つの係数値について算出した出力デー
タ群と上記所定の入力データ群に対応する理想出力デー
タ群との誤差が小さいほど高くなる確率で、上記少なく
とも2つの係数値のいずれか1つを新たな係数値として
選択する係数値選択手段と、 上記離散的な値を取る係数の各々について、現在の係数
値を含む適宜の区間中のp種類の係数値について出力デ
ータ群を算出する手段と、 上記p種類の係数値について算出した出力データ群と上
記所定の入力データ群に対応する理想出力データ群との
誤差を算出し、p種類の誤差を得る算出手段と、 上記p種類の誤差から、上記現在の係数値において微分
可能な、係数値から誤差への所定の関数を想定し、現在
の係数値における微係数を算出する微係数算出手段と、 上記微係数に基づいて、確率的ないしは確定的に係数を
更新する係数値更新手段とを有し、 上記係数値選択手段による係数値の選択を1回以上実行
した後、上記係数値更新手段による係数値の更新を1回
以上実行する係数決定装置。
26. A data conversion device for converting m-dimensional input data into n-dimensional output data in accordance with k coefficients including at least one coefficient that takes a discrete value, wherein said discrete value is taken For each of the coefficients, a predetermined coefficient value is determined for at least two of the current coefficient value, a coefficient value larger than the current coefficient value by a predetermined step s1, and a coefficient value smaller than the current coefficient value by a predetermined step s2. Means for calculating an output data group for the input data group, and a probability that the smaller the error between the calculated output data group for the at least two coefficient values and the ideal output data group corresponding to the predetermined input data group is, the higher the probability is; Coefficient value selecting means for selecting any one of the at least two coefficient values as a new coefficient value, and each of the coefficients taking the discrete values Means for calculating an output data group for p kinds of coefficient values in an appropriate section including the current coefficient value; and for the output data group calculated for the p kinds of coefficient values and the predetermined input data group. Calculation means for calculating an error from the ideal output data group to obtain p kinds of errors, and assuming a predetermined function which can be differentiated in the current coefficient value from the p kinds of errors and which is differentiable from the coefficient value to the error. A differential coefficient calculating means for calculating a differential coefficient in a current coefficient value; and a coefficient value updating means for stochastically or deterministically updating the coefficient based on the differential coefficient. A coefficient determination device that executes updating of a coefficient value by the coefficient value updating unit one or more times after executing a numerical value selection at least once.
【請求項27】 離散的な値を取る少なくとも1つの係
数を含むk個の係数に応じてm次元の入力データをn次
元の出力データに変換するデータ変換装置において上記
係数値を決定する方法において、 上記離散的な値を取る係数の各々について、現在の係数
値、上記現在の係数値より所定のステップs1だけ大き
な係数値、および上記現在の係数値より所定のステップ
s2だけ小さい係数値のうち少なくとも2つの係数値に
ついて所定の入力データ群に対する出力データ群を算出
するステップと、 上記少なくとも2つの係数値について算出した出力デー
タ群と上記所定の入力データ群に対応する理想出力デー
タ群との誤差が小さいほど高くなる確率で、上記少なく
とも2つの係数値のいずれか1つを新たな係数値として
選択するステップとを有することを特徴とする係数決定
方法。
27. A method for determining a coefficient value in a data conversion device for converting m-dimensional input data into n-dimensional output data in accordance with k coefficients including at least one coefficient taking a discrete value. For each of the coefficients having discrete values, a current coefficient value, a coefficient value larger than the current coefficient value by a predetermined step s1, and a coefficient value smaller than the current coefficient value by a predetermined step s2 Calculating an output data group for a predetermined input data group for at least two coefficient values; and an error between the output data group calculated for the at least two coefficient values and an ideal output data group corresponding to the predetermined input data group Selecting one of the at least two coefficient values as a new coefficient value with a probability that the smaller the Coefficient determination method characterized by.
【請求項28】 離散的な値を取る少なくとも1つの係
数を含むk個の係数に応じてm次元の入力データをn次
元の出力データに変換するデータ変換装置において上記
係数値を決定する方法において、 上記離散的な値を取る係数の各々について、現在の係数
値を含む適宜の区間中のp種類の係数値について出力デ
ータ群を算出するステップと、 上記p種類の係数値について算出した出力データ群と上
記所定の入力データ群に対応する理想出力データ群との
誤差を算出し、p種類の誤差を得る算出手段と、 上記p種類の誤差から、上記現在の係数値において微分
可能な、係数値から誤差への所定の関数を想定し、現在
の係数値における微係数を算出するステップと、 上記微係数に基づいて、確率的ないしは確定的に係数を
更新するステップとを有することを特徴とする係数決定
方法。
28. A method for determining a coefficient value in a data conversion device for converting m-dimensional input data into n-dimensional output data in accordance with k coefficients including at least one coefficient having a discrete value. Calculating, for each of the coefficients having discrete values, an output data group for p types of coefficient values in an appropriate section including the current coefficient value; and output data calculated for the p types of coefficient values. Calculating means for calculating an error between a group and an ideal output data group corresponding to the predetermined input data group to obtain p kinds of errors; and a differential means capable of differentiating the current coefficient value from the p kinds of errors. Assuming a predetermined function from a numerical value to an error, calculating a differential coefficient at the current coefficient value; and, based on the differential coefficient, stochastically or deterministically updating the coefficient. Coefficient determination method characterized by comprising.
【請求項29】 離散的な値を取る少なくとも1つの係
数を含むk個の係数に応じてm次元の入力データをn次
元の出力データに変換するデータ変換装置において上記
係数値を決定する方法において、 上記離散的な値を取る係数の各々について、現在の係数
値、上記現在の係数値より所定のステップs1だけ大き
な係数値、および上記現在の係数値より所定のステップ
s2だけ小さい係数値のうち少なくとも2つの係数値に
ついて所定の入力データ群に対する出力データ群を算出
するステップと、 上記少なくとも2つの係数値について算出した出力デー
タ群と上記所定の入力データ群に対応する理想出力デー
タ群との誤差が小さいほど高くなる確率で、上記少なく
とも2つの係数値のいずれか1つを新たな係数値として
選択するステップと、 上記新たな係数値が選択された後、上記離散的な値を取
る係数の各々について、現在の係数値を含む適宜の区間
中のp種類の係数値について出力データ群を算出するス
テップと、 上記p種類の係数値について算出した出力データ群と上
記所定の入力データ群に対応する理想出力データ群との
誤差を算出し、p種類の誤差を得る算出手段と、 上記p種類の誤差から、上記現在の係数値において微分
可能な、係数値から誤差への所定の関数を想定し、現在
の係数値における微係数を算出するステップと、 上記微係数に基づいて、確率的ないしは確定的に係数を
更新するステップとを有し、 上記係数値の選択を1回以上実行した後、上記係数値の
更新を1回以上実行するすることを特徴とする係数決定
方法。
29. A method for determining a coefficient value in a data conversion device for converting m-dimensional input data into n-dimensional output data according to k coefficients including at least one coefficient taking a discrete value. For each of the coefficients having discrete values, a current coefficient value, a coefficient value larger than the current coefficient value by a predetermined step s1, and a coefficient value smaller than the current coefficient value by a predetermined step s2 Calculating an output data group for a predetermined input data group for at least two coefficient values; and an error between the output data group calculated for the at least two coefficient values and an ideal output data group corresponding to the predetermined input data group Selecting one of the at least two coefficient values as a new coefficient value with a probability that the smaller the is, After the new coefficient value is selected, for each of the coefficients taking the discrete values, calculating an output data group for p kinds of coefficient values in an appropriate section including the current coefficient value; calculating means for calculating an error between an output data group calculated for p kinds of coefficient values and an ideal output data group corresponding to the predetermined input data group to obtain p kinds of errors; Assuming a predetermined function from the coefficient value to the error that is differentiable in the current coefficient value, calculating a differential coefficient in the current coefficient value, based on the differential coefficient, stochastically or deterministically calculating the coefficient. Updating the coefficient value one or more times, and then performing the update of the coefficient value one or more times.
【請求項30】 離散的な値を取る少なくとも1つの係
数を含むk個の係数に応じてm次元の入力データをn次
元の出力データに変換するデータ変換装置において上記
係数値を設定する方法において、 上記データ変換装置本体と同等な機能を有する標準デー
タ変換装置において、上記離散的な値を取る係数の各々
について、現在の係数値、上記現在の係数値より所定の
ステップs1だけ大きな係数値、および上記現在の係数
値より所定のステップs2だけ小さい係数値のうち少な
くとも2つの係数値について所定の入力データ群に対す
る出力データ群を算出するステップと、 上記少なくとも2つの係数値について算出した出力デー
タ群と上記所定の入力データ群に対応する理想出力デー
タ群との誤差が小さいほど高くなる確率で、上記少なく
とも2つの係数値のいずれか1つを新たな係数値として
選択するステップと、 選択した係数を上記データ変換装置本体の係数として設
定するステップとを有することを特徴とする係数設定方
法。
30. A method for setting a coefficient value in a data conversion device for converting m-dimensional input data into n-dimensional output data in accordance with k coefficients including at least one coefficient taking a discrete value. In a standard data conversion device having a function equivalent to that of the data conversion device main body, for each of the coefficients having the discrete values, a current coefficient value, a coefficient value larger than the current coefficient value by a predetermined step s1, And calculating an output data group for a predetermined input data group with respect to at least two coefficient values among coefficient values smaller than the current coefficient value by a predetermined step s2; and an output data group calculated for the at least two coefficient values. And the probability that the smaller the difference between the ideal output data group corresponding to the predetermined input data group and the ideal output data group becomes, Coefficient setting method characterized by also comprising the steps of selecting one of the two coefficient values as a new coefficient value, and setting the selected coefficient as the coefficient of the data conversion apparatus.
【請求項31】 離散的な値を取る少なくとも1つの係
数を含むk個の係数に応じてm次元の入力データをn次
元の出力データに変換するデータ変換装置において上記
係数値を設定する方法において、 上記データ変換装置本体と同等のデータ変換機能を有す
る基準データ変換装置において、上記離散的な値を取る
係数の各々について、現在の係数値を含む適宜の区間中
のp種類の係数値について出力データ群を算出するステ
ップと、 上記p種類の係数値について算出した出力データ群と上
記所定の入力データ群に対応する理想出力データ群との
誤差を算出し、p種類の誤差を得る算出手段と、 上記p種類の誤差から、上記現在の係数値において微分
可能な、係数値から誤差への所定の関数を想定し、現在
の係数値における微係数を算出するステップと、 上記微係数に基づいて、確率的ないしは確定的に係数を
更新するステップと、 更新した係数を上記データ変換装置本体の係数として設
定するステップとを有することを特徴とする係数設定方
法。
31. A method for setting a coefficient value in a data conversion device for converting m-dimensional input data into n-dimensional output data in accordance with k coefficients including at least one coefficient taking a discrete value. In a reference data conversion device having a data conversion function equivalent to that of the data conversion device body, for each of the coefficients having discrete values, output is performed for p types of coefficient values in an appropriate section including a current coefficient value. Calculating a data group; calculating an error between the output data group calculated for the p kinds of coefficient values and an ideal output data group corresponding to the predetermined input data group to obtain p kinds of errors; From the p kinds of errors, assuming a predetermined function from the coefficient value to the error, which is differentiable in the current coefficient value, calculating a differential coefficient in the current coefficient value. A coefficient setting method, comprising: a step; a step of stochastically or deterministically updating a coefficient based on the differential coefficient; and a step of setting the updated coefficient as a coefficient of the data conversion device main body.
【請求項32】 離散的な値を取る少なくとも1つの係
数を含むk個の係数に応じてm次元の入力データをn次
元の出力データに変換するデータ変換装置において、 上記離散的な値を取る係数のうち、少なくとも1つ以上
について、現在の係数値にp種類の所定の関数を施すこ
とによりp種類の係数値を算出する係数算出手段と、 上記係数算出手段により与えられるp種類の係数値につ
いて上記所定の入力に対応する出力データ群を算出する
出力データ算出手段と、 上記出力データ群と、上記所定の入力に対応する理想出
力データ群との誤差を算出し、p種類の誤差を得る誤差
算出手段と、 上記p種類の誤差から、上記現在の係数値において、微
分可能な、係数値から誤差への所定の関数を想定し、現
在の係数値における微係数を算出する微係数算出手段と
を有することを特徴とする係数決定装置。
32. A data conversion apparatus for converting m-dimensional input data into n-dimensional output data in accordance with k coefficients including at least one coefficient which takes a discrete value, wherein said discrete value is taken Coefficient calculating means for calculating p kinds of coefficient values by applying p kinds of predetermined functions to the current coefficient values for at least one of the coefficients, and p kinds of coefficient values given by the coefficient calculating means Output data calculating means for calculating an output data group corresponding to the predetermined input; calculating an error between the output data group and an ideal output data group corresponding to the predetermined input to obtain p kinds of errors Error calculating means, calculating a differential coefficient in the current coefficient value from the p kinds of errors, assuming a predetermined function that is differentiable in the current coefficient value and from the coefficient value to the error. Coefficient determination apparatus characterized by having a coefficient calculating means.
【請求項33】 離散的な値を取る少なくとも1つの係
数を含むk個の係数に応じてm次元の入力データをn次
元の出力データに変換するデータ変換装置において、 上記離散的な値を取る係数のうち、少なくとも1つ以上
について、現在の係数値にp種類の所定の関数を施すこ
とによりp種類の係数値を算出する係数算出手段と、 上記係数算出手段により与えられるp種類の係数値につ
いて上記所定の入力に対応する出力データ群を算出する
出力データ算出手段と、 上記出力データ群と、上記所定の入力に対応する理想出
力データ群との誤差を算出し、p種類の誤差を得る誤差
算出手段と、 上記p種類の誤差から、上記現在の係数値において、微
分可能な、係数値から誤差への所定の関数を想定し、現
在の係数値における微係数を算出する微係数算出手段
と、 上記係数に基づいて、確率的ないし確定的に係数を更新
する係数値更新手段とを有することを特徴とする係数決
定装置。
33. A data conversion device for converting m-dimensional input data into n-dimensional output data in accordance with k coefficients including at least one coefficient that takes a discrete value, wherein said discrete value is taken. Coefficient calculating means for calculating p kinds of coefficient values by applying p kinds of predetermined functions to the current coefficient values for at least one of the coefficients, and p kinds of coefficient values given by the coefficient calculating means Output data calculating means for calculating an output data group corresponding to the predetermined input; calculating an error between the output data group and an ideal output data group corresponding to the predetermined input to obtain p kinds of errors Error calculating means, calculating a differential coefficient in the current coefficient value from the p kinds of errors, assuming a predetermined function that is differentiable in the current coefficient value and from the coefficient value to the error. A coefficient calculating means, based on the coefficient, the coefficient determination apparatus characterized by having a coefficient updating means for updating the probabilistic or deterministic manner coefficient.
【請求項34】 上記pの個数および、上記所定のp種
類の関数を、誤差の履歴に応じて制御する手段を有する
ことを特徴とする請求項32または33記載の係数決定
装置。
34. The coefficient determining apparatus according to claim 32, further comprising means for controlling the number of said p and said predetermined p kinds of functions according to an error history.
【請求項35】 上記所定の関数は、適宜の離散値を、
現在の係数値に加えて関数値とすることを特徴とする請
求項32、33または34記載の係数決定装置。
35. The predetermined function is a method in which an appropriate discrete value is
35. The coefficient determining apparatus according to claim 32, wherein the coefficient value is a function value in addition to the current coefficient value.
【請求項36】 上記所定の関数は、適宜の値を、現在
の係数値に乗じて、もしくは、現在の係数値を適宜の値
で除して、その結果の積または商を離散値に丸めた値を
関数値とすることを特徴とする請求項32、33または
34記載の係数決定装置。
36. The predetermined function multiplies an appropriate value by a current coefficient value, or divides the current coefficient value by an appropriate value, and rounds the resulting product or quotient to a discrete value. 35. The coefficient determining apparatus according to claim 32, wherein the calculated value is a function value.
JP30408097A 1996-11-07 1997-11-06 Data conversion device and coefficient determination device thereof Expired - Fee Related JP3817866B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30408097A JP3817866B2 (en) 1996-11-07 1997-11-06 Data conversion device and coefficient determination device thereof

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP29527896 1996-11-07
JP8-295278 1996-11-07
JP30408097A JP3817866B2 (en) 1996-11-07 1997-11-06 Data conversion device and coefficient determination device thereof

Publications (2)

Publication Number Publication Date
JPH10191091A true JPH10191091A (en) 1998-07-21
JP3817866B2 JP3817866B2 (en) 2006-09-06

Family

ID=26560192

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30408097A Expired - Fee Related JP3817866B2 (en) 1996-11-07 1997-11-06 Data conversion device and coefficient determination device thereof

Country Status (1)

Country Link
JP (1) JP3817866B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021500670A (en) * 2017-10-23 2021-01-07 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツングRobert Bosch Gmbh Methods, devices and computer programs for creating deep neural networks

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021500670A (en) * 2017-10-23 2021-01-07 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツングRobert Bosch Gmbh Methods, devices and computer programs for creating deep neural networks
US11531888B2 (en) 2017-10-23 2022-12-20 Robert Bosch Gmbh Method, device and computer program for creating a deep neural network

Also Published As

Publication number Publication date
JP3817866B2 (en) 2006-09-06

Similar Documents

Publication Publication Date Title
JP3714701B2 (en) Color conversion method
JP4595734B2 (en) Profile creation method, profile creation device, profile creation program, print control method, print control device, and print control program
JP3743247B2 (en) Prediction device using neural network
JP2017201758A (en) Image processing apparatus, image processing method, and program
CN111758104B (en) Neural network parameter optimization method and neural network calculation method and device suitable for hardware implementation
CN110475043B (en) Method for converting CMYK to Lab color space
US20210097397A1 (en) Information processing apparatus and information processing method
JP2002010096A (en) Color processing method, storage medium, color processor and image forming equipment
JP2019133626A (en) Information processing method and information processing system
US6172776B1 (en) Method and apparatus for processing a color image
JP5699608B2 (en) Image processing apparatus, image processing method, and image processing program
JP2952489B2 (en) Image recording device
JPH10191091A (en) Data converter and its coefficient decision device
KR101987475B1 (en) Neural network parameter optimization method, neural network computing method and apparatus thereof suitable for hardware implementation
US6304863B1 (en) Data converting apparatus and coefficient determining apparatus for use therewith
JP2000050090A (en) Estimating method for measured color value on color batch, generating method for device profile using the same and picture processor
JP2002010095A (en) Color image processing method and color image processor
Tominaga Color control of printers by neural networks
JP3782244B2 (en) Color conversion coefficient determination device
JP5700206B2 (en) Color processing apparatus and color processing program
JPH08221378A (en) Learning machine
JP2855938B2 (en) Color imaging equipment
JPH1169182A (en) Color correction method and color correction device
CN112653572A (en) Interactive multi-model approximate state estimation method for UDP-like system
JP2004228921A (en) Color conversion method, color conversion apparatus and color conversion program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051220

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060220

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060523

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060605

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100623

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110623

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110623

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees