JP5636523B1 - Image processing apparatus, image processing method, and program - Google Patents

Image processing apparatus, image processing method, and program Download PDF

Info

Publication number
JP5636523B1
JP5636523B1 JP2014540242A JP2014540242A JP5636523B1 JP 5636523 B1 JP5636523 B1 JP 5636523B1 JP 2014540242 A JP2014540242 A JP 2014540242A JP 2014540242 A JP2014540242 A JP 2014540242A JP 5636523 B1 JP5636523 B1 JP 5636523B1
Authority
JP
Japan
Prior art keywords
image
frame rate
changed
logo
dimensional code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2014540242A
Other languages
Japanese (ja)
Other versions
JPWO2015145779A1 (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.)
AT Communications Co Ltd
Original Assignee
AT Communications 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 AT Communications Co Ltd filed Critical AT Communications Co Ltd
Application granted granted Critical
Publication of JP5636523B1 publication Critical patent/JP5636523B1/en
Publication of JPWO2015145779A1 publication Critical patent/JPWO2015145779A1/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06046Constructional details
    • G06K19/06103Constructional details the marking being embedded in a human recognizable image, e.g. a company logo with an embedded two-dimensional code

Abstract

表示部に表示されるロゴ付き二次元コード(2)は、その背景画像(23)の一部又は全部が肉眼では認識困難な態様で規則的に変化している。このようなロゴ付き二次元コード(2)をキャプチャして生成したスクリーンショット(静止画像)では、ロゴ付き二次元コード(2)の背景画像(23)の一部が変化しなくなるため、画像認証処理によって本物ではないと容易に判別することができる。これにより、ロゴ付き二次元コード(2)のキャプチャを防止することができる。The logo-added two-dimensional code (2) displayed on the display unit regularly changes in a manner in which part or all of the background image (23) is difficult to recognize with the naked eye. In the screen shot (still image) generated by capturing the two-dimensional code with logo (2), a part of the background image (23) of the two-dimensional code with logo (2) does not change. By processing, it can be easily determined that it is not genuine. Thereby, the capture of the two-dimensional code (2) with a logo can be prevented.

Description

本発明は、画像処理装置、画像処理方法、及びプログラムに関し、画像のキャプチャを防止することができる画像処理装置、画像処理方法、及びプログラムに関する。   The present invention relates to an image processing apparatus, an image processing method, and a program, and more particularly to an image processing apparatus, an image processing method, and a program that can prevent image capture.

二次元コードの一種であるQR(Quick Response)コード(登録商標)は、印刷物に機械可読な情報を埋め込むもので、昨今では、航空券に代表されるように、金銭的価値を持ったQRコード(登録商標)の利用が拡大している(例えば特許文献1参照)。なお、本明細書中に特許文献1の明細書、特許請求の範囲、図面全体を参考として取り込むものとする。   QR (Quick Response) code (registered trademark), which is a type of two-dimensional code, embeds machine-readable information in printed materials. Recently, it is a QR code with monetary value, as represented by airline tickets. The use of (registered trademark) is expanding (see, for example, Patent Document 1). In addition, the specification of patent document 1, a claim, and the whole drawing shall be taken in for reference in this specification.

特開2006−318328号公報JP 2006-318328 A

このため、QRコード(登録商標)等の画像をキャプチャして複製することを防止する技術の開発は、急務の課題となっている。   For this reason, the development of a technique for preventing an image such as a QR code (registered trademark) from being captured and copied is an urgent issue.

本発明は、上記課題を解決するためになされたものであって、画像のキャプチャを防止することができる画像処理装置、画像処理方法、及びプログラムを提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides an image processing apparatus, an image processing method, and a program capable of preventing image capture.

上記目的を達成するため、本発明の第の観点に係る画像処理装置は、一部又は全部が肉眼では認識困難な態様で変化する画像を認証する画像処置装置であって、前記画像の一部又は全部が変化しているか否かを判別する画像判別手段と、前記画像判別手段によって前記画像の一部又は全部が変化していないと判別した場合、該画像がキャプチャされたものと判別するキャプチャ判別手段と、を備え、前記画像の一部又は全部は、動画像をキャプチャする第1フレームレートとは異なる第2フレームレートで変化し、前記画像判別手段は、前記画像の一部又は全部が前記第2フレームレートで変化しているか否かを判別し、前記キャプチャ判別手段は、前記画像判別手段によって前記画像の一部又は全部が前記第2フレームレートで変化していないと判別した場合、該画像がキャプチャされたものと判別する一方で、前記画像判別手段によって前記画像の一部又は全部が前記第2フレームレートで変化していると判別した場合、該画像がキャプチャされたものではないと判別し、前記画像の一部又は全部の色を示す数値は、色空間において予め定められた軌道上で変化し、前記画像判別手段は、前記画像の一部又は全部の色を示す数値が、前記予め定められた軌道上で変化しているか否かを判別することにより、該画像の一部又は全部が前記第2フレームレートで変化しているか否かを判別する、ことを特徴とする。 To achieve the above object, an image processing apparatus according to a first aspect of the present invention, part or all of an image treatment apparatus for authenticating an image that changes at the recognition difficult aspect to the naked eye, the one image An image discriminating unit that discriminates whether or not all or part of the image has changed; and when the image discriminating unit determines that part or all of the image has not changed, the image discriminating unit determines that the image has been captured. Capture discriminating means , wherein part or all of the image changes at a second frame rate different from the first frame rate for capturing a moving image, and the image discriminating means is part or all of the image Is changed at the second frame rate, and the capture determining means determines that a part or all of the image is changed at the second frame rate by the image determining means. If it is determined that the image has been captured, the image determination unit determines that a part or all of the image is changing at the second frame rate. It is determined that the image is not captured, and a numerical value indicating a part or all of the color of the image changes on a predetermined trajectory in a color space, and the image determination unit includes a part or all of the image. By determining whether or not the numerical value indicating the color of the image changes on the predetermined trajectory, it is determined whether or not part or all of the image changes at the second frame rate. , characterized in that.

上記の画像処理装置において、前記画像判別手段は、前記画像の一部又は全部の色を示す数値が、前記予め定められた軌道上の端点のうちの少なくとも一部を通過していない場合、該画像の一部又は全部が前記第2フレームレートで変化していないと判別し、該予め定められた軌道上の端点を全て通過している場合、該画像の一部又は全部が前記第2フレームレートで変化していると判別する、ようにしてもよい。   In the above image processing apparatus, the image determining means, when the numerical value indicating a part or all of the color of the image does not pass through at least a part of the end points on the predetermined trajectory, When it is determined that part or all of the image has not changed at the second frame rate and all the end points on the predetermined trajectory have passed, the part or all of the image is part of the second frame. It may be determined that the rate is changing.

上記の画像処理装置において、前記第2フレームレートは、前記第1フレームレートよりも高い、ものであってもよい。   In the image processing apparatus, the second frame rate may be higher than the first frame rate.

上記の画像処理装置において、前記第2フレームレートは、前記第1フレームレートとは互いに素となる、ものであってもよい。   In the above-described image processing apparatus, the second frame rate may be relatively prime to the first frame rate.

上記目的を達成するため、本発明の第の観点に係る画像処理方法は、一部又は全部が肉眼では認識困難な態様で変化する画像を認証する画像処理方法であって、前記画像の一部又は全部が変化しているか否かを判別する画像判別ステップと、前記画像判別ステップによって前記画像の一部又は全部が変化していないと判別した場合、該画像がキャプチャされたものと判別するキャプチャ判別ステップと、を備え、前記画像の一部又は全部は、動画像をキャプチャする第1フレームレートとは異なる第2フレームレートで変化し、前記画像判別ステップは、前記画像の一部又は全部が前記第2フレームレートで変化しているか否かを判別し、前記キャプチャ判別ステップは、前記画像判別ステップによって前記画像の一部又は全部が前記第2フレームレートで変化していないと判別した場合、該画像がキャプチャされたものと判別する一方で、前記画像判別ステップによって前記画像の一部又は全部が前記第2フレームレートで変化していると判別した場合、該画像がキャプチャされたものではないと判別し、前記画像の一部又は全部の色を示す数値は、色空間において予め定められた軌道上で変化し、前記画像判別ステップは、前記画像の一部又は全部の色を示す数値が、前記予め定められた軌道上で変化しているか否かを判別することにより、該画像の一部又は全部が前記第2フレームレートで変化しているか否かを判別する、ことを特徴とする。 In order to achieve the above object, an image processing method according to a second aspect of the present invention is an image processing method for authenticating an image that changes partly or entirely in a manner that is difficult to recognize with the naked eye. An image determination step for determining whether or not all or part of the image has changed, and if it is determined that part or all of the image has not changed by the image determination step, it is determined that the image has been captured. Capture determining step , wherein part or all of the image changes at a second frame rate different from the first frame rate for capturing a moving image, and the image determining step includes part or all of the image Is changed at the second frame rate, and in the capture determination step, a part or all of the image is converted into the second frame by the image determination step. If it is determined that the frame rate has not changed, it is determined that the image has been captured, while the image determining step determines that a part or all of the image has changed at the second frame rate. If it is determined that the image is not captured, a numerical value indicating a part or all of the color of the image changes on a predetermined trajectory in a color space, and the image determination step includes: By determining whether or not the numerical value indicating the color of part or all of the image is changing on the predetermined trajectory, part or all of the image is changed at the second frame rate. to determine dolphin not, it characterized in that.

上記目的を達成するため、本発明の第の観点に係るプログラムは、一部又は全部が肉眼では認識困難な態様で変化する画像を認証するコンピュータに、前記画像の一部又は全部が変化しているか否かを判別する画像判別手順と、前記画像判別手順によって前記画像の一部又は全部が変化していないと判別した場合、該画像がキャプチャされたものと判別するキャプチャ判別手順と、を実行させ、前記画像の一部又は全部は、動画像をキャプチャする第1フレームレートとは異なる第2フレームレートで変化し、前記画像判別手順は、前記画像の一部又は全部が前記第2フレームレートで変化しているか否かを判別し、前記キャプチャ判別手順は、前記画像判別手順によって前記画像の一部又は全部が前記第2フレームレートで変化していないと判別した場合、該画像がキャプチャされたものと判別する一方で、前記画像判別手順によって前記画像の一部又は全部が前記第2フレームレートで変化していると判別した場合、該画像がキャプチャされたものではないと判別し、前記画像の一部又は全部の色を示す数値は、色空間において予め定められた軌道上で変化し、前記画像判別手順は、前記画像の一部又は全部の色を示す数値が、前記予め定められた軌道上で変化しているか否かを判別することにより、該画像の一部又は全部が前記第2フレームレートで変化しているか否かを判別するIn order to achieve the above object, a program according to the third aspect of the present invention changes a part or all of the image to a computer that authenticates an image that changes partly or entirely in a manner that is difficult to recognize with the naked eye. An image determination procedure for determining whether or not a part or all of the image has been changed by the image determination procedure, and a capture determination procedure for determining that the image has been captured. And a part or all of the image is changed at a second frame rate different from a first frame rate for capturing a moving image, and the image determination procedure is performed so that part or all of the image is the second frame rate. In the capture determination procedure, a part or all of the image is not changed at the second frame rate by the image determination procedure. If it is determined that the image has been captured, the image determination procedure determines that part or all of the image is changing at the second frame rate. A numerical value indicating a part or all of the color of the image changes on a predetermined trajectory in a color space, and the image determination procedure is performed for a part or all of the image. By determining whether or not the numerical value indicating the color is changing on the predetermined trajectory, it is determined whether or not a part or all of the image is changing at the second frame rate .

本発明によれば、画像のキャプチャを防止することができる画像処理装置、画像処理方法、及びプログラムを提供することができる。   According to the present invention, it is possible to provide an image processing apparatus, an image processing method, and a program that can prevent image capture.

画像処理装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of an image processing apparatus. (a)は、二次元コードの一例を示す平面図であり、(b)は、ロゴ付き二次元コードの一例を示す平面図である。(A) is a top view which shows an example of a two-dimensional code, (b) is a top view which shows an example of the two-dimensional code with a logo. Lab色空間におけるL値、a値、及びb値の変移を説明するための図である。It is a figure for demonstrating the transition of the L value in a Lab color space, a value, and b value. 画像認証処理の一例を示すフローチャートである。It is a flowchart which shows an example of an image authentication process.

以下、本発明を実施するための形態について説明する。   Hereinafter, modes for carrying out the present invention will be described.

まず、本実施形態に係る画像処理装置の構成について図面を参照しつつ説明する。   First, the configuration of the image processing apparatus according to the present embodiment will be described with reference to the drawings.

画像処理装置1は、例えばスマートフォンや、タブレット、パーソナルコンピュータなどの汎用端末装置等から構成され、図1に示すように、通信部11と、記憶部12と、表示部13と、操作部14と、制御部15と、を備えている。   The image processing device 1 is configured by a general-purpose terminal device such as a smartphone, a tablet, or a personal computer, for example, and as illustrated in FIG. 1, a communication unit 11, a storage unit 12, a display unit 13, and an operation unit 14. The control unit 15 is provided.

通信部11は、例えばNIC(Network Interface Card)等から構成され、外部のコンピュータからインターネットなどのネットワークを介して送信されるロゴ付き二次元コード2等を受信する。   The communication unit 11 includes, for example, a NIC (Network Interface Card) or the like, and receives a logo-added two-dimensional code 2 and the like transmitted from an external computer via a network such as the Internet.

図2(a)は、二次元コードの一例を示す平面図であり、図2(b)は、ロゴ付き二次元コードの一例を示す平面図である。   FIG. 2A is a plan view illustrating an example of a two-dimensional code, and FIG. 2B is a plan view illustrating an example of a two-dimensional code with a logo.

図2(b)に示すロゴ付き二次元コード2は、図2(a)に示すQR(Quick Response)コード(登録商標)などの二次元コード21と、ユーザがその内容を視認可能なロゴ画像と、を重ね合わせて形成される。   The logo-added two-dimensional code 2 shown in FIG. 2B is a two-dimensional code 21 such as a QR (Quick Response) code (registered trademark) shown in FIG. And are superimposed.

二次元コード21は、図2(a)に示すように、特定比率の正方形を組み合わせた3つの位置決めシンボル22a、22b、及び22cを備え、この位置決めシンボル22a、22b、及び22c間に、例えば29×29個の正方形のセルがマトリクス状に配置されている。   As shown in FIG. 2A, the two-dimensional code 21 includes three positioning symbols 22a, 22b, and 22c obtained by combining squares having a specific ratio, and for example, 29 29b is located between the positioning symbols 22a, 22b, and 22c. × 29 square cells are arranged in a matrix.

二次元コード21では、複数のセルのうち、所定明度未満のセル(この例では黒)と、所定明度以上のセル(この例では白)と、の分布パターンによって、各種情報が表現される。   In the two-dimensional code 21, various types of information are expressed by a distribution pattern of cells having a predetermined lightness (black in this example) and cells having a predetermined lightness or higher (white in this example) among a plurality of cells.

そして、図2(b)に示すロゴ付き二次元コード2は、背景画像23上に「3ポイント」との文字24を視認可能に表現するロゴ画像のうち所定明度以上の領域に、所定明度未満の円形のセル(この例では黒色のセル)を重ね合わせる一方で、ロゴ画像のうち所定明度未満の領域に、所定明度以上の円形のセル(この例では白色のセル)を重ね合わせて形成される。   The two-dimensional code with logo 2 shown in FIG. 2B is less than the predetermined lightness in an area of the predetermined lightness or higher in the logo image expressing the character 24 with “3 points” on the background image 23 so as to be visible. A circular cell (black cell in this example) is overlaid, while a circular cell (white cell in this example) having a predetermined brightness or higher is superimposed on an area of the logo image that is less than the predetermined brightness. The

ロゴ付き二次元コード2では、ロゴ画像のうち所定明度未満の領域及び所定明度未満のセルと、ロゴ画像のうち所定明度以上の領域及び所定明度以上のセルと、の分布パターンによって、例えばロゴ付き二次元コード2毎に付与されたURL(Uniform Resource Locator)などの各種情報が表現される。   In the two-dimensional code 2 with a logo, for example, a logo is added depending on a distribution pattern of an area of a logo image that is less than a predetermined brightness and a cell that is less than a predetermined brightness, and an area of a logo image that is a predetermined brightness or more and a cell that is a predetermined brightness or more Various information such as a URL (Uniform Resource Locator) assigned to each two-dimensional code 2 is expressed.

なお、ロゴ付き二次元コード2におけるセルの形状は、任意であり、本実施形態のように、円形であってもよいし、多角形や星形などであってもよい。   The shape of the cell in the logo-added two-dimensional code 2 is arbitrary, and may be a circle, a polygon, a star, or the like as in the present embodiment.

また、本実施形態では、ロゴ付き二次元コード2の色彩の一部又は全部が、肉眼では認識困難な態様で規則的に変化している。具体的には、図3に示すように、Lab(Lab color space)色空間において、ロゴ付き二次元コード2の背景画像23の一部(図2(b)に示す破線で囲まれた部分)の明度を示すL値、並びに色相を示すa値及びb値からなる点Pの座標が、例えば60fps(frames per second)のフレームレートで予め定められた軌道上を変化している。なお、肉眼では認識困難な態様での変化とは、肉眼では判別できない程、微少な色合いや明るさの変化や、瞬間的な色合いや明るさの変化、緩やかな色合いや明るさの変化などを言う。   In the present embodiment, part or all of the colors of the logo-added two-dimensional code 2 regularly change in a manner that is difficult to recognize with the naked eye. Specifically, as shown in FIG. 3, a part of the background image 23 of the logo-added two-dimensional code 2 in a Lab (Lab color space) color space (a part surrounded by a broken line shown in FIG. 2B). The coordinates of the point P composed of the L value indicating the brightness and the a value and the b value indicating the hue change on a predetermined trajectory at a frame rate of 60 fps (frames per second), for example. Note that changes in a form that is difficult to recognize with the naked eye are subtle changes in hue and brightness, instantaneous changes in hue and brightness, and gradual changes in hue and brightness that cannot be distinguished with the naked eye. say.

図3に示す例では、点Pが端点E0(Lc,a0,b0)から端点E1(Lc,a1,b1)までab平面上を速度s0で等速直線運動を行い、端点E0(Lc,a0,b0)を出発してからt1(=21/60)秒後に端点E1(Lc,a1,b1)に到達する。次に、点Pは、進行方向を変えて、端点E1(Lc,a1,b1)から端点E2(Lc,a2,b2)までab平面上を速度s1で等速直線運動を行い、端点E0(Lc,a0,b0)を出発してからt2(=45/60)秒後に端点E2(Lc,a2,b2)に到達する。そして、点Pは、さらに進行方向を変えて、端点E2(Lc,a1,b1)から端点E2(Lc,a2,b2)までab平面上を速度s1で等速直線運動を行い、端点E0(Lc,a0,b0)を出発してから60/60(=1)秒後に端点E0(Lc,a0,b0)に戻る。   In the example shown in FIG. 3, the point P performs constant-velocity linear motion at a speed s0 on the ab plane from the end point E0 (Lc, a0, b0) to the end point E1 (Lc, a1, b1), and the end point E0 (Lc, a0). , B0) and reach the end point E1 (Lc, a1, b1) t1 (= 21/60) seconds after the departure. Next, the point P changes its traveling direction and performs a constant-velocity linear motion on the ab plane from the end point E1 (Lc, a1, b1) to the end point E2 (Lc, a2, b2) at the speed s1, and the end point E0 ( The end point E2 (Lc, a2, b2) is reached t2 (= 45/60) seconds after the departure from Lc, a0, b0). Then, the point P further changes its traveling direction, and performs a constant-velocity linear motion on the ab plane from the end point E2 (Lc, a1, b1) to the end point E2 (Lc, a2, b2) at the speed s1. 60/60 (= 1) seconds after departure from Lc, a0, b0), it returns to the end point E0 (Lc, a0, b0).

これにより、ロゴ付き二次元コード2では、背景画像23の一部(図2(b)に示す破線で囲まれた部分)の明度を示すL値が変化しない一方で、色相を示すa値及びb値が1秒周期で規則的に変化する。もっとも、本実施形態において、背景画像23の一部の変化は微少であるため、ロゴ付き二次元コード2は、実際には60fpsの動画像であるが、肉眼では静止画像として認識される。   Thereby, in the two-dimensional code 2 with a logo, while the L value indicating the brightness of a part of the background image 23 (the portion surrounded by the broken line shown in FIG. 2B) does not change, the a value indicating the hue and The b value changes regularly with a 1 second period. However, in the present embodiment, since the change in the background image 23 is slight, the logo-added two-dimensional code 2 is actually a moving image of 60 fps, but is recognized as a still image by the naked eye.

図1に示す記憶部12は、例えばフラッシュメモリやハードディスクドライブ等から構成され、ロゴ付き二次元コード2が本物であるかキャプチャされたものであるかを認証するための画像認証プログラムを記憶する。また、記憶部12は、通信部11において受信したRGB色空間やCMYK色空間で表されるロゴ付き二次元コード2を保存する。   The storage unit 12 illustrated in FIG. 1 is configured by, for example, a flash memory, a hard disk drive, or the like, and stores an image authentication program for authenticating whether the logo-added two-dimensional code 2 is genuine or captured. In addition, the storage unit 12 stores the logo-added two-dimensional code 2 expressed in the RGB color space or the CMYK color space received by the communication unit 11.

表示部13は、例えばLCD(Liquid Crystal Display)などから構成され、記憶部12に保存されている画像データに基づいて、一部又は全部(本実施形態では、図2(b)に示す破線で囲まれた背景画像23の一部)が肉眼では認識困難な態様で規則的に変化するロゴ付き二次元コード2を画面上に表示する。この場合、ロゴ付き二次元コード2が本物であれば(キャプチャされたものでなければ)、背景画像23の一部が60fpsのフレームレートで規則的に変化する。これに対して、ロゴ付き二次元コード2のスクリーンショット(静止画像)であれば、背景画像23の一部が変化しない。また、ロゴ付き二次元コード2のスクリーンキャプチャであれば、背景画像23の一部が30fpsのフレームレートで規則的に変化する。   The display unit 13 is composed of, for example, an LCD (Liquid Crystal Display) or the like, and is partly or entirely based on the image data stored in the storage unit 12 (in the present embodiment, the broken line shown in FIG. 2B). A logo-added two-dimensional code 2 in which a part of the enclosed background image 23) changes regularly in a manner that is difficult to recognize with the naked eye is displayed on the screen. In this case, if the two-dimensional code with logo 2 is genuine (not captured), a part of the background image 23 regularly changes at a frame rate of 60 fps. On the other hand, if it is a screen shot (still image) of the two-dimensional code 2 with a logo, a part of the background image 23 does not change. Further, in the case of a screen capture of the two-dimensional code 2 with logo, a part of the background image 23 regularly changes at a frame rate of 30 fps.

また、表示部13は、画像認証プログラムによるロゴ付き二次元コード2の認証結果を画面上に表示する。   The display unit 13 displays the authentication result of the logo-added two-dimensional code 2 by the image authentication program on the screen.

操作部14は、例えばタッチパネルや、キーボード、マウス等から構成され、ユーザによって操作されて各種指示が入力される。ユーザは、操作部14を操作することによって、表示部13に表示されるロゴ付き二次元コード2のキャプチャを指示したり、画像認証プログラムによるロゴ付き二次元コード2の認証を指示したりすることができる。   The operation unit 14 includes, for example, a touch panel, a keyboard, a mouse, and the like, and is operated by a user to input various instructions. The user operates the operation unit 14 to instruct to capture the two-dimensional code 2 with logo displayed on the display unit 13 or to instruct the authentication of the two-dimensional code 2 with logo by the image authentication program. Can do.

制御部15は、例えばCPU(Central Processing Unit)、ROM(Read Only Memory)、及びRAM(Random Access Memory)等から構成され、CPUがRAMをワークメモリとして用い、ROMや記憶部12に記憶されているプログラムを適宜実行することにより、画像処理装置1の各種動作を制御する。   The control unit 15 includes, for example, a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like. The CPU uses the RAM as a work memory and is stored in the ROM or the storage unit 12. Various operations of the image processing apparatus 1 are controlled by appropriately executing the programs.

本実施形態において、制御部15は、操作部14からロゴ付き二次元コード2のキャプチャの指示が入力されたことに応答して、表示部13に表示されるロゴ付き二次元コード2をキャプチャして、ロゴ付き二次元コード2のスクリーンショット(静止画像)やスクリーンキャプチャ(フレームレートが30fpsの動画像)を生成し、記憶部12に記憶する。   In the present embodiment, the control unit 15 captures the logo-added two-dimensional code 2 displayed on the display unit 13 in response to an instruction to capture the logo-added two-dimensional code 2 from the operation unit 14. Then, a screen shot (still image) and screen capture (moving image with a frame rate of 30 fps) of the two-dimensional code 2 with logo are generated and stored in the storage unit 12.

スクリーンショットでは、ロゴ付き二次元コード2の背景画像23の一部(図2(b)に示す破線で囲まれた部分)の色相を示すa値及びb値が、キャプチャされたタイミングにおけるa値及びb値で固定され、ロゴ付き二次元コード2のように点Pの座標が変化しなくなる。   In the screen shot, the a value and b value indicating the hue of a part of the background image 23 of the logo-added two-dimensional code 2 (the portion surrounded by the broken line shown in FIG. 2B) are the a values at the captured timing. And the b value are fixed, and the coordinates of the point P do not change like the two-dimensional code 2 with a logo.

一方、スクリーンキャプチャでは、通常60fpsよりも低いフレームレート(30fps)でキャプチャされて行くため、例えば点Pの軌道上の端点E0、端点E1、及び端点E2の全てがキャプチャされることはない。   On the other hand, since screen capture is normally performed at a frame rate (30 fps) lower than 60 fps, for example, all of the end point E0, the end point E1, and the end point E2 on the trajectory of the point P are not captured.

より詳細に説明すれば、スクリーンキャプチャを構成する静止画像の中に、点Pが端点E0と合致する静止画像が含まれている場合には、端点E0を出発してから20/60(=10/30)秒後のタイミングでロゴ付き二次元コード2がキャプチャされ、その次に、22/60(=11/30)秒後のタイミングでロゴ付き二次元コード2がキャプチャされ、t1(=21/60)秒後のタイミングではロゴ付き二次元コード2がキャプチャされない。また、端点E0を出発してから44/60(=22/30)秒後のタイミングでロゴ付き二次元コード2がキャプチャされ、その次に、46/60(=23/30)秒後のタイミングでロゴ付き二次元コード2がキャプチャされ、t2(=45/60)秒後のタイミングではロゴ付き二次元コード2がキャプチャされない。このため、スクリーンキャプチャを構成する静止画像の中に、点Pが端点E0と合致する静止画像が含まれている場合には、点Pが端点E1及び端点E2と合致する静止画像が含まれることはない。   More specifically, in a case where a still image constituting the screen capture includes a still image in which the point P coincides with the end point E0, 20/60 (= 10 The two-dimensional code 2 with a logo is captured at a timing after / 30) seconds, and then the two-dimensional code 2 with a logo is captured at a timing after 22/60 (= 11/30) seconds, and t1 (= 21 / 60) Two-dimensional code 2 with logo is not captured at the timing after 2 seconds. Further, the two-dimensional code 2 with a logo is captured at a timing 44/60 (= 22/30) seconds after the departure from the end point E0, and then a timing after 46/60 (= 23/30) seconds. The two-dimensional code 2 with a logo is captured, and the two-dimensional code 2 with a logo is not captured at a timing after t2 (= 45/60) seconds. For this reason, when the still image constituting the screen capture includes a still image in which the point P matches the end point E0, the still image in which the point P matches the end point E1 and the end point E2 is included. There is no.

また、これとは逆に、スクリーンキャプチャを構成する静止画像の中に、点Pが端点E1及び端点E2と合致する静止画像が含まれている場合には、点Pが端点E0と合致する静止画像が含まれることはない。   On the other hand, when the still image constituting the screen capture includes a still image in which the point P matches the end point E1 and the end point E2, the still point in which the point P matches the end point E0. Images are never included.

また、制御部15は、記憶部12に記憶されている画像認証プログラムを実行することにより、RGB色空間やCMYK色空間で表されるロゴ付き二次元コード2を、Lab色空間で表されるロゴ付き二次元コード2に変換する。   Further, the control unit 15 executes the image authentication program stored in the storage unit 12 so that the two-dimensional code 2 with the logo represented in the RGB color space or the CMYK color space is represented in the Lab color space. Convert to 2D code 2 with logo.

そして、制御部15は、Lab色空間で表されるロゴ付き二次元コード2が本物であるか、ロゴ付き二次元コード2のスクリーンショット(静止画像)或いはスクリーンキャプチャ(フレームレートが30fpsの動画像)であるかの認証を行う。なお、ロゴ付き二次元コード2のスクリーンショット(静止画像)及びスクリーンキャプチャ(フレームレートが30fpsの動画像)は、制御部15によって生成されたものでもよいし、外部のコンピュータによって生成されたものであってもよく、外部のコンピュータによって生成されたものは、通信部11において受信するなどして、画像処理装置1に入力されればよい。   Then, the control unit 15 determines whether the two-dimensional code 2 with a logo represented in the Lab color space is genuine, a screen shot (still image) or a screen capture (a moving image with a frame rate of 30 fps). ). The screen shot (still image) and screen capture (moving image with a frame rate of 30 fps) of the two-dimensional code 2 with logo may be generated by the control unit 15 or generated by an external computer. What is generated by an external computer may be received by the communication unit 11 and input to the image processing apparatus 1.

具体的には、ロゴ付き二次元コード2の背景画像23の一部(図2(b)に示す破線で囲まれた部分)の明度を示すL値、並びに色相を示すa値及びb値からなる点Pの座標が変化しているか否か、とりわけ色相を示すa値及びb値が変化しているか否かを判別し、点Pの座標が変化していなければ、本物ではなく、ロゴ付き二次元コード2のスクリーンショット(静止画像)であると判別する。   Specifically, from the L value indicating the brightness of a part of the background image 23 of the logo-added two-dimensional code 2 (the portion surrounded by the broken line shown in FIG. 2B), and the a value and b value indicating the hue. It is determined whether the coordinates of the point P are changed, especially whether the a and b values indicating the hue are changed, and if the coordinates of the point P are not changed, it is not genuine and has a logo The screen shot (still image) of the two-dimensional code 2 is determined.

また、制御部15は、点Pの座標が変化していれば、すなわち動画像であれば、動画像における点Pが、図3に示す軌道上で変化しているか否かを判別することにより、動画像における点Pが60fpsのフレームレートで変化しているか否かを判別する。より詳細には、動画像における点Pが、図3に示す軌道上の端点E0、端点E1、及び端点E2の全てを通過するか否かを判別することにより、動画像における点Pが60fpsのフレームレートで変化しているか否かを判別する。   Further, if the coordinates of the point P are changed, that is, if it is a moving image, the control unit 15 determines whether or not the point P in the moving image is changing on the trajectory shown in FIG. Then, it is determined whether or not the point P in the moving image is changing at a frame rate of 60 fps. More specifically, by determining whether or not the point P in the moving image passes through all of the end points E0, E1 and E2 on the trajectory shown in FIG. 3, the point P in the moving image is 60 fps. It is determined whether or not the frame rate changes.

具体的に、制御部15は、動画像を構成する複数種類の静止画像の中に、点Pが端点E0と合致する静止画像、端点E1と合致する静止画像、及び端点E2と合致する静止画像の全てが含まれているか否かを判別する。ここで、点Pが端点E0と合致する静止画像、端点E1と合致する静止画像、及び端点E2と合致する静止画像のうち、少なくともいずれか一つが含まれていなければ、すなわち点Pが図3に示す軌道上の端点E0、端点E1、及び端点E2のうちの少なくともいずれか一部を通過していなければ、制御部15は、動画像における点Pが60fpsのフレームレートで変化していないものと判別する。そして、動画像における点Pが60fpsのフレームレートで変化していなければ、制御部15は、本物ではなく、ロゴ付き二次元コード2のスクリーンキャプチャ(フレームレートが30fpsの動画像)であると判別する。   Specifically, the control unit 15 includes, among a plurality of types of still images constituting the moving image, a still image in which the point P matches the end point E0, a still image in which the end point E1 matches, and a still image in which the end point E2 matches. It is determined whether or not all of the above are included. Here, if at least one of the still image in which the point P matches the end point E0, the still image in which the point P1 matches the end point E1, and the still image in which the point P2 matches the end point E2 is not included, that is, the point P is shown in FIG. If at least one of the end point E0, the end point E1, and the end point E2 on the trajectory shown in FIG. Is determined. If the point P in the moving image does not change at the frame rate of 60 fps, the control unit 15 determines that the screen capture of the two-dimensional code 2 with a logo (moving image with a frame rate of 30 fps) is not real. To do.

これに対して、点Pが端点E0と合致する静止画像、端点E1と合致する静止画像、及び端点E2と合致する静止画像の全てが含まれていれば、すなわち点Pが図3に示す軌道上の端点E0、端点E1、及び端点E2の全てを通過していれば、制御部15は、動画像における点Pが60fpsのフレームレートで変化しているものと判別する。そして、動画像における点Pが60fpsのフレームレートで変化していれば、制御部15は、本物のロゴ付き二次元コード2であると判別する。   On the other hand, if the point P includes all of the still image that matches the end point E0, the still image that matches the end point E1, and the still image that matches the end point E2, that is, the point P is the trajectory shown in FIG. If all of the upper end point E0, end point E1, and end point E2 are passed, the control unit 15 determines that the point P in the moving image is changing at a frame rate of 60 fps. If the point P in the moving image changes at a frame rate of 60 fps, the control unit 15 determines that the two-dimensional code 2 is a genuine logo.

次に、上記構成を備える画像処理装置1の動作について図面を参照して説明する。   Next, the operation of the image processing apparatus 1 having the above configuration will be described with reference to the drawings.

ユーザによる操作部14の操作によって、記憶部12に保存されているロゴ付き二次元コード2の真贋判定の指示が入力されたことに応答して、制御部15は、記憶部12に記憶されている画像認証プログラムを実行することにより、図4に示す画像認証処理を実行する。   In response to an instruction to authenticate the two-dimensional code 2 with logo stored in the storage unit 12 input by the operation of the operation unit 14 by the user, the control unit 15 is stored in the storage unit 12. The image authentication process shown in FIG. 4 is executed by executing the image authentication program.

図4に示す画像認証処理において、制御部15は、まず、RGB色空間やCMYK色空間で表されるロゴ付き二次元コード2を、Lab色空間で表されるロゴ付き二次元コード2に変換する(ステップS1)。   In the image authentication process shown in FIG. 4, the control unit 15 first converts the two-dimensional code 2 with a logo expressed in the RGB color space or the CMYK color space into the two-dimensional code 2 with a logo expressed in the Lab color space. (Step S1).

次に、制御部15は、Lab色空間で表されるロゴ付き二次元コード2が動画像であるか否かを判別する(ステップS2)。具体的には、ロゴ付き二次元コード2の背景画像23の一部(図2(b)に示す破線で囲まれた部分)の明度を示すL値、並びに色相を示すa値及びb値からなる点Pの座標が変化しているか否か、とりわけ色相を示すa値及びb値が変化しているか否かを判別することにより、ロゴ付き二次元コード2が動画像であるか否かを判別する。   Next, the control unit 15 determines whether or not the logo-added two-dimensional code 2 represented in the Lab color space is a moving image (step S2). Specifically, from the L value indicating the brightness of a part of the background image 23 of the logo-added two-dimensional code 2 (the portion surrounded by the broken line shown in FIG. 2B), and the a value and b value indicating the hue. It is determined whether or not the two-dimensional code 2 with a logo is a moving image by determining whether or not the coordinates of the point P are changed, in particular, whether or not the a and b values indicating the hue are changed. Determine.

そして、ロゴ付き二次元コード2が動画像でないと判別した場合(ステップS2;No)、制御部15は、本物ではなく、ロゴ付き二次元コード2のスクリーンショット(静止画像)などであるとして、ロゴ付き二次元コード2がキャプチャされたものであるとの認証結果を表示部13に表示する(ステップS3)。   When it is determined that the logo-added two-dimensional code 2 is not a moving image (step S2; No), the control unit 15 is not a real one but a screen shot (still image) of the logo-added two-dimensional code 2 and the like. An authentication result indicating that the logo-added two-dimensional code 2 is captured is displayed on the display unit 13 (step S3).

これに対して、ロゴ付き二次元コード2が動画像であると判別した場合(ステップS2;Yes)、制御部15は、動画像における点Pが、図3に示す軌道上の端点E0、端点E1、及び端点E2の全てを通過するか否かを判別することにより、動画像における点Pが60fpsのフレームレートで変化しているか否かを判別する(ステップS4)。   On the other hand, when it is determined that the logo-added two-dimensional code 2 is a moving image (step S2; Yes), the control unit 15 determines that the point P in the moving image is an end point E0 on the orbit shown in FIG. It is determined whether or not the point P in the moving image is changing at a frame rate of 60 fps by determining whether or not it passes through all of E1 and the end point E2 (step S4).

点Pが図3に示す軌道上の端点E0、端点E1、及び端点E2のうちの少なくともいずれか一部を通過していないと判別した場合、すなわち動画像における点Pが60fpsのフレームレートで変化していないと判別した場合(ステップS4;No)、制御部15は、本物ではなく、ロゴ付き二次元コード2のスクリーンキャプチャ(フレームレートが30fpsの動画像)などであるとして、ロゴ付き二次元コード2がキャプチャされたものであるとの認証結果を表示部13に表示する(ステップS3)。   When it is determined that the point P does not pass at least one of the end point E0, the end point E1, and the end point E2 on the trajectory shown in FIG. 3, that is, the point P in the moving image changes at a frame rate of 60 fps. If it is determined that it has not been performed (step S4; No), the control unit 15 assumes that the screen capture of the two-dimensional code 2 with a logo (moving image with a frame rate of 30 fps) is not real, and the two-dimensional with logo An authentication result indicating that the code 2 is captured is displayed on the display unit 13 (step S3).

これに対して、点Pが図3に示す軌道上の端点E0、端点E1、及び端点E2の全てを通過していると判別した場合、すなわち動画像における点Pが60fpsのフレームレートで変化しているものと判別した場合(ステップS4;Yes)、制御部15は、本物のロゴ付き二次元コード2であるとして、ロゴ付き二次元コード2が本物であるとの認証結果を表示部13に表示する(ステップS5)。この場合、制御部15は、ロゴ付き二次元コード2が表現するURLに通信部11からアクセスするようにしてもよい。   On the other hand, when it is determined that the point P passes all of the end point E0, the end point E1, and the end point E2 on the trajectory shown in FIG. 3, that is, the point P in the moving image changes at a frame rate of 60 fps. If it is determined that the two-dimensional code 2 with a logo is genuine, the control unit 15 determines that the two-dimensional code 2 with a logo is genuine on the display unit 13 (step S4; Yes). Displayed (step S5). In this case, the control unit 15 may access the URL expressed by the logo-added two-dimensional code 2 from the communication unit 11.

以上説明したように、本実施形態に係る画像処理装置1によれば、表示部13に表示されるロゴ付き二次元コード2は、その一部又は全部(本実施形態では、図2(b)に示す破線で囲まれた背景画像23の一部)が肉眼では認識困難な態様で規則的に変化している。このようなロゴ付き二次元コード2をキャプチャして生成したスクリーンショット(静止画像)では、ロゴ付き二次元コード2の背景画像23の一部が変化しなくなるため、図4に示す画像認証処理によって本物ではないと容易に判別することができる。これにより、ロゴ付き二次元コード2のキャプチャを防止することができる。   As described above, according to the image processing apparatus 1 according to the present embodiment, the logo-added two-dimensional code 2 displayed on the display unit 13 is partially or entirely (in this embodiment, FIG. 2B). (A part of the background image 23 surrounded by a broken line) changes regularly in a manner that is difficult to recognize with the naked eye. In the screen shot (still image) generated by capturing the two-dimensional code 2 with the logo, a part of the background image 23 of the two-dimensional code 2 with the logo does not change. It can be easily determined that it is not genuine. Thereby, capture of the two-dimensional code 2 with a logo can be prevented.

また、表示部13に表示されるロゴ付き二次元コード2の背景画像23の一部は、動画像をキャプチャするフレームレート(30fps)とは異なるフレームレート、より詳しくは動画像をキャプチャするフレームレートよりも高いフレームレート(60fps)で変化する。このようなロゴ付き二次元コード2をキャプチャして生成したスクリーンキャプチャ(フレームレートが30fpsの動画像)では、背景画像23の一部の明度を示すL値、並びに色相を示すa値及びb値からなる点Pの座標が、図3に示す軌道上の端点E0、端点E1、及び端点E2のうちの少なくとも一つを通過しなくなるため、図4に示す画像認証処理によって本物ではないと容易に判別することができる。これにより、ロゴ付き二次元コード2のキャプチャを防止することができる。   A part of the background image 23 of the logo-added two-dimensional code 2 displayed on the display unit 13 is a frame rate different from the frame rate (30 fps) for capturing a moving image, more specifically, the frame rate for capturing a moving image. Change at a higher frame rate (60 fps). In a screen capture (moving image with a frame rate of 30 fps) generated by capturing such a logo-added two-dimensional code 2, an L value indicating the brightness of a part of the background image 23, and an a value and a b value indicating hue. Since the coordinates of the point P consisting of do not pass through at least one of the end point E0, the end point E1, and the end point E2 on the trajectory shown in FIG. 3, the image authentication process shown in FIG. Can be determined. Thereby, capture of the two-dimensional code 2 with a logo can be prevented.

なお、本発明は、上記実施形態に限定されず、種々の変形、応用が可能である。以下、本発明に適用可能な上記実施形態の変形態様について、説明する。   In addition, this invention is not limited to the said embodiment, A various deformation | transformation and application are possible. Hereinafter, modifications of the above-described embodiment applicable to the present invention will be described.

上記実施形態では、ロゴ付き二次元コード2を例に説明したが、本発明はこれに限定されるものではなく、その一部又は全部が肉眼では認識困難な態様で変化する画像であれば任意に変更可能であり、肉眼では認識困難な態様で変化する部分以外が、静止画像のものであってもよいし、動画像のものであってもよい。   In the above embodiment, the two-dimensional code 2 with a logo has been described as an example. However, the present invention is not limited to this, and any image may be used as long as part or all of the image changes in a manner that is difficult to recognize with the naked eye. The portion other than the portion that changes in a manner that is difficult to recognize with the naked eye may be a still image or a moving image.

上記実施形態では、表示部13に表示されるロゴ付き二次元コード2の背景画像23の一部は、動画像をキャプチャするフレームレート(30fps)よりも高いフレームレート(60fps)で変化するものとして説明した。しかしながら、本発明はこれに限定されるものではなく、表示部13に表示されるロゴ付き二次元コード2の背景画像23の一部のフレームレートは、動画像をキャプチャするフレームレート(30fps)と異なるものであれば任意に変更可能であり、例えば動画像をキャプチャするフレームレート(30fps)と互いに素となるフレームレート(例えば29fpsや31fpsなど)であってもよい。このように、ロゴ付き二次元コード2の背景画像23の一部が、動画像をキャプチャするフレームレート(30fps)と互いに素となるフレームレート(例えば29fpsや31fpsなど)で変化すれば、背景画像23の一部の明度を示すL値、並びに色相を示すa値及びb値からなる点Pの座標が、図3に示す軌道上の端点E0、端点E1、及び端点E2のうちの少なくとも一つを通過しなくなるため、図4に示す画像認証処理によって本物ではないと容易に判別することができる。これにより、ロゴ付き二次元コード2のキャプチャを防止することができる。   In the above embodiment, it is assumed that a part of the background image 23 of the logo-added two-dimensional code 2 displayed on the display unit 13 changes at a frame rate (60 fps) higher than the frame rate (30 fps) for capturing a moving image. explained. However, the present invention is not limited to this, and the frame rate of a part of the background image 23 of the logo-added two-dimensional code 2 displayed on the display unit 13 is a frame rate (30 fps) for capturing a moving image. For example, the frame rate (30 fps) and the frame rate (for example, 29 fps or 31 fps) that are relatively prime to each other may be used. In this way, if a part of the background image 23 of the logo-added two-dimensional code 2 changes at a frame rate (for example, 29 fps or 31 fps) that is relatively prime to the frame rate (30 fps) for capturing a moving image, the background image The coordinates of a point P composed of an L value indicating a lightness of a part 23 and a value and b value indicating hue are at least one of the end point E0, the end point E1, and the end point E2 on the trajectory shown in FIG. Therefore, the image authentication process shown in FIG. 4 can easily determine that the image is not genuine. Thereby, capture of the two-dimensional code 2 with a logo can be prevented.

上記実施形態では、Lab色空間において、ロゴ付き二次元コード2の背景画像23の一部(図2(b)に示す破線で囲まれた部分)の明度を示すL値、並びに色相を示すa値及びb値からなる点Pの座標が予め定められた軌道上を変化するものとして説明した。しかしながら、本発明はこれに限定されるものではなく、ロゴ付き二次元コード2の背景画像23の一部の色彩を表される色空間は任意に変更可能であり、例えばRGB色空間やCMYK色空間等であってもよい。そして、RGB色空間においては、ロゴ付き二次元コード2の背景画像23の一部の色彩がR値、G値、及びB値で表されればよい。また、CMYK色空間においては、ロゴ付き二次元コード2の背景画像23の一部の色彩がC値、M値、Y値、及びK値で表されればよい。   In the above embodiment, in the Lab color space, the L value indicating the brightness of a part of the background image 23 of the logo-added two-dimensional code 2 (the portion surrounded by the broken line shown in FIG. 2B), and a indicating the hue It has been described that the coordinates of the point P composed of the value and the b value change on a predetermined trajectory. However, the present invention is not limited to this, and a color space representing a part of the color of the background image 23 of the logo-added two-dimensional code 2 can be arbitrarily changed. For example, the RGB color space or the CMYK color can be changed. It may be a space or the like. In the RGB color space, a part of the color of the background image 23 of the logo-added two-dimensional code 2 may be represented by an R value, a G value, and a B value. In the CMYK color space, a part of the color of the background image 23 of the logo-added two-dimensional code 2 may be represented by a C value, an M value, a Y value, and a K value.

上記実施形態では、色相を示すa値及びb値が規則的に変化するものとして説明したが、本発明はこれに限定されるものではなく、a値及びb値のいずれか一方を規則的に変化させるものであってもよいし、明度を示すL値を規則的に変化させるものであってもよい。また、明度を示すL値、並びに色相を示すa値及びb値の全て、或いはいずれか二つを規則的に変化させてもよい。   In the embodiment described above, the a value and the b value indicating the hue are regularly changed. However, the present invention is not limited to this, and either the a value or the b value is regularly set. It may be changed, or the L value indicating lightness may be changed regularly. Alternatively, all or any two of the L value indicating the lightness and the a value and the b value indicating the hue may be changed regularly.

上記実施形態では、色相を示すa値及びb値が継続的に変化するものとして説明したが、本発明はこれに限定されるものではなく、明度を示すL値、並びに色相を示すa値及びb値のうちの少なくともいずれか一つが瞬間的に変化するものであってもよし、断続的に変化するものであってもよい。   In the above embodiment, the a value and the b value indicating the hue are described as continuously changing. However, the present invention is not limited to this, and the L value indicating the brightness, the a value indicating the hue, and At least one of the b values may change instantaneously or may change intermittently.

上記実施形態では、ロゴ付き二次元コード2が、「ロゴマークのうち所定明度以上の部分には、所定明度未満のセルドットを重ね合わせる一方で、ロゴマークのうち所定明度未満の部分には、所定明度以上のセルドットを重ね合わせ、所定明度以上のセルドット及びロゴマークのうち所定明度以上の部分と、所定明度未満のセルドット及びロゴマークのうち所定明度未満の部分と、の分布パターンによって所定の情報を表現するものであるとして説明した(例えば特開2008−15642号公報参照)。しかしながら、本発明はこれに限定されるものではなく、汎用の二次元コードリーダによって“0”と認識される光学的特性の一又は複数の色と、“1”と認識される光学的特性の一又は複数の色と、を用いて所定の情報を表現するものであれば任意に適用可能であり、例えば白色のセルと黒色のセルとから構成される汎用の二次元コードであってもよいし、二次元コードに視認可能なロゴマークを重ね合わせたロゴ付き二次元コードであってもよい。例えば、所定明度未満(汎用の二次元コードリーダによって“0”と認識される明度)のロゴマークに、所定明度以上(汎用の二次元コードリーダによって“1”と認識される明度)のセルを重ね合わせ、ロゴマークのうちセルが重ね合わされていない部分とセルとの分布パターンによって所定の情報を表現するものであってもよい(例えば特開2007−287004号公報参照)。なお、本明細書中に特開2007−287004号公報及び特開2008−15642号公報の明細書、特許請求の範囲、図面全体を参考として取り込むものとする。   In the above embodiment, the logo-added two-dimensional code 2 indicates that “cell dots less than a predetermined brightness are superimposed on a portion of the logo mark that is greater than or equal to the predetermined brightness, while portions of the logo mark that are less than the predetermined brightness are overlaid. Cell dots with a predetermined brightness or higher are overlaid, and the distribution pattern of cell dots and logo marks with a predetermined brightness or higher and portions with a predetermined brightness or higher and cell dots and logo marks with a predetermined brightness lower than the predetermined brightness (For example, refer to Japanese Patent Laid-Open No. 2008-15642.) However, the present invention is not limited to this and is recognized as “0” by a general-purpose two-dimensional code reader. Expressing predetermined information using one or more colors of the optical characteristics to be recognized and one or more colors of the optical characteristics recognized as "1" Any general-purpose two-dimensional code composed of white cells and black cells, for example, or two logos with a visible logo mark superimposed on the two-dimensional code may be used. For example, a logo mark less than a predetermined lightness (lightness recognized as “0” by a general-purpose two-dimensional code reader) is added to “1” by a general-purpose two-dimensional code reader. Recognized brightness) cells may be overlapped, and predetermined information may be expressed by a distribution pattern of cells and portions of the logo mark where the cells are not overlapped (for example, Japanese Patent Application Laid-Open No. 2007-287004). In this specification, refer to the specifications, claims, and entire drawings of JP2007-287004A and JP2008-15642A. It is assumed that the capture Te.

上記実施形態では、二次元コードとしてQRコード(登録商標)を例示して説明したが、本発明はこれに限定されるものではなく、二次元コードは、データマトリクス、アズテックコード、コードワン、アレイタグ、ボックス図形コード、マキシコード、ペリコード、ソフトストリップ、CPコード、カルラコード、ウルトラコードなどといった他のマトリクス式の二次元コードであってもよい。あるいは、PDF417、コード49、コード16k、コーダブロックなどといった一次元バーコードを縦に積み重ねたスタック式の二次元コードであっても構わない。   In the above embodiment, the QR code (registered trademark) is exemplified as the two-dimensional code. However, the present invention is not limited to this, and the two-dimensional code includes a data matrix, an aztec code, a code one, and an array tag. Other matrix type two-dimensional codes such as a box graphic code, a maxi code, a peri code, a soft strip, a CP code, a Carla code, and an ultra code may be used. Alternatively, a stack type two-dimensional code in which one-dimensional barcodes such as PDF417, code 49, code 16k, and coder block are vertically stacked may be used.

上記実施形態において、制御部15のCPUが実行するプログラムは、予めROMや記憶部12等に記憶されていた。しかしながら、本発明は、これに限定されず、上述の処理を実行させるためのプログラムを、既存のスマートフォンや、タブレット、パーソナルコンピュータなどの汎用端末装置や、フレームワーク、ワークステーション等に適用することで、上記実施形態に係る画像処理装置1として機能させてもよい。   In the above embodiment, the program executed by the CPU of the control unit 15 is stored in advance in the ROM, the storage unit 12 or the like. However, the present invention is not limited to this, and by applying a program for executing the above-described processing to existing smartphones, general-purpose terminal devices such as tablets and personal computers, frameworks, workstations, and the like. The image processing apparatus 1 according to the embodiment may function.

このようなプログラムの提供方法は任意であり、例えばコンピュータが読取可能な記録媒体(フレキシブルディスク、CD(Compact Disc)−ROM、DVD(Digital Versatile Disc)−ROM等)に格納して配布してもよいし、インターネット等のネットワーク上のストレージにプログラムを格納しておき、これをダウンロードさせることにより提供してもよい。   A method for providing such a program is arbitrary. For example, the program may be stored and distributed on a computer-readable recording medium (flexible disk, CD (Compact Disc) -ROM, DVD (Digital Versatile Disc) -ROM, etc.). Alternatively, the program may be stored in a storage on a network such as the Internet and provided by downloading it.

また、上記の処理をOS(Operating System)とアプリケーションプログラムとの分担、又はOSとアプリケーションプログラムとの協働によって実行する場合には、アプリケーションプログラムのみを記録媒体やストレージに格納してもよい。また、搬送波にプログラムを重畳し、ネットワークを介して配信することも可能である。例えば、ネットワーク上の掲示板(BBS:Bulletin Board System)に上記プログラムを掲示し、ネットワークを介してプログラムを配信してもよい。そして、このプログラムを起動し、OSの制御下で、他のアプリケーションプログラムと同様に実行することにより、上記の処理を実行できるように構成してもよい。   Further, when the above processing is executed by sharing an OS (Operating System) and an application program, or by cooperation between the OS and the application program, only the application program may be stored in a recording medium or storage. It is also possible to superimpose a program on a carrier wave and distribute it via a network. For example, the program may be posted on a bulletin board (BBS: Bulletin Board System) on the network, and the program may be distributed via the network. Then, this program may be activated and executed in the same manner as other application programs under the control of the OS, so that the above processing can be executed.

なお、本発明は、本発明の広義の精神と範囲を逸脱することなく、様々な実施の形態及び変形が可能とされるものである。また、上述した実施の形態は、本発明の一実施例を説明するためのものであり、本発明の範囲を限定するものではない。   It should be noted that the present invention can be variously modified and modified without departing from the broad spirit and scope of the present invention. The above-described embodiment is for explaining an example of the present invention and does not limit the scope of the present invention.

1 画像処理装置
2 ロゴ付き二次元コード
11 通信部
12 記憶部
13 表示部
14 操作部
15 制御部
21 二次元コード
23 背景画像
24 文字
DESCRIPTION OF SYMBOLS 1 Image processing apparatus 2 Two-dimensional code with logo 11 Communication part 12 Storage part 13 Display part 14 Operation part 15 Control part 21 Two-dimensional code 23 Background image 24 Character

Claims (6)

一部又は全部が肉眼では認識困難な態様で変化する画像を認証する画像処置装置であって、
前記画像の一部又は全部が変化しているか否かを判別する画像判別手段と、
前記画像判別手段によって前記画像の一部又は全部が変化していないと判別した場合、該画像がキャプチャされたものと判別するキャプチャ判別手段と、
を備え
前記画像の一部又は全部は、動画像をキャプチャする第1フレームレートとは異なる第2フレームレートで変化し、
前記画像判別手段は、前記画像の一部又は全部が前記第2フレームレートで変化しているか否かを判別し、
前記キャプチャ判別手段は、前記画像判別手段によって前記画像の一部又は全部が前記第2フレームレートで変化していないと判別した場合、該画像がキャプチャされたものと判別する一方で、前記画像判別手段によって前記画像の一部又は全部が前記第2フレームレートで変化していると判別した場合、該画像がキャプチャされたものではないと判別し、
前記画像の一部又は全部の色を示す数値は、色空間において予め定められた軌道上で変化し、
前記画像判別手段は、前記画像の一部又は全部の色を示す数値が、前記予め定められた軌道上で変化しているか否かを判別することにより、該画像の一部又は全部が前記第2フレームレートで変化しているか否かを判別する、
ことを特徴とする画像処理装置。
An image treatment device that authenticates an image that changes in a manner that is partly or entirely difficult to recognize with the naked eye,
Image discriminating means for discriminating whether or not part or all of the image has changed;
A capture discriminating unit for discriminating that the image has been captured when the image discriminating unit determines that part or all of the image has not changed;
Equipped with a,
Part or all of the image changes at a second frame rate different from the first frame rate for capturing a moving image,
The image determining means determines whether or not a part or all of the image is changed at the second frame rate;
The capture determining unit determines that the image has been captured when the image determining unit determines that part or all of the image has not changed at the second frame rate, while determining that the image has been captured. If it is determined by the means that part or all of the image is changing at the second frame rate, it is determined that the image is not captured,
The numerical value indicating the color of part or all of the image changes on a predetermined trajectory in the color space,
The image discriminating unit discriminates whether or not a numerical value indicating a color of a part or all of the image is changed on the predetermined trajectory, whereby a part or all of the image is To determine whether it is changing at 2 frame rate,
An image processing apparatus.
前記画像判別手段は、前記画像の一部又は全部の色を示す数値が、前記予め定められた軌道上の端点のうちの少なくとも一部を通過していない場合、該画像の一部又は全部が前記第2フレームレートで変化していないと判別し、該予め定められた軌道上の端点を全て通過している場合、該画像の一部又は全部が前記第2フレームレートで変化していると判別する、
ことを特徴とする請求項に記載の画像処理装置。
When the numerical value indicating the color of a part or all of the image does not pass through at least a part of the end points on the predetermined trajectory, the part or all of the image is determined. When it is determined that the image does not change at the second frame rate, and all of the end points on the predetermined trajectory have passed, a part or all of the image is changed at the second frame rate. To determine,
The image processing apparatus according to claim 1 .
前記第2フレームレートは、前記第1フレームレートよりも高い、
ことを特徴とする請求項1又は2に記載の画像処理装置。
The second frame rate is higher than the first frame rate;
The image processing apparatus according to claim 1 , wherein the image processing apparatus is an image processing apparatus.
前記第2フレームレートは、前記第1フレームレートとは互いに素となる、
ことを特徴とする請求項1,2,又は3に記載の画像処理装置。
The second frame rate is relatively prime to the first frame rate;
The image processing apparatus according to claim 1, 2, or 3 .
一部又は全部が肉眼では認識困難な態様で変化する画像を認証する画像処理方法であって、
前記画像の一部又は全部が変化しているか否かを判別する画像判別ステップと、
前記画像判別ステップによって前記画像の一部又は全部が変化していないと判別した場合、該画像がキャプチャされたものと判別するキャプチャ判別ステップと、
を備え
前記画像の一部又は全部は、動画像をキャプチャする第1フレームレートとは異なる第2フレームレートで変化し、
前記画像判別ステップは、前記画像の一部又は全部が前記第2フレームレートで変化しているか否かを判別し、
前記キャプチャ判別ステップは、前記画像判別ステップによって前記画像の一部又は全部が前記第2フレームレートで変化していないと判別した場合、該画像がキャプチャされたものと判別する一方で、前記画像判別ステップによって前記画像の一部又は全部が前記第2フレームレートで変化していると判別した場合、該画像がキャプチャされたものではないと判別し、
前記画像の一部又は全部の色を示す数値は、色空間において予め定められた軌道上で変化し、
前記画像判別ステップは、前記画像の一部又は全部の色を示す数値が、前記予め定められた軌道上で変化しているか否かを判別することにより、該画像の一部又は全部が前記第2フレームレートで変化しているか否かを判別する、
ことを特徴とする画像処理方法。
An image processing method for authenticating an image that changes partly or entirely in a manner that is difficult to recognize with the naked eye,
An image discriminating step for discriminating whether or not part or all of the image has changed;
If it is determined that part or all of the image has not changed in the image determination step, a capture determination step for determining that the image has been captured;
Equipped with a,
Part or all of the image changes at a second frame rate different from the first frame rate for capturing a moving image,
The image determining step determines whether or not part or all of the image is changing at the second frame rate;
When the image determination step determines that part or all of the image has not changed at the second frame rate, the capture determination step determines that the image has been captured, while the image determination If the step determines that part or all of the image is changing at the second frame rate, it is determined that the image is not captured,
The numerical value indicating the color of part or all of the image changes on a predetermined trajectory in the color space,
The image determining step determines whether or not a numerical value indicating a color of a part or all of the image is changed on the predetermined trajectory, whereby a part or all of the image is To determine whether it is changing at 2 frame rate,
An image processing method.
一部又は全部が肉眼では認識困難な態様で変化する画像を認証するコンピュータに、
前記画像の一部又は全部が変化しているか否かを判別する画像判別手順と、
前記画像判別手順によって前記画像の一部又は全部が変化していないと判別した場合、該画像がキャプチャされたものと判別するキャプチャ判別手順と、
を実行させ
前記画像の一部又は全部は、動画像をキャプチャする第1フレームレートとは異なる第2フレームレートで変化し、
前記画像判別手順は、前記画像の一部又は全部が前記第2フレームレートで変化しているか否かを判別し、
前記キャプチャ判別手順は、前記画像判別手順によって前記画像の一部又は全部が前記第2フレームレートで変化していないと判別した場合、該画像がキャプチャされたものと判別する一方で、前記画像判別手順によって前記画像の一部又は全部が前記第2フレームレートで変化していると判別した場合、該画像がキャプチャされたものではないと判別し、
前記画像の一部又は全部の色を示す数値は、色空間において予め定められた軌道上で変化し、
前記画像判別手順は、前記画像の一部又は全部の色を示す数値が、前記予め定められた軌道上で変化しているか否かを判別することにより、該画像の一部又は全部が前記第2フレームレートで変化しているか否かを判別する、
ためのプログラム。
To a computer that authenticates an image that changes in part or in a way that is difficult to recognize with the naked eye,
An image determination procedure for determining whether or not part or all of the image has changed;
When it is determined that part or all of the image has not changed by the image determination procedure, a capture determination procedure for determining that the image has been captured;
Was executed,
Part or all of the image changes at a second frame rate different from the first frame rate for capturing a moving image,
The image determination procedure determines whether a part or all of the image is changing at the second frame rate,
The capture determination procedure determines that the image has been captured when the image determination procedure determines that part or all of the image has not changed at the second frame rate, while the image determination If it is determined that part or all of the image is changing at the second frame rate according to the procedure, it is determined that the image is not captured,
The numerical value indicating the color of part or all of the image changes on a predetermined trajectory in the color space,
The image determination procedure determines whether a part or all of the image is changed in the predetermined trajectory by determining whether or not a numerical value indicating a part or all of the color of the image changes on the predetermined trajectory. To determine whether it is changing at 2 frame rate,
Program for.
JP2014540242A 2014-03-28 2014-03-28 Image processing apparatus, image processing method, and program Expired - Fee Related JP5636523B1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2014/059370 WO2015145779A1 (en) 2014-03-28 2014-03-28 Image processing device, image processing method, and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2014166248A Division JP2015191652A (en) 2014-08-18 2014-08-18 Image processor, image processing method, and program

Publications (2)

Publication Number Publication Date
JP5636523B1 true JP5636523B1 (en) 2014-12-03
JPWO2015145779A1 JPWO2015145779A1 (en) 2017-04-13

Family

ID=52139090

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014540242A Expired - Fee Related JP5636523B1 (en) 2014-03-28 2014-03-28 Image processing apparatus, image processing method, and program

Country Status (2)

Country Link
JP (1) JP5636523B1 (en)
WO (1) WO2015145779A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015129788A1 (en) * 2014-02-26 2015-09-03 株式会社Mrsホールディングズ Bar code display device, method for operating bar code display device, and program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003317051A (en) * 2002-04-23 2003-11-07 Kato Takemi Dynamic bar code display device, dynamic bar code generating method, and storage medium generating dynamic bar code
JP2004295650A (en) * 2003-03-27 2004-10-21 Fuji Research Institute Corp Code verification processing method, code verification processing program and code display program
JP2007288940A (en) * 2006-04-18 2007-11-01 Toshiba Corp Charge service system, charger, and charge service providing method
JP2009516259A (en) * 2005-11-11 2009-04-16 株式会社カラージップメディア Video image code, apparatus and method for generating or decoding video image code
US20130240627A1 (en) * 2012-03-13 2013-09-19 Siemens Aktiengesellschaft Method and Reader for Capturing a Plurality of Two-Dimensional Codes which are Presented in Succession on a Display Apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003317051A (en) * 2002-04-23 2003-11-07 Kato Takemi Dynamic bar code display device, dynamic bar code generating method, and storage medium generating dynamic bar code
JP2004295650A (en) * 2003-03-27 2004-10-21 Fuji Research Institute Corp Code verification processing method, code verification processing program and code display program
JP2009516259A (en) * 2005-11-11 2009-04-16 株式会社カラージップメディア Video image code, apparatus and method for generating or decoding video image code
JP2007288940A (en) * 2006-04-18 2007-11-01 Toshiba Corp Charge service system, charger, and charge service providing method
US20130240627A1 (en) * 2012-03-13 2013-09-19 Siemens Aktiengesellschaft Method and Reader for Capturing a Plurality of Two-Dimensional Codes which are Presented in Succession on a Display Apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015129788A1 (en) * 2014-02-26 2015-09-03 株式会社Mrsホールディングズ Bar code display device, method for operating bar code display device, and program
JP2015179492A (en) * 2014-02-26 2015-10-08 株式会社Mrsホールディングズ Bar code display device, bar code display device operation method, and program

Also Published As

Publication number Publication date
WO2015145779A1 (en) 2015-10-01
JPWO2015145779A1 (en) 2017-04-13

Similar Documents

Publication Publication Date Title
TWI644261B (en) Data transmission using optical codes
US9087277B2 (en) Apparatus and method for dynamic multi-dimensional codes with time and visual recognition information
EP3457327B1 (en) Method and apparatus for generating two-dimensional code picture having dynamic effect
JP4874436B2 (en) Two-dimensional code with logo, two-dimensional code generation device with logo, two-dimensional code generation method with logo, and program
US8925796B2 (en) Article with visual code, visual code generating apparatus and information conveying method
JP6746007B2 (en) Image generating method and image generating apparatus
KR102235215B1 (en) Augmenting barcodes with secondary encoding for anti-counterfeiting
KR20230003045A (en) Document optical character recognition
KR20100015447A (en) Detection and segmentation of a two-dimensional code
JP2020021511A (en) Method for processing multiple decodable indicia
JP5536951B1 (en) Article with display code, display code reader and information transmission method
US20160132760A1 (en) Dynamic recognizable two-dimensional code for interaction between electronic devices
WO2015098241A1 (en) Code reading device and code reading program
CN109376110B (en) Electronic device, two-dimensional code display method, and recording medium
JP5636523B1 (en) Image processing apparatus, image processing method, and program
Bunma et al. Using augment reality to increase capacity in QR code
JP2015191652A (en) Image processor, image processing method, and program
KR20190093183A (en) Qr code, and terminal using the same
CN112733214B (en) Information display method and device
CN111670429B (en) Object ID centric workflow
JP5810561B2 (en) Individual identification device, individual identification method, and program
US9979977B2 (en) Methods and devices of generating and decoding image streams with respective verification data
JP5618435B1 (en) Article with display code, display code generation device, and information transmission method
US20240089566A1 (en) System and method for triggering countdown on digital user interface
JP6914369B2 (en) Vector format small image generation

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140818

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140818

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20140818

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20140917

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141020

R150 Certificate of patent or registration of utility model

Ref document number: 5636523

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

LAPS Cancellation because of no payment of annual fees