JPH05237213A - Image processing method and device for 'go' game device - Google Patents

Image processing method and device for 'go' game device

Info

Publication number
JPH05237213A
JPH05237213A JP7557392A JP7557392A JPH05237213A JP H05237213 A JPH05237213 A JP H05237213A JP 7557392 A JP7557392 A JP 7557392A JP 7557392 A JP7557392 A JP 7557392A JP H05237213 A JPH05237213 A JP H05237213A
Authority
JP
Japan
Prior art keywords
image
stone
board
image signal
neural network
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
JP7557392A
Other languages
Japanese (ja)
Inventor
Toyoji Hatano
豊治 波多野
Jiyuuichi Ono
充一 小野
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.)
Misawa Homes Co Ltd
Original Assignee
Misawa Homes 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 Misawa Homes Co Ltd filed Critical Misawa Homes Co Ltd
Priority to JP7557392A priority Critical patent/JPH05237213A/en
Publication of JPH05237213A publication Critical patent/JPH05237213A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To determine whether an intersection zone in a panel surface is unchanged, of whether a white or black stone is placed on with high precision even a game is played at an optional place where brightness of the panel surface may be changed partially or by time in forming 'go' pattern data based on image signal for the panel surface of a 'go' panel taken by an image pick-up device. CONSTITUTION:Image signals of a panel surface 2a detected by a CCD camera 3 are stored in an image memory 14, A specified number of image signals within a sampling zone smaller than a stone around an intersection in the panel surface 2a are read from the image memory 14 to normalize a level and supply it to a neutral network 15. Whether the sampling zone is the panel surface 2a, or a black or white stone, is determined by the neutral network 15, and 'go' pattern data are formed based on addresses of intersections in the image memory 14 and result of determination by the neutral network 15 for the sampling zone.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、碁盤の盤面を撮像する
ことにより石位置及び石の白黒を判断して棋譜データを
作成するための囲碁装置の画像処理方法及び装置に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method and apparatus for a Go device for imaging a board surface of a board to determine the stone position and the black and white of the stone to create game data.

【0002】[0002]

【従来の技術】特開昭62−127081号公報によれ
ば、実際の対局の雰囲気を出せるように、ロボットを用
いて碁盤上で遠隔対局できる装置が周知であり、相手方
のロボットには、碁盤を撮像した画像信号を基に打たれ
た石の位置及び白黒を判断して作成した棋譜データを送
信している。
2. Description of the Related Art According to Japanese Unexamined Patent Publication No. 62-127081, there is known a device capable of remotely playing a game on a board using a robot so as to give an actual playing atmosphere. The game record data created by judging the position and the black and white of the struck stone based on the image signal of the captured image is transmitted.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、これら
の判断は、画像信号のレベルを許容範囲を持たせてレベ
ル弁別することを基に行っているために、部屋の照明を
特別に配慮するのが前提となる。また、部屋の明るさを
基準状態に設定しても数時間続けると、自然に変化する
室外の明るさの影響を受けたり、人影が生じた場合、誤
判断される問題が残されている。さらに、盤面の反射状
態或はその罫線が傷ついたり、剥げたり、汚れて画像信
号が変化しても、誤判断につながる可能性があった。つ
まり、単に画像信号から罫線パターンを解析したり、或
は白黒を弁別する棋譜データの作成方法では、特に通常
の部屋で対局する場合、信頼性を欠く問題があった。
However, since these judgments are made on the basis of the level discrimination of the image signal level with an allowable range, it is necessary to give special consideration to room lighting. It is a prerequisite. Further, even if the room brightness is set to the standard state, if it is continued for several hours, the brightness of the room is affected by the outdoor brightness that changes naturally, or if there is a human figure, there is a problem that an erroneous determination is made. Furthermore, even if the image signal changes due to scratches, peeling off, or dirt of the reflection state of the board surface or its ruled lines, there is a possibility that it may lead to erroneous judgment. That is, there is a problem in that the method of creating a game record data that simply analyzes a ruled line pattern from an image signal or discriminates black and white is unreliable especially when playing a game in an ordinary room.

【0004】本発明は、このような点に鑑みて、碁盤の
盤面を撮像装置で撮像することにより検出された画像信
号から石位置及び石の白黒を判断して棋譜データを作成
するための囲碁学習装置又は対局装置或は遠隔の相手に
応手させる囲碁装置の画像処理方法及び装置において、
盤面の明るさが全体的又は部分的に或は時間に変化する
可能性のある任意の場所で対局しても、盤面の交点領域
が盤面のままであるか或は白石又は黒石を打たれたかを
高精度に判断させることを目的とする。
In view of such a point, the present invention determines the stone position and the black and white of the stone from the image signal detected by picking up the board surface of the board with the image pickup device to generate the game data. An image processing method and device for a learning device, a game device, or a go device that allows a remote partner to respond,
Whether the intersection area of the board remains the board or is struck by a white stone or a black stone, even if it is played in any place where the brightness of the board may change in whole or in part or over time. The purpose is to make the judgment with high accuracy.

【0005】[0005]

【課題を解決するための手段】本発明は、碁盤の盤面を
撮像装置で撮像することにより検出された画像信号から
石位置及び石の白黒を判断して棋譜データを作成するた
めの囲碁装置の画像処理方法において、前述の目的を達
成するために、請求項1により、撮像装置で検出した盤
面の画像信号を画像メモリに格納し、盤面の交点周辺に
おける石よりも小さなサンプリング領域内の所定数の画
像信号を画像メモリから読出してニューラルネットワー
クにレベルを正規化して供給し、ニューラルネットワー
クにサンプリング領域が盤面又は黒石又は白石のいずれ
であるかを判断させ、画像メモリの交点のアドレス及び
このアドレス周辺のサンプリング領域に対するニューラ
ルネットワークの判断結果より棋譜データを作成するこ
とを特徴とする。判断精度を向上させるためには、請求
項2により、画像信号をニューラルネットワークにレベ
ルを正規化して供給するのに先立って、盤面の罫線又は
黒石の画像信号レベルに対して盤面の地色の画像信号レ
ベルを高くするコントラスト処理を行うのが好ましい。
SUMMARY OF THE INVENTION The present invention relates to a go device for creating game data by determining a stone position and stone black and white from an image signal detected by imaging the board surface of a board with an image pickup device. In order to achieve the above-mentioned object in an image processing method, according to claim 1, the image signal of the board detected by the image pickup device is stored in an image memory, and a predetermined number within a sampling area smaller than stones around the intersection of the board is stored. The image signal of is read from the image memory and the level is normalized and supplied to the neural network, and the neural network is made to judge whether the sampling area is the board surface, black stone or white stone, and the address of the intersection of the image memory and the vicinity of this address. It is characterized in that the game data is created from the judgment result of the neural network for the sampling area of. In order to improve the judgment accuracy, according to claim 2, before the image signal is supplied to the neural network with its level being normalized, the image of the ground color of the board surface with respect to the image signal level of the ruled line or black stone of the board surface is provided. It is preferable to perform a contrast process for increasing the signal level.

【0006】このような方法を実施する装置としては、
請求項3により、撮像装置で検出された盤面の画像信号
を格納する画像メモリと、所定数の画像信号を入力と
し、これらの画像信号領域が盤面又は黒石又は白石のい
ずれであるかを判断するニューラルネットワークと、画
像メモリにおける盤面の罫線の交点周辺における石より
も小さなサンプリング領域内の所定数の画像信号を読出
して、ニューラルネットワークに整合する基準レベル段
階にレベル正規化処理を行ってニューラルネットワーク
に供給する画像信号制御手段とを備え、画像メモリの交
点アドレス及びこの交点アドレス周辺のサンプリング領
域に対するニューラルネットワークの判断結果を棋譜デ
ータとする。
As an apparatus for carrying out such a method,
According to claim 3, an image memory for storing the image signal of the board detected by the image pickup device and a predetermined number of image signals are input, and it is determined whether these image signal areas are the board or black stone or white stone. A predetermined number of image signals within a sampling area smaller than a stone around the intersection of the ruled line on the board in the image memory and the neural network are read out, and level normalization processing is performed at the reference level stage that matches the neural network to create a neural network. Image data control means for supplying the image data is provided, and the judgment result of the neural network for the intersection address of the image memory and the sampling area around this intersection address is used as game record data.

【0007】[0007]

【作用】撮像装置で検出した盤面の画像信号を画像メモ
リに格納する。このメモリから盤面交点周囲のサンプリ
ング領域の画像信号を読出してニューラルネットワーク
に供給する。ニューラルネットワークは、予め盤面の明
るさ、明るさのむら、置いた石のばらつき、罫線の傷み
又は汚れ等種々の盤面状態を種々想定して学習させてお
くことにより、所定数の画像信号を基に盤面のままであ
るか又は黒石又は白石であるかを判断する。その際、盤
面の罫線又は黒石の画像信号レベルに対して盤面の地色
の画像信号レベルを高くすると、黒色と黄色の弁別、即
ち罫線パターン、延いては黒石及び白石も確実に判断さ
れる。
The image signal of the board detected by the image pickup device is stored in the image memory. The image signal of the sampling area around the intersection of the board surfaces is read from this memory and supplied to the neural network. The neural network learns various board conditions such as the brightness of the board surface, uneven brightness, variation of stones placed, scratches or stains on ruled lines, and learns them based on a predetermined number of image signals. Judge whether it is the surface of the board, black stone or white stone. At this time, when the image signal level of the ground color of the board is made higher than the image signal level of the ruled line of the board or the black stone, the black and yellow discrimination, that is, the ruled line pattern, and thus the black stone and the white stone are surely judged.

【0008】[0008]

【実施例】図1は、本発明の一実施例による囲碁装置の
画像処理方法を実施する装置の概略の外観構成及び内蔵
する回路部分の構成を示す。テーブル1には、通常の碁
盤2が配置されており、その一方側端部1aに対局者が
着座し、反対側には相手となるロボット4及び白石及び
黒石の碁笥5、5aが配置されている。ロボット4は、
アーム4aの先端部に碁石把持装置4bを備えることに
より、石を打ったり、上げたりする。さらに、この反対
側端部には、碁盤2の盤面2aを撮像するCCDカメラ
3が取付けられており、テーブル1内に画像処理装置1
0及びロボット制御装置20が収納されている。CCD
カメラ3はオートアイリス機能を備えており、手動で絞
り量を調整可能であると共に、明るさ指示信号に応答し
て所定の平均画像信号レベルを保持するように、絞り量
が自動制御可能になっている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a schematic external structure of a device for carrying out an image processing method for a Go device according to an embodiment of the present invention and a structure of a built-in circuit portion. A normal board 2 is arranged on the table 1, a player sits on one end 1a of the board, and the opposite robot 4 and white and black stone bowls 5 and 5a are arranged on the opposite side. There is. Robot 4
By providing the go stone gripping device 4b at the tip of the arm 4a, a stone is hit or raised. Further, a CCD camera 3 for picking up an image of the board surface 2a of the board 2 is attached to the opposite end, and the image processing apparatus 1 is installed in the table 1.
0 and the robot controller 20 are stored. CCD
The camera 3 has an auto iris function, and the aperture amount can be manually adjusted, and the aperture amount can be automatically controlled so as to maintain a predetermined average image signal level in response to the brightness instruction signal. There is.

【0009】画像処理装置10は、CCDカメラ3の画
像信号をディジタル化するA/Dコンバータ16と、R
OM12に格納されたプログラムに従い動作し、かつ作
業領域用RAM13が付属したCPU11と、CCDカ
メラ3の1画面分の画像信号を格納する画像メモリ14
と、盤面2aの各交点周辺のサンプリング領域が盤面の
まま又は黒石又は白石のいずれであるかを判断するニュ
ーラルネットワーク15等を備えている。
The image processing apparatus 10 includes an A / D converter 16 for digitizing an image signal from the CCD camera 3 and an R / D converter 16.
A CPU 11 that operates according to a program stored in the OM 12 and that has a work area RAM 13 attached thereto, and an image memory 14 that stores an image signal for one screen of the CCD camera 3.
And a neural network 15 for determining whether the sampling area around each intersection of the board 2a is the board surface, black stone, or white stone.

【0010】これにより、CPU11は、ROM12、
RAM13等と協働して、図2に機能ブロック図として
示すように、画像メモリ14の各サンプリング領域の所
定数の画素の画像信号を順に読出して、盤面2aの罫線
又は黒石の画像信号レベルに対して盤面2aの地色の画
像信号レベルを高くするコントラスト処理部11a及び
コントラスト処理された画像信号をニューラルネットワ
ーク15に整合する基準レベル段階のいずれかに割り当
てるレベル正規化処理部11bを有する画像信号制御手
段11cを構成している。即ち、CPU11は、コント
ラスト処理のために、1画面分の画像信号を取込む際
に、最大及び最小の画像信号レベルを検出し、これらの
最大・最小レベル間の盤面2aの地色の画像信号レベル
近辺の中間レベルを相対的に高くするレベル補正式を作
成しておく。そして、図3に示す交点8或は星交点、隅
のL交点及び周辺のT交点を中心とした碁石9よりも小
さく、かつ星マークよりも充分大きなサンプリング領域
8a内の画素に相当する例えば6×6個の画像信号を順
に読出す。因に、CCDカメラ3から見たサンプリング
領域8aの大きさ及び罫線パターンは、盤面2aの位置
とCCDカメラ3との距離の変化に相応して変化する。
さらに、読出した画像信号は前述のレベル補正式に従
い、コントラスト処理を行う。続いて、コントラスト処
理された画像信号レベルを0〜1間の100段階に正規
化してニューラルネットワーク15の入力レベル条件に
整合させる。CPU11は、ROM12、RAM13等
と協働して、ニューラルネットワーク15の入出力制御
手段15a(図2)も構成する。
As a result, the CPU 11 causes the ROM 12,
In cooperation with the RAM 13 and the like, as shown as a functional block diagram in FIG. 2, the image signals of a predetermined number of pixels in each sampling area of the image memory 14 are sequentially read out to obtain the ruled line of the board 2a or the image signal level of black stone. On the other hand, an image signal having a contrast processing unit 11a for increasing the image signal level of the ground color of the board 2a and a level normalization processing unit 11b for allocating the contrast-processed image signal to any one of reference level steps matching the neural network 15. It constitutes the control means 11c. That is, the CPU 11 detects the maximum and minimum image signal levels when capturing an image signal for one screen for the contrast processing, and the background color image signal of the board 2a between these maximum and minimum levels. A level correction formula that relatively raises the intermediate level near the level is created. Then, the intersection 8 or the star intersection, the corner L intersection and the peripheral T intersection shown in FIG. 3 are smaller than the Go stone 9 and are sufficiently larger than the star mark, which corresponds to a pixel in the sampling area 8a, for example, 6 × 6 image signals are sequentially read. Incidentally, the size of the sampling area 8a and the ruled line pattern viewed from the CCD camera 3 change according to the change in the distance between the position of the board 2a and the CCD camera 3.
Further, the read image signal is subjected to contrast processing according to the level correction formula described above. Then, the contrast-processed image signal level is normalized into 100 levels between 0 and 1 to match the input level condition of the neural network 15. The CPU 11 also cooperates with the ROM 12, RAM 13, etc. to configure the input / output control means 15a (FIG. 2) of the neural network 15.

【0011】また、CPU11は、ROM12、RAM
13等と協働して、CCDカメラ3の絞り量を制御する
明るさ指示信号発生手段11d及び交点アドレス解析手
段11eも構成する。即ち、図1に示すように、使用場
所に設置されたテーブル1に、碁盤2、ロボット4及び
白黒の碁笥5、5a及びCCDカメラ3をセットした状
態で、盤面2aに予め定めたパターンで白黒の石を置い
てCCDカメラ3で撮像して、絞り量を徐々に開く。そ
して、ニューラルネットワーク15が正規に判断する絞
り範囲を確認した後、その中間値に絞りを設定した状態
での盤面2aの全画像の信号レベルの平均値に相当する
明るさ指示信号をROM12に格納しておく。使用時に
は、読出した明るさ指示信号をCCDカメラ3に送出し
て基準値として自動絞り制御を行わせる。さらに、電源
投入時に、盤面2aの画像信号を取込んで、罫線パター
ンを解析して、画像メモリ14の361個の交点のアド
レスを決定しておく。
The CPU 11 includes a ROM 12 and a RAM.
The brightness instruction signal generating means 11d and the intersection address analyzing means 11e for controlling the diaphragm amount of the CCD camera 3 are also configured in cooperation with the camera 13 and the like. That is, as shown in FIG. 1, with the board 2, the robot 4, the black and white bowls 5 and 5a, and the CCD camera 3 set on the table 1 installed at the place of use, the board surface 2a is monochrome with a predetermined pattern. The stone is placed, the image is taken by the CCD camera 3, and the aperture amount is gradually opened. Then, after confirming the aperture range that the neural network 15 normally determines, the ROM 12 stores the brightness instruction signal corresponding to the average value of the signal levels of all the images on the board 2a with the aperture set to the intermediate value. I'll do it. At the time of use, the read brightness instruction signal is sent to the CCD camera 3 to perform automatic aperture control as a reference value. Further, when the power is turned on, the image signal of the board 2a is fetched, the ruled line pattern is analyzed, and the addresses of 361 intersections of the image memory 14 are determined.

【0012】ニューラルネットワーク15は、入力層と
して画素数6×6に相当する個数のユニットを備え、出
力層として黒石、白石及び盤面の3種類の出力データを
送出する2個のユニットを備えると共に、盤面2aの通
常の+交点、星交点、L交点及びT交点のパターン認識
並びにこれらに置かれた石及び白黒の識別を確実に行わ
せるバックプロパゲーションによる学習機能を備えるよ
うに、これらの入出力層間に中間層が接続している。即
ち、各交点の形状、石の置き位置、周囲の明るさ、明る
さのむら、部分的に発生する可能性のある影等を種々変
化させ、さらに石を種々のパターンで交点に置き又その
位置を僅かにばらつかせることにより、想定される1、
000近く乃至数1、000程度の盤面状態をシュミレ
ートして撮像し、その都度ニューラルネットワーク15
への6×6個のコントラスト処理及びレベル正規化され
た入力信号に対して、3種類のうちいずれかの教師信号
を与えて正規の出力信号が得られるようにバックプロバ
ゲーションにより学習させておく。
The neural network 15 has as many units as the input layer corresponding to the number of pixels of 6 × 6, and has as output layers two units for transmitting three kinds of output data of black stone, white stone and board. Input / output of these so that the normal + intersection, star intersection, L intersection, and T intersection pattern recognition on the board 2a and the stones and black and white placed on them are surely identified by backpropagation. An intermediate layer is connected between the layers. That is, the shape of each intersection, the placement position of the stone, the surrounding brightness, the uneven brightness, the shadow that may partially occur, etc. are changed variously, and the stone is placed at the intersection in various patterns or the position thereof. Assuming 1, by slightly varying
Approximately 000 to several thousand or so of the surface condition of the board is simulated and imaged.
For 6 × 6 contrast-processed and level-normalized input signals to, the learning signal is given by any one of the three kinds of teacher signals and learned by back propagation so that a normal output signal can be obtained. ..

【0013】ロボット制御装置20はCPUを利用して
おり、画像メモリ14の逐次出力される交点アドレス及
びその都度ニューラルネットワーク15から出力される
出力データを基に逐次棋譜データを更新しつつ記憶して
おく棋譜データメモリ20a及び対局用ソフトウエアの
メモリ20bを備えている。そして、画像メモリ14か
ら逐次出力される交点アドレス及び関連してニューラル
ネットワーク15から出力される出力データを基に、石
が打たれたのを判断して棋譜データメモリ20aの棋譜
データを更新させる。同時に、メモリ20bの対局用ソ
フトウエアを基に応手を決定して、ロボット制御信号を
ロボット4に送出する。
The robot controller 20 uses a CPU, and sequentially stores the game record data while updating the game record data based on the intersection address of the image memory 14 and the output data output from the neural network 15 each time. It has a game data memory 20a and a game software memory 20b. Then, based on the intersection address sequentially output from the image memory 14 and the associated output data output from the neural network 15, it is determined that a stone has been hit and the game record data in the game record data memory 20a is updated. At the same time, a responder is determined based on the game software in the memory 20b and a robot control signal is sent to the robot 4.

【0014】このように構成された画像処理装置の動作
は、次の通りである。図1に示すように、テーブル1
に、碁盤2、ロボット4及び白黒の碁笥5、5a及びC
CDカメラ3をセットして初期設定が終了した状態で、
ロボット4と対局したい場合、装置の電源を投入する
と、格納済の明るさ指示信号がCCDカメラ3に供給さ
れ、指示された明るさ、即ち標準の平均画像信号レベル
を確保できるように絞り量が自動設定される。また、画
像メモリ14の361個の交点アドレスが自動設定され
る。
The operation of the image processing apparatus thus configured is as follows. As shown in FIG. 1, table 1
A board 2, a robot 4 and a black and white board 5, 5a and C
With the CD camera 3 set and the initial settings completed,
When the player wants to play against the robot 4, when the power of the device is turned on, the stored brightness indicating signal is supplied to the CCD camera 3, and the aperture amount is adjusted so that the indicated brightness, that is, the standard average image signal level can be secured. Automatically set. Also, 361 intersection point addresses of the image memory 14 are automatically set.

【0015】画像メモリ14は、盤面2aの画像信号を
逐次取込む際に、如何にコントラスト処理を行うかを判
断し、次いで各交点のサンプリング領域8aの6×6個
の画像信号を順に読出して、コントラスト及びレベル正
規化処理を行って、ニューラルネットワーク15に順に
供給する。コントラスト処理後にニューラルネットワー
ク15に整合する基準レベル段階にに正規化されること
により、盤面2aの黄色の地色に対する罫線のレベル差
が強調されて、罫線パターンが確実に認識される。した
がって、罫線パターンを変化させる白石又は黒石の認識
も高精度に行われる。ロボット制御装置20は、各交点
のアドレス及びそのニューラルネットワーク15の判断
データを順に取込んで、石が打たれたと判断した時点で
棋譜を逐次更新すると共に、ロボット4に応手させたり
或は石を上げさせる。
The image memory 14 determines how to perform contrast processing when successively capturing the image signals of the board 2a, and then sequentially reads out the 6 × 6 image signals of the sampling area 8a at each intersection. , Contrast and level normalization processing is performed, and the result is sequentially supplied to the neural network 15. After the contrast processing, the level difference of the ruled line with respect to the yellow ground color of the board 2a is emphasized by normalizing to the reference level step that matches the neural network 15, and the ruled line pattern is surely recognized. Therefore, the white stone or the black stone that changes the ruled line pattern can be recognized with high accuracy. The robot controller 20 sequentially takes in the addresses of the intersections and the judgment data of the neural network 15 and sequentially updates the game record when it judges that the stone has been struck, and also causes the robot 4 to respond or play the stone. To raise.

【0016】このような状態において、部屋の照明状
態、室外の明るさが変化したり或は盤面2aに人影が生
じた場合、CCDカメラ3は明るさ指示信号に対する誤
差をなくすように絞りを自動制御する。ニューラルネッ
トワーク15の学習機能により、盤面の種々の変化に対
して正確に判断が行われる。繰り返しの使用により、罫
線が傷んだり、汚れても確実に判断される。また、ニュ
ーラルネットワーク15の汎化機能も伴って、盤面2a
の明るさがより大きく変化してCCDカメラ3の絞りの
追従範囲外になったり、盤面が予測できない変化をして
も判断可能になる。
In such a state, when the lighting condition of the room, the brightness outside the room change, or a figure appears on the board 2a, the CCD camera 3 automatically adjusts the aperture so as to eliminate the error with respect to the brightness indicating signal. Control. The learning function of the neural network 15 makes accurate judgments for various changes in the board surface. With repeated use, even if the ruled line is damaged or dirty, it can be reliably judged. In addition, with the generalization function of the neural network 15, the board 2a
It is possible to make a judgment even if the brightness of the image changes greatly and is out of the follow range of the aperture of the CCD camera 3 or the surface of the board changes unpredictably.

【0017】図4は本発明の別の実施例を示すもので、
前述のように構成された画像処理装置30から画像メモ
リのアドレス及びニューラルネットワークの棋譜データ
が、モデムを通して信号を授受する通信装置31から遠
隔地の対局者に送信され、一方相手方の棋譜データも通
信装置31を通してロボット制御装置32へ供給され
る。
FIG. 4 shows another embodiment of the present invention.
The address of the image memory and the game data of the neural network are transmitted from the image processing device 30 configured as described above to the player at the remote location from the communication device 31 which transmits and receives signals through the modem, while the game data of the other party is also communicated. It is supplied to the robot controller 32 through the device 31.

【0018】尚、前述の実施例において、コントラスト
処理は白石の画像信号レベルは、石のパターンと種々の
罫線のパターンとが完全に異ることにより、敢えて罫線
の画像信号レベルに対して線形状に高くしていないが、
場合によっては黄色領域と共に線形のコントラスト処理
を行っても良い。サンプリング領域の画素数は6×6個
で実用的な処理時間内において高信頼の棋譜データが作
成可能であることが試験済みである。さらに、7×7個
にすることも考えられるが、処理時間及び回路構成上で
上限が在る。画像信号CCDカメラ3は敢えてオートア
イリス機能を備えなくても、ニューラルネットワーク1
5を備えることにより、盤面2aの許容変化状態を多少
制限して実用化可能である。画像処理装置10及びロボ
ット制御装置20は、共通のパーソナルコンピュータを
用いて構成することもできる。
In the above-described embodiment, the contrast processing is performed so that the image signal level of the white stone is completely different from the image signal level of the ruled line because the stone pattern and the patterns of various ruled lines are completely different. Not high but
Depending on the case, linear contrast processing may be performed together with the yellow region. The number of pixels in the sampling region is 6 × 6, and it has been tested that highly reliable game data can be created within a practical processing time. Further, it may be considered that the number is set to 7 × 7, but there is an upper limit in terms of processing time and circuit configuration. The image signal CCD camera 3 does not need to have the auto iris function, but the neural network 1
By including 5, the allowable change state of the board surface 2a is somewhat limited and can be put to practical use. The image processing device 10 and the robot control device 20 can also be configured by using a common personal computer.

【0019】[0019]

【発明の効果】以上、本発明によれば、ニューラルネッ
トワークの学習機能及び汎化機能を利用することによ
り、盤面の全体及び部分的な明るさが千差万別で、かつ
種々変化する可能性のある通常の部屋で、信頼度の極め
て高い棋譜データが作成可能となる。つまり、部屋の照
明器具の位置や照度或は室外の状況、予測できない変化
の如何に拘らず、盤面状態を確実に識別可能になる。罫
線が傷んだり、汚れても確実に判断できる。罫線又は黒
石のに対して盤面の地色の画像信号レベルを高くなるよ
うにコントラスト処理することにより、罫線のパターン
認識が高精度に行われ、そのパターンを変化させる白石
及び黒石の認識も確実に行われる。
As described above, according to the present invention, by using the learning function and the generalization function of the neural network, the whole and partial brightness of the board can be variously varied and variously changed. It is possible to create game record data with extremely high reliability in a normal room with. In other words, the board surface state can be reliably identified regardless of the position of the lighting equipment in the room, the illuminance, the situation outside the room, and the unpredictable change. Even if the ruled line is damaged or dirty, it can be reliably judged. By performing contrast processing so that the image signal level of the ground color of the board surface is higher than that of ruled lines or black stones, pattern recognition of ruled lines is performed with high accuracy, and white stones and black stones that change the pattern are surely recognized. Done.

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

【図1】本発明の方法を実施する囲碁装置の画像処理装
置の構成を示す図である。
FIG. 1 is a diagram showing a configuration of an image processing device of a Go device for carrying out the method of the present invention.

【図2】同装置の構成を説明するための機能ブロック図
である。
FIG. 2 is a functional block diagram for explaining the configuration of the same apparatus.

【図3】同装置の動作を説明するための盤面図である。FIG. 3 is a board plan view for explaining the operation of the device.

【図4】別の実施例による囲碁装置の回路構成を示すブ
ロック図である。
FIG. 4 is a block diagram showing a circuit configuration of a Go device according to another embodiment.

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

2 碁盤 2a 盤面 3 CCDカメラ 4 ロボット 2 Go board 2a Board surface 3 CCD camera 4 Robot

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 碁盤の盤面を撮像装置で撮像することに
より検出された画像信号から石位置及び石の白黒を判断
して棋譜データを作成するための囲碁装置の画像処理方
法において、 撮像装置で検出した盤面の画像信号を画像メモリに格納
し、 盤面の交点周辺における石よりも小さなサンプリング領
域内の所定数の前記画像信号を前記画像メモリから読出
してニューラルネットワークにレベルを正規化して供給
し、 前記ニューラルネットワークに前記サンプリング領域が
前記盤面又は黒石又は白石のいずれであるかを判断さ
せ、 前記画像メモリの交点のアドレス及びこのアドレス周辺
の前記サンプリング領域に対するニューラルネットワー
クの判断結果より棋譜データを作成することを特徴とす
る囲碁装置の画像処理方法。
1. An image processing method of a go device for creating a game record data by determining a stone position and stone black and white from an image signal detected by imaging a board surface of a board with an imaging device, The detected image signal of the board is stored in the image memory, a predetermined number of the image signals in a sampling area smaller than a stone around the intersection of the board are read from the image memory, and the level is supplied to the neural network after normalization, The neural network is caused to judge whether the sampling area is the board surface, the black stone or the white stone, and game record data is created from the judgment result of the neural network for the address of the intersection of the image memory and the sampling area around this address. An image processing method for a Go device characterized by the above.
【請求項2】 画像信号をニューラルネットワークにレ
ベルを正規化して供給するのに先立って、盤面の罫線又
は黒石の前記画像信号レベルに対して盤面の地色の前記
画像信号レベルを高くするコントラスト処理を行うこと
を特徴とする請求項1の囲碁装置の画像処理方法。
2. A contrast process for increasing the image signal level of the ground color of the board surface with respect to the image signal level of the ruled lines or black stones of the board surface before supplying the image signal to the neural network with the level being normalized. The image processing method for a Go device according to claim 1, wherein
【請求項3】 碁盤の盤面を撮像装置で撮像することに
より検出された画像信号から石位置及び石の白黒を判断
して棋譜データを作成する囲碁装置の画像処理装置にお
いて、 撮像装置で検出された盤面の画像信号を格納する画像メ
モリと、所定数の画像信号を入力とし、これらの画像信
号領域が前記盤面又は黒石又は白石のいずれであるかを
判断するニューラルネットワークと、前記画像メモリに
おける前記盤面の罫線の交点周辺における石よりも小さ
なサンプリング領域内の前記所定数の画像信号を読出し
て、前記ニューラルネットワークに整合する基準レベル
段階にレベル正規化処理を行って前記ニューラルネット
ワークに供給する画像信号制御手段とを備え、 前記画像メモリの交点アドレス及びこの交点アドレス周
辺の前記サンプリング領域に対する前記ニューラルネッ
トワークの判断結果を棋譜データとすることを特徴とす
る囲碁装置の画像処理装置。
3. An image processing device of a go device that determines the stone position and the black and white of the stone from image signals detected by imaging the board surface of the board with the imaging device, and creates a game record data. An image memory for storing the image signal of the board surface, a neural network for inputting a predetermined number of image signals, and determining whether these image signal areas are the board surface or the black stone or the white stone, and the above-mentioned in the image memory An image signal to be supplied to the neural network by reading out the predetermined number of image signals in a sampling area smaller than a stone in the vicinity of the intersection of the ruled lines on the board and performing a level normalization process at a reference level step that matches the neural network. Control means, and the intersection address of the image memory and the sampler around the intersection address. The image processing apparatus of Go device, characterized by the determination result of the neural network to the area and game record data.
【請求項4】 画像信号制御手段が、ニューラルネット
ワークに整合する基準レベル段階にレベル正規化処理を
行うレベル正規化処理部に加えて、前記レベル正規化処
理に先立って盤面の罫線又は黒石の前記画像信号レベル
に対して盤面の地色の前記画像信号レベルを高くするコ
ントラスト処理を行うコントラスト処理部を有すること
を特徴とする請求項3の囲碁装置の画像処理装置。
4. The image signal control means, in addition to a level normalization processing unit for performing level normalization processing at a reference level step matching a neural network, prior to the level normalization processing, the ruled lines or black stones on the board surface 4. The image processing device for a Go device according to claim 3, further comprising a contrast processing unit that performs a contrast process for increasing the image signal level of the ground color of the board with respect to the image signal level.
JP7557392A 1992-02-27 1992-02-27 Image processing method and device for 'go' game device Pending JPH05237213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7557392A JPH05237213A (en) 1992-02-27 1992-02-27 Image processing method and device for 'go' game device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7557392A JPH05237213A (en) 1992-02-27 1992-02-27 Image processing method and device for 'go' game device

Publications (1)

Publication Number Publication Date
JPH05237213A true JPH05237213A (en) 1993-09-17

Family

ID=13580071

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7557392A Pending JPH05237213A (en) 1992-02-27 1992-02-27 Image processing method and device for 'go' game device

Country Status (1)

Country Link
JP (1) JPH05237213A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10212475A1 (en) * 2002-03-20 2003-10-09 Univ Albert Ludwigs Freiburg Table-top game device for football or hockey, uses sensors for ascertaining positions of game figures or ball
JP2020182872A (en) * 2015-08-03 2020-11-12 エンゼルプレイングカード株式会社 Table game management system, substitution coin for game, inspection device, and management system of substitution coin for game
JP2023030162A (en) * 2015-08-03 2023-03-07 エンゼルグループ株式会社 Fraud detection system in game parlor
CN116276947A (en) * 2023-03-24 2023-06-23 苏州君合机器人有限公司 Automatic go-chess device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10212475A1 (en) * 2002-03-20 2003-10-09 Univ Albert Ludwigs Freiburg Table-top game device for football or hockey, uses sensors for ascertaining positions of game figures or ball
DE10212475B4 (en) * 2002-03-20 2005-01-27 Albert-Ludwigs-Universität Freiburg, vertreten durch den Rektor Table game machine for football, hockey or the like and method for automatically controlling the arranged on rods game figures of a table game device for football, hockey or the like
JP2020182872A (en) * 2015-08-03 2020-11-12 エンゼルプレイングカード株式会社 Table game management system, substitution coin for game, inspection device, and management system of substitution coin for game
US11514751B2 (en) 2015-08-03 2022-11-29 Angel Group Co., Ltd. Management system for table games, substitute currency for gaming, inspection device, and management system for substitute currency for gaming
JP2023030162A (en) * 2015-08-03 2023-03-07 エンゼルグループ株式会社 Fraud detection system in game parlor
CN116276947A (en) * 2023-03-24 2023-06-23 苏州君合机器人有限公司 Automatic go-chess device
CN116276947B (en) * 2023-03-24 2024-03-08 苏州君合机器人有限公司 Automatic go-chess device

Similar Documents

Publication Publication Date Title
US5495424A (en) Method and apparatus for inspecting solder portions
JP3551188B2 (en) Surface condition inspection method and substrate inspection device
EP1388738B1 (en) Inspection data producing method and board inspection apparatus using the method
US20050190361A1 (en) Apparatus for surface inspection and method and apparatus for inspecting substrate
JPH05237213A (en) Image processing method and device for 'go' game device
US6320977B1 (en) Method and apparatus for positional detection using pattern matching process
CN103248811B (en) Image processing equipment, image processing method, computer program and recording medium
JP2003222598A (en) Surface state inspection method of curved-surface body and board inspection method
US4827412A (en) Pinfall detector using video camera
JP3599023B2 (en) Solder inspection method and board inspection apparatus using this method
JP2014006852A (en) Recognition processing method, recognition processing device, robot system and recognition processing program
JP2003227801A (en) Method of inspecting curved surface and device for inspecting printed circuit board using the method
JP2006209277A (en) Object detecting device, object detecting method and imaging device
JP2573983B2 (en) Recognition method of dice eyes used in game
JPH06139341A (en) Picture processor
JP3006437B2 (en) Electronic component observation device and electronic component observation method
JPH06213820A (en) Foreign-matter discriminating method
JP2703546B2 (en) Target recognition method of luggage place
JPH08330336A (en) Pickup device and chip positioning method
JPH07107510B2 (en) Substrate inspection device and substrate inspection method
JPH09108403A (en) Shogi game recording device
JPH0956871A (en) Shogi match progress recording device
JPH08190623A (en) Image processing and measuring method for farm product
JPH1157116A (en) Device and method for automatically preparing record of game of go
JPH06243235A (en) Checking device for mounted board