Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4591785B2 - Signal processing device - Google Patents
[go: Go Back, main page]

JP4591785B2 - Signal processing device - Google Patents

Signal processing device Download PDF

Info

Publication number
JP4591785B2
JP4591785B2 JP2007026198A JP2007026198A JP4591785B2 JP 4591785 B2 JP4591785 B2 JP 4591785B2 JP 2007026198 A JP2007026198 A JP 2007026198A JP 2007026198 A JP2007026198 A JP 2007026198A JP 4591785 B2 JP4591785 B2 JP 4591785B2
Authority
JP
Japan
Prior art keywords
processing
signal
unit
content
feature
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.)
Expired - Fee Related
Application number
JP2007026198A
Other languages
Japanese (ja)
Other versions
JP2007183977A (en
Inventor
哲二郎 近藤
和志 吉川
哲志 小久保
寿一 白木
通雅 尾花
英雄 笠間
昌憲 金丸
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.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2007026198A priority Critical patent/JP4591785B2/en
Publication of JP2007183977A publication Critical patent/JP2007183977A/en
Application granted granted Critical
Publication of JP4591785B2 publication Critical patent/JP4591785B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Picture Signal Circuits (AREA)

Description

本発明は、信号処理装置に関し、特に、例えば、ユーザの操作により、処理の内容や、処理の構造を変更することで、そのユーザにとって最適な処理を行うことができるようにする信号処理装置に関する。   The present invention relates to a signal processing device, and more particularly, to a signal processing device that enables optimal processing to be performed for a user by changing processing contents and processing structure by a user operation, for example. .

例えば、従来のNR(Noise Reduction)回路においては、ユーザが、その調整用のつまみを操作して、所定の位置に設定すると、そのつまみの位置に対応するノイズ除去処理が行われる。   For example, in a conventional NR (Noise Reduction) circuit, when the user operates the adjustment knob and sets it to a predetermined position, noise reduction processing corresponding to the position of the knob is performed.

ところで、NR回路に入力される信号のS/N(Signal to Noise Ratio)や周波数特性等は、常に一定であるとは限らず、むしろ変化するのが一般的である。そして、NR回路に入力される信号のS/Nや周波数特性等が変化した場合、ユーザがつまみを操作して設定した位置に対応するノイズ除去処理において、NR回路に入力される信号に対して適切な処理が施されるとは限らず、このため、ユーザは、自身にとって適切なノイズ除去処理が施されるように、頻繁に、つまみを操作する必要があり、面倒であった。   By the way, the S / N (Signal to Noise Ratio), frequency characteristics, and the like of a signal input to the NR circuit are not always constant, but rather generally change. Then, when the S / N, frequency characteristics, etc. of the signal input to the NR circuit change, in the noise removal processing corresponding to the position set by the user operating the knob, the signal input to the NR circuit Appropriate processing is not necessarily performed. For this reason, it is necessary for the user to frequently operate the knob so that noise removal processing appropriate for the user is performed, which is troublesome.

本発明は、このような状況に鑑みてなされたものであり、ユーザの操作により、処理の内容や、処理の構造を変更することで、そのユーザにとって最適な処理を行うことができるようにするものである。   The present invention has been made in view of such a situation, and it is possible to perform processing optimal for the user by changing the content of the processing and the structure of the processing by a user operation. Is.

本発明の信号処理装置は、ユーザの操作に応じて操作信号を出力する操作信号出力手段と、画像信号からなる入力信号より、画像信号の画素毎に、画素とその時間的、および空間的の両方、若しくはそのいずれかの周辺の画素とを用いた画素値の画素間差分処理、フィルタ処理、統計処理、または、それらのフィルタ処理結果、および統計処理結果を用いたフィルタ処理、および統計処理を含む複数の種類の処理結果を求める複数の特徴検出処理の内容のうち、操作信号により指定される所定数の種類の特徴検出処理の内容の特徴を検出する特徴検出手段と、特徴とその特徴を有する入力信号に対する信号処理の内容との対応関係を示すテーブルを記憶する記憶手段と、記憶手段に記憶されているテーブルにおける、特徴検出手段により検出された特徴を有する入力信号に対するものであって、操作信号により設定される信号処理の内容を、入力信号に対する信号処理の内容として決定する処理決定手段と、処理決定手段により決定された信号処理の内容に従って設定され、操作信号に基づいて変更可能な所定の予測係数からなる実行処理の内容に基づいて、入力信号と所定の予測係数との線形結合により出力信号を生成することで、入力信号への実行処理を実行する処理実行手段と、特徴検出手段により検出される特徴の種類、または特徴の分布、処理決定手段により決定された信号処理の内容を含むテーブル、または、処理実行手段により実行された実行処理の内容である所定の予測係数のうちの少なくともいずれかを内部情報として表示する表示手段とを備え、操作信号に基づいて、特徴検出処理の内容信号処理の内容、または、実行処理の内容のうちの少なくともいずれかが変更されることを特徴とする。 The signal processing apparatus of the present invention, an operation signal output means for outputting an operation signal in accordance with a user operation from the input signal composed of image signals, each pixel of the image signal, the pixel and its temporal and spatial Difference processing of pixel values using both, or any of its surrounding pixels, filtering processing, statistical processing, or filtering processing using the filtering processing results and statistical processing results, and statistical processing more of the content of the feature detection process, the feature detection means for detecting a characteristic of the content of the feature detection process of a predetermined number of the type specified by the operation signal, characterized and their characteristics to determine the plurality of types of processing results, including storage means for storing a table indicating the correspondence between the content of the signal processing for an input signal having, in a table stored in the storage unit, detected by the feature detecting means The be for an input signal having a characteristic, the content of signal processing which is set by the operation signal, the processing determining means for determining a content of the signal processing for the input signal, the signal processing determined by the processing determination means The output signal is generated by linear combination of the input signal and the predetermined prediction coefficient based on the content of the execution process including the predetermined prediction coefficient that is set according to the content and can be changed based on the operation signal. and process execution means for executing the execution process, the type of features to be detected by the feature detecting means or distribution characteristics, the table including the contents of the signal processing determined by the processing determining means, or executed by the process execution means and display means for displaying the internal information at least one of the execution predetermined prediction coefficient is the content of the processing, based on the operation signal There are, contents of the feature detection process, the content of signal processing or, characterized in that at least one is changed among the content of the execution process.

前記操作信号は、前記入力信号が第1の特徴検出処理の内容または第2の特徴検出処理の内容により特徴を抽出する処理対象のうちのいずれであるかを指定する信号とすることができ、前記表示手段には、前記内部情報として、前記第1の特徴検出処理の内容、および第2の特徴検出処理の内容の処理対象としての前記入力信号より抽出される特徴の分布を表示させるようにすることができる。 The operation signal can be a signal that specifies whether the input signal is a processing target for extracting a feature according to the content of the first feature detection processing or the content of the second feature detection processing , wherein the display means, as said internal information, so as to display the distribution of the contents of the first feature detection process, and features are extracted from the second of said input signal to be processed in the content of the feature detection process can do.

前記表示手段で表示された前記分布に対して、前記第1の特徴検出処理の内容と第2の特徴検出処理の内容の処理対象の特徴のうちのいずれであるかを指定する前記操作信号の入力があった場合に、その操作信号に基づいて、前記入力信号に施される特徴検出処理の内容が変更されるようにすることができる。 For the distribution displayed by the display means, the operation signal for designating whether the content of the first feature detection process or the feature of the second feature detection process is a feature to be processed When there is an input, the content of the feature detection process performed on the input signal can be changed based on the operation signal.

前記処理決定手段には、特徴検出手段により入力信号より検出された所定数の種類の特徴に基づいて、入力信号に対する信号処理の内容として、入力信号をそのまま出力するか否かを決定させるようにすることができ、処理実行手段には、処理決定手段の決定に従い、入力信号を選択的に出力することにより、入力信号である画像信号中のテロップを検出させるようにすることができる。 The processing determining unit is configured to determine whether or not to output the input signal as it is as the contents of the signal processing for the input signal based on a predetermined number of types of features detected from the input signal by the feature detecting unit. The processing execution unit can selectively output the input signal in accordance with the determination of the processing determination unit, thereby detecting a telop in the image signal that is the input signal.

前記処理決定手段には、操作信号に基づいて、テーブルにおける信号処理の内容を変更することにより、自身の処理の内容を変更させるようにすることができる。 The processing determining means can change the content of its own processing by changing the content of the signal processing in the table based on the operation signal.

前記テーブルにおける処理の内容として、入力信号に対して、第1の値の出力信号を出力する処理と、第2の値の出力信号を出力する処理とが存在するようにさせることができ、処理実行手段には、処理決定手段の決定に従い、入力信号を、第1と第2の値に2値化させるようにすることができる。   The contents of the process in the table can include a process for outputting an output signal having a first value and a process for outputting an output signal having a second value for an input signal. The execution unit can binarize the input signal into the first and second values according to the determination of the processing determination unit.

前記入力信号と線形結合される予測係数は、操作信号に基づいて変更されるとき、その総和が1となるように変更されるようにすることができる。 When the prediction coefficient linearly combined with the input signal is changed based on the operation signal, the sum can be changed to be 1.

前記入力信号と線形結合される予測係数の、線形結合される前記入力信号である画像信号の画素配列に対応する空間内において、操作信号に基づいて変更された予測係数以外の予測係数のうち、操作信号に基づいて変更された予測係数のうち、所定の距離よりも近いものは、操作信号に基づいて変更された予測係数の増減の方向と同一方向に変更され、操作信号に基づいて変更された予測係数のうち、所定の距離よりも遠いものは、操作信号に基づいて変更された予測係数の増減の方向と逆方向に変更されるようにすることができる。 Among the prediction coefficients other than the prediction coefficient changed based on the operation signal in the space corresponding to the pixel array of the image signal that is the input signal to be linearly combined, the prediction coefficient linearly combined with the input signal , Of the prediction coefficients changed based on the operation signal, those closer than the predetermined distance are changed in the same direction as the increase / decrease direction of the prediction coefficient changed based on the operation signal, and are changed based on the operation signal. Of the prediction coefficients , those farther than a predetermined distance can be changed in the direction opposite to the increase / decrease direction of the prediction coefficient changed based on the operation signal.

前記入力信号と線形結合される予測係数の、線形結合される前記入力信号である画像信号の画素配列に対応する空間内において、前記操作信号に基づいて変更された予測係数以外の画素に対応する予測係数のうち、前記操作信号に基づいて変更された予測係数と正負を示す極性が同一の極大値または極小値となるものは、前記操作信号に基づいて変更された予測係数の増減の方向と同一方向に変更され、前記操作信号に基づいて変更された予測係数と正負を示す極性が異なる極大値または極小値となるものは、前記操作信号に基づいて変更された予測係数の増減の方向と逆方向に変更されるようにすることができる。 Corresponding to pixels other than the prediction coefficient changed based on the operation signal in the space corresponding to the pixel array of the image signal that is the input signal to be linearly combined, of the prediction coefficient linearly combined with the input signal. Among the prediction coefficients, the prediction coefficient changed based on the operation signal has the same maximum or minimum polarity as the polarity indicating positive or negative, and the direction of increase or decrease of the prediction coefficient changed based on the operation signal is changed in the same direction, which polarity indicates a prediction coefficient and polarity that is changed based on the operation signal is different from the maximum value or the minimum value, a direction of increase or decrease of the modified prediction coefficients based on the operation signal It can be changed in the reverse direction.

本発明の信号処理方法は、ユーザの操作に応じて操作信号を出力する操作信号出力手段と、画像信号からなる入力信号より、画像信号の画素毎に、画素とその時間的、および空間的の両方、若しくはそのいずれかの周辺の画素とを用いた画素値の画素間差分処理、フィルタ処理、統計処理、または、それらのフィルタ処理結果、および統計処理結果を用いたフィルタ処理、および統計処理を含む複数の種類の処理結果を求める複数の特徴検出処理の内容のうち、操作信号により指定される所定数の種類の特徴検出処理の内容の特徴を検出する特徴検出手段と、特徴とその特徴を有する入力信号に対する信号処理の内容との対応関係を示すテーブルを記憶する記憶手段と、記憶手段に記憶されているテーブルにおける、特徴検出手段により検出された特徴を有する入力信号に対するものであって、操作信号により設定される信号処理の内容を、入力信号に対する信号処理の内容として決定する処理決定手段と、処理決定手段により決定された信号処理の内容に従って設定され、操作信号に基づいて変更可能な所定の予測係数からなる実行処理の内容に基づいて、入力信号と所定の予測係数との線形結合により出力信号を生成することで、入力信号への実行処理を実行する処理実行手段と、特徴検出手段により検出される特徴の種類、または特徴の分布、処理決定手段により決定された信号処理の内容を含むテーブル、または、処理実行手段により実行された実行処理の内容である所定の予測係数のうちの少なくともいずれかを内部情報として表示する表示手段とを備える信号処理装置の信号処理方法であって、操作信号出力手段における、ユーザの操作に応じて操作信号を出力する操作信号出力ステップと、特徴検出手段における、画像信号からなる入力信号より、画像信号の画素毎に、画素とその時間的、および空間的の両方、若しくはそのいずれかの周辺の画素とを用いた画素値の画素間差分処理、フィルタ処理、統計処理、または、それらのフィルタ処理結果、および統計処理結果を用いたフィルタ処理、および統計処理を含む複数の種類の処理結果を求める複数の特徴検出処理の内容のうち、操作信号により指定される所定数の種類の特徴検出処理の内容の特徴を検出する特徴検出ステップと、処理決定手段における、記憶手段に記憶されているテーブルにおける、特徴検出ステップの処理により検出された特徴を有する入力信号に対するものであって、操作信号により設定される信号処理の内容を、入力信号に対する信号処理の内容として決定する処理決定ステップと、処理実行手段における、処理決定ステップの処理で決定された信号処理の内容に従って設定され、操作信号に基づいて変更可能な所定の予測係数からなる実行処理の内容に基づいて、入力信号と所定の予測係数との線形結合により出力信号を生成することで、入力信号への実行処理を実行する処理実行ステップと、表示手段における、特徴検出ステップの処理により検出される特徴の種類、または特徴の分布、処理決定ステップの処理により決定された信号処理の内容を含むテーブル、または、処理実行ステップの処理により実行された実行処理の内容である所定の予測係数のうちの少なくともいずれかを内部情報として表示する表示ステップとを含み、操作信号に基づいて、特徴検出処理の内容信号処理の内容、または、実行処理の内容のうちの少なくともいずれかが変更されることを特徴とする。 According to the signal processing method of the present invention, an operation signal output unit that outputs an operation signal according to a user operation, and an input signal composed of an image signal, for each pixel of the image signal, the pixel and its temporal and spatial The pixel value inter-pixel difference processing using both or any of the surrounding pixels, filter processing, statistical processing, or the filtering processing using the filtering processing results and the statistical processing results, and the statistical processing A feature detection means for detecting a feature of the content of a predetermined number of types of feature detection processing specified by an operation signal, and a feature and its features A storage means for storing a table showing a correspondence relationship between the input signal and the content of the signal processing, and detection by the feature detection means in the table stored in the storage means A process determining means for determining the content of the signal processing set by the operation signal as the content of the signal processing for the input signal, and a signal processing determined by the process determining means. The output signal is generated by linear combination of the input signal and the predetermined prediction coefficient based on the content of the execution process including the predetermined prediction coefficient that is set according to the content and can be changed based on the operation signal. A process execution unit that executes the execution process, a feature type or feature distribution detected by the feature detection unit, a table including the content of the signal processing determined by the process determination unit, or a process execution unit Display means for displaying at least one of the predetermined prediction coefficients which are the contents of the execution processing as internal information A signal processing method, the operation signal output means, an operation signal output step of outputting an operation signal in accordance with a user operation, in the feature detection unit, from the input signal composed of image signals, each pixel of the image signal Pixel difference processing, filtering processing, statistical processing, or their filtering processing results and statistical processing using a pixel and its temporal and / or spatial pixels. Detects the features of a predetermined number of types of feature detection processing specified by the operation signal from the content of multiple types of feature detection processing that obtains multiple types of processing results, including filtering using results and statistical processing Yes and characterization detection step, the processing determining means, in the table stored in the storage means, the detected features in the process of feature detection step of The process determination step for determining the signal processing content set by the operation signal as the signal processing content for the input signal and the processing determination step in the processing execution means By generating the output signal by linear combination of the input signal and the predetermined prediction coefficient based on the content of the execution process that is set according to the content of the signal processing and can be changed based on the operation signal , a process executing step of executing the execution of the input signal, the display means, of the features detected by the processing of the feature detection step type, or distribution of the feature, the contents of the signal processing determined by the processing of the processing decision step comprising a table, or less of the predetermined prediction coefficient is the content of the execution process executed by the processing of the processing execution step Even Ku and a display step of displaying either as internal information, based on the operation signal, the contents of the feature detection process, the content of signal processing, or that at least one of the contents of the execution process is changed It is characterized by.

本発明の記録媒体のプログラムは、ユーザの操作に応じて操作信号を出力する操作信号出力手段と、画像信号からなる入力信号より、画像信号の画素毎に、画素とその時間的、および空間的の両方、若しくはそのいずれかの周辺の画素とを用いた画素値の画素間差分処理、フィルタ処理、統計処理、または、それらのフィルタ処理結果、および統計処理結果を用いたフィルタ処理、および統計処理を含む複数の種類の処理結果を求める複数の特徴検出処理の内容のうち、操作信号により指定される所定数の種類の特徴検出処理の内容の特徴を検出する特徴検出手段と、特徴とその特徴を有する入力信号に対する信号処理の内容との対応関係を示すテーブルを記憶する記憶手段と、記憶手段に記憶されているテーブルにおける、特徴検出手段により検出された特徴を有する入力信号に対するものであって、操作信号により設定される信号処理の内容を、入力信号に対する信号処理の内容として決定する処理決定手段と、処理決定手段により決定された信号処理の内容に従って設定され、操作信号に基づいて変更可能な所定の予測係数からなる実行処理の内容に基づいて、入力信号と所定の予測係数との線形結合により出力信号を生成することで、入力信号への実行処理を実行する処理実行手段と、特徴検出手段により検出される特徴の種類、または特徴の分布、処理決定手段により決定された信号処理の内容を含むテーブル、または、処理実行手段により実行された実行処理の内容である所定の予測係数のうちの少なくともいずれかを内部情報として表示する表示手段とを備える信号処理装置を制御するコンピュータに実行されるプログラムであって、操作信号出力手段における、ユーザの操作に応じて操作信号を出力する操作信号出力ステップと、特徴検出手段における、画像信号からなる入力信号より、画像信号の画素毎に、画素とその時間的、および空間的の両方、若しくはそのいずれかの周辺の画素とを用いた画素値の画素間差分処理、フィルタ処理、統計処理、または、それらのフィルタ処理結果、および統計処理結果を用いたフィルタ処理、および統計処理を含む複数の種類の処理結果を求める複数の特徴検出処理の内容のうち、操作信号により指定される所定数の種類の特徴検出処理の内容の特徴の検出を制御する特徴検出制御ステップと、処理決定手段における、記憶手段に記憶されているテーブルにおける、特徴検出制御ステップの処理により検出された特徴を有する入力信号に対するものであって、操作信号により設定される信号処理の内容を、入力信号に対する信号処理の内容としての決定を制御する処理決定制御ステップと、処理実行手段における、処理決定制御ステップの処理で決定された信号処理の内容に従って設定され、操作信号に基づいて変更可能な所定の予測係数からなる実行処理の内容に基づいて、入力信号と所定の予測係数との線形結合により出力信号を生成することで、入力信号への実行処理の実行を制御する処理実行制御ステップと、表示手段における、特徴検出制御ステップの処理により検出される特徴の種類、または特徴の分布、処理決定制御ステップの処理により決定された信号処理の内容を含むテーブル、または、処理実行制御ステップの処理により実行された実行処理の内容である所定の予測係数のうちの少なくともいずれかの内部情報としての表示を制御する表示制御ステップとを含み、操作信号に基づいて、特徴検出処理の内容信号処理の内容、または、実行処理の内容のうちの少なくともいずれかが変更されることを特徴とする。 The recording medium program of the present invention includes an operation signal output means for outputting an operation signal in response to a user operation, and an input signal composed of an image signal for each pixel of the image signal, its temporal and spatial Difference processing of pixel values using both, or any of its surrounding pixels, filtering processing, statistical processing, or filtering processing using the filtering processing results and statistical processing results, and statistical processing A feature detection means for detecting a feature of the content of a predetermined number of types of feature detection processing specified by an operation signal among a plurality of feature detection processing contents for obtaining a plurality of types of processing results including Storage means for storing a table showing a correspondence relationship between the contents of signal processing with respect to an input signal having a signal, and a feature detection means in the table stored in the storage means A process determining means for determining the content of the signal processing set by the operation signal as the content of the signal processing for the input signal, and the signal determined by the process determining means. By generating an output signal by linear combination of the input signal and the predetermined prediction coefficient based on the content of the execution process that is set according to the content of the process and can be changed based on the operation signal By a process execution means for executing an execution process on a signal, a type of feature detected by the feature detection means, or a distribution of the features, a table containing the contents of the signal processing determined by the process determination means, or a process execution means A signal provided with display means for displaying at least one of predetermined prediction coefficients, which are the contents of the executed execution process, as internal information A program to be executed by a computer for controlling a physical device, the operation signal output means, an operation signal output step of outputting an operation signal in accordance with a user operation, in the feature detection unit, the input signal composed of image signals In addition , for each pixel of the image signal, pixel value inter-pixel difference processing, filtering processing, statistical processing, or those using the pixel and its temporal and / or spatial pixels. Filter processing results, filtering processing using statistical processing results, and a plurality of feature detection processing for obtaining a plurality of types of processing results including statistical processing, a predetermined number of types of features specified by an operation signal In the feature detection control step for controlling the detection of the feature of the content of the detection process, and in the table stored in the storage means in the process determination means Process determination control for controlling the determination of the signal processing content set by the operation signal as the content of the signal processing for the input signal, with respect to the input signal having the feature detected by the processing of the feature detection control step The input signal based on the content of the execution process comprising the step and the predetermined prediction coefficient that is set according to the content of the signal processing determined in the processing of the processing determination control step in the processing execution means and can be changed based on the operation signal And an output signal generated by a linear combination of a predetermined prediction coefficient, a process execution control step for controlling execution of the execution process on the input signal, and a feature detected by the process of the feature detection control step in the display means type or distribution of the feature, the table including the contents of the signal processing determined by the processing of the processing decision controlling step also, , The contents of the executed processing executed by the processing of the processing execution control step includes a display control step for controlling the display of the at least one of the internal information of the predetermined prediction coefficients, based on the operation signal, wherein At least one of the contents of the detection process, the contents of the signal process, and the contents of the execution process is changed.

本発明のプログラムは、ユーザの操作に応じて操作信号を出力する操作信号出力手段と、画像信号からなる入力信号より、画像信号の画素毎に、画素とその時間的、および空間的の両方、若しくはそのいずれかの周辺の画素とを用いた画素値の画素間差分処理、フィルタ処理、統計処理、または、それらのフィルタ処理結果、および統計処理結果を用いたフィルタ処理、および統計処理を含む複数の種類の処理結果を求める複数の特徴検出処理の内容のうち、操作信号により指定される所定数の種類の特徴検出処理の内容の特徴を検出する特徴検出手段と、特徴とその特徴を有する入力信号に対する信号処理の内容との対応関係を示すテーブルを記憶する記憶手段と、記憶手段に記憶されているテーブルにおける、特徴検出手段により検出された特徴を有する入力信号に対するものであって、操作信号により設定される信号処理の内容を、入力信号に対する信号処理の内容として決定する処理決定手段と、処理決定手段により決定された信号処理の内容に従って設定され、操作信号に基づいて変更可能な所定の予測係数からなる実行処理の内容に基づいて、入力信号と所定の予測係数との線形結合により出力信号を生成することで、入力信号への実行処理を実行する処理実行手段と、特徴検出手段により検出される特徴の種類、または特徴の分布、処理決定手段により決定された信号処理の内容を含むテーブル、または、処理実行手段により実行された実行処理の内容である所定の予測係数のうちの少なくともいずれかを内部情報として表示する表示手段とを備える信号処理装置を制御するコンピュータに、操作信号出力手段における、ユーザの操作に応じて操作信号を出力する操作信号出力ステップと、特徴検出手段における、画像信号からなる入力信号より、画像信号の画素毎に、画素とその時間的、および空間的の両方、若しくはそのいずれかの周辺の画素とを用いた画素値の画素間差分処理、フィルタ処理、統計処理、または、それらのフィルタ処理結果、および統計処理結果を用いたフィルタ処理、および統計処理を含む複数の種類の処理結果を求める複数の特徴検出処理の内容のうち、操作信号により指定される所定数の種類の特徴検出処理の内容の特徴の検出を制御する特徴検出制御ステップと、処理決定手段における、記憶手段に記憶されているテーブルにおける、特徴検出制御ステップの処理により検出された特徴を有する入力信号に対するものであって、操作信号により設定される信号処理の内容を、入力信号に対する信号処理の内容としての決定を制御する処理決定制御ステップと、処理実行手段における、処理決定制御ステップの処理で決定された信号処理の内容に従って設定され、操作信号に基づいて変更可能な所定の予測係数からなる実行処理の内容に基づいて、入力信号と所定の予測係数との線形結合により出力信号を生成することで、入力信号への実行処理の実行を制御する処理実行制御ステップと、表示手段における、特徴検出制御ステップの処理により検出される特徴の種類、または特徴の分布、処理決定制御ステップの処理により決定された信号処理の内容を含むテーブル、または、処理実行制御ステップの処理により実行された実行処理の内容である所定の予測係数のうちの少なくともいずれかの内部情報としての表示を制御する表示制御ステップとを含み、操作信号に基づいて、特徴検出処理の内容信号処理の内容、または、実行処理の内容のうちの少なくともいずれかが変更されることを特徴とする。 The program of the present invention includes an operation signal output means for outputting an operation signal according to a user's operation, and an input signal composed of an image signal, for each pixel of the image signal, both the pixel and its temporal and spatial, Or a plurality of pixel values including pixel difference processing using a neighboring pixel, filter processing, statistical processing, or filtering processing using those filtering processing results and statistical processing results, and statistical processing Among the contents of a plurality of feature detection processes for obtaining the processing results of the type, feature detection means for detecting the features of the contents of the predetermined number of types of feature detection processes specified by the operation signal, and the features and the inputs having the features A storage means for storing a table showing a correspondence relationship between the signal processing contents for the signal and a feature detection means in the table stored in the storage means. Processing determination means for determining the content of the signal processing set by the operation signal as the content of the signal processing for the input signal, and the content of the signal processing determined by the processing determination means The output signal is generated by linear combination of the input signal and the predetermined prediction coefficient based on the content of the execution process including the predetermined prediction coefficient that is set according to the operation signal and can be changed based on the operation signal. A process execution means for executing an execution process, a type of feature detected by the feature detection means, or a distribution of features, a table including the contents of signal processing determined by the process determination means, or executed by the process execution means A signal processing apparatus comprising: a display unit configured to display at least one of predetermined prediction coefficients that are contents of execution processing as internal information The Gosuru computer, the operation signal output means, an operation signal output step of outputting an operation signal in accordance with a user operation, in the feature detection unit, from the input signal composed of image signals, each pixel of the image signal, the pixel Pixel value difference processing, filtering processing, statistical processing, or their filtering processing result and statistical processing result using both of the pixel and its temporal and / or spatial pixels. Controls the detection of the features of the predetermined number of types of feature detection processing specified by the operation signal among the content of multiple types of feature detection processing for obtaining the results of multiple types of processing including the used filter processing and statistical processing Detected by the process of the feature detection control step in the table stored in the storage means in the feature detection control step and the process determination means A process determination control step for controlling the determination of the content of the signal processing set by the operation signal as the content of the signal processing for the input signal , and a process in the processing execution means Linear combination of an input signal and a predetermined prediction coefficient based on the content of an execution process consisting of a predetermined prediction coefficient that is set according to the content of the signal processing determined in the process of the determination control step and can be changed based on the operation signal And a process execution control step for controlling execution of the execution process on the input signal by generating an output signal, and a feature type detected by the process of the feature detection control step in the display means , or a feature distribution and process table comprising a processing content of the signal processing determined by the determination control step, or actual the processing of the processing execution control step And a display control step for controlling the display of the at least one of the internal information of the predetermined prediction coefficient is the content of the execution process is based on the operation signal, the contents of the feature detection process, the content of the signal processing Alternatively, at least one of the contents of the execution process is changed.

本発明においては、ユーザの操作に応じて操作信号が出力され、画像信号からなる入力信号より、画像信号の画素毎に、画素とその時間的、および空間的の両方、若しくはそのいずれかの周辺の画素とを用いた画素値の画素間差分処理、フィルタ処理、統計処理、または、それらのフィルタ処理結果、および統計処理結果を用いたフィルタ処理、および統計処理を含む複数の種類の処理結果が求められる複数の特徴検出処理の内容のうち、操作信号により指定される所定数の種類の特徴検出処理の内容の特徴が検出され、特徴とその特徴を有する入力信号に対する信号処理の内容との対応関係を示すテーブルが記憶され、記憶されているテーブルにおける、検出された特徴を有する入力信号に対するものであって、操作信号により設定される信号処理の内容が、入力信号に対する信号処理の内容として決定され、決定された信号処理の内容に従って設定され、操作信号に基づいて変更可能な所定の予測係数からなる実行処理の内容に基づいて、入力信号と所定の予測係数との線形結合により出力信号が生成されることで、入力信号への実行処理が実行され、検出される特徴の種類、または特徴の分布決定された信号処理の内容を含むテーブル、または、実行された実行処理の内容である所定の予測係数のうちの少なくともいずれかが内部情報として表示され、操作信号に基づいて、特徴検出処理の内容信号処理の内容、または、実行処理の内容のうちの少なくともいずれかが変更される。 In the present invention, the output operation signal according to a user operation, from the input signal composed of image signals, the image signals for each pixel, the pixel and its temporal, and both spatial, or any of its Multiple types of processing results including inter-pixel difference processing of pixel values using neighboring pixels, filter processing, statistical processing, filter processing results thereof, filter processing using statistical processing results, and statistical processing Among the contents of a plurality of feature detection processes that are required, the features of the contents of a predetermined number of types of feature detection processes specified by the operation signal are detected, and the characteristics and the contents of the signal processing for the input signal having the characteristics stored a table showing a correspondence relationship, in table stored, be for an input signal having the detected characteristic is set by the operation signal No. Contents of treatment, is determined as the content of the signal processing for the input signals, are set according to the contents of the determined signal processing based on the contents of execution of a predetermined prediction coefficient can be changed based on the operation signal, The output signal is generated by a linear combination of the input signal and a predetermined prediction coefficient, so that the execution process for the input signal is executed, and the type of detected feature or distribution of the feature and the content of the determined signal processing table containing, or at least one of the predetermined prediction coefficient is the contents of the executed execution process is displayed as internal information, based on the operation signal, the contents of the feature detection process, the content of signal processing or, At least one of the contents of the execution process is changed.

以上の如く、本発明によれば、ユーザの処理に基づいて、処理の内容と、さらには、処理の構造が変更することにより、そのユーザにとって最適な処理を行うことが可能となる。   As described above, according to the present invention, it is possible to perform the optimum process for the user by changing the process contents and the process structure based on the user process.

本実施の形態では、内部情報を出力信号と同一の表示部で表示するようにしたが内部情報は出力信号を表示する表示部とは別の表示部で表示することが可能である。   In the present embodiment, the internal information is displayed on the same display unit as the output signal, but the internal information can be displayed on a display unit different from the display unit that displays the output signal.

図1は、本発明を適用した最適化装置の一実施の形態の構成例を示している。最適化装置は、入力信号に対して所定の処理(信号処理)を実行した後、その処理の結果得られる信号を出力信号として出力する。ユーザは、この出力信号を吟味(定性的に評価)して、自らの好みの出力信号ではない場合、ユーザの好みに対応した操作信号を最適化装置に入力する。最適化装置は、この操作信号に基づいて、処理の内容、および、処理の構造を変更し、再び入力信号に所定の処理を施し、出力信号を出力する。最適化装置は、このようにユーザの操作により入力される操作信号に対応して、処理の内容、および、処理の構造の変更を繰り返しながら、最適な処理(ユーザにとって最適な処理)を入力信号に施し、ユーザの好みにより近い出力信号を出力する。   FIG. 1 shows a configuration example of an embodiment of an optimization apparatus to which the present invention is applied. The optimization device performs predetermined processing (signal processing) on the input signal, and then outputs a signal obtained as a result of the processing as an output signal. The user examines (qualitatively evaluates) the output signal and inputs an operation signal corresponding to the user's preference to the optimization device when the output signal is not his / her preference. Based on the operation signal, the optimization device changes the content of the process and the structure of the process, performs a predetermined process on the input signal again, and outputs an output signal. In response to the operation signal input by the user's operation in this way, the optimization apparatus repeatedly performs the optimal processing (the optimal processing for the user) while repeatedly changing the processing content and the processing structure. To output an output signal closer to the user's preference.

図2は、図1の最適化装置の第1の詳細構成例を示している。   FIG. 2 shows a first detailed configuration example of the optimization apparatus of FIG.

この最適化装置1においては、ユーザの操作を、ユーザが知らないうちに学習することにより、そのユーザにとって最適な処理を行うようになっている。即ち、最適化装置では、ユーザの操作に応じて供給される操作信号がモニタされ、学習に用いることができるかどうかが判定される。そして、操作信号が、学習に用いることのできる学習用操作信号である場合には、その学習用操作信号に基づいて、入力信号を補正する規範である補正規範が学習される。一方、入力信号は、学習により得られた補正規範に基づいて補正され、その補正後の信号が、出力信号として出力される。   In this optimization apparatus 1, the user's operation is learned without the user's knowledge, so that the optimum process for the user is performed. That is, in the optimization device, an operation signal supplied in accordance with a user operation is monitored to determine whether it can be used for learning. When the operation signal is a learning operation signal that can be used for learning, a correction norm that is a norm for correcting the input signal is learned based on the learning operation signal. On the other hand, the input signal is corrected based on a correction criterion obtained by learning, and the corrected signal is output as an output signal.

最適化装置1は、補正部21と学習部22からなる処理部11から構成されており、そこには、処理の対象となる入力信号の他、ユーザの操作に対応した操作信号が供給されるようになっている。   The optimization apparatus 1 includes a processing unit 11 including a correction unit 21 and a learning unit 22, and an operation signal corresponding to a user operation is supplied to the processing unit 11 in addition to an input signal to be processed. It is like that.

操作信号は、操作部2から供給されるようになっている。即ち、操作部2は、例えば、ロータリ型やスライド型のつまみや、スイッチ、ポインティングデバイス等で構成されており、ユーザの操作に対応した操作信号を、最適化装置1を構成する処理部11に供給する。   The operation signal is supplied from the operation unit 2. That is, the operation unit 2 includes, for example, a rotary or slide type knob, a switch, a pointing device, and the like, and an operation signal corresponding to a user operation is transmitted to the processing unit 11 that configures the optimization device 1. Supply.

最適化装置1を構成する補正部21には、例えば、ディジタルの入力信号が供給されるとともに、学習部22から、入力信号を補正する補正規範としての、例えば、補正パラメータが供給されるようになっている。補正部21は、入力信号を、補正パラメータに基づいて補正(信号処理)し、その補正後の信号を、出力信号として出力する。   For example, a digital input signal is supplied to the correction unit 21 configuring the optimization device 1, and a correction parameter, for example, as a correction standard for correcting the input signal is supplied from the learning unit 22. It has become. The correction unit 21 corrects (signal processing) the input signal based on the correction parameter, and outputs the corrected signal as an output signal.

学習部22には、操作部2からの操作信号が供給されるとともに、必要に応じて、入力信号または出力信号が供給されるようになっている。学習部22は、操作信号をモニタし、学習に用いることができるかどうかを判定する。そして、学習部22は、操作信号が、学習に用いることのできる学習用操作信号である場合には、その学習用操作信号に基づき、入力信号を補正するのに用いられる補正パラメータを、必要に応じて、入力信号や出力信号を用いて学習し、補正部21に供給する。   The learning unit 22 is supplied with an operation signal from the operation unit 2 and an input signal or an output signal as necessary. The learning unit 22 monitors the operation signal and determines whether it can be used for learning. Then, when the operation signal is a learning operation signal that can be used for learning, the learning unit 22 needs a correction parameter used to correct the input signal based on the learning operation signal. Accordingly, learning is performed using an input signal or an output signal, and the learning is supplied to the correction unit 21.

なお、学習部22は、学習用データメモリ53と学習情報メモリ55とを内蔵しており、学習用データメモリ53は、学習に用いられる学習用データを記憶し、学習情報メモリ55は、学習によって得られる、後述する学習情報を記憶する。   The learning unit 22 includes a learning data memory 53 and a learning information memory 55. The learning data memory 53 stores learning data used for learning, and the learning information memory 55 is used for learning. The obtained learning information to be described later is stored.

次に、図3のフローチャートを参照して、図2の最適化装置1が行う処理(最適化処理)について説明する。   Next, processing (optimization processing) performed by the optimization device 1 of FIG. 2 will be described with reference to the flowchart of FIG.

まず最初に、ステップS1において、学習部22は、操作部2から学習用操作信号を受信したかどうかを判定する。ここで、ユーザは、操作部2を操作する場合、最初は、適当な操作を行い、その操作に応じて出力される出力信号を確認しながら、細かな操作を行って、最終的に最適であると思った出力信号が得られた時点で、操作を停止するのが一般的である。この、ユーザが最適であると思った出力信号が得られた時点における、操作部2の位置に対応する操作信号が、学習用操作信号であり、このため、学習部22は、操作部2の操作が所定時間以上続いた後に、その操作が停止された場合に、その停止されたときの操作信号を、学習用操作信号と判定するようになっている。   First, in step S <b> 1, the learning unit 22 determines whether a learning operation signal has been received from the operation unit 2. Here, when operating the operation unit 2, the user first performs an appropriate operation, performs detailed operations while confirming an output signal output in accordance with the operation, and is finally optimal. In general, the operation is stopped when an output signal that is thought to be present is obtained. The operation signal corresponding to the position of the operation unit 2 at the time when the output signal that the user thinks is optimal is the learning operation signal. When the operation is stopped after the operation has continued for a predetermined time or longer, the operation signal when the operation is stopped is determined as the learning operation signal.

ステップS1において、学習用操作信号を受信していないと判定された場合、即ち、例えば、ユーザが操作部2を操作していないか、あるいは、操作していても、最適な位置を探しているような操作をしている場合、ステップS2乃至S10をスキップして、ステップS11に進み、補正部21は、入力信号を、既に設定されている補正パラメータにしたがって補正し、その補正結果としての出力信号を出力して、ステップS1に戻る。   If it is determined in step S1 that the learning operation signal has not been received, that is, for example, the user is not operating the operation unit 2 or is searching for an optimal position even if the user is operating. When such an operation is performed, steps S2 to S10 are skipped, and the process proceeds to step S11. The correction unit 21 corrects the input signal according to the already set correction parameter, and outputs the correction result. The signal is output and the process returns to step S1.

また、ステップS1において、学習用操作信号を受信したと判定された場合、ステップS2に進み、学習部22は、その学習用操作信号に基づいて、学習に用いる学習用データを取得し、ステップS3に進む。ステップS3では、学習用データメモリ53が、ステップS2で取得された最新の学習用データを記憶する。   If it is determined in step S1 that the learning operation signal has been received, the process proceeds to step S2, and the learning unit 22 acquires learning data used for learning based on the learning operation signal, and step S3. Proceed to In step S3, the learning data memory 53 stores the latest learning data acquired in step S2.

ここで、学習用データメモリ53は、複数の学習用データを記憶することのできる記憶容量を有している。また、学習用データメモリ53は、その記憶容量分だけの学習用データを記憶すると、次の学習用データを、最も古い記憶値に上書きする形で記憶するようになっている。従って、学習用データメモリ53には、複数の学習用データであって、最近のものが記憶される。   Here, the learning data memory 53 has a storage capacity capable of storing a plurality of learning data. Further, when the learning data memory 53 stores the learning data corresponding to the storage capacity, the learning data memory 53 stores the next learning data by overwriting the oldest stored value. Accordingly, the learning data memory 53 stores a plurality of pieces of learning data that are recent.

ステップS3で学習用データメモリ53に学習用データを記憶した後は、ステップS4に進み、学習部22は、学習用データメモリ53に記憶された最新の学習用データと、学習情報メモリ55に記憶された学習情報とを用いて学習を行い、補正パラメータを求めて、ステップS5に進む。ステップS5では、学習部22は、ステップS4の学習の途中で得られる新たな学習情報によって、学習情報メモリ55の記憶内容を更新し、ステップS6に進む。   After the learning data is stored in the learning data memory 53 in step S3, the process proceeds to step S4, and the learning unit 22 stores the latest learning data stored in the learning data memory 53 and the learning information memory 55. Learning is performed using the learning information thus obtained, a correction parameter is obtained, and the process proceeds to step S5. In step S5, the learning unit 22 updates the stored contents of the learning information memory 55 with new learning information obtained during the learning in step S4, and the process proceeds to step S6.

ステップS6では、学習部22は、ステップS4で求めた補正パラメータの適正さを表す、後述するような適正度を求め、ステップS7に進み、その適性度に基づいて、ステップS4で求めた補正パラメータが適正であるかどうかを判定する。   In step S6, the learning unit 22 obtains the appropriateness as will be described later, which indicates the appropriateness of the correction parameter obtained in step S4, proceeds to step S7, and based on the suitability, the correction parameter obtained in step S4. Determine whether is appropriate.

ステップS7において、補正パラメータが適正であると判定された場合、ステップS8およびS9をスキップして、ステップS10に進み、学習部22は、その適正であると判定した補正パラメータを、補正部21に出力して、ステップS11に進む。従って、この場合、それ以降は、補正部21において、ステップS4の学習で求められた新たな補正パラメータにしたがって、入力信号が補正される。   If it is determined in step S7 that the correction parameter is appropriate, steps S8 and S9 are skipped and the process proceeds to step S10. The learning unit 22 supplies the correction parameter determined to be appropriate to the correction unit 21. Output, and proceed to step S11. Therefore, in this case, thereafter, the correction unit 21 corrects the input signal according to the new correction parameter obtained by learning in step S4.

一方、ステップS7において、補正パラメータが適正でないと判定された場合、ステップS8に進み、学習部22は、学習用データメモリ53に記憶された学習用データのうちの、最近の学習用データのみを用いて学習を行い、補正パラメータを求めて、ステップS9に進む。ステップS9では、学習部22は、ステップS8の学習の途中で得られる新たな学習情報によって、学習情報メモリ55の記憶内容を更新し、ステップS10に進む。この場合、ステップS10では、学習部22は、ステップS8で最近の学習用データのみから得られた補正パラメータを、補正部21に出力して、ステップS11に進む。従って、この場合、それ以降は、補正部21において、ステップS8の学習で求められた新たな補正パラメータにしたがって、入力信号が補正される。   On the other hand, if it is determined in step S7 that the correction parameter is not appropriate, the process proceeds to step S8, where the learning unit 22 extracts only the latest learning data from the learning data stored in the learning data memory 53. Learning is performed to obtain a correction parameter, and the process proceeds to step S9. In step S9, the learning unit 22 updates the stored content of the learning information memory 55 with new learning information obtained during the learning in step S8, and the process proceeds to step S10. In this case, in step S10, the learning unit 22 outputs the correction parameter obtained from only the latest learning data in step S8 to the correction unit 21, and proceeds to step S11. Accordingly, in this case, thereafter, the correction unit 21 corrects the input signal according to the new correction parameter obtained by learning in step S8.

次に、図4は、図2の処理部11を、例えば、画像信号や音声信号からノイズを除去するNR回路に適用した場合の詳細構成例を示している。   Next, FIG. 4 illustrates a detailed configuration example when the processing unit 11 of FIG. 2 is applied to, for example, an NR circuit that removes noise from an image signal or an audio signal.

重みメモリ31は、学習部22の、後述する選択部41から供給される補正パラメータとしての重み(係数)W(例えば、0以上1以下の値)を記憶する。重みメモリ32は、演算器33から供給される重み1−Wを記憶する。   The weight memory 31 stores a weight (coefficient) W (for example, a value of 0 or more and 1 or less) as a correction parameter supplied from the selection unit 41 described later of the learning unit 22. The weight memory 32 stores the weight 1-W supplied from the computing unit 33.

演算器33は、学習部22の選択部41から供給される重みWを、1.0から減算した減算値1−Wを、重みとして、重みメモリ32に供給する。演算器34は、入力信号と、重みメモリ32に記憶された重み1−Wとを乗算し、その乗算値を、演算器36に供給する。演算器35は、重みメモリ31に記憶された重みWと、ラッチ回路37に記憶(ラッチ)された出力信号とを乗算し、その乗算値を、演算器36に供給する。演算器36は、演算器34,35の両者の出力を加算し、その加算値を、出力信号として出力する。   The computing unit 33 supplies the weight memory 32 with a subtraction value 1-W obtained by subtracting the weight W supplied from the selection unit 41 of the learning unit 22 from 1.0 as a weight. The computing unit 34 multiplies the input signal by the weight 1-W stored in the weight memory 32 and supplies the multiplied value to the computing unit 36. The computing unit 35 multiplies the weight W stored in the weight memory 31 by the output signal stored (latched) in the latch circuit 37 and supplies the multiplied value to the computing unit 36. The calculator 36 adds both outputs of the calculators 34 and 35, and outputs the added value as an output signal.

ラッチ回路37は、演算器36が出力する出力信号をラッチし、演算器35に供給する。   The latch circuit 37 latches the output signal output from the arithmetic unit 36 and supplies it to the arithmetic unit 35.

図4の実施の形態では、以上の重みメモリ31および32、演算器33,34,35、および36、並びにラッチ回路37によって、処理部11の補正部21が構成されている。   In the embodiment of FIG. 4, the weight memory 31 and 32, the arithmetic units 33, 34, 35, and 36, and the latch circuit 37 constitute the correction unit 21 of the processing unit 11.

選択部41は、重み補正部46が出力する重み、または操作信号処理部50が出力する重みのうちのいずれか一方を選択し、補正パラメータとして、補正部21に供給する。   The selection unit 41 selects either the weight output from the weight correction unit 46 or the weight output from the operation signal processing unit 50 and supplies the selected correction parameter to the correction unit 21 as a correction parameter.

入力信頼度計算部42には、入力信号が供給されるようになっており、その入力信号の信頼性を表す入力信頼度を求めて、出力信頼度計算部43と重み計算部45に出力する。出力信頼度計算部43は、入力信頼度計算部42からの入力信頼度に基づいて、出力信号の信頼性を表す出力信頼度を求め、ラッチ回路44と重み計算部45に供給する。ラッチ回路44は、出力信頼度計算部43からの出力信頼度を記憶(ラッチ)し、出力信頼度計算部43および重み計算部45に供給する。   An input signal is supplied to the input reliability calculation unit 42, and an input reliability representing the reliability of the input signal is obtained and output to the output reliability calculation unit 43 and the weight calculation unit 45. . The output reliability calculation unit 43 obtains an output reliability representing the reliability of the output signal based on the input reliability from the input reliability calculation unit 42 and supplies the output reliability to the latch circuit 44 and the weight calculation unit 45. The latch circuit 44 stores (latches) the output reliability from the output reliability calculation unit 43 and supplies the output reliability to the output reliability calculation unit 43 and the weight calculation unit 45.

重み計算部45は、入力信頼度計算部42からの入力信頼度と、出力信頼度計算部43からの出力信頼度とから、重みを計算し、重み補正部46に出力する。重み補正部46には、重みの他、パラメータ制御データメモリ57から、補正パラメータとしての重みを制御するパラメータ制御データが供給されるようになっており、重み補正部46は、重みを、パラメータ制御データによって処理(補正)し、選択部41に供給する。   The weight calculation unit 45 calculates a weight from the input reliability from the input reliability calculation unit 42 and the output reliability from the output reliability calculation unit 43 and outputs the weight to the weight correction unit 46. In addition to the weight, the weight correction unit 46 is supplied with parameter control data for controlling the weight as the correction parameter from the parameter control data memory 57. The weight correction unit 46 controls the weight by parameter control. The data is processed (corrected) according to data and supplied to the selection unit 41.

操作信号処理部50には、操作部2(図2)から操作信号が供給されるようになっており、操作信号処理部50は、そこに供給される操作信号を処理し、その操作信号に対応する重みを、選択部41、教師データ生成部51、および生徒データ生成部52に供給する。さらに、操作信号処理部50は、操作信号が、上述した学習用操作信号かどうかを判定し、操作信号が学習用操作信号である場合には、その旨のフラグ(以下、適宜、学習フラグという)を、出力する重みに付加する。   The operation signal processing unit 50 is supplied with an operation signal from the operation unit 2 (FIG. 2), and the operation signal processing unit 50 processes the operation signal supplied thereto and converts the operation signal into the operation signal. Corresponding weights are supplied to the selection unit 41, the teacher data generation unit 51, and the student data generation unit 52. Further, the operation signal processing unit 50 determines whether or not the operation signal is the above-described learning operation signal. When the operation signal is the learning operation signal, the operation signal processing unit 50 determines whether or not the operation signal is a learning operation signal. ) Is added to the output weight.

教師データ生成部51は、操作信号処理部50から、学習フラグ付きの重みを受信すると、学習の教師となる教師データを生成し、学習用データメモリ53に供給する。即ち、教師データ生成部51は、学習フラグが付加されている重みを、教師データとして、学習用データメモリ53に供給する。   When the teacher data generation unit 51 receives the weight with the learning flag from the operation signal processing unit 50, the teacher data generation unit 51 generates the teacher data to be a learning teacher and supplies it to the learning data memory 53. That is, the teacher data generation unit 51 supplies the weight with the learning flag added to the learning data memory 53 as teacher data.

生徒データ生成部52は、操作信号処理部50から学習フラグ付きの重みを受信すると、学習の生徒となる生徒データを生成し、学習用データメモリ53に供給する。即ち、生徒データ生成部52は、例えば、上述の入力信頼度計算部42、出力信頼度計算部43、ラッチ回路44、および重み計算部45と同様に構成され、そこに供給される入力信号から重みを計算しており、学習フラグ付きの重みを受信したときに入力信号から計算された重みを、生徒データとして、学習用データメモリ53に供給する。   When the student data generation unit 52 receives the weight with the learning flag from the operation signal processing unit 50, the student data generation unit 52 generates student data to be a learning student and supplies it to the learning data memory 53. That is, the student data generation unit 52 is configured in the same manner as the above-described input reliability calculation unit 42, output reliability calculation unit 43, latch circuit 44, and weight calculation unit 45, for example, from input signals supplied thereto. The weight is calculated, and the weight calculated from the input signal when the weight with the learning flag is received is supplied to the learning data memory 53 as student data.

学習用データメモリ53は、教師データ生成部51から供給される、学習用操作信号に対応する重みとしての教師データと、生徒データ生成部52から供給される、その学習用操作信号を受信したときの入力信号から計算される重みとしての生徒データとのセットを、1セットの学習用データとして記憶する。なお、上述したように、学習用データメモリ53は、複数の学習用データを記憶することができ、さらに、その記憶容量分だけの学習用データを記憶すると、次の学習用データを、最も古い記憶値に上書きする形で記憶するようになっている。従って、学習用データメモリ53は、基本的に、最近の学習用データの幾つかが、常に記憶されている状態にある。   The learning data memory 53 receives the teacher data as the weight corresponding to the learning operation signal supplied from the teacher data generation unit 51 and the learning operation signal supplied from the student data generation unit 52. A set of student data as weights calculated from the input signals is stored as a set of learning data. Note that, as described above, the learning data memory 53 can store a plurality of learning data, and when learning data corresponding to the storage capacity is stored, the next learning data is determined to be the oldest. The stored value is overwritten on the stored value. Therefore, the learning data memory 53 is basically in a state in which some recent learning data is always stored.

パラメータ制御データ計算部54は、判定制御部56の制御の下、学習用データメモリ53に記憶された学習用データとしての教師データおよび生徒データ、さらには、必要に応じて、学習情報メモリ55に記憶された学習情報を用いて、所定の統計的な誤差を最小にするパラメータ制御データを、新たな学習情報を演算することにより学習し、判定制御部56に供給する。また、パラメータ制御データ計算部54は、学習によって得られた新たな学習情報によって、学習情報メモリ55の記憶内容を更新する。学習情報メモリ55は、パラメータ制御データ計算部54からの学習情報を記憶する。   The parameter control data calculation unit 54 controls the teacher data and student data as learning data stored in the learning data memory 53 under the control of the determination control unit 56, and further stores the learning data in the learning information memory 55 as necessary. Using the stored learning information, parameter control data that minimizes a predetermined statistical error is learned by calculating new learning information and supplied to the determination control unit 56. Further, the parameter control data calculation unit 54 updates the stored content of the learning information memory 55 with new learning information obtained by learning. The learning information memory 55 stores learning information from the parameter control data calculation unit 54.

判定制御部56は、パラメータ制御データ計算部54から供給されるパラメータ制御データの適正さを、学習用データメモリ53に記憶された最近の学習用データを参照することにより判定する。また、判定制御部56は、パラメータ制御データ計算部54を制御し、パラメータ制御データ計算部54から供給されるパラメータ制御データを、パラメータ制御データメモリ57に供給する。パラメータ制御データメモリ57は、その記憶内容を、判定制御部56から供給されるパラメータ制御データによって更新し、重み補正部46に供給する。   The determination control unit 56 determines the appropriateness of the parameter control data supplied from the parameter control data calculation unit 54 by referring to the latest learning data stored in the learning data memory 53. Further, the determination control unit 56 controls the parameter control data calculation unit 54 and supplies the parameter control data supplied from the parameter control data calculation unit 54 to the parameter control data memory 57. The parameter control data memory 57 updates the stored contents with the parameter control data supplied from the determination control unit 56, and supplies it to the weight correction unit 46.

図4の実施の形態では、以上の選択部41乃至重み補正部46、および操作信号処理部50乃至パラメータ制御データメモリ57によって、処理部11の学習部22が構成されている。   In the embodiment of FIG. 4, the learning unit 22 of the processing unit 11 is configured by the selection unit 41 to the weight correction unit 46 and the operation signal processing unit 50 to the parameter control data memory 57 described above.

以上のように構成されるNR回路としての最適化装置1の処理部11では、次のようにして、入力信号におけるノイズが除去される。   In the processing unit 11 of the optimization device 1 as an NR circuit configured as described above, noise in the input signal is removed as follows.

即ち、例えば、いま、説明を簡単にするために、図5Aに示すような、真値が一定で、かつ時間的に変動するノイズが重畳された入力信号について、その平均をとることで、時間的に変動するノイズを除去することを考えると、ノイズの度合いとしての、例えば、ノイズのレベルが大きい入力信号(従って、S/Nの悪い信号)については、その重みを小さくし(あまり考慮しないようにする)、ノイズのレベルの小さい入力信号(従って、S/Nの良い信号)については、その重みを大きくすることにより、ノイズを効果的に除去することができる。   That is, for the sake of simplicity, for example, as shown in FIG. 5A, the average value of the input signal on which the true value is constant and the temporally varying noise is superimposed is calculated as follows. Considering the removal of noise that fluctuates automatically, for example, an input signal having a large noise level (ie, a signal having a poor S / N) is reduced in weight (not considered much). For an input signal with a low noise level (and therefore a signal with good S / N), the noise can be effectively removed by increasing the weight.

そこで、図4のNR回路では、入力信号の評価値として、例えば、図5Bに示すような、入力信号の、真値に対する近さ、即ち、入力信号が真値であることの信頼性を表す入力信頼度を求め、その入力信頼度に対応した重み付けを入力信号に対して行いながら、その平均を計算することで、ノイズを効果的に除去するようになっている。   Therefore, in the NR circuit of FIG. 4, as the evaluation value of the input signal, for example, as shown in FIG. 5B, the proximity of the input signal to the true value, that is, the reliability of the input signal being the true value is expressed. Noise is effectively removed by calculating the average while obtaining the input reliability and performing weighting corresponding to the input reliability on the input signal.

従って、図4のNR回路では、入力信号について、その入力信頼度に対応した重みを用いた重み付け平均が求められ、出力信号として出力されるが、いま、時刻tにおける入力信号、出力信号、入力信頼度を、それぞれx(t),y(t),αx(t)と表すと、次式にしたがって、出力信号y(t)が求められることになる。 Therefore, in the NR circuit of FIG. 4, for the input signal, a weighted average using a weight corresponding to the input reliability is obtained and output as an output signal, but now the input signal, output signal, input at time t When the reliability is expressed as x (t), y (t), and α x (t) , the output signal y (t) is obtained according to the following equation.

Figure 0004591785
・・・(1)
Figure 0004591785
... (1)

なお、ここでは、入力信頼度αx(t)が大きいほど、大きな重みを与えることとしている。 Here, the greater the input reliability α x (t) is, the greater the weight is given.

式(1)から、現在時刻tから1サンプル前の出力信号y(t−1)は、次式で求められる。   From Expression (1), the output signal y (t−1) one sample before the current time t is obtained by the following expression.

Figure 0004591785
・・・(2)
Figure 0004591785
... (2)

また、出力信号y(t)についても、その出力信号y(t)の評価値として、真値に対する近さ、即ち、出力信号y(t)が真値であることの信頼性を表す出力信頼度αy(t)を導入し、現在時刻tから1サンプル前の出力信号y(t−1)の出力信頼度αy(t-1)を、次式で定義する。 The output signal y (t) is also an output reliability representing the closeness to the true value, that is, the reliability of the output signal y (t) being the true value, as the evaluation value of the output signal y (t). Degree α y (t) is introduced, and the output reliability α y (t−1) of the output signal y (t−1) one sample before the current time t is defined by the following equation.

Figure 0004591785
・・・(3)
Figure 0004591785
... (3)

この場合、式(1)乃至(3)から、出力信号y(t)およびその出力信頼度αy(t)は、次のように表すことができる。 In this case, from the equations (1) to (3), the output signal y (t) and its output reliability α y (t) can be expressed as follows.

Figure 0004591785
・・・(4)
Figure 0004591785
... (4)

Figure 0004591785
・・・(5)
Figure 0004591785
... (5)

また、時刻tにおいて、出力信号y(t)を求めるのに用いる重みを、w(t)と表し、これを、次式で定義する。   In addition, the weight used to obtain the output signal y (t) at time t is expressed as w (t), which is defined by the following equation.

Figure 0004591785
・・・(6)
Figure 0004591785
... (6)

式(6)から、次式が成り立つ。   From the expression (6), the following expression is established.

Figure 0004591785
・・・(7)
Figure 0004591785
... (7)

式(6)および(7)を用いると、式(4)における出力信号y(t)は、次のような乗算と加算による重み付け平均によって表すことができる。   Using Expressions (6) and (7), the output signal y (t) in Expression (4) can be expressed by a weighted average by multiplication and addition as follows.

Figure 0004591785
・・・(8)
Figure 0004591785
... (8)

なお、式(8)で用いる重みw(t)(および1−w(t))は、式(6)から、1サンプル前の出力信号y(t−1)の出力信頼度αy(t-1)と、現在の入力信号x(t)の入力信頼度αx(t)とから求めることができる。また、式(5)における現在の出力信号y(t)の出力信頼度αy(t)も、その1サンプル前の出力信号y(t−1)の出力信頼度αy(t-1)と、現在の入力信号x(t)の入力信頼度αx(t)とから求めることができる。 Note that the weight w (t) (and 1-w (t)) used in the equation (8) is the output reliability α y (t of the output signal y (t−1) one sample before from the equation (6). -1) and the input reliability α x (t) of the current input signal x (t). Further, the output reliability α y (t ) of the current output signal y (t) in Expression (5) is also the output reliability α y (t−1) of the output signal y (t−1) one sample before. And the input reliability α x (t) of the current input signal x (t).

ここで、入力信号x(t)の入力信頼度αx(t)、または出力信号y(t)の出力信頼度αy(t)として、それぞれの分散σx(t) 2、またはσy(t) 2の逆数を用いることとすると、即ち、入力信頼度αx(t)、出力信頼度αy(t)を、式 Here, as the input reliability α x (t) of the input signal x (t) or the output reliability α y (t) of the output signal y (t), the respective variances σ x (t) 2 or σ y (t) If the inverse of 2 is used, that is, input reliability α x (t) and output reliability α y (t)

Figure 0004591785
・・・(9)
とおくと、式(6)における重みw(t)と、式(7)における重み1−w(t)は、次式で求めることができる。
Figure 0004591785
... (9)
In other words, the weight w (t) in the equation (6) and the weight 1-w (t) in the equation (7) can be obtained by the following equations.

Figure 0004591785
・・・(10)
Figure 0004591785
... (10)

Figure 0004591785
・・・(11)
Figure 0004591785
(11)

なお、σy(t) 2は、次式で求めることができる。 Σ y (t) 2 can be obtained by the following equation.

Figure 0004591785
・・・(12)
Figure 0004591785
(12)

図4のNR回路は、基本的には、式(6)にしたがい、重みw(t)としての補正パラメータを演算する補正パラメータ演算処理を行い、その重みw(t)を用いて、式(8)にしたがい、1サンプル前の出力信号y(t−1)と、現在の入力信号x(t)との重み付け平均を計算することで、入力信号x(t)に含まれるノイズを効果的に除去する補正処理を行う。   The NR circuit of FIG. 4 basically performs a correction parameter calculation process for calculating a correction parameter as a weight w (t) according to the equation (6), and uses the weight w (t) to calculate the equation ( According to 8), the noise contained in the input signal x (t) is effectively calculated by calculating the weighted average of the output signal y (t−1) one sample before and the current input signal x (t). Correction processing to be removed is performed.

ところで、式(6)にしたがって求められた重みw(t)による入力信号の補正処理の結果得られる出力信号が、必ずしも、ユーザが最適と感じるとは限らない。そこで、図4のNR回路は、ユーザによる操作部2の操作を学習することにより、補正パラメータとしての重みw(t)を制御(補正)するパラメータ制御データを求める制御データ学習処理を行い、そのパラメータ制御データによって補正した重みを用いて、入力信号の補正処理を行うようになっている。   By the way, the output signal obtained as a result of the correction process of the input signal with the weight w (t) obtained according to the equation (6) does not always feel optimal by the user. Therefore, the NR circuit of FIG. 4 performs control data learning processing for obtaining parameter control data for controlling (correcting) the weight w (t) as the correction parameter by learning the operation of the operation unit 2 by the user. The input signal is corrected using the weight corrected by the parameter control data.

制御データ学習処理は、次のようにして行われるようになっている。   The control data learning process is performed as follows.

即ち、ユーザが操作部2を操作することによって、i回目に与えられた学習用操作信号に対応する重みWiは、その学習用操作信号が与えられたときに入力された入力信号に対して、ユーザが最適なものと考えているとみることができ、従って、制御データ学習処理では、式(6)にしたがって求められる重みw(t)を、学習用操作信号に対応する重みWiに近い値(理想的には、同一の値)に補正することのできるパラメータ制御データを求めれば良い。 That is, when the user operates the operation unit 2, the weight W i corresponding to the learning operation signal given for the i-th time is the same as the input signal inputted when the learning operation signal is given. Therefore, in the control data learning process, the weight w (t) obtained according to the equation (6) is set to the weight W i corresponding to the learning operation signal. It is only necessary to obtain parameter control data that can be corrected to a close value (ideally the same value).

そこで、いま、式(6)にしたがって求められる重みw(t)を、学習の生徒となる生徒データとするとともに、学習用操作信号に対応する重みWiを、学習の教師となる教師データとして、生徒データとしての重みw(t)から、例えば、次式に示すような、パラメータ制御データaとbによって定義される一次式によって予測される、教師データとしての重みWiの予測値Wi’を求めることを考える。 So, now, the equation (6) The weight w (t) which is determined in accordance with, as well as to become a student data learning of the student, the weight W i corresponding to the learning operating signals, as teacher data to be a learning teacher From the weight w (t) as the student data, for example, the predicted value W i of the weight W i as the teacher data is predicted by a linear expression defined by the parameter control data a and b as shown in the following expression: Think of asking for '.

i’=awi+b
・・・(13)
W i '= aw i + b
... (13)

なお、式(13)において(後述する式(14)、式(16)乃至(21)においても、同様)、wiは、教師データとしての学習用操作信号に対応する重みWiが与えられたときに入力された入力信号に対して、式(6)にしたがって求められる生徒データとしての重みw(t)を表す。 In Expression (13) (the same applies to Expression (14) and Expressions (16) to (21) described later), w i is given a weight W i corresponding to a learning operation signal as teacher data. Represents the weight w (t) as the student data obtained according to the equation (6) with respect to the input signal inputted at the time.

式(13)から、教師データとしてのWiと、その予測値Wi’との誤差(予測誤差)eiは、次式で表される。 From equation (13), the error (prediction error) e i of the W i as teacher data, and the prediction value W i 'is expressed by the following equation.

Figure 0004591785
Figure 0004591785

・・・(14)                                                       (14)

いま、式(14)の予測誤差eiの、次式で表される自乗(2乗)誤差の総和 Now, the prediction error e i of formula (14), the square represented by the following formula (the square) error summation

Figure 0004591785
・・・(15)
を最小にするパラメータ制御データaとbを、最小自乗法(最小自乗誤差法ともいう)により求めることを考える。なお、式(15)において(後述する式(16)乃至(21)においても、同様)、Nは、教師データと生徒データのセット数を表す。
Figure 0004591785
(15)
It is assumed that the parameter control data a and b that minimize the value are obtained by the least square method (also called the least square error method). In Equation (15) (also in Equations (16) to (21) described later), N represents the number of sets of teacher data and student data.

まず、式(15)の自乗誤差の総和を、パラメータ制御データaとbで、それぞれ偏微分すると、次式が得られる。   First, when the sum of the square errors in equation (15) is partially differentiated with respect to parameter control data a and b, the following equation is obtained.

Figure 0004591785
・・・(16)
Figure 0004591785
... (16)

Figure 0004591785
・・・(17)
Figure 0004591785
... (17)

式(15)の自乗誤差の総和の最小値(極小値)は、式(16)と(17)の右辺を0にするaとbによって与えられるから、式(16)と(17)の右辺を、それぞれ0とおくと、式(16)からは式(18)が、式(17)からは式(19)が、それぞれ得られる。   Since the minimum value (minimum value) of the sum of square errors in equation (15) is given by a and b with the right side of equations (16) and (17) set to 0, the right side of equations (16) and (17) Is set to 0, Equation (18) is obtained from Equation (16), and Equation (19) is obtained from Equation (17).

Figure 0004591785
・・・(18)
Figure 0004591785
... (18)

Figure 0004591785
・・・(19)
Figure 0004591785
... (19)

式(19)を、式(18)に代入することにより、パラメータ制御データaは、次式によって求めることができる。   By substituting equation (19) into equation (18), the parameter control data a can be obtained by the following equation.

Figure 0004591785
・・・(20)
Figure 0004591785
... (20)

また、式(19)と(20)から、パラメータ制御データbは、次式によって求めることができる。   Further, from the equations (19) and (20), the parameter control data b can be obtained by the following equation.

Figure 0004591785
・・・(21)
Figure 0004591785
(21)

図4のNR回路では、以上のようにして、パラメータ制御データaとbを求める制御データ学習処理を行うようになっている。   In the NR circuit of FIG. 4, the control data learning process for obtaining the parameter control data a and b is performed as described above.

次に、図6乃至図8のフローチャートを参照して、図4のNR回路が行う補正処理、補正パラメータ演算処理、および制御データ学習処理について説明する。   Next, correction processing, correction parameter calculation processing, and control data learning processing performed by the NR circuit of FIG. 4 will be described with reference to flowcharts of FIGS.

まず最初に、図6のフローチャートを参照して、補正処理について説明する。   First, the correction process will be described with reference to the flowchart of FIG.

学習部22の選択部41から、補正部21に対して、補正パラメータとしての重みw(t)が供給されると、補正部21の重みメモリ31は、その重みw(t)を上書きする形で記憶する。さらに、補正部21の演算器33は、重みw(t)を1.0から減算し、重み1−w(t)を求め、重みメモリ32に供給して、上書きする形で記憶させる。   When the weight w (t) as the correction parameter is supplied from the selection unit 41 of the learning unit 22 to the correction unit 21, the weight memory 31 of the correction unit 21 overwrites the weight w (t). Remember me. Further, the computing unit 33 of the correction unit 21 subtracts the weight w (t) from 1.0 to obtain the weight 1-w (t), supplies it to the weight memory 32, and stores it in the form of overwriting.

そして、入力信号x(t)が供給されると、ステップS21において、演算器34は、その入力信号x(t)と、重みメモリ32に記憶された重み1−w(t)との積を演算し、演算器36に供給する。さらに、ステップS21では、演算器35が、重みメモリ31に記憶された重みw(t)と、ラッチ回路37にラッチされた1サンプル前の出力信号y(t−1)との積を演算し、演算器36に供給する。   When the input signal x (t) is supplied, the calculator 34 calculates the product of the input signal x (t) and the weight 1-w (t) stored in the weight memory 32 in step S21. Calculate and supply to the calculator 36. In step S 21, the calculator 35 calculates the product of the weight w (t) stored in the weight memory 31 and the output signal y (t−1) one sample before latched in the latch circuit 37. , And supplied to the calculator 36.

そして、ステップS22に進み、演算器36は、入力信号x(t)および重み1−w(t)の積と、重みw(t)および出力信号y(t−1)の積とを加算し、これにより、入力信号x(t)と出力信号y(t−1)の重み付け加算値(1−w(t))x(t)+w(t)y(t−1)を求めて、出力信号y(t)として出力する。この出力信号y(t)は、ラッチ回路37にも供給され、ラッチ回路37は、出力信号y(t)を上書きする形で記憶する。その後、ステップS21に戻り、次のサンプルの入力信号が供給されるのを待って、以下、同様の処理が繰り返される。   In step S22, the arithmetic unit 36 adds the product of the input signal x (t) and the weight 1-w (t) and the product of the weight w (t) and the output signal y (t-1). Thus, the weighted addition value (1-w (t)) x (t) + w (t) y (t-1) between the input signal x (t) and the output signal y (t-1) is obtained and output. Output as signal y (t). This output signal y (t) is also supplied to the latch circuit 37, and the latch circuit 37 stores the output signal y (t) in an overwritten form. Thereafter, the process returns to step S21, waits for the input signal of the next sample to be supplied, and thereafter the same processing is repeated.

次に、図7のフローチャートを参照して、補正パラメータ演算処理について説明する。   Next, correction parameter calculation processing will be described with reference to the flowchart of FIG.

補正パラメータ演算処理では、まず最初に、ステップS31において、入力信頼度計算部42が、例えば、入力信号の分散に基づく入力信頼度αx(t)を求める。 In the correction parameter calculation process, first, in step S31, the input reliability calculation unit 42 obtains, for example, an input reliability α x (t) based on the variance of the input signal.

即ち、入力信頼度計算部42は、現在の入力信号のサンプルx(t)の他、その過去数サンプルをラッチすることができる、図示せぬFIFO(First In First Out)メモリを内蔵しており、現在の入力信号のサンプルx(t)と、その過去数サンプルとを用いて、それらの分散を計算し、その逆数を、入力信頼度αx(t)として求め、出力信頼度計算部43および重み計算部45に供給する。なお、入力信号の入力が開始された直後においては、分散を計算するのに必要な数の入力信号のサンプルが存在しない場合があるが、この場合には、例えば、デフォルトの値が、入力信頼度αx(t)として出力される。 That is, the input reliability calculation unit 42 has a built-in FIFO (First In First Out) memory (not shown) that can latch the past number of samples in addition to the sample x (t) of the current input signal. Then, using the sample x (t) of the current input signal and its past number samples, their variances are calculated, and the reciprocal thereof is obtained as the input reliability α x (t) , and the output reliability calculation unit 43 And supplied to the weight calculation unit 45. Immediately after the input of the input signal is started, there may be cases where the number of samples of the input signal necessary to calculate the variance does not exist. Output as degrees α x (t) .

その後、ステップS32に進み、重み計算部45は、入力信頼度計算部42からの入力信頼度αx(t)を用い、式(6)にしたがって、重みw(t)を求める。 Thereafter, the process proceeds to step S32, and the weight calculation unit 45 uses the input reliability α x (t) from the input reliability calculation unit 42 to obtain the weight w (t) according to the equation (6).

即ち、入力信頼度計算部42から重み計算部45に対して、入力信頼度αx(t)が供給されるタイミングにおいては、ラッチ回路44において、出力信頼度計算部43が1サンプル前に出力した出力信頼度αy(t-1)がラッチされており、重み計算部45は、ステップS32において、入力信頼度計算部12からの入力信頼度αx(t)と、ラッチ回路44にラッチされている出力信頼度αy(t-1)とを用い、式(6)にしたがって、重みw(t)を求める。この重みw(t)は、重み補正部46に供給される。 That is, at the timing when the input reliability α x (t) is supplied from the input reliability calculation unit 42 to the weight calculation unit 45, the output reliability calculation unit 43 outputs one sample before the latch circuit 44. The output reliability α y (t−1) is latched, and the weight calculation unit 45 latches the input reliability α x (t) from the input reliability calculation unit 12 and the latch circuit 44 in step S32. The weight w (t) is obtained according to the equation (6) using the output reliability α y (t−1) that has been set. The weight w (t) is supplied to the weight correction unit 46.

その後、ステップS33に進み、重み補正部46は、パラメータ制御データメモリ57からパラメータ制御データを読み出し、ステップS34に進む。ステップS34では、重み補正部46は、パラメータ制御データメモリ57から読み出したパラメータ制御データが、重みw(t)を補正しないモード、即ち、ユーザによる操作部2の操作に関係なく、重み計算部45において、入力信頼度と出力信頼度から、いわば自動的に求められる重みw(t)を、そのまま入力信号x(t)を補正するための重みWとして用いるモード(以下、適宜、オートモードという)を表すオートモードデータとなっているかどうかを判定する。   Thereafter, the process proceeds to step S33, where the weight correction unit 46 reads the parameter control data from the parameter control data memory 57, and proceeds to step S34. In step S34, the weight correction unit 46 sets the weight calculation unit 45 regardless of the mode in which the parameter control data read from the parameter control data memory 57 does not correct the weight w (t), that is, regardless of the operation of the operation unit 2 by the user. , A mode in which the weight w (t) automatically determined from the input reliability and the output reliability is used as the weight W for correcting the input signal x (t) as it is (hereinafter referred to as auto mode as appropriate). It is determined whether or not the auto mode data indicating is.

ステップS34において、パラメータ制御データがオートモードデータでないと判定された場合、ステップS35に進み、重み補正部46は、重み計算部45から供給される重みw(t)を、パラメータ制御データメモリ57から供給されるパラメータ制御データaとbによって定義される式(13)の一次式にしたがって補正し、ステップS36に進む。ステップS36では、重み補正部46が、補正後の重みを、選択部41に供給し、ステップS37に進む。ここで、式(13)において、wiが、重み計算部45から供給される重みw(t)に相当し、Wi’が、補正後の重みWに相当する。 If it is determined in step S34 that the parameter control data is not auto mode data, the process proceeds to step S35, and the weight correction unit 46 calculates the weight w (t) supplied from the weight calculation unit 45 from the parameter control data memory 57. The correction is made according to the linear expression of Expression (13) defined by the supplied parameter control data a and b, and the process proceeds to Step S36. In step S36, the weight correction unit 46 supplies the corrected weight to the selection unit 41, and the process proceeds to step S37. Here, in Expression (13), w i corresponds to the weight w (t) supplied from the weight calculation unit 45, and W i ′ corresponds to the corrected weight W.

一方、ステップS34において、パラメータ制御データがオートモードデータであると判定された場合、ステップS35をスキップして、ステップS36に進み、重み補正部46は、重み計算部45からの重みw(t)を、そのまま選択部41に供給し、ステップS37に進む。   On the other hand, when it is determined in step S34 that the parameter control data is auto mode data, step S35 is skipped and the process proceeds to step S36, where the weight correction unit 46 receives the weight w (t) from the weight calculation unit 45. Is directly supplied to the selection unit 41, and the process proceeds to step S37.

ステップS37では、出力信頼度計算部43は、出力信頼度を更新する。即ち、出力信頼度計算部43は、直前のステップS31で入力信頼度計算部42が計算した入力信頼度αx(t)と、ラッチ回路44がラッチしている1サンプル前の出力信頼度αy(t-1)とを、式(5)にしたがって加算することで、現在の出力信頼度αy(t)を求め、ラッチ回路44に上書きする形で記憶させる。 In step S37, the output reliability calculation unit 43 updates the output reliability. That is, the output reliability calculation unit 43 outputs the input reliability α x (t) calculated by the input reliability calculation unit 42 in the immediately preceding step S31 and the output reliability α one sample before latched by the latch circuit 44. The current output reliability α y (t) is obtained by adding y (t−1) according to the equation (5), and is stored in the latch circuit 44 in an overwritten form.

そして、ステップS38に進み、選択部41は、操作信号処理部50の出力から、操作部2がユーザによって操作されているかどうかを判定する。ステップS38において、操作部2が操作されていないと判定された場合、ステップS39に進み、選択部41は、重み補正部46から供給された重み(以下、適宜、補正重みという)を選択し、補正部21に出力して、ステップS31に戻る。   Then, the process proceeds to step S <b> 38, and the selection unit 41 determines whether the operation unit 2 is operated by the user from the output of the operation signal processing unit 50. If it is determined in step S38 that the operation unit 2 has not been operated, the process proceeds to step S39, where the selection unit 41 selects the weight supplied from the weight correction unit 46 (hereinafter referred to as correction weight as appropriate), The data is output to the correction unit 21, and the process returns to step S31.

また、ステップS38において、操作部2が操作されていると判定された場合、ステップS40に進み、選択部41は、その操作に応じて、操作信号処理部50が出力する重みを選択し、補正部21に出力して、ステップS31に戻る。   If it is determined in step S38 that the operation unit 2 is operated, the process proceeds to step S40, and the selection unit 41 selects the weight output by the operation signal processing unit 50 in accordance with the operation and corrects it. It outputs to the part 21, and returns to step S31.

従って、図7の補正パラメータ演算処理においては、操作部2が操作されていない場合は、補正重みが、補正部21に供給され、また、操作部2が操作されている場合は、その操作信号に対応する重みが、補正部21に供給される。その結果、補正部21では、操作部2が操作されていない場合は、補正重みによって、入力信号が補正され、操作部2が操作されている場合には、その操作信号に対応する重みによって、入力信号が補正される。   Therefore, in the correction parameter calculation process of FIG. 7, when the operation unit 2 is not operated, the correction weight is supplied to the correction unit 21, and when the operation unit 2 is operated, the operation signal Is supplied to the correction unit 21. As a result, in the correction unit 21, when the operation unit 2 is not operated, the input signal is corrected by the correction weight, and when the operation unit 2 is operated, the weight corresponding to the operation signal is used. The input signal is corrected.

さらに、図7の補正パラメータ演算処理においては、オートモードの場合は、操作部2の操作に関係なく、入力信頼度と出力信頼度のみから、補正処理に用いられる重みが求められ、オートモードでない場合には、操作部2の操作に基づく、後述する図8の制御データ学習処理による学習によって得られるパラメータ制御データを用いて、補正処理に用いられる重みが求められる。   Furthermore, in the correction parameter calculation processing of FIG. 7, in the case of the auto mode, the weight used for the correction processing is obtained only from the input reliability and the output reliability regardless of the operation of the operation unit 2, and is not in the auto mode. In this case, the weight used for the correction process is obtained using the parameter control data obtained by learning by the control data learning process of FIG.

次に、図8のフローチャートを参照して、制御データ学習処理について説明する。   Next, the control data learning process will be described with reference to the flowchart of FIG.

制御データ学習処理では、まず最初に、ステップS41において、操作信号処理部50が、学習用操作信号を、操作部2から受信したかどうかを判定し、受信していないと判定した場合、ステップS41に戻る。   In the control data learning process, first, in step S41, if the operation signal processing unit 50 determines whether or not the learning operation signal has been received from the operation unit 2, and determines that the learning operation signal has not been received, step S41. Return to.

また、ステップS41において、操作部2から、学習用操作信号を受信したと判定された場合、即ち、例えば、操作部2が、その操作の開始後、第1の時間t1以上の間隔をあけることなく、第2の時間t2以上連続して操作され、その後、第3の時間t3以上連続して、その操作が停止された場合や、操作部2の操作の開始後、第3の時間t3以上連続して、その操作が停止された場合など、ユーザが、所望の出力信号を得られるように、操作部2の操作を行ったと判定することができる場合、ステップS42に進み、教師データ生成部51が教師データを生成するとともに、生徒データ生成部52が生徒データを生成する。   In Step S41, when it is determined that the learning operation signal is received from the operation unit 2, that is, for example, the operation unit 2 leaves an interval of the first time t1 or more after the operation is started. If the operation is stopped continuously for the second time t2 and thereafter, the operation is stopped continuously for the third time t3 or after the start of the operation of the operation unit 2, the time t3 or more. When it can be determined that the user has operated the operation unit 2 so as to obtain a desired output signal, such as when the operation is continuously stopped, the process proceeds to step S42, and the teacher data generation unit 51 generates teacher data, and a student data generation unit 52 generates student data.

即ち、操作信号処理部50は、学習用操作信号を受信した場合、その学習用操作信号に対応する重みW(例えば、操作部2の操作量や、操作部2としてのつまみやレバーなどの位置に対応した重みW)を、学習フラグとともに、教師データ生成部51および生徒データ生成部52に供給する。教師データ生成部51は、学習フラグ付きの重みWを受信すると、その重みWを、教師データとして取得し、学習用データメモリ53に供給する。また、生徒データ生成部52は、学習フラグ付きの重みを受信すると、そのときの入力信号に対応する重みwを、生徒データとして求め、学習用データメモリ53に供給する。   That is, when the operation signal processing unit 50 receives the learning operation signal, the operation signal processing unit 50 has a weight W corresponding to the learning operation signal (for example, the operation amount of the operation unit 2 or the position of a knob or a lever as the operation unit 2). Are supplied to the teacher data generation unit 51 and the student data generation unit 52 together with the learning flag. When receiving the weight W with the learning flag, the teacher data generation unit 51 acquires the weight W as teacher data and supplies it to the learning data memory 53. When the student data generation unit 52 receives the weight with the learning flag, the student data generation unit 52 obtains the weight w corresponding to the input signal at that time as the student data, and supplies it to the learning data memory 53.

ここで、入力信号に対応する重みwとは、式(6)にしたがい、入力信頼度と出力信頼度とから、いわば自動的に求められる重みを意味し、上述したように、生徒データ生成部52は、この入力信号に対応する重みwを、入力信号から計算している。   Here, the weight w corresponding to the input signal means the weight automatically obtained from the input reliability and the output reliability according to the equation (6), and as described above, the student data generation unit 52 calculates the weight w corresponding to this input signal from the input signal.

学習用データメモリ53は、教師データ生成部51から教師データWを受信するとともに、生徒データ生成部52から生徒データwを受信すると、ステップS43において、その最新の教師データWと生徒データwのセットを記憶し、ステップS44に進む。   The learning data memory 53 receives the teacher data W from the teacher data generation unit 51 and receives the student data w from the student data generation unit 52. In step S43, the learning data memory 53 sets the latest teacher data W and student data w. Is stored, and the process proceeds to step S44.

ステップS44では、パラメータ制御データ計算部54が、教師データと生徒データを対象として、最小自乗法における足し込みを行う。   In step S44, the parameter control data calculation unit 54 performs addition in the least square method on the teacher data and the student data.

即ち、パラメータ制御データ計算部54は、式(20)や(21)における生徒データwiと教師データWiとの乗算(wii)とサメーション(Σwii)に相当する演算、生徒データwiのサメーション(Σwi)に相当する演算、教師データWiのサメーション(ΣWi)に相当する演算、生徒データwiどうしの積のサメーション(Σwi 2)に相当する演算を行う。 That is, the parameter control data calculation unit 54 performs an operation corresponding to multiplication (w i W i ) and summation (Σw i W i ) of the student data w i and the teacher data W i in the equations (20) and (21). , Equivalent to the summation of student data w i (Σw i ), equivalent to the summation of teacher data W i (ΣW i ), equivalent to the summation of the product of student data w i (Σw i 2 ) Perform the operation.

ここで、例えば、いま、既に、N−1セットの教師データと生徒データが得られており、最新の教師データと生徒データとして、Nセット目の教師データと生徒データが得られたとすると、その時点では、パラメータ制御データ計算部54において、N−1セットの教師データと生徒データを対象とした足し込みが、既に行われている。従って、Nセット目の教師データと生徒データについては、既に行われているN−1セットの教師データと生徒データを対象とした足し込み結果を保持してあれば、その足し込み結果に、Nセット目の教師データと生徒データを足し込むことにより、最新の教師データと生徒データを含む、Nセットの教師データと生徒データの足し込み結果を得ることができる。   Here, for example, if N-1 sets of teacher data and student data have already been obtained, and the Nth set of teacher data and student data has been obtained as the latest teacher data and student data, At the time, the parameter control data calculation unit 54 has already added N-1 sets of teacher data and student data. Accordingly, with regard to the Nth set of teacher data and student data, if an addition result for the N-1 set of teacher data and student data that has already been performed is held, N By adding the set of teacher data and student data, it is possible to obtain an addition result of N sets of teacher data and student data including the latest teacher data and student data.

そこで、パラメータ制御データ計算部54は、前回の足し込み結果を、学習情報として、学習情報メモリ55に記憶させておくようになっており、この学習情報を用いて、Nセット目の教師データと生徒データについての足し込みを行うようになっている。なお、足し込みには、いままでの足し込みに用いた教師データと生徒データのセット数Nも必要であり、学習情報メモリ55は、このセット数Nも、学習情報として記憶するようになっている。   Therefore, the parameter control data calculation unit 54 stores the previous addition result as learning information in the learning information memory 55, and using this learning information, the Nth set of teacher data and The student data is added. Note that the addition requires the number N of sets of teacher data and student data used for the addition so far, and the learning information memory 55 also stores this number of sets N as learning information. Yes.

パラメータ制御データ計算部54は、ステップS44において足し込みを行った後、その足し込み結果を、学習情報として、学習情報メモリ55に上書きする形で記憶させ、ステップS45に進む。   The parameter control data calculation unit 54 performs addition in step S44, and then stores the addition result as learning information in the form of being overwritten in the learning information memory 55, and proceeds to step S45.

ステップS45では、パラメータ制御データ計算部54が、学習情報メモリ55に記憶された学習情報としての足し込み結果から、式(20)および(21)によって、パラメータ制御データaおよびbを求めることが可能であるかどうかを判定する。   In step S45, the parameter control data calculation unit 54 can obtain the parameter control data a and b from the addition result as learning information stored in the learning information memory 55 by using the equations (20) and (21). It is determined whether or not.

即ち、教師データと生徒データのセットを、以下、適宜、学習対というものとすると、少なくとも、2つの学習対から得られた学習情報が存在しなければ、式(20)および(21)から、パラメータ制御データaおよびbを得ることができない。そこで、ステップS45では、学習情報から、パラメータ制御データaおよびbを求めることが可能であるかどうかが判定される。   That is, if a set of teacher data and student data is hereinafter referred to as a learning pair as appropriate, at least if learning information obtained from two learning pairs does not exist, from equations (20) and (21), The parameter control data a and b cannot be obtained. Therefore, in step S45, it is determined whether or not the parameter control data a and b can be obtained from the learning information.

ステップS45において、パラメータ制御データaおよびbを求めることが可能でないと判定された場合、パラメータ制御データ計算部54は、その旨を、判定制御部56に供給し、ステップS49に進む。ステップS49では、判定制御部56は、パラメータ制御データとして、オードモードを表すオートモードデータを、パラメータ制御データメモリ57に供給して記憶させる。そして、ステップS41に戻り、以下、同様の処理が繰り返される。   If it is determined in step S45 that the parameter control data a and b cannot be obtained, the parameter control data calculation unit 54 supplies the fact to the determination control unit 56 and proceeds to step S49. In step S49, the determination control unit 56 supplies auto mode data representing the auto mode to the parameter control data memory 57 as parameter control data and stores it therein. Then, the process returns to step S41, and the same processing is repeated thereafter.

従って、パラメータ制御データaおよびbを求めることができるだけの学習情報が存在しない場合には、図7で説明したように、入力信頼度と出力信頼度から自動的に求められる重みw(t)が、そのまま入力信号x(t)の補正に用いられることになる。   Therefore, when there is no learning information that can obtain the parameter control data a and b, the weight w (t) automatically obtained from the input reliability and the output reliability is set as described with reference to FIG. This is used as it is for correcting the input signal x (t).

一方、ステップS45において、パラメータ制御データaおよびbを求めることが可能であると判定された場合、ステップS46に進み、パラメータ制御データ計算部54は、学習情報を用い、式(20)および(21)を計算することで、パラメータ制御データaおよびbを求め、判定制御部56に供給して、ステップS47に進む。   On the other hand, when it is determined in step S45 that the parameter control data a and b can be obtained, the process proceeds to step S46, and the parameter control data calculation unit 54 uses the learning information and uses equations (20) and (21). ) To obtain parameter control data a and b, supply them to the determination control unit 56, and proceed to step S47.

ステップS47では、判定制御部56は、パラメータ制御データ計算部54からのパラメータ制御データaおよびbによって定義される式(13)の一次式にしたがい、学習用データメモリ53に記憶された各生徒データから、対応する教師データの予測値を求め、その予測値の予測誤差(学習用データメモリ53に記憶されている教師データに対する誤差)の、式(15)で表される自乗誤差の総和を求める。さらに、判定制御部56は、その自乗誤差の総和を、例えば、学習用データメモリ53に記憶されている学習対の数で除算した正規化誤差を求め、ステップS48に進む。   In step S47, the determination control unit 56 sets each student data stored in the learning data memory 53 according to a linear expression of the expression (13) defined by the parameter control data a and b from the parameter control data calculation unit 54. Then, the predicted value of the corresponding teacher data is obtained, and the sum of the square errors represented by the equation (15) of the prediction error of the predicted value (the error with respect to the teacher data stored in the learning data memory 53) is obtained. . Further, the determination control unit 56 obtains a normalization error obtained by dividing the sum of the square errors by the number of learning pairs stored in the learning data memory 53, for example, and proceeds to step S48.

ステップS48では、判定制御部56は、正規化誤差が、所定の閾値S1より大(以上)であるかどうかを判定する。ステップS48において、正規化誤差が所定の閾値S1より大であると判定された場合、即ち、パラメータ制御データaおよびbによって定義される式(13)の一次式が、学習用データメモリ53に記憶された生徒データと教師データとの関係を、精度良く近似していない場合、ステップS49に進み、判定制御部56は、上述したように、パラメータ制御データとして、オードモードを表すオートモードデータを、パラメータ制御データメモリ57に供給して記憶させる。そして、ステップS41に戻り、以下、同様の処理が繰り返される。   In step S48, the determination control unit 56 determines whether or not the normalization error is greater than (or greater than) a predetermined threshold value S1. When it is determined in step S48 that the normalization error is larger than the predetermined threshold value S1, that is, the primary expression defined by the parameter control data a and b (13) is stored in the learning data memory 53. If the relationship between the student data and the teacher data is not approximated accurately, the process proceeds to step S49, and as described above, the determination control unit 56 uses the auto mode data representing the auto mode as the parameter control data. It is supplied to the parameter control data memory 57 and stored. Then, the process returns to step S41, and the same processing is repeated thereafter.

従って、パラメータ制御データaおよびbを求めることができても、そのパラメータ制御データaおよびbによって定義される式(13)の一次式が、学習用データメモリ53に記憶された生徒データと教師データとの関係を、精度良く近似していない場合には、パラメータ制御データaおよびbを求めることができるだけの学習情報が存在しない場合と同様に、入力信頼度と出力信頼度から自動的に求められる重みw(t)が、そのまま入力信号x(t)の補正に用いられることになる。   Therefore, even if the parameter control data a and b can be obtained, the primary expression of the equation (13) defined by the parameter control data a and b is the student data and the teacher data stored in the learning data memory 53. Is not approximated with high accuracy, it is automatically obtained from the input reliability and the output reliability as in the case where there is not enough learning information to obtain the parameter control data a and b. The weight w (t) is used for correcting the input signal x (t) as it is.

一方、ステップS48において、正規化誤差が所定の閾値S1より大でないと判定された場合、即ち、パラメータ制御データaおよびbによって定義される式(13)の一次式が、学習用データメモリ53に記憶された生徒データと教師データとの関係を、精度良く近似している場合、ステップS50に進み、判定制御部56は、パラメータ制御データ計算部54からのパラメータ制御データaおよびbによって定義される式(13)の一次式で表される回帰直線と、学習用データメモリ53に記憶された最新の教師データおよび生徒データで規定される点との間の誤差(距離)εを求める。   On the other hand, when it is determined in step S48 that the normalization error is not larger than the predetermined threshold value S1, that is, the primary expression defined by the parameter control data a and b (13) is stored in the learning data memory 53. When the relationship between the stored student data and teacher data is approximated with high accuracy, the process proceeds to step S50, and the determination control unit 56 is defined by the parameter control data a and b from the parameter control data calculation unit 54. An error (distance) ε between the regression line expressed by the linear expression of Expression (13) and the point defined by the latest teacher data and student data stored in the learning data memory 53 is obtained.

そして、ステップS51に進み、判定制御部56は、誤差εの大きさが、所定の閾値S2より大(以上)であるかどうかを判定し、大でないと判定した場合、ステップS52をスキップして、ステップS53に進み、判定制御部56は、ステップS46で求められたパラメータ制御データaおよびbを、パラメータ制御部データメモリ37に出力する。パラメータ制御データメモリ57は、判定制御部56からのパラメータ制御データaおよびbを上書きする形で記憶し、ステップS41に戻る。   Then, the process proceeds to step S51, where the determination control unit 56 determines whether or not the magnitude of the error ε is larger (or greater) than the predetermined threshold S2, and if it is determined that it is not larger, skips step S52. In step S53, the determination control unit 56 outputs the parameter control data a and b obtained in step S46 to the parameter control unit data memory 37. The parameter control data memory 57 stores the parameter control data a and b from the determination control unit 56 in the form of overwriting, and returns to step S41.

一方、ステップS51において、誤差εの大きさが、所定の閾値S2より大であると判定された場合、ステップS52に進み、判定制御部56は、パラメータ制御データ計算部54を制御することにより、学習用データメモリ53に記憶された最近の教師データと生徒データとしての、最新の学習対から所定数の過去の学習対のみを用いて(学習情報メモリ55の学習情報を用いずに)、パラメータ制御データaおよびbを再計算させる。そして、ステップS53に進み、判定制御部56は、ステップS52で求められたパラメータ制御データaおよびbを、パラメータ制御部データメモリ37に出力し、上書きする形で記憶させ、ステップS41に戻る。   On the other hand, when it is determined in step S51 that the magnitude of the error ε is larger than the predetermined threshold value S2, the process proceeds to step S52, and the determination control unit 56 controls the parameter control data calculation unit 54 to Using only a predetermined number of past learning pairs from the latest learning pairs as the latest teacher data and student data stored in the learning data memory 53 (without using the learning information in the learning information memory 55), the parameters The control data a and b are recalculated. Then, the process proceeds to step S53, and the determination control unit 56 outputs the parameter control data a and b obtained in step S52 to the parameter control unit data memory 37, stores them in an overwritten form, and returns to step S41.

従って、パラメータ制御データaおよびbを求めることができ、かつ、そのパラメータ制御データaおよびbによって定義される式(13)の一次式が、学習用データメモリ53に記憶された生徒データと教師データとの関係を、精度良く近似している場合には、ユーザによる操作部2の操作に基づいて得られる学習対を用いて学習が行われることにより求められたパラメータ制御データaおよびbによって定義される式(13)にしたがって、入力信頼度と出力信頼度から求められる重みw(t)が補正され、その補正によって得られる補正重みWが、入力信号x(t)の補正に用いられることになる。   Accordingly, the parameter control data a and b can be obtained, and the primary expression defined by the parameter control data a and b is the student data and teacher data stored in the learning data memory 53. Is accurately defined by parameter control data a and b obtained by learning using a learning pair obtained based on the operation of the operation unit 2 by the user. The weight w (t) obtained from the input reliability and the output reliability is corrected according to the equation (13), and the correction weight W obtained by the correction is used for correcting the input signal x (t). Become.

ここで、ステップS46で求められたパラメータ制御データaおよびbによって定義される式(13)の一次式で表される回帰直線は、図9Aに示すように、Nセットの教師データと生徒データによって規定されるN個の点との自乗誤差(の総和)を最小にする直線であるが、ステップS50では、この直線と、最新の教師データおよび生徒データで規定される点との間の誤差εが求められる。   Here, as shown in FIG. 9A, the regression line represented by the linear expression of the equation (13) defined by the parameter control data a and b obtained in step S46 is represented by N sets of teacher data and student data. This is a straight line that minimizes the square error (total sum) of N points that are defined. In step S50, an error ε between this straight line and the points defined by the latest teacher data and student data. Is required.

そして、この誤差εの大きさが、閾値S2より大でない場合には、ステップS46で求められたパラメータ制御データaおよびbによって定義される式(13)の一次式で表される回帰直線は、最新の教師データと生徒データで規定される点も含め、いままでに与えられた教師データと生徒データで規定される点のいずれも、比較的精度良く近似していると考えられる。   When the magnitude of the error ε is not larger than the threshold value S2, the regression line represented by the linear expression of the expression (13) defined by the parameter control data a and b obtained in step S46 is It is considered that all the points defined by the teacher data and the student data given so far, including the points defined by the latest teacher data and the student data, are approximated relatively accurately.

しかしながら、誤差εの大きさが、閾値S2より大の場合には、即ち、最新の教師データと生徒データで規定される点(図9Bにおいて○印で示す)が、図9Bに示すように、ステップS46で求められたパラメータ制御データaおよびbによって定義される式(13)の一次式で表される回帰直線から大きく離れている場合には、何らかの原因で、ユーザが、いままでとは異なる傾向の操作部2の操作を行ったと考えられる。   However, when the magnitude of the error ε is larger than the threshold value S2, that is, the point defined by the latest teacher data and student data (indicated by a circle in FIG. 9B) is as shown in FIG. 9B. If the user is far away from the regression line represented by the linear expression of the expression (13) defined by the parameter control data a and b obtained in step S46, the user is different from that for some reason. It is thought that the operation of the trend operation unit 2 was performed.

そこで、この場合、判定制御部56は、パラメータ制御データ計算部54を制御することにより、ステップS52において、学習用データメモリ53に記憶された学習対のうちの、最近の学習対のいくつかのみを用いて、パラメータ制御データaおよびbを再計算させる。   Therefore, in this case, the determination control unit 56 controls the parameter control data calculation unit 54, so that only some of the recent learning pairs among the learning pairs stored in the learning data memory 53 in step S52. Is used to recalculate the parameter control data a and b.

即ち、この場合、パラメータ制御データ計算部54は、学習情報メモリ55に記憶された過去の足し込み結果としての学習情報を用いずに(忘却して)、最近の幾つかの教師データと生徒データのセットのみを用いて、それらの教師データと生徒データによって規定される点の集合を最も良く近似する式(13)の直線を定義するパラメータ制御データaおよびbを再計算する。   That is, in this case, the parameter control data calculation unit 54 does not use (forget) the learning information as the past addition result stored in the learning information memory 55, and some recent teacher data and student data The parameter control data a and b defining the straight line of the equation (13) that best approximates the set of points defined by the teacher data and the student data are recalculated using only the set of.

具体的には、パラメータ制御データ計算部54は、例えば、図9Cに示すように、最新の教師データと生徒データによって規定される点(図9Cにおいて○印で示す)と、その1回前に与えられた教師データと生徒データによって規定される点(図9Cにおいて△印で示す)とを通る直線を定義するパラメータ制御データa’およびb’を求める。   Specifically, the parameter control data calculation unit 54, for example, as shown in FIG. 9C, a point defined by the latest teacher data and student data (indicated by a circle in FIG. 9C), and one time before that Parameter control data a ′ and b ′ defining a straight line passing through the given teacher data and a point defined by the student data (indicated by Δ in FIG. 9C) are obtained.

以上のように、ユーザの操作に応じて供給される操作信号が、学習に用いることができるかどうかを判定し、学習に用いることのできる学習用操作信号である場合には、その学習用操作信号に基づいて、入力信号を補正する重みを補正するパラメータ制御データaおよびbを学習するようにしたので、ユーザの操作を、ユーザが知らないうちに学習することができ、その結果、その学習結果に基づいて、ユーザにとって、徐々に適切な処理が行われるようになり、最終的には、ユーザにとって最適な処理が行われることになる。   As described above, when the operation signal supplied in accordance with the user operation is a learning operation signal that can be used for learning by determining whether or not the learning operation signal can be used for learning, the learning operation is performed. Since the parameter control data a and b for correcting the weight for correcting the input signal are learned based on the signal, the user's operation can be learned without the user's knowledge. Based on the result, appropriate processing is gradually performed for the user, and finally, optimal processing for the user is performed.

これは、ユーザ側からみれば、ユーザが操作部2を通常操作していると、そのうちに、操作を行わなくても、各種の入力信号に対して、ユーザにとって最適なノイズ除去結果が得られることを意味し、従って、装置が、いわば手になじんでくることを意味する。そして、この手になじんでくる段階では、ユーザが、所望の出力信号を得られるように、操作部2の操作を行うことから、ユーザにおいては、操作部2の操作と、入力信号の補正に用いられる重みWとの関係が、徐々に明確に認識されていくことになり、最終的には、ユーザによる操作部2の操作と、入力信号の補正に用いられる重みWとが、定性的に関係付けられることになる。   From the user side, when the user normally operates the operation unit 2, an optimum noise removal result for the user can be obtained with respect to various input signals without performing any operation. Meaning that the device is familiar to the hand. At this stage, the user operates the operation unit 2 so as to obtain a desired output signal. Therefore, the user operates the operation unit 2 and corrects the input signal. The relationship with the weight W used is gradually and clearly recognized. Finally, the operation of the operation unit 2 by the user and the weight W used for correction of the input signal are qualitatively determined. It will be related.

また、図4のNR回路においては、ユーザによる操作部2の操作にしたがい、補正部21で行われる補正処理(図6)で用いられる重みWが、ユーザにとって所望の出力信号が得られるように変更される。即ち、ユーザが操作部2を操作すると、操作信号処理部50は、その操作に対応した操作信号が表す重みを出力し、選択部41は、その重みを選択して、補正部21に供給する。この場合、補正部21では、ユーザの操作に対応した重みを用いて、式(8)で表される補正処理が行われる。そして、ユーザの操作により式(8)の重みw(t)が変更される場合には、当然に、式(8)で表される処理(補正処理)の内容も変更することとなるから、図4のNR回路では、ユーザの操作にしたがい、その「処理の内容」が、ユーザにとって所望の出力信号が得られるように変更されているということができる。   In the NR circuit of FIG. 4, the weight W used in the correction processing (FIG. 6) performed by the correction unit 21 can be obtained as a desired output signal for the user in accordance with the operation of the operation unit 2 by the user. Be changed. That is, when the user operates the operation unit 2, the operation signal processing unit 50 outputs the weight represented by the operation signal corresponding to the operation, and the selection unit 41 selects the weight and supplies it to the correction unit 21. . In this case, the correction unit 21 performs the correction process represented by Expression (8) using the weight corresponding to the user's operation. And when the weight w (t) of Formula (8) is changed by a user's operation, naturally the content of the process (correction process) represented by Formula (8) will also be changed. In the NR circuit of FIG. 4, it can be said that the “contents of processing” are changed so as to obtain a desired output signal for the user in accordance with the user's operation.

さらに、図4のNR回路では、パラメータ制御データaおよびbを求めることができない場合や、求めることができても、そのパラメータ制御データaおよびbによって定義される式(13)の一次式が、学習用データメモリ53に記憶された生徒データと教師データとの関係を、精度良く近似していない場合には、入力信頼度と出力信頼度とから自動的に求められる重みが、補正部21における補正処理に用いられる。一方、パラメータ制御データaおよびbを求めることができ、かつ、そのパラメータ制御データaおよびbによって定義される式(13)の一次式が、学習用データメモリ53に記憶された生徒データと教師データとの関係を、精度良く近似している場合には、ユーザによる操作部2の操作に基づいて得られる学習対を用いて学習が行われることにより求められたパラメータ制御データaおよびbによって定義される式(13)にしたがって、入力信頼度と出力信頼度から求められる重みが補正され、その補正によって得られる補正重みが、補正部21による補正処理に用いられる。   Further, in the NR circuit of FIG. 4, when the parameter control data a and b cannot be obtained or can be obtained, the linear expression of the equation (13) defined by the parameter control data a and b is When the relationship between the student data and the teacher data stored in the learning data memory 53 is not approximated accurately, the weight automatically obtained from the input reliability and the output reliability is determined by the correction unit 21. Used for correction processing. On the other hand, the parameter control data a and b can be obtained, and the primary expression (13) defined by the parameter control data a and b is the student data and teacher data stored in the learning data memory 53. Is accurately defined by parameter control data a and b obtained by learning using a learning pair obtained based on the operation of the operation unit 2 by the user. The weight obtained from the input reliability and the output reliability is corrected according to the equation (13), and the correction weight obtained by the correction is used for the correction process by the correction unit 21.

即ち、図4のNR回路では、ユーザから十分な数の学習対が入力されていない場合や、精度の高い近似が可能な学習対が入力されていない場合には、入力信頼度と出力信頼度とから自動的に求められる重みが、補正部21における補正処理に用いられ、ユーザから精度の高い近似が可能な学習対が入力された場合には、その学習対を用いて学習が行われることにより求められたパラメータ制御データaおよびbによって求められる補正重みが、補正部21における補正処理に用いられる。   That is, in the NR circuit of FIG. 4, when a sufficient number of learning pairs are not input from the user or when learning pairs that can be approximated with high accuracy are not input, the input reliability and the output reliability The weight automatically obtained from the above is used for the correction process in the correction unit 21, and when a learning pair that can be approximated with high accuracy is input from the user, learning is performed using the learning pair. The correction weights obtained from the parameter control data a and b obtained by the above are used for the correction process in the correction unit 21.

従って、十分な数の学習対や、精度の高い近似が可能な学習対が得られていない場合と、精度の高い近似が可能な学習対が得られた場合とでは、やはり、式(8)の重みw(t)が変化し、その結果、その式(8)で表される補正処理の内容も変更することとなるから、かかる観点からも、図4のNR回路では、ユーザの操作にしたがい、その「処理の内容」が、ユーザにとって所望の出力信号が得られるように変更されているということができる。   Therefore, when a sufficient number of learning pairs or learning pairs that can be approximated with high accuracy are not obtained, and when learning pairs that can be approximated with high accuracy are obtained, Equation (8) is used. 4 changes, and as a result, the content of the correction process represented by the equation (8) is also changed. From this viewpoint, the NR circuit of FIG. Therefore, it can be said that the “content of processing” is changed so that a desired output signal can be obtained for the user.

さらに、図4のNR回路では、十分な数の学習対や、精度の高い近似が可能な学習対が得られていない場合と、精度の高い近似が可能な学習対が得られた場合とで、補正処理に用いられる重みを算出する体系が変化する。   Furthermore, in the NR circuit of FIG. 4, there are a sufficient number of learning pairs, a learning pair that can be approximated with high accuracy, and a learning pair that can be approximated with high accuracy. The system for calculating the weight used for the correction process changes.

即ち、十分な数の学習対や、精度の高い近似が可能な学習対が得られていない場合には、ユーザの操作に関係なく、入力信頼度と出力信頼度から、重みが求められる。一方、精度の高い近似が可能な学習対が得られた場合には、ユーザの操作に基づいて得られた学習対を用いた学習によって求められたパラメータ制御データに基づいて、重みが求められる。   That is, when a sufficient number of learning pairs or learning pairs that can be approximated with high accuracy are not obtained, the weight is obtained from the input reliability and the output reliability regardless of the user's operation. On the other hand, when a learning pair that can be approximated with high accuracy is obtained, a weight is obtained based on parameter control data obtained by learning using a learning pair obtained based on a user operation.

従って、この場合、ユーザの操作にしたがい、重みを算出する処理体系、つまり、重みの求め方のアルゴリズムが、ユーザにとって所望の出力信号が得られるように変更されているということができる。   Therefore, in this case, it can be said that the processing system for calculating the weight, that is, the algorithm for calculating the weight is changed so as to obtain a desired output signal for the user in accordance with the user's operation.

ここで、重みを求める処理を、関数Fで表すこととすると、上述の「処理の内容」の変更というのは、関数Fが変更されることに相当する。そして、関数Fが変更される場合としては、大きく分けて関数Fそれ自体の形が変わる場合(例えば、F=xからF=x2に変わる場合など)と、関数Fそれ自体の形は変わらないが、関数Fを定義する係数が変わる場合(例えば、F=2xからF=3xに変わる場合など)とがある。 Here, if the process for obtaining the weight is represented by the function F, the above-described change in “contents of the process” corresponds to the function F being changed. When the function F is changed, the function F itself changes in shape (for example, when the function F changes from F = x to F = x 2 ). There is a case where the coefficient defining the function F changes (for example, when F = 2x changes to F = 3x).

いま、「処理の内容」の変更のうち、その処理を表す関数Fそれ自体の形が変わる場合を、「処理の構造」の変更というものとすると、上述のように、重みを算出する処理体系、すなわち、重みの求め方のアルゴリズムが変わることは、「処理の構造」の変更ということができる。   Assuming that the change in the function F itself representing the processing among the changes in the “processing contents” changes as the “processing structure”, the processing system for calculating the weight as described above. That is, a change in the algorithm for obtaining the weight can be said to be a change in the “processing structure”.

従って、図4のNR回路では、ユーザの操作にしたがい、その「処理の内容」も、さらには、その「処理の構造」も変更され、これにより、ユーザにとって所望の出力信号が得られるようになっている。   Therefore, in the NR circuit of FIG. 4, according to the operation of the user, the “processing content” and further the “processing structure” are changed, so that a desired output signal can be obtained for the user. It has become.

なお、入力信号としては、画像信号や音声信号は勿論、その他の信号を用いることが可能である。但し、入力信号が画像信号の場合は、入力信頼度は、処理しようとしている画素に対して、空間的または時間的に近い位置にある複数の画素から求められる分散に基づいて計算することになる。   As the input signal, other signals can be used as well as image signals and audio signals. However, when the input signal is an image signal, the input reliability is calculated based on the variance obtained from a plurality of pixels that are spatially or temporally close to the pixel to be processed. .

また、上述の場合には、説明を簡単にするため、学習部22において、入力信頼度等から求められる重みwを、パラメータ制御データaおよびbによって定義される式(13)の一次式によって、補正重みWに補正するようにしたが、重みwの補正は、実際には、より高次の式によって行うのが望ましい。また、その高次の式の次数は、例えば、最適化装置が適用されるアプリケーション等に基づいて適切な値に設定するのが望ましい。   Further, in the above-described case, in order to simplify the description, the weight w obtained from the input reliability or the like in the learning unit 22 is expressed by a linear expression defined by the parameter control data a and b (13), Although the correction weight W is corrected, the correction of the weight w is actually preferably performed by a higher-order expression. In addition, it is desirable to set the order of the higher-order expression to an appropriate value based on, for example, an application to which the optimization apparatus is applied.

さらに、重みwから、補正重みWを求める式(以下、適宜、補正重み算出式という)としては、式(13)の1次式W=aw+bの他に、例えば、2次式W=aw2+bw+cや、3次式W=aw3+bw2+cw+dなどの複数を用意しておき(a,b,c,dは、所定の係数)、その複数の補正重み算出式のうちの、正規化誤差が最小になるものを採用するようにすることが可能である。なお、この場合、ユーザの操作によって得られる学習対から求められる正規化誤差が最小になる補正重み算出式が選択され、その選択された補正重み算出式によって、補正重みが求められることになる。即ち、ユーザの操作にしたがい、補正重みの求め方のアルゴリズムが変更されることになる。従って、この場合も、ユーザの操作にしたがい、「処理の構造」が変更されているということができる。 Furthermore, as an expression for calculating the correction weight W from the weight w (hereinafter, referred to as a correction weight calculation expression as appropriate), in addition to the primary expression W = aw + b of the expression (13), for example, the secondary expression W = aw 2 + Bw + c and a cubic equation W = aw 3 + bw 2 + cw + d are prepared in advance (a, b, c, d are predetermined coefficients), and the normalization error of the plurality of correction weight calculation formulas It is possible to adopt one that minimizes. In this case, the correction weight calculation formula that minimizes the normalization error obtained from the learning pair obtained by the user's operation is selected, and the correction weight is obtained by the selected correction weight calculation formula. That is, the algorithm for obtaining the correction weight is changed according to the user's operation. Accordingly, in this case as well, it can be said that the “processing structure” is changed according to the user's operation.

次に、図10は、図4の最適化装置1の処理部11を、NR回路に適用した場合の他の詳細構成例を示している。なお、図中、図4における場合と対応する部分については、同一の符号を付してあり、以下では、その説明は、適宜省略する。即ち、図10のNR回路は、重み補正部46が設けられておらず、入力信頼度計算部42と生徒データ生成部52に替えて、入力信頼度計算部61と生徒データ生成部62がそれぞれ設けられている他は、基本的に、図4における場合と同様に構成されている。   Next, FIG. 10 shows another detailed configuration example when the processing unit 11 of the optimization apparatus 1 of FIG. 4 is applied to an NR circuit. In the figure, portions corresponding to those in FIG. 4 are denoted by the same reference numerals, and description thereof will be omitted below as appropriate. That is, the NR circuit of FIG. 10 is not provided with the weight correction unit 46, and instead of the input reliability calculation unit 42 and the student data generation unit 52, an input reliability calculation unit 61 and a student data generation unit 62 are provided. Other than that, the configuration is basically the same as in the case of FIG.

入力信頼度計算部61は、入力信号の入力信頼度を、入力信号の複数のサンプルと、パラメータ制御データメモリ57に記憶されたパラメータ制御データとから計算し、出力信頼度計算部43と重み計算部45に供給する。   The input reliability calculation unit 61 calculates the input reliability of the input signal from a plurality of samples of the input signal and the parameter control data stored in the parameter control data memory 57, and the output reliability calculation unit 43 and the weight calculation. To the unit 45.

生徒データ生成部62は、入力信号と、出力信頼度計算部43が出力する出力信頼度とを生徒データとして取得し、学習用データメモリ53に供給する。   The student data generation unit 62 acquires the input signal and the output reliability output from the output reliability calculation unit 43 as student data, and supplies it to the learning data memory 53.

なお、図10の実施の形態では、重み補正部46が設けられていないため、重み計算部45において求められた重みが、そのまま、選択部41に供給されるようになっており、選択部41は、この重み計算部45が出力する重みと、操作信号処理部50が出力する重みのうちのいずれか一方を、図4における場合と同様にして選択して出力するようになっている。   In the embodiment of FIG. 10, since the weight correction unit 46 is not provided, the weight obtained by the weight calculation unit 45 is supplied to the selection unit 41 as it is. Is configured to select and output either the weight output from the weight calculation unit 45 or the weight output from the operation signal processing unit 50 in the same manner as in FIG.

また、図10の実施の形態では、パラメータ制御データは、入力信頼度を制御するデータとして機能する。   In the embodiment of FIG. 10, the parameter control data functions as data for controlling the input reliability.

図10のNR回路でも、図4のNR回路と同様に、補正処理、補正パラメータ演算処理、および制御データ学習処理が行われる。なお、補正処理としては、図6で説明した処理と同様の処理が行われるため、図10のNR回路については、補正処理の説明は省略し、補正パラメータ演算処理および制御データ学習処理について説明する。   Also in the NR circuit of FIG. 10, the correction process, the correction parameter calculation process, and the control data learning process are performed as in the NR circuit of FIG. Since the correction process is the same as the process described with reference to FIG. 6, the description of the correction process is omitted for the NR circuit of FIG. 10, and the correction parameter calculation process and the control data learning process are described. .

即ち、図10のNR回路では、補正処理で用いられる、式(6)に示した重みを規定する入力信頼度αx(t)が、例えば、次式で定義されるものとして、補正パラメータ演算処理および制御データ学習処理が行われる。 That is, in the NR circuit of FIG. 10, it is assumed that the input reliability α x (t) that defines the weight shown in Expression (6) used in the correction process is defined by the following expression, for example. Processing and control data learning processing are performed.

Figure 0004591785
・・・(22)
Figure 0004591785
(22)

但し、式(22)において、a1,a2,・・・,aNは、パラメータ制御データであり、x1,x2,・・・,xNは、いま処理を施そうとしている入力信号のサンプル(注目サンプル)と所定の関係にある入力信号のサンプルである。ここで、入力信号が、例えば、画像信号である場合には、x1,x2,・・・,xNとしては、例えば、注目サンプルとしての画素(図11において×印で示す)と、その画素から、空間的または時間的に近い位置にある画素(図11に○印で示す)を用いることができる。 However, in the formula (22), a 1, a 2, ···, a N is the parameter control data, x 1, x 2, ··· , x N is input trying Hodokoso now process This is a sample of an input signal having a predetermined relationship with a signal sample (target sample). Here, when the input signal is an image signal, for example, as x 1 , x 2 ,..., X N , for example, a pixel as a sample of interest (indicated by x in FIG. 11), From the pixel, a pixel that is spatially or temporally close (indicated by a circle in FIG. 11) can be used.

式(22)から、式(6)で与えられる重みw(t)は、式(23)に示すように表すことができる。   From equation (22), the weight w (t) given by equation (6) can be expressed as shown in equation (23).

Figure 0004591785
・・・(23)
Figure 0004591785
... (23)

従って、入力信号x1,x2,・・・,xNが入力された場合に、ユーザから与えられた重みWを得るためには、式(23)から、次式を満たすようなパラメータ制御データa1,a2,・・・,aNを求めれば良いことになる。 Therefore, in order to obtain the weight W given by the user when the input signals x 1 , x 2 ,..., X N are inputted, parameter control satisfying the following formula is obtained from the formula (23). Data a 1 , a 2 ,..., A N can be obtained.

Figure 0004591785
・・・(24)
Figure 0004591785
... (24)

そこで、式(24)を変形すると、式(25)を得ることができる。   Thus, by transforming equation (24), equation (25) can be obtained.

Figure 0004591785
・・・(25)
Figure 0004591785
... (25)

式(25)を常時満たすパラメータ制御データa1,a2,・・・,aNを求めることは、一般に困難であるため、ここでは、例えば、式(25)の左辺と右辺の自乗誤差の総和が最小になるパラメータ制御データa1,a2,・・・,aNを、最小自乗法により求めることを考える。 Since it is generally difficult to obtain the parameter control data a 1 , a 2 ,..., A N that always satisfy the equation (25), for example, the square error of the left side and the right side of the equation (25) is expressed here. Consider that the parameter control data a 1 , a 2 ,..., A N that minimizes the sum is obtained by the method of least squares.

ここで、式(25)の左辺と右辺の自乗誤差の総和を最小にするということは、式(23)によって与えられる重みw(t)と、ユーザによって与えられる重みWとの自乗誤差を最小にすること、即ち、ユーザによって与えられる重みWを教師データとするとともに、式(23)の重みw(t)を定義する入力信号x1,x2,・・・,xN、および出力信頼度αy(t-1)を生徒データとして、その生徒データから、式(23)によって計算される重みw(t)と、ユーザによって与えられる教師データとしての重みWとの自乗誤差を最小にすることと等価であり、そのようなパラメータ制御データa1,a2,・・・,aNと、生徒データとから式(23)によって計算される重みw(t)は、教師データWとの誤差が小さいものとなる。 Here, minimizing the sum of the square errors of the left side and the right side of Equation (25) means that the square error between the weight w (t) given by Equation (23) and the weight W given by the user is minimized. That is, the weight W given by the user is used as teacher data, and the input signals x 1 , x 2 ,..., X N that define the weight w (t) of Expression (23) and the output reliability Using the degree α y (t−1) as the student data, the square error between the weight w (t) calculated by the equation (23) from the student data and the weight W as the teacher data given by the user is minimized. The weight w (t) calculated by the equation (23) from the parameter control data a 1 , a 2 ,..., A N and the student data is the teacher data W The error is small.

式(25)の左辺と右辺の自乗誤差e2は、式(26)で与えられる。 The square error e 2 between the left side and the right side of Equation (25) is given by Equation (26).

Figure 0004591785
・・・(26)
Figure 0004591785
... (26)

自乗誤差e2を最小にするパラメータ制御データa1,a2,・・・,aNは、式(26)の自乗誤差e2を、a1,a2,・・・,aNそれぞれで偏微分したものが0となるという条件、即ち、次式によって与えられる。 Square error e 2 a to minimize the parameter control data a 1, a 2, ···, a N is the square error e 2 of the formula (26), a 1, a 2, ···, respectively a N The condition that the partial differential becomes 0, that is, is given by the following equation.

Figure 0004591785
・・・(27)
Figure 0004591785
... (27)

式(27)に、式(26)を代入して計算すると、式(28)が得られる。   By substituting equation (26) into equation (27) and calculating, equation (28) is obtained.

Figure 0004591785
・・・(28)
Figure 0004591785
... (28)

従って、行列X,A,Yそれぞれを、式(29)に示すように定義すると、これらの行列X,A,Yには、式(28)から、式(30)の関係が成立する。   Therefore, if each of the matrices X, A, and Y is defined as shown in equation (29), the relationship of equation (30) is established from equations (28) to these matrices X, A, and Y.

Figure 0004591785
・・・(29)
Figure 0004591785
... (29)

Figure 0004591785
・・・(30)
Figure 0004591785
... (30)

但し、式(29)におけるサメーション(Σ)は、入力信号x1乃至xNと、その入力信号x1乃至xNが入力されたときにユーザから与えられた重みWとのセットの数についてのサメーションを意味する。 However, the summation in equation (29) (Σ) is an input signal x 1 to x N, the number of sets of the weight W provided from the user when the input signals x 1 to the x N is input It means the summation of.

式(30)は、例えば、コレスキー法などによって、行列(ベクトル)A、即ち、パラメータ制御データa1,a2,・・・,aNについて解くことができる。 Equation (30) can be solved for the matrix (vector) A, that is, the parameter control data a 1 , a 2 ,..., A N by, for example, the Cholesky method.

図10のNR回路は、以上のように、ユーザによって与えられる重みWを教師データとするとともに、式(23)の重みw(t)を定義する入力信号x1,x2,・・・,xN、および出力信頼度αy(t-1)を生徒データとして、その生徒データから、式(23)によって計算される重みw(t)と、ユーザによって与えられる教師データとしての重みWとの自乗誤差を最小にするパラメータ制御データa1,a2,・・・,aNを、最小自乗法により学習する制御データ学習処理を行う。さらに、図10のNR回路は、そのパラメータ制御データa1乃至aNで定義される式(22)から入力信頼度αx(t)を求め、さらに、その入力信頼度αx(t)と出力信頼度αy(t-1)から、式(23)にしたがって、補正パラメータとしての重みを求める補正パラメータ演算処理を行う。 As described above, the NR circuit of FIG. 10 uses the weight W given by the user as teacher data and the input signals x 1 , x 2 ,..., Which define the weight w (t) of the equation (23). x N and output reliability α y (t−1) as student data, weight w (t) calculated by the equation (23) from the student data, and weight W as teacher data given by the user , A N for learning parameter control data a 1 , a 2 ,..., A N that minimizes the square error of. Further, the NR circuit of FIG. 10 obtains the input reliability α x (t) from the equation (22) defined by the parameter control data a 1 to a N , and further calculates the input reliability α x (t) From the output reliability α y (t−1) , correction parameter calculation processing for obtaining a weight as a correction parameter is performed according to the equation (23).

そこで、図12のフローチャートを参照して、図10のNR回路による補正パラメータ演算処理について説明する。   Therefore, with reference to the flowchart of FIG. 12, the correction parameter calculation processing by the NR circuit of FIG. 10 will be described.

補正パラメータ演算処理では、まず最初に、ステップS61において、入力信頼度計算部61が、パラメータ制御データメモリ57からパラメータ制御データを読み出し、ステップS62に進む。ステップS62では、入力信頼度計算部61は、パラメータ制御データメモリ57から読み出したパラメータ制御データが、入力信頼度をパラメータ制御データを用いずに求めるモード、即ち、ユーザによる操作部2の操作に関係なく、入力信頼度を、入力信号だけから、いわば自動的に求めるモード(このモードも、以下、適宜、オートモードという)を表すオートモードデータとなっているかどうかを判定する。   In the correction parameter calculation process, first, in step S61, the input reliability calculation unit 61 reads parameter control data from the parameter control data memory 57, and proceeds to step S62. In step S62, the input reliability calculation unit 61 relates to the mode in which the parameter control data read from the parameter control data memory 57 calculates the input reliability without using the parameter control data, that is, the operation of the operation unit 2 by the user. In other words, it is determined whether or not the input reliability is auto mode data representing a mode in which the input reliability is automatically obtained from the input signal (this mode is also referred to as an auto mode as appropriate hereinafter).

ステップS62において、パラメータ制御データがオートモードデータでないと判定された場合、ステップS63に進み、入力信頼度計算部61は、パラメータ制御データメモリ57から読み出したパラメータ制御データa1乃至aNによって定義される式(22)の一次式にしたがい、そこに供給される最新のN個の入力信号のサンプルx1乃至xNを用いて求め、出力信頼度計算部43および重み計算部45に供給して、ステップS65に進む。 If it is determined in step S62 that the parameter control data is not auto mode data, the process proceeds to step S63, and the input reliability calculation unit 61 is defined by the parameter control data a 1 to a N read from the parameter control data memory 57. Is obtained using the latest N input signal samples x 1 to x N supplied to the output reliability calculation unit 43 and the weight calculation unit 45. The process proceeds to step S65.

また、ステップS62において、パラメータ制御データがオートモードデータであると判定された場合、ステップS64に進み、入力信頼度計算部61は、例えば、図7のステップS31における場合と同様に、入力信号のみを用い、その分散に基づく入力信頼度αx(t)を求め、出力信頼度計算部43および重み計算部45に供給する。 If it is determined in step S62 that the parameter control data is auto mode data, the process proceeds to step S64, and the input reliability calculation unit 61, for example, only the input signal as in step S31 of FIG. The input reliability α x (t) based on the variance is obtained and supplied to the output reliability calculation unit 43 and the weight calculation unit 45.

そして、ステップS65では、重み計算部45は、入力信頼度計算部61からの入力信頼度αx(t)と、ラッチ回路44においてラッチされた、出力信頼度計算部43が1サンプル前に出力した出力信頼度αy(t-1)とを用い、式(23)にしたがって、重みw(t)を求める。この重みw(t)は、重み計算部45から選択部41に供給される。 In step S65, the weight calculation unit 45 outputs the input reliability α x (t) from the input reliability calculation unit 61 and the output reliability calculation unit 43 latched in the latch circuit 44 one sample before. The weight w (t) is obtained according to the equation (23) using the output reliability α y (t−1) . The weight w (t) is supplied from the weight calculator 45 to the selector 41.

その後、ステップS66に進み、出力信頼度計算部43は、図7のステップS37における場合と同様に、入力信頼度計算部61から供給された入力信頼度αx(t)と、ラッチ回路44がラッチしている1サンプル前の出力信頼度αy(t-1)とを、式(5)にしたがって加算することで、出力信頼度αy(t)を更新し、ラッチ回路44に上書きする形で記憶させる。 Thereafter, the process proceeds to step S66, and the output reliability calculation unit 43 determines that the input reliability α x (t) supplied from the input reliability calculation unit 61 and the latch circuit 44 are the same as in step S37 of FIG. By adding the output reliability α y (t−1) one sample before latching according to the equation (5), the output reliability α y (t) is updated, and the latch circuit 44 is overwritten. Remember me in the form.

そして、ステップS67に進み、選択部41は、操作信号処理部50の出力から、操作部2がユーザによって操作されているかどうかを判定する。ステップS67において、操作部2が操作されていないと判定された場合、ステップS68に進み、選択部41は、重み計算部45から供給された重みを選択し、補正部21に出力して、ステップS61に戻る。   In step S67, the selection unit 41 determines whether the operation unit 2 is operated by the user from the output of the operation signal processing unit 50. If it is determined in step S67 that the operation unit 2 has not been operated, the process proceeds to step S68, where the selection unit 41 selects the weight supplied from the weight calculation unit 45 and outputs the weight to the correction unit 21. Return to S61.

また、ステップS67において、操作部2が操作されていると判定された場合、ステップS69に進み、選択部41は、その操作に応じて、操作信号処理部50が出力する重みを選択し、補正部21に出力して、ステップS61に戻る。   If it is determined in step S67 that the operation unit 2 is operated, the process proceeds to step S69, and the selection unit 41 selects the weight output by the operation signal processing unit 50 in accordance with the operation and corrects it. It outputs to the part 21, and returns to step S61.

従って、図12の補正パラメータ演算処理においては、操作部2が操作されていない場合は、入力信頼度に基づいて算出された重みが、補正部21に供給され、また、操作部2が操作されている場合は、その操作信号に対応する重みが、補正部21に供給される。その結果、補正部21では、操作部2が操作されていない場合は、入力信頼度に基づく重みによって、入力信号が補正され、操作部2が操作されている場合には、その操作信号に対応する重みによって、入力信号が補正される。   Therefore, in the correction parameter calculation process of FIG. 12, when the operation unit 2 is not operated, the weight calculated based on the input reliability is supplied to the correction unit 21, and the operation unit 2 is operated. If so, the weight corresponding to the operation signal is supplied to the correction unit 21. As a result, in the correction unit 21, when the operation unit 2 is not operated, the input signal is corrected by the weight based on the input reliability, and when the operation unit 2 is operated, the operation signal corresponds to the operation signal. The input signal is corrected by the weight to be used.

さらに、図12の補正パラメータ演算処理においては、オートモードの場合は、操作部2の操作に関係なく、入力信号の分散に基づく入力信頼度から、補正処理に用いられる重みが求められ、オートモードでない場合には、操作部2の操作に基づいて、後述する図13の制御データ学習処理による学習によって得られるパラメータ制御データを用いて求められる入力信頼度から、補正処理に用いられる重みが求められる。   Furthermore, in the correction parameter calculation process of FIG. 12, in the case of the auto mode, the weight used for the correction process is obtained from the input reliability based on the variance of the input signal regardless of the operation of the operation unit 2, and the auto mode If not, the weight used for the correction process is obtained from the input reliability obtained using the parameter control data obtained by the learning by the control data learning process of FIG. .

次に、図13のフローチャートを参照して、図10のNR回路が行う制御データ学習処理を説明する。   Next, the control data learning process performed by the NR circuit of FIG. 10 will be described with reference to the flowchart of FIG.

制御データ学習処理では、まず最初に、ステップS71において、図8のステップS41における場合と同様に、操作信号処理部50が、学習用操作信号を、操作部2から受信したかどうかを判定し、受信していないと判定した場合、ステップS71に戻る。   In the control data learning process, first, in step S71, as in the case of step S41 in FIG. 8, it is determined whether the operation signal processing unit 50 has received the learning operation signal from the operation unit 2, If it is determined that it has not been received, the process returns to step S71.

また、ステップS71において、操作部2から、学習用操作信号を受信したと判定された場合、即ち、例えば、操作部2が、その操作の開始後、第1の時間t1以上の間隔をあけることなく、第2の時間t2以上連続して操作され、その後、第3の時間t3以上連続して、その操作が停止された場合や、操作部2の操作の開始後、第3の時間t3以上連続して、その操作が停止された場合など、ユーザが、所望の出力信号を得られるように、操作部2の操作を行ったと判定することができる場合、ステップS72に進み、教師データ生成部51が教師データを生成するとともに、生徒データ生成部62が生徒データを生成する。   In Step S71, when it is determined that the learning operation signal is received from the operation unit 2, that is, for example, the operation unit 2 leaves an interval of the first time t1 or more after the operation is started. If the operation is stopped continuously for the second time t2 and thereafter, the operation is stopped continuously for the third time t3 or after the start of the operation of the operation unit 2, the time t3 or more. When it can be determined that the user has operated the operation unit 2 so that a desired output signal can be obtained, such as when the operation is continuously stopped, the process proceeds to step S72, and the teacher data generation unit 51 generates teacher data, and a student data generation unit 62 generates student data.

即ち、操作信号処理部50は、学習用操作信号を受信した場合、その学習用操作信号に対応する重みWを、学習フラグとともに、教師データ生成部51および生徒データ生成部62に供給する。教師データ生成部51は、学習フラグ付きの重みWを受信すると、その重みWを、教師データとして取得し、学習用データメモリ53に供給する。   That is, when receiving the learning operation signal, the operation signal processing unit 50 supplies the weight W corresponding to the learning operation signal to the teacher data generation unit 51 and the student data generation unit 62 together with the learning flag. When receiving the weight W with the learning flag, the teacher data generation unit 51 acquires the weight W as teacher data and supplies it to the learning data memory 53.

一方、生徒データ生成部62は、入力信号をバッファリングするバッファ(図示せず)を内蔵しており、入力信号を、そのバッファに、その記憶容量分だけ常に記憶しており、学習フラグ付きの重みを受信すると、そのときに入力された入力信号のサンプルと所定の位置関係にある入力信号のサンプルx1乃至xNを、その内蔵するバッファから読み出す。さらに、生徒データ生成部62は、出力信頼度計算部43から、出力信頼度αy(t-1)を読み出す。そして、生徒データ生成部62は、これらの入力信号のサンプルx1乃至xNと、出力信頼度αy(t-1)とを、生徒データとして、学習用データメモリ53に供給する。 On the other hand, the student data generation unit 62 has a buffer (not shown) for buffering the input signal, and always stores the input signal in the buffer for the storage capacity, and has a learning flag. When the weight is received, the input signal samples x 1 to x N having a predetermined positional relationship with the input signal sample input at that time are read out from the built-in buffer. Further, the student data generation unit 62 reads the output reliability α y (t−1) from the output reliability calculation unit 43. Then, the student data generation unit 62 supplies these input signal samples x 1 to x N and the output reliability α y (t−1) to the learning data memory 53 as student data.

学習用データメモリ53は、教師データ生成部51から教師データWを受信するとともに、生徒データ生成部62から生徒データx1乃至xNおよびαy(t-1)を受信すると、ステップS73において、その最新の教師データWと生徒データx1乃至xNおよびαy(t-1)のセット(学習対)を記憶し、ステップS74に進む。 When the learning data memory 53 receives the teacher data W from the teacher data generation unit 51 and also receives the student data x 1 to x N and α y (t−1) from the student data generation unit 62, in step S73, The latest teacher data W, student data x 1 to x N and α y (t−1) set (learning pair) are stored, and the process proceeds to step S74.

ステップS74では、パラメータ制御データ計算部54が、教師データと生徒データを対象として、最小自乗法における足し込みを行う。   In step S74, the parameter control data calculation unit 54 performs addition in the least square method for the teacher data and the student data.

即ち、パラメータ制御データ計算部54は、式(29)における行列XとYの要素となっている生徒データどうしの積、および生徒データと教師データの積、並びにそれらのサメーションに相当する演算を行う。   That is, the parameter control data calculation unit 54 performs an operation corresponding to the product of the student data that is an element of the matrices X and Y in Equation (29), the product of the student data and the teacher data, and their summation. Do.

なお、ステップS74における足し込みは、図8のステップS44における場合と同様に行われる。即ち、学習情報メモリ55には、前回の足し込み結果が、学習情報として記憶されており、パラメータ制御データ計算部54は、この学習情報を用いて、最新の教師データと生徒データについての足し込みを行う。   The addition in step S74 is performed in the same manner as in step S44 of FIG. That is, the previous addition result is stored as learning information in the learning information memory 55, and the parameter control data calculation unit 54 uses this learning information to add the latest teacher data and student data. I do.

パラメータ制御データ計算部54は、ステップS74において足し込みを行った後、その足し込み結果を、学習情報として、学習情報メモリ55に上書きする形で記憶させ、ステップS75に進み、パラメータ制御データ計算部54が、学習情報メモリ55に記憶された学習情報としての足し込み結果から、式(30)を、行列Aについて解くことが可能であるかどうか、即ち、パラメータ制御データa1乃至aNを求めることが可能であるかどうかを判定する。 After adding in step S74, the parameter control data calculation unit 54 stores the addition result in the form of overwriting the learning information memory 55 as learning information, and proceeds to step S75, where the parameter control data calculation unit 54 obtains whether the equation (30) can be solved for the matrix A, that is, parameter control data a 1 to a N from the addition result as learning information stored in the learning information memory 55. Determine whether it is possible.

即ち、式(30)は、所定数以上の学習対から得られた学習情報が存在しなければ、行列Aについて解くことができず、その要素となっているパラメータ制御データa1乃至aNを求めることができない。そこで、ステップS75では、学習情報から、パラメータ制御データa1乃至aNを求めることが可能であるかどうかが判定される。 In other words, the expression (30) cannot be solved for the matrix A if there is no learning information obtained from a predetermined number or more of learning pairs, and the parameter control data a 1 to a N that are the elements of the matrix A cannot be solved. I can't ask for it. Therefore, in step S75, it is determined whether or not the parameter control data a 1 to a N can be obtained from the learning information.

ステップS75において、パラメータ制御データa1乃至aNを求めることが可能でないと判定された場合、パラメータ制御データ計算部54は、その旨を、判定制御部56に供給し、ステップS79に進む。ステップS79では、判定制御部56は、パラメータ制御データとして、オードモードを表すオートモードデータを、パラメータ制御データメモリ57に供給して記憶させる。そして、ステップS71に戻り、以下、同様の処理が繰り返される。 If it is determined in step S75 that the parameter control data a 1 to a N cannot be obtained, the parameter control data calculation unit 54 supplies the fact to the determination control unit 56 and proceeds to step S79. In step S79, the determination control unit 56 supplies auto mode data representing the auto mode as parameter control data to the parameter control data memory 57 for storage. Then, the process returns to step S71, and the same processing is repeated thereafter.

従って、パラメータ制御データa1乃至aNを求めることができるだけの学習情報が存在しない場合には、図12で説明したように、入力信号の分散に基づく入力信頼度から求められる重みが、入力信号x(t)の補正に用いられることになる。 Accordingly, when there is no learning information that can determine the parameter control data a 1 to a N , as described with reference to FIG. 12, the weight obtained from the input reliability based on the variance of the input signal is the input signal. It will be used to correct x (t).

一方、ステップS75において、パラメータ制御データを求めることが可能であると判定された場合、ステップS76に進み、パラメータ制御データ計算部54は、学習情報を用い、式(30)を、行列Aについて解くことで、その要素となっているパラメータ制御データa1乃至aNを求め、判定制御部56に供給して、ステップS77に進む。 On the other hand, when it is determined in step S75 that the parameter control data can be obtained, the process proceeds to step S76, and the parameter control data calculation unit 54 solves Equation (30) for the matrix A using the learning information. Thus, the parameter control data a 1 to a N as the elements are obtained, supplied to the determination control unit 56, and the process proceeds to step S77.

ステップS77では、判定制御部56は、パラメータ制御データ計算部54からのパラメータ制御データa1乃至aNによって定義される式(23)にしたがい、学習用データメモリ53に記憶された各生徒データから、対応する教師データの予測値を求め、その予測値の予測誤差(学習用データメモリ53に記憶されている教師データに対する誤差)の、式(26)で表される自乗誤差の総和を求める。さらに、判定制御部56は、その自乗誤差の総和を、例えば、学習用データメモリ53に記憶されている学習対の数で除算した正規化誤差を求め、ステップS78に進む。 In step S77, the determination control unit 56 uses each student data stored in the learning data memory 53 according to the equation (23) defined by the parameter control data a 1 to a N from the parameter control data calculation unit 54. Then, the predicted value of the corresponding teacher data is obtained, and the sum of the square errors represented by the equation (26) of the prediction error of the predicted value (error with respect to the teacher data stored in the learning data memory 53) is obtained. Further, the determination control unit 56 obtains a normalization error obtained by dividing the sum of the square errors by the number of learning pairs stored in the learning data memory 53, for example, and proceeds to step S78.

ステップS78では、判定制御部56は、正規化誤差が、所定の閾値S1より大(以上)であるかどうかを判定する。ステップS78において、正規化誤差が所定の閾値S1より大であると判定された場合、即ち、パラメータ制御データa1乃至aNによって定義される式(23)の一次式が、学習用データメモリ53に記憶された生徒データと教師データとの関係を、精度良く近似していない場合、ステップS79に進み、判定制御部56は、上述したように、パラメータ制御データとして、オードモードを表すオートモードデータを、パラメータ制御データメモリ57に供給して記憶させる。そして、ステップS71に戻り、以下、同様の処理が繰り返される。 In step S78, the determination control unit 56 determines whether or not the normalization error is greater than (or greater than) a predetermined threshold value S1. When it is determined in step S78 that the normalization error is larger than the predetermined threshold value S1, that is, the primary expression defined by the parameter control data a 1 to a N is the learning data memory 53. If the relationship between the student data and the teacher data stored in is not accurately approximated, the process proceeds to step S79, and the determination control unit 56, as described above, uses the auto mode data representing the auto mode as the parameter control data. Is supplied to and stored in the parameter control data memory 57. Then, the process returns to step S71, and the same processing is repeated thereafter.

従って、パラメータ制御データa1乃至aNを求めることができても、そのパラメータ制御データa1乃至aNによって定義される式(23)が、学習用データメモリ53に記憶された生徒データと教師データとの関係を、精度良く近似していない場合には、パラメータ制御データa1乃至aNを求めることができるだけの学習情報が存在しない場合と同様に、入力信号の分散に基づく入力信頼度から求められる重みが、入力信号x(t)の補正に用いられることになる。 Therefore, even if it is possible to obtain the parameter control data a 1 to a N, the parameter control data a 1 to expression defined by a N (23) is, student data and stored in the learning data memory 53 teachers When the relationship with the data is not approximated with high accuracy, the input reliability based on the variance of the input signal is determined as in the case where there is no learning information that can obtain the parameter control data a 1 to a N. The calculated weight is used for correcting the input signal x (t).

一方、ステップS78において、正規化誤差が所定の閾値S1より大でないと判定された場合、即ち、パラメータ制御データa1乃至aNによって定義される式(23)の一次式が、学習用データメモリ53に記憶された生徒データと教師データとの関係を、精度良く近似している場合、ステップS80に進み、判定制御部56は、パラメータ制御データ計算部54で求められたパラメータ制御データa1乃至aNによって定義される式(23)の面(線)と、学習用データメモリ53に記憶された最新の教師データおよび生徒データで規定される点との間の誤差(距離)εを求める。 On the other hand, when it is determined in step S78 that the normalization error is not larger than the predetermined threshold value S1, that is, the linear expression defined by the parameter control data a 1 to a N is the learning data memory. If the relationship between the student data and the teacher data stored in 53 is approximated with high accuracy, the process proceeds to step S80, where the determination control unit 56 determines the parameter control data a 1 through a 1 through the parameter control data calculation unit 54. An error (distance) ε between the surface (line) of the equation (23) defined by a N and the point defined by the latest teacher data and student data stored in the learning data memory 53 is obtained.

そして、ステップS81に進み、判定制御部56は、誤差εの大きさが、所定の閾値S2より大(以上)であるかどうかを判定し、大でないと判定した場合、ステップS82をスキップして、ステップS83に進み、判定制御部56は、ステップS76で求められたパラメータ制御データa1乃至aNを、パラメータ制御部データメモリ37に出力する。パラメータ制御データメモリ57は、判定制御部56からのパラメータ制御データa1乃至aNを上書きする形で記憶し、ステップS71に戻り、以下、同様の処理が繰り返される。 Then, the process proceeds to step S81, where the determination control unit 56 determines whether or not the magnitude of the error ε is greater than (or greater than) the predetermined threshold value S2, and if it is determined that it is not greater, skips step S82. In step S83, the determination control unit 56 outputs the parameter control data a 1 to a N obtained in step S76 to the parameter control unit data memory 37. The parameter control data memory 57 stores the parameter control data a 1 to a N from the determination control unit 56 in the form of overwriting, returns to step S71, and thereafter the same processing is repeated.

一方、ステップS81において、誤差εの大きさが、所定の閾値S2より大であると判定された場合、ステップS82に進み、判定制御部56は、パラメータ制御データ計算部54を制御することにより、学習用データメモリ53に記憶された最近の教師データと生徒データのみを用いて、パラメータ制御データa1乃至aNを再計算させる。そして、ステップS83に進み、判定制御部56は、ステップS82で求められたパラメータ制御データa1乃至aNを、パラメータ制御データメモリ57に出力し、上書きする形で記憶させ、ステップS71に戻る。 On the other hand, if it is determined in step S81 that the magnitude of the error ε is larger than the predetermined threshold value S2, the process proceeds to step S82, and the determination control unit 56 controls the parameter control data calculation unit 54 to The parameter control data a 1 to a N are recalculated using only the latest teacher data and student data stored in the learning data memory 53. Then, the process proceeds to step S83, and the determination control unit 56 outputs the parameter control data a 1 to a N obtained in step S82 to the parameter control data memory 57, stores them in an overwritten form, and returns to step S71.

即ち、図13の実施の形態においても、図8の実施の形態における場合と同様に、ステップS82において、いままでに与えられた教師データおよび生徒データから求められたパラメータ制御データa1乃至aNから式(23)で定義される面と、最新の教師データおよび生徒データで規定される点との間の誤差εが求められる。 That is, in the embodiment of FIG. 13, as in the embodiment of FIG. 8, in step S82, the parameter control data a 1 to a N obtained from the teacher data and student data given so far are used. Thus, an error ε between the surface defined by the equation (23) and the point defined by the latest teacher data and student data is obtained.

そして、この誤差εの大きさが、閾値S2より大でない場合には、ステップS76で求められたパラメータ制御データa1乃至aNによって定義される式(23)の面が、最新の教師データと生徒データで規定される点も含め、いままでに与えられた教師データと生徒データで規定される点のいずれも、比較的精度良く近似していると考えられるため、そのパラメータ制御データa1乃至aNが、パラメータ制御データメモリ57に記憶される。 If the magnitude of the error ε is not larger than the threshold value S2, the surface of the equation (23) defined by the parameter control data a 1 to a N obtained in step S76 is the latest teacher data. Since both the teacher data given so far and the points specified by the student data, including the points specified by the student data, are considered to be approximated relatively accurately, the parameter control data a 1 to a N is stored in the parameter control data memory 57.

一方、誤差εの大きさが、閾値S2より大の場合には、ステップS76で求められたパラメータ制御データa1乃至aNによって定義される式(23)の面から、最新の教師データと生徒データで規定される点が比較的大きく離れていると考えられるため、判定制御部56は、パラメータ制御データ計算部54を制御することにより、ステップS82において、学習用データメモリ53に記憶された最近の教師データと生徒データのみを用いて、パラメータ制御データa1乃至aNを再計算させる。 On the other hand, when the magnitude of the error ε is larger than the threshold value S2, the latest teacher data and student are obtained from the surface of the equation (23) defined by the parameter control data a 1 to a N obtained in step S76. Since it is considered that the points specified by the data are relatively far apart, the determination control unit 56 controls the parameter control data calculation unit 54, so that the latest data stored in the learning data memory 53 in step S82. The parameter control data a 1 to a N are recalculated using only the teacher data and the student data.

図10のNR回路では、入力信頼度計算部61において、以上のようにして求められたパラメータ制御データa1乃至aNから、式(22)にしたがい、入力信頼度αx(t)が計算される。 In the NR circuit of FIG. 10, the input reliability calculation unit 61 calculates the input reliability α x (t) from the parameter control data a 1 to a N obtained as described above according to the equation (22). Is done.

従って、この場合も、ユーザの操作に応じて供給される学習用操作信号に基づいて、式(22)の入力信頼度αx(t)を規定するパラメータ制御データa1乃至aNの学習が行われるので、ユーザの操作を、ユーザが知らないうちに学習することができ、さらに、その学習結果を用いて、ユーザにとって最適な処理を行うことが可能となる。 Accordingly, in this case as well, learning of the parameter control data a 1 to a N that defines the input reliability α x (t) in Expression (22) is performed based on the learning operation signal supplied in accordance with the user's operation. As a result, the user's operation can be learned without the user's knowledge, and furthermore, the learning result can be used to perform the optimum process for the user.

また、図10のNR回路も、図4のNR回路と同様に、ユーザが操作部2を操作すると、操作信号処理部50は、その操作に対応した操作信号が表す重みを出力し、選択部41は、その重みを選択して、補正部21に供給する。この場合、補正部21では、ユーザの操作に対応した重みを用いて、式(8)で表される補正処理が行われる。そして、ユーザの操作により式(8)の重みw(t)が変更される場合には、当然に、式(8)で表される処理(補正処理)の内容も変更することとなるから、図10のNR回路でも、ユーザの操作にしたがい、その「処理の内容」が、ユーザにとって所望の出力信号が得られるように変更されているということができる。   Similarly to the NR circuit of FIG. 4, when the user operates the operation unit 2, the operation signal processing unit 50 outputs the weight represented by the operation signal corresponding to the operation, and the selection unit 41 selects the weight and supplies it to the correction unit 21. In this case, the correction unit 21 performs the correction process represented by Expression (8) using the weight corresponding to the user's operation. And when the weight w (t) of Formula (8) is changed by a user's operation, naturally the content of the process (correction process) represented by Formula (8) will also be changed. In the NR circuit of FIG. 10 as well, it can be said that the “contents of processing” are changed so as to obtain a desired output signal for the user in accordance with the user's operation.

さらに、図10のNR回路では、パラメータ制御データa1乃至aNを求めることができない場合や、求めることができても、そのパラメータ制御データa1乃至aNによって定義される式(23)が、学習用データメモリ53に記憶された生徒データと教師データとの関係を、精度良く近似していない場合には、入力信号の分散に基づく入力信頼度から求められる重みが、補正部21における補正処理に用いられる。一方、パラメータ制御データa1乃至aNを求めることができ、かつ、そのパラメータ制御データa1乃至aNによって定義される式(23)が、学習用データメモリ53に記憶された生徒データと教師データとの関係を、精度良く近似している場合には、ユーザによる操作部2の操作に基づいて得られる学習対を用いて学習が行われることにより求められたパラメータ制御データa1乃至aNによって定義される式(23)にしたがって、入力信号およびパラメータ制御データa1乃至aN(から算出される入力信頼度)と出力信頼度とから求められる重みが、補正部21による補正処理に用いられる。 Furthermore, in the NR circuit of FIG. 10, when the parameter control data a 1 to a N cannot be obtained or can be obtained, Expression (23) defined by the parameter control data a 1 to a N is obtained. When the relationship between the student data and the teacher data stored in the learning data memory 53 is not accurately approximated, the weight obtained from the input reliability based on the variance of the input signal is corrected by the correction unit 21. Used for processing. On the other hand, the parameter control data a 1 to a N can be obtained, and the equation (23) defined by the parameter control data a 1 to a N is obtained from the student data stored in the learning data memory 53 and the teacher. When the relationship with the data is approximated with high accuracy, the parameter control data a 1 to a N obtained by learning using a learning pair obtained based on the operation of the operation unit 2 by the user. The weight obtained from the input signal and the parameter control data a 1 to a N (input reliability calculated from) and the output reliability in accordance with the equation (23) defined by It is done.

即ち、図10のNR回路も、図4のNR回路における場合と同様に、十分な数の学習対や、精度の高い近似が可能な学習対が得られていない場合と、精度の高い近似が可能な学習対が得られた場合とで、補正処理に用いられる重みを算出するアルゴリズムが変更されている。   That is, in the NR circuit of FIG. 10, as in the case of the NR circuit of FIG. 4, a sufficient number of learning pairs and a learning pair that can be approximated with high accuracy are not obtained. The algorithm for calculating the weight used for the correction process is changed when a possible learning pair is obtained.

従って、図10のNR回路でも、ユーザの操作にしたがい、その「処理の内容」も、さらには、その「処理の構造」も変更され、これにより、ユーザにとって所望の出力信号が出力されることになる。   Accordingly, in the NR circuit of FIG. 10, the “processing contents” and the “processing structure” are also changed according to the user's operation, so that a desired output signal is output to the user. become.

なお、上述の場合においては、出力信頼度αy(t-1)を生徒データとして用いて、パラメータ制御データa1乃至aNを求めているが、この出力信頼度αy(t-1)は、式(5)に示したように、入力信頼度αx(t-1)から求められる。そして、入力信頼度αx(t)は、図13の制御データ学習処理が行われることにより、徐々に、ユーザが希望する重みが得られるように改善されていくから、あわせて、出力信頼度αy(t-1)も改善されていくことになる。 In the case described above, the output reliability α y (t−1) is used as the student data to obtain the parameter control data a 1 to a N , but this output reliability α y (t−1) Is obtained from the input reliability α x (t−1) as shown in the equation (5). The input reliability α x (t) is gradually improved so that the weight desired by the user can be obtained by performing the control data learning process of FIG. 13. α y (t-1) will also be improved.

また、上述の場合には、出力信頼度を既知の値とするとともに、入力信頼度を、パラメータ制御データa1乃至aNによって規定し、ユーザが希望する重みが得られるようなパラメータ制御データa1乃至aNを求めるようにしたが、これとは逆に、入力信頼度を既知の値とするとともに、出力信頼度を、パラメータ制御データa1乃至aNによって規定し、ユーザが希望する重みが得られるようなパラメータ制御データa1乃至aNを求めることも可能である。 In the above case, the output reliability is set to a known value, the input reliability is defined by the parameter control data a 1 to a N , and the parameter control data a that can obtain the weight desired by the user. 1 to a N are obtained, but conversely, the input reliability is set to a known value, and the output reliability is defined by the parameter control data a 1 to a N , and the weight desired by the user It is also possible to obtain the parameter control data a 1 to a N such that

さらに、例えば、出力信頼度を既知の値とするとともに、入力信頼度を、パラメータ制御データa1乃至aNによって規定し、ユーザが希望する重みが得られるようなパラメータ制御データa1乃至aNを求め、さらに、そのパラメータ制御データa1乃至aNによって得られる入力信頼度を既知の値とするとともに、出力信頼度を、パラメータ制御データa1’乃至aN’によって規定し、ユーザが希望する重みが得られるようなパラメータ制御データa1’乃至aN’を求めること、即ち、2セットのパラメータ制御データa1乃至aNおよびa1’乃至aN’を求めるようにすることも可能である。 Furthermore, for example, while the output reliability a known value, the input reliability, parameter control data a 1 to be defined by a N, parameter control such that the weight that the user desires to obtain data a 1 to a N Further, the input reliability obtained from the parameter control data a 1 to a N is set to a known value, and the output reliability is defined by the parameter control data a 1 ′ to a N ′. It is also possible to obtain the parameter control data a 1 ′ to a N ′ so that the weight to be obtained is obtained, that is, to obtain two sets of parameter control data a 1 to a N and a 1 ′ to a N ′. It is.

また、上述の場合には、重みを、式(6)に示したように、入力信頼度αx(t)と出力信頼度αy(t-1)で定義して、パラメータ制御データa1乃至aNを求めるようにしたが、その他、重みを、例えば、式(31)に示すように、入力信頼度αx(t)と出力信頼度αy(t-1)の他、入力信頼度αx(t)または出力信頼度αy(t-1)の補正項△αをも用いて定義して、パラメータ制御データa1乃至aNと補正項△αを求めるようにすることが可能である。 In the above case, the weight is defined by the input reliability α x (t) and the output reliability α y (t−1) as shown in the equation (6), and the parameter control data a 1 To a N , but other weights, for example, input reliability α x (t) and output reliability α y (t−1) as well as input reliability as shown in Expression (31). The parameter control data a 1 to a N and the correction term Δα may be determined by using the correction term Δα of the degree α x (t) or the output reliability α y (t−1). Is possible.

Figure 0004591785
・・・(31)
Figure 0004591785
... (31)

さらに、入力信頼度を、パラメータ制御データによって定義する式は、式(22)に限定されるものではない。   Furthermore, the formula that defines the input reliability by the parameter control data is not limited to the formula (22).

次に、図14は、図1の最適化装置の第2の詳細構成例を示している。図14の最適化装置1においては、図2の最適化装置1に内部情報生成部71が新たに設けられて構成されており、処理部11の構成は図2の場合と同様であるのでその説明は省略する。尚、図14の実施の形態では、最適化装置1の外部に表示部81が設けられている。   Next, FIG. 14 shows a second detailed configuration example of the optimization apparatus of FIG. In the optimization apparatus 1 of FIG. 14, the internal information generation unit 71 is newly provided in the optimization apparatus 1 of FIG. 2, and the configuration of the processing unit 11 is the same as that of FIG. Description is omitted. In the embodiment of FIG. 14, a display unit 81 is provided outside the optimization device 1.

内部情報生成部71は、処理部11の内部情報を読出し、画像情報に変換した後、LCD(Liquid Crystal Display)やCRT(Cathode Ray Tube)からなる表示部81に出力して、表示させる(呈示させる)。より詳細には、表示部81は、内部情報をそのまま数値的に表示するようにしても良いし、例えば、レベルゲージのような表示画面を設定し、内部情報の値に応じてレベルゲージが変動するような表示にしても良い。また、表示部81は、これに限るものではなく、視覚的に内部情報を表示(呈示)するものであればこれ以外の表示方法であってもよい。尚、内部情報とは、例えば、補正部21の重みメモリ31や32に記憶される重みや、学習部22の学習用データメモリ53や学習情報メモリ55の記憶内容その他を採用することができる。また、内部情報は、表示以外の呈示(提示)方法、すなわち、音などによって、ユーザに呈示しても良い。   The internal information generation unit 71 reads out the internal information of the processing unit 11 and converts it into image information, and then outputs the information to a display unit 81 made up of an LCD (Liquid Crystal Display) or CRT (Cathode Ray Tube) for display (presentation). ) More specifically, the display unit 81 may display the internal information numerically as it is. For example, a display screen such as a level gauge is set, and the level gauge varies according to the value of the internal information. You may make it display. Further, the display unit 81 is not limited to this, and any other display method may be used as long as the internal information is visually displayed (presented). As the internal information, for example, weights stored in the weight memories 31 and 32 of the correction unit 21, stored data in the learning data memory 53 and the learning information memory 55 of the learning unit 22, and the like can be used. Further, the internal information may be presented to the user by a presentation (presentation) method other than display, that is, a sound or the like.

次に、図15のフローチャートを参照して、図14のNR回路の最適化処理について説明する。この処理は、図3のフローチャートを参照して説明した、最適化処理と基本的には同様であり、内部情報生成部71による内部情報を表示する処理が加えられている点が異なる。すなわち、ステップS91乃至S101において、図3のステップS1乃至S11とそれぞれ同様な処理が行われ、ステップS102に進む。   Next, the optimization processing of the NR circuit of FIG. 14 will be described with reference to the flowchart of FIG. This process is basically the same as the optimization process described with reference to the flowchart of FIG. 3 except that a process for displaying internal information by the internal information generation unit 71 is added. That is, in steps S91 to S101, the same processing as in steps S1 to S11 of FIG. 3 is performed, and the process proceeds to step S102.

ステップS102において、表示部81に、重みWが表示される。すなわち、内部情報生成部71は、例えば、重みメモリ31に記憶されている重みWの値を、内部情報として読出し、表示部81で表示可能な画像信号に変換して表示部81に出力し、重みWを表示(呈示)させ、ステップS91に戻る。   In step S102, the weight W is displayed on the display unit 81. That is, the internal information generation unit 71 reads, for example, the value of the weight W stored in the weight memory 31 as internal information, converts it into an image signal that can be displayed on the display unit 81, and outputs the image signal to the display unit 81. The weight W is displayed (presented), and the process returns to step S91.

図15のフローチャートを参照して説明した処理により、処理部11において実際に実行している処理に関する内部情報としての重みWが、ユーザに表示(呈示)され、その結果、ユーザは、その内部情報の表示を見ながら最適な出力信号を得ることができるように操作部2を操作することが可能となる。尚、内部情報生成部71では、上述した重みなどの内部情報の他、例えば、学習部22のパラメータ制御データメモリ37(図4,図10)よりパラメータ制御データa,bを読み出して表示するようにしても良い。また、選択部41(図4,図10)により選択された重みが、学習対を用いて学習が行われることにより求められたパラメータ制御データaおよびbから求められた重みであるのか、若しくは、入力信頼度と出力信頼度から求められる重みであるのかを表す画像情報を内部情報として生成するようにしても良い。   By the process described with reference to the flowchart of FIG. 15, the weight W as the internal information regarding the process actually executed in the processing unit 11 is displayed (presented) to the user, and as a result, the user receives the internal information. It is possible to operate the operation unit 2 so that an optimal output signal can be obtained while viewing the display. The internal information generation unit 71 reads out the parameter control data a and b from the parameter control data memory 37 (FIGS. 4 and 10) of the learning unit 22 and displays the information in addition to the internal information such as the weight described above. Anyway. Further, whether the weight selected by the selection unit 41 (FIGS. 4 and 10) is a weight obtained from the parameter control data a and b obtained by learning using a learning pair, or Image information indicating whether the weight is obtained from the input reliability and the output reliability may be generated as internal information.

次に、図16は、図1の最適化装置を適用した、自動車の自動走行装置の一実施の形態の構成例を示している。   Next, FIG. 16 shows a configuration example of an embodiment of an automatic traveling device for an automobile to which the optimization device of FIG. 1 is applied.

自動走行装置においては、自動車の位置座標(X,Y)や走行方向θが求められ、所定の軌跡に沿って、自動車を走行させるようになっている。しかしながら、自動走行装置において求められる座標(X,Y)や走行方向θには、誤差が含まれる場合が多く、この場合には、自動車が、所定の軌跡からはずれて走行することがある。そこで、図16の自動走行装置においては、ユーザの操作を、ユーザが知らないうちに学習し、その学習結果に基づいて、自動車を、所定の軌跡に沿って走行させるようになっている。即ち、自動車が、所定の軌跡からはずれて走行しだした場合、一般に、ユーザは、自動車を所定の軌跡に沿って走行させるように、ハンドルやアクセルなどを操作する。そこで、図16の自動走行装置では、そのようなユーザの操作を、ユーザが知らないうちに学習し、その学習結果に基づいて、自動車を、徐々に、所定の軌跡に沿って走行させるように制御する。   In the automatic traveling device, the position coordinates (X, Y) of the automobile and the traveling direction θ are obtained, and the automobile is caused to travel along a predetermined locus. However, the coordinates (X, Y) and the traveling direction θ required in the automatic traveling apparatus often include errors, and in this case, the automobile may travel out of a predetermined locus. Therefore, in the automatic travel device of FIG. 16, the user's operation is learned without the user's knowledge, and the automobile is caused to travel along a predetermined locus based on the learning result. That is, when the automobile starts to run off the predetermined trajectory, the user generally operates a handle, an accelerator, or the like so that the automobile travels along the predetermined trajectory. Therefore, in the automatic traveling device of FIG. 16, such user operations are learned without the user's knowledge, and the vehicle is caused to gradually travel along a predetermined locus based on the learning result. Control.

ジャイロセンサ91は、自動車のヨーレートrを検知し、演算部93に供給する。車輪パルサ92は、自動車の車輪の回転角度に応じた数の電気パルスを、演算部93に供給する。   The gyro sensor 91 detects the yaw rate r of the automobile and supplies it to the calculation unit 93. The wheel pulser 92 supplies the number of electrical pulses corresponding to the rotation angle of the vehicle wheel to the calculation unit 93.

演算部93は、ジャイロセンサ91と車輪パルサ92の出力から、例えば、次式にしたがって、自動車の座標(X,Y)と走行方向θを演算し、最適化装置94に供給する。   The calculation unit 93 calculates the coordinates (X, Y) of the vehicle and the traveling direction θ from the outputs of the gyro sensor 91 and the wheel pulser 92, for example, and supplies them to the optimization device 94.

Figure 0004591785
・・・(32)
Figure 0004591785
... (32)

但し、式(32)において、θ(0)は自動車の走行開始時の方向を表し、(X(0),Y(0))は、自動車の走行開始時の座標を表す。なお、θ(0)や(X(0),Y(0))は、例えば、図示せぬGPS(Global Positioning System)等を利用して求めることができる。また、Vrは、自動車の走行速度を表し、βは、自動車の重心点のスリップアングルを表す。 In Equation (32), θ (0) represents the direction at the start of traveling of the automobile, and (X (0), Y (0)) represents the coordinates at the start of traveling of the automobile. Note that θ (0) and (X (0), Y (0)) can be obtained using, for example, a GPS (Global Positioning System) not shown. V r represents the running speed of the automobile, and β represents the slip angle of the center of gravity of the automobile.

ここで、上述のようにして、自動車の座標(X,Y)と走行方向θを求める方法は、例えば、特開平10-69219号公報に開示されている。   Here, as described above, a method for obtaining the coordinates (X, Y) of the automobile and the traveling direction θ is disclosed in, for example, Japanese Patent Laid-Open No. 10-69219.

最適化装置94は、処理部101から構成され、ユーザによる操作部98の操作を学習し、即ち、ユーザが操作部98を操作することにより供給される操作信号に基づいて学習を行い、その学習結果に基づき、演算部93からの座標(X,Y)や走行方向θを、ユーザが所望する走行が行われるように補正し、自動走行制御部95に供給する。   The optimization device 94 includes the processing unit 101, learns the operation of the operation unit 98 by the user, that is, learns based on the operation signal supplied when the user operates the operation unit 98, and learns Based on the result, the coordinates (X, Y) and the travel direction θ from the calculation unit 93 are corrected so that the travel desired by the user is performed, and supplied to the automatic travel control unit 95.

自動走行制御部95は、地図データと、自動走行すべき、あらかじめ設定された軌跡(以下、適宜、設定軌跡という)を記憶している。そして、自動走行制御部95は、最適化装置94の処理部101から供給される座標(X,Y)と走行方向θから、自動車の現在位置と走行方向を認識し、自動車が設定軌跡に沿って走行するように、後述する駆動部97を制御する制御信号を生成して、選択部96に出力する。   The automatic travel control unit 95 stores map data and a preset trajectory to be automatically traveled (hereinafter referred to as a set trajectory as appropriate). Then, the automatic travel control unit 95 recognizes the current position and travel direction of the vehicle from the coordinates (X, Y) and the travel direction θ supplied from the processing unit 101 of the optimization device 94, and the vehicle follows the set locus. Then, a control signal for controlling the drive unit 97 described later is generated and output to the selection unit 96.

選択部96には、自動走行制御部95から制御信号が供給される他、操作部98から操作信号が供給されるようになっている。そして、選択部96は、自動走行制御部95からの制御信号と、操作部98からの操作信号のうちの操作信号を、優先的に選択し、駆動部97に出力する。即ち、選択部96は、通常は、自動走行制御部95からの制御信号を選択し、駆動部97に出力するが、操作部98からの操作信号を受信すると、その操作信号を受信している間は、自動走行制御部95からの制御信号の出力を停止して、操作部98からの操作信号を、駆動部97に出力する。   The selection unit 96 is supplied with a control signal from the automatic travel control unit 95 and an operation signal from the operation unit 98. Then, the selection unit 96 preferentially selects an operation signal from among the control signal from the automatic travel control unit 95 and the operation signal from the operation unit 98 and outputs the operation signal to the drive unit 97. In other words, the selection unit 96 normally selects a control signal from the automatic travel control unit 95 and outputs it to the drive unit 97. When receiving the operation signal from the operation unit 98, the selection unit 96 receives the operation signal. During this time, output of the control signal from the automatic travel control unit 95 is stopped, and an operation signal from the operation unit 98 is output to the drive unit 97.

駆動部97は、選択部96からの制御信号または操作信号にしたがい、自動車の図示せぬエンジンや、車輪、ブレーキ、クラッチ等の、走行に必要な各機構を駆動する。操作部98は、例えば、ハンドルや、アクセルペダル、ブレーキペダル、クラッチペダル等で構成され、ユーザの操作に対応した操作信号を、最適化装置94および選択部96に供給する。   The drive unit 97 drives each mechanism necessary for traveling such as an engine (not shown) of the automobile, wheels, brakes, and clutches in accordance with a control signal or an operation signal from the selection unit 96. The operation unit 98 includes, for example, a steering wheel, an accelerator pedal, a brake pedal, and a clutch pedal, and supplies an operation signal corresponding to a user operation to the optimization device 94 and the selection unit 96.

以上のように構成される自動走行装置では、演算部93において、ジャイロセンサ91と車輪パルサ92の出力から、自動車の現在の座標(X,Y)と走行方向θが演算され、最適化装置94の処理部101を介して、自動走行制御部95に供給される。自動走行制御部95は、そこに供給される座標(X,Y)と走行方向θから、自動車の現在位置と走行方向を認識し、自動車が設定軌跡に沿って走行するように、後述する駆動部97を制御する制御信号を生成して、選択部96を介して、駆動部97に供給する。これにより、自動車は、自動走行制御部95が出力する制御信号にしたがって自動走行する。   In the automatic traveling apparatus configured as described above, the calculation unit 93 calculates the current coordinates (X, Y) and the traveling direction θ of the automobile from the outputs of the gyro sensor 91 and the wheel pulser 92, and the optimization apparatus 94. Is supplied to the automatic travel control unit 95 via the processing unit 101. The automatic traveling control unit 95 recognizes the current position and traveling direction of the vehicle from the coordinates (X, Y) and the traveling direction θ supplied thereto, and drives to be described later so that the vehicle travels along the set locus. A control signal for controlling the unit 97 is generated and supplied to the driving unit 97 via the selection unit 96. As a result, the vehicle automatically travels according to the control signal output by the automatic travel control unit 95.

一方、ユーザが操作部98を操作すると、その操作に対応した操作信号が、選択部96を介して、駆動部97に供給され、これにより、自動車は、ユーザによる操作部98の操作にしたがって走行する。   On the other hand, when the user operates the operation unit 98, an operation signal corresponding to the operation is supplied to the drive unit 97 via the selection unit 96, so that the automobile travels according to the operation of the operation unit 98 by the user. To do.

さらに、ユーザが操作部98を操作することにより、操作部98が出力する操作信号は、最適化装置94の処理部101にも供給される。最適化装置94は、ユーザが操作部98を操作することにより供給される操作信号に基づいて学習を行う。そして、最適化装置94の処理部101は、ユーザが操作部98の操作を停止すると、演算部93から供給される座標(X,Y)や走行方向θを、学習結果に基づき、ユーザが所望する走行としての設定軌跡に沿った走行が行われるように補正し、自動走行制御部95に供給する。   Further, when the user operates the operation unit 98, the operation signal output from the operation unit 98 is also supplied to the processing unit 101 of the optimization device 94. The optimization device 94 performs learning based on an operation signal supplied when the user operates the operation unit 98. Then, when the user stops the operation of the operation unit 98, the processing unit 101 of the optimization device 94 determines the coordinates (X, Y) and the traveling direction θ supplied from the calculation unit 93 based on the learning result. The travel is corrected so as to be performed along the set locus as the travel to be performed, and is supplied to the automatic travel control unit 95.

次に、図17は、図16の最適化装置94の処理部101の構成例を示している。なお、図中、図4の処理部11における場合と対応する部分については、同一の符号を付してあり、以下では、その説明は、適宜省略する。即ち、図17の処理部101は、選択部41が設けられておらず、操作信号処理部50と教師データ生成部51に替えて、操作信号処理部110と教師データ生成部111がそれぞれ設けられている他は、基本的に、図4の処理部11と同様に構成されている。   Next, FIG. 17 shows a configuration example of the processing unit 101 of the optimization device 94 of FIG. In the figure, portions corresponding to those in the processing unit 11 of FIG. 4 are denoted by the same reference numerals, and description thereof will be omitted below as appropriate. That is, the processing unit 101 in FIG. 17 is not provided with the selection unit 41, and instead of the operation signal processing unit 50 and the teacher data generation unit 51, an operation signal processing unit 110 and a teacher data generation unit 111 are provided. Other than that, the configuration is basically the same as the processing unit 11 of FIG.

ここで、以下においては、説明を簡単にするため、演算部93から最適化装置94の処理部101に供給される座標(X,Y)と走行方向θのうち、走行方向θにだけ注目して、説明を行う。但し、座標(X,Y)についても、以下で説明する走行方向θに対する処理と同様の処理を行うことが可能である。   Here, in the following, in order to simplify the description, attention is paid only to the traveling direction θ among the coordinates (X, Y) and the traveling direction θ supplied from the arithmetic unit 93 to the processing unit 101 of the optimization device 94. And explain. However, for the coordinates (X, Y), it is possible to perform the same processing as the processing for the traveling direction θ described below.

操作信号処理部110は、操作部98からの操作信号を受信し、学習用操作信号かどうかを判定する。そして、操作信号処理部110は、操作信号が学習用操作信号である場合には、その旨を表すメッセージを、生徒データ生成部52と教師データ生成部111に供給する。   The operation signal processing unit 110 receives the operation signal from the operation unit 98 and determines whether it is a learning operation signal. If the operation signal is a learning operation signal, the operation signal processing unit 110 supplies a message indicating that to the student data generation unit 52 and the teacher data generation unit 111.

教師データ生成部111には、操作信号処理部110から、操作信号が学習用操作信号である旨のメッセージ(以下、適宜、学習メッセージという)が供給される他、入力信号としての、演算部93からの走行方向θが供給されるようになっている。さらに、教師データ生成部111には、補正部21(演算器36)が出力する出力信号としての、演算部93からの走行方向θを補正したもの(以下、適宜、補正走行方向という)も供給されるようになっている。教師データ生成部111は、学習メッセージを受信したときに供給される入力信号としての走行方向θと、出力信号としての補正走行方向とから、学習用操作信号に対応する重みWを求め、教師データとして、学習用データメモリ53に供給する。   The teacher data generation unit 111 is supplied with a message indicating that the operation signal is a learning operation signal (hereinafter referred to as a learning message as appropriate) from the operation signal processing unit 110, and also includes a calculation unit 93 as an input signal. The traveling direction θ from the vehicle is supplied. Further, the teacher data generation unit 111 is also supplied with a corrected traveling direction θ from the computing unit 93 (hereinafter referred to as a corrected traveling direction as appropriate) as an output signal output from the correcting unit 21 (calculator 36). It has come to be. The teacher data generation unit 111 obtains a weight W corresponding to the learning operation signal from the traveling direction θ as the input signal and the corrected traveling direction as the output signal supplied when the learning message is received, and the teacher data Is supplied to the learning data memory 53.

即ち、いまの場合、教師データとしては、自動車が所定の方向に向くように、ユーザが、ハンドルとしての操作部98を操作した後に、自動車が所定の方向を向いたときの重みWを求める必要がある。つまり、教師データとしては、ユーザが、ハンドルとしての操作部98を操作し、自動車が所望の方向を向くようになった直後の、その走行方向θを表す入力信号x(t)の補正に用いられる重みWを採用する必要がある。この、操作部98の操作直後の入力信号x(t)は、式(8)にしたがい、その入力信号x(t)と、操作部98の操作直前に出力される出力信号y(t−1)との重み付け加算によって、補正走行方向としての、操作部98の操作直後の出力信号y(t)に補正されることから、操作部98の操作直後の入力信号x(t)の補正に用いられる重みWは、式(8)から、操作部98の操作直後の入力信号x(t)並びに操作部98の操作直後の出力信号y(t)および操作部98の操作直前のy(t−1)によって求めることができる。そこで、教師データ生成部111は、学習メッセージを受信した直後に供給される入力信号x(t)としての走行方向θ、および学習メッセージを受信した直前と直後にそれぞれ供給される出力信号y(t−1)とy(t)としての補正走行方向から、教師データとしての重みWを求め、学習用データメモリ53に供給する。   That is, in this case, as the teacher data, it is necessary to obtain the weight W when the user turns the predetermined direction after the user operates the operation unit 98 as the steering wheel so that the vehicle faces the predetermined direction. There is. That is, the teacher data is used for correcting the input signal x (t) representing the traveling direction θ immediately after the user operates the operation unit 98 as a steering wheel and the automobile is directed in a desired direction. It is necessary to adopt the weight W to be used. The input signal x (t) immediately after the operation of the operation unit 98 is in accordance with the equation (8) and the output signal y (t−1) output immediately before the operation of the operation unit 98. ) Is corrected to the output signal y (t) immediately after the operation of the operation unit 98 as the corrected traveling direction, and is used for correcting the input signal x (t) immediately after the operation of the operation unit 98. The weight W to be obtained is obtained from the equation (8) by the input signal x (t) immediately after the operation of the operation unit 98, the output signal y (t) immediately after the operation of the operation unit 98, and y (t− 1). Therefore, the teacher data generation unit 111 outputs the traveling direction θ as the input signal x (t) supplied immediately after receiving the learning message, and the output signal y (t) supplied immediately before and after receiving the learning message. -1) and the corrected traveling direction as y (t), a weight W as teacher data is obtained and supplied to the learning data memory 53.

なお、生徒データ生成部52は、学習メッセージを受信すると、その直前までに供給された入力信号としての走行方向から求められている重みwを、生徒データとして、学習用データメモリ53に供給する。即ち、生徒データ生成部52は、図4で説明したように、入力信頼度計算部42、出力信頼度計算部43、ラッチ回路44、および重み計算部45と同様に構成され、そこに供給される入力信号としての走行方向から重みw(重み計算部45で求められるのと同一の重みw)を計算しており、学習メッセージを受信する直前において計算された重みwを、生徒データとして、学習用データメモリ53に供給する。   When the student data generation unit 52 receives the learning message, the student data generation unit 52 supplies the learning data memory 53 with the weight w obtained from the traveling direction as the input signal supplied immediately before the learning message as student data. That is, the student data generation unit 52 is configured similarly to the input reliability calculation unit 42, the output reliability calculation unit 43, the latch circuit 44, and the weight calculation unit 45 as described with reference to FIG. The weight w (the same weight w obtained by the weight calculator 45) is calculated from the traveling direction as the input signal, and the weight w calculated immediately before receiving the learning message is used as the student data. Is supplied to the data memory 53.

従って、パラメータ制御データ計算部54では、ユーザが操作部98を操作して、走行方向が、ユーザが所望する方向となったときの重みWを教師データとするとともに、ユーザが操作部98を操作する直前に重み計算部45が出力したのと同一の重みwを生徒データとして、式(20)および(21)に示したパラメータ制御データaおよびbの計算が行われる。   Therefore, in the parameter control data calculation unit 54, the user operates the operation unit 98, and the weight W when the traveling direction becomes the direction desired by the user is used as teacher data, and the user operates the operation unit 98. The parameter control data a and b shown in the equations (20) and (21) are calculated using the same weight w output by the weight calculation unit 45 immediately before this as the student data.

そして、重み補正部46では、そのパラメータ制御データaおよびbを用いて、式(13)にしたがい、重み計算部45で求められた重みwが補正され、補正部21に供給される。   Then, the weight correction unit 46 uses the parameter control data a and b to correct the weight w obtained by the weight calculation unit 45 according to the equation (13) and supplies the corrected weight w to the correction unit 21.

その結果、パラメータ制御データaおよびbは、ユーザが操作部98を操作する直前の走行方向を、ユーザが操作部98を操作した直後の走行方向に補正するように、重み計算部45で求められた重みwを補正するものとなるから、自動車は、設定軌跡に沿って自動走行するようになることになる。   As a result, the parameter control data a and b are obtained by the weight calculation unit 45 so that the traveling direction immediately before the user operates the operation unit 98 is corrected to the traveling direction immediately after the user operates the operation unit 98. Since the weight w is corrected, the automobile will automatically travel along the set locus.

即ち、ユーザが操作部98を操作するということは、ジャイロセンサ91の誤差や、その出力に含まれるノイズ、演算部93における演算誤差等に起因して、演算部93が出力する走行方向θが誤差を含み、自動車の真の走行方向を表していないために、自動車の実際の走行方向が、設定軌跡からはずれている状態になっていると考えられる。さらに、この場合におけるユーザによる操作部98の操作は、自動車の実際の走行方向を、設定軌跡に沿った方向にするものであると考えられる。従って、ユーザが操作部98を操作し、自動車の実際の走行方向が、設定軌跡に沿ったものとなったときにおける重みWを教師データとするとともに、ユーザが操作部98を操作する直前に重み計算部45で求められた重みw、即ち、設定軌跡からはずれている状態での重み計算部45が出力する重みwを生徒データとして学習を行うことにより、設定軌跡からはずれている状態での走行方向を、設定軌跡に沿った方向に補正するように、式(6)の重みを補正する式(13)のパラメータ制御データaおよびbが求められることになる。   That is, the fact that the user operates the operation unit 98 means that the traveling direction θ output by the calculation unit 93 is caused by errors in the gyro sensor 91, noise included in the output thereof, calculation errors in the calculation unit 93, and the like. Since it includes an error and does not represent the true traveling direction of the automobile, it is considered that the actual traveling direction of the automobile is deviated from the set locus. Furthermore, the operation of the operation unit 98 by the user in this case is considered to change the actual traveling direction of the automobile to a direction along the set locus. Therefore, the weight W when the user operates the operation unit 98 and the actual traveling direction of the vehicle is along the set trajectory is used as teacher data, and the weight is set immediately before the user operates the operation unit 98. The weight w obtained by the calculation unit 45, that is, the weight w output from the weight calculation unit 45 in a state deviating from the set locus is learned as student data, so that the vehicle runs in a state deviating from the set locus. The parameter control data a and b of the equation (13) for correcting the weight of the equation (6) are obtained so as to correct the direction in the direction along the set locus.

次に、図17の最適化装置94の処理部101の処理について説明する。なお、図17の最適化装置94の処理部101では、図4のNR回路の処理部11と同様に、入力信号x(t)としての演算部93が出力する走行方向θを補正する補正処理、その補正処理に用いられる補正パラメータとしての重みを求める補正パラメータ演算処理、およびユーザによる操作部98(図16)の操作を学習することにより、補正パラメータとしての重みを制御(補正)するパラメータ制御データを求める制御データ学習処理が行われるが、補正処理は、図7で説明した図4のNR回路による補正処理と同一であるため、ここでは、図17の最適化装置94の処理部101が行う補正パラメータ演算処理と生徒データ学習処理について説明する。   Next, processing of the processing unit 101 of the optimization device 94 in FIG. 17 will be described. In addition, in the processing unit 101 of the optimization device 94 in FIG. 17, as in the processing unit 11 of the NR circuit in FIG. 4, correction processing for correcting the traveling direction θ output by the calculation unit 93 as the input signal x (t). Parameter control for controlling (correcting) the weight as the correction parameter by learning the correction parameter calculation process for obtaining the weight as the correction parameter used for the correction process and the operation of the operation unit 98 (FIG. 16) by the user A control data learning process for obtaining data is performed. Since the correction process is the same as the correction process by the NR circuit of FIG. 4 described in FIG. 7, the processing unit 101 of the optimization device 94 of FIG. The correction parameter calculation processing and student data learning processing to be performed will be described.

まず、図18のフローチャートを参照して、図17の最適化装置94の処理部101が行う補正パラメータ演算処理について説明する。   First, correction parameter calculation processing performed by the processing unit 101 of the optimization device 94 of FIG. 17 will be described with reference to the flowchart of FIG.

補正パラメータ演算処理では、まず最初に、ステップS111において、入力信頼度計算部42が、図7のステップS31における場合と同様に、入力信号としての演算部93(図16)からの走行方向θの分散に基づく入力信頼度αx(t)を求め、出力信頼度計算部43および重み計算部45に供給する。 In the correction parameter calculation process, first, in step S111, the input reliability calculation unit 42 determines the travel direction θ from the calculation unit 93 (FIG. 16) as an input signal, as in step S31 of FIG. The input reliability α x (t) based on the variance is obtained and supplied to the output reliability calculation unit 43 and the weight calculation unit 45.

その後、ステップS112に進み、重み計算部45は、入力信頼度計算部42からの入力信頼度αx(t)を用い、式(6)にしたがって、重みw(t)を求め、重み補正部46に供給し、ステップS113に進む。 Thereafter, the process proceeds to step S112, where the weight calculation unit 45 uses the input reliability α x (t) from the input reliability calculation unit 42 to obtain the weight w (t) according to the equation (6), and the weight correction unit. The process proceeds to step S113.

ステップS113では、重み補正部46は、パラメータ制御データメモリ57からパラメータ制御データを読み出し、ステップS114に進む。ステップS114では、重み補正部46は、パラメータ制御データメモリ57から読み出したパラメータ制御データが、重みw(t)を補正しないモード、即ち、ユーザによる操作部98(図16)の操作に関係なく、重み計算部45において、入力信頼度と出力信頼度から、いわば自動的に求められる重みw(t)を、そのまま入力信号x(t)を補正するための重みWとして用いるモード(オートモード)を表すオートモードデータとなっているかどうかを判定する。   In step S113, the weight correction unit 46 reads the parameter control data from the parameter control data memory 57, and proceeds to step S114. In step S114, the weight correction unit 46 is in a mode in which the parameter control data read from the parameter control data memory 57 does not correct the weight w (t), that is, regardless of the operation of the operation unit 98 (FIG. 16) by the user. In the weight calculation unit 45, a mode (auto mode) in which the weight w (t) that is automatically obtained from the input reliability and the output reliability is used as the weight W for correcting the input signal x (t) as it is. It is determined whether or not the auto mode data is represented.

ステップS113において、パラメータ制御データがオートモードデータでないと判定された場合、ステップS115に進み、重み補正部46は、重み計算部45から供給される重みw(t)を、パラメータ制御データメモリ57から供給されるパラメータ制御データaとbによって定義される式(13)の一次式にしたがって補正し、ステップS116に進む。ステップS116では、重み補正部46が、補正後の重みを、補正パラメータとして、補正部21に供給し、ステップS117に進む。   If it is determined in step S113 that the parameter control data is not auto mode data, the process proceeds to step S115, and the weight correction unit 46 obtains the weight w (t) supplied from the weight calculation unit 45 from the parameter control data memory 57. The correction is made according to the linear expression of Expression (13) defined by the supplied parameter control data a and b, and the process proceeds to Step S116. In step S116, the weight correction unit 46 supplies the corrected weight to the correction unit 21 as a correction parameter, and the process proceeds to step S117.

一方、ステップS114において、パラメータ制御データがオートモードデータであると判定された場合、ステップS115をスキップして、ステップS116に進み、重み補正部46は、重み計算部45からの重みw(t)を、補正パラメータとして、そのまま補正部21に供給し、ステップS117に進む。   On the other hand, when it is determined in step S114 that the parameter control data is auto mode data, step S115 is skipped and the process proceeds to step S116, where the weight correction unit 46 receives the weight w (t) from the weight calculation unit 45. As a correction parameter to the correction unit 21 as it is, and the process proceeds to step S117.

ステップS117では、出力信頼度計算部43は、出力信頼度を更新する。即ち、出力信頼度計算部43は、直前のステップS31で入力信頼度計算部42が計算した入力信頼度αx(t)と、ラッチ回路44がラッチしている1サンプル前の出力信頼度αy(t-1)とを、式(5)にしたがって加算することで、現在の出力信頼度αy(t)を求め、ラッチ回路44に上書きする形で記憶させる。 In step S117, the output reliability calculation unit 43 updates the output reliability. That is, the output reliability calculation unit 43 outputs the input reliability α x (t) calculated by the input reliability calculation unit 42 in the immediately preceding step S31 and the output reliability α one sample before latched by the latch circuit 44. The current output reliability α y (t) is obtained by adding y (t−1) according to the equation (5), and is stored in the latch circuit 44 in an overwritten form.

ステップS117の処理後は、ステップS111に戻り、以下、同様の処理が繰り返される。   After the process of step S117, the process returns to step S111, and the same process is repeated thereafter.

以上のように、図18の補正パラメータ演算処理においては、オートモードの場合は、操作部98の操作に関係なく、入力信頼度と出力信頼度から、補正処理に用いられる重みが求められ、オートモードでない場合には、操作部98の操作に基づいて、後述する図19の制御データ学習処理による学習によって得られるパラメータ制御データを用いて、補正処理に用いられる重みが求められる。   As described above, in the correction parameter calculation process of FIG. 18, in the case of the auto mode, the weight used for the correction process is obtained from the input reliability and the output reliability regardless of the operation of the operation unit 98. When the mode is not set, the weight used for the correction process is obtained based on the operation of the operation unit 98 using the parameter control data obtained by the learning by the control data learning process of FIG.

次に、図19のフローチャートを参照して、図17の最適化装置94の処理部101が行う制御データ学習処理について説明する。   Next, a control data learning process performed by the processing unit 101 of the optimization device 94 in FIG. 17 will be described with reference to the flowchart in FIG.

制御データ学習処理では、まず最初に、ステップS131において、操作信号処理部110が、学習用操作信号を、操作部98(図16)から受信したかどうかを判定し、受信していないと判定した場合、ステップS101に戻る。   In the control data learning process, first, in step S131, the operation signal processing unit 110 determines whether or not the learning operation signal has been received from the operation unit 98 (FIG. 16), and determines that it has not been received. If so, the process returns to step S101.

また、ステップS101において、操作部98から、学習用操作信号を受信したと判定された場合、即ち、例えば、操作部98としてハンドルなどが、その操作の開始後、第1の時間t1以上の間隔をあけることなく、第2の時間t2以上連続して操作され、その後、第3の時間t3以上連続して、その操作が停止された場合や、操作部98としてのハンドルの操作の開始後、第3の時間t3以上連続して、その操作が停止された場合など、自動車が所望の方向を向くように、ユーザが操作部98としてのハンドルの操作を行ったと判定することができる場合、ステップS132に進み、教師データ生成部111が教師データを生成するとともに、生徒データ生成部52が生徒データを生成する。   In Step S101, when it is determined that the learning operation signal has been received from the operation unit 98, that is, for example, the handle as the operation unit 98 has an interval of the first time t1 or more after the start of the operation. Without being opened, when the operation is continuously performed for the second time t2 or more and then the operation is stopped for the third time t3 or more, or after the operation of the handle as the operation unit 98 is started, When it can be determined that the user has operated the steering wheel as the operation unit 98 so that the automobile faces a desired direction, such as when the operation is stopped continuously for the third time t3 or more, step In S132, the teacher data generation unit 111 generates teacher data, and the student data generation unit 52 generates student data.

即ち、操作信号処理部110は、学習用操作信号を受信したと判定すると、学習メッセージを、教師データ生成部111および生徒データ生成部52に供給する。教師データ生成部111は、操作信号処理部110から学習メッセージを受信すると、ステップS132において、演算部93から供給される入力信号としての走行方向θと、補正部21(演算器36)が出力する出力信号としての、演算部93からの走行方向θを補正したもの(補正走行方向)とから、学習用操作信号に対応する重みWを求める。   That is, when the operation signal processing unit 110 determines that the learning operation signal has been received, the operation signal processing unit 110 supplies the learning message to the teacher data generation unit 111 and the student data generation unit 52. Upon receiving the learning message from the operation signal processing unit 110, the teacher data generation unit 111 outputs the traveling direction θ as an input signal supplied from the calculation unit 93 and the correction unit 21 (calculator 36) in step S132. The weight W corresponding to the learning operation signal is obtained from the output signal obtained by correcting the traveling direction θ from the computing unit 93 (corrected traveling direction).

具体的には、教師データ生成部111は、ユーザが、ハンドルとしての操作部98を操作し、自動車が所望の方向を向くようになった直後の、その走行方向θを表す入力信号x(t)を、演算部93(図16)から受信する。さらに、教師データ生成部111は、補正部21が出力する現在の出力信号y(t)と、その1時刻だけ前の出力信号y(t−1)、即ち、操作部98の操作直前の出力信号y(t−1)を保持するようになっており、これらの入力信号x(t)、並びに出力信号y(t)およびy(t−1)を用いて、式(8)にしたがい、学習用操作信号が与えられたときに補正部21で用いられた重みW(学習用操作信号に対応する重み)を求める。   Specifically, the teacher data generation unit 111 inputs an input signal x (t indicating the traveling direction θ immediately after the user operates the operation unit 98 as a steering wheel so that the automobile turns to a desired direction. ) Is received from the calculation unit 93 (FIG. 16). Further, the teacher data generation unit 111 outputs the current output signal y (t) output from the correction unit 21 and the output signal y (t−1) one time before that, that is, the output immediately before the operation of the operation unit 98. The signal y (t−1) is held, and the input signal x (t) and the output signals y (t) and y (t−1) are used according to the equation (8), The weight W (weight corresponding to the learning operation signal) used by the correction unit 21 when the learning operation signal is given is obtained.

なお、ここでは、説明を簡単にするために、ユーザによる操作部98としてのハンドルの操作が、t−1からtまでの1時刻の間に、瞬時に完了するものとする。   Here, in order to simplify the description, it is assumed that the operation of the handle as the operation unit 98 by the user is instantaneously completed during one time from t-1 to t.

教師データ生成部111は、以上のようにして、学習用操作信号に対応する重みWを求めると、その重みWを、教師データとして、学習用データメモリ53に供給する。   When the teacher data generation unit 111 obtains the weight W corresponding to the learning operation signal as described above, the teacher data generation unit 111 supplies the weight W to the learning data memory 53 as teacher data.

さらに、ステップS132では、操作信号処理部110から学習メッセージを受信した生徒データ生成部52が、その直前までに、演算部93(図16)から供給された入力信号としての走行方向から求められる入力信頼度と出力信頼度を用いて計算された、重み計算部45が出力するのと同一の重みwを、生徒データとして、学習用データメモリ53に供給する。   Further, in step S132, the student data generation unit 52 that has received the learning message from the operation signal processing unit 110 immediately before that inputs the input obtained from the traveling direction as the input signal supplied from the calculation unit 93 (FIG. 16). The same weight w calculated by using the reliability and the output reliability and output by the weight calculator 45 is supplied to the learning data memory 53 as student data.

従って、学習データメモリ33には、ユーザが操作部98を操作して、自動車の実際の走行方向が、ユーザが所望する方向となったときに補正部21で用いられた重みWを教師データとするとともに、ユーザが操作部98を操作する直前に、入力信頼度と出力信頼度から求められていた重みwを生徒データとする学習対が供給される。   Therefore, in the learning data memory 33, the weight W used by the correction unit 21 when the user operates the operation unit 98 and the actual driving direction of the automobile becomes the direction desired by the user is used as the teacher data. At the same time, immediately before the user operates the operation unit 98, a learning pair is supplied in which the weight w obtained from the input reliability and the output reliability is the student data.

学習用データメモリ53は、教師データ生成部111から教師データWを受信するとともに、生徒データ生成部52から生徒データwを受信すると、ステップS133において、その最新の教師データWと生徒データwのセットを記憶し、ステップS134に進む。   The learning data memory 53 receives the teacher data W from the teacher data generation unit 111 and also receives the student data w from the student data generation unit 52. In step S133, the learning data memory 53 sets the latest teacher data W and student data w. And proceeds to step S134.

ステップS134では、パラメータ制御データ計算部54が、図8のステップS44における場合と同様に、学習用データメモリ53に記憶された最新の教師データと生徒データ、および学習情報メモリ55に記憶されている学習情報を対象として、最小自乗法における足し込みを行う。さらに、ステップS134では、パラメータ制御データ計算部54は、その足し込み結果を、学習情報として、学習情報メモリ55に上書きする形で記憶させ、ステップS135に進む。   In step S134, the parameter control data calculator 54 stores the latest teacher data and student data stored in the learning data memory 53 and the learning information memory 55, as in step S44 of FIG. Adds in the least squares method for learning information. Further, in step S134, the parameter control data calculation unit 54 stores the addition result as learning information in an overwritten form in the learning information memory 55, and proceeds to step S135.

ステップS135では、図8のステップS45における場合と同様に、パラメータ制御データ計算部54が、学習情報メモリ55に記憶された学習情報としての足し込み結果から、式(20)および(21)によって、パラメータ制御データaおよびbを求めることが可能であるかどうかを判定する。   In step S135, as in the case of step S45 of FIG. 8, the parameter control data calculation unit 54 uses the addition results as learning information stored in the learning information memory 55 to obtain the equation (20) and (21). It is determined whether the parameter control data a and b can be obtained.

ステップS135において、パラメータ制御データaおよびbを求めることが可能でないと判定された場合、パラメータ制御データ計算部54は、その旨を、判定制御部56に供給し、ステップS139に進む。ステップS139では、判定制御部56は、パラメータ制御データとして、オードモードを表すオートモードデータを、パラメータ制御データメモリ57に供給して記憶させる。そして、ステップS131に戻り、以下、同様の処理が繰り返される。   If it is determined in step S135 that the parameter control data a and b cannot be obtained, the parameter control data calculation unit 54 supplies the fact to the determination control unit 56 and proceeds to step S139. In step S139, the determination control unit 56 supplies auto mode data representing the auto mode as parameter control data to the parameter control data memory 57 for storage. Then, the process returns to step S131, and the same processing is repeated thereafter.

従って、パラメータ制御データaおよびbを求めることができるだけの学習情報が存在しない場合には、重み計算部45(図17)において、入力信頼度と出力信頼度から自動的に求められる重みw(t)が、そのまま入力信号x(t)の補正に用いられることになる。   Therefore, when there is no learning information that can obtain the parameter control data a and b, the weight w (t) automatically obtained from the input reliability and the output reliability in the weight calculation unit 45 (FIG. 17). ) Is used as it is for correcting the input signal x (t).

一方、ステップS135において、パラメータ制御データaおよびbを求めることが可能であると判定された場合、ステップS136に進み、パラメータ制御データ計算部54は、学習情報を用い、式(20)および(21)を計算することで、パラメータ制御データaおよびbを求め、判定制御部56に供給して、ステップS137に進む。   On the other hand, when it is determined in step S135 that the parameter control data a and b can be obtained, the process proceeds to step S136, and the parameter control data calculation unit 54 uses the learning information to calculate the equations (20) and (21). ), The parameter control data a and b are obtained, supplied to the determination control unit 56, and the process proceeds to step S137.

ステップS137では、判定制御部56は、パラメータ制御データ計算部54からのパラメータ制御データaおよびbによって定義される式(13)の一次式にしたがい、学習用データメモリ53に記憶された各生徒データから、対応する教師データの予測値を求め、その予測値の予測誤差(学習用データメモリ53に記憶されている教師データに対する誤差)の、式(15)で表される自乗誤差の総和を求める。さらに、判定制御部56は、その自乗誤差の総和を、例えば、学習用データメモリ53に記憶されている学習対の数で除算した正規化誤差を求め、ステップS138に進む。   In step S137, the determination control unit 56 sets each student data stored in the learning data memory 53 in accordance with a linear expression of the equation (13) defined by the parameter control data a and b from the parameter control data calculation unit 54. Then, the predicted value of the corresponding teacher data is obtained, and the sum of the square errors represented by the equation (15) of the prediction error of the predicted value (the error with respect to the teacher data stored in the learning data memory 53) is obtained. . Further, the determination control unit 56 obtains a normalization error obtained by dividing the sum of the square errors by the number of learning pairs stored in the learning data memory 53, for example, and proceeds to step S138.

ステップS138では、判定制御部56は、正規化誤差が、所定の閾値S1より大(以上)であるかどうかを判定する。ステップS138において、正規化誤差が所定の閾値S1より大であると判定された場合、即ち、パラメータ制御データaおよびbによって定義される式(13)の一次式が、学習用データメモリ53に記憶された生徒データと教師データとの関係を、精度良く近似していない場合、ステップS139に進み、判定制御部56は、上述したように、パラメータ制御データとして、オードモードを表すオートモードデータを、パラメータ制御データメモリ57に供給して記憶させる。そして、ステップS131に戻り、以下、同様の処理が繰り返される。   In step S138, the determination control unit 56 determines whether or not the normalization error is greater than (or greater than) a predetermined threshold value S1. When it is determined in step S138 that the normalization error is larger than the predetermined threshold value S1, that is, the primary expression defined by the parameter control data a and b (13) is stored in the learning data memory 53. If the relationship between the determined student data and the teacher data is not accurately approximated, the process proceeds to step S139, and as described above, the determination control unit 56 uses the auto mode data representing the auto mode as the parameter control data. It is supplied to the parameter control data memory 57 and stored. Then, the process returns to step S131, and the same processing is repeated thereafter.

従って、パラメータ制御データaおよびbを求めることができても、そのパラメータ制御データaおよびbによって定義される式(13)の一次式が、学習用データメモリ53に記憶された生徒データと教師データとの関係を、精度良く近似していない場合には、パラメータ制御データaおよびbを求めることができるだけの学習情報が存在しない場合と同様に、入力信頼度と出力信頼度から自動的に求められる重みw(t)が、そのまま入力信号x(t)の補正に用いられることになる。   Therefore, even if the parameter control data a and b can be obtained, the primary expression of the equation (13) defined by the parameter control data a and b is the student data and the teacher data stored in the learning data memory 53. Is not approximated with high accuracy, it is automatically obtained from the input reliability and the output reliability as in the case where there is not enough learning information to obtain the parameter control data a and b. The weight w (t) is used for correcting the input signal x (t) as it is.

一方、ステップS138において、正規化誤差が所定の閾値S1より大でないと判定された場合、即ち、パラメータ制御データaおよびbによって定義される式(13)の一次式が、学習用データメモリ53に記憶された生徒データと教師データとの関係を、精度良く近似している場合、ステップS140に進み、判定制御部56は、パラメータ制御データ計算部54からのパラメータ制御データaおよびbによって定義される式(13)の一次式で表される回帰直線と、学習用データメモリ53に記憶された最新の教師データおよび生徒データで規定される点との間の誤差(距離)εを求める。   On the other hand, when it is determined in step S138 that the normalization error is not larger than the predetermined threshold value S1, that is, the primary expression defined by the parameter control data a and b (13) is stored in the learning data memory 53. When the relationship between the stored student data and the teacher data is approximated with high accuracy, the process proceeds to step S140, and the determination control unit 56 is defined by the parameter control data a and b from the parameter control data calculation unit 54. An error (distance) ε between the regression line expressed by the linear expression of Expression (13) and the point defined by the latest teacher data and student data stored in the learning data memory 53 is obtained.

そして、ステップS141に進み、判定制御部56は、誤差εの大きさが、所定の閾値S2より大(以上)であるかどうかを判定し、大でないと判定した場合、ステップS142をスキップして、ステップS143に進み、判定制御部56は、ステップS136で求められたパラメータ制御データaおよびbを、パラメータ制御部データメモリ37に出力する。パラメータ制御データメモリ57は、判定制御部56からのパラメータ制御データaおよびbを上書きする形で記憶し、ステップS131に戻る。   Then, the process proceeds to step S141, and the determination control unit 56 determines whether or not the magnitude of the error ε is larger (or more) than the predetermined threshold value S2, and when it is determined that it is not larger, skips step S142. In step S143, the determination control unit 56 outputs the parameter control data a and b obtained in step S136 to the parameter control unit data memory 37. The parameter control data memory 57 stores the parameter control data a and b from the determination control unit 56 in the form of overwriting, and returns to step S131.

一方、ステップS141において、誤差εの大きさが、所定の閾値S2より大であると判定された場合、ステップS142に進み、判定制御部56は、パラメータ制御データ計算部54を制御することにより、学習用データメモリ53に記憶された最近の教師データと生徒データとしての、最新の学習対から所定数の過去の学習対のみを用いて(学習情報メモリ55の学習情報を用いずに)、パラメータ制御データaおよびbを再計算させる。そして、ステップS143に進み、判定制御部56は、ステップS142で求められたパラメータ制御データaおよびbを、パラメータ制御部データメモリ37に出力し、上書きする形で記憶させ、ステップS131に戻る。   On the other hand, when it is determined in step S141 that the magnitude of the error ε is larger than the predetermined threshold value S2, the process proceeds to step S142, and the determination control unit 56 controls the parameter control data calculation unit 54 to Using only a predetermined number of past learning pairs from the latest learning pairs as the latest teacher data and student data stored in the learning data memory 53 (without using the learning information in the learning information memory 55), the parameters The control data a and b are recalculated. Then, the process proceeds to step S143, and the determination control unit 56 outputs the parameter control data a and b obtained in step S142 to the parameter control unit data memory 37, stores them in an overwritten form, and returns to step S131.

従って、パラメータ制御データaおよびbを求めることができ、かつ、そのパラメータ制御データaおよびbによって定義される式(13)の一次式が、学習用データメモリ53に記憶された生徒データと教師データとの関係を、精度良く近似している場合には、ユーザによる操作部2の操作に基づいて得られる学習対を用いて学習が行われることにより求められたパラメータ制御データaおよびbによって定義される式(13)にしたがって、入力信頼度と出力信頼度から求められる重みw(t)が補正され、その補正によって得られる補正重みWが、入力信号x(t)の補正に用いられることになる。   Accordingly, the parameter control data a and b can be obtained, and the primary expression defined by the parameter control data a and b is the student data and teacher data stored in the learning data memory 53. Is accurately defined by parameter control data a and b obtained by learning using a learning pair obtained based on the operation of the operation unit 2 by the user. The weight w (t) obtained from the input reliability and the output reliability is corrected according to the equation (13), and the correction weight W obtained by the correction is used for correcting the input signal x (t). Become.

以上のように、図16の自動走行装置でも、ユーザの操作に応じて供給される操作信号が、学習に用いることができるかどうかが判定され、学習に用いることのできる学習用操作信号である場合には、その学習用操作信号に基づいて、入力信号を補正する重みを補正するパラメータ制御データaおよびbが学習されるので、ユーザの操作を、ユーザが知らないうちに学習することができ、その結果、その学習結果に基づいて、ユーザにとって、徐々に適切な処理が行われるようになり、最終的には、ユーザにとって最適な処理が行われることになる。   As described above, even in the automatic traveling device of FIG. 16, it is determined whether or not the operation signal supplied according to the user's operation can be used for learning, and is a learning operation signal that can be used for learning. In this case, since the parameter control data a and b for correcting the weight for correcting the input signal are learned based on the learning operation signal, the user's operation can be learned without the user's knowledge. As a result, appropriate processing for the user is gradually performed based on the learning result, and finally, optimal processing for the user is performed.

即ち、ユーザが、走行方向を、設定軌跡に沿ったものに修正するように、操作部98を操作しているうちに、自動車は、徐々に、設定軌跡に沿って自動走行するようになる。   In other words, while the user operates the operation unit 98 so as to correct the traveling direction to the one along the set trajectory, the automobile gradually travels automatically along the set trajectory.

また、図17の最適化装置94の処理部101においても、図4のNR回路と同様に、ユーザによる操作部98の操作にしたがい、自動車の実際の走行方向が設定軌跡に沿ったものにあるように、補正部21で行われる補正処理(図6)で用いられる重みWが変更される。即ち、自動車の走行方向が所望の方向となるように、ユーザが操作部98を操作すると、演算部93(図16)が出力する入力信号としての走行方向θが変化し、その走行方向θから求められる入力信頼度、さらには、その入力信頼度から求められる出力信頼度も変化する。この入力信頼度および出力信頼度の変化によって、重み計算部45で求められる重みも変化し、この変化した重みは、重み補正部46を経由して、補正部21に供給される。そして、補正部21では、このようにして供給される重みを用いて、式(8)で表される補正処理が行われる。従って、ユーザが操作部98を操作した場合には、そのユーザの操作により式(8)の重みが変更され、図4のNR回路で説明した場合と同様に、当然に、式(8)で表される処理(補正処理)の内容も変更することとなるから、図17の最適化装置94の処理部101でも、ユーザの操作にしたがい、その「処理の内容」が、ユーザにとって所望の走行方向が得られるように変更されているということができる。   Further, in the processing unit 101 of the optimization device 94 in FIG. 17, as in the NR circuit in FIG. 4, the actual traveling direction of the automobile is along the set locus according to the operation of the operation unit 98 by the user. As described above, the weight W used in the correction process (FIG. 6) performed by the correction unit 21 is changed. That is, when the user operates the operation unit 98 so that the traveling direction of the automobile becomes a desired direction, the traveling direction θ as an input signal output from the calculation unit 93 (FIG. 16) changes, and from the traveling direction θ. The required input reliability and, further, the output reliability obtained from the input reliability also change. Due to the change in the input reliability and the output reliability, the weight obtained by the weight calculation unit 45 also changes, and the changed weight is supplied to the correction unit 21 via the weight correction unit 46. And in the correction | amendment part 21, the correction process represented by Formula (8) is performed using the weight supplied in this way. Accordingly, when the user operates the operation unit 98, the weight of the equation (8) is changed by the user's operation, and naturally, as in the case described with the NR circuit of FIG. Since the processing (correction processing) content to be expressed is also changed, the processing unit 101 of the optimizing device 94 in FIG. 17 also displays the “processing content” as desired by the user according to the user's operation. It can be said that the direction has been changed to obtain.

さらに、図17の最適化装置94の処理部101でも、図4のNR回路と同様に、ユーザから十分な数の学習対が入力されていない場合や、精度の高い近似が可能な学習対が入力されていない場合には、入力信頼度と出力信頼度とから自動的に求められる重みが、補正部21における補正処理に用いられ、ユーザから精度の高い近似が可能な学習対が入力された場合には、その学習対を用いて学習が行われることにより求められたパラメータ制御データaおよびbによって求められる補正重みが、補正部21における補正処理に用いられる。即ち、十分な数の学習対や、精度の高い近似が可能な学習対が得られていない場合と、精度の高い近似が可能な学習対が得られた場合とで、補正処理に用いられる重みを算出するアルゴリズムが変更されている。   Further, in the processing unit 101 of the optimization device 94 in FIG. 17, as in the case of the NR circuit in FIG. 4, when a sufficient number of learning pairs has not been input from the user or there are learning pairs that can be approximated with high accuracy. If not input, the weight automatically obtained from the input reliability and the output reliability is used for the correction process in the correction unit 21, and a learning pair capable of high-precision approximation is input from the user. In this case, the correction weight obtained from the parameter control data a and b obtained by learning using the learning pair is used for the correction process in the correction unit 21. That is, the weights used for correction processing when there are not a sufficient number of learning pairs or learning pairs that can be approximated with high accuracy and when learning pairs that can be approximated with high accuracy are obtained. The algorithm for calculating has been changed.

従って、図17の最適化装置94の処理部101でも、図4のNR回路と同様に、ユーザの操作にしたがい、その「処理の内容」も、さらには、その「処理の構造」も変更され、これにより、設定軌跡に沿った走行方向に、自動車が自動走行するようになっている。   Accordingly, in the processing unit 101 of the optimization device 94 in FIG. 17 as well, in the same way as in the NR circuit in FIG. 4, according to the user's operation, the “processing content” and further the “processing structure” are changed. Thus, the vehicle automatically travels in the traveling direction along the set locus.

なお、例えば、特開平7-13625号公報には、田植機等の作業車の走行制御装置が開示されており、この走行制御装置においては、ユーザの操作状態と、ジャイロセンサ等の検出結果に基づく情報との差が少なくなるように、自動操縦状態における制御パラメータの補正量が演算されるようになっている。従って、図16の自動走行装置は、ユーザの操作に基づいて、自動走行(自動操縦)のためのパラメータの補正量が変化する点において、特開平7-13625号公報に記載の走行制御装置と共通する。   For example, Japanese Patent Laid-Open No. 7-13625 discloses a traveling control device for a work vehicle such as a rice transplanter. In this traveling control device, the operation state of the user and the detection result of the gyro sensor or the like are disclosed. The correction amount of the control parameter in the autopilot state is calculated so that the difference from the information based on it is reduced. Accordingly, the automatic travel device of FIG. 16 is different from the travel control device described in Japanese Patent Application Laid-Open No. 7-13625 in that the parameter correction amount for automatic travel (automatic control) changes based on the user's operation. Common.

しかしながら、図16の自動走行装置は、ユーザの操作に応じて供給される操作信号が、学習に用いることができるかどうかを判定する点、操作信号が学習に用いることのできる学習用操作信号である場合には、その学習用操作信号に基づいて、入力信号を補正する重みを補正するパラメータ制御データを学習する点において、スイッチを手動で切り替えて、手動操縦制御モードとした場合にのみ、自動操縦状態における制御パラメータの補正量が演算される特開平7-13625号公報に記載の走行制御装置と大きく異なる。   However, the automatic traveling device of FIG. 16 is a learning operation signal that can be used for learning, in that it determines whether or not an operation signal supplied in response to a user operation can be used for learning. In some cases, automatic learning is performed only when the switch is manually switched to the manual steering control mode in that the parameter control data for correcting the weight for correcting the input signal is learned based on the learning operation signal. This is greatly different from the travel control apparatus described in Japanese Patent Application Laid-Open No. 7-13625, in which the control parameter correction amount in the steering state is calculated.

かかる相違がある結果、特開平7-13625号公報に記載の走行制御装置では、ユーザが、適切な自動操縦が行われていないと感じるたびに、スイッチを切り替え、手動操縦制御モードとし、制御パラメータの補正量の演算の終了後に、再び、スイッチを切り替え、自動操縦制御モードとしなければならず、従って、ユーザに煩わしさを感じさせるおそれがある。   As a result of this difference, in the travel control device described in Japanese Patent Application Laid-Open No. 7-13625, every time the user feels that appropriate automatic steering is not performed, the switch is switched to the manual steering control mode, and the control parameter is set. After completing the calculation of the correction amount, the switch must be switched again to enter the autopilot control mode, which may cause the user to feel bothered.

これに対して、図16の自動走行装置では、ユーザの操作に応じて供給される操作信号が、学習に用いることができるかどうかを判定し、さらに、学習に用いることのできる学習用操作信号である場合には、その学習用操作信号に基づいて、入力信号を補正する重みを補正するパラメータ制御データを学習するようにアルゴリズムが変更されるので、ユーザが、上述のようなスイッチの切り替えを行わなくても、適切な自動走行が行われるようになる。即ち、ユーザが知らないうちに、ユーザの操作の学習が行われるので、ユーザが走行方向を修正する操作をしているうちに、学習が進み、徐々に、ユーザが操作を行わなくても、自動車が設定軌跡に沿って走行するようになる。   On the other hand, in the automatic traveling device of FIG. 16, it is determined whether or not the operation signal supplied in accordance with the user's operation can be used for learning, and further, the learning operation signal that can be used for learning. In this case, the algorithm is changed so as to learn the parameter control data for correcting the weight for correcting the input signal based on the learning operation signal, so that the user switches the switch as described above. Even if it is not performed, an appropriate automatic traveling is performed. That is, since the user's operation is learned before the user knows, the learning progresses while the user is performing the operation of correcting the traveling direction, and even if the user does not perform the operation gradually, The car will travel along the set trajectory.

さらに、図16の自動走行装置は、ユーザの操作に対応して、処理の構造が変化するが、その点においても、特開平7-13625号公報に記載の走行制御装置と異なる。   Further, the automatic travel device shown in FIG. 16 changes in the processing structure in response to the user's operation, but also differs from the travel control device described in Japanese Patent Laid-Open No. 7-13625.

次に、図20は、図16の最適化装置94の処理部101の他の実施の形態を示している。なお、図中、図17における場合と対応する部分については、同一の符号を付してあり、以下では、その説明は、適宜省略する。   Next, FIG. 20 shows another embodiment of the processing unit 101 of the optimization device 94 of FIG. In the figure, portions corresponding to those in FIG. 17 are denoted by the same reference numerals, and description thereof will be omitted below as appropriate.

図4および図10のNR回路の処理部11、並びに図17の最適化装置94の処理部101においては、ユーザの操作に基づいて得られる学習対を用いて、補正パラメータを制御するパラメータ制御データの学習が行われるようになっていたが、図20の処理部101では、ユーザの操作に基づいて得られる学習対を用いて、補正パラメータ自体の学習が行われるようになっている。   In the processing unit 11 of the NR circuit of FIGS. 4 and 10 and the processing unit 101 of the optimization device 94 of FIG. 17, parameter control data for controlling correction parameters using a learning pair obtained based on a user operation. However, the processing unit 101 in FIG. 20 learns the correction parameter itself using a learning pair obtained based on the user's operation.

即ち、図20の実施の形態では、補正部21は、補正量計算部141と演算器142で構成され、学習部22は、学習用データメモリ53、学習情報メモリ55、判定制御部56、操作信号処理部110、教師データ生成部143、生徒データ生成部144、補正パラメータ計算部145、および補正パラメータメモリ146から構成されている。   That is, in the embodiment of FIG. 20, the correction unit 21 includes a correction amount calculation unit 141 and a calculator 142, and the learning unit 22 includes a learning data memory 53, a learning information memory 55, a determination control unit 56, an operation unit, and an operation unit. The signal processing unit 110 includes a teacher data generation unit 143, a student data generation unit 144, a correction parameter calculation unit 145, and a correction parameter memory 146.

補正量計算部141には、学習部22の補正パラメータメモリ146から、後述するような補正パラメータが供給されるようになっており、補正量計算部141は、その補正パラメータを用いて、入力信号としての走行方向θを補正する補正量を計算し、演算器142に供給する。   The correction amount calculation unit 141 is supplied with correction parameters as described later from the correction parameter memory 146 of the learning unit 22, and the correction amount calculation unit 141 uses the correction parameters to input signal A correction amount for correcting the traveling direction θ is calculated and supplied to the calculator 142.

演算器142には、補正量計算部141から補正量が供給される他、入力信号としての走行方向θが、演算部93(図16)から供給されるようになっており、演算器142は、入力信号としての走行方向θを、それに補正量を加算することで補正し、その補正後の走行方向(補正走行方向)を、出力信号として、自動走行制御部95(図16)に出力する。   In addition to the correction amount being supplied from the correction amount calculator 141 to the calculator 142, the traveling direction θ as an input signal is supplied from the calculator 93 (FIG. 16). The travel direction θ as an input signal is corrected by adding a correction amount thereto, and the corrected travel direction (corrected travel direction) is output to the automatic travel control unit 95 (FIG. 16) as an output signal. .

教師データ生成部143は、操作信号処理部110から学習メッセージを受信した直後に供給される入力信号としての走行方向を、教師データとして、学習用データメモリ53に供給する。生徒データ生成部144は、操作信号処理部130から学習メッセージを受信した直前に供給される入力信号としての走行方向を、生徒データとして、学習用データメモリ53に供給する   The teacher data generation unit 143 supplies the traveling direction as an input signal supplied immediately after receiving the learning message from the operation signal processing unit 110 to the learning data memory 53 as teacher data. The student data generation unit 144 supplies the learning data memory 53 with the traveling direction as the input signal supplied immediately before receiving the learning message from the operation signal processing unit 130 as student data.

補正パラメータ計算部145は、判定制御部56の制御の下、学習用データメモリ53に記憶された学習用データとしての教師データおよび生徒データ、さらには、必要に応じて、学習情報メモリ55に記憶された学習情報を用いて、所定の統計的な誤差を最小にする補正パラメータを、新たな学習情報を演算することにより学習し、判定制御部56に供給する。また、補正パラメータ計算部145は、学習によって得られた新たな学習情報によって、学習情報メモリ55の記憶内容を更新する。   The correction parameter calculation unit 145 stores teacher data and student data as learning data stored in the learning data memory 53 under the control of the determination control unit 56, and further stores it in the learning information memory 55 as necessary. Using the learned information, a correction parameter that minimizes a predetermined statistical error is learned by calculating new learning information, and is supplied to the determination control unit 56. Further, the correction parameter calculation unit 145 updates the stored content of the learning information memory 55 with new learning information obtained by learning.

補正パラメータメモリ146は、判定制御部56が出力する補正パラメータを記憶する。   The correction parameter memory 146 stores correction parameters output from the determination control unit 56.

以上のように構成される最適化装置94では、演算部93から供給される走行方向θが、次のように補正される。   In the optimization device 94 configured as described above, the traveling direction θ supplied from the calculation unit 93 is corrected as follows.

即ち、ジャイロセンサ91(図16)が出力する時刻tのヨーレートを、r’とすると、演算部93では、走行方向が、式(32)におけるrを、r’に置き換えた式から計算される。   That is, assuming that the yaw rate at time t output from the gyro sensor 91 (FIG. 16) is r ′, the computing unit 93 calculates the traveling direction from the equation in which r in equation (32) is replaced with r ′. .

いま、ジャイロセンサ91が出力するヨーレートr’に含まれる誤差をerとするとともに、真のヨーレートをrとすることとすると、ジャイロセンサ91が出力するヨーレートr’は、次式で表される。 Now, the yaw rate r of the gyro sensor 91 outputs 'the error contained in addition to the e r, if it is assumed that the true yaw rate and r, the yaw rate r of the gyro sensor 91 outputs' is represented by the following formula .

Figure 0004591785
・・・(33)
Figure 0004591785
... (33)

演算部93において、ジャイロセンサ91が出力するヨーレートr’から計算される走行方向θ’は、式(32)と(33)から、次のようになる。   The traveling direction θ ′ calculated from the yaw rate r ′ output from the gyro sensor 91 in the calculation unit 93 is as follows from the equations (32) and (33).

Figure 0004591785
・・・(34)
Figure 0004591785
... (34)

従って、演算部93で求められる走行方向θ’と、真のヨーレートrから求められる真の走行方向θとの関係は、次式で示すようになる。   Accordingly, the relationship between the traveling direction θ ′ obtained by the calculation unit 93 and the true traveling direction θ obtained from the true yaw rate r is expressed by the following equation.

Figure 0004591785
・・・(35)
Figure 0004591785
... (35)

ジャイロセンサ91が出力するヨーレートr’に含まれる誤差erが白色である場合には、式(35)の右辺第2項は、長期的にみれば、次式に示すように0になるから、特に問題はない。なお、短期的には、式(35)の右辺第2項は0にならないが、この場合は、図17の最適化装置94の処理部101によって対処することができる。 When the error e r the gyro sensor 91 is included in the yaw rate r 'output by a white, the second term on the right side of equation (35), the long term, because becomes zero as shown in the following equation There is no particular problem. In the short term, the second term on the right side of Equation (35) does not become 0, but this case can be dealt with by the processing unit 101 of the optimization device 94 in FIG.

Figure 0004591785
・・・(36)
Figure 0004591785
... (36)

しかしながら、誤差erが有色である場合には、時間tの経過とともに、誤差erが蓄積され、演算部93で求められる走行方向θ’は、真の走行方向θから大きくずれることになる。 However, when the error er is colored, the error er is accumulated with the lapse of time t, and the traveling direction θ ′ obtained by the calculation unit 93 is greatly deviated from the true traveling direction θ.

即ち、いま、説明を簡単にするために、ある一定方向に直進する自動走行を考えると、自動走行制御部95(図16)では、演算部93で求められる走行方向θ’が、図21に点線で示すように、一定となるような制御信号が生成される。   That is, now, for the sake of simplicity of explanation, when considering an automatic traveling that goes straight in a certain direction, the automatic traveling control unit 95 (FIG. 16) shows that the traveling direction θ ′ obtained by the computing unit 93 is shown in FIG. As indicated by the dotted line, a control signal that is constant is generated.

しかしながら、演算部93で求められる走行方向θ’に含まれる誤差erが有色である場合には、時間tの経過とともに、誤差erが蓄積されることから、演算部93で求められる走行方向θ’が、例えば、図21において実線で示すような曲線の軌跡を描くときが、自動車が真に直進しているときとなる。 However, the direction of travel when the error e r contained in the running direction theta 'obtained by the arithmetic unit 93 is colored, with time t, since the error e r is accumulated, obtained by the arithmetic unit 93 For example, when θ ′ draws a locus of a curve as shown by a solid line in FIG. 21, the vehicle is traveling straight ahead.

このため、図20の最適化装置94の処理部101は、入力信号として供給される演算部93からの走行方向θ’が、図21において実線で示す軌跡を描くように、その走行方向θ’を補正する補正パラメータa0,a1,・・・,aNを、ユーザからの学習用操作信号に基づいて学習する補正パラメータ学習処理を行い、その補正パラメータa0乃至aNを用いて、演算部93からの走行方向θ’を補正する補正処理を行うようになっている。 For this reason, the processing unit 101 of the optimization device 94 in FIG. 20 determines the traveling direction θ ′ so that the traveling direction θ ′ from the computing unit 93 supplied as an input signal draws a locus indicated by a solid line in FIG. Correction parameters a 0 , a 1 ,..., A N are corrected based on learning operation signals from the user, and the correction parameters a 0 to a N are used. Correction processing for correcting the traveling direction θ ′ from the calculation unit 93 is performed.

そこで、図22および図23を参照して、図20の最適化装置94の処理部101が行う補正処理と補正パラメータ学習処理について説明する。なお、図18の実施の形態では、一定方向に直進する自動走行を行うこととしたが、図20の最適化装置94の処理部101は、任意の軌跡に沿った自動走行に適用することが可能である。   Therefore, with reference to FIGS. 22 and 23, the correction process and the correction parameter learning process performed by the processing unit 101 of the optimization device 94 of FIG. 20 will be described. In the embodiment shown in FIG. 18, the automatic traveling straight in a certain direction is performed. However, the processing unit 101 of the optimization device 94 in FIG. 20 can be applied to automatic traveling along an arbitrary locus. Is possible.

まず最初に、図22のフローチャートを参照して、図20の最適化装置94の処理部101が行う補正処理について説明する。   First, correction processing performed by the processing unit 101 of the optimization device 94 in FIG. 20 will be described with reference to the flowchart in FIG.

補正処理では、ステップS151において、補正量計算部141が、補正パラメータメモリ146に記憶された補正パラメータa0乃至aNを用いて、補正量を計算する。 In the correction process, in step S 151, the correction amount calculation unit 141 calculates the correction amount using the correction parameters a 0 to a N stored in the correction parameter memory 146.

即ち、ここでは、例えば、真の走行方向θが、補正パラメータa0乃至aNと、入力信号としての演算部93からの走行方向θ’とを用いて、式(37)に示すように表されることとして、補正量が計算される。 That is, here, for example, the true traveling direction θ is expressed as shown in Expression (37) using the correction parameters a 0 to a N and the traveling direction θ ′ from the calculation unit 93 as an input signal. As a result, a correction amount is calculated.

Figure 0004591785
・・・(37)
Figure 0004591785
... (37)

従って、式(37)から、補正量計算部141では、a0+a11+a22+・・・+aNNが、補正量として計算される。この補正量は、演算器142に供給される。 Therefore, from equation (37), the correction amount calculation unit 141 calculates a 0 + a 1 t 1 + a 2 t 2 +... + A N t N as the correction amount. This correction amount is supplied to the calculator 142.

演算器142では、ステップS152において、入力信号としての演算器53からの走行方向θ’と、補正量とが加算され、その加算値(式(37)のθ)が、出力信号として出力され、次の入力信号のサンプルが供給されるのを待って、ステップS151に戻り、以下、同様の処理が繰り返される。   In the calculator 142, in step S152, the traveling direction θ ′ from the calculator 53 as an input signal and the correction amount are added, and the added value (θ in Expression (37)) is output as an output signal. After waiting for the next input signal sample to be supplied, the process returns to step S151, and thereafter the same processing is repeated.

次に、図23のフローチャートを参照して、図20の最適化装置94の処理部101が行う補正パラメータ学習処理について説明する。   Next, the correction parameter learning process performed by the processing unit 101 of the optimization device 94 in FIG. 20 will be described with reference to the flowchart in FIG.

補正パラメータ学習処理では、まず最初に、ステップS161において、操作信号処理部110が、学習用操作信号を、操作部98(図16)から受信したかどうかを判定し、受信していないと判定した場合、ステップS161に戻る。   In the correction parameter learning process, first, in step S161, the operation signal processing unit 110 determines whether or not the learning operation signal has been received from the operation unit 98 (FIG. 16), and determines that it has not been received. If so, the process returns to step S161.

また、ステップS161において、操作部98から、学習用操作信号を受信したと判定された場合、即ち、例えば、操作部98が、その操作の開始後、第1の時間t1以上の間隔をあけることなく、第2の時間t2以上連続して操作され、その後、第3の時間t3以上連続して、その操作が停止された場合や、操作部98の操作の開始後、第3の時間t3以上連続して、その操作が停止された場合など、ユーザが、自動車が所望の走行方向を向くように、操作部98の操作を行ったと判定することができる場合、ステップS162に進み、教師データ生成部143が教師データを生成するとともに、生徒データ生成部144が生徒データを生成する。   Further, when it is determined in step S161 that the learning operation signal has been received from the operation unit 98, that is, for example, the operation unit 98 leaves an interval of the first time t1 or more after the start of the operation. Without being operated continuously for the second time t2 or more, and then continuously for the third time t3 or more, or when the operation is stopped, or after the operation of the operation unit 98 is started, for the third time t3 or more. When it can be determined that the user has operated the operation unit 98 so that the automobile faces the desired traveling direction, such as when the operation is continuously stopped, the process proceeds to step S162, and teacher data generation is performed. The unit 143 generates teacher data, and the student data generation unit 144 generates student data.

即ち、操作信号処理部110は、学習用操作信号を受信した場合、その旨の学習メッセージを、教師データ生成部143および生徒データ生成部144に供給する。教師データ生成部143は、学習メッセージを受信すると、その直後に供給される入力信号としての走行方向を、教師データとして取得し、学習用データメモリ53に供給する。   That is, when the operation signal processing unit 110 receives a learning operation signal, the operation signal processing unit 110 supplies a learning message to that effect to the teacher data generation unit 143 and the student data generation unit 144. Upon receiving the learning message, the teacher data generation unit 143 acquires the traveling direction as an input signal supplied immediately after that as teacher data and supplies it to the learning data memory 53.

即ち、いまの場合、教師データとしては、自動車が所望の方向に向くように、ユーザが、ハンドルとしての操作部98を操作した後の走行方向を用いる必要がある。そこで、教師データ生成部143は、学習メッセージを受信した後に供給される入力信号としての走行方向θを、教師データとして、学習用データメモリ53に供給する。   That is, in this case, as the teacher data, it is necessary to use the traveling direction after the user operates the operation unit 98 as a steering wheel so that the automobile is directed in a desired direction. Therefore, the teacher data generation unit 143 supplies the traveling direction θ as an input signal supplied after receiving the learning message to the learning data memory 53 as teacher data.

また、生徒データ生成部52は、学習メッセージを受信すると、その直前に供給された入力信号としての走行方向、即ち、自動車が所望の方向を向く直前の走行方向を、生徒データとして、学習用データメモリ53に供給する。   In addition, when the student data generation unit 52 receives the learning message, the student data is used as the learning data by using, as student data, the traveling direction as the input signal supplied immediately before that, that is, the traveling direction immediately before the automobile faces the desired direction. This is supplied to the memory 53.

その後、ステップS163に進み、学習用データメモリ53は、教師データ生成部51から教師データと生徒データのセットを記憶し、ステップS164に進む。   Thereafter, the process proceeds to step S163, where the learning data memory 53 stores the set of teacher data and student data from the teacher data generation unit 51, and proceeds to step S164.

ステップS164では、補正パラメータ計算部145が、教師データと生徒データを対象として、式(22)乃至式(30)で説明した場合と同様の最小自乗法における足し込みを行う。   In step S164, the correction parameter calculation unit 145 performs addition in the least square method similar to the case described in Expressions (22) to (30) for teacher data and student data.

なお、ステップS164における足し込みは、上述した場合と同様に、学習情報メモリ55に記憶されている学習情報としての前回の足し込み結果を用いて行われる。また、ここでは、式(37)のθ’として、生徒データを用いて計算される式(37)のθとしての教師データの予測値と、対応する教師データとの自乗誤差の総和を最小にする補正パラメータa0乃至aNを求めるための足し込みが行われる。 Note that the addition in step S164 is performed using the previous addition result as learning information stored in the learning information memory 55, as in the case described above. Also, here, as θ ′ in equation (37), the sum of square errors between the predicted value of teacher data as θ in equation (37) calculated using student data and the corresponding teacher data is minimized. Addition for obtaining the correction parameters a 0 to a N to be performed is performed.

補正パラメータ計算部145は、ステップS164において足し込みを行った後、その足し込み結果を、学習情報として、学習情報メモリ55に上書きする形で記憶させ、ステップS165に進む。   After performing the addition in step S164, the correction parameter calculation unit 145 stores the addition result in the form of overwriting the learning information memory 55 as learning information, and proceeds to step S165.

ステップS165では、補正パラメータ計算部145が、学習情報メモリ55に記憶された学習情報としての足し込み結果から、補正パラメータa1乃至aNを求めることが可能であるかどうかを判定する。 In step S165, the correction parameter calculation unit 145 determines whether or not the correction parameters a 1 to a N can be obtained from the addition result as learning information stored in the learning information memory 55.

ステップS165において、補正パラメータa1乃至aNを求めることが可能でないと判定された場合、補正パラメータ計算部145は、その旨を、判定制御部56に供給し、ステップS169に進む。ステップS169では、判定制御部56は、補正パラメータとして、補正の禁止を表すディセーブル(disable)データを、補正パラメータメモリ146に供給して記憶させる。そして、ステップS161に戻り、以下、同様の処理が繰り返される。 When it is determined in step S165 that the correction parameters a 1 to a N cannot be obtained, the correction parameter calculation unit 145 supplies the fact to the determination control unit 56 and proceeds to step S169. In step S169, the determination control unit 56 supplies disable data representing prohibition of correction to the correction parameter memory 146 as a correction parameter, and stores it therein. And it returns to step S161 and the same process is repeated hereafter.

従って、補正パラメータa1乃至aNを求めることができるだけの学習情報が存在しない場合には、補正部21では、入力信号の補正は行われない。即ち、入力信号の補正量は0とされる。 Therefore, when there is no learning information that can determine the correction parameters a 1 to a N , the correction unit 21 does not correct the input signal. That is, the correction amount of the input signal is set to zero.

一方、ステップS165において、補正パラメータを求めることが可能であると判定された場合、ステップS166に進み、補正パラメータ計算部145は、学習情報を用いて、補正パラメータa0乃至aNを求め、判定制御部56に供給して、ステップS167に進む。 On the other hand, when it is determined in step S165 that the correction parameter can be obtained, the process proceeds to step S166, and the correction parameter calculation unit 145 obtains the correction parameters a 0 to a N using the learning information and makes the determination. It supplies to the control part 56 and progresses to step S167.

ステップS167において、判定制御部56は、補正パラメータ計算部145からのパラメータ制御データa1乃至aNによって定義される式(37)にしたがい、学習用データメモリ53に記憶された各生徒データから、対応する教師データの予測値を求め、その予測値の予測誤差(学習用データメモリ53に記憶されている教師データに対する誤差)の自乗和を求める。さらに、判定制御部56は、その予測誤差の自乗和を、例えば、学習用データメモリ53に記憶されている学習対の数で除算した正規化誤差を求め、ステップS168に進む。 In step S167, the determination control unit 56 determines from the student data stored in the learning data memory 53 according to the equation (37) defined by the parameter control data a 1 to a N from the correction parameter calculation unit 145. The predicted value of the corresponding teacher data is obtained, and the sum of squares of the prediction error of the predicted value (error with respect to the teacher data stored in the learning data memory 53) is obtained. Further, the determination control unit 56 obtains a normalization error obtained by dividing the square sum of the prediction errors by the number of learning pairs stored in the learning data memory 53, for example, and proceeds to step S168.

ステップS168において、判定制御部56は、正規化誤差が、所定の閾値S1より大(以上)であるかどうかを判定する。ステップS168において、正規化誤差が所定の閾値S1より大であると判定された場合、即ち、補正パラメータa1乃至aNによって定義される式(37)の一次式が、学習用データメモリ53に記憶された生徒データと教師データとの関係を、精度良く近似していない場合、ステップS169に進み、判定制御部56は、上述したように、補正パラメータとして、ディセーブルデータを、補正パラメータメモリ146に供給して記憶させる。そして、ステップS161に戻り、以下、同様の処理が繰り返される。 In step S168, the determination control unit 56 determines whether or not the normalization error is greater than (or greater than) a predetermined threshold value S1. In step S168, when it is determined that the normalization error is larger than the predetermined threshold value S1, that is, the linear expression defined by the correction parameters a 1 to a N is stored in the learning data memory 53. When the relationship between the stored student data and teacher data is not approximated with high accuracy, the process proceeds to step S169, and the determination control unit 56 uses the disable data as the correction parameter, as described above, as the correction parameter memory 146. To be stored. And it returns to step S161 and the same process is repeated hereafter.

従って、補正パラメータa1乃至aNを求めることができても、その補正パラメータa1乃至aNによって定義される式(37)が、学習用データメモリ53に記憶された生徒データと教師データとの関係を、精度良く近似していない場合には、補正パラメータa1乃至aNを求めることができるだけの学習情報が存在しない場合と同様に、入力信号x(t)の補正量は0とされる。 Therefore, even if it is possible to obtain the correction parameters a 1 through a N, expression defined by the correction parameters a 1 through a N is (37), the student data and tutor data stored in the learning data memory 53 Is not approximated with high accuracy, the correction amount of the input signal x (t) is set to 0, as in the case where there is no learning information sufficient to obtain the correction parameters a 1 to a N. The

一方、ステップS168において、正規化誤差が所定の閾値S1より大でないと判定された場合、即ち、補正パラメータa1乃至aNによって定義される式(37)の一次式が、学習用データメモリ53に記憶された生徒データと教師データとの関係を、精度良く近似している場合、ステップS170に進み、判定制御部56は、補正パラメータ計算部145からの補正パラメータa0乃至aNによって定義される式(37)の面と、学習用データメモリ53に記憶された最新の教師データおよび生徒データで規定される点との間の誤差εを求める。 On the other hand, if it is determined in step S168 that the normalization error is not greater than the predetermined threshold value S1, that is, the linear expression defined by the correction parameters a 1 to a N (37) is the learning data memory 53. If the relationship between the student data and the teacher data stored in is accurately approximated, the process proceeds to step S170, and the determination control unit 56 is defined by the correction parameters a 0 to a N from the correction parameter calculation unit 145. An error ε between the surface of the equation (37) and a point defined by the latest teacher data and student data stored in the learning data memory 53 is obtained.

そして、ステップS171に進み、判定制御部56は、誤差εの大きさが、所定の閾値S2より大(以上)であるかどうかを判定し、大でないと判定した場合、ステップS172をスキップして、ステップS173に進み、判定制御部56は、ステップS166で求められた補正パラメータa0乃至aNを、補正パラメータメモリ146に出力する。この場合、補正パラメータメモリ146は、判定制御部56からの補正パラメータa0乃至aNを上書きする形で記憶し、ステップS161に戻る。 Then, the process proceeds to step S171, where the determination control unit 56 determines whether or not the magnitude of the error ε is larger (or greater) than the predetermined threshold value S2, and if it is determined that it is not larger, skips step S172. In step S173, the determination control unit 56 outputs the correction parameters a 0 to a N obtained in step S166 to the correction parameter memory 146. In this case, the correction parameter memory 146 stores the correction parameters a 0 to a N from the determination control unit 56 in an overwritten manner, and the process returns to step S161.

一方、ステップS171において、誤差εの大きさが、所定の閾値S2より大であると判定された場合、ステップS172に進み、判定制御部56は、補正パラメータ計算部145を制御することにより、学習用データメモリ53に記憶された最近の教師データと生徒データのみを用いて、補正パラメータa0乃至aNを再計算させる。そして、ステップS173に進み、判定制御部56は、ステップS172で求められた補正パラメータa0乃至aNを、パラメータ制御部データメモリ37に出力して、上書きする形で記憶させ、ステップS161に戻る。 On the other hand, when it is determined in step S171 that the magnitude of the error ε is larger than the predetermined threshold value S2, the process proceeds to step S172, and the determination control unit 56 learns by controlling the correction parameter calculation unit 145. The correction parameters a 0 to a N are recalculated using only the latest teacher data and student data stored in the data memory 53. In step S173, the determination control unit 56 outputs the correction parameters a 0 to a N obtained in step S172 to the parameter control unit data memory 37, stores them in an overwritten form, and returns to step S161. .

即ち、図23の実施の形態においても、図8の実施の形態における場合と同様に、ステップS170において、いままでに与えられた教師データおよび生徒データから求められた補正パラメータa0乃至aNから式(37)で定義される面と、最新の教師データおよび生徒データで規定される点との間の誤差εが求められる。 That is, also in the embodiment of FIG. 23, in the same manner as in the embodiment of FIG. 8, in step S170, the correction parameters a 0 to a N obtained from the teacher data and student data given so far are used. An error ε between the surface defined by Expression (37) and the point defined by the latest teacher data and student data is obtained.

そして、この誤差εの大きさが、閾値S2より大でない場合には、ステップS166で求められた補正パラメータa0乃至aNによって定義される式(37)の面が、最新の教師データと生徒データで規定される点も含め、いままでに与えられた教師データと生徒データで規定される点のいずれも、比較的精度良く近似していると考えられるため、その補正パラメータa0乃至aNが、補正パラメータメモリ146に記憶される。 When the magnitude of the error ε is not larger than the threshold value S2, the surface of the equation (37) defined by the correction parameters a 0 to a N obtained in step S166 is the latest teacher data and the student. Since all of the points defined by the teacher data and the student data given so far, including the points defined by the data, are considered to be approximated relatively accurately, the correction parameters a 0 to a N Is stored in the correction parameter memory 146.

一方、誤差εの大きさが、閾値S2より大の場合には、ステップS166で求められた補正パラメータa0乃至aNによって定義される式(37)の面から、最新の教師データと生徒データで規定される点が比較的大きく離れていると考えられるため、判定制御部56は、ステップS172において、学習用データメモリ53に記憶された最近の教師データと生徒データのみを用いて、補正パラメータa0乃至aNを再計算させる。 On the other hand, when the magnitude of the error ε is larger than the threshold value S2, the latest teacher data and student data are obtained from the surface of the equation (37) defined by the correction parameters a 0 to a N obtained in step S166. Therefore, the determination control unit 56 uses only the latest teacher data and student data stored in the learning data memory 53 in step S172 to correct the correction parameter. Let a 0 to a N be recalculated.

従って、この場合も、ユーザの操作に応じて供給される学習用操作信号に基づいて、式(37)の補正パラメータa0乃至aNの学習が行われるので、ユーザの操作を、ユーザが知らないうちに学習することができ、さらに、その学習結果を用いて、ユーザにとって最適な処理を行うことが可能となる。 Accordingly, in this case as well, the correction parameters a 0 to a N of Expression (37) are learned based on the learning operation signal supplied in accordance with the user's operation, so that the user knows the user's operation. It is possible to learn before it is completed, and furthermore, it is possible to perform the optimum process for the user using the learning result.

さらに、この場合、演算部93(図16)が出力する走行方向に含まれる誤差が有色であるときに、所定の設定軌跡に沿って、自動車を自動走行させることが可能となる。   Furthermore, in this case, when the error included in the traveling direction output from the calculation unit 93 (FIG. 16) is colored, the vehicle can be automatically driven along a predetermined set locus.

また、図20の最適化装置94の処理部101では、ユーザによる操作部98の操作にしたがい、自動車の実際の走行方向が設定軌跡に沿ったものにあるように、補正部21で行われる補正処理(図6)で用いられる補正パラメータが変更される。即ち、自動車の走行方向が所望の方向となるように、ユーザが操作部98を操作すると、演算部43(図16)が出力する、操作部98の操作直前と直後の入力信号としての走行方向θそれぞれを、それぞれ生徒データと教師データとして、補正パラメータの学習が行われ、これにより、補正パラメータが変更される。この変更された補正パラメータは、補正部21に供給され、補正部21では、その補正パラメータを用いて補正量が計算され、その補正量によって、入力信号の補正処理(図22)が行われる。従って、ユーザが操作部98を操作した場合には、そのユーザの操作により式(37)の補正パラメータが変更されることにより、当然に、式(37)で表される処理(補正処理)の内容も変更することとなるから、図20の最適化装置94の処理部101でも、ユーザの操作にしたがい、その「処理の内容」が、ユーザにとって所望の走行方向が得られるように変更されているということができる。   Further, in the processing unit 101 of the optimization device 94 in FIG. 20, the correction performed by the correction unit 21 so that the actual traveling direction of the automobile is along the set locus according to the operation of the operation unit 98 by the user. The correction parameter used in the process (FIG. 6) is changed. That is, when the user operates the operation unit 98 so that the traveling direction of the automobile becomes a desired direction, the calculation unit 43 (FIG. 16) outputs the traveling direction as an input signal immediately before and after the operation of the operation unit 98. The correction parameters are learned by using each θ as the student data and the teacher data, and the correction parameters are thereby changed. The changed correction parameter is supplied to the correction unit 21. The correction unit 21 calculates a correction amount using the correction parameter, and the input signal correction process (FIG. 22) is performed based on the correction amount. Therefore, when the user operates the operation unit 98, the correction parameter of the equation (37) is changed by the user's operation, so that the processing (correction processing) represented by the equation (37) is naturally performed. Since the contents are also changed, in the processing unit 101 of the optimization device 94 of FIG. 20, the “processing contents” are changed so that the user can obtain a desired traveling direction according to the user's operation. It can be said that

さらに、図20の最適化装置94では、ユーザから十分な数の学習対が入力されていない場合や、精度の高い近似が可能な学習対が入力されていない場合には、補正部21における入力信号の補正量が0とされ、ユーザから精度の高い近似が可能な学習対が入力された場合には、その学習対を用いて学習が行われることにより求められた補正パラメータによって求められる補正量によって、入力信号の補正が行われる。即ち、十分な数の学習対や、精度の高い近似が可能な学習対が得られていない場合と、精度の高い近似が可能な学習対が得られた場合とで、補正部21の補正処理に用いられる重みを算出するアルゴリズムが変更される。   Furthermore, in the optimization device 94 of FIG. 20, when a sufficient number of learning pairs is not input from the user or when learning pairs that can be approximated with high accuracy are not input, input in the correction unit 21 is performed. When the correction amount of the signal is set to 0 and a learning pair that can be approximated with high accuracy is input from the user, the correction amount obtained by the correction parameter obtained by performing learning using the learning pair Thus, the input signal is corrected. That is, the correction processing of the correction unit 21 is performed when a sufficient number of learning pairs or learning pairs that can be approximated with high accuracy are not obtained, and when learning pairs that can be approximated with high accuracy are obtained. The algorithm for calculating the weight used for the is changed.

従って、図20の最適化装置94の処理部101でも、ユーザの操作にしたがい、その「処理の内容」も、さらには、その「処理の構造」も変更され、これにより、設定軌跡に沿った走行方向に、自動車が自動走行するようになっている。   Accordingly, in the processing unit 101 of the optimization device 94 of FIG. 20, the “contents of processing” and also the “structure of processing” are changed according to the user's operation. The car automatically runs in the running direction.

ここで、図23の実施の形態では(図8および図13の実施の形態おいても同様)、ステップS170において、補正パラメータ計算部145からの補正パラメータa0乃至aNによって定義される式(37)の面と、最新の教師データおよび生徒データで規定される点との間の誤差εを求め、以降の処理を行うようにしたが、ステップS170では、最近の複数の教師データと生徒データが供給される前にステップS166で求められた補正パラメータa0乃至aNによって定義される式(37)の面と、最近の複数の教師データおよび生徒データで規定される点それぞれとの間の誤差εを求め、その複数の誤差εに基づいて、以降の処理を行うようにすることも可能である。 Here, in the embodiment of FIG. 23 (the same applies to the embodiments of FIG. 8 and FIG. 13), in step S170, equations defined by the correction parameters a 0 to a N from the correction parameter calculation unit 145 ( 37) and the error ε between the points specified by the latest teacher data and student data are obtained and the subsequent processing is performed. In step S170, a plurality of recent teacher data and student data are obtained. Between the plane of the equation (37) defined by the correction parameters a 0 to a N obtained in step S166 before each of the points defined by the recent plurality of teacher data and student data is supplied It is also possible to obtain the error ε and perform the subsequent processing based on the plurality of errors ε.

なお、図16の最適化装置94の処理部101は、図17や図20に示した他、例えば、図10に示した最適化装置1の処理部11を利用して構成することも可能である。   The processing unit 101 of the optimization device 94 in FIG. 16 can be configured using the processing unit 11 of the optimization device 1 shown in FIG. 10, for example, in addition to those shown in FIG. 17 and FIG. is there.

次に、図24は、図1の最適化装置を適用した自動走行装置の他の実施の形態の構成例を示している。尚、図中、図16における場合と対応する部分については、同一の符号を付してあり、以下では、その説明は、適宜省略する。すなわち、図24の自動走行装置は、最適化装置94に内部情報生成部161が新たに設けられ、さらに、表示部171は新たに設けられている他は、図16における場合と同様に構成されている。   Next, FIG. 24 shows a configuration example of another embodiment of the automatic travel device to which the optimization device of FIG. 1 is applied. In the figure, portions corresponding to those in FIG. 16 are denoted by the same reference numerals, and description thereof will be omitted below as appropriate. That is, the automatic travel device of FIG. 24 is configured in the same manner as in FIG. 16 except that the internal information generation unit 161 is newly provided in the optimization device 94 and the display unit 171 is newly provided. ing.

内部情報生成部161は、図14の内部情報生成部171と同様に、処理部11からその内部情報を読出し、画像情報に変換して、表示部171に出力する。表示部171は、内部情報生成部161から供給される内部情報を、所定の表示形式で表示する。   Similarly to the internal information generation unit 171 in FIG. 14, the internal information generation unit 161 reads the internal information from the processing unit 11, converts it into image information, and outputs the image information to the display unit 171. The display unit 171 displays the internal information supplied from the internal information generation unit 161 in a predetermined display format.

図24の実施の形態において、処理部101は、図17や図20に示したように構成することができる。図24の処理部101が、図17に示したように構成される場合においては、補正パラメータ演算処理を除き、図17における場合と同様の処理が行われる。そこで、図25のフローチャートを参照して、図24の処理部101が、図17に示したように構成される場合の補正パラメータ演算処理について説明する。   In the embodiment of FIG. 24, the processing unit 101 can be configured as shown in FIGS. When the processing unit 101 of FIG. 24 is configured as shown in FIG. 17, the same processing as in FIG. 17 is performed except for the correction parameter calculation processing. Therefore, with reference to the flowchart of FIG. 25, a correction parameter calculation process when the processing unit 101 of FIG. 24 is configured as shown in FIG. 17 will be described.

ステップS191乃至S197では、図18のステップS111乃至S117における場合とそれぞれ同様な処理が行われる。   In steps S191 to S197, processing similar to that in steps S111 to S117 of FIG. 18 is performed.

ステップS197の処理の後は、ステップS198に進み、表示部171において、内部情報が表示される。すなわち、より詳細には、内部情報生成部161が、例えば重みメモリ31(図17)に記憶されている重みWを、内部情報として読出し、表示部171で表示可能な画像信号に変換し、表示部171に出力して表示(呈示)させる。ステップS198の処理の後は、ステップS111に戻り、以下、同様の処理が繰り返される。   After the process of step S197, the process proceeds to step S198, and internal information is displayed on the display unit 171. That is, in more detail, the internal information generation unit 161 reads, for example, the weight W stored in the weight memory 31 (FIG. 17) as internal information, converts it into an image signal that can be displayed on the display unit 171, and displays it. It outputs to the part 171 and displays (presents). After the process of step S198, the process returns to step S111, and the same process is repeated thereafter.

図25のフローチャートで説明した処理により、処理部101の処理に関する内部情報としての重みWが、表示部171で表示(提示)され、その結果、ユーザは、その表示を見ながら、最適な自動走行が行われるように、操作部98を操作することが可能となる。   With the processing described in the flowchart of FIG. 25, the weight W as the internal information related to the processing of the processing unit 101 is displayed (presented) on the display unit 171. As a result, the user can perform optimum automatic driving while viewing the display. It is possible to operate the operation unit 98 so as to be performed.

また、上述の場合においては、重みWを表示するようにしていたが、内部情報生成部161では、その他の内部情報を表示部171に表示(呈示)させるようにしても良く、例えば、パラメータ制御データメモリ37よりパラメータ制御データa,bを読み出して表示するようにしても良い。また、選択部41により選択された重みが、学習対を用いて学習が行われることにより求められたパラメータ制御データaおよびbから求められた重みであるのか、若しくは、入力信頼度と出力信頼度から求められる重みであるのかを表す内部情報を表示するようにしても良い。   In the above-described case, the weight W is displayed. However, the internal information generation unit 161 may display (present) other internal information on the display unit 171, for example, parameter control. The parameter control data a and b may be read from the data memory 37 and displayed. Whether the weight selected by the selection unit 41 is a weight obtained from the parameter control data a and b obtained by performing learning using a learning pair, or input reliability and output reliability. It is also possible to display internal information indicating whether the weight is obtained from the above.

次に、図24の処理部101が、図20に示したように構成される場合においては、補正パラメータ学習処理を除き、図20における場合と同様の処理が行われる。そこで、図26のフローチャートを参照して、図24の処理部101が、図20に示したように構成される場合の補正パラメータ学習処理について説明する。   Next, when the processing unit 101 in FIG. 24 is configured as shown in FIG. 20, the same processing as in FIG. 20 is performed except for the correction parameter learning processing. 26, correction parameter learning processing when the processing unit 101 in FIG. 24 is configured as shown in FIG. 20 will be described.

ステップS211乃至S223において、図23のステップS161乃至S172における場合とそれぞれ同様の処理が行われる。   In steps S211 to S223, the same processing as in steps S161 to S172 of FIG. 23 is performed.

ステップS219およびステップS223の処理後は、ステップS224に進み、内部情報生成部161は、例えば、補正パラメータメモリ101に記憶された補正パラメータa0乃至aNを、内部情報として読出し、表示部171で表示可能な画像信号に変換して、表示部171に表示させる。このとき、補正パラメータa0乃至aNは、複数のパラメータから構成されているので、図27で示すように、各パラメータを横軸として、各値を縦軸として、例えば、棒グラフ状にして表示するようにしても良い。また、補正パラメータa0乃至aNは、例えば、図28に示すように、任意の2つの補正パラメータaiとajをそれぞれ横軸と縦軸にとって表示するようにしても良い。尚、横軸と縦軸にする補正パラメータは、ユーザが選択可能なようにすることが可能である。 After the processing of step S219 and step S223, the process proceeds to step S224, and the internal information generation unit 161 reads, for example, the correction parameters a 0 to a N stored in the correction parameter memory 101 as internal information, and the display unit 171 The image signal is converted into a displayable image signal and displayed on the display unit 171. At this time, since the correction parameters a 0 to a N are composed of a plurality of parameters, as shown in FIG. 27, each parameter is displayed on the horizontal axis, and each value is displayed on the vertical axis. You may make it do. As the correction parameters a 0 to a N , for example, as shown in FIG. 28, any two correction parameters a i and a j may be displayed with the horizontal axis and the vertical axis, respectively. The correction parameters on the horizontal axis and the vertical axis can be selected by the user.

この後、ステップS211に戻り、以下、同様の処理が繰り返される。   Thereafter, the process returns to step S211, and the same processing is repeated thereafter.

以上のように、図26のフローチャートを参照して説明した補正パラメータ処理により、補正パラメータa0乃至aNが表示されることにより、図24の最適化装置94の処理部101では、補正パラメータa0乃至aNが内部情報として表示され、その結果、ユーザは、その表示を見ながら、最適な自動走行が行われるように、操作部98を操作することが可能となる。 As described above, the correction parameters a 0 to a N are displayed by the correction parameter processing described with reference to the flowchart of FIG. 26, so that the processing unit 101 of the optimization device 94 of FIG. 0 to a N are displayed as the internal information, and as a result, the user can operate the operation unit 98 while performing optimal automatic running while viewing the display.

尚、内部情報生成部161では、補正パラメータa0乃至aN以外の内部情報を表示するようにしても良い。 Note that the internal information generation unit 161 may display internal information other than the correction parameters a 0 to a N.

また、図26の実施の形態において、ステップS219の処理の後に、ステップS224に進んだ場合には、内部情報としての補正パラメータa0乃至aNは、0であるとして、その表示が行われる。 In the embodiment of FIG. 26, when the process proceeds to step S224 after the process of step S219, the correction parameters a 0 to a N as the internal information are assumed to be 0 and displayed.

次に、図29を参照して、図1の最適化装置のその他の実施の形態としての最適化装置201について説明する。最適化装置201は、処理部211から構成されており、入力信号としての、例えば、画像信号などからノイズを除去し、表示される画像信号の最適化を図るものである。尚、この例においては、画像信号を主な入力信号の例として説明するが、画像信号に限らずその他の信号であっても良い。   Next, an optimization apparatus 201 as another embodiment of the optimization apparatus of FIG. 1 will be described with reference to FIG. The optimization device 201 includes a processing unit 211, and removes noise from, for example, an image signal as an input signal to optimize the displayed image signal. In this example, an image signal is described as an example of a main input signal, but the present invention is not limited to an image signal and may be other signals.

処理部211は、学習部221とマッピング処理部222から構成されている。処理部211の学習部221には、操作部202からの操作信号が供給され、学習部221は、その操作信号に基づいて、マッピング処理部222の処理で必要となる係数セットを学習し、係数メモリ235に記憶させる。学習部211の学習の規範(学習規範)としては、例えば、最小N乗誤差法(最小N乗法)を用いることができる。尚、最小N乗誤差法による解法については後述する。   The processing unit 211 includes a learning unit 221 and a mapping processing unit 222. An operation signal from the operation unit 202 is supplied to the learning unit 221 of the processing unit 211. The learning unit 221 learns a coefficient set necessary for the processing of the mapping processing unit 222 based on the operation signal, and the coefficient Store in the memory 235. As a learning rule (learning rule) of the learning unit 211, for example, a least-Nth power error method (least Nth power method) can be used. A solution by the least-Nth power error method will be described later.

マッピング処理部222は、入力信号を所定の出力信号にマッピング(変換)するマッピング処理を行う。すなわち、マッピング処理部222は、出力信号としての画像信号のうち、今から得ようとする画素を注目画素として、その注目画素に対応するタップ(処理に必要な少なくとも1以上の画素であり、サンプルとも称する)を、入力信号としての画像信号から抽出し、係数メモリ235に記憶された係数セットとの積和演算処理を実行することにより、注目画素を求める。マッピング処理部222は、出力信号としての画像信号を構成する画素について同様の処理(マッピング)を行い、これにより出力信号としての画像信号を生成して表示部203に出力し、表示させる。   The mapping processing unit 222 performs mapping processing for mapping (converting) an input signal to a predetermined output signal. That is, the mapping processing unit 222 sets a pixel to be obtained from an image signal as an output signal as a target pixel, and a tap corresponding to the target pixel (at least one or more pixels necessary for processing, and a sample Is also extracted from an image signal as an input signal, and a product-sum operation process with a coefficient set stored in the coefficient memory 235 is performed to obtain a pixel of interest. The mapping processing unit 222 performs similar processing (mapping) on the pixels constituting the image signal as the output signal, thereby generating the image signal as the output signal, outputting it to the display unit 203, and displaying it.

操作部202は、ユーザによって操作され、その操作に対応する操作信号を、学習部221に供給する。表示部203は、マッピング処理部202が出力する出力信号としての画素信号を表示する。   The operation unit 202 is operated by a user and supplies an operation signal corresponding to the operation to the learning unit 221. The display unit 203 displays a pixel signal as an output signal output from the mapping processing unit 202.

次に、図30を参照して、図29の学習部221の詳細な構成について説明する。教師データ生成部231は、入力信号より、学習の教師となる教師データを生成し、最小N乗誤差法係数演算部234に出力する。生徒データ生成部232は、入力信号から学習の生徒となる生徒データを生成し予測タップ抽出部233に出力する。この教師データと生徒データは、例えば、入力信号に対して教師データ231が何の処理も施さないことにより、また、生徒データ生成部232が、所定の間引き処理、または、LPF(Low Pass Filter)などにより入力データを劣化させるなどして生成されるものであり、生徒データが教師データに対して劣化したものとして生成されれば上述の構成に限るものではない。従って、上記の他にも、例えば、教師データ生成部231が、入力信号に対して所定の間引きやLPFによる処理を施す時には、生徒データ生成部232は、教師データ生成部231で施される以上に大きな程度の間引きやLPFによる処理が施されればよい。また、例えば、教師データとしては、入力信号とそのまま用い、生徒データとしては、入力信号にノイズを重畳したものを用いることも可能である。   Next, a detailed configuration of the learning unit 221 in FIG. 29 will be described with reference to FIG. The teacher data generation unit 231 generates teacher data serving as a learning teacher from the input signal, and outputs the teacher data to the least-N power error coefficient calculation unit 234. The student data generation unit 232 generates student data to be learning students from the input signal and outputs the student data to the prediction tap extraction unit 233. For example, the teacher data 231 is not subjected to any processing on the input signal by the teacher data 231, and the student data generation unit 232 performs a predetermined thinning process or LPF (Low Pass Filter). However, the present invention is not limited to the above-described configuration as long as the student data is generated as degraded with respect to the teacher data. Therefore, in addition to the above, for example, when the teacher data generation unit 231 performs predetermined thinning or LPF processing on the input signal, the student data generation unit 232 is performed by the teacher data generation unit 231. In other words, thinning or LPF processing may be performed. In addition, for example, the teacher data can be used as it is with the input signal, and the student data can be obtained by superimposing noise on the input signal.

予測タップ抽出部233は、教師データとしての画像信号を構成する画素を、順次、注目画素として、その注目画素と所定の位置関係にある少なくとも1個以上の画素(タップ)を、生徒データとしての画像信号から予測タップとして抽出し、最小N乗誤差法係数演算部234に出力する。   The prediction tap extraction unit 233 sequentially uses the pixels constituting the image signal as the teacher data as the target pixel, and at least one pixel (tap) having a predetermined positional relationship with the target pixel as the student data. A prediction tap is extracted from the image signal and is output to the least-N power error method coefficient calculation unit 234.

最小N乗誤差法係数演算部234は、操作部202より入力される最小N乗法誤差法係数演算処理に必要な、指数Nの値を指定する情報を表す操作信号に基づいて、予測タップと教師データから最小N乗誤差法により係数セットを演算して、係数メモリ235に出力し、記憶させる(適宜上書き記憶させる)。   The least-N power error coefficient calculation unit 234 receives a prediction tap and a teacher based on an operation signal that is input from the operation unit 202 and represents information specifying the value of the exponent N, which is necessary for the minimum N power error coefficient calculation processing. A coefficient set is calculated from the data by the least-Nth power error method, and is output to the coefficient memory 235 and stored (overwritten and stored as appropriate).

係数メモリ235は、最小N乗誤差法係数演算部234より供給される係数セットを記憶し、マッピング処理部222に適宜出力する。   The coefficient memory 235 stores the coefficient set supplied from the least-N power error method coefficient calculation unit 234 and outputs the coefficient set to the mapping processing unit 222 as appropriate.

次に、図31を参照して、図29のマッピング処理部222の構成について説明する。マッピング処理部222のタップ抽出部251は、出力信号としての画像信号を構成する画素を、順次注目画素として、その注目画素に対して、所定の位置関係にある画素(の画素値)を予測タップとして、入力信号としての画像信号から抽出することにより、図30の予測タップ抽出部233が構成するのと同一のタップ構造の予測タップを構成し、積和演算部252に出力する。積和演算部252は、タップ抽出部251より入力されてくる、抽出された予測タップ(画素)の値と、学習部221の係数メモリ235に記憶されている係数セットとの積和演算を行うことにより、注目画素を生成し、表示部203(図29)に出力する。   Next, the configuration of the mapping processing unit 222 in FIG. 29 will be described with reference to FIG. The tap extraction unit 251 of the mapping processing unit 222 uses the pixels constituting the image signal as the output signal as the target pixel in order, and predicts the pixel (the pixel value) in a predetermined positional relationship with the target pixel. As a result, by extracting from the image signal as the input signal, a prediction tap having the same tap structure as that formed by the prediction tap extraction unit 233 of FIG. 30 is configured and output to the product-sum operation unit 252. The product-sum operation unit 252 performs a product-sum operation on the extracted prediction tap (pixel) value input from the tap extraction unit 251 and the coefficient set stored in the coefficient memory 235 of the learning unit 221. As a result, the pixel of interest is generated and output to the display unit 203 (FIG. 29).

ここで、図30の最小N乗誤差法係数演算部234の最小N乗誤差法による係数演算について説明する。最小N乗誤差法における指数N=2の場合が、一般に、最小自乗誤差法(最小2乗誤差法)と呼ばれるものである。すなわち、注目画素としての教師データをyと、予測タップを構成するM個の生徒データをxi(i=1,2,…,M)と、所定のM個の係数をwiと、それぞれ表し、教師データyの予測値y'を、予測タップxiと所定の係数wiとの線形1次結合(積和演算)w11+w22+…+wMMであることとする場合においては、図32で示すように、黒丸で示す教師データyと、図中の白丸で示す予測値y'との誤差(図中矢印で示される教師データとしての真値yとその予測誤差y'との差分の絶対値)の2乗の和を最小にする係数セットw1,w2,…,wMが求められる。 Here, the coefficient calculation by the minimum N-th power error method of the minimum N-th power error method coefficient calculation unit 234 in FIG. 30 will be described. The case of the index N = 2 in the least-N error method is generally called the least square error method (least square error method). That is, the teacher data as the pixel of interest is y, the M student data constituting the prediction tap is x i (i = 1, 2,..., M), and the predetermined M coefficients are w i . represents the predicted value y 'of the teacher data y, it is the prediction tap x i and linear combination of the predetermined coefficient w i (multiply-accumulate) w 1 x 1 + w 2 x 2 + ... + w M x M 32, as shown in FIG. 32, the error between the teacher data y indicated by the black circle and the predicted value y ′ indicated by the white circle in the figure (the true value y as the teacher data indicated by the arrow in the figure and its A coefficient set w 1 , w 2 ,..., W M that minimizes the sum of the squares of the differences from the prediction error y ′ is obtained.

最小N乗誤差法における指数Nの値を変化させる場合、例えば、指数Nが大きくなるとき、誤差が大きい予測値y'の誤差は、N乗誤差の和に対する影響が大きくなるため、最小N乗誤差法によれば、結果として、そのような大きな誤差の予測値y'が救済される方向の係数(大きな誤差の予測値y'の誤差を小さくする係数)が求められる。但し、誤差が小さい予測値y'の誤差は、N乗誤差の和に対しての影響も小さいため、あまり考慮されず、結果として無視されやすくなる。逆に、指数Nが小さくなるとき、誤差が大きい予測値y'の誤差は、N乗誤差の和に対する影響力が指数Nが大きいときと比べて小さくなり、誤差が小さい予測値y'の誤差は、N乗誤差の和に対する影響がより小さくなることになる。その結果、最小N乗誤差法によれば、指数Nが大きい場合に比較して誤差が小さい予測値の誤差をより小さくする方向の係数が求められる。   When the value of the exponent N in the least-Nth power error method is changed, for example, when the exponent N increases, the error of the predicted value y ′ having a large error has a greater influence on the sum of the Nth power errors, so According to the error method, as a result, a coefficient in a direction in which such a large error prediction value y ′ is relieved (a coefficient for reducing the error of the large error prediction value y ′) is obtained. However, since the error of the predicted value y ′ having a small error has little influence on the sum of the N-th power error, it is not considered so much and is easily ignored as a result. On the contrary, when the index N is small, the error of the predicted value y ′ having a large error is smaller than that when the exponent N is large, and the error of the predicted value y ′ having a small error is smaller. Will have a smaller effect on the sum of N-th power errors. As a result, according to the least-Nth power error method, a coefficient in a direction to make the error of the predicted value with a small error smaller than when the index N is large is obtained.

尚、上述のような予測値y'の誤差の、N乗誤差の和に対する影響の変化は、予測値y'の誤差をN乗することによりものであり、以下、適宜、N乗誤差の性質という。   Note that the change in the influence of the error of the predicted value y ′ as described above on the sum of the Nth power error is obtained by raising the error of the predicted value y ′ to the Nth power. That's it.

上述のように、指数Nにより、最小N乗誤差法で求められる係数セットの定性的な傾向が見られるので、指数Nを変化させて、最小N乗誤差法により係数セットを求めるようにすることで、ユーザに好みのマッピング処理を実行するための係数セットを求めることができる(入力信号に対してマッピングされる出力信号をユーザ好みのものとする係数セットを求めることができる)。しかしながら、実際には、最小2乗誤差法以外の方法、すなわち、指数N=2以外の方法では、予測値y'のN乗誤差の和を最小にする係数セットの演算が極めて困難である。   As described above, since the qualitative tendency of the coefficient set obtained by the least-Nth power error method is seen by the index N, the coefficient N is obtained by changing the index N and by the least-Nth power error method. Thus, a coefficient set for executing a user's favorite mapping process can be obtained (a coefficient set having an output signal mapped to an input signal as a user's preference can be obtained). However, in practice, a method other than the least square error method, that is, a method other than the exponent N = 2, makes it extremely difficult to calculate a coefficient set that minimizes the sum of the N power errors of the predicted value y ′.

ここで、最小2乗誤差法以外の方法では、予測値y'のN乗誤差の和を最小にする係数セットの演算が困難となる理由について説明する。   Here, the reason why it is difficult to calculate a coefficient set that minimizes the sum of the N-th power errors of the predicted value y ′ by a method other than the least square error method.

予測値y'の誤差のN乗の総和(N乗誤差の和)は、式(38)で表すことができる。   The total sum of the errors of the predicted value y ′ to the Nth power (sum of the Nth power errors) can be expressed by Expression (38).

Figure 0004591785
・・・(38)
Figure 0004591785
... (38)

ここで、Eは、教師データとしての真値yと予測値y'との誤差eのN乗のサンプル数分の総和を示す。   Here, E indicates the sum total of the number of samples of the error e between the true value y and the predicted value y ′ as the teacher data.

一方、本実施の形態では、上述したように、真値yの予測値y'は、予測タップxiと、所定の係数wiとの線形1次結合、すなわち、以下の式(39)により定義される。 Meanwhile definitions, in the present embodiment, as described above, the predicted value y 'is the true value y, and the prediction tap x i, linear combination of a predetermined coefficient wi, i.e., by the following equation (39) Is done.

Figure 0004591785
・・・(39)
Figure 0004591785
... (39)

ここで、係数w1,w2,w3…,wMを、以下、適宜、予測係数という。この予測係数のセットが図30の係数メモリ235に記憶される係数セットである。また、予測タップx1,x2,x3…,xMとしては、教師データとしての画像の画素(真値)yに対応する生徒データとしての画像の位置から、空間的、または、時間的に近い位置にある画素を採用することができる。 Here, the coefficients w 1 , w 2 , w 3 ..., W M are hereinafter referred to as prediction coefficients as appropriate. This set of prediction coefficients is a coefficient set stored in the coefficient memory 235 of FIG. The prediction taps x 1 , x 2 , x 3 ..., X M are spatially or temporally determined from the position of the image as the student data corresponding to the pixel (true value) y of the image as the teacher data. It is possible to employ a pixel located at a position close to.

この場合、式(38)の誤差eは、以下に示す式(40)で表すことができる。   In this case, the error e in the equation (38) can be expressed by the following equation (40).

Figure 0004591785
・・・(40)
Figure 0004591785
... (40)

最小N乗誤差法では、式(40)から導かれる以下の式(41),式(42)で示すN乗誤差の総和Eを最小にする予測係数w1,w2,w3…,wMを求める必要がある。尚、式(41)は、指数Nが奇数のときの総和Eを示す式であり、式(42)は、指数Nが偶数のときの総和Eを示す式である。 In the least-Nth power error method, prediction coefficients w 1 , w 2 , w 3 ..., W that minimize the total E of N-th power errors expressed by the following formulas (41) and (42) derived from the formula (40). It is necessary to find M. Expression (41) is an expression indicating the sum E when the index N is an odd number, and Expression (42) is an expression indicating the sum E when the index N is an even number.

Figure 0004591785
4 ・・・(41)
Figure 0004591785
4 (41)

Figure 0004591785
・・・(42)
Figure 0004591785
... (42)

ここで、式(41)の場合、すなわち、指数Nが奇数の場合、総和Eは、真値yとその予測値y'との差分y−y'の大きさの和が同一の値であれば、差分y−y'の符号に関わらず、同一の値となり、結果として総和Eを最小にする予測係数w1,w2,w3…,wMを求めることができない。すなわち、総和Eは、絶対値を含む関数であり、例えば、図33に示すような関数となる。このため、全探索以外では、総和Eの最小値を与える予測係数w1,w2,w3…,wMを求めることができない。尚、図33は、指数N=1のときの、ある予測係数wiと、総和Eの変化を示している。 Here, in the case of the formula (41), that is, when the index N is an odd number, the sum E should have the same sum of the magnitudes of the differences y−y ′ between the true value y and the predicted value y ′. For example, the prediction coefficients w 1 , w 2 , w 3 ..., W M that have the same value and minimize the sum E cannot be obtained regardless of the sign of the difference y−y ′. That is, the sum E is a function including an absolute value, for example, a function as shown in FIG. For this reason, prediction coefficients w 1 , w 2 , w 3 ..., W M that give the minimum value of the sum E cannot be obtained except for the full search. FIG. 33 shows a change in a certain prediction coefficient w i and the sum E when the index N = 1.

一方、式(42)の場合、すなわち、指数Nが偶数の場合、総和Eは、必ずE≧0を満たすので、以下の式(43)で示すように、式(42)の総和Eを各予測係数wiで偏微分した式を0とおくことにより、極小値を求めることができる。 On the other hand, in the case of the equation (42), that is, when the index N is an even number, the sum E always satisfies E ≧ 0, so that the sum E in the equation (42) is expressed by the following equation (43). By setting the equation obtained by partial differentiation with the prediction coefficient w i to 0, the minimum value can be obtained.

Figure 0004591785
・・・(43)
Figure 0004591785
... (43)

従って、式(43)より、以下の式(44)で示す方程式を解くことで解、すなわち、N乗誤差の総和Eを最小にする予測係数w1,w2,w3…,wMが求められることになる。 Therefore, from equation (43), the prediction coefficient w 1 , w 2 , w 3 ... W M that minimizes the sum E of N-th power errors is obtained by solving the equation shown in the following equation (44). It will be required.

Figure 0004591785
・・・(44)
Figure 0004591785
... (44)

この式(44)について、例えば、指数NがN=2の場合、すなわち、いわゆる最小2乗誤差法により解を求める場合、式(44)の指数Nに2を代入して、以下の式(45)を解けばよいことになる。   For this formula (44), for example, when the index N is N = 2, that is, when a solution is obtained by a so-called least square error method, 2 is substituted into the index N of formula (44), and the following formula ( It is sufficient to solve 45).

Figure 0004591785
・・・(45)
Figure 0004591785
... (45)

式(45)の方程式は、以下の式(46)で示すように、行列式の形で表現することができ、正規方程式と呼ばれる。また、指数N=2のときは、総和Eの極小値が一意に決まり、その最小値は、総和Eの最小値となる。式(45)の正規方程式により、予測係数w1,w2,w3…,wMの数と同数(今の場合M個)の連立一次方程式が構成されれば、この連立一次方程式は、例えば、コレスキー法などにより解くことができ、予測係数w1,w2,w3…,wMを求めることができる。 The equation (45) can be expressed in the form of a determinant as shown in the following equation (46) and is called a normal equation. When the index N = 2, the minimum value of the sum E is uniquely determined, and the minimum value is the minimum value of the sum E. If the simultaneous equations of the same number (M in this case) as the number of prediction coefficients w 1 , w 2 , w 3 ..., W M are formed by the normal equation of Equation (45), the simultaneous linear equations are For example, it can be solved by the Cholesky method or the like, and the prediction coefficients w 1 , w 2 , w 3 ..., W M can be obtained.

Figure 0004591785
・・・(46)
Figure 0004591785
... (46)

尚、式(46)の正規方程式を解くには、式(46)における左辺の予測タップ同士の積xijの総和(Σxij)をコンポーネントとする行列が、正則であることが必要である。 In order to solve the normal equation of Expression (46), a matrix whose component is the sum (Σx i x j ) of the products x i x j of the prediction taps on the left side in Expression (46) is regular. is necessary.

指数Nが偶数で、かつ、4以上である場合、式(42)は、以下の式(47)のように表すことができる。   When the index N is an even number and 4 or more, the equation (42) can be expressed as the following equation (47).

Figure 0004591785
・・・(47)
Figure 0004591785
... (47)

式(47)で示される方程式は、高次の連立方程式となるため、指数NがN=2である場合のように連立一次方程式を解くようにして、予測係数w1,w2,w3…,wMを求めることができない。 Since the equation represented by the equation (47) is a high-order simultaneous equation, the prediction coefficients w 1 , w 2 , w 3 are solved by solving the simultaneous linear equations as in the case where the index N is N = 2. ..., w M cannot be determined.

以上のように、指数NがN=2以外のとき、式(38)で示すN乗誤差の和を最小にする予測係数w1,w2,w3…,wMは、一般には、容易に求めることができない。 As described above, when the index N is other than N = 2, the prediction coefficients w 1 , w 2 , w 3 ..., W M that minimize the sum of the N-th power errors shown in Expression (38) are generally easy. Can not ask for.

そこで、学習部221の最小N乗誤差法係数演算部234は、以下に示す2つの最小N乗誤差法により予測係数を演算する。尚、2つの最小N乗誤差法のうちのいずれを採用するかは、例えば、ユーザが操作部202(図29)を操作することにより指定可能である。   Therefore, the minimum N-th power error method coefficient calculation unit 234 of the learning unit 221 calculates the prediction coefficient by the following two minimum N power error methods. It should be noted that which of the two least N error methods is to be used can be specified by, for example, the user operating the operation unit 202 (FIG. 29).

まず、第1の方法(以下、直接法とも称する)について説明する。以下の式(48)で示すように、誤差e2の項に重みαSを乗じたものの総和Eを、N乗誤差法の和として式(38)に替えて定義する。 First, the first method (hereinafter also referred to as direct method) will be described. As shown in the following equation (48), the sum E obtained by multiplying the term of the error e 2 by the weight α S is defined as the sum of the N-th power error method instead of the equation (38).

Figure 0004591785
・・・(48)
Figure 0004591785
... (48)

すなわち、N乗誤差eNを、重みαSと、2乗誤差e2との積によって定義する。 That is, the N-th power error e N is defined by the product of the weight α S and the square error e 2 .

この場合、式(48)の重みαSを、例えば、以下の式(49)で示すように、指数NがN=2のときに求められる予測係数w1,w2,w3…,wMから、式(39)の線形1次式によって得られる予測値y'の関数とすることにより、式(48)のN乗誤差の総和Eを最小にする予測係数w1乃至wMを求めることができる。 In this case, for example, as shown in the following equation (49), the weight α S of the equation (48) is the prediction coefficients w 1 , w 2 , w 3 ..., W obtained when the index N is N = 2. Prediction coefficients w 1 to w M that minimize the total E of N-th power errors in Expression (48) are obtained from M by using a function of the prediction value y ′ obtained by the linear linear expression of Expression (39). be able to.

Figure 0004591785
・・・(49)
Figure 0004591785
... (49)

重みαSとしては、様々な関数が考えられるが、式(48)で定義されるN乗誤差eN=αS2が、上述のN乗誤差の性質を満たすようなものとなる関数を採用する必要があり、例えば、以下の式(50)で示す関数を採用することができる。 Various functions are conceivable as the weight α S , and a function that makes the N-th power error e N = α S e 2 defined by the equation (48) satisfy the above-mentioned N-th power error property. For example, a function represented by the following equation (50) can be adopted.

Figure 0004591785
・・・(50)
Figure 0004591785
... (50)

ここで、xSは、最小2乗誤差法により求められる予測係数w1乃至wMから、式(39)によって演算される予測値y'の誤差(以下、適宜、最小2乗規範による誤差という)を、0乃至1.0の範囲に正規化した値を表し、この予測値y'の誤差xSの関数として、定義される式(50)の重みαSは、図34に示すようになる。 Here, x S is an error of the predicted value y ′ calculated by the equation (39) from the prediction coefficients w 1 to w M obtained by the least square error method (hereinafter referred to as an error according to the least square criterion as appropriate). ) Represents a value normalized in the range of 0 to 1.0, and the weight α S of Equation (50) defined as a function of the error x S of the predicted value y ′ is as shown in FIG. Become.

係数aは、最小2乗規範による誤差xSが、N乗誤差eNに与える影響を制御する項であり、係数aがa=0のとき、重みαSは、図34において、その傾きが0の水平方向の直線となる。この場合、最小2乗規範による誤差xSがN乗誤差eNに与える影響は、最小2乗規範による誤差xSの大小に関わらず一定となり、式(48)の総和Eを最小にする予測係数wiは、理論的には、最小2乗誤差法により求められるものと同一となる。従って、a=0とすることにより、実質的に最小2乗誤差法が実現される。また、係数a>0のときは、 The coefficient a is a term that controls the influence of the error x S according to the least square criterion on the N-th power error e N. When the coefficient a is a = 0, the weight α S has a slope in FIG. It is a horizontal straight line of zero. In this case, the influence of the error x S according to the least square criterion on the N power error e N is constant regardless of the magnitude of the error x S according to the least square criterion, and the prediction that minimizes the sum E of Expression (48). The coefficient w i is theoretically the same as that obtained by the least square error method. Therefore, by setting a = 0, the least square error method is substantially realized. When the coefficient a> 0,

最小2乗規範により誤差xSが、式(48)のN乗誤差eNに与える影響は、誤差xSが大きいほど大きくなり、誤差xSが小さいほど小さくなる。一方、a<0のときは、最小2乗規範による誤差xSが、式(48)のN乗誤差eNに与える影響は、誤差xSが大きいほど小さくなり、誤差xSが小さいほど大きくなる。 Error x S is the least-squares criterion, impact on the N-th power error e N of the formula (48) becomes larger as the error x S is large, the smaller the error x S is small. On the other hand, when the a <0, error x S by least squares criterion is, influence on the N-th power error e N of the formula (48) becomes smaller as the error x S is large, larger as the error x S is small Become.

すなわち、式(48)のN乗誤差eNは、係数aを正とした場合には、指数Nを大としたときと同様の性質を有し、係数aを負とした場合には、指数Nを小としたときと同様の性質を有する。従って、式(48)のN乗誤差eNは、式(38)のN乗誤差eNと同様の性質を有するから、式(48)のN乗誤差の総和Eを最小にする予測係数は、実質的に式(38)のN乗誤差の総和Eを最小にする予測係数となる。 That is, the N-th power error e N in the equation (48) has the same properties as when the index N is increased when the coefficient a is positive, and when the coefficient a is negative, the index a It has the same properties as when N is small. Thus, the N-th power error e N of the formula (48), since having properties similar to N-th power error e N of the formula (38), prediction coefficients for the sum E of the N-th power error of formula (48) to a minimum This is a prediction coefficient that substantially minimizes the sum E of N-th power errors in Equation (38).

尚、係数aが0の場合は、上述したように、最小2乗誤差法が実現される。すなわち、指数Nが2の場合となるが、係数aが正の場合は、指数NがN>2の場合となり、係数aが負の場合は、指数NがN<2の場合となる。この係数aは、後述する係数cと同様に最小N乗誤差法の指数Nに大きく影響する。   When the coefficient a is 0, the least square error method is realized as described above. That is, the index N is 2, but when the coefficient a is positive, the index N is N> 2, and when the coefficient a is negative, the index N is N <2. This coefficient a greatly affects the exponent N of the least-N power error method, similarly to the coefficient c described later.

係数bは、補正項であり、係数bの値によって、図34の関数値(重みαS)が、全体として上下方向に変化する。尚、係数bは、最小N乗誤差法の指数Nにそれ程大きな影響を与えない。 The coefficient b is a correction term, and the function value (weight α S ) in FIG. 34 changes in the vertical direction as a whole depending on the value of the coefficient b. The coefficient b does not affect the index N of the least-N power error method so much.

係数cは、軸のスケーリングを変換させる項、すなわち、最小2乗規範による誤差xSに対する重みαSの割り当て方を変更する項であり、係数cの値が大きくなればなる程、重みαSの変化は、急峻なものとなり、逆に、係数cの値が小さくなればなる程、重みαSの変化は、緩やかなものとなる。従って、係数cが変化することにより、最小2乗規範により誤差xSが式(48)のN乗誤差eNに与える影響は、係数aが変化する場合と同様であるから、係数cによっても、式(48)のN乗誤差eNには、式(38)のN乗誤差eNと同様の性質を与えることができる。すなわち、係数cによって、最小N乗誤差法の指数Nに影響を与えることができる。 The coefficient c is a term that changes the scaling of the axis, that is, a term that changes the way of assigning the weight α S to the error x S according to the least square criterion. The larger the value of the coefficient c, the more the weight α S is. In contrast, the change in the weight α S becomes more gradual as the coefficient c becomes smaller. Therefore, the influence of the error x S on the N-th power error e N of the equation (48) by the least square criterion due to the change of the coefficient c is the same as the case where the coefficient a changes. The N-th power error e N in equation (48) can be given the same property as the N-th power error e N in equation (38). That is, the coefficient c can affect the exponent N of the least-N power error method.

尚、図34中の直線は、c=1、a>0の場合(bは任意)を示しており、図34中の曲線は、c≠1,a>0の場合(bは任意)を示している。   The straight line in FIG. 34 shows the case of c = 1 and a> 0 (b is arbitrary), and the curve in FIG. 34 is the case of c ≠ 1, a> 0 (b is arbitrary). Show.

式(50)の重みαSを規定する係数a,b,cは、ユーザが操作部202を操作(設定)することで、変化させることができ、係数a,b,cが変化することで、式(50)の重みαSが変化する。重みαSの変化により、式(48)のαS2は、所定の指数NについてのN乗誤差eNとして、実質的(等価的)に機能することとなり、その結果、式(50)のN乗誤差の和Eを最小にする予測係数、すなわち、最小N乗誤差法による規範の予測係数wiを求めることができる。 The coefficients a, b, and c that define the weight α S in the equation (50) can be changed by the user operating (setting) the operation unit 202, and the coefficients a, b, and c are changed. , The weight α S in equation (50) changes. Due to the change in the weight α S , α S e 2 in the equation (48) functions substantially (equivalent) as the N-th power error e N for the predetermined index N, and as a result, the equation (50) The prediction coefficient that minimizes the sum E of the N-th power errors, that is, the normative prediction coefficient w i by the least-N power error method can be obtained.

また、以上の第1の方法では、重みαSを決定する係数a,b,cを様々に変化させることにより、実質的に指数Nを変化させて最小N乗誤差法により予測係数を求めるようにしたので、指数Nは、整数に限らず、例えば、指数N=2.2といった指数Nが小数などのその他の実数の場合の予測係数を求めることが可能である。 In the first method described above, the coefficient a, b, and c for determining the weight α S are changed variously to substantially change the index N and obtain the prediction coefficient by the least-Nth power error method. Therefore, the index N is not limited to an integer, and for example, it is possible to obtain a prediction coefficient when the index N such as the index N = 2.2 is another real number such as a decimal.

次に、最小N乗誤差法により予測係数を演算する第2の方法(以下、再帰法=リカーシブ法とも称する)について説明する。第1の方法においては、式(48)に示したように、2乗誤差e2に対して重みαSを乗算したものをN乗誤差として採用したが、第2の方法では、低次の最小N乗誤差法で求められた解を使用して、再帰的な手法でより高次の最小N乗誤差法による解が求められる。 Next, a second method (hereinafter also referred to as recursive method = recursive method) for calculating a prediction coefficient by the least-N power error method will be described. In the first method, as shown in the equation (48), the square error e 2 multiplied by the weight α S is used as the N-th power error, but in the second method, the low-order error is reduced. Using a solution obtained by the least-Nth power error method, a solution by a higher-order least-Nth power error method is obtained by a recursive method.

すなわち、以下に示す式(51)の2乗誤差の和Eを最小にする予測係数wiは、上述のように最小2乗誤差法により求めることができるが、この最小2乗誤差法によって得られる予測係数wiを用いて式(39)により演算される予測値y'をy1(以下、適宜、最小2乗規範による予測値という)と表す。 That is, the prediction coefficient w i that minimizes the sum E of square errors in the following equation (51) can be obtained by the least square error method as described above, but can be obtained by this least square error method. The predicted value y ′ calculated by the equation (39) using the calculated prediction coefficient w i is expressed as y 1 (hereinafter, appropriately referred to as a predicted value according to the least square criterion).

Figure 0004591785
・・・(51)
Figure 0004591785
... (51)

次に、例えば、以下に示す式(52)で表される3乗誤差の和Eについて考える。   Next, for example, consider the sum E of the cube error expressed by the following equation (52).

Figure 0004591785
・・・(52)
Figure 0004591785
... (52)

式(52)の3乗誤差の和Eを最小にする予測係数wiを求めることは、最小3乗誤差法により解を得ることになるが、このとき式(52)で示すように、3乗誤差|e3|を、2乗誤差e2、および、最小2乗規範による予測値y1と真値yとの誤差|y−y1|の積で表す。式(52)の|y−y1|は、定数として求めておくことができるから、式(52)の3乗誤差の和Eを最小にする予測係数wiは、実際には最小2乗誤差法により得ることが可能となる。 Obtaining the prediction coefficient w i that minimizes the sum E of the cubed errors of the equation (52) obtains a solution by the least-squares error method. At this time, as shown by the equation (52), 3 The square error | e 3 | is represented by the product of the square error e 2 and the error | y−y 1 | between the predicted value y 1 and the true value y according to the least square criterion. Since | y−y 1 | in equation (52) can be obtained as a constant, the prediction coefficient w i that minimizes the sum E of the cube error in equation (52) is actually the least square. It can be obtained by the error method.

同様にして、式(53)で表される4乗誤差の和Eについて考える。   Similarly, consider the sum E of the fourth power error expressed by Equation (53).

Figure 0004591785
・・・(53)
Figure 0004591785
... (53)

式(53)の4乗誤差の和Eを最小にする予測係数wiを求めることは、最小4乗誤差法により解を得ることになるが、今、式(52)の3乗誤差の和Eを最小にする予測係数wiを用いて式(39)により演算される予測値y'を、y2(以下、適宜、最小3乗規範による予測値という)を表すと、4乗誤差e4は、式(53)に示すように、2乗誤差e2、および、最小3乗規範による予測値y2と真値yとの誤差の2乗(以下、適宜、最小3乗規範による2乗誤差という)|y−y22の積で表すことができる。式(53)の最小3乗規範による2乗誤差|y−y22は、定数として求めておくことができるから、式(53)の4乗誤差の和Eを最小にする予測係数wiは、実際には最小2乗誤差法により得ることが可能となる。 Obtaining the prediction coefficient w i that minimizes the sum E of the fourth power error of the equation (53) obtains a solution by the least fourth error method, but now the sum of the third error of the equation ( 52 ). When the prediction value y ′ calculated by the equation (39) using the prediction coefficient w i that minimizes E is expressed as y 2 (hereinafter, referred to as a prediction value according to the least-cubic criterion as appropriate), the fourth power error e 4 represents the square error e 2 and the square of the error between the predicted value y 2 based on the least-squares criterion and the true value y (hereinafter, appropriately 2 It can be expressed as a product of | y−y 2 | 2 . Since the square error | y−y 2 | 2 according to the least-cube criterion of Expression (53) can be obtained as a constant, the prediction coefficient w that minimizes the sum E of the fourth-order errors of Expression (53) i can actually be obtained by the least square error method.

さらに、以下の式(54)についても同様である。   The same applies to the following formula (54).

Figure 0004591785
・・・(54)
Figure 0004591785
... (54)

すなわち、式(54)は、5乗の総和Eを最小にする予測係数wiを求めることが最小5乗誤差法により解を得ることになる。今、式(53)の4乗誤差の和Eを最小にする予測係数wiを用いて式(39)により演算される予測値y'を、y3(以下、適宜、最小4乗規範による予測値という)と表すと、5乗誤差e5は、式(54)に示すように、2乗誤差e2、および、最小4乗規範による予測値y3と真値yとの誤差の3乗(以下、適宜、最小4乗規範による3乗誤差という)|y−y33の積で表すことができる。式(54)の最小4乗規範による3乗誤差は、定数として求めておくことができるから、式(54)の5乗誤差の和Eを最小にする予測係数wiも、実際には最小2乗誤差法により得ることが可能である。 That is, in the equation (54), finding the prediction coefficient w i that minimizes the sum 5 of the fifth power is obtained by the least fifth error method. Now, the prediction value y ′ calculated by the equation (39) using the prediction coefficient w i that minimizes the sum E of the fourth power errors of the equation (53) is represented by y3 (hereinafter, appropriately predicted by the least-fourth power criterion). 5), the fifth power error e 5 is the third power of the error between the square error e 2 and the error between the predicted value y 3 and the true value y according to the least-fourth power criterion, as shown in the equation (54). (Hereinafter, referred to as the third-order error according to the least-fourth criterion as appropriate) | y−y 3 | 3 . Since the cube error according to the least-fourth criterion in Equation (54) can be obtained as a constant, the prediction coefficient w i that minimizes the sum E of the fifth error in Equation (54) is also actually the smallest. It can be obtained by the square error method.

指数Nが6次以上の最小N乗誤差法の場合も、以下、同様にして、その解(予測係数wi)を求めることが可能である。 In the case of the least-Nth power error method with an exponent N of 6th or higher, the solution (prediction coefficient w i ) can be obtained in the same manner.

以上のように、第2の方法では、高次の最小N乗誤差法により解を求めるのに、低次の最小N乗誤差法により求められた予測係数を用いて演算される予測値(の予測誤差)を使用し、これを再帰的に、繰り返すことで、より高次の最小N乗誤差法による解を得ることができる。   As described above, in the second method, in order to obtain a solution by a high-order least-Nth power error method, a predicted value ( A prediction error) is used and this is recursively repeated to obtain a solution by a higher-order least-N error method.

尚、上述の場合には、最小N乗誤差法による解を、それより1次だけ低い最小N−1乗誤差法により求められた予測係数を用いて演算される予測値を使用して求めるようにしたが、最小N乗誤差法による解は、それより低次の任意の最小N乗誤差法により求められた予測係数を用いて演算される予測値を使用して求めることが可能である。すなわち、式(53)の場合、|y−y2|の代わりに|y−y1|を使用してもよいし、式(54)の場合、|y−y3|の代わりに|y−y2|や|y−y1|を使用してもよい。 In the above-described case, a solution by the least-Nth power error method is obtained by using a prediction value calculated using a prediction coefficient obtained by the least-N-1 power error method which is lower by one order. However, the solution by the least-Nth power error method can be obtained by using a predicted value calculated using a prediction coefficient obtained by any lower-order least-th power N error method. That is, in the case of formula (53), | y-y 2 | instead of | y-y 1 | may be used, in the case of formula (54), | y-y 3 | instead of | y -y 2 | and | y-y 1 | may be used.

また、第2の方法においては、N乗誤差eNが、2乗誤差e2と、N−2乗誤差|y−y'|N-2との積で表されるから、第1の方法と同様に、例えば、指数NがN=2.2といった指数Nが任意の実施の最小N乗誤差法による解を求めることができる。 In the second method, the Nth power error e N is expressed by the product of the second power error e 2 and the N−2 power error | y−y ′ | N−2. Similarly, for example, it is possible to obtain a solution by the least-N-th power error method in which the index N is arbitrary and the index N is N = 2.2.

次に、図35のフローチャートを参照して、図29の最適化装置201による画像最適化処理について説明する。画像最適化処理は、学習処理とマッピングからなる。   Next, image optimization processing by the optimization apparatus 201 in FIG. 29 will be described with reference to the flowchart in FIG. The image optimization process includes a learning process and mapping.

学習処理では、ステップS230において、ユーザが操作部202を操作したかどうかが判定され、操作していないと判定された場合、ステップS230に戻る。また、ステップS230において、操作部202が操作されたと判定された場合、ステップS231に進む。   In the learning process, it is determined in step S230 whether or not the user has operated the operation unit 202. If it is determined that the user has not operated the operation unit 202, the process returns to step S230. If it is determined in step S230 that the operation unit 202 has been operated, the process proceeds to step S231.

ステップS231において、学習部221の教師データ生成部231は、入力信号より教師データを生成して最小N乗誤差法係数演算部234に出力すると共に、生徒データ生成部232は、入力信号より生徒データを生成し予測タップ抽出部233に出力し、ステップS232に進む。   In step S231, the teacher data generation unit 231 of the learning unit 221 generates teacher data from the input signal and outputs the teacher data to the least-N power error coefficient calculation unit 234, and the student data generation unit 232 receives the student data from the input signal. Is output to the prediction tap extraction unit 233, and the process proceeds to step S232.

尚、生徒データと教師データを生成するのに、用いるデータ(以下、適宜、学習用データという)としては、例えば、現在から、所定時間だけ過去に遡った時点までに入力された入力信号を採用することができる。また、学習用データとしては、入力信号を用いるのではなく、予め専用のデータを記憶しておくことも可能である。   As the data used to generate student data and teacher data (hereinafter referred to as “learning data” as appropriate), for example, input signals that have been input from the present to a time point that is traced back to the past for a predetermined time are employed. can do. Further, as learning data, it is possible not to use an input signal but to store dedicated data in advance.

ステップS232において、予測タップ抽出部233は、各教師データを注目画素として、その各注目画素について生徒データ生成部232より入力された生徒データより予測タップを生成し、最小N乗誤差法係数演算部234に出力して、ステップS233に進む。   In step S232, the prediction tap extraction unit 233 uses each teacher data as a pixel of interest, generates a prediction tap from the student data input from the student data generation unit 232 for each pixel of interest, and generates a minimum N-th power error method coefficient calculation unit. Then, the process proceeds to step S233.

ステップS233において、最小N乗誤差法係数演算部234は、操作部202よりリカーシブ法(第2の方法)による最小N乗誤差法で係数セットを演算することを指定する操作信号が入力されたか否かがを判定し、例えば、ユーザにより操作部202が操作されて、リカーシブ法ではない、すなわち、直接法(第1の方法)が指定されたと判定された場合、ステップS234に進み、式(50)の重みαSを指定する(指数Nを指定する)係数a,b,cが入力されたか否かが判定され、入力されるまでその処理が繰り返され、例えば、ユーザによって操作部202が操作され、係数a,b,cを指定する値が入力されたと判定された場合、その処理は、ステップS235に進む。 In step S233, the least-Nth power error method coefficient calculation unit 234 receives from the operation unit 202 an operation signal designating calculation of a coefficient set by the least-Nth power error method using the recursive method (second method). For example, when the operation unit 202 is operated by the user and it is determined that the method is not the recursive method, that is, the direct method (first method) is designated, the process proceeds to step S234, and the formula (50 specifies the weight alpha S) of (exponent N specifies a) coefficients a, b, c are determined whether or not the input is the processing until the input is repeated, for example, the operation unit 202 by the user operation If it is determined that values specifying the coefficients a, b, and c have been input, the process proceeds to step S235.

ステップS235において、最小N乗誤差法係数演算部234は、重みαSを入力された係数a,b,cの状態で、上述した式(48)を最小にするという問題を実質的には最小2乗誤差法により解くことにより、重みαSに対応する指数Nの最小N乗誤差法による解としての予測係数w1,w2,w3…,wM、すなわち、係数セットを求めて係数メモリ235に記憶させ、ステップS230に戻る。 In step S235, the minimum N-th power error method coefficient calculation unit 234 substantially minimizes the problem of minimizing the above-described equation (48) in the state of the coefficients a, b, and c to which the weight α S is input. By solving by the square error method, prediction coefficients w 1 , w 2 , w 3 ..., W M as a solution by the least N power error method of the exponent N corresponding to the weight α S , that is, a coefficient set is obtained and the coefficients It memorize | stores in the memory 235, and returns to step S230.

一方、ステップS233において、リカーシブ法が選択されたと判定された場合、その処理は、ステップS236に進む。   On the other hand, if it is determined in step S233 that the recursive method has been selected, the process proceeds to step S236.

ステップS236において、最小N乗誤差法係数演算部234は、指数Nを指定する情報が入力されたか否かを判定し、指数Nが入力されるまでその処理を繰り返し、例えば、ユーザが操作部202を操作することにより指数Nを指定する情報が入力されたと判定した場合、その処理は、ステップS237に進む。   In step S236, the least-N power error coefficient calculation unit 234 determines whether information specifying the exponent N is input, and repeats the process until the index N is input. If it is determined that information specifying the index N is input by operating, the process proceeds to step S237.

ステップS237において、最小N乗誤差法係数演算部234は、基礎となる最小2乗誤差法による解法により係数セットを求める。ステップS238において、最小N乗誤差法係数演算部234は、最小2乗誤差法により求められた係数セットから得られる予測値を用い、式(51)乃至式(54)を参照して説明したように再帰的に指数Nに、操作部202から入力された対応する最小N乗誤差法による係数セットを求め、係数メモリ235に記憶させ、ステップS231に戻る。   In step S237, the least-N-square error method coefficient calculation unit 234 obtains a coefficient set by a solution using a basic least-square error method. In step S238, the least-N power error coefficient calculation unit 234 uses the predicted value obtained from the coefficient set obtained by the least square error method, and has been described with reference to Expressions (51) to (54). The coefficient set by the corresponding least-Nth power error method input from the operation unit 202 is recursively obtained as the index N, and stored in the coefficient memory 235, and the process returns to step S231.

次に、マッピング処理では、ステップS241において、マッピング処理部222のタップ抽出部251は、現在の入力信号としての画像フレームに対応する出力信号としての画像のフレームを注目フレームとして、その注目フレームの画素のうち、例えば、ラスタスキャン順で、まだ注目画素としていないものを注目画素として、その注目画素について、入力信号より予測タップを抽出し、積和演算部252に出力する。   Next, in the mapping process, in step S241, the tap extraction unit 251 of the mapping processing unit 222 sets the image frame as the output signal corresponding to the image frame as the current input signal as the target frame, and the pixel of the target frame. Among them, for example, in the raster scan order, those that have not yet been set as the target pixel are set as the target pixel, and a prediction tap is extracted from the input signal for the target pixel and is output to the product-sum operation unit 252.

そして、ステップS242において、積和演算部252は、学習部221の係数メモリ235の予測係数を読出し、式(39)に従いタップ抽出部251より入力された予測タップと係数メモリ235から読み出した予測係数との積和演算処理を実行する。これにより、積和演算部252は、注目画素の画素値(予測値)を求める。その後、ステップS243に進み、タップ抽出部251は、注目フレームの全ての画素を注目画素としたかどうかを判定し、まだしていないと判定した場合、ステップS241に戻り、注目フレームのラスタスキャン順でまだ注目画素としていない画素を新たに注目画素として、以下、同様の処理を繰り返す。   In step S242, the product-sum operation unit 252 reads the prediction coefficient in the coefficient memory 235 of the learning unit 221, and the prediction tap input from the tap extraction unit 251 and the prediction coefficient read from the coefficient memory 235 according to Equation (39). The sum-of-products operation process is executed. As a result, the product-sum operation unit 252 obtains the pixel value (predicted value) of the target pixel. Thereafter, the process proceeds to step S243, where the tap extraction unit 251 determines whether all the pixels of the target frame have been set as the target pixel. If it is determined that the pixels have not yet been processed, the tap extraction unit 251 returns to step S241 and proceeds to the raster scan order of the target frame. In the following, the same processing is repeated with a pixel that has not yet been set as the target pixel as a new target pixel.

また、ステップS243において、注目フレームの全ての画素を注目画素としたと判定された場合、ステップS244に進み、表示部203は、積和演算部252で求められた画素でなる注目フレームを表示する。   If it is determined in step S243 that all the pixels of the target frame are the target pixels, the process proceeds to step S244, and the display unit 203 displays the target frame including the pixels obtained by the product-sum operation unit 252. .

そして、ステップS241に戻り、タップ抽出部251は、次のフレームを新たに注目フレームとして、以下、同様の処理を繰り返す。   Then, the process returns to step S241, and the tap extraction unit 251 repeats the same processing below with the next frame as a new frame of interest.

図35の画像最適化処理によれば、ユーザは、マッピング処理において、表示部203に表示された画像をみて、自らの好みに合うものではなかった場合、操作部202を操作して、直接法やリカーシブ法を指定し、さらには、最小N乗誤差法の指数Nを指定し、これにより学習処理において、最小N乗誤差法により求められる予測係数が変更され、マッピング処理で求められる出力信号としての画像をユーザ自身の好みに合うものにさせていくことができる。   According to the image optimization process of FIG. 35, in the mapping process, when the user sees the image displayed on the display unit 203 and does not meet his / her preference, the user directly operates the operation unit 202 to And the recursive method is specified, and the exponent N of the least-Nth power error method is specified. As a result, the prediction coefficient obtained by the least-Nth power error method is changed in the learning process, and the output signal obtained by the mapping process is Can be made to suit the user's own preferences.

ここで、図36は、式(50)の重みαSの係数a,b,cの値を変化させる直接法において、例えば、係数a,b,cをa=40,b=0.1,c=1とすることにより、最小N乗誤差法により求められる最小N乗規範の係数セットを用いて演算される予測値の誤差の総和と、一般的な最小2乗誤差法により求められる最小2乗規範の係数セットを用いて演算される予測値の誤差の総和を示している。ここでは、誤差の総和としては、2乗誤差と3乗誤差の総和を示してある。また、係数a,b,cが上述の値の場合は、式(48)のN乗誤差eNの指数Nが2より大の場合に相当する。図36においては、2乗誤差の総和は、最小2乗規範の係数セットによる場合は、10160281となり、最小N乗規範の係数セットによる場合は、10828594となっており、最小2乗規範の係数セットによる場合の方が、最小N乗規範の係数セットによる場合よりも小さくなっている。一方、3乗誤差の総和は、最小2乗規範の係数セットによる場合は、165988823となり、最小N乗規範の係数セットによる場合は、161283660となっており、最小N乗規範の係数セットによる場合の方が、最小2乗規範の係数セットによる場合よりも小さくなっている。 Here, in FIG. 36, in the direct method of changing the values of the coefficients a, b, and c of the weight α S in the equation (50), for example, the coefficients a, b, and c are changed to a = 40, b = 0.1, By setting c = 1, the sum of errors of predicted values calculated using the coefficient set of the least-Nth power criterion obtained by the least-Nth power error method and the minimum 2 obtained by a general least-square error method. The sum of errors of predicted values calculated using the coefficient set of the multiplication criterion is shown. Here, as the sum of errors, the sum of square error and cube error is shown. Further, the case where the coefficients a, b, and c are the above-mentioned values corresponds to the case where the exponent N of the N-th power error e N in Expression (48) is larger than 2. In FIG. 36, the sum of the square errors is 10160281 in the case of the coefficient set of the least square criterion, and is 10828594 in the case of the coefficient set of the least N criterion. Is smaller than the case of the coefficient set of the least-Nth power criterion. On the other hand, the sum of the cube errors is 165988823 in the case of the coefficient set of the least square criterion, and 161283660 in the case of the coefficient set of the least N criterion. However, it is smaller than the case of the coefficient set of the least square criterion.

従って、最小2乗規範の係数セットを用いて、マッピング処理(式(39)の積和演算)を行うことにより、2乗規範の総和がより小さい出力信号としての画像を得ることができ、また、上述の値の係数a,b,cを用いて、求められる最小N乗規範の係数セットを用いてマッピング処理を行うことにより、3乗誤差の総和がより小さい出力信号としての画像を得ることができる。   Therefore, an image as an output signal having a smaller sum of the squared norms can be obtained by performing the mapping process (the product-sum operation of Expression (39)) using the coefficient set of the least squares norms, By using the coefficients a, b, and c of the above-described values and performing the mapping process using the coefficient set of the least-Nth power criterion obtained, an image as an output signal with a smaller sum of the cube errors is obtained. Can do.

尚、図35の画像最適化処理では、ユーザが操作部202を操作することにより指数Nが変更され(直接法においては、指数Nを指定する係数a,b,cが変更され、また、リカーシブ法においては、指数Nそのものが変更され)、これにより予測係数(係数セット)の学習規範(学習の体系)として、どのような指数Nの最小N乗誤差法を採用するかが設定される。すなわち、予測係数を求める学習アルゴリズム自体が変更されている。従って、「処理の構造」が、ユーザの好みの画像が得られるように変更されているということが言える。   In the image optimization process of FIG. 35, the index N is changed by the user operating the operation unit 202 (in the direct method, the coefficients a, b, and c specifying the index N are changed, and the recursive In the method, the index N itself is changed), and this sets what kind of exponent N minimum N error method is adopted as a learning criterion (learning system) of the prediction coefficient (coefficient set). That is, the learning algorithm itself for obtaining the prediction coefficient has been changed. Therefore, it can be said that the “processing structure” is changed so as to obtain an image desired by the user.

次に、図37は、図1の最適化装置の他の構成例を示している。図37の最適化装置201においては、内部情報生成部261が設けられた以外の構成は、図29の最適化装置201と同様であるので、その説明は省略する。   Next, FIG. 37 shows another configuration example of the optimization apparatus of FIG. 37 is the same as that of the optimization apparatus 201 in FIG. 29 except for the internal information generation unit 261, and the description thereof is omitted.

内部情報生成部261は、処理部211の内部乗法として、例えば、係数メモリ235に記憶されている予測係数を読出し、その予測係数の情報を画像信号に変換して表示部203に出力し、表示させる。   As the internal multiplication of the processing unit 211, for example, the internal information generation unit 261 reads a prediction coefficient stored in the coefficient memory 235, converts the prediction coefficient information into an image signal, and outputs the image signal to the display unit 203 for display. Let

次に、図38のフローチャートを参照して、図37の最適化装置201による画像最適化処理について説明する。図38の画像最適化装置も、図35における場合と同様に学習処理とマッピング処理からなる。そして、学習処理では、ステップS250乃至S258において、図35のステップS230乃至S238における場合とそれぞれ同様の処理が行われる。   Next, image optimization processing by the optimization apparatus 201 in FIG. 37 will be described with reference to the flowchart in FIG. The image optimization apparatus in FIG. 38 also includes a learning process and a mapping process as in the case of FIG. In the learning process, the same processes as in steps S230 to S238 in FIG. 35 are performed in steps S250 to S258, respectively.

さらに、学習処理では、ステップS255およびS258の処理後、ステップS259に進み、内部情報生成部261は、係数メモリ235に記憶されている係数セットを、内部情報として読出し、係数セットに含まれる各値に基づいて表示可能な画像信号を生成して、表示部203に出力し、表示させる。   Further, in the learning process, after the processes of steps S255 and S258, the process proceeds to step S259, where the internal information generation unit 261 reads the coefficient set stored in the coefficient memory 235 as internal information, and each value included in the coefficient set A displayable image signal is generated based on the above and output to the display unit 203 for display.

このとき、内部情報生成部261により生成され表示部203に表示される画像は、例えば、図39で示すような3次元分布図や、または、図40で示した2次元分布図のような形式などとすることができる。すなわち、図39では、入力信号から抽出される予測タップの位置に相当する座標がTap Position(x)およびTap Position(y)としてxy平面上の位置として示されており、各予測タップの位置に対応する座標上に、その予測タップとしての画素値と積をとる予測係数(Coeff)が示されている。また、図40では、図39が等高線図状に表現されている。   At this time, the image generated by the internal information generation unit 261 and displayed on the display unit 203 is, for example, a format such as a three-dimensional distribution diagram as shown in FIG. 39 or a two-dimensional distribution diagram as shown in FIG. And so on. That is, in FIG. 39, coordinates corresponding to the position of the prediction tap extracted from the input signal are shown as positions on the xy plane as Tap Position (x) and Tap Position (y). On the corresponding coordinates, a prediction coefficient (Coeff) that takes a product with the pixel value as the prediction tap is shown. In FIG. 40, FIG. 39 is expressed in a contour map.

ここで、図38のフローチャートの説明に戻る。   Now, the description returns to the flowchart of FIG.

ステップS259の処理後は、ステップS250に戻り、以下、同様の処理が繰り返される。   After the process of step S259, the process returns to step S250, and the same process is repeated thereafter.

一方、マッピング処理では、ステップS261乃至S264において、図35のステップS241乃至S244における場合とそれぞれ同様の処理が行われる。   On the other hand, in the mapping process, processes similar to those in steps S241 to S244 in FIG. 35 are performed in steps S261 to S264, respectively.

以上の処理により、処理部211の係数メモリ235に記憶された係数セットの各値(各係数値)が処理に関する内部情報として表示(呈示)され、ユーザは、この係数セットの分布と、出力信号としての処理部211の処理結果を見ながら自らの好みに合う出力信号としての画像が得られるように、操作部202を操作して、指数Nが変更され(直接法においては、指数Nを指定する係数a,b,cが変更され、また、リカーシブ法においては、指数Nそのものが変更され)、これにより予測係数(係数セット)の学習規範(学習の体系)として、どのような指数Nの最小N乗誤差法を採用するかが設定される。すなわち、予測係数を求める学習アルゴリズム自体が変更されているので、「処理の構造」が変更されているということができる。また、以上の例においては、係数セットを表示させるようにしたが、例えば、現在の最小N乗誤差法が直接法であるのか、または、リカーシブ法であるのかといった、処理に関する内部情報を表示するようにしてもよい。   Through the above processing, each value (each coefficient value) of the coefficient set stored in the coefficient memory 235 of the processing unit 211 is displayed (presented) as internal information regarding the processing, and the user can determine the distribution of the coefficient set and the output signal. The index N is changed by operating the operation unit 202 so that an image as an output signal that suits the user's preference is obtained while viewing the processing result of the processing unit 211 (in the direct method, the index N is specified). The coefficients a, b, and c to be changed are changed, and in the recursive method, the index N itself is changed). As a result, the learning norm (the learning system) of the prediction coefficient (coefficient set) Whether to use the least-Nth power error method is set. That is, since the learning algorithm itself for obtaining the prediction coefficient has been changed, it can be said that the “processing structure” has been changed. In the above example, the coefficient set is displayed. However, for example, internal information related to processing such as whether the current least-N power error method is a direct method or a recursive method is displayed. You may do it.

図41は、最適化装置のその他の構成例を示している。図41の最適化装置301は、処理部311より構成され、操作部202より入力された操作信号に基づいて、入力信号を最適化し表示部202に表示する。なお、図中、上述の実施の形態における場合と対応する部分については、同一の符号を付してあり、以下では、その説明は、適宜省略する。   FIG. 41 shows another configuration example of the optimization apparatus. 41 includes a processing unit 311 and optimizes an input signal based on an operation signal input from the operation unit 202 and displays the input signal on the display unit 202. In the figure, portions corresponding to those in the above-described embodiment are denoted by the same reference numerals, and description thereof will be omitted below as appropriate.

図41の処理部311の係数メモリ321は、図30の係数メモリ235と基本的には同様のものであり、マッピング処理部222がマッピング処理を実行するのに必要な係数セットを記憶する。この係数セットは、基本的には、後述する図43の学習装置341により生成された係数セット(初期値としての係数セット)であるが、係数変更部322により適宜変更されて、上書き記憶される。従って、上書きが繰り返されていくうち、係数セットは、やがて学習装置341により生成されたものとは異なるものとなる。尚、初期値としての係数セットは、図示せぬメモリに保持しておき、操作部202の操作に対応して、係数メモリ321の記憶内容を、初期値の係数セットに戻すようにすることが可能である。   The coefficient memory 321 of the processing unit 311 in FIG. 41 is basically the same as the coefficient memory 235 in FIG. 30, and stores a coefficient set necessary for the mapping processing unit 222 to execute the mapping process. This coefficient set is basically a coefficient set (coefficient set as an initial value) generated by a learning device 341 shown in FIG. 43, which will be described later, but is appropriately changed by the coefficient changing unit 322 and overwritten and stored. . Therefore, as the overwriting is repeated, the coefficient set will be different from the one generated by the learning device 341 over time. It should be noted that the coefficient set as the initial value is held in a memory (not shown), and the stored content of the coefficient memory 321 is returned to the coefficient set of the initial value in response to the operation of the operation unit 202. Is possible.

係数変更部322は、操作部202から入力される操作信号に基づいて、係数メモリ321に記憶された係数セット(予測係数)を読出し、各予測タップに対応する予測係数(各予測タップと積算される予測係数)の値を変更して、再び係数メモリ321に上書き記憶させる。   The coefficient changing unit 322 reads the coefficient set (prediction coefficient) stored in the coefficient memory 321 based on the operation signal input from the operation unit 202, and integrates the prediction coefficient corresponding to each prediction tap (each prediction tap). The prediction coefficient) is changed, and the coefficient memory 321 is overwritten again.

次に、図42を参照して、係数変更部322の構成について説明する。係数変更部322の係数読出書込部331は、変更処理部332により制御され、係数メモリ321に記憶された係数セットを読出し、変更処理部332に出力すると共に、変更処理部332により値が変更された予測係数を係数メモリ321に上書き記憶させる。変更処理部332は、係数読出書込部331により係数メモリ321から読み出された予測係数を、操作信号に基づいて変更する。   Next, the configuration of the coefficient changing unit 322 will be described with reference to FIG. The coefficient reading / writing unit 331 of the coefficient changing unit 322 is controlled by the change processing unit 332, reads the coefficient set stored in the coefficient memory 321, outputs the coefficient set to the change processing unit 332, and changes the value by the change processing unit 332. The prediction coefficient thus set is overwritten and stored in the coefficient memory 321. The change processing unit 332 changes the prediction coefficient read from the coefficient memory 321 by the coefficient reading / writing unit 331 based on the operation signal.

ここで、図43を参照して、係数メモリ321に記憶される係数セットを学習処理により生成する学習装置341について説明する。学習装置341の教師データ生成部351は、図30の学習装置221の教師データ生成部231と同様のものであり、予め用意された学習データとしての画像信号より教師データを生成し、教師データを正規方程式生成部354に出力する。生徒データ生成部352は、図30の生徒データ生成部232と同様のものであり、学習用データから生徒データを生成し予測タップ抽出部353に出力する。   Here, with reference to FIG. 43, a learning device 341 that generates a coefficient set stored in the coefficient memory 321 by a learning process will be described. The teacher data generation unit 351 of the learning device 341 is the same as the teacher data generation unit 231 of the learning device 221 in FIG. 30, generates teacher data from image signals as learning data prepared in advance, and generates teacher data. The result is output to the normal equation generation unit 354. The student data generation unit 352 is similar to the student data generation unit 232 of FIG. 30, generates student data from the learning data, and outputs the student data to the prediction tap extraction unit 353.

予測タップ抽出部353は、図30の予測タップ抽出部233と同様のものであり、教師データのうちの今から処理しようとするものを注目画素として、その注目画素について、図41のマッピング処理部222を構成するタップ抽出部251(図31)が生成するのと同一のタップ構造の予測タップを生徒データから抽出し、正規方程式生成部354に出力する。   The prediction tap extraction unit 353 is the same as the prediction tap extraction unit 233 in FIG. 30, and uses the teacher data to be processed from now on as a target pixel, and the mapping processing unit in FIG. 41 for the target pixel. A prediction tap having the same tap structure as that generated by the tap extraction unit 251 (FIG. 31) constituting 222 is extracted from the student data and output to the normal equation generation unit 354.

正規方程式生成部354は、教師データ生成部351より入力された注目画素としての教師データyと予測タップx1,x2,…,xMから、式(46)の正規方程式を生成する。そして、正規方程式生成部354は、全ての教師データを注目画素として、式(46)の正規方程式を求めると、その正規方程式を係数決定部355に出力する。係数決定部355は、入力された正規方程式(上述の式(46))を例えば、コレスキー法などにより解いて係数セットを求める。 Normal equation generating unit 354 predicts that the teacher data y as the pixel of interest input from the supervisor data generator 351 taps x 1, x 2, ..., from x M, to produce a normal equation of formula (46). Then, when the normal equation generation unit 354 obtains the normal equation of Expression (46) using all the teacher data as the pixel of interest, the normal equation generation unit 354 outputs the normal equation to the coefficient determination unit 355. The coefficient determination unit 355 solves the input normal equation (the above-described expression (46)) by, for example, the Cholesky method and obtains a coefficient set.

次に、図44のフローチャートを参照して、図43の学習装置341による係数決定処理(学習処理)について説明する。ステップS271において、教師データ生成部351は、学習用データから教師データを生成し、正規方程式生成部354に出力すると共に、生徒データ生成部352は、学習用データから生徒データを生成し、予測タップ抽出部353に出力して、ステップS272に進む。   Next, coefficient determination processing (learning processing) by the learning device 341 in FIG. 43 will be described with reference to the flowchart in FIG. In step S271, the teacher data generation unit 351 generates teacher data from the learning data and outputs the teacher data to the normal equation generation unit 354. The student data generation unit 352 generates student data from the learning data, and the prediction tap. The data is output to the extraction unit 353, and the process proceeds to step S272.

ステップS272において、予測タップ抽出部352は、各教師データを順次注目画素として、各注目データについて、生徒データより予測タップを抽出し、正規方程式生成部354に出力して、ステップS273に進む。   In step S272, the prediction tap extraction unit 352 sequentially extracts each teacher data as a pixel of interest, extracts a prediction tap from the student data for each attention data, outputs the prediction tap to the normal equation generation unit 354, and proceeds to step S273.

ステップS273において、正規方程式生成部354は、各教師データと予測タップのセットを用いて、式(46)における左辺の行列の各コンポーネントとなっているサメーション(Σ)と、右辺のベクトルの各コンポーネントとなっているサメーション(Σ)を演算することにより、正規方程式を生成し、係数決定部355に出力する。   In step S273, the normal equation generation unit 354 uses each teacher data and a set of prediction taps to perform summation (Σ) that is each component of the left-side matrix in Equation (46) and each vector of the right-side vector. By calculating the summation (Σ) as a component, a normal equation is generated and output to the coefficient determination unit 355.

そして、ステップS274に進み、係数決定部355は、正規方程式生成部354より入力された正規方程式を解いて、いわゆる最小2乗誤差法により係数セットを求め、ステップS275において、係数メモリ321に記憶させる。   In step S274, the coefficient determination unit 355 solves the normal equation input from the normal equation generation unit 354, obtains a coefficient set by a so-called least square error method, and stores the coefficient set in the coefficient memory 321 in step S275. .

以上の処理により、係数メモリ321に基礎となる係数セット(初期値としての係数セット)が記憶される。尚、以上の例においては、係数セットは、最小2乗誤差法により求められる場合について説明してきたが、その他の方法で求められた係数セットであってもよく、上述の最小N乗誤差法により求められる係数セットであってもよい。   Through the above processing, a coefficient set (coefficient set as an initial value) as a basis is stored in the coefficient memory 321. In the above example, the case where the coefficient set is obtained by the least square error method has been described. However, a coefficient set obtained by another method may be used, and the coefficient set obtained by the above-described least N error method. It may be a required coefficient set.

次に、図41の係数変更部322の変更処理部332による係数セットの変更について説明する。係数セットは、上述の図44のフローチャートの処理により、係数メモリ321に予め記憶されているものであるが、係数変更部322は、この予め演算により設定されている係数セットの各予測係数を操作部202から入力される操作信号に基づいて変更する。   Next, the change of the coefficient set by the change processing unit 332 of the coefficient changing unit 322 in FIG. 41 will be described. The coefficient set is stored in advance in the coefficient memory 321 by the processing of the flowchart of FIG. 44 described above, but the coefficient changing unit 322 operates each prediction coefficient of the coefficient set set in advance by the calculation. It changes based on the operation signal input from the unit 202.

例えば、生徒データから抽出される予測タップが、図45に示すように、7タップ×7タップ(横×縦が7×7画素)の合計49タップであった場合、各予測タップに対応する予測係数も同一の数だけ存在する。すなわち、この場合、係数メモリ321に記憶されている係数セットは、49個の予測係数からなる係数セットである。このとき、各予測タップの位置(タップ位置)を横軸として(例えば、各予測タップに番号を付して、その番号の値を横軸として)、各タップ位置の予測タップと乗算される予測係数の係数値を縦軸とした時の分布が、図46で示すようになっているものとする。いま、ユーザに、係数セットの各係数値を全て変更させようとすると49個もの各係数の係数値を操作する必要がる。各係数の値は、入力信号と、その入力信号と予測係数で処理して得られる出力信号とのゲインが同一となるように、正規化(係数全ての値の合計で個々の係数を割ったもの)されたもの、すなわち、係数の値の合計が1である必要があるが、さらに、その合計が1となるように、個々の係数を操作することは、困難である。   For example, as shown in FIG. 45, when the prediction taps extracted from the student data are a total of 49 taps of 7 taps × 7 taps (horizontal × vertical is 7 × 7 pixels), predictions corresponding to the prediction taps There are the same number of coefficients. That is, in this case, the coefficient set stored in the coefficient memory 321 is a coefficient set made up of 49 prediction coefficients. At this time, the prediction (multiplying each prediction tap with the number assigned to each prediction tap and the horizontal axis) with the position (tap position) of each prediction tap as the horizontal axis, and the prediction multiplied by the prediction tap at each tap position It is assumed that the distribution when the coefficient value of the coefficient is on the vertical axis is as shown in FIG. Now, if the user tries to change all the coefficient values of the coefficient set, it is necessary to manipulate the coefficient values of as many as 49 coefficients. The value of each coefficient is normalized (dividing each coefficient by the sum of all the values of the coefficients so that the gain of the input signal and the output signal obtained by processing the input signal with the prediction coefficient are the same) The sum of the values of the coefficients needs to be 1, but it is also difficult to manipulate the individual coefficients so that the sum is 1.

すなわち、例えば、図47中で矢印で示された予測タップに対応する係数の係数値だけを引き上げることを考えると、タップ位置と係数値の分布は、図48で示すようなものとなる。尚、図48中タップ位置tは、図47中の矢印で指定されたタップ位置である。   That is, for example, when considering only raising the coefficient value of the coefficient corresponding to the prediction tap indicated by the arrow in FIG. 47, the distribution of tap positions and coefficient values is as shown in FIG. Note that the tap position t in FIG. 48 is the tap position designated by the arrow in FIG.

このように、ある特定の予測タップに対応する係数の係数値だけを引き上げる(増加させる)と、その他のタップ位置の係数の係数値を減少させるなどして、その合計が1となるように操作する必要があるが、その操作は困難である。さらに、これ以上の数の予測タップに対応する係数の係数値を変化させる場合も同様に、その合計を1とする操作は困難である。   In this way, when only the coefficient value of the coefficient corresponding to a specific prediction tap is raised (increased), the coefficient value of the coefficient at the other tap position is decreased, so that the total becomes 1. The operation is difficult. Furthermore, when changing the coefficient values of coefficients corresponding to a larger number of prediction taps, it is also difficult to set the sum to 1.

そこで、変更処理部332は、操作信号が図49の矢印で示される1つのタップ位置に対応する係数の係数値を、所定の閾値S11よりも大きく変化させる(変化量が閾値S11より大きく変化する)ものであるとき、他の係数の係数値を図46で示すような分布から、図50で示すような分布に変更する。すなわち、変更処理部332は、値が変化された係数に対応するタップ位置からの距離に応じて、係数値の分布がバネのようなモデルとして変化するように、各タップ位置に対応する係数の係数値を変化させる。すなわち、変更処理部332は、学習で求められた係数セットの分布が図46のような分布であった場合、操作部202が図50で示すように、タップ位置tに対応する値を引き上げるように操作されたとき、その他の値については、タップ位置tから近い位置の係数値を、その位置が近いほど大きく変化するように増加させ、逆にタップ位置tから遠い位置のタップに対応する係数の係数値を、その位置が遠いほど大きく減少するように変更させ、さらに係数値の合計が1となるようにする。ここで、以下においては、図50のようにバネ状に分布が変化するモデルをバネモデルと称する。尚、バネモデルによれば、あるタップ位置tの係数を引き下げるように、操作部202が操作された場合は、タップ位置tから近い位置の係数値は、その位置の近さに応じて引き下げられ、逆にタップ位置tから遠い位置の係数値は、その位置の遠さに応じて引き上げられる。   Therefore, the change processing unit 332 changes the coefficient value of the coefficient corresponding to the one tap position indicated by the arrow in FIG. 49 with the operation signal larger than the predetermined threshold S11 (the change amount changes more than the threshold S11). ), The coefficient values of other coefficients are changed from the distribution shown in FIG. 46 to the distribution shown in FIG. That is, the change processing unit 332 determines the coefficient corresponding to each tap position so that the distribution of coefficient values changes as a spring-like model according to the distance from the tap position corresponding to the coefficient whose value has been changed. Change the coefficient value. That is, when the coefficient set distribution obtained by learning has a distribution as shown in FIG. 46, the change processing unit 332 causes the operation unit 202 to increase the value corresponding to the tap position t as shown in FIG. For other values, the coefficient value at a position closer to the tap position t is increased so that the coefficient value changes more as the position is closer, and conversely, the coefficient corresponding to the tap at a position far from the tap position t. The coefficient value is changed so that the coefficient value is greatly decreased as the position is further away, and the coefficient value is summed to be 1. Here, in the following, a model whose distribution changes like a spring as shown in FIG. 50 is referred to as a spring model. According to the spring model, when the operation unit 202 is operated so as to reduce the coefficient at a certain tap position t, the coefficient value at a position close to the tap position t is decreased according to the proximity of the position, Conversely, the coefficient value at a position far from the tap position t is raised according to the distance from the position.

また、係数の係数値の変化量が所定の閾値S11より小さいとき、変更処理部332は、図51で示すようにタップ位置tの係数の変化量に応じて、タップ位置tの係数と同じ極性の極値をとる係数値は、タップ位置tの係数と同じ方向に変更させ、タップ位置tの係数と異なる極性の極値をとる係数値は、タップ位置tの係数と逆方向に変更させ(操作された係数が持つ極値の方向と同じ極値の係数は、操作された係数と同じ方向にシフトし、操作された係数が持つ極値の方向と異なる極値の係数は、操作された係数と逆方向にシフトさせられ)、全体として分布のバランスを均衡に保つようにして係数値の合計を1となるように変化させる。尚、以下においては、図51のように全体としたバランスを均衡に保ちながら係数値を変化させるモデルを均衡モデルと称するものとする。また、均衡モデルは、このように変化することからHPF(High Pass Filter)やLPF(Low Pass Filter)として近似的に(等価的に)機能する。   Further, when the change amount of the coefficient value of the coefficient is smaller than the predetermined threshold S11, the change processing unit 332 has the same polarity as the coefficient at the tap position t according to the change amount of the coefficient at the tap position t as shown in FIG. The coefficient value taking the extreme value is changed in the same direction as the coefficient at the tap position t, and the coefficient value taking an extreme value having a polarity different from the coefficient at the tap position t is changed in the opposite direction to the coefficient at the tap position t ( The extremal coefficient that is the same as the extremal direction of the manipulated coefficient is shifted in the same direction as the manipulated coefficient, and the extremal coefficient that is different from the extremal direction of the manipulated coefficient is manipulated. The total of the coefficient values is changed to 1 so that the balance of the distribution is kept in balance as a whole. In the following, a model in which coefficient values are changed while keeping the overall balance in balance as shown in FIG. 51 is referred to as an equilibrium model. Since the equilibrium model changes in this way, it functions approximately (equivalently) as an HPF (High Pass Filter) or LPF (Low Pass Filter).

尚、上述においては、均衡モデルにおいて、正の値の係数値が、引き上げられた場合について説明してきたが、例えば、正の値の係数値が引き下げられた場合、すなわち、負の方向に変化された場合、正の値は、負方向に変更させ、負の値の係数値は、正の方向に変更させる。さらに、負の値の係数値が、引き上げられた場合、正の値の係数値は、負方向に変更させ、負の係数は、正方向に変更させ、また、負の値の係数値が引き下げられた場合、正の係数値は、正方向に変更させ、負の係数値は、負方向に変更させる。均衡モデルにおいては、いずれにおいても、全体としてバランスが均衡に保たれる方向に係数の値が変更される。   In the above description, the case where the positive coefficient value is increased in the equilibrium model has been described. However, for example, when the positive coefficient value is decreased, that is, the positive coefficient value is changed in the negative direction. In such a case, the positive value is changed in the negative direction, and the negative coefficient value is changed in the positive direction. Furthermore, if the negative coefficient value is raised, the positive coefficient value is changed in the negative direction, the negative coefficient value is changed in the positive direction, and the negative coefficient value is decreased. If so, the positive coefficient value is changed in the positive direction, and the negative coefficient value is changed in the negative direction. In any of the equilibrium models, the coefficient value is changed in a direction in which the balance is maintained in equilibrium as a whole.

以上のように、変更処理部332は、変更された係数値の変化量が閾値S11より大きいときは、図50で示すバネモデルによりその他のタップに対応する係数値を変化させ、係数値の変化量が閾値S11よりも小さいときは、図51で示す均衡モデルによりその他のタップに対応する係数の係数値を変化させる。これは、1個の係数の変化量が大きい時には、各係数値全体のバランスから見て影響が大きいものとなるので全体のバランスを維持する変化をさせるのは不自然なものとなるためバネモデルを採用し、変化量が小さい場合には、その係数の変化は全体のバランスへの影響が小さいので、全体としてバランスを維持するように変化させるためである。   As described above, when the change amount of the changed coefficient value is larger than the threshold value S11, the change processing unit 332 changes the coefficient value corresponding to the other tap by the spring model shown in FIG. Is smaller than the threshold value S11, the coefficient values of the coefficients corresponding to the other taps are changed by the equilibrium model shown in FIG. This is because when the amount of change of one coefficient is large, the influence is large in view of the balance of each coefficient value, so it is unnatural to make changes that maintain the overall balance. This is because when the change amount is small and the change amount is small, the change in the coefficient has a small influence on the overall balance, so that the balance is changed as a whole.

尚、操作部202が操作されることにより、変更された係数値以外の係数の変化のモデルはこれに限るものではなく、全体として、係数値の合計が1となるように変化させるものであれば良い。また、上述の場合には、操作部202が操作されることにより変更された係数の変化量の大小に応じて、他の係数を変化させるモデルを切り替えるようにしたが、他の係数を変化させるモデルは、固定することも可能である。   It should be noted that the model of change in coefficients other than the changed coefficient value by operating the operation unit 202 is not limited to this, and may be changed so that the sum of coefficient values becomes 1 as a whole. It ’s fine. Further, in the above-described case, the model for changing other coefficients is switched according to the amount of change of the coefficient changed by operating the operation unit 202, but other coefficients are changed. The model can also be fixed.

次に、図52のフローチャートを参照して、図41の最適化装置301の画像最適化処理について説明する。尚、この画像最適化処理は、係数変更処理と、マッピング処理からなるマッピング処理は、図35や図38で説明したマッピング処理と同一であるため、ここでは、係数変更処理についてのみ説明する。   Next, the image optimization processing of the optimization apparatus 301 in FIG. 41 will be described with reference to the flowchart in FIG. In this image optimization process, the coefficient changing process and the mapping process including the mapping process are the same as the mapping process described with reference to FIGS. 35 and 38, and therefore only the coefficient changing process will be described here.

ステップS291において、係数変更部322の変更処理部332(図42)は、係数値を操作する操作信号が操作部202より入力されたか否かを判定する。すなわち、ユーザは、表示部203に表示された画像をみて自らの好みに合うものであるとみなした場合、いま、係数メモリ321(図41)に記憶されている係数セットによるマッピング処理を実行させるが、自らの好みに合うものではないと判定した場合、マッピング処理に使用される係数メモリ321に記憶されている係数セットを変更する操作を行う。   In step S291, the change processing unit 332 (FIG. 42) of the coefficient changing unit 322 determines whether an operation signal for operating the coefficient value is input from the operation unit 202. That is, when the user views the image displayed on the display unit 203 and considers that the image is suitable for his / her preference, the user is caused to execute mapping processing by the coefficient set stored in the coefficient memory 321 (FIG. 41). However, when it is determined that it does not meet the user's preference, an operation of changing the coefficient set stored in the coefficient memory 321 used for the mapping process is performed.

例えば、ステップS291において、係数を操作する操作信号が入力されたと判定された場合、すなわち、係数メモリ321に記憶された係数のうちいずれか1個の係数値を変更するように、操作部202が操作された場合、ステップS292に進む。   For example, when it is determined in step S291 that an operation signal for manipulating a coefficient has been input, that is, the operation unit 202 changes the coefficient value of any one of the coefficients stored in the coefficient memory 321. If operated, the process proceeds to step S292.

ステップS292において、変更処理部332は、係数読出書込部331を制御して、係数メモリ321に記憶されている係数セットを読み出させ、ステップS293に進む。ステップS293において、変更処理部332は、操作信号として入力された係数値が係数セットに予め含まれている値と比べて所定の閾値S11以上に変化しているか否かを判定する。例えば、ステップS293において、操作信号として入力された値と係数メモリ321に記憶されていた係数セットの値との変化が閾値S11以上であると判定された場合、その処理は、ステップS294に進む。   In step S292, the change processing unit 332 controls the coefficient reading / writing unit 331 to read the coefficient set stored in the coefficient memory 321, and the process proceeds to step S293. In step S293, the change processing unit 332 determines whether or not the coefficient value input as the operation signal has changed to a predetermined threshold value S11 or more as compared with a value included in the coefficient set in advance. For example, if it is determined in step S293 that the change between the value input as the operation signal and the value of the coefficient set stored in the coefficient memory 321 is greater than or equal to the threshold value S11, the process proceeds to step S294.

ステップS294において、変更処理部332は、係数セットに含まれる各係数の値を、図50で示したようにバネモデルによって変更し、その処理は、ステップS295に進む。   In step S294, the change processing unit 332 changes the value of each coefficient included in the coefficient set using the spring model as shown in FIG. 50, and the process proceeds to step S295.

一方、ステップS293において、操作信号として入力された値と係数メモリ321に記憶されていた係数セットの値との変化が閾値S11以上ではないと判定された場合、その処理は、ステップS296に進む。   On the other hand, if it is determined in step S293 that the change between the value input as the operation signal and the value of the coefficient set stored in the coefficient memory 321 is not greater than or equal to the threshold value S11, the process proceeds to step S296.

ステップS296において、変更処理部332は、係数セットに含まれる各係数の値を、図51で示したように均衡モデルによって変更し、その処理は、ステップS295に進む。   In step S296, the change processing unit 332 changes the value of each coefficient included in the coefficient set using the equilibrium model as shown in FIG. 51, and the process proceeds to step S295.

ステップS295において、変更処理部332は、係数読出書込部331を制御して、変更した係数セットの値を係数メモリ321に上書き記憶させ、その処理は、ステップS291に戻り、それ以降の処理が繰り返される。   In step S295, the change processing unit 332 controls the coefficient reading / writing unit 331 to overwrite and store the changed coefficient set value in the coefficient memory 321, and the process returns to step S291, and the subsequent processing is performed. Repeated.

そして、ステップS291において、係数値が操作されていないと判定された場合、すなわち、ユーザが表示部203に表示された画像がユーザの好みの画像であると判定された場合、ステップS291に戻り、以下、同様の処理が繰り返される。   If it is determined in step S291 that the coefficient value has not been operated, that is, if the user determines that the image displayed on the display unit 203 is the user's favorite image, the process returns to step S291. Thereafter, the same processing is repeated.

以上の係数変更処理により、ユーザは、マッピング処理に用いられる係数セットを変化させ、ユーザにとって最適な処理を実行させることが可能となる。尚、係数セットの各係数の値を変更することは、マッピング処理部311によるマッピング処理の「処理の内容」が変更されることになる。   By the coefficient changing process described above, the user can change the coefficient set used for the mapping process and execute the process optimal for the user. Note that changing the value of each coefficient in the coefficient set changes the “processing content” of the mapping processing by the mapping processing unit 311.

また、図52の係数変更処理では、係数の変化の大きさが所定の閾値S11以上のときには、操作された係数の値に応じて、係数セットの全ての係数値をバネモデルで変更させ、閾値S11よりも小さいときは、係数セットの全ての係数値を均衡モデルで変更させるため、係数セットを変更させるアルゴリズムが変化する。従って、図41の最適化装置301の処理部311でも、ユーザの操作に従い、その「処理の内容」も、さらには、その「処理の構造」も変更され、これによりユーザにとって最適な信号処理が行われているということができる。   In the coefficient changing process of FIG. 52, when the magnitude of the coefficient change is equal to or larger than the predetermined threshold value S11, all the coefficient values of the coefficient set are changed by the spring model according to the value of the operated coefficient, and the threshold value S11. Is smaller than that, the algorithm for changing the coefficient set changes in order to change all the coefficient values of the coefficient set by the equilibrium model. Therefore, in the processing unit 311 of the optimization apparatus 301 in FIG. 41, the “processing contents” and the “processing structure” are also changed according to the user's operation, and thereby the optimum signal processing for the user can be performed. It can be said that it is done.

また、上述のように、係数メモリ321に記憶される係数セットが、最小N乗誤差法により求められるものである場合、例えば、複数の指数Nに対応する係数セットを予め係数メモリ321に記憶させておき、係数変更部322が、ユーザの操作に基づいた操作部202からの操作信号に従って、指定された指数Nに対応する係数セットに変更させるようにしても良い。この場合、係数メモリ321に記憶される各係数セットは、ユーザの操作に基づいて操作部202から入力される指数Nに対応した最小N乗誤差法により生成されたものに変更される、すなわち、異なる係数セット生成アルゴリズムにより生成された係数セットに変更されるから、「処理の構造」が変更されているということができる。   Further, as described above, when the coefficient set stored in the coefficient memory 321 is obtained by the least-N power error method, for example, coefficient sets corresponding to a plurality of exponents N are stored in the coefficient memory 321 in advance. The coefficient changing unit 322 may be changed to a coefficient set corresponding to the designated index N in accordance with an operation signal from the operation unit 202 based on a user operation. In this case, each coefficient set stored in the coefficient memory 321 is changed to one generated by the least-Nth power error method corresponding to the exponent N input from the operation unit 202 based on the user's operation. Since it is changed to a coefficient set generated by a different coefficient set generation algorithm, it can be said that the “processing structure” is changed.

次に、図53を参照して、図41の最適化装置301に内部情報生成部371を設けた実施の形態について説明する。尚、図53においては、内部情報生成部371が設けられた以外の点については、図41で示した最適化装置301と同様のものである。   Next, an embodiment in which the internal information generation unit 371 is provided in the optimization apparatus 301 in FIG. 41 will be described with reference to FIG. In FIG. 53, the points other than the provision of the internal information generation unit 371 are the same as those of the optimization apparatus 301 shown in FIG.

内部情報生成装置371は、処理部311の内部情報として、例えば、係数メモリ321に記憶されている係数セットを読み出して、表示部203に表示可能な画像信号に変換した後、表示部203に出力して、表示させる。   The internal information generation device 371 reads out, for example, a coefficient set stored in the coefficient memory 321 as internal information of the processing unit 311, converts it into an image signal that can be displayed on the display unit 203, and then outputs the image signal to the display unit 203. And display it.

次に、図54のフローチャートを参照して、図53の最適化装置301の画像最適化処理について説明する。この画像最適化処理も、図41の最適化処理301が行う画像最適化処理と同様に、係数変更処理と、マッピング処理からなるが、マッピング処理は、図35や図38で説明したマッピング処理と同一であるため、ここでは、係数変更処理についてのみ説明する。   Next, the image optimization process of the optimization apparatus 301 in FIG. 53 will be described with reference to the flowchart in FIG. Similar to the image optimization process performed by the optimization process 301 of FIG. 41, this image optimization process also includes a coefficient change process and a mapping process. The mapping process includes the mapping process described with reference to FIGS. 35 and 38. Since they are the same, only the coefficient changing process will be described here.

係数変更処理では、ステップS311乃至S315において、図52のステップS291乃至S296における場合と、それぞれ同様の処理が行われる。   In the coefficient changing process, the same processes as in steps S291 to S296 in FIG. 52 are performed in steps S311 to S315, respectively.

そして、ステップS315において、図52のステップS295における場合と同様に、変更後の係数セットが係数メモリ321に記憶された後は、ステップS317に進み、内部情報生成部371は、係数メモリ321に記憶されている係数セットの各係数値を読出し、表示部203で表示可能な画像信号に変換して、表示部203に出力して表示させる。このとき、表示部203には、例えば、上述の図39で示したような3次元分布図や、または、図40で示した2次元分布図のような形式にして、係数セットの各係数値を表示するようにすることができる。   In step S315, as in the case of step S295 in FIG. 52, after the changed coefficient set is stored in the coefficient memory 321, the process proceeds to step S317, and the internal information generation unit 371 stores the coefficient set in the coefficient memory 321. Each coefficient value of the set of coefficients is read out, converted into an image signal that can be displayed on the display unit 203, and output to the display unit 203 for display. At this time, the display unit 203 displays, for example, each coefficient value of the coefficient set in a format such as the three-dimensional distribution diagram as shown in FIG. 39 or the two-dimensional distribution diagram as shown in FIG. Can be displayed.

ステップS317の処理後は、ステップS311に戻り、以下、同様の処理が繰り返される。   After the process of step S317, the process returns to step S311 and the same process is repeated thereafter.

図54の係数変更処理によれば、係数メモリ321に記憶された係数セットの値が、内部情報として表示されるので、ユーザは、この係数セットを見ながらユーザにとって最適な処理を実行する係数セットが得られるように、操作部202を操作することが可能となる。   According to the coefficient changing process of FIG. 54, the value of the coefficient set stored in the coefficient memory 321 is displayed as internal information, so that the user can execute the optimum process for the user while viewing the coefficient set. It is possible to operate the operation unit 202 so as to be obtained.

尚、マッピング処理部222の積和演算部252(図31)では、式(39)の1次式ではなく、2次以上の高次の式を演算することによって、出力信号を求めるようにすることが可能である。   Note that the product-sum operation unit 252 (FIG. 31) of the mapping processing unit 222 obtains an output signal by calculating a higher-order expression of the second or higher order instead of the linear expression of the expression (39). It is possible.

次に、図55を参照して、入力信号としての画像信号からテロップ部分を抽出する最適化装置401の構成例について説明する。   Next, a configuration example of the optimization apparatus 401 that extracts a telop portion from an image signal as an input signal will be described with reference to FIG.

最適化装置401の特徴量検出部411は、操作部402より入力される操作信号に基づいて、例えば、指定された2種類の特徴量を入力信号としての画像信号の各画素について検出し、検出した特徴量の情報を処理決定部412に出力する。また、特徴量検出部411は、入力された画像信号よりテロップが抽出されるまでの間、内部のバッファ421に入力信号としての画像信号を記憶し、処理部413に出力する。操作部402は、図41や図53の操作部202と同様のものである。尚、特徴量検出部411は、指定された2種類の特徴量を入力信号としての画像信号の各画素について検出するだけのものに限らず、例えば、複数種類の特徴量を同時に検出し、その中から指定された2種類の特徴量を出力するものでも良いし、2種類以上の特徴量を同時に検出し、同時に出力するものでも良い。   Based on the operation signal input from the operation unit 402, the feature amount detection unit 411 of the optimization apparatus 401 detects, for example, two designated feature amounts for each pixel of the image signal as an input signal. The information of the feature amount thus output is output to the process determination unit 412. The feature amount detection unit 411 stores the image signal as the input signal in the internal buffer 421 until the telop is extracted from the input image signal, and outputs the image signal to the processing unit 413. The operation unit 402 is the same as the operation unit 202 in FIGS. 41 and 53. Note that the feature quantity detection unit 411 is not limited to detecting only the two specified types of feature quantities for each pixel of the image signal as an input signal. For example, the feature quantity detection unit 411 detects a plurality of types of feature quantities at the same time. Two types of feature values designated from among them may be output, or two or more types of feature values may be detected simultaneously and output simultaneously.

処理決定部412は、特徴量検出部411より入力された特徴量に基づいて、後段の処理部413が画像信号に対して施す処理を、例えば、画素単位で決定し、決定した処理内容を処理部413に出力する。   Based on the feature quantity input from the feature quantity detection unit 411, the process decision unit 412 decides, for example, on a pixel-by-pixel basis the process performed by the subsequent processing unit 413 on the image signal, and processes the determined process content. To the unit 413.

処理部413は、バッファ421より読み出した入力信号としての画像信号に、処理決定部412より入力された処理内容の処理を画素単位で施し、表示部403に出力し、表示させる。   The processing unit 413 subjects the image signal as an input signal read from the buffer 421 to processing of the processing content input from the processing determination unit 412 in units of pixels, and outputs to the display unit 403 for display.

次に、図56を参照して、特徴量検出部411の構成について説明する。特徴量検出部411のバッファ421は、入力信号としての画像信号を一時的に記憶して、処理部413に供給する。特徴量抽出部422は、特徴量選択部423により選択された2種類の特徴量を、入力信号としての画像信号から抽出し、処理決定部412に出力する。特徴量選択部423は、操作部402より入力される操作信号に基づいて特徴量抽出部422に対して入力信号から抽出すべき特徴量を指定する情報を供給する。選択可能な特徴量としては、例えば、画像信号の各画素毎の輝度値、ラプラシアン、ソーベル、フレーム間差分、フィールド間差分、背景差分、および、所定範囲内の各特徴量から得られる値(総和、平均、ダイナミックレンジ、最大値、最小値、中央値、または、分散など)などであるが、それ以外の特徴量であっても良い。   Next, the configuration of the feature amount detection unit 411 will be described with reference to FIG. The buffer 421 of the feature amount detection unit 411 temporarily stores an image signal as an input signal and supplies the image signal to the processing unit 413. The feature quantity extraction unit 422 extracts the two types of feature quantities selected by the feature quantity selection unit 423 from the image signal as an input signal, and outputs the extracted feature quantity to the process determination unit 412. The feature quantity selection unit 423 supplies information specifying the feature quantity to be extracted from the input signal to the feature quantity extraction unit 422 based on the operation signal input from the operation unit 402. Examples of selectable feature amounts include, for example, a luminance value for each pixel of the image signal, Laplacian, Sobel, inter-frame difference, inter-field difference, background difference, and a value (sum total) obtained from each feature amount within a predetermined range. , Average, dynamic range, maximum value, minimum value, median value, variance, etc.), but other feature quantities may be used.

次に、図57を参照して、処理決定部412の構成について説明する。処理決定部412の特徴量認識部431は、特徴量検出部421より入力されてくる複数の特徴量の種類を認識し、認識した特徴量の種類を示す情報と共に、その特徴量そのものを処理内容決定部432に出力する。処理内容決定部432は、特徴量認識部431より入力される特徴量の種類を示す情報と、特徴量そのものに基づいて、処理内容データベース433に記憶されている各特徴量毎に予め設定されている処理内容を決定し、決定した処理内容を処理部413に出力する。   Next, the configuration of the process determining unit 412 will be described with reference to FIG. The feature amount recognition unit 431 of the processing determination unit 412 recognizes the plurality of feature amount types input from the feature amount detection unit 421, and processes the feature amount itself together with information indicating the recognized feature amount type. The data is output to the determination unit 432. The processing content determination unit 432 is preset for each feature amount stored in the processing content database 433 based on information indicating the type of feature amount input from the feature amount recognition unit 431 and the feature amount itself. The determined processing content is determined, and the determined processing content is output to the processing unit 413.

次に、図58を参照して、処理部413の構成について説明する。処理部413の処理内容認識部441は、処理決定部412より入力されてくる処理内容を認識し、認識した処理を実行するように処理実行部442に対して指令する。処理実行部442は、処理内容認識部441からの各画素毎の指令に基づいて、バッファ421を介して入力される入力信号に対して、指定された処理を施し、表示部202で表示可能な画像信号に変換して表示部403に出力し、表示させる。   Next, the configuration of the processing unit 413 will be described with reference to FIG. The processing content recognition unit 441 of the processing unit 413 recognizes the processing content input from the processing determination unit 412 and instructs the processing execution unit 442 to execute the recognized processing. The process execution unit 442 performs a specified process on the input signal input via the buffer 421 based on a command for each pixel from the process content recognition unit 441 and can be displayed on the display unit 202. It is converted into an image signal and output to the display unit 403 for display.

尚、図55の最適化装置401は、画像信号よりテロップを抽出するものであるので、処理内容は、各画素毎にテロップ部分として抽出するか否か(表示させるか否か)の処理となるが、それ以外の処理を画像信号に施すようにさせても良いし、テロップ部分と認識された画素については、入力信号がそのまま出力され、テロップ部分以外と認識された画素については、出力しないようにする処理であっても良い。また、ここでは、説明を簡単にするために、入力信号として入力される画像が1フレームの静止画であるものとする。但し、図55の最適化装置401は、動画にも適用可能である。   55 is for extracting a telop from an image signal, the processing content is whether or not to extract a telop part for each pixel (whether or not to display it). However, other processing may be performed on the image signal, and the input signal is output as it is for the pixel recognized as the telop part, and the pixel recognized as other than the telop part is not output. It may be a process to make. In addition, here, in order to simplify the description, it is assumed that an image input as an input signal is a one-frame still image. However, the optimization apparatus 401 in FIG. 55 can also be applied to moving images.

次に、図59のフローチャートを参照して、図55の最適化装置によるテロップ抽出最適化処理について説明する。   Next, the telop extraction optimization process by the optimization apparatus of FIG. 55 will be described with reference to the flowchart of FIG.

ステップS331において、特徴量検出部411の特徴量抽出部422は、特徴量選択部423より2種類の特徴量が選択されたか否かを判定し、選択されるまでその処理を繰り返す。すなわち、ユーザが、操作部402を操作することにより入力されてくる特徴量の種類に応じた操作信号に基づいて、特徴量選択部423が選択された特徴量を示す情報を特徴量抽出部422に入力するまで、ステップS331の処理が繰り返される。例えば、特徴量選択部423より特徴量を選択する情報が入力されたと判定された場合、すなわち、ユーザが操作部402を操作して、2種類の特徴量を選択したと判定した場合、その処理は、ステップS332に進む。   In step S331, the feature quantity extraction unit 422 of the feature quantity detection unit 411 determines whether or not two types of feature quantities have been selected by the feature quantity selection unit 423, and repeats the processing until they are selected. That is, information indicating the feature quantity selected by the feature quantity selection unit 423 based on the operation signal according to the type of feature quantity input by the user operating the operation unit 402 is the feature quantity extraction unit 422. The process of step S331 is repeated until it is input. For example, when it is determined that information for selecting a feature amount is input from the feature amount selection unit 423, that is, when it is determined that the user has operated the operation unit 402 to select two types of feature amounts, the processing Advances to step S332.

ステップS332において、特徴量抽出部422は、選択された2種類の特徴量を入力信号としての画像信号より各画素毎に抽出し、処理決定部412に出力する。このとき、バッファ421には、入力信号としての画像信号が記憶される。   In step S <b> 332, the feature amount extraction unit 422 extracts the two types of selected feature amounts for each pixel from the image signal as an input signal, and outputs the extracted signal to the processing determination unit 412. At this time, the buffer 421 stores an image signal as an input signal.

ステップS333において、処理決定部412は、入力された2種類の特徴量に基づいて各画素毎に処理内容を決定して処理部413に出力する。より詳細には、特徴量認識部431が、入力された2種類の特徴量を識別して、識別した特徴量の種類と、特徴量そのものを処理決定部412に出力する。さらに、処理決定部412は、各画素毎に入力された2種類の特徴量から処理内容を決定する。より具体的には、処理内容データベース433には、任意の2種類の特徴量Aと特徴量Bの組合せとして(特徴量A,特徴量B)毎に、その特徴量AとBの各値と、その特徴量AとBを有する画素に対する処理内容(今の場合、テロップであるか無いかの情報)とを対応付けたLUT(Look Up Table)と呼ばれるテーブルが記憶されており、処理内容決定部432は、いま処理しようとしている注目画素の(特徴量A,特徴量B)の組合せに基づいて、LUTを参照し、対応する処理、すなわち、テロップとして処理するか否かを決定して処理部413に出力する。尚、このLUTは、例えば、予めテロップのみの画像から、複数の特徴量を抽出し、その組合せをテロップであるという情報に対応付けることによって生成される。また、LUTの詳細については後述する。   In step S <b> 333, the process determining unit 412 determines the processing content for each pixel based on the two types of input feature amounts and outputs the determined process content to the processing unit 413. More specifically, the feature quantity recognition unit 431 identifies the two types of input feature quantities, and outputs the identified feature quantity types and the feature quantities themselves to the process determination unit 412. Further, the process determination unit 412 determines the process contents from the two types of feature amounts input for each pixel. More specifically, in the processing content database 433, each value of the feature amounts A and B is stored as a combination of any two types of feature amounts A and B (feature amount A and feature amount B). A table called LUT (Look Up Table) that associates the processing contents (information about whether or not a telop in this case) with respect to the pixels having the feature amounts A and B is stored, and the processing contents are determined. The unit 432 refers to the LUT based on the combination of (feature amount A, feature amount B) of the target pixel to be processed now, and determines whether to process the corresponding process, that is, as a telop. To the unit 413. The LUT is generated, for example, by extracting a plurality of feature amounts from an image containing only a telop in advance and associating the combination with information indicating a telop. Details of the LUT will be described later.

ステップS334において、処理部413は、処理決定部412より入力された処理内容に従ってバッファ421を介して入力される入力信号としての画像信号を処理し、表示部403に表示可能な画像信号に変換して、表示部403に出力して、表示させる。より詳細には、処理部413の処理内容認識部441は、処理決定部412より入力された処理内容を認識して、対応する画素に対して決定された処理を実行するように処理実行部442に指令する。処理実行部442は、バッファ421に記憶された入力信号としての画像信号を読出し、各画素毎に対応する処理を実行した後、表示部403で表示可能な画像信号に変換して、表示部403に出力すると共に表示させる。   In step S 334, the processing unit 413 processes the image signal as an input signal input via the buffer 421 according to the processing content input from the processing determination unit 412, and converts the image signal into an image signal that can be displayed on the display unit 403. Are output to the display unit 403 and displayed. More specifically, the processing content recognition unit 441 of the processing unit 413 recognizes the processing content input from the processing determination unit 412 and executes the processing determined for the corresponding pixel. To The processing execution unit 442 reads an image signal as an input signal stored in the buffer 421, executes processing corresponding to each pixel, converts the image signal into an image signal that can be displayed on the display unit 403, and displays the image signal on the display unit 403. Are output and displayed.

ステップS335において、特徴量検出部411は、テロップが抽出されているとみなされているか否かを判定する。すなわち、ユーザが、表示部403に表示された画像を見て、テロップが抽出されていると判断されないとき、再度特徴量の組合せを変更してテロップ抽出処理をしようとするように操作部402を操作する。この操作に対応する操作部402からの操作信号が入力されたとき、その処理は、ステップS331に戻り、それ以降の処理が繰り返される。   In step S335, the feature amount detection unit 411 determines whether it is considered that a telop has been extracted. That is, when the user looks at the image displayed on the display unit 403 and does not determine that a telop has been extracted, the operation unit 402 is changed so that the telop extraction process is performed again by changing the combination of feature amounts. Manipulate. When an operation signal from the operation unit 402 corresponding to this operation is input, the processing returns to step S331, and the subsequent processing is repeated.

一方、ユーザの主観によりテロップが抽出されていると判定されるとき、ユーザが、操作部402を操作することにより処理の終了を示す操作信号が特徴量検出部421に入力され、このとき、処理は終了する。   On the other hand, when it is determined that the telop is extracted by the user's subjectivity, the user operates the operation unit 402 to input an operation signal indicating the end of the process to the feature amount detection unit 421. Ends.

すなわち、上述の処理により、ユーザが、表示部403に表示される画像を見て、テロップが抽出されていると判断できるまで、ステップS331乃至S335の処理が繰り返されることにより、ユーザにとって最適な特徴量の組合せを設定し、入力信号としての画像信号からテロップを抽出させるようにすることができる。尚、上述において、処理内容を決定するために、2種類の特徴量を用いていたが、それ以外の数の種類の特徴量により処理内容を決定するようにしても良い。また、ステップS331の処理においては、ユーザによる操作部402の所定の操作(例えば、アップダウンを指定するボタン操作など)に対応した操作信号により、所定の順序で複数の特徴量の組合せが、順次切り替わるようにして、ユーザが特に特徴量の種類を意識しなくても特徴量を切替えて入力することができるようにしてもよい。   That is, by the above process, the process of steps S331 to S335 is repeated until the user can determine that the telop has been extracted by looking at the image displayed on the display unit 403, so that the optimum feature for the user can be obtained. A combination of quantities can be set so that a telop can be extracted from an image signal as an input signal. In the above description, two types of feature quantities are used to determine the processing contents. However, the processing contents may be determined based on other types of feature quantities. Further, in the processing of step S331, a combination of a plurality of feature amounts is sequentially performed in a predetermined order by an operation signal corresponding to a predetermined operation (for example, a button operation for designating up / down) by the user. Switching may be made so that the user can switch and input the feature amount without being particularly aware of the type of the feature amount.

以上の処理においては、ユーザによる操作部402の操作に応じて、特徴量検出部411で検出される特徴量の種類が、処理部413においてテロップが検出されるように変更される。この特徴量検出部411で検出される特徴量の種類の変更は、処理決定部における処理内容の決定アルゴリズムの変更を示すことになるので、特徴量検出部411においても「処理の構造」が変更されているといえる。   In the above processing, according to the operation of the operation unit 402 by the user, the type of feature amount detected by the feature amount detection unit 411 is changed so that the processing unit 413 detects a telop. Since the change in the type of feature quantity detected by the feature quantity detection unit 411 indicates a change in the algorithm for determining the processing content in the process determination unit, the “process structure” is also changed in the feature quantity detection unit 411. It can be said that.

また、特徴量検出部411では、上述したように、各種の特徴量の検出が可能であるが、この特徴量の中には、その検出を行うのに、例えば、ラプラシアンなどのように、フィルタ係数などのパラメータの設定が必要なものが存在する。特徴量の検出のためのパラメータは、操作部402の操作に対応して変更可能なようにすることができるが、このパラメータの変更によれば、特徴量検出部411で検出される特徴量の種類自体は変わらないが、検出される特徴量の値は変化する。従って、この特徴量の検出のためのパラメータの変更は、特徴量検出部411の「処理の内容」の変更と言うことができる。   Further, as described above, the feature amount detection unit 411 can detect various feature amounts. In this feature amount, a filter such as a Laplacian is used to detect the feature amount. There are those that need to set parameters such as coefficients. The parameter for detecting the feature amount can be changed according to the operation of the operation unit 402. According to the change of the parameter, the feature amount detected by the feature amount detection unit 411 is changed. The type itself does not change, but the detected feature value changes. Therefore, it can be said that the change of the parameter for detecting the feature amount is a change of the “processing contents” of the feature amount detection unit 411.

次に、図60を参照して、図55の最適化装置401に内部情報生成部511を設けた最適化装置501の構成について説明する。図60の最適化装置501においては、内部情報生成部511を設けた以外の構成については、基本的に図55の最適化装置401と同様である。   Next, the configuration of the optimization apparatus 501 provided with the internal information generation unit 511 in the optimization apparatus 401 of FIG. 55 will be described with reference to FIG. The optimization apparatus 501 in FIG. 60 is basically the same as the optimization apparatus 401 in FIG. 55 except for the internal information generation unit 511.

最適化装置501の内部情報生成部511は、内部情報として、例えば、特徴量検出部411の特徴量選択部423より出力される特徴量選択情報を抽出し、今現在選択された特徴量の種類を表示部403に表示させる。   The internal information generation unit 511 of the optimization device 501 extracts, as internal information, for example, feature quantity selection information output from the feature quantity selection unit 423 of the feature quantity detection unit 411, and the type of feature quantity currently selected Is displayed on the display unit 403.

ここで、図61のフローチャートを参照して、最適化装置501によるテロップ抽出最適化処理について説明する。   Here, the telop extraction optimization processing by the optimization apparatus 501 will be described with reference to the flowchart of FIG.

尚、この処理は、図59のフローチャートを参照して説明した、図55の最適化装置401によるテロップ抽出最適化処理と基本的には同様の処理であり、選択された特徴量の種類を示す情報が表示される処理が加えられた点が異なる。   This process is basically the same as the telop extraction optimization process performed by the optimization apparatus 401 in FIG. 55 described with reference to the flowchart in FIG. 59, and indicates the type of the selected feature amount. The difference is that processing to display information has been added.

すなわち、ステップS341において、特徴量検出部411の特徴量抽出部422は、特徴量選択部423より2種類の特徴量が選択されたか否かを判定し、選択されるまでその処理を繰り返す。例えば、特徴量選択部423より特徴量を選択する情報が入力されたと判定された場合、すなわち、ユーザが操作部402を操作して、2種類の特徴量を選択したと判定した場合、その処理は、ステップS342に進む。   That is, in step S341, the feature amount extraction unit 422 of the feature amount detection unit 411 determines whether or not two types of feature amounts are selected by the feature amount selection unit 423, and repeats the processing until they are selected. For example, when it is determined that information for selecting a feature amount is input from the feature amount selection unit 423, that is, when it is determined that the user has operated the operation unit 402 to select two types of feature amounts, the processing Advances to step S342.

ステップS342において、内部情報生成部511は、選択された2種類の特徴量の種類を示す情報を特徴量選択部423より抽出し、選択された2種類の特徴量の種類の名称を表示部403に表示させる。   In step S <b> 342, the internal information generation unit 511 extracts information indicating the types of the two selected feature amounts from the feature amount selection unit 423, and displays the names of the selected two types of feature amounts. To display.

以下、ステップS343乃至S346において、図59のステップS332乃至S335における場合と、それぞれ同様の処理が行われる。   Thereafter, in steps S343 to S346, the same processing as in steps S332 to S335 of FIG. 59 is performed.

図61の処理によれば、特徴量検出部411の処理に関する内部情報である現在選択されている特徴量の種類が表示(呈示)されるので、ユーザは、現在選択されている特徴量の種類を把握しながら、入力信号としての画像信号からテロップを精度良く抽出することができるような最適な特徴量の組合せを設定することができる。   According to the processing in FIG. 61, the type of the currently selected feature amount, which is internal information related to the processing of the feature amount detection unit 411, is displayed (presented), so that the user can select the type of the feature amount currently selected. Thus, it is possible to set an optimum combination of feature quantities that can accurately extract a telop from an image signal as an input signal.

尚、内部情報生成部511では、例えば、特徴量検出部411で検出された各画素のついての2種類の特徴量の値の分布を、内部情報として生成し、表示部403において、後述する図65や図67に示すように表示させるようにすることが可能である。   Note that the internal information generation unit 511 generates, for example, a distribution of two types of feature value values for each pixel detected by the feature value detection unit 411 as internal information. It is possible to display as shown in FIG.

また、上述したように、操作部402の操作に応じて、特徴量の検出のためのパラメータを変更する場合には、内部情報生成部511では、そのパラメータを内部情報として、表示部403に表示(呈示)させるようにすることも可能である。   As described above, when a parameter for feature amount detection is changed in accordance with an operation of the operation unit 402, the internal information generation unit 511 displays the parameter as internal information on the display unit 403. It is also possible to (present).

次に、図62を参照して、図60の内部情報生成部511に替えて、処理決定部412から内部情報を生成する内部情報生成部611を設けるようにした最適化装置601の構成例について説明する。   Next, with reference to FIG. 62, a configuration example of the optimization apparatus 601 in which an internal information generation unit 611 that generates internal information from the processing determination unit 412 is provided instead of the internal information generation unit 511 of FIG. explain.

図62の最適化装置601は、図60の内部情報生成部511に替えて、内部情報生成部611を設けたこと以外は、図60の最適化装置501と同様に構成されている。   The optimization apparatus 601 in FIG. 62 has the same configuration as the optimization apparatus 501 in FIG. 60 except that an internal information generation unit 611 is provided instead of the internal information generation unit 511 in FIG.

内部情報生成部611は、内部情報として、例えば、処理決定部412の処理内容決定部432により決定された処理内容と、実際に検出された2種類の特徴量に基づいて、2種類の特徴量を軸とした時のテロップ抽出された画素と、テロップ抽出されなかった画素の分布図(例えば、図65,図67)を生成し、表示部403に表示させる。   The internal information generation unit 611 uses, as internal information, for example, two types of feature amounts based on the processing content determined by the processing content determination unit 432 of the processing determination unit 412 and the two types of feature amounts actually detected. A distribution map (for example, FIG. 65 and FIG. 67) of the telop-extracted pixels and the telop-extracted pixels with the axis as the axis is generated and displayed on the display unit 403.

次に、図63のフローチャートを参照して、図62の最適化装置601によるテロップ抽出最適化処理について説明する。   Next, the telop extraction optimization process by the optimization apparatus 601 in FIG. 62 will be described with reference to the flowchart in FIG.

尚、この処理は、図61のフローチャートを参照して説明した、図60の最適化装置501によるテロップ抽出最適化処理と基本的には同様の処理であり、選択された2種類の特徴量を軸とした、画素がテロップ抽出されたか否かの分布が表示される処理が加えられた点が異なる。   Note that this process is basically the same process as the telop extraction optimization process performed by the optimization apparatus 501 in FIG. 60 described with reference to the flowchart in FIG. The difference is that a process for displaying the distribution of whether or not a pixel is telop extracted as an axis is added.

すなわち、ステップS351において、特徴量検出部411の特徴量抽出部422は、特徴量選択部423より2種類の特徴量が選択されたか否かを判定し、選択されるまでその処理を繰り返す。例えば、特徴量選択部423より特徴量を選択する情報が入力されたと判定された場合、すなわち、ユーザが操作部402を操作して、2種類の特徴量を選択したと判定した場合、その処理は、ステップS352に進む。   That is, in step S351, the feature quantity extraction unit 422 of the feature quantity detection unit 411 determines whether or not two types of feature quantities are selected by the feature quantity selection unit 423, and repeats the processing until they are selected. For example, when it is determined that information for selecting a feature amount is input from the feature amount selection unit 423, that is, when it is determined that the user has operated the operation unit 402 to select two types of feature amounts, the processing Advances to step S352.

ステップS352において、特徴量抽出部422は、選択された2種類の特徴量を入力信号としての画像信号より各画素毎に抽出し、処理決定部412に出力する。このとき、バッファ421には、入力信号としての画像信号が記憶される。   In step S <b> 352, the feature amount extraction unit 422 extracts the two types of selected feature amounts for each pixel from the image signal as an input signal, and outputs the extracted signal to the processing determination unit 412. At this time, the buffer 421 stores an image signal as an input signal.

ステップS353において、処理決定部412は、入力された2種類の特徴量に基づいて各画素毎に処理内容を決定して処理部413に出力する。   In step S353, the processing determination unit 412 determines the processing content for each pixel based on the two types of input feature amounts, and outputs the processing content to the processing unit 413.

ステップS354において、処理部413は、処理決定部412より入力された処理内容に従ってバッファ421より読み出される入力信号としての画像信号を処理し、表示部403に表示可能な画像信号に変換して、表示部403に出力して、表示させる。   In step S354, the processing unit 413 processes the image signal as an input signal read from the buffer 421 according to the processing content input from the processing determination unit 412, converts the image signal into an image signal that can be displayed on the display unit 403, and displays the image signal. The data is output to the unit 403 and displayed.

ステップS355において、内部情報生成部611は、処理決定部412の処理内容決定部により決定された処理内容を、2種類の特徴量を軸として、プロットした分布図を、内部情報として生成し、表示部403に表示させる。   In step S355, the internal information generation unit 611 generates, as internal information, a distribution map in which the processing content determined by the processing content determination unit of the processing determination unit 412 is plotted with two types of feature amounts as axes. This is displayed on the part 403.

ステップS356において、特徴量検出部411は、テロップが抽出されているとみなされているか否かを判定する。ステップS356において、ユーザの操作に対応する操作部202からの操作信号が入力され、テロップが抽出されていないとみなされたとき、その処理は、ステップS351に戻り、それ以降の処理が繰り返される。   In step S356, the feature amount detection unit 411 determines whether it is considered that a telop has been extracted. In step S356, when an operation signal from the operation unit 202 corresponding to the user's operation is input and it is determined that no telop is extracted, the process returns to step S351, and the subsequent processes are repeated.

一方、ステップS356において、ユーザが、操作部402を操作することにより処理の終了を示す操作信号が特徴量検出部421に入力されたとき、処理は終了する。   On the other hand, in step S356, when the user operates the operation unit 402 to input an operation signal indicating the end of the process to the feature amount detection unit 421, the process ends.

すなわち、例えば、図64で示すような入力信号としての画像信号が入力されたものとする。図64においては、背景画像(ここでは、テロップでない部分)に対して、図中中央に「タイトルABC」がテロップとして表示されている。   That is, for example, an image signal as an input signal as shown in FIG. 64 is input. In FIG. 64, “Title ABC” is displayed as a telop in the center of the figure for the background image (here, the portion that is not a telop).

ステップS355においては、内部情報生成部611は、図64で示すような画像信号から検出された2種類の特徴量をそれぞれ軸としてテロップとして抽出されたか否かを示す分布を、例えば、図65で示すような2次元分布図として表示する。   In step S355, the internal information generation unit 611 performs a distribution indicating whether or not two types of feature amounts detected from the image signal as illustrated in FIG. 64 are extracted as telops as axes, for example, in FIG. It is displayed as a two-dimensional distribution diagram as shown.

図65の例では、特徴量として選択されたものは、ラプラシアンとフレーム間差分の2種類となっており、図中丸印がテロップ抽出された画素を示し、バツ印がテロップ抽出されなかった画素を示す。図65の例では、テロップ抽出された画素と、テロップ抽出されなかった画素が分布上境目のない状態になっている(テロップの画素とテロップではない画素との分布が分かれていない)。このような分布となっている場合、テロップは背景画像から抽出されていないことが多く、例えば、図66で示すように、テロップ部分が境界ではなく、その周りに、境界621,622が生じるような状態となる。   In the example of FIG. 65, there are two types of features selected as feature quantities: Laplacian and inter-frame difference. Show. In the example of FIG. 65, the telop-extracted pixels and the non-telop-extracted pixels are in a state where there is no distribution upper boundary (the distribution of telop pixels and non-telop pixels is not separated). In such a distribution, the telop is often not extracted from the background image. For example, as shown in FIG. 66, the telop portion is not a boundary, and boundaries 621 and 622 are generated around it. It becomes a state.

このようなとき、ユーザは、テロップが抽出されていないと判定することに成り、結果として、ステップS351乃至S356の処理が繰り返されることになる。そして、この処理が繰り返されることにより、例えば、選択された特徴量がラプラシアン和(17画素×17画素)(注目画素を中心とした17画素×17画素範囲の画素の各ラプラシアンの総和)と輝度DR(各画素の輝度値の注目画素を中心とした17画素×17画素範囲の画素のダイナミックレンジ)となったとき、図67で示すように、分布図が生成されたとする。このとき、図67においては、テロップとして抽出された画素の分布と、テロップとして抽出されなかった画素の分布が視覚的に分かれた状態となっている。すなわち、特徴量としてラプラシアン和と輝度DRの組合せを選択した時に、入力画像のテロップとそれ以外の部分が分かれるように分布することが示されている。このような分布が得られた時、各画素から検出された特徴量としてのラプラシアン和と輝度DRを閾値処理等することにより、図68で示すように、テロップ部分を精度良く抽出することができる。   In such a case, the user determines that no telop has been extracted, and as a result, the processing in steps S351 to S356 is repeated. Then, by repeating this process, for example, the selected feature amount is the Laplacian sum (17 pixels × 17 pixels) (the sum of the Laplacians of the pixels in the 17 pixels × 17 pixel range centered on the target pixel) and the luminance. It is assumed that a distribution diagram is generated as shown in FIG. 67 when DR (dynamic range of pixels in a range of 17 pixels × 17 pixels centering on the target pixel of the luminance value of each pixel) is obtained. At this time, in FIG. 67, the distribution of pixels extracted as telops and the distribution of pixels not extracted as telops are visually separated. That is, when a combination of a Laplacian sum and a luminance DR is selected as a feature amount, it is shown that the telop and other portions of the input image are distributed so as to be separated. When such a distribution is obtained, the telop portion can be extracted with high accuracy as shown in FIG. 68 by performing threshold processing on the Laplacian sum and the luminance DR as the feature amounts detected from each pixel. .

このように、上述の処理により、ユーザが、表示部403に表示される画像と共に、選択された2種類の特徴量を軸とした2次元分布を見て、テロップが抽出されていると判断できるまで、ステップS351乃至S356の処理が繰り返されることにより、処理決定部412の処理に関する内部情報としての特徴量からみたテロップと検出された画素と、背景画素との分布が表示されることにより、ユーザは、特徴量からみたテロップと検出された画素と、背景画素との分布を把握しながら、入力信号としての画像信号からテロップを精度良く抽出することができるように操作部402を操作して、ユーザにとって最適な特徴量の組合せを設定することができる。   As described above, by the above-described processing, the user can determine that the telop has been extracted by looking at the two-dimensional distribution with the two selected feature amounts as axes along with the image displayed on the display unit 403. By repeating the processing of steps S351 to S356, the distribution of the telop, the detected pixel, and the background pixel as viewed from the feature amount as the internal information regarding the processing of the processing determination unit 412 is displayed. Operates the operation unit 402 so that the telop can be accurately extracted from the image signal as the input signal while grasping the distribution of the telop, the detected pixel, and the background pixel viewed from the feature amount, It is possible to set a combination of feature amounts that is optimal for the user.

次に、図69を参照して、図62で示した最適化装置601の処理決定部412に替えて、処理決定部711を設けた最適化装置701の構成について説明する。最適化装置701においては、処理決定部412に替えて、処理決定部711が設けられた以外の構成は、図62で示した最適化装置601と同様である。   Next, the configuration of an optimization apparatus 701 provided with a process determination unit 711 instead of the process determination unit 412 of the optimization apparatus 601 illustrated in FIG. 62 will be described with reference to FIG. The optimization apparatus 701 has the same configuration as that of the optimization apparatus 601 shown in FIG. 62 except that a process determination unit 711 is provided instead of the process determination unit 412.

処理決定部711は、操作部702(操作部402と同じもの)からの操作信号に基づいて、処理内容データベース433のLUTの内容を変更すると共に、特徴量検出部411より入力された特徴量に基づいて、後段の処理部413が画像信号に対して施す処理を画素単位で決定し、決定した処理内容を処理部413に出力する。   The processing determination unit 711 changes the contents of the LUT in the processing content database 433 based on an operation signal from the operation unit 702 (the same as the operation unit 402), and changes the feature amount input from the feature amount detection unit 411. Based on this, the processing unit 413 in the subsequent stage determines the processing to be performed on the image signal in units of pixels, and outputs the determined processing content to the processing unit 413.

次に、図70を参照して、処理決定部711について説明する。基本的な構成は、図50の処理決定部412と同様であるが、処理内容決定部432に替えて、処理内容決定部721が設けられている。処理内容決定部721は、操作部702より入力された操作信号に基づいて、処理内容データベース433に記憶された2種類の特徴量の組合せ毎に処理内容が決定されているLUTを変更する。より詳細には、入力信号としての画像信号をそのまま表示した状態で、操作部202によりテロップとして指定された領域の画素の特徴量をテロップとみなし、それ以外の領域をテロップ以外の処理をするようにLUTを設定する。   Next, the processing determination unit 711 will be described with reference to FIG. The basic configuration is the same as that of the processing determination unit 412 in FIG. 50, but a processing content determination unit 721 is provided instead of the processing content determination unit 432. The processing content determination unit 721 changes the LUT in which the processing content is determined for each combination of two types of feature amounts stored in the processing content database 433 based on the operation signal input from the operation unit 702. More specifically, with the image signal as the input signal displayed as it is, the feature amount of the pixel designated as the telop by the operation unit 202 is regarded as a telop, and the other areas are processed other than the telop. Set the LUT to.

LUTが変更された後、処理内容決定部721は、特徴量認識部431より入力される特徴量を識別する情報と、特徴量そのものに基づいて、処理内容データベース433に記憶されている各特徴量毎に予め設定されている処理内容を決定し、決定した処理内容を処理部413に出力する。   After the LUT is changed, the processing content determination unit 721 determines each feature amount stored in the processing content database 433 based on the information identifying the feature amount input from the feature amount recognition unit 431 and the feature amount itself. The processing content set in advance is determined every time, and the determined processing content is output to the processing unit 413.

次に、図71のフローチャートを参照して、図69の最適化装置701によるテロップ抽出最適化処理について説明する。   Next, the telop extraction optimization process by the optimization apparatus 701 in FIG. 69 will be described with reference to the flowchart in FIG.

ステップS361において、入力信号としての画像信号がそのまま表示部403に表示される。より詳細には、特徴量検出部411のバッファ421が、入力信号としての画像信号を受信して記憶し、処理部413が、バッファ421に記憶されている入力信号としての画像信号をそのまま読出し、処理すること無く、そのまま表示部403に出力して、表示させる。   In step S361, the image signal as the input signal is displayed on the display unit 403 as it is. More specifically, the buffer 421 of the feature quantity detection unit 411 receives and stores the image signal as the input signal, and the processing unit 413 reads the image signal as the input signal stored in the buffer 421 as it is, Without processing, the data is output to the display unit 403 as it is and displayed.

ステップS362において、処理決定部711の処理内容決定部721は、操作部702よりテロップと背景が指示されたか否かを判定する。すなわち、例えば、ステップS361の処理で、図72で示すように処理されていない画像信号が表示されていたものとする。このとき、ユーザが操作部702を介してポインタ741を操作して(ドラッグ、または、クリックするなどして)、範囲742などにより大雑把にテロップ部分を指定するなどして、例えば、図73で示すように、テロップ部752と図72の範囲742の外側部分の背景部751が指定されるまでその処理を繰り返し、テロップと背景部が指示されたとき、指示されたそれぞれの対応する画素位置を内蔵するメモリ(図示せず)に記憶し、その処理は、ステップS363に進む。   In step S362, the processing content determination unit 721 of the processing determination unit 711 determines whether a telop and a background are instructed from the operation unit 702. That is, for example, it is assumed that an unprocessed image signal is displayed in the process of step S361 as shown in FIG. At this time, the user operates the pointer 741 via the operation unit 702 (by dragging or clicking), and roughly specifies the telop part by the range 742 or the like, for example, as shown in FIG. As described above, the processing is repeated until the background portion 751 of the outer portion of the telop portion 752 and the range 742 in FIG. 72 is designated, and when the telop and the background portion are designated, the designated corresponding pixel positions are incorporated. Stored in a memory (not shown), and the process proceeds to step S363.

ステップS363において、特徴量検出部421の特徴量選択部423は、操作部202より所定の2種類の特徴量を選択する操作信号が入力されたか否かを判定し、所定の2種類の特徴量が指定されるまでその処理を繰り返し、所定の2種類の特徴量が選択されたとき、その処理は、ステップS364に進む。   In step S363, the feature amount selection unit 423 of the feature amount detection unit 421 determines whether or not an operation signal for selecting two predetermined types of feature amounts has been input from the operation unit 202, and the two predetermined types of feature amounts. The process is repeated until “” is specified, and when two predetermined feature amounts are selected, the process proceeds to step S364.

ステップS364において、特徴量抽出部422は、特徴量選択部423に入力された特徴量の種類を選択する情報に基づいて、入力信号から選択された2種類の特徴量を抽出して処理決定部711に出力する。   In step S364, the feature amount extraction unit 422 extracts the two types of feature amounts selected from the input signal based on the information for selecting the type of feature amount input to the feature amount selection unit 423, and performs a process determination unit. To 711.

ステップS365において、内部情報生成部611は、処理決定部711に入力された2種類の特徴量と、テロップと背景に指定された画素位置の情報に基づいて、2種類の特徴量を軸とした2次元分布図を生成し、ステップS366において、その2次元分布図を表示部403に表示する。より詳細には、処理決定部711の特徴量認識部431が特徴量の種類を認識し、その種類を示す情報と特徴量そのものを処理内容決定部721に出力し、処理内容決定部721が、特徴量とその種類を示す情報に加えて、テロップと背景に指定された画素位置を示す情報を内部情報生成部611に出力することにより、内部情報生成部611が、テロップと背景に指定された画素位置を示す情報に基づいて、例えば、図74で示すような特徴量の2次元分布図を生成する。すなわち、図74の例では、ラプラシアンとフレーム間差分が特徴量として選択されている例が示されているが、図中丸印がテロップの画素を示し、図中バツ印が背景として指定された画素を示している。図74の2次元分布図においては、例えば、所定の画素について、ラプラシアンがXという値で検出され、フレーム間差分がYという値で検出され、その画素がテロップとして指定されているとき、2次元分布上の(X,Y)の位置に丸印が表示されるようになっており、背景が指定されているとき、同位置にバツ印が表示されるようになっている。   In step S365, the internal information generation unit 611 uses the two types of feature amounts as the axes based on the two types of feature amounts input to the processing determination unit 711 and the pixel position information designated as the telop and the background. A two-dimensional distribution chart is generated, and the two-dimensional distribution chart is displayed on the display unit 403 in step S366. More specifically, the feature amount recognition unit 431 of the processing determination unit 711 recognizes the type of feature amount, outputs information indicating the type and the feature amount itself to the processing content determination unit 721, and the processing content determination unit 721 In addition to the information indicating the feature amount and its type, the internal information generation unit 611 is designated as the telop and the background by outputting the information indicating the pixel position designated as the telop and the background to the internal information generation unit 611. Based on the information indicating the pixel position, for example, a two-dimensional distribution map of feature amounts as shown in FIG. 74 is generated. That is, in the example of FIG. 74, an example is shown in which the Laplacian and the inter-frame difference are selected as the feature amount, but the circle mark in the figure indicates the telop pixel and the cross mark in the figure is designated as the background. Is shown. In the two-dimensional distribution diagram of FIG. 74, for example, when a Laplacian is detected with a value of X and a difference between frames is detected with a value of Y for a given pixel, the pixel is designated as a telop. A circle is displayed at a position (X, Y) on the distribution, and when a background is designated, a cross is displayed at the same position.

ステップS367において、処理内容決定部721は、テロップと背景が分離されていると判定されたことを示す操作信号が入力されたか否かを判定する。すなわち、例えば、図74で示すような2次元分布の場合、テロップを示す丸印の分布と、背景を示すバツ印の分布は、完全に分離されているとは言えない状態のため、当然のことながら表示画面上でもテロップが抽出されていることが期待できず、例えば、図73で示すように、背景部751とテロップ部752とは別に境界753が生じるなどして、背景とテロップが分かれていない状態であることが多い。このようにユーザからみてテロップが抽出できていないと判定される場合、ユーザが再度特徴量を変更しようとするとき、ユーザの操作に応じて操作部702は、分離されていないことを示す操作信号を処理決定部711の処理内容決定部721に出力する。この場合、ステップS367において、テロップと背景が分離されていると判定されたことを示す操作信号が入力されなかったと判定され、その処理は、ステップS363に戻り、それ以降の処理が繰り返される。この処理により、再び、2種類の特徴量が選択されることになる。   In step S367, the processing content determination unit 721 determines whether an operation signal indicating that it is determined that the telop and the background are separated is input. That is, for example, in the case of a two-dimensional distribution as shown in FIG. 74, the distribution of the circles indicating the telop and the distribution of the crosses indicating the background are not completely separated. In fact, it cannot be expected that a telop is extracted even on the display screen. For example, as shown in FIG. 73, a background 751 and a telop part 752 cause a boundary 753 to separate the background and the telop. It is often not in the state. When it is determined that the telop is not extracted from the viewpoint of the user as described above, when the user tries to change the feature amount again, the operation unit 702 indicates that the operation unit 702 is not separated according to the user's operation. Is output to the processing content determination unit 721 of the processing determination unit 711. In this case, in step S367, it is determined that an operation signal indicating that it is determined that the telop and the background are separated is not input, and the process returns to step S363, and the subsequent processes are repeated. By this process, two types of feature amounts are selected again.

また、ステップS366の処理により、例えば、図75で示すように、テロップ部を示す丸印と、背景を示すバツ印がある程度分離された状態となった時、操作部702は、ユーザにより操作され、分離されていることを示す操作信号を処理決定部711の処理内容決定部721に出力する。この場合、ステップS367において、テロップと背景が分離されていると判定されたことを示す操作信号が入力されたと判定され、その処理は、ステップS368に進む。   Further, when the processing in step S366, for example, as shown in FIG. 75, the circle indicating the telop portion and the cross indicating the background are separated to some extent, the operation unit 702 is operated by the user. Then, an operation signal indicating separation is output to the processing content determination unit 721 of the processing determination unit 711. In this case, it is determined in step S367 that an operation signal indicating that it is determined that the telop and the background are separated is input, and the process proceeds to step S368.

ステップS368において、処理内容決定部721は、2次元分布上でテロップ部分が指示されたか否かを判定する。すなわち、図75で示すように、表示された分布上にポインタ741によりテロップを示す丸印が多く分布する範囲として、例えば、範囲761などを指定する操作信号が操作部702より入力されたか否かを判定し、範囲が指定されるまでその処理を繰り返し、指定されたと判定された場合、その処理は、ステップS369に進む。   In step S368, the processing content determination unit 721 determines whether or not a telop portion has been designated on the two-dimensional distribution. That is, as shown in FIG. 75, for example, whether or not an operation signal designating a range 761 or the like is input from the operation unit 702 as a range in which many circles indicating telops are distributed by the pointer 741 on the displayed distribution. The process is repeated until the range is specified. If it is determined that the range is specified, the process proceeds to step S369.

ステップS369において、処理内容決定部721は、操作部702より入力された図75の範囲761を指定する操作信号に基づいて、各特徴量の組合せに対応するテロップ抽出の有無を示すLUT上の処理内容を変更し、変更されたLUTに応じて処理内容を決定して処理部413に出力すると共に、処理部413は、入力された処理内容に従って、バッファ421を介して入力された入力信号としての画像信号からテロップを抽出して表示部403に表示させる。より詳細には、処理内容決定部721は、操作部702より入力された、図75で示すような2次元分布上の範囲を示す情報に基づいて、指定された範囲に分布する画素に対応する2種類の特徴量の組合せをテロップとして抽出するように、処理内容データベース433のLUTを更新し、更新したLUTに従って、各画素の処理内容を決定し、処理部413に出力する。   In step S369, the processing content determination unit 721 performs processing on the LUT indicating the presence / absence of telop extraction corresponding to each combination of feature amounts based on the operation signal designating the range 761 in FIG. 75 input from the operation unit 702. The content is changed, the processing content is determined according to the changed LUT, and is output to the processing unit 413. The processing unit 413 uses the input processing content as an input signal input via the buffer 421. A telop is extracted from the image signal and displayed on the display unit 403. More specifically, the processing content determination unit 721 corresponds to pixels distributed in a specified range based on information indicating a range on a two-dimensional distribution as illustrated in FIG. 75 input from the operation unit 702. The LUT of the processing content database 433 is updated so that a combination of two types of feature values is extracted as a telop, and the processing content of each pixel is determined according to the updated LUT and output to the processing unit 413.

ステップS370において、処理内容決定部721は、テロップが抽出されていると判定されているか否かを判定する。すなわち、ユーザからみてテロップが抽出されていると判断しているか、または、テロップが抽出されていないと判断しているかを判定する。例えば、図76で示すように、ステップS369の処理によって、表示部403に出力画像が表示されているとき、テロップ部と背景部の境界771,772は、テロップそのものではないので、完全にテロップが抽出されているとは言えない。そこで、ユーザからみて、このようにテロップが抽出されていないと判断されるとき、ユーザは、操作部702を操作して、テロップが抽出されていないことを示す操作信号を入力する。処理決定部711の処理内容決定部721は、この操作信号を受信したとき、ステップS370において、テロップが抽出されていないと判定し、その処理は、ステップS371に進む。   In step S370, the processing content determination unit 721 determines whether it is determined that a telop has been extracted. That is, it is determined whether it is determined that the telop is extracted from the viewpoint of the user, or whether it is determined that the telop is not extracted. For example, as shown in FIG. 76, when the output image is displayed on the display unit 403 by the process of step S369, the boundaries 771 and 772 between the telop part and the background part are not telops themselves. It cannot be said that it has been extracted. Therefore, when it is determined that the telop is not extracted from the viewpoint of the user, the user operates the operation unit 702 and inputs an operation signal indicating that the telop is not extracted. When receiving the operation signal, the processing content determination unit 721 of the processing determination unit 711 determines in step S370 that no telop has been extracted, and the processing proceeds to step S371.

ステップS371において、2次元分布上のテロップの範囲を指定し直すか否かが判定され、2次元分布上のテロップの範囲を指定し直さないことが選択されたと判定された場合、その処理は、ステップS368に戻り、それ以降の処理が繰り返される。   In step S371, it is determined whether or not to re-specify the telop range on the two-dimensional distribution, and if it is determined not to re-specify the telop range on the two-dimensional distribution, the process is as follows. Returning to step S368, the subsequent processing is repeated.

一方、ステップS370において、例えば、ステップS371の処理で、テロップの範囲を指定し直すことが選択された場合、ステップS368において、図77で示すように、図75の範囲761に比べて、テロップを示す丸印の分布の存在する部分をより小さく絞り込んだ範囲781(よりテロップとして抽出された丸印を多く含む部分を絞り込んだ範囲)を設定する。すなわち、図75において、特徴量の分布上の範囲761をテロップ部分として設定しても、結果として、図76に示すように、テロップ部と背景部の境界771,772は、テロップそのものではないので、完全にテロップが抽出されなかったことになる。   On the other hand, in step S370, for example, when re-designation of the telop range is selected in the process of step S371, the telop is compared with the range 761 of FIG. 75 in step S368 as shown in FIG. A range 781 in which a portion where the distribution of the circles shown is narrowed down is narrowed (a portion in which a portion including many circles extracted as telops is narrowed down) is set. That is, in FIG. 75, even if the range 761 on the distribution of the feature amount is set as the telop part, as a result, as shown in FIG. 76, the boundaries 771 and 772 between the telop part and the background part are not telops themselves. That is, the telop was not completely extracted.

そこで、ユーザは、操作部702を操作することにより、特徴量の分布上の範囲として(テロップ部分として指定する部分の範囲として)、範囲761よりも、狭い範囲781を設定する。このように範囲を設定することで、テロップとして抽出される特徴量の分布上の範囲は、絞り込まれたことになる、すなわち、より背景部分が排除されやすくなる。ただし、テロップとして抽出される範囲を狭くしすぎると、テロップ自身も抽出されにくくなるので、ユーザは、抽出されたテロップを見ながら、このような処理を繰り返すことにより最適なテロップの抽出状態を模索する。   Therefore, the user operates the operation unit 702 to set a range 781 narrower than the range 761 as a range on the feature amount distribution (as a range of a portion designated as a telop portion). By setting the range in this way, the range on the distribution of the feature amount extracted as a telop is narrowed down, that is, the background portion is more easily excluded. However, if the range to be extracted as a telop is made too narrow, the telop itself becomes difficult to be extracted, so the user searches for the optimum telop extraction state by repeating such processing while looking at the extracted telop. To do.

そして、例えば、図78で示すようにテロップが抽出された状態となったとき、ステップS370において、ユーザが、テロップが抽出されたものと判定したときは、ユーザにより操作部702が操作されて、テロップが抽出されていると判断していることを示す操作信号が、処理決定部711の処理内容決定部721に入力されることになるので、テロップが抽出されていると判定し、その処理は、終了する。   For example, when the telop is extracted as shown in FIG. 78, when the user determines in step S370 that the telop is extracted, the operation unit 702 is operated by the user, An operation signal indicating that it is determined that a telop has been extracted is input to the processing content determination unit 721 of the processing determination unit 711. Therefore, it is determined that a telop has been extracted, and the processing is as follows. ,finish.

また、ステップS371において、テロップの範囲を指定するのではないと判定された場合、その処理は、ステップS363に戻り、それ以降の処理が繰り返される。   If it is determined in step S371 that the telop range is not designated, the process returns to step S363, and the subsequent processes are repeated.

このような処理により、まず、ユーザが入力信号としての画像信号上でテロップと背景部と、2種類の特徴量を選択し、さらに、選択されたテロップと背景が、選択された特徴量を2軸としたときにどのように2次元分布するかを見て、2次元分布上でテロップの範囲を変えるか(絞り込むか)、または、選択する2種類の特徴量を変えて、さらに、抽出されるテロップをみながら、ユーザの好みの状態となるまで、処理を繰り返すことにより、ユーザの好みに合ったテロップ抽出処理を実現することができる。尚、ステップS362の処理で、テロップと背景処理が指示されたと判定されるとき、テロップと背景の範囲の指定は、その後、2種類の特徴量の選択や、2次元分布のテロップの絞込みの雛型となる情報を生成することができれば良いので、その範囲は、大雑把なもので良い。   By such processing, first, the user selects a telop, a background portion, and two types of feature amounts on the image signal as an input signal, and the selected telop and background select the selected feature amount by 2 Look at how the two-dimensional distribution is made when it is used as an axis, change the telop range on the two-dimensional distribution (narrow down), or change the two types of feature values to be extracted. By repeating the process until the user's preference is reached while viewing the telop, the telop extraction process that matches the user's preference can be realized. When it is determined in step S362 that telop and background processing has been instructed, the telop and background range is specified by selecting two types of feature values or narrowing down the telop of the two-dimensional distribution. Since it is only necessary to be able to generate information as a type, the range may be rough.

以上の処理においては、ユーザにより選択された2種類の特徴量の組合せに応じて、テロップであるか、または、背景であるかの処理に分かれることになるので、ユーザの操作により「処理の内容」が変更されることになる。   In the above processing, depending on the combination of the two types of feature values selected by the user, the processing is divided into processing of a telop or a background. "Will be changed.

また、以上の処理においては、操作部402において、2種類の特徴量を指定することにより特徴量の種類が決定されたが、例えば、図79で示すように、操作部702の所定の操作ボタンによりアップまたはダウンの指示を操作信号として送るだけで2種類の特徴量の組合せを変えられるようにしても良い。すなわち、初期状態として、状態Aで示す特徴量a,bの組合せにより処理を実行し、次に、ダウンを指示すると、状態Bで示す特徴量b,cの組合せにより処理を実行し、さらに、ダウンを指示すると、状態Cで示す特徴量c,dの組合せで処理を実行し、例えば、状態Cのとき、アップを指定すると状態Bに戻り、さらに、状態Bのとき、アップを指定すると状態Aに戻るようにしても良い。このようにすることで、ユーザは、特徴量の種類について、特に意識することなく、次々と特徴量を変えていくことができるので、効率的にテロップ抽出するための特徴量の組合せを絞り込むことが可能となる。   In the above processing, the type of feature amount is determined by designating two types of feature amounts in the operation unit 402. For example, as shown in FIG. 79, a predetermined operation button of the operation unit 702 is used. Thus, the combination of the two types of feature values may be changed simply by sending an up or down instruction as an operation signal. That is, as an initial state, processing is executed with a combination of feature quantities a and b shown in state A, and when a down instruction is given, processing is executed with a combination of feature quantities b and c shown in state B. When down is instructed, processing is executed with a combination of feature quantities c and d shown in state C. For example, in state C, if up is specified, the process returns to state B, and in state B, if up is specified, the state You may make it return to A. In this way, the user can change the feature values one after another without being particularly aware of the types of feature values, and thus narrow down the combination of feature values for efficient telop extraction. Is possible.

次に、図80を参照して、図55の最適化装置401の特徴量検出部411に替えて、既存の特徴量から新たな特徴量を生成することができる特徴量検出部811を設けた最適化装置801の構成について説明する。図80においては、図55の最適化装置401の特徴量検出部411に替えて、特徴量検出部811を設けた以外の構成については同様である。   Next, referring to FIG. 80, a feature quantity detection unit 811 capable of generating a new feature quantity from an existing feature quantity is provided in place of the feature quantity detection unit 411 of the optimization device 401 of FIG. The configuration of the optimization device 801 will be described. In FIG. 80, the configuration is the same except that the feature quantity detection unit 811 is provided instead of the feature quantity detection unit 411 of the optimization apparatus 401 in FIG.

尚、操作部802は、操作部402と同様のものである。   The operation unit 802 is the same as the operation unit 402.

図81を参照して、図80の特徴量検出部811の構成について説明する。特徴量検出部811においては、バッファ421、および、特徴量抽出部422は、図56で示した特徴量検出部411と同様である。特徴量選択部821は、操作部802から入力される特徴量を指定する操作情報に基づいて、特徴量抽出部422を制御して、予め用意された特徴量のうち指定された2種類の特徴量を抽出して、処理決定部413に出力させるか、または、特徴量データベース823に予め記憶されている特徴量を処理決定部413に出力する。より詳細には、特徴量データベース823には、特徴量の種類と、その特徴量の検出方法についての特徴量情報が記憶されている。特徴量抽出部422は、この特徴量情報に基づいて、特徴量選択部821により選択された特徴量の種類に対応する特徴量情報を特徴量データベース823から読み出して、その特徴量情報に記録されている特徴量の検出方法に従って、入力信号から選択された特徴量を検出する。   With reference to FIG. 81, the structure of the feature amount detection unit 811 in FIG. 80 will be described. In the feature quantity detection unit 811, the buffer 421 and the feature quantity extraction unit 422 are the same as the feature quantity detection unit 411 illustrated in FIG. 56. The feature quantity selection unit 821 controls the feature quantity extraction unit 422 based on the operation information designating the feature quantity input from the operation unit 802, and the two types of features designated among the feature quantities prepared in advance. The amount is extracted and output to the process determining unit 413, or the feature amount stored in advance in the feature amount database 823 is output to the process determining unit 413. More specifically, the feature amount database 823 stores feature amount information regarding the type of feature amount and a method for detecting the feature amount. Based on this feature quantity information, the feature quantity extraction unit 422 reads feature quantity information corresponding to the type of feature quantity selected by the feature quantity selection unit 821 from the feature quantity database 823 and records the feature quantity information in the feature quantity information. The feature quantity selected from the input signal is detected according to the feature quantity detection method.

予め用意された特徴量情報としては、各画素についての輝度値、ラプラシアン、ソーベル、フレーム間差分(例えば、注目画素(x,y)のフレーム間差分fS(x,y)は、fS(x,y)=f0(x,y)−f1(x,y)で表され、ここで、f0(x,y)は、現在の注目画素を示し、f1(x,y)は、空間上の同じ位置の1フレーム前の画素を示す)、フィールド間差分、背景差分、微分値(例えば、注目画素(x,y)の微分値fb(x,y)は、fb(x,y)=4×f0(x,y)−f0(x−1,y)−f0(x+1,y)−f0(x,y+1)−f0(x,y−1)で表され、ここで、f0(x,y)は、現在の注目画素を示し、f0(x−1,y),f0(x+1,y),f0(x,y+1),f0(x,y−1)は、それぞれ空間上のx,y方向に1画素ずつ離れた画素を示す)、および、所定範囲内の各特徴量から得られる値(総和、平均、ダイナミックレンジ、最大値、最小値、中央値、または、分散など)などがあるが、これ以外のものであっても良い。 As the feature amount information prepared in advance, the luminance value, Laplacian, Sobel, and inter-frame difference (for example, inter-frame difference f S (x, y) of the target pixel (x, y)) is f S ( x, y) = f 0 (x, y) −f 1 (x, y), where f 0 (x, y) indicates the current pixel of interest, and f 1 (x, y) Indicates a pixel one frame before at the same position in space), inter-field difference, background difference, and differential value (for example, the differential value f b (x, y) of the target pixel (x, y) is f b (X, y) = 4 × f 0 (x, y) −f 0 (x−1, y) −f 0 (x + 1, y) −f 0 (x, y + 1) −f 0 (x, y−1) ) Where f 0 (x, y) represents the current pixel of interest, and f 0 (x−1, y), f 0 (x + 1, y), f 0 (x, y + 1), f 0 (x, y-1 ) is And a value obtained from each feature quantity within a predetermined range (sum, average, dynamic range, maximum value, minimum value, median value, or , Dispersion, etc.), but other than these may be used.

特徴量加工部822は、ユーザから入力された操作信号に基づいて、特徴量データベース823に記憶された特徴量から新たな特徴量を生成する。より詳細には、特徴量加工部822は、ユーザから入力された操作信号に基づいて、特徴量データベース823に記憶された特徴量情報から新たな特徴量情報を生成し、その特徴量情報に基づいて特徴量抽出部422が新たな特徴量を抽出する。   The feature quantity processing unit 822 generates a new feature quantity from the feature quantities stored in the feature quantity database 823 based on the operation signal input from the user. More specifically, the feature amount processing unit 822 generates new feature amount information from the feature amount information stored in the feature amount database 823 based on the operation signal input from the user, and based on the feature amount information. Then, the feature quantity extraction unit 422 extracts a new feature quantity.

また、特徴量データベース823に特徴量の種類として特徴量A,B,Cの特徴量情報が記憶されているものとすると、特徴量AのDR(ダイナミックレンジ:注目画素に対して所定の位置に存在する複数の画素の特徴量Aの値を読出し、その最小値と最大値の差分となる値を各画素毎に求めることにより生成される値)を新たな特徴量A'に対応した特徴量情報としてもよいし、同様にして、最大値、中央値、最小値、和、分散、閾値以上の値をとる画素数(閾値も設定することが可能である)、または、複数の特徴量間の線形一次結合を求めて、新たな特徴量情報としてもよい。尚、複数の特徴量間の線形一次結合とは、例えば、所定の画素についてのラプラシアンがxa、ソーベルがxb,フレーム間差分がxcであり、この3種類の特徴量を線形一次結合させるとき、この3種類の各特徴量に係数を乗じて和を取ったもの、すなわち、A×xa+B×xb+C×xcが、この画素の新たな特徴量とするものである。ここで、A,B,Cは、係数であるが、この係数は、例えば、テロップ抽出の場合、操作部802によりテロップ部を大雑把に指定した範囲の画素を教師データとし、複数の特徴量を生徒データとした学習処理により、図43、および、図44で説明したようにして求めることができる。尚、図81においては、特徴量データベース823に記憶された特徴量は、特徴量A乃至Cが特徴量抽出部422により抽出された特徴量の種類を示し、特徴量A'乃至C'が、特徴量加工部822により特徴量A乃至Cから加工された特徴量の種類であるものとする(実際に記憶されているのは、とそれぞれの特徴量情報(特徴量の種類と、その検出方法を示す情報)である)。 Further, assuming that feature quantity information of feature quantities A, B, and C is stored as feature quantity types in the feature quantity database 823, a DR (dynamic range: feature range A) of the feature quantity A at a predetermined position with respect to the target pixel. A feature value corresponding to a new feature value A ′ is obtained by reading the value of the feature value A of a plurality of existing pixels and obtaining a value that is a difference between the minimum value and the maximum value for each pixel. Information may be used, and in the same way, the maximum value, median value, minimum value, sum, variance, the number of pixels that have a value greater than or equal to the threshold (the threshold can also be set), or between multiple feature quantities It is good also as new feature-value information by calculating | requiring the linear primary combination. The linear linear combination between a plurality of feature amounts is, for example, that a Laplacian for a predetermined pixel is x a , a Sobel is x b , and an interframe difference is x c , and these three types of feature amounts are linearly linearly combined. When these three types of feature amounts are multiplied by a coefficient, the sum, that is, A × x a + B × x b + C × x c is used as a new feature amount of this pixel. Here, A, B, and C are coefficients. For example, in the case of telop extraction, these coefficients are pixels in a range in which the telop part is roughly specified by the operation unit 802 as teacher data, and a plurality of feature amounts are obtained. It can be obtained as described in FIG. 43 and FIG. 44 by the learning process using the student data. In FIG. 81, the feature quantities stored in the feature quantity database 823 indicate the types of feature quantities in which the feature quantities A to C are extracted by the feature quantity extraction unit 422, and the feature quantities A ′ to C ′ are It is assumed that the type of feature amount processed from the feature amounts A to C by the feature amount processing unit 822 (what is actually stored is the feature amount information (type of feature amount and its detection method). Information).

特徴量データベース823に記憶される特徴量情報は、特徴量抽出部422により抽出されるタイミングで指定されたものを記憶させるようにしても良いし、予め特徴量データベース823に記憶されていた特徴量情報が特徴量加工部822により加工されたものであっても良いし、それ以外の方法で予め記憶させておくものであってもよい。   The feature amount information stored in the feature amount database 823 may be the one specified at the timing extracted by the feature amount extraction unit 422, or the feature amount stored in the feature amount database 823 in advance. Information may be processed by the feature amount processing unit 822, or may be stored in advance by other methods.

次に、図82のフローチャートを参照して、図80の最適化装置801によるテロップ抽出最適化処理について説明する。ステップS381において、特徴量検出部411の特徴量抽出部422は、特徴量選択部821より2種類の特徴量が選択されたか否かを判定し、選択されない場合、その処理はステップS386に進む。また、例えば、特徴量選択部423より特徴量を選択する情報が入力されたと判定された場合、すなわち、ユーザが操作部802を操作して、2種類の特徴量を選択したと判定した場合、その処理は、ステップS382に進む。   Next, the telop extraction optimization process by the optimization apparatus 801 in FIG. 80 will be described with reference to the flowchart in FIG. In step S381, the feature quantity extraction unit 422 of the feature quantity detection unit 411 determines whether or not two types of feature quantities have been selected by the feature quantity selection unit 821, and if not, the process proceeds to step S386. Further, for example, when it is determined that information for selecting a feature amount is input from the feature amount selection unit 423, that is, when it is determined that the user has operated the operation unit 802 to select two types of feature amounts, The process proceeds to step S382.

ステップS382において、特徴量抽出部422は、選択された2種類の特徴量を入力信号としての画像信号より各画素毎に抽出し、処理決定部412に出力する。このとき、バッファ421には、入力信号としての画像信号が記憶される。   In step S382, the feature amount extraction unit 422 extracts the two types of selected feature amounts for each pixel from the image signal as an input signal, and outputs the extracted signal to the processing determination unit 412. At this time, the buffer 421 stores an image signal as an input signal.

ステップS383において、処理決定部412は、入力された2種類の特徴量に基づいて各画素毎に処理内容を決定して処理部413に出力する。   In step S <b> 383, the process determining unit 412 determines the process content for each pixel based on the two types of input feature amounts and outputs the determined process contents to the process unit 413.

ステップS384において、処理部413は、処理決定部412より入力された処理内容に従ってバッファ421を介して入力される入力信号としての画像信号を処理し、表示部403に表示可能な画像信号に変換して、表示部403に出力して、表示させる。   In step S <b> 384, the processing unit 413 processes the image signal as an input signal input via the buffer 421 according to the processing content input from the processing determination unit 412, and converts the image signal into an image signal that can be displayed on the display unit 403. Are output to the display unit 403 and displayed.

ステップS385において、特徴量検出部411は、テロップが抽出されているとみなされているか否かを判定する。すなわち、ユーザが、表示部403に表示された画像を見て、テロップが抽出されていると判断されないとき、再度特徴量の組合せを変更してテロップ抽出処理をしようとするように操作部802を操作する。この操作に対応する操作部802からの操作信号が入力されたとき、その処理は、ステップS386に進む。   In step S385, the feature amount detection unit 411 determines whether it is considered that a telop has been extracted. That is, when the user looks at the image displayed on the display unit 403 and does not determine that a telop has been extracted, the operation unit 802 is changed so that the telop extraction process is performed again by changing the combination of feature amounts. Manipulate. When an operation signal corresponding to this operation is input from the operation unit 802, the process proceeds to step S386.

ステップS386において、特徴量検出部811の特徴量加工部822は、特徴量の加工が指示されたか否かを判定し、特徴量の加工の指示が無い時、その処理は、ステップS381に戻る。一方、ステップS386において、特徴量加工部822は、操作部802より特徴量の加工を指示する操作信号が入力されたと判定した場合、その処理は、ステップS387に進む。   In step S386, the feature amount processing unit 822 of the feature amount detection unit 811 determines whether or not a feature amount processing is instructed. When there is no feature amount processing instruction, the processing returns to step S381. On the other hand, if the feature amount processing unit 822 determines in step S386 that an operation signal instructing processing of the feature amount is input from the operation unit 802, the process proceeds to step S387.

ステップS387において、特徴量加工部822は、基礎となる特徴量が指定されたか否かを判定し、基礎となる特徴量を指定する情報が入力されるまでその処理を繰り返す。例えば、操作部802が操作されて、特徴量Aを指示する操作信号が入力されると、入力信号としての画像信号の特徴量Aを基礎となる特徴量が入力されたと判定し、その処理は、ステップS388に進む。   In step S387, the feature amount processing unit 822 determines whether or not a basic feature amount is specified, and repeats the processing until information specifying the basic feature amount is input. For example, when the operation unit 802 is operated and an operation signal indicating the feature amount A is input, it is determined that the feature amount based on the feature amount A of the image signal as the input signal is input, and the processing is as follows. The process proceeds to step S388.

ステップS388において、特徴量加工部822は、加工処理内容が指示されたか否かを判定し、加工処理内容が指示されるまでその処理を繰り返す。例えば、操作部802が操作されて、DRを指示する操作信号が入力されると、加工処理内容が指定されたと判定し、その処理は、ステップS389に進む。   In step S388, the feature amount processing unit 822 determines whether or not the processing content is instructed, and repeats the processing until the processing content is instructed. For example, when the operation unit 802 is operated and an operation signal instructing DR is input, it is determined that the processing content has been designated, and the processing proceeds to step S389.

ステップS389において、特徴量加工部822は、指定された特徴量を、指定された加工処理内容で加工し新たな特徴量を求め、特徴量データベース823に記憶させ、その処理は、ステップS381に戻る。すなわち、今の場合、特徴量加工部822は、特徴量データベース823より特徴量Aを読み出して、指定された加工処理内容であるDRを取得することにより、新たな特徴量A'を生成し、特徴量データベース823に記憶させ、その処理は、ステップS381に戻る。   In step S389, the feature amount processing unit 822 processes the specified feature amount with the specified processing content, obtains a new feature amount, stores the new feature amount in the feature amount database 823, and the processing returns to step S381. . That is, in this case, the feature quantity processing unit 822 reads the feature quantity A from the feature quantity database 823, and acquires a DR that is the specified processing content, thereby generating a new feature quantity A ′. The feature data is stored in the feature database 823, and the process returns to step S381.

一方、ステップS385において、ユーザの主観によりテロップが抽出されていると判定されるとき、ユーザは、操作部802を操作することにより処理の終了を示す操作信号が特徴量検出部421に入力され、このとき、処理は終了する。   On the other hand, when it is determined in step S385 that the telop has been extracted by the user's subjectivity, the user operates the operation unit 802 to input an operation signal indicating the end of the process to the feature amount detection unit 421. At this time, the process ends.

すなわち、上述の処理により、ユーザが、表示部403に表示される画像を見て、テロップが抽出されていると判断できるまで、ステップS381乃至S389の処理が繰り返されることにより、ユーザにとって最適な特徴量の組合せを設定し、入力信号としての画像信号からテロップを抽出させるようにすることができ、さらに、ユーザが選択する特徴量の種類を増やすことにより、さらに、多くの特徴量の組合せを設定することが可能となり、ユーザにとって最適な処理を実行させるようにすることができる。   That is, by the above process, the process of steps S381 to S389 is repeated until the user can determine that the telop has been extracted by looking at the image displayed on the display unit 403, and thus the optimum characteristics for the user. The combination of quantities can be set so that telops can be extracted from the image signal as the input signal. Furthermore, by increasing the types of feature quantities selected by the user, more combinations of feature quantities can be set. This makes it possible to execute the optimum process for the user.

以上の処理においては、ユーザにより指定された2種類の特徴量に応じて、処理内容が決定されて、入力信号としての画像信号からテロップを抽出するようにしているので、ユーザの操作に従い、その「処理の内容」が、ユーザにとって所望の出力信号が得られるように変更されているといえる。また、ユーザの操作に従い、特徴量の2軸(選択される2種類の特徴量)が切替えられると共に、新たな特徴量も設定される(特徴量の種類が増える)ことになり、これらの特徴量の組合せにより、処理内容(例えば、テロップとして処理するか否か)を決定するアルゴリズムが変更されることになるので、「処理の内容」のうち、「処理の構造」も変更されているといえる。   In the above processing, the processing content is determined according to the two types of feature amounts designated by the user, and the telop is extracted from the image signal as the input signal. It can be said that the “content of processing” has been changed so as to obtain a desired output signal for the user. In addition, according to the user's operation, the two axes of feature quantities (two types of feature quantities to be selected) are switched, and new feature quantities are set (the types of feature quantities are increased). Since the algorithm for determining the processing content (for example, whether or not to process as a telop) is changed depending on the combination of the quantities, the “processing structure” in the “processing content” is also changed. I can say that.

また、テロップ抽出は、試行錯誤により抽出する特徴量の種類を切替えていくことにより得られるものであるが、特徴量を固定的に用いた方法では、想定する特徴量を変化させるには、プログラムを書き換えたり、システムそのものを作り直す必要があったため、テロップ抽出のための最適なアルゴリズムを発見的に得るためには、何度もシステムを作り直す必要があり、現実的にはかなり困難なものであった。これに対して、本発明の最適化装置では、リアルタイムで新たな特徴量を抽出させることが可能であり、その特徴量分布の提示も可能であるため、ユーザにより行われる試行錯誤も容易なものとなり、テロップ抽出に最適な特徴量を見出す可能性を向上させることができる。   In addition, telop extraction is obtained by switching the type of feature quantity to be extracted by trial and error. However, in the method using fixed feature quantity, the program can be used to change the assumed feature quantity. In order to obtain the optimal algorithm for telop extraction heuristically, it is necessary to recreate the system many times, which is actually quite difficult. It was. On the other hand, the optimization device of the present invention can extract a new feature amount in real time and can also present the feature amount distribution, so that trial and error performed by the user is easy. Thus, it is possible to improve the possibility of finding the optimum feature amount for telop extraction.

次に、図83を参照して、図80の最適化装置801に特徴量検出部911と内部情報生成部912を設けるようにした最適化装置901の構成について説明する。図83の最適化装置901においては、特徴量検出部811に替えて特徴量検出部911が設けられ、さらに、新たに内部情報生成部912が設けられた以外の構成は、図80で示した最適化装置801と基本的には同様である。   Next, the configuration of the optimization apparatus 901 in which the feature amount detection unit 911 and the internal information generation unit 912 are provided in the optimization apparatus 801 in FIG. 80 will be described with reference to FIG. In the optimizing device 901 of FIG. 83, the configuration other than the feature amount detection unit 911 is provided instead of the feature amount detection unit 811 and the internal information generation unit 912 is newly provided, as shown in FIG. This is basically the same as the optimization device 801.

次に、図84を参照して特徴量検出部911の構成について説明する。特徴量検出部911は、図81の特徴量検出部811と基本的に同様の構成であるが、特徴量選択部821に替えて、特徴量選択部921を、特徴量加工部822に替えて、特徴量加工部922を設けている。いずれも、基本的な機能は同様であるが、特徴量選択部911は、選択された特徴量の種類の情報を内部情報生成部912に供給している点が異なる。また、特徴量加工部922は、表示部403に加工内容の指示に関する画像情報を出力している点が異なる。   Next, the configuration of the feature amount detection unit 911 will be described with reference to FIG. The feature amount detection unit 911 has basically the same configuration as the feature amount detection unit 811 in FIG. 81, except that the feature amount selection unit 921 is replaced with the feature amount processing unit 822 instead of the feature amount selection unit 821. The feature amount processing unit 922 is provided. In any case, the basic functions are the same, except that the feature quantity selection unit 911 supplies information on the type of the selected feature quantity to the internal information generation unit 912. Further, the feature amount processing unit 922 is different in that image information relating to processing content instructions is output to the display unit 403.

内部情報生成部912は、図60の内部情報生成部511と同様のものである。また、操作部902は、操作部402と同様のものである。   The internal information generation unit 912 is the same as the internal information generation unit 511 in FIG. The operation unit 902 is the same as the operation unit 402.

次に、図85のフローチャートを参照して、図83の最適化装置901によるテロップ抽出最適化処理について説明する。尚、この処理は基本的に図82のフローチャートを参照して説明した処理と同様であるが、内部情報生成部912により選択された特徴量を表示する点が異なる。   Next, telop extraction optimization processing by the optimization apparatus 901 in FIG. 83 will be described with reference to the flowchart in FIG. This process is basically the same as the process described with reference to the flowchart of FIG. 82, except that the feature amount selected by the internal information generation unit 912 is displayed.

すなわち、ステップS391において、特徴量検出部911の特徴量抽出部422は、特徴量選択部921より2種類の特徴量が選択されたか否かを判定し、選択されない場合、その処理は、ステップS397に進む。また、例えば、特徴量選択部921より特徴量を選択する情報が入力されたと判定された場合、その処理は、ステップS392に進む。   That is, in step S391, the feature quantity extraction unit 422 of the feature quantity detection unit 911 determines whether or not two types of feature quantities have been selected by the feature quantity selection unit 921, and if not selected, the process proceeds to step S397. Proceed to For example, when it is determined that information for selecting a feature amount is input from the feature amount selection unit 921, the process proceeds to step S392.

ステップS392において、内部情報生成部912は、選択された2種類の特徴量の種類を示す情報を特徴量選択部921より抽出し、選択された2種類の特徴量の種類の名称を表示部403に表示させる。   In step S392, the internal information generation unit 912 extracts information indicating the types of the two selected feature amounts from the feature amount selection unit 921, and displays the names of the two types of selected feature amounts on the display unit 403. To display.

ステップS393において、特徴量抽出部422は、選択された2種類の特徴量を入力信号としての画像信号より各画素毎に抽出し、処理決定部412に出力する。このとき、バッファ421には、入力信号としての画像信号が記憶される。   In step S393, the feature amount extraction unit 422 extracts the two types of selected feature amounts for each pixel from the image signal as an input signal, and outputs the extracted signal to the processing determination unit 412. At this time, the buffer 421 stores an image signal as an input signal.

ステップS394において、処理決定部412は、入力された2種類の特徴量に基づいて各画素毎に処理内容を決定して処理部413に出力する。   In step S394, the processing determination unit 412 determines the processing content for each pixel based on the two types of input feature amounts, and outputs the processing content to the processing unit 413.

ステップS395において、処理部413は、処理決定部412より入力された処理内容に従ってバッファ421を介して入力される入力信号としての画像信号を処理し、表示部403に表示可能な画像信号に変換して、表示部403に出力して、表示させる。   In step S395, the processing unit 413 processes an image signal as an input signal input via the buffer 421 according to the processing content input from the processing determination unit 412 and converts the image signal into an image signal that can be displayed on the display unit 403. Are output to the display unit 403 and displayed.

ステップS396において、特徴量検出部411は、テロップが抽出されているとみなされているか否かを判定する。すなわち、ユーザが、表示部403に表示された画像を見て、テロップが抽出されていると判断されないとき、再度特徴量の組合せを変更してテロップ抽出処理をしようとするように操作部902を操作する。この操作に対応する操作部902からの操作信号が入力されたとき、その処理は、ステップS397に進む。   In step S396, the feature amount detection unit 411 determines whether it is considered that a telop has been extracted. That is, when the user looks at the image displayed on the display unit 403 and does not determine that a telop has been extracted, the operation unit 902 is changed so as to change the combination of feature amounts and try the telop extraction process again. Manipulate. When an operation signal corresponding to this operation is input from the operation unit 902, the processing proceeds to step S397.

ステップS397において、特徴量検出部911の特徴量加工部922は、特徴量の加工が指示されたか否かを判定し、特徴量の加工の指示が無い時、その処理は、ステップS391に戻る。一方、ステップS397において、特徴量加工部922は、操作部902より特徴量の加工を指示する操作信号が入力されたと判定した場合、その処理は、ステップS398に進む。   In step S397, the feature amount processing unit 922 of the feature amount detection unit 911 determines whether or not the feature amount processing has been instructed. If there is no feature amount processing instruction, the processing returns to step S391. On the other hand, if the feature amount processing unit 922 determines in step S397 that an operation signal instructing processing of the feature amount has been input from the operation unit 902, the processing proceeds to step S398.

ステップS398において、特徴量加工部922は、例えば、図86で示すような加工内容の指示画面を表示する。図86においては、図中左側には、基礎特徴量表示部931が設けられ、基礎となる特徴量として、今現在特徴量データベース823に記憶されている特徴量が表示されている。今の場合、特徴量A乃至C、および、A'乃至C'が表示されている。また、その右側には、加工処理内容選択欄932が表示されている。今の場合、DR、最大値、最小値、中央値、最小値、和、分散、閾値以上の値をとる画素数、または、線形一次結合が表示されており、閾値以上の値を取る画素数については、閾値を設定する欄932aが設けられており、さらに、線形一次結合を選択する場合に選択される特徴量を選択する欄932bも設けられている。さらに、各値のスケールを設定するスケール設定欄933が表示される。スケール値とは、注目画素を中心としたときの領域を示すものであり、例えば、DRを検出する際に、必要な画素を3画素×3画素や、5画素×5画素といったようにして示す画素の領域を示す値である。   In step S398, the feature amount processing unit 922 displays a processing content instruction screen as shown in FIG. 86, for example. In FIG. 86, a basic feature amount display unit 931 is provided on the left side of the drawing, and the feature amount currently stored in the feature amount database 823 is displayed as a basic feature amount. In this case, feature amounts A to C and A ′ to C ′ are displayed. On the right side, a processing content selection column 932 is displayed. In this case, DR, maximum value, minimum value, median value, minimum value, sum, variance, the number of pixels that have a value greater than or equal to a threshold value, or the number of pixels that have a linear linear combination and that have a value greater than or equal to the threshold value Is provided with a column 932a for setting a threshold, and further, a column 932b for selecting a feature amount to be selected when linear linear combination is selected. Further, a scale setting field 933 for setting the scale of each value is displayed. The scale value indicates a region centered on the target pixel. For example, when detecting a DR, the necessary pixels are indicated as 3 pixels × 3 pixels or 5 pixels × 5 pixels. This is a value indicating the pixel area.

ステップS399において、特徴量加工部922は、基礎となる特徴量が指定されたか否かを判定し、基礎となる特徴量を指定する情報が入力されるまでその処理を繰り返す。例えば、操作部902が操作されて、特徴量Aを指示する操作信号が入力されると、入力信号としての画像信号の特徴量Aを基礎となる特徴量が入力されたと判定し、その処理は、ステップS400に進む。   In step S399, the feature amount processing unit 922 determines whether or not a basic feature amount is specified, and repeats the processing until information specifying the basic feature amount is input. For example, when the operation unit 902 is operated and an operation signal indicating the feature amount A is input, it is determined that the feature amount based on the feature amount A of the image signal as the input signal is input, and the processing is as follows. The process proceeds to step S400.

ステップS400において、特徴量加工部922は、加工処理内容が指示されたか否かを判定し、加工処理内容が指示されるまでその処理を繰り返す。例えば、操作部902が操作されて、DRを指示する操作信号が入力されると、加工処理内容が指定されたと判定し、その処理は、ステップS401に進む。   In step S400, the feature amount processing unit 922 determines whether or not the processing content is instructed, and repeats the processing until the processing content is instructed. For example, when the operation unit 902 is operated and an operation signal instructing DR is input, it is determined that the processing content has been designated, and the processing proceeds to step S401.

ステップS401において、特徴量加工部922は、指定された特徴量を、指定された加工処理内容で加工し、特徴量データベース823に記憶させ、その処理は、ステップS391に戻る。   In step S401, the feature amount processing unit 922 processes the specified feature amount with the specified processing content and stores it in the feature amount database 823, and the processing returns to step S391.

一方、ユーザの主観によりテロップが抽出されていると判定されるとき、ユーザは、操作部902を操作することにより処理の終了を示す操作信号が特徴量検出部421に入力され、このとき、処理は終了する。   On the other hand, when it is determined that the telop is extracted based on the user's subjectivity, the user operates the operation unit 902 to input an operation signal indicating the end of the process to the feature amount detection unit 421. Ends.

すなわち、上述の処理により、ユーザは、表示されているベースとなる特徴量や、加工処理内容を見ながら操作することにより、最適な処理が行える特徴量を認識することが可能となる。さらに、その後は、ユーザにとって最適な処理を実現できる特徴量を直ぐに指定することが可能となる。また、新しい特徴量を生成する際に必要な入力情報を表示画面に従って入力することにより、ユーザが選択する特徴量の種類を増やすことができるので、多くの特徴量の組合せを効率よく設定することが可能になる。   That is, by the above-described processing, the user can recognize the feature amount that can be optimally processed by operating while viewing the displayed base feature amount and the processing content. Furthermore, after that, it is possible to immediately specify a feature amount that can realize the optimum process for the user. Also, by inputting the input information necessary for generating new feature values according to the display screen, the types of feature values selected by the user can be increased, so that many combinations of feature values can be set efficiently. Is possible.

以上の処理においては、ユーザにより指定された2種類の特徴量に応じて、処理内容が決定されて、入力信号としての画像信号からテロップを抽出するようにしているので、ユーザの操作に従い、その「処理の内容」が、ユーザにとって所望の出力信号が得られるように変更されているといえる。また、ユーザの操作に従い、特徴量の2軸(選択される2種類の特徴量)が切替えられると共に、新たな特徴量も設定される(特徴量の種類が増える)ことになり、これらの特徴量の組合せにより、処理内容(例えば、テロップとして処理するか否か)を決定するアルゴリズムが変更されることになるので、「処理の内容」のうち、「処理の構造」も変更されているといえる。   In the above processing, the processing content is determined according to the two types of feature amounts designated by the user, and the telop is extracted from the image signal as the input signal. It can be said that the “content of processing” has been changed so as to obtain a desired output signal for the user. In addition, according to the user's operation, the two axes of feature quantities (two types of feature quantities to be selected) are switched, and new feature quantities are set (the types of feature quantities are increased). Since the algorithm for determining the processing content (for example, whether or not to process as a telop) is changed depending on the combination of the quantities, the “processing structure” in the “processing content” is also changed. I can say that.

次に、図87を参照して、図83の最適化装置901の内部情報生成部912に替えて、内部情報生成部1011を設けた最適化装置1001の構成について説明する。図87においては、内部情報生成部912を内部情報生成部1011に替え、さらに、処理決定部412を図69の処理決定部711に替えた以外の構成は、図83の最適化装置901と同様である。   Next, the configuration of an optimization apparatus 1001 provided with an internal information generation unit 1011 instead of the internal information generation unit 912 of the optimization apparatus 901 of FIG. 83 will be described with reference to FIG. 87, the configuration is the same as that of the optimization apparatus 901 in FIG. 83 except that the internal information generation unit 912 is replaced with the internal information generation unit 1011 and the processing determination unit 412 is replaced with the processing determination unit 711 in FIG. It is.

内部情報生成部1011は、基本的には、内部情報生成部912と同様のものであるが、さらに、処理決定部412の処理内容決定部432により決定された各画素に決定した処理内容の情報を読出し、表示部403に表示させる(図69の内部情報生成部611の機能が加えられている)。   The internal information generation unit 1011 is basically the same as the internal information generation unit 912, but further, information on the processing content determined for each pixel determined by the processing content determination unit 432 of the processing determination unit 412. Is displayed on the display unit 403 (the function of the internal information generation unit 611 in FIG. 69 is added).

尚、操作部1002は、操作部402と同様のものである。   The operation unit 1002 is the same as the operation unit 402.

次に、図88のフローチャートを参照して、図87の最適化装置1001によるテロップ抽出最適化処理について説明する。   Next, telop extraction optimization processing by the optimization apparatus 1001 in FIG. 87 will be described with reference to the flowchart in FIG.

ステップS411において、特徴量検出部911のバッファ421が、入力信号としての画像信号を受信して記憶し、処理部413が、バッファ421に記憶されている入力信号としての画像信号をそのまま読出し、処理すること無く、そのまま表示部403に出力して、表示させる。   In step S411, the buffer 421 of the feature amount detection unit 911 receives and stores the image signal as the input signal, and the processing unit 413 reads the image signal as the input signal stored in the buffer 421 as it is and processes it. Without being output, the data is output to the display unit 403 as it is and displayed.

ステップS412において、処理決定部711の処理内容決定部721は、操作部1002よりテロップと背景が指示されたか否かを判定し、テロップと背景が指示されるまでその処理を繰り返し、テロップと背景が指示されると、その処理は、ステップS413に進む。   In step S412, the processing content determination unit 721 of the processing determination unit 711 determines whether a telop and background are instructed from the operation unit 1002, and repeats the processing until the telop and background are instructed. When instructed, the process proceeds to step S413.

ステップS413において、特徴量検出部911の特徴量抽出部422は、特徴量選択部921より2種類の特徴量が選択されたか否かを判定し、選択されない場合、その処理は、ステップS421に進む。また、例えば、特徴量選択部921より特徴量を選択する情報が入力されたと判定された場合、その処理は、ステップS414に進む。   In step S413, the feature amount extraction unit 422 of the feature amount detection unit 911 determines whether or not two types of feature amounts have been selected by the feature amount selection unit 921, and if not, the process proceeds to step S421. . For example, when it is determined that information for selecting a feature amount is input from the feature amount selection unit 921, the process proceeds to step S414.

ステップS414において、内部情報生成部912は、選択された2種類の特徴量の種類を示す情報を特徴量選択部921より抽出し、選択された2種類の特徴量の種類の名称を表示部403に表示(呈示)させる。   In step S414, the internal information generation unit 912 extracts information indicating the types of the two selected feature amounts from the feature amount selection unit 921, and displays the names of the two selected feature amount types on the display unit 403. Is displayed (presented).

ステップS415において、特徴量抽出部422は、選択された2種類の特徴量を入力信号としての画像信号より各画素毎に抽出し、処理決定部412に出力する。このとき、バッファ421には、入力信号としての画像信号が記憶される。   In step S415, the feature amount extraction unit 422 extracts the two types of selected feature amounts for each pixel from the image signal as an input signal, and outputs the extracted signal to the processing determination unit 412. At this time, the buffer 421 stores an image signal as an input signal.

ステップS416において、処理決定部711は、入力された2種類の特徴量に基づいて各画素毎に処理内容を決定して処理部413に出力する。   In step S <b> 416, the process determining unit 711 determines the processing content for each pixel based on the two types of input feature amounts and outputs the determined process content to the processing unit 413.

ステップS417において、内部情報生成部1011は、処理決定部711に入力された2種類の特徴量と、テロップと背景に指定された画素位置の情報に基づいて、2種類の特徴量を軸とした2次元分布図を生成し、ステップS418において、その2次元分布図を表示部403に表示する。より詳細には、処理決定部711の特徴量認識部431が特徴量の種類を認識し、その種類を示す情報と特徴量そのものを処理内容決定部721に出力し、処理内容決定部721が、特徴量とその種類を示す情報に加えて、テロップと背景に指定された画素位置を示す情報を内部情報生成部1011に出力することにより、内部情報生成部1011が、テロップと背景に指定された画素位置を示す情報に基づいて、例えば、図74で示すような特徴量の2次元分布図を生成する。   In step S417, the internal information generation unit 1011 uses the two types of feature amounts as the axes based on the two types of feature amounts input to the processing determination unit 711 and the information on the pixel positions designated as the telop and the background. A two-dimensional distribution chart is generated, and the two-dimensional distribution chart is displayed on the display unit 403 in step S418. More specifically, the feature amount recognition unit 431 of the processing determination unit 711 recognizes the type of feature amount, outputs information indicating the type and the feature amount itself to the processing content determination unit 721, and the processing content determination unit 721 In addition to the information indicating the feature amount and its type, the internal information generation unit 1011 is designated as the telop and the background by outputting the information indicating the pixel position designated as the telop and the background to the internal information generation unit 1011. Based on the information indicating the pixel position, for example, a two-dimensional distribution map of feature amounts as shown in FIG. 74 is generated.

ステップS419において、処理部413は、処理決定部711より入力された処理内容に従ってバッファ421を介して入力される入力信号としての画像信号を処理し、表示部403に表示可能な画像信号に変換して、表示部403に出力して、表示させる。   In step S419, the processing unit 413 processes the image signal as an input signal input via the buffer 421 according to the processing content input from the processing determination unit 711, and converts the image signal into an image signal that can be displayed on the display unit 403. Are output to the display unit 403 and displayed.

ステップS420において、特徴量検出部911は、テロップが抽出されているとみなされているか否かを判定する。すなわち、ユーザが、表示部403に表示された画像を見て、テロップが抽出されていると判断されないとき、再度特徴量の組合せを変更してテロップ抽出処理をしようとするように操作部1002を操作する。この操作に対応する操作部1002からの操作信号が入力されたとき、その処理は、ステップS421に進む。   In step S420, the feature amount detection unit 911 determines whether or not the telop is considered to be extracted. In other words, when the user looks at the image displayed on the display unit 403 and does not determine that a telop has been extracted, the operation unit 1002 is changed so that the telop extraction process is performed again by changing the combination of feature amounts. Manipulate. When an operation signal from the operation unit 1002 corresponding to this operation is input, the process proceeds to step S421.

ステップS421において、特徴量検出部911の特徴量加工部922は、特徴量の加工が指示されたか否かを判定し、特徴量の加工の指示が無い時、その処理は、ステップS413に戻る。一方、ステップS421において、特徴量加工部922は、操作部1002より特徴量の加工を指示する操作信号が入力されたと判定した場合、その処理は、ステップS422に進む。   In step S421, the feature amount processing unit 922 of the feature amount detection unit 911 determines whether or not feature amount processing has been instructed. When there is no feature amount processing instruction, the process returns to step S413. On the other hand, if the feature amount processing unit 922 determines in step S421 that an operation signal instructing processing of the feature amount has been input from the operation unit 1002, the processing proceeds to step S422.

ステップS422において、特徴量加工部922は、加工内容の指示画面を表示する(図86)。   In step S422, the feature amount processing unit 922 displays a processing content instruction screen (FIG. 86).

ステップS423において、特徴量加工部922は、基礎となる特徴量が指定されたか否かを判定し、基礎となる特徴量を指定する情報が入力されるまでその処理を繰り返す。入力信号として基礎となる特徴量が入力されたと判定した場合、その処理は、ステップS424に進む。   In step S423, the feature amount processing unit 922 determines whether or not a basic feature amount is specified, and repeats the processing until information specifying the basic feature amount is input. If it is determined that a basic feature amount is input as an input signal, the process proceeds to step S424.

ステップS424において、特徴量加工部922は、加工処理内容が指示されたか否かを判定し、加工処理内容が指示されるまでその処理を繰り返す。加工処理内容が入力されたと判定された場合、その処理は、ステップS425に進む。   In step S424, the feature amount processing unit 922 determines whether or not the processing content is instructed, and repeats the processing until the processing content is instructed. If it is determined that the processing content has been input, the processing proceeds to step S425.

ステップS425において、特徴量加工部922は、指定された基礎となる特徴量を、指定された加工処理内容で加工し、特徴量データベース823に記憶させ、その処理は、ステップS413に戻る。   In step S425, the feature amount processing unit 922 processes the specified basic feature amount with the specified processing content and stores it in the feature amount database 823, and the processing returns to step S413.

一方、ステップS420において、ユーザの主観によりテロップが抽出されていると判定されるとき、ユーザは、操作部1102を操作することにより処理の終了を示す操作信号が特徴量検出部421に入力され、このとき、処理は終了する。   On the other hand, when it is determined in step S420 that the telop has been extracted by the user's subjectivity, the user operates the operation unit 1102 to input an operation signal indicating the end of the process to the feature amount detection unit 421. At this time, the process ends.

すなわち、上述の処理により、ユーザが、表示部403に表示される画像を見て、テロップが抽出されていると判断できるまで、ステップS411乃至S425の処理が繰り返されることにより、ユーザにとって最適な特徴量の組合せを設定し、入力信号としての画像信号からテロップを抽出させるようにすることができ、ユーザが選択可能な特徴量の種類を増やすことにより、さらに、多くの特徴量の組合せを設定することが可能となり、ユーザにとって最適な処理を実行させるようにすることができる。また、既存の特徴量を加工して新しい特徴量を生成する際に必要な加工指示画面を表示するようにしたので、ユーザは、その表示に従って効率よく加工処理を実行することができる。また、その際、画素の特徴量上のテロップと背景の分離状態を見ながら特徴量を変化させながら、繰り返しテロップの抽出処理を実行することができるので、精度の高いテロップ抽出が可能な特徴量を容易に選択することが可能となる。   That is, by the above-described process, the process of steps S411 to S425 is repeated until the user can determine that the telop is extracted by looking at the image displayed on the display unit 403, and thus the optimum feature for the user. A combination of quantities can be set so that a telop can be extracted from an image signal as an input signal. By increasing the types of feature quantities that can be selected by the user, more combinations of feature quantities can be set. This makes it possible to execute the optimum process for the user. Further, since the processing instruction screen necessary for processing the existing feature amount to generate a new feature amount is displayed, the user can efficiently execute the processing process according to the display. Also, at that time, it is possible to repeatedly perform telop extraction processing while changing the feature amount while observing the separation state between the telop on the pixel feature amount and the background. Can be easily selected.

次に、図89を参照して、図55の最適化装置401の特徴量検出部411、処理決定部412、および操作部402に替えて、特徴量検出部1111、処理決定部1112、および、操作部1102を設けたときの最適化装置1101の構成について説明する。図89においては、特徴量検出部1111、処理決定部1112、および、操作部1102が新たに設けられた以外の構成については、図55の最適化装置401と同様である。   Next, referring to FIG. 89, instead of the feature amount detection unit 411, the process determination unit 412, and the operation unit 402 of the optimization device 401 of FIG. 55, a feature amount detection unit 1111, a process determination unit 1112, and A configuration of the optimization device 1101 provided with the operation unit 1102 will be described. 89, the configuration is the same as that of the optimization apparatus 401 in FIG. 55 except that a feature amount detection unit 1111, a processing determination unit 1112, and an operation unit 1102 are newly provided.

特徴量検出部1111は、図56の特徴量検出部411の構成のうち、特徴量選択部423が設けられておらず、特徴量抽出部422が予め設定された2種類の特徴量を抽出する以外の構成は同様である。   The feature quantity detection unit 1111 is not provided with the feature quantity selection unit 423 in the configuration of the feature quantity detection unit 411 in FIG. 56, and the feature quantity extraction unit 422 extracts two types of preset feature quantities. The configuration other than that is the same.

処理決定部1112は、処理内容データベース433に記憶されたLUTが更新される履歴情報を記憶し、その履歴情報に対応してLUTを変更する。尚、処理決定部1112の構成については、図90を参照して後述する。   The process determining unit 1112 stores history information for updating the LUT stored in the process content database 433, and changes the LUT corresponding to the history information. The configuration of the process determination unit 1112 will be described later with reference to FIG.

尚、操作部1102は、操作部402と同様のものである。   The operation unit 1102 is the same as the operation unit 402.

ここで、図90を参照して、処理決定部1112の構成について説明する。図90の処理決定部1112は、図57の処理決定部412の処理内容決定部432に替えて、処理内容決定部1121を設け、さらに、履歴メモリ1122が追加されている点が以外は処理決定部412と同様の構成である。   Here, the configuration of the process determining unit 1112 will be described with reference to FIG. The processing determination unit 1112 in FIG. 90 is provided with a processing content determination unit 1121 in place of the processing content determination unit 432 of the processing determination unit 412 in FIG. 57, and further determines processing except that a history memory 1122 is added. The configuration is the same as that of the unit 412.

処理内容決定部1121は、処理内容データベース433に記憶されたLUTを変更させる操作の履歴情報を履歴メモリ1122に記憶させ、履歴情報に基づいてLUTを変更させる。これ以外の機能については、図57の処理決定部412の処理内容決定部432と同様のものである。   The processing content determination unit 1121 stores the history information of the operation for changing the LUT stored in the processing content database 433 in the history memory 1122, and changes the LUT based on the history information. The other functions are the same as those of the processing content determination unit 432 of the processing determination unit 412 in FIG.

次に、図91のフローチャートを参照して、図89の最適化装置1101によるテロップ抽出最適化処理について説明する。   Next, telop extraction optimization processing by the optimization device 1101 in FIG. 89 will be described with reference to the flowchart in FIG. 91.

ステップS431において、特徴量検出部1111の特徴量抽出部411は、入力信号としての画像信号より所定の2種類の特徴量を抽出し、処理決定部1112に出力する。このとき、バッファ421には、入力信号としての画像信号を記憶する。   In step S431, the feature amount extraction unit 411 of the feature amount detection unit 1111 extracts two predetermined types of feature amounts from the image signal as an input signal, and outputs the extracted feature amounts to the processing determination unit 1112. At this time, the buffer 421 stores an image signal as an input signal.

ステップS432において、処理決定部1112の処理内容決定部1121は、特徴量認識部431より入力される特徴量の種類と特徴量に基づいて、処理内容データベース433に記憶されたLUTを参照して、各画素毎に処理内容を決定し処理部413に出力する。   In step S432, the processing content determination unit 1121 of the processing determination unit 1112 refers to the LUT stored in the processing content database 433 based on the type of feature amount and the feature amount input from the feature amount recognition unit 431. Processing contents are determined for each pixel and output to the processing unit 413.

ステップS433において、処理部413は、処理決定部1112より入力された処理内容に従って各画素を処理して、表示部403に出力して、表示させる。   In step S433, the processing unit 413 processes each pixel according to the processing content input from the processing determination unit 1112 and outputs it to the display unit 403 for display.

ステップS434において、処理決定部1112の処理内容決定部1121は、LUTを変更する操作信号が操作部1102より入力されたか否かを判定する。すなわち、ユーザは、表示部403に表示された画像をみて、ユーザの好みの処理がなされているかを主観的に判断し、その判断結果に基づいて、ユーザにより操作部1102が操作され、対応する操作信号が入力されることになる。例えば、ユーザの好みに合う処理がなされていない場合(ユーザの好みの画像が表示部403に表示されていない場合)、処理決定部1121の処理内容データベース433のLUTを変更するために、LUTの変更の要求が入力されることになる。   In step S434, the processing content determination unit 1121 of the processing determination unit 1112 determines whether an operation signal for changing the LUT is input from the operation unit 1102. That is, the user subjectively determines whether the user's favorite processing is performed by looking at the image displayed on the display unit 403, and based on the determination result, the user operates the operation unit 1102 to respond accordingly. An operation signal is input. For example, when processing that matches the user's preference is not performed (when the user's preference image is not displayed on the display unit 403), in order to change the LUT of the processing content database 433 of the processing determination unit 1121, A change request will be entered.

ステップS434において、LUTの変更を要求する操作信号が入力された、すなわち、ユーザの好みの処理がなされていない場合、その処理は、ステップS435に進む。   In step S434, if an operation signal requesting change of the LUT is input, that is, if the user's favorite process is not performed, the process proceeds to step S435.

ステップS435において、LUTの変更処理をオートLUT変更処理により実行することができるか否かが判定される。ここで、LUTの変更処理は、マニュアルLUT変更処理とオートLUT変更処理が存在する。オートLUT変更処理が可能であるか否かの判定の詳細については後述する。   In step S435, it is determined whether or not the LUT change process can be executed by the auto LUT change process. Here, the LUT change process includes a manual LUT change process and an auto LUT change process. Details of the determination of whether or not the auto LUT change process is possible will be described later.

例えば、ステップS435において、オートLUT変更処理が可能ではないと判定された場合、その処理は、ステップS436に進み、マニュアルLUT変更処理が実行される。   For example, if it is determined in step S435 that the auto LUT change process is not possible, the process proceeds to step S436, and the manual LUT change process is executed.

ここで、LUTの変更処理の説明にあたり、LUTの詳細について説明しておく。LUTは、図92で示すように。2つの特徴量の組合せ毎に決定されている処理内容を示したテーブルである。図92においては、2種類の特徴量として特徴量A,Bの場合について示されており、この例では、各特徴量が8段階(合計64クラス)で分類される例が示されている。尚、図92においては、特徴量が0乃至1.0の値に正規化されたものであるものとし、特徴量Aの値Vaについては、左から0≦Va<1/8、1/8≦Va<2/8、2/8≦Va<3/8、3/8≦Va<4/8、4/8≦Va<5/8、5/8≦Va<6/8、6/8≦Va<7/8、7/8≦Va≦8/8、特徴量Bの値Vbについては、上から0≦Vb<1/8、1/8≦Vb<2/8、2/8≦Vb<3/8、3/8≦Vb<4/8、4/8≦Vb<5/8、5/8≦Vb<6/8、6/8≦Vb<7/8、7/8≦Vb≦8/8の範囲に分離されている。各処理内容は、図中では、それぞれの範囲の特徴量の組合せによりX,Y,Zの3種類に分類されており、図92の場合、0≦Va≦3/8、かつ、0≦Vb≦3/8の範囲では処理内容X、4/8≦Va<6/8、または、4/8≦Va<6/8の範囲では処理内容Y、それ以外の範囲では、処理内容Zとなっている。また、処理内容は、様々な指定ができる。例えば、図93乃至図95で示すように、注目画素に対して、処理部413で処理に用いられる予測タップを指定することができる。 Here, in describing the LUT change processing, details of the LUT will be described. The LUT is as shown in FIG. It is the table which showed the processing content determined for every combination of two feature-values. FIG. 92 shows the case of feature amounts A and B as two types of feature amounts, and in this example, an example is shown in which each feature amount is classified in eight stages (total of 64 classes). In FIG. 92, it is assumed that the feature amount is normalized to a value of 0 to 1.0, and the value V a of the feature amount A is 0 ≦ V a <1/8, / 8 ≦ V a <2 / 8,2 / 8 ≦ V a <3 / 8,3 / 8 ≦ V a <4 / 8,4 / 8 ≦ V a <5 / 8,5 / 8 ≦ V a < 6/8, 6/8 ≦ V a <7/8, 7/8 ≦ V a ≦ 8/8, and the value V b of the feature quantity B is 0 ≦ V b <1/8, 1/8 from the top ≦ V b <2 / 8,2 / 8 ≦ V b <3 / 8,3 / 8 ≦ V b <4 / 8,4 / 8 ≦ V b <5 / 8,5 / 8 ≦ V b <6 / 8, 6/8 ≦ V b <7/8, 7/8 ≦ V b ≦ 8/8. Each processing content is classified into three types of X, Y, and Z according to the combination of feature amounts in each range in the drawing. In the case of FIG. 92, 0 ≦ V a ≦ 3/8 and 0 ≦ Processing content X in the range of V b ≦ 3/8, processing content Y in the range of 4/8 ≦ V a <6/8, or processing content Y in the range of 4/8 ≦ V a <6/8, processing in the other ranges The content is Z. In addition, the processing content can be specified in various ways. For example, as shown in FIGS. 93 to 95, a prediction tap used for processing by the processing unit 413 can be designated for the target pixel.

すなわち、図93においては、処理内容Xを示しており、注目画素をP0として、空間的にx方向に注目画素P0を中心として、フィルタタップP1,P2を設定し、y方向にも同様に注目画素P0を中心として、タップP3,P4を設定し、さらに、時間的に注目画素P0を中心として、その前後にタップP5,P6(例えば、同じ画素位置の1フレーム前のタップP6と1フレーム後のP5)を設定している。すなわち、処理内容Xは、いわゆる時空間フィルタの処理である。   That is, FIG. 93 shows the processing content X, with the target pixel being P0, the filter taps P1 and P2 are set spatially centering on the target pixel P0 in the x direction, and the same applies to the y direction. Taps P3 and P4 are set centering on the pixel P0, and taps P5 and P6 (for example, the tap P6 one frame before and one frame after the same pixel position) before and after the pixel of interest P0 are temporally centered. P5) is set. That is, the processing content X is a so-called spatio-temporal filter processing.

また、図94においては、処理内容Yを示しており、図93の時空間フィルタからタップP3,P4に替えて、時間方向にタップP6よりもさらに前のタイミングのタップP12と、タップP5よりもさらに後のタップP11を設定している。すなわち、処理内容Yは、いわゆる時間フィルタの処理である。   In FIG. 94, the processing content Y is shown. Instead of the spatiotemporal filter of FIG. 93, taps P3 and P4 are replaced with taps P12 and P5 at timings earlier than tap P6 in the time direction. Furthermore, a later tap P11 is set. That is, the processing content Y is a so-called time filter processing.

さらに、図95においては、処理内容Zを示しており、図93の時空間フィルタからタップP5,P6に替えて、x方向にタップP1よりもさらに注目画素よりも離れた位置にタップP21と、タップP2よりもさらに注目画素よりは離れた位置にタップP22を設定している。すなわち、処理内容Zは、いわゆる空間フィルタの処理である。   Further, FIG. 95 shows the processing content Z. Instead of the spatiotemporal filter of FIG. 93, taps P5 and P6 are replaced with a tap P21 at a position further away from the pixel of interest than the tap P1 in the x direction. The tap P22 is set at a position further away from the target pixel than the tap P2. That is, the processing content Z is a so-called spatial filter processing.

尚、処理内容は、その種類も図92の例のように3種類に限られるものではなく、当然のことながらそれ以外の数の種類に分けても良く、例えば、全ての画素を白色か、または、黒色に分けるような2値化処理をさせるようにしても良い。また、この2値化処理は、例えば、上述の例のように、テロップ部として抽出する画素であるか否かの2値化処理を指定するものであってもよい。逆に、処理内容の種類が、3種類以上であってもよい。   The processing contents are not limited to the three types as in the example of FIG. 92, and may be divided into other types as a matter of course. For example, all the pixels are white. Or you may make it carry out the binarization process which divides into black. Moreover, this binarization process may specify the binarization process whether it is a pixel extracted as a telop part like the above-mentioned example, for example. Conversely, there may be three or more types of processing content.

次に、図96のフローチャートを参照して、図91のステップS436におけるマニュアルLUT変更処理について説明する。   Next, the manual LUT changing process in step S436 in FIG. 91 will be described with reference to the flowchart in FIG.

ステップS441において、処理内容決定部1121は、操作部1102より操作信号として、画素位置が指定され、処理内容が指定されたか否かを判定し、操作部1102より操作信号として、画素位置が指定され、処理内容が指定されるまでその処理を繰り返す。すなわち、例えば、図97で示す画面が表示部403に表示されていた場合、ユーザは、表示部403に表示された画像上でポインタ1131を操作して、処理の変更を加えたい画素位置で所定の処理を実行して、例えば、図97で示すようにドロップダウンリスト1132を表示させ、さらに、ドロップダウンリスト1132に表示された処理内容X,Y,Zのいずれかを指定することができる。ステップS441においては、この指定がなされたとき、画素位置が指定され、処理内容が指定されたと判断され、その処理は、ステップS442に進む。今の場合、図97で示すように、画素位置P41が選択され、処理内容Xが選択されている。   In step S441, the processing content determination unit 1121 determines whether or not the pixel position is specified as the operation signal from the operation unit 1102 and whether the processing content is specified, and the pixel position is specified as the operation signal from the operation unit 1102. The processing is repeated until the processing content is designated. That is, for example, when the screen shown in FIG. 97 is displayed on the display unit 403, the user operates the pointer 1131 on the image displayed on the display unit 403, and performs predetermined processing at a pixel position where processing is to be changed. For example, as shown in FIG. 97, the drop-down list 1132 is displayed, and one of the processing contents X, Y, and Z displayed in the drop-down list 1132 can be designated. In step S441, when this designation is made, it is determined that the pixel position is designated and the processing content is designated, and the processing proceeds to step S442. In this case, as shown in FIG. 97, the pixel position P41 is selected, and the processing content X is selected.

ステップS442において、処理内容決定部1121は、指定された画素位置から対応する2種類の特徴量の組合せを読み出す。より詳細には、処理内容決定部1121は、特徴量検出部1111により検出された特徴量のうち、指定された画素に対応する2種類の特徴量の組合せを読み出す。   In step S442, the processing content determination unit 1121 reads the corresponding two types of feature amount combinations from the designated pixel position. More specifically, the processing content determination unit 1121 reads out a combination of two types of feature amounts corresponding to the designated pixel among the feature amounts detected by the feature amount detection unit 1111.

ステップS443において、処理内容決定部1121は、対応する特徴量の組合せに該当する処理内容を、ステップS441において指定された処理内容に変更する。   In step S443, the processing content determination unit 1121 changes the processing content corresponding to the corresponding feature amount combination to the processing content specified in step S441.

ステップS444において、処理内容決定部1121は、変更された画素位置と、処理内容を履歴メモリ1122に記憶させる。   In step S444, the processing content determination unit 1121 stores the changed pixel position and the processing content in the history memory 1122.

ステップS445において、処理内容決定部1121は、他にLUTの変更が有るか無いかを判定し、まだ、引き続きLUTを変更させる処理がされると判定した場合、すなわち、操作部1102よりその他のLUTの変更を指示する操作信号が入力された場合、その処理は、ステップS441に戻り、引き続きLUTを変更させる処理がないと判定した場合、すなわち、操作部1102よりLUTの変更の終了を示す操作信号が入力された場合、その処理は終了する。   In step S445, the processing content determination unit 1121 determines whether there is any other change in the LUT, and if it is determined that the process for changing the LUT is still performed, that is, the operation unit 1102 selects another LUT. When the operation signal instructing the change of the LUT is input, the process returns to step S441, and when it is determined that there is no process to change the LUT, that is, the operation signal indicating the end of the change of the LUT from the operation unit 1102 Is entered, the process ends.

以上のマニュアルLUT変更処理では、LUTの変更が次のように行われる。すなわち、ステップS442において、得られた画素位置P41の画素の特徴量が、例えば、(Va,Vb)=(0.52,0.27)の場合、図98中LUTの(左からの位置,上からの位置)=(5,3)の位置(LUT上の位置については、以下においても同様に示す)については、図98においては、処理内容Yが設定されている。いま、ステップS443において、図97で示すように、処理内容がXに変更されたとすると、図99で示すように、ステップS443において、LUTの(5,3)の位置の処理が処理内容Yから処理内容Xに変更される。 In the above-described manual LUT change process, the LUT is changed as follows. That is, in step S442, when the obtained feature amount of the pixel at the pixel position P41 is, for example, (V a , V b ) = (0.52, 0.27), the LUT in FIG. For the position (position from above) = (5, 3) (the position on the LUT is also shown in the following), the processing content Y is set in FIG. If the processing content is changed to X in step S443 as shown in FIG. 97, the processing at the position (5, 3) of the LUT is changed from processing content Y in step S443 as shown in FIG. The processing content is changed to X.

図96のマニュアルLUT変更処理が終了した後、その処理は、図91のフローチャートのステップS432の処理に戻り、それ以降の処理が繰り返されることになる。この場合、LUTが上述のように変更されているときは、2種類の特徴量の組合せが、図99で示すように、LUTの(5,3)となる画素では、処理内容Yに対応する処理が実行されることになる。結果として、図97で示した画像のうち、画素位置P41と同様の特徴量を有する画素、すなわち、LUTの(5,3)に属する画素に対応する処理が変更され、例えば、図100に示すように、その部分に図97における場合と異なる処理が施された画像が表示される。尚、図100では、図97の画素位置P41の画素と同様の特徴量を有する画素が白色になった例を示している。   After the manual LUT changing process of FIG. 96 is completed, the process returns to the process of step S432 in the flowchart of FIG. 91, and the subsequent processes are repeated. In this case, when the LUT is changed as described above, the combination of the two types of feature amounts corresponds to the processing content Y in the pixel of (5, 3) of the LUT as shown in FIG. Processing will be executed. As a result, the processing corresponding to the pixel having the same feature amount as the pixel position P41 in the image shown in FIG. 97, that is, the pixel belonging to (5, 3) of the LUT is changed, for example, as shown in FIG. Thus, an image that has been subjected to processing different from that in FIG. 97 is displayed in that portion. Note that FIG. 100 illustrates an example in which a pixel having the same feature amount as the pixel at the pixel position P41 in FIG. 97 is white.

図96のフローチャートを参照して説明した処理の例では、選択された画素の特徴量の組合せにより指定されるLUT(上の処理内容)だけが変更される例について説明したが、LUTの変更はこれに限るものではない。すなわち、例えば、LUT上で変更が指定された位置から見て、近い部分を全て変更された処理内容とするようにしても良い。すなわち、例えば、図101で示すように、LUTの初期状態として、全ての処理内容がZとして設定されていた場合(LUTの初期状態は、いわゆるデフォルトの設定であって、全ての処理内容がZでない状態であっても良い)、図96のフローチャートの処理により、図102Aで示すように、LUT上の(4,2)の位置の処理内容がXに、(5,2)の位置の処理内容がYに変更されたとき、図102Bで示すように、変更されたLUT上の位置から近い領域をXまたはYに変化させるようにしても良い。すなわち、図102Bの場合、LUT上の全ての位置で、LUT上の(4,2)の位置からの距離と、(5,2)の位置からの距離を比較し、近い位置の処理内容に全てが変更されている。結果として、図102Bでは、左半分の領域が処理内容Xにされ、右半分の領域が処理内容Yにされている。   In the example of the processing described with reference to the flowchart of FIG. 96, an example has been described in which only the LUT (upper processing content) designated by the combination of the feature amounts of the selected pixels is changed. This is not a limitation. That is, for example, when viewed from the position where the change is specified on the LUT, all the close portions may be set as the changed processing content. That is, for example, as shown in FIG. 101, when all the processing contents are set as Z as the initial state of the LUT (the initial state of the LUT is a so-called default setting, all the processing contents are Z 96), the processing content at the position (4, 2) on the LUT is set to X and the processing at the position (5, 2) as shown in FIG. When the content is changed to Y, as shown in FIG. 102B, an area close to the changed position on the LUT may be changed to X or Y. That is, in the case of FIG. 102B, at all positions on the LUT, the distance from the position (4, 2) on the LUT is compared with the distance from the position (5, 2). Everything has changed. As a result, in FIG. 102B, the left half area is set as the processing content X, and the right half area is set as the processing content Y.

同様にして、図103Aで示すように、LUT上の(4,2),(7,7)の位置の特徴量の組合せの処理内容がXに、LUT上の(5,2),(4,5)の位置の特徴量の組合せの処理内容がYに変更された場合、図103Bで示すように、LUT上の(1,1),(2,1),(3,1),(4,1),(1,2),(2,2),(3,2),(4,2),(1,3),(2,3),(3,3),(4,3),(5,7),(5,8),(6,6),(6,7),(6,8),(7,5),(7,6),(7,7),(7,8),(8,4),(8,5),(8,6),(8,7),(8,8)では、処理内容がXとなり、LUT上のそれ以外の位置では、処理内容がYとなる。   Similarly, as shown in FIG. 103A, the processing content of the combination of the feature amounts at the positions (4, 2) and (7, 7) on the LUT is X, and (5, 2), (4 on the LUT , 5) when the processing content of the combination of feature amounts at the position is changed to Y, as shown in FIG. 103B, (1, 1), (2, 1), (3, 1), ( 4,1), (1,2), (2,2), (3,2), (4,2), (1,3), (2,3), (3,3), (4 3), (5, 7), (5, 8), (6, 6), (6, 7), (6, 8), (7, 5), (7, 6), (7, 7) , (7, 8), (8, 4), (8, 5), (8, 6), (8, 7), (8, 8), the processing content is X, and the others on the LUT At the position, the processing content is Y.

さらに、同様にして、図104Aで示すように、LUT上の(4,2),(7,7)の位置の特徴量の組合せの処理内容がXに、LUT上の(2,3),(5,2),(4,5),(7,4)の位置の特徴量の組合せの処理内容がYに変更された場合、図104Bで示すように、LUT上の(3,1),(3,2),(4,1),(4,2),(4,3),(5,7),(5,8),(6,6),(6,7),(6,8),(7,6),(7,7),(7,8),(8,6),(8,7),(8,8)では、処理内容がXとなり、LUT上のそれ以外の位置では、処理内容がYとなる。   Further, similarly, as shown in FIG. 104A, the processing content of the combination of the feature quantities at the positions (4, 2) and (7, 7) on the LUT is X, and (2, 3), When the processing content of the combination of feature amounts at the positions (5, 2), (4, 5), (7, 4) is changed to Y, as shown in FIG. 104B, (3, 1) on the LUT , (3,2), (4,1), (4,2), (4,3), (5,7), (5,8), (6,6), (6,7), ( 6, 8), (7, 6), (7, 7), (7, 8), (8, 6), (8, 7), (8, 8), the processing content is X, and on the LUT In other positions, the processing content is Y.

このようにLUTを変更させるようにすることで、1回の処理で複数の特徴量の組合せの処理内容を、比較的類似した特徴量の組合せで、一括して変更させることが可能となる。   By changing the LUT in this way, it is possible to collectively change the processing contents of a combination of a plurality of feature amounts in a single process using a combination of relatively similar feature amounts.

ここで、図91のフローチャートの説明に戻る。   Now, the description returns to the flowchart of FIG.

ステップS435において、オートLUT変更処理が可能であると判定された場合、ステップS437に進み、オートLUT変更処理が実行される。   If it is determined in step S435 that the auto LUT change process is possible, the process proceeds to step S437, where the auto LUT change process is executed.

ここで、図105のフローチャートを参照して、オートLUT変更処理について説明する。ステップS461において、処理内容決定部1121は、履歴メモリ1122に記憶されている更新履歴の分布の各処理内容毎に存在する群を求める。すなわち、履歴メモリ1122には、図106で示すように、例えば、上述のマニュアルLUT変更処理により変更が指定されたLUT上の位置と、指定された処理内容が記録されたLUTとは異なる履歴テーブルを記憶している。図106で示す履歴テーブルでは、LUT上の(3,3),(8,3),(2,5),(6,6)の処理内容に変更が指示されたことが示されており、それぞれ、処理内容X,X,X、およびYが指示されたことが示されている。   Here, the auto LUT changing process will be described with reference to the flowchart of FIG. In step S461, the processing content determination unit 1121 obtains a group that exists for each processing content of the update history distribution stored in the history memory 1122. That is, in the history memory 1122, as shown in FIG. 106, for example, a history table that is different from the position on the LUT designated for change by the above-described manual LUT change processing and the LUT in which the designated processing content is recorded. Is remembered. The history table shown in FIG. 106 indicates that a change has been instructed to the processing contents of (3, 3), (8, 3), (2, 5), (6, 6) on the LUT. Each of the processing contents X, X, X, and Y is indicated.

ここで、処理内容毎の群とは、履歴テーブル上の各処理内容が所定の密度以上に存在し、所定の面積以上となっている領域を指す。   Here, the group for each processing content refers to a region where each processing content on the history table exists at a predetermined density or more and has a predetermined area or more.

例えば、群が存在すると、図107で示すように、履歴テーブル上に群1151が形成され、処理内容決定部1121は、この群1151を求める。尚、図107においては、群1151は、処理内容Xの群であり、その他の処理内容毎にも群が求められる。   For example, if a group exists, as shown in FIG. 107, a group 1151 is formed on the history table, and the processing content determination unit 1121 obtains this group 1151. In FIG. 107, a group 1151 is a group of processing contents X, and a group is obtained for each of other processing contents.

また、群は、マニュアルLUTの処理がある程度の回数実行されて、更新履歴が履歴メモリ1122に記憶されていて、かつ、ある程度、LUT上のまとまった位置で、同じ処理内容への変更処理が実行されていないと存在しない。尚、図91のステップS435では、この処理内容の群が存在するか否かによって、オートLUT変更処理が可能であるかが判定される。すなわち、処理内容毎の群が存在する場合には、オートLUT変更処理が可能であると判定され、存在しない場合には、オートLUT変更処理が可能ではないと判定される。   In the group, manual LUT processing is executed a certain number of times, update history is stored in the history memory 1122, and change processing to the same processing content is executed to some extent on the LUT. If not, it does not exist. In step S435 in FIG. 91, it is determined whether or not the auto LUT changing process is possible depending on whether or not there is a group of the processing contents. That is, when there is a group for each processing content, it is determined that auto LUT change processing is possible, and when there is no group, it is determined that auto LUT change processing is not possible.

ステップS462において、処理内容決定部1121は、ステップS461で求められた群の重心位置を検出する。   In step S462, the processing content determination unit 1121 detects the barycentric position of the group obtained in step S461.

すなわち、例えば、図107の場合、群1151が形成されているが、その重心位置は、処理内容Xが指定された全ての履歴テーブル上の位置から求められる。図107の場合、群1161内の処理内容Xが指定された全ての履歴テーブル上の位置の重心1161が求められる。   That is, for example, in the case of FIG. 107, the group 1151 is formed, but the center-of-gravity position is obtained from the positions on all the history tables where the processing content X is designated. In the case of FIG. 107, the centroids 1161 of the positions on all the history tables in which the processing content X in the group 1161 is designated are obtained.

ステップS463において、処理内容決定部1121は、群の重心位置から所定の範囲内に存在する履歴テーブル上の位置の処理内容に対応して、それぞれの画素の特徴量の組合せに対応するLUT上のマス目の処理内容を、群を構成する画素の特徴量の組合せに対応する履歴テーブル上のマス目の処理内容に変更し、その処理は、終了する。すなわち、図107において、重心位置1161を中心とする所定の半径の円の範囲である範囲1162のなかに存在する履歴テーブル上の位置に対応するLUT上の全ての処理内容が、群を構成する処理内容Xに変更される。   In step S463, the processing content determination unit 1121 corresponds to the processing content at the position on the history table existing within a predetermined range from the center of gravity position of the group, on the LUT corresponding to the combination of the feature amounts of the respective pixels. The processing contents of the squares are changed to the processing contents of the squares on the history table corresponding to the combination of the feature amounts of the pixels constituting the group, and the processing ends. That is, in FIG. 107, all the processing contents on the LUT corresponding to the positions on the history table that exist in the range 1162 that is a range of a circle with a predetermined radius centered on the gravity center position 1161 constitute a group. The processing content is changed to X.

すなわち、例えば、図107で示すように履歴テーブルが、図108に示すようなLUTが構成されている状態で生成されたものであるとすると、図107で示すように、重心1161から所定の距離内の範囲1162内の履歴テーブル上の(2,3)、(3,4)は、群を構成する処理内容Xとは異なる処理内容Yが履歴情報として記憶されているので、履歴テーブル上の(2,3)、(3,4)に対応するLUT上の(2,3)、(3,4)の処理内容をXに変更する。従って、図108に示すようにLUTが構成されていた場合、処理内容決定部1121は、LUT上の(2,3)が、処理内容がYであるので、図109で示すように、LUT上の(2,3)を処理内容をXに変更する。また、図108の場合、処理内容決定部1121は、LUT上の(3,4)が、処理内容がXであるので、図109で示すように、LUT上の(3,4)を、そのままの状態に維持する。
この処理により、LUT上の処理内容(マス目の情報)は、自動的に変更される。尚、この処理は、ユーザによりLUTの変更処理が指示されるタイミングのみならず、所定の時間間隔で繰り返し実行されるようにしても良い。
That is, for example, if the history table is generated with the LUT as shown in FIG. 108 configured as shown in FIG. 107, a predetermined distance from the center of gravity 1161 as shown in FIG. (2, 3) and (3, 4) on the history table in the range 1162 in FIG. 6 are stored as history information, which is different from the processing content X constituting the group, The processing contents of (2, 3) and (3, 4) on the LUT corresponding to (2, 3) and (3,4) are changed to X. Therefore, if the LUT is configured as shown in FIG. 108, the processing content determination unit 1121 has (2, 3) on the LUT and the processing content is Y. Therefore, as shown in FIG. In (2, 3), the processing content is changed to X. In the case of FIG. 108, the processing content determination unit 1121 has (3, 4) on the LUT and the processing content is X. Therefore, as shown in FIG. Maintain the state.
As a result of this processing, the processing content (the grid information) on the LUT is automatically changed. This process may be repeatedly executed at a predetermined time interval as well as the timing when the user instructs the LUT change process.

ここで、図91のフローチャートの説明に戻る。   Now, the description returns to the flowchart of FIG.

ステップS434において、LUTの変更が指示されていないと判定された場合、すなわち、ユーザが、表示部403に表示された画像を見て、ユーザの好みの画像が生成されていると判定された場合、その処理は終了する。   If it is determined in step S434 that the LUT change is not instructed, that is, if the user views the image displayed on the display unit 403 and determines that the user's favorite image has been generated. The process ends.

以上の処理により、ユーザの操作に従い、LUTの変更を繰り返すことにより、LUTの各マス目に登録される処理内容を変更することで、ユーザの好みの画像が生成させるようにすることができる。   With the above processing, it is possible to generate a user's favorite image by changing the processing contents registered in each square of the LUT by repeating the change of the LUT according to the user's operation.

以上においては、ユーザの操作に対応して、LUT上の処理内容が変更されるので、「処理の内容」が変更されていると言える。また、ユーザの処理に応じて、処理内容毎の群が求められるか否かにより、群の重心位置からLUTの処理内容が変更される処理体系か、または、図101乃至図104で示したように、指定されたLUT上の位置の処理内容に対応して、その他のLUT上の位置のLUT上の処理内容が変更されるという処理体系かの何れかにに変更される。すなわち、LUTの変更アルゴリズムが変更されるので、ユーザの操作に対応して、「処理の内容」のうちの「処理の構造」も変更しているといえる。   In the above, since the processing content on the LUT is changed in response to the user's operation, it can be said that the “processing content” has been changed. Further, depending on whether or not a group for each processing content is obtained according to the user's processing, the processing system in which the processing content of the LUT is changed from the center of gravity position of the group, or as shown in FIGS. 101 to 104 In addition, the processing content is changed to one of processing systems in which the processing content on the LUT at the position on the other LUT is changed in accordance with the processing content at the position on the designated LUT. That is, since the LUT changing algorithm is changed, it can be said that the “processing structure” in the “processing contents” is also changed in accordance with the user's operation.

次に、図110を参照して、図89の最適化装置1101の処理決定部1112に替えて、処理決定部1181を設け、新たに内部情報生成部1182を設けたときの最適化装置1101のその他の構成例について説明する。図110においては、処理決定部1181と内部情報生成部1182が新たに設けられた以外の構成については、図89の最適化装置1101と同様である。   Next, referring to FIG. 110, instead of the processing determination unit 1112 of the optimization device 1101 of FIG. 89, a processing determination unit 1181 is provided, and the internal information generation unit 1182 is newly provided. Other configuration examples will be described. In FIG. 110, the configuration is the same as that of the optimization device 1101 of FIG. 89 except that a processing determination unit 1181 and an internal information generation unit 1182 are newly provided.

処理決定部1181は、処理内容データベース1191(図111)に記憶されたLUTが更新される履歴情報を記憶し、その履歴情報に対応してLUTを変更すると共に、処理内容データベース1191に記憶されているLUTを内部情報生成部1182に供給する。   The processing determination unit 1181 stores history information for updating the LUT stored in the processing content database 1191 (FIG. 111), changes the LUT corresponding to the history information, and stores the history information in the processing content database 1191. The LUT is supplied to the internal information generation unit 1182.

内部情報生成部1182は、処理内容データベース1191に記憶されたLUTを読出し、表示部403で表示可能な情報に変換して、表示部403に出力し、表示させる。   The internal information generation unit 1182 reads the LUT stored in the processing content database 1191, converts it into information that can be displayed on the display unit 403, outputs the information to the display unit 403, and displays it.

次に、図111を参照して、処理決定部1181の構成について説明する。図111の処理決定部1181は、図90の処理内容データベース433に替えて、処理内容データベース1191を設けている点が以外は処理決定部1112と同様の構成である。   Next, the configuration of the process determination unit 1181 will be described with reference to FIG. The processing determination unit 1181 in FIG. 111 has the same configuration as the processing determination unit 1112 except that a processing content database 1191 is provided instead of the processing content database 433 in FIG.

処理内容データベース1191は、LUT記憶すると共に、必要に応じてLUTの情報を内部情報生成部1182に供給する。これ以外の機能については、図90の処理内容データベース433と同様のものである。   The processing content database 1191 stores the LUT and supplies LUT information to the internal information generation unit 1182 as necessary. Other functions are the same as those of the processing content database 433 in FIG.

次に、図112のフローチャートを参照して、図110の最適化装置1101によるテロップ抽出最適化処理について説明する。尚、図112のテロップ抽出最適化処理は、図91のフローチャートを参照して説明した処理と、基本的には同様であり、図112のステップS471乃至S473、および、S475乃至S478の処理は、図91のステップS431乃至S437に対応する処理であり、ステップS473の処理の後、ステップS474において、内部情報生成部1182は、処理決定部1181の処理内容データベース1191のLUTを読出し、表示部403で表示可能な画像信号に変換して表示部403に出力し、表示(呈示)させ、ステップS475に進み、それ以降の処理が繰り返される。   Next, telop extraction optimization processing by the optimization device 1101 in FIG. 110 will be described with reference to the flowchart in FIG. The telop extraction optimization process in FIG. 112 is basically the same as the process described with reference to the flowchart in FIG. 91, and the processes in steps S471 to S473 and S475 to S478 in FIG. 91. This is processing corresponding to steps S431 to S437 in FIG. 91. After the processing in step S473, in step S474, the internal information generation unit 1182 reads the LUT in the processing content database 1191 of the processing determination unit 1181, and the display unit 403 The image signal is converted into a displayable image signal, output to the display unit 403, displayed (presented), the process proceeds to step S475, and the subsequent processing is repeated.

このような処理により、LUTが表示(呈示)されるので、表示部403に表示された画像から入力信号としての画像信号に施された処理と、LUTの変化認識しながらLUTを変更させることが可能となる。   Since the LUT is displayed (presented) by such processing, the LUT can be changed while recognizing the change of the LUT and the processing applied to the image signal as the input signal from the image displayed on the display unit 403. It becomes possible.

尚、以上においては、マニュアルLUT変更処理で、表示部403に表示されたLUTに登録された処理内容で処理された画像上の画素と処理内容を指定することによりLUTを変更する例について説明してきたが、内部情報生成部1182が、処理内容データベース1191に記憶されているLUTを読み出して、例えば、操作部1102でLUT上の処理内容を直接操作可能な状態で表示部403に表示させ、LUT上の処理内容を直接変更できるようにしても良い。   In the above description, an example in which the LUT is changed by specifying the pixel on the image processed with the processing content registered in the LUT displayed on the display unit 403 and the processing content in the manual LUT changing processing has been described. However, the internal information generation unit 1182 reads the LUT stored in the processing content database 1191 and displays the processing content on the LUT on the display unit 403 in a state where it can be directly operated by the operation unit 1102, for example. The above processing contents may be directly changed.

ここで、図113のフローチャートを参照して、図110の最適化装置1101が上述のLUT上の値を直接変更させるマニュアルLUT変更処理について説明する。   Here, with reference to the flowchart of FIG. 113, the manual LUT changing process in which the optimization device 1101 of FIG. 110 directly changes the value on the above-described LUT will be described.

ステップS481において、処理内容決定部1121は、LUT上の位置が指定されたか否かを判定し、指定されるまでその処理を繰り返す。例えば、図114で示すように、表示部403に表示されたLUT上の(5,3)の位置の処理内容がYとして設定されている位置が指定されると、LUT上の位置が指定されたと判定し、その処理は、ステップS482に進む。   In step S481, the processing content determination unit 1121 determines whether or not a position on the LUT is specified, and repeats the processing until it is specified. For example, as shown in FIG. 114, when a position where the processing content at the position (5, 3) on the LUT displayed on the display unit 403 is set as Y is specified, the position on the LUT is specified. The process proceeds to step S482.

ステップS482において、内部情報生成部1182は、指定されたLUT上の位置を示す表示を表示部403にする。すなわち、図114の場合、位置表示枠1192が、指定された(5,3)に表示される。   In step S <b> 482, the internal information generation unit 1182 causes the display unit 403 to display the position on the designated LUT. That is, in the case of FIG. 114, the position display frame 1192 is displayed at the designated (5, 3).

ステップS483において、処理内容決定部1121は、処理内容が指定されたか否かを判定し、処理内容が指定されるまでその処理を繰り返す。例えば、図114で示すように、ポインタ1191が操作された位置で、(例えば、操作部1102としてのマウスの右クリックなどにより)ドロップダウンリスト1193を表示させて、その中に表示される処理内容X,Y,Zのいずれかを、ユーザが操作部1102を操作することにより指定すると処理内容が指定されたと判定し、その処理は、ステップS484に進む。   In step S483, the processing content determination unit 1121 determines whether or not the processing content is specified, and repeats the processing until the processing content is specified. For example, as shown in FIG. 114, the drop-down list 1193 is displayed at the position where the pointer 1191 is operated (for example, by right clicking the mouse as the operation unit 1102), and the processing content displayed therein If any of X, Y, and Z is specified by the user operating the operation unit 1102, it is determined that the processing content is specified, and the processing proceeds to step S484.

ステップS484において、処理内容決定部1121は、処理内容を指定された処理内容に変更して処理を終了する。すなわち、図114の場合、ドロップダウンリスト1193に表示された「X」が選択されているので、図115で示すように、LUT上の(5,3)は、処理内容がYからXに変更されることになる。   In step S484, the processing content determination unit 1121 changes the processing content to the designated processing content and ends the processing. That is, in the case of FIG. 114, since “X” displayed in the drop-down list 1193 is selected, as shown in FIG. 115, the processing content is changed from Y to X in (5, 3) on the LUT. Will be.

以上の処理により、LUT上に設定された処理内容を直接変更させるようにすることができるので、LUTに登録された処理内容で処理された画像を見ながら、LUTを操作することで、ユーザの好みとなる処理内容を容易に設定することが可能となる。   With the above processing, the processing content set on the LUT can be directly changed. By operating the LUT while viewing the image processed with the processing content registered in the LUT, the user's It becomes possible to easily set the processing content to be preferred.

図110の最適化装置1101においては、マニュアルLUT変更処理で、ユーザの操作により指定されるLUT上のマス目上の処理内容が変更されるので、ユーザの操作により「処理の内容」が変更されているといえる。また、履歴メモリ1122に記憶される変更履歴がある程度蓄積され、群が検出されると、LUTを変更するアルゴリズムがマニュアルLUT変更処理からオートLUT変更処理へと変更されるので、「処理の構造」が変更されている。   In the optimizing device 1101 in FIG. 110, the processing contents on the squares on the LUT specified by the user's operation are changed by the manual LUT changing process, so that the “processing contents” are changed by the user's operation. It can be said that. Further, when the change history stored in the history memory 1122 is accumulated to some extent and a group is detected, the algorithm for changing the LUT is changed from the manual LUT change process to the auto LUT change process. Has been changed.

さらに、処理決定部1112の処理に関する内部情報としてLUTが表示されると共に、表示されたLUTを見ながらLUT上の処理内容を変更させることができるので、ユーザは、LUT上の内容と表示部403に表示をする画像との対応関係を認識することが可能となる。   Furthermore, since the LUT is displayed as internal information related to the processing of the processing determination unit 1112 and the processing content on the LUT can be changed while viewing the displayed LUT, the user can change the content on the LUT and the display unit 403. It is possible to recognize the correspondence with the image displayed on the screen.

次に、図116を参照して、図55の最適化装置401の特徴量検出部411と処理部413に替えて、特徴量検出部1111と処理部413を設けるようにした他の実施例として最適化装置1201の構成について説明する。   Next, referring to FIG. 116, as another embodiment in which a feature amount detection unit 1111 and a processing unit 413 are provided instead of the feature amount detection unit 411 and the processing unit 413 of the optimization apparatus 401 of FIG. The configuration of the optimization device 1201 will be described.

特徴量検出部1111は、図89の最適化装置1101の構成と同様のものである。   The feature quantity detection unit 1111 has the same configuration as that of the optimization device 1101 in FIG.

処理部1211は、処理決定部413より入力された処理内容の情報に基づいて、バッファ421より読み出される入力信号を、例えば、学習により得られた係数セットを用いてマッピング処理し、表示部403に出力し、表示する。処理決定部413は、操作部1202からの操作信号に基づいて、係数セットの学習方法を変更する。尚、操作部1202は、操作部402と同様のものである。   Based on the processing content information input from the processing determination unit 413, the processing unit 1211 performs a mapping process on the input signal read from the buffer 421 using, for example, a coefficient set obtained by learning, and displays it on the display unit 403. Output and display. The process determination unit 413 changes the coefficient set learning method based on the operation signal from the operation unit 1202. The operation unit 1202 is the same as the operation unit 402.

次に、図117を参照して、処理部1211の構成について説明する。   Next, the configuration of the processing unit 1211 will be described with reference to FIG.

学習装置1221は、特徴量検出部1111のバッファ421より読み出される入力信号としての画像信号に基づいて、マッピング処理部1222のマッピング処理に必要な係数セットを処理内容毎に、最小N乗誤差法により学習し、係数メモリ1237に記憶させる。また、学習装置1221は、操作部1202より入力される操作信号に基づいて、最小N乗誤差法の指数Nの値を変更させて係数セットを学習する。   Based on the image signal as an input signal read from the buffer 421 of the feature amount detection unit 1111, the learning device 1221 calculates a coefficient set necessary for the mapping processing of the mapping processing unit 1222 for each processing content by the minimum N power error method. Learning is performed and the coefficient memory 1237 is stored. The learning device 1221 learns the coefficient set by changing the value of the exponent N of the least-N power error method based on the operation signal input from the operation unit 1202.

マッピング処理部1222は、処理決定部412より入力される処理内容に基づいて、学習装置1221の係数メモリ1237から対応する係数セットを読出し、特徴量検出部1111のバッファ421より読み出される入力信号としての画像信号をマッピング処理し表示部403に出力して表示させる。   The mapping processing unit 1222 reads out a corresponding coefficient set from the coefficient memory 1237 of the learning device 1221 based on the processing content input from the processing determination unit 412, and serves as an input signal read from the buffer 421 of the feature amount detection unit 1111. The image signal is mapped and output to the display unit 403 for display.

次に、図118を参照して学習装置1221の詳細な構成について説明する。教師データ生成部1231は、図30の教師データ生成部231と同様のものであり、学習用データとしての入力信号より教師データを生成し、最小N乗誤差法係数演算部1236に出力する。生徒データ生成部1232は、図30の生徒データ生成部232と同様のものであり、学習用データとしての入力信号より教師データを生成し、特徴量抽出部1233、および、予測タップ抽出部1235に出力する。   Next, the detailed configuration of the learning device 1221 will be described with reference to FIG. The teacher data generation unit 1231 is the same as the teacher data generation unit 231 in FIG. 30, generates teacher data from an input signal as learning data, and outputs the teacher data to the least-N power error coefficient calculation unit 1236. The student data generation unit 1232 is the same as the student data generation unit 232 of FIG. 30, generates teacher data from the input signal as learning data, and sends it to the feature amount extraction unit 1233 and the prediction tap extraction unit 1235. Output.

特徴量抽出部1233は、特徴量検出部1111の特徴量抽出部422と同様のものであり、生徒データから特徴量を抽出して処理決定部1234に出力する。処理決定部1234は、処理決定部412と同様のものであり、特徴量検出部1233より入力された特徴量に基づいて処理内容を決定し、最小N乗誤差法係数演算部1236に出力する。予測タップ抽出部1235は、予測タップ抽出部233と同様のものであり、教師データを順次注目画素として各注目画素について予測タップとなる画素を生徒データから抽出し、最小N乗誤差法係数演算部1236に出力する。   The feature quantity extraction unit 1233 is the same as the feature quantity extraction unit 422 of the feature quantity detection unit 1111, and extracts the feature quantity from the student data and outputs it to the process determination unit 1234. The processing determination unit 1234 is the same as the processing determination unit 412, determines the processing content based on the feature amount input from the feature amount detection unit 1233, and outputs it to the minimum N-th power error coefficient calculation unit 1236. The prediction tap extraction unit 1235 is the same as the prediction tap extraction unit 233. The prediction tap extraction unit 1235 sequentially extracts teacher pixels from the student data, using the teacher data as the target pixel, and extracts the pixels that are prediction taps from the student data. 1236.

最小N乗誤差法係数演算部1236は、基本的な構成と処理内容において、図30の最小N乗誤差法係数演算部234と同様であり、操作部1202より入力される最小N乗法誤差法係数演算処理に必要な、指数Nの値を指定する情報に基づいて、予測タップ抽出部1235より入力された予測タップと教師データから、最小N乗誤差法により係数セットを演算し、係数メモリ1237に出力し、上書き記憶させる。但し、図118の最小N乗誤差法係数演算部1236は、処理決定部1234より入力される処理内容毎に係数セットを生成する点が、図30の最小N乗誤差法係数演算部234と異なる。係数メモリ1237は、処理内容毎に最小N乗誤差法係数演算部1236より出力されてくる係数セットを処理内容毎に記憶する。図118中では、処理内容毎に係数セットA乃至Nが記憶されていることが示されている。   The minimum N-th power error method coefficient calculation unit 1236 is the same as the minimum N-th power error method coefficient calculation unit 234 in FIG. 30 in the basic configuration and processing contents, and the minimum N-th power error method coefficient input from the operation unit 1202. Based on the information specifying the value of the exponent N necessary for the calculation process, a coefficient set is calculated by the least-Nth power error method from the prediction tap input from the prediction tap extraction unit 1235 and the teacher data, and stored in the coefficient memory 1237. Output and store overwriting. However, the least-Nth power error method coefficient computing unit 1236 in FIG. 118 differs from the least Nth power error method coefficient computing unit 234 in FIG. 30 in that a coefficient set is generated for each processing content input from the processing determining unit 1234. . The coefficient memory 1237 stores, for each processing content, the coefficient set output from the least-N power error coefficient calculating unit 1236 for each processing content. 118 shows that coefficient sets A to N are stored for each processing content.

次に、図119を参照して、マッピング処理部1222の構成について説明する。タップ抽出部251は、図31のマッピング処理部222と同様のものであり、注目画素について、バッファ421から供給される入力信号から予測タップを抽出し、積和演算部1251に出力する。積和演算部1251は、図31の積和演算部252と同様のものであり、予測タップ抽出部251より入力されてくる、抽出された予測タップ(画素)の値と、学習装置1221の係数メモリ1237に記憶されている係数セットを用いて積和演算処理を実行し、注目画素を生成し、これらを全画素に施して出力信号として表示部403に出力し、表示させる。但し、積和演算部1251は、積和演算処理において、係数メモリ1237に記憶されている係数セットA乃至Nのうち、処理決定部412から供給される処理内容に対応した係数セットを用いるようになっている。   Next, the configuration of the mapping processing unit 1222 will be described with reference to FIG. The tap extraction unit 251 is the same as the mapping processing unit 222 in FIG. 31, extracts a prediction tap from the input signal supplied from the buffer 421 for the target pixel, and outputs the prediction tap to the product-sum operation unit 1251. The product-sum operation unit 1251 is the same as the product-sum operation unit 252 in FIG. 31, and the value of the extracted prediction tap (pixel) input from the prediction tap extraction unit 251 and the coefficient of the learning device 1221. A product-sum operation process is executed using the coefficient set stored in the memory 1237 to generate a pixel of interest, which is applied to all the pixels and output as an output signal to the display unit 403 for display. However, the product-sum operation unit 1251 uses a coefficient set corresponding to the processing content supplied from the processing determination unit 412 among the coefficient sets A to N stored in the coefficient memory 1237 in the product-sum operation processing. It has become.

次に、図120のフローチャートを参照して、図116の最適化装置1201による画像最適化処理における学習処理について説明する。   Next, a learning process in the image optimization process performed by the optimization apparatus 1201 in FIG. 116 will be described with reference to the flowchart in FIG.

ステップS501において、ユーザが操作部202を操作したかどうかが判定され、操作していないと判定された場合、ステップS501に戻る。また、ステップS501において、操作部1202が操作されたと判定された場合、ステップS502に進む。   In step S501, it is determined whether or not the user has operated the operation unit 202. If it is determined that the user has not operated the operation unit 202, the process returns to step S501. If it is determined in step S501 that the operation unit 1202 has been operated, the process proceeds to step S502.

ステップS502において、学習装置1221の教師データ生成部1231は、入力信号より教師データを生成して最小N乗誤差法係数演算部1236に出力すると共に、生徒データ生成部1232は、入力信号より生徒データを生成し、特徴量抽出部1233、および、予測タップ抽出部1235に出力し、ステップS503に進む。   In step S502, the teacher data generation unit 1231 of the learning device 1221 generates teacher data from the input signal and outputs the teacher data to the least-N power error coefficient calculation unit 1236, and the student data generation unit 1232 receives the student data from the input signal. Is output to the feature amount extraction unit 1233 and the prediction tap extraction unit 1235, and the process proceeds to step S503.

尚、生徒データと教師データを生成するのに、用いるデータ(以下、適宜、学習用データという)としては、例えば、現在から、所定時間だけ過去に遡った時点までに入力された入力信号を採用することができる。また、学習用データとしては、入力信号を用いるのではなく、予め専用のデータを記憶しておくことも可能である。   As the data used to generate student data and teacher data (hereinafter referred to as “learning data” as appropriate), for example, input signals that have been input from the present to a time point that is traced back to the past for a predetermined time are employed. can do. Further, as learning data, it is possible not to use an input signal but to store dedicated data in advance.

ステップS503において、特徴量抽出部1233は、注目画素(教師データ)に対応する位置の生徒データより特徴量を抽出し、処理決定部1234に出力する。   In step S <b> 503, the feature amount extraction unit 1233 extracts the feature amount from the student data at the position corresponding to the target pixel (teacher data), and outputs the feature amount to the processing determination unit 1234.

ステップS504において、処理決定部1234は、特徴量抽出部1233より入力された特徴量に基づいて注目画素についての処理内容を決定し、最小N乗誤差法係数演算部1236に出力する。例えば、処理決定部1234は、特徴量抽出部1233より1または複数の特徴量をベクトル量子化し、その量子化結果を処理内容の情報とするようにしてもよい。但し、この場合、図89の処理決定部1112のようにLUTなどは記憶されていない。   In step S <b> 504, the processing determination unit 1234 determines the processing content for the target pixel based on the feature amount input from the feature amount extraction unit 1233, and outputs the processing content to the minimum N-th power error method coefficient calculation unit 1236. For example, the process determination unit 1234 may vector-quantize one or more feature amounts from the feature amount extraction unit 1233 and use the quantization result as information on the processing contents. However, in this case, the LUT or the like is not stored as in the processing determination unit 1112 in FIG.

ステップS505において、予測タップ抽出部1235は、各教師データを注目画素として、その各注目画素について生徒データ生成部1232より入力された生徒データより予測タップを生成し、最小N乗誤差法係数演算部1234に出力して、ステップS506に進む。   In step S505, the prediction tap extraction unit 1235 uses each teacher data as a pixel of interest, generates a prediction tap from the student data input from the student data generation unit 1232 for each pixel of interest, and generates a minimum N-th power error method coefficient calculation unit. 1234, and the process proceeds to step S506.

ステップS506において、最小N乗誤差法係数演算部1236は、操作部202よりリカーシブ法(第2の方法)による最小N乗誤差法で係数セットを演算することを指定する操作信号が入力されたか否かを判定し、例えば、ユーザにより操作部1202が操作されて、リカーシブ法ではない、すなわち、直接法(第1の方法)が指定されたと判定された場合、ステップS507に進み、式(50)の重みαSを指定する(指数Nを指定する)係数a,b,cが入力されたか否かが判定され、入力されるまでその処理が繰り返され、例えば、ユーザによって操作部1202が操作され、係数a,b,cを指定する値が入力されたと判定された場合、その処理は、ステップS507に進む。 In step S506, the least-Nth power error method coefficient calculation unit 1236 receives from the operation unit 202 an operation signal designating calculation of a coefficient set by the least-Nth power error method using the recursive method (second method). For example, if the operation unit 1202 is operated by the user and it is determined that the method is not the recursive method, that is, the direct method (first method) is designated, the process proceeds to step S507, and the equation (50) It is determined whether or not coefficients a, b, and c that specify the weight α S (specify the index N) are input, and the process is repeated until the coefficients are input. For example, the operation unit 1202 is operated by the user. If it is determined that the values specifying the coefficients a, b, and c have been input, the process proceeds to step S507.

ステップS507において、最小N乗誤差法係数演算部1236は、重みαSが入力された係数a,b,cの状態で、上述した式(48)を最小にするという問題を実質的には最小2乗誤差法により解くことにより、重みαSに対応する指数Nの最小N乗誤差法による解としての予測係数w1,w2,w3…,wM、すなわち、係数セットを、処理決定部1234より入力された処理内容毎に求めて係数メモリ1237に記憶させ、ステップS501に戻る。 In step S507, the minimum N-th power error coefficient calculation unit 1236 substantially minimizes the problem of minimizing the above-described equation (48) in the state of the coefficients a, b, and c to which the weight α S is input. By solving by the square error method, the prediction coefficients w 1 , w 2 , w 3 ..., W M as the solution by the least N power error method of the exponent N corresponding to the weight α S , that is, the coefficient set are determined. Each processing content input from the unit 1234 is obtained and stored in the coefficient memory 1237, and the process returns to step S501.

一方、ステップS506において、リカーシブ法が選択されたと判定された場合、その処理は、ステップS509に進む。   On the other hand, if it is determined in step S506 that the recursive method has been selected, the process proceeds to step S509.

ステップS509において、最小N乗誤差法係数演算部1236は、指数Nを指定する情報が入力されたか否かを判定し、指数Nが入力されるまでその処理を繰り返し、例えば、ユーザが操作部1202を操作することにより指数Nを指定する情報が入力されたと判定した場合、その処理は、ステップS510に進む。   In step S509, the least-N power error coefficient calculation unit 1236 determines whether information designating the exponent N is input, and repeats the process until the index N is input. For example, the user operates the operation unit 1202. If it is determined that information specifying the index N is input by operating, the process proceeds to step S510.

ステップS510において、最小N乗誤差法係数演算部1236は、基礎となる最小2乗誤差法による解法により係数セットを求める。ステップS511において、最小N乗誤差法係数演算部1236は、最小2乗誤差法により求められた係数セットから得られる予測値を用い、式(51)乃至式(54)を参照して説明したように再帰的に指数Nに、操作部1202から入力された対応する最小N乗誤差法による係数セットを、処理決定部1234より入力された処理内容毎に求め、係数メモリ1237に記憶させ、ステップS501に戻る。   In step S510, the least-N power error coefficient calculation unit 1236 obtains a coefficient set by a solution using a basic least square error method. In step S511, the least-N power error coefficient calculation unit 1236 uses the predicted value obtained from the coefficient set obtained by the least square error method, and has been described with reference to equations (51) to (54). A coefficient set by the corresponding least-Nth power error method input from the operation unit 1202 is obtained for each processing content input from the processing determination unit 1234 and stored in the coefficient memory 1237 recursively in the index N. Return to.

以上の処理により、処理内容毎に、係数セットが係数メモリ1237に学習されていく。   Through the above processing, a coefficient set is learned in the coefficient memory 1237 for each processing content.

次に、図121のフローチャートを参照して、図116の最適化装置1201による画像最適化処理におけるマッピング処理について説明する。   Next, mapping processing in image optimization processing by the optimization device 1201 in FIG. 116 will be described with reference to the flowchart in FIG. 121.

ステップS521において、特徴量検出部1111は、入力信号としての画像信号より注目画素(出力信号)に対応する位置の入力信号の画素の特徴量を検出し、検出した特徴量を処理決定部412に出力する。   In step S521, the feature amount detection unit 1111 detects the feature amount of the pixel of the input signal at the position corresponding to the target pixel (output signal) from the image signal as the input signal, and the detected feature amount is sent to the processing determination unit 412. Output.

ステップS522において、処理決定部412は、特徴量検出部1111より入力された特徴量に基づいて、処理内容を決定し、処理部1211に出力する。処理決定部412の処理は、図118の処理決定部1234と同一の処理を行うことにより処理内容を決定する。従って、上述のように、処理決定部1234が、特徴量抽出部1233より1または複数の特徴量をベクトル量子化し、その量子化結果を処理内容の情報とするようにする場合、図116の処理部412には、図89の処理決定部1112のようなLUTなどは記憶されないことになる。   In step S <b> 522, the process determination unit 412 determines the processing content based on the feature amount input from the feature amount detection unit 1111, and outputs it to the processing unit 1211. The processing of the processing determination unit 412 determines the processing content by performing the same processing as the processing determination unit 1234 of FIG. Therefore, as described above, when the process determination unit 1234 performs vector quantization on one or more feature amounts from the feature amount extraction unit 1233 and uses the result of the quantization as processing content information, the processing of FIG. The unit 412 does not store an LUT or the like like the processing determination unit 1112 in FIG.

ステップS523において、処理部1211のマッピング処理部1222のタップ抽出部251は、現在の入力信号としての画像フレームに対応する出力信号としての画像のフレームを注目フレームとして、その注目フレームの画素のうち、例えば、ラスタスキャン順で、まだ注目画素としていないものを注目画素として、その注目画素について、入力信号より予測タップを抽出し、積和演算部1251に出力する。   In step S523, the tap extraction unit 251 of the mapping processing unit 1222 of the processing unit 1211 uses an image frame as an output signal corresponding to the image frame as the current input signal as a target frame, and among the pixels of the target frame, For example, in the raster scan order, a pixel that has not yet been set as the target pixel is set as the target pixel, and a prediction tap is extracted from the input signal for the target pixel and output to the product-sum operation unit 1251.

ステップS524において、マッピング処理部1222の積和演算部1251は、処理決定部412より入力される処理内容に対応する係数セットを学習装置1221の係数メモリ1237より読み出す。   In step S524, the product-sum operation unit 1251 of the mapping processing unit 1222 reads the coefficient set corresponding to the processing content input from the processing determination unit 412 from the coefficient memory 1237 of the learning device 1221.

そして、ステップS525において、積和演算部1251は、学習装置1221の係数メモリ1237より読み出している、処理内容に対応した予測係数を用いて、式(39)に従いタップ抽出部251より入力された予測タップと係数メモリ1237から読み出した係数セットとの積和演算処理を実行する。これにより、積和演算部1251は、注目画素の画素値(予測値)を求める。その後、ステップS526に進み、タップ抽出部251は、注目フレームの全ての画素を注目画素としたかどうかを判定し、まだしていないと判定した場合、ステップS521に戻り、注目フレームのラスタスキャン順でまだ注目画素としていない画素を新たに注目画素として、以下、同様の処理を繰り返す。   In step S525, the product-sum operation unit 1251 uses the prediction coefficient corresponding to the processing content read from the coefficient memory 1237 of the learning device 1221 and uses the prediction coefficient input from the tap extraction unit 251 according to Equation (39). A sum-of-products operation process of the tap and the coefficient set read from the coefficient memory 1237 is executed. Accordingly, the product-sum operation unit 1251 obtains the pixel value (predicted value) of the target pixel. Thereafter, the process proceeds to step S526, and the tap extraction unit 251 determines whether or not all the pixels of the target frame have been set as the target pixel. If it is determined that the pixels have not yet been processed, the tap extraction unit 251 returns to step S521 to In the following, the same processing is repeated with a pixel that has not yet been set as the target pixel as a new target pixel.

また、ステップS526において、注目フレームの全ての画素を注目画素としたと判定された場合、ステップS527に進み、表示部403は、積和演算部1251で求められた画素からなる注目フレームを表示する。   If it is determined in step S526 that all the pixels in the target frame are the target pixels, the process proceeds to step S527, and the display unit 403 displays the target frame including the pixels obtained by the product-sum operation unit 1251. .

そして、ステップS521に戻り、特徴量検出部1111は、入力信号としての画像信号より注目画素(出力信号)に対応する位置の入力信号の画素の特徴量を検出し、次のフレームを新たに注目フレームとして、以下、同様の処理を繰り返す。   Then, returning to step S521, the feature amount detection unit 1111 detects the feature amount of the pixel of the input signal at the position corresponding to the target pixel (output signal) from the image signal as the input signal, and newly pays attention to the next frame. Hereinafter, the same processing is repeated as a frame.

尚、図116の最適化装置1201では、ユーザが操作部1202を操作することにより指数Nが変更され(直接法においては、指数Nを指定する係数a,b,cが変更され、また、リカーシブ法においては、指数Nそのものが変更され)、これにより予測係数(係数セット)の学習規範(学習の体系)として、どのような指数Nの最小N乗誤差法を採用するかが設定される。すなわち、係数を求める学習アルゴリズムが変更されている。従って、「処理の構造」が、ユーザの好みの画像が得られるように変更されているということが言える。   116, the index N is changed by the user operating the operation unit 1202 (in the direct method, the coefficients a, b, and c specifying the index N are changed, and the recursive In the method, the index N itself is changed), and this sets what kind of exponent N minimum N error method is adopted as a learning criterion (learning system) of the prediction coefficient (coefficient set). That is, the learning algorithm for obtaining the coefficients has been changed. Therefore, it can be said that the “processing structure” is changed so as to obtain an image desired by the user.

次に、図122を参照して、図116の最適化装置1201に内部情報生成部1312を設けるようにした最適化装置1301の構成について説明する。   Next, the configuration of the optimization apparatus 1301 in which the internal information generation unit 1312 is provided in the optimization apparatus 1201 of FIG. 116 will be described with reference to FIG.

図122の最適化装置1301においては、内部情報生成部1312が設けられたことにより、処理部1211に替えて処理部1311が設けられた点以外については図116の最適化装置1201と同様である。   122 is the same as the optimization device 1201 of FIG. 116 except that the internal information generation unit 1312 is provided and the processing unit 1311 is provided instead of the processing unit 1211. .

内部情報生成部1312は、内部情報として、例えば、処理部1311の係数メモリ1321より処理内容毎に記憶されている係数セットの情報を読出し、表示部403で表示可能な情報に変換して出力し、表示させる。   For example, the internal information generation unit 1312 reads the coefficient set information stored for each processing content from the coefficient memory 1321 of the processing unit 1311 as internal information, converts the information into information that can be displayed on the display unit 403, and outputs the information. To display.

次に、図123を参照して、処理部1311の構成について説明する。基本的な構成は、同様であるが、係数メモリ1237に替えて、係数メモリ1321が設けられているが、その機能は同様であるが、内部情報生成部1312に接続されており、処理内容毎に記憶されている係数セットが読み出される構成になっている。   Next, the configuration of the processing unit 1311 will be described with reference to FIG. Although the basic configuration is the same, a coefficient memory 1321 is provided in place of the coefficient memory 1237, but the function is the same, but it is connected to the internal information generation unit 1312, and each processing content is The coefficient set stored in is read out.

次に、図124のフローチャートを参照して、図122の最適化装置1301による画像最適化処理について説明する。図122の最適化装置1301も、図116における最適化装置1201の場合と同様に学習処理とマッピング処理からなる。そして、学習処理では、ステップS541乃至S551において、図120のステップS501乃至S511における場合とそれぞれ同様の処理が行われる。   Next, image optimization processing by the optimization device 1301 in FIG. 122 will be described with reference to the flowchart in FIG. 124. The optimization apparatus 1301 in FIG. 122 also includes a learning process and a mapping process in the same manner as the optimization apparatus 1201 in FIG. In the learning process, the same processes as those in steps S501 to S511 in FIG. 120 are performed in steps S541 to S551.

さらに、学習処理では、ステップS541およびS551の処理後、ステップS552に進み、内部情報生成部1312は、係数メモリ1321に記憶されている係数セットを、内部情報として読出し、係数セットに含まれる各値に基づいて表示可能な画像信号を生成して、表示部403に出力し、表示させる。   Further, in the learning process, after the processes of steps S541 and S551, the process proceeds to step S552, where the internal information generation unit 1312 reads the coefficient set stored in the coefficient memory 1321 as internal information, and each value included in the coefficient set. A displayable image signal is generated based on the above and output to the display unit 403 for display.

このとき、内部情報生成部1312により生成され表示部403に表示される画像は、上述のように、例えば、図39で示すような3次元分布図や、または、図40で示した2次元分布図のような形式などとすることができる。   At this time, the image generated by the internal information generation unit 1312 and displayed on the display unit 403 is, for example, a three-dimensional distribution diagram as shown in FIG. 39 or the two-dimensional distribution shown in FIG. The format can be as shown in the figure.

ここで、図124のフローチャートの説明に戻る。   Now, the description returns to the flowchart of FIG.

ステップS552の処理後は、ステップS541に戻り、以下、同様の処理が繰り返される。   After the process of step S552, the process returns to step S541, and the same process is repeated thereafter.

一方、図125のフローチャートに示すマッピング処理では、ステップS571乃至S577において、図121のステップS521乃至S527における場合とそれぞれ同様の処理が行われる。   On the other hand, in the mapping process shown in the flowchart of FIG. 125, the same processes as in steps S521 to S527 of FIG. 121 are performed in steps S571 to S577, respectively.

以上の処理により、処理部1311の係数メモリ1321に記憶された係数セットの各値(各係数値)が処理に関する内部情報として表示(呈示)され、ユーザは、この係数セットの分布と、出力信号としての処理部1311の処理結果を見ながら自らの好みに合う出力信号としての画像が得られるように、操作部1202を操作して、指数Nを変更させることで係数セットを求める学習アルゴリズムが変更されている。従って、「処理の構造」が変更ユーザの好みの画像が得られるように変更されていると言える。また、以上の例においては、係数セットを表示させるようにしたが、例えば、現在の最小N乗誤差法が直接法であるのか、または、リカーシブ法であるのかといった、処理に関する内部情報を表示するようにしてもよい。   Through the above processing, each value (each coefficient value) of the coefficient set stored in the coefficient memory 1321 of the processing unit 1311 is displayed (presented) as internal information regarding the processing, and the user can determine the distribution of the coefficient set and the output signal. The learning algorithm for obtaining a coefficient set is changed by operating the operation unit 1202 and changing the index N so that an image as an output signal that suits one's preference can be obtained while viewing the processing result of the processing unit 1311 as Has been. Accordingly, it can be said that the “processing structure” has been changed so as to obtain an image desired by the changed user. In the above example, the coefficient set is displayed. However, for example, internal information related to processing such as whether the current least-N power error method is a direct method or a recursive method is displayed. You may do it.

次に、図126を参照して、図116の最適化装置1201の処理部1211に替えて、処理部1411を設けるようにした最適化装置1401の構成について説明する。   Next, with reference to FIG. 126, a configuration of an optimization apparatus 1401 in which a processing unit 1411 is provided instead of the processing unit 1211 of the optimization apparatus 1201 in FIG. 116 will be described.

処理部1411の構成は、基本的に図41の最適化装置301の処理部311と同様の構成であり、操作部1202より入力された操作信号と、処理決定部412により入力された処理内容に基づいて、入力信号を最適化し表示部403に表示する。   The configuration of the processing unit 1411 is basically the same as that of the processing unit 311 of the optimization apparatus 301 in FIG. 41, and the operation signal input from the operation unit 1202 and the processing content input by the processing determination unit 412 are used. Based on this, the input signal is optimized and displayed on the display unit 403.

次に、図127を参照して、処理部1411の構成について説明する。係数メモリ1421は、処理内容毎に複数の係数セットが記憶されており、マッピング処理部1222によるマッピング処理に必要な係数セットが記憶されている。図中では、係数セットA乃至Nが記憶されていることが示されている。この係数セットは、図128の学習装置1441により予め学習されて生成されるものである。   Next, the configuration of the processing unit 1411 will be described with reference to FIG. The coefficient memory 1421 stores a plurality of coefficient sets for each processing content, and stores coefficient sets necessary for mapping processing by the mapping processing unit 1222. In the figure, coefficient sets A to N are stored. This coefficient set is generated by learning in advance by the learning device 1441 in FIG.

ここで、係数セットを生成する学習装置1441の構成について、図128を参照して説明する。   Here, the configuration of the learning device 1441 that generates the coefficient set will be described with reference to FIG.

学習装置1441の教師データ生成部1451、生徒データ生成部1452、特徴量抽出部1453、処理決定部1454、および、予測タップ抽出部1455は、図118の学習装置1221の教師データ生成部1231、生徒データ生成部1232、特徴量抽出部1233、処理決定部1234、および、予測タップ抽出部1235に対応しており、同様のものであるので、その説明については省略する。   The teacher data generation unit 1451, the student data generation unit 1452, the feature amount extraction unit 1453, the process determination unit 1454, and the prediction tap extraction unit 1455 of the learning device 1441 are the same as the teacher data generation unit 1231 and the student of the learning device 1221 of FIG. This corresponds to the data generation unit 1232, the feature amount extraction unit 1233, the processing determination unit 1234, and the prediction tap extraction unit 1235, which are the same as those of the data generation unit 1232, the description thereof will be omitted.

正規方程式生成部1456は、図43の正規方程式生成部354と同様のものであり、教師データ生成部351より入力された教師データと予測タップに基づいて正規方程式を生成して、係数決定部1457に出力するが、この際、処理決定部1454より入力される処理内容の情報毎に正規方程式を生成して出力する点が異なる。   The normal equation generation unit 1456 is the same as the normal equation generation unit 354 of FIG. 43, generates a normal equation based on the teacher data and the prediction tap input from the teacher data generation unit 351, and generates a coefficient determination unit 1457. However, in this case, a normal equation is generated and output for each piece of processing content information input from the processing determination unit 1454.

係数決定部1457は、図43の係数決定部355と同様のものであり、入力された正規方程式を解いて係数セットを生成するが、この際、処理内容の情報毎に対応付けて係数セットを生成する。   The coefficient determination unit 1457 is the same as the coefficient determination unit 355 of FIG. 43 and generates a coefficient set by solving the input normal equation. At this time, the coefficient set is associated with each piece of processing content information. Generate.

次に、図129のフローチャートを参照して、図128の学習装置1441による係数決定処理(学習処理)について説明する。ステップS591において、教師データ生成部1451は、学習用データから教師データを生成し、正規方程式生成部1456に出力すると共に、生徒データ生成部1452は、学習用データから生徒データを生成し、特徴量抽出部1453、および、予測タップ抽出部1455に出力して、ステップS592に進む。   Next, the coefficient determination process (learning process) by the learning device 1441 in FIG. 128 will be described with reference to the flowchart in FIG. 129. In step S591, the teacher data generation unit 1451 generates teacher data from the learning data and outputs the teacher data to the normal equation generation unit 1456, and the student data generation unit 1452 generates student data from the learning data, and the feature amount. It outputs to the extraction part 1453 and the prediction tap extraction part 1455, and progresses to step S592.

ステップS592において、予測タップ抽出部1455は、各教師データを順次注目画素として、各注目データについて、生徒データより予測タップを抽出し、正規方程式生成部1456に出力して、ステップS593に進む。   In step S592, the prediction tap extraction unit 1455 sequentially extracts each teacher data as a pixel of interest, extracts a prediction tap from the student data for each attention data, outputs the prediction tap to the normal equation generation unit 1456, and proceeds to step S593.

ステップS593において、特徴量抽出部1453は、注目画素(教師データ)に対応する位置の生徒データ(画素)についての特徴量を抽出し、処理決定部1454に出力する。   In step S593, the feature amount extraction unit 1453 extracts the feature amount of the student data (pixel) at the position corresponding to the target pixel (teacher data), and outputs the feature amount to the processing determination unit 1454.

ステップS594において、処理決定部1454は、特徴量抽出部1453より抽出された特徴量に基づいて、各画素毎に処理内容を決定し、決定した処理内容の情報を正規方程式生成部1456に出力する。例えば、処理決定部1454は、例えば、1または複数の特徴量をベクトル量子化し、その量子化結果を処理内容の情報としてもよい。従って、処理決定部1456においては、LUTが記憶されていない。   In step S594, the processing determination unit 1454 determines the processing content for each pixel based on the feature amount extracted by the feature amount extraction unit 1453, and outputs information on the determined processing content to the normal equation generation unit 1456. . For example, the process determination unit 1454 may vector-quantize one or a plurality of feature amounts and use the quantization result as information about the process contents. Therefore, the process determination unit 1456 does not store the LUT.

ステップS595において、正規方程式生成部1456は、各教師データと予測タップのセットを用いて、式(46)における左辺の行列の各コンポーネントとなっているサメーション(Σ)と、右辺のベクトルの各コンポーネントとなっているサメーション(Σ)を演算することにより、処理決定部1454より入力されてくる処理内容の情報毎に正規方程式を生成し、係数決定部1457に出力する。   In step S595, the normal equation generation unit 1456 uses each teacher data and a set of prediction taps to calculate each of the summation (Σ) that is each component of the left-side matrix in Expression (46) and the right-side vector. By calculating the summation (Σ) as a component, a normal equation is generated for each piece of processing content information input from the processing determination unit 1454 and output to the coefficient determination unit 1457.

そして、ステップS596に進み、係数決定部1457は、正規方程式生成部1456より入力された正規方程式を処理内容の情報毎に解いて、いわゆる最小2乗誤差法により処理内容の情報毎に係数セットを求め、ステップS597において、係数メモリ1421に記憶させる。   In step S596, the coefficient determination unit 1457 solves the normal equation input from the normal equation generation unit 1456 for each piece of processing content information, and sets a coefficient set for each piece of processing content information by a so-called least square error method. In step S597, it is stored in the coefficient memory 1421.

以上の処理により、係数メモリ1421に基礎となる係数セット(初期値としての係数セット)が処理内容の情報毎に記憶される。尚、以上の例においては、係数セットは、最小2乗誤差法により求められる場合について説明してきたが、その他の方法で求められた係数セットであってもよく、上述の最小N乗誤差法により求められる係数セットであってもよい。   Through the above processing, a coefficient set (coefficient set as an initial value) as a basis is stored in the coefficient memory 1421 for each piece of processing content information. In the above example, the case where the coefficient set is obtained by the least square error method has been described. However, a coefficient set obtained by another method may be used, and the coefficient set obtained by the above-described least N error method. It may be a required coefficient set.

次に、図130のフローチャートを参照して、図126の最適化装置1401による画像最適化処理について説明する。尚、この画像最適化処理は、係数変更処理とマッピング処理からなり、マッピング処理は、図121や図125で説明したマッピング処理と同一であるため、ここでは、係数変更処理についてのみ説明する。   Next, image optimization processing by the optimization device 1401 in FIG. 126 will be described with reference to the flowchart in FIG. The image optimization process includes a coefficient change process and a mapping process. Since the mapping process is the same as the mapping process described with reference to FIGS. 121 and 125, only the coefficient change process will be described here.

ステップS611において、係数変更部322の変更処理部332は、係数値を操作する操作信号が操作部1202より入力されたか否かを判定する。すなわち、ユーザは、表示部403に表示された画像をみて自らの好みに合うものであるとみなした場合、いま、係数メモリ1421に記憶されている処理内容の情報毎の係数セットによるマッピング処理を実行させるが、自らの好みに合うものではないと判定した場合、マッピング処理に使用される係数メモリ1421に記憶されている係数セットを変更する操作を行う。   In step S <b> 611, the change processing unit 332 of the coefficient changing unit 322 determines whether an operation signal for operating the coefficient value is input from the operation unit 1202. That is, when the user views the image displayed on the display unit 403 and considers that the image is suitable for his / her preference, the user performs the mapping process by the coefficient set for each piece of processing content information stored in the coefficient memory 1421. If it is determined that it does not meet the user's preference, an operation for changing the coefficient set stored in the coefficient memory 1421 used for the mapping process is performed.

例えば、ステップS611において、係数を操作する操作信号が入力されたと判定された場合、すなわち、係数メモリ1421に記憶された係数のうちいずれか1個の係数値を変更するように、操作部1202が操作された場合、ステップS612に進む。   For example, when it is determined in step S611 that an operation signal for manipulating the coefficient is input, that is, the operation unit 1202 changes the coefficient value of any one of the coefficients stored in the coefficient memory 1421. If operated, the process proceeds to step S612.

ステップS612において、変更処理部332は、係数読出書込部331を制御して、係数メモリ321に記憶されている係数セットを読み出させ、ステップS613に進む。ステップS613において、変更処理部332は、操作信号として入力された係数値が係数セットに予め含まれている値と比べて所定の閾値S11以上に変化しているか否かを判定する。例えば、ステップS613において、操作信号として入力された値と係数メモリ1421に記憶されていた係数セットの値との変化が閾値S11以上であると判定された場合、その処理は、ステップS614に進む。   In step S612, the change processing unit 332 controls the coefficient reading / writing unit 331 to read the coefficient set stored in the coefficient memory 321, and the process proceeds to step S613. In step S613, the change processing unit 332 determines whether or not the coefficient value input as the operation signal has changed to a predetermined threshold S11 or more as compared to a value included in the coefficient set in advance. For example, if it is determined in step S613 that the change between the value input as the operation signal and the value of the coefficient set stored in the coefficient memory 1421 is greater than or equal to the threshold value S11, the process proceeds to step S614.

ステップS614において、変更処理部332は、係数セットに含まれる各係数の値を、図50で示したようにバネモデルによって変更し、その処理は、ステップS615に進む。   In step S614, the change processing unit 332 changes the value of each coefficient included in the coefficient set using the spring model as illustrated in FIG. 50, and the process proceeds to step S615.

一方、ステップS613において、操作信号として入力された値と係数メモリ1421に記憶されていた係数セットの値との変化が閾値S11以上ではないと判定された場合、その処理は、ステップS615に進む。   On the other hand, if it is determined in step S613 that the change between the value input as the operation signal and the coefficient set value stored in the coefficient memory 1421 is not greater than or equal to the threshold value S11, the process proceeds to step S615.

ステップS615において、変更処理部332は、係数セットに含まれる各係数の値を、図51で示したように均衡モデルによって変更し、その処理は、ステップS616に進む。   In step S615, the change processing unit 332 changes the value of each coefficient included in the coefficient set using the equilibrium model as illustrated in FIG. 51, and the process proceeds to step S616.

ステップS616において、変更処理部332は、係数読出書込部331を制御して、変更した係数セットの値を係数メモリ1421に上書き記憶させ、その処理は、ステップS611に戻り、それ以降の処理が繰り返される。   In step S616, the change processing unit 332 controls the coefficient read / write unit 331 to overwrite and store the changed coefficient set value in the coefficient memory 1421. The process returns to step S611, and the subsequent processes are performed. Repeated.

そして、ステップS611において、係数値が操作されていないと判定された場合、すなわち、ユーザが表示部403に表示された画像がユーザの好みの画像であると判定された場合、ステップS611に戻り、以下、同様の処理が繰り返される。   If it is determined in step S611 that the coefficient value has not been operated, that is, if the user determines that the image displayed on the display unit 403 is the user's favorite image, the process returns to step S611. Thereafter, the same processing is repeated.

以上の係数変更処理により、ユーザは、マッピング処理に用いられる処理内容の情報毎に記憶された係数セットを変化させ、ユーザにとって最適な処理を実行させることが可能となる。尚、係数セットの各係数の値を変更することは、マッピング処理部311によるマッピング処理の「処理の内容」が変更されることになる。   Through the coefficient changing process described above, the user can change the coefficient set stored for each piece of processing content information used in the mapping process, and execute the process optimal for the user. Note that changing the value of each coefficient in the coefficient set changes the “processing content” of the mapping processing by the mapping processing unit 311.

また、図130の係数変更処理では、係数の変化の大きさが所定の閾値S11以上のときには、操作された係数の値に応じて、係数セットの全ての係数値をバネモデルで変更させ、閾値S11よりも小さいときは、係数セットの全ての係数値を均衡モデルで変更させるため、係数セットを変更させる係数セットの変更アルゴリズムが変化する。従って、図126の最適化装置1401の処理部1411でも、ユーザの操作に従い、その「処理の内容」も、さらには、その「処理の構造」も変更され、これによりユーザにとって最適な信号処理が行われているということができる。   Further, in the coefficient changing process of FIG. 130, when the magnitude of the coefficient change is equal to or greater than the predetermined threshold value S11, all the coefficient values of the coefficient set are changed by the spring model according to the value of the operated coefficient, and the threshold value S11. Is smaller than the coefficient set, the coefficient set changing algorithm for changing the coefficient set changes in order to change all coefficient values of the coefficient set by the equilibrium model. Therefore, in the processing unit 1411 of the optimizing device 1401 in FIG. 126, the “processing contents” and the “processing structure” are also changed according to the user's operation, so that the optimum signal processing for the user can be performed. It can be said that it is done.

また、上述のように、係数メモリ1421に記憶される係数セットが、最小N乗誤差法により求められるものである場合、例えば、複数の指数Nに対応する係数セットを予め係数メモリ1421に記憶させておき、係数変更部322が、ユーザの操作に基づいた操作部1202からの操作信号に従って、指定された指数Nに対応する係数セットに変更させるようにしても良い。この場合、係数メモリ1421に記憶される各係数セットは、ユーザの操作に基づいて操作部1202から入力される指数Nに対応した最小N乗誤差法により生成されたものに変更される。すなわち、指数Nに対応して係数セットを求める学習アルゴリズムが変更されることになるから、「処理の構造」が変更されているということができる。   As described above, when the coefficient set stored in the coefficient memory 1421 is obtained by the least-Nth power error method, for example, coefficient sets corresponding to a plurality of exponents N are stored in the coefficient memory 1421 in advance. The coefficient changing unit 322 may be changed to a coefficient set corresponding to the designated index N in accordance with an operation signal from the operation unit 1202 based on a user operation. In this case, each coefficient set stored in the coefficient memory 1421 is changed to one generated by the least-Nth power error method corresponding to the exponent N input from the operation unit 1202 based on the user's operation. That is, since the learning algorithm for obtaining the coefficient set corresponding to the index N is changed, it can be said that the “processing structure” is changed.

次に、図131を参照して、図126の最適化装置1401に内部情報生成部1521を設けるようにした最適化装置1501の構成について説明する。図131の最適化装置1501においては、内部情報生成部1521が設けられたことに伴って処理部1411に替えて処理部1511が設けられている点を除き、その他の構成は、図126の最適化処理部1401と同様である。   Next, the configuration of the optimization apparatus 1501 in which the internal information generation unit 1521 is provided in the optimization apparatus 1401 of FIG. 126 will be described with reference to FIG. 131 is the same as that shown in FIG. 126 except that a processing unit 1511 is provided in place of the processing unit 1411 when the internal information generation unit 1521 is provided. This is the same as the conversion processing unit 1401.

内部情報生成部1521は、内部情報として、例えば、処理部1511の係数メモリ1531に処理内容の情報毎に記憶されている係数セットを読出し、表示部403に表示可能な画像信号に変換した後、表示部403に出力して、表示させる。   The internal information generation unit 1521 reads, as internal information, for example, a coefficient set stored for each piece of processing content information in the coefficient memory 1531 of the processing unit 1511, and converts it into an image signal that can be displayed on the display unit 403. The data is output to the display unit 403 and displayed.

次に、図132を参照して、処理部1521の構成について説明する。基本的には、図126の処理部1411の構成と同様であるが、係数メモリ1421に替えて、係数メモリ1531が設けられている。係数メモリ1531は、機能上係数メモリ1421とほぼ同様であるが、内部情報生成部1521に接続されており、適宜係数セットが読み出される構成となっている点で異なる。   Next, the configuration of the processing unit 1521 will be described with reference to FIG. The configuration is basically the same as that of the processing unit 1411 in FIG. 126, but a coefficient memory 1531 is provided instead of the coefficient memory 1421. The coefficient memory 1531 is functionally similar to the coefficient memory 1421, but is different in that the coefficient memory 1531 is connected to the internal information generation unit 1521 and is configured to read out a coefficient set as appropriate.

次に、図133のフローチャートを参照して、図131の最適化装置1501による画像最適化処理について説明する。この画像最適化処理も、図126の最適化処理1401が行う画像最適化処理と同様に、係数変更処理と、マッピング処理からなるが、マッピング処理は、図121や図125で説明したマッピング処理と同一であるため、ここでは、係数変更処理についてのみ説明する。   Next, image optimization processing by the optimization apparatus 1501 in FIG. 131 will be described with reference to the flowchart in FIG. 133. This image optimization process also includes a coefficient change process and a mapping process, similar to the image optimization process performed by the optimization process 1401 in FIG. 126. The mapping process is the same as the mapping process described with reference to FIGS. 121 and 125. Since they are the same, only the coefficient changing process will be described here.

係数変更処理では、ステップS631乃至S636において、図130のステップS611乃至S616における場合と、それぞれ同様の処理が行われる。   In the coefficient changing process, processes similar to those in steps S611 to S616 in FIG. 130 are performed in steps S631 to S636, respectively.

そして、ステップS636において、図130のステップS636における場合と同様に、変更後の係数セットが係数メモリ1531に記憶された後は、ステップS637に進み、内部情報生成部1521は、係数メモリ1531に記憶されている係数セットの各係数値を読出し、表示部403で表示可能な画像信号に変換して、表示部403に出力して表示(呈示)させる。このとき、表示部403には、例えば、上述の図39で示したような3次元分布図や、または、図40で示した2次元分布図のような形式にして、係数セットの各係数値を表示(呈示)するようにすることができる。   In step S636, as in step S636 of FIG. 130, after the changed coefficient set is stored in the coefficient memory 1531, the process proceeds to step S637, and the internal information generation unit 1521 stores the coefficient set in the coefficient memory 1531. Each coefficient value of the set coefficient is read out, converted into an image signal that can be displayed on the display unit 403, and output to the display unit 403 for display (presentation). At this time, the display unit 403 displays, for example, each coefficient value of the coefficient set in a format such as the three-dimensional distribution diagram as shown in FIG. 39 or the two-dimensional distribution diagram as shown in FIG. Can be displayed (presented).

ステップS637の処理後は、ステップS631に戻り、以下、同様の処理が繰り返される。   After the process of step S637, the process returns to step S631, and the same process is repeated thereafter.

図133の係数変更処理によれば、係数メモリ1531に処理内容の情報毎に記憶された係数セットの値が、内部情報として表示されるので、ユーザは、この係数セットを見ながらユーザにとって最適な処理を実行する係数セットが得られるように、操作部1202を操作することが可能となる。   According to the coefficient changing process of FIG. 133, the coefficient set value stored for each piece of processing content information in the coefficient memory 1531 is displayed as internal information. It is possible to operate the operation unit 1202 so as to obtain a coefficient set for executing processing.

尚、マッピング処理部1222の積和演算部1251では、式(39)の1次式ではなく、2次以上の高次の式を演算することによって、出力信号を求めるようにすることが可能である。   Note that the product-sum operation unit 1251 of the mapping processing unit 1222 can calculate an output signal by calculating a higher-order expression of the second or higher order instead of the linear expression of the expression (39). is there.

次に、上述した一連の処理は、ハードウェアにより行うこともできるし、ソフトウェアにより行うこともできる。一連の処理をソフトウェアによって行う場合には、そのソフトウェアを構成するプログラムが、汎用のコンピュータ等にインストールされる。   Next, the series of processes described above can be performed by hardware or software. When a series of processing is performed by software, a program constituting the software is installed in a general-purpose computer or the like.

そこで、図134は、上述した一連の処理を実行するプログラムがインストールされるコンピュータの一実施の形態の構成例を示している。   Therefore, FIG. 134 shows a configuration example of an embodiment of a computer in which a program for executing the series of processes described above is installed.

プログラムは、コンピュータに内蔵されている記録媒体としてのハードディスク2105やROM2103に予め記録しておくことができる。   The program can be recorded in advance in a hard disk 2105 or a ROM 2103 as a recording medium built in the computer.

あるいはまた、プログラムは、フロッピー(登録商標)ディスク、CD-ROM(Compact Disc Read Only Memory),MO(Magneto optical)ディスク,DVD(Digital Versatile Disc)、磁気ディスク、半導体メモリなどのリムーバブル記録媒体2111に、一時的あるいは永続的に格納(記録)しておくことができる。このようなリムーバブル記録媒体2111は、いわゆるパッケージソフトウエアとして提供することができる。   Alternatively, the program is stored in a removable recording medium 2111 such as a floppy (registered trademark) disk, a CD-ROM (Compact Disc Read Only Memory), an MO (Magneto optical) disk, a DVD (Digital Versatile Disc), a magnetic disk, or a semiconductor memory. It can be stored (recorded) temporarily or permanently. Such a removable recording medium 2111 can be provided as so-called package software.

なお、プログラムは、上述したようなリムーバブル記録媒体2111からコンピュータにインストールする他、ダウンロードサイトから、ディジタル衛星放送用の人工衛星を介して、コンピュータに無線で転送したり、LAN(Local Area Network)、インターネットといったネットワークを介して、コンピュータに有線で転送し、コンピュータでは、そのようにして転送されてくるプログラムを、通信部2108で受信し、内蔵するハードディスク2105にインストールすることができる。   The program is installed on the computer from the removable recording medium 2111 as described above, or transferred from the download site to the computer wirelessly via a digital satellite broadcasting artificial satellite, LAN (Local Area Network), The program can be transferred to a computer via a network such as the Internet, and the computer can receive the program transferred in this way by the communication unit 2108 and install it in the built-in hard disk 2105.

コンピュータは、CPU(Central Processing Unit)2102を内蔵している。CPU2102には、バス2101を介して、入出力インタフェース2110が接続されており、CPU2102は、入出力インタフェース2110を介して、ユーザによって、キーボードや、マウス、マイク等で構成される入力部2107が操作等されることにより指令が入力されると、それにしたがって、ROM(Read Only Memory)2103に格納されているプログラムを実行する。あるいは、また、CPU2102は、ハードディスク2105に格納されているプログラム、衛星若しくはネットワークから転送され、通信部2108で受信されてハードディスク2105にインストールされたプログラム、またはドライブ2109に装着されたリムーバブル記録媒体2111から読み出されてハードディスク2105にインストールされたプログラムを、RAM(Random Access Memory)2104にロードして実行する。これにより、CPU2102は、上述したフローチャートにしたがった処理、あるいは上述したブロック図の構成により行われる処理を行う。そして、CPU2102は、その処理結果を、必要に応じて、例えば、入出力インタフェース2110を介して、LCD(Liquid Crystal Display)やスピーカ等で構成される出力部2106から出力、あるいは、通信部2108から送信、さらには、ハードディスク2105に記録等させる。   The computer includes a CPU (Central Processing Unit) 2102. An input / output interface 2110 is connected to the CPU 2102 via the bus 2101, and the CPU 2102 operates an input unit 2107 including a keyboard, a mouse, a microphone, and the like by the user via the input / output interface 2110. When a command is input as a result of this, a program stored in a ROM (Read Only Memory) 2103 is executed accordingly. Alternatively, the CPU 2102 may be a program stored in the hard disk 2105, a program transferred from a satellite or a network, received by the communication unit 2108 and installed in the hard disk 2105, or a removable recording medium 2111 attached to the drive 2109. The program read and installed in the hard disk 2105 is loaded into a RAM (Random Access Memory) 2104 and executed. Thereby, the CPU 2102 performs processing according to the above-described flowchart or processing performed by the configuration of the above-described block diagram. Then, the CPU 2102 outputs the processing result from the output unit 2106 configured with an LCD (Liquid Crystal Display), a speaker, or the like, for example, via the input / output interface 2110 as necessary, or from the communication unit 2108. Transmission and further recording on the hard disk 2105 are performed.

ここで、本明細書において、コンピュータに各種の処理を行わせるためのプログラムを記述する処理ステップは、必ずしもフローチャートとして記載された順序に沿って時系列に処理する必要はなく、並列的あるいは個別に実行される処理(例えば、並列処理あるいはオブジェクトによる処理)も含むものである。   Here, in the present specification, the processing steps for describing a program for causing the computer to perform various processes do not necessarily have to be processed in time series in the order described in the flowcharts, but in parallel or individually. This includes processing to be executed (for example, parallel processing or processing by an object).

また、プログラムは、1のコンピュータにより処理されるものであっても良いし、複数のコンピュータによって分散処理されるものであっても良い。さらに、プログラムは、遠方のコンピュータに転送されて実行されるものであっても良い。   Further, the program may be processed by one computer or may be distributedly processed by a plurality of computers. Furthermore, the program may be transferred to a remote computer and executed.

以上、本発明を、入力信号からのノイズ除去や、自動走行に適用した場合について説明したが、本発明は、ノイズ除去や自動走行以外の、例えば、信号の周波数特性の変換その他のアプリケーションに広く適用可能である。   The present invention has been described with respect to the case where the present invention is applied to noise removal from an input signal and automatic traveling. However, the present invention is widely applied to other applications such as conversion of signal frequency characteristics and the like other than noise removal and automatic traveling. Applicable.

図1は、本発明を適用した最適化装置を示す図である。FIG. 1 is a diagram showing an optimization apparatus to which the present invention is applied. 図2は、本発明を適用した最適化装置の一実施の形態の構成例を示すブロック図である。FIG. 2 is a block diagram showing a configuration example of an embodiment of an optimization apparatus to which the present invention is applied. 図3は、図2の最適化装置による最適化処理を説明するフローチャートである。FIG. 3 is a flowchart for explaining optimization processing by the optimization apparatus of FIG. 図4は、最適化装置を利用したNR回路の一実施の形態の構成例を示すブロック図である。FIG. 4 is a block diagram illustrating a configuration example of an embodiment of an NR circuit using an optimization device. 図5は、入力信号および入力信頼度を示す波形図である。FIG. 5 is a waveform diagram showing the input signal and the input reliability. 図6は、NR回路による補正処理を説明するフローチャートである。FIG. 6 is a flowchart for explaining correction processing by the NR circuit. 図7は、NR回路による補正パラメータ演算処理を説明するフローチャートである。FIG. 7 is a flowchart for explaining correction parameter calculation processing by the NR circuit. 図8は、NR回路による制御データ学習処理を説明するフローチャートである。FIG. 8 is a flowchart for explaining control data learning processing by the NR circuit. 図9は、制御データ学習処理を説明するための図である。FIG. 9 is a diagram for explaining the control data learning process. 図10は、最適化装置を利用したNR回路の他の一実施の形態の構成例を示すブロック図である。FIG. 10 is a block diagram illustrating a configuration example of another embodiment of the NR circuit using the optimization device. 図11は、パラメータ制御データと乗算される画素を示す図である。FIG. 11 is a diagram illustrating pixels multiplied by the parameter control data. 図12は、NR回路による補正パラメータ演算処理を説明するフローチャートである。FIG. 12 is a flowchart for explaining correction parameter calculation processing by the NR circuit. 図13は、NR回路による制御データ学習処理を説明するフローチャートである。FIG. 13 is a flowchart for explaining control data learning processing by the NR circuit. 図14は、最適化装置を利用したNR回路の他の一実施の形態の構成例を示すブロック図である。FIG. 14 is a block diagram illustrating a configuration example of another embodiment of the NR circuit using the optimization device. 図15は、図14の最適化装置による最適化処理を説明するフローチャートである。FIG. 15 is a flowchart for explaining optimization processing by the optimization apparatus of FIG. 図16は、本発明を適用した自動走行装置の一実施の形態の構成例を示すブロック図である。FIG. 16 is a block diagram showing a configuration example of an embodiment of an automatic travel device to which the present invention is applied. 図17は、図16の最適化装置の処理部の構成例を示すブロック図である。FIG. 17 is a block diagram illustrating a configuration example of a processing unit of the optimization apparatus in FIG. 図18は、図16の最適化装置による補正パラメータ演算処理を説明するフローチャートである。FIG. 18 is a flowchart for explaining correction parameter calculation processing by the optimization apparatus of FIG. 図19は、図16の最適化装置による制御データ学習処理を説明するフローチャートである。FIG. 19 is a flowchart for explaining control data learning processing by the optimization apparatus of FIG. 図20は、図16の最適化装置の処理部の他の構成例を示すブロック図である。FIG. 20 is a block diagram illustrating another configuration example of the processing unit of the optimization apparatus of FIG. 図21は、図16の演算部が出力する走行方向を示す図である。FIG. 21 is a diagram illustrating the traveling direction output by the calculation unit in FIG. 16. 図22は、図16の最適化装置による補正処理を説明するフローチャートである。FIG. 22 is a flowchart for explaining the correction processing by the optimization apparatus of FIG. 図23は、図16の最適化装置による補正パラメータ学習処理を説明するフローチャートである。FIG. 23 is a flowchart for explaining correction parameter learning processing by the optimization apparatus of FIG. 図24は、本発明を適用した自動走行装置の他の構成例を示すブロック図である。FIG. 24 is a block diagram showing another configuration example of the automatic travel device to which the present invention is applied. 図25は、図24の最適化装置による補正パラメータ演算処理を説明するフローチャートである。FIG. 25 is a flowchart for explaining correction parameter calculation processing by the optimization apparatus of FIG. 図26は、図24の最適化装置による補正パラメータ学習処理を説明するフローチャートである。FIG. 26 is a flowchart for explaining correction parameter learning processing by the optimization apparatus of FIG. 図27は、図24の内部情報生成部により生成される内部情報の例を示す図である。FIG. 27 is a diagram illustrating an example of internal information generated by the internal information generation unit in FIG. 図28は、図24の内部情報生成部により生成される内部情報の例を示す図である。FIG. 28 is a diagram illustrating an example of internal information generated by the internal information generation unit in FIG. 図29は、本発明を適用した最適化装置のその他の実施の形態の構成例を示すブロック図である。FIG. 29 is a block diagram illustrating a configuration example of another embodiment of the optimization device to which the present invention has been applied. 図30は、図29の最適化装置の学習部の構成例を示すブロック図である。FIG. 30 is a block diagram illustrating a configuration example of the learning unit of the optimization apparatus in FIG. 図31は、図29の最適化装置のマッピング処理部の構成例を示すブロック図である。FIG. 31 is a block diagram illustrating a configuration example of the mapping processing unit of the optimization apparatus of FIG. 図32は、真値と予測値との誤差を説明する図である。FIG. 32 is a diagram for explaining an error between a true value and a predicted value. 図33は、最小N乗誤差法を説明する図である。FIG. 33 is a diagram for explaining the least-N power error method. 図34は、重みαSを説明する図である。FIG. 34 is a diagram for explaining the weight α S. 図35は、図29の最適化装置による画像最適化処理を説明するフローチャートである。FIG. 35 is a flowchart for explaining image optimization processing by the optimization apparatus of FIG. 図36は、最小N乗規範と最小2乗規範の比較を示す図である。FIG. 36 is a diagram illustrating a comparison between the least-Nth power criterion and the least-square criterion. 図37は、本発明を適用した最適化装置のその他の実施の形態の構成例を示すブロック図である。FIG. 37 is a block diagram illustrating a configuration example of another embodiment of the optimization device to which the present invention has been applied. 図38は、図37の最適化装置による画像最適化処理を説明するフローチャートである。FIG. 38 is a flowchart for explaining image optimization processing by the optimization apparatus of FIG. 図39は、図37の内部情報生成部により生成される内部情報の例を示す図である。FIG. 39 is a diagram illustrating an example of internal information generated by the internal information generation unit in FIG. 図40は、図37の内部情報生成部により生成される内部情報の例を示す図である。FIG. 40 is a diagram illustrating an example of internal information generated by the internal information generation unit in FIG. 図41は、本発明を適用した最適化装置のその他の実施の形態の構成例を示すブロック図である。FIG. 41 is a block diagram illustrating a configuration example of another embodiment of the optimization device to which the present invention has been applied. 図42は、図41の最適化装置の係数変換部の構成例を示すブロック図である。FIG. 42 is a block diagram illustrating a configuration example of a coefficient conversion unit of the optimization apparatus in FIG. 図43は、図41の係数メモリに格納される係数を学習により生成する学習装置の構成例を示すブロック図である。FIG. 43 is a block diagram illustrating a configuration example of a learning device that generates the coefficients stored in the coefficient memory of FIG. 41 by learning. 図44は、図43の学習装置による係数決定処理を説明するフローチャートである。FIG. 44 is a flowchart for explaining the coefficient determination processing by the learning apparatus of FIG. 図45は、予測タップの構成を示す図である。FIG. 45 is a diagram illustrating a configuration of a prediction tap. 図46は、予測タップのタップ位置に対応する係数値の分布の例を示す図である。FIG. 46 is a diagram illustrating an example of the distribution of coefficient values corresponding to the tap positions of the prediction taps. 図47は、予測タップの構成を示す図である。FIG. 47 is a diagram illustrating a configuration of a prediction tap. 図48は、予測タップのタップ位置に対応する係数値の分布の例を示す図である。FIG. 48 is a diagram illustrating an example of distribution of coefficient values corresponding to tap positions of prediction taps. 図49は、予測タップの構成を示す図である。FIG. 49 is a diagram illustrating a configuration of a prediction tap. 図50は、バネモデルを説明する図である。FIG. 50 is a diagram illustrating the spring model. 図51は、均衡モデルを説明する図である。FIG. 51 is a diagram for explaining an equilibrium model. 図52は、図41の最適化装置による画像最適化処理を説明するフローチャートである。FIG. 52 is a flowchart for explaining image optimization processing by the optimization apparatus of FIG. 図53は、本発明を適用した最適化装置のその他の実施の形態の構成例を示すブロック図である。FIG. 53 is a block diagram illustrating a configuration example of another embodiment of the optimization device to which the present invention has been applied. 図54は、図53の最適化装置による画像最適化処理を説明するフローチャートである。FIG. 54 is a flowchart for explaining image optimization processing by the optimization apparatus of FIG. 図55は、本発明を適用した最適化装置のその他の実施の形態の構成例を示すブロック図である。FIG. 55 is a block diagram showing a configuration example of another embodiment of the optimization device to which the present invention is applied. 図56は、図55の特徴量検出部の構成例を示すブロック図である。FIG. 56 is a block diagram illustrating a configuration example of the feature amount detection unit in FIG. 55. 図57は、図55の処理決定部の構成例を示すブロック図である。FIG. 57 is a block diagram illustrating a configuration example of the processing determination unit in FIG. 図58は、図55の処理部の構成例を示すブロック図である。FIG. 58 is a block diagram illustrating a configuration example of the processing unit of FIG. 図59は、図55の最適化装置によるテロップ抽出最適化処理を説明するフローチャートである。FIG. 59 is a flowchart for explaining telop extraction optimization processing by the optimization apparatus of FIG. 図60は、本発明を適用した最適化装置のその他の実施の形態の構成例を示すブロック図である。FIG. 60 is a block diagram illustrating a configuration example of another embodiment of the optimization device to which the present invention has been applied. 図61は、図60の最適化装置によるテロップ抽出最適化処理を説明するフローチャートである。FIG. 61 is a flowchart for explaining telop extraction optimization processing by the optimization apparatus of FIG. 図62は、本発明を適用した最適化装置のその他の実施の形態の構成例を示すブロック図である。FIG. 62 is a block diagram showing a configuration example of another embodiment of the optimization device to which the present invention is applied. 図63は、図62の最適化装置によるテロップ抽出最適化処理を説明するフローチャートである。FIG. 63 is a flowchart for explaining telop extraction optimization processing by the optimization apparatus of FIG. 図64は、図62の最適化装置によるテロップ抽出最適化処理を説明する図である。FIG. 64 is a diagram for explaining telop extraction optimization processing by the optimization apparatus of FIG. 図65は、図62の最適化装置によるテロップ抽出最適化処理を説明する図である。FIG. 65 is a diagram for explaining telop extraction optimization processing by the optimization apparatus of FIG. 図66は、図62の最適化装置によるテロップ抽出最適化処理を説明する図である。FIG. 66 is a diagram for explaining telop extraction optimization processing by the optimization apparatus of FIG. 図67は、図62の最適化装置によるテロップ抽出最適化処理を説明する図である。FIG. 67 is a diagram for explaining telop extraction optimization processing by the optimization apparatus of FIG. 図68は、図62の最適化装置によるテロップ抽出最適化処理を説明する図である。FIG. 68 is a diagram for explaining telop extraction optimization processing by the optimization apparatus of FIG. 図69は、本発明を適用した最適化装置のその他の実施の形態の構成例を示すブロック図である。FIG. 69 is a block diagram showing a configuration example of another embodiment of the optimization device to which the present invention is applied. 図70は、図69の処理決定部の構成例を示すブロック図である。FIG. 70 is a block diagram illustrating a configuration example of the processing determination unit in FIG. 69. 図71は、図69の最適化装置によるテロップ抽出最適化処理を説明するフローチャートである。FIG. 71 is a flowchart for explaining telop extraction optimization processing by the optimization apparatus of FIG. 69. 図72は、図69の最適化装置によるテロップ抽出最適化処理を説明する図である。FIG. 72 is a diagram for explaining telop extraction optimization processing by the optimization apparatus of FIG. 69. 図73は、図69の最適化装置によるテロップ抽出最適化処理を説明する図である。FIG. 73 is a diagram for explaining telop extraction optimization processing by the optimization apparatus of FIG. 69. 図74は、図69の最適化装置によるテロップ抽出最適化処理を説明する図である。FIG. 74 is a diagram for explaining telop extraction optimization processing by the optimization apparatus of FIG. 69. 図75は、図69の最適化装置によるテロップ抽出最適化処理を説明する図である。FIG. 75 is a diagram for explaining telop extraction optimization processing by the optimization apparatus of FIG. 69. 図76は、図69の最適化装置によるテロップ抽出最適化処理を説明する図である。FIG. 76 is a diagram for explaining telop extraction optimization processing by the optimization apparatus of FIG. 69. 図77は、図69の最適化装置によるテロップ抽出最適化処理を説明する図である。FIG. 77 is a diagram for explaining telop extraction optimization processing by the optimization apparatus of FIG. 69. 図78は、図69の最適化装置によるテロップ抽出最適化処理を説明する図である。FIG. 78 is a diagram for explaining telop extraction optimization processing by the optimization apparatus of FIG. 69. 図79は、図69の最適化装置による特徴量の切替を説明する図である。FIG. 79 is a diagram for explaining feature amount switching by the optimization apparatus in FIG. 69. 図80は、本発明を適用した最適化装置のその他の実施の形態の構成例を示すブロック図である。FIG. 80 is a block diagram illustrating a configuration example of another embodiment of the optimization device to which the present invention has been applied. 図81は、図80の特徴量検出部の構成例を示すブロック図である。FIG. 81 is a block diagram illustrating a configuration example of the feature amount detection unit in FIG. 図82は、図80の最適化装置によるテロップ抽出最適化処理を説明するフローチャートである。FIG. 82 is a flowchart for explaining telop extraction optimization processing by the optimization apparatus of FIG. 図83は、本発明を適用した最適化装置のその他の実施の形態の構成例を示すブロック図である。FIG. 83 is a block diagram illustrating a configuration example of another embodiment of the optimization device to which the present invention has been applied. 図84は、図80の特徴量検出部の構成例を示すブロック図である。FIG. 84 is a block diagram illustrating a configuration example of the feature amount detection unit in FIG. 図85は、図84の最適化装置によるテロップ抽出最適化処理を説明するフローチャートである。FIG. 85 is a flowchart for explaining telop extraction optimization processing by the optimization apparatus of FIG. 図86は、図84の最適化装置による特徴量の加工内容指示画面を説明する図である。FIG. 86 is a view for explaining a feature content processing content instruction screen by the optimization apparatus of FIG. 図87は、本発明を適用した最適化装置のその他の実施の形態の構成例を示すブロック図である。FIG. 87 is a block diagram showing a configuration example of another embodiment of the optimization device to which the present invention is applied. 図88は、図87の最適化装置によるテロップ抽出最適化処理を説明するフローチャートである。FIG. 88 is a flowchart for explaining telop extraction optimization processing by the optimization apparatus of FIG. 図89は、本発明を適用した最適化装置のその他の実施の形態の構成例を示すブロック図である。FIG. 89 is a block diagram showing a configuration example of another embodiment of the optimization device to which the present invention is applied. 図90は、図89の処理決定部の構成例を示すブロック図である。FIG. 90 is a block diagram illustrating a configuration example of the processing determination unit in FIG. 図91は、図89の最適化装置による画像最適化処理を説明するフローチャートである。FIG. 91 is a flowchart for explaining image optimization processing by the optimization apparatus of FIG. 図92は、LUTを説明する図である。FIG. 92 is a diagram for explaining an LUT. 図93は、LUT上に特徴量毎に指定される処理内容を説明する図である。FIG. 93 is a diagram for explaining the processing contents designated for each feature amount on the LUT. 図94は、LUT上に特徴量毎に指定される処理内容を説明する図である。FIG. 94 is a diagram for explaining processing contents designated for each feature amount on the LUT. 図95は、LUT上に特徴量毎に指定される処理内容を説明する図である。FIG. 95 is a diagram for explaining the processing contents designated for each feature amount on the LUT. 図96は、図91の最適化装置による画像最適化処理におけるマニュアルLUT変更処理を説明するフローチャートである。FIG. 96 is a flowchart for explaining the manual LUT change process in the image optimization process by the optimization apparatus of FIG. 図97は、図91の最適化装置による画像最適化処理におけるマニュアルLUT変更処理を説明する図である。FIG. 97 is a diagram for explaining the manual LUT change process in the image optimization process by the optimization apparatus of FIG. 図98は、図91の最適化装置による画像最適化処理におけるマニュアルLUT変更処理を説明する図である。FIG. 98 is a diagram for explaining the manual LUT change process in the image optimization process by the optimization apparatus of FIG. 図99は、図91の最適化装置による画像最適化処理におけるマニュアルLUT変更処理を説明する図である。FIG. 99 is a diagram for explaining the manual LUT changing process in the image optimizing process by the optimizing apparatus of FIG. 図100は、図91の最適化装置による画像最適化処理におけるマニュアルLUT変更処理を説明する図である。FIG. 100 is a diagram for explaining the manual LUT change process in the image optimization process by the optimization apparatus of FIG. 図101は、図91の最適化装置による画像最適化処理におけるマニュアルLUT変更処理を説明する図である。FIG. 101 is a diagram for explaining the manual LUT changing process in the image optimizing process by the optimizing apparatus of FIG. 図102は、図91の最適化装置による画像最適化処理におけるマニュアルLUT変更処理を説明する図である。FIG. 102 is a diagram for explaining the manual LUT change process in the image optimization process by the optimization apparatus of FIG. 図103は、図91の最適化装置による画像最適化処理におけるマニュアルLUT変更処理を説明する図である。FIG. 103 is a diagram for explaining the manual LUT change process in the image optimization process by the optimization apparatus of FIG. 図104は、図91の最適化装置による画像最適化処理におけるマニュアルLUT変更処理を説明する図である。FIG. 104 is a diagram for explaining the manual LUT changing process in the image optimizing process by the optimizing apparatus of FIG. 図105は、図91の最適化装置による画像最適化処理におけるオートLUT変更処理を説明するフローチャートである。FIG. 105 is a flowchart for describing auto LUT change processing in image optimization processing by the optimization apparatus in FIG. 91. 図106は、図91の最適化装置による画像最適化処理におけるオートLUT変更処理を説明する図である。FIG. 106 is a diagram for describing auto LUT change processing in image optimization processing by the optimization apparatus in FIG. 91. 図107は、図91の最適化装置による画像最適化処理におけるオートLUT変更処理を説明する図である。FIG. 107 is a diagram for explaining auto LUT change processing in image optimization processing by the optimization apparatus in FIG. 91. 図108は、図91の最適化装置による画像最適化処理におけるオートLUT変更処理を説明する図である。FIG. 108 is a diagram for explaining auto LUT change processing in image optimization processing by the optimization apparatus in FIG. 91. 図109は、図91の最適化装置による画像最適化処理におけるオートLUT変更処理を説明する図である。FIG. 109 is a diagram for explaining auto LUT change processing in image optimization processing by the optimization apparatus in FIG. 91. 図110は、本発明を適用した最適化装置のその他の実施の形態の構成例を示すブロック図である。FIG. 110 is a block diagram illustrating a configuration example of another embodiment of the optimization device to which the present invention has been applied. 図111は、図110の処理決定部の構成例を示すブロック図である。FIG. 111 is a block diagram illustrating a configuration example of the processing determination unit in FIG. 110. 図112は、図110の最適化装置による画像最適化処理を説明するフローチャートである。FIG. 112 is a flowchart for explaining image optimization processing by the optimization apparatus of FIG. 110. 図113は、図110の最適化装置による画像最適化処理におけるマニュアルLUT変更処理を説明するフローチャートである。FIG. 113 is a flowchart for describing manual LUT change processing in image optimization processing by the optimization apparatus in FIG. 110. 図114は、図110の最適化装置による画像最適化処理におけるマニュアルLUT変更処理を説明する図である。FIG. 114 is a diagram for explaining the manual LUT change process in the image optimization process by the optimization apparatus of FIG. 110. 図115は、図110の最適化装置による画像最適化処理におけるマニュアルLUT変更処理を説明する図である。FIG. 115 is a diagram for explaining the manual LUT changing process in the image optimizing process by the optimizing apparatus in FIG. 110. 図116は、本発明を適用した最適化装置のその他の実施の形態の構成例を示すブロック図である。FIG. 116 is a block diagram illustrating a configuration example of another embodiment of the optimization device to which the present invention has been applied. 図117は、図116の処理部の構成例を示すブロック図である。117 is a block diagram illustrating a configuration example of the processing unit in FIG. 116. 図118は、図116の係数メモリに格納される係数セットを学習により生成する学習装置を示すブロック図である。118 is a block diagram showing a learning apparatus that generates a coefficient set stored in the coefficient memory of FIG. 116 by learning. 図119は、図117のマッピング処理部の構成例を示すブロック図である。FIG. 119 is a block diagram illustrating a configuration example of the mapping processing unit in FIG. 117. 図120は、図116の最適化装置による学習処理を説明するフローチャートである。FIG. 120 is a flowchart for explaining learning processing by the optimization apparatus of FIG. 図121は、図116の最適化装置によるマッピング処理を説明するフローチャートである。FIG. 121 is a flowchart for explaining mapping processing by the optimization apparatus of FIG. 図122は、本発明を適用した最適化装置のその他の実施の形態の構成例を示すブロック図である。FIG. 122 is a block diagram illustrating a configuration example of another embodiment of the optimization device to which the present invention has been applied. 図123は、図122の処理部の構成例を示すブロック図である。FIG. 123 is a block diagram illustrating a configuration example of the processing unit in FIG. 122. 図124は、図122の最適化装置による学習処理を説明するフローチャートである。FIG. 124 is a flowchart for describing learning processing by the optimization apparatus of FIG. 図125は、図122の最適化装置によるマッピング処理を説明するフローチャートである。FIG. 125 is a flowchart for explaining mapping processing by the optimization apparatus of FIG. 図126は、本発明を適用した最適化装置のその他の実施の形態の構成例を示すブロック図である。FIG. 126 is a block diagram illustrating a configuration example of another embodiment of the optimization device to which the present invention has been applied. 図127は、図126の処理部の構成例を示すブロック図である。127 is a block diagram illustrating a configuration example of the processing unit in FIG. 126. 図128は、図127の係数メモリに格納される係数セットを学習により生成する学習装置を示すブロック図である。128 is a block diagram showing a learning apparatus that generates a coefficient set stored in the coefficient memory of FIG. 127 by learning. 図129は、図128の学習装置による係数決定処理を説明するフローチャートである。FIG. 129 is a flowchart illustrating coefficient determination processing by the learning device in FIG. 128. 図130は、図126の最適化装置による画像最適化処理を説明するフローチャートである。FIG. 130 is a flowchart for explaining image optimization processing by the optimization apparatus in FIG. 126. 図131は、本発明を適用した最適化装置のその他の実施の形態の構成例を示すブロック図である。FIG. 131 is a block diagram illustrating a configuration example of another embodiment of the optimization device to which the present invention has been applied. 図132は、図131の処理部の構成例を示すブロック図である。FIG. 132 is a block diagram illustrating a configuration example of the processing unit in FIG. 131. 図133は、図131の最適化装置による画像最適化処理を説明するフローチャートである。FIG. 133 is a flowchart for explaining image optimization processing by the optimization apparatus in FIG. 131. 図134は、本発明を適用したコンピュータの一実施の形態の構成例を示すブロック図である。FIG. 134 is a block diagram illustrating a configuration example of an embodiment of a computer to which the present invention has been applied.

符号の説明Explanation of symbols

1 最適化装置, 11 処理部, 21 補正部, 22 学習部, 101 処理部, 201 最適化装置, 211 処理部, 221 学習部, 222 マッピング処理部, 301 最適化装置, 311 処理部, 321 計数メモリ, 322 計数変換部, 341 学習装置, 401 最適化装置, 411 特徴量検出部, 412 処理決定部, 413 処理部, 701 最適化装置, 711 処理決定部, 811,911 特徴量検出部, 912 内部情報生成部, 1001 最適化装置, 1011 内部情報生成部, 1101 最適化装置, 1111 特徴量検出部, 1112 処理決定部, 1081 特徴量検出部, 1182 内部情報生成部, 1201 最適化装置, 1211 処理部, 1301 最適化装置, 1311 処理部, 1312 内部情報生成部, 1401 最適化装置, 1411 処理部, 1501 最適化装置, 1511 処理部, 1521 内部情報生成部   DESCRIPTION OF SYMBOLS 1 optimization apparatus, 11 processing part, 21 correction | amendment part, 22 learning part, 101 processing part, 201 optimization apparatus, 211 processing part, 221 learning part, 222 mapping processing part, 301 optimization apparatus, 311 processing part, 321 count Memory, 322 Count conversion unit, 341 learning device, 401 optimization device, 411 feature amount detection unit, 412 processing determination unit, 413 processing unit, 701 optimization device, 711 processing determination unit, 811, 911 feature amount detection unit, 912 Internal information generation unit, 1001 optimization device, 1011 internal information generation unit, 1101 optimization device, 1111 feature amount detection unit, 1112 processing determination unit, 1081 feature amount detection unit, 1182 internal information generation unit, 1201 optimization device, 1211 Processing unit, 1301 optimization device, 1311 processing unit, 1312 internal information generation unit, 1401 optimization device, 1411 processing unit, 1501 optimization device, 1511 processing unit, 1521 internal information generation unit

Claims (12)

ユーザの操作に応じて操作信号を出力する操作信号出力手段と、
画像信号からなる入力信号より、前記画像信号の画素毎に、前記画素とその時間的、および空間的の両方、若しくはそのいずれかの周辺の画素とを用いた画素値の画素間差分処理、フィルタ処理、統計処理、または、それらのフィルタ処理結果、および統計処理結果を用いたフィルタ処理、および統計処理を含む複数の種類の処理結果を求める複数の特徴検出処理の内容のうち、前記操作信号により指定される所定数の種類の特徴検出処理の内容の特徴を検出する特徴検出手段と、
前記特徴とその特徴を有する前記入力信号に対する信号処理の内容との対応関係を示すテーブルを記憶する記憶手段と、
前記記憶手段に記憶されているテーブルにおける、前記特徴検出手段により検出された特徴を有する前記入力信号に対するものであって、前記操作信号により設定される信号処理の内容を、前記入力信号に対する信号処理の内容として決定する処理決定手段と、
前記処理決定手段により決定された前記信号処理の内容に従って設定され、前記操作信号に基づいて変更可能な所定の予測係数からなる実行処理の内容に基づいて、前記入力信号と前記所定の予測係数との線形結合により出力信号を生成することで、前記入力信号への実行処理を実行する処理実行手段と、
前記特徴検出手段により検出される特徴の種類、または前記特徴の分布、前記処理決定手段により決定された信号処理の内容を含むテーブル、または、前記処理実行手段により実行された実行処理の内容である所定の予測係数のうちの少なくともいずれかを内部情報として表示する表示手段とを備え、
前記操作信号に基づいて、前記特徴検出処理の内容、前記信号処理の内容、または、前記実行処理の内容のうちの少なくともいずれかが変更される
ことを特徴とする信号処理装置。
Operation signal output means for outputting an operation signal in accordance with a user operation;
Than the input signal composed of image signals, the image signal each pixel of the pixel and its temporal, and both spatial or pixel difference processing pixel value using the one of its peripheral pixels, Among the contents of the filtering process, the statistical process, or the filtering process result, the filtering process using the statistical process result, and the plurality of feature detection processes for obtaining a plurality of types of processing results including the statistical process, the operation signal Feature detection means for detecting the features of the content of the predetermined number of types of feature detection processing specified by
Storage means for storing a table showing a correspondence relationship between the feature and the content of signal processing for the input signal having the feature;
In table stored in the storage means, said be for the input signal with the features detected by the feature detecting means, the content of signal processing which is set by the operation signal, signal processing on the input signal Processing determining means for determining the content of
The input signal and the predetermined prediction coefficient are set according to the content of the signal processing determined by the processing determination means and based on the content of the execution process including a predetermined prediction coefficient that can be changed based on the operation signal. Processing execution means for executing an execution process on the input signal by generating an output signal by linear combination of :
The type of feature detected by the feature detection unit, the distribution of the feature, a table including the content of the signal processing determined by the processing determination unit, or the content of execution processing executed by the processing execution unit Display means for displaying at least one of the predetermined prediction coefficients as internal information,
Based on the operation signal, the contents of the feature detection process, the contents of the signal processing or signal processing apparatus, wherein at least one is changed among the contents of the execution process.
前記操作信号は、前記入力信号が第1の特徴検出処理の内容または第2の特徴検出処理の内容により特徴を抽出する処理対象のうちのいずれであるかを指定する信号であり、
前記表示手段は、前記内部情報として、前記第1の特徴検出処理の内容、および第2の特徴検出処理の内容の処理対象としての前記入力信号より抽出される特徴の分布を表示する
ことを特徴とする請求項1に記載の信号処理装置。
The operation signal is a signal that specifies whether the input signal is a processing target for extracting a feature according to the content of the first feature detection processing or the content of the second feature detection processing .
The display means, as said internal information, characterized by displaying the distribution of the contents of the first feature detection process, and features are extracted from the second of said input signal to be processed in the content of the feature detection process The signal processing apparatus according to claim 1.
前記表示手段で表示された前記分布に対して、前記第1の特徴検出処理の内容と第2の特徴検出処理の内容の処理対象の特徴のうちのいずれであるかを指定する前記操作信号の入力があった場合に、その操作信号に基づいて、前記入力信号に施される特徴検出処理の内容が変更される
ことを特徴とする請求項に記載の信号処理装置。
For the distribution displayed by the display means, the operation signal for designating whether the content of the first feature detection process or the feature of the second feature detection process is a feature to be processed The signal processing apparatus according to claim 2 , wherein when there is an input, the content of the feature detection processing applied to the input signal is changed based on the operation signal.
前記処理決定手段は、前記特徴検出手段により前記入力信号より検出された前記所定数の種類の特徴に基づいて、前記入力信号に対する前記信号処理の内容として、前記入力信号をそのまま出力するか否かを決定し、
前記処理実行手段は、前記処理決定手段の決定に従い、前記入力信号を選択的に出力することにより、前記入力信号である画像信号中のテロップを検出する
ことを特徴とする請求項に記載の信号処理装置。
Whether the processing determining means outputs the input signal as it is as the content of the signal processing on the input signal based on the predetermined number of types of features detected from the input signal by the feature detecting means. Decide
It said processing execution means, in accordance with the determination of the processing determining means, by outputting the input signal selectively, according to claim 1, characterized in that detecting a telop in the image signal which is the input signal Signal processing device.
前記処理決定手段は、前記操作信号に基づいて、前記テーブルにおける前記信号処理の内容を変更することにより、自身の処理の内容を変更する
ことを特徴とする請求項に記載の信号処理装置。
The signal processing apparatus according to claim 1 , wherein the processing determination unit changes the content of the processing by changing the content of the signal processing in the table based on the operation signal.
前記テーブルにおける処理の内容として、前記入力信号に対して、第1の値の出力信号を出力する処理と、第2の値の出力信号を出力する処理とが存在し、
前記処理実行手段は、前記処理決定手段の決定に従い、前記入力信号を、前記第1と第2の値に2値化する
ことを特徴とする請求項に記載の信号処理装置。
As the contents of processing in the table, there are processing for outputting an output signal having a first value and processing for outputting an output signal having a second value for the input signal,
The signal processing apparatus according to claim 1 , wherein the processing execution unit binarizes the input signal into the first and second values according to the determination of the processing determination unit.
前記入力信号と線形結合される前記予測係数は、前記操作信号に基づいて変更されるとき、その総和が1となるように変更される
ことを特徴とする請求項に記載の信号処理装置。
The prediction coefficients the input signal and is the linear combination, when it is changed based on the operation signal, signal processing apparatus according to claim 1, characterized in that the sum of its is changed to be 1 .
前記入力信号と線形結合される予測係数の、線形結合される前記入力信号である画像信号の画素配列に対応する空間内において、前記操作信号に基づいて変更された予測係数以外の予測係数のうち、前記操作信号に基づいて変更された予測係数のうち、所定の距離よりも近いものは、前記操作信号に基づいて変更された予測係数の増減の方向と同一方向に変更され、前記操作信号に基づいて変更された予測係数のうち、所定の距離よりも遠いものは、前記操作信号に基づいて変更された予測係数の増減の方向と逆方向に変更される
ことを特徴とする請求項1に記載の信号処理装置。
Of the prediction coefficients that are linearly combined with the input signal, the prediction coefficients other than the prediction coefficients that are changed based on the operation signal in a space corresponding to the pixel array of the image signal that is the input signal that is linearly combined. Of the prediction coefficients changed based on the operation signal, those closer than a predetermined distance are changed in the same direction as the increase / decrease direction of the prediction coefficient changed based on the operation signal, The prediction coefficient that is changed based on the one that is farther than a predetermined distance is changed in the direction opposite to the increase / decrease direction of the prediction coefficient that is changed based on the operation signal. The signal processing apparatus as described.
前記入力信号と線形結合される予測係数の、線形結合される前記入力信号である画像信号の画素配列に対応する空間内において、前記操作信号に基づいて変更された予測係数以外の画素に対応する予測係数のうち、前記操作信号に基づいて変更された予測係数と正負を示す極性が同一の極大値または極小値となるものは、前記操作信号に基づいて変更された予測係数の増減の方向と同一方向に変更され、前記操作信号に基づいて変更された予測係数と正負を示す極性が異なる極大値または極小値となるものは、前記操作信号に基づいて変更された予測係数の増減の方向と逆方向に変更される
ことを特徴とする請求項1に記載の信号処理装置。
Corresponding to pixels other than the prediction coefficient changed based on the operation signal in the space corresponding to the pixel array of the image signal that is the input signal to be linearly combined, of the prediction coefficient linearly combined with the input signal. Among the prediction coefficients, the prediction coefficient changed based on the operation signal has the same maximum or minimum polarity as the polarity indicating positive or negative, and the direction of increase or decrease of the prediction coefficient changed based on the operation signal is changed in the same direction, which polarity indicates a prediction coefficient and polarity that is changed based on the operation signal is different from the maximum value or the minimum value, a direction of increase or decrease of the modified prediction coefficients based on the operation signal The signal processing device according to claim 1, wherein the signal processing device is changed in a reverse direction.
ユーザの操作に応じて操作信号を出力する操作信号出力手段と、
画像信号からなる入力信号より、前記画像信号の画素毎に、前記画素とその時間的、および空間的の両方、若しくはそのいずれかの周辺の画素とを用いた画素値の画素間差分処理、フィルタ処理、統計処理、または、それらのフィルタ処理結果、および統計処理結果を用いたフィルタ処理、および統計処理を含む複数の種類の処理結果を求める複数の特徴検出処理の内容のうち、前記操作信号により指定される所定数の種類の特徴検出処理の内容の特徴を検出する特徴検出手段と、
前記特徴とその特徴を有する前記入力信号に対する信号処理の内容との対応関係を示すテーブルを記憶する記憶手段と、
前記記憶手段に記憶されているテーブルにおける、前記特徴検出手段により検出された特徴を有する前記入力信号に対するものであって、前記操作信号により設定される信号処理の内容を、前記入力信号に対する信号処理の内容として決定する処理決定手段と、
前記処理決定手段により決定された前記信号処理の内容に従って設定され、前記操作信号に基づいて変更可能な所定の予測係数からなる実行処理の内容に基づいて、前記入力信号と前記所定の予測係数との線形結合により出力信号を生成することで、前記入力信号への実行処理を実行する処理実行手段と、
前記特徴検出手段により検出される特徴の種類、または前記特徴の分布、前記処理決定手段により決定された信号処理の内容を含むテーブル、または、前記処理実行手段により実行された実行処理の内容である所定の予測係数のうちの少なくともいずれかを内部情報として表示する表示手段とを備える信号処理装置の信号処理方法であって、
前記操作信号出力手段における、ユーザの操作に応じて操作信号を出力する操作信号出力ステップと、
前記特徴検出手段における、画像信号からなる入力信号より、前記画像信号の画素毎に、前記画素とその時間的、および空間的の両方、若しくはそのいずれかの周辺の画素とを用いた画素値の画素間差分処理、フィルタ処理、統計処理、または、それらのフィルタ処理結果、および統計処理結果を用いたフィルタ処理、および統計処理を含む複数の種類の処理結果を求める複数の特徴検出処理の内容のうち、前記操作信号により指定される所定数の種類の特徴検出処理の内容の特徴を検出する特徴検出ステップと、
前記処理決定手段における、前記記憶手段に記憶されているテーブルにおける、前記特徴検出ステップの処理により検出された特徴を有する前記入力信号に対するものであって、前記操作信号により設定される信号処理の内容を、前記入力信号に対する信号処理の内容として決定する処理決定ステップと、
前記処理実行手段における、前記処理決定ステップの処理で決定された前記信号処理の内容に従って設定され、前記操作信号に基づいて変更可能な所定の予測係数からなる実行処理の内容に基づいて、前記入力信号と前記所定の予測係数との線形結合により出力信号を生成することで、前記入力信号への実行処理を実行する処理実行ステップと、
前記表示手段における、前記特徴検出ステップの処理により検出される特徴の種類、または前記特徴の分布、前記処理決定ステップの処理により決定された信号処理の内容を含むテーブル、または、前記処理実行ステップの処理により実行された実行処理の内容である所定の予測係数のうちの少なくともいずれかを内部情報として表示する表示ステップとを含み、
前記操作信号に基づいて、前記特徴検出処理の内容、前記信号処理の内容、または、前記実行処理の内容のうちの少なくともいずれかが変更される
ことを特徴とする信号処理方法。
Operation signal output means for outputting an operation signal in accordance with a user operation;
An inter-pixel difference process, a filter of pixel values using the pixel and its temporal and / or spatial pixels, for each pixel of the image signal, from an input signal composed of an image signal Of the contents of processing, statistical processing, or the filtering processing results thereof, filtering processing using the statistical processing results, and a plurality of feature detection processing for obtaining a plurality of types of processing results including statistical processing, according to the operation signal Feature detection means for detecting features of the content of the specified number of types of feature detection processing specified;
Storage means for storing a table showing a correspondence relationship between the feature and the content of signal processing for the input signal having the feature;
The table stored in the storage means is for the input signal having the feature detected by the feature detection means, and the signal processing content set by the operation signal is the signal processing for the input signal. Processing determining means for determining the content of
The input signal and the predetermined prediction coefficient are set according to the content of the signal processing determined by the processing determination means and based on the content of the execution process including a predetermined prediction coefficient that can be changed based on the operation signal. Processing execution means for executing an execution process on the input signal by generating an output signal by linear combination of:
The type of feature detected by the feature detection unit, the distribution of the feature, a table including the content of the signal processing determined by the processing determination unit, or the content of execution processing executed by the processing execution unit A signal processing method of a signal processing device comprising: display means for displaying at least one of predetermined prediction coefficients as internal information,
In the operation signal output means, an operation signal output step of outputting an operation signal according to a user operation,
In the feature detecting means, from the input signal composed of image signals, each pixel of the image signal, the pixel and its temporal and spatial both, or pixel values using the one of its peripheral pixels Contents of multiple feature detection processing for obtaining multiple types of processing results including pixel difference processing, filtering processing, statistical processing, filter processing results, filtering processing using statistical processing results, and statistical processing results A feature detection step for detecting features of the content of a predetermined number of types of feature detection processing specified by the operation signal ;
Content of signal processing set by the operation signal for the input signal having the characteristic detected by the characteristic detection step in the table stored in the storage means in the processing determination means and a process determining step of determining a content of the signal processing for the input signal,
In the process execution means , the input based on the content of the execution process consisting of a predetermined prediction coefficient that is set according to the content of the signal process determined in the process of the process determination step and can be changed based on the operation signal A process execution step of executing an execution process on the input signal by generating an output signal by linear combination of a signal and the predetermined prediction coefficient ;
In the display means, the type of the feature detected by the processing of the feature detection step, the distribution of the feature, the table containing the content of the signal processing determined by the processing of the processing determination step, or the processing execution step A display step of displaying as internal information at least one of the predetermined prediction coefficients that are the contents of the execution process executed by the process ,
Based on the operation signal, the contents of the feature detection process, the contents of the signal processing or signal processing method, wherein at least one is changed among the contents of the execution process.
ユーザの操作に応じて操作信号を出力する操作信号出力手段と、
画像信号からなる入力信号より、前記画像信号の画素毎に、前記画素とその時間的、および空間的の両方、若しくはそのいずれかの周辺の画素とを用いた画素値の画素間差分処理、フィルタ処理、統計処理、または、それらのフィルタ処理結果、および統計処理結果を用いたフィルタ処理、および統計処理を含む複数の種類の処理結果を求める複数の特徴検出処理の内容のうち、前記操作信号により指定される所定数の種類の特徴検出処理の内容の特徴を検出する特徴検出手段と、
前記特徴とその特徴を有する前記入力信号に対する信号処理の内容との対応関係を示すテーブルを記憶する記憶手段と、
前記記憶手段に記憶されているテーブルにおける、前記特徴検出手段により検出された特徴を有する前記入力信号に対するものであって、前記操作信号により設定される信号処理の内容を、前記入力信号に対する信号処理の内容として決定する処理決定手段と、
前記処理決定手段により決定された前記信号処理の内容に従って設定され、前記操作信号に基づいて変更可能な所定の予測係数からなる実行処理の内容に基づいて、前記入力信号と前記所定の予測係数との線形結合により出力信号を生成することで、前記入力信号への実行処理を実行する処理実行手段と、
前記特徴検出手段により検出される特徴の種類、または前記特徴の分布、前記処理決定手段により決定された信号処理の内容を含むテーブル、または、前記処理実行手段により実行された実行処理の内容である所定の予測係数のうちの少なくともいずれかを内部情報として表示する表示手段とを備える信号処理装置を制御するコンピュータに実行されるプログラムであって、
前記操作信号出力手段における、ユーザの操作に応じて操作信号を出力する操作信号出力ステップと、
前記特徴検出手段における、画像信号からなる入力信号より、前記画像信号の画素毎に、前記画素とその時間的、および空間的の両方、若しくはそのいずれかの周辺の画素とを用いた画素値の画素間差分処理、フィルタ処理、統計処理、または、それらのフィルタ処理結果、および統計処理結果を用いたフィルタ処理、および統計処理を含む複数の種類の処理結果を求める複数の特徴検出処理の内容のうち、前記操作信号により指定される所定数の種類の特徴検出処理の内容の特徴の検出を制御する特徴検出制御ステップと、
前記処理決定手段における、前記記憶手段に記憶されているテーブルにおける、前記特徴検出制御ステップの処理により検出された特徴を有する前記入力信号に対するものであって、前記操作信号により設定される信号処理の内容を、前記入力信号に対する信号処理の内容としての決定を制御する処理決定制御ステップと、
前記処理実行手段における、前記処理決定制御ステップの処理で決定された前記信号処理の内容に従って設定され、前記操作信号に基づいて変更可能な所定の予測係数からなる実行処理の内容に基づいて、前記入力信号と前記所定の予測係数との線形結合により出力信号を生成することで、前記入力信号への実行処理の実行を制御する処理実行制御ステップと、
前記表示手段における、前記特徴検出制御ステップの処理により検出される特徴の種類、または前記特徴の分布、前記処理決定制御ステップの処理により決定された信号処理の内容を含むテーブル、または、前記処理実行制御ステップの処理により実行された実行処理の内容である所定の予測係数のうちの少なくともいずれかの内部情報としての表示を制御する表示制御ステップとを含み、
前記操作信号に基づいて、前記特徴検出処理の内容、前記信号処理の内容、または、前記実行処理の内容のうちの少なくともいずれかが変更される
ことを特徴とする前記コンピュータが読み取り可能なプログラムが記録されている記録媒体。
Operation signal output means for outputting an operation signal in accordance with a user operation;
An inter-pixel difference process, a filter of pixel values using the pixel and its temporal and / or spatial pixels, for each pixel of the image signal, from an input signal composed of an image signal Of the contents of processing, statistical processing, or the filtering processing results thereof, filtering processing using the statistical processing results, and a plurality of feature detection processing for obtaining a plurality of types of processing results including statistical processing, according to the operation signal Feature detection means for detecting features of the content of the specified number of types of feature detection processing specified;
Storage means for storing a table showing a correspondence relationship between the feature and the content of signal processing for the input signal having the feature;
The table stored in the storage means is for the input signal having the feature detected by the feature detection means, and the signal processing content set by the operation signal is the signal processing for the input signal. Processing determining means for determining the content of
The input signal and the predetermined prediction coefficient are set according to the content of the signal processing determined by the processing determination means and based on the content of the execution process including a predetermined prediction coefficient that can be changed based on the operation signal. Processing execution means for executing an execution process on the input signal by generating an output signal by linear combination of:
The type of feature detected by the feature detection unit, the distribution of the feature, a table including the content of the signal processing determined by the processing determination unit, or the content of execution processing executed by the processing execution unit A program executed by a computer that controls a signal processing device including display means for displaying at least one of predetermined prediction coefficients as internal information,
In the operation signal output means, an operation signal output step of outputting an operation signal according to a user operation,
In the feature detecting means, from the input signal composed of image signals, each pixel of the image signal, the pixel and its temporal and spatial both, or pixel values using the one of its peripheral pixels Contents of multiple feature detection processing for obtaining multiple types of processing results including pixel difference processing, filtering processing, statistical processing, filter processing results, filtering processing using statistical processing results, and statistical processing results Among them, a feature detection control step for controlling detection of features of the content of a predetermined number of types of feature detection processing specified by the operation signal ;
In the processing determination means, for the input signal having the feature detected by the feature detection control step in the table stored in the storage means, and for the signal processing set by the operation signal. the contents, a processing determination control step of controlling determination of a content of the signal processing for the input signal,
Based on the content of the execution process comprising a predetermined prediction coefficient that is set according to the content of the signal processing determined in the processing of the processing determination control step in the processing execution means and can be changed based on the operation signal, A process execution control step for controlling execution of an execution process on the input signal by generating an output signal by linear combination of the input signal and the predetermined prediction coefficient ;
In the display means, the type of feature detected by the processing of the feature detection control step, the distribution of the feature, the table including the content of the signal processing determined by the processing of the processing determination control step, or the execution of the processing A display control step for controlling display as internal information of at least one of the predetermined prediction coefficients that is the content of the execution process executed by the process of the control step,
Based on the operation signal, the contents of the feature detection process, the contents of the signal processing or the computer readable program, wherein at least one is changed among the contents of the execution process, the Recorded recording medium.
ユーザの操作に応じて操作信号を出力する操作信号出力手段と、
画像信号からなる入力信号より、前記画像信号の画素毎に、前記画素とその時間的、および空間的の両方、若しくはそのいずれかの周辺の画素とを用いた画素値の画素間差分処理、フィルタ処理、統計処理、または、それらのフィルタ処理結果、および統計処理結果を用いたフィルタ処理、および統計処理を含む複数の種類の処理結果を求める複数の特徴検出処理の内容のうち、前記操作信号により指定される所定数の種類の特徴検出処理の内容の特徴を検出する特徴検出手段と、
前記特徴とその特徴を有する前記入力信号に対する信号処理の内容との対応関係を示すテーブルを記憶する記憶手段と、
前記記憶手段に記憶されているテーブルにおける、前記特徴検出手段により検出された特徴を有する前記入力信号に対するものであって、前記操作信号により設定される信号処理の内容を、前記入力信号に対する信号処理の内容として決定する処理決定手段と、
前記処理決定手段により決定された前記信号処理の内容に従って設定され、前記操作信号に基づいて変更可能な所定の予測係数からなる実行処理の内容に基づいて、前記入力信号と前記所定の予測係数との線形結合により出力信号を生成することで、前記入力信号への実行処理を実行する処理実行手段と、
前記特徴検出手段により検出される特徴の種類、または前記特徴の分布、前記処理決定手段により決定された信号処理の内容を含むテーブル、または、前記処理実行手段により実行された実行処理の内容である所定の予測係数のうちの少なくともいずれかを内部情報として表示する表示手段とを備える信号処理装置を制御するコンピュータに、
前記操作信号出力手段における、ユーザの操作に応じて操作信号を出力する操作信号出力ステップと、
前記特徴検出手段における、画像信号からなる入力信号より、前記画像信号の画素毎に、前記画素とその時間的、および空間的の両方、若しくはそのいずれかの周辺の画素とを用いた画素値の画素間差分処理、フィルタ処理、統計処理、または、それらのフィルタ処理結果、および統計処理結果を用いたフィルタ処理、および統計処理を含む複数の種類の処理結果を求める複数の特徴検出処理の内容のうち、前記操作信号により指定される所定数の種類の特徴検出処理の内容の特徴の検出を制御する特徴検出制御ステップと、
前記処理決定手段における、前記記憶手段に記憶されているテーブルにおける、前記特徴検出制御ステップの処理により検出された特徴を有する前記入力信号に対するものであって、前記操作信号により設定される信号処理の内容を、前記入力信号に対する信号処理の内容としての決定を制御する処理決定制御ステップと、
前記処理実行手段における、前記処理決定制御ステップの処理で決定された前記信号処理の内容に従って設定され、前記操作信号に基づいて変更可能な所定の予測係数からなる実行処理の内容に基づいて、前記入力信号と前記所定の予測係数との線形結合により出力信号を生成することで、前記入力信号への実行処理の実行を制御する処理実行制御ステップと、
前記表示手段における、前記特徴検出制御ステップの処理により検出される特徴の種類、または前記特徴の分布、前記処理決定制御ステップの処理により決定された信号処理の内容を含むテーブル、または、前記処理実行制御ステップの処理により実行された実行処理の内容である所定の予測係数のうちの少なくともいずれかの内部情報としての表示を制御する表示制御ステップとを含み、
前記操作信号に基づいて、前記特徴検出処理の内容、前記信号処理の内容、または、前記実行処理の内容のうちの少なくともいずれかが変更される
ことを特徴とするプログラム。
Operation signal output means for outputting an operation signal in accordance with a user operation;
An inter-pixel difference process, a filter of pixel values using the pixel and its temporal and / or spatial pixels, for each pixel of the image signal, from an input signal composed of an image signal Of the contents of processing, statistical processing, or the filtering processing results thereof, filtering processing using the statistical processing results, and a plurality of feature detection processing for obtaining a plurality of types of processing results including statistical processing, according to the operation signal Feature detection means for detecting features of the content of the specified number of types of feature detection processing specified;
Storage means for storing a table showing a correspondence relationship between the feature and the content of signal processing for the input signal having the feature;
The table stored in the storage means is for the input signal having the feature detected by the feature detection means, and the signal processing content set by the operation signal is the signal processing for the input signal. Processing determining means for determining the content of
The input signal and the predetermined prediction coefficient are set according to the content of the signal processing determined by the processing determination means and based on the content of the execution process including a predetermined prediction coefficient that can be changed based on the operation signal. Processing execution means for executing an execution process on the input signal by generating an output signal by linear combination of:
The type of feature detected by the feature detection unit, the distribution of the feature, a table including the content of the signal processing determined by the processing determination unit, or the content of execution processing executed by the processing execution unit A computer that controls the signal processing device including display means for displaying at least one of the predetermined prediction coefficients as internal information;
In the operation signal output means, an operation signal output step of outputting an operation signal according to a user operation,
In the feature detecting means, from the input signal composed of image signals, each pixel of the image signal, the pixel and its temporal and spatial both, or pixel values using the one of its peripheral pixels Contents of multiple feature detection processing for obtaining multiple types of processing results including pixel difference processing, filtering processing, statistical processing, filter processing results, filtering processing using statistical processing results, and statistical processing results Among them, a feature detection control step for controlling detection of features of the content of a predetermined number of types of feature detection processing specified by the operation signal ;
In the processing determination means, for the input signal having the feature detected by the feature detection control step in the table stored in the storage means, and for the signal processing set by the operation signal. the contents, a processing determination control step of controlling determination of a content of the signal processing for the input signal,
Based on the content of the execution process comprising a predetermined prediction coefficient that is set according to the content of the signal processing determined in the processing of the processing determination control step in the processing execution means and can be changed based on the operation signal, A process execution control step for controlling execution of an execution process on the input signal by generating an output signal by linear combination of the input signal and the predetermined prediction coefficient ;
In the display means, the type of feature detected by the processing of the feature detection control step, the distribution of the feature, the table including the content of the signal processing determined by the processing of the processing determination control step, or the execution of the processing A display control step for controlling display as internal information of at least one of the predetermined prediction coefficients that is the content of the execution process executed by the process of the control step,
Based on the operation signal, the feature content of the detection process, the contents of the signal processing or program, characterized in that at least one is changed among the contents of the execution process.
JP2007026198A 2007-02-05 2007-02-05 Signal processing device Expired - Fee Related JP4591785B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007026198A JP4591785B2 (en) 2007-02-05 2007-02-05 Signal processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007026198A JP4591785B2 (en) 2007-02-05 2007-02-05 Signal processing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2003570299A Division JP4296935B2 (en) 2002-02-21 2002-02-21 Signal processing device

Publications (2)

Publication Number Publication Date
JP2007183977A JP2007183977A (en) 2007-07-19
JP4591785B2 true JP4591785B2 (en) 2010-12-01

Family

ID=38339940

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007026198A Expired - Fee Related JP4591785B2 (en) 2007-02-05 2007-02-05 Signal processing device

Country Status (1)

Country Link
JP (1) JP4591785B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101965937B1 (en) * 2016-11-17 2019-08-13 두산중공업 주식회사 Fault Signal Recovery Method and Apparatus
KR101926257B1 (en) 2017-05-15 2018-12-06 두산중공업 주식회사 Fault Signal Recovery System and Method
JP7417691B1 (en) 2022-10-26 2024-01-18 エヌ・ティ・ティ・コミュニケーションズ株式会社 Information processing device, information processing method, and information processing program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3454396B2 (en) * 1995-10-11 2003-10-06 株式会社日立製作所 Video change point detection control method, playback stop control method based thereon, and video editing system using them
JPH10294885A (en) * 1997-04-17 1998-11-04 Sony Corp Unit and method for image processing
JP3864494B2 (en) * 1997-05-12 2006-12-27 ソニー株式会社 Image signal converter and television receiver using the same
JP4501217B2 (en) * 2000-04-25 2010-07-14 ソニー株式会社 Image signal conversion apparatus, image signal conversion method, and image display apparatus using the same
JP2001238185A (en) * 2000-02-24 2001-08-31 Sony Corp Image signal conversion device, image signal conversion method, image display device using the same, and coefficient data generation device and generation method used therefor

Also Published As

Publication number Publication date
JP2007183977A (en) 2007-07-19

Similar Documents

Publication Publication Date Title
JP4707083B2 (en) Signal processing device
JP4296935B2 (en) Signal processing device
JP4591786B2 (en) Signal processing device
CN111507343B (en) Training of semantic segmentation network and image processing method and device thereof
CN112257603B (en) Hyperspectral image classification method and related equipment
CN110276765A (en) Image panorama dividing method based on multi-task learning deep neural network
CN115905872B (en) Model training methods, information recommendation methods, devices, equipment and media
EP4512687A1 (en) Trajectory prediction method and system in autonomous driving system
KR102532748B1 (en) Method and device for learning neural network
US20220381582A1 (en) Dynamic Parameterization of Digital Maps
JP4591785B2 (en) Signal processing device
CN114581652A (en) Target object detection method and device, electronic equipment and storage medium
KR20100022958A (en) Learning device, learning method, information processing device, information processing method, and program
Kawashima et al. The aleatoric uncertainty estimation using a separate formulation with virtual residuals
CN117973554B (en) Reinforcement learning generalization method and device for visually changing environment
JP2000339463A (en) Picture processing method, picture processor and storage medium
WO2021235245A1 (en) Image processing device, image processing method, learning device, learning method, and program
JP2937390B2 (en) Image conversion method
JP2025099115A (en) Real estate image adjustment system, real estate image adjustment apparatus, real estate image adjustment method, and real estate image adjustment program
CN118586451A (en) A method for predicting properties of container interaction components based on neural network
JP2024158427A (en) Computer system and method for generating data for use in training a model for performing image segmentation - Patents.com
JP2022130035A (en) Image processing device, image processing method
CN121053392A (en) Image segmentation methods, image segmentation model training methods, and related devices
CN120283268A (en) Saliency map for deep learning model
JP2006279890A (en) Correlation tracking method and correlation tracking apparatus

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100422

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100614

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: 20100819

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100901

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

Free format text: PAYMENT UNTIL: 20130924

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130924

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees