JP4027371B2 - Printing device - Google Patents

Printing device Download PDF

Info

Publication number
JP4027371B2
JP4027371B2 JP2005001440A JP2005001440A JP4027371B2 JP 4027371 B2 JP4027371 B2 JP 4027371B2 JP 2005001440 A JP2005001440 A JP 2005001440A JP 2005001440 A JP2005001440 A JP 2005001440A JP 4027371 B2 JP4027371 B2 JP 4027371B2
Authority
JP
Japan
Prior art keywords
data
print
image
unit
image data
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
JP2005001440A
Other languages
Japanese (ja)
Other versions
JP2006191365A (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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2005001440A priority Critical patent/JP4027371B2/en
Publication of JP2006191365A publication Critical patent/JP2006191365A/en
Application granted granted Critical
Publication of JP4027371B2 publication Critical patent/JP4027371B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Record Information Processing For Printing (AREA)
  • Cleaning In Electrography (AREA)
  • Image Processing (AREA)

Description

この発明は、例えば、プリンタや、複写機、ファクシミリ、プリンタと他装置とを組み合わせた複合機などの、画像を紙などの印刷媒体に印刷する印刷装置に関する。   The present invention relates to a printing apparatus that prints an image on a printing medium such as paper, such as a printer, a copying machine, a facsimile machine, or a multifunction machine that combines a printer and another apparatus.

近年、印刷媒体に印刷された画像(以下、印刷画像という)に対する複製や改竄などの不正行為を検出するために、また、過去になされた印刷行為を後から追跡するために、電子透かしと称される不可視なデータを印刷画像のイメージデータ(以下、印刷画像データという)に埋め込んで印刷する技術が開発されている。   In recent years, in order to detect fraudulent acts such as duplication and falsification of an image printed on a print medium (hereinafter referred to as a print image), and to trace later print acts, it is referred to as digital watermark. A technique has been developed in which invisible data is embedded in print image data (hereinafter referred to as print image data) and printed.

この主の従来の技術としては、例えば、以下のような、印刷装置とその印刷装置に印刷指令を出力する上位装置とを用いるものがある(特許文献1参照)。   As this main conventional technique, for example, there is a technique using a printing apparatus and a host apparatus that outputs a print command to the printing apparatus as described below (see Patent Document 1).

すなわち、印刷装置の上位装置(パーソナルコンピュータやサーバなど)が、電子透かしを生成して、電子透かしを印刷画像データに埋め込む。そして、上位装置は、電子透かしが埋め込まれた印刷画像データ(以下、透かし入り印刷画像データという)とその透かし入り印刷画像データに埋め込まれた電子透かしとを印刷装置に出力する。印刷装置は、印刷処理部と記憶部と原稿読取部(以下、それぞれ、印刷部とデータ格納部と読取部という)とを有しており、上位装置から透かし入り印刷画像データと電子透かしとを取得すると、透かし入り印刷画像データに基づいて、電子透かしが埋め込まれた印刷画像(以下、透かし入り印刷画像という)を印刷部で印刷媒体に印刷するとともに、透かし入り印刷画像データと電子透かしとを対応付けてデータ格納部に格納する。そして、印刷装置は、後刻、読取部で透かし入り印刷画像が印刷された印刷媒体を読み取った場合に、印刷媒体に印刷された透かし入り印刷画像に埋め込まれた電子透かしを抽出し、その電子透かしに対応する印刷画像データをデータ格納部から読み出して印刷媒体に再印刷する。   That is, a higher-level device (such as a personal computer or a server) of the printing device generates a digital watermark and embeds the digital watermark in the print image data. Then, the host device outputs print image data in which the digital watermark is embedded (hereinafter referred to as watermarked print image data) and the digital watermark embedded in the watermarked print image data to the printing device. The printing apparatus includes a print processing unit, a storage unit, and a document reading unit (hereinafter referred to as a printing unit, a data storage unit, and a reading unit, respectively). Upon acquisition, based on the watermarked print image data, a print image embedded with a digital watermark (hereinafter referred to as a watermarked print image) is printed on a print medium by the printing unit, and the watermarked print image data and the digital watermark are The data is stored in the data storage unit in association with each other. Then, when the printing device reads the print medium on which the watermarked print image is printed at a later time, the printing apparatus extracts the digital watermark embedded in the watermarked print image printed on the print medium, and the digital watermark Is read from the data storage unit and reprinted on the print medium.

この従来の技術は、電子透かしと称される不可視なデータが埋め込まれた印刷画像を、印刷媒体に印刷することができる。また、この従来の技術は、印刷装置のデータ格納部に格納された印刷画像データ(以下、オリジナル印刷画像データという)を再印刷することもできる。   This conventional technique can print a print image in which invisible data called a digital watermark is embedded on a print medium. This conventional technique can also reprint print image data (hereinafter referred to as original print image data) stored in the data storage unit of the printing apparatus.

なお、電子透かしの生成や電子透かしの印刷画像データへの埋め込みについては、特開2003−101762号公報や特開2003−209676号公報、その他に開示されているが、ここでは詳細な説明を省略する(特許文献2と3参照)。
特開2003−134325号公報(第6段落〜第19段落、図1〜6) 特開2003−101762号公報 特開2003−209676号公報
Note that generation of a digital watermark and embedding of a digital watermark in print image data are disclosed in JP 2003-101762 A, JP 2003-209676 A, and others, but detailed description thereof is omitted here. (See Patent Documents 2 and 3).
JP 2003-134325 A (6th to 19th paragraphs, FIGS. 1 to 6) JP 2003-101762 A JP 2003-209676 A

従来の技術は、電子透かしが埋め込まれていない印刷画像を印刷する場合があり、印刷媒体に印刷された印刷画像のセキュリティが低下する場合があるという課題があった。   The conventional technique has a problem that a print image in which an electronic watermark is not embedded may be printed, and the security of the print image printed on the print medium may be lowered.

すなわち、従来の技術では、上位装置が、電子透かしの生成や電子透かしの印刷画像データへの埋め込みを行っていた。そのため、従来の技術では、上位装置が電子透かしの生成や電子透かしの印刷画像データへの埋め込みを行わない場合に、印刷装置は電子透かしが埋め込まれていない印刷画像を印刷媒体に印刷していた。この場合、印刷者(または、印刷者の管理者)は、いつ、誰が、どこで印刷したのかなどの、印刷行為の発生を追跡するためのデータ(以下、追跡データという)を取得することができないので、印刷行為の発生を追跡することができなかった。その結果、従来の技術は、印刷媒体に印刷された印刷画像のセキュリティが低下する場合があった。   That is, in the prior art, the host device generates a digital watermark and embeds the digital watermark in print image data. Therefore, in the conventional technology, when the host device does not generate the digital watermark or embed the digital watermark in the print image data, the printing device prints the print image without the digital watermark embedded on the print medium. . In this case, the printer (or the administrator of the printer) cannot obtain data for tracking the occurrence of printing activities such as when, where, and where printing was performed (hereinafter referred to as tracking data). So it was not possible to track the occurrence of printing act. As a result, in the conventional technique, the security of the print image printed on the print medium may be lowered.

また、従来の技術は、印刷者に多大な負担をかけるといった課題があった。   Further, the conventional technique has a problem that it places a great burden on the printer.

すなわち、従来の技術では、電子透かしを印刷画像データに埋め込むためのソフトウェア(以下、埋め込みソフトウェアという)が、上位装置に格納されていた。しかも、その埋め込みソフトウェアは、印刷者が、手作業で稼働させる必要があるとともに、印刷媒体毎に、電子透かしとして印刷行為の発生を追跡することが可能となるデータ(以下、追跡データという)を印刷画像に埋め込むための設定や、電子透かしを適切に印刷するための印刷装置の設定を手作業で行う必要があった。そのため、従来の技術は、電子透かしを埋め込まない通常の印刷に比べて、印刷者に多大な負担をかけていた。   That is, in the prior art, software for embedding a digital watermark in print image data (hereinafter referred to as embedded software) has been stored in the host device. Moreover, the embedded software needs to be operated manually by the printer, and the data (hereinafter referred to as tracking data) that enables the printing activity to be traced as a digital watermark for each printing medium. It has been necessary to manually perform settings for embedding in a print image and settings of a printing apparatus for appropriately printing a digital watermark. For this reason, the conventional technique places a great burden on the printer as compared with normal printing without embedding a digital watermark.

この発明に係る印刷装置は、画像を印刷媒体に印刷するための印刷データを外部から取得するデータ取得部と、データ取得部によって取得された印刷データに基づいて、印刷画像のイメージデータである印刷画像データを形成する印刷画像形成部と、データ取得部によって取得された印刷データと印刷装置または印刷時の状況に固有なデータである装置データとに基づいて、電子透かしとして印刷画像に埋め込まれる、埋め込みデータを生成する埋め込みデータ生成部と、埋め込みデータ生成部によって生成された埋め込みデータに基づいて、電子透かしの地紋画像のイメージデータである地紋画像データを形成する地紋画像形成部と、印刷画像形成部によって形成された印刷画像データと地紋画像形成部によって形成された地紋画像データとを合成して、電子透かしが埋め込まれた透かし入り印刷画像のイメージデータである合成画像データを形成する画像合成部と、画像合成部によって形成された合成画像データに基づいて、電子透かしが埋め込まれた透かし入り印刷画像である合成画像を印刷媒体に印刷する印刷部とを有することを特徴とする。   A printing apparatus according to the present invention includes a data acquisition unit that acquires print data for printing an image on a print medium from the outside, and printing that is image data of a print image based on the print data acquired by the data acquisition unit Embedded in the print image as a digital watermark based on the print image forming unit that forms the image data, the print data acquired by the data acquisition unit and the device data that is data specific to the printing device or the printing situation, An embedded data generation unit that generates embedded data, a copy-forgery-inhibited pattern image forming unit that forms copy-forgery-inhibited pattern image data that is image data of a digital watermark copy-forgery-inhibited pattern image based on the embedded data generated by the embedded data generation unit, and print image formation Image data formed by the print area and copy-forgery-inhibited pattern image data formed by the copy-forgery-inhibited pattern image formation section Are combined to form a composite image data that is the image data of a watermarked print image in which the digital watermark is embedded, and the digital watermark is embedded based on the composite image data formed by the image composite unit. And a printing unit that prints a composite image, which is a watermarked print image, on a print medium.

なお、「印刷装置」は、印刷機能を有する機器全般を意味しており、例えば、プリンタや、複写機、ファクシミリ、プリンタと他装置とを組み合わせた複合機などを含んでいる。また、「外部」は、上位装置(例えば、パーソナルコンピュータやサーバなど)や、メモリ媒体(例えば、メモリカードや、DVD、CD−ROM、携帯型のメモリ装置、携帯型のHDD装置など)である。また、「印刷データ」は、文書や図形(写真や、絵、表などを含む)の画像を印刷媒体に印刷するためのデータである。「印刷データ」は、例えば、印刷画像データや、印刷画像内のテキストデータ、印刷データの名称、ポストスクリプトなどのページ記述言語、印刷画像の著作権データ(例えば、著作名や著作権番号、著作権者など)、印刷画像の改竄検出用データ(例えば、印刷画像を縮小したデータなど)、その他の、電子透かしとして印刷画像に埋め込まれるデータ(埋め込みデータ)の候補となる候補データのグループ群の中の一乃至複数種類のデータからなる。特に、この発明では、「印刷データ」は、印刷画像の著作権データや改竄検出用データの少なくとも一方を含むのが好ましい。「印刷データ」は、上位装置やメモリ媒体の内部に格納されている。「装置データ」は、印刷装置または印刷時の状況に関するデータである。装置データは、例えば、印刷装置のID(すなわち、印刷装置に固有なコードまたは名称)や、印刷日時、印刷部門(すなわち、印刷部門のコードまたは名称)、印刷者(すなわち、印刷者のコードまたは氏名)、印刷階調(すなわち、印刷濃度)、印刷解像度、印刷媒体のサイズ、その他の、電子透かしとして印刷画像に埋め込まれるデータ(埋め込みデータ)の候補となる候補データのグループ群の中の一乃至複数種類のデータからなる。「装置データ」は、印刷装置の内部または上位装置の内部に格納されている。   Note that “printing apparatus” means all devices having a printing function, and includes, for example, a printer, a copier, a facsimile machine, a multi-function machine that combines a printer and another apparatus, and the like. The “external” is a higher-level device (for example, a personal computer or a server) or a memory medium (for example, a memory card, DVD, CD-ROM, portable memory device, portable HDD device, or the like). . “Print data” is data for printing an image of a document or a figure (including a photograph, a picture, a table, etc.) on a print medium. “Print data” is, for example, print image data, text data in the print image, print data name, page description language such as postscript, copyright data of the print image (for example, copyright name, copyright number, copyright The right group), data for detecting falsification of the print image (for example, data obtained by reducing the print image), and other groups of candidate data that are candidates for data embedded in the print image (embedded data) as a digital watermark It consists of one or more types of data. In particular, in the present invention, the “print data” preferably includes at least one of copyright data and falsification detection data of a print image. “Print data” is stored in the host device or the memory medium. “Apparatus data” is data relating to the printing apparatus or the status at the time of printing. The device data includes, for example, the ID of the printing device (i.e., a code or name unique to the printing device), the printing date and time, the printing department (i.e., the code or name of the printing department), and the printer (i.e., the printer code or name). Name), print gradation (that is, print density), print resolution, print medium size, and other candidate data groups that are candidates for data (embedded data) embedded in a print image as a digital watermark Or consisting of multiple types of data. The “apparatus data” is stored inside the printing apparatus or the upper apparatus.

この発明に係る印刷装置は、印刷データと印刷装置または印刷時の状況に固有なデータ(以下、装置データという)とに基づいて、必ず電子透かしを生成して埋め込む。そのため、印刷者(または、印刷者の管理者)は、いつ、誰が、どこで印刷したのかなどの追跡データを、印刷媒体から必ず得ることができるので、常に印刷行為の発生を追跡することができる。
なお、請求項1に記載の印刷装置は、上述のこの発明に係る印刷装置の構成要素に加え、さらに、印刷媒体から合成画像データを読み取り、合成画像データの読み取り結果である読取データを取得する読取部と、読取部によって取得された読取データの中から地紋画像データを抽出し、地紋画像データの抽出結果である透かしデータを取得する透かしデータ抽出部と、埋め込みデータ生成部によって生成された埋め込みデータと透かしデータ抽出部によって抽出された透かしデータに含まれる埋め込みデータとを比較し、両者が所定の許容範囲内で一致するか否かを判定することによって、印刷画像が印刷媒体に正しく印刷されているか否かを判定する抽出結果判定部とを有し、抽出結果判定部は、埋め込みデータと透かしデータに含まれる埋め込みデータが所定の許容範囲内で一致する場合に、合成画像が印刷媒体に正しく印刷されていると判断して、透かしデータを、当該印刷装置に印刷指令を出力する上位装置に出力し、埋め込みデータと透かしデータに含まれる埋め込みデータが所定の許容範囲内で一致しない場合に、合成画像が印刷媒体に正しく印刷されていないと判断して、エラーデータと透かしデータとを上位装置に出力することを特徴とする。
また、請求項2に記載の印刷装置は、データ取得部が、印刷データとして、文書データを取得した場合に、印刷画像形成部は、文書データのファイル名に付された拡張子から文書データのファイル形式を認識し、認識したファイル形式に基づいて、印刷画像データを形成することを特徴とする。
また、請求項3に記載の印刷装置は、データ取得部が、印刷データとして、ファイル形式を特定するための指定アドレスが付された文書データを取得した場合に、印刷画像形成部は、文書データに付された指定アドレスデータを認識し、認識した指定アドレスデータに基づいて、当該印刷装置の内部のデータ格納部から文書データのファイル形式を取得し、取得したファイル形式に基づいて、印刷画像データを形成することを特徴とする。
また、請求項4に記載の印刷装置は、地紋画像形成部は、印刷画像形成部によって形成された印刷画像データのサイズと同様のサイズになるように、埋め込みデータに基づいて、0ビットの値を意味する配列パターンとして定義された不可視な埋め込み画素データと1ビットの値を意味する配列パターンとして定義された不可視な埋め込み画素データを配置することにより、地紋画像データの素地となる画像データを形成し、当該素地となる画像データを、印刷画像データを電子透かしとして埋め込み可能なデータ量以下になるように縮小することによって形成された縮小印刷画像データに適用して、地紋画像データを形成することを特徴とする。
なお、請求項5に記載の印刷装置は、画像を印刷媒体に印刷するための印刷データを外部から取得するデータ取得部と、データ取得部によって、当該印刷装置に印刷指令を出力する上位装置から複数種類のデータが組み合わされた圧縮データを取得した場合に、圧縮データを解凍して、印刷データと、電子透かしの地紋画像のイメージデータである地紋画像データを符号化した地紋符号化データとを取得する圧縮データ解凍部と、圧縮データ解凍部によって取得された印刷データに基づいて、印刷画像のイメージデータである印刷画像データを形成する印刷画像形成部と、圧縮データ解凍部によって取得された地紋符号化データに基づいて、地紋画像データを形成する地紋画像形成部と、印刷画像形成部によって形成された印刷画像データと地紋画像形成部によって形成された地紋画像データとを合成して、電子透かしが埋め込まれた透かし入り印刷画像のイメージデータである合成画像データを形成する画像合成部と、画像合成部によって形成された合成画像データに基づいて、電子透かしが埋め込まれた透かし入り印刷画像である合成画像を印刷媒体に印刷する印刷部とを有することを特徴とする。
また、請求項6に記載の印刷装置は、請求項5に記載の印刷装置において、上位装置から取得した圧縮データは、複数種類のデータがRun−Length法またはHuffman法によって可逆圧縮されることによって生成されていることを特徴とする。
請求項7、9、11、及び13に記載の印刷装置は、上述のこの発明に係る印刷装置の構成要素に加え、さらに、印刷部によって合成画像データに基づく印刷処理が行われる前に、合成画像データに対する不正行為の有無を検証する透かし事前検証部を有する。
そして、請求項7に記載の印刷装置では、透かし事前検証部は、当該印刷装置が、当該印刷装置に印刷指令を出力する上位装置から、電子透かしとして印刷画像に埋め込まれる埋め込みデータと、当該埋め込みデータに基づいて生成され、かつ、合成画像データの基となる、複数種類のデータが組み合わされた圧縮データとを取得した場合に、圧縮データから埋め込みデータを抽出して、抽出した埋め込みデータと上位装置から取得した埋め込みデータとを比較し、両者が所定の許容範囲内で一致しないときに、合成画像データに対する不正行為があったと判定することを特徴とする。
また、請求項9に記載の印刷装置では、透かし事前検証部は、当該印刷装置が、当該印刷装置に印刷指令を出力する上位装置から、電子透かしとして印刷画像に埋め込まれる埋め込みデータと、当該埋め込みデータに基づいて生成された合成画像データとを取得した場合に、合成画像データから埋め込みデータを抽出して、抽出した埋め込みデータと上位装置から取得した埋め込みデータとを比較し、両者が所定の許容範囲内で一致しないときに、合成画像データに対する不正行為があったと判定することを特徴とする。
また、請求項11に記載の印刷装置では、透かし事前検証部は、当該印刷装置が、当該印刷装置に印刷指令を出力する上位装置から、印刷画像のイメージデータである印刷画像データを電子透かしとして埋め込み可能なデータ量以下になるように縮小することによって形成された縮小印刷画像データと、合成画像データの基となり、かつ、当該縮小印刷画像データに基づく地紋画像データを符号化した地紋符号化データを含む、複数種類のデータが組み合わされた圧縮データとを取得した場合に、圧縮データから地紋符号化データを抽出し、さらに、地紋符号化データから縮小印刷画像データを抽出して、抽出した縮小印刷画像データの輝度値と上位装置から取得した縮小印刷画像データの輝度値とを比較し、両者の差が予め定められた閾値よりも大きいときに、合成画像データに対する不正行為があったと判定することを特徴とする。
また、請求項13に記載の印刷装置では、透かし事前検証部は、当該印刷装置が、当該印刷装置に印刷指令を出力する上位装置から、縮小印刷画像データと、当該縮小印刷画像データに基づく地紋画像データに基づいて生成された合成画像データとを取得した場合に、合成画像データから縮小印刷画像データを抽出して、抽出した縮小印刷画像データの輝度値と上位装置から取得した縮小印刷画像データの輝度値とを比較し、両者の差が予め定められた閾値よりも大きいときに、合成画像データに対する不正行為があったと判定することを特徴とする。
請求項8、10、12、及び14に記載の印刷装置は、上述の請求項5に記載の印刷装置の構成要素に加え、さらに、印刷部によって合成画像データに基づく印刷処理が行われる前に、合成画像データに対する不正行為の有無を検証する透かし事前検証部を有する。
そして、請求項8に記載の印刷装置では、透かし事前検証部は、当該印刷装置が、当該印刷装置に印刷指令を出力する上位装置から、電子透かしとして印刷画像に埋め込まれる埋め込みデータと、当該埋め込みデータに基づいて生成され、かつ、合成画像データの基となる、複数種類のデータが組み合わされた圧縮データとを取得した場合に、圧縮データから埋め込みデータを抽出して、抽出した埋め込みデータと上位装置から取得した埋め込みデータとを比較し、両者が所定の許容範囲内で一致しないときに、合成画像データに対する不正行為があったと判定することを特徴とする。
また、請求項10に記載の印刷装置では、透かし事前検証部は、当該印刷装置が、当該印刷装置に印刷指令を出力する上位装置から、電子透かしとして印刷画像に埋め込まれる埋め込みデータと、当該埋め込みデータに基づいて生成された合成画像データとを取得した場合に、合成画像データから埋め込みデータを抽出して、抽出した埋め込みデータと上位装置から取得した埋め込みデータとを比較し、両者が所定の許容範囲内で一致しないときに、合成画像データに対する不正行為があったと判定することを特徴とする。
また、請求項12に記載の印刷装置では、透かし事前検証部は、当該印刷装置が、当該印刷装置に印刷指令を出力する上位装置から、印刷画像のイメージデータである印刷画像データを電子透かしとして埋め込み可能なデータ量以下になるように縮小することによって形成された縮小印刷画像データと、合成画像データの基となり、かつ、当該縮小印刷画像データに基づく地紋画像データを符号化した地紋符号化データを含む、複数種類のデータが組み合わされた圧縮データとを取得した場合に、圧縮データから地紋符号化データを抽出し、さらに、地紋符号化データから縮小印刷画像データを抽出して、抽出した縮小印刷画像データの輝度値と上位装置から取得した縮小印刷画像データの輝度値とを比較し、両者の差が予め定められた閾値よりも大きいときに、合成画像データに対する不正行為があったと判定することを特徴とする。
また、請求項14に記載の印刷装置では、透かし事前検証部は、当該印刷装置が、当該印刷装置に印刷指令を出力する上位装置から、縮小印刷画像データと、当該縮小印刷画像データに基づく地紋画像データに基づいて生成された合成画像データとを取得した場合に、合成画像データから縮小印刷画像データを抽出して、抽出した縮小印刷画像データの輝度値と上位装置から取得した縮小印刷画像データの輝度値とを比較し、両者の差が予め定められた閾値よりも大きいときに、合成画像データに対する不正行為があったと判定することを特徴とする。
The printing apparatus according to the present invention always generates and embeds a digital watermark based on the print data and data unique to the printing apparatus or the printing situation (hereinafter referred to as apparatus data). For this reason, the printer (or the administrator of the printer) can always obtain the tracking data such as when and where the user has printed from the print medium, and can always track the occurrence of the printing action. .
In addition to the above-described components of the printing apparatus according to the present invention, the printing apparatus described in claim 1 further reads the composite image data from the print medium and acquires the read data that is the result of reading the composite image data. A reading unit, a watermark data extraction unit that extracts the copy-forgery-inhibited pattern image data from the read data acquired by the reading unit, and obtains watermark data that is the extraction result of the copy-forgery-inhibited pattern image data, and an embedding generated by the embedded data generation unit By comparing the data and the embedded data included in the watermark data extracted by the watermark data extraction unit, and determining whether they match within a predetermined tolerance, the print image is printed correctly on the print medium. An extraction result determination unit that determines whether or not the data is included, and the extraction result determination unit is included in the embedded data and the watermark data When the embedded data matches within a predetermined allowable range, it is determined that the composite image is correctly printed on the print medium, and the watermark data is output to a host device that outputs a print command to the printing device. When the embedded data and the embedded data included in the watermark data do not match within a predetermined allowable range, it is determined that the composite image is not correctly printed on the print medium, and the error data and the watermark data are output to the host device. It is characterized by that.
According to another aspect of the present invention, when the data acquisition unit acquires the document data as the print data, the print image forming unit reads the document data from the extension attached to the file name of the document data. It recognizes the file format and forms print image data based on the recognized file format.
According to a third aspect of the present invention, when the data acquisition unit acquires document data to which a designated address for specifying a file format is attached as print data, the print image forming unit receives the document data The designated address data attached to is recognized, and based on the recognized designated address data, the file format of the document data is obtained from the internal data storage unit of the printing apparatus, and the print image data is obtained based on the obtained file format. It is characterized by forming.
The printing apparatus according to claim 4, wherein the copy-forgery-inhibited pattern image forming unit has a 0-bit value based on the embedded data so that the size is the same as the size of the print image data formed by the print image forming unit. By forming invisible embedded pixel data defined as an array pattern meaning an array pattern and invisible embedded pixel data defined as an array pattern meaning a 1-bit value, image data that forms the basis of the tint block image data is formed. Then, the copy-forgery-inhibited pattern image data is formed by applying the base image data to the reduced print image data formed by reducing the print image data so that the print image data can be embedded as a digital watermark. It is characterized by.
According to a fifth aspect of the present invention, there is provided a printing apparatus including a data acquisition unit that acquires print data for printing an image on a print medium from an external device, and a host apparatus that outputs a print command to the printing apparatus using the data acquisition unit. When compressed data combining a plurality of types of data is acquired, the compressed data is decompressed, and print data and copy-forgery-inhibited pattern data obtained by encoding copy-forgery-inhibited pattern image data that is image data of a digital watermark copy-forgery-inhibited pattern image are obtained. A compressed data decompression unit to be acquired; a print image forming unit that forms print image data that is image data of a print image based on the print data obtained by the compressed data decompression unit; and a copy-forgery-inhibited pattern obtained by the compressed data decompression unit A copy-forgery-inhibited pattern image forming unit that forms copy-forgery-inhibited pattern image data based on the encoded data, and print image data formed by the print image forming unit Formed by the image composition unit and an image composition unit that composes the copy-forgery-inhibited pattern image data formed by the pattern image formation unit and forms composite image data that is image data of a watermarked print image embedded with a digital watermark And a printing unit that prints a composite image, which is a watermarked print image embedded with a digital watermark, on a print medium based on the composite image data.
According to a sixth aspect of the present invention, in the printing apparatus according to the fifth aspect, the compressed data acquired from the host device is obtained by reversibly compressing a plurality of types of data by the Run-Length method or the Huffman method. It is generated.
In addition to the above-described components of the printing apparatus according to the present invention, the printing apparatus according to any one of claims 7, 9, 11, and 13 may be combined before the printing unit performs a printing process based on the combined image data. A watermark pre-verification unit is provided for verifying whether or not the image data is fraudulent.
In the printing apparatus according to claim 7, the watermark pre-verification unit includes the embedded data embedded in the print image as the electronic watermark from the host apparatus that outputs the print command to the printing apparatus, and the embedding process. When compressed data that is generated based on data and is the basis of composite image data and that combines multiple types of data is extracted, embedded data is extracted from the compressed data, and the extracted embedded data The embedded data acquired from the apparatus is compared, and when both do not match within a predetermined allowable range, it is determined that there is an illegal act on the composite image data.
In the printing apparatus according to claim 9, the watermark pre-verification unit includes the embedded data embedded in the print image as a digital watermark from the host apparatus that outputs the print command to the printing apparatus, and the embedding process. When the composite image data generated based on the data is acquired, the embedded data is extracted from the composite image data, and the extracted embedded data is compared with the embedded data acquired from the host device. When there is no match within the range, it is determined that there has been an illegal act on the composite image data.
In the printing apparatus according to claim 11, the watermark pre-verification unit receives, as an electronic watermark, print image data that is image data of a print image from a higher-level apparatus that outputs a print command to the printing apparatus. The copy-forgery-inhibited pattern encoded data obtained by encoding the copy-forgery-inhibited pattern image data based on the reduced print image data based on the reduced print image data and the composite image data formed by reducing the data to be less than the embeddable data amount When the compressed data in which a plurality of types of data is combined is extracted, the ground pattern encoded data is extracted from the compressed data, and the reduced print image data is extracted from the ground pattern encoded data, and the extracted reduction is performed. The brightness value of the print image data is compared with the brightness value of the reduced print image data acquired from the host device, and the difference between the two is a predetermined threshold value. When is large in Ri, and judging that the unauthorized action against the composite image data.
In the printing apparatus according to claim 13, the watermark pre-verification unit receives the reduced print image data and the copy-forgery-inhibited pattern based on the reduced print image data from the host apparatus that outputs the print command to the print apparatus. When the composite image data generated based on the image data is acquired, the reduced print image data is extracted from the composite image data, and the brightness value of the extracted reduced print image data and the reduced print image data acquired from the host device are acquired. When the difference between the two is larger than a predetermined threshold value, it is determined that there is an illegal act on the composite image data.
In addition to the components of the printing apparatus according to claim 5, the printing apparatus according to claim 8, 10, 12, and 14 is further configured to perform printing processing based on the composite image data by the printing unit. And a watermark pre-verification unit for verifying whether or not there is an illegal act on the composite image data.
In the printing apparatus according to claim 8, the watermark pre-verification unit includes the embedded data embedded in the print image as a digital watermark from the higher-level apparatus that outputs the print command to the printing apparatus, and the embedding process. When compressed data that is generated based on data and is the basis of composite image data and that combines multiple types of data is extracted, embedded data is extracted from the compressed data, and the extracted embedded data The embedded data acquired from the apparatus is compared, and when both do not match within a predetermined allowable range, it is determined that there is an illegal act on the composite image data.
In the printing apparatus according to claim 10, the watermark pre-verification unit includes the embedded data embedded in the print image as a digital watermark from the host apparatus that outputs a print command to the printing apparatus, and the embedding process. When the composite image data generated based on the data is acquired, the embedded data is extracted from the composite image data, and the extracted embedded data is compared with the embedded data acquired from the host device. When there is no match within the range, it is determined that there has been an illegal act on the composite image data.
In the printing apparatus according to claim 12, the watermark pre-verification unit receives, as an electronic watermark, print image data that is image data of a print image from a higher-level apparatus that outputs a print command to the printing apparatus. The copy-forgery-inhibited pattern encoded data obtained by encoding the copy-forgery-inhibited pattern image data based on the reduced print image data based on the reduced print image data and the composite image data formed by reducing the data to be less than the embeddable data amount When the compressed data in which a plurality of types of data is combined is extracted, the ground pattern encoded data is extracted from the compressed data, and the reduced print image data is extracted from the ground pattern encoded data, and the extracted reduction is performed. The brightness value of the print image data is compared with the brightness value of the reduced print image data acquired from the host device, and the difference between the two is a predetermined threshold value. When is large in Ri, and judging that the unauthorized action against the composite image data.
In the printing apparatus according to claim 14, the watermark pre-verification unit receives the reduced print image data and the copy-forgery-inhibited pattern based on the reduced print image data from the host apparatus that outputs the print command to the print apparatus. When the composite image data generated based on the image data is acquired, the reduced print image data is extracted from the composite image data, and the brightness value of the extracted reduced print image data and the reduced print image data acquired from the host device are acquired. When the difference between the two is larger than a predetermined threshold value, it is determined that there is an illegal act on the composite image data.

この発明に係る印刷装置は、電子透かしが埋め込まれていない印刷画像の印刷を防止することができる。そのため、印刷者(または、印刷者の管理者)は、いつ、誰が、どこで印刷したのかなどの、印刷行為の発生の追跡データを必ず印刷画像から取得することができるため、常に印刷行為の発生を追跡することができる。その結果、この発明は、印刷媒体に印刷された印刷画像のセキュリティが低下する場合をなくすことができる。 The printing apparatus according to the present invention can prevent printing of a print image in which a digital watermark is not embedded. For this reason, the printing person (or the administrator of the printing person) can always obtain the tracking data of the occurrence of the printing action such as when and who printed it from the print image, so that the printing action always occurs. Can be tracked. As a result, the present invention can eliminate the case where the security of the print image printed on the print medium is lowered.

また、印刷者は、手作業で埋め込みソフトウェアを稼働させる必要がなく、しかも、印刷媒体毎に手作業で追跡データを印刷画像に埋め込むための設定や電子透かしを適切に印刷するための印刷装置の設定を行う必要もない。その結果、この発明は、印刷者の負担を軽減させることもできる。
そして、請求項1に記載の印刷装置によれば、埋め込みデータと透かしデータに含まれる埋め込みデータが所定の許容範囲内で一致する場合に、透かしデータを、上位装置に出力し、埋め込みデータと透かしデータに含まれる埋め込みデータが所定の許容範囲内で一致しない場合に、エラーデータと透かしデータとを上位装置に出力する。これにより、上位装置は、エラーの表示や追跡データ、オリジナル印刷画像データ、その他をディスプレイに表示して、これらを印刷者に確認させる。印刷者(または、印刷者の管理者)は、ディスプレイに表示された画面を閲覧し、画面に表示されたデータを確認することにより、印刷画像に対する複製や改竄などの不正行為を検出することができる。特に、改竄を検出した場合には、印刷者(または、印刷者の管理者)は、改竄された箇所をディスプレイに表示して、改竄された内容を詳しく確認することもできる。
また、請求項2に記載の印刷装置によれば、印刷データとして、文書データを取得した場合に、文書データのファイル名に付された拡張子から文書データのファイル形式を認識し、認識したファイル形式に基づいて、印刷画像データを形成することができる。
また、請求項3に記載の印刷装置によれば、印刷データとして、ファイル形式を特定するための指定アドレスが付された文書データを取得した場合に、文書データに付された指定アドレスデータを認識し、認識した指定アドレスデータに基づいて、当該印刷装置の内部のデータ格納部から文書データのファイル形式を取得し、取得したファイル形式に基づいて、印刷画像データを形成することができる。
また、請求項4に記載の印刷装置によれば、埋め込みデータに基づいて、地紋画像データの素地となる画像データを形成し、当該素地となる画像データを、縮小印刷画像データに適用して、地紋画像データを形成することができる。
また、請求項5に記載の印刷装置によれば、上位装置から複数種類のデータが組み合わされた圧縮データを取得した場合に、圧縮データを解凍して、印刷データと、地紋符号化データとを取得し、取得された印刷データに基づいて、印刷画像データを形成し、取得された地紋符号化データに基づいて、地紋画像データを形成し、形成された印刷画像データと地紋画像データとを合成して、合成画像データを形成し、形成された合成画像データに基づいて、合成画像を印刷媒体に印刷することができる。これにより、上位装置は、透かし入り印刷画像を印刷するためのデータ(圧縮データ)を、少ないデータ量で印刷装置に出力することができる。その結果、上位装置は、透かし入り印刷画像を印刷するためのデータを短時間で印刷装置に出力することができ、印刷装置に印刷画像を効率よく印刷させることができるという効果を得ることができる。
また、請求項6に記載の印刷装置によれば、上位装置から取得した圧縮データは、複数種類のデータがRun−Length法またはHuffman法によって可逆圧縮されることによって生成されている。そのため、上位装置は、この圧縮データを印刷装置に出力することにより、少ないデータ量で、電子透かしが埋め込まれた印刷画像を生成するためのデータを、印刷装置に出力することができる。
また、請求項7〜14のいずれか1項に記載の各印刷装置によれば、印刷処理の前に不正行為の有無を検証するので、遠隔地から透かし入り印刷画像を印刷するためのデータ(圧縮データまたは合成画像データ)を取得した場合であっても、改竄などの不正行為が施された透かし入り印刷画像の印刷を防止することができるという効果を得ることができる。また、印刷装置によれば、早い段階で不正行為を検出するので、不正行為が検出された場合の無駄な工程を省くことができ、不正行為が検出された場合の処理速度を向上させることができる。
In addition, the printer does not need to manually operate the embedding software, and the setting for embedding the tracking data in the print image manually for each print medium and the printing apparatus for appropriately printing the digital watermark There is no need to make any settings. As a result, the present invention can also reduce the burden on the printer.
According to the printing apparatus of claim 1, when the embedded data and the embedded data included in the watermark data match within a predetermined allowable range, the watermark data is output to the upper apparatus, and the embedded data and the watermark are output. When the embedded data included in the data does not match within a predetermined allowable range, the error data and the watermark data are output to the host device. As a result, the host device displays error display and tracking data, original print image data, and the like on the display, and prompts the printer to confirm them. The printer (or the administrator of the printer) can detect fraudulent acts such as copying or falsification of the printed image by browsing the screen displayed on the display and checking the data displayed on the screen. it can. In particular, when tampering is detected, the printer (or the administrator of the printer) can display the tampered location on the display and confirm the details of tampering in detail.
According to the second aspect of the present invention, when document data is acquired as print data, the file format of the document data is recognized from the extension attached to the file name of the document data, and the recognized file is recognized. Print image data can be formed based on the format.
According to a third aspect of the present invention, when document data with a designated address for specifying a file format is acquired as print data, the designated address data attached to the document data is recognized. Then, the file format of the document data can be acquired from the data storage unit inside the printing apparatus based on the recognized designated address data, and the print image data can be formed based on the acquired file format.
Further, according to the printing apparatus of claim 4, based on the embedded data, image data serving as a base of the copy-forgery-inhibited pattern image data is formed, and the image data serving as the base is applied to the reduced print image data, The tint block image data can be formed.
Further, according to the printing apparatus of the fifth aspect, when the compressed data obtained by combining a plurality of types of data is acquired from the host apparatus, the compressed data is decompressed, and the print data and the tint block encoded data are obtained. Acquire, form print image data based on the acquired print data, form copy-forgery-inhibited pattern image data based on the acquired copy-forgery-inhibited pattern data, and synthesize the formed print image data and copy-forgery-inhibited pattern image data Thus, the composite image data can be formed, and the composite image can be printed on the print medium based on the formed composite image data. As a result, the host device can output data (compressed data) for printing the watermarked print image to the printing device with a small amount of data. As a result, the host device can output data for printing the watermarked print image to the printing device in a short time, and can obtain an effect that the printing device can efficiently print the print image. .
According to the printing apparatus of the sixth aspect, the compressed data obtained from the host apparatus is generated by reversibly compressing a plurality of types of data by the Run-Length method or the Huffman method. Therefore, the higher-level device can output data for generating a print image embedded with a digital watermark to the printing device with a small amount of data by outputting the compressed data to the printing device.
Further, according to each of the printing apparatuses according to any one of claims 7 to 14, since the presence / absence of fraud is verified before the printing process, data for printing a watermarked print image from a remote location ( Even when compressed data or composite image data) is acquired, it is possible to obtain an effect that printing of a watermarked print image subjected to an illegal act such as tampering can be prevented. Further, according to the printing apparatus, since the fraud is detected at an early stage, it is possible to omit a useless process when the fraud is detected, and to improve the processing speed when the fraud is detected. it can.

この発明は、印刷装置またはその上位装置が、印刷データと印刷装置または印刷時の状況に固有なデータ(以下、装置データという)とに基づいて電子透かしを生成することを特徴とする。なお、生成された電子透かしは、印刷画像に埋め込まれる。印刷装置は、その電子透かしが埋め込まれた印刷画像(以下、透かし入り印刷画像という)を紙などの印刷媒体に印刷するとともに、印刷された透かし入り印刷画像から電子透かしを抽出して上位装置に出力する。これにより、上位装置は、印刷された透かし入り印刷画像から抽出された電子透かしを保存することになる。   The present invention is characterized in that the printing device or its higher-level device generates a digital watermark based on the print data and data unique to the printing device or the printing situation (hereinafter referred to as device data). The generated digital watermark is embedded in the print image. The printing apparatus prints a print image in which the digital watermark is embedded (hereinafter referred to as a watermarked print image) on a print medium such as paper, and also extracts a digital watermark from the printed watermarked print image to the host apparatus. Output. As a result, the host device stores the digital watermark extracted from the printed watermarked print image.

なお、印刷装置は、印刷機能を有する機器全般を意味しており、例えば、プリンタや、複写機、ファクシミリ、プリンタと他装置とを組み合わせた複合機などを含んでいる。   Note that the printing device means all devices having a printing function, and includes, for example, a printer, a copier, a facsimile machine, and a multifunction machine in which a printer and other devices are combined.

また、上位装置は、印刷装置に印刷指令を出力する演算処理装置であり、例えば、パーソナルコンピュータ(以下、PCという)や、サーバなどである。   The host device is an arithmetic processing device that outputs a print command to the printing device, such as a personal computer (hereinafter referred to as a PC) or a server.

また、印刷データは、文書や図形(写真や、絵、表などを含む)の画像を印刷媒体に印刷するためのデータである。印刷データは、例えば、特定フォーマットの印刷画像データや、印刷画像内のテキストデータ、印刷データの名称、ポストスクリプトなどのページ記述言語、印刷画像の著作権データ(例えば、著作名や著作権番号、著作権者など)、印刷画像の改竄検出用データ(例えば、印刷画像を縮小したデータなど)、その他の、電子透かしとして印刷画像に埋め込まれるデータ(埋め込みデータ)の候補となる候補データのグループ群の中の一乃至複数種類のデータからなる。特に、この実施の形態では、印刷データは、印刷画像の著作権データや改竄検出用データの少なくとも一方を含むのが好ましい。印刷データは、上位装置の内部またはメモリ媒体の内部に格納されている。   The print data is data for printing an image of a document or a graphic (including a photograph, a picture, a table, etc.) on a print medium. The print data includes, for example, print image data in a specific format, text data in the print image, name of the print data, page description language such as postscript, copyright data of the print image (for example, copyright name, copyright number, A group of candidate data that can be candidates for embedded data (embedded data) as digital watermarks, such as copyright holders, print image falsification detection data (for example, reduced print image data) It consists of one or more types of data. In particular, in this embodiment, the print data preferably includes at least one of copyright data of the print image and data for falsification detection. The print data is stored in the upper apparatus or in the memory medium.

また、装置データは、印刷装置または印刷時の状況に固有なデータである。装置データは、例えば、印刷装置のID(すなわち、印刷装置に固有なコードまたは名称)や印刷日時、印刷部門(すなわち、印刷部門のコードまたは名称)、印刷者(すなわち、印刷者のコードまたは氏名)、印刷階調(すなわち、印刷濃度)、印刷解像度、印刷媒体のサイズ、その他の、電子透かしとして印刷画像に埋め込まれるデータ(埋め込みデータ)の候補となる候補データのグループ群の中の一乃至複数種類のデータからなる。装置データは、印刷装置の内部または上位装置の内部に格納されている。   The device data is data unique to the printing device or the printing situation. The device data includes, for example, a printing device ID (ie, a code or name unique to the printing device), a printing date and time, a printing department (ie, a printing department code or name), and a printer (ie, a printer code or name). ), Print gradation (that is, print density), print resolution, print medium size, etc., one of the groups of candidate data that are candidates for data (embedded data) to be embedded in a print image as a digital watermark Consists of multiple types of data. The device data is stored in the printing device or in the host device.

印刷データと装置データは、後述の埋め込みデータ生成部203によって、前述の埋め込みデータの候補となる候補データのグループ群の中からいずれか一乃至複数種類のデータが追跡データ(すなわち、印刷行為の発生を追跡することが可能なデータ)として選択され、電子透かしとして印刷画像に埋め込まれる後述の埋め込みデータの生成に用いられる。   The print data and the device data are recorded as tracking data (that is, the occurrence of a printing act) by the embedded data generation unit 203 (described later) from any one of a group of candidate data that are candidates for embedded data. Is used for generating embedded data to be described later, which is embedded in a print image as a digital watermark.

以下に、図を参照してこの発明の実施例を説明する。なお、各図は、この発明を理解できる程度に概略的に示してあるに過ぎない。よって、この発明は図示例のみに限定されるものではない。また、各図において、共通する構成要素や同様な構成要素については、同一の符号を付し、それらの重複する説明を省略する。   Embodiments of the present invention will be described below with reference to the drawings. Each figure is shown only schematically to the extent that the present invention can be understood. Therefore, the present invention is not limited to the illustrated example. Moreover, in each figure, the same code | symbol is attached | subjected about the common component and the same component, and those overlapping description is abbreviate | omitted.

なお、電子透かしの生成や電子透かしの印刷画像への埋め込みについては、特開2003−101762号公報や特開2003−209676号公報、その他に開示された技術を用いるものとし、ここでは詳細な説明を省略する(特許文献2と3参照)。   For generation of a digital watermark and embedding of a digital watermark in a printed image, techniques disclosed in Japanese Patent Laid-Open Nos. 2003-101762, 2003-209676, and others are used. (See Patent Documents 2 and 3).

実施例1は、端末装置である印刷装置が、全ての印刷画像に対して、自動的に、電子透かしを埋め込むことを特徴とする。この実施例によれば、印刷者は、電子透かしの印刷画像データへの埋め込みを意識することなく、透かし入り印刷画像を印刷媒体に印刷することができる。   The first embodiment is characterized in that a printing apparatus, which is a terminal apparatus, automatically embeds a digital watermark into all print images. According to this embodiment, the printer can print the watermarked print image on the print medium without being conscious of embedding the digital watermark in the print image data.

<印刷装置と上位装置の構成>
以下に、印刷装置とその上位装置の構成について説明する。図1は、実施例1に係る印刷装置と上位装置の構成を示す図である。
<Configuration of printing device and host device>
Hereinafter, the configuration of the printing apparatus and its upper level apparatus will be described. FIG. 1 is a diagram illustrating a configuration of a printing apparatus and a host apparatus according to the first embodiment.

図1に示すように、印刷装置1は、上位装置11やメモリ媒体21と接続され、上位装置11やメモリ媒体21から印刷データを取得する構成となっている。このような印刷装置1は、入出力部100、処理部200、データ格納部300、印刷部400、読取部500、印刷媒体31を搬送する搬送機構(図示せず)、その他の構成要素を有する。   As shown in FIG. 1, the printing apparatus 1 is connected to the upper apparatus 11 and the memory medium 21 and acquires print data from the upper apparatus 11 and the memory medium 21. Such a printing apparatus 1 includes an input / output unit 100, a processing unit 200, a data storage unit 300, a printing unit 400, a reading unit 500, a transport mechanism (not shown) that transports the print medium 31, and other components. .

印刷装置1の入出力部100は、外部の機器とオンラインで各種のデータを入出力する構成要素である。入出力部100は、例えば、上位装置11とオンラインで各種のデータを入出力するI/Oインターフェイス(インプット/アウトプット・インターフェイス)111や、メモリ媒体21と各種のデータを入出力するスロット113、印刷者によって操作されるスイッチ121、印刷者に閲覧されるべきデータを表示するディスプレイ131などを備えている。なお、I/Oインターフェイス111とスロット113は、印刷データを外部から取得するデータ取得部110を構成している。   The input / output unit 100 of the printing apparatus 1 is a component that inputs and outputs various data online with an external device. The input / output unit 100 includes, for example, an I / O interface (input / output interface) 111 for inputting / outputting various data online to / from the host device 11, a slot 113 for inputting / outputting various data to / from the memory medium 21, A switch 121 operated by the printer, a display 131 for displaying data to be viewed by the printer, and the like are provided. The I / O interface 111 and the slot 113 constitute a data acquisition unit 110 that acquires print data from the outside.

印刷装置1の処理部200は、CPUによって構成され、様々な演算を処理する構成要素である。処理部200は、例えば、制御部200’や、印刷画像形成部201、埋め込みデータ生成部203、地紋画像形成部205、画像合成部207、透かしデータ抽出部211、抽出結果判定部213、その他の機能手段を備えている。   The processing unit 200 of the printing apparatus 1 is configured by a CPU and is a component that processes various calculations. The processing unit 200 includes, for example, a control unit 200 ′, a print image forming unit 201, an embedded data generating unit 203, a tint block image forming unit 205, an image composition unit 207, a watermark data extracting unit 211, an extraction result determining unit 213, and the like. Functional means are provided.

なお、印刷装置1の制御部200’は、印刷装置1の各部を制御するとともに各種の演算を行う機能手段である。   The control unit 200 ′ of the printing apparatus 1 is a functional unit that controls each unit of the printing apparatus 1 and performs various calculations.

また、印刷装置1の印刷画像形成部201は、データ取得部110によって取得された印刷データに基づいて、印刷画像のイメージデータ(以下、印刷画像データという)を形成する機能手段である。図1に示す例では、印刷画像形成部201は、上位装置11から取得された印刷データに基づいて、印刷画像データを形成しているが、メモリ媒体21から取得された印刷データに基づいて、印刷画像データを形成することもできる。なお、印刷データは、上位装置11から取得された場合に、通常、2値または多値のビットデータとなっている。このとき、印刷データは、通常、ページスクリプトなどのページ記述言語も含んでいる。また、印刷データは、メモリ媒体21から取得された場合に、通常、イメージデータとなっている。   The print image forming unit 201 of the printing apparatus 1 is a functional unit that forms image data of a print image (hereinafter referred to as print image data) based on the print data acquired by the data acquisition unit 110. In the example illustrated in FIG. 1, the print image forming unit 201 forms print image data based on the print data acquired from the host device 11, but based on the print data acquired from the memory medium 21, Print image data can also be formed. Note that the print data is usually binary or multivalued bit data when acquired from the host apparatus 11. At this time, the print data usually includes a page description language such as a page script. The print data is usually image data when acquired from the memory medium 21.

また、印刷装置1の埋め込みデータ生成部203は、データ取得部110によって取得された印刷データとデータ格納部300に格納された装置データとに基づいて、電子透かしとして印刷画像に埋め込まれるデータ(以下、埋め込みデータという)を生成する機能手段である。なお、装置データと埋め込みデータは、2値または多値のビットデータとなっている。埋め込みデータ生成部203は、埋め込みデータの量が埋め込み可能なデータ量の上限を超える場合に、埋め込みデータの候補となる候補データのグループ群の中から、優先度の高い候補データを、埋め込み可能なデータ量に達するまで抽出し、抽出した候補データに基づいて、埋め込みデータを生成する。図1に示す例では、埋め込みデータ生成部203は、上位装置11から取得された印刷データに基づいて、埋め込みデータを生成しているが、メモリ媒体21から取得された印刷データに基づいて、埋め込みデータを生成することもできる。なお、この実施例では、埋め込みデータ生成部203は、印刷データと装置データに基づいて、一旦、追跡データ(すなわち、印刷行為の発生を追跡することが可能となるデータ)を生成し、その追跡データをコード化することによって埋め込みデータを生成している。   The embedded data generation unit 203 of the printing apparatus 1 also embeds data (hereinafter referred to as a digital watermark) in a print image based on the print data acquired by the data acquisition unit 110 and the apparatus data stored in the data storage unit 300. Is referred to as embedded data). The device data and the embedded data are binary or multivalued bit data. The embedded data generation unit 203 can embed candidate data with high priority from a group of candidate data groups that are candidates for embedded data when the amount of embedded data exceeds the upper limit of the amount of data that can be embedded. Extraction is performed until the amount of data is reached, and embedded data is generated based on the extracted candidate data. In the example illustrated in FIG. 1, the embedded data generation unit 203 generates embedded data based on the print data acquired from the host device 11, but the embedded data generation unit 203 embeds the embedded data based on the print data acquired from the memory medium 21. Data can also be generated. In this embodiment, the embedded data generation unit 203 once generates tracking data (that is, data that can track the occurrence of the printing action) based on the print data and the device data, and the tracking is performed. Embedded data is generated by encoding the data.

また、印刷装置1の地紋画像形成部205は、埋め込みデータ生成部203によって生成された埋め込みデータに基づいて、電子透かしの地紋画像のイメージデータ(以下、地紋画像データという)を形成する機能手段である。   The copy-forgery-inhibited pattern image forming unit 205 of the printing apparatus 1 is a functional unit that forms image data of a digital watermark copy-forgery-inhibited pattern image (hereinafter referred to as copy-forgery-inhibited pattern image data) based on the embedded data generated by the embedded data generating unit 203. is there.

また、印刷装置1の画像合成部207は、印刷画像形成部201によって形成された印刷画像データと地紋画像形成部205によって形成された地紋画像データとを合成して、透かし入り印刷画像のイメージデータである合成画像データを形成する機能手段である。   In addition, the image composition unit 207 of the printing apparatus 1 synthesizes the print image data formed by the print image forming unit 201 and the copy-forgery-inhibited pattern image data formed by the copy-forgery-inhibited pattern image forming unit 205 to generate image data of a watermarked print image. Is a functional means for forming the composite image data.

また、印刷装置1の透かしデータ抽出部211は、後述する読取データから電子透かしとして印刷画像に埋め込まれた地紋画像データを抽出する機能手段である。以下、透かしデータ抽出部211によって抽出された地紋画像データを、地紋画像形成部205によって形成された地紋画像データと区別するために、透かしデータという。なお、この実施例では、透かしデータ抽出部211は、この透かしデータからさらに埋め込みデータを抽出する機能を有している。   The watermark data extraction unit 211 of the printing apparatus 1 is a functional unit that extracts copy-forgery-inhibited pattern image data embedded in a print image as a digital watermark from read data described later. Hereinafter, the tint block image data extracted by the watermark data extraction unit 211 is referred to as watermark data in order to distinguish it from the tint block image data formed by the tint block image forming unit 205. In this embodiment, the watermark data extraction unit 211 has a function of further extracting embedded data from the watermark data.

また、印刷装置1の抽出結果判定部213は、埋め込みデータ生成部203によって生成された埋め込みデータと透かしデータ抽出部211によって透かしデータから抽出された埋め込みデータとを比較して、透かし入り印刷画像である合成画像が印刷媒体31に正しく印刷されているか否かを判定する機能手段である。抽出結果判定部213は、両者が所定の許容範囲内で一致する場合に、透かし入り印刷画像である合成画像が印刷媒体31に正しく印刷されていると判定し、両者が所定の許容範囲内で一致しない場合に、合成画像が印刷媒体31に正しく印刷されていないと判定する。   In addition, the extraction result determination unit 213 of the printing apparatus 1 compares the embedded data generated by the embedded data generation unit 203 with the embedded data extracted from the watermark data by the watermark data extraction unit 211, and uses the watermarked print image. This is function means for determining whether a composite image is correctly printed on the print medium 31. The extraction result determination unit 213 determines that the composite image, which is a watermarked print image, is correctly printed on the print medium 31 when both match within a predetermined allowable range, and both are within the predetermined allowable range. If they do not match, it is determined that the composite image is not correctly printed on the print medium 31.

印刷装置1のデータ格納部300は、RAMによって構成され、装置データを含む様々なデータを格納する構成要素である。なお、図1に示す例では、装置データを印刷装置1のデータ格納部300に格納しているが、装置データを上位装置11のデータ格納部80に格納するようにしてもよい。   The data storage unit 300 of the printing apparatus 1 is configured by a RAM and is a component that stores various data including apparatus data. In the example shown in FIG. 1, the device data is stored in the data storage unit 300 of the printing device 1, but the device data may be stored in the data storage unit 80 of the upper level device 11.

印刷装置1の印刷部400は、文書や図形(写真や、絵、表などを含む)などの画像を、紙などの印刷媒体31に印刷する構成要素である。印刷部400は、画像合成部207によって形成された合成画像データに基づいて、透かし入り印刷画像である合成画像を印刷媒体31に印刷する。なお、印刷部400は、処理部200の印刷画像形成部201と埋め込みデータ生成部203と地紋画像形成部205と画像合成部207とともに、電子透かしを印刷画像に埋め込む、透かし埋め込み部600を構成している。   The printing unit 400 of the printing apparatus 1 is a component that prints an image such as a document or a graphic (including a photograph, a picture, a table, or the like) on a print medium 31 such as paper. The printing unit 400 prints a composite image, which is a watermarked print image, on the print medium 31 based on the composite image data formed by the image composition unit 207. The printing unit 400 configures a watermark embedding unit 600 that embeds a digital watermark in a print image together with the print image forming unit 201, the embedded data generation unit 203, the tint block image forming unit 205, and the image composition unit 207 of the processing unit 200. ing.

印刷装置1の読取部500は、印刷媒体31を光学的に読み取り、印刷媒体31から透かし入り印刷画像のイメージデータである合成画像データ(以下、画像合成部207によって形成された合成画像データと区別するために、読取データという)を取得する構成要素である。なお、読取部500は、処理部200の透かしデータ抽出部211および抽出結果判定部213とともに、印刷画像から電子透かしを検出する、透かし検出部700を構成している。この透かし検出部700は、透かし入り印刷画像である合成画像が印刷媒体31に正しく印刷されているか否かを検証するために設けられている。   The reading unit 500 of the printing apparatus 1 optically reads the print medium 31 and distinguishes it from composite image data (hereinafter referred to as composite image data formed by the image composition unit 207) that is image data of a watermarked print image from the print medium 31. (Referred to as read data). The reading unit 500, together with the watermark data extraction unit 211 and the extraction result determination unit 213 of the processing unit 200, constitutes a watermark detection unit 700 that detects a digital watermark from a print image. The watermark detection unit 700 is provided to verify whether or not a composite image that is a watermarked print image is correctly printed on the print medium 31.

他方、上位装置11は、図1に示すように、処理部50やデータ格納部80、I/Oインターフェイス91、その他の構成要素を有する。また上位装置11は、ディスプレイ13や、キーボード(KB)やマウスなどの入力部15、その他の装置と接続されている。   On the other hand, as shown in FIG. 1, the host device 11 includes a processing unit 50, a data storage unit 80, an I / O interface 91, and other components. The host device 11 is connected to a display 13, an input unit 15 such as a keyboard (KB) and a mouse, and other devices.

上位装置11の処理部50は、CPUによって構成され、様々な演算を処理する構成要素である。処理部50は、例えば、制御部50’や、印刷画像形成部61、追跡データ生成部71、その他の機能手段を備えている。   The processing unit 50 of the host device 11 is configured by a CPU and is a component that processes various calculations. The processing unit 50 includes, for example, a control unit 50 ′, a print image forming unit 61, a tracking data generation unit 71, and other functional units.

なお、上位装置11の制御部50’は、上位装置11の各部を制御するとともに各種の演算を行う機能手段である。   The control unit 50 ′ of the host device 11 is a functional unit that controls each unit of the host device 11 and performs various calculations.

また、上位装置11の印刷画像形成部61は、データ格納部80に格納された印刷データに基づいて、印刷画像データを形成する機能手段である。   The print image forming unit 61 of the host device 11 is a functional unit that forms print image data based on the print data stored in the data storage unit 80.

また、上位装置11の追跡データ生成部71は、後述の透かしデータ1023から後述の埋め込みデータ1025aを抽出し、その埋め込みデータ1025aを解読して後述の追跡データ1025bを取得(生成)する機能手段である。   The tracking data generation unit 71 of the host device 11 is a functional unit that extracts embedded data 1025a described later from watermark data 1023 described later, decodes the embedded data 1025a, and acquires (generates) tracking data 1025b described later. is there.

上位装置11のデータ格納部80は、RAMによって構成され、印刷データを含む各種のデータやプログラムを格納する構成要素である。   The data storage unit 80 of the host device 11 is configured by a RAM and is a component that stores various data and programs including print data.

上位装置11のI/Oインターフェイス91は、印刷装置1やその他の外部の機器とオンラインで各種のデータを入出力する構成要素である。   The I / O interface 91 of the host device 11 is a component that inputs and outputs various data online with the printing apparatus 1 and other external devices.

メモリ媒体21は、例えばメモリカードや、DVD、CD−ROM、携帯型HDD装置などの、各種の画像データを格納する媒体である。メモリ媒体21は、各種の画像(例えば、デジタルカメラによって撮影された写真など)のイメージデータを格納する。なお、メモリ媒体21は、携帯型のメモリ装置(例えば、メモリチップ内蔵装置や、ハード・ディスク・ドライブ装置など)の形態にすることもできる。   The memory medium 21 is a medium for storing various image data such as a memory card, a DVD, a CD-ROM, and a portable HDD device. The memory medium 21 stores image data of various images (for example, photographs taken by a digital camera). The memory medium 21 may be in the form of a portable memory device (for example, a memory chip built-in device or a hard disk drive device).

<印刷装置と上位装置の動作>
以下に、印刷装置1と上位装置11の動作について説明する。なお、この実施例では、印刷者が、上位装置11の入力部15を操作して、所望の文書や図形などの画像を印刷する印刷指示を行ったものとして説明する。
<Operation of printing device and host device>
Hereinafter, operations of the printing apparatus 1 and the host apparatus 11 will be described. In this embodiment, it is assumed that the printer has operated the input unit 15 of the host apparatus 11 to give a print instruction to print an image such as a desired document or graphic.

図2は、実施例1に係る印刷装置と上位装置の動作フローを示す図である。また、図3は、実施例1に係る印刷装置と上位装置の動作説明図であり、図2に示す各工程で形成される画像の例または用いられる画像の例を示している。   FIG. 2 is a diagram illustrating an operation flow of the printing apparatus and the host apparatus according to the first embodiment. FIG. 3 is an operation explanatory diagram of the printing apparatus and the host apparatus according to the first embodiment, and illustrates an example of an image formed in each process illustrated in FIG. 2 or an example of an image to be used.

印刷者は、上位装置11の入力部15を操作して文書や図形などの画像の印刷指示を行う。これにより、図2に示すように、上位装置11の処理部50(具体的には、制御部50’)は、印刷指示を取得することになる(S501)。そして、上位装置11の処理部50(具体的には、制御部50’)は、S501で取得した印刷指示に基づいて、印刷媒体31に印刷する文書や図形などの印刷データ1001(図1と図3参照)を特定し(S503)、特定した印刷データ1001をデータ格納部80から読み出して、I/Oインターフェイス91を介して、印刷装置1に出力する(S505)。   A printer operates the input unit 15 of the host device 11 to give an instruction to print an image such as a document or a graphic. As a result, as shown in FIG. 2, the processing unit 50 (specifically, the control unit 50 ') of the upper level apparatus 11 acquires the print instruction (S501). Then, the processing unit 50 (specifically, the control unit 50 ′) of the upper level apparatus 11 prints the print data 1001 such as a document or a graphic to be printed on the print medium 31 (see FIG. 1) based on the print instruction acquired in S501. 3 is specified (S503), and the specified print data 1001 is read from the data storage unit 80 and output to the printing apparatus 1 via the I / O interface 91 (S505).

印刷装置1の処理部200(具体的には、制御部200’)は、データ取得部110のI/Oインターフェイス111を介して、上位装置11から印刷データ1001を取得する(S1001)。このとき取得された印刷データ1001は、印刷画像形成部201と埋め込みデータ生成部203に入力される(図1参照)。なお、この実施例では、印刷装置1は、上位装置11から印刷データ1001を取得しているが、メモリ媒体21から印刷データ1001を取得する場合もある。   The processing unit 200 (specifically, the control unit 200 ′) of the printing apparatus 1 acquires the print data 1001 from the upper level apparatus 11 via the I / O interface 111 of the data acquisition unit 110 (S 1001). The print data 1001 acquired at this time is input to the print image forming unit 201 and the embedded data generation unit 203 (see FIG. 1). In this embodiment, the printing apparatus 1 acquires the print data 1001 from the upper level apparatus 11, but may acquire the print data 1001 from the memory medium 21.

次に、印刷装置1の印刷画像形成部201は、印刷データ1001に基づいて、印刷画像データ1003(図1と図3参照)を形成する(S1003)。   Next, the print image forming unit 201 of the printing apparatus 1 forms print image data 1003 (see FIGS. 1 and 3) based on the print data 1001 (S1003).

このとき、印刷画像形成部201は、まず、上位装置11から印刷データ1001を取得し、取得した印刷データ1001のファイル名に付された拡張子を認識する。この実施例では、印刷データ1001のファイル名に付された拡張子は、文書ファイルを意味する符号となっているものとする。この場合、印刷画像形成部201は、印刷データ1001の拡張子から印刷データ1001を文書ファイルとして認識することになる。そして、印刷画像形成部201は、認識したファイル形式に基づいて、印刷データ1001から、文書の画像のイメージデータである印刷画像データ1003を形成する。   At this time, the print image forming unit 201 first acquires the print data 1001 from the host device 11 and recognizes the extension attached to the file name of the acquired print data 1001. In this embodiment, it is assumed that the extension added to the file name of the print data 1001 is a code meaning a document file. In this case, the print image forming unit 201 recognizes the print data 1001 as a document file from the extension of the print data 1001. The print image forming unit 201 forms print image data 1003 that is image data of a document image from the print data 1001 based on the recognized file format.

または、このとき、印刷画像形成部201は、まず、上位装置11から指定アドレスデータ(図示せず)が付された印刷データ1001を取得し、指定アドレスデータを認識する。この指定アドレスは、データ格納部300の特定のアドレスを指定するものである。データ格納部300は、この指定アドレスが指定するアドレスに、文書データのファイル形式を格納している。印刷画像形成部201は、認識した指定アドレスに基づいて、図示せぬルートで、データ格納部300から文書データのファイル形式(図示せず)を取得する。この実施例では、ファイル形式は、文書ファイルの一形式を意味しているものとする。印刷画像形成部201は、取得したファイル形式に基づいて、印刷データ1001から、文書の画像のイメージデータである印刷画像データ1003を形成する。   Alternatively, at this time, the print image forming unit 201 first acquires the print data 1001 to which the designated address data (not shown) is attached from the host device 11 and recognizes the designated address data. This designated address designates a specific address of the data storage unit 300. The data storage unit 300 stores the file format of the document data at the address specified by the specified address. The print image forming unit 201 acquires a file format (not shown) of document data from the data storage unit 300 through a route (not shown) based on the recognized designated address. In this embodiment, the file format means one format of the document file. The print image forming unit 201 forms print image data 1003 that is image data of a document image from the print data 1001 based on the acquired file format.

この後、印刷画像形成部201は、印刷画像データ1003を画像合成部207に出力する。   Thereafter, the print image forming unit 201 outputs the print image data 1003 to the image composition unit 207.

次に、印刷装置1の埋め込みデータ生成部203は、印刷データ1001と装置データ1004とに基づいて、埋め込みデータ1005b(図1と図3参照)を生成する(S1005)。このとき、埋め込みデータ生成部203は、まず、データ取得部110から印刷データ1001を取得するとともに、データ格納部300から装置データ1004を取得する。次に、埋め込みデータ生成部203は、例えば、印刷データ1001と装置データ1004との中から電子透かしに用いる一乃至複数種類のデータを抽出したり、電子透かしに用いるデータを予め定められた優先順位に従って配列することによって、追跡データ1005a(図3参照)を生成し、さらに、その追跡データ1005aをコード化して埋め込みデータ1005bを生成する。この後、埋め込みデータ生成部203は、埋め込みデータ1005bを地紋画像形成部205と抽出結果判定部213に出力する。   Next, the embedded data generation unit 203 of the printing apparatus 1 generates embedded data 1005b (see FIGS. 1 and 3) based on the print data 1001 and the apparatus data 1004 (S1005). At this time, the embedded data generation unit 203 first acquires the print data 1001 from the data acquisition unit 110 and the apparatus data 1004 from the data storage unit 300. Next, the embedded data generation unit 203 extracts, for example, one or more types of data used for the digital watermark from the print data 1001 and the device data 1004, or sets the data used for the digital watermark in a predetermined priority order. The tracking data 1005a (see FIG. 3) is generated by arranging according to the above, and the tracking data 1005a is encoded to generate the embedded data 1005b. Thereafter, the embedded data generating unit 203 outputs the embedded data 1005b to the copy-forgery-inhibited pattern image forming unit 205 and the extraction result determining unit 213.

次に、印刷装置1の地紋画像形成部205は、埋め込みデータ1005bに基づいて、地紋画像データ1007(図1と図3参照)を形成する(S1007)。このとき、地紋画像形成部205は、まず、埋め込みデータ生成部203から埋め込みデータ1005bを取得するとともに、印刷画像形成部201から印刷画像データ1003の幅や高さなどのサイズデータを取得する。そして、地紋画像形成部205は、印刷画像データ1003のサイズと同様のサイズになるように、埋め込みデータ1005bに基づいて、地紋画像データ1007を形成する。この地紋画像データ1007は、埋め込みデータ1005bに基づいて、例えば、0ビットの値を意味する配列パターンとして定義された不可視な埋め込み画素データ1008aと、1ビットの値を意味する配列パターンとして定義された不可視な埋め込み画素データ1008bとを、電子透かしを生成するために予め定められた特定の規則に従って配置することにより、構成される(図3参照)。この後、地紋画像形成部205は、地紋画像データ1007を画像合成部207に出力する。   Next, the copy-forgery-inhibited pattern image forming unit 205 of the printing apparatus 1 forms copy-forgery-inhibited pattern image data 1007 (see FIGS. 1 and 3) based on the embedded data 1005b (S1007). At this time, the copy-forgery-inhibited pattern image forming unit 205 first acquires the embedded data 1005 b from the embedded data generating unit 203 and also acquires size data such as the width and height of the print image data 1003 from the print image forming unit 201. The copy-forgery-inhibited pattern image forming unit 205 forms copy-forgery-inhibited pattern image data 1007 based on the embedded data 1005b so as to have the same size as the size of the print image data 1003. The copy-forgery-inhibited pattern image data 1007 is defined based on the embedded data 1005b as, for example, invisible embedded pixel data 1008a defined as an array pattern that represents a 0-bit value and an array pattern that represents a 1-bit value. The invisible embedded pixel data 1008b is configured according to a predetermined rule for generating a digital watermark (see FIG. 3). Thereafter, the tint block image forming unit 205 outputs the tint block image data 1007 to the image composition unit 207.

次に、印刷装置1の画像合成部207は、印刷画像形成部201から取得した印刷画像データ1003と地紋画像形成部205から取得した地紋画像データ1007とを合成して合成画像データ1009(図1と図3参照)を形成する(S1009)。このとき、画像合成部207は、まず、印刷画像形成部201から印刷画像データ1003を取得するとともに、地紋画像形成部205から地紋画像データ1007を取得する。そして、画像合成部207は、白画素の輝度値を1とし、黒画素の輝度値を0とする2値画像として、印刷画像データ1003と地紋画像データ1007とを閾値処理し、印刷画像データ1003と地紋画像データ1007とのAND条件を演算する。これにより、画像合成部207は、印刷画像データ1003と地紋画像データ1007とを合成して、合成画像データ1009を形成する。この後、画像合成部207は、合成画像データ1009を印刷部400に出力する。   Next, the image composition unit 207 of the printing apparatus 1 synthesizes the print image data 1003 acquired from the print image forming unit 201 and the copy-forgery-inhibited pattern image data 1007 acquired from the copy-forgery-inhibited pattern image formation unit 205 to generate composite image data 1009 (FIG. 1). (See FIG. 3) (S1009). At this time, the image composition unit 207 first acquires the print image data 1003 from the print image forming unit 201 and also acquires the copy-forgery-inhibited pattern image data 1007 from the copy-forgery-inhibited pattern image forming unit 205. Then, the image composition unit 207 performs threshold processing on the print image data 1003 and the copy-forgery-inhibited pattern image data 1007 as a binary image in which the luminance value of the white pixel is 1 and the luminance value of the black pixel is 0, and the print image data 1003 AND condition of the copy-forgery-inhibited pattern image data 1007 is calculated. As a result, the image composition unit 207 composes the print image data 1003 and the copy-forgery-inhibited pattern image data 1007 to form composite image data 1009. Thereafter, the image composition unit 207 outputs the composite image data 1009 to the printing unit 400.

次に、印刷装置1の印刷部400は、画像合成部207から合成画像データ1009を取得し、合成画像データ1009に基づいて、透かし入り印刷画像である印刷画像1011(図1と図3参照)を印刷媒体31に印刷する(S1011)。   Next, the printing unit 400 of the printing apparatus 1 acquires the composite image data 1009 from the image composition unit 207, and based on the composite image data 1009, a print image 1011 that is a watermarked print image (see FIGS. 1 and 3). Is printed on the print medium 31 (S1011).

次に、印刷装置1の読取部500は、印刷媒体31から印刷画像1011を読み取り、読取データ1021(図1と図3参照)を取得する(S1021)。この読取データ1021は、読取部500の読取能力や読取時の状況によって多少変化するものの、印刷画像1011が印刷媒体31に正しく印刷されていれば、合成画像データ1009とほぼ一致するデータである。この後、読取部500は、読取データ1021を透かしデータ抽出部211に出力する。なお、S1021は、S1011の次の工程ではあるが、S1011(すなわち、「印刷処理」)の直後の場合もあれば、S1011からしばらく時間が経過した後の場合もある。   Next, the reading unit 500 of the printing apparatus 1 reads the print image 1011 from the print medium 31 and acquires the read data 1021 (see FIGS. 1 and 3) (S1021). The read data 1021 is data that substantially matches the composite image data 1009 if the print image 1011 is correctly printed on the print medium 31, although it slightly changes depending on the reading capability of the reading unit 500 and the situation at the time of reading. Thereafter, the reading unit 500 outputs the read data 1021 to the watermark data extraction unit 211. Note that S1021 is the next step after S1011. However, S1021 may be immediately after S1011 (that is, “print processing”), or may be after a while has elapsed since S1011.

次に、印刷装置1の透かしデータ抽出部211は、読取データ1021から印刷画像1011に埋め込まれた電子透かしの地紋画像データである透かしデータ1023(図1と図3参照)を抽出する(S1023)。このとき、透かしデータ抽出部211は、読取部500から読取データ1021を取得し、読取データ1021に対して、0ビットの値を意味する埋め込み画素データ1008aや1ビットの値を意味する埋め込み画素データ1008bに基づいて、パターンマッチングを行う、または、埋め込み画素データ1008aや1008bに対応するフィルタ処理を行う。これにより、透かしデータ抽出部211は、読取データ1021から透かしデータ1023を抽出する。なお、この透かしデータ1023は、読取部500の読取能力や読取時の状況によって多少変化するものの、印刷画像1011が印刷媒体31に正しく印刷されていれば、地紋画像データ1007とほぼ一致するデータである。   Next, the watermark data extraction unit 211 of the printing apparatus 1 extracts watermark data 1023 (see FIGS. 1 and 3), which is digital watermark copy-forgery-inhibited pattern image data embedded in the print image 1011 from the read data 1021 (S1023). . At this time, the watermark data extraction unit 211 acquires the read data 1021 from the reading unit 500, and embedded pixel data 1008a meaning a 0-bit value or embedded pixel data meaning a 1-bit value with respect to the read data 1021. Based on 1008b, pattern matching is performed, or filter processing corresponding to embedded pixel data 1008a and 1008b is performed. As a result, the watermark data extraction unit 211 extracts the watermark data 1023 from the read data 1021. Although the watermark data 1023 slightly changes depending on the reading capability of the reading unit 500 and the situation at the time of reading, if the print image 1011 is correctly printed on the print medium 31, the watermark data 1023 is data that substantially matches the copy-forgery-inhibited pattern image data 1007. is there.

次に、印刷装置1の透かしデータ抽出部211は、透かしデータ1023から埋め込みデータ1025a(図1と図3参照)を抽出する(S1025)。なお、埋め込みデータ1025aは、電子透かしとして印刷画像1011に埋め込まれたデータである。埋め込みデータ1025aは、印刷画像1011が印刷媒体31に正しく印刷されていれば、S1005で生成された埋め込みデータ1005bと一致するデータである。この後、透かしデータ抽出部211は、透かしデータ1023と埋め込みデータ1025aを抽出結果判定部213に出力する。   Next, the watermark data extraction unit 211 of the printing apparatus 1 extracts embedded data 1025a (see FIGS. 1 and 3) from the watermark data 1023 (S1025). The embedded data 1025a is data embedded in the print image 1011 as a digital watermark. The embedded data 1025a is data that matches the embedded data 1005b generated in step S1005 if the print image 1011 is correctly printed on the print medium 31. Thereafter, the watermark data extraction unit 211 outputs the watermark data 1023 and the embedded data 1025a to the extraction result determination unit 213.

次に、印刷装置1の抽出結果判定部213は、図3の双方向の矢印で示すように、埋め込みデータ1005bと埋め込みデータ1025aとを比較して、印刷画像1011が印刷媒体31に正しく印刷されているか否かを判定する(S1027)。このとき、抽出結果判定部213は、まず、埋め込みデータ生成部203から埋め込みデータ1005bを取得するとともに、透かしデータ抽出部211から透かしデータ1023を取得する。そして、抽出結果判定部213は、埋め込みデータ1005bと埋め込みデータ1025aとを比較する。このとき、両者が所定の許容範囲内で一致する場合に、抽出結果判定部213は、「印刷画像1011が印刷媒体31に正しく印刷されている(または、印刷画像1011に不正行為が施されていない)」と判定する。この場合、工程はS1031に進む。他方、両者が所定の許容範囲内で一致しない場合に、抽出結果判定部213は、「印刷画像1011が印刷媒体31に正しく印刷されていない(または、印刷画像1011に不正行為が施されている)」と判定する。この場合、工程はS1051に進む。   Next, the extraction result determination unit 213 of the printing apparatus 1 compares the embedded data 1005b and the embedded data 1025a as shown by the bidirectional arrows in FIG. 3, and the print image 1011 is correctly printed on the print medium 31. It is determined whether or not (S1027). At this time, the extraction result determination unit 213 first acquires the embedded data 1005 b from the embedded data generation unit 203 and also acquires the watermark data 1023 from the watermark data extraction unit 211. Then, the extraction result determination unit 213 compares the embedded data 1005b with the embedded data 1025a. At this time, when the two match within a predetermined allowable range, the extraction result determination unit 213 determines that “the print image 1011 is correctly printed on the print medium 31 (or the print image 1011 has been cheated. No) ”. In this case, the process proceeds to S1031. On the other hand, when the two do not match within the predetermined allowable range, the extraction result determination unit 213 indicates that “the print image 1011 has not been correctly printed on the print medium 31 (or the print image 1011 has been cheated. ) ”. In this case, the process proceeds to S1051.

S1027で「印刷画像1011が印刷媒体31に正しく印刷されている」と判定された場合に、抽出結果判定部213は、透かしデータ抽出部211によって抽出された透かしデータ1023を、I/Oインターフェイス111を介して、上位装置11に出力する(S1031)。   If it is determined in S1027 that “the print image 1011 is correctly printed on the print medium 31”, the extraction result determination unit 213 uses the watermark data 1023 extracted by the watermark data extraction unit 211 as the I / O interface 111. To the higher-level device 11 (S1031).

上位装置11の処理部50は、I/Oインターフェイス91を介して、印刷装置1から透かしデータ1023を取得する(S1033)。このとき取得された透かしデータ1023は、データ格納部80と追跡データ生成部71に入力される(図1参照)。   The processing unit 50 of the upper level apparatus 11 acquires the watermark data 1023 from the printing apparatus 1 via the I / O interface 91 (S1033). The watermark data 1023 acquired at this time is input to the data storage unit 80 and the tracking data generation unit 71 (see FIG. 1).

次に、上位装置11の処理部50(具体的には、制御部50’)は、印刷装置1から取得した透かしデータ1023をデータ格納部80に格納する(S1035)。これにより、透かしデータ1023は、上位装置11のデータ格納部80に保存される。   Next, the processing unit 50 (specifically, the control unit 50 ′) of the upper level apparatus 11 stores the watermark data 1023 acquired from the printing apparatus 1 in the data storage unit 80 (S 1035). Thereby, the watermark data 1023 is stored in the data storage unit 80 of the higher-level device 11.

次に、上位装置11の追跡データ生成部71は、透かしデータ1023から埋め込みデータ1025aを抽出し、その埋め込みデータ1025aを解読して追跡データ1025b(図3参照)を生成する(S1037)。   Next, the tracking data generation unit 71 of the host device 11 extracts the embedded data 1025a from the watermark data 1023, decodes the embedded data 1025a, and generates the tracking data 1025b (see FIG. 3) (S1037).

次に、上位装置11の印刷画像形成部61は、S1001で印刷装置1に出力した印刷データ1001をデータ格納部80から読み出し、読み出した印刷データ1001に基づいて印刷画像データ1027(図3参照)を形成する(S1039)。以下、このデータ格納部80から読み出した印刷画像データ1027をオリジナル印刷画像データ1027という。なお、このオリジナル印刷画像データ1027は、通常、S1003で形成された印刷画像データ1003に一致するデータである。   Next, the print image forming unit 61 of the host apparatus 11 reads the print data 1001 output to the printing apparatus 1 in S1001 from the data storage unit 80, and print image data 1027 based on the read print data 1001 (see FIG. 3). Is formed (S1039). Hereinafter, the print image data 1027 read from the data storage unit 80 is referred to as original print image data 1027. Note that the original print image data 1027 is usually data that matches the print image data 1003 formed in S1003.

次に、上位装置11の処理部50(具体的には、制御部50’)は、追跡データ1025bやオリジナル印刷画像データ1027、その他をディスプレイ13に表示して(S1041)、これらを印刷者に確認させる。印刷者(または、印刷者の管理者)は、ディスプレイ13に表示された画面を閲覧し、画面に表示されたデータを確認することにより、印刷画像1011に対する複製や改竄などの不正行為を検出することができる。   Next, the processing unit 50 (specifically, the control unit 50 ′) of the host apparatus 11 displays the tracking data 1025b, the original print image data 1027, and others on the display 13 (S1041), and these are displayed to the printer. Let me check. The printer (or the administrator of the printer) browses the screen displayed on the display 13 and checks the data displayed on the screen to detect fraudulent acts such as copying or falsification of the print image 1011. be able to.

前述のS1027で「印刷画像1011が印刷媒体31に正しく印刷されていない」と判定された場合に、抽出結果判定部213は、「印刷画像1011が印刷媒体31に正しく印刷されていない(または、印刷画像1011に不正行為が施されている)」旨を示すエラーデータ(図1参照)や透かしデータ1023を、I/Oインターフェイス111を介して、上位装置11に出力する(S1051)。また、このとき、S1021がS1011の直後(すなわち、「読取処理」が「印刷処理」の直後)であり、かつ、印刷部400が印刷処理中であれば、抽出結果判定部213は、印刷部400に印刷処理を中止させる。   When it is determined in S1027 that “the print image 1011 is not printed correctly on the print medium 31”, the extraction result determination unit 213 determines that “the print image 1011 is not printed correctly on the print medium 31 (or Error data (see FIG. 1) indicating that the print image 1011 has been cheated) and watermark data 1023 are output to the upper level apparatus 11 via the I / O interface 111 (S1051). At this time, if S1021 is immediately after S1011 (that is, “reading process” is immediately after “printing process”) and the printing unit 400 is in the printing process, the extraction result determination unit 213 displays the printing unit. 400 causes the printing process to be stopped.

上位装置11の処理部50は、I/Oインターフェイス91を介して、印刷装置1からエラーデータと透かしデータ1023を取得する(S1053)。このとき取得されたエラーデータと透かしデータ1023は、データ格納部80と追跡データ生成部71に入力される(図1参照)。   The processing unit 50 of the host apparatus 11 acquires error data and watermark data 1023 from the printing apparatus 1 via the I / O interface 91 (S1053). The error data and watermark data 1023 acquired at this time are input to the data storage unit 80 and the tracking data generation unit 71 (see FIG. 1).

次に、上位装置11の処理部50(具体的には、制御部50’)は、印刷装置1から取得したエラーデータや透かしデータ1023をデータ格納部80に格納する(S1055)。これにより、エラーデータや透かしデータ1023は、上位装置11のデータ格納部80に保存される。   Next, the processing unit 50 (specifically, the control unit 50 ′) of the upper level apparatus 11 stores the error data and watermark data 1023 acquired from the printing apparatus 1 in the data storage unit 80 (S 1055). As a result, the error data and watermark data 1023 are stored in the data storage unit 80 of the higher-level device 11.

次に、上位装置11の追跡データ生成部71は、S1037と同様に、透かしデータ1023から埋め込みデータ1025aを抽出し、その埋め込みデータ1025aを解読して追跡データ1025bを生成する(S1057)。   Next, similarly to S1037, the tracking data generation unit 71 of the host device 11 extracts the embedded data 1025a from the watermark data 1023, decodes the embedded data 1025a, and generates the tracking data 1025b (S1057).

次に、上位装置11の印刷画像形成部61は、S1039と同様に、S1001で印刷装置1に出力した印刷データ1001をデータ格納部80から読み出し、読み出した印刷データ1001に基づいてオリジナル印刷画像データ1027を形成する(S1059)。   Next, similarly to S1039, the print image forming unit 61 of the upper level apparatus 11 reads the print data 1001 output to the printing apparatus 1 in S1001 from the data storage unit 80, and the original print image data based on the read print data 1001. 1027 is formed (S1059).

次に、上位装置11の処理部50(具体的には、制御部50’)は、エラーの表示や追跡データ1025b、オリジナル印刷画像データ1027、その他をディスプレイ13に表示して(S1061)、これらを印刷者に確認させる。印刷者(または、印刷者の管理者)は、ディスプレイ13に表示された画面を閲覧し、画面に表示されたデータを確認することにより、印刷画像1011に対する複製や改竄などの不正行為を検出することができる。特に、改竄を検出した場合には、印刷者(または、印刷者の管理者)は、改竄された箇所をディスプレイ13に表示して、改竄された内容を詳しく確認することもできる。なお、エラーの表示を確認した印刷者は、状況に応じて、印刷装置1に再度印刷させる、または、他の図示しない印刷装置に印刷させる、または、その他の処置を採ることになる。また、このとき、印刷者は、状況に応じて、印刷画像1011が印刷された印刷媒体31を保存、または、破棄することになる。   Next, the processing unit 50 (specifically, the control unit 50 ′) of the host apparatus 11 displays error display and tracking data 1025b, original print image data 1027, and others on the display 13 (S1061). Ask the printer to confirm. The printer (or the administrator of the printer) browses the screen displayed on the display 13 and checks the data displayed on the screen to detect fraudulent acts such as copying or falsification of the print image 1011. be able to. In particular, when tampering is detected, the printer (or the manager of the printer) can display the tampered part on the display 13 and check the tampered content in detail. The printer who has confirmed the display of the error causes the printing apparatus 1 to print again, prints to another printing apparatus (not shown), or takes other measures depending on the situation. At this time, the printer stores or discards the print medium 31 on which the print image 1011 is printed, depending on the situation.

以上によって、印刷装置1と上位装置11の一連の動作が終了する。   As described above, a series of operations of the printing apparatus 1 and the host apparatus 11 are completed.

なお、エラーの表示は、印刷装置1のディスプレイ131に表示させるようにしてもよい。   The error display may be displayed on the display 131 of the printing apparatus 1.

また、透かしデータ1023の解読は、印刷装置1の抽出結果判定部213に行わせてもよい。そして、これによって取得される追跡データ1025bは、印刷装置1のディスプレイ131に表示させるようにしてもよい。   Further, the watermark data 1023 may be decoded by the extraction result determination unit 213 of the printing apparatus 1. Then, the tracking data 1025b acquired thereby may be displayed on the display 131 of the printing apparatus 1.

以上の通り、この実施例によれば、端末装置である印刷装置1が、全ての印刷画像1011に対して、自動的に、印刷データ1001と装置データ1004とに基づいて電子透かし(地紋画像データ1007)を生成して埋め込む。これにより、印刷装置1は、上位装置11が電子透かしの生成や電子透かしの印刷画像への埋め込みを行わない場合でも、全ての印刷画像に対して、常に、電子透かしを埋め込むことができる。   As described above, according to this embodiment, the printing apparatus 1 that is a terminal apparatus automatically performs digital watermarking (background pattern image data) on all print images 1011 based on the print data 1001 and the apparatus data 1004. 1007) is generated and embedded. Accordingly, the printing apparatus 1 can always embed a digital watermark in all print images even when the host apparatus 11 does not generate a digital watermark or embed a digital watermark in a print image.

そのため、この実施例に係る印刷装置1は、電子透かしが埋め込まれていない印刷画像の印刷を防止することができるとともに、常に、印刷者またはその管理者に印刷行為の発生を追跡させることができる。その結果、この実施例に係る印刷装置1は、印刷媒体に印刷された印刷画像のセキュリティを従来の技術よりも向上させることができる。   Therefore, the printing apparatus 1 according to this embodiment can prevent printing of a print image in which a digital watermark is not embedded, and can always cause the printer or its administrator to track the occurrence of a printing action. . As a result, the printing apparatus 1 according to this embodiment can improve the security of the print image printed on the print medium as compared with the conventional technique.

また、印刷者は、手作業で埋め込みソフトウェアを稼働させる必要がなく、しかも、印刷媒体毎に手作業で追跡データを印刷画像に埋め込むための設定や電子透かしを適切に印刷するための印刷装置の設定を行う必要もない。その結果、実施例1に係る印刷装置1は、印刷者の負担を軽減させることもできる。   In addition, the printer does not need to manually operate the embedding software, and the setting for embedding the tracking data in the print image manually for each print medium and the printing apparatus for appropriately printing the digital watermark There is no need to make any settings. As a result, the printing apparatus 1 according to the first embodiment can reduce the burden on the printer.

実施例2は、印刷画像1011の改竄検出用の電子透かしとして、縮小印刷画像データ1006を用いることを特徴とする。この縮小印刷画像データ1006は、印刷画像データ1003を電子透かしとして埋め込み可能なデータ量以下になるように縮小することによって形成されたデータである。なお、印刷画像データ1003の縮小には、例えば、MMR(Modified Modified Read Code)やJBIG(Joint Bi−level Image experts Groupe)、MR(Modified Read Code)などの方式を用いるものとする。これらは、公知であるので、ここでは詳細な説明を省略する。   The second embodiment is characterized in that reduced print image data 1006 is used as a digital watermark for detecting falsification of the print image 1011. The reduced print image data 1006 is data formed by reducing the print image data 1003 so as to be less than or equal to the amount of data that can be embedded as a digital watermark. For the reduction of the print image data 1003, for example, a method such as MMR (Modified Modified Read Code), JBIG (Joint Bi-level Image experts Group), MR (Modified Read Code), or the like is used. Since these are well-known, detailed description is abbreviate | omitted here.

<印刷装置と上位装置の構成>
以下に、印刷装置とその上位装置の構成について説明する。図4は、実施例2に係る印刷装置と上位装置の構成を示す図である。
<Configuration of printing device and host device>
Hereinafter, the configuration of the printing apparatus and its upper level apparatus will be described. FIG. 4 is a diagram illustrating the configuration of the printing apparatus and the host apparatus according to the second embodiment.

図4に示すように、この実施例に係る印刷装置1は、実施例1に係る印刷装置1と同様の構成要素および機能手段を有する。ただし、この実施例に係る印刷装置1は、(1)印刷画像形成部201に、印刷画像データ1003に基づいて後述の縮小印刷画像データ1006を形成する機能が加えられている点、(2)地紋画像形成部205に、埋め込みデータ1005bと縮小印刷画像データ1006とに基づいて地紋画像データ1007を形成する機能が加えられている点、および、(3)透かしデータ抽出部211に、透かしデータ1023から、埋め込みデータ1025aに加え、縮小印刷画像データ1024も抽出する機能が加えられている点で、実施例1に係る印刷装置1と相違する。なお、縮小印刷画像データ1024は、読取部500の読取能力や読取時の状況によって多少変化するものの、印刷画像データ1003を縮小することによって形成された縮小印刷画像データ1006とほぼ一致するデータである。   As illustrated in FIG. 4, the printing apparatus 1 according to this embodiment includes the same components and functional units as the printing apparatus 1 according to the first embodiment. However, in the printing apparatus 1 according to this embodiment, (1) the print image forming unit 201 has a function of forming reduced print image data 1006 (described later) based on the print image data 1003. (2) A function for forming a copy-forgery-inhibited pattern image data 1007 based on the embedded data 1005b and the reduced print image data 1006 is added to the copy-forgery-inhibited pattern image forming unit 205, and (3) watermark data 1023 is added to the watermark data extracting unit 211. Thus, it is different from the printing apparatus 1 according to the first embodiment in that a function of extracting reduced print image data 1024 in addition to the embedded data 1025a is added. Note that the reduced print image data 1024 is data that substantially matches the reduced print image data 1006 formed by reducing the print image data 1003, although it varies somewhat depending on the reading capability of the reading unit 500 and the situation at the time of reading. .

他方、この実施例に係る上位装置11は、図4に示すように、実施例1に係る上位装置11の構成要素および機能手段に加え、検証部73を備えている。   On the other hand, as shown in FIG. 4, the host device 11 according to this embodiment includes a verification unit 73 in addition to the components and functional means of the host device 11 according to the first embodiment.

この検証部73は、後述の復元印刷画像データ1026の輝度値とオリジナル印刷画像データ1027の輝度値とを比較して、印刷画像1011に不正行為が施されていないかを検証する機能手段である。   The verification unit 73 is a functional unit that verifies whether a fraudulent act has been performed on the print image 1011 by comparing the brightness value of restored print image data 1026 described later and the brightness value of the original print image data 1027. .

なお、この実施例では、上位装置11の印刷画像形成部61は、縮小印刷画像データ1024を縮小前のサイズに拡大して、後述の復元印刷画像データ1026を形成する機能と、印刷データ1001に基づいてオリジナル印刷画像データ1027を形成する機能とを有している。   In this embodiment, the print image forming unit 61 of the host apparatus 11 expands the reduced print image data 1024 to the size before reduction, and forms the restored print image data 1026 described later, and the print data 1001. And a function of forming original print image data 1027 based on this.

<印刷装置と上位装置の動作>
以下に、印刷装置1と上位装置11の動作について説明する。なお、この実施例では、印刷者が、上位装置11の入力部15を操作して、所望の文書や図形などの画像を印刷する印刷指示を行ったものとして説明する。
<Operation of printing device and host device>
Hereinafter, operations of the printing apparatus 1 and the host apparatus 11 will be described. In this embodiment, it is assumed that the printer has operated the input unit 15 of the host apparatus 11 to give a print instruction to print an image such as a desired document or graphic.

図5は、実施例2に係る印刷装置と上位装置の動作フローを示す図である。また、図6は、実施例2に係る印刷装置と上位装置の動作説明図であり、図5に示す各工程で形成される画像の例または用いられる画像の例を示している。   FIG. 5 is a diagram illustrating an operation flow of the printing apparatus and the host apparatus according to the second embodiment. FIG. 6 is an operation explanatory diagram of the printing apparatus and the host apparatus according to the second embodiment, and illustrates an example of an image formed in each process illustrated in FIG. 5 or an example of an image to be used.

印刷者は、上位装置11の入力部15を操作して文書や図形などの画像の印刷指示を行う。これにより、図5に示すように、上位装置11は、S501〜S505において、実施例1と同様に動作する。すなわち、上位装置11の処理部50(具体的には、制御部50’)が、印刷指示を取得し(S501)、その印刷指示に基づいて、印刷媒体31に印刷する文書や図形などの印刷データ1001を特定し(S503)、特定した印刷データ1001をデータ格納部80から読み出して、I/Oインターフェイス91を介して、印刷装置1に出力する(S505)。   A printer operates the input unit 15 of the host device 11 to give an instruction to print an image such as a document or a graphic. Thereby, as shown in FIG. 5, the host device 11 operates in the same manner as in the first embodiment in S501 to S505. That is, the processing unit 50 (specifically, the control unit 50 ′) of the upper level apparatus 11 acquires a print instruction (S501), and prints a document or a graphic to be printed on the print medium 31 based on the print instruction. The data 1001 is specified (S503), the specified print data 1001 is read from the data storage unit 80, and is output to the printing apparatus 1 via the I / O interface 91 (S505).

また、印刷装置1も、S1001〜S1005において、実施例1と同様に動作する。すなわち、まず、印刷装置1の処理部200(具体的には、制御部200’)が、上位装置11から印刷データ1001を取得する(S1001)。次に、印刷装置1の印刷画像形成部201が、印刷データ1001に基づいて、印刷画像データ1003を形成する(S1003)。そして、印刷装置1の埋め込みデータ生成部203が、印刷データ1001と装置データ1004とに基づいて、追跡データ1005a(図6参照)を生成し、さらに、その追跡データ1005aをコード化して埋め込みデータ1005bを生成する(S1005)。この後、埋め込みデータ生成部203は、埋め込みデータ1005bを地紋画像形成部205と抽出結果判定部213に出力する。   The printing apparatus 1 also operates in the same manner as in the first embodiment in S1001 to S1005. That is, first, the processing unit 200 (specifically, the control unit 200 ') of the printing apparatus 1 acquires the print data 1001 from the upper level apparatus 11 (S1001). Next, the print image forming unit 201 of the printing apparatus 1 forms print image data 1003 based on the print data 1001 (S1003). The embedded data generation unit 203 of the printing apparatus 1 generates tracking data 1005a (see FIG. 6) based on the print data 1001 and the apparatus data 1004, and further encodes the tracking data 1005a to embed data 1005b. Is generated (S1005). Thereafter, the embedded data generating unit 203 outputs the embedded data 1005b to the copy-forgery-inhibited pattern image forming unit 205 and the extraction result determining unit 213.

次に、印刷装置1の印刷画像形成部201は、S1003で形成された印刷画像データ1003を電子透かしとして埋め込み可能なデータ量以下になるように縮小して、縮小印刷画像データ1006(図4と図6参照)を形成する(S1006)。この後、印刷画像形成部201は、縮小印刷画像データ1006を地紋画像形成部205に出力する。   Next, the print image forming unit 201 of the printing apparatus 1 reduces the print image data 1003 formed in S1003 so as to be less than or equal to the amount of data that can be embedded as a digital watermark, and reduces the print image data 1006 (FIG. 4). (See FIG. 6) is formed (S1006). Thereafter, the print image forming unit 201 outputs the reduced print image data 1006 to the copy-forgery-inhibited pattern image forming unit 205.

次に、印刷装置1の地紋画像形成部205は、地紋画像データ1007を形成する(S1007)。ただし、この実施例では、実施例1と異なり、地紋画像形成部205は、埋め込みデータ1005bと縮小印刷画像データ1006とに基づいて、地紋画像データ1007を形成する。具体的には、地紋画像形成部205は、まず、埋め込みデータ生成部203から埋め込みデータ1005bを取得するとともに、印刷画像形成部201から縮小印刷画像データ1006や印刷画像データ1003の幅や高さなどのサイズデータを取得する。次に、地紋画像形成部205は、印刷画像データ1003のサイズと同様のサイズになるように、埋め込みデータ1005bに基づいて、地紋画像データ1007を形成する。この地紋画像データ1007は、埋め込みデータ1005bに基づいて、例えば、0ビットの値を意味する配列パターンとして定義された不可視な埋め込み画素データ1008aと、1ビットの値を意味する配列パターンとして定義された不可視な埋め込み画素データ1008bとを、電子透かしを生成するために予め定められた特定の規則に従って配置することによって、電子透かしの地紋画像データ1007の素地となる画像データを生成し、その画像データを縮小印刷画像データ1006に適用して、電子透かしの地紋画像データ1007を形成する。この後、地紋画像形成部205は、地紋画像データ1007を画像合成部207に出力する。   Next, the tint block image forming unit 205 of the printing apparatus 1 forms tint block image data 1007 (S1007). However, in this embodiment, unlike the first embodiment, the copy-forgery-inhibited pattern image forming unit 205 forms copy-forgery-inhibited pattern image data 1007 based on the embedded data 1005b and the reduced print image data 1006. Specifically, the copy-forgery-inhibited pattern image forming unit 205 first acquires the embedded data 1005b from the embedded data generating unit 203, and the width and height of the reduced print image data 1006 and the print image data 1003 from the print image forming unit 201. Get size data for. Next, the copy-forgery-inhibited pattern image forming unit 205 forms copy-forgery-inhibited pattern image data 1007 based on the embedded data 1005b so as to have a size similar to the size of the print image data 1003. The copy-forgery-inhibited pattern image data 1007 is defined based on the embedded data 1005b as, for example, invisible embedded pixel data 1008a defined as an array pattern that represents a 0-bit value and an array pattern that represents a 1-bit value. The invisible embedded pixel data 1008b is arranged in accordance with a predetermined rule for generating a digital watermark, thereby generating image data to be a base of the digital watermark copy-forgery-inhibited pattern image data 1007, and the image data is Applying to the reduced print image data 1006, digital watermark copy-forgery-inhibited pattern image data 1007 is formed. Thereafter, the tint block image forming unit 205 outputs the tint block image data 1007 to the image composition unit 207.

次に、印刷装置1は、S1009〜S1021において、実施例1と同様に動作する。すなわち、まず、印刷装置1の画像合成部207が、印刷画像データ1003と地紋画像データ1007とを合成して合成画像データ1009を形成する(S1009)。次に、印刷装置1の印刷部400が、合成画像データ1009に基づいて、印刷画像1011を印刷媒体31に印刷する(S1011)。次に、印刷装置1の読取部500が、印刷媒体31から印刷画像1011を読み取り、読取データ1021を取得する(S1021)。   Next, the printing apparatus 1 operates in the same manner as in the first embodiment in S1009 to S1021. That is, first, the image composition unit 207 of the printing apparatus 1 composes the print image data 1003 and the copy-forgery-inhibited pattern image data 1007 to form composite image data 1009 (S1009). Next, the printing unit 400 of the printing apparatus 1 prints the print image 1011 on the print medium 31 based on the composite image data 1009 (S1011). Next, the reading unit 500 of the printing apparatus 1 reads the print image 1011 from the print medium 31 and acquires the read data 1021 (S1021).

S1021の後、印刷装置1の透かしデータ抽出部211は、実施例1と同様に、読取データ1021から印刷画像1011に埋め込まれた電子透かしの地紋画像データである透かしデータ1023を抽出する(S1023)。なお、この実施例では、透かしデータ1023は、縮小印刷画像データ1024(図6参照)と埋め込みデータ1025aとに基づいて、構成されている。縮小印刷画像データ1024は、前述の通り、印刷画像1011が印刷媒体31に正しく印刷されていれば、S1006で生成された縮小印刷画像データ1006と一致するデータである。また、埋め込みデータ1025aは、印刷画像1011が印刷媒体31に正しく印刷されていれば、S1005で生成された埋め込みデータ1005bと一致するデータである。縮小印刷画像データ1024は、縮小前のサイズに復元して、その復元した画像データの輝度値を、印刷画像データ1003の輝度値と比較することにより、印刷画像1011に対する複製や改竄などの不正行為の有無の判定に用いることができる。また、埋め込みデータ1005bは、追跡データ1025bと比較することにより、印刷画像1011が印刷媒体31に正しく印刷されているか否かの判定に用いることができる。   After S1021, the watermark data extraction unit 211 of the printing apparatus 1 extracts watermark data 1023, which is digital watermark copy-forgery-inhibited pattern image data embedded in the print image 1011 from the read data 1021, as in the first embodiment (S1023). . In this embodiment, the watermark data 1023 is configured based on reduced print image data 1024 (see FIG. 6) and embedded data 1025a. As described above, the reduced print image data 1024 is data that matches the reduced print image data 1006 generated in S1006 if the print image 1011 is correctly printed on the print medium 31. The embedded data 1025a is data that matches the embedded data 1005b generated in S1005 if the print image 1011 is correctly printed on the print medium 31. The reduced print image data 1024 is restored to the size before reduction, and the brightness value of the restored image data is compared with the brightness value of the print image data 1003, so that illegal actions such as duplication or falsification of the print image 1011 are performed. It can be used to determine the presence or absence of. The embedded data 1005b can be used to determine whether the print image 1011 is correctly printed on the print medium 31 by comparing with the tracking data 1025b.

次に、印刷装置1は、S1025〜S1027において、実施例1と同様に動作する。すなわち、まず、印刷装置1の透かしデータ抽出部211は、透かしデータ1023から埋め込みデータ1025aを抽出する(S1025)。次に、印刷装置1の抽出結果判定部213は、埋め込みデータ1005bと埋め込みデータ1025aとを比較して、印刷画像1011が印刷媒体31に正しく印刷されているか否かを判定する(S1027)。埋め込みデータ1005bと埋め込みデータ1025aが所定の許容範囲内で一致する場合に、抽出結果判定部213は、「印刷画像1011が印刷媒体31に正しく印刷されている(また、印刷画像1011に不正行為が施されていない)」と判定する。この場合、工程はS1032に進む。他方、埋め込みデータ1005bと埋め込みデータ1025aが所定の許容範囲内で一致しない場合に、抽出結果判定部213は、「印刷画像1011が印刷媒体31に正しく印刷されていない(または、印刷画像1011に不正行為が施されている)」と判定する。この場合、工程はS1051に進む。   Next, the printing apparatus 1 operates in the same manner as in the first embodiment in S1025 to S1027. That is, first, the watermark data extraction unit 211 of the printing apparatus 1 extracts embedded data 1025a from the watermark data 1023 (S1025). Next, the extraction result determination unit 213 of the printing apparatus 1 compares the embedded data 1005b with the embedded data 1025a to determine whether the print image 1011 is correctly printed on the print medium 31 (S1027). When the embedded data 1005b and the embedded data 1025a match within a predetermined allowable range, the extraction result determination unit 213 determines that “the print image 1011 has been correctly printed on the print medium 31 (and the print image 1011 has been fraudulent. Not applied) ”. In this case, the process proceeds to S1032. On the other hand, when the embedded data 1005b and the embedded data 1025a do not match within a predetermined allowable range, the extraction result determination unit 213 determines that “the print image 1011 is not printed correctly on the print medium 31 (or the print image 1011 is illegal). It is determined that the action is being performed. In this case, the process proceeds to S1051.

S1027で「印刷画像1011が印刷媒体31に正しく印刷されている」と判定された場合に、抽出結果判定部213は、透かしデータ抽出部211によって抽出された透かしデータ1023を、I/Oインターフェイス111を介して、上位装置11に出力する(S1032)。なお、この透かしデータ1023は、実施例1の透かしデータ1023と異なり、縮小印刷画像データ1024を含んでいる。   If it is determined in S1027 that “the print image 1011 is correctly printed on the print medium 31”, the extraction result determination unit 213 uses the watermark data 1023 extracted by the watermark data extraction unit 211 as the I / O interface 111. To the higher-level device 11 (S1032). Note that this watermark data 1023 includes reduced print image data 1024, unlike the watermark data 1023 of the first embodiment.

上位装置11は、S1033〜S1037において、実施例1と同様に動作する。すなわち、まず、上位装置11の処理部50(具体的には、制御部50’)が、I/Oインターフェイス91を介して、印刷装置1から透かしデータ1023を取得する(S1033)。このとき取得された透かしデータ1023は、データ格納部80と追跡データ生成部71と印刷画像形成部61に入力される(図4参照)。次に、上位装置11の処理部50(具体的には、制御部50’)が、印刷装置1から取得した透かしデータ1023をデータ格納部80に格納する(S1035)。そして、上位装置11の追跡データ生成部71が、透かしデータ1023から埋め込みデータ1025aを抽出し、その埋め込みデータ1025aを解読して追跡データ1025bを生成する(S1037)。   The host device 11 operates in the same manner as in the first embodiment in S1033 to S1037. That is, first, the processing unit 50 (specifically, the control unit 50 ′) of the upper level apparatus 11 acquires the watermark data 1023 from the printing apparatus 1 via the I / O interface 91 (S 1033). The watermark data 1023 acquired at this time is input to the data storage unit 80, the tracking data generation unit 71, and the print image forming unit 61 (see FIG. 4). Next, the processing unit 50 (specifically, the control unit 50 ′) of the upper level apparatus 11 stores the watermark data 1023 acquired from the printing apparatus 1 in the data storage unit 80 (S 1035). Then, the tracking data generation unit 71 of the host device 11 extracts the embedded data 1025a from the watermark data 1023, decodes the embedded data 1025a, and generates the tracking data 1025b (S1037).

次に、上位装置11の印刷画像形成部61は、透かしデータ1023から縮小印刷画像データ1024を抽出し、その縮小印刷画像データ1024を縮小前のサイズに拡大して復元印刷画像データ1026(図6参照)を形成する(S1038)。なお、この復元印刷画像データ1026は、印刷画像1011に不正行為が施されていなければ、S1003で形成された印刷画像データ1003と同じになるデータである。   Next, the print image forming unit 61 of the host apparatus 11 extracts the reduced print image data 1024 from the watermark data 1023, expands the reduced print image data 1024 to the size before reduction, and restores the print image data 1026 (FIG. 6). Reference) is formed (S1038). Note that the restored print image data 1026 is the same data as the print image data 1003 formed in S1003 if the print image 1011 is not cheated.

次に、上位装置11の印刷画像形成部61は、実施例1と同様に、S1001で印刷装置1に出力した印刷データ1001に基づいてオリジナル印刷画像データ1027を形成する(S1039)。この後、印刷画像形成部61は、S1038で形成した復元印刷画像データ1026とS1039で形成したオリジナル印刷画像データ1027とを検証部73に出力する。   Next, as in the first embodiment, the print image forming unit 61 of the host apparatus 11 forms original print image data 1027 based on the print data 1001 output to the printing apparatus 1 in S1001 (S1039). Thereafter, the print image forming unit 61 outputs the restored print image data 1026 formed in S1038 and the original print image data 1027 formed in S1039 to the verification unit 73.

次に、上位装置11の検証部73は、復元印刷画像データ1026の輝度値とオリジナル印刷画像データ1027の輝度値とを比較して、両者が所定の許容範囲内で一致するか否かを判定する(S1043)。すなわち、検証部73は、復元印刷画像データ1026の輝度値とオリジナル印刷画像データ1027の輝度値の差が予め定められた閾値よりも小さいか否かを判定する。これにより、上位装置11は、自動的に、印刷画像1011に対する複製や改竄などの不正行為を検出することができる。復元印刷画像データ1026の輝度値とオリジナル印刷画像データ1027の輝度値が所定の許容範囲内で一致する場合に(すなわち、復元印刷画像データ1026の輝度値とオリジナル印刷画像データ1027の輝度値の差が予め定められた閾値よりも小さい場合に)、上位装置11の検証部73は、「印刷画像1011に対する不正行為がなかった」と判定する。この場合、工程はS1045に進む。他方、復元印刷画像データ1026とオリジナル印刷画像データ1027が所定の許容範囲内で一致しない場合に(すなわち、復元印刷画像データ1026の輝度値とオリジナル印刷画像データ1027の輝度値の差が予め定められた閾値よりも大きい場合に)、上位装置11の検証部73は、「印刷画像1011に対する不正行為があった」と判定する。この場合、工程はS1047に進む。   Next, the verification unit 73 of the host apparatus 11 compares the brightness value of the restored print image data 1026 and the brightness value of the original print image data 1027 and determines whether or not they match within a predetermined allowable range. (S1043). That is, the verification unit 73 determines whether the difference between the luminance value of the restored print image data 1026 and the luminance value of the original print image data 1027 is smaller than a predetermined threshold value. As a result, the host apparatus 11 can automatically detect fraudulent acts such as copying and falsification of the print image 1011. When the brightness value of the restored print image data 1026 matches the brightness value of the original print image data 1027 within a predetermined allowable range (that is, the difference between the brightness value of the restored print image data 1026 and the brightness value of the original print image data 1027) Is smaller than a predetermined threshold value), the verification unit 73 of the host device 11 determines that “there is no fraudulent action on the print image 1011”. In this case, the process proceeds to S1045. On the other hand, when the restored print image data 1026 and the original print image data 1027 do not match within a predetermined allowable range (that is, the difference between the brightness value of the restored print image data 1026 and the brightness value of the original print image data 1027 is determined in advance. If the threshold value is larger than the threshold value, the verification unit 73 of the higher-level device 11 determines that “there was an illegal act on the print image 1011”. In this case, the process proceeds to S1047.

S1043で「復元印刷画像データ1026とオリジナル印刷画像データ1027が所定の許容範囲内で一致する」と判定された場合に、検証部73(または、制御部50’)は、追跡データ1025bや復元印刷画像データ1026、オリジナル印刷画像データ1027、不正行為がない旨の表示、その他をディスプレイ13に表示して(S1045)、これらを印刷者に確認させる。   When it is determined in S1043 that “the restored print image data 1026 and the original print image data 1027 match within a predetermined allowable range”, the verification unit 73 (or the control unit 50 ′) performs the tracking data 1025b and the restored print image. The image data 1026, the original print image data 1027, a display indicating that there is no fraud, and the like are displayed on the display 13 (S1045), and the printer is confirmed.

他方、S1043で「復元印刷画像データ1026とオリジナル印刷画像データ1027が所定の許容範囲内で一致しない」と判定された場合に、検証部73(または、制御部50’)は、追跡データ1025bや復元印刷画像データ1026、オリジナル印刷画像データ1027、改竄などの不正行為がある旨の表示、その他をディスプレイ13に表示して(S1047)、これらを印刷者に確認させる。   On the other hand, when it is determined in S1043 that “the restored print image data 1026 and the original print image data 1027 do not match within a predetermined allowable range”, the verification unit 73 (or the control unit 50 ′) performs the tracking data 1025b or The restored print image data 1026, the original print image data 1027, an indication that there is an illegal act such as falsification, and the like are displayed on the display 13 (S1047), and the printer is confirmed.

前述のS1027で「印刷画像1011が印刷媒体31に正しく印刷されていない」と判定された場合に、抽出結果判定部213は、エラーデータや透かしデータ1023を、I/Oインターフェイス111を介して、上位装置11に出力する(S1051)。なお、図4は、前述のS1027で「印刷画像1011が印刷媒体31に正しく印刷されている」と判定された場合の例を示しているため、エラーデータが省略されている。また、この実施例では、透かしデータ1023は、縮小印刷画像データ1024を含んでいる。また、このとき、S1021がS1011の直後(すなわち、「読取処理」が「印刷処理」の直後)であり、かつ、印刷部400が印刷処理中であれば、抽出結果判定部213は、印刷部400に印刷処理を中止させる。   If it is determined in S1027 that “the print image 1011 is not correctly printed on the print medium 31”, the extraction result determination unit 213 sends the error data and watermark data 1023 via the I / O interface 111. The data is output to the host device 11 (S1051). Note that FIG. 4 shows an example in which it is determined in S1027 that “the print image 1011 is correctly printed on the print medium 31”, and therefore error data is omitted. In this embodiment, the watermark data 1023 includes reduced print image data 1024. At this time, if S1021 is immediately after S1011 (that is, “reading process” is immediately after “printing process”) and the printing unit 400 is in the printing process, the extraction result determination unit 213 displays the printing unit. 400 causes the printing process to be stopped.

上位装置11は、S1053〜S1057において、実施例1と同様に動作する。すなわち、まず、上位装置11の処理部50が、I/Oインターフェイス91を介して、印刷装置1からエラーデータと透かしデータ1023を取得する(S1053)。このとき取得されたエラーデータと透かしデータ1023は、データ格納部80と追跡データ生成部71と印刷画像形成部61に入力される(図4参照)。次に、上位装置11の処理部50(具体的には、制御部50’)が、印刷装置1から取得した透かしデータ1023をデータ格納部80に格納する(S1055)。そして、上位装置11の追跡データ生成部71が、透かしデータ1023から埋め込みデータ1025aを抽出し、その埋め込みデータ1025aを解読して追跡データ1025bを生成する(S1057)。   The host device 11 operates in the same manner as in the first embodiment in S1053 to S1057. That is, first, the processing unit 50 of the upper level apparatus 11 acquires error data and watermark data 1023 from the printing apparatus 1 via the I / O interface 91 (S1053). The error data and watermark data 1023 acquired at this time are input to the data storage unit 80, the tracking data generation unit 71, and the print image forming unit 61 (see FIG. 4). Next, the processing unit 50 (specifically, the control unit 50 ′) of the upper level apparatus 11 stores the watermark data 1023 acquired from the printing apparatus 1 in the data storage unit 80 (S 1055). Then, the tracking data generation unit 71 of the host device 11 extracts the embedded data 1025a from the watermark data 1023, decodes the embedded data 1025a, and generates the tracking data 1025b (S1057).

次に、上位装置11の処理部50は、透かしデータ1023から縮小印刷画像データ1024を抽出し、その縮小印刷画像データ1024を縮小前のサイズに拡大して復元印刷画像データ1026を形成する(S1058)。   Next, the processing unit 50 of the upper level apparatus 11 extracts the reduced print image data 1024 from the watermark data 1023, enlarges the reduced print image data 1024 to the size before reduction, and forms restored print image data 1026 (S1058). ).

次に、上位装置11の印刷画像形成部61は、実施例1と同様に、S1001で印刷装置1に出力した印刷データ1001に基づいてオリジナル印刷画像データ1027を形成する(S1059)。この後、印刷画像形成部61は、S1038で形成した復元印刷画像データ1026とオリジナル印刷画像データ1027とを検証部73(または、制御部50’)に出力する。   Next, as in the first embodiment, the print image forming unit 61 of the host apparatus 11 forms original print image data 1027 based on the print data 1001 output to the printing apparatus 1 in S1001 (S1059). Thereafter, the print image forming unit 61 outputs the restored print image data 1026 and the original print image data 1027 formed in S1038 to the verification unit 73 (or the control unit 50 ').

次に、上位装置11の検証部73(または、制御部50’)は、エラーの表示や追跡データ1025b、復元印刷画像データ1026、オリジナル印刷画像データ1027、その他をディスプレイ13に表示して(S1061)、これらを印刷者に確認させる。なお、エラーの表示を確認した印刷者は、状況に応じて、印刷装置1に再度印刷させる、または、他の図示しない印刷装置に印刷させる、または、その他の処置を採ることになる。また、このとき、印刷者は、状況に応じて、印刷画像1011が印刷された印刷媒体31を保存、または、破棄することになる。   Next, the verification unit 73 (or the control unit 50 ′) of the host device 11 displays error display and tracking data 1025b, restored print image data 1026, original print image data 1027, and others on the display 13 (S1061). ) Ask the printer to confirm these. The printer who has confirmed the display of the error causes the printing apparatus 1 to print again, prints to another printing apparatus (not shown), or takes other measures depending on the situation. At this time, the printer stores or discards the print medium 31 on which the print image 1011 is printed, depending on the situation.

以上によって、印刷装置1と上位装置11の一連の動作が終了する。   As described above, a series of operations of the printing apparatus 1 and the host apparatus 11 are completed.

なお、この実施例に係る印刷装置1と上位装置11は、実施例1と同様に動作することもできる。   Note that the printing apparatus 1 and the host apparatus 11 according to this embodiment can also operate in the same manner as in the first embodiment.

また、一般に、電子透かしデータとして埋め込み可能なデータ量には、上限がある。そのため、電子透かしとして埋め込む追跡データ1005aと縮小印刷画像データ1006のデータ量は、埋め込み可能な上限を超えないようにする必要がある。そこで、例えば、追跡データ1005aと縮小印刷画像データ1006との間に優先順位を設け、追跡データ1005aと縮小印刷画像データ1006のデータ量が埋め込み可能な上限を超える場合に、改竄検出用の縮小印刷画像データ1006を優先して埋め込むようにするとよい。   In general, there is an upper limit to the amount of data that can be embedded as digital watermark data. For this reason, the data amounts of the tracking data 1005a and the reduced print image data 1006 to be embedded as a digital watermark need not exceed the upper limit that can be embedded. Therefore, for example, a priority is set between the tracking data 1005a and the reduced print image data 1006, and when the data amount of the tracking data 1005a and the reduced print image data 1006 exceeds the embeddable upper limit, the reduced print for falsification detection is performed. The image data 1006 may be embedded with priority.

以上の通り、この実施例によれば、印刷装置1が、印刷画像1011の改竄検出用の電子透かしである縮小印刷画像データ1024を上位装置11に出力する。   As described above, according to this embodiment, the printing apparatus 1 outputs the reduced print image data 1024 that is a digital watermark for detecting falsification of the print image 1011 to the upper level apparatus 11.

そのため、この実施例に係る印刷装置1は、実施例1と同様の効果(すなわち、「印刷媒体に印刷された印刷画像のセキュリティを従来の技術よりも向上がさせることができる」という効果、および、「印刷者の負担を軽減させることもできる」という効果)に加え、さらに、上位装置11に印刷画像1011に対する複製や改竄などの不正行為を検出させることができるという効果を有する。   Therefore, the printing apparatus 1 according to this embodiment has the same effect as that of the first embodiment (that is, the effect that “the security of a print image printed on a print medium can be improved as compared with the conventional technology”, and In addition to the effect that “the burden on the printer can be reduced”), the host device 11 can also detect illegal acts such as copying and falsification of the print image 1011.

実施例3は、上位装置11が電子透かしを生成し、印刷装置1がこれに対応する構成となっていることを特徴とする。そのため、この実施例では、上位装置11が、印刷装置1から装置データを取得して、その装置データを用いて電子透かしを生成する。この実施例によれば、印刷者は、遠隔地の上位装置11から、印刷装置1に、透かし入り印刷画像1011を印刷媒体31に印刷させることができる。以下、電子透かしを生成する上位装置を、電子透かしを生成しない上位装置と区別するために、上位装置11’という。   The third embodiment is characterized in that the host apparatus 11 generates a digital watermark, and the printing apparatus 1 has a configuration corresponding thereto. Therefore, in this embodiment, the host device 11 acquires device data from the printing device 1 and generates a digital watermark using the device data. According to this embodiment, the printer can cause the printing apparatus 1 to print the watermarked print image 1011 on the print medium 31 from the remote host apparatus 11. Hereinafter, in order to distinguish a higher-level device that generates a digital watermark from a higher-level device that does not generate a digital watermark, it is referred to as a higher-level device 11 ′.

なお、この実施例では、上位装置11’は、透かし入り印刷画像のイメージデータである合成画像データ1009を印刷装置1に直接出力せずに、画像化する前の印刷データ1001と後述の地紋符号化データ1007’とを1つのデータとして可逆圧縮して後述の圧縮データ1031を生成し、その圧縮データ1031を印刷装置1に出力する。これにより、この実施例では、上位装置11’は、透かし入り印刷画像1011を印刷するためのデータ(この実施例では、印刷データ1001と地紋符号化データ1007’からなる圧縮データ1031)を、少ないデータ量で、ネットワーク41を介して接続された印刷装置1に出力することができる。   In this embodiment, the upper level apparatus 11 ′ does not directly output the composite image data 1009, which is the image data of the watermarked print image, to the printing apparatus 1, but print data 1001 before image formation and a background pattern code described later. The compressed data 1007 ′ is reversibly compressed as one data to generate compressed data 1031 described later, and the compressed data 1031 is output to the printing apparatus 1. As a result, in this embodiment, the host apparatus 11 ′ uses less data for printing the watermarked print image 1011 (in this embodiment, compressed data 1031 including the print data 1001 and the tint block encoded data 1007 ′). The amount of data can be output to the printing apparatus 1 connected via the network 41.

<印刷装置と上位装置の構成>
以下に、印刷装置とその上位装置の構成について説明する。図7は、実施例3に係る印刷装置と上位装置の構成を示す図である。なお、ここでは、実施例2を基にして説明する。そこで、以下は、実施例2の印刷装置1および上位装置11と相違する構成要素を重点的に説明し、実施例2の印刷装置1および上位装置11と共通する構成要素や同様な構成要素については説明を省略する。なお、図7では、印刷装置1は、ネットワーク41を介して、電子透かしを生成する上位装置11’と接続されているが、電子透かしを生成しない上位装置11と接続することもできる。
<Configuration of printing device and host device>
Hereinafter, the configuration of the printing apparatus and its upper level apparatus will be described. FIG. 7 is a diagram illustrating the configuration of the printing apparatus and the host apparatus according to the third embodiment. Here, a description will be given based on the second embodiment. Therefore, in the following, components that are different from the printing device 1 and the host device 11 according to the second embodiment will be described mainly, and components that are common to the printing device 1 and the host device 11 according to the second embodiment and similar components will be described. Will not be described. In FIG. 7, the printing apparatus 1 is connected to the upper apparatus 11 ′ that generates the digital watermark via the network 41, but can also be connected to the upper apparatus 11 that does not generate the digital watermark.

図7に示すように、この実施例に係る印刷装置1は、実施例2に係る印刷装置1の構成要素および機能手段に加え、圧縮データ解凍部200aを備えている。   As illustrated in FIG. 7, the printing apparatus 1 according to this embodiment includes a compressed data decompression unit 200 a in addition to the components and functional units of the printing apparatus 1 according to the second embodiment.

この圧縮データ解凍部200aは、後述の圧縮データ1031を解凍して印刷データ1001と後述の地紋符号化データ1007’とを取得する機能手段である。   The compressed data decompressing unit 200a is a functional unit that decompresses compressed data 1031 to be described later and obtains print data 1001 and ground pattern encoded data 1007 'to be described later.

なお、この実施例では、地紋画像形成部205は、埋め込みデータ1005b(または、埋め込みデータ1005bと縮小印刷画像データ1006)に基づいて地紋画像データ1007を形成する機能に加え、さらに、後述の地紋符号化データ1007’に基づいて地紋画像データ1007を形成する機能を有している。   In this embodiment, the copy-forgery-inhibited pattern image forming unit 205 has a function of forming copy-forgery-inhibited pattern image data 1007 based on the embedded data 1005b (or the embedded data 1005b and the reduced print image data 1006), and further, a copy-forgery-inhibited pattern code described later. The copy-forgery-inhibited pattern data 1007 ′ has a function of forming copy-forgery-inhibited pattern image data 1007.

また、この実施例では、制御部200’は、上位装置11’からの指令に基づいて、データ格納部300から装置データ1004を読み出して、I/Oインターフェイス111やネットワーク41を介して、上位装置11’に出力する構成となっている。   In this embodiment, the control unit 200 ′ reads the device data 1004 from the data storage unit 300 based on a command from the host device 11 ′, and the host device via the I / O interface 111 or the network 41. 11 'is output.

また、図7には埋め込みデータ生成部203が描かれていないが、これはこの実施例における説明に用いないため、省略しただけであり、実際には存在している。   Although the embedded data generation unit 203 is not depicted in FIG. 7, this is not used in the description of this embodiment, and is simply omitted and actually exists.

また、図7には抽出結果判定部213が描かれているが、抽出結果判定部213はこの実施例では動作しない。   Although the extraction result determination unit 213 is illustrated in FIG. 7, the extraction result determination unit 213 does not operate in this embodiment.

他方、上位装置11’は、図7に示すように、有線または無線によるネットワーク(例えば、LANやインターネットなど)41を介して、遠隔地の印刷装置1と接続されている。この上位装置11’は、電子透かしを生成する電子透かし生成装置として機能するとともに、また、電子透かしを検証する検証装置として機能する。   On the other hand, as shown in FIG. 7, the upper level apparatus 11 ′ is connected to the remote printing apparatus 1 via a wired or wireless network (for example, a LAN or the Internet) 41. The higher-level device 11 ′ functions as a digital watermark generation device that generates a digital watermark and also functions as a verification device that verifies the digital watermark.

このような上位装置11’は、図7に示すように、実施例2に係る上位装置11の構成要素および機能手段に加え、埋め込みデータ生成部63や、地紋符号化データ生成部65、圧縮データ生成部67を備えている。   As shown in FIG. 7, such a higher-level device 11 ′ includes an embedded data generation unit 63, a tint block encoded data generation unit 65, compressed data, in addition to the components and functional means of the higher-level device 11 according to the second embodiment. A generation unit 67 is provided.

埋め込みデータ生成部63は、図1に示す印刷装置1の埋め込みデータ生成部203と同様の機能手段である。ここでは、埋め込みデータ生成部63は、実施例1における埋め込みデータ生成部203と同様の動作を行うものとする。   The embedded data generation unit 63 is a functional unit similar to the embedded data generation unit 203 of the printing apparatus 1 shown in FIG. Here, the embedded data generation unit 63 performs the same operation as the embedded data generation unit 203 in the first embodiment.

地紋符号化データ生成部65は、埋め込みデータ生成部63によって生成される埋め込みデータ1005bに基づいて(または、運用によっては、埋め込みデータ生成部63によって生成される埋め込みデータ1005bと印刷画像形成部61によって形成される縮小印刷画像データ1006とに基づいて)、地紋画像データ1007を形成し、その地紋画像データ1007を符号化して地紋符号化データ1007’を生成する。この地紋符号化データ1007’は、少ないデータ量で地紋画像データ1007を表すために、地紋画像データ1007における埋め込み画素データ1008aと1008bの配列パターンをビットの並びとして表した、2値または多値のビットデータである。   The copy-forgery-inhibited pattern encoded data generation unit 65 is based on the embedded data 1005b generated by the embedded data generation unit 63 (or, depending on the operation, the embedded data 1005b generated by the embedded data generation unit 63 and the print image forming unit 61 A copy-forgery-inhibited pattern image data 1007 is formed on the basis of the reduced print image data 1006 to be formed, and the copy-forgery-inhibited pattern image data 1007 is encoded to generate a copy-forgery-inhibited pattern encoded data 1007 ′. In order to represent the copy-forgery-inhibited pattern image data 1007 with a small amount of data, the copy-forgery-inhibited pattern encoded data 1007 ′ is a binary or multi-value representing the arrangement pattern of the embedded pixel data 1008a and 1008b in the copy-forgery-inhibited pattern image data 1007 as a bit arrangement. Bit data.

圧縮データ生成部67は、印刷データ1001と地紋符号化データ1007’とを1つのデータとして可逆圧縮する機能手段である。以下、圧縮データ生成部67によって可逆圧縮されたデータを、圧縮データ1031という。上位装置11’は、この圧縮データ1031を印刷装置1に出力することにより、少ないデータ量で、電子透かしが埋め込まれた印刷画像1011を生成するためのデータを、印刷装置1に出力することができる。なお、データの可逆圧縮には、例えば、Run−Length法やHuffman法などの方式を用いるものとする。これらは、公知であるので、ここでは詳細な説明を省略する。   The compressed data generation unit 67 is a functional unit that performs lossless compression of the print data 1001 and the tint block encoded data 1007 ′ as one data. Hereinafter, the data reversibly compressed by the compressed data generation unit 67 is referred to as compressed data 1031. By outputting the compressed data 1031 to the printing apparatus 1, the upper level apparatus 11 ′ can output data for generating the print image 1011 embedded with the digital watermark to the printing apparatus 1 with a small amount of data. it can. For lossless compression of data, for example, a method such as the Run-Length method or the Huffman method is used. Since these are well-known, detailed description is abbreviate | omitted here.

なお、これら埋め込みデータ生成部63と地紋符号化データ生成部65と圧縮データ生成部67は、印刷画像形成部61とともに、電子透かしを生成する、透かし生成部60を構成している。   The embedded data generation unit 63, the tint block encoded data generation unit 65, and the compressed data generation unit 67 together with the print image formation unit 61 constitute a watermark generation unit 60 that generates a digital watermark.

<印刷装置と上位装置の動作>
以下に、印刷装置1と上位装置11’の動作について説明する。なお、この実施例では、印刷者が、上位装置11’の入力部15を操作して、所望の文書の画像を印刷するための印刷指示を行ったものとして説明する。
<Operation of printing device and host device>
Hereinafter, operations of the printing apparatus 1 and the host apparatus 11 ′ will be described. In this embodiment, it is assumed that the printer gives a print instruction for printing an image of a desired document by operating the input unit 15 of the host apparatus 11 ′.

図8は、実施例3に係る印刷装置と上位装置の動作フローを示す図である。また、図9は、実施例3に係る印刷装置と上位装置の動作説明図であり、図8に示す各工程で形成される画像の例または用いられる画像の例を示している。   FIG. 8 is a diagram illustrating an operation flow of the printing apparatus and the host apparatus according to the third embodiment. FIG. 9 is an operation explanatory diagram of the printing apparatus and the host apparatus according to the third embodiment, and shows an example of an image formed in each step shown in FIG. 8 or an example of an image used.

印刷者は、上位装置11’の入力部15を操作して文書や図形などの画像の印刷指示を行う。これにより、図8に示すように、上位装置11’は、S501〜S503において、実施例2と同様に動作する。すなわち、上位装置11’の処理部50(具体的には、制御部50’)が、印刷指示を取得し(S501)、その印刷指示に基づいて、印刷媒体31に印刷する文書や図形などの印刷データ1001(図7と図9参照)を特定する(S503)。そして、処理部50(具体的には、制御部50’)は、特定した印刷データ1001をデータ格納部80から読み出して、印刷画像形成部61や埋め込みデータ生成部63、圧縮データ生成部67、検証部73に出力する。   A printer operates the input unit 15 of the host device 11 'to give an instruction to print an image such as a document or a graphic. As a result, as shown in FIG. 8, the host device 11 'operates in the same manner as in the second embodiment in S501 to S503. That is, the processing unit 50 (specifically, the control unit 50 ′) of the host apparatus 11 ′ acquires a print instruction (S501), and based on the print instruction, documents, graphics, and the like to be printed on the print medium 31 are obtained. The print data 1001 (see FIGS. 7 and 9) is specified (S503). Then, the processing unit 50 (specifically, the control unit 50 ′) reads the specified print data 1001 from the data storage unit 80, and prints the print image forming unit 61, the embedded data generating unit 63, the compressed data generating unit 67, The data is output to the verification unit 73.

次に、上位装置11’の印刷画像形成部61は、データ格納部80から取得した印刷データ1001に基づいて、印刷画像データ1003(図9参照)を形成する(S601)。このとき、印刷画像形成部61は、まず、印刷データ1001のファイル拡張子を識別して、ファイル形式を認識する。この実施例では、印刷データ1001のファイル拡張子は、文書ファイルを意味する符号となっているものとする。この場合、印刷画像形成部61は、印刷データ1001を文書ファイルとして認識することになる。そして、印刷画像形成部61は、認識したファイル形式に基づいて、印刷データ1001から文書の画像のイメージデータである印刷画像データ1003を形成する。   Next, the print image forming unit 61 of the host apparatus 11 'forms print image data 1003 (see FIG. 9) based on the print data 1001 acquired from the data storage unit 80 (S601). At this time, the print image forming unit 61 first identifies the file extension of the print data 1001 and recognizes the file format. In this embodiment, it is assumed that the file extension of the print data 1001 is a code meaning a document file. In this case, the print image forming unit 61 recognizes the print data 1001 as a document file. The print image forming unit 61 forms print image data 1003 that is image data of a document image from the print data 1001 based on the recognized file format.

次に、上位装置11’の埋め込みデータ生成部63は、ネットワーク41やI/Oインターフェイス91を介して、印刷装置1のデータ格納部300から装置データ1004(図7と図9参照)を取得する(S603)。このとき、埋め込みデータ生成部63は、ネットワーク41やI/Oインターフェイス91を介して、装置データ1004を出力させる旨を指示する指令を印刷装置1に出力する。印刷装置1の制御部200’は、これに応答して、印刷装置1のデータ格納部300から装置データ1004を読み出して、上位装置11’に出力することになる。これにより、埋め込みデータ生成部63は、印刷装置1のデータ格納部300から装置データ1004を取得する。   Next, the embedded data generation unit 63 of the upper level device 11 ′ acquires device data 1004 (see FIGS. 7 and 9) from the data storage unit 300 of the printing device 1 via the network 41 and the I / O interface 91. (S603). At this time, the embedded data generation unit 63 outputs a command for instructing to output the device data 1004 to the printing device 1 via the network 41 or the I / O interface 91. In response to this, the control unit 200 ′ of the printing apparatus 1 reads out the device data 1004 from the data storage unit 300 of the printing apparatus 1 and outputs it to the upper level apparatus 11 ′. As a result, the embedded data generation unit 63 acquires the device data 1004 from the data storage unit 300 of the printing device 1.

次に、上位装置11’の埋め込みデータ生成部63は、印刷データ1001と装置データ1004とに基づいて、埋め込みデータ1005b(図7と図9参照)を生成する(S605)。このとき、埋め込みデータ生成部63は、まず、データ格納部80から印刷データ1001を取得する。そして、埋め込みデータ生成部63は、例えば、印刷データ1001とS603で取得した装置データ1004との中から電子透かしに用いる一乃至複数種類のデータを抽出したり、電子透かしに用いるデータを予め定められた優先順位に従って配列するとによって、追跡データ1005a(図9参照)を生成し、その追跡データ1005aをコード化して埋め込みデータ1005bを生成する。この後、埋め込みデータ生成部63は、埋め込みデータ1005bを地紋符号化データ生成部65に出力する。   Next, the embedded data generation unit 63 of the upper level apparatus 11 ′ generates embedded data 1005 b (see FIGS. 7 and 9) based on the print data 1001 and the apparatus data 1004 (S 605). At this time, the embedded data generation unit 63 first acquires the print data 1001 from the data storage unit 80. For example, the embedded data generation unit 63 extracts one or more types of data used for the digital watermark from the print data 1001 and the device data 1004 acquired in step S603, or sets the data used for the digital watermark in advance. The tracking data 1005a (see FIG. 9) is generated by arranging according to the priorities, and the tracking data 1005a is encoded to generate embedded data 1005b. Thereafter, the embedded data generation unit 63 outputs the embedded data 1005b to the background pattern encoded data generation unit 65.

次に、上位装置11’の印刷画像形成部61は、S601で形成された印刷画像データ1003を電子透かしとして埋め込み可能なデータ量以下になるように縮小または圧縮して、縮小印刷画像データ1006(図7と図9参照)を形成する(S607)。なお、印刷画像データ1003の圧縮には、例えば、MMR(Modified Modified Read Code)やJBIG(Joint Bi−level Image experts Groupe)、MR(Modified Read Code)などの方式を用いるものとする。これらは、公知であるので、ここでは詳細な説明を省略する。この後、印刷画像形成部61は、縮小印刷画像データ1006を地紋符号化データ生成部65に出力する。   Next, the print image forming unit 61 of the host apparatus 11 ′ reduces or compresses the print image data 1003 formed in S601 so as to be less than or equal to the amount of data that can be embedded as a digital watermark, and reduces the print image data 1006 ( 7 and 9) are formed (S607). For the compression of the print image data 1003, for example, a method such as MMR (Modified Modified Read Code), JBIG (Joint Bi-level Image experts Group), or MR (Modified Read Code) is used. Since these are well-known, detailed description is abbreviate | omitted here. Thereafter, the print image forming unit 61 outputs the reduced print image data 1006 to the background pattern encoded data generation unit 65.

次に、上位装置11’の地紋符号化データ生成部65は、埋め込みデータ1005bと縮小印刷画像データ1006とに基づいて、地紋画像データ1007(図9参照)を形成する(S609)。このとき、地紋符号化データ生成部65は、まず、埋め込みデータ生成部63から埋め込みデータ1005bを取得するとともに、印刷画像形成部61から縮小印刷画像データ1006や印刷画像データ1003のサイズデータを取得する。そして、地紋符号化データ生成部65は、印刷画像データ1003のサイズと同様のサイズになるように、埋め込みデータ1005bと縮小印刷画像データ1006とを合成して、電子透かしの地紋画像データ1007を形成する。   Next, the copy-forgery-inhibited pattern encoded data generation unit 65 of the upper level apparatus 11 'forms copy-forgery-inhibited pattern image data 1007 (see FIG. 9) based on the embedded data 1005b and the reduced print image data 1006 (S609). At this time, the tint block encoded data generation unit 65 first acquires the embedded data 1005b from the embedded data generation unit 63, and acquires the size data of the reduced print image data 1006 and the print image data 1003 from the print image forming unit 61. . Then, the tint block encoded data generation unit 65 synthesizes the embedded data 1005b and the reduced print image data 1006 so as to have the same size as the size of the print image data 1003, thereby forming the digital watermark tint block image data 1007. To do.

次に、上位装置11’の地紋符号化データ生成部65は、地紋画像データ1007に基づいて、地紋符号化データ1007’(図7と図9参照)を生成する(S611)。この地紋符号化データ1007’は、前述の通り、少ないデータ量で地紋画像データ1007を表すために、地紋画像データ1007における埋め込み画素データ1008aと1008bの配列パターンをビットの並びとして表した、2値または多値のビットデータである。この後、地紋符号化データ生成部65は、地紋符号化データ1007’を圧縮データ生成部67に出力する。   Next, the background pattern encoded data generation unit 65 of the higher-level device 11 ′ generates background pattern encoded data 1007 ′ (see FIGS. 7 and 9) based on the background pattern image data 1007 (S 611). As described above, the background pattern encoded data 1007 ′ is a binary value that represents the array pattern of the embedded pixel data 1008a and 1008b in the background pattern image data 1007 as a bit sequence in order to represent the background pattern image data 1007 with a small amount of data. Or multi-valued bit data. Thereafter, the background pattern encoded data generation unit 65 outputs the background pattern encoded data 1007 ′ to the compressed data generation unit 67.

次に、上位装置11’の圧縮データ生成部67は、圧縮データ1031(図7と図9参照)を生成する(S613)。このとき、圧縮データ生成部67は、まず、データ格納部80から印刷データ1001を取得するとともに、地紋符号化データ生成部65から地紋符号化データ1007’を取得する。そして、圧縮データ生成部67は、例えば、Run−Length法やHuffman法などの方式を用いて、解凍可能なように、印刷データ1001と地紋符号化データ1007’とを1つのデータとして可逆圧縮して、圧縮データ1031を生成する。   Next, the compressed data generation unit 67 of the host device 11 'generates compressed data 1031 (see FIGS. 7 and 9) (S613). At this time, the compressed data generation unit 67 first acquires the print data 1001 from the data storage unit 80 and acquires the background pattern encoded data 1007 ′ from the background pattern encoded data generation unit 65. Then, the compressed data generation unit 67 reversibly compresses the print data 1001 and the tint block encoded data 1007 ′ as one data so that they can be decompressed using a method such as the Run-Length method or the Huffman method. Thus, compressed data 1031 is generated.

次に、上位装置11’の圧縮データ生成部67は、I/Oインターフェイス91やネットワーク41を介して、圧縮データ1031を印刷装置1に出力する(S615)。   Next, the compressed data generation unit 67 of the host apparatus 11 'outputs the compressed data 1031 to the printing apparatus 1 via the I / O interface 91 and the network 41 (S615).

印刷装置1の処理部200(具体的には、制御部200’)は、ネットワーク41やI/Oインターフェイス111を介して、上位装置11’から圧縮データ1031を取得する(S701)。この圧縮データ1031は、透かし埋め込み部600の圧縮データ解凍部200aに入力される。   The processing unit 200 (specifically, the control unit 200 ′) of the printing apparatus 1 acquires the compressed data 1031 from the upper level apparatus 11 ′ via the network 41 or the I / O interface 111 (S 701). This compressed data 1031 is input to the compressed data decompression unit 200 a of the watermark embedding unit 600.

次に、印刷装置1の圧縮データ解凍部200aは、圧縮データ1031を解凍して印刷データ1001と地紋符号化データ1007’とを取得する(S703)。この後、圧縮データ解凍部200aは、印刷データ1001を印刷画像形成部201に出力するとともに、地紋符号化データ1007’を地紋画像形成部205に出力する(図7と図9参照)。   Next, the compressed data decompression unit 200a of the printing apparatus 1 decompresses the compressed data 1031 to obtain the print data 1001 and the tint block encoded data 1007 '(S703). Thereafter, the compressed data decompressing unit 200a outputs the print data 1001 to the print image forming unit 201 and also outputs the tint block encoded data 1007 'to the tint block image forming unit 205 (see FIGS. 7 and 9).

次に、印刷装置1の印刷画像形成部201は、図5のS1003と同様に、印刷データ1001に基づいて、印刷画像データ1003(図7と図9参照)を形成する(S705)。この後、印刷画像形成部201は、印刷画像データ1003を画像合成部207に出力する。   Next, the print image forming unit 201 of the printing apparatus 1 forms print image data 1003 (see FIG. 7 and FIG. 9) based on the print data 1001 as in S1003 of FIG. 5 (S705). Thereafter, the print image forming unit 201 outputs the print image data 1003 to the image composition unit 207.

次に、印刷装置1の地紋画像形成部205は、地紋符号化データ1007’に基づいて、地紋画像データ1007(図7と図9参照)を形成する(S707)。すなわち、地紋画像形成部205は、地紋符号化データ1007’からビットデータの並びを読み取り、ビットデータに対応した信号パターンの画像を並べる。このようにして、地紋画像形成部205は、地紋符号化データ1007’を復号化して地紋画像データ1007を形成する。なお、この実施例では、地紋画像データ1007は、埋め込みデータ1005bと縮小印刷画像データ1006とを含んでいる。この後、地紋画像形成部205は、地紋画像データ1007を画像合成部207に出力する。   Next, the copy-forgery-inhibited pattern image forming unit 205 of the printing apparatus 1 forms copy-forgery-inhibited pattern image data 1007 (see FIGS. 7 and 9) based on the copy-forgery-inhibited pattern data 1007 '(S707). That is, the tint block image forming unit 205 reads the arrangement of bit data from the tint block encoded data 1007 ′, and arranges the image of the signal pattern corresponding to the bit data. In this way, the background pattern image forming unit 205 decodes the background pattern encoded data 1007 ′ to form the background pattern image data 1007. In this embodiment, the copy-forgery-inhibited pattern image data 1007 includes embedded data 1005b and reduced print image data 1006. Thereafter, the tint block image forming unit 205 outputs the tint block image data 1007 to the image composition unit 207.

次に、印刷装置1の画像合成部207は、図5のS1009と同様に、印刷画像データ1003と地紋画像データ1007とを合成して合成画像データ1009(図7と図9参照)を形成する(S709)。この後、画像合成部207は、合成画像データ1009を印刷部400に出力する。   Next, the image composition unit 207 of the printing apparatus 1 composes the print image data 1003 and the copy-forgery-inhibited pattern image data 1007 to form composite image data 1009 (see FIGS. 7 and 9), as in S1009 of FIG. (S709). Thereafter, the image composition unit 207 outputs the composite image data 1009 to the printing unit 400.

次に、印刷装置1は、S1011〜S1023において、実施例2と同様に動作する。すなわち、まず、印刷装置1の印刷部400が、合成画像データ1009に基づいて、印刷画像1011を印刷媒体31に印刷する(S1011)。次に、印刷装置1の読取部500が、印刷媒体31から印刷画像1011を読み取り、読取データ1021を取得する(S1021)。そして、印刷装置1の透かしデータ抽出部211が、実施例2と同様に、読取データ1021から印刷画像1011に埋め込まれた電子透かしの地紋画像データである透かしデータ1023を抽出する(S1023)。なお、S1023の後、実施例2では、工程はS1025に進むが、この実施例では、工程はS1032に進む。   Next, the printing apparatus 1 operates in the same manner as in the second embodiment in S1011 to S1023. That is, first, the printing unit 400 of the printing apparatus 1 prints the print image 1011 on the print medium 31 based on the composite image data 1009 (S1011). Next, the reading unit 500 of the printing apparatus 1 reads the print image 1011 from the print medium 31 and acquires the read data 1021 (S1021). Then, similarly to the second embodiment, the watermark data extraction unit 211 of the printing apparatus 1 extracts the watermark data 1023 that is the electronic watermark copy-forgery-inhibited pattern image data embedded in the print image 1011 from the read data 1021 (S1023). In addition, after S1023, in Example 2, the process proceeds to S1025, but in this example, the process proceeds to S1032.

次に、印刷装置1の透かしデータ抽出部211は、I/Oインターフェイス111やネットワーク41を介して、透かしデータ1023を上位装置11’に出力する(S1032)。なお、この透かしデータ1023は、実施例2の透かしデータ1023と同様に、縮小印刷画像データ1024を含んでいる。   Next, the watermark data extraction unit 211 of the printing apparatus 1 outputs the watermark data 1023 to the upper level apparatus 11 ′ via the I / O interface 111 and the network 41 (S 1032). The watermark data 1023 includes reduced print image data 1024 as with the watermark data 1023 of the second embodiment.

上位装置11’は、S1033〜S1047において、実施例2と同様に動作する。   The host apparatus 11 'operates in the same manner as in the second embodiment in S1033 to S1047.

すなわち、まず、上位装置11’の処理部50(具体的には、制御部50’)が、ネットワーク41やI/Oインターフェイス91を介して、印刷装置1から透かしデータ1023を取得する(S1033)。このとき取得された透かしデータ1023は、データ格納部80と追跡データ生成部71と印刷画像形成部61と検証部73に入力される(図7参照)。   That is, first, the processing unit 50 (specifically, the control unit 50 ′) of the upper level apparatus 11 ′ acquires the watermark data 1023 from the printing apparatus 1 via the network 41 or the I / O interface 91 (S1033). . The watermark data 1023 acquired at this time is input to the data storage unit 80, the tracking data generation unit 71, the print image forming unit 61, and the verification unit 73 (see FIG. 7).

次に、上位装置11’の処理部50(具体的には、制御部50’または検証部73)が、印刷装置1から取得した透かしデータ1023をデータ格納部80に格納する(S1035)。   Next, the processing unit 50 (specifically, the control unit 50 ′ or the verification unit 73) of the upper level apparatus 11 ′ stores the watermark data 1023 acquired from the printing apparatus 1 in the data storage unit 80 (S 1035).

次に、上位装置11’の追跡データ生成部71が、透かしデータ1023から埋め込みデータ1025aを抽出し、その埋め込みデータ1025aを解読して追跡データ1025bを生成する(S1037)。   Next, the tracking data generation unit 71 of the host device 11 'extracts the embedded data 1025a from the watermark data 1023, decodes the embedded data 1025a, and generates the tracking data 1025b (S1037).

次に、上位装置11’の印刷画像形成部61が、透かしデータ1023から縮小印刷画像データ1024を抽出し、その縮小印刷画像データ1024を縮小前のサイズに拡大して復元印刷画像データ1026を形成する(S1038)。   Next, the print image forming unit 61 of the host apparatus 11 ′ extracts the reduced print image data 1024 from the watermark data 1023, enlarges the reduced print image data 1024 to the size before reduction, and forms the restored print image data 1026. (S1038).

次に、上位装置11’の印刷画像形成部61が、S1001で印刷装置1に出力した印刷データ1001に基づいてオリジナル印刷画像データ1027を形成する(S1039)。   Next, the print image forming unit 61 of the host apparatus 11 'forms original print image data 1027 based on the print data 1001 output to the printing apparatus 1 in S1001 (S1039).

次に、上位装置11’の検証部73が、復元印刷画像データ1026の輝度値とオリジナル印刷画像データ1027の輝度値とを比較して、両者が所定の許容範囲内で一致するか否かを判定する(S1043)。すなわち、検証部73は、復元印刷画像データ1026の輝度値とオリジナル印刷画像データ1027の輝度値の差が予め定められた閾値よりも小さいか否かを判定する。これにより、上位装置11’は、自動的に、印刷画像1011に対する複製や改竄などの不正行為を検出することができる。復元印刷画像データ1026とオリジナル印刷画像データ1027が所定の許容範囲内で一致する場合に(すなわち、復元印刷画像データ1026の輝度値とオリジナル印刷画像データ1027の輝度値の差が予め定められた閾値よりも小さい場合に)、上位装置11’の検証部73は、「印刷画像1011に対する不正行為がなかった」と判定する。この場合、工程はS1045に進む。他方、復元印刷画像データ1026とオリジナル印刷画像データ1027が所定の許容範囲内で一致しない場合に(すなわち、復元印刷画像データ1026の輝度値とオリジナル印刷画像データ1027の輝度値の差が予め定められた閾値よりも大きい場合に)、上位装置11’の検証部73は、「印刷画像1011に対する不正行為があった」と判定する。この場合、工程はS1047に進む。   Next, the verification unit 73 of the host apparatus 11 ′ compares the brightness value of the restored print image data 1026 and the brightness value of the original print image data 1027, and determines whether or not they match within a predetermined allowable range. Determination is made (S1043). That is, the verification unit 73 determines whether the difference between the luminance value of the restored print image data 1026 and the luminance value of the original print image data 1027 is smaller than a predetermined threshold value. As a result, the host apparatus 11 ′ can automatically detect fraudulent acts such as copying and falsification of the print image 1011. When the restored print image data 1026 and the original print image data 1027 match within a predetermined allowable range (that is, the difference between the brightness value of the restored print image data 1026 and the brightness value of the original print image data 1027 is a predetermined threshold value) Is smaller), the verification unit 73 of the host apparatus 11 ′ determines that “there was no fraudulent action on the print image 1011”. In this case, the process proceeds to S1045. On the other hand, when the restored print image data 1026 and the original print image data 1027 do not match within a predetermined allowable range (that is, the difference between the brightness value of the restored print image data 1026 and the brightness value of the original print image data 1027 is determined in advance. If the threshold value is larger than the threshold value, the verification unit 73 of the host device 11 ′ determines that “there was an illegal act on the print image 1011”. In this case, the process proceeds to S1047.

S1043で「復元印刷画像データ1026とオリジナル印刷画像データ1027が所定の許容範囲内で一致する」と判定された場合に、検証部73(または、制御部50’)は、追跡データ1025bや復元印刷画像データ1026、オリジナル印刷画像データ1027、不正行為がない旨の表示、その他をディスプレイ13に表示して(S1045)、これらを印刷者に確認させる。   When it is determined in S1043 that “the restored print image data 1026 and the original print image data 1027 match within a predetermined allowable range”, the verification unit 73 (or the control unit 50 ′) performs the tracking data 1025b and the restored print image. The image data 1026, the original print image data 1027, a display indicating that there is no fraud, and the like are displayed on the display 13 (S1045), and the printer is confirmed.

他方、S1043で「復元印刷画像データ1026とオリジナル印刷画像データ1027が所定の許容範囲内で一致しない」と判定された場合に、検証部73(または、制御部50’)は、追跡データ1025bや復元印刷画像データ1026、オリジナル印刷画像データ1027、改竄などの不正行為がある旨の表示、その他をディスプレイ13に表示して(S1047)、これらを印刷者に確認させる。   On the other hand, when it is determined in S1043 that “the restored print image data 1026 and the original print image data 1027 do not match within a predetermined allowable range”, the verification unit 73 (or the control unit 50 ′) performs the tracking data 1025b or The restored print image data 1026, the original print image data 1027, an indication that there is an illegal act such as falsification, and the like are displayed on the display 13 (S1047), and the printer is confirmed.

以上によって、印刷装置1と上位装置11’の一連の動作が終了する。   As described above, a series of operations of the printing apparatus 1 and the upper level apparatus 11 ′ are completed.

なお、この実施例に係る印刷装置1と上位装置11’は、実施例1または実施例2と同様に動作することもできる。   Note that the printing apparatus 1 and the host apparatus 11 ′ according to this embodiment can also operate in the same manner as in the first or second embodiment.

また、この実施例において、上位装置11’は、圧縮データ1031を予め形成してからデータ格納部80に格納しておき、印刷者から印刷指示があった場合に、圧縮データ1031をデータ格納部80から読み出して印刷装置1に出力することもできる。   Further, in this embodiment, the host apparatus 11 ′ forms the compressed data 1031 in advance and stores it in the data storage unit 80. When there is a print instruction from the printer, the upper level device 11 ′ stores the compressed data 1031 in the data storage unit. It is also possible to read from 80 and output to the printing apparatus 1.

また、上位装置11’の検証部73は、復元印刷画像データ1026の輝度値とオリジナル印刷画像データ1027の輝度値とを比較して、印刷画像1011に不正行為が施されていないかを検証する機能に加え、さらに、S605で生成した埋め込みデータ1005bとS1033で印刷装置1から取得した透かしデータ1023に含まれている埋め込みデータ1025aとを比較し、印刷画像1011に不正行為が施されていないかを検証する機能を有するようにしてもよい。   The verification unit 73 of the host apparatus 11 ′ compares the brightness value of the restored print image data 1026 with the brightness value of the original print image data 1027, and verifies whether the print image 1011 has been cheated. In addition to the function, the embedded data 1005b generated in S605 is compared with the embedded data 1025a included in the watermark data 1023 acquired from the printing apparatus 1 in S1033, and whether the print image 1011 has been cheated. May have a function of verifying.

以上の通り、この実施例によれば、上位装置11’が、印刷データ1001と装置データ1004とに基づいて電子透かし(地紋画像データ1007)を生成する。そして、上位装置11’は、その電子透かし(地紋画像データ1007)を符号化して地紋符号化データ1007’を生成し、印刷データ1001と地紋符号化データ1007’とに基づいて圧縮データ1031を印刷装置1に出力する。他方、印刷装置1は、その圧縮データ1031を解凍して印刷データ1001と地紋符号化データ1007’を取得し、印刷データ1001に基づいて印刷画像データ1003を形成するとともに、地紋符号化データ1007’に基づいて地紋画像データ1007を形成し、これらに基づいて電子透かしが埋め込まれた印刷画像1011を印刷媒体31に印刷する。このようにして、印刷装置1は、遠隔地の上位装置11’が電子透かしを生成する場合にも対応する。   As described above, according to this embodiment, the host apparatus 11 ′ generates a digital watermark (background pattern image data 1007) based on the print data 1001 and the apparatus data 1004. The host apparatus 11 ′ then encodes the digital watermark (background pattern image data 1007) to generate background pattern encoded data 1007 ′, and prints the compressed data 1031 based on the print data 1001 and the background pattern encoded data 1007 ′. Output to device 1. On the other hand, the printing apparatus 1 decompresses the compressed data 1031 to obtain the print data 1001 and the tint block encoded data 1007 ′, forms print image data 1003 based on the print data 1001, and also encodes the tint block encoded data 1007 ′. The copy-forgery-inhibited pattern image data 1007 is formed based on the print image 1011, and the print image 1011 in which the digital watermark is embedded is printed on the print medium 31 based on these. In this way, the printing apparatus 1 also supports a case where the remote host apparatus 11 'generates a digital watermark.

そのため、この実施例に係る印刷装置1は、実施例2と同様の効果(すなわち、「印刷媒体に印刷された印刷画像のセキュリティを従来の技術よりも向上がさせることができる」という効果、「印刷者の負担を軽減させることもできる」という効果、および、「上位装置11に印刷画像1011に対する複製や改竄などの不正行為を検出させることができる」という効果)に加え、さらに、上位装置11が電子透かしを生成した場合でも、これに対応することができるという効果を得ることができる。   Therefore, the printing apparatus 1 according to this embodiment has the same effect as that of the second embodiment (that is, the effect that “the security of the print image printed on the print medium can be improved as compared with the conventional technique”, “ In addition to the effect that the burden on the printer can be reduced and the effect that the host device 11 can detect fraudulent acts such as copying and falsification of the print image 1011), the host device 11 Even when a digital watermark is generated, an effect of being able to cope with this can be obtained.

また、この実施例に係る上位装置11’は、印刷データ1001と電子透かしの地紋符号化データ1007’とを圧縮データ1031として1つのデータに可逆圧縮して印刷装置1に出力する。これにより、上位装置11’は、透かし入り印刷画像1011を印刷するためのデータ(この実施例では、圧縮データ1031)を、少ないデータ量で印刷装置1に出力することができる。その結果、この実施例に係る上位装置11’は、透かし入り印刷画像1011を印刷するためのデータを短時間で印刷装置1に出力することができ、印刷装置1に印刷画像1011を効率よく印刷させることができるという効果を得ることができる。   Further, the upper level apparatus 11 ′ according to this embodiment reversibly compresses the print data 1001 and the digital watermark copy-forgery-inhibited pattern encoded data 1007 ′ into one data as the compressed data 1031, and outputs the compressed data to the printing apparatus 1. Thereby, the upper level apparatus 11 ′ can output data for printing the watermarked print image 1011 (compressed data 1031 in this embodiment) to the printing apparatus 1 with a small amount of data. As a result, the host apparatus 11 ′ according to this embodiment can output data for printing the watermarked print image 1011 to the printing apparatus 1 in a short time, and efficiently print the print image 1011 on the printing apparatus 1. The effect that it can be made can be acquired.

実施例4は、印刷装置1が、ネットワーク41を介して、遠隔地(具体的には、上位装置11’や後述の上位装置11”)から透かし入り印刷画像1011を印刷するためのデータ(この実施例では、圧縮データ1031または合成画像データ1009)を取得した場合に、そのデータに対して改竄などの不正行為の有無を検証してから、印刷画像1011を印刷することを特徴とする。   In the fourth embodiment, the printing apparatus 1 uses the network 41 to print the watermarked print image 1011 from a remote location (specifically, the host apparatus 11 ′ or a host apparatus 11 ″ described later) (this The embodiment is characterized in that when the compressed data 1031 or the composite image data 1009) is acquired, the print image 1011 is printed after verifying whether or not there is an illegal act such as falsification.

この実施例によれば、印刷者(または、印刷者の管理者)は、印刷装置1が遠隔地から透かし入り印刷画像1011を印刷するためのデータを取得した場合であっても、複製や改竄などの不正行為が施された透かし入り印刷画像1011の印刷を防止することができる。   According to this embodiment, the printer (or the administrator of the printer) can copy or tamper even when the printing apparatus 1 acquires data for printing the watermarked print image 1011 from a remote location. Thus, it is possible to prevent printing of the watermarked print image 1011 on which an illegal act such as the above has been performed.

<印刷装置と上位装置の構成>
以下に、印刷装置とその上位装置の構成について説明する。図10は、実施例4に係る印刷装置と上位装置の構成を示す図である。なお、ここでは、実施例3を基にして説明する。そこで、以下は、実施例3の印刷装置1および上位装置11’と相違する構成要素を重点的に説明し、実施例3の印刷装置1および上位装置11’と共通する構成要素や同様な構成要素については説明を省略する。なお、電子透かしを生成する上位装置11’の中には、透かし入り印刷画像のイメージデータである合成画像データ1009を印刷装置1に直接出力するものも存在する。以下、合成画像データ1009を印刷装置1に直接出力する上位装置を、合成画像データ1009を印刷装置1に直接出力しない上位装置と区別するために、上位装置11”という。また、図10では、印刷装置1は、ネットワーク41を介して、電子透かしを生成する上位装置11’と上位装置11”とに接続されているが、電子透かしを生成しない上位装置11と接続することもできる。
<Configuration of printing device and host device>
Hereinafter, the configuration of the printing apparatus and its upper level apparatus will be described. FIG. 10 is a diagram illustrating configurations of a printing apparatus and a host apparatus according to the fourth embodiment. Here, a description will be given based on the third embodiment. Therefore, in the following, components that are different from the printing device 1 and the host device 11 ′ of the third embodiment will be described with emphasis, and the components that are common to the printing device 1 and the host device 11 ′ of the third embodiment and the same configuration. Explanation of elements is omitted. Note that among the higher-level devices 11 ′ that generate digital watermarks, there are those that directly output composite image data 1009 that is image data of a watermarked print image to the printing device 1. Hereinafter, a host device that directly outputs the composite image data 1009 to the printing apparatus 1 is referred to as a host device 11 ″ in order to distinguish it from a host device that does not directly output the composite image data 1009 to the printing apparatus 1. In FIG. The printing apparatus 1 is connected to the host apparatus 11 ′ and the host apparatus 11 ″ that generate digital watermarks via the network 41, but can also be connected to the host apparatus 11 that does not generate digital watermarks.

図10に示すように、この実施例に係る印刷装置1は、実施例3に係る印刷装置1の構成要素および機能手段に加え、透かしデータ抽出部221と改竄検出部223を備えている。   As illustrated in FIG. 10, the printing apparatus 1 according to this embodiment includes a watermark data extraction unit 221 and a falsification detection unit 223 in addition to the components and functional units of the printing apparatus 1 according to the third embodiment.

透かしデータ抽出部221は、合成画像データ1009から電子透かしの地紋画像データ1007を抽出する機能手段である。   The watermark data extraction unit 221 is a functional unit that extracts digital watermark copy-forgery-inhibited pattern image data 1007 from the composite image data 1009.

改竄検出部223は、透かしデータ抽出部221が抽出した地紋画像データ1007に含まれている埋め込みデータ1005bと、上位装置11’または上位装置11”から取得する埋め込みデータ1005bとを比較して、透かし入り印刷画像1011を印刷するためのデータ(この実施例では、圧縮データ1031または合成画像データ1009)が正しいか否かを(すなわち、透かし入り印刷画像1011を印刷するためのデータに、不正行為が施されていないかを)検証する機能手段である。改竄検出部223は、透かし入り印刷画像1011を印刷するためのデータが誤っている場合に(すなわち、透かし入り印刷画像1011を印刷するためのデータに、不正行為が施されている場合に)、印刷処理を中止する。   The falsification detection unit 223 compares the embedded data 1005b included in the copy-forgery-inhibited pattern image data 1007 extracted by the watermark data extraction unit 221 with the embedded data 1005b acquired from the higher-level device 11 ′ or the higher-level device 11 ″, and performs watermarking. Whether or not the data for printing the printed image 1011 (in this embodiment, the compressed data 1031 or the composite image data 1009) is correct (that is, the data for printing the watermarked printed image 1011 is fraudulent) The falsification detection unit 223 verifies that the data for printing the watermarked print image 1011 is incorrect (that is, for printing the watermarked print image 1011). If the data is fraudulent), stop the printing process.

透かしデータ抽出部221と改竄検出部223は、印刷画像1011を印刷する前に、透かし入り印刷画像1011を印刷するためのデータ(この実施例では、圧縮データ1031または合成画像データ1009)に対して改竄などの不正行為の有無を検証する、透かし事前検証部800を構成している。印刷装置1は、この透かし事前検証部800によって、改竄などの不正行為が施された透かし入り印刷画像1011が印刷されないようにすることができる。   The watermark data extraction unit 221 and the falsification detection unit 223 operate on data for printing the watermarked print image 1011 (in this embodiment, compressed data 1031 or composite image data 1009) before printing the print image 1011. The watermark pre-verification unit 800 is configured to verify the presence or absence of fraud such as tampering. The printing apparatus 1 can prevent the watermarked print image 1011 subjected to an illegal act such as tampering from being printed by the watermark pre-verification unit 800.

なお、この実施例では、制御部200’は、装置データ1004を上位装置11”に出力することもできる。   In this embodiment, the control unit 200 'can also output the device data 1004 to the host device 11 ".

また、図10には埋め込みデータ生成部203が描かれていないが、これはこの実施例における説明に用いないため、省略しただけであり、実際には存在している。   Although the embedded data generation unit 203 is not depicted in FIG. 10, this is not used in the description of this embodiment, and is simply omitted and actually exists.

また、図10には抽出結果判定部213が描かれているが、抽出結果判定部213はこの実施例では動作しない。   Although the extraction result determination unit 213 is illustrated in FIG. 10, the extraction result determination unit 213 does not operate in this embodiment.

図10に示すように、この実施例に係る上位装置11’は、実施例3に係る上位装置11’の構成要素および機能手段を備えている。この実施例に係る上位装置11’は、実施例3に係る上位装置11’と同様の動作を行う。   As shown in FIG. 10, the higher-level device 11 ′ according to this embodiment includes components and functional units of the higher-level device 11 ′ according to the third embodiment. The host device 11 'according to this embodiment performs the same operation as the host device 11' according to the third embodiment.

この上位装置11’は、電子透かしを生成する電子透かし生成装置として機能するとともに、また、電子透かしを検証する検証装置として機能する。   The higher-level device 11 ′ functions as a digital watermark generation device that generates a digital watermark and also functions as a verification device that verifies the digital watermark.

また、図10に示すように、この実施例に係る上位装置11”は、上位装置11’と同様の構成要素および機能手段に加え、地紋画像形成部66や画像合成部68を備えている。   Further, as shown in FIG. 10, the upper level apparatus 11 ″ according to this embodiment includes a copy-forgery-inhibited pattern image forming unit 66 and an image synthesizing unit 68 in addition to the same components and functional means as the higher level apparatus 11 ′.

地紋画像形成部66は、図1に示す印刷装置1の地紋画像形成部205と同様の機能手段である。ここでは、地紋画像形成部66は、実施例1における地紋画像形成部205と同様の動作を行うものとする。   The copy-forgery-inhibited pattern image forming unit 66 is a functional unit similar to the copy-forgery-inhibited pattern image forming unit 205 of the printing apparatus 1 shown in FIG. Here, it is assumed that the tint block image forming unit 66 performs the same operation as the tint block image forming unit 205 in the first embodiment.

画像合成部68は、図1に示す印刷装置1の画像合成部207と同様の機能手段である。ここでは、画像合成部68は、実施例1における画像合成部207と同様の動作を行うものとする。   The image composition unit 68 is a functional unit similar to the image composition unit 207 of the printing apparatus 1 shown in FIG. Here, the image composition unit 68 performs the same operation as the image composition unit 207 in the first embodiment.

なお、上位装置11”は、上位装置11’の地紋符号化データ生成部65と圧縮データ生成部67とを兼ね備えた構成にすることもできる。   Note that the higher-level device 11 ″ may be configured to have both the background pattern encoded data generation unit 65 and the compressed data generation unit 67 of the higher-level device 11 ′.

上位装置11’は、電子透かしを生成する電子透かし生成装置として機能するとともに、また、電子透かしを検証する検証装置として機能する。   The host apparatus 11 'functions as a digital watermark generation apparatus that generates a digital watermark, and also functions as a verification apparatus that verifies the digital watermark.

<印刷装置と上位装置の動作>
以下に、印刷装置1と上位装置11’および上位装置11”の動作について説明する。なお、この実施例では、印刷者が、上位装置11’または上位装置11”の入力部15を操作して、所望の文書の画像を印刷するための印刷指示を行ったものとして説明する。
<Operation of printing device and host device>
Hereinafter, operations of the printing apparatus 1, the host apparatus 11 ′, and the host apparatus 11 ″ will be described. In this embodiment, the printer operates the input unit 15 of the host apparatus 11 ′ or the host apparatus 11 ″. In the following description, it is assumed that a print instruction for printing an image of a desired document has been issued.

図11−1〜図11−3は、実施例4に係る印刷装置と上位装置の動作フローを示す図である。図11−1は、上位装置11’の動作を示している。図11−2は、印刷装置11”の動作を示している。図11−3は、図11−1と図11−2に示す動作以後の、印刷装置1と上位装置(上位装置11’および上位装置11”とも共通)の動作を示している。また、図12−1と図12−2は、実施例4に係る印刷装置と上位装置の動作説明図であり、図11−1〜図11−3に示す各工程で形成される画像の例または用いられる画像の例を示している。図12−1は、主に上位装置11’の動作例を示している。図12−2は、主に上位装置11”の動作例を示している。   FIGS. 11A to 11C are flowcharts illustrating the operation flow of the printing apparatus and the host apparatus according to the fourth embodiment. FIG. 11A shows the operation of the host device 11 ′. 11-2 shows the operation of the printing apparatus 11 ″. FIG. 11-3 shows the printing apparatus 1 and the upper apparatus (the upper apparatus 11 ′ and the operation apparatus after the operation shown in FIGS. 11-1 and 11-2. The operation of the host device 11 ″ is also shown. FIGS. 12A and 12B are explanatory diagrams of operations of the printing apparatus and the host apparatus according to the fourth embodiment. Examples of images formed in the processes illustrated in FIGS. Or the example of the image used is shown. FIG. 12A mainly illustrates an operation example of the higher-level device 11 ′. FIG. 12-2 mainly shows an operation example of the host device 11 ″.

印刷者は、上位装置11’または印刷装置11”の入力部15を操作して文書や図形などの画像の印刷指示を行う。このとき、当然ながら、上位装置11’と上位装置11”とで、動作が異なる。   The printer gives an instruction to print an image such as a document or a figure by operating the input unit 15 of the upper apparatus 11 ′ or the printing apparatus 11 ″. At this time, naturally, the upper apparatus 11 ′ and the upper apparatus 11 ″ The operation is different.

上位装置11’は、図11−1に示すように、S501〜S613において、実施例3と同様に動作する。   As shown in FIG. 11A, the host device 11 'operates in the same manner as in the third embodiment in S501 to S613.

すなわち、上位装置11’の処理部50(具体的には、制御部50’)が、印刷指示を取得し(S501)、その印刷指示に基づいて、印刷媒体31に印刷する文書や図形などの印刷データ1001(図10と図12−1参照)を特定する(S503)。そして、処理部50(具体的には、制御部50’)は、特定した印刷データ1001をデータ格納部80から読み出して、印刷画像形成部61や埋め込みデータ生成部63、圧縮データ生成部67、検証部73に出力する。   That is, the processing unit 50 (specifically, the control unit 50 ′) of the host apparatus 11 ′ acquires a print instruction (S501), and based on the print instruction, documents, graphics, and the like to be printed on the print medium 31 are obtained. The print data 1001 (see FIGS. 10 and 12-1) is specified (S503). Then, the processing unit 50 (specifically, the control unit 50 ′) reads the specified print data 1001 from the data storage unit 80, and prints the print image forming unit 61, the embedded data generating unit 63, the compressed data generating unit 67, The data is output to the verification unit 73.

次に、上位装置11’の印刷画像形成部61は、データ格納部80から取得した印刷データ1001に基づいて、印刷画像データ1003(図12−1参照)を形成する(S601)。   Next, the print image forming unit 61 of the upper level apparatus 11 ′ forms print image data 1003 (see FIG. 12A) based on the print data 1001 acquired from the data storage unit 80 (S 601).

次に、上位装置11’の埋め込みデータ生成部63は、ネットワーク41やI/Oインターフェイス91を介して、印刷装置1のデータ格納部300から装置データ1004(図10と図12−1参照)を取得する(S603)。そして、埋め込みデータ生成部63は、印刷データ1001と装置データ1004とに基づいて、追跡データ1005a(図12−1参照)を生成し、その追跡データ1005aをコード化して埋め込みデータ1005b(図10と図12−1参照)を生成する(S605)。   Next, the embedded data generation unit 63 of the upper level apparatus 11 ′ receives the apparatus data 1004 (see FIGS. 10 and 12-1) from the data storage unit 300 of the printing apparatus 1 via the network 41 and the I / O interface 91. Obtain (S603). Then, the embedded data generation unit 63 generates tracking data 1005a (see FIG. 12-1) based on the print data 1001 and the device data 1004, encodes the tracking data 1005a, and embeds data 1005b (see FIG. 10). (Refer to FIG. 12A) is generated (S605).

次に、上位装置11’の印刷画像形成部61は、S601で形成された印刷画像データ1003を縮小して、縮小印刷画像データ1006(図10と図12−1参照)を形成する(S607)。そして、上位装置11’の地紋符号化データ生成部65は、埋め込みデータ1005bと縮小印刷画像データ1006とに基づいて、地紋画像データ1007(図12−1参照)を形成する(S609)。   Next, the print image forming unit 61 of the host apparatus 11 ′ reduces the print image data 1003 formed in S601 to form reduced print image data 1006 (see FIGS. 10 and 12-1) (S607). . Then, the tint block encoded data generation unit 65 of the upper level apparatus 11 ′ forms tint block image data 1007 (see FIG. 12A) based on the embedded data 1005 b and the reduced print image data 1006 (S 609).

次に、上位装置11’の地紋符号化データ生成部65は、地紋画像データ1007に基づいて、地紋符号化データ1007’(図10と図12−1参照)を生成する(S611)。そして、上位装置11’の圧縮データ生成部67は、印刷データ1001と地紋符号化データ1007’とを1つのデータとして可逆圧縮して、圧縮データ1031(図10と図12−1参照)を生成する(S613)。   Next, the background pattern encoded data generation unit 65 of the upper level apparatus 11 ′ generates background pattern encoded data 1007 ′ (see FIGS. 10 and 12-1) based on the background pattern image data 1007 (S 611). Then, the compressed data generation unit 67 of the host apparatus 11 ′ generates the compressed data 1031 (see FIGS. 10 and 12-1) by reversibly compressing the print data 1001 and the tint block encoded data 1007 ′ as one data. (S613).

この後、上位装置11’の圧縮データ生成部67は、I/Oインターフェイス91やネットワーク41を介して、圧縮データ1031を印刷装置1に出力するとともに、上位装置11’の埋め込みデータ生成部63が、I/Oインターフェイス91やネットワーク41を介して、圧縮データ1031に対応する埋め込みデータ1005bを印刷装置1に出力する(S617)。   Thereafter, the compressed data generating unit 67 of the higher level apparatus 11 ′ outputs the compressed data 1031 to the printing apparatus 1 via the I / O interface 91 and the network 41, and the embedded data generating unit 63 of the higher level apparatus 11 ′. The embedded data 1005b corresponding to the compressed data 1031 is output to the printing apparatus 1 via the I / O interface 91 and the network 41 (S617).

他方、上位装置11”は、図11−2に示すように、S501〜S609において、上位装置11’と同様に動作する。   On the other hand, as shown in FIG. 11B, the upper apparatus 11 ″ operates in the same manner as the upper apparatus 11 ′ in S501 to S609.

すなわち、上位装置11”の処理部50(具体的には、制御部50’)が、印刷指示を取得し(S501)、その印刷指示に基づいて、印刷媒体31に印刷する文書や図形などの印刷データ1001を特定する(S503)。そして、処理部50(具体的には、制御部50’)は、特定した印刷データ1001をデータ格納部80から読み出して、印刷画像形成部61や埋め込みデータ生成部63、画像合成部68、検証部73に出力する。   That is, the processing unit 50 (specifically, the control unit 50 ′) of the upper level apparatus 11 ″ obtains a print instruction (S501), and based on the print instruction, a document or a graphic to be printed on the print medium 31 is obtained. The print data 1001 is specified (S503), and the processing unit 50 (specifically, the control unit 50 ′) reads the specified print data 1001 from the data storage unit 80, and print image forming unit 61 or embedded data. The data is output to the generation unit 63, the image composition unit 68, and the verification unit 73.

次に、上位装置11”の印刷画像形成部61は、データ格納部80から取得した印刷データ1001に基づいて、印刷画像データ1003を形成する(S601)。この後、印刷画像形成部61は、印刷画像データ1003を画像合成部68に出力する。   Next, the print image forming unit 61 of the host apparatus 11 ″ forms print image data 1003 based on the print data 1001 acquired from the data storage unit 80 (S601). Thereafter, the print image forming unit 61 Print image data 1003 is output to the image composition unit 68.

次に、上位装置11”の埋め込みデータ生成部63は、ネットワーク41やI/Oインターフェイス91を介して、印刷装置1のデータ格納部300から装置データ1004を取得する(S603)。そして、埋め込みデータ生成部63は、印刷データ1001と装置データ1004とに基づいて、追跡データ1005aを生成し、その追跡データ1005aをコード化して埋め込みデータ1005bを生成する(S605)。   Next, the embedded data generation unit 63 of the upper level apparatus 11 ″ acquires the device data 1004 from the data storage unit 300 of the printing apparatus 1 via the network 41 or the I / O interface 91 (S603). The generation unit 63 generates tracking data 1005a based on the print data 1001 and the device data 1004, encodes the tracking data 1005a, and generates embedded data 1005b (S605).

次に、上位装置11”の印刷画像形成部61は、S601で形成された印刷画像データ1003を縮小して、縮小印刷画像データ1006を形成する(S607)。そして、上位装置11”の地紋符号化データ生成部65は、埋め込みデータ1005bと縮小印刷画像データ1006とに基づいて、地紋画像データ1007を形成する(S609)。この後、地紋符号化データ生成部65は、地紋画像データ1007を画像合成部68に出力する。   Next, the print image forming unit 61 of the higher level apparatus 11 ″ reduces the print image data 1003 formed in S601 to form reduced print image data 1006 (S607). The converted data generation unit 65 forms the copy-forgery-inhibited pattern image data 1007 based on the embedded data 1005b and the reduced print image data 1006 (S609). Thereafter, the tint block encoded data generation unit 65 outputs the tint block image data 1007 to the image composition unit 68.

次に、上位装置11”の画像合成部68は、画像形成部61から取得した印刷画像データ1003と地紋画像形成部66から取得した地紋画像データ1007とを合成して合成画像データ1009(図10と図12−2参照)を形成する(S621)。このとき、画像合成部68は、図1に示す印刷装置1の画像合成部207と同様に、印刷画像データ1003と地紋画像データ1007とを合成して、合成画像データ1009を形成する。   Next, the image synthesizing unit 68 of the host apparatus 11 ″ synthesizes the print image data 1003 acquired from the image forming unit 61 and the copy-forgery-inhibited pattern image data 1007 acquired from the copy-forgery-inhibited pattern image forming unit 66 to generate composite image data 1009 (FIG. 12-2) (S621) At this time, the image composition unit 68 generates the print image data 1003 and the copy-forgery-inhibited pattern image data 1007 in the same manner as the image composition unit 207 of the printing apparatus 1 shown in FIG. The composite image data 1009 is formed by combining.

この後、上位装置11”の画像合成部68は、I/Oインターフェイス91やネットワーク41を介して、合成画像データ1009を印刷装置1に出力するとともに、上位装置11”の埋め込みデータ生成部63が、I/Oインターフェイス91やネットワーク41を介して、合成画像データ1009に対応する埋め込みデータ1005bを印刷装置1に出力する(S623)。   Thereafter, the image composition unit 68 of the host apparatus 11 ″ outputs the composite image data 1009 to the printing apparatus 1 via the I / O interface 91 and the network 41, and the embedded data generation unit 63 of the host apparatus 11 ″. Then, the embedded data 1005b corresponding to the composite image data 1009 is output to the printing apparatus 1 via the I / O interface 91 and the network 41 (S623).

印刷装置1の処理部200(具体的には、制御部200’)は、ネットワーク41やI/Oインターフェイス111を介して、上位装置11’または上位装置11”からデータを取得する(S631)。このとき取得されるデータは、上位装置11’から出力されたデータであれば、圧縮データ1031と埋め込みデータ1005bとを組み合わせたデータとなり、上位装置11”から出力されたデータであれば、合成画像データ1009と埋め込みデータ1005bとを組み合わせたデータとなる。   The processing unit 200 (specifically, the control unit 200 ′) of the printing apparatus 1 acquires data from the upper apparatus 11 ′ or the upper apparatus 11 ″ via the network 41 or the I / O interface 111 (S631). If the data acquired at this time is data output from the host device 11 ′, the data is a combination of the compressed data 1031 and the embedded data 1005b. If the data is output from the host device 11 ″, the composite image is obtained. This data is a combination of the data 1009 and the embedded data 1005b.

印刷装置1の処理部200(具体的には、制御部200’)は、取得したデータが圧縮データ1031と埋め込みデータ1005bとを組み合わせたデータか否かを判定する(S633)。このとき、取得したデータが圧縮データ1031と埋め込みデータ1005bとを組み合わせたデータである場合に、制御部200’は、圧縮データ1031を圧縮データ解凍部200aに出力するとともに、埋め込みデータ1005bを改竄検出部223に出力する。この場合、工程はS703に進む。他方、取得したデータが圧縮データ1031と埋め込みデータ1005bとを組み合わせたデータでない場合に、制御部200’は、合成画像データ1009を透かしデータ抽出部221に出力するとともに、埋め込みデータ1005bを改竄検出部223に出力する。この場合、工程はS711に進む。   The processing unit 200 (specifically, the control unit 200 ') of the printing apparatus 1 determines whether or not the acquired data is a combination of the compressed data 1031 and the embedded data 1005b (S633). At this time, when the acquired data is a combination of the compressed data 1031 and the embedded data 1005b, the control unit 200 ′ outputs the compressed data 1031 to the compressed data decompressing unit 200a and detects the embedded data 1005b for falsification. Output to the unit 223. In this case, the process proceeds to S703. On the other hand, when the acquired data is not data obtained by combining the compressed data 1031 and the embedded data 1005b, the control unit 200 ′ outputs the composite image data 1009 to the watermark data extracting unit 221 and the embedded data 1005b as the falsification detecting unit. To 223. In this case, the process proceeds to S711.

S633で取得したデータが圧縮データ1031と埋め込みデータ1005bとを組み合わせたデータであった場合に、印刷装置1は、S705〜S709において、実施例3と同様に動作する。   If the data acquired in S633 is a combination of the compressed data 1031 and the embedded data 1005b, the printing apparatus 1 operates in the same manner as in the third embodiment in S705 to S709.

すなわち、まず、印刷装置1の圧縮データ解凍部200aは、圧縮データ1031を解凍して印刷データ1001と地紋符号化データ1007’とを取得する(S703)。この後、圧縮データ解凍部200aは、印刷データ1001を印刷画像形成部201に出力するとともに、地紋符号化データ1007’を地紋画像形成部205に出力する(図10と図12−1参照)。   That is, first, the compressed data decompression unit 200a of the printing apparatus 1 decompresses the compressed data 1031 to obtain the print data 1001 and the tint block encoded data 1007 '(S703). Thereafter, the compressed data decompression unit 200a outputs the print data 1001 to the print image forming unit 201 and also outputs the tint block encoded data 1007 'to the tint block image forming unit 205 (see FIGS. 10 and 12-1).

次に、印刷装置1の印刷画像形成部201は、印刷データ1001に基づいて、印刷画像データ1003(図10と図12−1参照)を形成する(S705)。この後、印刷画像形成部201は、印刷画像データ1003を画像合成部207に出力する。   Next, the print image forming unit 201 of the printing apparatus 1 forms print image data 1003 (see FIGS. 10 and 12-1) based on the print data 1001 (S705). Thereafter, the print image forming unit 201 outputs the print image data 1003 to the image composition unit 207.

次に、印刷装置1の地紋画像形成部205は、地紋符号化データ1007’に基づいて、地紋画像データ1007(図10と図12−1参照)を形成する(S707)。なお、この実施例では、地紋画像データ1007は、埋め込みデータ1005bと縮小印刷画像データ1006とを含んでいる。この後、地紋画像形成部205は、地紋画像データ1007を画像合成部207に出力する。   Next, the copy-forgery-inhibited pattern image forming unit 205 of the printing apparatus 1 forms copy-forgery-inhibited pattern image data 1007 (see FIGS. 10 and 12-1) based on the copy-forgery-inhibited pattern encoded data 1007 '(S707). In this embodiment, the copy-forgery-inhibited pattern image data 1007 includes embedded data 1005b and reduced print image data 1006. Thereafter, the tint block image forming unit 205 outputs the tint block image data 1007 to the image composition unit 207.

そして、印刷装置1の画像合成部207は、印刷画像データ1003と地紋画像データ1007とを合成して合成画像データ1009(図10と図12−1参照)を形成する(S709)。この後、画像合成部207は、合成画像データ1009を透かし事前検証部800の透かしデータ抽出部221に出力する。   Then, the image composition unit 207 of the printing apparatus 1 composes the print image data 1003 and the copy-forgery-inhibited pattern image data 1007 to form composite image data 1009 (see FIGS. 10 and 12-1) (S709). Thereafter, the image composition unit 207 outputs the composite image data 1009 to the watermark data extraction unit 221 of the watermark pre-verification unit 800.

S709の後、印刷装置1の透かしデータ抽出部221は、画像合成部207から合成画像データ1009を取得し、その合成画像データ1009から地紋画像データ1007を抽出する(S711)。または、S633で取得したデータが圧縮データ1031と埋め込みデータ1005bとを組み合わせたデータでなかった場合に、印刷装置1の透かしデータ抽出部221は、上位装置11”から出力された合成画像データ1009を取得し、その合成画像データ1009から地紋画像データ1007を抽出する。この後、透かしデータ抽出部221は、地紋画像データ1007と合成画像データ1009とを改竄検出部223に出力する。   After S709, the watermark data extraction unit 221 of the printing apparatus 1 acquires the composite image data 1009 from the image composition unit 207, and extracts the tint block image data 1007 from the composite image data 1009 (S711). Alternatively, when the data acquired in step S633 is not a combination of the compressed data 1031 and the embedded data 1005b, the watermark data extraction unit 221 of the printing apparatus 1 uses the combined image data 1009 output from the host apparatus 11 ″. Acquired and extracts the copy-forgery-inhibited pattern image data 1007 from the composite image data 1009. Thereafter, the watermark data extraction unit 221 outputs the copy-forgery-inhibited pattern image data 1007 and the composite image data 1009 to the falsification detection unit 223.

次に、印刷装置1の改竄検出部223は、透かしデータ抽出部221から地紋画像データ1007と合成画像データ1009とを取得し、地紋画像データ1007から埋め込みデータ1005bを抽出する(S713)。   Next, the falsification detection unit 223 of the printing apparatus 1 acquires the copy-forgery-inhibited pattern image data 1007 and the composite image data 1009 from the watermark data extraction unit 221, and extracts the embedded data 1005b from the copy-forgery-inhibited pattern image data 1007 (S713).

次に、印刷装置1の改竄検出部223は、上位装置11”から出力された埋め込みデータ1005bを取得し、その上位装置11”から出力された埋め込みデータ1005bとS713で地紋画像データ1007から抽出された埋め込みデータ1005bとを比較し、一致するか否かを判定する。これによって、印刷装置1の改竄検出部223は、透かし入り印刷画像1011を印刷するためのデータ(この実施例では、圧縮データ1031または合成画像データ1009)が正しいか否かを(すなわち、透かし入り印刷画像1011を印刷するためのデータに、不正行為が施されていないかを)判定する(S715)。   Next, the falsification detection unit 223 of the printing apparatus 1 acquires the embedded data 1005b output from the upper apparatus 11 ″, and is extracted from the tint block image data 1007 in the embedded data 1005b and S713 output from the upper apparatus 11 ″. The embedded data 1005b is compared to determine whether or not they match. As a result, the falsification detection unit 223 of the printing apparatus 1 determines whether the data for printing the watermarked print image 1011 (in this embodiment, the compressed data 1031 or the composite image data 1009) is correct (that is, the watermarked image is included). It is determined whether or not fraudulent acts have been applied to the data for printing the print image 1011 (S715).

このとき、両者が一致する場合に、改竄検出部223は、「透かし入り印刷画像1011を印刷するためのデータが正しい(すなわち、透かし入り印刷画像1011を印刷するためのデータに、不正行為が施されていない)」と判定する。この後、改竄検出部223は、合成画像データ1009を印刷部400に出力する。この場合、工程はS1011に進む。   At this time, if the two match, the falsification detecting unit 223 indicates that “the data for printing the watermarked print image 1011 is correct (that is, the data for printing the watermarked print image 1011 is improperly acted on). Not)). Thereafter, the falsification detection unit 223 outputs the composite image data 1009 to the printing unit 400. In this case, the process proceeds to S1011.

他方、両者が一致しない場合に、改竄検出部223は、「透かし入り印刷画像1011を印刷するためのデータが誤っている(すなわち、透かし入り印刷画像1011を印刷するためのデータに、不正行為が施されている)」と判定する。この場合、工程はS1081に進む。   On the other hand, when the two do not match, the falsification detection unit 223 indicates that the data for printing the watermarked print image 1011 is incorrect (that is, the data for printing the watermarked print image 1011 has an illegal act. It is determined). In this case, the process proceeds to S1081.

S715で「透かし入り印刷画像1011を印刷するためのデータが正しい」と判定された場合に、印刷装置1は、S1011〜S1032において、実施例3と同様に動作する。   If it is determined in S715 that “the data for printing the watermarked print image 1011 is correct”, the printing apparatus 1 operates in the same manner as in the third embodiment in S1011 to S1032.

すなわち、まず、印刷装置1の印刷部400が、合成画像データ1009に基づいて、印刷画像1011を印刷媒体31に印刷する(S1011)。次に、印刷装置1の読取部500が、印刷媒体31から印刷画像1011を読み取り、読取データ1021を取得する(S1021)。次に、印刷装置1の透かしデータ抽出部211が、読取データ1021から印刷画像1011に埋め込まれた電子透かしの地紋画像データである透かしデータ1023を抽出する(S1023)。そして、印刷装置1の透かしデータ抽出部211は、I/Oインターフェイス111やネットワーク41を介して、透かしデータ1023を上位装置11’に出力する(S1032)。なお、この透かしデータ1023は、縮小印刷画像データ1024を含んでいる。   That is, first, the printing unit 400 of the printing apparatus 1 prints the print image 1011 on the print medium 31 based on the composite image data 1009 (S1011). Next, the reading unit 500 of the printing apparatus 1 reads the print image 1011 from the print medium 31 and acquires the read data 1021 (S1021). Next, the watermark data extraction unit 211 of the printing apparatus 1 extracts watermark data 1023, which is digital watermark copy-forgery-inhibited pattern image data embedded in the print image 1011 from the read data 1021 (S1023). Then, the watermark data extraction unit 211 of the printing apparatus 1 outputs the watermark data 1023 to the upper level apparatus 11 ′ via the I / O interface 111 and the network 41 (S 1032). The watermark data 1023 includes reduced print image data 1024.

上位装置11’は、S1033〜S1047において、実施例3と同様に動作する。   The host device 11 'operates in the same manner as in the third embodiment in S1033 to S1047.

すなわち、まず、上位装置11’の処理部50(具体的には、制御部50’)が、ネットワーク41やI/Oインターフェイス91を介して、印刷装置1から透かしデータ1023を取得する(S1033)。このとき取得された透かしデータ1023は、データ格納部80と追跡データ生成部71と印刷画像形成部61と検証部73に入力される(図10参照)。   That is, first, the processing unit 50 (specifically, the control unit 50 ′) of the upper level apparatus 11 ′ acquires the watermark data 1023 from the printing apparatus 1 via the network 41 or the I / O interface 91 (S1033). . The watermark data 1023 acquired at this time is input to the data storage unit 80, the tracking data generation unit 71, the print image forming unit 61, and the verification unit 73 (see FIG. 10).

次に、上位装置11’の処理部50(具体的には、制御部50’または検証部73)が、印刷装置1から取得した透かしデータ1023をデータ格納部80に格納する(S1035)。   Next, the processing unit 50 (specifically, the control unit 50 ′ or the verification unit 73) of the upper level apparatus 11 ′ stores the watermark data 1023 acquired from the printing apparatus 1 in the data storage unit 80 (S 1035).

次に、上位装置11’の追跡データ生成部71が、透かしデータ1023から埋め込みデータ1025aを抽出し、その埋め込みデータ1025aを解読して追跡データ1025bを生成する(S1037)。   Next, the tracking data generation unit 71 of the host device 11 'extracts the embedded data 1025a from the watermark data 1023, decodes the embedded data 1025a, and generates the tracking data 1025b (S1037).

次に、上位装置11’の印刷画像形成部61が、透かしデータ1023から縮小印刷画像データ1024を抽出し、その縮小印刷画像データ1024を縮小前のサイズに拡大して復元印刷画像データ1026を形成する(S1038)。   Next, the print image forming unit 61 of the host apparatus 11 ′ extracts the reduced print image data 1024 from the watermark data 1023, enlarges the reduced print image data 1024 to the size before reduction, and forms the restored print image data 1026. (S1038).

次に、上位装置11’の印刷画像形成部61が、S1001で印刷装置1に出力した印刷データ1001に基づいてオリジナル印刷画像データ1027を形成する(S1039)。   Next, the print image forming unit 61 of the host apparatus 11 'forms original print image data 1027 based on the print data 1001 output to the printing apparatus 1 in S1001 (S1039).

次に、上位装置11’の検証部73が、復元印刷画像データ1026の輝度値とオリジナル印刷画像データ1027の輝度値とを比較して、両者が所定の許容範囲内で一致するか否かを判定する(S1043)。   Next, the verification unit 73 of the host apparatus 11 ′ compares the brightness value of the restored print image data 1026 and the brightness value of the original print image data 1027, and determines whether or not they match within a predetermined allowable range. Determination is made (S1043).

S1043で「復元印刷画像データ1026とオリジナル印刷画像データ1027が所定の許容範囲内で一致する」と判定された場合に、検証部73(または、制御部50’)は、追跡データ1025bや復元印刷画像データ1026、オリジナル印刷画像データ1027、不正行為がない旨の表示、その他をディスプレイ13に表示して(S1045)、これらを印刷者に確認させる。   When it is determined in S1043 that “the restored print image data 1026 and the original print image data 1027 match within a predetermined allowable range”, the verification unit 73 (or the control unit 50 ′) performs the tracking data 1025b and the restored print image. The image data 1026, the original print image data 1027, a display indicating that there is no fraud, and the like are displayed on the display 13 (S1045), and the printer is confirmed.

他方、S1043で「復元印刷画像データ1026とオリジナル印刷画像データ1027が所定の許容範囲内で一致しない」と判定された場合に、検証部73(または、制御部50’)は、追跡データ1025bや復元印刷画像データ1026、オリジナル印刷画像データ1027、改竄などの不正行為がある旨の表示(または、印刷エラーを含む、なんらかのエラーがある旨の表示)、その他をディスプレイ13に表示して(S1047)、これらを印刷者に確認させる。   On the other hand, when it is determined in S1043 that “the restored print image data 1026 and the original print image data 1027 do not match within a predetermined allowable range”, the verification unit 73 (or the control unit 50 ′) performs the tracking data 1025b or Display that there is a fraudulent act such as restored print image data 1026, original print image data 1027, falsification (or display that there is some error including a print error), and others are displayed on the display 13 (S1047) Let the printer check these.

前述のS715で「透かし入り印刷画像1011を印刷するためのデータが正しい」と判定された場合に、改竄検出部223(または、制御部200’)は、エラーデータや、S711で抽出された地紋画像データ1007、その他のデータを、I/Oインターフェイス111やネットワーク41を介して、透かし入り印刷画像1011を印刷するためのデータを出力した上位装置11’または上位装置11”に出力する(S1081)。そして、改竄検出部223(または、制御部200’)は、印刷処理を中止する(S1082)。   When it is determined in the above-described S715 that “the data for printing the watermarked print image 1011 is correct”, the falsification detection unit 223 (or the control unit 200 ′) determines the error data or the background pattern extracted in S711. The image data 1007 and other data are output via the I / O interface 111 and the network 41 to the upper apparatus 11 ′ or the upper apparatus 11 ″ that has output the data for printing the watermarked print image 1011 (S1081). Then, the falsification detection unit 223 (or the control unit 200 ′) stops the printing process (S1082).

透かし入り印刷画像1011を印刷するためのデータを出力した上位装置11’または上位装置11”の処理部50は、ネットワーク41やI/Oインターフェイス91を介して、印刷装置1からエラーデータや地紋画像データ1007を取得する(S1083)。以下、透かし入り印刷画像1011を印刷するためのデータを出力した上位装置を、上位装置11’として説明する。このとき取得されたエラーデータや地紋画像データ1007は、データ格納部80(または、制御部50’)と追跡データ生成部71に入力される(図10参照)。   The processing unit 50 of the upper apparatus 11 ′ or the upper apparatus 11 ″ that has output the data for printing the watermarked print image 1011 receives error data or a copy-forgery-inhibited pattern image from the printing apparatus 1 via the network 41 or the I / O interface 91. The data 1007 is acquired (S1083), and the upper device that has output the data for printing the watermarked print image 1011 will be described as the upper device 11'.The error data and the copy-forgery-inhibited pattern image data 1007 acquired at this time are described below. The data storage unit 80 (or the control unit 50 ′) and the tracking data generation unit 71 are input (see FIG. 10).

次に、上位装置11’の処理部50(具体的には、制御部50’)は、印刷装置1から取得したエラーデータや地紋画像データ1007をデータ格納部80に格納する(S1085)。これにより、エラーデータや地紋画像データ1007は、上位装置11’のデータ格納部80に保存される。   Next, the processing unit 50 (specifically, the control unit 50 ′) of the upper level apparatus 11 ′ stores the error data and the copy-forgery-inhibited pattern image data 1007 acquired from the printing apparatus 1 in the data storage unit 80 (S 1085). As a result, the error data and the copy-forgery-inhibited pattern image data 1007 are stored in the data storage unit 80 of the higher-level device 11 ′.

次に、上位装置11’の追跡データ生成部71は、印刷装置1から取得した地紋画像データ1007から埋め込みデータ1005bを抽出し、その埋め込みデータ1005bを解読して追跡データ1005aを生成する(S1087)。   Next, the tracking data generation unit 71 of the host apparatus 11 ′ extracts the embedded data 1005b from the copy-forgery-inhibited pattern image data 1007 acquired from the printing apparatus 1, and decodes the embedded data 1005b to generate the tracking data 1005a (S1087). .

次に、上位装置11’の印刷画像形成部61は、印刷装置1から取得した地紋画像データ1007から縮小印刷画像データ1006を抽出し、その縮小印刷画像データ1006を縮小前のサイズに拡大して復元印刷画像データ1026を形成する(S1088)。   Next, the print image forming unit 61 of the host apparatus 11 ′ extracts the reduced print image data 1006 from the copy-forgery-inhibited pattern image data 1007 acquired from the printing apparatus 1, and expands the reduced print image data 1006 to the size before reduction. Restored print image data 1026 is formed (S1088).

次に、上位装置11’の印刷画像形成部61は、S503で特定された印刷データ1001をデータ格納部80から読み出し、読み出した印刷データ1001に基づいてオリジナル印刷画像データ1027を形成する(S1089)。   Next, the print image forming unit 61 of the host apparatus 11 ′ reads the print data 1001 specified in S503 from the data storage unit 80, and forms the original print image data 1027 based on the read print data 1001 (S1089). .

次に、上位装置11の処理部50(具体的には、制御部50’)は、エラーの表示やS1087で生成された追跡データ1005a、オリジナル印刷画像データ1027、その他をディスプレイ13に表示して(S1091)、これらを印刷者に確認させる。印刷者(または、印刷者の管理者)は、ディスプレイ13に表示された画面を閲覧し、画面に表示されたデータを確認することにより、印刷画像1011に対する複製や改竄などの不正行為を検出することができる。なお、エラーの表示を確認した印刷者は、状況に応じて、印刷装置1に再度印刷させる、または、他の図示しない印刷装置に印刷させる、または、その他の処置を採ることになる。また、このとき、印刷者は、状況に応じて、印刷画像1011が印刷された印刷媒体31を保存、または、破棄することになる。   Next, the processing unit 50 (specifically, the control unit 50 ′) of the host apparatus 11 displays an error display, the tracking data 1005a generated in S1087, the original print image data 1027, and others on the display 13. (S1091), these are confirmed by the printer. The printer (or the administrator of the printer) browses the screen displayed on the display 13 and checks the data displayed on the screen to detect fraudulent acts such as copying or falsification of the print image 1011. be able to. The printer who has confirmed the display of the error causes the printing apparatus 1 to print again, prints to another printing apparatus (not shown), or takes other measures depending on the situation. At this time, the printer stores or discards the print medium 31 on which the print image 1011 is printed, depending on the situation.

以上によって、印刷装置1と上位装置11’の一連の動作が終了する。   As described above, a series of operations of the printing apparatus 1 and the upper level apparatus 11 ′ are completed.

なお、この実施例に係る印刷装置1と上位装置11’と上位装置11”は、実施例1または実施例2と同様に動作することもできる。   Note that the printing apparatus 1, the host apparatus 11 ′, and the host apparatus 11 ″ according to this embodiment can also operate in the same manner as in the first or second embodiment.

また、上位装置11’は、圧縮データ1031を予め形成してから一旦データ格納部80に格納しておき、印刷者から印刷指示があった場合に、圧縮データ1031をデータ格納部80から読み出して印刷装置1に出力することもできる。   Further, the host device 11 ′ forms the compressed data 1031 in advance and then stores it in the data storage unit 80. When there is a print instruction from the printer, the host device 11 ′ reads the compressed data 1031 from the data storage unit 80. It can also be output to the printing apparatus 1.

また、上位装置11”は、合成画像データ1009を予め形成してから一旦データ格納部80に格納しておき、印刷者から印刷指示があった場合に、合成画像データ1009をデータ格納部80から読み出して印刷装置1に出力することもできる。   In addition, the host device 11 ″ previously forms the composite image data 1009 and stores it in the data storage unit 80. When the printer issues a print instruction, the host device 11 ″ receives the composite image data 1009 from the data storage unit 80. It can also be read and output to the printing apparatus 1.

また、上位装置11”の検証部73は、復元印刷画像データ1026の輝度値とオリジナル印刷画像データ1027の輝度値とを比較して、印刷画像1011に不正行為が施されていないかを検証する機能に加え、さらに、S605で生成した埋め込みデータ1005bとS1033で印刷装置1から取得した透かしデータ1023に含まれている埋め込みデータ1025aとを比較し、印刷画像1011に不正行為が施されていないかを検証する機能を有するようにしてもよい。   Further, the verification unit 73 of the upper level apparatus 11 ″ compares the brightness value of the restored print image data 1026 and the brightness value of the original print image data 1027 to verify whether the print image 1011 has been cheated. In addition to the function, the embedded data 1005b generated in S605 is compared with the embedded data 1025a included in the watermark data 1023 acquired from the printing apparatus 1 in S1033, and whether the print image 1011 has been cheated. May have a function of verifying.

また、この実施例では、上位装置11’または上位装置11”は、透かし入り印刷画像1011を印刷するためのデータ(ここでは、圧縮データ1031または合成画像データ1009)の事前検証のために、埋め込みデータ1005bを印刷装置1に出力している。そして、印刷装置1の透かし事前検証部800の改竄検出部223は、上位装置11’または上位装置11”から出力された埋め込みデータ1005bとS713で地紋画像データ1007から抽出された埋め込みデータ1005bとを比較することによって、透かし入り印刷画像1011を印刷するためのデータが正しいか否かを判定している。しかしながら、上位装置11’または上位装置11”は、埋め込みデータ1005bの代わりに、縮小印刷画像データ1006を印刷装置1に出力するようにしてもよい。   In this embodiment, the host apparatus 11 ′ or the host apparatus 11 ″ embeds the data for printing the watermarked print image 1011 (here, the compressed data 1031 or the composite image data 1009) in advance. The data 1005b is output to the printing apparatus 1. Then, the falsification detection unit 223 of the watermark pre-verification unit 800 of the printing apparatus 1 uses the embedded data 1005b output from the upper apparatus 11 ′ or the upper apparatus 11 ″ and the background pattern in S713. By comparing with the embedded data 1005b extracted from the image data 1007, it is determined whether or not the data for printing the watermarked print image 1011 is correct. However, the upper apparatus 11 ′ or the upper apparatus 11 ″ may output reduced print image data 1006 to the printing apparatus 1 instead of the embedded data 1005 b.

この場合、印刷装置1の透かし事前検証部800の改竄検出部223は、透かし入り印刷画像1011を印刷するためのデータとして、例えば、上位装置11’から縮小印刷画像データ1006と圧縮データ1031とを取得することになる。このとき、改竄検出部223は、まず、圧縮データ1031から地紋画像データ1007を抽出し、次に、その地紋画像データ1007から縮小印刷画像データ1006を抽出する。そして、改竄検出部223は、上位装置11’から取得した縮小印刷画像データ1006の輝度値と地紋画像データ1007から抽出した縮小印刷画像データ1006の輝度値とを比較する。このとき、両者の輝度値の差が予め定められた一定の閾値以下のときに、改竄検出部223は、透かし入り印刷画像1011を印刷するためのデータが正しいと判定する。他方、輝度値の差が一定の閾値よりも大きいときに、改竄検出部223は、透かし入り印刷画像1011を印刷するためのデータが誤っていると判定して、印刷処理を中止する。このようにして、印刷装置1の改竄検出部223は、透かし入り印刷画像1011を印刷するためのデータが正しいか否かを判定する。   In this case, the falsification detection unit 223 of the watermark pre-verification unit 800 of the printing apparatus 1 uses, as the data for printing the watermarked print image 1011, for example, the reduced print image data 1006 and the compressed data 1031 from the upper level apparatus 11 ′. Will get. At this time, the falsification detection unit 223 first extracts the copy-forgery-inhibited pattern image data 1007 from the compressed data 1031, and then extracts reduced print image data 1006 from the copy-forgery-inhibited pattern image data 1007. Then, the falsification detection unit 223 compares the luminance value of the reduced print image data 1006 acquired from the host apparatus 11 ′ with the luminance value of the reduced print image data 1006 extracted from the copy-forgery-inhibited pattern image data 1007. At this time, when the difference between the two luminance values is equal to or smaller than a predetermined threshold value, the falsification detection unit 223 determines that the data for printing the watermarked print image 1011 is correct. On the other hand, when the difference between the luminance values is larger than a certain threshold value, the falsification detection unit 223 determines that the data for printing the watermarked print image 1011 is incorrect, and stops the printing process. In this way, the falsification detection unit 223 of the printing apparatus 1 determines whether the data for printing the watermarked print image 1011 is correct.

または、印刷装置1の透かし事前検証部800の改竄検出部223は、透かし入り印刷画像1011を印刷するためのデータとして、例えば、上位装置11”から縮小印刷画像データ1006と合成画像データ1009とを取得することになる。このとき、改竄検出部223は、まず、合成画像データ1009から地紋画像データ1007を抽出し、次に、その地紋画像データ1007から縮小印刷画像データ1006を抽出する。そして、改竄検出部223は、上位装置11”から取得した縮小印刷画像データ1006の輝度値と地紋画像データ1007から抽出した縮小印刷画像データ1006の輝度値とを比較する。このとき、両者の輝度値の差が予め定められた一定の閾値以下のときに、改竄検出部223は、透かし入り印刷画像1011を印刷するためのデータが正しいと判定する。他方、輝度値の差が一定の閾値よりも大きいときに、改竄検出部223は、透かし入り印刷画像1011を印刷するためのデータが誤っていると判定して、印刷処理を中止する。このようにして、印刷装置1の改竄検出部223は、透かし入り印刷画像1011を印刷するためのデータが正しいか否かを判定する。   Alternatively, the falsification detection unit 223 of the watermark pre-verification unit 800 of the printing apparatus 1 uses, as the data for printing the watermarked print image 1011, for example, the reduced print image data 1006 and the composite image data 1009 from the upper level apparatus 11 ″. At this time, the falsification detection unit 223 first extracts the copy-forgery-inhibited pattern image data 1007 from the composite image data 1009, and then extracts reduced print image data 1006 from the copy-forgery-inhibited pattern image data 1007. The falsification detection unit 223 compares the brightness value of the reduced print image data 1006 acquired from the host apparatus 11 ″ with the brightness value of the reduced print image data 1006 extracted from the copy-forgery-inhibited pattern image data 1007. At this time, when the difference between the two luminance values is equal to or smaller than a predetermined threshold value, the falsification detection unit 223 determines that the data for printing the watermarked print image 1011 is correct. On the other hand, when the difference between the luminance values is larger than a certain threshold value, the falsification detection unit 223 determines that the data for printing the watermarked print image 1011 is incorrect, and stops the printing process. In this way, the falsification detection unit 223 of the printing apparatus 1 determines whether the data for printing the watermarked print image 1011 is correct.

この実施例に係る印刷装置1は、実施例3と同様の効果(すなわち、「印刷媒体に印刷された印刷画像のセキュリティを従来の技術よりも向上がさせることができる」という効果、「印刷者の負担を軽減させることもできる」という効果、「上位装置11に印刷画像1011に対する複製や改竄などの不正行為を検出させることができる」という効果、および、「上位装置11が電子透かしを生成した場合でも、これに対応することができる」という効果)を得ることができる。   The printing apparatus 1 according to this embodiment has the same effect as that of the third embodiment (that is, the effect that “the security of a print image printed on a print medium can be improved as compared with the conventional technique”, “the printer The effect that “the higher-level device 11 can detect fraudulent acts such as copying and falsification of the print image 1011”, and “the higher-level device 11 has generated a digital watermark.” Even in this case, it is possible to cope with this ”.

さらに、この実施例に係る印刷装置1は、印刷処理の前に不正行為の有無を検証するので、遠隔地から透かし入り印刷画像1011を印刷するためのデータ(この実施例では、圧縮データ1031または合成画像データ1009)を取得した場合であっても、改竄などの不正行為が施された透かし入り印刷画像1011の印刷を防止することができるという効果を得ることができる。また、印刷装置1は、上位装置11’が圧縮データ1031を一旦データ格納部80に格納する場合であっても、また、上位装置11”が合成画像データ1009を一旦データ格納部80に格納する場合であっても、改竄などの不正行為が施された透かし入り印刷画像1011の印刷を防止することができるという効果を得ることができる。また、この実施例に係る印刷装置1は、早い段階で不正行為を検出するので、不正行為が検出された場合の無駄な工程(すなわち、S1011〜S1023(「印刷処理」〜「透かしデータ抽出」))を省くことができ、不正行為が検出された場合の処理速度を向上させることができる。   Further, since the printing apparatus 1 according to this embodiment verifies the presence or absence of fraud before printing processing, data for printing a watermarked print image 1011 from a remote location (in this embodiment, compressed data 1031 or Even when the composite image data 1009) is acquired, it is possible to obtain an effect that it is possible to prevent printing of the watermarked print image 1011 subjected to an illegal act such as tampering. In the printing apparatus 1, even when the host apparatus 11 ′ temporarily stores the compressed data 1031 in the data storage unit 80, the host apparatus 11 ″ temporarily stores the composite image data 1009 in the data storage unit 80. Even in this case, it is possible to obtain an effect that it is possible to prevent printing of the watermarked print image 1011 on which an illegal act such as tampering has been performed, and the printing apparatus 1 according to this embodiment is in an early stage. Since fraudulent acts are detected in step 1, unnecessary steps (ie, S1011 to S1023 ("print processing" to "watermark data extraction")) when fraudulent acts are detected can be omitted, and fraudulent acts are detected. In this case, the processing speed can be improved.

また、この実施例に係る上位装置11’は、実施例3と同様に、印刷データ1001と電子透かしの地紋符号化データ1007’とを圧縮データとして1つのデータに可逆圧縮して印刷装置1に出力するので、透かし入り印刷画像1011を印刷するためのデータを短時間で印刷装置1に出力することができ、印刷装置1に印刷画像1011を効率よく印刷させることができるという効果を得ることができる。   Further, as in the third embodiment, the host apparatus 11 ′ according to the present embodiment reversibly compresses the print data 1001 and the digital watermark copy-forgery-inhibited pattern encoded data 1007 ′ into one piece of data as compressed data. Since the data is output, data for printing the watermarked print image 1011 can be output to the printing apparatus 1 in a short time, and the printing apparatus 1011 can be efficiently printed. it can.

この発明は、前述の実施例に限定されることなく、この発明の要旨を逸脱しない範囲で種々の応用や変形が考えられる。   The present invention is not limited to the above-described embodiments, and various applications and modifications can be considered without departing from the gist of the present invention.

例えば、この発明は、印刷装置1の透かし埋め込み部600が印刷画像に埋め込む埋め込みデータの中に印刷画像の著作権データや改竄検出データを含めることにより、印刷装置1の透かし検出部700が印刷媒体から透かしデータとして印刷画像の著作権データや改竄検出データを抽出することができる。この場合、印刷装置1は、印刷媒体の複製や改竄などの不正行為を容易に検出することができる。   For example, according to the present invention, the watermark embedding unit 600 of the printing apparatus 1 includes the copyright data and falsification detection data of the print image in the embedded data embedded in the print image, so that the watermark detection unit 700 of the printing apparatus 1 can print the print medium. Thus, copyright data and falsification detection data of the print image can be extracted as watermark data. In this case, the printing apparatus 1 can easily detect fraudulent acts such as copying or falsification of the print medium.

また、実施例3または4において、上位装置11’は、圧縮データ1031を予め形成してデータ格納部80に格納しておき、印刷者から印刷指示があった場合に、圧縮データ1031をデータ格納部80から読み出して印刷装置1に出力するようにしてもよい。   In the third or fourth embodiment, the host apparatus 11 ′ generates the compressed data 1031 in advance and stores it in the data storage unit 80, and stores the compressed data 1031 in response to a print instruction from the printer. The data may be read from the unit 80 and output to the printing apparatus 1.

また、実施例4において、上位装置11”は、合成画像データ1009を予め形成してデータ格納部80に格納しておき、印刷者から印刷指示があった場合に、合成画像データ1009をデータ格納部80から読み出して印刷装置1に出力するようにしてもよい。   Further, in the fourth embodiment, the host apparatus 11 ″ forms the composite image data 1009 in advance and stores it in the data storage unit 80, and stores the composite image data 1009 when the printer gives a print instruction. The data may be read from the unit 80 and output to the printing apparatus 1.

実施例1に係る印刷装置と上位装置の構成を示す図である。1 is a diagram illustrating a configuration of a printing apparatus and a host apparatus according to Embodiment 1. FIG. 実施例1に係る印刷装置と上位装置の動作フローを示す図である。FIG. 6 is a diagram illustrating an operation flow of the printing apparatus and the host apparatus according to the first embodiment. 実施例1に係る印刷装置と上位装置の動作説明図である。FIG. 6 is an operation explanatory diagram of the printing apparatus and the host apparatus according to the first embodiment. 実施例2に係る印刷装置と上位装置の構成を示す図である。FIG. 10 is a diagram illustrating a configuration of a printing apparatus and a host apparatus according to a second embodiment. 実施例2に係る印刷装置と上位装置の動作フローを示す図である。FIG. 10 is a diagram illustrating an operation flow of a printing apparatus and a host apparatus according to a second embodiment. 実施例2に係る印刷装置と上位装置の動作説明図である。FIG. 9 is an operation explanatory diagram of a printing apparatus and a host apparatus according to a second embodiment. 実施例3に係る印刷装置と上位装置の構成を示す図である。FIG. 10 is a diagram illustrating a configuration of a printing apparatus and a host apparatus according to a third embodiment. 実施例3に係る印刷装置と上位装置の動作フローを示す図である。FIG. 10 is a diagram illustrating an operation flow of a printing apparatus and a host apparatus according to a third embodiment. 実施例3に係る印刷装置と上位装置の動作説明図である。FIG. 9 is an operation explanatory diagram of a printing apparatus and a host apparatus according to a third embodiment. 実施例4に係る印刷装置と上位装置の構成を示す図である。FIG. 10 illustrates a configuration of a printing apparatus and a host apparatus according to a fourth embodiment. 実施例4に係る印刷装置と上位装置の動作フローを示す図(1)である。FIG. 10A is a diagram (1) illustrating an operation flow of a printing apparatus and a host apparatus according to a fourth embodiment. 実施例4に係る印刷装置と上位装置の動作フローを示す図(2)である。FIG. 10B is a diagram (2) illustrating an operation flow of the printing apparatus and the host apparatus according to the fourth embodiment. 実施例4に係る印刷装置と上位装置の動作フローを示す図(3)である。FIG. 10C is a diagram (3) illustrating an operation flow of the printing apparatus and the host apparatus according to the fourth embodiment. 実施例4に係る印刷装置と上位装置の動作説明図(1)である。FIG. 10 is an operation explanatory diagram (1) of a printing apparatus and a host apparatus according to a fourth embodiment. 実施例4に係る印刷装置と上位装置の動作説明図(2)である。FIG. 10 is an operation explanatory diagram (2) of the printing apparatus and the host apparatus according to the fourth embodiment.

符号の説明Explanation of symbols

1 …印刷装置
11 …上位装置(PC、サーバ)
31 …印刷媒体
110 …データ取得部
200 …処理部(CPU)
201 …印刷画像形成部
203 …埋め込みデータ生成部
205 …地紋画像形成部
207 …画像合成部
211 …透かしデータ抽出部
213 …抽出結果判定部
300 …データ格納部(RAM)
400 …印刷部
500 …読取部
600 …透かし埋め込み部
700 …透かし検出部
DESCRIPTION OF SYMBOLS 1 ... Printing apparatus 11 ... Host apparatus (PC, server)
31 ... Print medium 110 ... Data acquisition unit 200 ... Processing unit (CPU)
DESCRIPTION OF SYMBOLS 201 ... Print image formation part 203 ... Embedded data generation part 205 ... Copy-forgery-inhibited pattern image formation part 207 ... Image composition part 211 ... Watermark data extraction part 213 ... Extraction result determination part 300 ... Data storage part (RAM)
400 ... printing unit 500 ... reading unit 600 ... watermark embedding unit 700 ... watermark detection unit

Claims (14)

画像を印刷媒体に印刷するための印刷データを外部から取得するデータ取得部と、
前記データ取得部によって取得された前記印刷データに基づいて、印刷画像のイメージデータである印刷画像データを形成する印刷画像形成部と、
前記データ取得部によって取得された前記印刷データと印刷装置または印刷時の状況に固有なデータである装置データとに基づいて、電子透かしとして印刷画像に埋め込まれる、埋め込みデータを生成する埋め込みデータ生成部と、
前記埋め込みデータ生成部によって生成された前記埋め込みデータに基づいて、電子透かしの地紋画像のイメージデータである地紋画像データを形成する地紋画像形成部と、
前記印刷画像形成部によって形成された前記印刷画像データと前記地紋画像形成部によって形成された前記地紋画像データとを合成して、電子透かしが埋め込まれた透かし入り印刷画像のイメージデータである合成画像データを形成する画像合成部と、
前記画像合成部によって形成された前記合成画像データに基づいて、電子透かしが埋め込まれた透かし入り印刷画像である合成画像を前記印刷媒体に印刷する印刷部と、
前記印刷媒体から前記合成画像データを読み取り、前記合成画像データの読み取り結果である読取データを取得する読取部と、
前記読取部によって取得された前記読取データの中から前記地紋画像データを抽出し、前記地紋画像データの抽出結果である透かしデータを取得する透かしデータ抽出部と、
前記埋め込みデータ生成部によって生成された前記埋め込みデータと前記透かしデータ抽出部によって抽出された前記透かしデータに含まれる埋め込みデータとを比較し、両者が所定の許容範囲内で一致するか否かを判定することによって、前記印刷画像が前記印刷媒体に正しく印刷されているか否かを判定する抽出結果判定部とを有し、
前記抽出結果判定部は、
前記埋め込みデータと前記透かしデータに含まれる埋め込みデータが所定の許容範囲内で一致する場合に、前記合成画像が前記印刷媒体に正しく印刷されていると判断して、前記透かしデータを、当該印刷装置に印刷指令を出力する上位装置に出力し、
前記埋め込みデータと前記透かしデータに含まれる埋め込みデータが所定の許容範囲内で一致しない場合に、前記合成画像が前記印刷媒体に正しく印刷されていないと判断して、エラーデータと前記透かしデータとを前記上位装置に出力する
ことを特徴とする印刷装置。
A data acquisition unit for acquiring print data for printing an image on a print medium from the outside;
A print image forming unit that forms print image data that is image data of a print image based on the print data acquired by the data acquisition unit;
An embedded data generation unit that generates embedded data to be embedded in a print image as a digital watermark based on the print data acquired by the data acquisition unit and device data that is unique to a printing device or a printing situation When,
Based on the embedded data generated by the embedded data generation unit, a tint block image forming unit that forms tint block image data that is image data of a tint block image of a digital watermark;
A composite image which is image data of a watermarked print image in which a digital watermark is embedded by combining the print image data formed by the print image forming unit and the copy-forgery-inhibited pattern image data formed by the copy-forgery-inhibited pattern image forming unit. An image composition unit for forming data;
A printing unit that prints a composite image, which is a watermarked print image embedded with a digital watermark, on the print medium based on the composite image data formed by the image composition unit;
A reading unit that reads the composite image data from the print medium and obtains read data that is a read result of the composite image data;
A watermark data extraction unit that extracts the copy-forgery-inhibited pattern image data from the read data acquired by the reading unit and acquires watermark data that is an extraction result of the copy-forgery-inhibited pattern image data;
The embedded data generated by the embedded data generation unit and the embedded data included in the watermark data extracted by the watermark data extraction unit are compared, and it is determined whether or not they match within a predetermined allowable range An extraction result determination unit that determines whether or not the print image is correctly printed on the print medium,
The extraction result determination unit
When the embedded data and the embedded data included in the watermark data match within a predetermined allowable range, it is determined that the composite image is correctly printed on the print medium, and the watermark data is transferred to the printing device. To the host device that outputs the print command to
When the embedded data and the embedded data included in the watermark data do not match within a predetermined allowable range, it is determined that the composite image is not correctly printed on the print medium, and error data and the watermark data are A printing apparatus that outputs to the host apparatus.
画像を印刷媒体に印刷するための印刷データを外部から取得するデータ取得部と、
前記データ取得部によって取得された前記印刷データに基づいて、印刷画像のイメージデータである印刷画像データを形成する印刷画像形成部と、
前記データ取得部によって取得された前記印刷データと印刷装置または印刷時の状況に固有なデータである装置データとに基づいて、電子透かしとして印刷画像に埋め込まれる、埋め込みデータを生成する埋め込みデータ生成部と、
前記埋め込みデータ生成部によって生成された前記埋め込みデータに基づいて、電子透かしの地紋画像のイメージデータである地紋画像データを形成する地紋画像形成部と、
前記印刷画像形成部によって形成された前記印刷画像データと前記地紋画像形成部によって形成された前記地紋画像データとを合成して、電子透かしが埋め込まれた透かし入り印刷画像のイメージデータである合成画像データを形成する画像合成部と、
前記画像合成部によって形成された前記合成画像データに基づいて、電子透かしが埋め込まれた透かし入り印刷画像である合成画像を前記印刷媒体に印刷する印刷部とを有し、
前記データ取得部が、前記印刷データとして、文書データを取得した場合に、
前記印刷画像形成部は、前記文書データのファイル名に付された拡張子から前記文書データのファイル形式を認識し、認識した前記ファイル形式に基づいて、前記印刷画像データを形成する
ことを特徴とする印刷装置。
A data acquisition unit for acquiring print data for printing an image on a print medium from the outside;
A print image forming unit that forms print image data that is image data of a print image based on the print data acquired by the data acquisition unit;
An embedded data generation unit that generates embedded data to be embedded in a print image as a digital watermark based on the print data acquired by the data acquisition unit and device data that is unique to a printing device or a printing situation When,
Based on the embedded data generated by the embedded data generation unit, a tint block image forming unit that forms tint block image data that is image data of a tint block image of a digital watermark;
A composite image which is image data of a watermarked print image in which a digital watermark is embedded by combining the print image data formed by the print image forming unit and the copy-forgery-inhibited pattern image data formed by the copy-forgery-inhibited pattern image forming unit. An image composition unit for forming data;
A print unit that prints a composite image, which is a watermarked print image embedded with a digital watermark, on the print medium based on the composite image data formed by the image composition unit;
When the data acquisition unit acquires document data as the print data,
The print image forming unit recognizes a file format of the document data from an extension attached to a file name of the document data, and forms the print image data based on the recognized file format. Printing device to do.
画像を印刷媒体に印刷するための印刷データを外部から取得するデータ取得部と、
前記データ取得部によって取得された前記印刷データに基づいて、印刷画像のイメージデータである印刷画像データを形成する印刷画像形成部と、
前記データ取得部によって取得された前記印刷データと印刷装置または印刷時の状況に固有なデータである装置データとに基づいて、電子透かしとして印刷画像に埋め込まれる、埋め込みデータを生成する埋め込みデータ生成部と、
前記埋め込みデータ生成部によって生成された前記埋め込みデータに基づいて、電子透かしの地紋画像のイメージデータである地紋画像データを形成する地紋画像形成部と、
前記印刷画像形成部によって形成された前記印刷画像データと前記地紋画像形成部によって形成された前記地紋画像データとを合成して、電子透かしが埋め込まれた透かし入り印刷画像のイメージデータである合成画像データを形成する画像合成部と、
前記画像合成部によって形成された前記合成画像データに基づいて、電子透かしが埋め込まれた透かし入り印刷画像である合成画像を前記印刷媒体に印刷する印刷部とを有し、
前記データ取得部が、前記印刷データとして、ファイル形式を特定するための指定アドレスが付された文書データを取得した場合に、
前記印刷画像形成部は、前記文書データに付された前記指定アドレスデータを認識し、認識した前記指定アドレスデータに基づいて、当該印刷装置の内部のデータ格納部から前記文書データのファイル形式を取得し、取得した前記ファイル形式に基づいて、前記印刷画像データを形成する
ことを特徴とする印刷装置。
A data acquisition unit for acquiring print data for printing an image on a print medium from the outside;
A print image forming unit that forms print image data that is image data of a print image based on the print data acquired by the data acquisition unit;
An embedded data generation unit that generates embedded data to be embedded in a print image as a digital watermark based on the print data acquired by the data acquisition unit and device data that is unique to a printing device or a printing situation When,
Based on the embedded data generated by the embedded data generation unit, a tint block image forming unit that forms tint block image data that is image data of a tint block image of a digital watermark;
A composite image which is image data of a watermarked print image in which a digital watermark is embedded by combining the print image data formed by the print image forming unit and the copy-forgery-inhibited pattern image data formed by the copy-forgery-inhibited pattern image forming unit. An image composition unit for forming data;
A print unit that prints a composite image, which is a watermarked print image embedded with a digital watermark, on the print medium based on the composite image data formed by the image composition unit;
When the data acquisition unit acquires document data with a designated address for specifying a file format as the print data,
The print image forming unit recognizes the designated address data attached to the document data, and acquires the file format of the document data from a data storage unit inside the printing apparatus based on the recognized designated address data. Then, the printing image data is formed based on the acquired file format.
画像を印刷媒体に印刷するための印刷データを外部から取得するデータ取得部と、
前記データ取得部によって取得された前記印刷データに基づいて、印刷画像のイメージデータである印刷画像データを形成する印刷画像形成部と、
前記データ取得部によって取得された前記印刷データと印刷装置または印刷時の状況に固有なデータである装置データとに基づいて、電子透かしとして印刷画像に埋め込まれる、埋め込みデータを生成する埋め込みデータ生成部と、
前記埋め込みデータ生成部によって生成された前記埋め込みデータに基づいて、電子透かしの地紋画像のイメージデータである地紋画像データを形成する地紋画像形成部と、
前記印刷画像形成部によって形成された前記印刷画像データと前記地紋画像形成部によって形成された前記地紋画像データとを合成して、電子透かしが埋め込まれた透かし入り印刷画像のイメージデータである合成画像データを形成する画像合成部と、
前記画像合成部によって形成された前記合成画像データに基づいて、電子透かしが埋め込まれた透かし入り印刷画像である合成画像を前記印刷媒体に印刷する印刷部とを有し、
前記地紋画像形成部は、前記印刷画像形成部によって形成された前記印刷画像データのサイズと同様のサイズになるように、前記埋め込みデータに基づいて、0ビットの値を意味する配列パターンとして定義された不可視な埋め込み画素データと1ビットの値を意味する配列パターンとして定義された不可視な埋め込み画素データを配置することにより、前記地紋画像データの素地となる画像データを形成し、当該素地となる画像データを、前記印刷画像データを電子透かしとして埋め込み可能なデータ量以下になるように縮小することによって形成された縮小印刷画像データに適用して、前記地紋画像データを形成する
ことを特徴とする印刷装置。
A data acquisition unit for acquiring print data for printing an image on a print medium from the outside;
A print image forming unit that forms print image data that is image data of a print image based on the print data acquired by the data acquisition unit;
An embedded data generation unit that generates embedded data to be embedded in a print image as a digital watermark based on the print data acquired by the data acquisition unit and device data that is unique to a printing device or a printing situation When,
Based on the embedded data generated by the embedded data generation unit, a tint block image forming unit that forms tint block image data that is image data of a tint block image of a digital watermark;
A composite image which is image data of a watermarked print image in which a digital watermark is embedded by combining the print image data formed by the print image forming unit and the copy-forgery-inhibited pattern image data formed by the copy-forgery-inhibited pattern image forming unit. An image composition unit for forming data;
A print unit that prints a composite image, which is a watermarked print image embedded with a digital watermark, on the print medium based on the composite image data formed by the image composition unit;
The copy-forgery-inhibited pattern image forming unit is defined as an array pattern that means a value of 0 bits based on the embedded data so as to be the same size as the size of the print image data formed by the print image forming unit. By arranging invisible embedded pixel data and invisible embedded pixel data defined as an array pattern that means a 1-bit value, image data that forms the base of the copy-forgery-inhibited pattern image data is formed, and the image that becomes the base The copy-forgery-inhibited pattern image data is formed by applying data to reduced print image data formed by reducing the print image data so that the print image data can be embedded as a digital watermark. apparatus.
画像を印刷媒体に印刷するための印刷データを外部から取得するデータ取得部と、
前記データ取得部によって、当該印刷装置に印刷指令を出力する上位装置から複数種類のデータが組み合わされた圧縮データを取得した場合に、圧縮データを解凍して、前記印刷データと、電子透かしの地紋画像のイメージデータである地紋画像データを符号化した地紋符号化データとを取得する圧縮データ解凍部と、
前記圧縮データ解凍部によって取得された前記印刷データに基づいて、印刷画像のイメージデータである印刷画像データを形成する印刷画像形成部と、
前記圧縮データ解凍部によって取得された前記地紋符号化データに基づいて、前記地紋画像データを形成する地紋画像形成部と、
前記印刷画像形成部によって形成された前記印刷画像データと前記地紋画像形成部によって形成された前記地紋画像データとを合成して、電子透かしが埋め込まれた透かし入り印刷画像のイメージデータである合成画像データを形成する画像合成部と、
前記画像合成部によって形成された前記合成画像データに基づいて、電子透かしが埋め込まれた透かし入り印刷画像である合成画像を前記印刷媒体に印刷する印刷部と
を有することを特徴とする印刷装置。
A data acquisition unit for acquiring print data for printing an image on a print medium from the outside;
When the data acquisition unit acquires compressed data obtained by combining a plurality of types of data from a host device that outputs a print command to the printing device, the compressed data is decompressed, and the print data and the watermark of the electronic watermark are displayed. A compressed data decompression unit that obtains tint block encoded data obtained by encoding tint block image data that is image data of an image;
A print image forming unit that forms print image data that is image data of a print image based on the print data acquired by the compressed data decompression unit;
A copy-forgery-inhibited pattern image forming unit that forms the copy-forgery-inhibited pattern image data based on the copy-forgery-inhibited pattern encoded data acquired by the compressed data decompression unit;
A composite image which is image data of a watermarked print image in which a digital watermark is embedded by combining the print image data formed by the print image forming unit and the copy-forgery-inhibited pattern image data formed by the copy-forgery-inhibited pattern image forming unit. An image composition unit for forming data;
A printing apparatus comprising: a printing unit configured to print a composite image, which is a watermarked print image embedded with a digital watermark, on the print medium based on the composite image data formed by the image composition unit.
請求項に記載の印刷装置において、
前記上位装置から取得した圧縮データは、複数種類のデータがRun−Length法またはHuffman法によって可逆圧縮されることによって生成されている
ことを特徴とする印刷装置。
The printing apparatus according to claim 5 , wherein
The compressed data acquired from the host device is generated by reversibly compressing a plurality of types of data by a Run-Length method or a Huffman method.
画像を印刷媒体に印刷するための印刷データを外部から取得するデータ取得部と、
前記データ取得部によって取得された前記印刷データに基づいて、印刷画像のイメージデータである印刷画像データを形成する印刷画像形成部と、
前記データ取得部によって取得された前記印刷データと印刷装置または印刷時の状況に固有なデータである装置データとに基づいて、電子透かしとして印刷画像に埋め込まれる、埋め込みデータを生成する埋め込みデータ生成部と、
前記埋め込みデータ生成部によって生成された前記埋め込みデータに基づいて、電子透かしの地紋画像のイメージデータである地紋画像データを形成する地紋画像形成部と、
前記印刷画像形成部によって形成された前記印刷画像データと前記地紋画像形成部によって形成された前記地紋画像データとを合成して、電子透かしが埋め込まれた透かし入り印刷画像のイメージデータである合成画像データを形成する画像合成部と、
前記画像合成部によって形成された前記合成画像データに基づいて、電子透かしが埋め込まれた透かし入り印刷画像である合成画像を前記印刷媒体に印刷する印刷部と、
前記印刷部によって前記合成画像データに基づく印刷処理が行われる前に、前記合成画像データに対する不正行為の有無を検証する透かし事前検証部とを有し、
前記透かし事前検証部は、
当該印刷装置が、当該印刷装置に印刷指令を出力する上位装置から、電子透かしとして印刷画像に埋め込まれる埋め込みデータと、当該埋め込みデータに基づいて生成され、かつ、前記合成画像データの基となる、複数種類のデータが組み合わされた圧縮データとを取得した場合に、前記圧縮データから埋め込みデータを抽出して、抽出した埋め込みデータと前記上位装置から取得した前記埋め込みデータとを比較し、両者が所定の許容範囲内で一致しないときに、前記合成画像データに対する不正行為があったと判定する
ことを特徴とする印刷装置。
A data acquisition unit for acquiring print data for printing an image on a print medium from the outside;
A print image forming unit that forms print image data that is image data of a print image based on the print data acquired by the data acquisition unit;
An embedded data generation unit that generates embedded data to be embedded in a print image as a digital watermark based on the print data acquired by the data acquisition unit and device data that is unique to a printing device or a printing situation When,
Based on the embedded data generated by the embedded data generation unit, a tint block image forming unit that forms tint block image data that is image data of a tint block image of a digital watermark;
A composite image which is image data of a watermarked print image in which a digital watermark is embedded by combining the print image data formed by the print image forming unit and the copy-forgery-inhibited pattern image data formed by the copy-forgery-inhibited pattern image forming unit. An image composition unit for forming data;
A printing unit that prints a composite image, which is a watermarked print image embedded with a digital watermark, on the print medium based on the composite image data formed by the image composition unit;
A watermark pre-verification unit that verifies the presence or absence of fraud on the composite image data before the printing unit performs a printing process based on the composite image data;
The watermark pre-verification unit
The printing device is generated based on the embedded data embedded in the print image as a digital watermark from the host device that outputs a print command to the printing device, and is the basis of the composite image data. When compressed data obtained by combining a plurality of types of data is acquired, embedded data is extracted from the compressed data, the extracted embedded data is compared with the embedded data acquired from the host device, and both are predetermined. The printing apparatus determines that there has been an illegal act on the composite image data when they do not match within the allowable range.
画像を印刷媒体に印刷するための印刷データを外部から取得するデータ取得部と、
前記データ取得部によって、当該印刷装置に印刷指令を出力する上位装置から複数種類のデータが組み合わされた圧縮データを取得した場合に、圧縮データを解凍して、前記印刷データと、電子透かしの地紋画像のイメージデータである地紋画像データを符号化した地紋符号化データとを取得する圧縮データ解凍部と、
前記圧縮データ解凍部によって取得された前記印刷データに基づいて、印刷画像のイメージデータである印刷画像データを形成する印刷画像形成部と、
前記圧縮データ解凍部によって取得された前記地紋符号化データに基づいて、前記地紋画像データを形成する地紋画像形成部と、
前記印刷画像形成部によって形成された前記印刷画像データと前記地紋画像形成部によって形成された前記地紋画像データとを合成して、電子透かしが埋め込まれた透かし入り印刷画像のイメージデータである合成画像データを形成する画像合成部と、
前記画像合成部によって形成された前記合成画像データに基づいて、電子透かしが埋め込まれた透かし入り印刷画像である合成画像を前記印刷媒体に印刷する印刷部と、
前記印刷部によって前記合成画像データに基づく印刷処理が行われる前に、前記合成画像データに対する不正行為の有無を検証する透かし事前検証部とを有し、
前記透かし事前検証部は、
当該印刷装置が、当該印刷装置に印刷指令を出力する上位装置から、電子透かしとして印刷画像に埋め込まれる埋め込みデータと、当該埋め込みデータに基づいて生成され、かつ、前記合成画像データの基となる、複数種類のデータが組み合わされた圧縮データとを取得した場合に、前記圧縮データから埋め込みデータを抽出して、抽出した埋め込みデータと前記上位装置から取得した前記埋め込みデータとを比較し、両者が所定の許容範囲内で一致しないときに、前記合成画像データに対する不正行為があったと判定する
ことを特徴とする印刷装置。
A data acquisition unit for acquiring print data for printing an image on a print medium from the outside;
When the data acquisition unit acquires compressed data obtained by combining a plurality of types of data from a host device that outputs a print command to the printing device, the compressed data is decompressed, and the print data and the watermark of the electronic watermark are displayed. A compressed data decompression unit that obtains tint block encoded data obtained by encoding tint block image data that is image data of an image;
A print image forming unit that forms print image data that is image data of a print image based on the print data acquired by the compressed data decompression unit;
A copy-forgery-inhibited pattern image forming unit that forms the copy-forgery-inhibited pattern image data based on the copy-forgery-inhibited pattern encoded data acquired by the compressed data decompression unit;
A composite image which is image data of a watermarked print image in which a digital watermark is embedded by combining the print image data formed by the print image forming unit and the copy-forgery-inhibited pattern image data formed by the copy-forgery-inhibited pattern image forming unit. An image composition unit for forming data;
A printing unit that prints a composite image, which is a watermarked print image embedded with a digital watermark, on the print medium based on the composite image data formed by the image composition unit;
A watermark pre-verification unit that verifies the presence or absence of fraud on the composite image data before the printing unit performs a printing process based on the composite image data;
The watermark pre-verification unit
The printing device is generated based on the embedded data embedded in the print image as a digital watermark from the host device that outputs a print command to the printing device, and is the basis of the composite image data. When compressed data obtained by combining a plurality of types of data is acquired, embedded data is extracted from the compressed data, the extracted embedded data is compared with the embedded data acquired from the host device, and both are predetermined. The printing apparatus determines that there has been an illegal act on the composite image data when they do not match within the allowable range.
画像を印刷媒体に印刷するための印刷データを外部から取得するデータ取得部と、
前記データ取得部によって取得された前記印刷データに基づいて、印刷画像のイメージデータである印刷画像データを形成する印刷画像形成部と、
前記データ取得部によって取得された前記印刷データと印刷装置または印刷時の状況に固有なデータである装置データとに基づいて、電子透かしとして印刷画像に埋め込まれる、埋め込みデータを生成する埋め込みデータ生成部と、
前記埋め込みデータ生成部によって生成された前記埋め込みデータに基づいて、電子透かしの地紋画像のイメージデータである地紋画像データを形成する地紋画像形成部と、
前記印刷画像形成部によって形成された前記印刷画像データと前記地紋画像形成部によって形成された前記地紋画像データとを合成して、電子透かしが埋め込まれた透かし入り印刷画像のイメージデータである合成画像データを形成する画像合成部と、
前記画像合成部によって形成された前記合成画像データに基づいて、電子透かしが埋め込まれた透かし入り印刷画像である合成画像を前記印刷媒体に印刷する印刷部と、
前記印刷部によって前記合成画像データに基づく印刷処理が行われる前に、前記合成画像データに対する不正行為の有無を検証する透かし事前検証部とを有し、
前記透かし事前検証部は、
当該印刷装置が、当該印刷装置に印刷指令を出力する上位装置から、電子透かしとして印刷画像に埋め込まれる埋め込みデータと、当該埋め込みデータに基づいて生成された前記合成画像データとを取得した場合に、前記合成画像データから埋め込みデータを抽出して、抽出した埋め込みデータと前記上位装置から取得した前記埋め込みデータとを比較し、両者が所定の許容範囲内で一致しないときに、前記合成画像データに対する不正行為があったと判定する
ことを特徴とする印刷装置。
A data acquisition unit for acquiring print data for printing an image on a print medium from the outside;
A print image forming unit that forms print image data that is image data of a print image based on the print data acquired by the data acquisition unit;
An embedded data generation unit that generates embedded data to be embedded in a print image as a digital watermark based on the print data acquired by the data acquisition unit and device data that is unique to a printing device or a printing situation When,
Based on the embedded data generated by the embedded data generation unit, a tint block image forming unit that forms tint block image data that is image data of a tint block image of a digital watermark;
A composite image which is image data of a watermarked print image in which a digital watermark is embedded by combining the print image data formed by the print image forming unit and the copy-forgery-inhibited pattern image data formed by the copy-forgery-inhibited pattern image forming unit. An image composition unit for forming data;
A printing unit that prints a composite image, which is a watermarked print image embedded with a digital watermark, on the print medium based on the composite image data formed by the image composition unit;
A watermark pre-verification unit that verifies the presence or absence of fraud on the composite image data before the printing unit performs a printing process based on the composite image data;
The watermark pre-verification unit
When the printing device acquires from the host device that outputs a print command to the printing device, embedded data embedded in a print image as a digital watermark, and the composite image data generated based on the embedded data, Extracting embedded data from the composite image data, comparing the extracted embedded data with the embedded data acquired from the host device, and if the two do not match within a predetermined allowable range, A printing apparatus characterized by determining that an action has occurred.
画像を印刷媒体に印刷するための印刷データを外部から取得するデータ取得部と、
前記データ取得部によって、当該印刷装置に印刷指令を出力する上位装置から複数種類のデータが組み合わされた圧縮データを取得した場合に、圧縮データを解凍して、前記印刷データと、電子透かしの地紋画像のイメージデータである地紋画像データを符号化した地紋符号化データとを取得する圧縮データ解凍部と、
前記圧縮データ解凍部によって取得された前記印刷データに基づいて、印刷画像のイメージデータである印刷画像データを形成する印刷画像形成部と、
前記圧縮データ解凍部によって取得された前記地紋符号化データに基づいて、前記地紋画像データを形成する地紋画像形成部と、
前記印刷画像形成部によって形成された前記印刷画像データと前記地紋画像形成部によって形成された前記地紋画像データとを合成して、電子透かしが埋め込まれた透かし入り印刷画像のイメージデータである合成画像データを形成する画像合成部と、
前記画像合成部によって形成された前記合成画像データに基づいて、電子透かしが埋め込まれた透かし入り印刷画像である合成画像を前記印刷媒体に印刷する印刷部と、
前記印刷部によって前記合成画像データに基づく印刷処理が行われる前に、前記合成画像データに対する不正行為の有無を検証する透かし事前検証部とを有し、
前記透かし事前検証部は、
当該印刷装置が、当該印刷装置に印刷指令を出力する上位装置から、電子透かしとして印刷画像に埋め込まれる埋め込みデータと、当該埋め込みデータに基づいて生成された前記合成画像データとを取得した場合に、前記合成画像データから埋め込みデータを抽出して、抽出した埋め込みデータと前記上位装置から取得した前記埋め込みデータとを比較し、両者が所定の許容範囲内で一致しないときに、前記合成画像データに対する不正行為があったと判定する
ことを特徴とする印刷装置。
A data acquisition unit for acquiring print data for printing an image on a print medium from the outside;
When the data acquisition unit acquires compressed data obtained by combining a plurality of types of data from a host device that outputs a print command to the printing device, the compressed data is decompressed, and the print data and the watermark of the electronic watermark are displayed. A compressed data decompression unit that obtains tint block encoded data obtained by encoding tint block image data that is image data of an image;
A print image forming unit that forms print image data that is image data of a print image based on the print data acquired by the compressed data decompression unit;
A copy-forgery-inhibited pattern image forming unit that forms the copy-forgery-inhibited pattern image data based on the copy-forgery-inhibited pattern encoded data acquired by the compressed data decompression unit;
A composite image which is image data of a watermarked print image in which a digital watermark is embedded by combining the print image data formed by the print image forming unit and the copy-forgery-inhibited pattern image data formed by the copy-forgery-inhibited pattern image forming unit. An image composition unit for forming data;
A printing unit that prints a composite image, which is a watermarked print image embedded with a digital watermark, on the print medium based on the composite image data formed by the image composition unit;
A watermark pre-verification unit that verifies the presence or absence of fraud on the composite image data before the printing unit performs a printing process based on the composite image data;
The watermark pre-verification unit
When the printing device acquires from the host device that outputs a print command to the printing device, embedded data embedded in a print image as a digital watermark, and the composite image data generated based on the embedded data, Extracting embedded data from the composite image data, comparing the extracted embedded data with the embedded data acquired from the host device, and if the two do not match within a predetermined allowable range, A printing apparatus characterized by determining that an action has occurred.
画像を印刷媒体に印刷するための印刷データを外部から取得するデータ取得部と、
前記データ取得部によって取得された前記印刷データに基づいて、印刷画像のイメージデータである印刷画像データを形成する印刷画像形成部と、
前記データ取得部によって取得された前記印刷データと印刷装置または印刷時の状況に固有なデータである装置データとに基づいて、電子透かしとして印刷画像に埋め込まれる、埋め込みデータを生成する埋め込みデータ生成部と、
前記埋め込みデータ生成部によって生成された前記埋め込みデータに基づいて、電子透かしの地紋画像のイメージデータである地紋画像データを形成する地紋画像形成部と、
前記印刷画像形成部によって形成された前記印刷画像データと前記地紋画像形成部によって形成された前記地紋画像データとを合成して、電子透かしが埋め込まれた透かし入り印刷画像のイメージデータである合成画像データを形成する画像合成部と、
前記画像合成部によって形成された前記合成画像データに基づいて、電子透かしが埋め込まれた透かし入り印刷画像である合成画像を前記印刷媒体に印刷する印刷部と、
前記印刷部によって前記合成画像データに基づく印刷処理が行われる前に、前記合成画像データに対する不正行為の有無を検証する透かし事前検証部とを有し、
前記透かし事前検証部は、
当該印刷装置が、当該印刷装置に印刷指令を出力する上位装置から、印刷画像のイメージデータである印刷画像データを電子透かしとして埋め込み可能なデータ量以下になるように縮小することによって形成された縮小印刷画像データと、前記合成画像データの基となり、かつ、当該縮小印刷画像データに基づく前記地紋画像データを符号化した地紋符号化データを含む、複数種類のデータが組み合わされた圧縮データとを取得した場合に、前記圧縮データから前記地紋符号化データを抽出し、さらに、前記地紋符号化データから縮小印刷画像データを抽出して、抽出した縮小印刷画像データの輝度値と前記上位装置から取得した前記縮小印刷画像データの輝度値とを比較し、両者の差が予め定められた閾値よりも大きいときに、前記合成画像データに対する不正行為があったと判定する
ことを特徴とする印刷装置。
A data acquisition unit for acquiring print data for printing an image on a print medium from the outside;
A print image forming unit that forms print image data that is image data of a print image based on the print data acquired by the data acquisition unit;
An embedded data generation unit that generates embedded data to be embedded in a print image as a digital watermark based on the print data acquired by the data acquisition unit and device data that is unique to a printing device or a printing situation When,
Based on the embedded data generated by the embedded data generation unit, a tint block image forming unit that forms tint block image data that is image data of a tint block image of a digital watermark;
A composite image which is image data of a watermarked print image in which a digital watermark is embedded by combining the print image data formed by the print image forming unit and the copy-forgery-inhibited pattern image data formed by the copy-forgery-inhibited pattern image forming unit. An image composition unit for forming data;
A printing unit that prints a composite image, which is a watermarked print image embedded with a digital watermark, on the print medium based on the composite image data formed by the image composition unit;
A watermark pre-verification unit that verifies the presence or absence of fraud on the composite image data before the printing unit performs a printing process based on the composite image data;
The watermark pre-verification unit
The reduction formed by the printing apparatus reducing the print image data, which is the image data of the print image, from the host apparatus that outputs a print command to the printing apparatus so that the print image data is less than the amount of data that can be embedded as a digital watermark. Acquire print image data and compressed data in which a plurality of types of data are combined, including copy-forgery-inhibited pattern data obtained by encoding the copy-forgery-inhibited pattern image data based on the reduced print image data. In this case, the tint block encoded data is extracted from the compressed data, the reduced print image data is extracted from the tint block encoded data, and the luminance value of the extracted reduced print image data and the higher-level device are acquired. When the brightness value of the reduced print image data is compared and the difference between the two is larger than a predetermined threshold, the composite image Printing apparatus characterized by determining that the unauthorized action against data.
画像を印刷媒体に印刷するための印刷データを外部から取得するデータ取得部と、
前記データ取得部によって、当該印刷装置に印刷指令を出力する上位装置から複数種類のデータが組み合わされた圧縮データを取得した場合に、圧縮データを解凍して、前記印刷データと、電子透かしの地紋画像のイメージデータである地紋画像データを符号化した地紋符号化データとを取得する圧縮データ解凍部と、
前記圧縮データ解凍部によって取得された前記印刷データに基づいて、印刷画像のイメージデータである印刷画像データを形成する印刷画像形成部と、
前記圧縮データ解凍部によって取得された前記地紋符号化データに基づいて、前記地紋画像データを形成する地紋画像形成部と、
前記印刷画像形成部によって形成された前記印刷画像データと前記地紋画像形成部によって形成された前記地紋画像データとを合成して、電子透かしが埋め込まれた透かし入り印刷画像のイメージデータである合成画像データを形成する画像合成部と、
前記画像合成部によって形成された前記合成画像データに基づいて、電子透かしが埋め込まれた透かし入り印刷画像である合成画像を前記印刷媒体に印刷する印刷部と、
前記印刷部によって前記合成画像データに基づく印刷処理が行われる前に、前記合成画像データに対する不正行為の有無を検証する透かし事前検証部とを有し、
前記透かし事前検証部は、
当該印刷装置が、当該印刷装置に印刷指令を出力する上位装置から、印刷画像のイメージデータである印刷画像データを電子透かしとして埋め込み可能なデータ量以下になるように縮小することによって形成された縮小印刷画像データと、前記合成画像データの基となり、かつ、当該縮小印刷画像データに基づく前記地紋画像データを符号化した地紋符号化データを含む、複数種類のデータが組み合わされた圧縮データとを取得した場合に、前記圧縮データから前記地紋符号化データを抽出し、さらに、前記地紋符号化データから縮小印刷画像データを抽出して、抽出した縮小印刷画像データの輝度値と前記上位装置から取得した前記縮小印刷画像データの輝度値とを比較し、両者の差が予め定められた閾値よりも大きいときに、前記合成画像データに対する不正行為があったと判定する
ことを特徴とする印刷装置。
A data acquisition unit for acquiring print data for printing an image on a print medium from the outside;
When the data acquisition unit acquires compressed data obtained by combining a plurality of types of data from a host device that outputs a print command to the printing device, the compressed data is decompressed, and the print data and the watermark of the electronic watermark are displayed. A compressed data decompression unit that obtains tint block encoded data obtained by encoding tint block image data that is image data of an image;
A print image forming unit that forms print image data that is image data of a print image based on the print data acquired by the compressed data decompression unit;
A copy-forgery-inhibited pattern image forming unit that forms the copy-forgery-inhibited pattern image data based on the copy-forgery-inhibited pattern encoded data acquired by the compressed data decompression unit;
A composite image which is image data of a watermarked print image in which a digital watermark is embedded by combining the print image data formed by the print image forming unit and the copy-forgery-inhibited pattern image data formed by the copy-forgery-inhibited pattern image forming unit. An image composition unit for forming data;
A printing unit that prints a composite image, which is a watermarked print image embedded with a digital watermark, on the print medium based on the composite image data formed by the image composition unit;
A watermark pre-verification unit that verifies the presence or absence of fraud on the composite image data before the printing unit performs a printing process based on the composite image data;
The watermark pre-verification unit
The reduction formed by the printing apparatus reducing the print image data, which is the image data of the print image, from the host apparatus that outputs a print command to the printing apparatus so that the print image data is less than the amount of data that can be embedded as a digital watermark. Acquire print image data and compressed data in which a plurality of types of data are combined, including copy-forgery-inhibited pattern data obtained by encoding the copy-forgery-inhibited pattern image data based on the reduced print image data. In this case, the tint block encoded data is extracted from the compressed data, the reduced print image data is extracted from the tint block encoded data, and the luminance value of the extracted reduced print image data and the higher-level device are acquired. When the brightness value of the reduced print image data is compared and the difference between the two is larger than a predetermined threshold, the composite image Printing apparatus characterized by determining that the unauthorized action against data.
画像を印刷媒体に印刷するための印刷データを外部から取得するデータ取得部と、
前記データ取得部によって取得された前記印刷データに基づいて、印刷画像のイメージデータである印刷画像データを形成する印刷画像形成部と、
前記データ取得部によって取得された前記印刷データと印刷装置または印刷時の状況に固有なデータである装置データとに基づいて、電子透かしとして印刷画像に埋め込まれる、埋め込みデータを生成する埋め込みデータ生成部と、
前記埋め込みデータ生成部によって生成された前記埋め込みデータに基づいて、電子透かしの地紋画像のイメージデータである地紋画像データを形成する地紋画像形成部と、
前記印刷画像形成部によって形成された前記印刷画像データと前記地紋画像形成部によって形成された前記地紋画像データとを合成して、電子透かしが埋め込まれた透かし入り印刷画像のイメージデータである合成画像データを形成する画像合成部と、
前記画像合成部によって形成された前記合成画像データに基づいて、電子透かしが埋め込まれた透かし入り印刷画像である合成画像を前記印刷媒体に印刷する印刷部と、
前記印刷部によって前記合成画像データに基づく印刷処理が行われる前に、前記合成画像データに対する不正行為の有無を検証する透かし事前検証部とを有し、
前記透かし事前検証部は、
当該印刷装置が、当該印刷装置に印刷指令を出力する上位装置から、縮小印刷画像データと、当該縮小印刷画像データに基づく前記地紋画像データに基づいて生成された前記合成画像データとを取得した場合に、前記合成画像データから縮小印刷画像データを抽出して、抽出した縮小印刷画像データの輝度値と前記上位装置から取得した前記縮小印刷画像データの輝度値とを比較し、両者の差が予め定められた閾値よりも大きいときに、前記合成画像データに対する不正行為があったと判定する
ことを特徴とする印刷装置。
A data acquisition unit for acquiring print data for printing an image on a print medium from the outside;
A print image forming unit that forms print image data that is image data of a print image based on the print data acquired by the data acquisition unit;
An embedded data generation unit that generates embedded data to be embedded in a print image as a digital watermark based on the print data acquired by the data acquisition unit and device data that is unique to a printing device or a printing situation When,
Based on the embedded data generated by the embedded data generation unit, a tint block image forming unit that forms tint block image data that is image data of a tint block image of a digital watermark;
A composite image which is image data of a watermarked print image in which a digital watermark is embedded by combining the print image data formed by the print image forming unit and the copy-forgery-inhibited pattern image data formed by the copy-forgery-inhibited pattern image forming unit. An image composition unit for forming data;
A printing unit that prints a composite image, which is a watermarked print image embedded with a digital watermark, on the print medium based on the composite image data formed by the image composition unit;
A watermark pre-verification unit that verifies the presence or absence of fraud on the composite image data before the printing unit performs a printing process based on the composite image data;
The watermark pre-verification unit
When the printing apparatus acquires reduced print image data and the composite image data generated based on the copy-forgery-inhibited pattern image data based on the reduced print image data from a host apparatus that outputs a print command to the printing apparatus. Then, the reduced print image data is extracted from the composite image data, the brightness value of the extracted reduced print image data is compared with the brightness value of the reduced print image data acquired from the host device, and the difference between the two is determined in advance. A printing apparatus, wherein when it is larger than a predetermined threshold, it is determined that there has been an illegal act on the composite image data.
画像を印刷媒体に印刷するための印刷データを外部から取得するデータ取得部と、
前記データ取得部によって、当該印刷装置に印刷指令を出力する上位装置から複数種類のデータが組み合わされた圧縮データを取得した場合に、圧縮データを解凍して、前記印刷データと、電子透かしの地紋画像のイメージデータである地紋画像データを符号化した地紋符号化データとを取得する圧縮データ解凍部と、
前記圧縮データ解凍部によって取得された前記印刷データに基づいて、印刷画像のイメージデータである印刷画像データを形成する印刷画像形成部と、
前記圧縮データ解凍部によって取得された前記地紋符号化データに基づいて、前記地紋画像データを形成する地紋画像形成部と、
前記印刷画像形成部によって形成された前記印刷画像データと前記地紋画像形成部によって形成された前記地紋画像データとを合成して、電子透かしが埋め込まれた透かし入り印刷画像のイメージデータである合成画像データを形成する画像合成部と、
前記画像合成部によって形成された前記合成画像データに基づいて、電子透かしが埋め込まれた透かし入り印刷画像である合成画像を前記印刷媒体に印刷する印刷部と、
前記印刷部によって前記合成画像データに基づく印刷処理が行われる前に、前記合成画像データに対する不正行為の有無を検証する透かし事前検証部とを有し、
前記透かし事前検証部は、
当該印刷装置が、当該印刷装置に印刷指令を出力する上位装置から、縮小印刷画像データと、当該縮小印刷画像データに基づく前記地紋画像データに基づいて生成された前記合成画像データとを取得した場合に、前記合成画像データから縮小印刷画像データを抽出して、抽出した縮小印刷画像データの輝度値と前記上位装置から取得した前記縮小印刷画像データの輝度値とを比較し、両者の差が予め定められた閾値よりも大きいときに、前記合成画像データに対する不正行為があったと判定する
ことを特徴とする印刷装置。
A data acquisition unit for acquiring print data for printing an image on a print medium from the outside;
When the data acquisition unit acquires compressed data obtained by combining a plurality of types of data from a host device that outputs a print command to the printing device, the compressed data is decompressed, and the print data and the watermark of the electronic watermark are displayed. A compressed data decompression unit that obtains tint block encoded data obtained by encoding tint block image data that is image data of an image;
A print image forming unit that forms print image data that is image data of a print image based on the print data acquired by the compressed data decompression unit;
A copy-forgery-inhibited pattern image forming unit that forms the copy-forgery-inhibited pattern image data based on the copy-forgery-inhibited pattern encoded data acquired by the compressed data decompression unit;
A composite image which is image data of a watermarked print image in which a digital watermark is embedded by combining the print image data formed by the print image forming unit and the copy-forgery-inhibited pattern image data formed by the copy-forgery-inhibited pattern image forming unit. An image composition unit for forming data;
A printing unit that prints a composite image, which is a watermarked print image embedded with a digital watermark, on the print medium based on the composite image data formed by the image composition unit;
A watermark pre-verification unit that verifies the presence or absence of fraud on the composite image data before the printing unit performs a printing process based on the composite image data;
The watermark pre-verification unit
When the printing apparatus acquires reduced print image data and the composite image data generated based on the copy-forgery-inhibited pattern image data based on the reduced print image data from a host apparatus that outputs a print command to the printing apparatus. Then, the reduced print image data is extracted from the composite image data, the brightness value of the extracted reduced print image data is compared with the brightness value of the reduced print image data acquired from the host device, and the difference between the two is determined in advance. A printing apparatus, wherein when it is larger than a predetermined threshold, it is determined that there has been an illegal act on the composite image data.
JP2005001440A 2005-01-06 2005-01-06 Printing device Expired - Fee Related JP4027371B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005001440A JP4027371B2 (en) 2005-01-06 2005-01-06 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005001440A JP4027371B2 (en) 2005-01-06 2005-01-06 Printing device

Publications (2)

Publication Number Publication Date
JP2006191365A JP2006191365A (en) 2006-07-20
JP4027371B2 true JP4027371B2 (en) 2007-12-26

Family

ID=36798067

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005001440A Expired - Fee Related JP4027371B2 (en) 2005-01-06 2005-01-06 Printing device

Country Status (1)

Country Link
JP (1) JP4027371B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4194614B2 (en) 2006-07-18 2008-12-10 キヤノン株式会社 Image processing apparatus, image processing method, and information processing apparatus
JP2008090694A (en) * 2006-10-04 2008-04-17 Oki Electric Ind Co Ltd Print system, print device and personal information medium
JP2008219705A (en) * 2007-03-07 2008-09-18 Kyocera Mita Corp Image processor, image processing method and image processing program
JP4935466B2 (en) * 2007-04-03 2012-05-23 コニカミノルタビジネステクノロジーズ株式会社 Image processing device
JP2018190323A (en) 2017-05-11 2018-11-29 富士通株式会社 Comparison program, comparison device and comparison method

Also Published As

Publication number Publication date
JP2006191365A (en) 2006-07-20

Similar Documents

Publication Publication Date Title
CN1897522B (en) Water mark embedded and/or inspecting method, device and system
US7536026B2 (en) Image processing apparatus and method
US8014560B2 (en) Preserving scanner signature using MRC technology
JP5118360B2 (en) Document authentication method, program, and data processing apparatus
JP5013694B2 (en) Image processing method, image processing apparatus, program code, and storage medium
JP4895380B2 (en) Image processing system, image processing apparatus, image processing method, computer program, and storage medium
EP1667422A1 (en) Printed matter processing system, watermark-containing document printing device, watermark-containing document read device, printed matter processing method, information read device, and information read method
JP2007251929A (en) Selective image encoding and replacement
US7664331B2 (en) Log data recording device, log data recording method and storage medium storing program
JP2010016816A (en) Method of self-authenticating document while preserving critical content in authentication data
US20020191856A1 (en) Image processing apparatus, coding apparatus and method, and computer program and storage medium
JP4027371B2 (en) Printing device
JP4673200B2 (en) Print processing system and print processing method
JP2008131522A (en) Image processor, program and computer readable recording medium
US8416462B2 (en) Information processing apparatus, method, program, and storage medium
JP2008061068A (en) Image forming apparatus
WO2006030514A1 (en) Image replication control apparatus, image replication control method, image producing apparatus, image producing method, program, and image replicating apparatus
US20040111603A1 (en) Document administration apparatus, document administration method, computer program, and computer-readable memory medium
CN104516692A (en) Print management in print-on-demand jobs
US7952750B2 (en) Image processing apparatus and image processing method
US20120133972A1 (en) Image forming apparatus which can handle code and control method thereof
JP4757205B2 (en) Image processing apparatus, image processing system, and image processing program
JP4047359B2 (en) Image processing apparatus, image processing apparatus control method, program, and storage medium
JP3809356B2 (en) Image processing apparatus and method, computer program, and recording medium
JP4360418B2 (en) Image processing apparatus, viewer, image processing program, and image processing system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070710

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070717

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070913

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: 20071009

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071009

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

Free format text: PAYMENT UNTIL: 20101019

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20101019

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20101019

Year of fee payment: 3

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

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

Free format text: PAYMENT UNTIL: 20101019

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20101019

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20111019

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111019

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121019

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121019

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20131019

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees