JP2013041496A - Color two-dimensional barcode generation apparatus, color two-dimensional barcode reading device, method for generating color two-dimensional barcode, method for reading color two-dimensional barcode, and computer program - Google Patents
Color two-dimensional barcode generation apparatus, color two-dimensional barcode reading device, method for generating color two-dimensional barcode, method for reading color two-dimensional barcode, and computer program Download PDFInfo
- Publication number
- JP2013041496A JP2013041496A JP2011178874A JP2011178874A JP2013041496A JP 2013041496 A JP2013041496 A JP 2013041496A JP 2011178874 A JP2011178874 A JP 2011178874A JP 2011178874 A JP2011178874 A JP 2011178874A JP 2013041496 A JP2013041496 A JP 2013041496A
- Authority
- JP
- Japan
- Prior art keywords
- color
- dimensional barcode
- cell
- dimensional
- cells
- 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.)
- Withdrawn
Links
Images
Abstract
Description
本発明は、カラー二次元バーコードの技術に関する。 The present invention relates to a color two-dimensional barcode technology.
従来、色の相違する2つの二次元バーコードを重ね合せて1つのカラー二次元バーコードに合成する技術が提案されている。この技術によると、2つの二次元バーコードそれぞれが表わす文字列を1つのカラー二次元バーコードに纏めて表わすことができる。読取装置は、このカラー二次元バーコードを読み取ると、各セルの色に基づいて元の2つの二次元バーコードを判別し、それぞれが表わす文字列を解析する(特許文献1)。 2. Description of the Related Art Conventionally, a technique has been proposed in which two two-dimensional barcodes having different colors are combined to form a single color two-dimensional barcode. According to this technique, character strings represented by two two-dimensional barcodes can be collectively represented as one color two-dimensional barcode. When the reading device reads the color two-dimensional barcode, the reader determines the original two-dimensional barcode based on the color of each cell, and analyzes the character string represented by the two-dimensional barcode (Patent Document 1).
また、モノクロ(単色)の二次元バーコードは、1つのセルにつき1ビットしか表わすことができない。しかし、カラー(複数色)の二次元バーコードは、1つのセルにつき複数ビットを表わすことができる。そこで、二次元バーコードをカラー化することによってモノクロの二次元バーコードよりも多くのデータを表わす方法が、提案されている(特許文献2)。 Further, a monochrome (single color) two-dimensional barcode can represent only one bit per cell. However, a color (multiple color) two-dimensional barcode can represent multiple bits per cell. In view of this, a method has been proposed in which two-dimensional barcodes are colorized to represent more data than monochrome two-dimensional barcodes (Patent Document 2).
そのほか、二次元バーコードのセルの形状を従来とは異なる形状にすることが提案されている(特許文献3)。また、カラーの一次元バーコードについても、提案されている(特許文献4)。 In addition, it has been proposed that the shape of the two-dimensional barcode cell is different from the conventional one (Patent Document 3). A color one-dimensional barcode has also been proposed (Patent Document 4).
ところで、カラー二次元バーコードの印刷物をコピーし、その複写物をコピーし、…ということを繰り返すと、つまり、ジェネレーションコピーを繰り返すと、セルの色や階調の再現性が低下する。例えば、マゼンタの二次元バーコードおよびシアンの二次元バーコードを重ね合わせて生成したカラー二次元バーコードのジェネレーションコピーを繰り返すと、シアンが、両色の重なった部分のブルーに近づき、区別が付かなくなる。 By the way, if the printed matter of the color two-dimensional barcode is copied, the copied material is copied, and so on, that is, if the generation copy is repeated, the reproducibility of the cell color and gradation is lowered. For example, if you repeat the generation copy of a color two-dimensional barcode generated by superimposing a magenta two-dimensional barcode and a cyan two-dimensional barcode, cyan will approach the blue of the overlapping part of both colors, and will be distinguished? Disappear.
すると、カラー二次元バーコードから色の相違する複数の二次元バーコードを検出することができなくなる。 Then, it becomes impossible to detect a plurality of two-dimensional barcodes having different colors from the color two-dimensional barcode.
本願発明は、このような問題点に鑑み、ジェネレーションコピーを繰り返した場合であってもカラー二次元バーコードから複数の二次元バーコードを従来よりも確実に検出できるようにすることを、目的とする。 In view of such a problem, the present invention has an object to make it possible to more reliably detect a plurality of two-dimensional barcodes from a color two-dimensional barcode even when generation copy is repeated. To do.
本発明の一形態に係るカラー二次元バーコード生成装置は、複数の二次元バーコードとして、有色のセルの色が互いに異なる複数の二次元バーコードを取得する、二次元バーコード取得手段と、前記複数の二次元バーコード同士を、同じ位置のセル同士を一定の距離だけずらして重ね合せることによって、カラー二次元バーコードを生成する、カラー二次元バーコード生成手段と、前記カラー二次元バーコードを出力するカラー二次元バーコード出力手段と、を有する。 A color two-dimensional barcode generation apparatus according to an aspect of the present invention, a plurality of two-dimensional barcodes, a plurality of two-dimensional barcode acquisition means for acquiring a plurality of two-dimensional barcodes having different colors of colored cells; A color two-dimensional barcode generating means for generating a color two-dimensional barcode by superimposing the plurality of two-dimensional barcodes by shifting cells at the same position by a certain distance, and the color two-dimensional barcode Color two-dimensional bar code output means for outputting a code.
好ましくは、前記カラー二次元バーコード生成手段は、位置検出パターンまたはアライメントパターンを構成するセルについてはずらすことなく前記複数の二次元バーコード同士を重ね合せることによって、前記カラー二次元バーコードを生成する。さらに、好ましくは、前記カラー二次元バーコード生成手段は、前記位置検出パターンまたはアライメントパターンを構成するセルの色として黒を用いて前記カラー二次元バーコードを生成する。 Preferably, the color two-dimensional barcode generation unit generates the color two-dimensional barcode by overlapping the plurality of two-dimensional barcodes without shifting the cells constituting the position detection pattern or the alignment pattern. To do. Further preferably, the color two-dimensional barcode generation means generates the color two-dimensional barcode using black as the color of the cells constituting the position detection pattern or alignment pattern.
本発明の一形態に係るカラー二次元バーコード読取装置は、有色のセルの色が互いに異なる複数の二次元バーコード同士を同じ位置のセル同士を一定の距離だけずらして重ね合せることによって生成されたカラー二次元バーコードを取得するカラー二次元バーコード取得手段と、前記カラー二次元バーコードの中の、前記一定の距離だけずれて重なり合う複数のセルの区域ごとに、当該区域にある有色の画素からなる有色画素群の形状を検出する、形状検出手段と、前記区域から検出された前記形状が1つのセルの形状と同じである場合は、当該区域の前記有色画素群の色を検出し、当該有色画素群の色が当該検出した色であると判別し、当該形状が複数のセルをずらして重ね合せた形状と同じである場合は、当該区域の前記有色画素群の中の1つのセルに相当する部分であるセル部分ごとに真上、真下、真左、または真右に位置する他のセルの色を検出し、当該セル部分のうち他のセル部分と重なり合わない部分の色が当該検出した色であると判別し、他のセル部分と重なり合う部分の色が当該セル部分および当該他のセル部分それぞれについてそれぞれ検出した色の合成色であると判別する、色判別手段と、前記色判別手段によって判別された、前記カラー二次元バーコードの各画素の色に基づいて、前記複数の二次元バーコードのそれぞれを特定する、二次元バーコード特定手段と、を有する。 A color two-dimensional barcode reader according to an aspect of the present invention is generated by superimposing a plurality of two-dimensional barcodes having different colors of colored cells by shifting cells at the same position by a certain distance. A color two-dimensional barcode acquisition means for acquiring a color two-dimensional barcode; and a plurality of cells in the color two-dimensional barcode that are shifted by a certain distance and overlap each other. A shape detecting means for detecting a shape of a colored pixel group composed of pixels; and when the shape detected from the area is the same as a shape of one cell, the color of the colored pixel group in the area is detected. If it is determined that the color of the colored pixel group is the detected color and the shape is the same as the shape obtained by shifting and overlapping a plurality of cells, For each cell portion that is a portion corresponding to one cell, the color of another cell located right above, right under, right left, or right is detected, and the portion of the cell portion that does not overlap with another cell portion Color discriminating means for discriminating that the color of the cell is the detected color and that the color of the portion overlapping with the other cell portion is a composite color of the detected color for each of the cell portion and the other cell portion And two-dimensional barcode specifying means for specifying each of the plurality of two-dimensional barcodes based on the color of each pixel of the color two-dimensional barcode determined by the color determination means.
本発明によると、ジェネレーションコピーを繰り返した場合であってもカラー二次元バーコードから複数の二次元バーコードを従来よりも確実に検出することができる。 According to the present invention, even when generation copy is repeated, a plurality of two-dimensional barcodes can be detected from a color two-dimensional barcode more reliably than before.
図1は、画像形成装置1を含むネットワークシステムの全体的な構成の例を示す図である。図2は、画像形成装置1のハードウェア構成の例を示す図である。図3は、画像形成装置1のスキャンユニット10eおよび印刷ユニット10fなどの構成の例を示す図である。
FIG. 1 is a diagram illustrating an example of the overall configuration of a network system including an
図1において、画像形成装置1は、一般にMFP(Multi Function Peripherals)または複合機などと呼ばれる装置であって、コピー、PCプリント(ネットワークプリンティング)、ファックス、スキャナー、およびドキュメントサーバーなどの機能を集約した装置である。
In FIG. 1, an
画像形成装置1は、通信回線NWを介して端末装置2などの装置と通信を行うことができる。
The
画像形成装置1は、図2および図3に示すように、CPU(Central Processing Unit)10a、RAM(Random Access Memory)10b、ROM(Read Only Memory)10c、大容量記憶装置10d、スキャンユニット10e、印刷ユニット10f、ネットワークインタフェース10g、操作パネル10h、ファクシミリユニット10i、画像処理回路10j、および自動原稿送り装置10kのほか、制御用の回路などによって構成される。
2 and 3, the
CPU10aは、画像形成装置1の全体的な制御などを行う制御部である。ROM10cまたは大容量記憶装置10dには、上述の各機能を実現するためのオペレーティングシステムおよびミドルウェアなどのソフトウェアがインストールされている。ソフトウェアを構成するソフトウェアモジュールは、必要に応じてRAM10bにロードされ、CPU10aによって実行される。例えば、ROM10cまたは大容量記憶装置10dには、スキャンユニット10eによって得られた画像データにシェーディング補正などの各種のデータ処理を施すソフトウェアや、用紙の供給と同期して主走査ラインごとに画像データを読み出してレーザダイオードを駆動するソフトウェアなどがインストールされている。大容量記憶装置10dとして、HDD(Hard Disk Drive)またはSSD(Solid State Drive)などが用いられる。
The
ネットワークインタフェース10gは、通信回線NWを介して端末装置2などの装置を相手にTCP/IP(Transmission Control Protocol/Internet Protocol)などのプロトコルで通信を行う。ネットワークインタフェース10gとして、例えばNIC(Network Interface Card)が用いられる。
The
操作パネル10hは、キー入力部10h1、タッチパネルディスプレイ10h2、および副電源スイッチ10h3などによって構成される。
The
キー入力部10h1は、いわゆるハードウェアキーであって、テンキー、スタートキー、ストップキー、およびファンクションキーなどによって構成される。 The key input unit 10h1 is a so-called hardware key, and includes a numeric keypad, a start key, a stop key, a function key, and the like.
タッチパネルディスプレイ10hは、ユーザーに対してメッセージまたは指示を与えるための画面、ユーザーが処理の指令および条件を入力するための画面、およびCPU10aの処理の結果を示す画面などを表示する。また、ユーザーが指で触れた位置を検知し、検知結果を示す信号をCPU10aに送信する。
The
タッチパネルディスプレイ10h2には、ユーザーに対してメッセージまたは指示を与えるための画面、ユーザーが所望する処理の種類および処理条件を入力するための画面、およびCPU10aなどで実行された処理の結果を示す画面などが表示される。ユーザーは、これらの画面を見ながらキー入力部10h1またはタッチパネルディスプレイ10h2を操作することによって、画像形成装置1に対して情報および指令を入力することができる。
The touch panel display 10h2 includes a screen for giving a message or an instruction to the user, a screen for inputting a processing type and processing conditions desired by the user, a screen showing a result of processing executed by the
副電源スイッチ10h3は、スリープモードなどの省電力モードへ移行するように画像形成装置1に対してユーザーが指示するためのスイッチである。
The sub power switch 10h3 is a switch for the user to instruct the
画像処理回路10jは、2つの二次元バーコードを1つのカラー二次元バーコードに纏める処理と、このカラー二次元バーコードから2つの二次元バーコードを抽出する処理とを、行う。これらの処理の詳細については、後に順次、説明する。画像処理回路10jは、ASIC(Application Specific Integrated Circuit)またはFPGA(Field Programmable Gate Array)などによって構成することができる。
The
自動原稿送り装置10kは、ADF(Auto Document Feeder)であって、原稿給紙トレイにセットされた原稿を1枚ずつスキャンユニット10eのプラテンガラス上の所定の位置へ搬送し、スキャンユニット10eによる原稿の読取り後に原稿排紙トレイへ原稿を排出する。
The
また、自動原稿送り装置10kは、原稿セットセンサー10k1を備えている。原稿セットセンサー10k1は、原稿がセットされたことを公知のタクトスイッチによって検知し、CPU10aへ通知する。
The
スキャンユニット10eは、プラテンガラスの上にセットされた原稿(用紙)に記されている写真、文字、絵、図表などからなる画像を読み取って画像データを生成する。特に、本実施形態では、上述のカラー二次元バーコードを読み取るために用いられる。
The
また、スキャンユニット10eは、装置持ち上げセンサー10e1を備えている。装置持ち上げセンサー10e1は、自動原稿送り装置10kが持ち上げられたことを公知の磁気センサーによって検知し、CPU10aへ通知する。
Further, the
ファクシミリユニット10iは、公衆電話回線を介してファックス端末との間でG3などのプロトコルで画像データをやり取りするための装置である。 The facsimile unit 10i is a device for exchanging image data with a fax terminal using a protocol such as G3 via a public telephone line.
印刷ユニット10fは、スキャンユニット10eによって読み取られた画像のほか、端末装置2またはファックス端末などから受信した画像データに示される画像を用紙に印刷する。また、画像処理回路10jによって生成されたカラー二次元バーコードを用紙に印刷する。
In addition to the image read by the
印刷ユニット10fは、画像形成部11、自動両面ユニット12、給紙部13、および給紙キャビネット14などによって構成される。
The
画像形成部11は、タンデム方式および電子写真方式のカラーの印刷エンジンであって、感光体ドラム31a、31b、31c、および31d、露光走査ユニット32a、32b、32c、および32d、転写ベルト33、および前扉センサー34などによって構成される。
The
感光体ドラム31a、31b、31c、および31dは、それぞれ、イエロー、マゼンタ、シアン、および黒に対応する感光体ドラムである。同様に、露光走査ユニット32a、32b、32c、および32dは、それぞれ、イエロー、マゼンタ、シアン、および黒に対応する露光走査ユニットである。
The
露光走査ユニット32a、32b、32c、および32dは、それぞれ、CPU10aからの信号に基づいて印刷対象の画像に応じて露光することによって、感光体31a、31b、31c、および31dに静電潜像を作像する。そして、各色のトナーが付着する。
The
転写ベルト33には、感光体31a、31b、31c、31dのそれぞれに形成された各色のトナー像が重ねられる。これにより、フルカラーのトナー像が転写ベルト33に形成される。
On the
前扉センサー34は、公知のタクトスイッチによって、前扉カバーが開放されたことを検知し、CPU10aへ通知する。
The
給紙部13は、画像形成装置1に標準に装備されている、画像形成部11へ用紙を供給するためのユニットである。給紙部13は、1つまたは複数の給紙カセット13aおよびピックアップローラー13bなどによって構成される。給紙カセット13aには、用紙が収納される。ピックアップローラー13bは、給紙カセット13aから用紙を1枚ずつピックアップして画像形成部11へ搬出する。
The
給紙キャビネット14は、給紙部13と同様に画像形成部11へ用紙を供給するユニットであるが、画像形成装置1にオプションとして装備される。給紙キャビネット14の給紙カセット14aからピックアップローラー14bによって送り出された用紙は給紙部13を経由して画像形成部11へ供給される。
The
そして、転写ベルト33に形成されたトナー像が、給紙部13または給紙キャビネット14から搬出されてきた用紙に転写される。
Then, the toner image formed on the
自動両面ユニット12は、片面に画像が印刷された用紙の裏表を反転させて、通紙経路上で一旦スイッチバックさせ、再度、画像形成部11へ給紙する。これにより、両面印刷が可能になる。
The
図1に戻って、端末装置2は、画像形成装置1による印刷などのサービスを受けるためのクライアントである。端末装置2には、画像形成装置1を制御するためのドライバーなどがインストールされている。端末装置2として、パーソナルコンピューター、スマートフォン、またはPDA(Personal Digital Assistant)などが用いられる。
Returning to FIG. 1, the
図4は、画像処理回路10jの構成の例を示す図である。図5は、カラー二次元バーコード提供部5の構成の例を示す図である。図6は、2つのセルの重ね合せの例を示す図である。図7は、カラー二次元バーコード43の生成の例を示す図である。図8は、カラー二次元バーコード解析部6の構成の例を示す図である。図9は、第一の二次元バーコード41および第二の二次元バーコード42の検出の例を示す図である。図10は、有色のセルの変色の例を示す図である。図11は、ジェネレーションコピーを繰り返したカラー二次元バーコード43の例を示す図である。図12は、調査対象区域BR、第一の部分BRa、第二の部分BRb、および第三の部分BRcの配置の例を示す図である。図13は、調査対象区域BRの第一の形態ないし第三の形態の例を示す図である。図14は、有色のセルの検索の例を示す図である。
FIG. 4 is a diagram illustrating an example of the configuration of the
次に、画像処理回路10jによる二次元バーコードの処理を、図4などを参照しながら説明する。
Next, the processing of the two-dimensional barcode by the
画像処理回路10jは、図4に示すように、カラー二次元バーコード提供部5およびカラー二次元バーコード解析部6によって構成される。
The
カラー二次元バーコード提供部5は、図5に示すように、二次元バーコード生成部501、色変換部502、セル重なり比率決定部503、カラー二次元バーコード生成部504、およびカラー二次元バーコード印刷部505などによって構成される。これらの構成により、2つの二次元バーコードを1つのカラー二次元バーコードに纏めてユーザーへ提供する。
As shown in FIG. 5, the color two-dimensional
二次元バーコード生成部501は、相違する2つの二次元バーコードを次のように生成する。
The two-dimensional
二次元バーコード生成部501は、相違する2つの文字列CL1、CL2を入力するように、メッセージをタッチパネルディスプレイ10h2に表示するなどして、ユーザーに対して要求する。ユーザーは、カラー二次元バーコードによって表わしたい相違する2つの文字列CL1、CL2を、操作パネル10hを操作するなどして入力する。
The two-dimensional
すると、二次元バーコード生成部501は、入力された文字列CL1、CL2をそれぞれモノクロ(単色)の二次元バーコードに変換する。これにより、2つのモノクロの二次元バーコードが生成される。以下、生成された2つの二次元バーコードをそれぞれ「第一の二次元バーコード41」および「第二の二次元バーコード42」と区別して記載することがある。
Then, the two-dimensional
以下、第一の二次元バーコード41および第二の二次元バーコード42としてQR(Quick Response)コードが用いられる場合を例に、説明する。QRコードは、登録商標である。
Hereinafter, a case where QR (Quick Response) codes are used as the first two-
第一の二次元バーコード41および第二の二次元バーコード42それぞれの有色のセルは、黒色のセルである。第一の二次元バーコード41および第二の二次元バーコード42それぞれの無色のセルは、白色のセルである。
The colored cells of each of the first two-
また、第一の二次元バーコード41および第二の二次元バーコード42は、同数のセルからなる。以下、第一の二次元バーコード41および第二の二次元バーコード42ともにM×N個のセルからなる場合を例に、説明する。第一の二次元バーコード41のセルのサイズも第二の二次元バーコード42のセルのサイズも、同じである。
The first two-
なお、一般的に、セルの形状は正方形である。セルの個数は二次元バーコードで表現するデータのサイズおよび冗長性によって決まる。 In general, the shape of the cell is a square. The number of cells is determined by the size and redundancy of data represented by a two-dimensional barcode.
色変換部502は、第一の二次元バーコード41および第二の二次元バーコード42それぞれの黒色のセルの色を、相違する色に変換する。以下、第一の二次元バーコード41のセルの色をマゼンタに変換し、第二の二次元バーコード42のセルの色をシアンに変換した場合を例に、説明する。なお。どの色に変換するのかは、予め決めておいてもよいし、ユーザーに指定させるようにしてもよい。ただし、互いに区別がはっきりする色に変換するのが望ましい。
The
ところで、「背景技術」の欄で説明した通り、従来は、セルの色が相違する2つの二次元バーコードを、同じ位置のセル同士がぴったり合うように重ね合わせることによって、カラー二次元バーコードを生成した。しかし、本実施形態では、次に説明する通り、セルを少しずらして重ね合わせる。 By the way, as described in the “Background Art” section, conventionally, two-dimensional barcodes having different cell colors are overlapped so that cells at the same position are closely aligned with each other. Was generated. However, in this embodiment, as described below, the cells are overlapped with a slight shift.
セル重なり比率決定部503は、セル重なり比率Rkを決定する。第一の二次元バーコード41と第二の二次元バーコード42とを重ね合わせる際の、同じ位置にあるセル同士のずれの比率である。例えば、図6に示すように、1つのセルの1辺の長さが長さLdであり、第一の二次元バーコード41のセルと第二の二次元バーコード42のセルとを距離Lbだけずらす(シフトさせる)のであれば、セル重なり比率Rkは、Lb/Ld、である。
The cell overlap
ただし、距離Lbは、長さLd未満であり、かつ、スキャンユニット10eによる読取り可能な最小のドットの長さLs以上である。つまり、セル重なり比率Rkの最小値は、スキャンユニット10eの読取解像度によって決まる。例えば、600dpiのプリンタで印刷された4×4画素/1セルの二次元バーコードを、600dpiのスキャナーで読み込む場合は、1つのセルの1辺の長さの4分の1が、長さLsである。そして、最小のセル重なり比率Rkは、「1/4」である。
However, the distance Lb is less than the length Ld and is not less than the minimum dot length Ls that can be read by the
なお、図6において、スラッシュとほぼ同じ向きのハッチ(つまり、右上から左下方向の斜線のハッチ)のセルは、第一の二次元バーコード41の有色のセルを示している。バックスラッシュとほぼ同じ向きのハッチ(つまり、左上から右下方向の斜線のハッチ)のセルは、第二の二次元バーコード42の有色のセルを示している。網線のハッチのセルは、第一の二次元バーコード41の有色のセルと第二の二次元バーコード42の有色のセルとが重なっている箇所を示している。図6、図7、図9、図10、図11、図13、図15、および図16においても、同様である。
In FIG. 6, the hatched cells in almost the same direction as the slash (that is, hatched hatches from the upper right to the lower left) indicate the colored cells of the first two-
セル重なり比率決定部503は、距離Lbが長さLs以上かつ長さLd未満になるようなセル重なり比率Rkを決定する。通常、長さLdの2分の1の長さは、スキャンユニット10eによって十分に読み取ることができる。そこで、セル重なり比率決定部503は、セル重なり比率Rkとして例えば「0.5」に決定する。または、ユーザーが指定した比率をセル重なり比率Rkに決定してもよい。以下、セル重なり比率Rkとして「0.5」が用いられる場合を例に説明する。
The cell overlap
カラー二次元バーコード生成部504は、第一の二次元バーコード41と第二の二次元バーコード42とを重ね合わせることによって、カラー二次元バーコード43を生成する。ただし、同じ位置にあるセル同士をぴったり合わせるのではなく、図6で説明した通り、少しずらして重ね合せる。
The color two-dimensional
本実施形態では、カラー二次元バーコード生成部504は、図7に示すように、第二の二次元バーコード42を長さLfだけ下および右へそれぞれシフトさせて重ね合わせる。長さLfは、セルの一辺の長さ(長さLd)とセル重なり比率Rkとの積である。
In the present embodiment, the color two-dimensional
カラー二次元バーコード印刷部505は、カラー二次元バーコード43が用紙に印刷されるように、印刷ユニット10fを制御する。これにより、カラー二次元バーコード43の印刷物が得られる。
The color two-dimensional
一方、図4のカラー二次元バーコード解析部6は、図8に示すように、カラー二次元バーコード取得部601、色分離処理部602、モノクロ二次元バーコード復元部603、テキスト化処理部604、テキスト出力処理部605、および色補正部606などによって構成される。
On the other hand, as shown in FIG. 8, the color two-dimensional
カラー二次元バーコード取得部601は、印刷物に印刷されているカラー二次元バーコード43を次のように取得する。ユーザーは、印刷物を自動原稿送り装置10kの原稿給紙トレイにセットする。そして、スタートボタンを押すなどしてスキャンの指令を画像形成装置1に対して与える。
The color two-dimensional
すると、カラー二次元バーコード取得部601は、印刷物がスキャンユニット10eのプラテンガラスへ送られるように自動原稿送り装置10kを制御し、印刷物の原稿面がスキャンされるようにスキャンユニット10eを制御する。これにより、カラー二次元バーコード43が画像形成装置1に入力される。
Then, the color two-dimensional
色分離処理部602は、カラー二次元バーコード取得部601によってカラー二次元バーコード43が得られると、カラー二次元バーコード43を色ごとの画像に分離する。
When the color two-
上述の通り、カラー二次元バーコード43は、第一の二次元バーコード41および第二の二次元バーコード42を重ね合わせたものである。よって、マゼンタ、シアン、および両色の合成色であるブルーの3色が、カラー二次元バーコード43に含まれている。したがって、色分離処理部602によると、マゼンタのセルからなるマゼンタ画像4M、シアンのセルからなるシアン画像4C、およびブルーのセルからなるブルー画像4Bが得られる。
As described above, the color two-
モノクロ二次元バーコード復元部603は、色分離処理部602によって得られた各色の画像を用いて、図9のように、第一の二次元バーコード41および第二の二次元バーコード42を次のように復元する。マゼンタ画像4Mとブルー画像4Bとを重ね合わせ、色を1色に、例えば、マゼンタに統一することによって、第一の二次元バーコード41を復元する。同様に、シアン画像4Cとブルー画像4Bとを重ね合わせ、色を1色に、例えば、シアンに統一することによって、第二の二次元バーコード42を復元する。マゼンタまたはシアンの代わりに黒に統一してもよい。
The monochrome two-dimensional
テキスト化処理部604は、モノクロ二次元バーコード復元部603によって復元された第一の二次元バーコード41および第二の二次元バーコード42それぞれを解析することによって、第一の二次元バーコード41および第二の二次元バーコード42それぞれに示される文字列CL1、CL2を判別する。
The text
テキスト出力処理部605は、テキスト化処理部604によって判別された2つの文字列つまり文字列CL1、CL2を、タッチパネルディスプレイ10h2に表示させるなどして、出力する。
The text
ところで、一般的に印刷物をコピーし、さらにその複写物をコピーするなど、コピーを繰り返すと、つまり、ジェネレーションコピーを繰り返すと、画像の中の色が相違する隣り合う画素の階調差が小さくなっていく。 By the way, in general, if copying is repeated such as copying a printed material and then copying the copied material, that is, if generation copying is repeated, the gradation difference between adjacent pixels with different colors in the image is reduced. To go.
カラー二次元バーコード43の場合は、第一の二次元バーコード41の有色のセルと第二の二次元バーコード42の有色のセルとが重なった部分が変色しやすい。特に、図10に示すように、シアンの画素がブルーに変色しやすい。よって、カラー二次元バーコード43は、ジェネレーションコピーを繰り返すと、図11のように、一部の画素の色が変色してしまう。
In the case of the color two-
すると、色分離処理部602による分離の処理およびテキスト化処理部604によるテキスト化の処理が上手く行かないことがある。
Then, the separation processing by the color
そこで、色補正部606は、色分離処理部602による分離の処理またはテキスト化処理部604によるテキスト化の処理が上手く行かない場合に、カラー二次元バーコード43を、文字列の解析が可能になるように補正する。
Therefore, the
色分離不能時解析処理部606は、形態検出部661、色判別部662、およびセル色置換部663などによって構成される。
The color separation impossible
形態検出部661は、カラー二次元バーコード43を、左上の頂点を基点に、上下の長さおよび左右の長さがともに長さLdの区域に区切る。さらに、それぞれの区域を、右下から右方向、右下方向、および下方向に(Ld×Rk)四方ずつ拡張する。本例では、セル重なり比率Rkは「0.5」なので、図12(A)に示すように、(Ld/2)四方ずつ拡張する。以下、拡張後の区域を「調査対象区域BR」と記載する。
The
調査対象区域BRは、図12(B)に示すように、第一の部分BRa、第二の部分BRb、および第三の部分BRcからなる。第二の部分BRbは、注目区域のうちの拡張した部分である。第三の部分BRcは、注目区域の拡張前の区域と第三の部分BRcを含む最小の矩形の領域との重複部分である。第一の部分BRaは、注目区域のうちの第二の部分BRbおよび第三の部分BRcの両方を除いた部分である。 As shown in FIG. 12B, the survey target area BR includes a first portion BRa, a second portion BRb, and a third portion BRc. The second part BRb is an expanded part of the attention area. The third part BRc is an overlapping part of the area before expansion of the area of interest and the smallest rectangular area including the third part BRc. The first portion BRa is a portion excluding both the second portion BRb and the third portion BRc in the attention area.
そして、形態検出部661は、各調査対象区域BRから、図13に示す、有色のセルを含む3つの形態のうちの1つを検出する。
And the
1つ目の形態は、第一の二次元バーコード41の有色の1つのセルのみが配置された形態である。つまり、調査対象区域BRの左上に有色のセルが配置された形態である。以下、この形態を「第一の形態」と記載する。
The first form is a form in which only one colored cell of the first two-
2つ目の形態は、第二の二次元バーコード42の有色の1つのセルのみが配置された形態である。つまり、調査対象区域BRの右下に有色のセルが配置された形態である。以下、この形態を「第二の形態」と記載する。
The second form is a form in which only one colored cell of the second two-
3つ目は、第一の二次元バーコード41の有色の1つのセルと第二の二次元バーコード42の有色の1つのセルとが重なった形態である。つまり、調査対象区域BRの形状がそのまま色付きで表れた形態である。以下、この形態を「第三の形態」と記載する。
The third is a form in which one colored cell of the first two-
色判別部662は、各調査対象区域BRの中の各画素の色を判別する。第一の形態および第二の形態のうちのいずれかであれば、色が変化しにくい。よって、色判別部662は、第一の形態および第二の形態のうちのいずれかを示す調査対象区域BRからは、従来通り、各画素の色を検出し、検出した色を各画素の色であると判別する。この処理によると、第一の形態を示す調査対象区域BRの第一の部分BRaおよび第三の部分BRcからマゼンタが検出され、第二の部分BRbから白が検出され、それぞれの部分の色に決定する。また、第二の形態を示す調査対象区域BRの第二の部分BRbおよび第三の部分BRcからシアンされ、第一の部分BRaから白が検出され、それぞれの部分の色に決定する。
The
第三の形態の調査対象区域BRからは、スキャンした印刷物がジェネレーションコピーの印刷物でなければ、マゼンタ、シアン、およびブルーの3色が検出されるはずである。しかし、ジェネレーションコピーを繰り返すと、上述の通り、これらの色をきちんと検出できないことがある。そこで、色判別部662は、この調査対象区域BRの色を次の方法で判別する。
If the scanned print is not a generation copy print, three colors of magenta, cyan, and blue should be detected from the survey area BR of the third form. However, if generation copying is repeated, as described above, these colors may not be detected properly. Therefore, the
色判別部662は、図14(A)のように、この調査対象区域BRの第一の部分BRaの真上、真下、真左、および真右のいずれかから第一の形態の他の調査対象区域BRの中の有色のセルを検索する。そして、検索されたセルの色を、この第一の部分BRaの色であると判別する。なお、複数のセルが見つかった場合は、孤立しているセルの色、つまり、無色(白色)のセルに囲まれているセルの色を第一の部分BRaの色とするのが、望ましい。
As shown in FIG. 14 (A), the
同様に、色判別部662は、図14(b)のように、この調査対象区域BRの第二の部分BRbの真上、真下、真左、および真右のいずれかから第二の形態の他の調査対象区域BRの中の有色のセルを検索する。そして、検索されたセルの色を、この第二の部分BRbの色であると判別する。さらに、第三の部分BRcの色を、第一の部分BRaおよび第二の部分BRbそれぞれから検出した色の合成色であると判別する。
Similarly, as shown in FIG. 14 (b), the
セル色置換部663は、各調査対象区域BRの各画素の色を、色判別部662によって判別された色に置き換えることによって、カラー二次元バーコード43を補正する。
The cell
色補正部606の各部による以上の処理によって、カラー二次元バーコード43が補正される。
The color two-
その後、色分離処理部602およびモノクロ二次元バーコード復元部603は、色補正部606によって補正されたカラー二次元バーコード43に対して、図9などを用いて説明した処理を施すことによって、第一の二次元バーコード41および第二の二次元バーコード42を復元する。そして、テキスト化処理部604は、第一の二次元バーコード41および第二の二次元バーコード42を解析することによって文字列CL1およびCL2を取得し、テキスト出力処理部605は、文字列CL1およびCL2を出力する。
Thereafter, the color
本実施形態によると、第一の二次元バーコード41および第二の二次元バーコード42を、セル同士が完全に重なり合わないように少しずらして、重ね合わせることによって、カラー二次元バーコード43を生成した。よって、カラー二次元バーコード43の中の一部の有色のセルの再現性が低下しても、他の有色のセルに基づいて当該一部の有色のセルの色を判別し、第一の二次元バーコード41および第二の二次元バーコード42に分離することができる。
According to the present embodiment, the first two-
上述の実施形態では、第一の二次元バーコード41の有色のセルの色としてマゼンタを用い、第二の二次元バーコード42の有色のセルの色としてシアンを用いたが、別の色を用いてもよい。例えば、イエローとシアンとを用いてもよい。
In the above embodiment, magenta is used as the color of the colored cell of the first two-
上述の実施形態では、第一の二次元バーコード41に対して第二の二次元バーコード42を右下方向へセルの2分の1個分シフトさせてカラー二次元バーコード43を生成したが、他の方向へシフトさせて生成してもよい。
In the above-described embodiment, the color two-
図15は、カラー二次元バーコード43の生成方法の変形例を示す図である。図16は、第一の二次元バーコード41および第二の二次元バーコード42の検出方法の変形例を示す図である。
FIG. 15 is a diagram illustrating a modified example of the method for generating the color two-
上述の実施形態では、第二の二次元バーコード42の全体をシフトさせてカラー二次元バーコード43を生成したが、3つの角にある位置検出パターン(いわゆる、大きい目玉)だけはシフトさせずにカラー二次元バーコード43を生成してもよい。つまり、第一の二次元バーコード41の3つの位置検出パターンと第二の二次元バーコード42の3つの位置検出パターンとを完全に一致させ、位置検出パターン以外のセルをシフトさせて、カラー二次元バーコード43を生成してもよい。この場合は、図5に示すカラー二次元バーコード提供部5の各部および図8に示すカラー二次元バーコード解析部6の各部は、次のように処理を行う。
In the above-described embodiment, the color two-
二次元バーコード生成部501およびセル重なり比率決定部503は、上述の通りの処理を行う。
The two-dimensional
色変換部502は、基本的に上述の通り、第一の二次元バーコード41の有色のセルの色と第二の二次元バーコード42の有色の色とを相違する色に変換する。つまり、例えば、前者をマゼンタに変換し、後者をシアンに変換する。ただし、位置検出パターンを構成するセルの色は、第一の二次元バーコード41および第二の二次元バーコード42ともに、黒のままにしておく。
As described above, the
カラー二次元バーコード生成部504は、第二の二次元バーコード42の中から3つの位置検出パターンを検出する。そして、3つの位置検出パターンを構成するセルは動かさず、それ以外のセルを長さLfだけ下および右へそれぞれシフトさせる。そして、図15のように、シフトさせた第二の二次元バーコード42を第一の二次元バーコード41に重ね合せることによって、カラー二次元バーコード43’を生成する。
The color two-dimensional
カラー二次元バーコード印刷部505は、生成されたカラー二次元バーコード43’が用紙に印刷されるよう印刷ユニット10fなどを制御する。
The color two-dimensional
次に、カラー二次元バーコード43’から第一の二次元バーコード41および第二の二次元バーコード42を検出する処理を、図16に示す手順で処理を行う。
Next, the process of detecting the first two-
カラー二次元バーコード取得部601が原稿からカラー二次元バーコード43’を取得すると(図16の#11)、色分離処理部602は、上述の通り、カラー二次元バーコード43’を色ごとの画像に分離する(#12)。ただし、分離の結果、マゼンタ画像4M’、シアン画像4C’、およびブルー画像4B’だけでなく、黒のセルからなる黒画像4K’が得られる。黒画像4K’は、3つの位置検出パターンを表わす画像である。したがって、色分離処理部602の処理によって3つの位置検出パターンを検出することができる。
When the color two-dimensional
モノクロ二次元バーコード復元部603は、上述の実施形態と基本的に同様の方法で、マゼンタ画像4M’、シアン画像4C’、およびブルー画像4B’を用いて第一の二次元バーコード41および第二の二次元バーコード42の位置検出パターン以外の部分を復元する(#13)。
The monochrome two-dimensional
そして、モノクロ二次元バーコード復元部603は、復元した各部分に黒画像4K’を重ねることによって第一の二次元バーコード41および第二の二次元バーコード42の全部分を復元する(#14)。また、カラー二次元バーコード43’を生成する際に第二の二次元バーコード42の位置検出パターンとそれ以外の部分との相対的な位置が変更されている。そこで、モノクロ二次元バーコード復元部603は、両者の相対的な位置を、QRコードの規格に基づいて調整する。
Then, the monochrome two-dimensional
その後、テキスト化処理部604によって第一の二次元バーコード41および第二の二次元バーコード42から文字列CL1およびCL2が得られ、テキスト出力処理部605によって文字列CL1およびCL2が出力される。色分離処理部602またはテキスト化処理部604による処理が上手く行かない場合は、色補正部606によってカラー二次元バーコード43’の色の補正が行われる。
Thereafter, the
なお、3つの位置検出パターンだけでなく、中心付近にあるアライメントパターンを構成するセル群(いわゆる、小さい目玉)もシフトさせずに、カラー二次元バーコード43’を生成してもよい。また、位置検出パターンなどをずらすか否かは、カラー二次元バーコードを生成するごとにユーザーが選択してもよいし、画像形成装置1に予め設定しておいてもよい。
Note that the color two-
上述の実施形態では、上下方向および左右方向のシフトのために共通のセル重なり比率Rkを用いたが、セル重なり比率Rkを、上下方向および左右方向のそれぞれで異なるように設定してもよい。 In the above-described embodiment, the common cell overlap ratio Rk is used for the vertical and horizontal shifts. However, the cell overlap ratio Rk may be set differently in the vertical and horizontal directions.
位置ごとに第一の二次元バーコード41の有色のセルおよび第二の二次元バーコード42の有色のセル同士が重なるか否かをチェックし、重なる割合が一定未満であれば、従来通り、第一の二次元バーコード41と第二の二次元バーコード42とをずらすことなく重ねてることによって、カラー二次元バーコード43を生成してもよい。以下、この割合を「有色セル重複割合Rc」と記載する。
For each position, it is checked whether the colored cells of the first two-
図17は、カラー二次元バーコード43を生成する処理の流れの例を示す図である。図18は、第一の二次元バーコード41および第二の二次元バーコード42を検出する処理の流れの例を説明するフローチャートである。
FIG. 17 is a diagram illustrating an example of a flow of processing for generating the color two-
上述の実施形態では、図5および図8にそれぞれ示す機能をハードウェアモジュールによって実現したが、一部または全部の機能をコンピュータープログラムをCPU10aに実行させることによって実現してもよい。この場合は、カラー二次元バーコード43を提供するプログラムとして図17に示す手順で処理を行う第一のプログラムを用意し、CPU10aに実行させればよい。また、カラー二次元バーコード43を解析するプログラムとして図18に示す手順で処理を行う第二のプログラムを用意し、CPU10aに実行させればよい。
In the above-described embodiment, the functions shown in FIG. 5 and FIG. 8 are realized by hardware modules, but some or all of the functions may be realized by causing the
ここで、第一のプログラムおよび第二のプログラムによる処理を、図17および図18を参照しながら説明する。 Here, processing by the first program and the second program will be described with reference to FIGS. 17 and 18.
画像形成装置1は、1つのカラー二次元バーコードに纏めて表わす2つの文字列CL1、CL2の入力を受け付ける(図17の#701)。そして、文字列CL1を第一の二次元バーコード41に変換し、文字列CL2を第二の二次元バーコード42に変換する(#702)。さらに、第一の二次元バーコード41および第二の二次元バーコード42それぞれの有色のセルを相違する色、例えば、マゼンタおよびシアンに変更する(#703)。そして、有色セル重複割合Rcを算出する(#704)。
The
有色セル重複割合Rcが一定の値未満であれば(#705でNo)、画像形成装置1は、従来通り、第一の二次元バーコード41と第二の二次元バーコード42とを、シフトを行うことなく重ね合わせることによって、カラー二次元バーコードを生成する(#706)。そして、生成したカラー二次元バーコードを印刷する(#713)。
If the colored cell overlap ratio Rc is less than a certain value (No in # 705), the
一方、有色セル重複割合Rcが一定の値以上であれば(#705でYes)、画像形成装置1は、第二の二次元バーコード42をずらす方向および長さなどの設定を行う(#707)。
On the other hand, if the colored cell overlap ratio Rc is equal to or greater than a certain value (Yes in # 705), the
図15で説明したように位置検出パターンをずらさずに重ね合わせる場合は(#708でNo)、画像形成装置1は、第一の二次元バーコード41および第二の二次元バーコード42それぞれの位置検出パターンの色を黒に変換する(#709)。第二の二次元バーコード42の位置検出パターン以外のセルを、ステップ#706の設定に基づいてシフトさせる(#710)。そして、第一の二次元バーコード41と第二の二次元バーコード42とを重ね合わせることによってカラー二次元バーコード43’を生成し(#712)、印刷する(#713)。
As described with reference to FIG. 15, when the position detection patterns are overlapped without being shifted (No in # 708), the
図7で説明したように位置検出パターンを含め全体をずらして重ね合わせる場合は(#708でYes)、画像形成装置1は、第二の二次元バーコード42全体をステップ#706の設定に基づいてシフトさせる(#711)。そして、第一の二次元バーコード41と第二の二次元バーコード42とを重ね合わせることによってカラー二次元バーコード43’を生成し(#712)、印刷する(#713)。
As described with reference to FIG. 7, when the entire image including the position detection pattern is shifted and overlapped (Yes in # 708), the
その後、ユーザーがカラー二次元バーコード43が印刷された印刷物を画像形成装置1にセットし所定のコマンドを入力すると、画像形成装置1は、カラー二次元バーコード43に示される文字列を解析する処理を次のように行う。
Thereafter, when the user sets a printed matter on which the color two-
画像形成装置1は、セットされた印刷物をスキャンしてカラー二次元バーコード43を読み込む(図18の#721)。さらに、カラー二次元バーコード43から位置検出パターンを検出し(#722)、調査対象区域BRごとの形態(図13参照)を検出する(#723)。
The
第三の形態が1つも検出されなかった場合は(#724でYes)、画像形成装置1は、従来の方法でカラー二次元バーコード43から第一の二次元バーコード41および第二の二次元バーコード42を復元し、それぞれに示される文字列CL1、CL2を解析し(#725)、出力する(#734)。
If no third form is detected (Yes in # 724), the
第三の形態が1つでも検出された場合は(#724でNo)、画像形成装置1は、2つの二次元バーコードがシフトされて重ね合わされることによってカラー二次元バーコード43が生成されたと判定する(#726)。そして、次のように処理を行う。
If even one of the third forms is detected (No in # 724), the
画像形成装置1は、カラー二次元バーコード43を色ごとの画像に分離する(#727)。分離に成功した場合は(#728でYes)、各色の画像に基づいて第一の二次元バーコード41および第二の二次元バーコード42を復元する(#730)。分離が上手く行かなかった場合は(#728でNo)、図14で説明した方法でカラー二次元バーコード43の色の補正を行う(#729)。そして、補正後のカラー二次元バーコード43を色ごとの画像に分離し(#727)、各色の画像に基づいて第一の二次元バーコード41および第二の二次元バーコード42を復元する(#730)。
The
画像形成装置1は、第一の二次元バーコード41および第二の二次元バーコード42それぞれを解析して文字列CL1、CL2を特定し(#732)、出力する。ただし、第一の二次元バーコード41および第二の二次元バーコード42のうちの少なくとも一方に、位置検出パターンとそれ以外のセルとのずれがある場合は(#731でYes)、ずれを補正してから(#732)、文字列の解析および出力を行う(#733、#734)。
The
上述の実施形態では、2つの二次元バーコードを重ね合わせてカラー二次元バーコードを生成したが、本発明は、3つ以上の二次元バーコードを重ね合わせてカラー二次元バーコードを生成する場合にも適用することができる。N個の二次元バーコードを重ね合わせてカラー二次元バーコードを生成する場合は、比率Rkとして例えば「1/N」を用いればよい。 In the above-described embodiment, a color two-dimensional barcode is generated by superimposing two two-dimensional barcodes. However, the present invention generates a color two-dimensional barcode by superimposing three or more two-dimensional barcodes. It can also be applied to cases. When a color two-dimensional barcode is generated by superimposing N two-dimensional barcodes, for example, “1 / N” may be used as the ratio Rk.
上述の実施形態では、二次元バーコードとしてQRコードを用いる場合を例に説明したが、本発明は、他の規格の二次元バーコードを用いる場合にも適用することができる。 In the above-described embodiment, the case where a QR code is used as a two-dimensional bar code has been described as an example. However, the present invention can also be applied to a case where a two-dimensional bar code of another standard is used.
その他、画像形成装置1の全体または各部の構成、処理内容、処理順序、二次元バーコードの構成などは、本発明の趣旨に沿って適宜変更することができる。
In addition, the configuration of the entire
Claims (8)
前記複数の二次元バーコード同士を、同じ位置のセル同士を一定の距離だけずらして重ね合せることによって、カラー二次元バーコードを生成する、カラー二次元バーコード生成手段と、
前記カラー二次元バーコードを出力するカラー二次元バーコード出力手段と、
を有することを特徴とするカラー二次元バーコード生成装置。 Two-dimensional barcode acquisition means for acquiring a plurality of two-dimensional barcodes having different colors of colored cells as a plurality of two-dimensional barcodes;
A color two-dimensional barcode generating means for generating a color two-dimensional barcode by overlapping the plurality of two-dimensional barcodes by shifting a cell at the same position by a fixed distance; and
A color two-dimensional barcode output means for outputting the color two-dimensional barcode;
A color two-dimensional barcode generating apparatus comprising:
請求項1に記載のカラー二次元バーコード生成装置。 The color two-dimensional barcode generation means generates the color two-dimensional barcode by overlapping the plurality of two-dimensional barcodes without shifting the cells constituting the position detection pattern or the alignment pattern.
The color two-dimensional barcode generation apparatus according to claim 1.
請求項2に記載のカラー二次元バーコード生成装置。 The color two-dimensional barcode generation means generates the color two-dimensional barcode using black as the color of the cells constituting the position detection pattern or alignment pattern.
The color two-dimensional barcode generation apparatus according to claim 2.
前記カラー二次元バーコードの中の、前記一定の距離だけずれて重なり合う複数のセルの区域ごとに、当該区域にある有色の画素からなる有色画素群の形状を検出する、形状検出手段と、
前記区域から検出された前記形状が1つのセルの形状と同じである場合は、当該区域の前記有色画素群の色を検出し、当該有色画素群の色が当該検出した色であると判別し、当該形状が複数のセルをずらして重ね合せた形状と同じである場合は、当該区域の前記有色画素群の中の1つのセルに相当する部分であるセル部分ごとに真上、真下、真左、または真右に位置する他のセルの色を検出し、当該セル部分のうち他のセル部分と重なり合わない部分の色が当該検出した色であると判別し、他のセル部分と重なり合う部分の色が当該セル部分および当該他のセル部分それぞれについてそれぞれ検出した色の合成色であると判別する、色判別手段と、
前記色判別手段によって判別された、前記カラー二次元バーコードの各画素の色に基づいて、前記複数の二次元バーコードのそれぞれを特定する、二次元バーコード特定手段と、
を有することを特徴とするカラー二次元バーコード読取装置。 Color two-dimensional barcode acquisition means for acquiring a color two-dimensional barcode generated by overlapping a plurality of two-dimensional barcodes having different colors of colored cells by shifting a cell at the same position by a certain distance. When,
Shape detection means for detecting the shape of a colored pixel group consisting of colored pixels in the area for each of the plurality of cell areas that are shifted and overlapped by the predetermined distance in the color two-dimensional barcode;
When the shape detected from the area is the same as the shape of one cell, the color of the colored pixel group in the area is detected, and the color of the colored pixel group is determined to be the detected color. When the shape is the same as the shape obtained by shifting and overlapping a plurality of cells, each cell portion corresponding to one cell in the colored pixel group in the area is directly above, directly below, and true. Detects the color of another cell located on the left or right side, determines that the color of the cell part that does not overlap with the other cell part is the detected color, and overlaps with the other cell part Color discriminating means for discriminating that the color of the part is a composite color of the color detected for each of the cell part and the other cell part;
Two-dimensional barcode identification means for identifying each of the plurality of two-dimensional barcodes based on the color of each pixel of the color two-dimensional barcode determined by the color determination means;
A color two-dimensional barcode reader characterized by comprising:
前記複数の二次元バーコード同士を、同じ位置のセル同士を一定の距離だけずらして重ね合せることによって、カラー二次元バーコードを生成し、
前記カラー二次元バーコードを出力する、
ことを特徴とするカラー二次元バーコード生成方法。 As a plurality of two-dimensional barcodes, obtain a plurality of two-dimensional barcodes with different colors of colored cells,
A plurality of two-dimensional barcodes are generated by superimposing the cells at the same position while shifting them by a certain distance to generate a color two-dimensional barcode,
Outputting the color two-dimensional barcode;
A color two-dimensional barcode generation method characterized by the above.
前記カラー二次元バーコードの中の、前記一定の距離だけずれて重なり合う複数のセルの区域ごとに、当該区域にある有色の画素からなる有色画素群の形状を検出し、
前記区域から検出された前記形状が1つのセルの形状と同じである場合は、当該区域の前記有色画素群の色を検出し、当該有色画素群の色が当該検出した色であると判別し、当該形状が複数のセルをずらして重ね合せた形状と同じである場合は、当該区域の前記有色画素群の中の1つのセルに相当する部分であるセル部分ごとに真上、真下、真左、または真右に位置する他のセルの色を検出し、当該セル部分のうち他のセル部分と重なり合わない部分の色が当該検出した色であると判別し、他のセル部分と重なり合う部分の色が当該セル部分および当該他のセル部分それぞれについてそれぞれ検出した色の合成色であると判別し、
判別した、前記カラー二次元バーコードの各画素の色に基づいて、前記複数の二次元バーコードのそれぞれを特定する、
ことを特徴とするカラー二次元バーコード読取方法。 Obtain a color two-dimensional barcode generated by overlapping a plurality of two-dimensional barcodes with different colors of colored cells by shifting the cells at the same position by a fixed distance,
Detecting a shape of a colored pixel group composed of colored pixels in the area for each of the plurality of cell areas that are overlapped with a certain distance in the color two-dimensional barcode;
When the shape detected from the area is the same as the shape of one cell, the color of the colored pixel group in the area is detected, and the color of the colored pixel group is determined to be the detected color. When the shape is the same as the shape obtained by shifting and overlapping a plurality of cells, each cell portion corresponding to one cell in the colored pixel group in the area is directly above, directly below, and true. Detects the color of another cell located on the left or right side, determines that the color of the cell part that does not overlap with the other cell part is the detected color, and overlaps with the other cell part It is determined that the color of the part is a composite color of the color detected for each of the cell part and the other cell part,
Identifying each of the plurality of two-dimensional barcodes based on the determined color of each pixel of the color two-dimensional barcode,
A color two-dimensional barcode reading method characterized by the above.
前記複数の二次元バーコード同士を、同じ位置のセル同士を一定の距離だけずらして重ね合せることによって、カラー二次元バーコードを生成する処理を前記コンピューターに実行させ、
前記カラー二次元バーコードを出力する処理を前記コンピューターに実行させる、
ことを特徴とするコンピュータープログラム。 As a plurality of two-dimensional barcodes, let the computer execute a process of obtaining a plurality of two-dimensional barcodes with different colors of colored cells,
By causing the computer to execute a process of generating a color two-dimensional barcode by overlapping the plurality of two-dimensional barcodes by shifting the cells at the same position by a fixed distance,
Causing the computer to execute a process of outputting the color two-dimensional barcode;
A computer program characterized by that.
前記カラー二次元バーコードの中の、前記一定の距離だけずれて重なり合う複数のセルの区域ごとに、当該区域にある有色の画素からなる有色画素群の形状を検出する処理を前記コンピューターに実行させ、
前記区域から検出された前記形状が1つのセルの形状と同じである場合は、当該区域の前記有色画素群の色を検出し、当該有色画素群の色が当該検出した色であると判別し、当該形状が複数のセルをずらして重ね合せた形状と同じである場合は、当該区域の前記有色画素群の中の1つのセルに相当する部分であるセル部分ごとに真上、真下、真左、または真右に位置する他のセルの色を検出し、当該セル部分のうち他のセル部分と重なり合わない部分の色が当該検出した色であると判別し、他のセル部分と重なり合う部分の色が当該セル部分および当該他のセル部分それぞれについてそれぞれ検出した色の合成色であると判別する処理を、前記コンピューターに実行させ、
判別した、前記カラー二次元バーコードの各画素の色に基づいて、前記複数の二次元バーコードのそれぞれを特定する処理を前記コンピューターに実行させる、
ことを特徴とするコンピュータープログラム。 A computer executes a process for obtaining a color two-dimensional barcode generated by overlapping a plurality of two-dimensional barcodes having different colors of colored cells by shifting a plurality of two-dimensional barcodes at the same position by a certain distance,
In the color two-dimensional barcode, the computer is caused to execute processing for detecting a shape of a colored pixel group composed of colored pixels in the area for each of the plurality of cell areas that are shifted by a certain distance and overlap each other. ,
When the shape detected from the area is the same as the shape of one cell, the color of the colored pixel group in the area is detected, and the color of the colored pixel group is determined to be the detected color. When the shape is the same as the shape obtained by shifting and overlapping a plurality of cells, each cell portion corresponding to one cell in the colored pixel group in the area is directly above, directly below, and true. Detects the color of another cell located on the left or right side, determines that the color of the cell part that does not overlap with the other cell part is the detected color, and overlaps with the other cell part Causing the computer to execute a process of determining that the color of the part is a composite color of the color detected for each of the cell part and the other cell part,
Based on the determined color of each pixel of the color two-dimensional barcode, the computer is caused to execute a process of specifying each of the plurality of two-dimensional barcodes.
A computer program characterized by that.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011178874A JP2013041496A (en) | 2011-08-18 | 2011-08-18 | Color two-dimensional barcode generation apparatus, color two-dimensional barcode reading device, method for generating color two-dimensional barcode, method for reading color two-dimensional barcode, and computer program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011178874A JP2013041496A (en) | 2011-08-18 | 2011-08-18 | Color two-dimensional barcode generation apparatus, color two-dimensional barcode reading device, method for generating color two-dimensional barcode, method for reading color two-dimensional barcode, and computer program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2013041496A true JP2013041496A (en) | 2013-02-28 |
Family
ID=47889812
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011178874A Withdrawn JP2013041496A (en) | 2011-08-18 | 2011-08-18 | Color two-dimensional barcode generation apparatus, color two-dimensional barcode reading device, method for generating color two-dimensional barcode, method for reading color two-dimensional barcode, and computer program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2013041496A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103793740A (en) * | 2014-03-10 | 2014-05-14 | 上海形上投资管理有限公司 | Encoding system and method and decoding system and method of micro-colored-drawing two-dimension code |
US20160189015A1 (en) * | 2014-12-31 | 2016-06-30 | Vasco Data Security, Inc. | Data exchange methods, systems and apparatus using color images |
US20170124439A1 (en) * | 2014-05-22 | 2017-05-04 | Easy Printing Network Limited | Information bearing devices |
JP2020067929A (en) * | 2018-10-26 | 2020-04-30 | 大阪シーリング印刷株式会社 | Two-dimensional code |
US10936837B1 (en) * | 2018-05-23 | 2021-03-02 | Amazon Technologies, Inc. | 2D barcode overlays |
-
2011
- 2011-08-18 JP JP2011178874A patent/JP2013041496A/en not_active Withdrawn
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103793740A (en) * | 2014-03-10 | 2014-05-14 | 上海形上投资管理有限公司 | Encoding system and method and decoding system and method of micro-colored-drawing two-dimension code |
CN103793740B (en) * | 2014-03-10 | 2017-02-08 | 上海好想法网络科技有限公司 | Encoding system and method and decoding system and method of micro-colored-drawing two-dimension code |
US20170124439A1 (en) * | 2014-05-22 | 2017-05-04 | Easy Printing Network Limited | Information bearing devices |
US10176413B2 (en) * | 2014-05-22 | 2019-01-08 | Easy Printing Network Limited | Information bearing devices |
US20160189015A1 (en) * | 2014-12-31 | 2016-06-30 | Vasco Data Security, Inc. | Data exchange methods, systems and apparatus using color images |
US10936837B1 (en) * | 2018-05-23 | 2021-03-02 | Amazon Technologies, Inc. | 2D barcode overlays |
JP2020067929A (en) * | 2018-10-26 | 2020-04-30 | 大阪シーリング印刷株式会社 | Two-dimensional code |
JP7222593B2 (en) | 2018-10-26 | 2023-02-15 | 大阪シーリング印刷株式会社 | Two-dimensional code |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9723177B2 (en) | Image processing system, image processing apparatus, and image forming apparatus | |
US9485368B2 (en) | Electronic document generation apparatus, recording medium, and electronic document generation system | |
JP4379508B2 (en) | Image forming apparatus, gradation correction method, and gradation correction program | |
JP5834866B2 (en) | Image processing apparatus, image generation method, and computer program | |
JP2013041496A (en) | Color two-dimensional barcode generation apparatus, color two-dimensional barcode reading device, method for generating color two-dimensional barcode, method for reading color two-dimensional barcode, and computer program | |
JP5724793B2 (en) | Color two-dimensional barcode generation device, color two-dimensional barcode separation device, color two-dimensional barcode generation method, color two-dimensional barcode separation method, and computer program | |
JP5699851B2 (en) | Two-dimensional barcode providing device, two-dimensional barcode analyzing device, two-dimensional barcode providing method, two-dimensional barcode analyzing method, computer program, two-dimensional barcode, and paper | |
JP5644721B2 (en) | Image editing apparatus, image editing method, and computer program | |
JP2010137467A (en) | Image formation device, the printing support method, and printing support program | |
US20100053656A1 (en) | Image processing apparatus capable of processing color image, image processing method and storage medium storing image processing program | |
JP2004200955A (en) | Color conversion apparatus | |
JP2014042148A (en) | Image forming apparatus and method, and program | |
JP2008288912A (en) | Image processor and image forming apparatus | |
JP2021193780A (en) | Image reader, image reading method and image reading program | |
US8964243B2 (en) | Image forming apparatus capable of enhancing resolution of image data in high quality | |
US8218182B2 (en) | Image forming apparatus performing image formation suitable for adding information in handwriting or the like | |
JP4561433B2 (en) | Image reading device | |
JP6702262B2 (en) | Image forming apparatus and image forming system | |
US20200162630A1 (en) | Image reading device, image forming device, and control method | |
JP6169008B2 (en) | Image forming apparatus | |
JP2019080169A (en) | Image processing device and image processing method | |
JP2010141733A (en) | Image processor, image forming device, method of processing image, computer program and recording medium | |
JP2006295677A (en) | Image processing method, image processing apparatus, and program | |
JP6399000B2 (en) | Image processing apparatus and image creation program | |
JP2022119468A (en) | Image processing apparatus, image processing method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20130417 |
|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20141104 |