JP2007157127A - Data recording on print medium and recovery of data printed on medium - Google Patents

Data recording on print medium and recovery of data printed on medium Download PDF

Info

Publication number
JP2007157127A
JP2007157127A JP2006306451A JP2006306451A JP2007157127A JP 2007157127 A JP2007157127 A JP 2007157127A JP 2006306451 A JP2006306451 A JP 2006306451A JP 2006306451 A JP2006306451 A JP 2006306451A JP 2007157127 A JP2007157127 A JP 2007157127A
Authority
JP
Japan
Prior art keywords
dot
data
digital data
code
print medium
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
JP2006306451A
Other languages
Japanese (ja)
Inventor
Takayuki Fukuda
隆行 福田
Yukimitsu Fujimori
幸光 藤森
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2006306451A priority Critical patent/JP2007157127A/en
Publication of JP2007157127A publication Critical patent/JP2007157127A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an apparatus for printing data, on a print medium with less area required and improves the accuracy for recovering the data printed on the print medium when the data is recorded on the print medium. <P>SOLUTION: The apparatus for printing a digital data on the print medium, associates each of a plurality of numeral values representing a bit column comprising the digital data with a dot type specified by combining an ink color and a dot size, converts the digital data into a series of code data representing the dot types, forms dots with the series of the dot types representing the code data, and prints a visible code readable through a machine for recording the digital data. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、データを印刷媒体上に記録すると共に、印刷媒体上に記録されたデータを復元する技術に関する。   The present invention relates to a technique for recording data on a print medium and restoring the data recorded on the print medium.

例えばカラーバーコードのように、ビット列と色とを対応付けて印刷を行うことにより、印刷媒体上にデータを記録する技術が知られている(例えば特許文献1)。   For example, a technique of recording data on a print medium by performing printing in association with a bit string and a color like a color barcode is known (for example, Patent Document 1).

特開2000−67191JP 2000-67191 A

従来、例えばインクジェットプリンタのように面積階調で複数の色を表現するプリンタを用いて印刷媒体上へのデータの記録を行う場合、印刷媒体上にデータの記録のための大きな領域が必要となるという問題があった。   Conventionally, when data is recorded on a print medium using a printer that expresses a plurality of colors with area gradations, such as an inkjet printer, a large area for data recording is required on the print medium. There was a problem.

また、複数の色を表現するために印刷媒体上にインクドットを重ねて形成した場合、にじみ等の影響によって色の判別が困難となり、印刷媒体上に記録されたデータを精度良く復元することが困難となる場合があるという問題があった。   In addition, when ink dots are formed on a print medium so as to express a plurality of colors, it becomes difficult to distinguish colors due to the influence of blurring and the like, and data recorded on the print medium can be accurately restored. There was a problem that it might be difficult.

本発明は、上述した従来の課題を解決するためになされたものであり、印刷媒体上にデータを記録する場合に、必要な印刷媒体上の領域をより小さくすると共に、印刷媒体上に記録されたデータの復元の精度を向上させることを可能とする技術を提供することを目的とする。   The present invention has been made to solve the above-described conventional problems. When data is recorded on a print medium, a necessary area on the print medium is reduced and the data is recorded on the print medium. It is an object of the present invention to provide a technique capable of improving the accuracy of restoring data.

上記課題の少なくとも一部を解決するために、本発明の第1の装置は、
デジタルデータを印刷媒体上に記録する装置であって、
前記デジタルデータを構成するビット列が取り得る複数の値のそれぞれを少なくともドットサイズで特定されるドット種類に対応付けることにより、前記デジタルデータを一連のドット種類を表すコードデータに変換する符号化部と、
前記コードデータの表す一連のドット種類のドットを前記印刷媒体上に形成することにより、前記デジタルデータを記録するための機械読み取り可能な視覚コードを印刷する印刷部と、を備える。
In order to solve at least a part of the above problems, the first device of the present invention includes:
An apparatus for recording digital data on a print medium,
An encoding unit that converts the digital data into code data representing a series of dot types by associating each of a plurality of values that can be taken by the bit string constituting the digital data with at least a dot type specified by a dot size;
A printing unit that prints a machine-readable visual code for recording the digital data by forming a series of dot types represented by the code data on the print medium.

この装置では、デジタルデータを構成するビット列が取り得る複数の値のそれぞれを少なくともドットサイズで特定されるドット種類に対応付けることにより、デジタルデータを一連のドット種類を表すコードデータに変換する符号化が行われる。そして、コードデータの表す一連のドット種類のドットを印刷媒体上に形成することにより、デジタルデータを記録するための視覚コードの印刷が行われる。このように、この装置では、視覚コードを構成するドット種類自体にデジタルデータを構成するビット列の値が対応付けられるため、デジタルデータの記録のために要する印刷媒体上の領域をより小さくすることができる。   In this device, encoding is performed to convert digital data into code data representing a series of dot types by associating each of a plurality of values that can be taken by a bit string constituting digital data with at least a dot type specified by a dot size. Done. A series of dot types represented by code data is formed on a print medium, thereby printing a visual code for recording digital data. As described above, in this apparatus, since the value of the bit string constituting the digital data is associated with the dot type itself constituting the visual code, the area on the print medium required for recording the digital data can be further reduced. it can.

また、この装置では、視覚コードを構成するドット種類自体にデジタルデータを構成するビット列の値が対応付けられるため、視覚コードの印刷の際に複数のインクドットが重なって形成されることがない。そのため、デジタルデータの復元の際に、にじみ等の影響によって色の判別が困難となることがなく、印刷媒体上に記録されたデータの復元の精度を向上させることができる。   Further, in this apparatus, since the value of the bit string constituting the digital data is associated with the dot type itself constituting the visual code, a plurality of ink dots are not overlapped when the visual code is printed. Therefore, when restoring digital data, it is not difficult to determine the color due to the influence of bleeding or the like, and the accuracy of restoration of the data recorded on the print medium can be improved.

上記装置において、
前記ドット種類は、インク色と前記ドットサイズとの組み合わせで特定されるものとしてもよい。
In the above device,
The dot type may be specified by a combination of an ink color and the dot size.

このようにすれば、1ドットに対してより多くの情報を含ませることができることから、より長いビット列への対応が可能となる。   In this way, since more information can be included in one dot, it is possible to cope with a longer bit string.

上記装置において、
前記印刷部は、前記デジタルデータを構成するビット列が取り得る複数の値と前記ドット種類との対応を定義する機械読み取り可能な対応情報を、前記印刷媒体上に印刷するとしてもよい。
In the above device,
The printing unit may print machine-readable correspondence information defining correspondence between a plurality of values that can be taken by the bit string constituting the digital data and the dot type on the print medium.

このようにすれば、デジタルデータの復元の際に、必要な情報をすべて印刷媒体上から取得して処理を実行することができる。   In this way, when restoring the digital data, all necessary information can be acquired from the print medium and the process can be executed.

また、上記装置において、
前記印刷部は、前記デジタルデータを構成するビット列が取り得る複数の値と前記ドット種類との対応を定義する所定の対応テーブルを特定する機械読み取り可能なテーブル特定情報を、前記印刷媒体上に印刷するとしてもよい。
In the above apparatus,
The printing unit prints on the print medium machine-readable table specifying information for specifying a predetermined correspondence table that defines correspondence between a plurality of values that can be taken by the bit string constituting the digital data and the dot type. You may do that.

このようにすれば、デジタルデータの復元の際に、適切な対応テーブルを用いて正確にデータを復元することができる。   In this way, when restoring digital data, it is possible to accurately restore the data using an appropriate correspondence table.

また、上記装置で、ドット種類をインク色と前記ドットサイズとの組み合わせで特定されるものとした構成において、
前記印刷部は、複数段階のドットサイズのドットを形成可能であり、
前記符号化部は、同一のインク色でドットサイズが1段階異なる2つのドット種類のそれぞれに互いに1ビットのみ相違するビット列の値が対応付けられるように、前記デジタルデータの前記コードデータへの変換を行うとしてもよい。
In the above-described apparatus, in the configuration in which the dot type is specified by a combination of the ink color and the dot size,
The printing unit can form dots of a plurality of dot sizes,
The encoding unit converts the digital data into the code data so that each of two dot types having the same ink color and different in dot size by one step is associated with a bit string value different from each other by only 1 bit. May be performed.

このようにすれば、デジタルデータの復元の際に、誤り訂正の精度をより向上させることができる。   In this way, the accuracy of error correction can be further improved when restoring digital data.

また、上記課題の少なくとも一部を解決するために、本発明の第2の装置は、
印刷媒体上に記録されたデジタルデータを復元する装置であって、
前記印刷媒体上に印刷された前記デジタルデータを記録するための機械読み取り可能な視覚コードを読み取る読み取り部と、
読み取られた前記視覚コードを構成する複数のインクドットのそれぞれについて、少なくともドットサイズで特定されるドット種類を判別することにより、一連のドット種類を表すコードデータを生成する判別部と、
前記コードデータの表す一連のドット種類のそれぞれをビット列が取り得る値に対応付けることにより、前記コードデータを前記デジタルデータに変換する復号部と、を備える。
In order to solve at least a part of the above problem, the second device of the present invention provides:
An apparatus for restoring digital data recorded on a print medium,
A reading unit for reading a machine-readable visual code for recording the digital data printed on the print medium;
A discriminator for generating code data representing a series of dot types by discriminating at least the dot type specified by the dot size for each of the plurality of ink dots constituting the read visual code,
A decoding unit that converts the code data into the digital data by associating each of a series of dot types represented by the code data with a value that can be taken by a bit string.

この装置では、印刷媒体上に印刷されたデジタルデータを記録するための視覚コードを構成する複数のインクドットのそれぞれについて、ドット種類を判別することにより、一連のドット種類を表すコードデータが生成される。また、コードデータの表す一連のドット種類のそれぞれをビット列が取り得る値に対応付けることにより、コードデータのデジタルデータへの変換が行われる。このように、この装置では、ドット種類自体にビット列が取り得る値が対応付けられた視覚コードからデジタルデータを復元することができるため、印刷媒体上のより小さい領域に記録されたデジタルデータの復元を行うことができる。   In this apparatus, code data representing a series of dot types is generated by determining the dot type for each of a plurality of ink dots constituting a visual code for recording digital data printed on a print medium. The Further, the code data is converted into digital data by associating each of a series of dot types represented by the code data with a value that can be taken by the bit string. As described above, in this apparatus, since the digital data can be restored from the visual code in which the bit type can be associated with the dot type itself, the digital data recorded in a smaller area on the print medium can be restored. It can be performed.

また、この装置では、ドット種類自体にビット列が取り得る値が対応付けられた視覚コードからデジタルデータを復元することができるため、視覚コードにおいて複数のインクドットが重なって形成されることによるにじみ等の影響によって色の判別が困難となることがなく、印刷媒体上に記録されたデータの復元の精度を向上させることができる。   Further, in this apparatus, since digital data can be restored from a visual code in which a value that can be taken by a bit string is associated with the dot type itself, blurring or the like due to a plurality of ink dots being formed in the visual code. Therefore, it is possible to improve the accuracy of restoration of the data recorded on the print medium.

上記装置において、
前記ドット種類は、インク色と前記ドットサイズとの組み合わせで特定されるものとしてもよい。
In the above device,
The dot type may be specified by a combination of an ink color and the dot size.

このようにすれば、1ドットに対してより多くの情報を含ませることができることから、より長いビット列への対応が可能となる。   In this way, since more information can be included in one dot, it is possible to cope with a longer bit string.

上記装置において、
前記読み取り部は、前記視覚コードの印刷解像度よりも細かい解像度で、前記視覚コードの読み取りを行うとしてもよい。
In the above device,
The reading unit may read the visual code at a resolution finer than a printing resolution of the visual code.

このようにすれば、データ復元の精度を向上させることができる。   In this way, the accuracy of data restoration can be improved.

また、上記装置において、
前記印刷媒体には、前記デジタルデータを構成するビット列が取り得る複数の値と前記ドット種類との対応を定義する機械読み取り可能な対応情報が印刷されており、
前記読み取り部は、前記対応情報を読み取り、
前記復号部は、読み取られた前記対応情報を用いて、前記コードデータの前記デジタルデータへの変換を行うとしてもよい。
In the above apparatus,
On the print medium, machine-readable correspondence information that defines correspondence between a plurality of values that can be taken by the bit string constituting the digital data and the dot type is printed,
The reading unit reads the correspondence information,
The decoding unit may convert the code data into the digital data using the read correspondence information.

このようにすれば、必要な情報をすべて印刷媒体上から取得してデジタルデータの復元を行うことができる。   In this way, all necessary information can be acquired from the print medium and digital data can be restored.

また、上記装置において、
前記印刷媒体には、前記デジタルデータを構成するビット列が取り得る複数の値と前記ドット種類との対応を定義する所定の対応テーブルを特定する機械読み取り可能なテーブル特定情報が印刷されており、
前記読み取り部は、前記テーブル特定情報を読み取り、
前記復号部は、読み取られた前記テーブル特定情報により特定された前記所定の対応テーブルを用いて、前記コードデータの前記デジタルデータへの変換を行うとしてもよい。
In the above apparatus,
The print medium is printed with machine-readable table specifying information for specifying a predetermined correspondence table that defines correspondence between a plurality of values that can be taken by the bit string constituting the digital data and the dot type,
The reading unit reads the table specifying information,
The decoding unit may convert the code data into the digital data using the predetermined correspondence table specified by the read table specifying information.

このようにすれば、適切な対応テーブルを用いて正確にデジタルデータの復元を行うことができる。   In this way, digital data can be accurately restored using an appropriate correspondence table.

なお、本発明は、種々の態様で実現することが可能であり、例えば、データ記録方法および装置、データ復元方法および装置、データ記録のための印刷データ生成方法および装置、これらの方法または装置の機能を実現するためのコンピュータプログラム、そのコンピュータプログラムを記録した記録媒体、そのコンピュータプログラムを含み搬送波内に具現化されたデータ信号、等の形態で実現することができる。   The present invention can be realized in various modes. For example, a data recording method and apparatus, a data restoration method and apparatus, a print data generation method and apparatus for data recording, a method of these methods or apparatuses, and the like. The present invention can be realized in the form of a computer program for realizing the function, a recording medium storing the computer program, a data signal including the computer program and embodied in a carrier wave, and the like.

次に、本発明の実施の形態を実施例に基づいて以下の順序で説明する。
A.第1実施例:
B.第2実施例:
C.変形例:
Next, embodiments of the present invention will be described in the following order based on examples.
A. First embodiment:
B. Second embodiment:
C. Variation:

A.第1実施例:
図1は、本発明の第1実施例としてのデータ記録・復元システムの構成を概略的に示す説明図である。本実施例のデータ記録・復元システム10は、コンピュータ100と、コンピュータ100に接続されたプリンタ300およびスキャナ400と、を備えている。
A. First embodiment:
FIG. 1 is an explanatory diagram schematically showing the configuration of a data recording / restoring system as a first embodiment of the present invention. The data recording / restoring system 10 of this embodiment includes a computer 100, and a printer 300 and a scanner 400 connected to the computer 100.

コンピュータ100は、CPU110と、液晶モニタ等の表示部120と、キーボードやマウス等の操作部130と、ハードディスクドライブ等の外部記憶装置140と、インターフェイス部(I/F部)150と、ROMやRAM等の内部記憶装置200と、を備えている。コンピュータ100の各構成要素は、バス160を介して互いに接続されている。   The computer 100 includes a CPU 110, a display unit 120 such as a liquid crystal monitor, an operation unit 130 such as a keyboard and a mouse, an external storage device 140 such as a hard disk drive, an interface unit (I / F unit) 150, a ROM and a RAM. And an internal storage device 200. Each component of the computer 100 is connected to each other via a bus 160.

インターフェイス部150は、ケーブルを介してプリンタ300およびスキャナ400等の外部機器と接続され、外部機器との間で情報のやり取りを行う。例えば、インターフェイス部150は、プリンタ300に対し画像を印刷するための印刷データを供給する。また、インターフェイス部150は、スキャナ400により生成された画像データを取得する。なお、インターフェイス部150は、ネットワークと接続され、ネットワークを介した情報のやり取りを行うとしてもよい。   The interface unit 150 is connected to an external device such as the printer 300 and the scanner 400 via a cable, and exchanges information with the external device. For example, the interface unit 150 supplies print data for printing an image to the printer 300. Further, the interface unit 150 acquires image data generated by the scanner 400. The interface unit 150 may be connected to a network and exchange information via the network.

内部記憶装置200には、データ記録処理部210と、データ復元処理部220と、が格納されている。データ記録処理部210およびデータ復元処理部220は、所定のオペレーティングシステムの下で、後述のデータ記録処理およびデータ復元処理を実行するためのコンピュータプログラムである。CPU110は、内部記憶装置200からこれらのコンピュータプログラムを読み出して実行することにより、後述のデータ記録処理およびデータ復元処理を実現する。   The internal storage device 200 stores a data recording processing unit 210 and a data restoration processing unit 220. The data recording processing unit 210 and the data restoration processing unit 220 are computer programs for executing data recording processing and data restoration processing described later under a predetermined operating system. The CPU 110 reads out and executes these computer programs from the internal storage device 200, thereby realizing data recording processing and data restoration processing described later.

データ記録処理部210は、データの符号化を行う符号化処理部212と、プリンタ300を制御して印刷を実行させる印刷処理部214と、をモジュールとして含んでいる。また、データ復元処理部220は、スキャナ400を制御して画像等の読み取りを実行させる読み取り処理部222と、画像を構成するインクドットについての判別処理を行う判別処理部224と、データの復号を行う復号処理部226と、をモジュールとして含んでいる。これらの各部の機能の詳細については、後述のデータ記録処理およびデータ復元処理の説明において詳述する。なお、データ記録処理部210およびデータ復元処理部220に含まれる各モジュールは、データ記録処理部210およびデータ復元処理部220から独立した構成であるとしてもよい。   The data recording processing unit 210 includes, as modules, an encoding processing unit 212 that encodes data and a printing processing unit 214 that controls the printer 300 to execute printing. In addition, the data restoration processing unit 220 controls the scanner 400 to execute reading of an image or the like, a determination processing unit 224 that performs determination processing on ink dots that form an image, and data decoding. And a decoding processing unit 226 that performs the processing as a module. Details of the functions of these units will be described in detail in the description of data recording processing and data restoration processing described later. Each module included in the data recording processing unit 210 and the data restoration processing unit 220 may have a configuration independent of the data recording processing unit 210 and the data restoration processing unit 220.

内部記憶装置200には、また、対応テーブルCTが格納されている。対応テーブルCTは、デジタルデータを構成するビット列が取り得る複数の値と、プリンタ300による印刷に用いられるインク色とドットサイズとの組み合わせで特定される複数のドット種類と、の対応を定義するテーブルである。対応テーブルCTの詳細については後述する。   The internal storage device 200 also stores a correspondence table CT. The correspondence table CT is a table that defines correspondence between a plurality of values that can be taken by a bit string constituting digital data and a plurality of dot types that are specified by combinations of ink colors and dot sizes used for printing by the printer 300. It is. Details of the correspondence table CT will be described later.

プリンタ300は、インク滴を印刷媒体上に吹き付けてインクドットを形成することにより印刷を行うインクジェットプリンタである。本実施例のプリンタ300は、4色のインク(シアン(c)、マゼンタ(M)、イエロー(Y)、ブラック(K))による4つのドットサイズ(小さい順に「SIZE1」,「SIZE2」,「SIZE3」,「SIZE4」と表す。)のインクドットを用いて、印刷を行うことが可能である。   The printer 300 is an ink jet printer that performs printing by spraying ink droplets onto a print medium to form ink dots. The printer 300 according to the present exemplary embodiment has four dot sizes (“SIZE 1”, “SIZE 2”, “small” in order from four inks (cyan (c), magenta (M), yellow (Y), and black (K))). Printing is possible using ink dots of “SIZE3” and “SIZE4”.

スキャナ400は、印刷用紙等の印刷媒体上に形成された画像や文字を読み取り、読み取った画像等を表すデータを生成するイメージスキャナである。本実施例のスキャナ400は、プリンタ300が後述のデータ記録コードDRCを印刷する際の印刷解像度よりも細かい解像度で画像等の読み取りを行うことが可能なスキャナである。スキャナ400は、プリンタ300の上記印刷解像度の4倍以上細かい解像度で画像等の読み取りを行うことが可能であることが好ましい。   The scanner 400 is an image scanner that reads images and characters formed on a printing medium such as printing paper and generates data representing the read images. The scanner 400 of this embodiment is a scanner that can read an image or the like with a resolution finer than the printing resolution when the printer 300 prints a data recording code DRC described later. The scanner 400 is preferably capable of reading an image or the like at a resolution that is four times or more finer than the printing resolution of the printer 300.

図2は、本実施例のデータ記録・復元システム10によるデータ記録処理の流れを示すフローチャートである。本実施例のデータ記録処理は、デジタルデータを印刷媒体上に記録する処理である。   FIG. 2 is a flowchart showing the flow of data recording processing by the data recording / restoring system 10 of this embodiment. The data recording process of the present embodiment is a process for recording digital data on a print medium.

ステップS110では、データ記録処理部210(図1)が、対象データを取得する。対象データは、印刷媒体上への記録の対象となるデジタルデータである。対象データは、任意のデジタルデータであり、例えば画像(静止画像や動画像)を表す画像データであってもよく、音声を表す音声データであってもよく、テキストを表すテキストデータであってもよい。データ記録処理部210は、インターフェイス部150を介して外部から対象データを取得するとしてもよいし、外部記憶装置140や内部記憶装置200に格納された対象データを取得するとしてもよい。   In step S110, the data recording processing unit 210 (FIG. 1) acquires target data. The target data is digital data to be recorded on the print medium. The target data is arbitrary digital data. For example, the target data may be image data representing an image (a still image or a moving image), voice data representing speech, or text data representing text. Good. The data recording processing unit 210 may acquire target data from the outside via the interface unit 150, or may acquire target data stored in the external storage device 140 or the internal storage device 200.

ステップS120では、データ記録処理部210の符号化処理部212(図1)が、対象データの符号化を行う。対象データの符号化は、対象データを構成するビット列が取り得る複数の値のそれぞれを、プリンタ300における印刷に用いられるインク色とドットサイズとの組み合わせで特定されるドット種類に対応付けることにより、対象データを一連のドット種類を表すコードデータに変換する処理である。対象データの符号化は、ドット種類と対象データを構成するビット列が取り得る値との対応を定義する対応テーブルCT(図1)を用いて行われる。   In step S120, the encoding processing unit 212 (FIG. 1) of the data recording processing unit 210 encodes the target data. The encoding of the target data is performed by associating each of a plurality of values that can be taken by the bit string constituting the target data with the dot type specified by the combination of the ink color and dot size used for printing in the printer 300. This is a process of converting data into code data representing a series of dot types. The target data is encoded using a correspondence table CT (FIG. 1) that defines the correspondence between the dot type and the values that can be taken by the bit string constituting the target data.

図3は、対応テーブルCTの一例を示す説明図である。図3に示すように、対応テーブルCTにおいて、4つのインク色(C,M,Y,K)のそれぞれは、固有の2ビットのビット列の値に対応付けられている。同様に、対応テーブルCTにおいて、4つのドットサイズ(SIZE1〜4)のそれぞれは、固有の2ビットのビット列の値に対応付けられている。なお、図3に示すように、本実施例に用いる対応テーブルCTは、ドットサイズが1段階異なる2つのドットサイズのそれぞれが、互いに1ビットのみ相違するビット列の値に対応付けられるようなテーブルとなっている。   FIG. 3 is an explanatory diagram showing an example of the correspondence table CT. As shown in FIG. 3, in the correspondence table CT, each of the four ink colors (C, M, Y, K) is associated with a unique 2-bit bit string value. Similarly, in the correspondence table CT, each of the four dot sizes (SIZE 1 to 4) is associated with a unique 2-bit bit string value. As shown in FIG. 3, the correspondence table CT used in the present embodiment is a table in which each of two dot sizes different in dot size is associated with a bit string value that is different by only 1 bit from each other. It has become.

図4は、対象データの符号化方法の一例を示す説明図である。図4の最上段には、対象データを構成するビット列の一部を例示している。図4の例では、対象データは4ビットのビット列(以下「単位ビット列UBQ」と呼ぶ)毎に区切られ、各単位ビット列UBQは、対応テーブルCT(図3)に従い複数のドット種類の内の1つを表すコードデータに変換される。より詳細には、各単位ビット列UBQの上位2ビットがインク色に変換され、下位2ビットがドットサイズに変換される。例えば、「0110」という単位ビット列UBQは、上位2ビットの値が「01」であるためマゼンタ(M)に変換され、下位2ビットの値が「10」であるためSIZE4のドットサイズに変換される。従って、「0110」という値の単位ビット列UBQは、マゼンタのSIZE4のドット種類を表すコードデータに変換される。同様に、例えば「1001」という値の単位ビット列UBQは、イエローのSIZE2のドット種類を表すコードデータに変換され、「0011」という値の単位ビット列UBQは、シアンのSIZE3のドット種類を表すコードデータに変換される。このような変換を対象データを構成するすべての単位ビット列UBQに対して行うことにより、対象データを一連のドット種類を表すコードデータに符号化することができる。   FIG. 4 is an explanatory diagram illustrating an example of a method for encoding target data. The uppermost part of FIG. 4 illustrates a part of the bit string constituting the target data. In the example of FIG. 4, the target data is divided into 4-bit bit strings (hereinafter referred to as “unit bit string UBQ”), and each unit bit string UBQ is one of a plurality of dot types according to the correspondence table CT (FIG. 3). It is converted into code data representing one. More specifically, the upper 2 bits of each unit bit string UBQ are converted to ink color, and the lower 2 bits are converted to dot size. For example, the unit bit string UBQ “0110” is converted to magenta (M) because the value of the upper 2 bits is “01”, and converted to the dot size of SIZE4 because the value of the lower 2 bits is “10”. The Therefore, the unit bit string UBQ having a value of “0110” is converted into code data representing the dot type of magenta SIZE4. Similarly, for example, a unit bit string UBQ having a value of “1001” is converted into code data representing a dot type of yellow SIZE2, and a unit bit string UBQ having a value of “0011” is code data representing a dot type of cyan SIZE3. Is converted to By performing such conversion on all the unit bit strings UBQ constituting the target data, the target data can be encoded into code data representing a series of dot types.

なお、符号化処理部212による対象データの符号化は、誤り訂正可能な符号を用いて行うことが好ましい。誤り訂正可能な符号としては、例えば、リードソロモン符号がある。   Note that the encoding of the target data by the encoding processing unit 212 is preferably performed using an error-correctable code. An example of a code that can be corrected is a Reed-Solomon code.

ステップS130(図2)では、印刷処理部214(図1)が、ステップS120における符号化により生成された一連のドット種類を表すコードデータに基づき、データ記録コードDRCの印刷を行う。図5は、データ記録コードDRCの一例を示す説明図である。図5には、印刷媒体PM上に印刷されたデータ記録コードDRCの一部を拡大して示している。図5に示すように、データ記録コードDRCは、印刷画素PX(図5において破線で囲んで示す)のそれぞれに形成された複数のドット種類のインクドットDによって構成された視覚コード(画像)である。印刷処理部214は、プリンタ300を制御して、一連のドット種類を表すコードデータに従いインクドットDを順番に印刷媒体PM上に形成させることにより、データ記録コードDRCの印刷を行う。   In step S130 (FIG. 2), the print processing unit 214 (FIG. 1) prints the data recording code DRC based on the code data representing a series of dot types generated by the encoding in step S120. FIG. 5 is an explanatory diagram showing an example of the data recording code DRC. FIG. 5 shows an enlarged part of the data recording code DRC printed on the print medium PM. As shown in FIG. 5, the data recording code DRC is a visual code (image) composed of a plurality of dot types of ink dots D formed on each of the print pixels PX (indicated by a broken line in FIG. 5). is there. The print processing unit 214 controls the printer 300 to print the data recording code DRC by sequentially forming ink dots D on the print medium PM according to code data representing a series of dot types.

なお、データ記録コードDRCは、後述のデータ復元処理の際の位置決めのための図示しない基準マークを含んでいる。基準マークは、例えば、対象データの記録に直接使用しないインク色やドットサイズのインクドットを用いて印刷される。また、ステップS130では、印刷媒体PM上に、ステップS120における符号化に用いた対応テーブルCTを特定するための機械読み取り可能な対応テーブル識別子CTIも印刷される(図5)。   Note that the data recording code DRC includes a reference mark (not shown) for positioning in the later-described data restoration process. The reference mark is printed using, for example, ink dots having an ink color or dot size that are not directly used for recording target data. In step S130, a machine-readable correspondence table identifier CTI for specifying the correspondence table CT used in the encoding in step S120 is also printed on the print medium PM (FIG. 5).

以上説明したデータ記録処理により、対象データが印刷媒体PM上にデータ記録コードDRCという形で記録される。   By the data recording process described above, the target data is recorded in the form of the data recording code DRC on the print medium PM.

図6は、本実施例のデータ記録・復元システム10によるデータ復元処理の流れを示すフローチャートである。本実施例のデータ復元処理は、印刷媒体PM上に記録された対象データを復元する処理である。   FIG. 6 is a flowchart showing the flow of data restoration processing by the data recording / restoring system 10 of this embodiment. The data restoration process of the present embodiment is a process for restoring the target data recorded on the print medium PM.

ステップS210では、読み取り処理部222(図1)が、スキャナ400を制御して、印刷媒体PM上に印刷されたデータ記録コードDRCおよび対応テーブル識別子CTI(図5参照)を読み取る。本実施例では、読み取り処理部222によるデータ記録コードDRCの読み取りは、プリンタ300がデータ記録コードDRC(図5)を印刷する際の印刷解像度よりも細かい解像度で行われる。読み取り処理部222によるデータ記録コードDRCの読み取りは、プリンタ300の上記印刷解像度の4倍以上細かい解像度で行われることが好ましい。読み取り処理部222による読み取りにより生成された読み取りデータは、内部記憶装置200内の所定の領域に格納される。   In step S210, the read processing unit 222 (FIG. 1) controls the scanner 400 to read the data recording code DRC and the correspondence table identifier CTI (see FIG. 5) printed on the print medium PM. In the present embodiment, the reading of the data recording code DRC by the reading processing unit 222 is performed at a resolution finer than the printing resolution when the printer 300 prints the data recording code DRC (FIG. 5). The reading of the data recording code DRC by the reading processing unit 222 is preferably performed at a resolution that is four times or more finer than the printing resolution of the printer 300. Read data generated by reading by the read processing unit 222 is stored in a predetermined area in the internal storage device 200.

ステップS220では、判別処理部224(図1)が、データ記録コードDRCの読み取りにより生成された読み取りデータを用いてドットの判別を行い、一連の複数のドット種類を表すコードデータを生成する。ドットの判別は、読み取りデータからデータ記録コードDRCを構成する複数のインクドットDを検出すると共に、検出されたインクドットDのそれぞれについてドット種類(インク色およびドットサイズ)を判別する処理である。判別処理部224は、まずデータ記録コードDRCに含まれる基準マークを検出して位置決めを行い、その後、データ記録コードDRCの印刷画素PX毎に、インクドットDのインク色およびサイズを判別する。   In step S220, the discrimination processing unit 224 (FIG. 1) discriminates dots using the read data generated by reading the data recording code DRC, and generates code data representing a series of a plurality of dot types. The dot determination is a process of detecting a plurality of ink dots D constituting the data recording code DRC from the read data and determining the dot type (ink color and dot size) for each of the detected ink dots D. The determination processing unit 224 first detects and positions a reference mark included in the data recording code DRC, and then determines the ink color and size of the ink dot D for each print pixel PX of the data recording code DRC.

ステップS220では、また、判別処理部224が、対応テーブル識別子CTIの読み取りにより生成された読み取りデータに基づき、対応テーブルCTの判別を行う。対応テーブルCTの判別は、対応テーブル識別子CTIを判別することにより、データ記録処理に使用された対応テーブルCTを特定する処理である。   In step S220, the discrimination processing unit 224 discriminates the correspondence table CT based on the read data generated by reading the correspondence table identifier CTI. The determination of the correspondence table CT is a process for identifying the correspondence table CT used for the data recording process by determining the correspondence table identifier CTI.

ステップS230では、復号処理部226(図1)が、ステップS220で生成されたコードデータの表す一連の複数のドット種類のそれぞれを、ステップS220で特定された対応テーブルCTを用いてビット列が取り得る値に対応付けることにより、対象データの復元を行う。この処理は、データ記録処理における対象データの符号化(図2のステップS120)と逆の処理である。なお、データ記録処理における対象データの符号化が誤り訂正可能な符号を用いて行われている場合には、復号処理部226による対象データの復元の際に誤り訂正が行われる。   In step S230, the decoding processor 226 (FIG. 1) can take a bit string of each of a series of dot types represented by the code data generated in step S220 using the correspondence table CT specified in step S220. The target data is restored by associating it with the value. This process is a process opposite to the encoding of the target data in the data recording process (step S120 in FIG. 2). In addition, when the encoding of the target data in the data recording process is performed using a code capable of error correction, error correction is performed when the decoding processing unit 226 restores the target data.

以上説明したデータ復元処理により、印刷媒体PM上にデータ記録コードDRCという形で記録された対象データを復元することができる。   By the data restoration process described above, it is possible to restore the target data recorded in the form of the data recording code DRC on the print medium PM.

以上説明したように、本実施例のデータ記録・復元システム10では、対象データを構成する単位ビット列UBQの取り得る値のそれぞれを対応テーブルCTを用いてドット種類に対応付けることにより、対象データを一連のドット種類を表すコードデータに変換する符号化が行われる。そして、生成されたコードデータの表す一連のドット種類のインクドットDを印刷媒体PM上に形成してデータ記録コードDRCの印刷を行うことにより、対象データを印刷媒体PM上に記録することができる。このとき、インク色とドットサイズとの組み合わせで特定されるドット種類自体に所定のビット列の値が対応付けられるため、対象データの記録のために要する印刷媒体PM上の領域(データ記録コードDRCの面積)をより小さくすることができる。すなわち、本実施例のデータ記録・復元システム10では、高密度で対象データを印刷媒体PM上に記録することができると共に、高密度で印刷媒体PM上に記録された対象データを復元することができる。   As described above, in the data recording / restoring system 10 of the present embodiment, the target data is serialized by associating each possible value of the unit bit string UBQ constituting the target data with the dot type using the correspondence table CT. Encoding for conversion into code data representing the dot type is performed. The target data can be recorded on the print medium PM by forming a series of dot types of ink dots D represented by the generated code data on the print medium PM and printing the data recording code DRC. . At this time, since the value of a predetermined bit string is associated with the dot type itself specified by the combination of the ink color and the dot size, an area on the print medium PM required for recording the target data (the data recording code DRC) Area) can be further reduced. That is, in the data recording / restoring system 10 of the present embodiment, the target data can be recorded on the print medium PM at a high density, and the target data recorded on the print medium PM at a high density can be restored. it can.

また、図5に示すように、データ記録コードDRCにおいては、印刷画素PX毎に1つのインクドットDのみが形成されており、複数のインクドットDが重なって形成されることがない。そのため、データ復元処理の際に、にじみ等の影響によって色の判別が困難となることがなく、印刷媒体PM上に記録された対象データを精度良く復元することが可能である。   Further, as shown in FIG. 5, in the data recording code DRC, only one ink dot D is formed for each print pixel PX, and a plurality of ink dots D are not formed overlapping each other. Therefore, it is possible to accurately restore the target data recorded on the print medium PM without making it difficult to determine the color due to the influence of bleeding or the like during the data restoration process.

また、本実施例のデータ記録・復元システム10では、データ記録処理の際に、対象データの符号化に用いられる対応テーブルCTを特定する対応テーブル識別子CTIが印刷媒体PM上に印刷される。そして、データ復元処理の際に、印刷媒体PM上に印刷された対応テーブル識別子CTIに基づき、対象データの復元に用いられる対応テーブルCTが特定される。そのため、本実施例のデータ記録・復元システム10では、データ復元処理の際に、適切な対応テーブルCTを用いて正確に対象データを復元することができる。   In the data recording / restoring system 10 of this embodiment, the correspondence table identifier CTI that specifies the correspondence table CT used for encoding the target data is printed on the print medium PM during the data recording process. Then, during the data restoration process, the correspondence table CT used to restore the target data is specified based on the correspondence table identifier CTI printed on the print medium PM. Therefore, in the data recording / restoration system 10 of the present embodiment, the target data can be accurately restored using the appropriate correspondence table CT during the data restoration process.

また、本実施例のデータ記録・復元システム10において、データ記録処理の際に、誤り訂正可能な符号を用いて対象データの符号化が行われた場合には、データ復元処理の際に誤り訂正が行われる。この場合には、データ復元処理のドット判別(図6のステップS220)において判別エラーが発生した場合にも、当該エラーを訂正して対象データを正確に復元することが可能である。   Further, in the data recording / reconstructing system 10 of this embodiment, when the target data is encoded using an error-correctable code during the data recording process, the error correction is performed during the data restoration process. Is done. In this case, even if a discrimination error occurs in the dot discrimination of the data restoration process (step S220 in FIG. 6), it is possible to correct the error and restore the target data accurately.

なお、データ復元処理のドット判別(図6のステップS220)における判別エラーは、インク色の判別より、ドットサイズの判別において比較的発生しやすいと考えられる。本実施例に用いられる対応テーブルCTは、図3に示すように、ドットサイズが1段階異なる2つのドットサイズのそれぞれが、互いに1ビットのみ相違するビット列の値に対応付けられるようなテーブルとなっている。そのため、仮にドットサイズの判別において、誤ってドットサイズを1段階異なるサイズであると判別してしまった場合でも、発生する誤りは1ビットのみである。従って、本実施例に用いられる対応テーブルCTでは、誤り訂正の精度を向上させることができる。   Note that it is considered that the determination error in the dot determination (step S220 in FIG. 6) of the data restoration process is relatively likely to occur in the dot size determination rather than the ink color determination. As shown in FIG. 3, the correspondence table CT used in the present embodiment is a table in which each of two dot sizes different in dot size by one step is associated with a bit string value different from each other by only 1 bit. ing. Therefore, even if the dot size is erroneously determined to be one size different in size, the error that occurs is only one bit. Accordingly, the accuracy of error correction can be improved in the correspondence table CT used in this embodiment.

B.第2実施例:
図7は、第2実施例におけるデータ記録処理およびデータ復元処理に用いられる対応テーブルCTの一例を示す説明図である。第2実施例におけるデータ記録処理およびデータ復元処理は、用いられる対応テーブルCTが第1実施例におけるデータ記録処理およびデータ復元処理(図2および図6)とは異なるのみである。
B. Second embodiment:
FIG. 7 is an explanatory diagram showing an example of a correspondence table CT used for data recording processing and data restoration processing in the second embodiment. The data recording process and the data restoring process in the second embodiment are different from the data recording process and the data restoring process (FIGS. 2 and 6) in the first embodiment only in the correspondence table CT used.

第2実施例におけるデータ記録処理およびデータ復元処理に用いられる対応テーブルCTは、ドット種類毎に固有の4ビットのビット列の値が対応付けられている。この点で、インク色毎に固有の2ビットのビット列の値が対応付けられていると共に、ドットサイズ毎に固有の2ビットのビット列の値が対応付けられている第1実施例の対応テーブルCTとは異なっている。   In the correspondence table CT used for the data recording process and the data restoration process in the second embodiment, a unique 4-bit bit string value is associated with each dot type. In this respect, the correspondence table CT of the first embodiment in which a unique 2-bit bit string value is associated with each ink color and a unique 2-bit bit string value is associated with each dot size. Is different.

例えば、図7に示すように、第2実施例の対応テーブルCTにおいては、シアンのSIZE1のドット種類には「0000」という値のビット列が対応付けられ、シアンのSIZE2のドット種類には「0001」という値のビット列が対応付けられている。なお、図7に示す対応テーブルCTには、ドット種類毎に一意のIDと、各ドット種類に対応付けられたビット列の値の16進数表示が含まれている。   For example, as shown in FIG. 7, in the correspondence table CT of the second embodiment, the bit size of “0000” is associated with the dot type of cyan SIZE1, and the dot type of cyan SIZE2 is “0001”. Is associated with a bit string having a value of "". The correspondence table CT shown in FIG. 7 includes a unique ID for each dot type and a hexadecimal display of the bit string value associated with each dot type.

図7に示す対応テーブルCTでは、印刷画素PXにドットを形成しない「なし」を含む16種類のドット種類のそれぞれに固有のビット列の値が対応付けられている。このような対応テーブルCTを用いることにより、第1実施例と同様に、4ビットの単位ビット列UBQ(図4参照)毎に、ドット種類への符号化を行うことができる。   In the correspondence table CT shown in FIG. 7, a unique bit string value is associated with each of 16 types of dots including “None” that does not form a dot in the print pixel PX. By using such a correspondence table CT, as in the first embodiment, encoding into dot types can be performed for each 4-bit unit bit string UBQ (see FIG. 4).

なお、図7に示す対応テーブルCTでは、例えば、シアン(C)のSIZE4のドット種類やイエロー(Y)のSIZE1および2のドット種類のように、使用されないドット種類を含んでいる。これは、データ復元処理中のドット判別(図6のステップS220)において判別エラーが発生する可能性の高いドット種類を使用しないことにより、ドット判別の精度を向上させるためである。判別エラーが発生する可能性の高いドット種類は、例えば、イエロー(Y)やマゼンタ(M)といった比較的濃度の小さいインク色の小さいドットや、シアン(C)やレッド(R)といった比較的濃度の大きいインク色の大きいドット等である。このように、第2実施例のデータ記録処理およびデータ復元処理では、ドット判別において判別エラーが発生する可能性の高いドット種類を使用しない対応テーブルCTを採用することによって、印刷媒体PM上に記録された対象データを精度良く復元することができる。   The correspondence table CT shown in FIG. 7 includes dot types that are not used, such as cyan (C) SIZE4 dot types and yellow (Y) SIZE1 and 2 dot types. This is to improve the accuracy of dot discrimination by not using a dot type that is highly likely to cause a discrimination error in dot discrimination during data restoration processing (step S220 in FIG. 6). Dot types that are likely to cause discrimination errors are, for example, dots with relatively small ink colors such as yellow (Y) and magenta (M), and relatively densities such as cyan (C) and red (R). For example, a large dot with a large ink color. As described above, in the data recording process and the data restoration process according to the second embodiment, the correspondence table CT that does not use a dot type that is likely to cause a discrimination error in dot discrimination is used to record on the print medium PM. The restored target data can be accurately restored.

C.変形例:
なお、この発明は上記の実施例や実施形態に限られるものではなく、その要旨を逸脱しない範囲において種々の態様において実施することが可能であり、例えば次のような変形も可能である。
C. Variation:
The present invention is not limited to the above-described examples and embodiments, and can be implemented in various modes without departing from the gist thereof. For example, the following modifications are possible.

C1.変形例1:
上記各実施例におけるデータ記録・復元システム10(図1)の構成はあくまで一例であり、データ記録・復元システム10の構成を他の構成とすることも可能である。例えば、データ記録・復元システム10は、スキャナ400の代わりにデジタルスチルカメラやデジタルビデオカメラを備えるとしてもよい。この場合には、データ復元処理のデータ記録コードDRCおよび対応テーブル識別子CTIの読み取り(図6のステップS210)は、デジタルスチルカメラまたはデジタルビデオカメラを用いて実行される。
C1. Modification 1:
The configuration of the data recording / restoration system 10 (FIG. 1) in each of the above embodiments is merely an example, and the configuration of the data recording / restoration system 10 may be other configurations. For example, the data recording / restoring system 10 may include a digital still camera or a digital video camera instead of the scanner 400. In this case, reading of the data recording code DRC and the correspondence table identifier CTI (step S210 in FIG. 6) in the data restoration process is executed using a digital still camera or a digital video camera.

また、上記各実施例では、データ記録処理およびデータ復元処理の両方がデータ記録・復元システム10により実行されるとしているが、データ記録処理およびデータ復元処理のそれぞれが別のシステムにより実行されるとしてもよい。すなわち、データ記録処理はデータ記録処理部210(図1)およびプリンタ300を備えるデータ記録システムにより実行され、データ復元処理はデータ復元処理部220およびスキャナ400を備えるデータ復元システムにより実行されるとしてもよい。   In each of the above embodiments, both the data recording process and the data restoring process are executed by the data recording / restoring system 10, but each of the data recording process and the data restoring process is executed by another system. Also good. That is, the data recording process is executed by a data recording system including the data recording processing unit 210 (FIG. 1) and the printer 300, and the data recovery process is executed by a data recovery system including the data recovery processing unit 220 and the scanner 400. Good.

また、上記各実施例において、ハードウェアによって実現されていた構成の一部をソフトウェアに置き換えるようにしてもよく、逆に、ソフトウェアによって実現されていた構成の一部をハードウェアに置き換えるようにしてもよい。   In each of the above embodiments, a part of the configuration realized by hardware may be replaced by software, and conversely, a part of the configuration realized by software may be replaced by hardware. Also good.

C2.変形例2:
上記各実施例では、データ記録処理(図2)のステップS130において、印刷媒体PM上にデータ記録コードDRCと共に対応テーブル識別子CTIも印刷するとしているが(図5参照)、対応テーブル識別子CTIの代わりに対応テーブルCTの内容そのものを示す機械読み取り可能な情報を印刷媒体PM上に印刷するとしてもよい。このようにすれば、データ復元処理の際に、必要な情報をすべて印刷媒体PM上から取得できる。
C2. Modification 2:
In each of the above embodiments, in step S130 of the data recording process (FIG. 2), the correspondence table identifier CTI is also printed on the print medium PM together with the data recording code DRC (see FIG. 5), but instead of the correspondence table identifier CTI. The machine-readable information indicating the contents of the correspondence table CT itself may be printed on the print medium PM. In this way, all necessary information can be acquired from the print medium PM during the data restoration process.

C3.変形例3:
上記各実施例におけるプリンタ300に用いるドット種類は、4つのインク色および4つのドットサイズとしているが、ドット種類はこれに限られるものではない。ドット種類は、インク色とドットサイズの組み合わせで特定されるものとして、インク色の数やドットサイズの数を上記各実施例と異なる構成としてもよい。
C3. Modification 3:
The dot types used in the printer 300 in each of the above embodiments are four ink colors and four dot sizes, but the dot types are not limited to this. The dot type is specified by the combination of the ink color and the dot size, and the number of ink colors and the number of dot sizes may be different from those in the above embodiments.

C4.変形例4:
また、ドット種類をドットサイズだけで特定されるものとすることもできる。第1実施例では、単位ビット列の下位2ビットを変換するための対応づけとして、4つのドットサイズ(SIZE1〜4)のそれぞれは、固有の2ビットのビット列の値に対応付ける構成としていたが、この対応づけの構成をそのまま対象データ全体の変換に用いる構成とすることができる。
C4. Modification 4:
Further, the dot type can be specified only by the dot size. In the first embodiment, each of the four dot sizes (SIZE 1 to 4) is associated with a unique 2-bit bit string value as an association for converting the lower 2 bits of the unit bit string. The associating configuration can be used as it is for converting the entire target data.

図8は、変形例4における対象データの符号化方法の一例を示す説明図である。図8の最上段には、対象データを構成するビット列の一部を例示している。図8の例では、対象データは2ビットのビット列(以下「単位ビット列UBQX」と呼ぶ)毎に区切られ、各単位ビット列UBQXは、対応テーブル(図3のドットサイズ部分)に従い複数のドット種類、すなわち複数のドットサイズの内の1つを表すコードデータに変換される。例えば、「10」という単位ビット列UBQXはSIZE4のドットサイズに変換される。従って、「10」という値の単位ビット列UBQXは、SIZE4のドット種類を表すコードデータに変換される。同様に、例えば「01」という値の単位ビット列UBQXは、SIZE2のドット種類を表すコードデータに変換され、「11」という値の単位ビット列UBQXは、SIZE3のドット種類を表すコードデータに変換される。このような変換を対象データを構成するすべての単位ビット列UBQXに対して行うことにより、対象データを一連のドット種類を表すコードデータに符号化することができる。   FIG. 8 is an explanatory diagram illustrating an example of a target data encoding method according to the fourth modification. The uppermost part of FIG. 8 illustrates a part of the bit string constituting the target data. In the example of FIG. 8, the target data is divided for each 2-bit bit string (hereinafter referred to as “unit bit string UBQX”), and each unit bit string UBQX has a plurality of dot types according to the correspondence table (dot size portion in FIG. 3). That is, it is converted into code data representing one of a plurality of dot sizes. For example, a unit bit string UBQX of “10” is converted into a SIZE4 dot size. Accordingly, the unit bit string UBQX having a value of “10” is converted into code data representing the dot type of SIZE4. Similarly, for example, a unit bit string UBQX having a value of “01” is converted into code data representing a dot type of SIZE2, and a unit bit string UBQX having a value of “11” is converted into code data representing a dot type of SIZE3. . By performing such conversion on all the unit bit strings UBQX constituting the target data, the target data can be encoded into code data representing a series of dot types.

上記変形例4におけるドット種類は、4つのドットサイズとしているが、ドットサイズの数を4以外の数とする構成としてもよい。さらには、ドット種類をドットサイズと他のドットを規定するパラメータ(例えば、形状)との組み合わせで特定されるものとしてもよい。   Although the dot type in the modification 4 is four dot sizes, the number of dot sizes may be a number other than four. Furthermore, the dot type may be specified by a combination of the dot size and a parameter (for example, shape) that defines other dots.

C5.変形例5:
また、プリンタ300の印刷に用いられるインクは、染料インクであってもよく、顔料インクであってもよい。
C5. Modification 5:
Further, the ink used for printing by the printer 300 may be dye ink or pigment ink.

本発明の第1実施例としてのデータ記録・復元システムの構成を概略的に示す説明図である。It is explanatory drawing which shows roughly the structure of the data recording / restoration system as 1st Example of this invention. データ記録・復元システム10によるデータ記録処理の流れを示すフローチャートである。4 is a flowchart showing a flow of data recording processing by the data recording / restoring system 10. 対応テーブルCTの一例を示す説明図である。It is explanatory drawing which shows an example of correspondence table CT. 対象データの符号化方法の一例を示す説明図である。It is explanatory drawing which shows an example of the encoding method of object data. データ記録コードDRCの一例を示す説明図である。It is explanatory drawing which shows an example of the data recording code DRC. データ記録・復元システム10によるデータ復元処理の流れを示すフローチャートである。4 is a flowchart showing a flow of data restoration processing by the data recording / restoring system 10. 第2実施例におけるデータ記録処理およびデータ復元処理に用いられる対応テーブルCTの一例を示す説明図である。It is explanatory drawing which shows an example of the corresponding | compatible table CT used for the data recording process and data restoration process in 2nd Example. 変形例4における対象データの符号化方法の一例を示す説明図である。It is explanatory drawing which shows an example of the encoding method of the object data in the modification 4.

符号の説明Explanation of symbols

10…データ記録・復元システム
100…コンピュータ
110…CPU
120…表示部
130…操作部
140…外部記憶装置
150…インターフェイス部
160…バス
200…内部記憶装置
210…データ記録処理部
212…符号化処理部
214…印刷処理部
220…データ復元処理部
222…読み取り処理部
224…判別処理部
226…復号処理部
300…プリンタ
400…スキャナ
10. Data recording / restoration system 100 ... Computer 110 ... CPU
DESCRIPTION OF SYMBOLS 120 ... Display part 130 ... Operation part 140 ... External storage device 150 ... Interface part 160 ... Bus 200 ... Internal storage device 210 ... Data recording process part 212 ... Encoding process part 214 ... Print process part 220 ... Data restoration process part 222 ... Reading processing unit 224 ... Discrimination processing unit 226 ... Decoding processing unit 300 ... Printer 400 ... Scanner

Claims (18)

デジタルデータを印刷媒体上に記録する装置であって、
前記デジタルデータを構成するビット列が取り得る複数の値のそれぞれを少なくともドットサイズで特定されるドット種類に対応付けることにより、前記デジタルデータを一連のドット種類を表すコードデータに変換する符号化部と、
前記コードデータの表す一連のドット種類のドットを前記印刷媒体上に形成することにより、前記デジタルデータを記録するための機械読み取り可能な視覚コードを印刷する印刷部と、を備える、装置。
An apparatus for recording digital data on a print medium,
An encoding unit that converts the digital data into code data representing a series of dot types by associating each of a plurality of values that can be taken by the bit string constituting the digital data with at least a dot type specified by a dot size;
A printing unit that prints a machine-readable visual code for recording the digital data by forming a series of dot types represented by the code data on the print medium.
請求項1記載の装置であって、
前記ドット種類は、インク色と前記ドットサイズとの組み合わせで特定されるものである、装置。
The apparatus of claim 1, comprising:
The dot type is an apparatus specified by a combination of an ink color and the dot size.
請求項1または2記載の装置であって、
前記印刷部は、前記デジタルデータを構成するビット列が取り得る複数の値と前記ドット種類との対応を定義する機械読み取り可能な対応情報を、前記印刷媒体上に印刷する、装置。
The apparatus according to claim 1 or 2, wherein
The printing unit prints machine-readable correspondence information defining correspondence between a plurality of values that can be taken by a bit string constituting the digital data and the dot type on the print medium.
請求項1または2記載の装置であって、
前記印刷部は、前記デジタルデータを構成するビット列が取り得る複数の値と前記ドット種類との対応を定義する所定の対応テーブルを特定する機械読み取り可能なテーブル特定情報を、前記印刷媒体上に印刷する、装置。
The apparatus according to claim 1 or 2, wherein
The printing unit prints on the print medium machine-readable table specifying information for specifying a predetermined correspondence table that defines correspondence between a plurality of values that can be taken by the bit string constituting the digital data and the dot type. Device.
請求項2記載の装置であって、
前記印刷部は、複数段階のドットサイズのドットを形成可能であり、
前記符号化部は、同一のインク色でドットサイズが1段階異なる2つのドット種類のそれぞれに互いに1ビットのみ相違するビット列の値が対応付けられるように、前記デジタルデータの前記コードデータへの変換を行う、装置。
The apparatus of claim 2, comprising:
The printing unit can form dots of a plurality of dot sizes,
The encoding unit converts the digital data into the code data so that each of two dot types having the same ink color and different in dot size by one step is associated with a bit string value different from each other by only 1 bit. Do the equipment.
印刷媒体上に記録されたデジタルデータを復元する装置であって、
前記印刷媒体上に印刷された前記デジタルデータを記録するための機械読み取り可能な視覚コードを読み取る読み取り部と、
読み取られた前記視覚コードを構成する複数のインクドットのそれぞれについて、少なくともドットサイズで特定されるドット種類を判別することにより、一連のドット種類を表すコードデータを生成する判別部と、
前記コードデータの表す一連のドット種類のそれぞれをビット列が取り得る値に対応付けることにより、前記コードデータを前記デジタルデータに変換する復号部と、を備える、装置。
An apparatus for restoring digital data recorded on a print medium,
A reading unit for reading a machine-readable visual code for recording the digital data printed on the print medium;
A discriminator for generating code data representing a series of dot types by discriminating at least the dot type specified by the dot size for each of the plurality of ink dots constituting the read visual code,
A decoding unit that converts the code data into the digital data by associating each of a series of dot types represented by the code data with a value that can be taken by a bit string.
請求項6記載の装置であって、
前記ドット種類は、インク色と前記ドットサイズとの組み合わせで特定されるものである、装置。
The apparatus of claim 6, comprising:
The dot type is an apparatus specified by a combination of an ink color and the dot size.
請求項6または7記載の装置であって、
前記読み取り部は、前記視覚コードの印刷解像度よりも細かい解像度で、前記視覚コードの読み取りを行う、装置。
The apparatus according to claim 6 or 7, comprising:
The reading unit is a device that reads the visual code at a resolution finer than a printing resolution of the visual code.
請求項6または7記載の装置であって、
前記印刷媒体には、前記デジタルデータを構成するビット列が取り得る複数の値と前記ドット種類との対応を定義する機械読み取り可能な対応情報が印刷されており、
前記読み取り部は、前記対応情報を読み取り、
前記復号部は、読み取られた前記対応情報を用いて、前記コードデータの前記デジタルデータへの変換を行う、装置。
The apparatus according to claim 6 or 7, comprising:
On the print medium, machine-readable correspondence information that defines correspondence between a plurality of values that can be taken by the bit string constituting the digital data and the dot type is printed,
The reading unit reads the correspondence information,
The decoding unit converts the code data into the digital data using the read correspondence information.
請求項6または7記載の装置であって、
前記印刷媒体には、前記デジタルデータを構成するビット列が取り得る複数の値と前記ドット種類との対応を定義する所定の対応テーブルを特定する機械読み取り可能なテーブル特定情報が印刷されており、
前記読み取り部は、前記テーブル特定情報を読み取り、
前記復号部は、読み取られた前記テーブル特定情報により特定された前記所定の対応テーブルを用いて、前記コードデータの前記デジタルデータへの変換を行う、装置。
The apparatus according to claim 6 or 7, comprising:
The print medium is printed with machine-readable table specifying information for specifying a predetermined correspondence table that defines correspondence between a plurality of values that can be taken by the bit string constituting the digital data and the dot type,
The reading unit reads the table specifying information,
The decoding unit converts the code data into the digital data using the predetermined correspondence table specified by the read table specifying information.
デジタルデータを印刷媒体上に記録する方法であって、
(a)前記デジタルデータを構成するビット列が取り得る複数の値のそれぞれを少なくともドットサイズで特定されるドット種類に対応付けることにより、前記デジタルデータを一連のドット種類を表すコードデータに変換する工程と、
(b)前記コードデータの表す一連のドット種類のドットを前記印刷媒体上に形成することにより、前記デジタルデータを記録するための機械読み取り可能な視覚コードを印刷する工程と、を備える、方法。
A method of recording digital data on a print medium,
(A) a step of converting the digital data into code data representing a series of dot types by associating each of a plurality of possible values of a bit string constituting the digital data with at least a dot type specified by a dot size; ,
(B) printing a machine readable visual code for recording the digital data by forming a series of dot types of dots represented by the code data on the print medium.
請求項11記載の方法であって、
前記ドット種類は、インク色と前記ドットサイズとの組み合わせで特定されるものである、方法。
The method of claim 11, comprising:
The dot type is specified by a combination of an ink color and the dot size.
デジタルデータを印刷媒体上に記録するためのコンピュータプログラムであって、
前記デジタルデータを構成するビット列が取り得る複数の値のそれぞれを少なくともドットサイズで特定されるドット種類に対応付けることにより、前記デジタルデータを一連のドット種類を表すコードデータに変換する符号化機能と、
前記コードデータの表す一連のドット種類のドットを前記印刷媒体上に形成することにより、前記デジタルデータを記録するための機械読み取り可能な視覚コードを印刷する印刷機能と、を、コンピュータに実現させる、コンピュータプログラム。
A computer program for recording digital data on a print medium,
An encoding function for converting the digital data into code data representing a series of dot types by associating each of a plurality of values that can be taken by the bit string constituting the digital data with at least a dot type specified by a dot size;
Forming a series of dot types of dots represented by the code data on the print medium, thereby causing a computer to realize a printing function for printing a machine-readable visual code for recording the digital data; Computer program.
請求項13記載のコンピュータプログラムであって、
前記ドット種類は、インク色と前記ドットサイズとの組み合わせで特定されるものである、コンピュータプログラム。
A computer program according to claim 13, comprising:
The dot type is a computer program specified by a combination of an ink color and the dot size.
印刷媒体上に記録されたデジタルデータを復元する方法であって、
(a)前記印刷媒体上に印刷された前記デジタルデータを記録するための機械読み取り可能な視覚コードを読み取る工程と、
(b)読み取られた前記視覚コードを構成する複数のインクドットのそれぞれについて、少なくともドットサイズで特定されるドット種類を判別することにより、一連のドット種類を表すコードデータを生成する工程と、
(c)前記コードデータの表す一連のドット種類のそれぞれをビット列が取り得る値に対応付けることにより、前記コードデータを前記デジタルデータに変換する工程と、を備える、方法。
A method for restoring digital data recorded on a print medium, comprising:
(A) reading a machine readable visual code for recording the digital data printed on the print medium;
(B) generating code data representing a series of dot types by discriminating at least the dot type specified by the dot size for each of the plurality of ink dots constituting the read visual code;
(C) converting the code data into the digital data by associating each of a series of dot types represented by the code data with a value that can be taken by a bit string.
請求項15記載の方法であって、
前記ドット種類は、インク色と前記ドットサイズとの組み合わせで特定されるものである、方法。
The method of claim 15, comprising:
The dot type is specified by a combination of an ink color and the dot size.
印刷媒体上に記録されたデジタルデータを復元するためのコンピュータプログラムであって、
前記印刷媒体上に印刷された前記デジタルデータを記録するための機械読み取り可能な視覚コードを読み取る読み取り機能と、
読み取られた前記視覚コードを構成する複数のインクドットのそれぞれについて、少なくともドットサイズで特定されるドット種類を判別することにより、一連のドット種類を表すコードデータを生成する判別機能と、
前記コードデータの表す一連のドット種類のそれぞれをビット列が取り得る値に対応付けることにより、前記コードデータを前記デジタルデータに変換する復号機能と、を、コンピュータに実現させる、コンピュータプログラム。
A computer program for restoring digital data recorded on a print medium,
A reading function for reading a machine-readable visual code for recording the digital data printed on the printing medium;
A discriminating function for generating code data representing a series of dot types by discriminating at least the dot type specified by the dot size for each of the plurality of ink dots constituting the read visual code,
A computer program for causing a computer to realize a decoding function for converting the code data into the digital data by associating each of a series of dot types represented by the code data with a value that can be taken by a bit string.
請求項17記載のコンピュータプログラムであって、
前記ドット種類は、インク色と前記ドットサイズとの組み合わせで特定されるものである、コンピュータプログラム。
A computer program according to claim 17,
The dot type is a computer program specified by a combination of an ink color and the dot size.
JP2006306451A 2005-11-11 2006-11-13 Data recording on print medium and recovery of data printed on medium Pending JP2007157127A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006306451A JP2007157127A (en) 2005-11-11 2006-11-13 Data recording on print medium and recovery of data printed on medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2005327580 2005-11-11
JP2006306451A JP2007157127A (en) 2005-11-11 2006-11-13 Data recording on print medium and recovery of data printed on medium

Publications (1)

Publication Number Publication Date
JP2007157127A true JP2007157127A (en) 2007-06-21

Family

ID=38241350

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006306451A Pending JP2007157127A (en) 2005-11-11 2006-11-13 Data recording on print medium and recovery of data printed on medium

Country Status (1)

Country Link
JP (1) JP2007157127A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009057314A1 (en) * 2007-10-30 2009-05-07 Kenji Yoshida Code pattern
JP2009200953A (en) * 2008-02-22 2009-09-03 Ricoh Co Ltd Image forming apparatus, image reader, image forming method, image reading method, image forming program, and image reading program
JP2011076587A (en) * 2010-04-14 2011-04-14 Hiroyuki Endo Two-dimensional code, two-dimensional code reader, and program
CN102112995A (en) * 2008-08-04 2011-06-29 霍夫曼-拉罗奇有限公司 Encoding method for encoding medical items
JP2012078973A (en) * 2010-09-30 2012-04-19 Shift:Kk Two-dimensional code, encoding device, encoding program and two-dimensional code reader
CN102576415A (en) * 2009-09-30 2012-07-11 希福特株式会社 Two-dimensional code, two-dimensional code reader, and program
JP2013134775A (en) * 2011-12-23 2013-07-08 Konica Minolta Laboratory Usa Inc Four-dimensional (4d) color bar code for encryption and decryption of large-volume data

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009057314A1 (en) * 2007-10-30 2009-05-07 Kenji Yoshida Code pattern
JP2009200953A (en) * 2008-02-22 2009-09-03 Ricoh Co Ltd Image forming apparatus, image reader, image forming method, image reading method, image forming program, and image reading program
CN102112995A (en) * 2008-08-04 2011-06-29 霍夫曼-拉罗奇有限公司 Encoding method for encoding medical items
JP2011530128A (en) * 2008-08-04 2011-12-15 エフ.ホフマン−ラ ロシュ アーゲー Encoding method for encoding medical articles
US8540141B2 (en) 2008-08-04 2013-09-24 Roche Diagnostics Operations, Inc. Encoding method for encoding medical items
CN102576415A (en) * 2009-09-30 2012-07-11 希福特株式会社 Two-dimensional code, two-dimensional code reader, and program
US8714456B2 (en) 2009-09-30 2014-05-06 Shift Co. Ltd. Two-dimensional code, two-dimensional code reader, and program
JP2011076587A (en) * 2010-04-14 2011-04-14 Hiroyuki Endo Two-dimensional code, two-dimensional code reader, and program
JP2012078973A (en) * 2010-09-30 2012-04-19 Shift:Kk Two-dimensional code, encoding device, encoding program and two-dimensional code reader
JP2013134775A (en) * 2011-12-23 2013-07-08 Konica Minolta Laboratory Usa Inc Four-dimensional (4d) color bar code for encryption and decryption of large-volume data

Similar Documents

Publication Publication Date Title
JP2007157127A (en) Data recording on print medium and recovery of data printed on medium
JP5287485B2 (en) Information expression image, printed matter, image processing apparatus, and image processing program
US8335014B2 (en) Image forming apparatus, control method, and program for copy-forgery-inhibited dot pattern calibration
US8270663B2 (en) Watermarked information embedding apparatus
US7532738B2 (en) Print medium quality adjustment system, inspection watermark medium output device for outputting watermark medium to undergo inspection, watermark quality inspection device, adjusted watermark medium output device, print medium quality adjustment method and inspection watermark medium to undergo inspection
JP2006345017A (en) Method, unit, and program for processing image, and recording medium
US20110075165A1 (en) Image processing system, image processing method and computer readable medium
JP2007118316A (en) Image processing method and its device
JP2010118927A (en) Program, recording medium, image processing apparatus, image processing method, and sheet for gradation correction parameter generation
US7911653B2 (en) Device using low visibility encoded image to manage copy history
US20090323127A1 (en) Image processing apparatus, control method therefor, control program and storage medium
JP5145833B2 (en) Two-dimensional code reading device, two-dimensional code reading method, two-dimensional code reading program, and recording medium
JP4829715B2 (en) Image processing apparatus, image processing method, image processing program, and storage medium
US20110102823A1 (en) Image processing apparatus, image processing method, and computer-readable recording medium
JP4940918B2 (en) Data restoration apparatus and method, and computer program
JPH05301380A (en) Image processor and image processing method
JP5531578B2 (en) Program, image processing apparatus, image processing method, and image processing system
JP5742449B2 (en) Image processing apparatus and image processing program
JP2007286722A (en) Recording of data onto print medium and restoration of data recorded on print medium
JP5434273B2 (en) Image processing apparatus and image processing program
JP4635814B2 (en) Image processing apparatus, image processing method, and image processing program
JP3715946B2 (en) Image processing apparatus and method
JP2014236483A (en) Image processing system, image processing method, and program
JP2016200999A (en) Printing instruction device, printing system, and program
JP2004015213A (en) Image processing apparatus and image processing method