JP2007047871A - Bar code reader and bar code reading method - Google Patents
Bar code reader and bar code reading method Download PDFInfo
- Publication number
- JP2007047871A JP2007047871A JP2005228585A JP2005228585A JP2007047871A JP 2007047871 A JP2007047871 A JP 2007047871A JP 2005228585 A JP2005228585 A JP 2005228585A JP 2005228585 A JP2005228585 A JP 2005228585A JP 2007047871 A JP2007047871 A JP 2007047871A
- Authority
- JP
- Japan
- Prior art keywords
- data
- barcode
- color
- information
- color information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、バーコード読取装置及びバーコード読取方法に関する。 The present invention relates to a barcode reading apparatus and a barcode reading method.
バーコードは、情報をコード化したシンボルであり、携帯電話、物流、情報媒体等様々な分野に応用されている。こうした様々な分野での応用をさらに押し進めるため、バーコードが有する情報の容量をさらに大きくすることが要求されている。こうした要求に応えるべく、3色以上に色分けされたバーコードを応用することが近年検討されてきている(例えば、特許文献1及び2参照)。3色以上に色分けされたバーコードは、白黒のバーコードに比べより多くの情報を含むことができる。
しかしながら、3色以上に色分けされたバーコードでは、本来その情報を示す色とは異なる色で印刷等されてしまうことがある。その場合、バーコードが示すべき情報を正しく取得できないという問題が発生してしまう。 However, barcodes classified into three or more colors may be printed in a color different from the color originally indicating the information. In that case, there arises a problem that the information to be indicated by the barcode cannot be acquired correctly.
本発明は、上記問題点を解消するためになされたものであり、3色以上に色分けされたバーコードが示す情報を、表示状態によらず正確に取得することが可能なバーコード読取装置及びバーコード読取方法を提供することを目的とする。 The present invention has been made to solve the above-described problems, and a barcode reader that can accurately acquire information indicated by a barcode that is color-coded in three or more colors regardless of the display state. An object is to provide a barcode reading method.
このような目的を達成するために、本発明によるバーコード読取装置は、少なくとも3色以上に色分けされたバーコードを読み取って、当該バーコードが示す情報を取得するバーコード読取装置であって、バーコード及びその周辺部分を含む領域を読み取って、当該領域内の位置における色を特定する読取データを取得するデータ読取手段と、当該取得した読取データから、バーコードに対応するバーコードデータと基準データとを分離するデータ分離手段と、当該分離した基準データに基づいて、バーコードデータを構成する複数のデータ要素それぞれの色情報を補正する色情報補正手段と、色情報補正手段において補正されたバーコードデータを構成する複数のデータ要素それぞれの色情報に対し、バーコードデータ及び基準データを構成し得る色情報として利用可能な色情報を特定する色情報特定手段と、色情報特定手段の特定結果に基づいて、バーコードが示す情報を取得する情報取得手段と、を備えることを特徴とする。 In order to achieve such an object, a barcode reading apparatus according to the present invention is a barcode reading apparatus that reads a barcode that is color-coded into at least three colors and acquires information indicated by the barcode, Data reading means for reading an area including a barcode and its peripheral portion and acquiring read data for specifying a color at a position in the area, and barcode data corresponding to the barcode and a reference from the acquired read data Data separation means for separating data, color information correction means for correcting color information of each of a plurality of data elements constituting the barcode data based on the separated reference data, and correction by the color information correction means The barcode data and the reference data are configured for the color information of each of the plurality of data elements constituting the barcode data. A color information specifying unit that specifies color information that can be used as possible color information; and an information acquisition unit that acquires information indicated by the barcode based on a result of specifying the color information specifying unit. .
一方、本発明によるバーコード読取方法は、少なくとも3色以上に色分けされたバーコードを読み取って、当該バーコードが示す情報を取得するバーコード読取方法であって、バーコード及びその周辺部分を含む領域を読み取って、当該領域内の位置における色を特定する読取データを取得するデータ読取ステップと、当該取得した読取データから、バーコードに対応するバーコードデータと基準データとを分離するデータ分離ステップと、当該分離した基準データに基づいて、バーコードデータを構成する複数のデータ要素それぞれの色情報を補正する色情報補正ステップと、色情報補正ステップにおいて色情報が補正されたバーコードデータを構成する複数のデータ要素それぞれの色情報に対し、バーコードデータ及び基準データに含まれる色情報として利用可能な色情報を特定する色情報特定ステップと、色情報特定ステップの特定結果に基づいて、バーコードが示す情報を取得する情報取得ステップと、を備えることを特徴とする。 On the other hand, the barcode reading method according to the present invention is a barcode reading method for obtaining information indicated by the barcode by reading the barcode classified into at least three colors, and includes the barcode and its peripheral portion. A data reading step for reading a region and acquiring read data for specifying a color at a position in the region, and a data separation step for separating barcode data corresponding to a barcode and reference data from the acquired read data And a color information correction step for correcting color information of each of a plurality of data elements constituting the barcode data based on the separated reference data, and barcode data in which the color information is corrected in the color information correction step Included in barcode data and reference data for color information for each of multiple data elements A color information specifying step of specifying a color information available as the color information that, based on the identification result of the color information specifying step, characterized in that it comprises an information acquisition step of acquiring information indicating the barcode, a.
これらのバーコード読取装置及びバーコード読取方法によれば、少なくとも3色以上に色分けされたバーコードを読み取ることができ、大容量の情報を含むバーコードを読み取ることが可能となる。また、これらのバーコード読取装置及びバーコード読取方法では、バーコードデータを構成する複数のデータ要素それぞれの色情報を、読取データから分離した基準データに基づいて特定している。さらに、バーコードが示す情報の取得は、こうして色情報を特定した結果に基づいてなされる。したがって、これらのバーコード読取装置及びバーコード読取方法によれば、少なくとも3色以上に色分けされたバーコードが示す情報を、表示状態によらず正確に取得することが可能となる。 According to these bar code reading devices and bar code reading methods, it is possible to read bar codes color-coded in at least three colors or more, and to read bar codes containing a large amount of information. In these bar code reading devices and bar code reading methods, the color information of each of a plurality of data elements constituting the bar code data is specified based on reference data separated from the read data. Further, the information indicated by the barcode is acquired based on the result of specifying the color information in this way. Therefore, according to these bar code reading devices and bar code reading methods, it is possible to accurately acquire information indicated by bar codes that are color-coded at least in three colors regardless of the display state.
データ分離手段は、バーコードに対応して予め定められた位置に予め定められた順番で配置され、且つバーコードを構成し得る全ての色を分解して得られる原色成分に対応する原色成分を含む読取データを分離して、基準データを得ることが好ましい。この場合、基準データは読取データの予め定められた位置にあるため、バーコードデータとの分離は容易となる。また、基準データにはバーコードを構成し得る全ての色の原色が施されているため、原色の加色混合により基準データに基づいた色情報の特定を正確に行うことが可能となる。なお、高精度の色情報の特定を行うためには、基準データに施す色として黒色や白色などの特徴ある色も使うことができ、また基準データをバーコードの向きや傾きの検出に利用できる。 The data separation means arranges primary color components corresponding to the primary color components obtained by separating all the colors that can be included in the barcode and are arranged in a predetermined order at predetermined positions corresponding to the barcode. It is preferable to obtain the reference data by separating the read data included. In this case, since the reference data is at a predetermined position of the read data, separation from the barcode data is easy. In addition, since the reference data includes all primary colors that can form a barcode, it is possible to accurately specify color information based on the reference data by adding and mixing the primary colors. In order to specify color information with high accuracy, characteristic colors such as black and white can be used as the color applied to the reference data, and the reference data can be used to detect the orientation and inclination of the barcode. .
色情報補正手段は、例えば、バーコードデータを構成する複数のデータ要素それぞれの色情報を分解して得られる原色成分に対し、基準データに含まれる色情報を分解して得られる原色成分と予め用意された比較原色成分とを比較して得た差分に基づいて補正を行うことにより、バーコードデータを構成する複数のデータ要素それぞれの色情報を補正してもよい。 For example, the color information correction unit may be configured such that, for example, a primary color component obtained by decomposing color information included in the reference data and a primary color component obtained by decomposing color information of each of a plurality of data elements constituting the barcode data in advance. The color information of each of a plurality of data elements constituting the barcode data may be corrected by performing correction based on a difference obtained by comparing the prepared comparative primary color component.
情報取得手段は、例えば、色情報補正手段において補正されたバーコードデータのうち色情報特定手段において利用可能と特定された色情報の各原色成分の明度を表す値を2進数のビット列にそれぞれ変換し、変換されたビット列に対しては、印刷時で加えられた符号を複号することでバーコードが示す情報を取得してもよい。 The information acquisition means, for example, converts each value representing the lightness of each primary color component of the color information identified as usable by the color information identification means from the barcode data corrected by the color information correction means into a binary bit string. For the converted bit string, the information indicated by the barcode may be acquired by decoding the code added at the time of printing.
以上説明したように、本発明に係るバーコード読取装置及びバーコード読取方法によれば、3色以上に色分けされたバーコードが示す情報を、表示状態によらず正確に取得することができる。 As described above, according to the barcode reading apparatus and the barcode reading method according to the present invention, the information indicated by the barcode classified into three or more colors can be accurately acquired regardless of the display state.
本発明の知見は、例示のみのために示された添付図面を参照して以下の詳細な記述を考慮することによって容易に理解することができる。引き続いて、添付図面を参照しながら本発明の実施の形態を説明する。可能な場合には、同一の部分には同一の符号を付して、重複する説明を省略する。 The knowledge of the present invention can be easily understood by considering the following detailed description with reference to the accompanying drawings shown for illustration only. Subsequently, embodiments of the present invention will be described with reference to the accompanying drawings. Where possible, the same parts are denoted by the same reference numerals, and redundant description is omitted.
図1は、本発明に従って構成されたバーコード読取装置の一実施形態の構成を説明するための図である。図1を参照しながらバーコード読取装置1の構成について説明する。バーコード読取装置1は、物理的には、CPU、メモリ、スキャナなどの入力インターフェイス等を備えたコンピュータシステムである。バーコード読取装置1は、機能的な構成要素として、データ読取部(データ読取手段)11、データ分離部(データ分離手段)12、基準情報格納部13、基準情報比較部14、補正値格納部15、色情報補正部(色情報補正手段)16、色情報特定部17(色情報特定手段)、利用色情報格納部18、及び情報取得部(情報取得手段)19を備えている。
FIG. 1 is a diagram for explaining a configuration of an embodiment of a barcode reading apparatus configured according to the present invention. The configuration of the barcode reader 1 will be described with reference to FIG. The bar code reader 1 is physically a computer system having an input interface such as a CPU, a memory, and a scanner. The barcode reader 1 includes, as functional components, a data reading unit (data reading unit) 11, a data separation unit (data separation unit) 12, a reference
バーコード読取装置1の各要素の詳細な説明の前に、バーコード読取装置1が読み取る読取領域について説明する。図2は、本実施形態に係るバーコード読取装置1が読み取る読取領域20を模式的に表した図である。読取領域20は、基準情報部30、バーコード部40、及び余白部21を含む領域によって構成される。基準情報部30及びバーコード部40は2次元バーコードであり、基準情報部30は5つの微小部分31〜35に分割されている。この微小部分31〜35には、バーコード部40に表示する全ての色を構成する原色に加え、必要に応じて特定の色が表示される。バーコード部40は20の微小部分41〜60に分割されており、少なくとも3色以上に色分けされている。図2では、斜線の濃淡及び太さ並びに模様の相違によって各微小部分31〜60に施された色の違いを表している。また、図2では、微小部分42〜44、47〜49、52〜54の符号を見易さのため省略している。
Prior to detailed description of each element of the barcode reader 1, a reading area that the barcode reader 1 reads will be described. FIG. 2 is a diagram schematically illustrating a
余白部21は、基準情報部30及びバーコード部40を囲む閉じた形状である。余白部21には、利用可能な色情報として後述の利用色情報格納部18に格納された利用色データに含まれていない色が施される。
The
基準情報部30は、バーコード部40を構成し得るすべての色の原色を表示したものであって、バーコード部40の周辺部分に、本実施形態ではバーコード部40の一辺に沿って、これらの色を並べることによって構成されている。したがって、例えば、バーコード部40がRGB表記の各色256階調に従って色分けされる場合には、基準情報部30として第1色部分にR色、第2色部分にG色、第3色部分にB色がバーコード部40に隣接して並べて表示される。
The
再び図1に戻って、バーコード読取装置1の各構成要素について詳細に説明する。データ読取部11は、基準情報部30、バーコード部40、及び余白部21を含む領域である読取領域20を読み取って、読取データを取得する部分である。読取データでは、読取領域20内の位置における色が特定されている。データ読取部11は、読取データをデータ分離部12に出力する。データ読取部11は、物理的には、スキャナ等である。
Returning to FIG. 1 again, each component of the barcode reader 1 will be described in detail. The
データ分離部12は、読取データから基準情報部30に対応する基準データとバーコード部40に対応するバーコードデータとを分離する部分である。データ分離部12は、データ読取部11から読取データを受け取ると、読取データから分離した基準データの色情報を原色成分に色分解し、得られた原色成分を含む基準原色データを基準情報比較部14に出力するとともに、読取データから分離したバーコードデータの色情報を色分解して得られた原色成分を含むバーコード原色データを色情報補正部16に出力する。
The
データ分離部12は、バーコード部40に対応して予め定められた位置においてバーコード部40を構成し得る全ての色の原色に施された箇所を含む部分に対応する読取データを分離することによって基準データを得る。本実施形態に係るバーコード読取装置1が読み取る読取領域20では、基準情報部30が、読取領域20内のバーコード部40に隣接して予め定められた位置に、予め定められた基準情報色の順番で配置されている。 すなわち、データ分離部12は、バーコード部40に対応して予め定められた位置に予め定められた順番で配置され、且つバーコード部40を構成し得る全ての色を分解して得られる原色成分に対応する原色成分を含む読取データを分離することによって、基準データを得ている。
The
基準情報格納部13は、予め設定された基準情報部30に施される色の原色成分を含む比較原色データを格納する部分である。比較原色データは、読取データから分離された基準データから得られる基準原色データについて、印刷等により生じた色ずれの度合いを検出する基準として使用される。基準情報格納部13は、必要に応じて比較原色データを基準情報比較部14に出力する。
The reference
基準情報比較部14は、基準情報格納部13から出力された比較原色データとデータ分離部12から出力された基準原色データとを比較し、基準データの色情報に含まれる原色成分毎の色ずれ補正値を算出する部分である。基準情報比較部14は、データ分離部12から基準原色データを、また基準情報格納部13から比較原色データを受け取ると、色ずれ補正値を算出し、補正値格納部15に出力する。算出された色ずれ補正値はバーコードデータの補正に使用するため、補正値格納部15に格納される。
The reference
補正値格納部15は、基準情報比較部14で算出された色ずれ補正値を格納するための部分である。補正値格納部15は、必要に応じていろずれ補正値を色情報補正部16に出力する。
The correction
色情報補正部16は、読取データから分離した基準データに基づいて、バーコードデータを構成する複数のデータ要素それぞれの色情報を補正する部分である。色情報補正部16は、データ分離部12から出力されたバーコード原色データに対し、当該バーコード原色データの原色に対応する部分に、補正値格納部15に格納された色ずれ補正値を加えることにより、バーコードデータの色情報の補正を行い、補正バーコードデータを得る。これにより、印刷条件等によりずれてしまったバーコードデータの色情報が再現されることとなる。
The color
バーコード読取装置1におけるバーコードデータの色補正方法について具体的に説明する。図3〜図5は、RGB表記の場合における色補正の方法の一例を説明するための図である。図3〜図5に示すグラフの横軸は波長を表し、縦軸は振幅の強度を表す。 A color correction method for barcode data in the barcode reader 1 will be specifically described. 3 to 5 are diagrams for explaining an example of a color correction method in the case of RGB notation. 3 to 5, the horizontal axis represents wavelength, and the vertical axis represents amplitude intensity.
印刷等により元来基準情報部30及びバーコード部40に施されている色とずれてしまう色ずれは、基準情報部30及びバーコード部40に施されている色を構成する原色の波長ずれと、その色を構成する原色の混合量のずれとにより生ずる。図3は、色ずれの発生について説明するための図である。図3に示すグラフX0が印刷等前の青色データを、グラフY0が印刷等前の緑色データを、グラフZ0が印刷等前の赤色データを、グラフX1が読取時の青色データを、グラフY1が読取時の緑色データを、グラフZ1が読取時の赤色データをそれぞれ表す。
A color shift that deviates from the colors originally applied to the
図3に示すように、印刷等された読取領域20を読み取ることによって、各原色について波長のずれΔλ1、Δλ2、Δλ3、及び振幅強度のずれΔA1、ΔA2、ΔA3が生じ、これが色ずれの原因となる。こうして発生した色ずれを補正すべく、バーコード読取装置1では、データ分離部12において基準情報部30及びバーコード部40に施された色の色情報をフーリエ変換により波長・振幅強度変換し、その色を構成する原色成分を取り出し、波長のずれと振幅強度のずれを検出している。
As shown in FIG. 3, reading the printed
図4は、基準原色データと比較原色データとを比較し、色ずれ補正値を算出する方法について説明するための図である。図4に示すグラフX2が比較原色データの青色データを、グラフY2が比較原色データの緑色データを、グラフZ2が比較原色データの赤色データを、グラフX3が基準原色データの青色データを、グラフY3が基準原色データの緑色データを、グラフZ3が基準原色データの赤色データをそれぞれ表す。 FIG. 4 is a diagram for explaining a method of calculating the color misregistration correction value by comparing the reference primary color data and the comparative primary color data. Blue data graph X 2 is a comparative primary color data shown in FIG. 4, a graph Y 2 is a green data comparison primary data, red data graph Z 2 are comparative primary color data, the graph X 3 blue data of the reference primary color data The graph Y 3 represents the green data of the reference primary color data, and the graph Z 3 represents the red data of the reference primary color data.
基準情報比較部14では、基準情報格納部13に格納された比較原色データと、データ分離部12から出力された基準原色データとを比較することにより、図4に示すように、各原色成分の色ずれ補正値である波長のずれΔλ4、Δλ5、Δλ6、及び振幅強度のずれΔA4、ΔA5、ΔA6が算出され、補正値格納部15に格納される。このように、基準情報格納部13に格納された比較原色データは、基準データの各色情報についての原色成分の波長と振幅強度とがあらかじめ設定されている。
The reference
図5は、バーコードデータの色情報の補正について説明するための図である。図5に示すグラフX4が色ずれ補正値により補正された青色データを、グラフY4が色ずれ補正値により補正された緑色データを、グラフZ4が色ずれ補正値により補正された赤色データを、グラフX5が補正前のバーコードデータの青色データを、グラフY5が補正前のバーコードデータの緑色データを、グラフZ5が補正前のバーコードデータの赤色データをそれぞれ表す。 FIG. 5 is a diagram for explaining correction of color information of barcode data. The graph X 4 shown in FIG. 5 is blue data corrected by the color shift correction value, the graph Y 4 is green data corrected by the color shift correction value, and the graph Z 4 is red data corrected by the color shift correction value. and the blue data of the bar code data before the graph X 5 is corrected, the green data of the bar code data before the graph Y 5 is corrected, the graph Z 5 represents respectively a red data bar code data before correction.
色情報補正部16は、補正値格納部15から色ずれ補正値を呼び出し、図5に示すように、呼び出した色ずれ補正値(波長のずれΔλ7、Δλ8、Δλ9、及び振幅強度のずれΔA7、ΔA8、ΔA9)をデータ分離部12から出力されたバーコード原色データに原色毎に加減する。これにより、印刷等によりずれてしまったバーコードデータの色情報が印刷等前の色情報に再現され、元来の色情報である源色情報が再現される。
The color
このように、色情報補正部16では、バーコードデータを構成する複数のデータ要素それぞれの色情報を分解して得られる原色成分(バーコード原色データ)に対し、基準データに含まれる色情報を分解して得られる原色成分(基準原色データ)と予め用意された比較原色成分(比較原色データ)とを比較して得た差分(色ずれ補正値)に基づいて補正を行うことにより、バーコードデータを構成する複数のデータ要素それぞれの色情報を補正する。
As described above, the color
色情報特定部17は、色情報補正部16において色情報が補正されたバーコードデータを構成する複数のデータ要素それぞれの色情報に対し、バーコードデータ及び基準データに含まれる色情報として利用可能な色情報を特定する部分である。色情報特定部17は、色情報補正部16で補正されたバーコードデータである補正バーコードデータと、利用色情報格納部18に格納された利用色データとを比較する。利用色データには、バーコード部40に施され得る色として利用可能な色の色情報が予め設定されている。色情報特定部17は、比較の結果、補正バーコードデータのうちバーコード部40に施され得る色として利用可能と判断された色情報に対応する部分を含む特定補正バーコードデータを情報取得部19に出力する。バーコード部40に施され得る色として利用されない色は、読取領域20の余白部21あるいはバーコードにおける見出し文などに利用可能である。なお、バーコード部40に施され得る色として利用可能であるという判断は、補正バーコードデータの強さが利用色データの強さと比較して一致する場合になされる。
The color
情報取得部19は、色情報特定部17から出力される特定補正バーコードデータに基づいて、バーコード部40が示すデジタル情報を取得する部分である。情報取得部19は印刷元で施されたデータ圧縮や誤り訂正などの符号化を逆変換し元のデジタル情報を複合する機能を持つ。
The
図6は、特定補正バーコードデータのビット構造について模式的に表した図である。図6の縦軸が2次元バーコードである基準情報部30及びバーコード部40の縦方向に対応し、横軸が2次元バーコードである基準情報部30及びバーコード部40の横方向に対応する。図6における奥行き方向が、各微小部分31〜60に施された色情報を表すビット列(長さn)に対応する。したがって、図6の各ビット列は、基準情報部30とバーコード部40の各微小部分31〜60に相当する。
FIG. 6 is a diagram schematically showing the bit structure of the specific correction barcode data. The vertical axis in FIG. 6 corresponds to the vertical direction of the
ビット列の長さnは、基準情報部30及びバーコード部40の色分けに用いる色の階調数によって異なる。すなわち、例えば各色256階調に従って色分けを行う場合、各ビット列は24ビットとなり、色を表すビット列の各ビットによって構成される面が第1面から第24面までとなる。したがって、各微小部分31〜60は、第1ビットXa〜第nビットXn(X=31〜60)の並びによって色を再現している。
The length n of the bit string differs depending on the number of color gradations used for color coding of the
3色以上に色分けされたバーコードが示す情報の取得についての具体例を説明する。バーコードデータ及び基準データの各面単位に情報が記録されている場合、第1面を構成するビット31a〜60a、第2面を構成するビット31b〜60b…、第n面を構成するビット31n〜60nの並びで、各ビットに格納されているデータ値を並べていくことで、基準情報部30が示す情報とバーコード部40が示す情報とを取得することができる。
A specific example of obtaining information indicated by a barcode that is color-coded into three or more colors will be described. When information is recorded in each surface unit of the barcode data and the reference data,
あるいは、基準情報及びバーコードデータの色を表すビット列単位に情報が記録されている場合、微小部分31の第1〜第nビット31a〜31n、微小部分32の第1〜第nビット32a〜32n…、微小部分39の第1〜第nビット60a〜60nの並びで、各ビットに格納されているデータ値を並べていくことで、基準情報部30の情報とバーコード部40が示す情報を取得することができる。
Alternatively, when information is recorded in units of bit strings representing the color of the reference information and the barcode data, the first to
続いて、図5に示すフローチャート図を参照しながら、バーコード読取装置1の具体的な動作を説明しつつバーコード読取装置1によるバーコード読取方法について説明する。 Next, a barcode reading method by the barcode reading apparatus 1 will be described while explaining specific operations of the barcode reading apparatus 1 with reference to a flowchart shown in FIG.
まず、バーコード読取装置1のデータ読取部11が、読取領域20を読み取り、電気的な読取データを取得する(データ読取ステップS1)。
First, the
読取データが入力されたデータ分離部12は、バーコードデータと基準データとを分離して読取データから取得する(データ分離ステップS2)。基準データの分離に当たってデータ分離部12は、予め定められた位置に配置している基準データを予め定められた順番に分離する。分離して取得された基準データ及びバーコードデータはそれぞれ、データ分離部12においてフーリエ変換により原色成分へ色分解され、バーコード源色データと基準原色データとが得られる。基準原色データは基準情報比較部14へ、バーコード原色データは色情報補正部16で出力される(データ分離ステップS2)。
The
基準情報比較部14は、データ分離部12から出力された基準原色データと、基準情報格納部13に格納された比較原色データとを比較し、基準データの色情報に含まれる原色成分毎の色ずれ補正値を算出する(色ずれ補正値算出ステップS3)。基準情報比較部14は、こうして算出した色ずれ補正値を補正値格納部15に保存する(補正値格納ステップS4)。
The reference
色情報補正部16は、データ分離部12から出力されたバーコード原色データと、補正値格納部15に格納されている色ずれ補正値とを比較参照して各原色成分の色ずれ補正を行い、バーコードデータの色情報の補正を行い、補正バーコードデータを色情報特定部17に出力する。これにより、印刷等によりずれてしまったバーコードデータの色情報が本来の色情報に再現される(色ずれ補正ステップS5)。色ずれ補正値算出ステップS3、補正値格納ステップS4、及び色ずれ補正ステップS5は、色情報補正ステップを構成する。
The color
補正バーコードデータが入力された色情報特定部17は、予め利用できる色情報の原色成分情報を格納した利用色情報格納部18から読み出した利用色データを参照し、補正バーコードデータのうち利用色データに設定された色情報に対応する部分(特定補正バーコードデータ)を情報取得部19に出力する。色情報特定部17は、補正バーコードデータのうち利用色データに設定された色情報に対応しない部分については、情報取得部19に出力することなく破棄する(色情報特定ステップS6)。
The color
情報取得部19は、色情報特定部より出力された特定補正バーコードデータの原色成分毎の値を2進数に変換し、印刷元で施された誤り訂正などの各種符号加工及び変換から複号により、バーコード部40が示す情報を復元する(情報取得ステップS7)。より具体的には、情報取得部19は、特定補正バーコードデータの原色成分毎の値から変換された2進数に対し、印刷時に施されたゼロビット列圧縮や誤り訂正符号付加などの逆変換を行い、印刷元の情報ビット列に復号する。
The
バーコード読取装置1によれば、上述したように、少なくとも3色以上に色分けされた基準情報部30及びバーコード部40を正確に読み取ることができるため、大容量の情報を含むバーコードを読み取ることが可能となる。
According to the barcode reading apparatus 1, as described above, the
特に、バーコード読取装置1は、各色に対してあらかじめ決められた情報を対応させるのではなく、表示された色から情報ビット列を生成するため、記憶容量の増大されたバーコードに対応することができる。 In particular, the bar code reader 1 does not correspond to predetermined information for each color, but generates an information bit string from the displayed color, so that it can cope with a bar code having an increased storage capacity. it can.
バーコード読取装置1では、バーコードデータを構成する複数のデータ要素それぞれの色情報を、色情報補正部16及び色情報特定部17において、読取データから分離した基準データに基づく補正値により特定している。さらに、こうして色情報を特定した結果に基づいて、情報取得部19においてバーコード部40が示す情報の取得がなされる。したがって、バーコード読取装置1によれば、少なくとも3色以上に色分けされたバーコードが示す情報を、印刷条件等によって変わる表示状態によらず正確に取得することが可能となる。
In the barcode reading apparatus 1, the color information of each of the plurality of data elements constituting the barcode data is specified by the color
データ分離部12は、バーコード部40に対して予め定められた位置に配置されている基準情報部30を読取データから分離する。したがって、基準データとバーコードデータとの分離を容易に行うことが可能である。基準情報部30の予め定められた配置位置はバーコードの形状と大きさにより自動的に決定されることが好ましい。
The
さらに、データ分離部12において、基準データ及びバーコードデータそれぞれが、表示される全ての色を構成する原色に色分解され、基準原色データとバーコード原色データとが得られる。これらの原色データに基づいて色情報の補正が施されるため、基準情報部に含まれる情報は少なくても高精度な補正ができ、本来バーコード部40に施されている色の色情報の再現を容易に行うことができる。
Further, in the
色情報特定部17は、利用色情報格納部18に予め格納された利用色データを参照し、補正バーコードデータにおいてバーコード部40に施され得る色として利用可能な色情報を含む部分と含まない部分とを分離する。そのため、利用可能な色情報を含まない部分に対し、余白部21の色情報あるいはバーコード部40が示す内容を表す見出しあるいはシンボル等の色情報を設定により容易に変更できる。このように、利用可能な色を予め設定しておくことで、柔軟なバーコードの利用を可能とし、バーコード利用における利便性を向上させることができる。
The color
バーコードデータの升目は最小単位が1ピクセルであり、小型化できる。そのため、バーコードの形状は四角や円といった基本形状以外にキャラクタ形状など任意形状を利用できる。 The smallest unit of bar code data is 1 pixel, which can be miniaturized. For this reason, the bar code can have an arbitrary shape such as a character shape in addition to a basic shape such as a square or a circle.
また、3色以上に色分けされたバーコードは多くの情報を含むことができる。そのため、3色以上に色分けされたバーコードを読み取るバーコード読取装置1を用いることにより、記憶媒体の省資源化が可能となる。 In addition, a barcode that is color-coded into three or more colors can include a lot of information. For this reason, the use of the barcode reader 1 that reads barcodes classified into three or more colors makes it possible to save resources on the storage medium.
バーコードデータの基準データに基づいた補正は、原色成分を含むバーコード原色データ及び基準原色データに基づいて行われる。そのため、基準情報部30に施す色の数が少なかったとしても高精度の補正を行うことができる。これにより、予め基準情報部30を配置する位置の設定が容易となり、バーコード部40内に基準情報を混在させる、あるいはバーコード部を基準情報部としても利用するなど様々な配置方法が可能である。
The correction based on the reference data of the barcode data is performed based on the barcode primary color data including the primary color components and the reference primary color data. Therefore, even if the number of colors applied to the
本実施形態に係るバーコード読取方法で読み取るバーコードは、2次元バーコードに限らない。さらに、余白部の色は、バーコードに施された色であってもよい。また、基準データに基づいてバーコードデータを構成する複数のデータ要素それぞれの色情報を特定する方法、及びバーコードが示す情報を取得する方法は、上記に記載した例に限定されない。 The barcode read by the barcode reading method according to the present embodiment is not limited to a two-dimensional barcode. Furthermore, the color of the margin part may be a color given to the barcode. Further, the method for specifying the color information of each of the plurality of data elements constituting the barcode data based on the reference data and the method for acquiring the information indicated by the barcode are not limited to the examples described above.
また、バーコード読取装置は、情報取得部において補正されたバーコードデータに対し、汚損等したデータを検出し訂正する誤り訂正部をさらに有していることが好ましい。誤り訂正部をさらに備えることにより、バーコードの多少の汚れに対しても確実に読み取ることが可能となる。 Moreover, it is preferable that the barcode reader further includes an error correction unit that detects and corrects dirty data with respect to the barcode data corrected by the information acquisition unit. By further including an error correction unit, it is possible to reliably read even a slight stain on the barcode.
また、本発明によるバーコード読取装置及びバーコード読取方法を用いて、認証を実現することができる。認証は、色分けされた認証用のバーコードから情報(ビット列)を取得し、そのビット列をあらかじめ用意したビット列の指定した位置に当てはめることにより実現される。 Further, authentication can be realized by using the barcode reading apparatus and barcode reading method according to the present invention. The authentication is realized by obtaining information (bit string) from the color-coded authentication barcode and applying the bit string to a designated position of the prepared bit string.
1…バーコード読取装置、11…データ読取部、12…データ分離部、13…基準情報格納部、14…基準情報比較部、15…補正値格納部、16…色情報補正部、17…色情報特定部、18…利用色情報格納部、19…情報取得部、20…読取領域、21…余白部、30…基準情報部、40…バーコード部、31〜60…微小部分
DESCRIPTION OF SYMBOLS 1 ... Barcode reader, 11 ... Data reading part, 12 ... Data separation part, 13 ... Reference | standard information storage part, 14 ... Reference | standard information comparison part, 15 ... Correction value storage part, 16 ... Color information correction part, 17 ... Color Information specifying unit, 18 ... used color information storage unit, 19 ... information acquisition unit, 20 ... reading area, 21 ... margin part, 30 ... reference information part, 40 ... barcode part, 31-60 ... small part
Claims (5)
前記バーコード及びその周辺部分を含む領域を読み取って、当該領域内の位置における色を特定する読取データを取得するデータ読取手段と、
当該取得した読取データから、前記バーコードに対応するバーコードデータと基準データとを分離するデータ分離手段と、
当該分離した基準データに基づいて、前記バーコードデータを構成する複数のデータ要素それぞれの色情報を補正する色情報補正手段と、
前記色情報補正手段において補正された前記バーコードデータを構成する前記複数のデータ要素それぞれの色情報に対し、前記バーコードデータ及び前記基準データを構成し得る色情報として利用可能な色情報を特定する色情報特定手段と、
前記色情報特定手段の特定結果に基づいて、前記バーコードが示す情報を取得する情報取得手段と、
を備えることを特徴とするバーコード読取装置。 A barcode reader that reads a barcode that is color-coded into at least three colors and acquires information indicated by the barcode,
A data reading means for reading a region including the barcode and its peripheral portion and acquiring read data for specifying a color at a position in the region;
Data separating means for separating the barcode data corresponding to the barcode and the reference data from the acquired read data;
Color information correction means for correcting color information of each of a plurality of data elements constituting the barcode data based on the separated reference data;
For the color information of each of the plurality of data elements constituting the barcode data corrected by the color information correction means, color information that can be used as color information that can constitute the barcode data and the reference data is specified. Color information identification means to perform,
Information acquisition means for acquiring the information indicated by the barcode based on the identification result of the color information identification means;
A bar code reader characterized by comprising:
前記バーコード及びその周辺部分を含む領域を読み取って、当該領域内の位置における色を特定する読取データを取得するデータ読取ステップと、
当該取得した読取データから、前記バーコードに対応するバーコードデータと基準データとを分離するデータ分離ステップと、
当該分離した基準データに基づいて、前記バーコードデータを構成する複数のデータ要素それぞれの色情報を補正する色情報補正ステップと、
前記色情報補正ステップにおいて色情報が補正された前記バーコードデータを構成する複数のデータ要素それぞれの色情報に対し、前記バーコードデータ及び前記基準データに含まれる色情報として利用可能な色情報を特定する色情報特定ステップと、
前記色情報特定ステップの特定結果に基づいて、前記バーコードが示す情報を取得する情報取得ステップと、
を備えることを特徴とするバーコード読取方法。 A barcode reading method of reading a barcode color-coded at least three colors and acquiring information indicated by the barcode,
A data reading step of reading an area including the barcode and its peripheral portion and acquiring read data for specifying a color at a position in the area;
A data separation step for separating the barcode data corresponding to the barcode and the reference data from the acquired read data;
A color information correction step for correcting color information of each of a plurality of data elements constituting the barcode data based on the separated reference data;
Color information that can be used as color information included in the barcode data and the reference data for color information of each of a plurality of data elements constituting the barcode data whose color information has been corrected in the color information correction step. Identifying color information identification step;
An information acquisition step of acquiring information indicated by the barcode based on the identification result of the color information identification step;
A bar code reading method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005228585A JP2007047871A (en) | 2005-08-05 | 2005-08-05 | Bar code reader and bar code reading method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005228585A JP2007047871A (en) | 2005-08-05 | 2005-08-05 | Bar code reader and bar code reading method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007047871A true JP2007047871A (en) | 2007-02-22 |
Family
ID=37850665
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005228585A Pending JP2007047871A (en) | 2005-08-05 | 2005-08-05 | Bar code reader and bar code reading method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007047871A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010282530A (en) * | 2009-06-08 | 2010-12-16 | Shimane Univ | Two-dimensional bar code, and reading system and generation system thereof |
CN113468903A (en) * | 2020-03-31 | 2021-10-01 | 电装波动株式会社 | Information code reading system, information code reading apparatus, and information code |
-
2005
- 2005-08-05 JP JP2005228585A patent/JP2007047871A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010282530A (en) * | 2009-06-08 | 2010-12-16 | Shimane Univ | Two-dimensional bar code, and reading system and generation system thereof |
CN113468903A (en) * | 2020-03-31 | 2021-10-01 | 电装波动株式会社 | Information code reading system, information code reading apparatus, and information code |
CN113468903B (en) * | 2020-03-31 | 2024-04-02 | 电装波动株式会社 | Information code reading system and information code reading device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7478746B2 (en) | Two-dimensional color barcode and method of generating and decoding the same | |
TW412709B (en) | Encoded color halftone micro-dots for high density digital information storage | |
KR101159330B1 (en) | System and method for encoding high density geometric symbol set | |
JP6590335B2 (en) | Two-dimensional code and method for reading the two-dimensional code | |
EP2948900B1 (en) | Modifying data-bearing images | |
JP4752413B2 (en) | Two-dimensional code division display method, two-dimensional code reading method, and two-dimensional code reading apparatus | |
US7604180B2 (en) | Code pattern, printed matter, image generating apparatus, image processing apparatus, image generating method, and information identifying method | |
TW201009716A (en) | Information code | |
Galiyawala et al. | To increase data capacity of QR code using multiplexing with color coding: An example of embedding speech signal in QR code | |
US20160086071A1 (en) | High capacity 2d color barcode and method for decoding the same | |
JP2017027583A (en) | High capacity 2d color barcode design and decoding method | |
JP2014112366A (en) | Reliable decoding of printed color barcode with extremely small data cell | |
JP5187383B2 (en) | Two-dimensional code division display method, two-dimensional code reading method, and two-dimensional code reading apparatus | |
JP2007013737A (en) | Information embedding apparatus and printed material | |
JP2007047871A (en) | Bar code reader and bar code reading method | |
JP2005208843A (en) | Information encoding/decoding method, device and code indicator | |
JP5187382B2 (en) | Two-dimensional code division display method, two-dimensional code reading method, and two-dimensional code reading apparatus | |
US8797193B2 (en) | Parallel test payload | |
US9111162B2 (en) | Method, apparatus and storage medium for two-dimensional data storage | |
JP2011159229A (en) | Data reader, data reading method and data recorder | |
JP4874706B2 (en) | QR code reader | |
JP6099258B2 (en) | Optical code and method for generating the optical code | |
JP2006330930A (en) | Method and device for preparing and reading color code | |
JP2004147265A (en) | Color prediction model creation method, color prediction model creation apparatus, storage medium, and color prediction model creation program | |
JP2010282530A (en) | Two-dimensional bar code, and reading system and generation system thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070925 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071002 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20080311 |