JP4361725B2 - Two-dimensional code printing apparatus and two-dimensional code printing method - Google Patents

Two-dimensional code printing apparatus and two-dimensional code printing method Download PDF

Info

Publication number
JP4361725B2
JP4361725B2 JP2002361657A JP2002361657A JP4361725B2 JP 4361725 B2 JP4361725 B2 JP 4361725B2 JP 2002361657 A JP2002361657 A JP 2002361657A JP 2002361657 A JP2002361657 A JP 2002361657A JP 4361725 B2 JP4361725 B2 JP 4361725B2
Authority
JP
Japan
Prior art keywords
dimensional code
shape
reading
reading surface
printing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2002361657A
Other languages
Japanese (ja)
Other versions
JP2004188883A5 (en
JP2004188883A (en
Inventor
洋史 杉戸
英一郎 金戸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Electronics Inc
Original Assignee
Canon Electronics 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 Canon Electronics Inc filed Critical Canon Electronics Inc
Priority to JP2002361657A priority Critical patent/JP4361725B2/en
Publication of JP2004188883A publication Critical patent/JP2004188883A/en
Publication of JP2004188883A5 publication Critical patent/JP2004188883A5/ja
Application granted granted Critical
Publication of JP4361725B2 publication Critical patent/JP4361725B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K1/00Methods or arrangements for marking the record carrier in digital fashion
    • G06K1/12Methods or arrangements for marking the record carrier in digital fashion otherwise than by punching
    • G06K1/121Methods or arrangements for marking the record carrier in digital fashion otherwise than by punching by printing code marks

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Printers Characterized By Their Purpose (AREA)
  • Record Information Processing For Printing (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は2次元に配置されたセルの分布パターンにより情報を表現する2次元コードを印刷する2次元コード印刷装置および2次元コード印刷方法に関するものである。
【0002】
【従来の技術】
従来より、印刷物などに容易に機械読み取りできる情報を印刷するため、バーコードや2次元コードなどのコードシステムが用いられている。2次元コードは、2次元に配置されたセルの分布パターンにより情報を表現するもので、バーコードなどに比して、読み取り方向の制約がほとんどない、単位面積あたりの情報量が大きい、などの特徴があり、Code49、QR CODE、Veri Codeなどといったコーディング方式が知られている。
【0003】
従来の2次元コード印刷装置は、文字や数字をコード化し、2次元コードが読み取られる面が平面であることを前提として印刷を行なうものであったが、実際の読み取りでは読み取り角度や鏡面反射の影響による読み取り率の低下が発生するため、この点を解決するものとして2次元コードを構成するセルの縦横の比率を変える方法や、台形に構成する方法が提案されている(下記の特許文献1)。
【0004】
【特許文献1】
特開2000−276564号(図1)
【0005】
【発明が解決しようとする課題】
しかしながら、上記特許文献1の方式は、斜め読みなどに対する読み取り率の向上効果はあるが、印刷面や印刷物の貼付面の凹凸等の影響を軽減することはできなかった。
【0006】
実用面においては、平面のみならず、種々の変形形状を有する対象物に2次元コードを付与することができれば、2次元コードの利用により対象物に関する情報処理を大きく向上することができると考えられるが、従来の方式では平面ではない変形した読み取り面では読み取り(認識)効率が大きく低下してしまうために、変形面の対象物に対しては実用上、2次元コードを印刷することは困難であった。
【0007】
本発明の課題は、上記の問題を解決し、印刷面(ないし印刷物の貼付面)が平面以外の変形形状であっても2次元コード印刷を行なえるようにすることにある。
【0008】
【課題を解決するための手段】
上記の課題を解決するため、本発明によれば、2次元に配置されたセルの分布パターンにより情報を表現する2次元コードを読み取り面に貼り付ける貼付媒体に印刷する2次元コード印刷装置において、2次元コードを作成する作成手段と、2次元コードが読み取られる読み取り面の形状を入力する読取面形状入力手段と、前記読取面形状入力手段により入力された読み取り面の形状を解析すると共に、前記読み取り面の正面方向と読み取り時の読み取り方向とがなす角度データに基づいて、読み取り画像に生じる歪みデータを生成する面形状解析手段と、前記面形状解析手段による形状解析結果及び前記歪みデータに応じて、前記貼付媒体が前記読み取り面に貼り付けられた状態で前記貼付媒体に印刷された2次元コードを前記読み取り方向から見た場合に、前記作成手段により作成された2次元コードの形状となるように、前記作成手段により作成された2次元コードの大きさまたは形状を変化させる2次元コード変形手段と、前記2次元コード変形手段により生成された変形2次元コードを前記貼付媒体に印刷出力する印刷手段を有することを特徴とする2次元コード印刷装置が提供される。
また、本発明によれば、2次元に配置されたセルの分布パターンにより情報を表現する2次元コードを読み取り面に貼り付ける貼付媒体に印刷する2次元コード印刷方法において、2次元コードを作成する作成工程と、2次元コードが読み取られる読み取り面の形状を入力する工程と、入力された読み取り面の形状を解析すると共に、前記読み取り面の正面方向と読み取り時の読み取り方向とがなす角度データに基づいて、読み取り画像に生じる歪みデータを生成する工程と、該形状解析結果及び前記歪みデータに応じて、前記貼付媒体が前記読み取り面に貼り付けられた状態で前記貼付媒体に印刷された2次元コードを前記読み取り方向から見た場合に、前記作成工程により作成された2次元コードの形状となるように、前記作成工程により作成された2次元コードの大きさまたは形状を変化させて変形2次元コードを得、前記貼付媒体に印刷出力する工程と、を備えたことを特徴とする2次元コード印刷方法が提供される。
【0009】
【発明の実施の形態】
以下、図を参照して本発明の実施の形態を説明する。
【0010】
図1は本発明を採用した2次元コード印刷装置の構成を示している。図1において符号1は2次元コード化するデータを入力する入力部であり、2は入力部1より入力されたデータを2次元コードに変換し2次元コードを作成する2次元コード作成部である。
【0011】
入力部1が本装置に導入する2次元コード化すべきデータ(原データ)は、どのような経路で入力されるものであってもよい。原データは、他の装置(たとえばホストコンピュータなど)から転送される、キーボードなどのユーザーインターフェースから入力される、あるいは、あらかじめハードディスクなどに格納されているものが考えられるが、入力部1はこれらの原データの経路に応じた入力インターフェースを有していれば良い。2次元コード作成部2は、入力部1から入力された原データから所定のコーディング方式に基いて2次元コードを発生させる。
【0012】
符号6はコード変形部5で変形させた2次元コードを印刷する印刷部で、任意の印刷方式により構成することができる。本実施形態では、読み取り面が平面ではない場合も想定しているので、印刷部6は用途によっては平面ではない読み取り面に印刷ができるよう構成されているものとする。ただし、シールやステッカーなどに印刷した2次元コードを読み取り面に貼付するような用途においては必ずしもこの限りではない。
【0013】
以上までに示した入力部1、2次元コード作成部2、印刷部6は公知の構成と同様のものであるが、本実施形態の特徴は、読み取り面の形状に応じて印刷部6で印刷する2次元コードの形状を変形することができるようにするために読取面形状入力部3、面形状解析部4、およびコード変形部5を設けた点にある。
【0014】
読取面形状入力部3は、2次元コードの読み取り面、すなわち、印刷部6が印刷を行なう印刷面、あるいは印刷した2次元コードの貼付面などの形状を入力する手段である。読取面形状入力部3は、2次元コードの読み取り面の形状を入力できるものであればその構成は任意である。たとえば、読取面形状入力部3の構成としては、スキャナやカメラによる撮影画像を入力するもの、数値表現などにより3次元データ(座標データ、あるいは面形状を表現できるものであれば所定の画像アプリケーションが用いる特定の3次元画像データのようなものであってもよい)を入力するものなどが考えられる。
【0015】
面形状解析部4は読取面形状入力部3から入力された2次元コードの読み取り面の形状情報(画像データや3次元データ)の凹凸や曲面の解析を行なう。
【0016】
コード変形部5は、2次元コード作成部2が作成した2次元コードを、面形状解析部4の解析結果に基づき、正面から見た時に2次元コードが最適な形状に見える形に変形させ、印刷部6に送り、印刷させる。
【0017】
次に以上の構成における動作について説明する。
【0018】
図2にデータの流れの一例を示す。図2において、符号7は入力部1から入力するデータであり、8は2次元コード作成部2にてデータ7から作成した2次元コードである。
【0019】
一方、符号9は読取面形状入力部3より入力した印刷面の画像であり、この例では図示のような円筒面(円筒の側面)に2次元コードが印刷(あるいはシールにより貼付)されるものとする。読取面形状入力部3は符号9のような円筒面の情報をデジタルカメラなどで撮影した画像データとして入力する。(好ましくは)読取面形状入力部3より入力する画像の撮影方向は読み取り時の読み取り(撮影)方向と一致しているものとする。その陰影情報などから面形状解析部4が符号10のように面形状(断面形状)を解析する。
【0020】
なお、図2においては便宜上、符号9の円筒は斜視図形式で図示してあるが、図2の例では読取面形状入力部3より入力する印刷面の画像は円筒面を正面から撮影したものであり、この撮影方向は読み取り時の読み取り(撮影)方向と一致しているものとする。読み取り時の読み取り(撮影)方向が正面からではない場合の例は図5により後述する。
【0021】
さて、符号11は、面形状解析部4において、面形状解析結果10から変形方式を決定し、得られるピッチ(密度)情報で、図2においては横方向のピッチ(密度)を表している。符号12は、2次元コード8を上記のピッチ(密度)情報11に合わせて変形した結果であり、この変形した2次元コード12が印刷部6により印刷される。コード変形部5はこの面形状解析結果10からの変形方式の決定およびコードの変形処理を行なう。
【0022】
図2のような円筒面をなす2次元コードの読み取り面(9)を正面から読み取った(撮影した)場合には、読み取り面(9)上の像の大きさは中央の部分よりも左右の周辺の方が小さくなる。そこで、符号12のように中央の密度が元の2次元コード8と同じで、左右の周辺部において密度が低くなるように変形させた2次元コードを生成し、印刷(あるいは印刷したシールを貼付)しておけば、円筒面をなす2次元コードの読み取り面(9)を読み取った時に得られる画像は元の2次元コード8とほぼ同じ形状のコードとなる。
【0023】
このように、読み取り面の形状に依存して読み取り時の画像に生じる変形を見越した変形2次元コード12を得、これを印刷部6により印刷するようにしておけば、読み取り時のコード認識率を大きく向上することができる。
【0024】
読み取り時の画像に生じる変形を見越した変形2次元コード12を得る演算の方式には、いくつかの構成が考えられる。図2では、変形した2次元コード12の密度を決定するのにピッチ(密度)情報11を用いているが、このピッチ情報11は、たとえば面形状解析結果10の断面曲線(円周)上に等間隔で並ぶ点P…を投影面l上に投影して得られる点P’…の密度分布の逆関数で表現される情報を有していればよい。
【0025】
なお、ピッチ情報11は図示(図2)のようにコードとともに印刷してもよいが、ピッチ情報11の印刷出力は必ずしも必須ではない。
【0026】
図3は凹凸のある面に2次元コードを印刷する例を示している。図3の符号13は印刷面(読み取り面)であり、屏風状の凹凸(凹、凸の面の角度は、たとえばそれぞれ45°であるものとする)を多数条有する形状となっている。読取面形状入力部3、面形状解析部4、およびコード変形部5の処理は上記と全く同様に行なわれるが、読み取り面がこのような凹凸形状である場合は、読み取り時の画像に生じる変形を見越した変形2次元コードを得るためのピッチ(密度)情報は、図の水平方向に関しては一様であるが、その水平方向の密度情報は垂直方向の密度情報よりも低密度になっていればよい。このようなピッチ(密度)情報を生成して得た変形した2次元コードは符号14のようになる。そして、符号15は読み取り面の印刷結果をほぼ正面から示したものである。このように、符号14のような変形2次元コードを印刷しておけば、正面から読み取った時に正規な(変形前の)2次元コードとして撮像される。
【0027】
図4は、2次元コードの読み取り面の一部に変形がある場合の例である。図4でも、読取面形状入力部3、面形状解析部4、およびコード変形部5の処理は上記と全く同様に行なわれる。図4の印刷面(読み取り面)16は中心部にのみ1条だけ屏風状の変形がある。図3の説明から明らかなように、このような印刷面の場合には、中心部の屏風状の変形の部分のみにおいて、水平方向の密度情報が垂直方向の密度情報よりも低密度になっていればよく、面形状解析結果に基づき変形した2次元コードは符号17のようになる。符号18は読み取り面の印刷結果をほぼ正面から示したものである。このように、符号17のような変形2次元コードを印刷しておけば、正面から読み取った時に正規な(変形前の)2次元コードとして撮像される。
【0028】
さて、先に触れたように、読み取り時の読み取り(撮影)方向が正面からではない場合には、図5のような補正を行なうことができる。図5において符号19は、読取面形状入力部3に入力される画像で、図2のものと同様の円筒面を下斜めの角度から撮影したものである。この種の鳥瞰(俯瞰)撮影の撮影角度は、読取面形状入力部3などで公知の画像解析を行なうことによっても自動取得できるが、2次元コードの読み取りのように読み取り条件をある程度厳格に制御できるような場合はあらかじめ固定の読み取り(撮影)角度の数値が決まっている場合もあり得るので、その場合にはその数値を用いればよい。符号20はこのようにして自動取得した、あるいは数値入力された読み取り(撮影)角度データを示している。
【0029】
面形状解析部4では、図2の例と同様に円筒面に関する面形状解析結果10が得られる。また、読み取り(撮影)角度データ20に基づき、読み取り(撮影)に生じる画像の歪みデータ21を得ることができる。図5の歪みデータ21は、2次元コードの外形に対応する正方形を読み取り(撮影)角度データ20の示す角度で撮影した場合、撮像面に得られる台形として示したものである。図5の歪みデータ21の下部は近距離部、上部は遠距離部に相当し、遠距離の部位ほど撮像面に得られる画像のみかけの大きさは図示のように縮小される。
【0030】
変形前の2次元コード8に対して、面形状解析結果10に基く曲面に関する補正と、歪みデータ21に基く読み取り(撮影)角度に依存する歪みの補正を行なうことにより、符号22のような変形2次元コードを得ることができる。このような2次元コード22を円筒面(19)に印刷(またはシールにより貼付)しておき、読み取り(撮影)角度データ20に一致した角度で読み取り(撮影)を行なえば、撮像面上には変形前の2次元コード8とほぼ同等の2次元コードを撮像することができる。
【0031】
なお、図5において、読み取り(撮影)角度に依存する歪みの補正を行なうための歪みデータ21の生成時には、読み取り装置の光学系の焦点距離により生じる撮像面上の像の変形の度合(近距離部位が大きく、また遠距離部位が小さく撮像されるその大小比率)の条件などを加味することができる。
【0032】
以上に示したように、本実施形態によれば、読み取り面の形状に依存して読み取り時の画像に生じる変形を見越した変形2次元コードを得、これを実際の読み取り面に印刷(あるいはそれを印刷したシールなどにより貼付)するようにしているので、読み取り面の形状に依存する読み取り率の低下を確実に防止できる、凹凸のある読み取り面に印刷した2次元コードにおいて、2次元コードの歪み耐性を超えて読み取りを行なうことが可能となる、などの優れた効果を得ることができる。また、特に図5の例のように、さらに読み取り(撮影)角度データ20による補正を行なう方式によれば、たとえば工場のラインで用いられる固定式カメラなどを用いた読み取り装置を用いる場合において読み取り(撮影)方向にみあった2次元コードを対象物に付与することができ、読み取り率の向上を図ることができる。
【0033】
要約すれば、本発明は、次のような装置および方法に関する実施態様の範囲を含むものである。
【0034】
<実施態様1> 2次元に配置されたセルの分布パターンにより情報を表現する2次元コードを印刷する2次元コード印刷装置において、
2次元コードが読み取られる読み取り面の形状を入力する読取面形状入力手段と、
前記読取面形状入力手段により入力された読み取り面の形状を解析する面形状解析手段と、
前記面形状解析手段による形状解析結果に応じて印刷すべき2次元コードの大きさまたは形状を変化させる2次元コード変形手段と、
前記2次元コード変形手段により生成された変形2次元コードを印刷出力する印刷手段を有することを特徴とする2次元コード印刷装置。
【0035】
<実施態様2> 前記読取面形状入力手段が、読み取り面の画像データをその形状情報として入力することを特徴とする実施態様1に記載の2次元コード印刷装置。
【0036】
<実施態様3> 読み取り面上において2次元コードが読み取られる際の読み取り角度に関する情報を用いて前記2次元コード変形手段が印刷すべき2次元コードの大きさまたは形状を変化させることを特徴とする実施態様1に記載の2次元コード印刷装置。
【0037】
<実施態様4> 2次元に配置されたセルの分布パターンにより情報を表現する2次元コードを印刷する2次元コード印刷方法において、
2次元コードが読み取られる読み取り面の形状を入力し、
入力された読み取り面の形状を解析し、
該形状解析結果に応じて2次元コードの大きさまたは形状を変化させて変形2次元コードを得、印刷出力することを特徴とする2次元コード印刷方法。
【0038】
<実施態様5> 読み取り面の画像データをその形状情報として入力することを特徴とする実施態様4に記載の2次元コード印刷方法。
【0039】
<実施態様6> 読み取り面上において2次元コードが読み取られる際の読み取り角度に関する情報を用いて印刷すべき2次元コードの大きさまたは形状を変化させることを特徴とする実施態様4に記載の2次元コード印刷方法。
【0040】
【発明の効果】
以上の説明から明らかなように、本発明によれば、読み取り面の形状や読み取り角度に依存する読み取り率の低下を確実に防止できる、という優れた効果が得られる。
【図面の簡単な説明】
【図1】本発明を実施した2次元コード印刷装置の構成を示したブロック図である。
【図2】図1のブロック図に対応したデータの流れの一例を示した説明図である。
【図3】凹凸のある面に2次元コードを印刷する一例を示した説明図である。
【図4】2次元コードの印刷部の一部に変形がある場合の一例を示した説明図である。
【図5】読み取り角度を含んだ変形方法の一例を示した説明図である。
【符号の説明】
1 入力部
2 2次元コード作成部
3 読取面形状入力部
4 面形状解析部
5 コード変形部
6 印刷部
7 データ
8 2次元コード
9 画像データ
10 面形状解析結果
11 ピッチ(密度)情報
12 変形した2次元コード
13 印刷面
14 変形した2次元コード
15 印刷イメージ
16 印刷面
17 変形した2次元コード
18 印刷イメージ
19 画像データ
20 角度データ
21 歪みデータ(角度解析結果)
22 変形した2次元コード
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a two-dimensional code printing apparatus and a two-dimensional code printing method for printing a two-dimensional code representing information by a distribution pattern of cells arranged two-dimensionally.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, a code system such as a barcode or a two-dimensional code has been used to print information that can be easily read by a machine on a printed matter. The two-dimensional code expresses information by the distribution pattern of the cells arranged in two dimensions. There are almost no restrictions on the reading direction and the amount of information per unit area is larger than that of a barcode. There are features, and coding schemes such as Code 49, QR CODE, Veri Code, and the like are known.
[0003]
The conventional two-dimensional code printing apparatus encodes characters and numbers and performs printing on the premise that the surface on which the two-dimensional code is read is a flat surface. Since the reading rate is reduced due to the influence, a method for changing the vertical / horizontal ratio of the cells constituting the two-dimensional code and a method for forming a trapezoid have been proposed to solve this problem (Patent Document 1 below). ).
[0004]
[Patent Document 1]
JP 2000-276564 A (FIG. 1)
[0005]
[Problems to be solved by the invention]
However, although the method of Patent Document 1 has an effect of improving the reading rate with respect to oblique reading or the like, it has not been possible to reduce the influence of unevenness on the printing surface or the pasting surface of the printed material.
[0006]
In practical terms, if a two-dimensional code can be applied not only to a flat surface but also to an object having various deformed shapes, it is considered that information processing on the object can be greatly improved by using the two-dimensional code. However, since the reading (recognition) efficiency is greatly reduced on a deformed reading surface that is not a flat surface in the conventional method, it is practically difficult to print a two-dimensional code on an object on the deformed surface. there were.
[0007]
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-described problems and enable two-dimensional code printing to be performed even when the printing surface (or the pasting surface of the printed material) has a deformed shape other than a flat surface.
[0008]
[Means for Solving the Problems]
In order to solve the above-described problem, according to the present invention, in a two-dimensional code printing apparatus that prints a two-dimensional code representing information by a distribution pattern of cells arranged two-dimensionally on a pasting medium that is pasted on a reading surface , Creating means for creating a two-dimensional code; reading surface shape input means for inputting a shape of a reading surface from which a two-dimensional code is read; and analyzing a shape of a reading surface input by the reading surface shape input means ; Based on the angle data formed by the front direction of the reading surface and the reading direction at the time of reading, surface shape analyzing means for generating distortion data generated in the read image, according to the shape analysis result by the surface shape analyzing means and the distortion data Te, the read two-dimensional code which the sticking medium is printed on the sticking medium in a state stuck to the reading surface When viewed from the direction, such that the shape of the two-dimensional code created by the creation means, and the two-dimensional code deforming means for changing the size or shape of the two-dimensional code created by the creation means, wherein There is provided a two-dimensional code printing apparatus comprising printing means for printing out the modified two-dimensional code generated by the two-dimensional code deformation means on the pasting medium .
Further, according to the present invention, a two-dimensional code is generated in a two-dimensional code printing method for printing a two-dimensional code representing information by a distribution pattern of cells arranged two-dimensionally on a pasting medium to be pasted on a reading surface. The step of inputting the shape of the reading surface from which the two-dimensional code is read, the shape of the input reading surface being analyzed, and the angle data formed by the front direction of the reading surface and the reading direction at the time of reading Based on the step of generating distortion data generated in the read image and the shape analysis result and the distortion data, the two-dimensional printed on the sticking medium in a state where the sticking medium is stuck on the reading surface When the code is viewed from the reading direction, according to the creation step, the shape of the two-dimensional code created by the creation step is obtained. Varying the size or shape of the two-dimensional code created by obtaining a modified two-dimensional code, the two-dimensional code printing method comprising the a step of printing out the sticking medium.
[0009]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
[0010]
FIG. 1 shows the configuration of a two-dimensional code printing apparatus employing the present invention. In FIG. 1, reference numeral 1 denotes an input unit for inputting data to be two-dimensionally encoded, and reference numeral 2 denotes a two-dimensional code creation unit that converts data input from the input unit 1 into a two-dimensional code and creates a two-dimensional code. .
[0011]
The data to be two-dimensionally encoded (original data) introduced into the apparatus by the input unit 1 may be input by any route. The original data may be transferred from another device (for example, a host computer), input from a user interface such as a keyboard, or stored in advance in a hard disk or the like. It is only necessary to have an input interface corresponding to the path of the original data. The two-dimensional code creation unit 2 generates a two-dimensional code from the original data input from the input unit 1 based on a predetermined coding method.
[0012]
Reference numeral 6 denotes a printing unit that prints the two-dimensional code deformed by the code deforming unit 5 and can be configured by an arbitrary printing method. In the present embodiment, since it is assumed that the reading surface is not a flat surface, the printing unit 6 is configured to be able to print on a reading surface that is not a flat surface depending on the application. However, this is not necessarily the case in applications where a two-dimensional code printed on a sticker or sticker is attached to the reading surface.
[0013]
The input unit 1, the two-dimensional code creation unit 2, and the printing unit 6 described above are the same as those in the known configuration, but the feature of the present embodiment is that the printing unit 6 prints according to the shape of the reading surface. The reading surface shape input unit 3, the surface shape analysis unit 4, and the code deformation unit 5 are provided so that the shape of the two-dimensional code can be deformed.
[0014]
The reading surface shape input unit 3 is a means for inputting the shape of a reading surface of a two-dimensional code, that is, a printing surface on which the printing unit 6 performs printing or a pasting surface of a printed two-dimensional code. The configuration of the reading surface shape input unit 3 is arbitrary as long as it can input the shape of the reading surface of the two-dimensional code. For example, as the configuration of the reading surface shape input unit 3, a predetermined image application can be used as long as it can input a photographed image by a scanner or camera, or can express three-dimensional data (coordinate data or surface shape by numerical expression). It is possible to input data such as specific 3D image data to be used).
[0015]
The surface shape analysis unit 4 analyzes unevenness and curved surfaces of the shape information (image data and three-dimensional data) of the reading surface of the two-dimensional code input from the reading surface shape input unit 3.
[0016]
The code deforming unit 5 deforms the two-dimensional code created by the two-dimensional code creating unit 2 based on the analysis result of the surface shape analyzing unit 4 so that the two-dimensional code looks like an optimum shape when viewed from the front. It is sent to the printing unit 6 for printing.
[0017]
Next, the operation in the above configuration will be described.
[0018]
FIG. 2 shows an example of the data flow. In FIG. 2, reference numeral 7 is data input from the input unit 1, and 8 is a two-dimensional code created from the data 7 by the two-dimensional code creation unit 2.
[0019]
On the other hand, reference numeral 9 denotes an image of a printing surface input from the reading surface shape input unit 3, and in this example, a two-dimensional code is printed (or attached with a seal) on a cylindrical surface (side surface of the cylinder) as shown in the figure. And The reading surface shape input unit 3 inputs cylindrical surface information such as reference numeral 9 as image data captured by a digital camera or the like. (Preferably) It is assumed that the shooting direction of the image input from the reading surface shape input unit 3 is the same as the reading (shooting) direction at the time of reading. The surface shape analysis unit 4 analyzes the surface shape (cross-sectional shape) as indicated by reference numeral 10 based on the shadow information and the like.
[0020]
In FIG. 2, for convenience, the cylinder 9 is shown in a perspective view. In the example of FIG. 2, the image of the print surface input from the reading surface shape input unit 3 is obtained by photographing the cylinder surface from the front. It is assumed that this shooting direction coincides with the reading (shooting) direction at the time of reading. An example in which the reading (photographing) direction at the time of reading is not from the front will be described later with reference to FIG.
[0021]
Reference numeral 11 denotes the pitch (density) information obtained by determining the deformation method from the surface shape analysis result 10 in the surface shape analysis unit 4 and represents the horizontal pitch (density) in FIG. Reference numeral 12 is a result of deforming the two-dimensional code 8 in accordance with the pitch (density) information 11, and the deformed two-dimensional code 12 is printed by the printing unit 6. The code deforming unit 5 determines a deformation method from the surface shape analysis result 10 and performs code deformation processing.
[0022]
When the reading surface (9) of the two-dimensional code having a cylindrical surface as shown in FIG. 2 is read (captured) from the front, the size of the image on the reading surface (9) is more right and left than the center portion. The periphery is smaller. Therefore, a two-dimensional code having a central density that is the same as the original two-dimensional code 8 and deformed so that the density is reduced in the left and right peripheral portions as shown by reference numeral 12 is generated and printed (or a printed seal is affixed). ), The image obtained when the two-dimensional code reading surface (9) forming the cylindrical surface is read becomes a code having substantially the same shape as the original two-dimensional code 8.
[0023]
In this way, if the deformed two-dimensional code 12 that anticipates the deformation that occurs in the image at the time of reading depending on the shape of the reading surface is obtained and printed by the printing unit 6, the code recognition rate at the time of reading can be obtained. Can be greatly improved.
[0024]
Several configurations can be considered for the calculation method for obtaining the deformed two-dimensional code 12 in anticipation of the deformation occurring in the image at the time of reading. In FIG. 2, the pitch (density) information 11 is used to determine the density of the deformed two-dimensional code 12. This pitch information 11 is, for example, on the cross-sectional curve (circumference) of the surface shape analysis result 10. It is only necessary to have information expressed by an inverse function of the density distribution of the points P ′ obtained by projecting the points P arranged at equal intervals onto the projection plane l.
[0025]
The pitch information 11 may be printed together with the code as shown (FIG. 2), but the print output of the pitch information 11 is not always essential.
[0026]
FIG. 3 shows an example of printing a two-dimensional code on an uneven surface. Reference numeral 13 in FIG. 3 denotes a printing surface (reading surface), which has a shape having a number of screen-like irregularities (the angles of the concave and convex surfaces are 45 °, for example). The processing of the reading surface shape input unit 3, the surface shape analysis unit 4, and the code deformation unit 5 is performed in exactly the same manner as described above. However, when the reading surface has such a concavo-convex shape, deformation that occurs in the image at the time of reading. The pitch (density) information for obtaining a deformed two-dimensional code in anticipation of the image is uniform in the horizontal direction of the figure, but the density information in the horizontal direction is lower than the density information in the vertical direction. That's fine. A deformed two-dimensional code obtained by generating such pitch (density) information is represented by reference numeral 14. Reference numeral 15 indicates the printing result on the reading surface from the front. In this way, if a modified two-dimensional code such as reference numeral 14 is printed, the image is captured as a normal (before deformation) two-dimensional code when read from the front.
[0027]
FIG. 4 shows an example in which a part of the reading surface of the two-dimensional code is deformed. Also in FIG. 4, the processing of the reading surface shape input unit 3, the surface shape analysis unit 4, and the code deformation unit 5 is performed in exactly the same manner as described above. The printing surface (reading surface) 16 in FIG. 4 has a folding screen-like deformation only at the center. As is clear from the description of FIG. 3, in the case of such a printing surface, the horizontal density information is lower than the vertical density information only in the folding screen-shaped deformation portion at the center. The two-dimensional code deformed based on the surface shape analysis result is as indicated by reference numeral 17. Reference numeral 18 indicates the printing result on the reading surface from the front. In this way, if a modified two-dimensional code such as reference numeral 17 is printed, the image is captured as a regular (before deformation) two-dimensional code when read from the front.
[0028]
As described above, when the reading (photographing) direction at the time of reading is not from the front, correction as shown in FIG. 5 can be performed. In FIG. 5, reference numeral 19 denotes an image input to the reading surface shape input unit 3, which is obtained by photographing a cylindrical surface similar to that in FIG. 2 from a downward oblique angle. The shooting angle of this type of bird's-eye (bird's-eye) shooting can be automatically acquired by performing known image analysis using the reading surface shape input unit 3 or the like, but the reading conditions are controlled to some extent strictly like reading a two-dimensional code. If possible, a fixed reading (photographing) angle value may be determined in advance, and in that case, the value may be used. Reference numeral 20 indicates reading (photographing) angle data automatically acquired in this way or numerically input.
[0029]
In the surface shape analysis unit 4, a surface shape analysis result 10 relating to the cylindrical surface is obtained as in the example of FIG. Further, based on the reading (photographing) angle data 20, image distortion data 21 generated in reading (photographing) can be obtained. The distortion data 21 in FIG. 5 is shown as a trapezoid obtained on the imaging surface when a square corresponding to the outer shape of the two-dimensional code is read and photographed at an angle indicated by the (photographing) angle data 20. The lower portion of the distortion data 21 in FIG. 5 corresponds to a short distance portion, and the upper portion corresponds to a long distance portion, and the apparent size of the image obtained on the imaging surface is reduced as shown in the drawing as the portion is far away.
[0030]
By performing correction related to the curved surface based on the surface shape analysis result 10 and distortion correction depending on the reading (photographing) angle based on the distortion data 21 with respect to the two-dimensional code 8 before the deformation, the deformation as indicated by reference numeral 22 is performed. A two-dimensional code can be obtained. If such a two-dimensional code 22 is printed (or affixed with a seal) on the cylindrical surface (19), and reading (photographing) is performed at an angle that matches the reading (photographing) angle data 20, the image is displayed on the imaging surface. A two-dimensional code substantially equivalent to the two-dimensional code 8 before deformation can be imaged.
[0031]
In FIG. 5, when generating distortion data 21 for correcting distortion depending on the reading (photographing) angle, the degree of deformation of the image on the imaging surface (short distance) caused by the focal length of the optical system of the reading device. It is possible to take into account the condition of the ratio of the size of the region being large and the far-distance region being small.
[0032]
As described above, according to the present embodiment, a deformed two-dimensional code that anticipates the deformation that occurs in the image at the time of reading depending on the shape of the reading surface is obtained and printed on the actual reading surface (or it) 2D code printed on an uneven reading surface that can reliably prevent a decrease in reading rate depending on the shape of the reading surface. It is possible to obtain an excellent effect such that reading can be performed beyond the tolerance. Further, in particular, as in the example of FIG. 5, according to the method of performing correction using the reading (photographing) angle data 20, reading is performed when using a reading device using a fixed camera used in a factory line, for example ( A two-dimensional code suitable for the (photographing) direction can be given to the object, and the reading rate can be improved.
[0033]
In summary, the present invention includes a range of embodiments relating to the following apparatus and method.
[0034]
<Embodiment 1> In a two-dimensional code printing apparatus that prints a two-dimensional code representing information by a distribution pattern of cells arranged two-dimensionally,
Reading surface shape input means for inputting the shape of the reading surface from which the two-dimensional code is read;
Surface shape analysis means for analyzing the shape of the reading surface input by the reading surface shape input means;
Two-dimensional code deformation means for changing the size or shape of the two-dimensional code to be printed according to the shape analysis result by the surface shape analysis means;
A two-dimensional code printing apparatus comprising printing means for printing out the modified two-dimensional code generated by the two-dimensional code deforming means.
[0035]
<Embodiment 2> The two-dimensional code printing apparatus according to Embodiment 1, wherein the reading surface shape input unit inputs image data of the reading surface as shape information.
[0036]
<Embodiment 3> The size or shape of a two-dimensional code to be printed by the two-dimensional code deformation means is changed using information on a reading angle when the two-dimensional code is read on a reading surface. The two-dimensional code printing apparatus according to the first embodiment.
[0037]
<Embodiment 4> In a two-dimensional code printing method for printing a two-dimensional code representing information by a distribution pattern of cells arranged two-dimensionally,
Enter the shape of the reading surface from which the two-dimensional code is read,
Analyzes the shape of the input reading surface,
A two-dimensional code printing method comprising: obtaining a deformed two-dimensional code by changing the size or shape of the two-dimensional code according to the shape analysis result;
[0038]
<Embodiment 5> The two-dimensional code printing method according to Embodiment 4, wherein image data of a reading surface is input as shape information.
[0039]
<Embodiment 6> 2 according to embodiment 4, wherein the size or shape of the two-dimensional code to be printed is changed using information relating to the reading angle when the two-dimensional code is read on the reading surface. Dimension code printing method.
[0040]
【The invention's effect】
As apparent from the above description, according to the present invention, it is possible to reliably prevent a reduction in read rate that depends on the shape and the reading angle read-surface, excellent effect can be obtained.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a two-dimensional code printing apparatus embodying the present invention.
FIG. 2 is an explanatory diagram showing an example of a data flow corresponding to the block diagram of FIG. 1;
FIG. 3 is an explanatory diagram showing an example of printing a two-dimensional code on an uneven surface.
FIG. 4 is an explanatory diagram showing an example in which a part of a two-dimensional code printing unit is deformed.
FIG. 5 is an explanatory diagram showing an example of a deformation method including a reading angle.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Input part 2 Two-dimensional code creation part 3 Reading surface shape input part 4 Surface shape analysis part 5 Code deformation part 6 Printing part 7 Data 8 Two-dimensional code 9 Image data 10 Surface shape analysis result 11 Pitch (density) information 12 Deformed Two-dimensional code 13 Print surface 14 Deformed two-dimensional code 15 Print image 16 Print surface 17 Deformed two-dimensional code 18 Print image 19 Image data 20 Angle data 21 Distortion data (angle analysis result)
22 Modified two-dimensional code

Claims (4)

2次元に配置されたセルの分布パターンにより情報を表現する2次元コードを読み取り面に貼り付ける貼付媒体に印刷する2次元コード印刷装置において、
2次元コードを作成する作成手段と、
2次元コードが読み取られる読み取り面の形状を入力する読取面形状入力手段と、
前記読取面形状入力手段により入力された読み取り面の形状を解析すると共に、前記読み取り面の正面方向と読み取り時の読み取り方向とがなす角度データに基づいて、読み取り画像に生じる歪みデータを生成する面形状解析手段と、
前記面形状解析手段による形状解析結果及び前記歪みデータに応じて、前記貼付媒体が前記読み取り面に貼り付けられた状態で前記貼付媒体に印刷された2次元コードを前記読み取り方向から見た場合に、前記作成手段により作成された2次元コードの形状となるように、前記作成手段により作成された2次元コードの大きさまたは形状を変化させる2次元コード変形手段と、
前記2次元コード変形手段により生成された変形2次元コードを前記貼付媒体に印刷出力する印刷手段を有することを特徴とする2次元コード印刷装置。
In a two-dimensional code printing apparatus that prints a two-dimensional code representing information by a distribution pattern of cells arranged two-dimensionally on a pasting medium that is pasted on a reading surface ,
Creating means for creating a two-dimensional code;
Reading surface shape input means for inputting the shape of the reading surface from which the two-dimensional code is read;
A surface that analyzes the shape of the reading surface input by the reading surface shape input unit and generates distortion data generated in the read image based on angle data formed by the front direction of the reading surface and the reading direction at the time of reading. Shape analysis means;
When the two-dimensional code printed on the pasting medium is viewed from the reading direction in a state where the pasting medium is pasted on the reading surface according to the shape analysis result by the surface shape analyzing unit and the distortion data. Two-dimensional code deformation means for changing the size or shape of the two-dimensional code created by the creating means so as to be the shape of the two-dimensional code created by the creating means;
A two-dimensional code printing apparatus comprising: a printing unit that prints and outputs the modified two-dimensional code generated by the two-dimensional code modifying unit on the pasting medium .
前記読取面形状入力手段が、読み取り面の画像データをその形状情報として入力することを特徴とする請求項1に記載の2次元コード印刷装置。  The two-dimensional code printing apparatus according to claim 1, wherein the reading surface shape input unit inputs image data of the reading surface as shape information. 2次元に配置されたセルの分布パターンにより情報を表現する2次元コードを読み取り面に貼り付ける貼付媒体に印刷する2次元コード印刷方法において、
2次元コードを作成する作成工程と、
2次元コードが読み取られる読み取り面の形状を入力する工程と、
入力された読み取り面の形状を解析すると共に、前記読み取り面の正面方向と読み取り時の読み取り方向とがなす角度データに基づいて、読み取り画像に生じる歪みデータを生成する工程と、
該形状解析結果及び前記歪みデータに応じて、前記貼付媒体が前記読み取り面に貼り付けられた状態で前記貼付媒体に印刷された2次元コードを前記読み取り方向から見た場合に、前記作成工程により作成された2次元コードの形状となるように、前記作成工程により作成された2次元コードの大きさまたは形状を変化させて変形2次元コードを得、前記貼付媒体に印刷出力する工程と、
を備えたことを特徴とする2次元コード印刷方法。
In a two-dimensional code printing method for printing a two-dimensional code expressing information by a distribution pattern of cells arranged two-dimensionally on a pasting medium to be attached to a reading surface ,
A creation process for creating a two-dimensional code;
Inputting a shape of a reading surface from which a two-dimensional code is read ;
Analyzing the shape of the input reading surface, and generating distortion data generated in the read image based on angle data formed by the front direction of the reading surface and the reading direction at the time of reading;
According to the shape analysis result and the distortion data, when the two-dimensional code printed on the sticking medium is seen from the reading direction in a state where the sticking medium is stuck on the reading surface, Obtaining a deformed two-dimensional code by changing the size or shape of the two-dimensional code created by the creating step so as to be the shape of the created two-dimensional code, and printing out the pasted medium ;
2-dimensional code printing method characterized by comprising a.
読み取り面の画像データをその形状情報として入力することを特徴とする請求項に記載の2次元コード印刷方法。4. The two-dimensional code printing method according to claim 3 , wherein image data on the reading surface is input as shape information.
JP2002361657A 2002-12-13 2002-12-13 Two-dimensional code printing apparatus and two-dimensional code printing method Expired - Fee Related JP4361725B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002361657A JP4361725B2 (en) 2002-12-13 2002-12-13 Two-dimensional code printing apparatus and two-dimensional code printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002361657A JP4361725B2 (en) 2002-12-13 2002-12-13 Two-dimensional code printing apparatus and two-dimensional code printing method

Publications (3)

Publication Number Publication Date
JP2004188883A JP2004188883A (en) 2004-07-08
JP2004188883A5 JP2004188883A5 (en) 2006-01-12
JP4361725B2 true JP4361725B2 (en) 2009-11-11

Family

ID=32760309

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002361657A Expired - Fee Related JP4361725B2 (en) 2002-12-13 2002-12-13 Two-dimensional code printing apparatus and two-dimensional code printing method

Country Status (1)

Country Link
JP (1) JP4361725B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102085480B1 (en) * 2019-06-14 2020-05-18 이광열 Apparatus, system, method, and computer program for printing qr code

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011225232A (en) * 2010-04-16 2011-11-10 Nippon Steel Corp Coil binding hoop with bar code printed thereon
JP6409449B2 (en) * 2014-09-26 2018-10-24 カシオ計算機株式会社 Label creating apparatus and method, and program
JP7294397B2 (en) * 2019-03-22 2023-06-20 カシオ計算機株式会社 PRINTING DEVICE, PRINTING METHOD, AND PROGRAM
JP7003956B2 (en) * 2019-03-22 2022-01-21 カシオ計算機株式会社 Printing equipment, printing method, program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102085480B1 (en) * 2019-06-14 2020-05-18 이광열 Apparatus, system, method, and computer program for printing qr code

Also Published As

Publication number Publication date
JP2004188883A (en) 2004-07-08

Similar Documents

Publication Publication Date Title
US11651469B2 (en) Generating artistic designs encoded with robust, machine-readable data
JP3376077B2 (en) Distortion correction device, distortion correction method, and image processing device
US7773266B2 (en) Image processing apparatus, method, and computer product for adding reference frame information used to detect position of image embedded information
US11037037B2 (en) Image processing apparatus, image processing method, and non-transitory computer readable storage medium
JP5041458B2 (en) Device for detecting three-dimensional objects
JP5763441B2 (en) Stream dot pattern, stream dot pattern forming medium, stream dot pattern reading device
US9830500B2 (en) Decoder and encoder for a digital fingerprint code
US20030198398A1 (en) Image correcting apparatus and method, program, storage medium, image reading apparatus, and image forming apparatus
JPH09262958A (en) Apparatus for outputting code data
JP4361725B2 (en) Two-dimensional code printing apparatus and two-dimensional code printing method
JP2019179342A (en) Image processing device and image processing method
JP2009193361A (en) Device, method, and program for processing image, and recording medium
JP4082303B2 (en) Image correction device
JP4392082B2 (en) Engraving style halftone image generation method and apparatus
JP2001287330A (en) Method and apparatus for forming image data of optically readable dots and recording medium
JP2008158936A (en) Three-dimensional scan data correction system, method and program for correcting three-dimensional scan data
US5777751A (en) Correction of curved scan lines in an optical scanning system
JPH1044635A (en) Gravure fine line printing plate and printed matter
JP2009025992A (en) Two-dimensional code
JPH07168938A (en) Digital copying machine
JPH07221976A (en) Smoothing magnification processing method for binary image data
JP2000261653A (en) Image processing unit
JP2019146149A (en) Image processing apparatus, image processing method, and program
JP2000020723A (en) Device and method for preparing model
JP2004213298A (en) Image reduction ratio conversion processing program and image reduction ratio conversion processing device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051117

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051117

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20070221

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20070309

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090427

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090624

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090717

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090813

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4361725

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120821

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120821

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130821

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees