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

JPH0210462B2 - - Google Patents

Info

Publication number
JPH0210462B2
JPH0210462B2 JP60275450A JP27545085A JPH0210462B2 JP H0210462 B2 JPH0210462 B2 JP H0210462B2 JP 60275450 A JP60275450 A JP 60275450A JP 27545085 A JP27545085 A JP 27545085A JP H0210462 B2 JPH0210462 B2 JP H0210462B2
Authority
JP
Japan
Prior art keywords
color
product
sum
pattern
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP60275450A
Other languages
Japanese (ja)
Other versions
JPS62134778A (en
Inventor
Joji Tajima
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.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP60275450A priority Critical patent/JPS62134778A/en
Publication of JPS62134778A publication Critical patent/JPS62134778A/en
Publication of JPH0210462B2 publication Critical patent/JPH0210462B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、カラーの定型パターン、例えば印刷
された商標マーク、郵便切手などをカラー情報に
より、識別、検出する方法及び装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a method and apparatus for identifying and detecting color regular patterns, such as printed trademark marks, postage stamps, etc., using color information.

(従来の技術) 産業上、カラーパターンを自動的に識別、検出
することがしばしば要請される。例えば郵便物を
自動的に処理する機械装置においては、貼られて
いる郵便切手の種類、枚数を自動的に識別、計数
することにより、適正な料金が支払われているか
どうかを検査し、切手に消印することが要求され
る。切手の位置は従来、良く用いられる普通切手
については色枠のあるデザインとし、この色枠を
検出することによつて認識され、自動的に消印さ
れている。このように、従来は装置に都合の良い
マークをデザインし、これを検出することによつ
て自動化が行われていた。
(Prior Art) In industry, it is often required to automatically identify and detect color patterns. For example, mechanical devices that automatically process mail can automatically identify and count the type and number of postage stamps affixed to check whether the appropriate fee has been paid and stamps. A postmark is required. Conventionally, the position of a stamp is recognized by detecting the color frame of commonly used regular stamps, which are designed with a color frame, and is automatically postmarked. In this way, automation has conventionally been achieved by designing marks convenient for the device and detecting the marks.

(発明が解決しようとする問題点) しかし、検出すべき対象のデザインに制限が加
えられない場合には、以上の方法では問題は解決
されない。切手の場合ではデザインに制限を加え
られない記念切手の位置は検出されず、当然料金
も検査できない。
(Problem to be Solved by the Invention) However, if no restrictions are placed on the design of the object to be detected, the above method will not solve the problem. In the case of stamps, the location of commemorative stamps whose design cannot be restricted cannot be detected, and of course the price cannot be inspected.

本発明は、この問題を解決するためカラーパタ
ーンの色柄そのものを登録されているカラーパタ
ーンと比較することにより識別し、同時に位置も
検出する方法及び装置を提供することを目的とし
ている。
SUMMARY OF THE INVENTION In order to solve this problem, it is an object of the present invention to provide a method and apparatus for identifying the color pattern itself by comparing it with registered color patterns and detecting the position at the same time.

(問題点を解決するための手段) 第1の発明の方法は、入力カラー画像の複数の
画像部分について、異なつた分光感度を持つ複数
のセンサで張られる色空間における画素の色分布
を複数の色彩モーメント値として積算し、該色彩
モーメント値又は色彩モーメント値から計算され
た値を特徴量とし、標準のカラーパターンについ
て与め記憶されている特徴量とのパターン間距離
を求め、該パターン間距離が小さい場合に前記入
力カラー画像中に対応するカラーパターンが検出
されたと判断するように構成される。
(Means for Solving the Problems) The method of the first invention calculates the color distribution of pixels in a color space spanned by a plurality of sensors having different spectral sensitivities for a plurality of image parts of an input color image. The color moment values are integrated as color moment values, and the color moment values or the values calculated from the color moment values are used as feature quantities, and the inter-pattern distances from the feature quantities given and stored for standard color patterns are determined, and the inter-pattern distances are calculated. is small, it is determined that a corresponding color pattern has been detected in the input color image.

第2の発明の装置は、入力カラー画像を走査す
る互いに異なる分光感度を持つ複数のセンサから
得られる画像信号について、各画素値を組み合わ
せて複数の積を計算する演算手段と、それぞれの
積に対して重みをつけ画像部分について加算する
積和手段と、該積和結果を一定時間遅延させる遅
延手段と、前記積和手段の出力である積和結果、
及び、前記遅延手段の出力である一定時間以前の
積和結果を特徴量とし、標準のカラーパターンに
ついて与め記憶されている特徴量とのパターン間
距離を求める距離演算手段と、該距離演算手段に
より得られた距離から、カラーパターンが検出さ
れたことを判定する判定手段とを含んで構成され
る。
The apparatus of the second invention includes arithmetic means for calculating a plurality of products by combining each pixel value with respect to image signals obtained from a plurality of sensors having mutually different spectral sensitivities that scan an input color image; a sum-of-products means for adding weights for image parts; a delay means for delaying the sum-of-products result for a certain period of time; and a sum-of-products result that is the output of the sum of products;
and a distance calculation means for calculating an inter-pattern distance between the product-sum result before a certain time, which is the output of the delay means, as a feature quantity and the feature quantity given and stored for a standard color pattern; and determining means for determining that a color pattern has been detected from the distance obtained.

第3の発明の装置は、入力カラー画像を走査す
る互いに異なる分光感度を持つ複数のセンサから
得られる画像信号について、各画素値を組み合わ
せて複数の積を計算する演算手段と、それぞれの
積に対して重みをつけ画像部分について加算する
積和手段と、該積和結果を一定時間遅延させる遅
延手段と、前記積和手段の出力である積和結果及
び前記遅延手段の出力である一定時間以前の積和
結果に演算を施し、特徴量とする特徴化手段と、
該特徴量と標準のカラーパターンについて与め記
憶されている特徴量とのパターン間距離を求める
距離演算手段と、該距離演算手段により得られた
距離から、カラーパターンが検出されたことを判
定する判定手段とを含んで構成される。
The apparatus of the third invention includes arithmetic means for calculating a plurality of products by combining each pixel value with respect to image signals obtained from a plurality of sensors having mutually different spectral sensitivities that scan an input color image; a product-sum means for adding weights for image parts; a delay means for delaying the product-sum result for a certain period of time; and a product-sum result which is the output of the product-sum means and a certain time before the output of the delay means. a characterization means that performs an operation on the product-sum result and uses it as a feature quantity;
Distance calculation means for calculating the inter-pattern distance between the feature amount and the feature amount given and stored for the standard color pattern, and determining that a color pattern has been detected from the distance obtained by the distance calculation means. and determining means.

(作 用) 本発明の作用は次の通りである。カラー画像の
各画素が複数のセンサで撮像され、デイジタル化
された結果を、f1(x,y),f2(x,y),…,fn
(x,y)とする。ここで、(x,y)は画素位置
を示し、fi(i=1,2,…,n)はセンサのバ
ンドを示す。画素における積Pk(k=1,…,
m)はfiから式(1)のように計算される。
(Function) The function of the present invention is as follows. Each pixel of the color image is captured by multiple sensors and the digitized results are expressed as f 1 (x, y), f 2 (x, y),..., fn
Let it be (x, y). Here, (x, y) indicates the pixel position, and fi (i=1, 2, . . . , n) indicates the band of the sensor. Product Pk (k=1,...,
m) is calculated from fi as in equation (1).

Pk(x,y)=oi=1 fi lik(x,y) (1) ここで巾(ベキ)を示すlikは非負の整数であ
る。m個の積から画素の位置(x0,y0)を中心と
した部分領域Soにおける色分布を知るために、
位置に関して式(2)のように積和処理が行われ、色
彩モーメントが求められる。w(x′,y′)はウエ
イトである。
Pk (x, y) = oi=1 f i lik (x, y) (1) Here, lik indicating the width (power) is a non-negative integer. In order to know the color distribution in the partial area So centered at the pixel position (x 0 , y 0 ) from the m products,
A sum-of-products process is performed on the position as shown in equation (2), and the color moment is determined. w(x', y') is a weight.

Mk(x0,y0)= 〓(x,y)Sow(x‐x0,y‐y0)Pk(x,y) (2) 色彩モーメントは部分領域So内に存在する画
素の色のf1,f2,…,fnで張る色空間における分
布の形を示す。各パターンは複数個の部分領域に
おける色彩モーメントを特徴量として、又は、色
彩モーメントから計算される特徴量により識別さ
れる。部分領域を2個(中心が(x0,y0)及び
(x1,y1)としたとき、特徴量gj(j=1、N;N
=2m)は色彩モーメントそのものとしたとき式
(3)のように書け、 gi=Mj(x0,y0) (j=1,…,m) Mj-n(x1,y1) (j=m+1,…,2m) (3) 特徴量gj=(j=1,…,N)が色彩モーメン
トから計算される場合、式(4)のように書ける。
M k (x 0 , y 0 )= 〓 (x,y)So w (x‐x 0 , y‐y 0 )P k (x, y) (2) The color moment exists within the subregion So It shows the shape of the distribution of pixel colors in the color space spanned by f1, f2, ..., fn. Each pattern is identified using color moments in a plurality of partial regions as feature quantities, or feature quantities calculated from the color moments. When there are two partial regions (centered at (x 0 , y 0 ) and (x 1 , y 1 ), the feature quantity gj (j=1, N; N
= 2m) is the color moment itself.
Write as (3), gi=Mj (x 0 , y 0 ) (j=1,...,m) M jn (x 1 ,y 1 ) (j=m+1,...,2m) (3) Features When gj=(j=1,...,N) is calculated from the color moment, it can be written as equation (4).

gj=gj(M1(x0,y0),…,Mm(x0,y0),M1(x0
y0)…Mm(x1,y1))…(4) N種類のカラーパターンをこれらの特徴量で識
別する場合、第β番目のパターンに関する特徴量
{gjβ}(β=1,…,N)は各パターンにつき与
め学習されており、以上の処理により得られた特
徴量{gj}とは、距離d〓が計算される。特徴量間
の距離の計算方法は通常のパターン認識装置で用
いられる公知の方法でよい。ユークリツド距離で
計算する場合には、 d〓2Nj=1 (gj−gj〓)2 (5) が使われるし、マハラノビス距離で計算する場合
には、 d〓2=(〓)tS-1〓) (6) が使われる。ここで〓はそれぞれ〓を
列ベクトルにしたものであり、Sはカラーパター
ンについて学習された特徴量の共分散行列であ
る。撮像された画像は一般的にはd〓の小さいカラ
ーパターンβに識別される。具体的には、各カラ
ーパターンに対する閾値T〓を設け、 d〓<T〓 (7) の条件を満たした場合に、その撮像位置で、カラ
ーパターンβが検出される。
gj=gj( M1 ( x0 , y0 ),...,Mm( x0 , y0 ), M1 ( x0 ,
y 0 )...Mm(x 1 , y 1 ))...(4) When identifying N types of color patterns using these features, the feature amount regarding the β-th pattern {g j β} (β=1, ..., N) are given and learned for each pattern, and the distance d〓 is calculated from the feature amount {g j } obtained by the above processing. A method for calculating the distance between feature amounts may be a known method used in ordinary pattern recognition devices. When calculating with Euclidean distance, d〓 2 = Nj=1 (gj−gj〓) 2 (5) is used, and when calculating with Mahalanobis distance, d〓 2 = ( g 〓) t S -1 ( gg 〓) (6) is used. Here, g and g are column vectors of g and g , respectively, and S is a covariance matrix of features learned for the color pattern. A captured image is generally identified as a color pattern β with a small d〓. Specifically, a threshold value T〓 is provided for each color pattern, and when the condition d〓<T〓 (7) is satisfied, the color pattern β is detected at that imaging position.

(実施例) 本発明を具体的にした装置の一実施例を以下に
第1図を参照して説明する。ここでは、撮像セン
サは典型的にR(赤)、G(緑)、B(青)の3バン
ドとする。画像1はセンサ2により第1図のよう
に走査され、デイジタル化された3つの信号R,
G,Bが演算手段3に入力される。演算手段3は
式(1)の積を画素毎に計算する。例ではR1G0B0
結果としてR、同じくR0G1B0及びR0G0B1の結果
としてG,B、以下R2及びG,Bの5つの値が
信号として演算手段3から出力されている。各信
号はそれぞれの積和手段4に入力される。積和手
段4は第2図に示すように、各入力画素の信号に
一定の重みw(i,j)を与え、入力の走査が第
3図の△の位置迄進んだときに×印で示す画素群
に重みをつけて加算してた結果を出力する。次の
画素走査時点では□印で示す画素群に第2図の重
みをつけて加算された結果が出力される。重みw
(i,j)は画像部分の色を幾分大域的に計測し、
安定性を増すためのもので、例えば第4図にその
断面を示すような正規分布函数30を離散的に近似
した形31が用いられる。
(Example) An example of an apparatus embodying the present invention will be described below with reference to FIG. Here, the image sensor typically has three bands: R (red), G (green), and B (blue). Image 1 is scanned by sensor 2 as shown in FIG. 1, and three digitized signals R,
G and B are input to the calculation means 3. The calculation means 3 calculates the product of equation (1) for each pixel. In the example, R is the result of R 1 G 0 B 0 , G and B are the results of R 0 G 1 B 0 and R 0 G 0 B 1 , and the following five values R 2 and G and B are used as signals for calculation means. It is output from 3. Each signal is input to the respective product-sum means 4. As shown in FIG. 2, the product-sum unit 4 gives a constant weight w(i, j) to the signal of each input pixel, and when the input scan advances to the position △ in FIG. The result of adding weights to the indicated pixel group is output. At the time of the next pixel scan, the result of adding the weights shown in FIG. 2 to the pixel group indicated by □ is output. weight lol
(i, j) measures the color of the image part somewhat globally,
This is to increase stability, and for example, a shape 31 that discretely approximates a normal distribution function 30, the cross section of which is shown in FIG. 4, is used.

即ち、色彩モーメントは、 M1(x0,y0)= 〓(x,y)Sow(x‐x0,y‐y0)・R(x,y) M2(x0,y0)= 〓(x,y)Sow(x‐x0,y‐y0)・G(x,y) M3(x0,y0)= 〓(x,y)SoW(x‐x0,y‐y0)・B(x,y) M4(x0,y0) 〓(x,y)So(wx‐x0,y‐y0)・R2(x,y) M5(x0,y0) 〓(x,y)Sow(x−x0,y−y0) ・G(x,y)・B(x,y) (8) のように得られる。 That is, the color moment is M 1 (x 0 , y 0 )= 〓 (x, y)So w (x‐x 0 , y‐y 0 )・R (x, y) M 2 (x 0 , y 0 )= 〓 (x,y)So w (x‐x 0 , y‐y 0 )・G (x, y) M 3 (x 0 , y 0 )= 〓 (x,y)So W ( x‐x 0 , y‐y 0 )・B(x,y) M 4 (x 0 ,y 0 ) 〓 (x,y)So (wx‐x 0 ,y‐y 0 )・R 2 (x , y) M 5 (x 0 , y 0 ) 〓 (x,y)So w(x−x 0 ,y−y 0 )・G(x,y)・B(x,y) (8) obtained as follows.

積和手段で得られた各積和出力は、それぞれ遅
延手段5により、何段階か(第1図では3段階)
遅らされる。そのため、遅らされていない積和出
力41が第5図に示す(x0,y0)を中心とする部
分領域51の色分布を表わしているとき、1段遅
らされた積和出力42は同じく(x1,y1)を中心
とする部分領域52、2段遅らされた積和出力4
3は同じく(x2,y2)を中心とする部分領域5
3、3段遅らされた積和出力44は同じく(x3
y3)を中心とする部分領域54の色分布を表わし
ていることになる。これらの色彩モーメントを
M1(x1,y1),M2(x1,y1),…,M1(x2,y2),
…,M5(x3,y3)と表わす。特徴化手段6は、こ
れらの色彩モーメントから特徴量を演算するの
で、出力として画像の4つの部分領域の色分布を
基にした特徴量が得られる。特徴量としては色彩
モーメントをそのまま g1=M1(x0,y0),g2=…,g5=M5(x0,y0) g6=M1(x1,y1),g7=…,g10=M5(x1,y1) g16=M1(x3,y3),g17=…,g20=M5(x3,y3) …(9) としてもよいが、この場合、特徴化手段6は省略
できる。実用的には、画像取得の際の照明光の変
動を考慮し、全体のセンサ出力を正規化し、ま
た、二次のモーメントは色空間における分散、共
分散などの直感的統計量に合わせ次のようにする
ことができる。
Each product-sum output obtained by the product-sum means is processed by the delay means 5 in several stages (three stages in FIG. 1).
be delayed. Therefore, when the undelayed product-sum output 41 represents the color distribution of the partial area 51 centered at (x 0 , y 0 ) shown in FIG. is also the partial region 52 centered at (x 1 , y 1 ), and the product-sum output 4 delayed by two stages.
3 is also a partial area 5 centered at (x 2 , y 2 )
The sum-of-products output 44 delayed by 3 and 3 stages is also (x 3 ,
This represents the color distribution of the partial area 54 centered at y 3 ). These color moments
M 1 (x 1 , y 1 ), M 2 (x 1 , y 1 ),..., M 1 (x 2 , y 2 ),
…, M 5 (x 3 , y 3 ). Since the characterization means 6 calculates feature quantities from these color moments, feature quantities based on the color distributions of the four partial regions of the image are obtained as output. As for the feature quantity, the color moment is as it is, g 1 = M 1 (x 0 , y 0 ), g 2 =..., g 5 = M 5 (x 0 , y 0 ) g 6 = M 1 (x 1 , y 1 ) , g 7 =…, g 10 = M 5 (x 1 , y 1 ) g 16 = M 1 (x 3 , y 3 ), g 17 =…, g 20 = M 5 (x 3 , y 3 ) …( 9), but in this case, the characterization means 6 can be omitted. In practice, the overall sensor output is normalized by taking into account the variations in illumination light during image acquisition, and the second-order moment is adjusted to the following intuitive statistics such as variance and covariance in the color space. You can do it like this.

g1=M1(x0,y0)/1,g2=M2(x0,y0)/2
, g3=M2(x0,y0)/3,g4={M4(x0,y0)−M
1 2(x0,y0)/1 2 g5={M5(x0,y0)−M2(x0,y0)・M3(x0,y0
)/1,)3 g6=M1(x1,y1)/1,g7=M2(x1,y1)/2
, g8=M3(x1,y1)/3 g9={M4(x1,y1)−M1 2(x1,y1)/1 2 g10={M5(x1,y1)−M2(x1,y1)・M3(x1,y
1)/23) g11=M1(x2,y2)/1,g12=M2(x2,y2)/
2, g13=M3(x2,y2)/3 g14={M4(x2,y2)−M1 2(x2,y2)/1 2 g15={M5(x2,y2)−M2(x2,y2)・M3(x2,y
2)/(23) g16={M4(x3,y3)−M1 2(x3,y3)/1 2 g17={M5(x3,y3)−M2(x3,y3)・M3(x3,y
3)/(23)…(10) g18=M1/(123),g19=M2/(12
3), 但し、i=1,2,3について、 i=1/4(Mi(x0,y0)+Mi(x1,y1)+Mi(x2
y2)+Mi(x3,y3)} である。
g 1 = M 1 (x 0 , y 0 )/ 1 , g 2 = M 2 (x 0 , y 0 )/ 2
, g 3 = M 2 (x 0 , y 0 )/ 3 , g 4 = {M 4 (x 0 , y 0 )−M
1 2 (x 0 , y 0 ) / 1 2 g 5 = {M 5 (x 0 , y 0 )−M 2 (x 0 , y 0 )・M 3 (x 0 , y 0
)/ 1 ,) 3 g6 = M1 ( x1 , y1 )/ 1 , g7 = M2 ( x1 , y1 )/ 2
, g 8 = M 3 (x 1 , y 1 ) / 3 g 9 = {M 4 (x 1 , y 1 ) − M 1 2 (x 1 , y 1 ) / 1 2 g 10 = {M 5 (x 1 , y 1 )−M 2 (x 1 , y 1 )・M 3 (x 1 , y
1 )/ 23 ) g 11 = M 1 (x 2 , y 2 )/ 1 , g 12 = M 2 (x 2 , y 2 )/
2 , g 13 = M 3 (x 2 , y 2 ) / 3 g 14 = {M 4 (x 2 , y 2 ) − M 1 2 (x 2 , y 2 ) / 1 2 g 15 = {M 5 ( x 2 , y 2 )−M 2 (x 2 , y 2 )・M 3 (x 2 , y
2 ) / ( 23 ) g 16 = {M 4 (x 3 , y 3 ) − M 1 2 (x 3 , y 3 ) / 1 2 g 17 = {M 5 (x 3 , y 3 ) − M 2 (x 3 , y 3 )・M 3 (x 3 , y
3 )/( 23 )...(10) g18 = M1 /( 1 + 2 + 3 ), g19 = M2 /( 1 + 2 +
3 ), However, for i=1, 2, 3, i=1/4(Mi(x 0 , y 0 )+Mi(x 1 ,y 1 )+Mi(x 2 ,
y 2 ) + Mi (x 3 , y 3 )}.

距離演算手段7は特徴量{gj)について式(5)ま
たは式(6)により学習のフエーズで標準パターンに
ついて記録されている各パターンβとの距離d〓を
計算する。判定手段8は各カラーパターンに対す
る閾値T〓とd〓とを比較し、 d〓<T〓 (11) を満たしたとき、カラーパターンβが検出された
と判断する。
The distance calculation means 7 calculates the distance d〓 between the feature quantity {gj) and each pattern β recorded for the standard pattern in the learning phase using equation (5) or equation (6). The determining means 8 compares the threshold value T〓 and d〓 for each color pattern, and determines that the color pattern β has been detected when d〓<T〓 (11) is satisfied.

(発明の効果) 以上に述べた構成をとることによりカラー画像
から与め学習されたカラーパターンを検出するこ
とができる。実施例に述べた重みw(i,j)に
よる積和の範囲は、小さい場合、画像の位置ずれ
などに対して非常に敏感となり実用的でない。対
象に合わせて大きい範囲をとる必要がある。色彩
モーメントは実施例では5種類のみ計算している
が必要に応じて2次,3次,…のモーメントを任
意に用いることができ、多くする程識別の精度は
高まる。また、色彩分布を求める部分領域の個数
についても同様で、実施例では4個となつている
が、遅延手段4の段数を増すことにより識別の精
度を増すことができる。
(Effects of the Invention) By adopting the configuration described above, it is possible to detect a color pattern given and learned from a color image. If the range of product sums based on the weights w(i, j) described in the embodiment is small, it becomes extremely sensitive to image positional deviations and is not practical. It is necessary to take a large range depending on the target. In the embodiment, only five types of color moments are calculated, but any second-order, third-order, etc. moment can be used as needed, and the more the color moment is, the higher the accuracy of identification will be. The same goes for the number of partial areas for which the color distribution is to be determined; in the embodiment, the number is four, but the accuracy of identification can be increased by increasing the number of stages of the delay means 4.

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

第1図は本発明の典型的な実施例を示すブロツ
ク図、第2図は実施例の積和手段に用いられるウ
エイの説明図、第3図は同じくセンサによる画像
の走査にともなう積和の位置の変化を示す説明
図、第4図はウエイトの形の例、第5図は色彩分
布が求められる部分領域の位置関係の例を示す説
明図である。 1…画像、2…センサ、3…演算手段、4…積
和手段、5…遅演手段、6…特徴化手段、7…距
離演算手段、8…判定手段。
FIG. 1 is a block diagram showing a typical embodiment of the present invention, FIG. 2 is an explanatory diagram of a way used in the product-sum means of the embodiment, and FIG. FIG. 4 is an explanatory diagram showing a change in position, FIG. 4 is an explanatory diagram showing an example of the shape of weights, and FIG. 5 is an explanatory diagram showing an example of the positional relationship of partial areas for which color distribution is determined. DESCRIPTION OF SYMBOLS 1... Image, 2... Sensor, 3... Calculating means, 4... Product-sum means, 5... Delay means, 6... Characterizing means, 7... Distance calculating means, 8... Judging means.

Claims (1)

【特許請求の範囲】 1 入力カラー画像の複数の画像部分について、
異なつた分光感度を持つ複数のセンサで張られる
色空間における画素の色分布を複数の色彩モーメ
ント値として積算し、該色彩モーメント値又は色
彩モーメント値から計算された値を特徴量とし、
標準のカラーパターンについて与め記憶されてい
る特徴量とのパターン間距離を求め、該パターン
間距離が小さい場合に前記入力カラー画像中に対
応するカラーパターンが検出されたと判断するこ
とを特徴とするカラーパターン検出方法。 2 入力カラー画像を走査する互いに異なる分光
感度を持つ複数のセンサから得られる画像信号に
ついて、各画素値を組み合わせて複数の積を計算
する演算手段と、それぞれの積に対して重みをつ
け画像部分について加算する積和手段と、該積和
結果を一定時間遅延させる遅延手段と、前記積和
手段の出力である積和結果、及び、前記遅延手段
の出力である一定時間以前の積和結果を特徴量と
し、標準のカラーパターンについて与め記憶され
ている特徴量とのパターン間距離を求める距離演
算手段と、該距離演算手段により得られた距離か
ら、カラーパターンが検出されたことを判定する
判定手段とを含み、前記センサから得られた画像
信号から、既知のカラーパターンを検出すること
を特徴とするカラーパターン検出装置。 3 入力カラー画像を走査する互いに異なる分光
感度を持つ複数のセンサから得られる画像信号に
ついて、各画素値を組み合わせて複数の積を計算
する演算手段と、それぞれの積に対して重みをつ
け画像部分について加算する積和手段と、該積和
結果を一定時間遅延させる遅延手段と、前記積和
手段の出力である積和結果及び前記遅延手段の出
力である一定時間以前の積和結果に演算を施こ
し、特徴量とする特徴化手段と、該特徴量と標準
のカラーパターンについて与め記憶されている特
徴量とのパターン間距離を求める距離演算手段
と、該距離演算手段により得られた距離から、カ
ラーパターンが検出されたことを判定する判定手
段とを含み、前記センサから得られた画像信号か
ら、既知のカラーパターンを検出することを特徴
とするカラーパターン検出装置。
[Claims] 1. Regarding a plurality of image parts of an input color image,
integrating the color distribution of pixels in a color space spanned by a plurality of sensors with different spectral sensitivities as a plurality of color moment values, and using the color moment values or values calculated from the color moment values as feature quantities;
The method is characterized in that the inter-pattern distance between the standard color pattern and the stored feature quantity is determined, and if the inter-pattern distance is small, it is determined that the corresponding color pattern has been detected in the input color image. Color pattern detection method. 2 Calculating means for calculating multiple products by combining each pixel value with respect to image signals obtained from multiple sensors having mutually different spectral sensitivities that scan an input color image, and calculating means for calculating multiple products by combining each pixel value, and weighting for each product to determine the image portion. a product-sum means for adding the sum of products, a delay means for delaying the product-sum result for a certain period of time, a product-sum result that is the output of the product-sum means, and a product-sum result that is the output of the delay means before a certain time. Distance calculation means for determining the inter-pattern distance between the feature amount and the feature amount given and stored for the standard color pattern, and determining that the color pattern has been detected from the distance obtained by the distance calculation means. 1. A color pattern detection device, comprising: a determining means, and detects a known color pattern from an image signal obtained from the sensor. 3 Calculating means for calculating multiple products by combining each pixel value with respect to image signals obtained from a plurality of sensors having mutually different spectral sensitivities that scan an input color image, and a calculation means for calculating multiple products by combining each pixel value, and weighting each product to determine the image portion. a product-sum means for adding the sum of products, a delay means for delaying the product-sum result for a certain period of time, and a product-sum result that is an output of the product-sum means and a product-sum result that is an output of the delay means before a certain period of time. a characterization means for determining a feature quantity, a distance calculation means for calculating a pattern distance between the feature quantity and a feature quantity given and stored for a standard color pattern, and a distance obtained by the distance calculation means. 1. A color pattern detection device, comprising: determination means for determining whether a color pattern has been detected from the sensor, and detects a known color pattern from an image signal obtained from the sensor.
JP60275450A 1985-12-06 1985-12-06 Method and device for detecting color pattern Granted JPS62134778A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60275450A JPS62134778A (en) 1985-12-06 1985-12-06 Method and device for detecting color pattern

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60275450A JPS62134778A (en) 1985-12-06 1985-12-06 Method and device for detecting color pattern

Publications (2)

Publication Number Publication Date
JPS62134778A JPS62134778A (en) 1987-06-17
JPH0210462B2 true JPH0210462B2 (en) 1990-03-08

Family

ID=17555695

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60275450A Granted JPS62134778A (en) 1985-12-06 1985-12-06 Method and device for detecting color pattern

Country Status (1)

Country Link
JP (1) JPS62134778A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3052592B2 (en) * 1992-08-21 2000-06-12 松下電器産業株式会社 Light source estimation device
US7085004B2 (en) * 2000-11-29 2006-08-01 Xerox Corporation Calibration system for document processing system including visual layout validation for target measurements
CN111006731B (en) * 2019-12-10 2021-07-13 海默潘多拉数据科技(深圳)有限公司 An intelligent measurement method of oil well flow based on multiphase flowmeter

Also Published As

Publication number Publication date
JPS62134778A (en) 1987-06-17

Similar Documents

Publication Publication Date Title
EP0294497B1 (en) Apparatus for identifying postage stamps
US5138667A (en) Process and device for detecting print registration marks on a web from a multi-color printing press
CA1100640A (en) Document sorter utilizing cascaded sorting steps
US20110262036A1 (en) Method and system for item identification
EP0689173A3 (en) Self-scanning checkout apparatus having article passage detecting sensor
JPH10283446A (en) Multicolor recording type matrix code recording sheet
CN115947066B (en) Belt tear detection method, device and system
US5970166A (en) System or method for identifying contents of a semi-opaque envelope
JPH0210462B2 (en)
DE102014225825B4 (en) Commodity sales data processing device
US5907643A (en) Image processing apparatus
JPH06201611A (en) Defect detection method for sheet-like printed matter
JPS6488214A (en) Shop system
JP3180976B2 (en) Apparatus for determining the degree of contamination of printed matter
JP6838651B2 (en) Image processing equipment, image processing methods and programs
JP2002036513A (en) Print inspection equipment
JPH06242039A (en) Gas identifying system
JPH11125557A (en) Inspection device
KR101557421B1 (en) Method and Apparatus for Identifying Money
CN114993442A (en) Electronic scale with wireless communication function
JP2786216B2 (en) Picture area ratio measuring device
JPH04339653A (en) Apparatus for inspecting printing fault
Pham et al. Fuzzy analysis of color images of fruits
JP3117395B2 (en) Image contrast detector
JPH0670590B2 (en) Color order determination method

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term