JP6118614B2 - Calibration method and calibration apparatus - Google Patents

Calibration method and calibration apparatus Download PDF

Info

Publication number
JP6118614B2
JP6118614B2 JP2013073186A JP2013073186A JP6118614B2 JP 6118614 B2 JP6118614 B2 JP 6118614B2 JP 2013073186 A JP2013073186 A JP 2013073186A JP 2013073186 A JP2013073186 A JP 2013073186A JP 6118614 B2 JP6118614 B2 JP 6118614B2
Authority
JP
Japan
Prior art keywords
illumination
image
reference sample
imaging
imaging device
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.)
Active
Application number
JP2013073186A
Other languages
Japanese (ja)
Other versions
JP2014196968A (en
Inventor
一英 長谷川
一英 長谷川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Corp
Original Assignee
Fujifilm 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 Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2013073186A priority Critical patent/JP6118614B2/en
Publication of JP2014196968A publication Critical patent/JP2014196968A/en
Application granted granted Critical
Publication of JP6118614B2 publication Critical patent/JP6118614B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は,キャリブレーション方法,キャリブレーション装置およびキャリブレーション用基準サンプルに関する。   The present invention relates to a calibration method, a calibration apparatus, and a calibration reference sample.

製薬会社等で製造される粉末薬を固形化した錠剤の表面の凹凸パターンは全ての錠剤について固有である。製薬会社等で製造される多数の真正錠剤のそれぞれの画像(真正錠剤画像)を登録しておき,登録されている多数の真正錠剤画像の中から検査対象(照合対象)錠剤の画像と同じ真正錠剤画像を検索することで,検査対象の錠剤が真正なものであるかどうかを判定することができる。   The concavo-convex pattern on the surface of a tablet obtained by solidifying a powder drug manufactured by a pharmaceutical company or the like is unique to all tablets. Each image (authentic tablet image) of many authentic tablets manufactured by a pharmaceutical company, etc. is registered, and the same authenticity as the image of the inspection target (verification target) tablet from among the registered many authentic tablet images By searching the tablet image, it is possible to determine whether or not the tablet to be inspected is authentic.

真正錠剤の撮像は典型的には製薬会社で行われ,他方,検査対象の錠剤の撮像は流通過程(検査会社その他)で行われる。このため,真正錠剤画像の撮像時と検査対象錠剤の撮像時では撮影環境が一般には同じにならない。異なる環境のそれぞれで撮像を行うと,たとえ同一錠剤についてそれぞれ取得される2つの画像であっても,その画像中に現れるたとえば陰影が異なるものになり,検査対象錠剤の画像と同じ真正錠剤画像の検索(照合)の精度が落ちる可能性が生じる。また,真正錠剤の撮像のみに着目しても,異なる製造ラインで真正錠剤が製造される場合には,製造ラインごとに撮影環境が異なることがある。   Imaging of genuine tablets is typically performed by a pharmaceutical company, while imaging of tablets to be inspected is performed in the distribution process (inspection company and others). For this reason, in general, the photographing environment is not the same when an authentic tablet image is captured and when an inspection target tablet is captured. When images are taken in different environments, even if two images are acquired for the same tablet, for example, the shadows appearing in the images are different, and the same authentic tablet image as the image of the tablet to be inspected is displayed. There is a possibility that the accuracy of the search (collation) is lowered. Even if attention is focused only on imaging of genuine tablets, when authentic tablets are produced on different production lines, the photographing environment may be different for each production line.

特許文献1〜5は,画像補正や性能評価などにキャリブレーション用プレート等を用いるものを記載する。引用文献6は固形薬剤の画像データにおいて印字色と背景色とのコントラストを最大にするように照明手段の発光量を制御するものを記載する。   Patent Documents 1 to 5 describe those using a calibration plate or the like for image correction or performance evaluation. Citation 6 describes what controls the light emission amount of the illumination means so as to maximize the contrast between the print color and the background color in the image data of the solid medicine.

特許第5004297号公報Japanese Patent No. 5004297 特開2009−294465号公報JP 2009-294465 A 特許第4800479号公報Japanese Patent No. 4800479 特開2012−173045号公報JP 2012-173045 A 特開2007−73925号公報JP 2007-73925 A 特開2010−190786号公報JP 2010-190786 A

しかしながら,引用文献1〜6のいずれにも異なる場所の撮影環境を同じにすることは考えられてはいない。   However, it is not considered that the photographic environments in different places are the same in any of the cited documents 1 to 6.

この発明は,先に行われる物体の撮像時の撮影条件および照明条件を,その後に行われる物体の撮像時に再現できるようにすることを目的とする。   An object of the present invention is to make it possible to reproduce shooting conditions and illumination conditions at the time of imaging of an object performed earlier, at the time of imaging of an object subsequently performed.

この発明によるキャリブレーション方法は,第1の撮像装置によって第1の照明装置の照明下で基準サンプルを撮像することにより上記第1の撮像装置から出力されるマスタ画像データをマスタ画像記憶手段に記憶しておき,第2の撮像装置によって第2の照明装置の照明下で上記基準サンプルを撮像することにより上記第2の撮像装置から出力される基準サンプル画像データと,上記マスタ画像記憶手段に記憶されているマスタ画像データを類似度算出手段によって比較して上記基準サンプル画像の上記マスタ画像に対する類似度を算出し,算出した類似度が近づくように上記第2の撮像装置および第2の照明装置を調整することを特徴とする。   In the calibration method according to the present invention, the master image data output from the first imaging device is stored in the master image storage means by imaging the reference sample with the first imaging device under illumination of the first illumination device. The reference image data output from the second imaging device by imaging the reference sample under illumination of the second illumination device by the second imaging device and stored in the master image storage means The master image data being compared is compared by the similarity calculation means to calculate the similarity of the reference sample image to the master image, and the second imaging device and the second illuminating device are brought closer to the calculated similarity It is characterized by adjusting.

この発明は,上述したキャリブレーション方法に適するキャリブレーション装置も提供する。この発明によるキャリブレーション装置は,第1の撮像装置によって第1の照明装置の照明下で基準サンプルを撮像することにより上記第1の撮像装置から出力されるマスタ画像データを記憶するマスタ画像記憶手段,および第2の撮像装置によって第2の照明装置の照明下で上記基準サンプルを撮像することにより上記第2の撮像装置から出力される基準サンプル画像データと,上記マスタ画像記憶手段に記憶されているマスタ画像データを比較して,上記基準サンプル画像の上記マスタ画像に対する類似度を算出する類似度算出手段を備えていることを特徴とする。   The present invention also provides a calibration apparatus suitable for the above-described calibration method. The calibration device according to the present invention is a master image storage means for storing master image data output from the first imaging device by imaging a reference sample with the first imaging device under illumination of the first illumination device. And the reference image data output from the second imaging device by imaging the reference sample under illumination of the second illumination device by the second imaging device, and stored in the master image storage means The image processing apparatus includes a similarity calculation unit that compares the master image data and calculates the similarity of the reference sample image to the master image.

この発明によると,第1の照明装置の照明下で第1の撮像装置により撮像された基準サンプルを表すマスタ画像と,第2の照明装置の照明下で第2の撮像装置により撮像された基準サンプルを表す基準サンプル画像の類似度が算出される。算出される類似度を,第2の撮像装置および第2の照明装置のキャリブレーション(調整)に用いることができる。好ましくは,上記第2の撮像装置が撮影条件(画像解像度,シャッタスピード,絞り値など)を調整可能なものであり,上記第2の照明装置が照明条件(照明角度など)を調整可能なものである。算出されるマスタ画像と基準サンプル画像の類似度が,第2の撮像装置の撮像条件および第2の照明装置の照明条件を,第1の撮像装置の撮像条件および第1の照明装置の照明条件に近づける(一致させることを含む)指針として用いられる。第1の撮像装置の撮像条件および第1の照明装置の照明条件を,第2の撮像装置および第2の照明装置において再現することができる。   According to the present invention, a master image representing a reference sample imaged by the first imaging device under illumination of the first illumination device and a reference imaged by the second imaging device under illumination of the second illumination device. The similarity of the reference sample image representing the sample is calculated. The calculated similarity can be used for calibration (adjustment) of the second imaging device and the second illumination device. Preferably, the second imaging device is capable of adjusting photographing conditions (image resolution, shutter speed, aperture value, etc.), and the second lighting device is capable of adjusting illumination conditions (illumination angle, etc.). It is. The similarity between the calculated master image and the reference sample image indicates the imaging condition of the second imaging device and the illumination condition of the second illumination device, the imaging condition of the first imaging device, and the illumination condition of the first illumination device. It is used as a guideline (including matching). The imaging conditions of the first imaging device and the illumination conditions of the first lighting device can be reproduced in the second imaging device and the second lighting device.

一実施態様では,上記第1の撮像装置および上記第1の照明装置が,上記第1の撮像装置によって上記第1の照明装置の照明下で複数の真正品を撮像して出力される真正品画像データを記憶装置に登録する画像登録装置に設けられ,上記第2の撮像装置および上記第2の照明装置が,上記第2の撮像装置によって上記第2の照明装置の照明下で検査品を撮像して出力される検査品画像データに合致する真正品画像データが上記記憶装置に存在するかどうかを判断する画像照合装置に設けられる。画像登録装置における真正品の撮影時の撮影条件および照明条件に,画像照合装置における検査品の撮影時の撮影条件および照明条件を合わせることができる。   In one embodiment, the first imaging device and the first illumination device are genuine products that are output by imaging a plurality of genuine products under the illumination of the first illumination device by the first imaging device. Provided in an image registration device for registering image data in a storage device, and the second imaging device and the second illumination device are configured to send an inspection product under illumination of the second illumination device by the second imaging device. It is provided in an image collating device that determines whether or not genuine image data that matches inspection product image data that is captured and output exists in the storage device. It is possible to match the photographing condition and the illumination condition at the time of photographing the inspection product in the image collating device with the photographing condition and the lighting condition at the time of photographing the genuine product in the image registration device.

他の実施態様では,上記第1の撮像装置および上記第1の照明装置が,上記第1の撮像装置によって上記第1の照明装置の照明下で複数の第1の真正品を撮像して出力される第1の真正品画像データを第1の記憶装置に登録する第1の画像登録装置に設けられ,上記第2の撮像装置および上記第2の照明装置が,上記第2の撮像装置によって上記第2の照明装置の照明下で複数の第2の真正品を撮像して出力される第2の真正品画像データを第2の記憶装置に登録する第2の画像登録装置に設けられている。たとえば,異なる製造ラインにおいて第1の真正品および第2の真正品がそれぞれ撮影される場合に,製造ラインのそれぞれに設置される第1の画像登録装置および第2の画像登録装置の撮影条件および照明条件を合わせることができる。   In another embodiment, the first imaging device and the first lighting device pick up and output a plurality of first authentic products under the illumination of the first lighting device by the first imaging device. Provided in the first image registration device for registering the first genuine product image data to the first storage device, and the second imaging device and the second illumination device are provided by the second imaging device. Provided in a second image registration device for registering in the second storage device second genuine product image data output by imaging a plurality of second genuine products under illumination of the second illumination device. Yes. For example, when a first genuine product and a second genuine product are photographed in different production lines, the photographing conditions of the first image registration device and the second image registration device installed in each of the production lines, and Lighting conditions can be adjusted.

好ましくは,上記照明条件は上記基準サンプルに対する照明角度を含み,上記第2の照明装置が,上記基準サンプルを撮像する上記第2の撮像装置の光軸を中心にして,オン/オフ制御可能な複数の光源群を上記基準サンプルを照明する角度を異ならせて配置させたものである。様々な照明角度で基準サンプルを照明することができるので,第2の照明装置の照明条件を第1の照明装置の照明条件に合わせることができる。   Preferably, the illumination condition includes an illumination angle with respect to the reference sample, and the second illumination device is capable of on / off control about the optical axis of the second imaging device that images the reference sample. A plurality of light source groups are arranged at different angles for illuminating the reference sample. Since the reference sample can be illuminated at various illumination angles, the illumination condition of the second illumination device can be matched to the illumination condition of the first illumination device.

好ましくは,上記撮影条件は画像の解像度,撮像装置のシャッタスピードおよび絞り値のうちの少なくともいずれかを含み,上記第2の撮像装置が画像の解像度,シャッタスピードおよび絞り値のうちの少なくともいずれか一つを調整可能なものである。第2の撮像装置の撮像条件の少なくとも一部を,第1の撮像装置の撮像条件に合わせることができる。   Preferably, the photographing condition includes at least one of image resolution, shutter speed and aperture value of the imaging device, and the second imaging device has at least one of image resolution, shutter speed and aperture value. One can be adjusted. At least part of the imaging conditions of the second imaging device can be matched with the imaging conditions of the first imaging device.

上記基準サンプルは,一実施態様ではその表面に複数の微細凸部が形成されているものである。錠剤表面の凹凸を模した微細凸部が表面に形成された基準サンプルを用いることで,錠剤の真贋判定に適する撮影条件および照明条件の調整を行うことができる。この発明は上記基準サンプル,すなわち撮像装置および照明装置を含み,互いに異なる場所に設置される少なくとも2つの画像撮像装置についてそれらの撮影条件および照明条件を互いに合わせるために用いられる,上記照明装置による照明下で上記撮像装置によって撮像されるキャリブレーション用基準サンプルも提供する。   In one embodiment, the reference sample has a plurality of fine protrusions formed on the surface thereof. By using a reference sample having fine protrusions imitating the irregularities of the tablet surface formed on the surface, it is possible to adjust photographing conditions and illumination conditions suitable for authenticity determination of the tablet. The present invention includes the above reference sample, that is, an imaging device and an illumination device, and illumination by the illumination device that is used to match the photographing conditions and the illumination conditions with each other for at least two image imaging devices installed at different locations. A calibration reference sample imaged by the imaging device below is also provided.

一実施態様では,上記基準サンプルはその表面が曲面である。錠剤の表面が曲面を帯びている場合に,その錠剤表面の曲面を模した基準サンプルを用いることで,表面が曲面を帯びている錠剤の真贋判定に適する撮影条件および照明条件の調整を行うことができる。   In one embodiment, the reference sample has a curved surface. When the tablet surface has a curved surface, use a reference sample that simulates the curved surface of the tablet surface to adjust the shooting conditions and illumination conditions suitable for authenticity determination of tablets with a curved surface. Can do.

一実施態様では,複数の微細凸部が表面にランダムに配列されている基準サンプルが用いられる。他の実施態様では,複数の微細凸部が表面に規則的に配列されている基準サンプルが用いられる。   In one embodiment, a reference sample in which a plurality of fine protrusions are randomly arranged on the surface is used. In another embodiment, a reference sample in which a plurality of fine protrusions are regularly arranged on the surface is used.

複数の微細凸部のそれぞれは,10μm〜1000μm,好ましくは30μm〜500μm,より好ましくは40μm〜200μmの大きさ(直径,幅)を持つ。他の実施態様では,複数の微細凸部のそれぞれが,5μm〜500μm,好ましくは15μm〜250μm,より好ましくは20μm〜100μmの高さを持つ。基準サンプルを真正錠剤ないし検査錠剤に似せることができる。   Each of the plurality of fine convex portions has a size (diameter, width) of 10 μm to 1000 μm, preferably 30 μm to 500 μm, more preferably 40 μm to 200 μm. In another embodiment, each of the plurality of fine protrusions has a height of 5 μm to 500 μm, preferably 15 μm to 250 μm, more preferably 20 μm to 100 μm. The reference sample can resemble an authentic tablet or a test tablet.

真贋判定システムの全体的構成を示すブロック図である。It is a block diagram which shows the whole structure of an authenticity determination system. 登録データを示す。Indicates registration data. 照明装置の斜視図である。It is a perspective view of an illuminating device. 照明装置の断面図である。It is sectional drawing of an illuminating device. (A)は基準サンプルの正面図であり,(B)は(A)のVB-VB線に沿う断面図である。(A) is a front view of a reference sample, and (B) is a cross-sectional view taken along line VB-VB in (A). 他の基準サンプルの正面図を示す。The front view of another reference sample is shown. 他の基準サンプルの正面図を示す。The front view of another reference sample is shown. 他の基準サンプルの正面図を示す。The front view of another reference sample is shown. (A)は他の基準サンプルの正面図であり,(B)は(A)のIXB-IXB線に沿う断面図である。(A) is a front view of another reference sample, and (B) is a sectional view taken along line IXB-IXB in (A). 他の基準サンプルの正面図を示す。The front view of another reference sample is shown. 他の基準サンプルの正面図を示す。The front view of another reference sample is shown. 他の基準サンプルの正面図を示す。The front view of another reference sample is shown. 他の基準サンプルの側面図を示す。A side view of another reference sample is shown. 画像照合装置におけるキャリブレーション処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the calibration process in an image collation apparatus. 画像照合装置におけるキャリブレーション処理の他の例を示すフローチャートである。It is a flowchart which shows the other example of the calibration process in an image collation apparatus.

図1は真贋判定システム(検査システム)の全体的構成を示すブロック図である。   FIG. 1 is a block diagram showing the overall configuration of an authenticity determination system (inspection system).

真贋判定システムは,多数の真正の錠剤5T1,5T2,5T3,...のそれぞれを照明装置3による照明下で撮像装置2によって撮像することによって作成される多数の真正錠剤画像の中に,検査錠剤を照明装置7による照明下で撮像装置6によって撮像することによって作成される検査錠剤画像と同一のもの(または同一と考えられるもの)があるかどうかを判定するシステムである。検査錠剤画像と同一の真正錠剤画像が,あらかじめ登録される多数の真正錠剤画像の中に存在すれば,その検査錠剤画像の撮像に用いられた検査錠剤は真正錠剤であることが判定される。逆に検査錠剤画像と同一の真正錠剤画像が多数の真正錠剤画像の中に存在しなければ,その検査錠剤画像の撮像に用いられた検査錠剤は真正錠剤ではない(偽造錠剤である)ことが判定される。   In the authenticity determination system, a plurality of genuine tablets 5T1, 5T2, 5T3,... Are inspected into a number of authentic tablet images created by imaging with the imaging device 2 under illumination by the illumination device 3. This is a system for determining whether or not there is the same (or considered to be the same) test tablet image created by imaging a tablet with the imaging device 6 under illumination by the illumination device 7. If the same authentic tablet image as the test tablet image is present in a number of pre-registered authentic tablet images, it is determined that the test tablet used to capture the test tablet image is an authentic tablet. On the other hand, if the same authentic tablet image as the test tablet image does not exist in many authentic tablet images, the test tablet used to capture the test tablet image may not be an authentic tablet (a counterfeit tablet). Determined.

真贋判定システムは,真正錠剤5T1,5T2,5T3,...のそれぞれを撮像して真正錠剤画像を作成して登録する登録段階と,検査錠剤を撮像して検査錠剤画像を作成し,それと同一の真正錠剤画像が多数の真正錠剤画像の中にあるどうかを判定する判定段階とに大別される。図1において,その上段に,登録段階で用いられる画像登録装置が,下段に,判定段階で用いられる画像照合装置がそれぞれ示されている。画像登録装置と画像照合装置とは一般には異なる場所にそれぞれ設置される。   The authentication system is the same as the registration stage in which each of the authentic tablets 5T1, 5T2, 5T3,... Is imaged to create and register an authentic tablet image, and the test tablet is imaged to create the test tablet image. And a determination stage for determining whether or not the genuine tablet image is included in a number of authentic tablet images. In FIG. 1, the upper part shows an image registration apparatus used in the registration stage, and the lower part shows an image collation apparatus used in the determination stage. In general, the image registration device and the image collation device are installed in different places.

図1の上段を参照して,画像登録装置は,登録装置1,撮像装置2,照明装置3および記憶装置4を備えている。登録装置1は,CPU,メモリ,ハードディスク等を備えるコンピュータ・システムであり,登録装置用プログラムをハードディスクにインストールし,これを実行することによってコンピュータ・システムが登録装置1として機能する。   Referring to the upper part of FIG. 1, the image registration device includes a registration device 1, an imaging device 2, an illumination device 3, and a storage device 4. The registration apparatus 1 is a computer system including a CPU, a memory, a hard disk, and the like. The registration apparatus program is installed on the hard disk and executed, so that the computer system functions as the registration apparatus 1.

撮像装置2は,後述する基準サンプルSと,真正錠剤5T1,5T2,5T3・・(これらの表面)を撮像する撮像素子(CCD,CMOS等)を含み,撮像素子に結像した像を表す画像データを出力する。撮像装置2から出力された基準サンプルSを表す画像データ,および真正錠剤5T1,5T2,5T3,・・・を表す画像データが登録装置1に入力する。真正錠剤5T1,5T2,5T3・・・はいずれも同種の錠剤であり,かつ別個の錠剤である。   The imaging device 2 includes an image sensor (CCD, CMOS, etc.) that images a reference sample S, which will be described later, and genuine tablets 5T1, 5T2, 5T3,. Output data. Image data representing the reference sample S output from the imaging device 2 and image data representing the authentic tablets 5T1, 5T2, 5T3,... Are input to the registration device 1. Authentic tablets 5T1, 5T2, 5T3... Are the same kind of tablets and are separate tablets.

図2は登録装置1によって作成されて記憶装置4に記憶される登録データ4Aを示している。   FIG. 2 shows registration data 4 </ b> A created by the registration device 1 and stored in the storage device 4.

記憶装置4に記憶される登録データ4Aは,錠剤種類データ,錠剤ID,錠剤画像データおよびマスタ画像データを含む。   The registration data 4A stored in the storage device 4 includes tablet type data, tablet ID, tablet image data, and master image data.

製薬会社では同一種類の錠剤(真正錠剤)が多数製造される。錠剤種類データは錠剤の種類を表す。これに対し,錠剤IDは個々の錠剤のそれぞれに付与されるIDであり,同一種類の多数の錠剤のそれぞれについて別個のIDが付与される。錠剤IDによって特定される個々の錠剤のそれぞれの錠剤画像データが,錠剤IDに対応づけられて登録データ4Aに登録される。   A pharmaceutical company produces many tablets of the same type (genuine tablets). The tablet type data represents the type of tablet. On the other hand, the tablet ID is an ID given to each individual tablet, and a separate ID is given to each of a number of tablets of the same type. Each tablet image data of each individual tablet specified by the tablet ID is registered in the registration data 4A in association with the tablet ID.

マスタ画像データは,上述した基準サンプルSの表面を表す画像データであり,錠剤種類ごとに登録データ4Aに登録される。一般には基準サンプルSを撮影することでマスタ画像を取得した後に,真正錠剤5T1,5T2,5T3,...の撮影に進む。   The master image data is image data representing the surface of the reference sample S described above, and is registered in the registration data 4A for each tablet type. In general, after obtaining a master image by photographing the reference sample S, the process proceeds to photographing genuine tablets 5T1, 5T2, 5T3,.

図1に戻って,下段に示す画像照合装置(真贋判定装置)は,照合装置5,撮像装置6および記憶装置4を備える。持ち込まれた検査錠剤が真正錠剤であるか真正錠剤ではないか(偽造錠剤であるか)が,上述した記憶装置4に記憶された登録データ4Aを用いて画像照合装置において照合されかつ判定される。   Returning to FIG. 1, the image collation apparatus (authentication determination apparatus) shown in the lower stage includes a collation apparatus 5, an imaging apparatus 6, and a storage apparatus 4. Whether the inspection tablet brought in is a genuine tablet or not a genuine tablet (whether it is a counterfeit tablet) is collated and determined by the image collation device using the registration data 4A stored in the storage device 4 described above. .

照合装置5も,上述した登録装置1と同様に,CPU,メモリ,ハードディスク等を備えるコンピュータ・システムであり,コンピュータ・システムを照合装置5として機能させるプログラムを実行することによって,コンピュータ・システムが照合装置5として機能する。画像照合装置が備える記憶装置4は,この実施例では上述した画像登録装置が備える記憶装置4と同一のものとして示されている。たとえば,照合装置5にネットワーク(インターネットなど)を介して画像登録装置の記憶装置4を接続することによって,画像照合装置に記憶装置4を含ませることができる。もっとも,記憶装置4に記憶されている登録データ4A(図2)を照合装置5に接続される別の記憶装置にダウンロード(コピー)して記憶させてもよい。   Similar to the registration device 1 described above, the verification device 5 is a computer system including a CPU, a memory, a hard disk, etc., and the computer system performs verification by executing a program that causes the computer system to function as the verification device 5 It functions as the device 5. In this embodiment, the storage device 4 included in the image collating device is shown as being the same as the storage device 4 included in the image registration device described above. For example, by connecting the storage device 4 of the image registration device to the verification device 5 via a network (such as the Internet), the storage device 4 can be included in the image verification device. However, the registration data 4A (FIG. 2) stored in the storage device 4 may be downloaded (copied) to another storage device connected to the verification device 5 and stored.

検査錠剤の撮影に先立って,撮像装置6によって照明装置7による照明下で上述した画像登録装置において用いられた基準サンプルSと同じ基準サンプルSが撮影される。以下の説明では,画像照合装置において基準サンプルSを撮影すること取得される画像を「基準サンプル画像」と呼び,上述した画像登録装置において基準サンプルSを撮影することで取得される「マスタ画像」と区別する。後述するように,画像照合装置において作成される基準サンプル画像と,画像登録装置において作成されるマスタ画像とに基づいて,マスタ画像と同じ基準サンプル画像の取得が試みられる。すなわち,画像照合装置の撮像装置6の撮影条件(画像解像度,シャッタスピード,絞り値など)の調整と,照明装置7の照明条件(照明角度など)の調整が繰返されて,これにより基準サンプルSの撮影時の画像照合装置の撮像装置6の撮影条件および照明装置7の照明条件が,基準サンプルSの撮影時の画像登録装置の撮像装置2の撮影条件および照明装置3の照明条件に合うようにキャリブレーション(調整)される。   Prior to photographing the test tablet, the imaging device 6 captures the same reference sample S as the reference sample S used in the above-described image registration device under illumination by the illumination device 7. In the following description, an image obtained by photographing the reference sample S in the image matching device is referred to as a “reference sample image”, and a “master image” obtained by photographing the reference sample S in the image registration device described above. To distinguish. As will be described later, an attempt is made to acquire the same reference sample image as the master image based on the reference sample image created by the image collation device and the master image created by the image registration device. That is, the adjustment of the shooting conditions (image resolution, shutter speed, aperture value, etc.) of the image pickup device 6 of the image collating device and the adjustment of the illumination conditions (illumination angle, etc.) of the lighting device 7 are repeated, whereby the reference sample S The imaging conditions of the imaging device 6 of the image collating device and the illumination conditions of the illuminating device 7 at the time of imaging are matched with the imaging conditions of the imaging device 2 of the image registration device and the illumination conditions of the illuminating device 3 at the time of imaging the reference sample S. Is calibrated (adjusted).

図3は画像照合装置が備える撮像装置6および照明装置7と,基準サンプルSと,基準サンプルSが載置される検査台13の位置関係を示す斜視図である。図4は照明装置7の拡大断面図を示している。図4において撮像装置6の図示は省略されている。   FIG. 3 is a perspective view showing the positional relationship between the imaging device 6 and the illumination device 7 provided in the image collating device, the reference sample S, and the inspection table 13 on which the reference sample S is placed. FIG. 4 shows an enlarged cross-sectional view of the lighting device 7. In FIG. 4, the imaging device 6 is not shown.

撮像装置6および照明装置7は,基準サンプルSが置かれる検査台13の上方に配置されている。照明装置7は半球形の形状を持つカバー21を備え,その頂点部分に円形のカメラ孔26があけられている。カバー21の内がわに多数の半導体発光素子(以下,LEDという)群22A,22B,23A,23B,24A,24Bを支持する支持体27が取り付けられている。支持体27も半球形であり,その頂点部分に円形のカメラ孔28があけられている。   The imaging device 6 and the illumination device 7 are disposed above the inspection table 13 on which the reference sample S is placed. The illuminating device 7 includes a cover 21 having a hemispherical shape, and a circular camera hole 26 is formed at the apex portion thereof. Inside the cover 21 is attached a support 27 for supporting a large number of semiconductor light emitting element (hereinafter referred to as LED) groups 22A, 22B, 23A, 23B, 24A, 24B. The support 27 is also hemispherical, and a circular camera hole 28 is formed at the apex thereof.

撮像装置6はカバー21の上方に固定的に設けられ,そのカメラ部分(レンズ部分)がカバー21のカメラ孔26および支持体27のカメラ孔28から下方にのぞみ,基準サンプルSが撮像される。撮像データ(画像データ)が撮像装置6から照合装置5に取り込まれる。   The imaging device 6 is fixedly provided above the cover 21, and its camera part (lens part) is viewed downward from the camera hole 26 of the cover 21 and the camera hole 28 of the support 27, and the reference sample S is imaged. Imaging data (image data) is taken from the imaging device 6 into the verification device 5.

LED群22A〜24Bは,撮像装置6の光軸を中心に,同心円状に三段に配置されている。LED群22A,22Bが上段からの照明を,LED群23A,23Bが中段からの照明を,LED群24A,24Bが下段からの照明をそれぞれ担当し,これらのLED群22A〜24Bによって基準サンプルSを異なる照射角度から照射することができる。   The LED groups 22A to 24B are arranged in three stages concentrically around the optical axis of the imaging device 6. The LED groups 22A and 22B are responsible for the illumination from the upper stage, the LED groups 23A and 23B are responsible for the illumination from the middle stage, and the LED groups 24A and 24B are responsible for the illumination from the lower stage. Can be irradiated from different irradiation angles.

図5(A)は基準サンプルSの平面図を,図5(B)は図5(A)のVB-VB線に沿う基準サンプルSの断面図をそれぞれ示している。   5A is a plan view of the reference sample S, and FIG. 5B is a cross-sectional view of the reference sample S along the line VB-VB in FIG. 5A.

基準サンプルSは,平板状のベース部の表面に微細な凸部11を行方向および列方向に規則的に並べて多数形成したもので,平面から見ると(図5(A))各凸部11は円形に見え,かつ隣接する凸部11同士は接触している。平面から視認される円形の各凸部11の直径は10μm〜1000μm程度であり,その高さ(図5(B))は5μm〜500μm程度である。断面から見ると各凸部11は半円形に見える。各凸部11は切削またはエッチングによって形成される。隣接する凸部11の間には当然に凹部が形成されるので,基準サンプルSの表面に凹凸が形成されていると表現することもできる。   In the reference sample S, a large number of fine protrusions 11 are regularly arranged in the row direction and the column direction on the surface of the flat base portion, and when viewed from a plane (FIG. 5A), each protrusion 11 Appears circular, and adjacent convex portions 11 are in contact with each other. The diameter of each circular convex part 11 visually recognized from the plane is about 10 μm to 1000 μm, and the height (FIG. 5B) is about 5 μm to 500 μm. When viewed from the cross section, each convex portion 11 appears to be semicircular. Each convex portion 11 is formed by cutting or etching. Since the concave portions are naturally formed between the adjacent convex portions 11, it can also be expressed that the concave and convex portions are formed on the surface of the reference sample S.

基準サンプルSの表面に形成される多数の微細凸部11は,上述した真贋判定システムの画像登録装置によって撮像される真正錠剤5T1,5T2,5T3,...の表面を模したものである。しかし,真正錠剤5T1,5T2,5T3,...の表面をそのまま忠実に模すことは容易ではないので,類似特性の表面凹凸を人工的に形成している。凸部11のサイズは,真正錠剤5T1,5T2,5T3,...の表面の凹凸よりも大きくてもよい。   A large number of fine convex portions 11 formed on the surface of the reference sample S imitate the surface of the authentic tablets 5T1, 5T2, 5T3,... Captured by the image registration device of the authenticity determination system described above. However, since it is not easy to faithfully imitate the surfaces of the authentic tablets 5T1, 5T2, 5T3,..., Surface irregularities having similar characteristics are artificially formed. The size of the protrusion 11 may be larger than the unevenness of the surface of the authentic tablets 5T1, 5T2, 5T3,.

多数の微細凸部11が形成された基準サンプルSの表面に入射する光によって基準サンプルSの表面には陰影が現れる。この基準サンプルSを撮影することによって取得される画像(マスタ画像および基準サンプル画像)にもこの陰影が表われる。マスタ画像と基準サンプル画像の陰影が同じ陰影となるように,画像照合装置の撮像装置6および照明装置7をキャリブレーション(調整)することで,画像照合装置における撮影環境を,画像登録装置における撮影環境に合わせることができる。   Shadows appear on the surface of the reference sample S due to light incident on the surface of the reference sample S on which a large number of fine protrusions 11 are formed. This shadow also appears in images (master image and reference sample image) acquired by photographing the reference sample S. By calibrating (adjusting) the imaging device 6 and the illumination device 7 of the image matching device so that the shadows of the master image and the reference sample image are the same, the shooting environment of the image matching device can be captured by the image registration device. Can be adapted to the environment.

図6〜図13は,上述したキャリブレーションのために用いられる基準サンプルの他の例を示している。   6 to 13 show other examples of the reference sample used for the above-described calibration.

図6は,上述した微細凸部11が隣接して形成されていない基準サンプルS1の正面図を示している。微細凸部11と微細凸部11の間には,微細凸部11の直径と同等の隙間が設けられている。   FIG. 6 shows a front view of the reference sample S1 in which the fine convex portions 11 are not formed adjacent to each other. A gap equivalent to the diameter of the fine convex portion 11 is provided between the fine convex portion 11 and the fine convex portion 11.

図7は,多数の微細凸部11が隣接して形成されている点は図5(A),(B)に示す基準サンプル5と同じであるが,一行および一列ごとに,おおよそ微細凸部11の直径の半分ずつ位置ずれして,各微細凸部11が形成されている基準サンプルS2の正面図を示している。   FIG. 7 is the same as the reference sample 5 shown in FIGS. 5A and 5B in that a large number of fine convex portions 11 are formed adjacent to each other, but the fine convex portions are roughly arranged for each row and column. A front view of the reference sample S2 in which each fine convex portion 11 is formed by being displaced by half of the diameter of 11 is shown.

図8は,図6および図7に示すパターンを組み合わせたもので,一行および一列ごとに,おおよそ微細凸部11の直径の半分ずつ位置ずれして各微細凸部11が形成されており,かつ偶数行については微細凸部11と微細凸部11の間に,微細凸部11の直径と同等の隙間が設けられている基準サンプルS3の正面図を示している。   FIG. 8 is a combination of the patterns shown in FIG. 6 and FIG. 7, and each fine convex portion 11 is formed by being displaced by about half the diameter of the fine convex portion 11 for each row and column, and For even rows, a front view of the reference sample S3 in which a gap equivalent to the diameter of the fine convex portion 11 is provided between the fine convex portion 11 and the fine convex portion 11 is shown.

図9(A),(B)に示す基準サンプルS4は,多数の微細凸部12が正面から見てほぼ正方形である点が,正面から見て円形に見える微細凸部11を有する図5(A),(B)の基準サンプルSと異なる。断面から見ると(図9(B)参照),各微細凸部12はほぼ方形に見える。微細凸部は四角錐等のその他の形状を持つものであってもよい。四角錐の微細凸部であれば断面形状は三角形となる。   The reference sample S4 shown in FIGS. 9A and 9B has a fine convex portion 11 in which a large number of fine convex portions 12 are substantially square when viewed from the front, and the fine convex portions 11 appear to be circular when viewed from the front. Different from the reference sample S of A) and (B). When viewed from a cross-section (see FIG. 9B), each fine convex portion 12 looks almost square. The fine convex portion may have another shape such as a quadrangular pyramid. If it is a fine convex part of a quadrangular pyramid, the cross-sectional shape is a triangle.

図10は,上述した微細凸部12が隣接して形成されていない基準サンプルS5の正面図を示している。微細凸部12と微細凸部12の間に,微細凸部12の幅と同等の隙間があけられている。   FIG. 10 shows a front view of the reference sample S5 in which the fine convex portions 12 described above are not formed adjacent to each other. A gap equivalent to the width of the fine convex portion 12 is provided between the fine convex portion 12 and the fine convex portion 12.

図11は,上述した微細凸部11が不規則に形成された基準サンプルS6の正面図を示している。図12はサイズの異なる3種類の微細凸部11a,微細凸部11,微細凸部11bおよび微細凹部11cが不規則に形成された基準サンプルS7を示している。   FIG. 11 shows a front view of the reference sample S6 in which the fine protrusions 11 described above are irregularly formed. FIG. 12 shows a reference sample S7 in which three kinds of fine convex portions 11a, fine convex portions 11, fine convex portions 11b and fine concave portions 11c having different sizes are irregularly formed.

基準サンプルは,真正錠剤5T1,5T2,5T3,...の表面の曲面を模した曲面を持つベース部の表面に微細凸部を形成したものであってもよい。図13には,真正錠剤5T1,5T2,5T3,...の表面の曲面を模した曲面を持つベース部の表面に,多数の微細凸部11を形成した基準サンプルS8を示している。検査台13上への配置を容易にするために,基準サンプルS8の底面(撮像装置6によって撮像されない範囲)は平らに形成されている。   The reference sample may be one in which fine convex portions are formed on the surface of the base portion having a curved surface imitating the curved surface of the genuine tablets 5T1, 5T2, 5T3,. FIG. 13 shows a reference sample S8 in which a large number of fine convex portions 11 are formed on the surface of a base portion having a curved surface imitating the curved surfaces of genuine tablets 5T1, 5T2, 5T3,. In order to facilitate the placement on the inspection table 13, the bottom surface of the reference sample S8 (the range that is not imaged by the imaging device 6) is formed flat.

図14は画像照合装置における撮像装置6および照明装置7のキャリブレーション(調整)の流れを示すフローチャートである。   FIG. 14 is a flowchart showing a flow of calibration (adjustment) of the imaging device 6 and the illumination device 7 in the image collating device.

上述したように,基準サンプルSが検査台13に置かれる。撮像装置6の光軸上に基準サンプルSの中心が位置するように基準サンプルSは位置決めされる。照明装置7による照明の下で,撮像装置6によって基準サンプルS(その表面)が撮影される(ステップ21)。   As described above, the reference sample S is placed on the inspection table 13. The reference sample S is positioned so that the center of the reference sample S is positioned on the optical axis of the imaging device 6. Under the illumination by the illuminating device 7, the reference sample S (the surface thereof) is photographed by the imaging device 6 (step 21).

記憶装置4に記憶されている登録データ4A(図2)から,基準サンプルSに対応するマスタ画像が読み出され,読み出されたマスタ画像と撮影されて取得された基準サンプルSの画像とが比較される(ステップ22)。比較処理では,たとえばマスタ画像と基準サンプル画像の類似の程度を表す評価値が算出される。評価値には差分値や相関値を用いることができ,たとえば差分値の算出にはSSD(Sum of SquaredDifference),SAD(Sum of Absolute Difference),相関値の算出にはNCC(Normalized Cross-Correlation),ZNCC(Zero-mean Normalized Cross-Correlation)などの既知のアルゴリズムを用いることができる。   A master image corresponding to the reference sample S is read from the registration data 4A (FIG. 2) stored in the storage device 4, and the read master image and the image of the reference sample S acquired by photographing are obtained. Compared (step 22). In the comparison process, for example, an evaluation value representing the degree of similarity between the master image and the reference sample image is calculated. A difference value or a correlation value can be used as the evaluation value. For example, an SSD (Sum of Squared Difference) or SAD (Sum of Absolute Difference) is used to calculate the difference value, and an NCC (Normalized Cross-Correlation) is used to calculate the correlation value. , ZNCC (Zero-mean Normalized Cross-Correlation) can be used.

所定の第1のしきい値以上の評価値(類似度)が算出されなかった場合(ステップ23でNO),画像照合装置の操作者によって撮像装置6の撮影条件が調整される。たとえば,画像解像度,シャッタスピード,絞り値などの調整が行われる(ステップ24)。撮影条件の調整の後,再び基準サンプルSの撮影,マスタ画像との比較(評価値の算出)が行われる(ステップ21〜22)。   If the evaluation value (similarity) equal to or higher than the predetermined first threshold value is not calculated (NO in step 23), the imaging condition of the imaging device 6 is adjusted by the operator of the image verification device. For example, the image resolution, shutter speed, aperture value, etc. are adjusted (step 24). After adjusting the shooting conditions, the reference sample S is shot again and compared with the master image (evaluation value calculation) (steps 21 to 22).

第1のしきい値以上の評価値が算出されると,基準サンプルSが再度撮影され,マスタ画像と比較されてマスタ画像と基準サンプル画像の評価値が再度算出される(ステップ26)。第1のしきい値よりも大きな第2のしきい値が用いられて,第2のしきい値以上の評価値が算出されたかどうかが判断される(ステップ27)。第1のしきい値と比較される評価値の算出と,第2のしきい値と比較される評価値の算出には,同一のアルゴリズムを用いてもよいし,異なるアルゴリズムを用いてもよい。   When the evaluation value equal to or greater than the first threshold is calculated, the reference sample S is taken again and compared with the master image, and the evaluation values of the master image and the reference sample image are calculated again (step 26). A second threshold value larger than the first threshold value is used to determine whether an evaluation value equal to or higher than the second threshold value has been calculated (step 27). The same algorithm may be used for calculating the evaluation value compared with the first threshold and the evaluation value compared with the second threshold, or different algorithms may be used. .

第2のしきい値以上の評価値が算出されなかった場合(ステップ27でNO),画像照合装置の操作者によって照明装置7の照明条件が調整される(ステップ28)。たとえば,照明装置7に含まれる多数のLED群22A〜24Bのスイッチをオンまたはオフすることで,上段LED22A,22Bのみの照明,中段LED23A,23Bのみの照明,下段LED24A,24Bのみの照明などが行われる。照明条件の調整の後,基準サンプルSの撮影,およびマスタ画像との比較(評価値の算出)が再度行われる(ステップ25,26)。   If the evaluation value equal to or greater than the second threshold value is not calculated (NO in step 27), the illumination condition of the illumination device 7 is adjusted by the operator of the image collating device (step 28). For example, by turning on or off a large number of LED groups 22A to 24B included in the illumination device 7, illumination of only the upper LEDs 22A and 22B, illumination of only the middle LEDs 23A and 23B, illumination of only the lower LEDs 24A and 24B, etc. Done. After adjustment of the illumination conditions, photographing of the reference sample S and comparison with the master image (calculation of evaluation values) are performed again (steps 25 and 26).

第2のしきい値以上の評価値が算出されることで,撮像装置6および照明装置7の調整が終了する(ステップ27でYES)。   When the evaluation value equal to or greater than the second threshold value is calculated, the adjustment of the imaging device 6 and the illumination device 7 ends (YES in step 27).

撮像装置6および照明装置7の調整を終えると,検査対象(照合対象)の錠剤の撮影に進む。撮影された検査錠剤の画像と,記憶装置4に記憶されている複数の真正の錠剤画像(図2参照)との照合処理が行われる。たとえば,検査錠剤の画像と記憶装置4に記憶されている複数の真正錠剤画像のそれぞれの間で画像間の類似の程度を表す相関値が算出される。所定のしきい値以上の相関値が算出された場合,その真正錠剤画像は検査錠剤の画像と同じまたは非常に似ていると判断され,検査錠剤は真正錠剤であることが判定される。所定のしきい値未満の相関値しか算出されなかった場合に,検査錠剤は真正錠剤ではない(偽造錠剤である)ことが判定される。   When the adjustment of the imaging device 6 and the illumination device 7 is completed, the process proceeds to imaging of the tablet to be inspected (verification target). A collation process is performed between the photographed image of the test tablet and a plurality of genuine tablet images stored in the storage device 4 (see FIG. 2). For example, a correlation value representing the degree of similarity between images between the test tablet image and each of a plurality of genuine tablet images stored in the storage device 4 is calculated. When a correlation value equal to or greater than a predetermined threshold is calculated, it is determined that the genuine tablet image is the same as or very similar to the test tablet image, and it is determined that the test tablet is a genuine tablet. When only the correlation value less than the predetermined threshold value is calculated, it is determined that the test tablet is not a genuine tablet (a counterfeit tablet).

図15は画像照合装置における撮像装置6および照明装置7のキャリブレーション(調整)の処理の他の例を示すフローチャートである。図14に示すフローチャート中の同一処理には同一符号を付し,重複説明を省略する。   FIG. 15 is a flowchart illustrating another example of calibration (adjustment) processing of the imaging device 6 and the illumination device 7 in the image collating device. The same processes in the flowchart shown in FIG.

図15に示すフローチャートでは,撮像装置6の調整と照明装置7の調整が同時に行われる(ステップ29)。マスタ画像と基準サンプル画像の類似の程度を表す評価値がしきい値以上になると,撮像装置6の調整および照明装置7の調整が終了する(ステップ23でYES)。   In the flowchart shown in FIG. 15, the adjustment of the imaging device 6 and the adjustment of the illumination device 7 are performed simultaneously (step 29). When the evaluation value representing the degree of similarity between the master image and the reference sample image is equal to or greater than the threshold value, the adjustment of the imaging device 6 and the adjustment of the illumination device 7 are completed (YES in step 23).

上述した実施例では,画像登録装置が備える撮像装置2の撮影条件および照明装置3の照明条件に,画像照合装置が備える撮像装置6の撮影条件および照明装置7の照明条件を合わせている(近づけている)。もちろん,画像登録装置と画像照合装置の間のみならず,たとえば一の画像登録装置と他の画像登録装置との間で撮影条件および照明条件を合わせる(近づける)ようにしてもよい。たとえば,真正錠剤5T1,5T2,5T3,...が異なる場所(異なる製造ライン)でそれぞれ製造される場合である。この場合には一の画像登録装置と他の画像登録装置のそれぞれで基準サンプルSが撮影され,上述した評価値(類似度)に応じて,一方の画像登録装置が備える撮像装置の撮影条件および照明装置の照明条件が,他方の画像登録装置が備える撮像装置の撮影条件および照明装置の照明条件に合うように調整される。   In the above-described embodiment, the imaging condition of the imaging device 6 and the illumination condition of the illumination device 7 included in the image collating device are matched (approached) to the imaging condition of the imaging device 2 and the illumination condition of the illumination device 3 included in the image registration device. ing). Of course, not only between the image registration device and the image collation device, but also, for example, the photographing condition and the illumination condition may be matched (approached) between one image registration device and another image registration device. For example, the genuine tablets 5T1, 5T2, 5T3,... Are manufactured in different places (different production lines). In this case, the reference sample S is photographed by each of the one image registration device and the other image registration device, and according to the evaluation value (similarity) described above, the photographing conditions of the imaging device included in one image registration device and The illumination condition of the illumination device is adjusted so as to match the imaging condition of the imaging device provided in the other image registration device and the illumination condition of the illumination device.

1 登録装置
2,6 撮像装置
3,7 照明装置
4 記憶装置(マスタ画像記憶手段)
4A 登録データ
5 照合装置(類似度算出手段)
11,11a,11b,11c,12 微細凸部
22A,22B,23A,23B,24A,24B LED群
S,S1,S2,S3,S4,S5,S6,S7,S8 基準サンプル
1 Registration Device 2, 6 Imaging Device 3, 7 Illumination Device 4 Storage Device (Master Image Storage Means)
4A Registration data 5 Verification device (similarity calculation means)
11, 11a, 11b, 11c, 12 Fine convex part
22A, 22B, 23A, 23B, 24A, 24B LED group S, S1, S2, S3, S4, S5, S6, S7, S8 Reference sample

Claims (7)

第1の撮像装置によって第1の照明装置の照明下で表面に凸部を有する基準サンプルを撮像することにより上記第1の撮像装置から出力される陰影を含むマスタ画像を表すマスタ画像データをマスタ画像記憶手段に記憶しておき,
第2の撮像装置によって第2の照明装置の照明下で上記基準サンプルを撮像することにより上記第2の撮像装置から出力される陰影を含む基準サンプル画像を表す基準サンプル画像データと,上記マスタ画像記憶手段に記憶されているマスタ画像データとを,類似度算出手段によって比較して上記基準サンプル画像の上記マスタ画像に対する類似度を算出し,
算出した上記基準サンプル画像と上記マスタ画像の類似度が近づくように,上記第2の撮像装置の撮像条件および上記第2の照明装置の少なくとも照明角度を含む照明条件を調整する,
キャリブレーション方法。
Master image data representing a master image including a shadow output from the first imaging device is obtained by imaging a reference sample having a convex portion on the surface under illumination of the first illumination device by the first imaging device. Store it in the image storage means,
Reference sample image data representing a reference sample image including a shadow output from the second imaging device by imaging the reference sample under illumination of the second illumination device by the second imaging device, and the master image The master image data stored in the storage means is compared by the similarity calculation means to calculate the similarity of the reference sample image to the master image,
Adjusting the imaging condition of the second imaging device and the illumination condition including at least the illumination angle of the second illumination device so that the calculated similarity between the reference sample image and the master image approaches.
Calibration method.
上記第1の撮像装置および上記第1の照明装置が,上記第1の撮像装置によって上記第1の照明装置の照明下で複数の真正品を撮像して出力される真正品画像データを記憶装置に登録する画像登録装置に設けられ,
上記第2の撮像装置および上記第2の照明装置が,上記第2の撮像装置によって上記第2の照明装置の照明下で検査品を撮像して出力される検査品画像データに合致する真正品画像データが上記記憶装置に存在するかどうかを判断する画像照合装置に設けられている,
請求項1に記載のキャリブレーション方法。
The first imaging device and the first lighting device store genuine image data output by imaging a plurality of genuine products under the illumination of the first lighting device by the first imaging device. Provided in the image registration device to be registered in
Authentic product in which the second imaging device and the second illumination device match the inspection product image data output by imaging the inspection product under the illumination of the second illumination device by the second imaging device. Provided in an image collation device for determining whether image data exists in the storage device;
The calibration method according to claim 1.
上記第1の撮像装置および上記第1の照明装置が,上記第1の撮像装置によって上記第1の照明装置の照明下で複数の第1の真正品を撮像して出力される第1の真正品画像データを第1の記憶装置に登録する第1の画像登録装置に設けられ,
上記第2の撮像装置および上記第2の照明装置が,上記第2の撮像装置によって上記第2の照明装置の照明下で複数の第2の真正品を撮像して出力される第2の真正品画像データを第2の記憶装置に登録する第2の画像登録装置に設けられている,
請求項1に記載のキャリブレーション方法。
The first image pickup device and the first illumination device are configured to output a plurality of first authentic products under the illumination of the first illumination device by the first image pickup device. Provided in a first image registration device for registering product image data in a first storage device;
The second image pickup device and the second illumination device capture a plurality of second authentic products under the illumination of the second illumination device by the second image pickup device and output the second authentic products. Provided in the second image registration device for registering the product image data in the second storage device,
The calibration method according to claim 1.
上記第2の撮像装置が撮影条件を調整可能なものであり,
上記第2の照明装置が照明条件を調整可能なものである,
請求項1から3のいずれか一項に記載のキャリブレーション方法。
The second imaging device is capable of adjusting shooting conditions,
The second lighting device is capable of adjusting lighting conditions.
The calibration method according to any one of claims 1 to 3.
上記照明条件は上記基準サンプルに対する照明角度を含み,上記第2の照明装置が,上記基準サンプルを撮像する上記第2の撮像装置の光軸を中心にして,オン/オフ制御可能な複数の光源群を上記基準サンプルを照明する角度を異ならせて配置させたものである,
請求項4に記載のキャリブレーション方法。
The illumination condition includes an illumination angle with respect to the reference sample, and the second illumination device is capable of on / off control about the optical axis of the second imaging device that images the reference sample. The groups are arranged at different angles to illuminate the reference sample.
The calibration method according to claim 4.
上記撮影条件は画像の解像度,撮像装置のシャッタスピードおよび絞り値のうちの少なくともいずれかを含み,上記第2の撮像装置が画像の解像度,シャッタスピードおよび絞り値のうちの少なくともいずれか一つを調整可能なものである,
請求項4に記載のキャリブレーション方法。
The shooting conditions include at least one of image resolution, shutter speed and aperture value of the imaging device, and the second imaging device sets at least one of image resolution, shutter speed and aperture value. Is adjustable,
The calibration method according to claim 4.
第1の撮像装置によって第1の照明装置の照明下で表面に凸部を有する基準サンプルを撮像することにより上記第1の撮像装置から出力される陰影を含むマスタ画像を表すマスタ画像データを記憶するマスタ画像記憶手段
2の撮像装置によって第2の照明装置の照明下で上記基準サンプルを撮像することにより上記第2の撮像装置から出力される陰影を含む基準サンプル画像を表す基準サンプル画像データと,上記マスタ画像記憶手段に記憶されているマスタ画像データとを比較して,上記基準サンプル画像の上記マスタ画像に対する類似度を算出する類似度算出手段,および
上記類似度算出手段によって算出された上記基準サンプル画像と上記マスタ画像の類似度が近づくように,上記第2の撮像装置の撮像条件および上記第2の照明装置の少なくとも照明角度を含む照明条件を調整する調整手段を備える,
キャリブレーション装置。
Master image data representing a master image including a shadow output from the first imaging device is stored by imaging a reference sample having a convex portion on the surface under illumination of the first illumination device by the first imaging device. Master image storage means for
And the reference sample image data representing the reference sample image comprising a shadow output from the second imaging device by imaging the reference sample under the illumination of the second lighting device by the second imaging device, the master image Similarity calculation means for comparing the master image data stored in the storage means and calculating the similarity of the reference sample image to the master image ; and
The imaging condition of the second imaging device and the illumination condition including at least the illumination angle of the second lighting device are set so that the similarity between the reference sample image calculated by the similarity calculation means and the master image approaches. With adjustment means to adjust,
Calibration device.
JP2013073186A 2013-03-29 2013-03-29 Calibration method and calibration apparatus Active JP6118614B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013073186A JP6118614B2 (en) 2013-03-29 2013-03-29 Calibration method and calibration apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013073186A JP6118614B2 (en) 2013-03-29 2013-03-29 Calibration method and calibration apparatus

Publications (2)

Publication Number Publication Date
JP2014196968A JP2014196968A (en) 2014-10-16
JP6118614B2 true JP6118614B2 (en) 2017-04-19

Family

ID=52357855

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013073186A Active JP6118614B2 (en) 2013-03-29 2013-03-29 Calibration method and calibration apparatus

Country Status (1)

Country Link
JP (1) JP6118614B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3603604A4 (en) * 2017-03-23 2020-04-01 FUJIFILM Toyama Chemical Co., Ltd. Drug recognizing device, drug recognizing method, and drug recognizing program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06162178A (en) * 1992-11-20 1994-06-10 Mikuni Corp Light quantity control method for image processor of parts feeder
JP2003190125A (en) * 2001-12-27 2003-07-08 Konica Corp Image processor, image processing method, program and storage medium
JP2003211875A (en) * 2002-01-18 2003-07-30 Konica Corp Id card preparing system and color correcting method in id card preparing system
JP4735255B2 (en) * 2005-12-29 2011-07-27 オムロン株式会社 Image processing apparatus and operation condition setting method for image processing apparatus
JP2008104046A (en) * 2006-10-20 2008-05-01 Matsushita Electric Ind Co Ltd Imaging apparatus with automatic color correction function

Also Published As

Publication number Publication date
JP2014196968A (en) 2014-10-16

Similar Documents

Publication Publication Date Title
KR101251372B1 (en) Three dimension shape measuring method
KR101639227B1 (en) Three dimensional shape measurment apparatus
JP2013522754A (en) Iris recognition apparatus and method using a plurality of iris templates
CN106524909B (en) Three-dimensional image acquisition method and device
JP2018056971A5 (en)
US20190164350A1 (en) Three-dimensional modeling method and system thereof
JP6741205B2 (en) Individual identification device
KR101371376B1 (en) Three dimensional shape measurment apparatus
JP2014122789A (en) Information acquisition device, projection device, and object detector
JP6255125B2 (en) Image processing apparatus, image processing system, and image processing method
US11033337B2 (en) Optical tracking system and optical tracking method
JPWO2007037227A1 (en) POSITION INFORMATION DETECTING DEVICE, POSITION INFORMATION DETECTING METHOD, AND POSITION INFORMATION DETECTING PROGRAM
JP5143312B2 (en) Information acquisition device, projection device, and object detection device
JP2014029678A (en) Authenticity determination system and authenticity determination program
WO2015073590A2 (en) Collimation and homogenization system for an led luminaire
US11087498B2 (en) Image processing system, optical sensor, and learning apparatus with irregular lens array
TW574673B (en) Coin discriminating device and coin discriminating method
JP6118614B2 (en) Calibration method and calibration apparatus
JP2002330336A5 (en)
JP7056131B2 (en) Image processing system, image processing program, and image processing method
CN109073370A (en) Use the depth sense of structured lighting
JP6516918B2 (en) Material recognition illumination system and material recognition method using the same
WO2016042642A1 (en) Distance measuring light generating device
US20160162744A1 (en) Decision device provided to decide whether an eye is real or false
JP5977703B2 (en) Condition reproduction method, image collation apparatus and operation control method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150403

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160315

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160407

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160906

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161007

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170314

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170327

R150 Certificate of patent or registration of utility model

Ref document number: 6118614

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250