JP2004077501A - Color classification device - Google Patents

Color classification device Download PDF

Info

Publication number
JP2004077501A
JP2004077501A JP2003402135A JP2003402135A JP2004077501A JP 2004077501 A JP2004077501 A JP 2004077501A JP 2003402135 A JP2003402135 A JP 2003402135A JP 2003402135 A JP2003402135 A JP 2003402135A JP 2004077501 A JP2004077501 A JP 2004077501A
Authority
JP
Japan
Prior art keywords
classification
imaging
spectrum
data
light
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003402135A
Other languages
Japanese (ja)
Inventor
Toru Wada
和田 徹
Kensuke Ishii
石井 謙介
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.)
Olympus Corp
Original Assignee
Olympus 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 Olympus Corp filed Critical Olympus Corp
Priority to JP2003402135A priority Critical patent/JP2004077501A/en
Publication of JP2004077501A publication Critical patent/JP2004077501A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a color classification device that is simple in device structure, low in cost and durable to mechanical vibration, and does not limit light sources and is satisfactory color-classifiable even if their spectrum is changed. <P>SOLUTION: The color classification device is provided with an imaging means for imaging light from an object, optical means for focusing the light from the object on the imaging means, a plurality of band-pass filters positioned between the object and the imaging means to transmit respective different wavelength bands of light, a classifying means for calculating a classification spectrum for classification using a statistical technique, from spectra through the object imaged by the imaging means, and classifying the object with the classification spectrum, and an exposure condition controlling means for controlling exposure conditions at imaging through each of the plurality of band-pass filters. The color classification device is characterized in that the exposure condition controlling means include an exposure value limiting means for limiting an exposure value in dependence on the plurality of band-pass filters. <P>COPYRIGHT: (C)2004,JPO

Description

  本発明は、主に色を利用して対象物を分類する色分類装置に関する。 {Circle around (1)} The present invention relates to a color classification device that classifies objects mainly using colors.

 従来より、各工業の生産現場における塗装色、染色度の管理、または生産物の色測定、あるいは医療、学術分野における被検体の色測定などにおいては、対象物の色を識別する色識別装置が利用されている。 Conventionally, a color identification device for identifying the color of an object has been used in the management of paint color and dyeing degree at a production site of each industry, or in the color measurement of a product, or in the color measurement of a subject in medical and academic fields. It's being used.

 特許文献1に開示されているような従来の技術においては、対象物の反射分光スペクトルに統計的処理を施すことによって2クラスの分類を行っている。 In the conventional technique disclosed in Patent Document 1, two classes are classified by performing statistical processing on the reflection spectrum of an object.

 具体的には、クラスが既知の対象物の反射分光スペクトルをFoley Sammon変換(FS変換)を利用して統計処理している(非特許文献1参照)。 Specifically, the reflection spectrum of an object whose class is known is statistically processed using Foley Sammon transform (FS transform) (see Non-Patent Document 1).

 上記FS変換は、2つのクラスを分類する手法で具体的には、次の(1)式によって求められるフイッシャーレショ(Fisher ratio)R(di)を最大にする分類のためのスペクトルdiを求めることである。 The FS conversion is a method of classifying two classes, specifically, a spectrum di for classification that maximizes a Fisher ratio (Fisher (ratio) R (di) obtained by the following equation (1). That is.

 R(di)=(dit S1di)/(dit S2di)         …(1)  ここで、di…分類スペクトル                              dit …分類スペクトル(転置)                         S1…クラス間共分散行列                            S2…クラス内共分散行列                        以後、この分類のためのスペクトルdiを分類スペクトルと呼ぶ。 R (di) = (di t S1di) / (di t S2di) ... (1) where, di ... classification spectrum di t ... classification spectrum (transposition) S1 ... interclass covariance matrix S2 ... intraclass covariance matrix after The spectrum di for this classification is called a classification spectrum.

 この分類スペクトルdiは対象物のスペクトルと同じ次元数を有するため正確にはdi(λ)と表記すべきであるが簡単のためにdiと記す。 分類 Since this classification spectrum di has the same number of dimensions as the spectrum of the object, it should be accurately expressed as di (λ), but is simply expressed as di for simplicity.

 そして、Fisher ratioを大きくする分類スペクトルを2種類求める。 {Circle around (2)} Then, two kinds of classification spectra for increasing the Fisher ratio are obtained.

 Fisher ratioを最大にする分類スペクトルdiをd1、d1と直交するスペクトルの中で、Fisher ratioを最大にする分類スペクトルdiをd2とする。 The classification spectrum di that maximizes the Fisher ratio is d1, and the classified spectrum di that maximizes the Fisher ratio is d2 among the spectra orthogonal to d1.

 この分類スペクトルd1、d2で構成される空間に各データを投影することにより、2つのクラスが分類される。 、 2 Two classes are classified by projecting each data into the space constituted by the classification spectra d1 and d2.

 この分類スペクトルd1、d2は次の(2)式から求められる。 分類 The classification spectra d1 and d2 are obtained from the following equation (2).

 d1=α1 S2-1Δ                               d2=α2 S2-1[I−(Δt S2-2Δ)/(Δt S2-3Δ)S2-1]Δ …(2)  ここで、α1 、α2 は正規化係数、ΔはX1 −X2 (クラス1とクラス2の差スペクトル)、Iは単位行列である。 d1 = α1 S2 −1 Δ d2 = α2 S2 −1 [I− ( Δt S2 −2 Δ) / ( Δt S2 −3 Δ) S2 −1 ] Δ (2) where α1 and α2 are normal Is a conversion coefficient, Δ is X1−X2 (difference spectrum between class 1 and class 2), and I is a unit matrix.

 このようにして得た分類スペクトルd1、d2で構成される空間に各データを投影するためには、分類スペクトルと対象物の反射分光スペクトルとの内積を求める。このうち、対象物の反射分光スペクトルをf(λ)(λ=波長)とすれば、内積t1,t2は次式で表せられる。 投影 In order to project each data into the space constituted by the classification spectra d1 and d2 obtained in this way, an inner product of the classification spectrum and the reflection spectrum of the object is obtained. If the reflection spectrum of the object is f (λ) (λ = wavelength), the inner products t1 and t2 can be expressed by the following equations.

 t1=f(λ)・d1
 t2=f(λ)・d2                        …(3)  ここで、・は内積演算を表す。
t1 = f (λ) · d1
t2 = f (λ) · d2 (3) Here, represents an inner product operation.

 上記特許文献1に開示の技術ではこのt1、t2の値から図40のように分類境界を決め、この分類スペクトルの特性を有するフィルタを図41のように回折格子501と液晶502を用いて実現している。
特開平3−267726号 Q.Tian,M.Barbaro他、”Image classification by the Foley−Sammon transform”,Optical Engineering,Vol.25,No.7,1986
In the technique disclosed in Patent Document 1, a classification boundary is determined from the values of t1 and t2 as shown in FIG. 40, and a filter having the characteristics of this classification spectrum is realized using a diffraction grating 501 and a liquid crystal 502 as shown in FIG. are doing.
JP-A-3-267726 Q. Tian, M .; Barbaro et al., "Image Classification by the Foley-Sammon Transform", Optical Engineering, Vol. 25, no. 7, 1986

 ところで、分類スペクトルd1、d2は、一般に図42に示すように形状が複雑であり、また、正負の値をとるため、回折格子、液晶フィルタなどの取り付け精度も厳しく要求される。 By the way, the classification spectra d1 and d2 generally have complicated shapes as shown in FIG. 42, and take positive and negative values, so that the mounting accuracy of a diffraction grating, a liquid crystal filter and the like is strictly required.

 また、上記公報の装置では光源をあらかじめ限定しているため、異なる光源に対しての分類には不向きで、光源のスペクトルが変化する場合には良好な分類が行えないと共に、さらに回折格子はコストが高いという欠点もある。 Further, since the light source is limited in advance in the device disclosed in the above publication, it is not suitable for classification of different light sources, and when the spectrum of the light source changes, good classification cannot be performed. There is also a disadvantage that is high.

 本発明は、上記の点に鑑みてなされたもので、装置構成が簡単で、低コストで、且つ機械的振動にも耐えられ、しかも光源を限定せずにそのスペクトルが変化する場合などにも良好に色分類可能な色分類装置を提供することを目的とする。 The present invention has been made in view of the above points, and has a simple device configuration, is low in cost, can withstand mechanical vibration, and can be used even when its spectrum changes without limiting the light source. It is an object of the present invention to provide a color classification device capable of performing good color classification.

 本発明によると、上記課題を解決するために、
 対象物からの光を撮像する撮像手段と、
 前記対象物からの光を前記撮像手段に結像させる光学手段と、
 前記対象物と撮像手段の間に配置したそれぞれ異なる光の波長の帯域を通過させる複数のバンドパスフィルタと、
 前記撮像手段によって撮像された対象物の分光スペクトルから統計的手法を用いた分類のための分類スペクトルを算出し、この分類スペクトルを用いて前記対象物の分類を行う分類手段と、
 前記複数のバンドパスフィルタのそれぞれの撮像時の露光条件を制御する露光条件制御手段と、
 を具備し、
 前記露光条件制御手段は、前記複数のバンドパスフィルタに対応して露光量を制限する露光量制限手段を含むことを特徴とする色分類装置が提供される。
According to the present invention, in order to solve the above problems,
Imaging means for imaging light from the object;
Optical means for forming an image of light from the object on the imaging means,
A plurality of bandpass filters that pass bands of different light wavelengths disposed between the object and the imaging unit,
Classification means for calculating a classification spectrum for classification using a statistical method from the spectral spectrum of the object imaged by the imaging means, and classifying the object using this classification spectrum,
Exposure condition control means for controlling exposure conditions at the time of imaging of each of the plurality of band-pass filters,
With
A color classification device is provided, wherein the exposure condition control means includes an exposure amount limiting means for limiting an exposure amount corresponding to the plurality of bandpass filters.

 また、本発明によると、上記課題を解決するために、
 対象物からの光を撮像する撮像手段と、
 前記対象物からの光を前記撮像手段に結像させる光学手段と、
 前記対象物と撮像手段の間に配置したそれぞれ異なる光の波長の帯域を通過させる複数のバンドパスフィルタと、
 前記撮像手段によって撮像された対象物の分光スペクトルから統計的手法を用いた分類のための分類スペクトルを算出し、この分類スペクトルを用いて前記対象物の分類を行う分類手段と、
 前記複数のバンドパスフィルタのそれぞれの撮像時の露光条件を制御する露光条件制御手段と、
 を具備し、
 前記露光条件制御手段は、前記複数のバンドパスフィルタのそれぞれの撮像時の露光条件を記憶する露光条件記憶手段を含むことを特徴とする色分類装置が提供される。
According to the present invention, in order to solve the above problems,
Imaging means for imaging light from the object;
Optical means for forming an image of light from the object on the imaging means,
A plurality of bandpass filters that pass bands of different light wavelengths disposed between the object and the imaging unit,
Classification means for calculating a classification spectrum for classification using a statistical method from the spectral spectrum of the object imaged by the imaging means, and classifying the object using this classification spectrum,
Exposure condition control means for controlling exposure conditions at the time of imaging of each of the plurality of band-pass filters,
With
A color classification apparatus is provided, wherein the exposure condition control means includes exposure condition storage means for storing exposure conditions at the time of imaging of each of the plurality of bandpass filters.

 また、本発明によると、上記課題を解決するために、
 対象物からの光を撮像する撮像手段と、
 前記対象物からの光を前記撮像手段に結像させる光学手段と、
 前記対象物と撮像手段の間に配置した、通過させる光の波長帯域を変化させることが可能な帯域可変バンドパスフィルタと、
 前記撮像手段によって撮像された対象物の分光スペクトルから統計的手法を用いた分類のための分類スペクトルを算出し、この分類スペクトルを用いて前記対象物の分類を行う分類手段と、
 を具備し、
 前記帯域可変バンドパスフィルタに設定された異なる波長の通過帯域特性のそれぞれの撮像時の露光条件を別々に制御する露光条件制御手段とを含むことを特徴とする色分類装置が提供される。
According to the present invention, in order to solve the above problems,
Imaging means for imaging light from the object;
Optical means for forming an image of light from the object on the imaging means,
A band-variable bandpass filter that is arranged between the object and the imaging unit and that can change a wavelength band of light to be passed,
Classification means for calculating a classification spectrum for classification using a statistical method from the spectral spectrum of the object imaged by the imaging means, and classifying the object using this classification spectrum,
With
An exposure condition control means for separately controlling exposure conditions at the time of imaging of pass band characteristics of different wavelengths set in the band variable band-pass filter is provided.

 また、本発明によると、上記課題を解決するために、
 対象物からの光を撮像する撮像手段と、
 前記対象物からの光を前記撮像手段に結像させる光学手段と、
 前記対象物と撮像手段の間に配置したそれぞれ異なる光の波長の帯域を通過させる複数のバンドパスフィルタと、
 前記撮像手段によって撮像された対象物の分光スペクトルから統計的手法を用いた分類のための分類スペクトルを算出し、この分類スペクトルを用いて前記対象物の分類を行う分類手段と、
 前記対象物を照明する光源のスペクトル特性および輝度の少なくとも一方を正規化する正規化手段と、
 を具備し、
 前記正規化手段は前記光源のデータを得るための光源観測手段を含むことを特徴とする色分類装置が提供される。
According to the present invention, in order to solve the above problems,
Imaging means for imaging light from the object;
Optical means for forming an image of light from the object on the imaging means,
A plurality of bandpass filters that pass bands of different light wavelengths disposed between the object and the imaging unit,
Classification means for calculating a classification spectrum for classification using a statistical method from the spectral spectrum of the object imaged by the imaging means, and classifying the object using this classification spectrum,
Normalizing means for normalizing at least one of the spectral characteristic and the luminance of the light source illuminating the object,
With
A color classification apparatus is provided, wherein the normalizing means includes a light source observing means for obtaining data of the light source.

 また、本発明によると、上記課題を解決するために、
 対象物の反射光を撮像する撮像手段と、
 前記対象物の反射光を前記撮像手段に結像させる光学手段と、
 前記対象物と撮像手段の間に配置した、通過させる光の波長帯域を変化させることが可能な帯域可変バンドパスフィルタと、
 前記撮像手段によって撮像された対象物の分光スペクトルから統計的手法を用いた分類のための分類スペクトルを算出し、この分類スペクトルを用いて前記対象物の分類を行う分類手段と、
 前記対象物を照明する光源のスペクトル特性および輝度少なくとも一方を正規化する正規化手段、
 とを具備し、
 前記正規化手段は前記光源のデータを得るための光源観測手段を含むことを特徴とする色分類装置が提供される。
According to the present invention, in order to solve the above problems,
Imaging means for imaging reflected light of the object;
Optical means for imaging the reflected light of the object on the imaging means,
A band-variable bandpass filter that is arranged between the object and the imaging unit and that can change a wavelength band of light to be passed,
Classification means for calculating a classification spectrum for classification using a statistical method from the spectral spectrum of the object imaged by the imaging means, and classifying the object using this classification spectrum,
Normalizing means for normalizing at least one of the spectral characteristic and the luminance of the light source illuminating the object,
And
A color classification apparatus is provided, wherein the normalizing means includes a light source observing means for obtaining data of the light source.

 また、本発明によると、上記課題を解決するために、
 対象物からの光からなる画像を撮像する撮像手段と、
 前記対象物と前記撮像手段との間に配置した、波長の通過帯域特性を変化させることが可能な帯域可変バンドパスフィルタと、
 前記対象物の分類のために定義した複数のクラスにおいて、該当する前記各クラスがそれぞれ既知の前記対象物である複数種類の第1対象物の分光スペクトルを用いて、前記分類のための分類スペクトルを算出する分類スペクトル算出手段と、
 前記分類スペクトルを用いて、前記対象物の前記分類を前記各クラスにおいて行うための空間を定義する手段と、
 前記帯域可変バンドパスフィルタの特性を複数回変化させて、該当する前記クラスが未知の前記対象物である第2対象物を複数のバンドで前記撮像して得られた複数の画像より求められた、前記対象物の分光スペクトルのデータを、前記空間に投影する手段と、
 前記投影の結果から、前記第2対象物を前記各クラスにおいて分類を行う分類手段と、 を備えたことを特徴とする色分類装置が提供される。
According to the present invention, in order to solve the above problems,
Imaging means for capturing an image composed of light from an object,
A band-variable band-pass filter arranged between the object and the imaging unit, capable of changing a pass band characteristic of a wavelength,
In a plurality of classes defined for the classification of the object, using the spectral spectra of a plurality of types of first objects, each of which is a known object, each of the classes is a classification spectrum for the classification. Classification spectrum calculating means for calculating
Means for defining a space for performing the classification of the object in each of the classes using the classification spectrum,
The characteristic of the band variable bandpass filter is changed a plurality of times, and the corresponding class is obtained from a plurality of images obtained by imaging the second object, which is the unknown object, in a plurality of bands. Means for projecting the spectral data of the object into the space;
A classification unit configured to classify the second object in each of the classes based on the result of the projection.

 また、本発明によると、上記課題を解決するために、
 対象物からの光からなる画像を撮像する撮像手段と、
 前記対象物と前記撮像手段との間に配置した、波長の通過帯域特性がそれそれ異なる複数のバンドパスフィルタと、
 前記対象物の分類のために定義した少なくとも3つのクラスにおいて、前記各クラスの内の任意の2クラスにそれぞれ該当することが既知の前記対象物である2つの第1対象物の各分光スペクトルを用いて、前記分類のための分類スペクトルを算出する分類スペクトル算出手段と、
 前記分類スペクトルを用いて、前記対象物の前記分類を前記各クラスにおいて行うための空間を定義する手段と、
 前記各バンドパスフィルタを用いて、該当する前記クラスが未知の前記対象物である第2の対象物を撮像して得られた複数の前記画像より求められた、前記第2対象物の分光スペクトルのデータを、前記空間に投影する手段と、
 前記投影の結果から、前記第2対象物を前記各クラスにおいて分類を行う分類手段と、 を備えたことを特徴とする色分類装置が提供される。
According to the present invention, in order to solve the above problems,
Imaging means for capturing an image composed of light from an object,
A plurality of bandpass filters, each having a different passband characteristic of wavelength, disposed between the object and the imaging unit,
In at least three classes defined for the classification of the object, each spectral spectrum of two first objects, which are the objects that are known to correspond to any two classes of the classes, respectively. Using, a classification spectrum calculation means for calculating a classification spectrum for the classification,
Means for defining a space for performing the classification of the object in each of the classes using the classification spectrum,
Using each of the bandpass filters, the spectral spectrum of the second object obtained from a plurality of images obtained by imaging the second object whose class is the unknown object. Means for projecting the data of
A classification unit configured to classify the second object in each of the classes based on the result of the projection.

 本発明によれば、それぞれ異なる帯域を持つ複数のバンドパスフィルタを用意しておき、これら複数のバンドパスフィルタのそれぞれを上記対象物と撮像手段の間に配置すると共に、分類手段によって、上記撮像手段によって撮像された対象物の分光スペクトルから統計的手法を用いた分類のための分類スペクトルを算出し、この分類スペクトルを用いて上記対象物の分類を行うことにより、装置構成が簡単で、低コストで、且つ機械的振動にも耐えられ、しかも光源を限定せずにそのスペクトルが変化する場合などにも良好に色分類可能な色分類装置を提供することができる。 According to the present invention, a plurality of bandpass filters each having a different band are prepared, and each of the plurality of bandpass filters is arranged between the object and the imaging unit. By calculating a classification spectrum for classification using a statistical method from the spectral spectrum of the object imaged by the means, and performing the classification of the object using this classification spectrum, the apparatus configuration is simple and low. It is possible to provide a color classification device that is cost-effective, can withstand mechanical vibrations, and can satisfactorily perform color classification even when its spectrum changes without limiting the light source.

 本発明の実施形態を説明する前に、本発明の基本原理を説明する。 前 Before describing the embodiments of the present invention, the basic principle of the present invention will be described.

 本発明では、分類のためのフィルタを特定の波長のみを透過させるバンドパスフィルタを複数用いて簡易で安価な構成の色分類装置を実現するものである。また、異なる光源のもとでも色分類を行うために、対象物を撮影するときと同じ条件で適当な参照板の反射分光スペクトルを計測し、対象物の反射分光スペクトルを参照板の反射分光スペクトルで補正することによって光源(照明光)の影響を除去するようにしている。 According to the present invention, a color classification device having a simple and inexpensive configuration is realized by using a plurality of band-pass filters that transmit only a specific wavelength as a filter for classification. In addition, in order to perform color classification even under different light sources, the reflection spectrum of an appropriate reference plate is measured under the same conditions as when the object is photographed, and the reflection spectrum of the object is measured. In this case, the influence of the light source (illumination light) is removed.

 すなわち、λを波長として、対象物の反射分光スペクトルをf(λ)、参照板の反射分光スペクトルをs(λ)、照明光の反射分光スペクトルをL(λ)、撮影系の感度スペクトル(撮影レンズの透過スペクトル、撮像素子の感度スペクトル等)をM(λ)とすれば、対象物の撮影スペクトルgi(λ)、参照板の撮影スペクトルgs(λ)はそれぞれ   gi(λ)=f(λ)×L(λ)×M(λ)                    gs(λ)=s(λ)×L(λ)×M(λ)                   で表せられ、対象物のスペクトルgi′(λ)は                  gi′(λ)=gi(λ)/gs(λ)=f(λ)/s(λ)        …(4)と表わせられる。 That is, with λ as the wavelength, the reflection spectrum of the object is f (λ), the reflection spectrum of the reference plate is s (λ), the reflection spectrum of the illumination light is L (λ), and the sensitivity spectrum of the photographing system (photographing If the transmission spectrum of the lens, the sensitivity spectrum of the image sensor, etc.) are M (λ), the imaging spectrum gi (λ) of the object and the imaging spectrum gs (λ) of the reference plate are respectively gi (λ) = f (λ). ) × L (λ) × M (λ) {gs (λ) = s (λ) × L (λ) × M (λ)}, and the spectrum gi ′ (λ) of the object is expressed as {gi ′ (λ) = gi (λ) / gs (λ) = f (λ) / s (λ) (4)

 こうして照明光の反射分光スペクトルL(λ)の影響を除去でき、gi′(λ)を用いれば、異なる光源のもとでも分類できることになる。 Thus, the influence of the reflection spectrum L (λ) of the illumination light can be removed, and if gi ′ (λ) is used, classification can be performed under different light sources.

 また、さらに照明光の輝度が異なる場合には、除算後の信号gi′(λ)のパワーを正規化すればよい。 If the luminance of the illumination light is further different, the power of the signal gi ′ (λ) after division may be normalized.

 以下図面を参照して本発明の実施例を説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.

 (第1実施形態)                                測定される対象物の反射分光特性によっては、あるバンドのフィルタにおいては反射光強度が低く、観測されるデータのSNRが悪くなり、これにより分類精度が下がってしまうことがある。 (First Embodiment) {Depending on the reflection spectral characteristics of an object to be measured, the intensity of reflected light is low in a filter of a certain band, and the SNR of observed data is deteriorated, so that the classification accuracy is lowered. is there.

 この問題点を解決する第1実施形態を図1を参照して説明する。 A first embodiment for solving this problem will be described with reference to FIG.

 本実施形態の色分類装置は、図1に示すように筐体1の前方に設けられたレンズ等を含む光学系10、絞り101、絞り制御回路126、図2に示すような複数枚の通過帯域特性の異なるバンドパスフィルタ12A、12B、…、12Eで構成される回転色フィルタ12、フィルタ位置センサ123、モーター24、モーター駆動回路124、対象物および参照板の画像を撮像するための撮像素子14、増幅器15、撮像素子駆動回路22、A/D変換器16、フレームメモリ18、分類演算回路28、各バンドパスフィルタの適性露光を得る絞り値を記憶する露光値メモリ29、コントロール回路26とからなる。 The color classification device according to the present embodiment includes an optical system 10 including a lens and the like provided in front of a housing 1 as shown in FIG. 1, an aperture 101, an aperture control circuit 126, and a plurality of sheets as shown in FIG. .., 12E having different band characteristics, a filter position sensor 123, a motor 24, a motor drive circuit 124, and an image sensor for capturing images of an object and a reference plate. 14, an amplifier 15, an image sensor driving circuit 22, an A / D converter 16, a frame memory 18, a classification operation circuit 28, an exposure value memory 29 for storing an aperture value for obtaining an appropriate exposure for each bandpass filter, and a control circuit 26. Consists of

 回転色フィルタ12には、図2に示すように、各フィルタ位置検出孔125A、125B、…、125E、フィルタ初期位置検出孔126があけられている。 As shown in FIG. 2, the rotary color filter 12 is provided with filter position detection holes 125A, 125B,..., 125E and a filter initial position detection hole 126.

 各バンドパスフィルタ12A、12B、…、12Eの位置を初期位置検出孔126およびフィルタ位置検出孔125A、125B、…、125Eをフォトインタラプタなどで構成されるフィルタ位置センサ123で検出し、コントロール回路26ではフィルタ位置センサ123からの信号によりフィルタの回転を撮像素子14の撮像に同期させるようモーター駆動回路124を制御する。 The position of each bandpass filter 12A, 12B,..., 12E is detected by the initial position detecting hole 126 and the filter position detecting holes 125A, 125B,. Then, the motor drive circuit 124 is controlled so that the rotation of the filter is synchronized with the imaging of the image sensor 14 by the signal from the filter position sensor 123.

 回転色フィルタ12を通過した像は撮像素子14に結像し増幅器15を介してA/D変換器16でディジタル信号に変換された後にフレームメモリ18に蓄えられ、フレームメモリ18からモニタへは画像信号、画像中の所定の領域のデータが分類演算回路28に送られる。 The image that has passed through the rotary color filter 12 is formed on an image sensor 14, converted into a digital signal by an A / D converter 16 via an amplifier 15, stored in a frame memory 18, and transferred from the frame memory 18 to a monitor. A signal and data of a predetermined area in the image are sent to the classification operation circuit 28.

 いま、画像中の所定の領域のデータとして、バンドパスフィルタ12Aのデータの値がバンドパスフィルタ12Bのデータの値の約1/10であったとする。このときの測定データの暗電流ノイズによる信号対雑音比(SNR)を考えると、バンドパスフィルタ12Aのデータはバンドパスフィルタ12BのデータよりもSNRが約10倍悪くなってしまう。 Now, suppose that the value of the data of the bandpass filter 12A is about 1/10 of the value of the data of the bandpass filter 12B as the data of the predetermined area in the image. Considering the signal-to-noise ratio (SNR) of the measurement data due to dark current noise, the data of the bandpass filter 12A has an SNR about 10 times worse than the data of the bandpass filter 12B.

 そこで、各フィルタ12A〜12Eに同期させて絞りを制御し、どのフィルタにおいてもSNRが所定のレベルを超えるようにする。 Therefore, the aperture is controlled in synchronization with each of the filters 12A to 12E so that the SNR of each filter exceeds a predetermined level.

 そのときの各フィルタ12A〜12Eの絞り値を露光値メモリ29に記憶しておき、分類演算回路28の前処理にて絞りの補正を行う。 (4) The aperture values of the respective filters 12A to 12E at that time are stored in the exposure value memory 29, and the aperture is corrected by preprocessing of the classification operation circuit 28.

 つまり、バンドパスフィルタ12Aのデータを取り込む際には絞りの開口面積をバンドパスフィルタ12Bのときの10倍にする。 {That is, when taking in the data of the band-pass filter 12A, the aperture area of the stop is set to ten times that of the band-pass filter 12B.

 そして、分類演算の際にはバンドパスフィルタ12Aのデータを1/10にしてから演算する。 Then, at the time of the classification operation, the data of the band-pass filter 12A is reduced to 1/10 before the operation.

 つぎに、以上のように構成される第1実施形態による色分類装置における一連の動作の一例を図3に示すフローチャートを参照して説明する。 Next, an example of a series of operations in the color classification device according to the first embodiment configured as described above will be described with reference to the flowchart shown in FIG.

 まず、対象物の測定領域を設定する(ステップS1)。 First, a measurement area of an object is set (step S1).

 つぎに、1番目のバンドパスフィルタをセットして(バンドパスフィルタ12A)予備露光を行い、この予備露光得られる測定データが所定の値の範囲に入るように絞り値を設定し、このときの絞り値を対応するバンドパスフィルタの番号とともに記憶する(ステップS2〜S7)。 Next, the first band-pass filter is set (band-pass filter 12A) to perform pre-exposure, and the aperture value is set so that the measurement data obtained from the pre-exposure falls within a predetermined value range. The aperture value is stored together with the corresponding bandpass filter number (steps S2 to S7).

 これを全てのバンドパスフィルタ(バンドパスフィルタ12B、…、12E)について順次行う(ステップS8〜S10)。 を This is sequentially performed for all bandpass filters (bandpass filters 12B,..., 12E) (steps S8 to S10).

 このような予備露光が終了した後、測定時は分類演算回路28では各バンドパスフィルタ毎に記憶された絞り値のデータをもとに、対応するバンドパスフィルタの測定データを補正後、分類演算を行う。 After such preliminary exposure is completed, at the time of measurement, the classification operation circuit 28 corrects the measurement data of the corresponding band-pass filter based on the aperture value data stored for each band-pass filter, and then performs the classification operation. I do.

 以上のように、第1実施形態では露光値メモリ29を設け、各バンドパスフィルタ毎に最適露出による撮像を行う構成としたため、測定データSNRが向上し、分類精度が高くなる。 As described above, in the first embodiment, the exposure value memory 29 is provided, and imaging is performed with optimal exposure for each bandpass filter. Therefore, the measurement data SNR is improved, and the classification accuracy is increased.

 また、本実施形態では予備露光を行い各バンドパスフィルタに最適な露出で測定できるため、測定対象物が変化した場合でも精度良く分類できる。 In addition, in the present embodiment, since the pre-exposure is performed and the measurement can be performed with the optimum exposure for each bandpass filter, classification can be performed with high accuracy even when the measurement target changes.

 (第2実施形態)                                つぎに、対象物がある程度限られた場合について、撮像素子の暗電流ノイズによるSNR低下を防ぐ第2実施例を図4を参照して説明する。 {(Second Embodiment)} Next, a second embodiment for preventing the SNR from being reduced due to dark current noise of the image sensor when the number of objects is limited to some extent will be described with reference to FIG.

 本実施形態の色分類装置は、図4に示すようにレンズ等を含む光学系10、前述した図2に示すような複数枚のバンドパスフィルタ12A、12B、…、12Eで構成され、モーター軸に固定されている回転色フィルタ12、図5に示すように回転色フィルタの各バンドパスフィルタに対応するように幅の異なる扇型の開口部103A、103B、…、103Eを持ち、その開口部が対応するバンドパスフィルタに重なるようにモーター軸に固定された回転絞り板102、フィルタ位置センサ123、モーター24、モーター駆動回路124、対象物および参照板の画像を取り込むための固体撮像素子14、増幅器15、撮像素子駆動回路22、A/D変換器16、フレームメモリ18、分類演算回路28、回転色フィルタ12の各バンドパスフィルタ12A、12B、…、12Eに対応する回転絞り板の開口値を記憶する露出値メモリ29、各部のタイミングをとり制御するコントロール回路26とからなる。 The color classification apparatus according to the present embodiment includes an optical system 10 including a lens and the like as shown in FIG. 4, and a plurality of bandpass filters 12A, 12B,..., 12E as shown in FIG. , 103E, and has fan-shaped openings 103A, 103B,..., 103E having different widths so as to correspond to each band-pass filter of the rotating color filter as shown in FIG. , A rotary diaphragm plate 102 fixed to a motor shaft so as to overlap a corresponding bandpass filter, a filter position sensor 123, a motor 24, a motor drive circuit 124, a solid-state imaging device 14 for capturing images of an object and a reference plate, Each band of the amplifier 15, the image sensor driving circuit 22, the A / D converter 16, the frame memory 18, the classification operation circuit 28, and the rotating color filter 12 Pass filter 12A, 12B, ..., the exposure value memory 29 for storing the opening value of the rotation stop plate corresponding to 12E, made from the control circuit 26 which controls timed units.

 回転色フィルタ12には、第1実施形態と同様に図2に示したように、各フィルタ位置検出孔125A、125B、…、125E、フィルタ初期位置検出孔126があけられている。 As shown in FIG. 2, the rotary color filter 12 is provided with filter position detection holes 125A, 125B,..., 125E, and a filter initial position detection hole 126, as shown in FIG.

 各バンドパスフィルタ12A、12B、…、12Eの位置を初期位置検出孔126およびフィルタ位置検出孔125A、125B、…、125Eをフォトインタラプタなどで構成されるフィルタ位置センサ123で検出し、コントロール回路26ではフィルタ位置センサ123からの信号によりフィルタの回転を撮像素子の撮像に同期させるようモーター駆動回路を制御する。 The position of each bandpass filter 12A, 12B,..., 12E is detected by the initial position detecting hole 126 and the filter position detecting holes 125A, 125B,. Then, the motor drive circuit is controlled so that the rotation of the filter is synchronized with the imaging of the image sensor by the signal from the filter position sensor 123.

 回転絞り板102は回転色フィルタ12と一緒に回転する。 The rotary diaphragm plate 102 rotates together with the rotary color filter 12.

 回転色フィルタ12の各バンドパスフィルタ12A、12B、…、12Eに対して回転絞り板102の開口部103A、103B、…、103Eが対応し、これにより露光量がを制限される。 .., 103E of the rotary color filter 12 correspond to the openings 103A, 103B,..., 103E of the rotary diaphragm plate 102, thereby limiting the exposure amount.

 各フィルタを通過した像は撮像素子14に結像し増幅器を介してA/D変換器16でディジタル信号に変換された後にフレームメモリ18に蓄えられ、フレームメモリ18からモニタへは画像信号、画像中の所定の領域のデータが分類演算回路28に送られる。 The image that has passed through each filter is formed on an image sensor 14, converted into a digital signal by an A / D converter 16 via an amplifier, and stored in a frame memory 18. The image signal and image are transmitted from the frame memory 18 to a monitor. Data in a predetermined area in the middle is sent to the classification operation circuit 28.

 ここで、回転絞り板102について説明する。 Here, the rotary diaphragm plate 102 will be described.

 予め、対象物の大体の反射分光分布を調べておき、各バンドパスフィルタ(バンドパスフィルタ12B、…、12E)について最適な絞り開口径を求めておき、この開口径をもとに回転絞り板を作成すると共に、このときの開口径をバンドパスフィルタに対応させて露出値メモリ29に記憶させる。 The approximate reflection spectral distribution of the object is checked in advance, and the optimum aperture diameter for each bandpass filter (bandpass filters 12B,..., 12E) is determined, and the rotary aperture plate is determined based on the aperture diameter. And the aperture diameter at this time is stored in the exposure value memory 29 in correspondence with the band-pass filter.

 分類演算回路28では露出値メモリ29に記憶された絞り値のデータをもとに、対応するバンドパスフィルタの測定データを補正後、分類演算を行う。 The classification operation circuit 28 performs a classification operation after correcting the measurement data of the corresponding bandpass filter based on the aperture value data stored in the exposure value memory 29.

 以上のように第2実施形態では回転絞り板102と露出値メモリ29を設け、各バンドパスフィルタ毎に最適露出による撮像を行う構成としたため、測定データのSNRが向上し、分類精度が高くなる。 As described above, in the second embodiment, the rotary diaphragm plate 102 and the exposure value memory 29 are provided, and the imaging is performed with the optimum exposure for each bandpass filter. Therefore, the SNR of the measurement data is improved, and the classification accuracy is improved. .

 また、第2実施形態では、絞り径を変化させるといった機械的な動作が無いため、高速にかつ安定した測定が行える。 In the second embodiment, since there is no mechanical operation such as changing the aperture diameter, high-speed and stable measurement can be performed.

 また、第2実施形態では用途に応じて設計した異なる複数の回転絞り板を用意し、これを交換することで多用途に使用することができる。 In addition, in the second embodiment, a plurality of different rotary diaphragm plates designed according to the intended use are prepared, and can be used for various purposes by replacing them.

 (第3実施形態)                                つぎに、対象物がある程度限られる場合について、撮像素子の暗電流ノイズによるSNR低下を防ぐ第3実施例を図6,図7,及び図8を参照して説明する。 {Third Embodiment} Next, a description will be given, with reference to FIGS. 6, 7, and 8, of a third embodiment for preventing the SNR from being reduced due to dark current noise of the image sensor when the number of objects is limited to some extent.

 本実施形態の色分類装置は、図6に示すように筐体1,レンズ等を含む光学系10、前述した図2に示すような複数枚のバンドパスフィルタ12A、12B、…、12Eで構成され、モーター軸に固定されている回転色フィルタ12、図7に示すように回転色フィルタの各バンドパスフィルタに対応するように透過率の異なるNDフィルタ105A、105B、…、105Eを持ち、その開口部が対応するバンドパスフィルタに重なるように回転色フィルタに直に固定された回転NDフィルタ104、フィルタ位置センサ123、モーター24、モーター駆動回路124、対象物および参照板の画像を取り込むための固体撮像素子14、増幅器15、撮像素子駆動回路22、A/D変換器16、フレームメモリ18、分類演算回路28、回転色フィルタ12の各バンドパスフィルタ12A、12B、…、12Eに対応する回転NDフィルタ104の透過率を記憶する露出値メモリ29、各部のタイミングをとり制御するコントロール回路26とからなる。 The color classification device according to the present embodiment includes an optical system 10 including a housing 1, a lens, and the like as shown in FIG. 6, and a plurality of bandpass filters 12A, 12B,..., 12E as shown in FIG. , And ND filters 105A, 105B,..., 105E having different transmittances corresponding to the respective band-pass filters of the rotating color filter as shown in FIG. For capturing images of the rotating ND filter 104, the filter position sensor 123, the motor 24, the motor driving circuit 124, the object and the reference plate, which are directly fixed to the rotating color filter so that the openings overlap the corresponding bandpass filters. Solid-state image sensor 14, amplifier 15, image sensor drive circuit 22, A / D converter 16, frame memory 18, classification operation circuit 28, Each bandpass filter 12A of the color filters 12, 12B, ..., the exposure value memory 29 for storing the transmission of the rotary ND filter 104 corresponding to 12E, made from the control circuit 26 which controls timed units.

 回転色フィルタ12には、第1、第2実施形態と同様に、図2に示したように、各フィルタ位置検出孔125A、125B、…、125E、フィルタ初期位置検出孔126があけられている。 Like the first and second embodiments, the rotary color filter 12 is provided with filter position detection holes 125A, 125B,..., 125E and a filter initial position detection hole 126 as shown in FIG. .

 各バンドパスフィルタ12A、12B、…、12Eの位置を初期位置検出孔126およびフィルタ位置検出孔125A、125B、…、125Eをフォトインタラプタなどで構成されるフィルタ位置センサ123で検出し、コントロール回路26ではフィルタ位置センサ123からの信号によりフィルタの回転を撮像素子の撮像に同期させるようモーター駆動回路を制御する。 The position of each bandpass filter 12A, 12B,..., 12E is detected by the initial position detecting hole 126 and the filter position detecting holes 125A, 125B,. Then, the motor drive circuit is controlled so that the rotation of the filter is synchronized with the imaging of the image sensor by the signal from the filter position sensor 123.

 回転NDフィルタ104は回転色フィルタ12と一緒に回転する。 The rotating ND filter 104 rotates together with the rotating color filter 12.

 回転色フィルタ12の各バンドパスフィルタ12A、12B、…、12Eに対して回転NDフィルタ104の各NDフィルタ105A、105B、…、105Eが対応し、露光量を制限する。 .., 105E of the rotating ND filter 104 correspond to the bandpass filters 12A, 12B,..., 12E of the rotating color filter 12, and limit the exposure amount.

 各バンドパスフィルタを通過した像は撮像素子14に結像し増幅器を介してA/D変換器16でディジタル信号に変換された後にフレームメモリ18に蓄えられ、フレームメモリ18からモニタへは画像信号、画像中の所定の領域のデータが分類演算回路28に送られる。 The image that has passed through each bandpass filter is formed on an image sensor 14, converted into a digital signal by an A / D converter 16 via an amplifier, and stored in a frame memory 18. The image signal is transmitted from the frame memory 18 to a monitor. , Data of a predetermined area in the image is sent to the classification operation circuit 28.

 ここで、回転NDフィルタ104について説明する。 Here, the rotating ND filter 104 will be described.

 予め、対象物の本体の反射分光分布を調べておき、各バンドパスフィルタ(バンドパスフィルタ12B、…、12E)について最適な透過率をもとめておき、この透過率のもつNDフィルタを用いて回転NDフィルタ104を作成すると共に、このときの透過率をバンドパスフィルタに対応させて露出値メモリ29に記憶させる。 The reflection spectral distribution of the main body of the object is checked in advance, the optimum transmittance is determined for each band-pass filter (band-pass filters 12B,..., 12E), and rotation is performed using an ND filter having this transmittance. The ND filter 104 is created, and the transmittance at this time is stored in the exposure value memory 29 in correspondence with the band-pass filter.

 分類演算回路28では露出値メモリ29に記憶された透過率のデータをもとに、対応するバンドパスフィルタの測定データを補正後、分類演算を行う。 The classification operation circuit 28 performs classification operation after correcting the measurement data of the corresponding bandpass filter based on the transmittance data stored in the exposure value memory 29.

 以上のように第3実施形態では回転NDフィルタ104と露出値メモリ29を設け、各バンドパスフィルタ毎に最適露出による撮像を行う構成としたため、測定データのSNRが向上し、分類精度が高くなる。 As described above, in the third embodiment, the rotation ND filter 104 and the exposure value memory 29 are provided, and the imaging is performed with the optimal exposure for each bandpass filter. Therefore, the SNR of the measurement data is improved, and the classification accuracy is improved. .

 また、第3実施形態では絞り径を変化させるといった機械的な動作が無いため、高速にかつ安定した測定が行える。 In addition, in the third embodiment, since there is no mechanical operation such as changing the aperture diameter, high-speed and stable measurement can be performed.

 また、第3実施形態では用途に応じて設計した異なる複数の回転NDフィルタを用意し、これを交換することで多用途に使用することができる。 In addition, in the third embodiment, a plurality of different rotating ND filters designed according to the application are prepared and can be used for various purposes by replacing them.

 なお、第3実施形態では回転NDフィルタ104のかわりに図8に示すような回転スリット板104Aを用意してもよい。 In the third embodiment, a rotary slit plate 104A as shown in FIG. 8 may be prepared instead of the rotary ND filter 104.

 この、回転スリット板は、各バンドパスフィルタに対応する開口部106A、106B、…、106Eの円周方向の長さが、図7の各NDフィルタの透過率に対応した長さとなっている。 In the rotating slit plate, the circumferential length of the openings 106A, 106B,..., 106E corresponding to the respective band-pass filters is a length corresponding to the transmittance of each ND filter in FIG.

 これにより、各バンドパスフィルタの露光時間が制限され、結果として露光量を制御することができ同様の効果が得られる。 This limits the exposure time of each bandpass filter, and as a result, the amount of exposure can be controlled, and the same effect can be obtained.

 (第4実施形態)                                さらに汎用性のある第4実施形態を図9、図10を参照して説明する。 {(Fourth Embodiment)} A further versatile fourth embodiment will be described with reference to FIGS.

 本実施形態の色分類装置は、図9に示すように筐体1、レンズ等を含む光学系10、前述した図2に示すような複数枚のバンドパスフィルタ12A、12B、…、12Eで構成される回転色フィルタ12、フィルタ位置センサ123、モーター24、モーター駆動回路124、透過率を変化させられる透過率可変フィルタ122、透過率可変フィルタ122の透過率を制御する透過率制御回路121、対象物および参照板の画像を取り込むための撮像素子14、増幅器15、撮像素子駆動回路22、A/D変換器16、フレームメモリ18、分類演算回路28、各バンドパスフィルタの適正露光を得る透過率を記憶する露出値メモリ29、コントロール回路26とからなる。 The color classification device of the present embodiment includes a housing 1, an optical system 10 including a lens and the like as shown in FIG. 9, and a plurality of bandpass filters 12A, 12B,..., 12E as shown in FIG. Rotating color filter 12, filter position sensor 123, motor 24, motor drive circuit 124, transmittance variable filter 122 capable of changing transmittance, transmittance control circuit 121 controlling transmittance of transmittance variable filter 122, object Image sensor 14, amplifier 15, image sensor drive circuit 22, A / D converter 16, frame memory 18, classification operation circuit 28, and transmittance for obtaining appropriate exposure of each band-pass filter for capturing images of an object and a reference plate , And an exposure value memory 29 for storing the

 回転色フィルタ12には、第1乃至第3の実施形態と同様に図2に示したように、各フィルタ位置検出孔125A、125B、…、125E、フィルタ初期位置検出孔126があけられている。 As shown in FIG. 2, similarly to the first to third embodiments, the rotary color filter 12 is provided with filter position detection holes 125A, 125B,..., 125E and a filter initial position detection hole 126. .

 各バンドパスフィルタ12A、12B、…、12Eの位置を初期位置検出孔126およびフィルタ位置検出孔125A、125B、…、125Eをフォトインタラプタなどで構成されるフィルタ位置センサ123で検出し、コントロール回路26ではフィルタ位置センサ123からの信号によりフィルタの回転を撮像素子の撮像に同期させるようモーター駆動回路を制御する。 The position of each bandpass filter 12A, 12B,..., 12E is detected by the initial position detecting hole 126 and the filter position detecting holes 125A, 125B,. Then, the motor drive circuit is controlled so that the rotation of the filter is synchronized with the imaging of the image sensor by the signal from the filter position sensor 123.

 各フィルタを通過した像は撮像素子14に結像し増幅器15を介してA/D変換器16でディジタル信号に変換された後にフレームメモリ18に蓄えられ、フレームメモリ18からモニタへは画像信号が、分類演算回路28には画像中の所定の領域のデータが送られる。 The image that has passed through each filter is formed on an image sensor 14, converted into a digital signal by an A / D converter 16 via an amplifier 15, stored in a frame memory 18, and an image signal is sent from the frame memory 18 to a monitor. The data of a predetermined area in the image is sent to the classification operation circuit 28.

 つぎに、第4実施形態の動作を図10に示すフローチャートを参照して説明する。 Next, the operation of the fourth embodiment will be described with reference to the flowchart shown in FIG.

 まず対象物の測定領域を設定する(ステップS11)。 First, a measurement area of the object is set (step S11).

 つぎに、1番目のバンドパスフィルタをセットし(バンドパスフィルタ12A)て予備露光を行い、この予備露光によって得られる測定データが所定の値の範囲に入るように透過率可変フィルタ122の透過率を設定し、このときの透過率を対応するバンドパスフィルタの番号とともに露出値メモリ29に記憶する(ステップS12〜S17)。 Next, the first band-pass filter is set (band-pass filter 12A) to perform preliminary exposure, and the transmittance of the transmittance variable filter 122 is set so that the measurement data obtained by the preliminary exposure falls within a predetermined value range. Is stored in the exposure value memory 29 together with the corresponding bandpass filter number at this time (steps S12 to S17).

 これを全てのバンドパスフィルタ(バンドパスフィルタ12B、…、12E)について順次行う(ステップS18〜S20)。 を This is sequentially performed for all bandpass filters (bandpass filters 12B,..., 12E) (steps S18 to S20).

 このような予備露光が終了した後、測定時は各バンドパスフィルタに12A、12B、…、12Eに同期して透過率可変フィルタ122の透過率を変化させ、分類演算回路28では各バンドパスフィルタ毎に記憶された透過率のデータをもとに、対応するバンドパスフィルタの測定データを補正後、分類演算を行う。 After the completion of such preliminary exposure, at the time of measurement, the transmittance of the transmittance variable filter 122 is changed in synchronization with the bandpass filters 12A, 12B,..., 12E. After correcting the measurement data of the corresponding band-pass filter based on the transmittance data stored for each, a classification operation is performed.

 以上のように第4実施形態では透過率可変フィルタ122と、露出値メモリ29を設け、各バンドパスフィルタ毎に最適露出による撮像を行う構成としたため、測定データのSNRが向上し、分類精度が高くなる。 As described above, in the fourth embodiment, the transmittance variable filter 122 and the exposure value memory 29 are provided, and the configuration is such that imaging is performed with the optimum exposure for each bandpass filter. Therefore, the SNR of the measurement data is improved, and the classification accuracy is improved. Get higher.

 また、本実施形態では、予備露光を行い各バンドパスフィルタに最適な露出で測定できるため、測定対象物が変化した場合でも精度良く分類できるので、汎用性のある色分類装置を実現することができる。 Further, in the present embodiment, since it is possible to perform pre-exposure and perform measurement with the optimum exposure for each bandpass filter, classification can be performed accurately even when the measurement object changes, so that a versatile color classification device can be realized. it can.

 なお、第4実施形態においては、図11に示すように図9の透過率可変フィルタ122およびその透過率制御回路121を取り去った構成として、撮像素子の露光時間を制御するようにしてもよく、これにより回路構成がさらに簡略化される。 In the fourth embodiment, as shown in FIG. 11, the transmittance variable filter 122 and its transmittance control circuit 121 shown in FIG. 9 may be removed to control the exposure time of the image sensor. This further simplifies the circuit configuration.

 (第5実施形態)                                次に、主に屋外での使用時に参照板の測定を簡易にした第5実施形態を図12、図13を参照して説明する。 << (5th Embodiment) >> Next, 5th Embodiment which simplified measurement of the reference plate mainly at the time of outdoor use is demonstrated with reference to FIG. 12, FIG.

 本実施形態の色分類装置は、図12に示すように筐体1、レンズ等を含む光学系10、前述した図2に示すような複数枚のバンドパスフィルタ12A、12B、…、12Eで構成される回転色フィルタ12、フィルタ位置センサ123、モーター24、モーター駆動回路124、対象物および参照板の画像を取り込むための撮像素子14、増幅器15、撮像素子駆動回路22、A/D変換器16、フレームメモリ18、フレームメモリ18のデータから照明条件を検出する照明条件検出回路137と、分類演算回路28、コントロール回路26、筐体1の前方上部に設けられた透過式の参照板131と、参照板を撮像素子に結像させるための光学系133、片端を中心に角度が可変な鏡134とからなる。 The color classification apparatus of the present embodiment includes a housing 1, an optical system 10 including a lens and the like, as shown in FIG. 12, and a plurality of bandpass filters 12A, 12B,..., 12E as shown in FIG. Rotating color filter 12, filter position sensor 123, motor 24, motor driving circuit 124, image sensor 14, amplifier 15, image sensor driving circuit 22, A / D converter 16 for capturing images of an object and a reference plate , A frame memory 18, an illumination condition detection circuit 137 for detecting an illumination condition from data in the frame memory 18, a classification operation circuit 28, a control circuit 26, and a transmission-type reference plate 131 provided in an upper front part of the housing 1. The optical system includes an optical system 133 for forming an image of the reference plate on the image sensor, and a mirror 134 whose angle is variable about one end.

 参照板131に対する測定時においては、鏡134は図12の134′で示す破線の位置にセットされる。筐体1の上部に設けられた透過式の参照板131は上部からの照明光を拡散させながら筐体1の内部に透過する。 At the time of measurement with respect to the reference plate 131, the mirror 134 is set to a position indicated by a broken line 134 'in FIG. The transmissive reference plate 131 provided at the top of the housing 1 transmits the illumination light from the top into the housing 1 while diffusing the illumination light from the top.

 光源の分光分布を反映する参照板131は光学系133を経て、鏡134で反射されて撮像素子に結像する。 The reference plate 131 reflecting the spectral distribution of the light source passes through the optical system 133, is reflected by the mirror 134, and forms an image on the image sensor.

 回転色フィルタ12を回転させ、各バンドパスフィルタを通過した像は後述するようにディジタルデータに変換された後、照明条件検出回路137で画像処理され、明るさ、照明の方向などの照明条件データと、光源データが得られる。なお、照明の方向のデータについては後に詳述する。 The image that has been rotated by the rotating color filter 12 and passed through each band-pass filter is converted into digital data, as described later, and then image-processed by an illumination condition detection circuit 137 to obtain illumination condition data such as brightness and illumination direction. Then, light source data is obtained. The data on the direction of illumination will be described later in detail.

 照明条件検出回路137にて得られた明るさのデータはコントロール回路26に送られ、露出調整に用いられる。 (4) The brightness data obtained by the illumination condition detection circuit 137 is sent to the control circuit 26 and used for exposure adjustment.

 光源データは分類演算回路28に送られ、分類演算回路28の中のメモリに記憶されると共に、照明の方向のデータも分類演算回路28に送られる。 (4) The light source data is sent to the classification calculation circuit 28 and stored in the memory in the classification calculation circuit 28, and the data on the direction of illumination is also sent to the classification calculation circuit 28.

 対象物の測定を行う場合、鏡134は図12中の破線で示す位置134′にあり、対象物からの反射光は、光学系10、回転色フィルタ12を通って、撮像素子14に結像される。 When measuring an object, the mirror 134 is located at a position 134 ′ shown by a broken line in FIG. 12, and reflected light from the object forms an image on the image sensor 14 through the optical system 10 and the rotating color filter 12. Is done.

 コントロール回路26によりモーター駆動回路124に信号が送られ、回転色フィルタ12がモーター24により各バンドパスフィルタの位置が撮像素子14の撮像と同期するように回転する。 A signal is sent from the control circuit 26 to the motor drive circuit 124, and the rotary color filter 12 is rotated by the motor 24 so that the position of each bandpass filter is synchronized with the imaging of the image sensor 14.

 撮像された対象物の各バンドパスフィルタを通過した像は、撮像素子14に結像され、増幅器15を介してA/D変換器16によりディジタルデータに変換された後にフレームメモリ18に蓄えられ、分類演算回路28に送られ、予め測定し、分類演算回路28の中のメモリに記憶しておいて参照板131のデータで光源の補正を行い分類演算される。 The captured image of the object that has passed through each band-pass filter is formed on an image sensor 14, converted into digital data by an A / D converter 16 via an amplifier 15, and stored in a frame memory 18. The data is sent to the classification operation circuit 28, measured in advance, stored in a memory in the classification operation circuit 28, corrected for the light source with the data of the reference plate 131, and subjected to the classification operation.

 ここで、照明の方向のデータの取得方法について説明する。 Here, a method of acquiring data on the direction of illumination will be described.

 参照板131の中央部に図12に示すように棒132をとりつける。 棒 Attach the rod 132 to the center of the reference plate 131 as shown in FIG.

 この参照板131は、撮像素子14によって、図13で示すような画像135として観測される。 This reference plate 131 is observed by the image sensor 14 as an image 135 as shown in FIG.

 すなわち、参照板131の画像135の中に棒132の影136が映っているので、照明条件検出回路137ではこの画像から照明条件を検出する。 That is, since the shadow 136 of the bar 132 is reflected in the image 135 of the reference plate 131, the illumination condition detection circuit 137 detects the illumination condition from this image.

 まず、棒の影136の角度と長さから測定時の照明の方向が検出できると共に、薄曇りの場合には棒の影136と周囲の参照板の画像135との輝度差が小さくなり、完全な曇天の場合には影が無くなるので、照明条件を詳細に把握することができる。 First, the direction of illumination at the time of measurement can be detected from the angle and length of the shadow 136 of the bar, and in the case of light cloudiness, the difference in brightness between the shadow 136 of the bar and the image 135 of the surrounding reference plate is reduced, and the complete In the case of cloudy weather, there is no shadow, so that the lighting conditions can be grasped in detail.

 照明条件検出回路137で検出された照明の情報が送られる分類演算回路28では、予め順光、逆行、曇天などの照明条件の異なる学習データを用意しておくことにより、照明条件の違いによる測定誤差を極力排除して分類演算を行うことができる。 In the classification operation circuit 28 to which information of the illumination detected by the illumination condition detection circuit 137 is sent, learning data having different illumination conditions such as normal light, backward movement, and cloudy weather are prepared in advance to perform measurement based on the difference in illumination conditions. The classification operation can be performed while eliminating errors as much as possible.

 このように第5実施形態では、参照板131を筐体1の前方上部に設け、鏡134の角度を切替えるだけで参照板131のデータを得ることができる構成としたため、屋外での測定中に晴れから曇りというように照明光が変化した場合でも、参照板131のデータを簡単に取り直すことができるなど、参照板のデータ取得が容易になる。 As described above, in the fifth embodiment, the reference plate 131 is provided in the upper front part of the housing 1 so that the data of the reference plate 131 can be obtained only by switching the angle of the mirror 134. Even when the illumination light changes from fine to cloudy, the data of the reference plate 131 can be easily obtained, for example, the data of the reference plate 131 can be easily retaken.

 なお、鏡134の角度は手動で変更するようにしてもよいし、駆動装置を用いて、コントロール回路26から信号を送り、自動的に変更するようにしてもよい。 The angle of the mirror 134 may be changed manually, or a signal may be sent from the control circuit 26 using a driving device to change the angle automatically.

 (第6実施形態)                                つぎに、主に屋外での使用時に参照板の測定を簡易にした第6実施形態を図14、図15および図16を参照して説明する。 (Sixth Embodiment) Next, a sixth embodiment in which measurement of a reference plate is simplified mainly when used outdoors will be described with reference to FIGS. 14, 15 and 16.

 本実施形態の色分類装置は、図14に示すように筐体1、レンズ等を含む光学系10、前述した図2に示すような複数枚のバンドパスフィルタ12A、12B、…、12Eで構成される回転色フィルタ12、フィルタ位置センサ123、モーター24、モーター駆動回路124、対象物および参照板の画像を取り込むための撮像素子14、増幅器15、撮像素子駆動回路22、A/D変換器16、フレームメモリ18、フレームメモリ18のデータから照明条件を検出する照明条件検出回路145と、分類演算回路28、コントロール回路26、筐体1の上部に設けられた参照板138と、参照板138を光学系10を通して撮像素子14に結像させるように配置された鏡141および鏡142と、これらの鏡141、142を筐体1に固定するためのアーム143、144とからなる。 The color classification device of the present embodiment includes a housing 1, an optical system 10 including a lens and the like, as shown in FIG. 14, and a plurality of bandpass filters 12A, 12B,..., 12E as shown in FIG. Rotating color filter 12, filter position sensor 123, motor 24, motor driving circuit 124, image sensor 14, amplifier 15, image sensor driving circuit 22, A / D converter 16 for capturing images of an object and a reference plate , A frame memory 18, an illumination condition detection circuit 145 for detecting illumination conditions from data in the frame memory 18, a classification operation circuit 28, a control circuit 26, a reference plate 138 provided on an upper part of the housing 1, and a reference plate 138. Mirror 141 and mirror 142 arranged so as to form an image on the image sensor 14 through the optical system 10, and these mirrors 141 and 142 are fixed to the housing 1. An arm 143 and 144 Metropolitan for.

 本実施形態は屋外での測定、すなわち照明光としての日光を用いる測定装置に関するものである。 The present embodiment relates to a measurement apparatus that measures outdoors, that is, uses sunlight as illumination light.

 対象物の測定を行う場合、対象物からの反射光は、光学系10、回転色フィルタ12を通り、撮像素子14に結像される。 場合 When measuring an object, the reflected light from the object passes through the optical system 10 and the rotating color filter 12 and forms an image on the image sensor 14.

 これと、同時に参照板138の画像が鏡141、142にて反射され、光学系10を通して撮像素子14の一部に結像される。 同時 に Simultaneously, the image of the reference plate 138 is reflected by the mirrors 141 and 142 and is imaged on a part of the image sensor 14 through the optical system 10.

 図15は、この結像の様子を示すもので、画面全体には、対象物146が写っていると共に、画面中央の下の部分には、鏡141、142により反射された参照板138が写っている。 FIG. 15 shows this image formation. In the entire screen, an object 146 is shown, and in a lower part of the center of the screen, a reference plate 138 reflected by mirrors 141 and 142 is shown. ing.

 また、画面中央の四角形で囲まれた領域147は測定領域を示しており、これは対象物を分類するための色を測定する範囲であり、任意に変更(位置、大きさ)できるものである。 An area 147 surrounded by a square in the center of the screen indicates a measurement area, which is a range for measuring a color for classifying an object and can be arbitrarily changed (position, size). .

 コントロール回路26からモーター駆動回路124に信号が送られ、回転色フィルタ12がモーター24により各バンドパスフィルタの位置が撮像素子14の撮像と同期するように回転されると、撮像素子14には図15に示すように、対象物146の画像と参照板138の画像が同時に結像される。 When a signal is sent from the control circuit 26 to the motor drive circuit 124 and the rotating color filter 12 is rotated by the motor 24 so that the position of each band-pass filter is synchronized with the imaging of the image sensor 14, the image sensor 14 As shown in FIG. 15, the image of the object 146 and the image of the reference plate 138 are simultaneously formed.

 撮像された対象物146および参照板138の各バンドパスフィルタを通過した画像は撮像素子14に結像され、増幅器15を介して、A/D変換された後にフレームメモリ18に蓄えられる。 (4) The captured image of the object 146 and the reference plate 138 that have passed through each band-pass filter is formed on the image sensor 14, A / D converted via the amplifier 15, and stored in the frame memory 18.

 フレームメモリ18に記憶された画像データ中の参照板138のデータから照明条件検出回路145で照明条件データが検出されてコントロール回路26に送られると共に、参照板138のデータが分類演算回路28に送られ内部のメモリに記憶される。 The illumination condition detection circuit 145 detects the illumination condition data from the data of the reference plate 138 in the image data stored in the frame memory 18 and sends it to the control circuit 26, and sends the data of the reference plate 138 to the classification operation circuit 28. And stored in an internal memory.

 コントロール回路26では照明条件検出回路145からの明るさのデータから、適正な露光となるように撮像素子14のシャッタースピードを制御し、照明の方向のデータを分類演算回路28に送る。 The control circuit 26 controls the shutter speed of the image pickup device 14 based on the brightness data from the illumination condition detection circuit 145 so as to obtain an appropriate exposure, and sends the data of the illumination direction to the classification calculation circuit 28.

 フレームメモリ18に記憶された画像データ中の対象物146のデータは分類演算回路28に送られ、分類演算回路28の中のメモリに記憶されている参照板138のデータで光源の補正を行い分類演算される。 The data of the object 146 in the image data stored in the frame memory 18 is sent to the classification operation circuit 28, and the data of the reference plate 138 stored in the memory in the classification operation circuit 28 is used to correct the light source and perform classification. It is calculated.

 また、参照板138には中央部に図16に示すように棒139を取り付け、そこから放射状に目盛り148をつけることにより、参照板138上で日光によりできた棒139の影149と、目盛り148との相対角度と長さから測定時の照明光の方向を検出することができる。 Also, a rod 139 is attached to the center of the reference plate 138 as shown in FIG. The direction of the illumination light at the time of measurement can be detected from the relative angle and the length of the illumination light.

 また、薄曇りの場合は棒の影149と周囲の参照板138の画像との輝度差が小さくなり、完全な曇天の場合は影が無くなるので、照明条件が詳細に把握できる。 輝 度 Also, in the case of light cloudiness, the difference in brightness between the shadow 149 of the bar and the image of the surrounding reference plate 138 becomes small, and in the case of perfect cloudy weather, the shadow disappears, so that the lighting conditions can be grasped in detail.

 このように第6実施例では、筐体1の上部に参照板138を設け、参照板138を光学系10を通して撮像素子14の一部に結像させるように鏡141、142を設けたことにより、対象物146の測定時に参照板138の画像が同一画像内に納まるので、参照板138の測定と対象物146の測定を同時に行うことが可能となり、測定の手間が大幅に簡略化されると共に、さらに、参照板測定時と対象物測定時とで照明条件が変化するということが無く、補正の信頼性が向上する。 As described above, in the sixth embodiment, the reference plate 138 is provided on the upper portion of the housing 1, and the mirrors 141 and 142 are provided so that the reference plate 138 is focused on a part of the imaging device 14 through the optical system 10. Since the image of the reference plate 138 is included in the same image when measuring the object 146, the measurement of the reference plate 138 and the measurement of the object 146 can be performed simultaneously, and the labor of the measurement is greatly simplified, and Further, the illumination condition does not change between the time of measuring the reference plate and the time of measuring the object, and the reliability of correction is improved.

 また、本実施形態によれば参照板138に棒139を設けたことにより、その影の情報から順光、逆光、曇天などの照明条件を検出することが可能となり、これらの照明条件の異なる学習データを用意しておくことにより、照明条件の違いによる測定誤差を極力排除した上で分類演算を行うことが可能となり、分類精度が向上する。 In addition, according to the present embodiment, the provision of the rod 139 on the reference plate 138 makes it possible to detect lighting conditions such as direct light, backlight, and cloudy weather from information on the shadow of the reference plate 138. By preparing the data, it is possible to perform the classification calculation while minimizing the measurement error due to the difference in the lighting conditions, and the classification accuracy is improved.

 (第7実施形態)                                つぎに、主に屋外での使用時に参照板の測定を簡易にした第7実施例を図17を参照して説明する。 {Seventh Embodiment} Next, a seventh embodiment in which measurement of the reference plate is simplified mainly when used outdoors is described with reference to FIG.

 本実施形態の色分類装置は、図17に示すように筐体1、対象物を結像させるための光学系10、前述した図2に示すような複数枚のバンドパスフィルタ12A、12B、…、12Eで構成される回転色フィルタ12、フィルタ位置センサ123、モーター24、モーター駆動回路124、対象物の画像を取り込むための撮像素子14、増幅器15、撮像素子駆動回路22、A/D変換器16、フレームメモリ18、分類演算回路28、コントロール回路26、筐体1の前部に設けられた参照板151と、撮像素子154、参照板151を撮像素子154に結像させるための光学系152、撮像素子154からの画像信号を増幅器15aを介してディジタルデータに変換するA/D変換器156と、参照板151の画像データから照明光の条件を検出する照明光検出回路137とからなる。 As shown in FIG. 17, the color classification device of this embodiment includes a housing 1, an optical system 10 for imaging an object, and a plurality of bandpass filters 12A, 12B as shown in FIG. , 12E, a rotary color filter 12, a filter position sensor 123, a motor 24, a motor drive circuit 124, an image sensor 14 for capturing an image of an object, an amplifier 15, an image sensor drive circuit 22, an A / D converter 16, a frame memory 18, a classification operation circuit 28, a control circuit 26, a reference plate 151 provided in the front part of the housing 1, an image sensor 154, and an optical system 152 for forming an image of the reference plate 151 on the image sensor 154. An A / D converter 156 for converting an image signal from the image sensor 154 into digital data via an amplifier 15a; Consisting illumination light detection circuit 137 Metropolitan for detecting the matter.

 本実施形態は屋外での測定、すなわち照明光として日光を用いる測定装置に関するものである。 実 施 The present embodiment relates to a measurement device that uses outdoor sunlight, ie, sunlight as illumination light.

 対象物の測定を行う場合、対象物からの反射光は、光学系10、回転色フィルタ12を通って、撮像素子14に結像される。 場合 When measuring an object, the reflected light from the object passes through the optical system 10 and the rotating color filter 12 and forms an image on the image sensor 14.

 コントロール回路26によりモーター駆動回路124に信号が送られ、回転色フィルタ12がモーター24により各バンドパスフィルタの位置が撮像素子の撮像と同期するように回転する。 A signal is sent from the control circuit 26 to the motor drive circuit 124, and the rotary color filter 12 is rotated by the motor 24 so that the position of each bandpass filter is synchronized with the imaging of the image sensor.

 そして、撮像素子14からは対象物からの反射光の各バンドパスフィルタを通過した画像信号が得られ、以下前述した各実施形態と同様に処理される。 {Circle around (2)} An image signal is obtained from the image sensor 14 after passing the reflected light from the object through each band-pass filter, and is processed in the same manner as in the above-described embodiments.

 一方、撮像素子154は撮像素子14に対し、回転色フィルタ12に関して対角の位置に設置されていることにより回転色フィルタ12が1回転すると、撮像素子154からは参照板151からの反射光が各バンドパスフィルタを通過した画像信号が得られる。 On the other hand, the image pickup device 154 is disposed at a diagonal position with respect to the image pickup device 14 with respect to the rotation color filter 12, so that when the rotation color filter 12 makes one rotation, reflected light from the reference plate 151 is emitted from the image pickup device 154. An image signal that has passed through each bandpass filter is obtained.

 このようにして得られる参照板151の画像信号は増幅器15aを介してA/D変換器158によりディジタルデータに変換された後に照明条件検出回路137で照明条件データが検出されてコントロール回路26に送られると共に、この参照板151のデータは分類演算回路28に送られる。 The image signal of the reference plate 151 thus obtained is converted into digital data by the A / D converter 158 via the amplifier 15a, and then the illumination condition detection circuit 137 detects the illumination condition data and sends it to the control circuit 26. At the same time, the data of the reference plate 151 is sent to the classification operation circuit 28.

 なお、参照板151は第6実施形態と同様に図16に示すような構成とすることで、照明条件が詳細に把握できる。 The illumination condition can be grasped in detail by configuring the reference plate 151 as shown in FIG. 16 similarly to the sixth embodiment.

 コントロール回路26では照明条件検出回路137からの明るさのデータから、適正な露光となるように撮像素子14および撮像素子154のシャッタースピードを制御し、照明の方向のデータを分類演算回路28に送る。 The control circuit 26 controls the shutter speeds of the image pickup device 14 and the image pickup device 154 based on the brightness data from the illumination condition detection circuit 137 so as to obtain an appropriate exposure, and sends the data of the illumination direction to the classification calculation circuit 28. .

 フレームメモリ18に記憶された対象物のデータは分類演算回路28に送られ、分類演算回路28の中のメモリに記憶しておいた参照板のデータで光源の補正を行い分類演算される。 The data of the object stored in the frame memory 18 is sent to the classification operation circuit 28, where the data of the reference plate stored in the memory in the classification operation circuit 28 is used to correct the light source to perform the classification operation.

 このように第7実施形態では、筐体1の前部に参照板151を設け、参照板151を専用の光学系152と撮像素子154を用いて各バンドパスフィルタを通過したデータを取り込む構成としたために、参照板の測定と対象物の測定を同時に行うことが可能となり、測定の手間が大幅に簡略化、高速化されると共に、さらに、参照板測定時と対象物測定時とで照明条件が変化するということが無く、補正の信頼性が向上する。 As described above, in the seventh embodiment, the reference plate 151 is provided at the front part of the housing 1, and the reference plate 151 is configured to capture data that has passed through each band-pass filter using the dedicated optical system 152 and the image sensor 154. As a result, the measurement of the reference plate and the measurement of the object can be performed at the same time, which greatly simplifies and speeds up the measurement, and furthermore, the lighting conditions between the reference plate measurement and the object measurement. Does not change, and the reliability of correction is improved.

 また、本実施形態によれば参照板151に第6実施例の棒139と同様の棒を設けることにより、その影の情報から順光、逆光、曇天などの照明条件を検出することが可能となり、これらの照明条件の異なる学習データを用意しておくことにより、照明条件の違いによる測定誤差を極力排除することができる。 Further, according to the present embodiment, by providing the reference plate 151 with a bar similar to the bar 139 of the sixth example, it becomes possible to detect the lighting conditions such as direct light, backlight, and cloudy from the shadow information. By preparing learning data having different lighting conditions, measurement errors due to differences in lighting conditions can be eliminated as much as possible.

 なお、照明の方向などのデータが不要な用途に用いる場合には、参照板151に棒や目盛りを設ける必要が無く、また、撮像素子154の代わりに単純なフォトダイオードやCdSなどを用いれば十分であり、より構成を簡略化できる。 In the case where data such as the direction of illumination is not required, there is no need to provide a bar or a scale on the reference plate 151, and it is sufficient to use a simple photodiode or CdS instead of the image sensor 154. Therefore, the configuration can be further simplified.

 (第8実施形態)                                つぎに、回転色フィルタを用いない第8実施形態を図18乃至図24を参照して説明する。 (Eighth Embodiment) Next, an eighth embodiment that does not use a rotating color filter will be described with reference to FIGS.

 本実施形態の色分類装置は、図18に示すように筐体1、対象物を結像させるための光学系10、対象物が結像する結像面に片方の端面をそろえられたファイバ束161、複数に分割された反対側の端面に結合されたバンドパスフィルタ162a、162b、162c、162d、バンドパスフィルタを通った対象物の画像を取り込むための撮像素子14、増幅器15、撮像素子駆動回路22、A/D変換器16、フレームメモリ18、分類演算回路28、コントロール回路26、筐体上部に設けられた透過式の参照板164と、参照板164に端面をそろえられたファイバ束165、ファイバ束165の反対側の端と撮像素子14の間に設けられたバンドパスフィルタ166a、166b、166c、166dとからなる。 As shown in FIG. 18, the color classification apparatus according to the present embodiment includes a housing 1, an optical system 10 for imaging an object, and a fiber bundle having one end face aligned with an imaging surface on which the object is imaged. 161, a bandpass filter 162a, 162b, 162c, 162d coupled to the opposite end face divided into a plurality of parts, an image sensor 14, an amplifier 15, and an image sensor drive for capturing an image of an object passing through the bandpass filter The circuit 22, the A / D converter 16, the frame memory 18, the classification operation circuit 28, the control circuit 26, a transmissive reference plate 164 provided on the upper part of the housing, and a fiber bundle 165 having the end faces aligned with the reference plate 164 , And band pass filters 166a, 166b, 166c, and 166d provided between the opposite end of the fiber bundle 165 and the image sensor 14.

 本実施形態は撮像素子14の撮像面上を分割し、対象物、光源の両方について、複数のバンドパスフィルタを通過したデータを同時に入力できるようにしたものであり、ここでは、分類に必要なバンドパスフィルタは4種類とする。 In the present embodiment, the image pickup surface of the image pickup device 14 is divided so that data that has passed through a plurality of band-pass filters can be simultaneously input for both the object and the light source. There are four types of bandpass filters.

 ここで、本実施形態に用いるファイバ束161およびファイバ束165と参照板164、バンドパスフィルタ162a〜162d、166a〜166dの構成について図19乃至図22を用いて説明する。 Here, the configurations of the fiber bundle 161, the fiber bundle 165, the reference plate 164, and the band-pass filters 162a to 162d and 166a to 166d used in the present embodiment will be described with reference to FIGS.

 まず、ファイバ束165は、図19に示すように片方の端面をそろえて参照板164に接続されている。 First, the fiber bundle 165 is connected to the reference plate 164 with one end face aligned as shown in FIG.

 つぎに、図20に示すように撮像素子14の撮像面167には、バンドパスフィルタ162a〜162d、166a〜166dが図に示すような配置で取り付けられている。 Next, as shown in FIG. 20, bandpass filters 162a to 162d and 166a to 166d are attached to the imaging surface 167 of the imaging element 14 in an arrangement as shown in FIG.

 このうち、バンドパスフィルタ162aと166a、162bと166b、162cと166c、162dと166dはそれぞれバンドパス特性が同じものである。 う ち Of these, the band-pass filters 162a and 166a, 162b and 166b, 162c and 166c, and 162d and 166d have the same band-pass characteristics.

 また、ファイバ束165の反対側の端はバンドパスフィルタ166a〜166dに取り付けられる。 反 対 The other end of the fiber bundle 165 is attached to bandpass filters 166a to 166d.

 この場合、ファイバ束165の反対側の端はそろえられて平面として光学系10の結像面に置かれるが、この反対側の端は4つに分けられる。 In this case, the opposite ends of the fiber bundle 165 are aligned and placed on the image plane of the optical system 10 as a plane, but the opposite end is divided into four parts.

 図21は結像面のファイバ束165の断面の一部であり、図21において、      丸で囲んだ数字1で示すファイバは、バンドパスフィルタ162aに、        丸で囲んだ数字2で示すファイバは、バンドパスフィルタ162bに、        丸で囲んだ数字3で示すファイバは、バンドパスフィルタ162cに、        丸で囲んだ数字4で示すファイバは、バンドパスフィルタ162dに、       それぞれ行くようにファイバ束161を4つに分割して束ね直す。 FIG. 21 shows a part of the cross section of the fiber bundle 165 on the image forming plane. In FIG. 21, the fiber indicated by the numeral 1 surrounded by a circle is connected to the bandpass filter 162a, and the fiber indicated by the numeral 2 surrounded by a circle is: In the band-pass filter 162b, the fiber indicated by the numeral 3 encircled by {circle around (4)} is connected to the band-pass filter 162c, and the fiber indicated by the numeral 4 encircled by {circle around (4)} to the band-pass filter 162d. Divide and bundle.

 したがって、ファイバ束165の反対側の端は、分割した1つずつの結像面の縮小画面となり、各バンドパスフィルタを通って撮像素子14に入力される。 Therefore, the opposite end of the fiber bundle 165 becomes a reduced screen of each divided image plane, and is input to the image sensor 14 through each band-pass filter.

 これにより、図19に示したように結像された対象物160は図22に示すような画像信号として観測される。 Thereby, the object 160 imaged as shown in FIG. 19 is observed as an image signal as shown in FIG.

 この画像信号は増幅器15を介してA/D変換器16でディジタル化した後にフレームメモリ18に書き込まれ、参照板164からバンドパスフィルタ166a〜166dを通った部分からの補正のための照明のデータと、各バンドパスフィルタ166a〜166d毎に対象物の所定の領域のデータが分類演算回路28へ送られる。 This image signal is digitized by an A / D converter 16 through an amplifier 15 and then written into a frame memory 18. Illumination data for correction from a portion passing through a band-pass filter 166 a to 166 d from a reference plate 164. Then, data of a predetermined area of the object is sent to the classification operation circuit 28 for each of the band-pass filters 166a to 166d.

 分類演算回路28では、対象物のデータを前記照明のデータで補正後、分類演算を行い結果を出力する。 The classification operation circuit 28 corrects the data of the object with the illumination data, performs a classification operation, and outputs the result.

 このように第8実施形態によれば撮像素子14の撮像面を分割し、複数のバンドパスフィルタに対応する対象物のデータを同時に結像させ、さらに照明のデータも同時に同一フレームにて撮像する構成としたことにより、測定時間が大幅に短縮される。 As described above, according to the eighth embodiment, the imaging surface of the imaging element 14 is divided, data of an object corresponding to a plurality of bandpass filters is simultaneously formed, and illumination data is simultaneously captured in the same frame. With this configuration, the measurement time is significantly reduced.

 なお、図18は屋外での測定用の例であるため、透過式の参照板164が太陽光を捉えるように筐体1の上部に固定されているが、図23に示すようにファイバ束165を長くして参照板164を筐体1の外部に引きだし、対象物の隣に配置することができるような構成とすることにより、室内での測定にも用いることができる。 Since FIG. 18 is an example for outdoor measurement, the transmission type reference plate 164 is fixed to the upper part of the housing 1 so as to catch sunlight, but as shown in FIG. , The reference plate 164 can be drawn out of the housing 1 and arranged next to the object, so that it can be used for indoor measurement.

 さらに、照明データ取得用の先端に参照板164の取り付けられたファイバ束165は、図24に示すように光学コネクタ169を用いて筐体1から取り外せるような構成とすることで持ち運びが容易になる。 Further, the fiber bundle 165 in which the reference plate 164 is attached to the tip for acquiring illumination data is configured to be detachable from the housing 1 using the optical connector 169 as shown in FIG. .

 本実施形態では、バンドパスフィルタの枚数を4枚としたが、これに限らず最適な枚数のバンドパスフィルタを持つ構成としてもよいことはいうまでもない。 In the present embodiment, the number of bandpass filters is four, but the number of bandpass filters is not limited to four, and it goes without saying that the number of bandpass filters may be an optimum number.

 (第9実施形態)                                つぎに、回転色フィルタを用いない第9実施形態を図25乃至図29を参照して説明する。 {Ninth Embodiment} Next, a ninth embodiment that does not use a rotating color filter will be described with reference to FIGS.

 本実施形態の色分類装置は、図25に示すように筐体1、対象物を結像させるための光学系10、光路分割プリズム170a、光路分割プリズム170aから出る2分割された光がそれぞれに入射する光路分割プリズム170b、170cと、光路分割プリズム170b、170cにより分割され出力される光が結像する撮像素子14、増幅器15、光路分割プリズム170b、170cと撮像素子14の間にあり、分割された光のそれぞれが異なるバンドパスフィルタを透過した後に撮像素子14に達するように配置されたバンドパスフィルタ162a〜162d、撮像素子駆動回路22、A/D変換器16、フレームメモリ18、分類演算回路28、コントロール回路26、筐体上部に設けられた光源分光センサ180とからなる。 As shown in FIG. 25, the color classification device according to the present embodiment includes a housing 1, an optical system 10 for forming an image of an object, an optical path splitting prism 170a, and two split lights emitted from the optical path splitting prism 170a. The incident light path splitting prisms 170b and 170c and the image pickup element 14, the amplifier 15, and the light path splitting prisms 170b and 170c between the image pickup element 14 where the light split and output by the light path splitting prisms 170b and 170c form an image. Bandpass filters 162a to 162d arranged so that each of the divided lights reaches the image sensor 14 after passing through different bandpass filters, the image sensor drive circuit 22, the A / D converter 16, the frame memory 18, the classification operation It comprises a circuit 28, a control circuit 26, and a light source spectral sensor 180 provided on the upper part of the housing.

 本実施形態は撮像素子14の撮像面上を分割し、対象物について、複数のバンドパスフィルタを通過した像を同時に入力できるようにしたものであり、ここでは、分類に必要なバンドパスフィルタは4種類とする。 In the present embodiment, the image pickup surface of the image sensor 14 is divided so that an image of an object that has passed through a plurality of band-pass filters can be input at the same time. Here, the band-pass filters required for classification are as follows. There are four types.

 まず、本実施形態に用いる光路分割プリズム170a〜170cおよびこれら光路分割プリズム170a〜170cとバンドパスフィルタ162a〜162d、撮像素子14の構成について説明する。 First, the configuration of the optical path splitting prisms 170a to 170c used in the present embodiment, and the configurations of the optical path splitting prisms 170a to 170c, the band pass filters 162a to 162d, and the image sensor 14 will be described.

 図26に光路分割プリズム170a〜170cのうちの一つのプリズムの構成を示すが、図26では光路を一点鎖線、ハーフミラーを破線、鏡を太線で示してある。 FIG. 26 shows the configuration of one of the optical path splitting prisms 170a to 170c. In FIG. 26, the optical path is shown by a dashed line, the half mirror is shown by a broken line, and the mirror is shown by a thick line.

 図26において左側から入射した光はハーフミラー171を50%ずつ2方向に分割され、ハーフミラー171を透過した光は鏡162、163、164、165でそれぞれ反射され、図26の右側に出力される。 26, the light incident from the left side in FIG. 26 is split into the half mirror 171 by 50% in two directions, and the light transmitted through the half mirror 171 is reflected by mirrors 162, 163, 164, and 165, respectively, and output to the right side in FIG. You.

 一方、ハーフミラー171で反射された光は、鏡176、177、178で反射され、図26の右側に出てくる。 On the other hand, the light reflected by the half mirror 171 is reflected by the mirrors 176, 177, and 178, and emerges on the right side in FIG.

 つまり、この光路分割プリズムに入射した光は2分割され、2分割された光は光軸がシフトしてプリズムの出口から並んで出力される。 That is, the light incident on the optical path splitting prism is split into two, and the split light is shifted in optical axis and output side by side from the exit of the prism.

 この光路分割プリズムを170a〜170cとして3個用意し、これらと撮像素子14を図27に示すように組み付ける。 3Three optical path splitting prisms 170a to 170c are prepared, and these and the image pickup device 14 are assembled as shown in FIG.

 この場合、光路分割プリズム170aの2つの出力がそれぞれ光路分割プリズム170b、170cに入射するように構成することにより、光路分割プリズム170aに入射した光は光路分割プリズム170b、170cを経て最終的には4分割され、2行2列に並んで出力される。 In this case, by configuring the two outputs of the optical path splitting prism 170a to be incident on the optical path splitting prisms 170b and 170c, the light incident on the optical path splitting prism 170a finally passes through the optical path splitting prisms 170b and 170c. It is divided into four parts and output in two rows and two columns.

 また、撮像素子14には測定に必要な、特性の異なる4枚のバンドパスフィルタ162a〜162dが図28に示すように取り付けられており、それぞれが光路分割プリズム170a〜170cで4つに分割された画像に対応する。 Further, four bandpass filters 162a to 162d having different characteristics required for measurement are attached to the image sensor 14 as shown in FIG. 28, and each is divided into four by optical path dividing prisms 170a to 170c. Corresponding to the image.

 以上のような構成とすることで、対象物からの反射光は4分割され、それぞれ異なるバンドパスフィルタを通して撮像素子14に同時に結像される。 With the above configuration, the reflected light from the object is divided into four parts and simultaneously imaged on the image sensor 14 through different bandpass filters.

 そして、この撮像素子14から出力される画像信号は、増幅器15を介してA/D変換器16でディジタル化してフレームメモリ18に蓄積された後、各バンドパスフィルタ毎に対象物の所定の領域のデータがフレームメモリ18から読み出されて、分類演算回路28へ送られる。 The image signal output from the image pickup device 14 is digitized by an A / D converter 16 via an amplifier 15 and stored in a frame memory 18. Is read from the frame memory 18 and sent to the classification operation circuit 28.

 一方、光源分光センサ180からのデータも同時に分類演算回路28へ送られる。 On the other hand, the data from the light source spectral sensor 180 is also sent to the classification operation circuit 28 at the same time.

 ここで、光源分光センサ180の構成は図29に示すように、一番外側に配置された透過率可変フィルタ181と、その内側に配置された複数のバンドパスフィルタ182a〜182d、この複数のバンドパスフィルタ182a〜182dに対応させた複数の光センサ183a〜183dと、この複数の光センサ183a〜183dからの信号を入力とする透過率制御回路184と、透過率制御回路184からの信号および複数の光センサ183a〜183dからの信号とを入力とする照明条件検出回路185とからなる。 Here, as shown in FIG. 29, the configuration of the light source spectral sensor 180 includes a transmittance variable filter 181 disposed on the outermost side, a plurality of bandpass filters 182a to 182d disposed on the inner side thereof, A plurality of optical sensors 183a to 183d corresponding to the pass filters 182a to 182d; a transmittance control circuit 184 to which signals from the plurality of optical sensors 183a to 183d are input; a signal from the transmittance control circuit 184; And a signal from the optical sensors 183a to 183d.

 複数のバンドパスフィルタ182a〜182dは対象物を分類するためのバンドパスフィルタ162a〜162dと同じものが用いられる。 The plurality of bandpass filters 182a to 182d are the same as the bandpass filters 162a to 162d for classifying an object.

 光センサ183a〜183dは、フォトダイオードやフォトトランジスタ、CdSなどを、透過率可変フィルタ181には液晶フィルタなどを用いることができる。 (4) The optical sensors 183a to 183d can use photodiodes, phototransistors, CdS, and the like, and the transmittance variable filters 181 can use liquid crystal filters and the like.

 透過率制御回路184は各光センサが飽和しないように、透過率可変フィルタ181の透過率を制御する。 (4) The transmittance control circuit 184 controls the transmittance of the transmittance variable filter 181 so that each optical sensor is not saturated.

 照明条件検出回路185は各光センサからの光源の分光データを、透過率制御回路の出力から光源の明るさを検出し出力する。 The illumination condition detecting circuit 185 detects the brightness of the light source from the output of the transmittance control circuit and outputs the spectral data of the light source from each optical sensor.

 先にも述べたように、光源分光センサ180で得られたデータが入力される分類演算回路28では、フレームメモリ18から読み出された対象物のデータを、光源分光センサ180で得られた照明のデータで補正し、分類演算を行う。 As described above, in the classification operation circuit 28 to which the data obtained by the light source spectral sensor 180 is input, the data of the object read from the frame memory 18 is converted into the illumination obtained by the light source spectral sensor 180. And then perform a classification operation.

 このような第9実施形態によれば撮像素子14の撮像面を分割し、複数のバンドパスフィルタに対応する対象物のデータを同時に結像させる構成としたことにより、測定時間が大幅に短縮されると共に、さらに、機械的な可動部が無いために動作が安定で耐久性が向上する。 According to the ninth embodiment, the imaging surface of the image sensor 14 is divided and the data of the object corresponding to the plurality of bandpass filters is formed simultaneously, thereby greatly reducing the measurement time. In addition, since there is no mechanical movable part, the operation is stable and the durability is improved.

 なお、図25は屋外での測定用の例であるため、光源分光センサが太陽光を捉えるように筐体上部に固定されているが、センサ自体を筐体に固定せず、ケーブルで接続し、対象物の隣に配置することができるような構成とすることにより、室内での測定にも用いることができる。 Since FIG. 25 is an example for measurement outdoors, the light source spectroscopic sensor is fixed to the upper part of the housing so as to catch sunlight, but the sensor itself is not fixed to the housing but connected by a cable. With such a configuration that it can be arranged next to the object, it can be used for indoor measurement.

 もちろん光源分光センサのケーブルがコネクタを用いて筐体から取り外せるような構成とすることで持ち運びも容易になる。 Of course, the configuration is such that the cable of the light source spectroscopic sensor can be detached from the housing using a connector, making it easier to carry.

 また、本実施形態ではバンドパスフィルタの枚数を4枚としたが、さらに多数のフィルタを用いる構成としてもよいし、さらに枚数を減らした構成としてもよいことはいうまでもない。 Also, in the present embodiment, the number of bandpass filters is four, but it is needless to say that the number of bandpass filters may be increased or the number of bandpass filters may be reduced.

 (第10実施形態)                               つぎに、回転色フィルタを用いない第10実施形態を図30を参照して説明する。 << (Tenth Embodiment) >> Next, a tenth embodiment not using a rotating color filter will be described with reference to FIG.

 本実施形態の色分類装置は、図30に示すように筐体1、対象物を結像させるための光学系10、帯域可変バンドパスフィルタ190と、撮像素子(CCD)14、増幅器15、CCD駆動回路22、A/D変換器16、フレームメモリ18、分類演算回路28、コントロール回路26とから構成される。 As shown in FIG. 30, the color classification apparatus according to the present embodiment includes a housing 1, an optical system 10 for imaging an object, a band-variable bandpass filter 190, an image sensor (CCD) 14, an amplifier 15, and a CCD. It comprises a drive circuit 22, an A / D converter 16, a frame memory 18, a classification operation circuit 28, and a control circuit 26.

 本実施形態に用いる帯域可変バンドパスフィルタ190は、通過帯域の周波数を外部からの信号で制御できるものである。 帯 域 The band variable band-pass filter 190 used in the present embodiment is capable of controlling the frequency of the pass band with an external signal.

 光学系10を通った対象物の画像は、帯域可変バンドパスフィルタ190を透過してCCD14に結像される。 画像 The image of the object passing through the optical system 10 is transmitted through the band variable bandpass filter 190 and formed on the CCD 14.

 このCCD14から出力される画像信号は、増幅器15を介してA/D変換器16でディジタル化してフレームメモリ18に蓄積された後、各バンドパスフィルタ毎に対象物の所定の領域のデータがフィルムメモリ18から読み出されて、分類演算回路28へ送られる。 The image signal output from the CCD 14 is digitized by an A / D converter 16 via an amplifier 15 and stored in a frame memory 18. Then, data of a predetermined area of the object is stored in a film for each bandpass filter. The data is read from the memory 18 and sent to the classification operation circuit 28.

 コントロール回路26は、帯域可変バンドパスフィルタ190の通過帯域を所定の値に設定し、CCD14で撮像されたデータをフレームメモリ18に書き込むようにCCD駆動回路22、フレームメモリ18に制御信号を送る。 The control circuit 26 sets the pass band of the band variable band-pass filter 190 to a predetermined value, and sends a control signal to the CCD drive circuit 22 and the frame memory 18 so as to write data captured by the CCD 14 to the frame memory 18.

 この動作を所定のバンド数にわたって行い、分類演算回路28では対象物のデータを、予めもしくは同時に測定した参照板のデータで補正し、分類演算を行う。 動作 This operation is performed over a predetermined number of bands, and the classification operation circuit 28 corrects the data of the object with the data of the reference plate measured in advance or simultaneously, and performs the classification operation.

 このような第10実施形態によれば、複数のバンドパスフィルタの代りに帯域可変バンドパスフィルタ190を用い、通過帯域を制御して対象物のデータを取り込む構成としたことにより、複雑な形の分類スペクトルに対しても高精度な近似が可能となると共に、機械的な可働部が無いために動作が安定で耐久性が向上する。 According to the tenth embodiment, a variable band-pass filter 190 is used instead of a plurality of band-pass filters, and the pass band is controlled to take in data of an object. A high-precision approximation is also possible for the classification spectrum, and the operation is stable and the durability is improved because there is no mechanical movable part.

 さらに、本実施形態ではバンドパスフィルタの数や帯域の設定に自由度が大きくて汎用性が高いので、特定の用途に限定する場合でもコントロール回路26の制御ソフトウェアを変更するだけで最適化することが可能となる。 Furthermore, in the present embodiment, the degree of freedom in setting the number and band of the bandpass filters is large and the versatility is high. Therefore, even when limiting to a specific application, the optimization can be performed only by changing the control software of the control circuit 26. Becomes possible.

 なお、本実施形態では所定のバンドごとに画像データを読み出していたが、学習モードで分類スペクトルを求めた後の分類モードでは、CCD14の露光時間中に帯域可変バンドパスフィルタ190の帯域特性を制御し、分類スペクトルの特性を近似するようにしてもよい。 In this embodiment, the image data is read for each predetermined band. However, in the classification mode after the classification spectrum is obtained in the learning mode, the band characteristic of the band variable band-pass filter 190 is controlled during the exposure time of the CCD 14. Alternatively, the characteristics of the classified spectrum may be approximated.

 つまり、露光時間中に帯域可変バンドパスフィルタ190の帯域を設定し、ある時間それを保持した後、次の帯域に設定したら、またある時間それを保持するということをくりかえし行う。 In other words, the band of the band variable bandpass filter 190 is set during the exposure time, and after holding it for a certain period of time, once it is set to the next band, it is held for another period of time.

 そして、このとき、帯域可変バンドパスフィルタ190の帯域設定後の保持時間は、近似すべき分類スペクトルの各バンドの値に比例するように制御される(分類スペクトルの値が負になる帯域は、負になる帯域だけまとめて露光を行い、フレームメモリ上で減算すればよい)。 At this time, the holding time after the band setting of the band variable band-pass filter 190 is controlled so as to be proportional to the value of each band of the classified spectrum to be approximated (the band where the value of the classified spectrum is negative is: Exposure is performed collectively for only the negative bands, and subtraction is performed on the frame memory).

 このように動作させれば、分類スペクトルと内積演算を行ったのと同じことになり、露光時間中に蓄積される電荷の量で分類判定が行える。 動作 Operating in this way is the same as performing the inner product operation with the classification spectrum, and the classification can be determined based on the amount of charge accumulated during the exposure time.

 (第11実施形態)                               つぎに、以上のような各実施形態において多クラスの分類演算を行うための分類演算回路を用いる第11実施形態について図31を参照して説明する。 << (Eleventh Embodiment) >> Next, an eleventh embodiment using a classification operation circuit for performing a multi-class classification operation in each of the above embodiments will be described with reference to FIG.

 多クラスの分類演算を行う際に、たとえばクラス1〜4の4クラスの分類の場合、クラス1とクラス4のデータで算出された分類スペクトルのなす空間にクラス2、3を投影すると、クラス1とクラス2とか、クラス3とクラス4といったクラス間の境界がはっきりしないことがあり、分類精度が落ちることがある。 When performing a multi-class classification operation, for example, in the case of classification of four classes of classes 1 to 4, when the classes 2 and 3 are projected onto the space formed by the classification spectra calculated from the data of class 1 and class 4, the class 1 In some cases, the boundary between classes such as, class 2 or class 3 and class 4 is not clear, and the classification accuracy may be reduced.

 本実施形態はこのような場合にも分類精度を落さず、有効に分類を行うことができるものである。 In the present embodiment, even in such a case, classification can be performed effectively without lowering the classification accuracy.

 本実施形態の分類演算回路28は図31(A)に示すように、輝度成分抽出部30、分類演算部32、分類判定部34とから構成される。 The classification operation circuit 28 of the present embodiment includes a luminance component extraction unit 30, a classification operation unit 32, and a classification determination unit 34, as shown in FIG.

 本実施形態に用いる分類演算部32の構成を図31(B)を参照して説明する。 構成 The configuration of the classification operation unit 32 used in the present embodiment will be described with reference to FIG.

 本実施形態の分類演算部32は、図31(B)に示すように分類スペクトルを記憶するd1メモリ200とd2メモリ201、d1メモリ200とd2メモリ201の出力を切り替える切替器202と、分類スペクトルと未知の対象物からのスペクトルデータの積を取る乗算器203と、加算器204とメモリ205とからなる累積加算器206と、分類スペクトルを記憶するd1メモリ210とd2メモリ211、d1メモリ213とd2メモリ214、d1メモリ216とd2メモリ217、d1メモリ210とd2メモリ211の出力を切り替える切替器212と、d1メモリ213とd2メモリ214の出力を切り替える切替器215と、d1メモリ216とd2メモリ217の出力を切り替える切替器218と、累積加算器206からの信号により3種類の分類スペクトルのひとつを選択する分類スペクトル選択回路207と、選択された分類スペクトルと未知の対象物からのスペクトルデータの積を取る乗算器223と、加算器224とメモリ225とからなる累積加算器226とから構成される。 As shown in FIG. 31B, the classification operation unit 32 of the present embodiment includes a switch 202 for switching the output of the d1 memory 200 and the d2 memory 201, and the d1 memory 200 and the d2 memory 201 for storing the classification spectrum; , A multiplier 203 for taking the product of the spectrum data from the unknown object, an accumulator 206 comprising an adder 204 and a memory 205, a d1 memory 210, a d2 memory 211, and a d1 memory 213 for storing the classified spectrum. d2 memory 214, switch 212 for switching the output of d1 memory 216 and d2 memory 217, output of d1 memory 210 and d2 memory 211, switch 215 for switching the output of d1 memory 213 and d2 memory 214, d1 memory 216 and d2 memory A switch 218 for switching the output of the accumulator 217; A classification spectrum selection circuit 207 for selecting one of the three types of classification spectra based on the signal from the input unit, a multiplier 223 for multiplying the selected classification spectrum by the spectrum data from the unknown object, an adder 224, and a memory 225. And an accumulator 226 comprising:

 つぎに、本実施形態の分類演算部32の動作について説明するが、ここでは分類するクラス数はクラス1〜4の4クラスとする。 Next, the operation of the classification operation unit 32 according to the present embodiment will be described. Here, the number of classes to be classified is four (1 to 4).

 この4クラスは多次元空間で、概ね番号順に分布しているものとし、d1メモリ200とd2メモリ201にはクラス1とクラス4の学習データから算出された分類スペクトルd11-4 とd21-4 とをそれぞれ記憶させておく。 These four classes are assumed to be distributed in the order of numbers in a multidimensional space, and the d1 memory 200 and the d2 memory 201 store the classification spectra d1 1-4 and d2 1− calculated from the learning data of the classes 1 and 4 respectively. 4 and are respectively stored.

 また、d1メモリ210とd2メモリ211にはクラス1とクラス2の学習データから算出された分類スペクトルd11-2 とd21-2 を、d1メモリ213とd2メモリ214にはクラス2とクラス3の学習データから算出された分類スペクトルd12-3 とd22-3 を、d1メモリ216とd2メモリ217にはクラス3とクラス4の学習データから算出された分類スペクトルd13-4 とd23-4 を、それぞれ記憶させておく。 Also, d1 memory 210 and d2 class 1 and class classification spectrum d1 1-2 calculated from the learning data 2 in the memory 211 and d2 1-2, d1 memory 213 and d2 in the memory 214 Class 2 and Class 3 classification spectrum d1 2-3 calculated from learning data with the d2 2-3, d1 memory 216 and d2 in the memory 217 class 3 and class classification spectrum d1 3-4 calculated from learning data 4 and d2 3 -4 are stored.

 輝度成分抽出部30からの対象物の未知データは、分類演算部32において、乗算器203でd1メモリ200からの分類スペクトルd11-4 と各成分(次元)についての積が求められる。 For the unknown data of the object from the luminance component extraction unit 30, the product of the classification spectrum d1 1-4 from the d1 memory 200 and each component (dimension) is obtained by the multiplier 203 in the classification calculation unit 32.

 各成分の積は累積加算器206で足し合わされ、分類スペクトル選択回路207に入力される。 積 The products of the components are added up by the accumulator 206 and input to the classification spectrum selection circuit 207.

 この累積加算器206の出力は、結果として未知データと分類スペクトルとの内積値となる。 出力 The output of the accumulator 206 is the inner product of the unknown data and the classification spectrum as a result.

 つぎに、切替器202を切り替えて、d2についても同様に内積値を算出し分類スペクトル選択回路207に送る。 Next, the switch 202 is switched to calculate the inner product value for d2 in the same manner and send it to the classification spectrum selection circuit 207.

 分類スペクトル選択回路207は図31(C)に示すように、分類判定回路230とセレクタ231とで構成され、累積加算器206からの内積値が入力されると分類判定回路230にて概略の分類判定が行われる。 The classification spectrum selection circuit 207 is composed of a classification judgment circuit 230 and a selector 231 as shown in FIG. 31C, and when the inner product value is input from the accumulator 206, the classification judgment circuit 230 roughly classifies the classification. A determination is made.

 ここでは、未知データは、クラス1とクラス4のデータより算出された分類スペクトルd11-4 とd21-4 のなす空間に射影され、決められた分類境界によりクラスが決定される。 Here, the unknown data is projected onto the space formed by the classification spectra d1 1-4 and d2 1-4 calculated from the data of class 1 and class 4, and the class is determined by the determined classification boundary.

 ここでは、「クラス2からクラス1寄り」、「クラス2からクラス3の間」、「クラス3からクラス4寄り」というような3つの新しいクラスに分類するように境界が定められている。 Here, the boundaries are determined so as to be classified into three new classes, such as "from class 2 to class 1", "from class 2 to class 3", and "from class 3 to class 4".

 分類判定回路230の出力である分類スペクトル選択信号が「クラス2からクラス1寄り」であった場合には、セレクタ231は切替器212からの入力を分類スペクトルとして出力する。 If the classification spectrum selection signal output from the classification determination circuit 230 is “from class 2 to class 1”, the selector 231 outputs the input from the switch 212 as a classification spectrum.

 これにより、分類スペクトルd11-2 とd21-2 が選択され、乗算器223と累積加算器226とで未知データとの内積演算が行われ、内積値は分類スペクトル選択回路207からの分類スペクトル選択信号とともに分類判定部34に送られ、最終的なクラスが決定される。 As a result, the classified spectrums d1 1-2 and d2 1-2 are selected, the inner product operation of the unknown data is performed by the multiplier 223 and the accumulator 226, and the inner product value is obtained by the classification spectrum from the classification spectrum selection circuit 207. The final class is sent to the classification judging unit 34 together with the selection signal.

 分類判定回路230の出力である分類スペクトル選択信号が「クラス2からクラス3の間」であった場合には、セレクタ231は切替器215からの入力を分類スペクトルとして出力し、「クラス3からクラス4寄り」であった場合には切替器218からの入力を分類スペクトルとして出力する。 When the classification spectrum selection signal output from the classification determination circuit 230 is “between class 2 and class 3”, the selector 231 outputs the input from the switch 215 as the classification spectrum, and outputs “class 3 to class 3”. If it is “close to 4”, the input from the switch 218 is output as a classification spectrum.

 これにより、最適な分類スペクトルが選択され、内積演算が行われる。 Thereby, the optimal classification spectrum is selected, and the inner product calculation is performed.

 なお、本実施形態では1段目の分類スペクトルを、クラス1とクラス4のデータから求めたものを使用しているが、これは分布の両端の2クラスのデータを用いるという意味ではないので、クラス2とクラス3のデータから求めた分類スペクトルを用いてもよい。 In the present embodiment, the first-stage classification spectrum obtained from the data of class 1 and class 4 is used. However, this does not mean that the data of the two classes at both ends of the distribution is used. A classification spectrum obtained from the data of class 2 and class 3 may be used.

 さらに、クラス1とクラス2をひとまとめにした新しいクラス1′、クラス3とクラス4をひとまとめにした新しいクラス4′を定義し、これらのクラスのデータを用いて算出した分類スペクトルを用いてもよい。 Further, a new class 1 'in which classes 1 and 2 are combined and a new class 4' in which classes 3 and 4 are combined may be defined, and a classification spectrum calculated using data of these classes may be used. .

 また、本実施形態では分類判定を2段階で行っているが、分類すべきクラスの数に応じて3段階や、それ以上の多段階で行うようにしても同様の効果が得られることはいうまでもない。 Further, in the present embodiment, the classification is determined in two stages, but the same effect can be obtained by performing the determination in three stages or more stages in accordance with the number of classes to be classified. Not even.

 このような第11実施形態によれば、分類判定を多段階で行う構成としたため、多クラスの分類においても分類精度を落とさずに有効な分類を行うことが可能になる。 According to the eleventh embodiment, since the classification is determined in multiple stages, effective classification can be performed without deteriorating the classification accuracy even in multi-class classification.

 (第12実施形態)                               つぎに、以上のような各実施形態において多クラスの分類演算を行うための分類演算回路を用いる第12実施形態について図32を参照して説明する。 << (Twelfth Embodiment) >> Next, a twelfth embodiment using a classification operation circuit for performing a multi-class classification operation in each of the above embodiments will be described with reference to FIG.

 多クラスの分類を行う際に、たとえばクラス1〜3の3クラスの分類の場合、クラス1とクラス2のデータで算出された分類スペクトルのなす空間にクラス3を投影すると、図32(A)に示すようにクラス2とクラス3とで分布が重なり、クラス間の境界がはっきりしないことがあり、分類精度が落ちることがある。 When performing multi-class classification, for example, in the case of three classes of classes 1 to 3, when class 3 is projected onto the space formed by the classification spectra calculated from the data of class 1 and class 2, FIG. As shown in (2), the distributions of class 2 and class 3 overlap, the boundary between the classes may not be clear, and the classification accuracy may decrease.

 本実施形態はこのような場合にも分類精度を落とさず、有効に分類を行うことができるものである。 In the present embodiment, even in such a case, classification can be performed effectively without lowering the classification accuracy.

 本実施形態の分類演算回路を図32(C)、(D)に示すが、まず輝度成分抽出部30の構成を図32(C)を参照して説明する。 (C) The classification operation circuit of this embodiment is shown in FIGS. 32 (C) and (D). First, the configuration of the luminance component extraction unit 30 will be described with reference to FIG. 32 (C).

 本実施形態の分類演算回路28に用いられる輝度成分抽出部30は、図32(C)に示すようにフレームメモリの画像データから測定領域のデータを切り出す測定領域抽出部36と、測定領域にわたって得られたデータの平均値を求める輝度成分平均化部38と、参照板のデータを記憶する照明データメモリ40Wと、対象物のデータを記録する測定データメモリ40Aと、対象物のデータを参照板のデータで補正する補正回路42と、補正された対象物のデータを記憶する補正データメモリ241、242、243とから構成される。 As shown in FIG. 32C, the luminance component extraction unit 30 used in the classification operation circuit 28 of the present embodiment includes a measurement region extraction unit 36 that cuts out the measurement region data from the image data in the frame memory, and obtains the data over the measurement region. A luminance component averaging unit 38 for obtaining an average value of the obtained data, an illumination data memory 40W for storing data of the reference plate, a measurement data memory 40A for recording data of the target, and a data for the reference plate. It comprises a correction circuit 42 for correcting with data, and correction data memories 241, 242, 243 for storing data of the corrected object.

 つぎに、分類演算部32の構成を図32(D)を参照して説明する。 Next, the configuration of the classification operation unit 32 will be described with reference to FIG.

 本実施形態に用いられる分類演算部32は、図32(D)示すようにコントロール回路26で制御される切替器251と、切替器251の一方の出力に接続されたクラス選択回路252、切替器251のおなじ出力に接続された分類スペクトル演算部253と、分類スペクトル算出部253で算出された分類スペクトルを記憶する二つのd1メモリ254、255と、二つのd1メモリ254と255をコントロール回路26からの信号で切り替える切替器256と、その出力データと前記切替器251の他方の出力との内積をとる内積演算回路257とから構成される。 The classification operation unit 32 used in this embodiment includes a switch 251 controlled by the control circuit 26 as shown in FIG. 32D, a class selection circuit 252 connected to one output of the switch 251, and a switch 251. The classification circuit calculator 253 connected to the same output of 251, two d1 memories 254 and 255 for storing the classification spectrum calculated by the classification spectrum calculation unit 253, and two d1 memories 254 and 255 from the control circuit 26. And a scalar product operation circuit 257 for calculating the scalar product of the output data and the other output of the sWitcher 251.

 続いて、本実施形態の輝度成分抽出部30および分類演算部32の動作について学習モード、分類モードに分けて説明する。 Next, the operations of the luminance component extraction unit 30 and the classification calculation unit 32 according to the present embodiment will be described separately for the learning mode and the classification mode.

 学習モードにおいては、既知の対象物のデータを測定するものであるが、対象物の測定に先立って(もしくは同時に)参照板の測定が行われ、測定された参照板のデータは画像データとして前述したようなフレームメモリ18に記憶される。 In the learning mode, the data of a known target is measured. However, the measurement of the reference plate is performed before (or simultaneously with) the measurement of the target, and the measured data of the reference plate is described as image data. This is stored in the frame memory 18 as described above.

 このフレームメモリ18から測定領域のデータが測定領域抽出部36にて読み出され、輝度成分平均化部38で測定領域全体にわたって平均値が計算された後、照明データメモリ40Wに記憶される。 The data of the measurement area is read from the frame memory 18 by the measurement area extraction unit 36, the average value is calculated over the entire measurement area by the luminance component averaging unit 38, and then stored in the illumination data memory 40W.

 既知の対象物のデータも同様に測定領域のデータが測定領域抽出部36にて読み出され、輝度成分平均化部38で測定領域全体にわたって平均値が計算された後、測定データメモリ40Aに記憶される。 Similarly, the data of the known object is also read out of the measurement area by the measurement area extraction unit 36, the average value is calculated over the entire measurement area by the luminance component averaging unit 38, and then stored in the measurement data memory 40A. Is done.

 補正回路42では、測定データメモリ40Aのデータを照明データメモリ40Wのデータを用いて補正し、該当する各クラスの補正データメモリ241,242,243に書き込まれる。 The correction circuit 42 corrects the data in the measurement data memory 40A using the data in the illumination data memory 40W, and writes the data in the correction data memories 241, 242, and 243 of the respective classes.

 既知のデータは各クラスごとに所定のサンプル数(Nとする)回測定され、各補正データメモリ241〜243に補正済み学習データとして記憶される。 The known data is measured a predetermined number of samples (N) for each class and stored in each of the correction data memories 241 to 243 as corrected learning data.

 学習モードにおいて分類演算部32は、コントロール回路26により切替器251がbの側に設定される。 In the learning mode, in the classification operation unit 32, the switch 251 is set to the side b by the control circuit 26.

 コントロール回路26からの信号で輝度成分抽出部30の補正データメモリ241、242、243から順にデータが読み出され、クラス選択回路252において各クラスの平均スペクトルおよび各クラス間の差スペクトルとそのノルムが算出される。 Data is sequentially read from the correction data memories 241, 242, and 243 of the luminance component extraction unit 30 by the signal from the control circuit 26, and the average spectrum of each class, the difference spectrum between the classes, and the norm thereof are calculated in the class selection circuit 252. Is calculated.

 クラス選択回路252では差スペクトルのノルムの最大のクラスの組み合せ(ここではクラス1とクラス3とする)をコントロール回路26に知らせる。 The class selection circuit 252 informs the control circuit 26 of the maximum class combination of the norm of the difference spectrum (here, class 1 and class 3).

 コントロール回路26からは補正データメモリ241、243に信号が送られ、順次データが読み出され、切替器251を経て分類スペクトル算出部253へ送られる。 Signals are sent from the control circuit 26 to the correction data memories 241 and 243, and the data is sequentially read out and sent to the classification spectrum calculation unit 253 via the switch 251.

 分類スペクトル算出部253ではFS変換を用いて分類スペクトルを算出しd1メモリ254に書き込む。 The classification spectrum calculation unit 253 calculates the classification spectrum by using the FS conversion and writes the classification spectrum in the d1 memory 254.

 すなわち、もっとも平均スペクトルのかけ離れたクラス間でのフイッシャレショ(Fisher ratio)が最大になる分類スペクトルを求めてd1メモリ254に書き込む。 That is, a classification spectrum that maximizes the fisher ratio (Fisher ratio) between the most distant classes of the average spectrum is obtained and written to the d1 memory 254.

 つぎに、クラス選択回路252では差スペクトルのノルムの最小のクラスの組み合せ (ここではクラス2とクラス3とする)をコントロール回路26に知らせる。 Next, the class selection circuit 252 informs the control circuit 26 of the combination of the minimum classes of the norms of the difference spectrum (here, classes 2 and 3).

 コントロール回路26からは補正データメモリ242、243に信号が送られ、順次データが読み出され、切替器251を経て分類スペクトル算出部253へ送られる。 Signals are sent from the control circuit 26 to the correction data memories 242 and 243, data is sequentially read out, and sent to the classification spectrum calculation unit 253 via the switch 251.

 分類スペクトル算出部253ではFS変換を用いて分類スペクトルを算出しd1メモリ255に書き込む。 The classification spectrum calculation unit 253 calculates the classification spectrum by using the FS conversion and writes the classification spectrum into the d1 memory 255.

 すなわち、もっとも平均スペクトルの近いクラス間でのフイッシャレショ(Fisher ratio)が最大になる分類スペクトルを求めてd1メモリ255に書き込む。 That is, a classification spectrum in which the fisher ratio (Fisher ratio) between classes having the closest average spectrum is maximized is obtained and written to the d1 memory 255.

 つぎに、切替器251をa側に設定し、内積演算回路257にて各クラスのデータと分類スペクトルd11-3 およびd12-3 との内積値をとり分類判定部34に送る。 Next, the switch 251 is set to the a side, and the inner product calculation circuit 257 takes the inner product value between the data of each class and the classification spectra d1 1-3 and d1 2-3 and sends it to the classification determination unit 34.

 分類判定部34では各クラスのデータの分布を求め、各クラスの境界を設定する。 The classification determination unit 34 obtains the distribution of the data of each class and sets the boundaries of each class.

 すなわち、分類スペクトルd11-3 とd12-3 のなす空間に各クラスのデータを投影し図32(B)のように境界を設定する。 That is, the data of each class is projected on the space formed by the classification spectra d1 1-3 and d1 2-3 , and a boundary is set as shown in FIG.

 ここまでが学習モードである。 学習 This is the learning mode.

 つぎに分類モードでの各部の動作を説明する。 Next, the operation of each unit in the classification mode will be described.

 分類モードにおいても参照板の測定が行われ、輝度成分抽出部30においては学習モードと同様に照明データメモリ40Wに記憶される。 参照 The reference plate is also measured in the classification mode, and is stored in the illumination data memory 40W in the luminance component extraction unit 30 as in the learning mode.

 一方、未知の対物のデータも学習モードと同様測定領域内を平均化されて測定データメモリに記憶され、補正回路42にて照明データメモリ40Wに記憶されている参照板のデータで補正され、補正データメモリ241に記憶される。 On the other hand, the unknown object data is also averaged in the measurement area as in the learning mode and stored in the measurement data memory, and corrected by the reference plate data stored in the illumination data memory 40W by the correction circuit 42. It is stored in the data memory 241.

 分類演算部32では、切替器251はa側に設定され、輝度成分抽出部30の補正データメモリ241から未知データが内積演算回路257に送られる。 In the 演算 classification operation unit 32, the switch 251 is set to the a side, and unknown data is sent from the correction data memory 241 of the luminance component extraction unit 30 to the inner product operation circuit 257.

 これと同時に切替器256はd1メモリ254側に設定される。 と 同時 に At the same time, the switch 256 is set to the d1 memory 254 side.

 したがって、内積演算回路257では分類スペクトルd11-3 と未知データの内積値が算出される。 Accordingly, the inner product value of the inner product calculation circuit 257 classification spectrum d1 1-3 and unknown data are calculated.

 つぎに、切替器256はd1メモリ255側に設定され、内積演算回路257では分類スペクトルd12-3 と未知データの内積値が算出され、d11-3 との内積値とともに分類判定部34に送られ、学習モードで設定した分類境界に従って未知データを分類する。 Next, the switch 256 is set on the d1 memory 255 side, and the inner product calculation circuit 257 calculates the inner product value of the classification spectrum d1 2-3 and the unknown data, and sends the inner product value of d1 1-3 to the classification determining unit 34. Then, the unknown data is classified according to the classification boundary set in the learning mode.

 このような第12実施形態によれば、分類判定に用いる分類境界を、一組のクラスの組み合わせから求める(例えば、クラス1とクラス3から求めたd11-3 とd21-3 )のではなく、複数の組のクラスの組み合わせから求めた分類スペクトル(本実施形態のように、クラス1とクラス3から求めたd11-3 と、クラス2とクラス3から求めたd12-3 )を用いて決定することにより、図32(A)のようにクラス間の分布が境界を越えて重なり合ってしまうということがなく、図32(B)に示すように各クラスの分布が良く分離できる境界を設定することができるため、多クラスの分類において、より精度良く分類を行うことが可能となる。 According to such a twelfth embodiment, the classification boundary used for the classification determination is obtained from a combination of a set of classes (for example, d1 1-3 and d2 1-3 obtained from class 1 and class 3). Instead, the classification spectra (d1 1-3 obtained from classes 1 and 3 and d1 2-3 obtained from classes 2 and 3 as in the present embodiment) obtained from a combination of a plurality of classes are used. By using the determination, the distribution between the classes does not overlap beyond the boundary as shown in FIG. 32A, and the boundary where the distribution of each class can be well separated as shown in FIG. 32B. Can be set, so that classification can be performed with higher accuracy in multi-class classification.

 なお、本実施形態ではクラス間の差スペクトルが最大のものから求めた分類スペクトルと、差スペクトルが最小のものから求めた分類スペクトルを用いたが、差スペクトル最大のものと次に大きいものから求めた分類スペクトルまたは、差スペクトル最小のものと次に小さいものから求めた分類スペクトルを用いるようにしてもよい。 In this embodiment, the classification spectrum obtained from the largest difference spectrum between classes and the classification spectrum obtained from the smallest difference spectrum are used, but the classification spectrum obtained from the largest difference spectrum and the next largest difference spectrum are used. Alternatively, a classified spectrum obtained from the smallest difference spectrum and the next smallest difference spectrum may be used.

 さらには、最初に求めた分類スペクトルd1上に投影した場合のフイッシャレショ(Fisher ratio)の最小のクラスの組み合わせから二つ目の分類スペクトルを求めるようにしてもよい。 Furthermore, a second classification spectrum may be obtained from a combination of the minimum classes of Fisher ratio when projected onto the classification spectrum d1 obtained first.

 また、本実施形態では分類スペクトルを二つ用いたが、分類すべきクラス数が多い場合などにおいては分類スペクトルの数を増やすことにより、さらに分類精度を向上することができる。 Also, in the present embodiment, two classification spectra are used, but when the number of classes to be classified is large, the classification accuracy can be further improved by increasing the number of classification spectra.

 (第13実施形態)                               つぎに、以上のような各実施形態において多クラスの分類演算を行うための分類演算回路を用いる第13実施形態について図33を参照して説明する。 << (Thirteenth Embodiment) >> Next, a thirteenth embodiment using a classification operation circuit for performing a multi-class classification operation in each of the above embodiments will be described with reference to FIG.

 多クラスの分類を行う際に、たとえばクラス1〜3の3クラスの分類の場合、クラス1とクラス2のデータで算出された分類スペクトルのなす空間にクラス3を投影すると、図33(A)に示すようにクラス2の分布が他の2クラスに比べて広がってしまう場合がある。 When performing multi-class classification, for example, in the case of three-class classification of classes 1 to 3, when class 3 is projected onto the space formed by the classification spectra calculated from the data of class 1 and class 2, FIG. As shown in (2), the distribution of class 2 may be wider than the other two classes.

 この場合、クラス間の境界をクラスの分布の中心を結ぶ直線の垂直2等分線とすると図33(A)に示すように、クラス2のサンプルを測定した場合でもクラス1やクラス2と判定されてしまうことがあり、分類精度が落ちることがある。 In this case, if the boundary between the classes is a perpendicular bisector of a straight line connecting the centers of the distributions of the classes, as shown in FIG. 33A, even if a sample of the class 2 is measured, it is determined that the sample is the class 1 or the class 2. May be performed, and the classification accuracy may be reduced.

 本実施形態はこのような場合にも分類精度を落とさず、有効に分類を行うことができるものである。 In the present embodiment, even in such a case, classification can be performed effectively without lowering the classification accuracy.

 本実施形態の分類演算回路を図33(C)に示す。 FIG. 33C shows a classification operation circuit of this embodiment.

 本実施形態の分類演算回路28に用いられる分類判定部34は、分類演算部32からのデータをモード(学習モード、分類モード)によって切り替えるための切替器280、各クラスの平均値および分散値を求める統計量算出部281、求められた統計量から境界を算出する境界算出部282、求められた境界を記憶する境界メモリ64、境界メモリ64のデータと測定された未知データを比較して未知データの分類を行う分類決定部66とから構成される。 The classification determination unit 34 used in the classification calculation circuit 28 of the present embodiment includes a switch 280 for switching the data from the classification calculation unit 32 according to a mode (learning mode, classification mode), and calculates an average value and a variance value of each class. A statistic calculation unit 281 to be obtained, a boundary calculation unit 282 for calculating a boundary from the obtained statistic, a boundary memory 64 for storing the obtained boundary, and unknown data obtained by comparing the data of the boundary memory 64 with the measured unknown data. And a classification determination unit 66 for performing classification of.

 続いて、本実施形態の分類判定部34の動作について学習モード、分類モードに分けて説明する。 Next, the operation of the classification determination unit 34 of the present embodiment will be described separately for the learning mode and the classification mode.

 学習モードにおいては、既知の対象物のデータを測定するものであるが、対象物のデータは輝度成分抽出回路30において、照明に関して補正されたのち、分類演算部32にて分類スペクトルとの内積値が求められ分類判定部34に送られてくる。 In the learning mode, the data of the known object is measured. The data of the object is corrected for the illumination in the luminance component extraction circuit 30, and then the inner product value of the object with the classification spectrum is calculated in the classification calculator 32. Is sent to the classification determination unit 34.

 既知のデータの内積値はd1とd2の二次元で、各クラスごとに所定のサンプル数(Nとする)だけ送られてくる。 The inner product value of the known data is two-dimensional of d1 and d2, and a predetermined number of samples (N) is sent for each class.

 分類判定部34では、切替器280がb側に設定され、送られてきた既知のデータの内積値について統計量算出部281にて各クラスごとにN個のサンプルの平均と分散とを求める。 In the classification determination unit 34, the switch 280 is set to the b side, and the statistic calculation unit 281 calculates the average and variance of N samples for each class with respect to the inner product value of the known data sent.

 分類モードにおいては、分類判定部34には未知のデータのd1、d2との内積値が送られてくる。 In the classification mode, the inner product value of unknown data d1 and d2 is sent to the classification determination unit 34.

 分類判定部34では、切替器280がa側に設定され、境界算出部282では図33 (B)に示すように各クラスごとに等分散線を引き、この等分散線の交点を結んだ線を境界として境界メモリ64に書き込む。 In the classification determination unit 34, the switch 280 is set to the a side, and the boundary calculation unit 282 draws an equal dispersion line for each class as shown in FIG. 33 (B), and a line connecting the intersections of the equal dispersion lines. Is written to the boundary memory 64 as a boundary.

 このような第13実施形態によれば、統計量算出部281を用いる構成としたために、分類判定に用いる分類境界を、各クラスの分散値を用いて決定することにより、図33 (A)のようにクラスの分布が境界を越えてしまうということがなく、図33(B)に示すように各クラスの分布が良く分離できる境界を設定することができるため、多クラスの分類において、より精度良く分離を行うことが可能となる。 According to the thirteenth embodiment, since the statistic calculation unit 281 is used, the classification boundary used for the classification determination is determined using the variance value of each class. As shown in FIG. 33 (B), it is possible to set a boundary where the distribution of each class can be separated well without causing the class distribution to exceed the boundary as described above. Separation can be performed well.

 (第14実施形態)                               つぎに、以上のような各実施形態において、光沢のある対象物を測定する際の測定領域を最適に設定する輝度成分抽出部を用いる第14実施形態について図34を参照して説明する。 (Fourteenth Embodiment) Next, in each of the above embodiments, a fourteenth embodiment using a luminance component extraction unit that optimally sets a measurement area when measuring a glossy object is described with reference to FIG. Will be explained.

 光沢のある対象物を測定する際に、その光沢の部分(正反射成分)が測定領域に含まれると、対象物の色が正しく測定できず、分類精度が落ちることがあるが、これに対処する。本実施形態の輝度成分抽出部を図34(A)を参照して説明する。 When measuring a glossy object, if the glossy part (specular reflection component) is included in the measurement area, the color of the object cannot be measured correctly, and the classification accuracy may be reduced. I do. The luminance component extraction unit of the present embodiment will be described with reference to FIG.

 本実施形態の輝度抽出部は、測定領域抽出部36と、輝度成分平均化部38と、画素計数部293と、対象物の測定データを一時的に記憶する測定データメモリ40A、参照板の測定データを記憶する照明データメモリ40Wと、対象物のデータを参照板のデータで補正する補正回路42と、補正された対象物のデータを複数クラス分記憶する補正データメモリ44とからなる。 The luminance extraction unit of the present embodiment includes a measurement region extraction unit 36, a luminance component averaging unit 38, a pixel counting unit 293, a measurement data memory 40A that temporarily stores measurement data of an object, and a measurement of a reference plate. It comprises an illumination data memory 40W for storing data, a correction circuit 42 for correcting the data of the object with the data of the reference plate, and a correction data memory 44 for storing the corrected data of the object for a plurality of classes.

 測定領域抽出部36は、特異領域検出部290と、非測定領域設定部291とから構成されている。 The measurement area extraction unit 36 includes a specific area detection unit 290 and a non-measurement area setting unit 291.

 図34(B)に光沢のある対象物の例を示す。 FIG. 34B shows an example of a glossy object.

 コントロール回路26によりフレームメモリから所定の測定領域300のデータが測定領域抽出部36に読み込まれる。 The data of the predetermined measurement area 300 is read into the measurement area extraction unit 36 from the frame memory by the control circuit 26.

 読み込まれたデータは特異領域検出部290に入り周囲に比して異常に明るい領域(正反射部分301)が検出される。 (4) The read data enters the unique area detection unit 290, and an area that is abnormally bright compared to the surrounding area (specular reflection portion 301) is detected.

 非測定領域設定部291では正反射検出部290で検出された正反射の画素の周囲に所定の画素数の余裕を持たせて測定に用いない範囲(非測定領域302)を設定し、コントロール回路26に送り、測定領域を変更する。 The non-measurement area setting unit 291 sets a range (non-measurement area 302) that is not used for measurement by giving a margin of a predetermined number of pixels around the pixels of the regular reflection detected by the regular reflection detection unit 290, and 26 to change the measurement area.

 なお、測定領域内に正反射がなくなるまで、コントロール回路26からの信号により、後段の輝度成分平均化部38の出力が有効にならないよう制御される。 (4) The signal from the control circuit 26 is controlled by the signal from the control circuit 26 so that the output of the luminance component averaging unit 38 at the subsequent stage is not valid until the specular reflection in the measurement area disappears.

 コントロール回路26では非測定領域設定部291で指示された画素をとばしてもう一度フレームメモリの所定の領域のデータを読み出す。 (4) The control circuit 26 skips the pixels specified by the non-measurement area setting section 291 and reads the data in the predetermined area of the frame memory again.

 このとき正反射検出回路290では正反射の画素は見つけられずに、非測定領域設定部291からはコントロール回路26に非測定領域のないことを知らせる。 At this time, the regular reflection detection circuit 290 does not find any regular reflection pixel, and the non-measurement area setting unit 291 notifies the control circuit 26 that there is no non-measurement area.

 このときの新しい測定領域を図34(C)に示す。 新 し い The new measurement area at this time is shown in FIG.

 非測定領域を読みとばされた対象物のデータは所定の測定領域よりも画素数が少なくなっているので、画素計数部293によりその全画素数が求められ、輝度成分平均化部38では対象物のデータと画素数からその平均値を求められ、測定データメモリ40Aに一時的に記憶される。 Since the data of the object from which the non-measurement area has been skipped has a smaller number of pixels than the predetermined measurement area, the pixel count unit 293 obtains the total number of pixels. The average value is obtained from the data of the object and the number of pixels, and is temporarily stored in the measurement data memory 40A.

 補正回路42で測定データメモリ40Aからの対象物のデータを、照明データメモリ40Wからの参照板のデータで補正し補正データメモリに記憶させる。 (4) The correction circuit 42 corrects the data of the object from the measurement data memory 40A using the data of the reference plate from the illumination data memory 40W and stores the corrected data in the correction data memory.

 このような第14実施形態によれば、測定領域抽出部に特異領域検出部290と非測定領域設定部291を設けた構成としたため、対象物に光沢があり正反射している部分が存在する場合にはその正反射の部分を測定領域からはずすことができるので、分類精度を下げることなく良好な測定が可能となる。 According to the fourteenth embodiment, since the specific region detection unit 290 and the non-measurement region setting unit 291 are provided in the measurement region extraction unit, the target object has a glossy specular reflection portion. In this case, the specular reflection portion can be removed from the measurement area, so that good measurement can be performed without lowering the classification accuracy.

 なお、本実施形態では測定の前に測定領域が設定され、その測定領域の中に正反射部分がある場合にそれを取り除くように動作させているが、測定領域の設定から自動的に行う変形例を以下に説明する。 In the present embodiment, a measurement area is set before measurement, and if there is a specular reflection portion in the measurement area, the operation is performed to remove it. An example is described below.

 対象物もしくは対象物の測定したい部分が球形またはそれに近い形状である場合でかつ表面に光沢があることがわかっている場合には、画面全体から特異領域検出部290にて正反射領域を検出し、非測定領域設定部291にて特異領域検出部290で検出された正反射の画素の周囲に所定の画素数の余裕を持たせて測定に用いない範囲(非測定領域302)およびその周囲に所定の幅を持たせた測定領域304を設定し、コントロール回路26に送る。 If the object or the portion to be measured of the object has a spherical shape or a shape close to it, and it is known that the surface is glossy, the specific region detection unit 290 detects a regular reflection region from the entire screen. In the non-measurement area setting section 291, the area not to be used for measurement (the non-measurement area 302) and the area surrounding the regular reflection pixel detected by the unique area detection section 290 with a predetermined number of pixels are provided. A measurement area 304 having a predetermined width is set and sent to the control circuit 26.

 なお、測定領域が決定するまで、後段の輝度成分平均化部38は出力が有効にならないように制御される。 Until the measurement area is determined, the luminance component averaging unit 38 at the subsequent stage is controlled so that the output is not valid.

 コントロール回路26では非測定領域設定部291で決定された測定領域のデータを読み出す。 (4) The control circuit 26 reads the data of the measurement area determined by the non-measurement area setting unit 291.

 このときの新しい測定領域を図34(D)に示す。 新 し い The new measurement area at this time is shown in FIG.

 正反射領域の大きさや形状によって画素数が異なってくるので、画素計数部293によりその全画素数が求められ、輝度成分平均化部38では対象物のデータと画素数からその平均値を求められ、測定データメモリ40Aに一時的に記憶される。 Since the number of pixels differs depending on the size and shape of the regular reflection area, the total number of pixels is obtained by the pixel counting unit 293, and the average value is obtained by the luminance component averaging unit 38 from the data of the object and the number of pixels. , Are temporarily stored in the measurement data memory 40A.

 補正回路42で測定データメモリ40Aからの対象物のデータを、照明データメモリ40Wからの参照板のデータで補正し補正データメモリに記憶させる。 (4) The correction circuit 42 corrects the data of the object from the measurement data memory 40A using the data of the reference plate from the illumination data memory 40W and stores the corrected data in the correction data memory.

 本変形例によれば、測定領域抽出部に特異領域検出部290と非測定領域設定部291を設け、対象物の正反射している部分の周辺部分を自動的に抽出し測定するため、対象物の測定領域が球またはそれに近い形状の場合にも反射光の強度が安定し、良好な測定が可能となると共に、測定領域を自動設定できるので測定が容易になるとともに測定に要する時間を短縮することができる。 According to this modification, the specific region detection unit 290 and the non-measurement region setting unit 291 are provided in the measurement region extraction unit to automatically extract and measure the peripheral part of the specular reflection part of the object. Even when the measurement area of the object is a sphere or a shape close to it, the intensity of the reflected light is stable, good measurement is possible, and the measurement area can be automatically set, making measurement easy and reducing the time required for measurement. can do.

 (第15実施形態)                               つぎに、以上のような各実施形態において、分類演算を高速化する第15実施形態について図35、図36および図37を参照して説明する。 (Fifteenth Embodiment) Next, in each of the above embodiments, a fifteenth embodiment for speeding up the classification operation will be described with reference to FIGS. 35, 36, and 37.

 複数のバンドパスフィルタを用いた色分類装置において、測定対象物によってはバンドパスフィルタのうちに分類に影響の少ないものが出てくる可能性があるが、このようなバンドパスフィルタのデータを省くことで、演算速度を高めることができる。 In a color classification device using a plurality of bandpass filters, there is a possibility that some of the bandpass filters having little influence on the classification may appear depending on an object to be measured, but such bandpass filter data is omitted. Thus, the calculation speed can be increased.

 図35(A)は本実施形態の分類演算回路の構成を示す図である。 FIG. 35A is a diagram showing a configuration of the classification operation circuit of the present embodiment.

 本実施形態の分類演算回路28は輝度成分抽出部30と、分類演算部32と、分類判定部34とからなり、分類演算部32は、切替器310と、分類スペクトル算出部311と、フイッシャレショ(Fisher ratio)算出部312と、分類スペクトル検査部313と、分類スペクトルを書き込むd1メモリ314およびd2メモリ315と、切替器316と、内積演算回路317とから構成される。 The classification operation circuit 28 of the present embodiment includes a luminance component extraction unit 30, a classification operation unit 32, and a classification determination unit 34. The classification operation unit 32 includes a switch 310, a classification spectrum calculation unit 311 and a fisher ( It is composed of a Fisher ratio calculation unit 312, a classification spectrum inspection unit 313, a d1 memory 314 and a d2 memory 315 for writing a classification spectrum, a switch 316, and an inner product calculation circuit 317.

 図35(B)には、複数のバンドパスフィルタのうち分類に影響の少ない不要なバンドパスフィルタからのデータを取り除いて、できるだけ次元数の少ない分類スペクトルを算出するための処理の流れを示す。 FIG. 35 (B) shows a flow of processing for calculating a classification spectrum having as few dimensions as possible by removing data from unnecessary band-pass filters having little influence on classification among a plurality of band-pass filters.

 ここでは5枚のバンドパスフィルタを持つ色分類装置として図35(A)に示した本実施形態の分類演算回路の動作を図35(B)を参照して説明する。 Here, the operation of the classification operation circuit of this embodiment shown in FIG. 35A as a color classification device having five bandpass filters will be described with reference to FIG.

 5枚のバンドパスフィルタを用いてデータを入力した場合、そのデータは5次元のデータとして扱われる。 When data is input using five bandpass filters, the data is treated as five-dimensional data.

 ここで、各クラス5次元NサンプルのデータからFS変換で分類スペクトルを作成したとすると、それはやはり5次元データであり、各次元の成分は5枚のバンドパスフィルタに対応している。 Here, assuming that a classification spectrum is created by FS conversion from the data of five-dimensional N samples in each class, it is also five-dimensional data, and the components of each dimension correspond to five bandpass filters.

 図35(B)は学習モードにおける分類スペクトルの算出方法について示したものである。 FIG. 35B shows a method of calculating a classification spectrum in the learning mode.

 学習モードにおいて初めは、切替器310はb側に設定される。 In the learning mode, first, the switch 310 is set to the b side.

 コントロール回路26では参照板のデータで補正された測定データをクラス1、クラス2とも5次元全部のデータを読み込む設定とし(ステップ320)、クラス1、クラス2のデータを輝度抽出部30より読み込む(ステップ321)。 In the control circuit 26, the measurement data corrected by the reference plate data is set to read all five-dimensional data in both the class 1 and the class 2 (step 320), and the data of the class 1 and the class 2 are read from the luminance extracting unit 30 (step 320). Step 321).

 分類スペクトル算出部311では、読み込んだデータで分類スペクトルを算出し(ステップ322)、フイッシャレショ(Fisher ratio)算出部312では、その分類スペクトルと輝度成分抽出部30からの測定データとからフイッシャレショ(Fisher ratio)を算出する(ステップ323)。 The classification spectrum calculation unit 311 calculates a classification spectrum based on the read data (step 322), and the fisher ratio (Fisher ratio) calculation unit 312 uses the classification spectrum and the measurement data from the luminance component extraction unit 30 to change the classification spectrum. ) Is calculated (step 323).

 分類スペクトル検査部313では、フイッシャレショ(Fisher ratio)が所定の値よりも大きいか否かを調べ(ステップ324)、フイッシャレショ(Fisher ratio)が所定の値よりも大きければd1メモリ314およびd2メモリ315に書き込むと同時にコントロール回路に5枚のうち使用したバンドパスフィルタの番号を知らせ(ステップ325)、引き続き分類スペクトルの各バンドパスフィルタに対応した成分の絶対値を調べ、絶対値が最小であるフィルタ番号を求めて(ステップ326)、コントロール回路26に送る。 The classification spectrum inspecting unit 313 checks whether or not the Fisher ratio (Fisher ratio) is larger than a predetermined value (Step 324). At the same time as writing, the control circuit is informed of the number of the band-pass filter used among the five filters (step 325). Then, the absolute value of the component corresponding to each band-pass filter of the classified spectrum is checked. Is obtained (step 326) and sent to the control circuit 26.

 なお、フイッシャレショ(Fisher ratio)が所定の値よりも小さい場合には、分類スペクトル検査部313で、そのときの分類スペクトルをd1メモリ314およびd2メモリ315には書き込まずに、コントロール回路26に分類スペクトル算出終了の信号を送る(ステップ328)。 If the fisher ratio (Fisher ratio) is smaller than a predetermined value, the classification spectrum inspecting unit 313 does not write the classification spectrum at that time to the d1 memory 314 and the d2 memory 315, but stores the classification spectrum in the control circuit 26. A signal indicating the end of calculation is sent (step 328).

 コントロール回路26では分類スペクトル検査部313から送られてきたフィルタ番号以外のフィルタのデータを読み込むように設定し(ステップ327)、設定されたフィルタについて再度、データを読み出し、分類スペクトルを作成し、フイッシャレショ(Fisher ratio)を求め、所定の値と比較する(ステップ321〜324)。 The control circuit 26 is set to read the filter data other than the filter number sent from the classification spectrum inspection unit 313 (step 327), reads the data again for the set filter, creates a classification spectrum, and (Fisher @ ratio) is obtained and compared with a predetermined value (steps 321 to 324).

 すなわち、フイッシャレショ(Fisher ratio)が所定の値以上であるうちはさらに分類スペクトルの絶対値最小のフィルタのデータを省略し、フイッシャレショ (Fisher ratio)が所定の値以下になった時点ではその分類スペクトルを保存せずに終了する。 That is, while the fisher ratio (Fisher @ ratio) is equal to or more than a predetermined value, the data of the filter having the smallest absolute value of the classification spectrum is further omitted. Exit without saving.

 一方、分類モードにおいては、必要なバンドパスフィルタからのデータだけを入力するようコントロール回路から制御することで、入力、分類演算ともに扱うデータ量が削減されるので高速な分類判定ができる。 On the other hand, in the classification mode, by controlling the control circuit to input only the necessary data from the band-pass filter, the amount of data handled for both input and classification operations is reduced, so that high-speed classification can be determined.

 バンドパスフィルタのデータを削徐する際に、分類スペクトルの成分の小さいものから削除していくということは、二つのクラスの違いが少ない成分を削除することである。したがって、これを削除しても分類結果には大きな影響がない。 (4) When reducing the data of the band-pass filter, deleting components having smaller classification spectrum components means deleting components having less difference between the two classes. Therefore, even if this is deleted, the classification result is not significantly affected.

 このような第15実施形態では分類スペクトル検査部およびフイッシャレショ(Fisher ratio)算出部を設け、求められた分類スペクトルにおけるフイッシャレショ(Fisher ratio)が所定の値を下回らない範囲で必要な最小限のバンドパスフィルタからのデータを求める構成としたために、分類精度を落とさずに分類演算に用いる分類スペクトルの次元数を最小限に減らすことができるので、分類モードにおいてより高速な分類判定が可能となる。 In the fifteenth embodiment, a classification spectrum inspecting unit and a fisher ratio (Fisher ratio) calculating unit are provided, and a minimum band pass required in a range where the fisher ratio (Fisher ratio) in the obtained classification spectrum does not fall below a predetermined value. Since the configuration is such that data from the filter is obtained, the number of dimensions of the classification spectrum used for the classification operation can be reduced to the minimum without lowering the classification accuracy, so that higher-speed classification judgment can be performed in the classification mode.

 なお、本実施形態では分類スペクトルの各成分の絶対値が小さいものに対応するバンドパスフィルタのデータから削除したが、これを差スペクトルの成分の絶対値の小さいものを削除するようにしてもよい。 In the present embodiment, the components of the classified spectrum are deleted from the data of the band-pass filter corresponding to the component having the small absolute value. However, the data having the small absolute value of the component of the difference spectrum may be deleted. .

 図36は本実施形態の変形例の一つであり、図36(A)に示す分類演算回路28は、図35(A)の分類演算部32に差スペクトル算出部331を加え、分類スペクトル検査部313の代りに差スペクトル検査部332を設けたものであり、図36(B)に示すフローチャートは図35(B)のステップ326の代りに2クラスの差スペクトルを求めるステップ341と、差スペクトルの成分を調べ絶対値が最小のバンドパスフィルタの番号を求めるステップ342を適用したものである。 FIG. 36 shows a modification of the present embodiment. The classification calculation circuit 28 shown in FIG. 36A adds a difference spectrum calculation unit 331 to the classification calculation unit 32 shown in FIG. A difference spectrum inspection unit 332 is provided in place of the unit 313. The flowchart shown in FIG. 36B has a step 341 for obtaining two classes of difference spectra instead of the step 326 in FIG. The step 342 for obtaining the number of the band-pass filter having the smallest absolute value by examining the component of is applied.

 このように二つのクラスの差スペクトルにおいても値が0に近いものはクラス間の違いの少ない成分であるので省略することができる。 Thus, in the difference spectrum between the two classes, the one having a value close to 0 is a component having a small difference between the classes, and can be omitted.

 同様に、補正前のスペクトルの成分が0に近いものを削除するようにしてもよい。 Similarly, a spectrum component whose correction is not close to 0 may be deleted.

 図37も本実施形態の変形例であり図37(A)に示す分類演算回路28は、図35 (A)の分類演算部32の分類スペクトル検査部313の代りにスペクトル検査部351を設け、その入力に輝度成分抽出部30の図示しない測定データメモリ(参照板のデータで補正する前のデータが記憶されているメモリ)の出力を接続したものであり、図37 (B)に示すフローチャートは図35(B)のステップ326の代りに補正前のスペクトルの成分が最小となるバンドパスフィルタの番号を求めるステップ361を適用したものである。 FIG. 37 is also a modification of the present embodiment, and the classification operation circuit 28 shown in FIG. 37 (A) is provided with a spectrum inspection unit 351 instead of the classification spectrum inspection unit 313 of the classification operation unit 32 of FIG. The output of the luminance data extraction unit 30 is connected to the output of a not-shown measurement data memory (memory in which data before correction with reference plate data is stored), and the flowchart shown in FIG. In this embodiment, a step 361 for finding the number of the band-pass filter having the minimum spectrum component before correction is applied instead of the step 326 in FIG.

 補正前のスペクトルの成分が0に近いものはそのほとんどが撮像素子の雑音であるのでこれを削除しても分類結果に影響が少ないので、フイッシャレショ(Fisher ratio)が所定値以上に保たれる範囲で省略して分類スペクトルの次元数(すなわちバンドパスフィルタの数)を減らすことができる。 Since most of the components of the spectrum before the correction are close to 0 are noises of the image sensor, even if they are deleted, the classification result is hardly affected. Therefore, the range in which the fisher ratio (Fisher ratio) is maintained at a predetermined value or more. And the number of dimensions of the classification spectrum (ie, the number of bandpass filters) can be reduced.

 本実施形態では、分類スペクトルの成分の絶対値の小さいものに対応するバンドパスフィルタのデータを削除する、またその変形例として差スペクトルの成分の絶対値の小さいもの、または補正前のスペクトルの成分の小さいものに対応するバンドパスフィルタのデータを削除する方法について説明してきたが、これらのそれぞれを別々に行うだけでなく、全てを考慮して分類スペクトルの次元(すなわちバンドパスフィルタの数)を減らすようにしても分類精度を落とさずに分類演算を高速化することが可能となる。 In the present embodiment, the data of the band-pass filter corresponding to the one having the small absolute value of the component of the classified spectrum is deleted, and as a modified example, the one having the small absolute value of the component of the difference spectrum or the component of the spectrum before correction is used. Although the method of deleting the data of the band-pass filter corresponding to the small one has been described, not only each of these is performed separately, but also the dimension of the classification spectrum (that is, the number of band-pass filters) is considered in consideration of all of them. Even if the number is reduced, it is possible to speed up the classification operation without lowering the classification accuracy.

 (第16実施形態)                               つぎに、様々な対象物に対してより正確に分類することが可能な第16実施形態について図38を参照して説明する。 << (Sixteenth Embodiment) >> Next, a sixteenth embodiment capable of more accurately classifying various objects will be described with reference to FIG.

 本実施形態の色分類装置を図38(A)を参照して説明する。 {The color classification device of this embodiment will be described with reference to FIG.

 本実施形態の色分類装置は筐体1と、光学系10と、光学系により対象物からの反射光が結像する撮像素子14と、光学系10と撮像素子14との間にあり5枚のバンドパスフィルタを円周上に配した回転色フィルタ12(図2参照)と、回転色フィルタ12を駆動するモーター24と、モーター駆動回路124と、回転色フィルタ12の回転位置を検出するフィルタ位置センサ123と、撮像素子駆動回路22と、撮像素子14からの映像信号を増幅器15を介してディジタルに変換するA/D変換器16と、ディジタル化された映像信号を記憶するフレームメモリ18と、フレームメモリ18に記憶されている画像データに各種処理を施して画像の特徴量を出力する画像処理回路371と、フレームメモリ18からのデータと画像処理回路371からのデータとから対象物を分類する分類演算回路28と、これらを制御するコントロール回路26とから構成されている。 The color classification apparatus according to the present embodiment includes a housing 1, an optical system 10, an imaging device 14 on which reflected light from an object is imaged by the optical system, and five imaging devices between the optical system 10 and the imaging device 14. , A motor 24 for driving the rotary color filter 12, a motor drive circuit 124, and a filter for detecting the rotational position of the rotary color filter 12. A position sensor 123, an image sensor driving circuit 22, an A / D converter 16 for converting a video signal from the image sensor 14 into a digital signal via an amplifier 15, and a frame memory 18 for storing the digitized video signal. An image processing circuit 371 for performing various processes on the image data stored in the frame memory 18 and outputting image feature values; A classification operation circuit 28 for classifying the object from the data from the road 371, and a control circuit 26 for controlling these.

 本実施形態の分類演算回路28は図38(B)に示すような輝度成分抽出部30と、スペクトル拡張部372と、分類演算部32と、分類判定部34とから構成される。 The classification operation circuit 28 of the present embodiment includes a luminance component extraction unit 30, a spectrum expansion unit 372, a classification operation unit 32, and a classification determination unit 34 as shown in FIG.

 コントロール回路26では、フィルタ位置センサ123の出力を監視しながら回転色フィルタ12が撮像素子14の露光に同期するように、モーター駆動回路124に信号を送る。 The control circuit 26 sends a signal to the motor drive circuit 124 so that the rotary color filter 12 synchronizes with the exposure of the image sensor 14 while monitoring the output of the filter position sensor 123.

 撮像素子14に結像した対象物の像は光電変換され映像信号として出力された後、増幅器15を介してA/D変換器16にてディジタルに変換されてフレームメモリ18に一時的に記憶される。 The image of the object formed on the image sensor 14 is photoelectrically converted and output as a video signal, and then converted to digital by an A / D converter 16 via an amplifier 15 and temporarily stored in a frame memory 18. You.

 フレームメモリ18に記憶された画像信号は画像処理回路371にて測定領域内の画像を各種処理し、画像の特徴量を抽出し、分類演算回路28に送る。 (4) The image signal stored in the frame memory 18 is subjected to various kinds of processing on the image in the measurement area by the image processing circuit 371, and the feature amount of the image is extracted and sent to the classification operation circuit 28.

 画像の特徴量としては、微分値、空間周波数成分、直交変換の係数、同時生起行列を用いて得られる各特徴量、濃度ヒストグラム、線や輪郭、特定のパターンとの相関値などを用いることができる。 As the feature value of the image, it is possible to use a differential value, a spatial frequency component, a coefficient of orthogonal transformation, each feature value obtained using a co-occurrence matrix, a density histogram, a line or an outline, a correlation value with a specific pattern, and the like. it can.

 分類演算回路28ではフレームメモリ18からの画像信号が入力され、輝度成分抽出部30にて測定領域内での平均値を各バンドパスフィルタ(5枚)ごとに求め、5次元のスペクトルデータとする。 An image signal from the frame memory 18 is input to the classification operation circuit 28, and an average value in the measurement area is obtained for each bandpass filter (five) by the luminance component extraction unit 30 to obtain five-dimensional spectrum data. .

 この際、必要に応じて照明光の補正および正規化を行う。 At this time, the illumination light is corrected and normalized as necessary.

 次段のスペクトル拡張部372では5枚のバンドパスフィルタから得られた5次元のスペクトルデータと画像処理回路371より得られた画像の特徴量であるP次元のデータを合成し、5+P次元の拡張されたスペクトルとして分類演算部32へ転送する。 The next-stage spectrum expansion unit 372 combines the five-dimensional spectrum data obtained from the five band-pass filters with the P-dimensional data that is the feature amount of the image obtained from the image processing circuit 371, and expands the data by 5 + P dimensions. The obtained spectrum is transferred to the classification calculation unit 32.

 学習モードでは分類演算部32では、上記のように転送されてくる2クラスの各クラスごとにサンプル数Nのデータから5+P次元の分類スペクトルを作成し、データと共に分類判定部34に送る。 In the learning mode, the classification calculation unit 32 creates a 5 + P-dimensional classification spectrum from the data of the number of samples N for each of the two classes transferred as described above, and sends it to the classification determination unit 34 together with the data.

 この際に、必要に応じてバンドパスフィルタから得られたスペクトル画像処理回路から得られた画像の特徴量との間でデータの重みが所定の値になるように、データの正規化を行う。 At this time, if necessary, the data is normalized so that the weight of the data becomes a predetermined value between the feature amount of the image obtained from the spectrum image processing circuit obtained from the band-pass filter.

 分類判定部34では、分類境界を決定し記憶する。 The classification determination unit 34 determines and stores a classification boundary.

 分類モードにおいては分類演算部32では、上記のように転送されてくる対象物の5+P次元のデータと学習モードで求められた分類スペクトルとの内積演算が行われ、結果を分類判定回路34に送る。 In the classification mode, the classification operation unit 32 performs an inner product operation of the 5 + P-dimensional data of the object transferred as described above and the classification spectrum obtained in the learning mode, and sends the result to the classification determination circuit 34. .

 分類判定回路34では学習モードで記憶した分類境界に基づき、対象物の分類判定結果を出力する。 The classification judgment circuit 34 outputs the classification judgment result of the object based on the classification boundaries stored in the learning mode.

 このような第16実施形態によれば、フレームメモリ18の後段に画像処理回路371を、分類演算回路28の中にスペクトル拡張部372を設けた構成としたため、対象物の色だけでなく表面の形状やテクスチャを分類スペクトルに反映させているので、より精度の高い良好な測定が可能となる。 According to the sixteenth embodiment, since the image processing circuit 371 is provided at the subsequent stage of the frame memory 18 and the spectrum expansion unit 372 is provided in the classification operation circuit 28, not only the color of the object but also the surface Since the shape and texture are reflected in the classification spectrum, more accurate and favorable measurement can be performed.

 (第17実施形態)                               つぎに、モニタ表示にて分類結果が視覚的に確認可能な第17実施形態について図39を参照して説明する。 << (Seventeenth Embodiment) >> Next, a seventeenth embodiment in which the classification result can be visually confirmed on the monitor display will be described with reference to FIG.

 本実施形態の色分類装置を図39(A)を参照して説明する。 {The color classification device of this embodiment will be described with reference to FIG.

 本実施形態の色分類装置は筐体1と、光学系10と、光学系により対象物からの反射光が結像する撮像素子14と、光学系10と撮像素子14との間にあり5枚のバンドパスフィルタを円周上に配した回転色フィルタ12(図2参照)と、回転色フィルタ12を駆動するモーター24と、モーター駆動回路124と、回転色フィルタ12の回転位置を検出するフィルタ位置センサ123と、撮像素子駆動回路22と、撮像素子14からの映像信号を増幅器15を介してディジタルに変換するA/D変換器16と、ディジタル化された映像信号を一時的に記憶するフレームメモリ18と、フレームメモリ18に記憶されている画像データからモニタへ出力するための画像データを合成する色合成回路381と、モニタ出力用のフレームメモリ382と、フレームメモリ18からのデータから対象物を分類する分類演算回路28と、これらを制御するコントロール回路26とから構成されている。 The color classification apparatus according to the present embodiment includes a housing 1, an optical system 10, an imaging device 14 on which reflected light from an object is imaged by the optical system, and five imaging devices between the optical system 10 and the imaging device 14. , A motor 24 for driving the rotary color filter 12, a motor drive circuit 124, and a filter for detecting the rotational position of the rotary color filter 12. A position sensor 123, an image sensor driving circuit 22, an A / D converter 16 for converting a video signal from the image sensor 14 into a digital signal via an amplifier 15, and a frame for temporarily storing the digitized video signal A memory 18, a color synthesizing circuit 381 for synthesizing image data to be output to a monitor from image data stored in the frame memory 18, and a frame memory for monitor output And 82, a classification operation circuit 28 for classifying the object from the data from the frame memory 18, and a control circuit 26 for controlling these.

 本実施形態のフレームメモリ18、色合成回路381と、フレームメモリ382の構成を図39(B)に示す。 FIG. 39B shows the configurations of the frame memory 18, the color synthesis circuit 381, and the frame memory 382 of this embodiment.

 フレームメモリ18は各バンドパスフィルタに対応したBPF1プレーン401、BPF2プレーン402、BPF3プレーン403、BPF4プレーン404、BPF5プレーン405とから構成される。 The frame memory 18 includes a BPF1 plane 401, a BPF2 plane 402, a BPF3 plane 403, a BPF4 plane 404, and a BPF5 plane 405 corresponding to each bandpass filter.

 色合成回路381はフレームメモリ18の各BPF1プレーン401〜405の出力に乗じるための係数(BPF係数421〜425)が記憶されている係数メモリ420と、各BPFプレーン401〜405の出力と係数メモリ420に記憶されているBPF係数421〜425のそれぞれ対応する一組を入力とする乗算器411〜415と、乗算器411〜415の出力を足し合わせる加算器410とから構成される。 The color synthesizing circuit 381 stores a coefficient memory 420 storing coefficients (BPF coefficients 421 to 425) for multiplying outputs of the BPF1 planes 401 to 405 of the frame memory 18, and outputs and coefficient memories of the BPF planes 401 to 405. It comprises multipliers 411 to 415 each having a corresponding set of BPF coefficients 421 to 425 stored in 420 as inputs, and an adder 410 for adding outputs of the multipliers 411 to 415.

 フレームメモリ382はTVモニタに出力するためのフレームメモリでRGBの各プレーン431〜433と、メモリからのデータを読み出してTVモニタが入力可能な映像信号に変換する映像信号生成回路434とからなる。 The frame memory 382 is a frame memory for outputting to the TV monitor, and includes RGB planes 431 to 433, and a video signal generation circuit 434 for reading data from the memory and converting the data into a video signal that can be input to the TV monitor.

 つぎに、本実施形態の色分類装置の動作について説明する。 Next, the operation of the color classification device of the present embodiment will be described.

 コントロール回路26では、フィルタ位置センサ123の出力を監視しながら回転色フィルタ12が撮像素子14の露光に同期するように、モーター駆動回路124に信号を送る。 The control circuit 26 sends a signal to the motor drive circuit 124 so that the rotary color filter 12 synchronizes with the exposure of the image sensor 14 while monitoring the output of the filter position sensor 123.

 撮像素子14に結像した対象物の像は光電変換され映像信号として出力された後、増幅器15を介してA/D変換器16にてディジタルに変換された画像データとしてフレームメモリ18に一時的に記憶される。 The image of the object formed on the image sensor 14 is photoelectrically converted and output as a video signal, and then temporarily stored in a frame memory 18 as image data converted digitally by an A / D converter 16 via an amplifier 15. Is stored in

 フレームメモリ18からの画像データは、色合成回路381でTVモニタへ出力するためのデータ変換が行われ、TVモニタ表示用のフレームメモリ382に書き込まれ、映像信号生成回路434にてTVモニタが入力可能な映像信号に変換されTVモニタに出力される。 The image data from the frame memory 18 is subjected to data conversion for output to a TV monitor by a color synthesizing circuit 381, written to a frame memory 382 for displaying a TV monitor, and input to the TV monitor by a video signal generating circuit 434. It is converted to a possible video signal and output to the TV monitor.

 一方、分類演算回路28ではフレームメモリ18からの画像信号が入力され、輝度成分抽出部30にて測定領域内での平均値を各バンドパスフィルタ(5枚)ごとに求め、5次元のスペクトルデータとする。 On the other hand, the image signal from the frame memory 18 is input to the classification operation circuit 28, and the average value in the measurement area is obtained for each bandpass filter (five) by the luminance component extraction unit 30, and the five-dimensional spectrum data is obtained. And

 この際、必要に応じて照明光の補正および正規化を行う。 At this time, the illumination light is corrected and normalized as necessary.

 学習モードにおいて、分類演算部32では、上記のように転送されてくる2クラスの各クラスごとにはサンプル数Nのデータから5次元の分類スペクトルを作成し、データと共に分類判定部34に送る。 In the learning mode, the classification operation unit 32 creates a five-dimensional classification spectrum from the data of the number of samples N for each of the two classes transferred as described above, and sends it to the classification determination unit 34 together with the data.

 分類判定部34では、分類境界を定め記憶する。 (4) The classification determination unit 34 determines and stores classification boundaries.

 分類モードにおいて、分類演算部32では、上記のように転送されてくる対象物の5次元のデータと学習モードで求められた分類スペクトルとの内積演算が行われ、結果を分類判定回路34に送る。 In the classification mode, the classification operation unit 32 performs an inner product operation of the five-dimensional data of the object transferred as described above and the classification spectrum obtained in the learning mode, and sends the result to the classification determination circuit 34. .

 分類判定回路34では学習モードで記憶した分類境界に基づき、対象物の分類判定結果を出力する。 The classification judgment circuit 34 outputs the classification judgment result of the object based on the classification boundaries stored in the learning mode.

 つぎに、本実施形態の特徴部である色合成回路381の動作についてさらに詳しく説明する。 Next, the operation of the color synthesizing circuit 381, which is a feature of the present embodiment, will be described in more detail.

 5枚のバンドパスフィルタのデータはフレームメモリ18のBPFプレーン401〜405に順番に記憶されている。 The data of the five bandpass filters are sequentially stored in the BPF planes 401 to 405 of the frame memory 18.

 係数メモリ420には、各BPFプレーンのデータに乗じるための係数(BPF係数421〜425)が格納されている。 The coefficient memory 420 stores coefficients (BPF coefficients 421 to 425) for multiplying the data of each BPF plane.

 BPF係数421〜425は乗算器411〜415にて対応するBPFプレーンのデータに乗じられる。 BPF coefficients 421 to 425 are multiplied by data of the corresponding BPF plane by multipliers 411 to 415.

 乗算器411〜415で係数を乗じられた各プレーンのデータは、加算器410にて足し合わされ、フレームメモリ382のRプレーン431、Gプレーン432、Bプレーン433のうちコントロール回路26の指示するプレーンに書き込まれる。 The data of each plane multiplied by the coefficients in the multipliers 411 to 415 are added in the adder 410, and the data is added to the plane designated by the control circuit 26 among the R plane 431, the G plane 432, and the B plane 433 of the frame memory 382. Written.

 各プレーンのデータは映像信号生成回路434にてTVモニタの入力可能な信号に変換されてTVモニタに出力される。 (4) The data of each plane is converted by the video signal generation circuit 434 into a signal that can be input to the TV monitor and output to the TV monitor.

 学習モードにおいては、各バンドパスフィルタの分光透過特性からモニタのR成分の分光特性を近似した係数を係数メモリ420に書き込み、乗算器411〜415で各プレーンのデータに乗じた後に加算器410で足し合わされたデータをフレームメモリ382のRプレーンに書き込む。 In the learning mode, a coefficient obtained by approximating the spectral characteristic of the R component of the monitor from the spectral transmission characteristic of each bandpass filter is written in the coefficient memory 420, and the data of each plane is multiplied by the multipliers 411 to 415 and then added by the adder 410. The added data is written to the R plane of the frame memory 382.

 つぎに、モニタのG成分の分光特性を近似した係数を係数メモリ420に書き込み、加算器410の出力をGプレーン432に書き込む。 Next, the coefficient approximating the spectral characteristic of the G component of the monitor is written to the coefficient memory 420, and the output of the adder 410 is written to the G plane 432.

 つぎに、モニタのB成分の分光特性を近似した係数を係数メモリ420に書き込み、加算器410の出力をBプレーン433に書き込む。 Next, the coefficient approximating the spectral characteristic of the B component of the monitor is written to the coefficient memory 420, and the output of the adder 410 is written to the B plane 433.

 各プレーンのデータは映像信号生成回路434にてTVモニタの入力可能な信号に変換されてTVモニタに出力される。 (4) The data of each plane is converted by the video signal generation circuit 434 into a signal that can be input to the TV monitor and output to the TV monitor.

 この結果モニタには色再現性良く測定中の対象物が映し出される。 As a result, the object being measured is displayed on the monitor with good color reproducibility.

 分類モードにおいては、分類演算回路28からコントロール回路26に分類スペクトルのデータを送り、コントロール回路26では分類スペクトルの各バンドパスフィルタに対応する成分を0〜1に正規化して係数メモリ420に書き込み、加算器410の出力をRプレーン431に書き込む。 In the classification mode, the data of the classification spectrum is transmitted from the classification calculation circuit 28 to the control circuit 26, and the control circuit 26 normalizes the components corresponding to each band-pass filter of the classification spectrum to 0 to 1 and writes them to the coefficient memory 420. The output of the adder 410 is written to the R plane 431.

 つぎに、今、係数メモリに書き込んだ係数を1から減じた係数を係数メモリ420に書き込む。 Next, the coefficient obtained by subtracting the coefficient written in the coefficient memory from 1 from 1 is written in the coefficient memory 420.

 加算器410の出力はGプレーン432に書き込まれる。 The output of the adder 410 is written to the G plane 432.

 各プレーンのデータは映像信号生成回路434にてTVモニタの入力可能な信号に変換されてTVモニタの出力される。 The data of each plane is converted into a signal that can be input to the TV monitor by the video signal generation circuit 434 and output from the TV monitor.

 これによりモニタには、たとえばクラス1に分類される対象物の映像は赤っぽく、クラス2に分類される対象物は緑っぽく表示され、その中間の対象物については黄色っぽく表示される。 (5) Thus, on the monitor, for example, an image of an object classified into class 1 is displayed in red, an object classified in class 2 is displayed in green, and an intermediate object is displayed in yellow.

 このような第17実施形態によれば、TVモニタ表示用のフレームメモリ382を、フレームメモリ18の内部に各バンドパスフィルタに対応するプレーンを設け、色合成回路381にて各プレーンのデータに係数を乗じて足し合わせた物をフレームメモリの各プレーンに書き込む構成としたために、モニタ上にて分類結果を色を変えて表示することができ、結果が視覚的に確認しやすくすることができる。 According to the seventeenth embodiment, the frame memory 382 for TV monitor display is provided with a plane corresponding to each band-pass filter inside the frame memory 18, and the color synthesis circuit 381 assigns a coefficient to the data of each plane. Is written in each plane of the frame memory, the classification result can be displayed in a different color on the monitor, and the result can be easily visually confirmed.

 さらに、本実施形態では、学習モードにおいては通常のTV画像のようなカラー表示も可能となり対象物の確認なども自然に行うことができる。 Further, in the present embodiment, in the learning mode, color display like a normal TV image is also possible, and the confirmation of the object can be performed naturally.

 なお、本実施形態では、分類モードの際にフレームメモリ382のRプレーン431とGプレーン432を用いたがこれに限らずいずれのプレーンを使用しても同様の効果が得られることはいうまでもない。 In the present embodiment, the R plane 431 and the G plane 432 of the frame memory 382 are used in the classification mode. However, the present invention is not limited to this, and it goes without saying that the same effect can be obtained by using any plane. Absent.

図1は、本発明の第1実施形態の色分類装置を示すブロック図。FIG. 1 is a block diagram showing a color classification device according to a first embodiment of the present invention. 図2は、第1実施形態に用いる回転色フィルタの模式図。FIG. 2 is a schematic diagram of a rotating color filter used in the first embodiment. 図3は、第1実施形態の動作を説明するフローチャート。FIG. 3 is a flowchart illustrating the operation of the first embodiment. 図4は、本発明の第2実施形態の色分類装置を示すブロック図。FIG. 4 is a block diagram illustrating a color classification device according to a second embodiment of the present invention. 図5は、第2実施形態に用いる回転色絞り板の模式図。FIG. 5 is a schematic view of a rotary color stop plate used in the second embodiment. 図6は、本発明の第3実施形態の色分類装置を示すブロック図。FIG. 6 is a block diagram illustrating a color classification device according to a third embodiment of the present invention. 図7は、第3実施形態に用いる回転NDフィルタの模式図。FIG. 7 is a schematic diagram of a rotating ND filter used in the third embodiment. 図8は、第3実施形態に用いる回転スリット板の模式図。FIG. 8 is a schematic view of a rotary slit plate used in the third embodiment. 図9は、本発明の第4実施形態の色分類装置を示すブロック図。FIG. 9 is a block diagram illustrating a color classification device according to a fourth embodiment of the present invention. 図10は、第4実施形態の動作を説明するフローチャート。FIG. 10 is a flowchart illustrating the operation of the fourth embodiment. 図11は、第4実施形態の変形形態である色分類装置を示すブロック図。FIG. 11 is a block diagram illustrating a color classification device that is a modification of the fourth embodiment. 図12は、本発明の第5実施形態の色分類装置を示すブロック図。FIG. 12 is a block diagram illustrating a color classification device according to a fifth embodiment of the present invention. 図13は、第5実施形態の参照板の模式図。FIG. 13 is a schematic view of a reference plate according to a fifth embodiment. 図14は、本発明の第6実施形態の色分類装置を示すブロック図。FIG. 14 is a block diagram illustrating a color classification device according to a sixth embodiment of the present invention. 図15は、第6実施形態のCCDに結像する画像の例を示す図。FIG. 15 is a diagram illustrating an example of an image formed on a CCD according to the sixth embodiment. 図16は、第6実施形態の参照板の模式図。FIG. 16 is a schematic view of a reference plate according to a sixth embodiment. 図17は、本発明の第7実施形態の色分類装置を示すブロック図。FIG. 17 is a block diagram illustrating a color classification device according to a seventh embodiment of the present invention. 図18は、本発明の第8実施形態の色分類装置を示すブロック図。FIG. 18 is a block diagram illustrating a color classification device according to an eighth embodiment of the present invention. 図19は、第8実施形態のCCDと光ファイバの接続を示す図。FIG. 19 is a view showing a connection between a CCD and an optical fiber according to the eighth embodiment. 図20は、第8実施形態のCCD上のバンドパスフィルタの配置図。FIG. 20 is a layout diagram of a bandpass filter on a CCD according to the eighth embodiment. 図21は、第8実施形態の光ファイバの束ね方を説明する図。FIG. 21 is a view for explaining how to bundle optical fibers according to the eighth embodiment. 図22は、第8実施形態のCCDに結像する画像の例を示す図。FIG. 22 is a diagram illustrating an example of an image formed on a CCD according to the eighth embodiment. 図23は、第8実施形態の変形例を説明する図。FIG. 23 is a diagram illustrating a modification of the eighth embodiment. 図24は、第8実施形態の別の変形例を説明する図。FIG. 24 is a view for explaining another modification of the eighth embodiment. 図25は、本発明の第9実施形態の色分類装置を示すブロック図。FIG. 25 is a block diagram illustrating a color classification device according to a ninth embodiment of the present invention. 図26は、第9実施形態に用いられる光路分割プリズムの構成を説明する図。FIG. 26 is a diagram illustrating a configuration of an optical path splitting prism used in the ninth embodiment. 図27は、第9実施形態の光路分割プリズムとCCDの結合状態を説明する図。FIG. 27 is a view for explaining a combined state of an optical path splitting prism and a CCD according to the ninth embodiment. 図28は、第9実施形態のCCD上のバンドパスフィルタの配置図。FIG. 28 is a layout diagram of a bandpass filter on a CCD according to a ninth embodiment. 図29は、第9実施形態に用いられる照明センサの構成を説明する図。FIG. 29 is a diagram illustrating a configuration of an illumination sensor used in the ninth embodiment. 図30は、本発明の第10実施形態の色分類装置を示すブロック図。FIG. 30 is a block diagram illustrating a color classification device according to a tenth embodiment of the present invention. 図31(A)は、本発明の第11実施形態の分類演算回路を示すブロック図、    (B)は、第11実施形態の分類演算部を示すブロック図、    (C)は、第11実施形態の分類スペクトル選択回路を示すブロック図。FIG. 31A is a block diagram illustrating a classification operation circuit according to an eleventh embodiment of the present invention, (B) is a block diagram illustrating a classification operation unit of the eleventh embodiment, and (C) is an eleventh embodiment. FIG. 2 is a block diagram showing a classification spectrum selection circuit of FIG. 図32(A)は、従来の方法による学習データの分布を示す図、    (B)は、本発明の第12実施形態による学習データの分布を示す図、    (C)は、第12実施形態の輝度抽出部を示すブロック図、    (D)は、第12実施形態の分類演算部を示すブロック図。FIG. 32A is a diagram showing the distribution of learning data according to the conventional method, (B) is a diagram showing the distribution of learning data according to the twelfth embodiment of the present invention, and (C) is the diagram of the twelfth embodiment. FIG. 21 is a block diagram showing a luminance extracting unit, and (D) is a block diagram showing a classification calculating unit of the twelfth embodiment. 図33(A)は、従来の方法による学習データの分布を示す図、    (B)は、本発明の第13実施形態による学習データの分布を示す図、    (C)は、第13実施形態の分類判定部を示すブロック図。FIG. 33 (A) is a diagram showing the distribution of learning data according to the conventional method, (B) is a diagram showing the distribution of learning data according to the thirteenth embodiment of the present invention, and (C) is the diagram of the thirteenth embodiment. FIG. 3 is a block diagram illustrating a classification determination unit. 図34(A)は、本発明の第14実施形態の分類演算回路を示すブロック図、    (B)は、第14実施形態の動作を説明するための測定対象物を示す図、    (C)は、第14実施形態の測定領域の形を示すブロック図、    (D)は、第14実施形態の変形例における測定領域の形を示すブロック図。FIG. 34A is a block diagram illustrating a classification operation circuit according to a fourteenth embodiment of the present invention, (B) is a diagram illustrating a measurement target for explaining the operation of the fourteenth embodiment, and (C) is a diagram illustrating a measurement target. And FIG. 14D is a block diagram illustrating a shape of a measurement region according to a modification of the fourteenth embodiment. 図35(A)は、本発明の第15実施形態の分類演算回路を示すブロック図、    (B)は、第15実施形態の動作を説明するためのフローチャート。FIG. 35A is a block diagram illustrating a classification operation circuit according to a fifteenth embodiment of the present invention, and (B) is a flowchart illustrating the operation of the fifteenth embodiment. 図36(A)は、第15実施形態の第1の変形例の分類演算回路を示すブロック図、    (B)は、第15実施形態の第1の変形例の動作を説明するためのフローチャート。FIG. 36A is a block diagram illustrating a classification operation circuit according to a first modification of the fifteenth embodiment. FIG. 36B is a flowchart illustrating the operation of the first modification of the fifteenth embodiment. 図37(A)は、第15実施形態の第2の変形例の分類演算回路を示すブロック図、    (B)は、第15実施形態の第2の変形例の動作を説明するためのフローチャート。FIG. 37A is a block diagram showing a classification operation circuit according to a second modification of the fifteenth embodiment, and (B) is a flowchart for explaining the operation of the second modification of the fifteenth embodiment. 図38(A)は、本発明の第16実施形態の色分類装置を示すブロック図、    (B)は、第16実施形態の分類演算回路を示すブロック図。FIG. 38A is a block diagram illustrating a color classification device according to a sixteenth embodiment of the present invention, and (B) is a block diagram illustrating a classification calculation circuit according to the sixteenth embodiment. 図39(A)は、本発明の第17実施形態の色分類装置を示すブロック図、    (B)は、第17実施形態の色合成回路を示すブロック図。FIG. 39A is a block diagram illustrating a color classification device according to a seventeenth embodiment of the present invention, and (B) is a block diagram illustrating a color combining circuit according to the seventeenth embodiment. 図40は、分類境界を説明する図。FIG. 40 is a diagram illustrating classification boundaries. 図41は、従来の色識別装置の構成を示す図。FIG. 41 is a diagram showing a configuration of a conventional color identification device. 図42は、分類スペクトルの一例を示す図である。FIG. 42 is a diagram illustrating an example of the classification spectrum.

符号の説明Explanation of reference numerals

1…筐体,
10…光学系,
101…絞り,
126…絞り制御回路,
12A〜12E…バンドパスフィルタ,
12…回転色フィルタ,
123…フィルタ位置センサ,
24…モーター,
124…モーター駆動回路,
14…撮像素子,
15…増幅器,
16…A/D変換器,
18…フレームメモリ,
28…分類演算回路,
29…露光値メモリ,
26…コントロール回路,
22…撮像素子駆動回路。
1 ... housing,
10 optical system,
101 ... Aperture,
126 ... diaphragm control circuit,
12A to 12E: bandpass filters,
12 ... rotating color filter,
123 ... Filter position sensor,
24 ... motor,
124 ... motor drive circuit,
14 ... image sensor,
15 ... amplifier,
16 ... A / D converter,
18 ... frame memory,
28 Classification arithmetic circuit,
29: Exposure value memory,
26 ... Control circuit,
22 ... Imaging element drive circuit.

Claims (32)

 対象物からの光を撮像する撮像手段と、
 前記対象物からの光を前記撮像手段に結像させる光学手段と、
 前記対象物と撮像手段の間に配置したそれぞれ異なる光の波長の帯域を通過させる複数のバンドパスフィルタと、
 前記撮像手段によって撮像された対象物の分光スペクトルから統計的手法を用いた分類のための分類スペクトルを算出し、この分類スペクトルを用いて前記対象物の分類を行う分類手段と、
 前記複数のバンドパスフィルタのそれぞれの撮像時の露光条件を制御する露光条件制御手段と、
 を具備し、
 前記露光条件制御手段は、前記複数のバンドパスフィルタに対応して露光量を制限する露光量制限手段を含むことを特徴とする色分類装置。
Imaging means for imaging light from the object;
Optical means for forming an image of light from the object on the imaging means,
A plurality of bandpass filters that pass bands of different light wavelengths disposed between the object and the imaging unit,
Classification means for calculating a classification spectrum for classification using a statistical method from the spectral spectrum of the object imaged by the imaging means, and classifying the object using this classification spectrum,
Exposure condition control means for controlling exposure conditions at the time of imaging of each of the plurality of band-pass filters,
With
The color classification apparatus according to claim 1, wherein the exposure condition control unit includes an exposure amount limiting unit that limits an exposure amount corresponding to the plurality of bandpass filters.
 前記露光量制限手段は、着脱および交換可能であるように構成されていることを特徴とする請求項1に記載の色分類装置。 2. The color classification apparatus according to claim 1, wherein the exposure amount limiting unit is configured to be detachable and replaceable.  前記露光条件制御手段は、前記複数のバンドパスフィルタにおける、撮像時の露光条件をそれぞれ記憶する露光条件記憶手段を含むことを特徴とする請求項1に記載の色分類装置。 The color classification apparatus according to claim 1, wherein the exposure condition control unit includes an exposure condition storage unit that stores exposure conditions at the time of imaging in the plurality of bandpass filters.  前記露光条件制御手段は、前記露光条件に基づいて撮像されたデータを補正する露光条件補正手段を含むことを特徴とする請求項3に記載の色分類装置。 4. The color classification apparatus according to claim 3, wherein the exposure condition control unit includes an exposure condition correction unit configured to correct data captured based on the exposure condition. 5.  前記露光量制限手段は、前記複数のバンドパスフィルタに対応した複数の開口を有し、前記複数のバンドパスフィルタと同期して切替可能な絞り板を含むことを特徴とする請求項1乃至4のいずれか一に記載の色分類装置。 5. The exposure amount limiting unit includes a plurality of apertures corresponding to the plurality of bandpass filters, and includes an aperture plate that can be switched in synchronization with the plurality of bandpass filters. The color classification device according to any one of the above.  前記露光量制限手段は、前記複数のバンドパスフィルタに対応した透過率の異なる複数のフィルタを有し、前記複数のバンドパスフィルタと同期して切替可能なフィルタ手段を含むことを特徴とする請求項1乃至4のいずれか一に記載の色分類装置。 The exposure amount limiting unit includes a plurality of filters having different transmittances corresponding to the plurality of bandpass filters, and includes a filter unit that can switch in synchronization with the plurality of bandpass filters. Item 5. The color classification device according to any one of Items 1 to 4.  前記露光量制限手段は、前記複数のバンドパスフィルタに対応した大きさの異なる複数の非遮光部分を持つ遮光板を有し、前記複数のバンドパスフィルタと同期して切替可能な遮光手段を含むことを特徴とする請求項1乃至4のいずれか一に記載の色分類装置。 The exposure amount limiting unit includes a light shielding plate having a plurality of non-light shielding portions having different sizes corresponding to the plurality of band pass filters, and includes a light shielding unit that can be switched in synchronization with the plurality of band pass filters. The color classification device according to any one of claims 1 to 4, wherein:  対象物からの光を撮像する撮像手段と、
 前記対象物からの光を前記撮像手段に結像させる光学手段と、
 前記対象物と撮像手段の間に配置したそれぞれ異なる光の波長の帯域を通過させる複数のバンドパスフィルタと、
 前記撮像手段によって撮像された対象物の分光スペクトルから統計的手法を用いた分類のための分類スペクトルを算出し、この分類スペクトルを用いて前記対象物の分類を行う分類手段と、
 前記複数のバンドパスフィルタのそれぞれの撮像時の露光条件を制御する露光条件制御手段と、
 を具備し、
 前記露光条件制御手段は、前記複数のバンドパスフィルタのそれぞれの撮像時の露光条件を記憶する露光条件記憶手段を含むことを特徴とする色分類装置。
Imaging means for imaging light from the object;
Optical means for forming an image of light from the object on the imaging means,
A plurality of bandpass filters that pass bands of different light wavelengths disposed between the object and the imaging unit,
Classification means for calculating a classification spectrum for classification using a statistical method from the spectral spectrum of the object imaged by the imaging means, and classifying the object using this classification spectrum,
Exposure condition control means for controlling exposure conditions at the time of imaging of each of the plurality of band-pass filters,
With
The color classification apparatus according to claim 1, wherein the exposure condition control unit includes an exposure condition storage unit that stores an exposure condition at the time of imaging of each of the plurality of bandpass filters.
 前記露光条件制御手段は、前記露光条件に基づいて撮像されたデータを補正する露光条件補正手段を含むことを特徴とする請求項8に記載の色分類装置。 9. The color classification apparatus according to claim 8, wherein the exposure condition control unit includes an exposure condition correction unit that corrects data captured based on the exposure condition.  対象物からの光を撮像する撮像手段と、
 前記対象物からの光を前記撮像手段に結像させる光学手段と、
 前記対象物と撮像手段の間に配置した、通過させる光の波長帯域を変化させることが可能な帯域可変バンドパスフィルタと、
 前記撮像手段によって撮像された対象物の分光スペクトルから統計的手法を用いた分類のための分類スペクトルを算出し、この分類スペクトルを用いて前記対象物の分類を行う分類手段と、
 を具備し、
 前記帯域可変バンドパスフィルタに設定された異なる波長の通過帯域特性のそれぞれの撮像時の露光条件を別々に制御する露光条件制御手段を含むことを特徴とする色分類装置。
Imaging means for imaging light from the object;
Optical means for forming an image of light from the object on the imaging means,
A band-variable bandpass filter that is arranged between the object and the imaging unit and that can change a wavelength band of light to be passed,
Classification means for calculating a classification spectrum for classification using a statistical method from the spectral spectrum of the object imaged by the imaging means, and classifying the object using this classification spectrum,
With
A color classification apparatus comprising: exposure condition control means for separately controlling exposure conditions at the time of imaging of passband characteristics of different wavelengths set in the band variable bandpass filter.
 前記露光条件制御手段は、前記帯域可変バンドパスフィルタのそれぞれの波長の通過帯域特性における撮像時の露光条件を記憶する露光条件記憶手段を含むことを特徴とする請求項10に記載の色分類装置。 11. The color classification apparatus according to claim 10, wherein the exposure condition control unit includes an exposure condition storage unit that stores an exposure condition at the time of imaging in a passband characteristic of each wavelength of the band variable bandpass filter. .  前記露光条件制御手段は、前記露光条件に基づいて撮像されたデータを補正する露光条件補正手段を含むことを特徴とする請求項11に記載の色分類装置。 12. The color classification apparatus according to claim 11, wherein the exposure condition control unit includes an exposure condition correction unit that corrects data captured based on the exposure condition.  前記露光条件制御手段は、前記露光条件記憶手段のデータを基に前記撮像手段の絞り調整手段を制御する絞り制御手段を含むことを特徴とする請求項8、9、11または12のいずれか一に記載の色分類装置。 13. The exposure condition control unit according to claim 8, further comprising an aperture control unit that controls an aperture adjustment unit of the imaging unit based on data of the exposure condition storage unit. The color classification device according to 1.  前記露光条件制御手段は、
 前記対象物と前記撮像手段の間に配置され、透過率を変化させることが可能な透過率可変フィルタと、
 前記複数のバンドパスフィルタのそれぞれの撮像時に、前記露光条件記憶手段のデータを基に前記透過率可変フィルタの透過率を制御する透過率制御手段と、
 を有することを特徴とする請求項8、9、11または12のいずれか一に記載の色分類装置。
The exposure condition control means,
A transmittance variable filter that is arranged between the object and the imaging unit and that can change transmittance;
At the time of each imaging of the plurality of band-pass filters, transmittance control means for controlling the transmittance of the transmittance variable filter based on the data of the exposure condition storage means,
The color classification device according to any one of claims 8, 9, 11, and 12, wherein:
 前記撮像手段は、駆動パルスにより露光時間が制御可能であり、
 前記露光条件制御手段は、前記複数のバンドパスフィルタのそれぞれの撮像時に、前記露光条件記憶手段のデータを基に前記撮像手段の露光時間を制御する手段を有することを特徴とする請求項8、9、11または12のいずれか一に記載の色分類装置。
The imaging unit is capable of controlling an exposure time by a driving pulse,
9. The image forming apparatus according to claim 8, wherein the exposure condition control unit includes a unit that controls an exposure time of the imaging unit based on data of the exposure condition storage unit when each of the plurality of bandpass filters is imaged. 13. The color classification device according to any one of 9, 11, and 12.
 対象物からの光を撮像する撮像手段と、
 前記対象物からの光を前記撮像手段に結像させる光学手段と、
 前記対象物と撮像手段の間に配置したそれぞれ異なる光の波長の帯域を通過させる複数のバンドパスフィルタと、
 前記撮像手段によって撮像された対象物の分光スペクトルから統計的手法を用いた分類のための分類スペクトルを算出し、この分類スペクトルを用いて前記対象物の分類を行う分類手段と、
 前記対象物を照明する光源のスペクトル特性および輝度の少なくとも一方を正規化する正規化手段と、
 を具備し、
 前記正規化手段は前記光源のデータを得るための光源観測手段を含むことを特徴とする色分類装置。
Imaging means for imaging light from the object;
Optical means for forming an image of light from the object on the imaging means,
A plurality of bandpass filters that pass bands of different light wavelengths disposed between the object and the imaging unit,
Classification means for calculating a classification spectrum for classification using a statistical method from the spectral spectrum of the object imaged by the imaging means, and classifying the object using this classification spectrum,
Normalizing means for normalizing at least one of the spectral characteristic and the luminance of the light source illuminating the object,
With
The color classification device, wherein the normalizing means includes a light source observing means for obtaining data of the light source.
 対象物からの光を撮像する撮像手段と、
 前記対象物からの光を前記撮像手段に結像させる光学手段と、
 前記対象物と撮像手段の間に配置した、通過させる光の波長の帯域を変化させることが可能な帯域可変バンドパスフィルタと、
 前記撮像手段によって撮像された対象物の分光スペクトルから統計的手法を用いた分類のための分類スペクトルを算出し、この分類スペクトルを用いて前記対象物の分類を行う分類手段と、
 前記対象物を照明する光源のスペクトル特性および輝度少なくとも一方を正規化する正規化手段と、
 を具備し、
 前記正規化手段は前記光源のデータを得るための光源観測手段を含むことを特徴とする色分類装置。
Imaging means for imaging light from the object;
Optical means for forming an image of light from the object on the imaging means,
A band-variable band-pass filter arranged between the object and the imaging means, which can change a band of a wavelength of light to be passed,
Classification means for calculating a classification spectrum for classification using a statistical method from the spectral spectrum of the object imaged by the imaging means, and classifying the object using this classification spectrum,
Normalizing means for normalizing at least one of the spectral characteristic and the luminance of the light source illuminating the object,
With
The color classification device, wherein the normalizing means includes a light source observing means for obtaining data of the light source.
 前記光源観測手段は、
 光源の光を反射または透過し、かつ散乱させる参照板と、
 この参照板の反射光を前記撮像手段に導く第2の光学手段と、
 を含むことを特徴とする請求項16または17に記載の色分類装置。
The light source observation means,
A reference plate that reflects or transmits the light of the light source and scatters the light,
Second optical means for guiding the reflected light of the reference plate to the imaging means,
The color classification device according to claim 16, further comprising:
 前記参照板は、筺体の上部に備えられ、
 前記第2の光学手段は、
 前記参照板を前記撮像手段に結像させるための光学系と、
 この光学系の光軸を前記撮像手段に導くための鏡と、
 を備え、
 この鏡の位置が変位可能であることを特徴とする請求項18に記載の色分類装置。
The reference plate is provided on an upper part of the housing,
The second optical means includes:
An optical system for imaging the reference plate on the imaging unit,
A mirror for guiding the optical axis of the optical system to the imaging means,
With
19. The color classification device according to claim 18, wherein the position of the mirror is displaceable.
 前記参照板は、筺体の上部に備えられ、
 前記第2の光学手段は、前記参照板の光像を前記撮像手段の視野に導くための鏡を有することを特徴とする請求項18に記載の色分類装置。
The reference plate is provided on an upper part of the housing,
19. The color classification apparatus according to claim 18, wherein the second optical unit has a mirror for guiding a light image of the reference plate to a field of view of the imaging unit.
 前記光源観測手段は、
 筺体の前部に配置され、光源の光を乱反射する参照板と、
 この参照板の反射光の強度を検出する光センサと、
 前記参照板と前記光センサの間に配置された複数のバンドパスフィルタと、
 前記参照板からの反射光を前記光センサに結像させるための光学手段と、
 を具備することを特徴とする請求項16に記載の色分類装置。
The light source observation means,
A reference plate arranged at the front of the housing and irregularly reflecting light from the light source;
An optical sensor for detecting the intensity of the reflected light from the reference plate,
A plurality of bandpass filters disposed between the reference plate and the optical sensor,
Optical means for imaging the reflected light from the reference plate on the optical sensor,
17. The color classification device according to claim 16, comprising:
 前記参照板と前記光センサの間に配置された複数のバンドパスフィルタは、前記対象物と前記撮像手段の間に配置した複数のバンドパスフィルタを兼用することを特徴とする請求項21に記載の色分類装置。 22. The plurality of bandpass filters arranged between the reference plate and the optical sensor also serve as a plurality of bandpass filters arranged between the object and the imaging unit. Color classification device.  前記光センサは撮像素子を用いることを特徴とする請求項21に記載の色分類装置。 22. The color classification device according to claim 21, wherein the optical sensor uses an image sensor.  前記光源観測手段は、光源の方向を検出する光源方向検出手段を含むことを特徴とする請求項19、20または23のいずれか一に記載の色分類装置。 24. The color classification apparatus according to claim 19, wherein the light source observation unit includes a light source direction detection unit that detects a direction of a light source.  前記光源方向検出手段は、
 前記参照板上に設けられた、光源の方向の変化に応じて、その影の形または位置が変化するように棒状または板状の部材と、
 前記撮像手段で得られる前記参照板の画像データを処理し、光源の方向、強度および分光スペクトルを求める照明条件検出手段と、
 を含むことを特徴とする請求項24に記載の色分類装置。
The light source direction detection means,
Provided on the reference plate, according to a change in the direction of the light source, a rod-shaped or plate-shaped member so that the shape or position of the shadow changes,
Processing the image data of the reference plate obtained by the imaging means, the direction of the light source, the illumination condition detection means for obtaining the intensity and the spectral spectrum,
The color classification device according to claim 24, comprising:
 前記第2の光学手段は、光ファイバで構成されることを特徴とする請求項18に記載の色分類装置。 19. The color classification device according to claim 18, wherein the second optical unit is formed of an optical fiber.  前記参照板は、筺体から分離して使用可能であることを特徴とする請求項26に記載の色分類装置。 27. The color classification apparatus according to claim 26, wherein the reference plate can be used separately from a housing.  前記光源観測手段は、光源からの光の分光スペクトルを検出する光源分光センサ手段を含むことを特徴とする請求項15または16に記載の色分類装置。 17. The color classification apparatus according to claim 15, wherein the light source observation unit includes a light source spectral sensor unit that detects a spectrum of light from the light source.  前記光源分光センサ手段は、
 透過率を変化させることのできる透過率可変フィルタと、
 前記複数のバンドパスフィルタと同じ特性を持つ複数のバンドパスフィルタと、
 各バンドパスフィルタを透過した光の強度を検出するバンドパスフィルタと同数の光センサと、
 これらの光センサの出力を監視し、透過率可変フィルタの透過率を制御する透過率制御回路と、
 前記複数の光センサおよび前記透過率制御回路からの信号を入力し、光源の明るさと分光スペクトルを出力する照明条件検出回路と、
 から構成されることを特徴とする請求項28に記載の色分類装置。
The light source spectral sensor means,
A transmittance variable filter capable of changing the transmittance,
A plurality of bandpass filters having the same characteristics as the plurality of bandpass filters;
As many optical sensors as the number of bandpass filters for detecting the intensity of light transmitted through each bandpass filter,
A transmittance control circuit that monitors the outputs of these optical sensors and controls the transmittance of the transmittance variable filter;
An illumination condition detection circuit that receives signals from the plurality of optical sensors and the transmittance control circuit, and outputs brightness and a spectrum of a light source,
The color classification device according to claim 28, comprising:
 前記光源分光センサ手段は、本体の筺体から分離して使用可能なことを特徴とする請求項28に記載の色分類装置。 29. The color classification apparatus according to claim 28, wherein the light source spectral sensor means can be used separately from a housing of a main body. 対象物からの光からなる画像を撮像する撮像手段と、
 前記対象物と前記撮像手段との間に配置した、波長の通過帯域特性を変化させることが可能な帯域可変バンドパスフィルタと、
 前記対象物の分類のために定義した複数のクラスにおいて、該当する前記各クラスがそれぞれ既知の前記対象物である複数種類の第1対象物の分光スペクトルを用いて、前記分類のための分類スペクトルを算出する分類スペクトル算出手段と、
 前記分類スペクトルを用いて、前記対象物の前記分類を前記各クラスにおいて行うための空間を定義する手段と、
 前記帯域可変バンドパスフィルタの特性を複数回変化させて、該当する前記クラスが未知の前記対象物である第2対象物を複数のバンドで前記撮像して得られた複数の画像より求められた、前記対象物の分光スペクトルのデータを、前記空間に投影する手段と、
 前記投影の結果から、前記第2対象物を前記各クラスにおいて分類を行う分類手段と、 を備えたことを特徴とする色分類装置。
Imaging means for capturing an image composed of light from an object,
A band-variable band-pass filter arranged between the object and the imaging unit, capable of changing a pass band characteristic of a wavelength,
In a plurality of classes defined for the classification of the object, using the spectral spectra of a plurality of types of first objects, each of which is a known object, each of the classes is a classification spectrum for the classification. Classification spectrum calculating means for calculating
Means for defining a space for performing the classification of the object in each of the classes using the classification spectrum,
The characteristic of the band variable bandpass filter is changed a plurality of times, and the corresponding class is obtained from a plurality of images obtained by imaging the second object, which is the unknown object, in a plurality of bands. Means for projecting the spectral data of the object into the space;
A classification unit configured to classify the second object in each of the classes based on the result of the projection.
 対象物からの光からなる画像を撮像する撮像手段と、
 前記対象物と前記撮像手段との間に配置した、波長の通過帯域特性がそれそれ異なる複数のバンドパスフィルタと、
 前記対象物の分類のために定義した少なくとも3つのクラスにおいて、前記各クラスの内の任意の2クラスにそれぞれ該当することが既知の前記対象物である2つの第1対象物の各分光スペクトルを用いて、前記分類のための分類スペクトルを算出する分類スペクトル算出手段と、
 前記分類スペクトルを用いて、前記対象物の前記分類を前記各クラスにおいて行うための空間を定義する手段と、
 前記各バンドパスフィルタを用いて、該当する前記クラスが未知の前記対象物である第2の対象物を撮像して得られた複数の前記画像より求められた、前記第2対象物の分光スペクトルのデータを、前記空間に投影する手段と、
 前記投影の結果から、前記第2対象物を前記各クラスにおいて分類を行う分類手段と、 を備えたことを特徴とする色分類装置。
Imaging means for capturing an image composed of light from an object,
A plurality of bandpass filters, each having a different passband characteristic of wavelength, disposed between the object and the imaging unit,
In at least three classes defined for the classification of the object, each spectral spectrum of two first objects, which are the objects that are known to correspond to any two classes of the classes, respectively. Using, a classification spectrum calculation means for calculating a classification spectrum for the classification,
Means for defining a space for performing the classification of the object in each of the classes using the classification spectrum,
Using each of the bandpass filters, the spectral spectrum of the second object obtained from a plurality of images obtained by imaging the second object whose class is the unknown object. Means for projecting the data of
A classification unit configured to classify the second object in each of the classes based on the result of the projection.
JP2003402135A 2003-12-01 2003-12-01 Color classification device Pending JP2004077501A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003402135A JP2004077501A (en) 2003-12-01 2003-12-01 Color classification device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003402135A JP2004077501A (en) 2003-12-01 2003-12-01 Color classification device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP24161494A Division JPH08105799A (en) 1993-10-14 1994-10-05 Color classification device

Publications (1)

Publication Number Publication Date
JP2004077501A true JP2004077501A (en) 2004-03-11

Family

ID=32025996

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003402135A Pending JP2004077501A (en) 2003-12-01 2003-12-01 Color classification device

Country Status (1)

Country Link
JP (1) JP2004077501A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005345130A (en) * 2004-05-31 2005-12-15 National Agriculture & Bio-Oriented Research Organization Spectrum image acquisition device and spectrum image acquisition method
JP2006084425A (en) * 2004-09-17 2006-03-30 Tokyo Institute Of Technology Multispectral image processing method, and diagnosing method using multispectral skin image
JP2008073158A (en) * 2006-09-20 2008-04-03 Olympus Corp Image processor
JP2010264276A (en) * 2010-07-16 2010-11-25 Tokyo Institute Of Technology Diagnostic method by multi-spectrum skin image
CN103344333A (en) * 2013-06-18 2013-10-09 中国计量学院 Quick quasi-continuous multi-spectral imaging system and imaging method thereof

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005345130A (en) * 2004-05-31 2005-12-15 National Agriculture & Bio-Oriented Research Organization Spectrum image acquisition device and spectrum image acquisition method
JP2006084425A (en) * 2004-09-17 2006-03-30 Tokyo Institute Of Technology Multispectral image processing method, and diagnosing method using multispectral skin image
JP4599520B2 (en) * 2004-09-17 2010-12-15 オリンパス株式会社 Multispectral image processing method
JP2008073158A (en) * 2006-09-20 2008-04-03 Olympus Corp Image processor
US8285039B2 (en) 2006-09-20 2012-10-09 Olympus Corporation Image processor
JP2010264276A (en) * 2010-07-16 2010-11-25 Tokyo Institute Of Technology Diagnostic method by multi-spectrum skin image
CN103344333A (en) * 2013-06-18 2013-10-09 中国计量学院 Quick quasi-continuous multi-spectral imaging system and imaging method thereof

Similar Documents

Publication Publication Date Title
US4812904A (en) Optical color analysis process
US3748471A (en) False color radiant energy detection method and apparatus
US9041930B1 (en) Digital pathology system
US6346966B1 (en) Image acquisition system for machine vision applications
JP3129245B2 (en) Imaging device
TWI278597B (en) Optical film tester
US5606413A (en) Real time spectroscopic imaging system and method
JPH05164687A (en) Ratio imaging apparatus
JPH03289293A (en) Image pickup device
US6222631B1 (en) Two-dimensional spectral characteristic measuring apparatus
JP2019032298A (en) System and method for high speed low noise in process hyper spectrum nondestructive evaluation of rapid composite manufacture
JPH0752122B2 (en) Color luminance meter
JP2004077501A (en) Color classification device
JP2718510B2 (en) Inspection method of colored periodic pattern
JPH08105799A (en) Color classification device
EP1082748A1 (en) Plant chlorophyll content imager
JP3657345B2 (en) Film thickness inspection system
JP2001311666A (en) Colorimetric conversion coefficient calculating method and colorimetric image converting method, colorimetric conversion coefficient computing device and colorimetric image converting device, and computer-readable information recording medium with colorimetric conversion coefficient computing program or colorimetric image pickup program recorded thereon
JP4378810B2 (en) Colorimetric conversion coefficient calculation method, colorimetric imaging method, colorimetric conversion coefficient calculation device, colorimetric imaging device, and computer-readable information recording medium recording a colorimetric conversion program
JP3577977B2 (en) Illumination light spectral characteristic estimation device
JP2002350355A (en) Evaluating device, evaluating method for unevenness of gloss and computer-readable storage medium storing program for this method
JPH08114503A (en) Colorimetry device
JP2001165775A (en) Spectrum image sensor
JP2005296434A (en) Method and apparatus for analyzing spectral image
JP2000258348A (en) Defect inspection apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20031201

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050131

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051004

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051202

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061003

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070109

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070703