JP6862683B2 - Judgment device and program - Google Patents

Judgment device and program Download PDF

Info

Publication number
JP6862683B2
JP6862683B2 JP2016108593A JP2016108593A JP6862683B2 JP 6862683 B2 JP6862683 B2 JP 6862683B2 JP 2016108593 A JP2016108593 A JP 2016108593A JP 2016108593 A JP2016108593 A JP 2016108593A JP 6862683 B2 JP6862683 B2 JP 6862683B2
Authority
JP
Japan
Prior art keywords
color
determination
flatness
pixel
component
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
JP2016108593A
Other languages
Japanese (ja)
Other versions
JP2017215739A (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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing 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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP2016108593A priority Critical patent/JP6862683B2/en
Publication of JP2017215739A publication Critical patent/JP2017215739A/en
Application granted granted Critical
Publication of JP6862683B2 publication Critical patent/JP6862683B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、対象物の印刷方法を判定する技術に関する。 The present invention relates to a technique for determining a printing method of an object.

近年、運転免許証、住民基本台帳カード、在留カード、特別永住者証明書又はパスポート等の本人確認が求められる身分証明書がカード型の形状とされる場合がある。これらの身分証明書は本人確認に用いられるため、その身分証明書自体が本物であるか否かは厳密に判定される必要がある。そして、このような身分証明書の真贋を判定するに当たり、特許文献1、2に開示されるように、当該身分証明書の表面を撮像して得られる画像を用いて真贋を判定する手法が知られている。 In recent years, identification cards such as driver's licenses, basic resident register cards, residence cards, special permanent resident certificates, and passports that require identity verification may be in the form of cards. Since these ID cards are used for identity verification, it is necessary to strictly determine whether or not the ID card itself is genuine. Then, in determining the authenticity of such an identification card, as disclosed in Patent Documents 1 and 2, a method of determining the authenticity using an image obtained by imaging the surface of the identification card is known. Has been done.

特許文献1に記載の手法は、身分証明書の贋物が、例えばレーザプリンタ又はインクジェットプリンタ等による、いわゆる面積階調方式の印刷により製造される場合が多いことを利用して真贋を判定している。より具体的に、特許文献1では、先ず予め設定した身分証明書特有のフォーマットに基づいて身分証明書全体の画像から特定の領域を抽出する。その後、抽出された領域から、上記面積階調方式の印刷により製造された贋物に発生するモアレ縞(即ち所定パターン配置の画像パターン)が検出された場合に、その身分証明書が贋物であると判定する。 The method described in Patent Document 1 determines the authenticity by utilizing the fact that the fake identification card is often manufactured by so-called area gradation printing by, for example, a laser printer or an inkjet printer. .. More specifically, in Patent Document 1, first, a specific area is extracted from the image of the entire ID card based on a preset format peculiar to the ID card. After that, when moire fringes (that is, an image pattern having a predetermined pattern arrangement) generated in the fake product manufactured by printing in the area gradation method is detected from the extracted area, the identification card is determined to be the fake product. judge.

特開2011−34535号公報Japanese Unexamined Patent Publication No. 2011-34535 特開2016−76079号公報Japanese Unexamined Patent Publication No. 2016-76079

しかしながら、特許文献1に記載の技術では、画像取得解像度が印字最小解像度と同等程度でないとモワレ縞が発生しない。また、対象となる印刷機器の印字解像度が画像取得機器と合わない場合には判定ができない。 However, in the technique described in Patent Document 1, moire fringes do not occur unless the image acquisition resolution is about the same as the minimum print resolution. Further, if the print resolution of the target printing device does not match the image acquisition device, the determination cannot be made.

本発明は、印刷面の輝度変化の影響を受けずに、面積諧調方式の印刷によるものか否かを安定的に判定することが可能な判定装置を提供することを主な目的とする。 An object of the present invention is to provide a determination device capable of stably determining whether or not printing is performed by an area gradation method without being affected by a change in brightness of a printed surface.

本発明の1つの観点では、判定装置は、対象物の一部の撮影画像の撮像データを取得する取得手段と、前記撮像データから、前記撮影画像の色成分を生成する色成分生成手段と、前記色成分に基づいて、前記撮影画像の色平坦度を判定する色平坦度算出手段と、決定された色平坦度に基づいて、前記対象物の一部に面積諧調方式の印刷が施されているか否かを判定する印刷判定手段と、前記撮像データに含まれる文字領域に対してマスク処理を行うマスク処理手段と、を備え、前記マスク処理手段は、前記撮像画像に含まれる複数の画素のうち、明るさ成分が第1所定値以上である画素及び第2所定値以下である画素を検出し、当該画素及び当該画素の周辺画素の領域を前記文字領域としてマスクし、前記色成分生成手段は、前記マスク処理によりマスクされた文字領域以外の領域について前記色成分を生成する。
From one aspect of the present invention, the determination device includes an acquisition means for acquiring captured image of a part of the captured image of the object, a color component generating means for generating a color component of the captured image from the captured data, and the like. An area gradation method is printed on a part of the object based on the color flatness calculation means for determining the color flatness of the captured image based on the color component and the determined color flatness. The mask processing means includes a print determination means for determining whether or not the image is present, and a mask processing means for performing mask processing on a character area included in the captured image, and the mask processing means includes a plurality of pixels included in the captured image. Among them, a pixel having a brightness component of the first predetermined value or more and a pixel having a brightness component of the second predetermined value or less are detected, the area of the pixel and the peripheral pixels of the pixel is masked as the character area, and the color component generating means. Generates the color component for an area other than the character area masked by the masking process.

上記の判定装置は、例えば身分証明書などの対象物の一部の撮影画像の撮像データを取得し、撮像データから撮影画像の色成分を生成する。そして、色成分に基づいて撮影画像の色平坦度を判定し、決定された色平坦度に基づいて、対象物の一部に面積諧調方式の印刷が施されているか否かを判定する。また、判定装置は、撮像画像に含まれる文字領域に対してマスク処理を行うマスク処理手段を備える。マスク処理手段は、撮像画像に含まれる複数の画素のうち、明るさ成分が第1所定値以上である画素及び第2所定値以下である画素を検出し、当該画素及び当該画素の周辺画素の領域を前記文字領域としてマスクする。色成分生成手段は、前記マスク処理によりマスクされた文字領域以外の領域について前記色成分を生成する。これにより、撮影画像に文字領域が含まれていても正しく判定を行うことができる。
The above-mentioned determination device acquires the captured data of a part of the captured image of the object such as an identification card, and generates the color component of the captured image from the captured data. Then, the color flatness of the captured image is determined based on the color component, and based on the determined color flatness, it is determined whether or not a part of the object is printed by the area gradation method. Further, the determination device includes a mask processing means for performing mask processing on the character area included in the captured image . The mask processing means detects a pixel having a brightness component of the first predetermined value or more and a pixel having a brightness component of the second predetermined value or less among a plurality of pixels included in the captured image, and of the pixel and peripheral pixels of the pixel. The area is masked as the character area. The color component generating means generates the color component for a region other than the character region masked by the masking process. As a result, even if the captured image includes a character area, the determination can be made correctly.

上記の判定装置の一態様では、前記色平坦度算出手段は、前記撮影画像を構成する複数の画素領域における色成分の平均偏差、分散及び標準偏差のいずれかに基づいて前記色平坦度を算出する。 In one aspect of the determination device, the color flatness calculating means calculates the color flatness based on any of the mean deviation, dispersion, and standard deviation of the color components in the plurality of pixel regions constituting the captured image. To do.

上記の判定装置の他の一態様では、前記色平坦度算出手段は、前記撮影画像を構成する複数の画素領域における色成分の周波数解析を行い、DC成分以外の周波数成分の大きさに基づいて前記色平坦度を算出する。 In another aspect of the above-mentioned determination device, the color flatness calculating means performs frequency analysis of color components in a plurality of pixel regions constituting the captured image, and is based on the magnitude of frequency components other than the DC component. The color flatness is calculated.

上記の判定装置の他の一態様では、前記色平坦度算出手段は、前記撮影画像を構成する複数の画素領域毎に前記色平坦度を算出し、得られた複数の色平坦度の代表値を決定し、前記印刷判定手段は、前記代表値に基づいて、前記対象物の一部に面積諧調方式の印刷が施されているか否かを判定する。この態様では、対象物の一部として単一色でない領域を使用する場合や、対象物の表面に傷、汚れなどがある場合でも正しく判定を行うことができる。好適には、前記色平坦度算出手段は、前記複数の色平坦度の平均値、前記複数の色平坦度のヒストグラムにおけるピーク値、及び、前記複数の色平坦度の平均値を基準とした標準偏差の範囲内における色平坦度の平均値のうちのいずれかを前記代表値とする。 In another aspect of the above-mentioned determination device, the color flatness calculating means calculates the color flatness for each of a plurality of pixel regions constituting the captured image, and is a representative value of the obtained plurality of color flatnesses. Is determined, and the print determination means determines whether or not the area gradation type printing is applied to a part of the object based on the representative value. In this aspect, even when a region other than a single color is used as a part of the object, or when the surface of the object has scratches, stains, etc., the determination can be made correctly. Preferably, the color flatness calculating means is a standard based on the average value of the plurality of color flatnesses, the peak value in the histogram of the plurality of color flatnesses, and the average value of the plurality of color flatnesses. Any one of the average values of color flatness within the deviation range is used as the representative value.

上記の判定装置の他の一態様では、前記撮像データはRGBデータであり、前記色成分生成手段は、前記RGBデータから色差成分を生成して前記色成分とする。この態様では、色差成分の演算により色成分を生成することができる。 In another aspect of the above-mentioned determination device, the imaging data is RGB data, and the color component generating means generates a color difference component from the RGB data and uses it as the color component. In this aspect, the color component can be generated by the calculation of the color difference component.

上記の判定装置の他の一態様は、前記対象物の一部に面積諧調方式の印刷が施されている場合に、当該対象物を偽物であると判定する真贋判定手段を備える。この態様では、面積諧調方式の印刷が施されているか否かに基づいて、対象物が本物であるか偽物であるかを判定することができる。 Another aspect of the above-mentioned determination device includes an authenticity determination means for determining an object as a fake when a part of the object is printed in an area gradation system. In this aspect, it is possible to determine whether the object is genuine or fake based on whether or not the area gradation printing is applied.

本発明の他の観点では、コンピュータを備える判定装置により実行されるプログラムは、対象物の一部の撮影画像の撮像データを取得する取得手段、前記撮像データから、前記撮影画像の色成分を生成する色成分生成手段、前記色成分に基づいて、前記撮影画像の色平坦度を判定する色平坦度算出手段、決定された色平坦度に基づいて、前記対象物の一部に面積諧調方式の印刷が施されているか否かを判定する印刷判定手段、前記撮像データに含まれる文字領域に対してマスク処理を行うマスク処理手段、として前記コンピュータを機能させ、前記マスク処理手段は、前記撮像画像に含まれる複数の画素のうち、明るさ成分が第1所定値以上である画素及び第2所定値以下である画素を検出し、当該画素及び当該画素の周辺画素の領域を前記文字領域としてマスクし、前記色成分生成手段は、前記マスク処理によりマスクされた文字領域以外の領域について前記色成分を生成する。このプログラムをコンピュータで実行することにより、上記の判定装置を実現することができる。 In another aspect of the present invention, a program executed by a determination device including a computer generates a color component of the captured image from the captured data, an acquisition means for acquiring captured data of a part of the captured image of the object. Color component generation means to be used, color flatness calculation means for determining the color flatness of the captured image based on the color component, and an area gradation method for a part of the object based on the determined color flatness. The computer is made to function as a print determining means for determining whether or not printing is performed, and a mask processing means for performing mask processing on a character area included in the captured data, and the mask processing means is the captured image. Among the plurality of pixels included in the above, a pixel having a brightness component of the first predetermined value or more and a pixel having a brightness component of the second predetermined value or less are detected, and the area of the pixel and the peripheral pixels of the pixel is masked as the character area. Then, the color component generating means generates the color component in a region other than the character region masked by the masking process. By executing this program on a computer, the above-mentioned determination device can be realized.

実施形態に係る判定方法の基本原理を説明する図である。It is a figure explaining the basic principle of the determination method which concerns on embodiment. 本実施形態に係る判定装置の構成を示すブロック図である。It is a block diagram which shows the structure of the determination apparatus which concerns on this embodiment. 平坦度判定値の算出方法の例を示す。An example of the calculation method of the flatness judgment value is shown. 単一色でない判定領域における判定方法の説明図である。It is explanatory drawing of the determination method in the determination area which is not a single color. 単一色でない判定領域における代表値の決定方法の説明図である。It is explanatory drawing of the determination method of the representative value in the determination area which is not a single color. 文字領域のマスク処理の説明図である。It is explanatory drawing of the mask processing of a character area. 判定処理のフローチャートである。It is a flowchart of a determination process.

以下、図面を参照しながら、本発明の実施の形態について説明する。
[基本原理]
まず、本実施形態による判定方法の基本原理について説明する。本実施形態の判定装置は、例えば身分証明書などの判定対象となる物(以下、「対象物」と呼ぶ。)の印刷箇所が面積諧調方式によるものであるか否かを判定し、身分証明書などの真贋判定を行う。本物の身分証明書は昇華転写方式により印刷される。これに対し、偽物の身分証明書は、本物の身分証明書をカラースキャナにより撮像して得られた撮像データを用いて、いわゆる面積諧調方式の印刷により製造されることが多い。そこで、本実施形態の判定装置は、身分証明書などの対象物の印刷面が面積諧調方式の印刷によるものであるか否かを判定し、印刷面が面積諧調方式により形成されている場合に、その対象物を偽物と判定する。なお、面積諧調方式の印刷には、例えばドットマトリクス方式の印刷、レーザプリンタ又はインクジェットプリンタによる印刷などが含まれる。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[Basic principle]
First, the basic principle of the determination method according to the present embodiment will be described. The determination device of the present embodiment determines whether or not the printed portion of the object to be determined (hereinafter referred to as "object") such as an identification card is based on the area gradation method, and certifies the identity. Judge the authenticity of books. Genuine identification is printed by the sublimation transfer method. On the other hand, a fake ID card is often manufactured by so-called area gradation printing using image data obtained by imaging a real ID card with a color scanner. Therefore, the determination device of the present embodiment determines whether or not the printed surface of the object such as the identification card is printed by the area gradation method, and when the printed surface is formed by the area gradation method. , Judge the object as a fake. The area gradation type printing includes, for example, dot matrix type printing, printing by a laser printer or an inkjet printer, and the like.

対象物が面積諧調方式の印刷により作製された偽物である場合、例えば身分証明書に含まれる顔写真の背景のような単色で塗られている領域には色のばらつきが生じる。図1(A)は、面積諧調方式のプリンタによる色表現の方法を示す。面積諧調方式では、対象となる単位印刷領域31においてシアン、マゼンタ、イエローの印刷を施す面積を調整することによりカラー印刷を行う。例えば、単位印刷領域31においてシアン、マゼンタ、イエローを1/3ずつの面積に印刷することにより、全体としてグレーを印刷する。したがって、印刷解像度よりも低い解像度で見る場合には色のばらつきは感じられないが、印刷解像度よりも高い解像度で見ると色のばらつきが認識される。 When the object is a fake produced by area gradation printing, color variation occurs in the area painted in a single color such as the background of a face photograph included in an identification card. FIG. 1A shows a method of color expression by an area gradation printer. In the area gradation method, color printing is performed by adjusting the area for printing cyan, magenta, and yellow in the target unit printing area 31. For example, by printing cyan, magenta, and yellow in an area of 1/3 each in the unit print area 31, gray is printed as a whole. Therefore, the color variation is not felt when viewed at a resolution lower than the print resolution, but the color variation is recognized when viewed at a resolution higher than the print resolution.

図1(B)は、面積諧調方式でグレーを印刷した印刷面を、印刷解像度よりも高い解像度のスキャナで読み取った様子を模式的に示す。スキャナの解像度が印刷解像度より高いため、スキャナの単位読取領域32は面積諧調方式の印刷における単位印刷領域31より小さい。このため、スキャナの単位読取領域内ではシアン、マゼンタ、イエローの領域の面積割合が1/3ずつにはならず、色の偏りが生じる。このように、面積諧調方式で印刷した印刷面を高い解像度のスキャナで読み取ると、色のばらつきが観察できる。一方、対象物が本物である場合には、そのような色のばらつきは生じない。よって、本実施形態では、対象物の印刷面を高解像度のスキャナで読み取り、色のばらつきを分析することにより、その対象物が面積諧調方式で印刷されているか否か、即ち、偽物であるか否かを判定する。 FIG. 1B schematically shows a state in which a printed surface printed with gray by an area gradation method is read by a scanner having a resolution higher than the print resolution. Since the resolution of the scanner is higher than the print resolution, the unit reading area 32 of the scanner is smaller than the unit print area 31 in the area gradation type printing. Therefore, in the unit reading area of the scanner, the area ratio of the cyan, magenta, and yellow areas is not reduced to 1/3 each, and color bias occurs. In this way, when the printed surface printed by the area gradation method is read by a high-resolution scanner, color variations can be observed. On the other hand, when the object is genuine, such color variation does not occur. Therefore, in the present embodiment, whether or not the object is printed by the area gradation method by scanning the printed surface of the object with a high-resolution scanner and analyzing the color variation, that is, whether it is a fake or not. Judge whether or not.

ここで、本実施形態では、特にスキャナの読取により得られた撮像データを明るさ成分と色成分とに分け、色成分に基づいて判定を行う点に特徴を有する。上記のように、対象物の印刷面の撮像データにおける色のばらつきを分析すれば面積諧調方式の印刷であるか否かを判定することができるが、印刷面の色によっては輝度変化の影響により判定精度が低下することがある。例えば、運転免許証に使用される青色(ブルー)の領域は輝度の変化が小さく、その影響が判定結果に出にくいが、金色(ゴールド)の領域は輝度の変化が大きく、輝度の変化が判定結果に与える影響が大きくなる。そこで、本実施形態では、対象物の撮像データを明るさ成分と色成分とに分け、色成分に基づいて色のばらつきを分析することにより、判定における輝度変化の影響を低減する。 Here, the present embodiment is particularly characterized in that the imaging data obtained by scanning with a scanner is divided into a brightness component and a color component, and a determination is made based on the color component. As described above, it is possible to determine whether or not the printing is based on the area gradation method by analyzing the color variation in the image data of the printing surface of the object, but depending on the color of the printing surface, it may be affected by the change in brightness. Judgment accuracy may decrease. For example, in the blue area used for a driver's license, the change in brightness is small and its influence is difficult to appear in the judgment result, but in the gold area, the change in brightness is large and the change in brightness is judged. The impact on the results will be greater. Therefore, in the present embodiment, the imaging data of the object is divided into a brightness component and a color component, and the color variation is analyzed based on the color component to reduce the influence of the brightness change in the determination.

具体的に、本実施形態では、明るさ成分として輝度成分を用い、色成分として色差成分を用いる。即ち、スキャナによる撮像データから輝度成分と色差成分を抽出し、色差成分に基づいて色のばらつきを検出する。色のばらつきを示す指標としては、色差成分における平坦度である「色差平坦度」用いる。即ち、本実施形態では、色差平坦度に基づいて、印刷面が面積諧調方式であるか否かを判定する。 Specifically, in the present embodiment, the luminance component is used as the brightness component, and the color difference component is used as the color component. That is, the luminance component and the color difference component are extracted from the image data taken by the scanner, and the color variation is detected based on the color difference component. As an index indicating color variation, "color difference flatness", which is the flatness of the color difference component, is used. That is, in the present embodiment, it is determined whether or not the printed surface is in the area gradation method based on the color difference flatness.

[判定装置の構成]
図2は、本実施形態に係る判定装置の構成を示すブロック図である。判定装置100は、処理部1と、スキャナ2と、記憶部3と、操作部4と、表示部5と、インタフェース(I/F)6とを備える。判定装置100は、対象物の一例である身分証明書Cの印刷面の画像を読み取って面積諧調方式による印刷が施されているか否かを判定し、その結果に基づいて身分証明書が本物であるか偽物であるかの判定(真贋判定)を行う。
[Configuration of judgment device]
FIG. 2 is a block diagram showing a configuration of a determination device according to the present embodiment. The determination device 100 includes a processing unit 1, a scanner 2, a storage unit 3, an operation unit 4, a display unit 5, and an interface (I / F) 6. The determination device 100 reads an image of the printed surface of the identification card C, which is an example of the object, determines whether or not printing is performed by the area gradation method, and based on the result, the identification card is genuine. Judgment as to whether it is present or fake (authenticity judgment) is performed.

処理部1は、身分証明書Cの撮像データに基づいて、印刷面が面積諧調方式で印刷されているか否かを判定し、真贋判定を行う。具体的に、処理部1は、変換部11と、平坦度判定部12と、真贋判定部13とを備える。なお、処理部1は実際にはCPUなどのコンピュータにより構成される。 The processing unit 1 determines whether or not the printed surface is printed by the area gradation method based on the imaged data of the identification card C, and determines the authenticity. Specifically, the processing unit 1 includes a conversion unit 11, a flatness determination unit 12, and an authenticity determination unit 13. The processing unit 1 is actually composed of a computer such as a CPU.

スキャナ2は、身分証明書Cの印刷面を読み取り、その撮像データを生成する。スキャナ2は、読取部21と、特定部22と、撮像部23とを備える。スキャナ2が生成した撮像データは、インタフェース6を介して処理部1に送られる。 The scanner 2 reads the printed surface of the identification card C and generates the imaging data thereof. The scanner 2 includes a reading unit 21, a specific unit 22, and an imaging unit 23. The imaging data generated by the scanner 2 is sent to the processing unit 1 via the interface 6.

記憶部3は、処理部1により実行される処理のプログラム、及び、その処理に必要なデータを記憶している。また、記憶部3は、スキャナ2により生成された撮像データを一時的に保存する。操作部4は、ユーザにより操作される入力装置である。表示部5は処理部1により実行される真贋判定の結果を表示するディスプレイである。 The storage unit 3 stores a processing program executed by the processing unit 1 and data necessary for the processing. In addition, the storage unit 3 temporarily stores the imaging data generated by the scanner 2. The operation unit 4 is an input device operated by the user. The display unit 5 is a display that displays the result of the authenticity determination executed by the processing unit 1.

次に、判定装置100の動作について説明する。身分証明書Cには、その身分証明書の種類を示す種別データが内部のメモリなどに記憶されている。具体的には、種別データは、その身分証明書が運転免許証であるか、パスポートであるか、などを示す。身分証明書Cがスキャナ2にセットされると、スキャナ2の読取部21は、接触又は非接触の通信により、身分証明書Cから種別データを取得し、特定部22へ送る。 Next, the operation of the determination device 100 will be described. In the identification card C, type data indicating the type of the identification card is stored in an internal memory or the like. Specifically, the type data indicates whether the identification card is a driver's license, a passport, or the like. When the identification card C is set in the scanner 2, the reading unit 21 of the scanner 2 acquires the type data from the identification card C by contact or non-contact communication and sends it to the specific unit 22.

特定部22には、証明書の種類ごとに、予め決められた判定領域を記憶している。判定領域は、各証明書においてスキャナ2によりどの部分を読み取ればよいかを示す情報であり、基本的に各証明書のカラー印刷された部分を示す情報となっている。例えば、運転免許証の場合、判定領域は、所有者の写真の欄及び/又は有効期限の欄(緑色、青色又は金色)に設定される。特定部22は、読取部21から種別データを取得すると、証明書の種類ごとに予め決定された判定領域を特定し、撮像部23へ送る。撮像部23は、特定部22から指定された判定領域に基づいて身分証明書Cの該当範囲を読み取り、RGBデータである撮像データを生成する。そして、撮像部23は、生成した撮像データを、インタフェース6を介して処理部1へ送る。 The specific unit 22 stores a predetermined determination area for each type of certificate. The determination area is information indicating which part of each certificate should be read by the scanner 2, and is basically information indicating a color-printed part of each certificate. For example, in the case of a driver's license, the determination area is set in the owner's photo column and / or the expiration date column (green, blue or gold). When the identification unit 22 acquires the type data from the reading unit 21, it identifies a determination area determined in advance for each type of certificate and sends it to the imaging unit 23. The imaging unit 23 reads the corresponding range of the identification card C based on the determination area designated by the specific unit 22, and generates imaging data which is RGB data. Then, the imaging unit 23 sends the generated imaging data to the processing unit 1 via the interface 6.

処理部1において、撮像データは変換部11に供給される。変換部11は、RGBデータである撮像データを輝度成分と色差成分に分離する。具体的には、変換部11は、RGBデータに対してYUV変換を行い、輝度成分Yと、色差成分U、Vを生成する。そして、変換部11は、生成した色差成分U、Vを平坦度判定部12へ供給する。 In the processing unit 1, the imaging data is supplied to the conversion unit 11. The conversion unit 11 separates the imaging data, which is RGB data, into a luminance component and a color difference component. Specifically, the conversion unit 11 performs YUV conversion on the RGB data to generate the luminance component Y and the color difference components U and V. Then, the conversion unit 11 supplies the generated color difference components U and V to the flatness determination unit 12.

平坦度判定部12は、色差成分U、Vに基づいて色差平坦度を求め、求めた色差平坦度の値を色差平坦度判定値として真贋判定部13へ供給する。真贋判定部13は、色差平坦度判定値に基づいて、身分証明書が本物であるか偽物であるかを判定する。この判定結果は、表示部5に送られ、表示される。 The flatness determination unit 12 obtains the color difference flatness based on the color difference components U and V, and supplies the obtained color difference flatness value to the authenticity determination unit 13 as the color difference flatness determination value. The authenticity determination unit 13 determines whether the identification card is genuine or fake based on the color difference flatness determination value. This determination result is sent to the display unit 5 and displayed.

上記の構成において、スキャナ2は本発明の取得手段の一例であり、変換部11は本発明の色成分生成手段の一例であり、平坦度判定部12は本発明の色平坦度算出手段及び印刷判定手段の一例であり、真贋判定部13は本発明の真贋判定手段の一例であり、処理部1は本発明のマスク手段の一例である。 In the above configuration, the scanner 2 is an example of the acquisition means of the present invention, the conversion unit 11 is an example of the color component generation means of the present invention, and the flatness determination unit 12 is the color flatness calculation means and printing of the present invention. The authenticity determination unit 13 is an example of the authenticity determination means of the present invention, and the processing unit 1 is an example of the mask means of the present invention.

[色差平坦度判定]
次に、平坦度判定部12により行われる色差平坦度判定について詳しく説明する。色差平坦度判定は、以下のいずれかの方法により行うことができる。
(1)平均値差分による色差平坦度判定
1つの方法では、平坦度判定部12は、色差成分U、Vの画像におけるm×n画素の領域(以下、「判定画素ブロック」とも呼ぶ。)について、各画素の画素値と判定画素ブロックにおける全画素の画素値の平均値との差分値を色差平坦度判定値とする。具体的に、色差平坦度判定値としては、平均偏差、分散、標準偏差などを使用することができる。この場合、色差平坦度が高いほど色差平坦度判定値は小さくなる。
[Color difference flatness judgment]
Next, the color difference flatness determination performed by the flatness determination unit 12 will be described in detail. The color difference flatness determination can be performed by any of the following methods.
(1) Color difference flatness determination based on average value difference In one method, the flatness determination unit 12 relates to a region of m × n pixels (hereinafter, also referred to as “determination pixel block”) in an image of color difference components U and V. The difference value between the pixel value of each pixel and the average value of the pixel values of all the pixels in the determination pixel block is used as the color difference flatness determination value. Specifically, as the color difference flatness determination value, mean deviation, variance, standard deviation, or the like can be used. In this case, the higher the color difference flatness, the smaller the color difference flatness determination value.

平均偏差を使用する場合、色差平坦度判定値は、色差成分U、Vの各々の判定画素ブロック内における各画素値と、判定画素ブロック内における全画素値の平均値との差分の絶対値の平均として与えられる。いま、判定画素ブロックにおいて、色差成分Uの各画素値を「Umn」とし、色差成分Uの全画素値の平均値を「μ」とし、色差成分Vの各画素値を「Vmn」とし、色差成分Vの全画素値の平均値を「μ」とすると、平坦度判定部12は下式により求めた平均偏差を色差平坦度判定値「UEvval」、「VEvval」とする。

Figure 0006862683
When the average deviation is used, the color difference flatness determination value is the absolute value of the difference between each pixel value in each determination pixel block of the color difference components U and V and the average value of all pixel values in the determination pixel block. Given as an average. Now, in the determination pixel block, each pixel value of the color difference component U is set to "U mn ", the average value of all the pixel values of the color difference component U is set to "μ u ", and each pixel value of the color difference component V is set to "V mn ". Assuming that the average value of all the pixel values of the color difference component V is "μ v ", the flatness determination unit 12 sets the average deviation obtained by the following equation as the color difference flatness determination values "U Evval" and "V Evval ". ..
Figure 0006862683

分散を使用する場合、色差平坦度判定値は、色差成分U、Vの各々の判定画素ブロック内における各画素値と、判定画素ブロック内における全画素値の平均値との差分の2乗平均として与えられる。いま、判定画素ブロックにおいて、色差成分Uの各画素値を「Umn」とし、色差成分Uの全画素値の平均値を「μ」とし、色差成分Vの各画素値を「Vmn」とし、色差成分Vの全画素値の平均値を「μ」とすると、平坦度判定部12は下式により求めた分散を色差平坦度判定値「UEvval」、「VEvval」とする。

Figure 0006862683
When dispersion is used, the color difference flatness determination value is the squared average of the difference between each pixel value in each determination pixel block of the color difference components U and V and the average value of all pixel values in the determination pixel block. Given. Now, in the determination pixel block, each pixel value of the color difference component U is set to "U mn ", the average value of all the pixel values of the color difference component U is set to "μ u ", and each pixel value of the color difference component V is set to "V mn ". Assuming that the average value of all the pixel values of the color difference component V is "μ v ", the flatness determination unit 12 sets the variance obtained by the following equation as the color difference flatness determination values "U Evval" and "V Evval ".
Figure 0006862683

標準偏差を使用する場合、平坦度判定部12は、上記の式(3)、(4)で求めた分散の平方根を色差平坦度判定値「UEvval」、「VEvval」とする。 When the standard deviation is used, the flatness determination unit 12 sets the square root of the variance obtained by the above equations (3) and (4) as the color difference flatness determination values "U Evval " and "V Evval ".

(2)周波数解析による色差平坦度判定
別の方法では、m×n画素の判定画素ブロックに対して、DCT(離散コサイン変換)、アダマール変換などの周波数分解を行い、DC値以外の値から色差平坦度判定値を求める。例えば判定画素ブロックを4×4画素の領域とし、アダマール変換を使用する場合、図3(A)に示す変換式を使用すると、図3(B)に示すような変換結果が得られる。図3(B)に示す行列において、(1,1)の位置にはDC成分(4×4画素の平均値の4倍の値)が示され、それ以外の位置には各周波数成分の係数が示される。平坦度判定部12は、DC成分以外の係数の2乗平均を色差平坦度判定値とする。身分証明書Cの判定画素ブロックにおける色のばらつきが大きい場合には、DC成分以外の各係数の値が大きくなるため、それらの2乗平均の値は大きくなり、色差平坦度判定値は大きくなる。一方、身分証明書Cの判定画素ブロックにおける色のばらつきが小さい場合には、DC成分以外の各係数の値が小さくなるため、それらの2乗平均の値は小さくなり、色差平坦度判定値は小さくなる。よって、色差平坦度が高いほど色差平坦度判定値は小さくなる。
(2) Judgment of color difference flatness by frequency analysis Another method is to perform frequency decomposition such as DCT (discrete cosine transform) and Hadamard transform on the judgment pixel block of m × n pixels, and color difference from values other than the DC value. Obtain the flatness judgment value. For example, when the determination pixel block is an area of 4 × 4 pixels and the Hadamard transform is used, the conversion result shown in FIG. 3 (B) can be obtained by using the conversion formula shown in FIG. 3 (A). In the matrix shown in FIG. 3B, the DC component (a value four times the average value of 4 × 4 pixels) is shown at the position (1,1), and the coefficient of each frequency component is shown at the other positions. Is shown. The flatness determination unit 12 uses the squared average of coefficients other than the DC component as the color difference flatness determination value. When the color variation in the judgment pixel block of the identification card C is large, the value of each coefficient other than the DC component becomes large, so that the squared average value becomes large and the color difference flatness judgment value becomes large. .. On the other hand, when the color variation in the judgment pixel block of the identification card C is small, the values of the respective coefficients other than the DC component are small, so that the squared average value is small, and the color difference flatness judgment value is It becomes smaller. Therefore, the higher the color difference flatness, the smaller the color difference flatness determination value.

図3(C)は、本物と偽物とを含む複数のサンプルについて、アダマール変換を利用して色差平坦度を判定した結果を示す。横軸Uは色差成分Uの色差平坦度判定値を示し、縦軸Vは色差成分Vの色差平坦度判定値を示す。図示のように、本物の色差平坦度判定値はいずれも小さく、ほぼ「2」以下に集まっているのに対し、偽物の色差平坦度判定値は大きく、かつ、値のばらつきも大きい。よって、色差平坦度判定値に所定の閾値を設けることにより、色差平坦度判定値に基づいて本物と偽物の判定が可能となる。 FIG. 3C shows the results of determining the color difference flatness using the Hadamard transform for a plurality of samples including genuine and fake samples. The horizontal axis U indicates the color difference flatness determination value of the color difference component U, and the vertical axis V indicates the color difference flatness determination value of the color difference component V. As shown in the figure, the real color difference flatness determination values are all small and gathered at about "2" or less, whereas the fake color difference flatness determination values are large and the values vary widely. Therefore, by setting a predetermined threshold value for the color difference flatness determination value, it is possible to determine whether the product is genuine or fake based on the color difference flatness determination value.

[対象物の判定領域]
次に、対象物において撮像データを生成する範囲である判定領域について説明する。上記の説明では、判定領域は基本的に単一色であることを前提としているが、単一色でない領域を判定領域とすることもできる。例えば、図4(A)に示すように、身分証明書Cの一例である運転免許証において、破線で示す領域ARを判定領域とし、スキャナ2でこの判定領域の撮像データを生成する。処理部1は、上記の平均値差分又は周波数解析を利用して判定画素ブロック又はそれより大きい所定の画素ブロック毎に色差平坦度判定値を求め、得られた複数の色差平坦度判定値から代表値を決定し、この代表値を用いて真贋判定を行う。
[Judgment area of object]
Next, the determination region, which is the range in which the imaging data is generated in the object, will be described. In the above description, it is assumed that the determination area is basically a single color, but an area other than a single color can be used as the determination area. For example, as shown in FIG. 4A, in the driver's license which is an example of the identification card C, the area AR shown by the broken line is set as the determination area, and the scanner 2 generates the imaging data of this determination area. The processing unit 1 obtains a color difference flatness determination value for each determination pixel block or a predetermined pixel block larger than the determination pixel block by using the above-mentioned average value difference or frequency analysis, and represents from the obtained plurality of color difference flatness determination values. A value is determined, and authenticity is determined using this representative value.

ここで、代表値の決定方法について説明する。図5は、図4(A)の領域ARの如き、単一色でない領域を判定領域として生成した撮像データに基づいて、その判定領域に属する複数の判定画素ブロック(m×m画素の領域)毎に算出された色差平坦度判定値のヒストグラムである。この場合、領域ARにおける背景領域のような単一色の領域において得られる色差平坦度は高いため、小さな値の色差平坦度判定値が数多く得られる。一方で、領域ARにおける人物の頭と背景との境界部分などにおいては色差平坦度が低いので、色差平坦度判定値は大きな値となる。よって、図4(A)に示すように、小さな値が数多く含まれ、大きな値が少しずつ含まれるようなヒストグラムが得られる。 Here, a method of determining the representative value will be described. FIG. 5 shows each of a plurality of determination pixel blocks (areas of m × m pixels) belonging to the determination area based on the imaging data generated using an area other than a single color as the determination area, such as the area AR of FIG. 4 (A). It is a histogram of the color difference flatness judgment value calculated in. In this case, since the color difference flatness obtained in a single color region such as the background region in the region AR is high, many small color difference flatness determination values can be obtained. On the other hand, since the color difference flatness is low in the boundary portion between the head and the background of the person in the area AR, the color difference flatness determination value becomes a large value. Therefore, as shown in FIG. 4A, a histogram can be obtained in which a large number of small values are included and large values are included little by little.

代表値の決定方法として、第1の方法は、図5(A)に示すように、判定領域内に設定される各判定画素ブロックの色差平坦度判定値の平均値を代表値とする。また、第2の方法は、図5(A)に示すように、判定領域内に設定される各判定画素ブロックの色差平坦度判定値をヒストグラム化し、そのピーク値を代表値とする。 As a method for determining the representative value, as shown in FIG. 5A, the first method uses the average value of the color difference flatness determination values of each determination pixel block set in the determination area as the representative value. Further, in the second method, as shown in FIG. 5A, the color difference flatness determination value of each determination pixel block set in the determination area is made into a histogram, and the peak value is used as a representative value.

さらに、第3の方法は、判定領域内に設定される各判定画素ブロックの色差平坦度判定値について、その平均値と標準偏差に基づいて代表値を決定する。具体的には、図5(B)に示すように、各判定画素ブロックの色差平坦度判定値について、平均値からの標準偏差±σを求める。そして、標準偏差±σの範囲を代表値演算領域とし、代表値演算領域に属する色差平坦度判定値の平均値を代表値とする。また、標準偏差値が平均値より大きい場合、平均値の2倍までの値について代表値の算出を行う。 Further, in the third method, the representative value of the color difference flatness determination value of each determination pixel block set in the determination area is determined based on the average value and the standard deviation. Specifically, as shown in FIG. 5B, the standard deviation ± σ from the average value is obtained for the color difference flatness determination value of each determination pixel block. Then, the range of the standard deviation ± σ is set as the representative value calculation area, and the average value of the color difference flatness determination values belonging to the representative value calculation area is set as the representative value. If the standard deviation value is larger than the average value, the representative value is calculated for values up to twice the average value.

なお、図5(B)は対象物が偽物である場合のヒストグラムの例を示しており、色差平坦度判定値の平均値からの標準偏差±σは横軸の正の領域に収まっている。一方、図5(C)は対象物が本物である場合のヒストグラムの例を示す。この場合、色差平坦度判定値は小さな値に集中し、平均値が小さな値となるため、負側の標準偏差−σは横軸の負の領域に及んでしまう。このような場合には、図5(C)に示すように、標準偏差が負になる領域を除いて代表値演算領域を決定し、その領域内の色差平坦度判定値の平均値を代表値とする。 Note that FIG. 5B shows an example of a histogram when the object is a fake, and the standard deviation ± σ from the average value of the color difference flatness determination values is within the positive region on the horizontal axis. On the other hand, FIG. 5C shows an example of a histogram when the object is genuine. In this case, the color difference flatness determination value is concentrated on a small value, and the average value is a small value, so that the standard deviation −σ on the negative side extends to the negative region on the horizontal axis. In such a case, as shown in FIG. 5C, the representative value calculation area is determined excluding the area where the standard deviation is negative, and the average value of the color difference flatness determination values in the area is used as the representative value. And.

図4(B)は、本物と偽物を含む複数のサンプルについての代表値の分布の例を示す。図中のサンプルXは本物であるが、撮像データに人物と背景との境界部分などの周波数成分の高い領域が含まれるため、色差成分Vの代表値が「4」程度と多少高い値となっている。このように、本物であっても代表値の値が多少大きくなるケースもあるが、全体としては本物の代表値は小さい値に集中する。よって、得られた代表値に基づいて真贋判定を行うことにより、判定領域が対象物の単一色の領域でない場合でも、正しく真贋判定を行うことが可能となる。 FIG. 4B shows an example of the distribution of representative values for a plurality of samples including genuine and fake. Sample X in the figure is genuine, but since the imaged data includes a region with a high frequency component such as the boundary between the person and the background, the representative value of the color difference component V is a little high, about "4". ing. In this way, even if it is genuine, the representative value may be slightly larger, but as a whole, the genuine representative value is concentrated on the smaller value. Therefore, by performing the authenticity determination based on the obtained representative value, it is possible to correctly perform the authenticity determination even when the determination area is not the area of a single color of the object.

[文字領域のマスク処理]
身分証明書の一例である運転免許証では、有効期限の部分が緑、青又は金の単一色となっているが、その部分には有効期限を示す文字列が印刷されている。文字列の部分は、スキャナなどのセンサの構造上、読取時に色ノイズが発生しやすい。このため、文字の部分をマスクして、背景色の部分について色差平坦度判定を行うのが好ましい。
[Mask processing of character area]
In a driver's license, which is an example of an identification card, the expiration date is a single color of green, blue, or gold, and a character string indicating the expiration date is printed on that part. Due to the structure of a sensor such as a scanner, color noise is likely to occur in the character string portion during reading. Therefore, it is preferable to mask the character portion and perform the color difference flatness determination on the background color portion.

図6(A)は、運転免許証の有効期限の部分をマスク処理する例を示す。有効期限の部分に対して、m×n画素(例えば4×4画素)の判定画素ブロックを設定し、文字に相当する白又は黒の部分を抽出する。例えば、輝度値が220以上の画素を白画素、輝度値が50以下の画素を黒画素と判定するように閾値を設定し、白又は黒の画素を検出する。白又は黒の画素(「白黒画素」と呼ぶ。)が検出された場合、図6(B)に例示するように白黒画素の周囲の領域をマスク領域とする。こうして、全ての画素について白黒画素の検出を行い、白黒画素の周囲をマスク処理する。図6(A)はマスク処理後の例を示す。全領域についてマスク処理が完了したら、マスク領域を除いた領域に対して前述の色差平坦度判定値を求め、真贋判定を行う。これにより、文字部分に起因する判定精度の低下を防止することができる FIG. 6A shows an example of masking the expiration date of the driver's license. A determination pixel block of m × n pixels (for example, 4 × 4 pixels) is set for the expiration date portion, and a white or black portion corresponding to a character is extracted. For example, a threshold value is set so that a pixel having a brightness value of 220 or more is determined to be a white pixel and a pixel having a brightness value of 50 or less is determined to be a black pixel, and white or black pixels are detected. When white or black pixels (referred to as “black and white pixels”) are detected, the area around the black and white pixels is set as a mask area as illustrated in FIG. 6 (B). In this way, black-and-white pixels are detected for all the pixels, and the periphery of the black-and-white pixels is masked. FIG. 6A shows an example after mask processing. When the mask processing is completed for all the areas, the above-mentioned color difference flatness determination value is obtained for the area excluding the mask area, and the authenticity is determined. This makes it possible to prevent a decrease in determination accuracy due to the character portion.

[真贋判定の方法]
真贋判定部13は、色差平坦度判定値又は代表値に基づいて、対象物が本物であるか偽物であるかの真贋判定を行う。真贋判定の方法として、最も単純な方法は、得られた色差平坦度判定値又は代表値を予め決められた閾値と比較し、閾値より小さい場合にその対象物を本物と判定する。
[Method of authenticity judgment]
The authenticity determination unit 13 determines whether the object is genuine or fake based on the color difference flatness determination value or the representative value. As a method of authenticity determination, the simplest method compares the obtained color difference flatness determination value or representative value with a predetermined threshold value, and if it is smaller than the threshold value, determines that the object is genuine.

その代わりに、得られた色差平坦度判定値又は代表値を用いて、マハラノビス解析を行って真贋判定を行っても良い。具体的には、スキャナ2から得られた撮像データについての色差平坦度判定値をいわゆるマハラノビス距離(即ち、標準的な本物と偽物との離れ度合いを示す尺度の一種)の算出要素として使用し、算出されたマハラノビス距離と、予め設定されている真贋閾値とを比較して真贋判定を行う。なお、マハラノビス距離の算出には、ある程度の枚数の本物の身分証明書サンプルによる学習(距離を算出するためのパラメータ作成)が必要となる。具体的な判定方法としては、例えば上記真贋閾値を「4」とし、マハラノビス距離が真贋閾値以上であれば、撮像データに対応する対象物Cを「偽物」と判定する。一方、マハラノビス距離が真贋閾値未満であれば、撮像データに対応する身分証明書Cを「本物」と判定する。真贋閾値の設定に当たって参照し得る文献としては、例えば、
文献「MT法におけるしきい値設定法の提案と比較,安部将成,松田眞一」(「http://www.seto.nanzan-u.ac.jp/msie/nas/academia/vol_013pdf/13-023-033.pdf」等)
などが挙げられる。
Instead, the Mahalanobis analysis may be performed to determine the authenticity using the obtained color difference flatness determination value or representative value. Specifically, the color difference flatness determination value of the imaged data obtained from the scanner 2 is used as a calculation element of the so-called Mahalanobis distance (that is, a kind of scale indicating the degree of separation between the standard genuine and fake). The authenticity is determined by comparing the calculated Mahalanobis distance with the preset authenticity threshold. In addition, in order to calculate the Mahalanobis distance, it is necessary to learn by using a certain number of real ID sample samples (creating parameters for calculating the distance). As a specific determination method, for example, if the authenticity threshold is set to "4" and the Mahalanobis distance is equal to or greater than the authenticity threshold, the object C corresponding to the imaging data is determined to be "fake". On the other hand, if the Mahalanobis distance is less than the authenticity threshold, the identification card C corresponding to the imaged data is determined to be "genuine". References that can be referred to when setting the authenticity threshold include, for example,
Reference "Proposal and comparison of threshold setting method in MT method, Masanari Abe, Shinichi Matsuda"("http://www.seto.nanzan-u.ac.jp/msie/nas/academia/vol_013pdf/13-023" -033.pdf "etc.)
And so on.

[判定処理]
次に、判定装置100による判定処理の全体の流れを説明する。図7は、判定処理のフローチャートである。この処理は、主として判定装置100の処理部1が予め用意されたプログラムを実行することにより実施される。
[Determination process]
Next, the entire flow of the determination process by the determination device 100 will be described. FIG. 7 is a flowchart of the determination process. This process is mainly carried out by the processing unit 1 of the determination device 100 executing a program prepared in advance.

まず、ユーザがスキャナ2に身分証明書Cをセットし、操作部4を操作して読取指示を行うと、処理部1はこれを検出し、スキャナ2へ身分証明書Cの撮像指示を行う(ステップS11)。スキャナ2は、撮像指示に基づいて身分証明書Cを撮像し、撮像データを処理部1へ送信する。処理部1は、撮像データを受信すると(ステップS12:Yes)、撮像データから判定領域の画像を切り出し、YUV変換を行って輝度成分Yと色差成分U、Vを生成する(ステップS13)。なお、判定領域が前述のように文字領域を含む場合には、処理部1はマスク処理を行ってからYUV変換を行う。 First, when the user sets the identification card C in the scanner 2 and operates the operation unit 4 to give a reading instruction, the processing unit 1 detects this and gives an imaging instruction of the identification card C to the scanner 2 ( Step S11). The scanner 2 images the identification card C based on the image pickup instruction, and transmits the image pickup data to the processing unit 1. When the processing unit 1 receives the imaging data (step S12: Yes), the processing unit 1 cuts out the image of the determination region from the imaging data and performs YUV conversion to generate the luminance component Y and the color difference components U and V (step S13). When the determination area includes the character area as described above, the processing unit 1 performs mask processing and then YUV conversion.

次に、処理部1は、得られた色差成分U、Vに基づいて色差平坦度判定を行って色差平坦度判定値を算出し(ステップS14)、さらに得られた色差平坦度判定値に基づいて対象物が本物であるか偽物であるかの真贋判定を行う(ステップS15)。なお、前述のように単一色でない判定領域を使用する場合には、得られた平均度判定値から代表値を決定し、その代表値に基づいて真贋判定を行う。そして、処理部1は、真贋判定の結果を表示部15に出力し、表示させる(ステップS16)。こうして、判定処理は終了する。 Next, the processing unit 1 performs a color difference flatness determination based on the obtained color difference components U and V to calculate a color difference flatness determination value (step S14), and further based on the obtained color difference flatness determination value. The authenticity of the object is determined as to whether it is genuine or fake (step S15). When a determination region other than a single color is used as described above, a representative value is determined from the obtained average degree determination value, and authenticity determination is performed based on the representative value. Then, the processing unit 1 outputs the result of the authenticity determination to the display unit 15 and displays it (step S16). In this way, the determination process ends.

[変形例]
(変形例1)
上記の判定処理では、判定領域としてカラー印刷された領域を使用する。本実施形態では、インクなどの着色領域を利用して判定を行うため、インクなどが塗布されていない非着色領域、即ち、白地(基材面)については判定を行わない。具体的に、判定領域を写真の部分とする場合において、写真の背景が白である場合には、所定の閾値を用いて白領域を検出し、その領域については判定を行わない。また、黒色の濃い部分についても、色差の違いが出にくいため、判定の対象としないことが好ましい。具体的には、黒領域についても閾値を設け、ある程度以上に暗い領域については、判定を行わない。これにより、判定精度の低下を防止することができる。
[Modification example]
(Modification example 1)
In the above determination process, a color-printed area is used as the determination area. In the present embodiment, since the determination is performed using the colored region such as ink, the determination is not performed on the non-colored region to which the ink or the like is not applied, that is, the white background (base material surface). Specifically, when the determination area is a portion of a photograph and the background of the photograph is white, the white area is detected using a predetermined threshold value, and the determination is not performed for that area. Further, it is preferable that the dark black portion is not included in the determination because the difference in color difference is unlikely to appear. Specifically, a threshold value is set for the black region as well, and the determination is not performed for the region darker than a certain level. As a result, it is possible to prevent a decrease in determination accuracy.

(変形例2)
上記の実施形態では、撮像データを明るさ成分と色成分に分離する例として、撮像データのRGBデータをYUV変換して輝度成分Yと色差成分U、Vを生成しているが、本発明の適用はこれには限られない。例えばRGBデータを輝度成分Yと色差成分Cb、Crに変換しても良い。また、上記の実施形態では、撮像データの色成分として色差を使用しているが、他の色成分を示すパラメータを使用してもよい。即ち、撮像データから、色成分を示すパラメータとして、色差以外のパラメータを抽出し、それに基づいて色成分の平坦度を求めても良い。なお、本発明における「色平坦度」は、色差平坦度のみならず、上記のような色差以外の色成分を示すパラメータに基づいて算出された平坦度をも含む概念である。
(Modification 2)
In the above embodiment, as an example of separating the imaging data into a brightness component and a color component, the RGB data of the imaging data is YUV-converted to generate the brightness component Y and the color difference components U and V. The application is not limited to this. For example, RGB data may be converted into a luminance component Y and color difference components Cb and Cr. Further, in the above embodiment, the color difference is used as the color component of the imaging data, but a parameter indicating another color component may be used. That is, parameters other than the color difference may be extracted from the imaging data as parameters indicating the color components, and the flatness of the color components may be obtained based on the parameters. The "color flatness" in the present invention is a concept that includes not only the color difference flatness but also the flatness calculated based on the parameters indicating the color components other than the color difference as described above.

(変形例3)
上記の実施形態では、スキャナ2が身分証明書Cに記憶されている種別データを読み取って判定領域を特定し、その判定領域において身分証明書Cを読み取って撮像データを生成している。その代わりに、スキャナ2は身分証明書Cの全面を撮像して全面の撮像データを作成し、処理部11が全面の撮像データの画像認識により身分証明書Cの種類と判定領域とを特定して必要な部分のみを撮像データとして切り出してもよい。この方法では、身分証明書Cから種別データを読み取る必要が無くなるため、スキャナ2に付属するリーダなどが不要となり、システムの低コスト化が可能となる。
(Modification example 3)
In the above embodiment, the scanner 2 reads the type data stored in the identification card C to specify the determination area, and reads the identification card C in the determination area to generate the imaging data. Instead, the scanner 2 images the entire surface of the identification card C to create the imaging data of the entire surface, and the processing unit 11 identifies the type of the identification card C and the determination area by image recognition of the imaged data on the entire surface. You may cut out only the necessary part as imaging data. In this method, it is not necessary to read the type data from the identification card C, so that a reader or the like attached to the scanner 2 is not required, and the cost of the system can be reduced.

(変形例4)
上記の実施形態では、単一色でない判定領域を使用する場合に限り、複数の判定画素ブロックの色差平坦度判定値から代表値を決定し、代表値を用いて真贋判定を行うこととしているが、単一色の判定領域を使用する場合においても、複数の判定画素ブロックの色差平坦度判定値から代表値を決定し、代表値を用いて真贋判定を行うこととしてもよい。これにより、身分証明書Cの券面の傷、汚れなどの影響を軽減し、より正確な判定が可能となる。
(Modification example 4)
In the above embodiment, the representative value is determined from the color difference flatness determination values of the plurality of determination pixel blocks only when the determination area other than the single color is used, and the authenticity determination is performed using the representative values. Even when the determination area of a single color is used, the representative value may be determined from the color difference flatness determination values of the plurality of determination pixel blocks, and the authenticity determination may be performed using the representative values. As a result, the influence of scratches, stains, etc. on the face of the identification card C can be reduced, and a more accurate determination can be made.

1 処理部
2 スキャナ
3 記憶部
4 操作部
5 表示部
11 変換部
12 平坦度判定部
13 真贋判定部
100 判定装置
1 Processing unit 2 Scanner 3 Storage unit 4 Operation unit 5 Display unit 11 Conversion unit 12 Flatness judgment unit 13 Authenticity judgment unit 100 Judgment device

Claims (8)

対象物の一部の撮影画像の撮像データを取得する取得手段と、
前記撮像データから、前記撮影画像の色成分を生成する色成分生成手段と、
前記色成分に基づいて、前記撮影画像の色平坦度を判定する色平坦度算出手段と、
決定された色平坦度に基づいて、前記対象物の一部に面積諧調方式の印刷が施されているか否かを判定する印刷判定手段と、
前記撮像データに含まれる文字領域に対してマスク処理を行うマスク処理手段と、を備え、
前記マスク処理手段は、前記撮像画像に含まれる複数の画素のうち、明るさ成分が第1所定値以上である画素及び第2所定値以下である画素を検出し、当該画素及び当該画素の周辺画素の領域を前記文字領域としてマスクし、
前記色成分生成手段は、前記マスク処理によりマスクされた文字領域以外の領域について前記色成分を生成することを特徴とする判定装置。
An acquisition means for acquiring captured data of a part of an object, and
A color component generating means for generating a color component of the captured image from the captured data,
A color flatness calculating means for determining the color flatness of the captured image based on the color component, and
Based on the determined color flatness, a printing determination means for determining whether or not a part of the object is printed by the area gradation method, and
A mask processing means for performing mask processing on a character area included in the imaged data is provided.
The mask processing means detects a pixel having a brightness component of the first predetermined value or more and a pixel having a brightness component of the second predetermined value or less among a plurality of pixels included in the captured image, and the pixel and the periphery of the pixel. The pixel area is masked as the character area,
The determination device, wherein the color component generating means generates the color component in a region other than the character region masked by the masking process.
前記色平坦度算出手段は、前記撮影画像を構成する複数の画素領域における色成分の平均偏差、分散及び標準偏差のいずれかに基づいて前記色平坦度を算出することを特徴とする請求項1に記載の判定装置。 The color flatness calculating means is characterized in that the color flatness is calculated based on any one of the average deviation, the dispersion and the standard deviation of the color components in a plurality of pixel regions constituting the captured image. Judgment device described in. 前記色平坦度算出手段は、前記撮影画像を構成する複数の画素領域における色成分の周波数解析を行い、DC成分以外の周波数成分の大きさに基づいて前記色平坦度を算出することを特徴とする請求項1に記載の判定装置。 The color flatness calculating means is characterized in that it performs frequency analysis of color components in a plurality of pixel regions constituting the captured image and calculates the color flatness based on the magnitude of frequency components other than the DC component. The determination device according to claim 1. 前記色平坦度算出手段は、前記撮影画像を構成する複数の画素領域毎に前記色平坦度を算出し、得られた複数の色平坦度の代表値を決定し、
前記印刷判定手段は、前記代表値に基づいて、前記対象物の一部に面積諧調方式の印刷が施されているか否かを判定することを特徴とする請求項1乃至3のいずれか一項に記載の判定装置。
The color flatness calculating means calculates the color flatness for each of a plurality of pixel regions constituting the captured image, determines a representative value of the obtained plurality of color flatnesses, and determines the representative values of the obtained plurality of color flatnesses.
Any one of claims 1 to 3, wherein the print determination means determines whether or not a part of the object is printed in an area gradation system based on the representative value. Judgment device according to.
前記色平坦度算出手段は、前記複数の色平坦度の平均値、前記複数の色平坦度のヒストグラムにおけるピーク値、及び、前記複数の色平坦度の平均値を基準とした標準偏差の範囲内における色平坦度の平均値のうちのいずれかを前記代表値とすることを特徴とする請求項4に記載の判定装置。 The color flatness calculating means is within a range of a standard deviation based on the average value of the plurality of color flatnesses, the peak value in the histogram of the plurality of color flatnesses, and the average value of the plurality of color flatnesses. The determination device according to claim 4, wherein any one of the average values of the color flatness in the above is used as the representative value. 前記撮像データはRGBデータであり、
前記色成分生成手段は、前記RGBデータから色差成分を生成して前記色成分とすることを特徴とする請求項1乃至のいずれか一項に記載の判定装置。
The imaging data is RGB data, and is
The determination device according to any one of claims 1 to 5 , wherein the color component generating means generates a color difference component from the RGB data to obtain the color component.
前記対象物の一部に面積諧調方式の印刷が施されている場合に、当該対象物を偽物であると判定する真贋判定手段を備えることを特徴とする請求項1乃至のいずれか一項に記載の判定装置。 Any one of claims 1 to 6 , wherein when a part of the object is printed in an area gradation system, the object is provided with an authenticity determination means for determining that the object is a fake. Judgment device according to. コンピュータを備える判定装置により実行されるプログラムであって、
対象物の一部の撮影画像の撮像データを取得する取得手段、
前記撮像データから、前記撮影画像の色成分を生成する色成分生成手段、
前記色成分に基づいて、前記撮影画像の色平坦度を判定する色平坦度算出手段、
決定された色平坦度に基づいて、前記対象物の一部に面積諧調方式の印刷が施されているか否かを判定する印刷判定手段、
前記撮像データに含まれる文字領域に対してマスク処理を行うマスク処理手段、
として前記コンピュータを機能させ、
前記マスク処理手段は、前記撮像画像に含まれる複数の画素のうち、明るさ成分が第1所定値以上である画素及び第2所定値以下である画素を検出し、当該画素及び当該画素の周辺画素の領域を前記文字領域としてマスクし、
前記色成分生成手段は、前記マスク処理によりマスクされた文字領域以外の領域について前記色成分を生成することを特徴とするプログラム。
A program executed by a judgment device equipped with a computer.
Acquisition means for acquiring captured data of a part of the captured image of the object,
A color component generating means for generating a color component of a captured image from the captured data,
A color flatness calculating means for determining the color flatness of a captured image based on the color component,
A printing determination means for determining whether or not a part of the object is printed in an area gradation system based on the determined color flatness.
A mask processing means that performs mask processing on a character area included in the imaged data.
To make the computer function as
The mask processing means detects a pixel having a brightness component of the first predetermined value or more and a pixel having a brightness component of the second predetermined value or less among a plurality of pixels included in the captured image, and the pixel and the periphery of the pixel. The pixel area is masked as the character area,
The color component generating means is a program characterized in that the color component is generated in a region other than the character region masked by the masking process.
JP2016108593A 2016-05-31 2016-05-31 Judgment device and program Active JP6862683B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016108593A JP6862683B2 (en) 2016-05-31 2016-05-31 Judgment device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016108593A JP6862683B2 (en) 2016-05-31 2016-05-31 Judgment device and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2021012148A Division JP7052894B2 (en) 2021-01-28 2021-01-28 Judgment device and program

Publications (2)

Publication Number Publication Date
JP2017215739A JP2017215739A (en) 2017-12-07
JP6862683B2 true JP6862683B2 (en) 2021-04-21

Family

ID=60575746

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016108593A Active JP6862683B2 (en) 2016-05-31 2016-05-31 Judgment device and program

Country Status (1)

Country Link
JP (1) JP6862683B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7168194B2 (en) * 2018-05-23 2022-11-09 Necソリューションイノベータ株式会社 Counterfeit determination method, program, recording medium, and forgery determination device
JP7099179B2 (en) * 2018-08-28 2022-07-12 大日本印刷株式会社 Authenticity determination device and program
JP6823838B2 (en) 2019-06-17 2021-02-03 大日本印刷株式会社 Judgment device, control method of judgment device, judgment system, control method of judgment system, and program
JP6823839B2 (en) * 2019-06-17 2021-02-03 大日本印刷株式会社 Judgment device, control method of judgment device, judgment system, control method of judgment system, and program
JP6809567B2 (en) * 2019-06-21 2021-01-06 大日本印刷株式会社 Judgment device, control method of judgment device, judgment system, control method of judgment system, and program
JP6865797B2 (en) * 2019-08-09 2021-04-28 株式会社三井住友銀行 Authenticity judgment method, information processing device, and program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04260180A (en) * 1991-02-14 1992-09-16 Iseki & Co Ltd Color shading deciding device for vegetables and fruits
JPH05120356A (en) * 1991-10-29 1993-05-18 Konica Corp Personal information reading storage device
JP2007189657A (en) * 2005-12-16 2007-07-26 Fuji Xerox Co Ltd Image evaluation apparatus, image evaluation method and program
JP2014238642A (en) * 2013-06-06 2014-12-18 沖電気工業株式会社 Personal information protection apparatus, personal information protection system, personal information protection method, and program
JP2016076079A (en) * 2014-10-06 2016-05-12 大日本印刷株式会社 Determination system and determination method, determination device and image-capturing device, program for determination device, and program for image-capturing device

Also Published As

Publication number Publication date
JP2017215739A (en) 2017-12-07

Similar Documents

Publication Publication Date Title
JP6862683B2 (en) Judgment device and program
US9088673B2 (en) Image registration
US7773266B2 (en) Image processing apparatus, method, and computer product for adding reference frame information used to detect position of image embedded information
EP2812849B1 (en) Forensic verification from halftone images
JP2013057661A (en) Image inspection device, image formation device, image inspection method, and image formation system
US11295407B2 (en) Information processing apparatus, information processing method, and non-transitory computer-readable storage medium storing program
US20110033089A1 (en) Apparatus for appraising the genuineness of personal identification documents
WO2012082132A1 (en) Method and system for determining void pantograph settings
JP7052894B2 (en) Judgment device and program
US8477988B2 (en) Image processing apparatus, image forming apparatus and computer readable medium
WO2020255971A1 (en) Determining device, method for controlling determining device, determining system, method for controlling determining system, and program
JP2010136206A (en) Image processing method and image processing apparatus
JP5833689B2 (en) Authentication system and authentication method
JP2016076079A (en) Determination system and determination method, determination device and image-capturing device, program for determination device, and program for image-capturing device
KR20110086990A (en) Color laser printer identification method
US10979597B2 (en) Image processing apparatus, image processing method, and program
US11563871B2 (en) Information processing apparatus, control method, and product performing multiplexing processing changing a component in different color spaces with respect to printing and non-printing areas
JP3796425B2 (en) Image processing apparatus and method, computer program, and recording medium
JP6823838B2 (en) Judgment device, control method of judgment device, judgment system, control method of judgment system, and program
JP3720748B2 (en) Image processing apparatus, control method therefor, computer program, and recording medium
KR101038520B1 (en) Color laser printer identification system and method by analyzing statistical features on discrete wavelet transform
CN112740272B (en) Determination device, control method thereof, determination system, control method thereof, and medium
JP2014060681A (en) Image processor, program, and image forming apparatus
Tchan Forensic analysis of print using digital image analysis
JP2014110576A (en) Printed matter identification device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190327

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200317

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20200515

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200716

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20201104

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210128

C60 Trial request (containing other claim documents, opposition documents)

Free format text: JAPANESE INTERMEDIATE CODE: C60

Effective date: 20210128

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20210208

C21 Notice of transfer of a case for reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C21

Effective date: 20210209

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: 20210302

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210315

R150 Certificate of patent or registration of utility model

Ref document number: 6862683

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150