JP2007047871A - Bar code reader and bar code reading method - Google Patents

Bar code reader and bar code reading method Download PDF

Info

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
Application number
JP2005228585A
Other languages
Japanese (ja)
Inventor
Teruji Bansono
輝二 番園
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.)
NTT Docomo Kyushu Inc
Original Assignee
NTT Docomo Kyushu Inc
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 NTT Docomo Kyushu Inc filed Critical NTT Docomo Kyushu Inc
Priority to JP2005228585A priority Critical patent/JP2007047871A/en
Publication of JP2007047871A publication Critical patent/JP2007047871A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a bar code reader and a bar code reading method capable of accurately acquiring information shown by a bar code colored in three or more colors regardless of a display state. <P>SOLUTION: The bar code reader 1 is a device for acquiring information shown by the bar code colored in three or more colors by reading the bar code. The bar code reader 1 comprises, as functional components, a data reading part 11 reading an area including the bar code and the peripheral part thereof to acquire read data; a data separation part 12 separating bar code data and reference data from the read data and performing color decomposition; a reference information storage part 13; a reference information comparison part 14; a correction value storage part 15; a color information correction part 16 correcting the bar code data based on the reference data; a used color information storage part 18; a color information specification part 17; and an information acquisition part 19 acquiring information shown by a bar code part. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、バーコード読取装置及びバーコード読取方法に関する。   The present invention relates to a barcode reading apparatus and a barcode reading method.

バーコードは、情報をコード化したシンボルであり、携帯電話、物流、情報媒体等様々な分野に応用されている。こうした様々な分野での応用をさらに押し進めるため、バーコードが有する情報の容量をさらに大きくすることが要求されている。こうした要求に応えるべく、3色以上に色分けされたバーコードを応用することが近年検討されてきている(例えば、特許文献1及び2参照)。3色以上に色分けされたバーコードは、白黒のバーコードに比べより多くの情報を含むことができる。
特開2000−244857号公報 特開2003−122876号公報
A bar code is a symbol obtained by coding information, and is applied to various fields such as mobile phones, physical distribution, and information media. In order to further promote the application in such various fields, it is required to further increase the capacity of information held by the barcode. In order to meet such demands, it has been recently studied to apply barcodes color-coded to three or more colors (see, for example, Patent Documents 1 and 2). A barcode that is color-coded into three or more colors can contain more information than a black and white barcode.
JP 2000-244857 A JP 2003-122876 A

しかしながら、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 information storage unit 13, a reference information comparison unit 14, and a correction value storage unit. 15, a color information correction unit (color information correction unit) 16, a color information identification unit 17 (color information identification unit), a use color information storage unit 18, and an information acquisition unit (information acquisition unit) 19.

バーコード読取装置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 reading area 20 read by the barcode reading apparatus 1 according to the present embodiment. The reading area 20 includes an area including a reference information part 30, a barcode part 40, and a margin part 21. The reference information unit 30 and the barcode unit 40 are two-dimensional barcodes, and the reference information unit 30 is divided into five minute portions 31 to 35. In the minute portions 31 to 35, a specific color is displayed as necessary in addition to the primary colors constituting all the colors displayed on the barcode unit 40. The barcode part 40 is divided into 20 minute parts 41 to 60, and is color-coded into at least three colors. In FIG. 2, the difference of the color given to each micro part 31-60 by the difference in the shade of shaded line, thickness, and a pattern is represented. Moreover, in FIG. 2, the code | symbol of the micro parts 42-44, 47-49, 52-54 is abbreviate | omitted for easiness to see.

余白部21は、基準情報部30及びバーコード部40を囲む閉じた形状である。余白部21には、利用可能な色情報として後述の利用色情報格納部18に格納された利用色データに含まれていない色が施される。   The blank portion 21 has a closed shape surrounding the reference information portion 30 and the barcode portion 40. The margin portion 21 is provided with a color that is not included in the use color data stored in the later-described use color information storage unit 18 as usable color information.

基準情報部30は、バーコード部40を構成し得るすべての色の原色を表示したものであって、バーコード部40の周辺部分に、本実施形態ではバーコード部40の一辺に沿って、これらの色を並べることによって構成されている。したがって、例えば、バーコード部40がRGB表記の各色256階調に従って色分けされる場合には、基準情報部30として第1色部分にR色、第2色部分にG色、第3色部分にB色がバーコード部40に隣接して並べて表示される。   The reference information unit 30 displays the primary colors of all the colors that can constitute the barcode unit 40, and in the peripheral portion of the barcode unit 40, along one side of the barcode unit 40 in the present embodiment, It is configured by arranging these colors. Therefore, for example, when the barcode part 40 is color-coded according to 256 gradations of each color expressed in RGB, the reference information part 30 is R color for the first color part, G color for the second color part, and G color for the third color part. B color is displayed adjacent to the barcode portion 40.

再び図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 data reading unit 11 is a part that reads the reading area 20 that is an area including the reference information part 30, the barcode part 40, and the margin part 21 and acquires read data. In the read data, the color at the position in the reading area 20 is specified. The data reading unit 11 outputs the read data to the data separation unit 12. The data reading unit 11 is physically a scanner or the like.

データ分離部12は、読取データから基準情報部30に対応する基準データとバーコード部40に対応するバーコードデータとを分離する部分である。データ分離部12は、データ読取部11から読取データを受け取ると、読取データから分離した基準データの色情報を原色成分に色分解し、得られた原色成分を含む基準原色データを基準情報比較部14に出力するとともに、読取データから分離したバーコードデータの色情報を色分解して得られた原色成分を含むバーコード原色データを色情報補正部16に出力する。   The data separation unit 12 is a part that separates the reference data corresponding to the reference information unit 30 and the barcode data corresponding to the barcode unit 40 from the read data. When the data separation unit 12 receives the read data from the data reading unit 11, the data separation unit 12 color-separates the color information of the reference data separated from the read data into primary color components, and the reference primary color data including the obtained primary color components is a reference information comparison unit 14, and the barcode primary color data including the primary color components obtained by color-separating the color information of the barcode data separated from the read data is output to the color information correction unit 16.

データ分離部12は、バーコード部40に対応して予め定められた位置においてバーコード部40を構成し得る全ての色の原色に施された箇所を含む部分に対応する読取データを分離することによって基準データを得る。本実施形態に係るバーコード読取装置1が読み取る読取領域20では、基準情報部30が、読取領域20内のバーコード部40に隣接して予め定められた位置に、予め定められた基準情報色の順番で配置されている。 すなわち、データ分離部12は、バーコード部40に対応して予め定められた位置に予め定められた順番で配置され、且つバーコード部40を構成し得る全ての色を分解して得られる原色成分に対応する原色成分を含む読取データを分離することによって、基準データを得ている。   The data separation unit 12 separates read data corresponding to a portion including a portion applied to all primary colors that can constitute the barcode unit 40 at a predetermined position corresponding to the barcode unit 40. To obtain the reference data. In the reading area 20 that is read by the barcode reading apparatus 1 according to the present embodiment, the reference information section 30 has a predetermined reference information color at a predetermined position adjacent to the barcode section 40 in the reading area 20. Are arranged in order. That is, the data separation unit 12 is arranged in a predetermined order at a predetermined position corresponding to the barcode unit 40, and is a primary color obtained by separating all the colors that can constitute the barcode unit 40. The reference data is obtained by separating the read data including the primary color components corresponding to the components.

基準情報格納部13は、予め設定された基準情報部30に施される色の原色成分を含む比較原色データを格納する部分である。比較原色データは、読取データから分離された基準データから得られる基準原色データについて、印刷等により生じた色ずれの度合いを検出する基準として使用される。基準情報格納部13は、必要に応じて比較原色データを基準情報比較部14に出力する。   The reference information storage unit 13 is a part that stores comparative primary color data including primary color components of colors applied to a preset reference information unit 30. The comparative primary color data is used as a reference for detecting the degree of color shift caused by printing or the like for the reference primary color data obtained from the reference data separated from the read data. The reference information storage unit 13 outputs comparative primary color data to the reference information comparison unit 14 as necessary.

基準情報比較部14は、基準情報格納部13から出力された比較原色データとデータ分離部12から出力された基準原色データとを比較し、基準データの色情報に含まれる原色成分毎の色ずれ補正値を算出する部分である。基準情報比較部14は、データ分離部12から基準原色データを、また基準情報格納部13から比較原色データを受け取ると、色ずれ補正値を算出し、補正値格納部15に出力する。算出された色ずれ補正値はバーコードデータの補正に使用するため、補正値格納部15に格納される。   The reference information comparison unit 14 compares the comparison primary color data output from the reference information storage unit 13 with the reference primary color data output from the data separation unit 12, and the color shift for each primary color component included in the color information of the reference data. This is a part for calculating a correction value. When the reference information comparison unit 14 receives the reference primary color data from the data separation unit 12 and the comparison primary color data from the reference information storage unit 13, it calculates a color misregistration correction value and outputs it to the correction value storage unit 15. The calculated color misregistration correction value is stored in the correction value storage unit 15 for use in correcting the barcode data.

補正値格納部15は、基準情報比較部14で算出された色ずれ補正値を格納するための部分である。補正値格納部15は、必要に応じていろずれ補正値を色情報補正部16に出力する。   The correction value storage unit 15 is a part for storing the color misregistration correction value calculated by the reference information comparison unit 14. The correction value storage unit 15 outputs an offset correction value to the color information correction unit 16 as necessary.

色情報補正部16は、読取データから分離した基準データに基づいて、バーコードデータを構成する複数のデータ要素それぞれの色情報を補正する部分である。色情報補正部16は、データ分離部12から出力されたバーコード原色データに対し、当該バーコード原色データの原色に対応する部分に、補正値格納部15に格納された色ずれ補正値を加えることにより、バーコードデータの色情報の補正を行い、補正バーコードデータを得る。これにより、印刷条件等によりずれてしまったバーコードデータの色情報が再現されることとなる。   The color information correction unit 16 is a part for correcting the color information of each of a plurality of data elements constituting the barcode data based on the reference data separated from the read data. The color information correction unit 16 adds the color misregistration correction value stored in the correction value storage unit 15 to the portion corresponding to the primary color of the barcode primary color data to the barcode primary color data output from the data separation unit 12. As a result, the color information of the barcode data is corrected to obtain corrected barcode data. As a result, the color information of the barcode data that has been shifted due to the printing condition or the like is reproduced.

バーコード読取装置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に示すグラフXが印刷等前の青色データを、グラフYが印刷等前の緑色データを、グラフZが印刷等前の赤色データを、グラフXが読取時の青色データを、グラフYが読取時の緑色データを、グラフZが読取時の赤色データをそれぞれ表す。 A color shift that deviates from the colors originally applied to the reference information section 30 and the barcode section 40 due to printing or the like is a wavelength shift of the primary colors constituting the colors applied to the reference information section 30 and the barcode section 40. And a shift in the mixing amount of the primary colors constituting the color. FIG. 3 is a diagram for explaining the occurrence of color misregistration. The graph X 0 shown in FIG. 3 is blue data before printing, the graph Y 0 is green data before printing, the graph Z 0 is red data before printing, and the graph X 1 is blue data at the time of reading. Graph Y 1 represents green data at the time of reading, and graph Z 1 represents red data at the time of reading.

図3に示すように、印刷等された読取領域20を読み取ることによって、各原色について波長のずれΔλ、Δλ、Δλ、及び振幅強度のずれΔA、ΔA、ΔAが生じ、これが色ずれの原因となる。こうして発生した色ずれを補正すべく、バーコード読取装置1では、データ分離部12において基準情報部30及びバーコード部40に施された色の色情報をフーリエ変換により波長・振幅強度変換し、その色を構成する原色成分を取り出し、波長のずれと振幅強度のずれを検出している。 As shown in FIG. 3, reading the printed reading area 20 causes wavelength shifts Δλ 1 , Δλ 2 , Δλ 3 , and amplitude intensity shifts ΔA 1 , ΔA 2 , ΔA 3 for each primary color, This causes color misregistration. In order to correct the color misregistration generated in this way, the barcode reader 1 performs wavelength / amplitude intensity conversion on the color information applied to the reference information unit 30 and the barcode unit 40 in the data separation unit 12 by Fourier transform, A primary color component constituting the color is taken out, and a shift in wavelength and a shift in amplitude intensity are detected.

図4は、基準原色データと比較原色データとを比較し、色ずれ補正値を算出する方法について説明するための図である。図4に示すグラフXが比較原色データの青色データを、グラフYが比較原色データの緑色データを、グラフZが比較原色データの赤色データを、グラフXが基準原色データの青色データを、グラフYが基準原色データの緑色データを、グラフZが基準原色データの赤色データをそれぞれ表す。 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に示すように、各原色成分の色ずれ補正値である波長のずれΔλ、Δλ、Δλ、及び振幅強度のずれΔA、ΔA、ΔAが算出され、補正値格納部15に格納される。このように、基準情報格納部13に格納された比較原色データは、基準データの各色情報についての原色成分の波長と振幅強度とがあらかじめ設定されている。 The reference information comparison unit 14 compares the comparison primary color data stored in the reference information storage unit 13 with the reference primary color data output from the data separation unit 12, as shown in FIG. Wavelength shifts Δλ 4 , Δλ 5 , Δλ 6 and amplitude intensity shifts ΔA 4 , ΔA 5 , ΔA 6 , which are color shift correction values, are calculated and stored in the correction value storage unit 15. As described above, the comparison primary color data stored in the reference information storage unit 13 is preset with the wavelength and amplitude intensity of the primary color component for each color information of the reference data.

図5は、バーコードデータの色情報の補正について説明するための図である。図5に示すグラフXが色ずれ補正値により補正された青色データを、グラフYが色ずれ補正値により補正された緑色データを、グラフZが色ずれ補正値により補正された赤色データを、グラフXが補正前のバーコードデータの青色データを、グラフYが補正前のバーコードデータの緑色データを、グラフZが補正前のバーコードデータの赤色データをそれぞれ表す。 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に示すように、呼び出した色ずれ補正値(波長のずれΔλ、Δλ、Δλ、及び振幅強度のずれΔA、ΔA、ΔA)をデータ分離部12から出力されたバーコード原色データに原色毎に加減する。これにより、印刷等によりずれてしまったバーコードデータの色情報が印刷等前の色情報に再現され、元来の色情報である源色情報が再現される。 The color information correction unit 16 calls the color misregistration correction value from the correction value storage unit 15 and, as shown in FIG. 5, calls the color misregistration correction values (wavelength shifts Δλ 7 , Δλ 8 , Δλ 9 , and amplitude intensity). The deviations ΔA 7 , ΔA 8 , ΔA 9 ) are added to or subtracted from the barcode primary color data output from the data separator 12 for each primary color. As a result, the color information of the barcode data that has been shifted due to printing or the like is reproduced as the color information before printing or the like, and the original color information that is the original color information is reproduced.

このように、色情報補正部16では、バーコードデータを構成する複数のデータ要素それぞれの色情報を分解して得られる原色成分(バーコード原色データ)に対し、基準データに含まれる色情報を分解して得られる原色成分(基準原色データ)と予め用意された比較原色成分(比較原色データ)とを比較して得た差分(色ずれ補正値)に基づいて補正を行うことにより、バーコードデータを構成する複数のデータ要素それぞれの色情報を補正する。   As described above, the color information correction unit 16 converts the color information included in the reference data into the primary color component (barcode primary color data) obtained by decomposing the color information of each of the plurality of data elements constituting the barcode data. By performing correction based on the difference (color misregistration correction value) obtained by comparing the primary color component (reference primary color data) obtained by the separation and the comparison primary color component (comparative primary color data) prepared in advance, the barcode The color information of each of a plurality of data elements constituting the data is corrected.

色情報特定部17は、色情報補正部16において色情報が補正されたバーコードデータを構成する複数のデータ要素それぞれの色情報に対し、バーコードデータ及び基準データに含まれる色情報として利用可能な色情報を特定する部分である。色情報特定部17は、色情報補正部16で補正されたバーコードデータである補正バーコードデータと、利用色情報格納部18に格納された利用色データとを比較する。利用色データには、バーコード部40に施され得る色として利用可能な色の色情報が予め設定されている。色情報特定部17は、比較の結果、補正バーコードデータのうちバーコード部40に施され得る色として利用可能と判断された色情報に対応する部分を含む特定補正バーコードデータを情報取得部19に出力する。バーコード部40に施され得る色として利用されない色は、読取領域20の余白部21あるいはバーコードにおける見出し文などに利用可能である。なお、バーコード部40に施され得る色として利用可能であるという判断は、補正バーコードデータの強さが利用色データの強さと比較して一致する場合になされる。   The color information specifying unit 17 can be used as color information included in the barcode data and the reference data for the color information of each of a plurality of data elements constituting the barcode data whose color information has been corrected by the color information correction unit 16. This is the part that specifies the correct color information. The color information specifying unit 17 compares the corrected barcode data, which is the barcode data corrected by the color information correction unit 16, with the use color data stored in the use color information storage unit 18. In the use color data, color information of colors that can be used as colors that can be applied to the barcode unit 40 is set in advance. The color information specifying unit 17 obtains specific correction barcode data including a part corresponding to color information determined to be usable as a color that can be applied to the barcode unit 40 of the corrected barcode data as a result of comparison. 19 output. A color that is not used as a color that can be applied to the barcode portion 40 can be used for the margin portion 21 of the reading region 20 or a headline in the barcode. The determination that the color can be used as a color that can be applied to the barcode unit 40 is made when the strength of the correction barcode data matches the strength of the usage color data.

情報取得部19は、色情報特定部17から出力される特定補正バーコードデータに基づいて、バーコード部40が示すデジタル情報を取得する部分である。情報取得部19は印刷元で施されたデータ圧縮や誤り訂正などの符号化を逆変換し元のデジタル情報を複合する機能を持つ。   The information acquisition unit 19 is a part that acquires digital information indicated by the barcode unit 40 based on the specific correction barcode data output from the color information specifying unit 17. The information acquisition unit 19 has a function of reversely converting encoding such as data compression and error correction performed at the printing source and combining the original digital information.

図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 reference information unit 30 and the barcode unit 40 that are two-dimensional barcodes, and the horizontal axis corresponds to the horizontal direction of the reference information unit 30 and the barcode unit 40 that are two-dimensional barcodes. Correspond. The depth direction in FIG. 6 corresponds to a bit string (length n) representing color information applied to each minute portion 31-60. Therefore, each bit string in FIG. 6 corresponds to each minute portion 31 to 60 of the reference information portion 30 and the barcode portion 40.

ビット列の長さ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 reference information unit 30 and the barcode unit 40. That is, for example, when color classification is performed according to 256 gradations of each color, each bit string is 24 bits, and the surface constituted by each bit of the bit string representing the color is from the first surface to the 24th surface. Therefore, each minute portion 31 to 60 reproduces the color by the arrangement of the first bit Xa to the nth bit Xn (X = 31 to 60).

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, bits 31a to 60a constituting the first surface, bits 31b to 60b constituting the second surface, bits 31n constituting the nth surface By arranging the data values stored in the respective bits in the order of ˜60n, the information indicated by the reference information unit 30 and the information indicated by the barcode unit 40 can be acquired.

あるいは、基準情報及びバーコードデータの色を表すビット列単位に情報が記録されている場合、微小部分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 nth bits 31a to 31n of the minute portion 31 and the first to nth bits 32a to 32n of the minute portion 32 are recorded. ..., the information of the reference information unit 30 and the information indicated by the barcode unit 40 are obtained by arranging the data values stored in the respective bits in the arrangement of the first to nth bits 60a to 60n of the minute portion 39. can do.

続いて、図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 data reading unit 11 of the barcode reading apparatus 1 reads the reading area 20 and acquires electrical reading data (data reading step S1).

読取データが入力されたデータ分離部12は、バーコードデータと基準データとを分離して読取データから取得する(データ分離ステップS2)。基準データの分離に当たってデータ分離部12は、予め定められた位置に配置している基準データを予め定められた順番に分離する。分離して取得された基準データ及びバーコードデータはそれぞれ、データ分離部12においてフーリエ変換により原色成分へ色分解され、バーコード源色データと基準原色データとが得られる。基準原色データは基準情報比較部14へ、バーコード原色データは色情報補正部16で出力される(データ分離ステップS2)。   The data separation unit 12 to which the read data is input separates the barcode data and the reference data and obtains them from the read data (data separation step S2). In separating the reference data, the data separating unit 12 separates the reference data arranged at a predetermined position in a predetermined order. The reference data and barcode data obtained by separation are each color-separated into primary color components by Fourier transform in the data separation unit 12 to obtain barcode source color data and reference primary color data. The reference primary color data is output to the reference information comparison unit 14, and the barcode primary color data is output from the color information correction unit 16 (data separation step S2).

基準情報比較部14は、データ分離部12から出力された基準原色データと、基準情報格納部13に格納された比較原色データとを比較し、基準データの色情報に含まれる原色成分毎の色ずれ補正値を算出する(色ずれ補正値算出ステップS3)。基準情報比較部14は、こうして算出した色ずれ補正値を補正値格納部15に保存する(補正値格納ステップS4)。   The reference information comparison unit 14 compares the reference primary color data output from the data separation unit 12 with the comparison primary color data stored in the reference information storage unit 13, and determines the color for each primary color component included in the color information of the reference data. A shift correction value is calculated (color shift correction value calculation step S3). The reference information comparison unit 14 stores the color misregistration correction value thus calculated in the correction value storage unit 15 (correction value storage step S4).

色情報補正部16は、データ分離部12から出力されたバーコード原色データと、補正値格納部15に格納されている色ずれ補正値とを比較参照して各原色成分の色ずれ補正を行い、バーコードデータの色情報の補正を行い、補正バーコードデータを色情報特定部17に出力する。これにより、印刷等によりずれてしまったバーコードデータの色情報が本来の色情報に再現される(色ずれ補正ステップS5)。色ずれ補正値算出ステップS3、補正値格納ステップS4、及び色ずれ補正ステップS5は、色情報補正ステップを構成する。   The color information correction unit 16 compares and references the bar code primary color data output from the data separation unit 12 and the color misregistration correction value stored in the correction value storage unit 15 to perform color misregistration correction of each primary color component. Then, the color information of the barcode data is corrected, and the corrected barcode data is output to the color information specifying unit 17. As a result, the color information of the barcode data shifted due to printing or the like is reproduced as the original color information (color shift correction step S5). The color misregistration correction value calculation step S3, the correction value storage step S4, and the color misregistration correction step S5 constitute a color information correction step.

補正バーコードデータが入力された色情報特定部17は、予め利用できる色情報の原色成分情報を格納した利用色情報格納部18から読み出した利用色データを参照し、補正バーコードデータのうち利用色データに設定された色情報に対応する部分(特定補正バーコードデータ)を情報取得部19に出力する。色情報特定部17は、補正バーコードデータのうち利用色データに設定された色情報に対応しない部分については、情報取得部19に出力することなく破棄する(色情報特定ステップS6)。   The color information specifying unit 17 to which the correction barcode data is input refers to the use color data read from the use color information storage unit 18 storing the primary color component information of the color information that can be used in advance, and uses the correction barcode data. A portion (specific correction barcode data) corresponding to the color information set in the color data is output to the information acquisition unit 19. The color information specifying unit 17 discards the portion of the correction barcode data that does not correspond to the color information set in the use color data without outputting it to the information acquiring unit 19 (color information specifying step S6).

情報取得部19は、色情報特定部より出力された特定補正バーコードデータの原色成分毎の値を2進数に変換し、印刷元で施された誤り訂正などの各種符号加工及び変換から複号により、バーコード部40が示す情報を復元する(情報取得ステップS7)。より具体的には、情報取得部19は、特定補正バーコードデータの原色成分毎の値から変換された2進数に対し、印刷時に施されたゼロビット列圧縮や誤り訂正符号付加などの逆変換を行い、印刷元の情報ビット列に復号する。   The information acquisition unit 19 converts the value for each primary color component of the specific correction barcode data output from the color information specifying unit into a binary number, and decodes it from various code processing and conversion such as error correction performed at the printing source. Thus, the information indicated by the barcode unit 40 is restored (information acquisition step S7). More specifically, the information acquisition unit 19 performs reverse conversion such as zero bit string compression or addition of an error correction code applied to the binary number converted from the value for each primary color component of the specific correction barcode data. And decode it into the information bit string of the printing source.

バーコード読取装置1によれば、上述したように、少なくとも3色以上に色分けされた基準情報部30及びバーコード部40を正確に読み取ることができるため、大容量の情報を含むバーコードを読み取ることが可能となる。   According to the barcode reading apparatus 1, as described above, the reference information portion 30 and the barcode portion 40 that are color-coded into at least three colors can be accurately read, so that a barcode including a large amount of information is read. It becomes possible.

特に、バーコード読取装置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 information correction unit 16 and the color information specifying unit 17 by the correction value based on the reference data separated from the read data. ing. Further, based on the result of specifying the color information in this way, information indicated by the barcode unit 40 is acquired by the information acquisition unit 19. Therefore, according to the barcode reading apparatus 1, it is possible to accurately acquire information indicated by a barcode that is color-coded at least three colors regardless of the display state that changes depending on the printing conditions.

データ分離部12は、バーコード部40に対して予め定められた位置に配置されている基準情報部30を読取データから分離する。したがって、基準データとバーコードデータとの分離を容易に行うことが可能である。基準情報部30の予め定められた配置位置はバーコードの形状と大きさにより自動的に決定されることが好ましい。   The data separating unit 12 separates the reference information unit 30 disposed at a predetermined position with respect to the barcode unit 40 from the read data. Therefore, it is possible to easily separate the reference data and the barcode data. It is preferable that the predetermined arrangement position of the reference information unit 30 is automatically determined by the shape and size of the barcode.

さらに、データ分離部12において、基準データ及びバーコードデータそれぞれが、表示される全ての色を構成する原色に色分解され、基準原色データとバーコード原色データとが得られる。これらの原色データに基づいて色情報の補正が施されるため、基準情報部に含まれる情報は少なくても高精度な補正ができ、本来バーコード部40に施されている色の色情報の再現を容易に行うことができる。   Further, in the data separation unit 12, each of the reference data and the barcode data is color-separated into primary colors constituting all displayed colors, and the reference primary color data and the barcode primary color data are obtained. Since the color information is corrected based on these primary color data, the information included in the reference information portion can be corrected with a high degree of accuracy, and the color information of the color originally applied to the barcode portion 40 can be corrected. It can be easily reproduced.

色情報特定部17は、利用色情報格納部18に予め格納された利用色データを参照し、補正バーコードデータにおいてバーコード部40に施され得る色として利用可能な色情報を含む部分と含まない部分とを分離する。そのため、利用可能な色情報を含まない部分に対し、余白部21の色情報あるいはバーコード部40が示す内容を表す見出しあるいはシンボル等の色情報を設定により容易に変更できる。このように、利用可能な色を予め設定しておくことで、柔軟なバーコードの利用を可能とし、バーコード利用における利便性を向上させることができる。   The color information specifying unit 17 refers to use color data stored in advance in the use color information storage unit 18 and includes a portion including color information that can be used as a color that can be applied to the barcode unit 40 in the corrected barcode data. Separate no parts. Therefore, the color information of the margin part 21 or the color information such as the heading or the symbol representing the content indicated by the barcode part 40 can be easily changed for the part not including usable color information. In this way, by setting available colors in advance, flexible bar codes can be used, and convenience in bar code use can be improved.

バーコードデータの升目は最小単位が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 reference information unit 30 is small, highly accurate correction can be performed. This facilitates the setting of the position where the reference information unit 30 is arranged in advance, and various arrangement methods such as mixing reference information in the barcode unit 40 or using the barcode unit as the reference information unit are possible. is there.

本実施形態に係るバーコード読取方法で読み取るバーコードは、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.

バーコード読取装置の構成を説明するための図である。It is a figure for demonstrating the structure of a barcode reader. バーコード読取装置が読み取る読取領域の一例を模式的に表した図である。It is the figure which represented typically an example of the reading area which a barcode reader reads. 色情報の補正値算出と補正方法を模式的に表した図である。It is the figure which represented typically the correction value calculation and correction method of color information. 基準原色データと比較原色データとを比較し、色ずれ補正値を算出する方法について説明するための図である。It is a figure for demonstrating the method of comparing a reference | standard primary color data and comparative primary color data, and calculating a color shift correction value. バーコードデータの色情報の補正について説明するための図である。It is a figure for demonstrating correction | amendment of the color information of barcode data. 補正されたバーコードデータのビット構造について模式的に表した図である。It is the figure which represented typically about the bit structure of the corrected barcode data. 3色以上に色分けされたバーコードを読み取るバーコード読取方法を示すフローチャートである。It is a flowchart which shows the barcode reading method which reads the barcode classified into three or more colors.

符号の説明Explanation of symbols

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)

少なくとも3色以上に色分けされたバーコードを読み取って、当該バーコードが示す情報を取得するバーコード読取装置であって、
前記バーコード及びその周辺部分を含む領域を読み取って、当該領域内の位置における色を特定する読取データを取得するデータ読取手段と、
当該取得した読取データから、前記バーコードに対応するバーコードデータと基準データとを分離するデータ分離手段と、
当該分離した基準データに基づいて、前記バーコードデータを構成する複数のデータ要素それぞれの色情報を補正する色情報補正手段と、
前記色情報補正手段において補正された前記バーコードデータを構成する前記複数のデータ要素それぞれの色情報に対し、前記バーコードデータ及び前記基準データを構成し得る色情報として利用可能な色情報を特定する色情報特定手段と、
前記色情報特定手段の特定結果に基づいて、前記バーコードが示す情報を取得する情報取得手段と、
を備えることを特徴とするバーコード読取装置。
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:
前記データ分離手段は、前記バーコードに対応して予め定められた位置に予め定められた順番で配置され、且つ前記バーコードを構成し得る全ての色を分解して得られる原色成分に対応する原色成分を含む前記読取データを分離して、前記基準データを得ることを特徴とする、請求項1に記載のバーコード読取装置。   The data separating means is arranged in a predetermined order at a predetermined position corresponding to the barcode, and corresponds to a primary color component obtained by separating all colors that can constitute the barcode. 2. The barcode reading apparatus according to claim 1, wherein the reference data is obtained by separating the reading data including primary color components. 前記色情報補正手段は、前記バーコードデータを構成する前記複数のデータ要素それぞれの色情報を分解して得られる原色成分に対し、前記基準データに含まれる色情報を分解して得られる原色成分と予め用意された比較原色成分とを比較して得た差分に基づいて補正を行うことにより、前記バーコードデータを構成する複数のデータ要素それぞれの色情報を補正することを特徴とする、請求項1又は請求項2に記載のバーコード読取装置。   The color information correction means is a primary color component obtained by decomposing color information included in the reference data with respect to a primary color component obtained by decomposing color information of each of the plurality of data elements constituting the barcode data. The color information of each of the plurality of data elements constituting the barcode data is corrected by performing correction based on a difference obtained by comparing the comparison primary color component prepared in advance with a comparison primary color component. Item 3. A barcode reader according to item 1 or item 2. 前記情報取得手段は、前記色情報補正手段において補正されたバーコードデータのうち前記色情報特定手段において利用可能と特定された色情報の各原色成分の明度を表す値を2進数のビット列にそれぞれ変換し、変換された前記ビット列に対しては、印刷時で加えられた符号を複号することで前記バーコードが示す情報を取得することを特徴とする請求項1〜3のいずれか1項に記載のバーコード読取装置。   The information acquisition means is a binary bit string representing a value representing the lightness of each primary color component of the color information identified as usable in the color information identification means among the barcode data corrected in the color information correction means. The information indicated by the bar code is obtained by decoding the converted bit string and decoding the code added at the time of printing. The barcode reader described in 1. 少なくとも3色以上に色分けされたバーコードを読み取って、当該バーコードが示す情報を取得するバーコード読取方法であって、
前記バーコード及びその周辺部分を含む領域を読み取って、当該領域内の位置における色を特定する読取データを取得するデータ読取ステップと、
当該取得した読取データから、前記バーコードに対応するバーコードデータと基準データとを分離するデータ分離ステップと、
当該分離した基準データに基づいて、前記バーコードデータを構成する複数のデータ要素それぞれの色情報を補正する色情報補正ステップと、
前記色情報補正ステップにおいて色情報が補正された前記バーコードデータを構成する複数のデータ要素それぞれの色情報に対し、前記バーコードデータ及び前記基準データに含まれる色情報として利用可能な色情報を特定する色情報特定ステップと、
前記色情報特定ステップの特定結果に基づいて、前記バーコードが示す情報を取得する情報取得ステップと、
を備えることを特徴とするバーコード読取方法。
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:
JP2005228585A 2005-08-05 2005-08-05 Bar code reader and bar code reading method Pending JP2007047871A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (3)

* Cited by examiner, † Cited by third party
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