JP4905294B2 - Image processing circuit, printing apparatus, and image processing program - Google Patents

Image processing circuit, printing apparatus, and image processing program Download PDF

Info

Publication number
JP4905294B2
JP4905294B2 JP2007216458A JP2007216458A JP4905294B2 JP 4905294 B2 JP4905294 B2 JP 4905294B2 JP 2007216458 A JP2007216458 A JP 2007216458A JP 2007216458 A JP2007216458 A JP 2007216458A JP 4905294 B2 JP4905294 B2 JP 4905294B2
Authority
JP
Japan
Prior art keywords
data
cell unit
information
circuit
embedded
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
JP2007216458A
Other languages
Japanese (ja)
Other versions
JP2009049936A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2007216458A priority Critical patent/JP4905294B2/en
Publication of JP2009049936A publication Critical patent/JP2009049936A/en
Application granted granted Critical
Publication of JP4905294B2 publication Critical patent/JP4905294B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

本発明は、画像データへ情報を電子透かしとして埋め込める画像処理回路と,情報を電子透かしとして埋め込んだ印刷を行える印刷装置と,電子透かしとして埋め込まれている情報を画像データから読み出すための画像処理プログラムとに、関する。   The present invention relates to an image processing circuit that can embed information in image data as a digital watermark, a printing apparatus that can perform printing with information embedded as a digital watermark, and image processing for reading out information embedded as a digital watermark from image data Related to the program.

現存する印刷装置の中には、装置内のCPUが印刷データから生成した画像データ(或いは、PCから送られてきた画像データ)が、図8に示した構成を有するハーフトーン化回路(詳細は後述)によって、より階調数の少ない画素データからなる画像データ(図では、ハーフトーンデータ)に変換されて印刷が行われる構成の装置(例えば、特許文献1参照)が、存在している。   Among existing printing apparatuses, image data generated from print data by a CPU in the apparatus (or image data sent from a PC) is a halftoning circuit having a configuration shown in FIG. There is an apparatus (see, for example, Patent Document 1) configured to perform printing after being converted into image data (halftone data in the figure) composed of pixel data having a smaller number of gradations, as will be described later.

そして、そのような印刷装置の中には、印刷時に電子透かしを埋め込める装置も存在しているのであるが、当該印刷装置は、ハーフトーン化回路による処理とは別に、電子透かしを埋め込むための比較的に複雑な処理がCPU(ソフトウェア)により行われるものであるため、電子透かしを埋め込んだ印刷に時間がかかる装置となっている。   Among such printing apparatuses, there is an apparatus that can embed a digital watermark at the time of printing. However, the printing apparatus can embed a digital watermark separately from the processing by the halftoning circuit. Since relatively complicated processing is performed by a CPU (software), it is a device that takes time to print with an embedded digital watermark.

特開2006−352837号公報JP 2006-352837 A

そこで、本発明の課題は、電子透かしを埋め込むための複雑な処理をCPUに行わせる必要がない画像処理回路、電子透かしを埋め込んだ印刷が高速に行える印刷装置を、提供することにある。   Therefore, an object of the present invention is to provide an image processing circuit that does not require a CPU to perform complicated processing for embedding a digital watermark, and a printing apparatus that can perform printing with embedded digital watermark at high speed.

また、本発明の他の課題は、本発明の画像処理回路によって生成された画像データや,本発明の印刷装置によって印刷された印刷物の画像データから、埋め込まれている情報を抽出できる画像処理プログラムを提供することにある。   Another object of the present invention is an image processing program capable of extracting embedded information from image data generated by the image processing circuit of the present invention and image data of a printed matter printed by the printing apparatus of the present invention. Is to provide.

上記課題を解決するために、本発明の画像処理回路は、画像データ中に埋め込むべき情報である埋込情報と,その埋込情報を埋め込むべき位置を指定する埋込位置情報とを記憶しておくための情報記憶回路と、画像データを,所定の位置関係を有する所定数の画素に関する画素データの集合である複数のセル単位データに分解して出力するためのセル単位データ出力回路と、セル単位データとセル単位データ中の画素位置を示す位置情報(或る画素の,セル単位データが示している画素群の中での位置を示す情報)とから,所定数の画素に関する,階調数がより少ない画素データの集合であるセル単位ハーフトーンデータであって,前記位置情報に応じた位置に階調値重心位置があるセル単位ハーフトーンデータを生成するための生成回路と、セル単位データ出力回路が出力したセル単位データの画像データ中での位置と情報記憶回路に記憶されている埋込位置情報とに基づき、当該セル単位データが情報記憶回路に記憶されている埋込情報を埋め込むべきものであるか否かを判別し、当該セル単位データが埋込情報を埋め込むべきものであった場合には,当該セル単位データを埋込情報に応じた位置情報と共に生成回路に供給する第1処理を行い、そうでなかった場合には,当該セル単位データの階調値重心位置を示す位置情報を生成して生成した位置情報を当該セル単位データと共に生成回路に供給する第2処理を行う回路であると共に、第1処理として、生成回路によって生成されたセル単位ハーフトーンデータ群からなる画像データ中に、特定の位置情報に応じた位置に階調値重心位置があるセル単位ハーフトーンデータを所定パターンで含めるためのものとして定められている条件が満たされる場合には、特定の位置情報とセル単位データとを生成回路に供給する処理を行う回路である供給回路とを、備える。
In order to solve the above problems, an image processing circuit according to the present invention stores embedding information, which is information to be embedded in image data, and embedding position information for designating a position where the embedding information is to be embedded. An information storage circuit for storing data, a cell unit data output circuit for decomposing and outputting image data into a plurality of cell unit data that is a set of pixel data relating to a predetermined number of pixels having a predetermined positional relationship, and a cell The number of gradations for a predetermined number of pixels from the unit data and the position information indicating the pixel position in the cell unit data (information indicating the position of a certain pixel in the pixel group indicated by the cell unit data) there a cell unit halftone data which is a set of smaller pixel data, and generating circuit for generating a cell unit halftone data with gradation value centroid position to a position corresponding to the position information An embedding in which the cell unit data is stored in the information storage circuit based on the position in the image data of the cell unit data output from the cell unit data output circuit and the embedding position information stored in the information storage circuit. It is determined whether or not information is to be embedded. If the cell unit data is to be embedded, the cell unit data is sent to the generation circuit together with position information corresponding to the embedded information. The first process of supplying is performed. If not, the position information generated by generating position information indicating the gravity center position of the gradation value of the cell unit data is supplied to the generation circuit together with the cell unit data. In addition to the circuit that performs the two processes, as the first process, in the image data composed of the cell unit halftone data group generated by the generation circuit, the level is set at a position corresponding to the specific position information. A circuit that performs processing for supplying specific position information and cell unit data to a generation circuit when a condition defined for including cell unit halftone data having a value centroid position in a predetermined pattern is satisfied A supply circuit.

すなわち、本発明の画像処理回路は、画像データのハーフトーンデータ化時に、電子透かし(埋込情報)の埋込処理を行ってしまう回路となっている。従って、本発明の画像処理回路を用いておけば、電子透かしを埋め込むための複雑な処理をCPUに行わせる必要がない装置(電子透かしを埋め込んだ印刷が高速に行える,請求項3記載の印刷装置等)を製造できることになる。   In other words, the image processing circuit of the present invention is a circuit that performs an embedding process of a digital watermark (embedding information) when image data is converted to halftone data. Therefore, if the image processing circuit of the present invention is used, a device that does not require the CPU to perform complicated processing for embedding a digital watermark (printing with embedded digital watermark can be performed at high speed). Device, etc.) can be manufactured.

本発明の画像処理回路により生成される画像データ(画像処理回路内の生成回路によって生成される,1画像データ分のセル単位ハーフトーンデータ群)や、本発明の印刷装置による印刷結果のスキャン結果は、本発明の画像処理プログラム(処理対象として与えられた画像データを,所定の位置関係を有する所定数の画素に関する画素データの集合である複数のセル単位データ(請求項1〜3におけるセル単位ハーフトーンデータに相当するデータ)として取り扱うことにより、当該画像データが、階調値重心位置が所定位置にあるセル単位データが所定パターンで含まれている埋込情報含有画像データであるか否かを判断する判断ステップと、判断ステップによって画像データが埋込情報含有画像データであると判断されたときに、画像データに所定パターンで含まれるセル単位データと所定の位置関係にある各セル単位データの階調値重心位置を特定し、特定した階調値重心位置群から,埋込情報を復元する埋込情報復元ステップとを、コンピュータに実行させるプログラム)により、埋込情報の抽出が可能なものである。ただし、印刷結果のスキャンにより得られる画像データは、通常、印刷のために使用された画像データ(セル単位ハーフトーンデータ群)と同じものとはならないため、本発明の画像処理回路内の供給回路としては、第1処理として、何度,実行されても、隣接する画素位置を示す位置情報を生成回路に供給することがない処理(任意の2つの位置情報が,隣接する画素位置を示していない予め定められている複数の位置情報群の中のいずれかを生成回路に供給する処理)を行うものを採用しておくことが望ましい。   Image data generated by the image processing circuit of the present invention (cell unit halftone data group for one image data generated by the generation circuit in the image processing circuit) and scan results of printing results by the printing apparatus of the present invention The image processing program of the present invention (image data given as a processing target is a plurality of cell unit data (cell unit data according to claims 1 to 3), which is a set of pixel data relating to a predetermined number of pixels having a predetermined positional relationship. Whether or not the image data is embedded information-containing image data in which cell unit data having a gradation value gravity center position at a predetermined position is included in a predetermined pattern. A determination step for determining image data, and when the determination step determines that the image data is embedded information-containing image data, Embedding to specify the gradation value centroid position of each cell unit data having a predetermined positional relationship with the cell unit data included in a predetermined pattern in the data, and to restore the embedding information from the specified gradation value centroid position group Embedded information can be extracted by a program that causes a computer to execute an information restoration step. However, since the image data obtained by scanning the printing result is not usually the same as the image data (cell unit halftone data group) used for printing, the supply circuit in the image processing circuit of the present invention As a first process, no matter how many times it is executed, position information indicating adjacent pixel positions is not supplied to the generation circuit (arbitrary two position information indicates adjacent pixel positions). It is desirable to employ a process that performs processing for supplying any one of a plurality of predetermined position information groups to the generation circuit.

以下、本発明を実施するための最良の形態を、図面を参照して詳細に説明する。   Hereinafter, the best mode for carrying out the present invention will be described in detail with reference to the drawings.

図1に示してあるように、本実施形態に係る印刷装置10は、スキャナ11と操作パネル12とコントローラ13と印刷エンジン14とを備えた装置(いわゆる複合機)である。   As shown in FIG. 1, the printing apparatus 10 according to the present embodiment is an apparatus (so-called multi-function machine) that includes a scanner 11, an operation panel 12, a controller 13, and a print engine 14.

操作パネル12は、ユーザから各種の指示を得るため(及び、プリンタ10の状態をユーザに提示するため)に、プリンタ10に設けられているユニットである。この操作パネル12は、LCD,複数のLED,複数の押しボタンスイッチ等から構成されたユニットとなっている。   The operation panel 12 is a unit provided in the printer 10 in order to obtain various instructions from the user (and to present the status of the printer 10 to the user). The operation panel 12 is a unit composed of an LCD, a plurality of LEDs, a plurality of push button switches, and the like.

印刷エンジン14は、用紙上に印刷を行うためのユニットである。スキャナ11は、自身にセットされた原稿をスキャンすることにより,当該原稿の画像データを生成するユニットである。   The print engine 14 is a unit for printing on paper. The scanner 11 is a unit that generates image data of a document by scanning the document set on the scanner 11.

コントローラ13は、プリンタ10内の各部を統合的に制御する(プリンタ10を複合機として機能させる)ためのユニットである。このコントローラ13は、既存のコントローラと同様のハードウェア構成を有するユニット(CPU,ROM,RAM,ハーフトーン化回路,各種インタフェース回路等からなるユニット)ではあるが、図8に示した構成のハーフトーン化回路ではなく,図2に示した構成のハーフトーン化回路が搭載されたユニットとなっている。   The controller 13 is a unit for controlling each part in the printer 10 in an integrated manner (making the printer 10 function as a multifunction machine). The controller 13 is a unit (unit consisting of CPU, ROM, RAM, halftoning circuit, various interface circuits, etc.) having the same hardware configuration as the existing controller, but the halftone having the configuration shown in FIG. This is a unit on which the halftoning circuit having the configuration shown in FIG.

このハーフトーン化回路の機能を説明する前に、両ハーフトーン化回路に共通している各部及び既存のハーフトーン化回路内の重心計算部23の機能を説明することにする。   Before describing the function of this halftoning circuit, the function common to each halftoning circuit and the function of the center of gravity calculation unit 23 in the existing halftoning circuit will be described.

ハーフトーン化回路内の入力ラスタバッファ21(図2,図8)は、所定ライン数分の画像データを一時記憶しておくためのバッファである。セルデータ読出制御部22は、入力ラスタバッファ21から,10×10個の画素データ(マトリックス状に並んだ10×10個の画素群に関する画素データ群)を読み出して重心計算部23に供給する機能を有する回路である。以下、このセルデータ読出制御部22が重心計算部23(或いは、重心計算部28)に供給するデータのことをセルデータと表記する。   The input raster buffer 21 (FIGS. 2 and 8) in the halftoning circuit is a buffer for temporarily storing image data for a predetermined number of lines. The cell data read control unit 22 reads 10 × 10 pixel data (pixel data group related to 10 × 10 pixel groups arranged in a matrix) from the input raster buffer 21 and supplies the read data to the centroid calculation unit 23. It is a circuit which has. Hereinafter, the data that the cell data read control unit 22 supplies to the centroid calculation unit 23 (or the centroid calculation unit 28) is referred to as cell data.

重心計算部23(図8)は、セルデータ読出制御部22から供給されたセルデータの階調値重心座標とセルデータの階調値の合計値とを計算し、計算した合計値,計算した階調値重心座標に応じた画素番号,及び,セルデータ読出制御部22から供給されたセルデータを、階調値計算部24に供給する回路である。なお、セルデータの階調値重心座標とは、階調値(画素データの値)で重みづけした各画素の座標の平均値のことである。また、画素番号とは、各画素(画素位置)に割り当てられている数値情報のことであり、階調値重心座標に応じた画素番号とは、その座標が,計算した階調値重心座標と最も近くなっている画素の画素番号のことである。   The centroid calculation unit 23 (FIG. 8) calculates the gradation value centroid coordinates of the cell data supplied from the cell data read control unit 22 and the total value of the gradation values of the cell data, and calculates the calculated total value. This is a circuit that supplies the pixel number corresponding to the gradation value barycentric coordinates and the cell data supplied from the cell data read control unit 22 to the gradation value calculation unit 24. Note that the tone value barycentric coordinate of the cell data is an average value of the coordinates of each pixel weighted by the tone value (pixel data value). The pixel number is numerical information assigned to each pixel (pixel position), and the pixel number corresponding to the gradation value centroid coordinate is the calculated gradation value centroid coordinate. It is the pixel number of the closest pixel.

階調値計算部24は、重心計算部23(或いは重心計算部28)から供給されたセルデータ,画素番号及び合計値に基づき、そのセルデータ相当の,階調数がより少ない画素データの集合であるセル単位ハーフトーンデータを生成する回路である。この階調値計算部24は、供給された画素番号の画素に階調値重心が位置しており、かつ、供給された合計値に階調値の合計値が一致しているセル単位ハーフトーンデータを生成する回路となっている。   The gradation value calculation unit 24 is a set of pixel data corresponding to the cell data and having a smaller number of gradations based on the cell data, the pixel number, and the total value supplied from the centroid calculation unit 23 (or the centroid calculation unit 28). This is a circuit for generating cell unit halftone data. This gradation value calculation unit 24 is a cell unit halftone in which the gradation value centroid is located at the pixel of the supplied pixel number, and the total value of the gradation values matches the supplied total value. It is a circuit that generates data.

具体的には、階調値計算部24は、画素成長順テーブル,ディザマトリックス,複数個のガンマテーブルを設定可能な回路(各種情報を書き込めるRAMを備えた回路)となっている。   Specifically, the gradation value calculation unit 24 is a circuit (a circuit including a RAM in which various information can be written) in which a pixel growth order table, a dither matrix, and a plurality of gamma tables can be set.

ここで、画素成長順テーブルとは、セルデータ中の各画素データの処理順を規定する画素成長順規定情報(本実施形態では、画素番号を処理順に並べた情報)が,各種画素番号について設定されているテーブルのことである。ガンマテーブルとは、入力階調値と出力階調値との対応関係を規定するための,テーブル番号によって識別されるテーブルのことである。ディザマトリックスとは、図4に簡略化して示してあるように、使用すべきガンマテーブルのテーブル番号が,画素の位置別に設定されている情報のことである。なお、ガンマテーブルは、図3に模式的に示してあるように、同じ入力階調値に対する出力階調値が,テーブル番号が大きくなるほど大きくなるように,その内容が定められるテーブルとなっており、ディザマトリックス(図4)は、重心計算部23(或いは重心計算部28)からの画素番号で識別される画素に関するテーブル番号が0となるようにシフトされて使用される情報となっている。   Here, the pixel growth order table is pixel growth order defining information (information in which pixel numbers are arranged in the processing order in this embodiment) that defines the processing order of each pixel data in the cell data. It is a table that has been. The gamma table is a table identified by a table number for defining the correspondence between the input gradation value and the output gradation value. The dither matrix is information in which the table number of the gamma table to be used is set for each pixel position, as shown in a simplified manner in FIG. As schematically shown in FIG. 3, the gamma table is a table whose contents are determined so that the output gradation value for the same input gradation value increases as the table number increases. The dither matrix (FIG. 4) is information that is used after being shifted so that the table number relating to the pixel identified by the pixel number from the centroid calculation unit 23 (or centroid calculation unit 28) becomes zero.

そして、階調値計算部24は、セルデータ,画素番号(以下、注目画素番号と表記する)及び合計値(注目合計値と表記する)が供給された場合、注目画素番号に対応づけられている画素成長順テーブル中の画素成長順規定情報が示している順通りに、『セルデータ中の画素データ(或る画素に関する階調値)を選択し、注目画素番号に応じた量のシフトを施したディザマトリックスから,選択した画素データに関するテーブル番号を読み出し、読み出したテーブル番号で識別されるガンマテーブル中の,選択した画素データ(入力階調値)に対応づけられている出力階調値を、処理中の画素データに関する出力値とする処理』を繰り返していき、出力階調値の合計値が注目合計値以上となったときに、出力階調値の合計値が注目合計値と一致するように最終出力値の値を調整してから処理を終了する回路となっている。   When the cell data, the pixel number (hereinafter referred to as a target pixel number), and the total value (referred to as a target total value) are supplied, the gradation value calculation unit 24 is associated with the target pixel number. In the order indicated by the pixel growth order defining information in the pixel growth order table, “select pixel data in cell data (gradation value related to a certain pixel) and shift the amount according to the target pixel number. The table number related to the selected pixel data is read from the applied dither matrix, and the output gradation value associated with the selected pixel data (input gradation value) in the gamma table identified by the read table number is read. When the total output gradation value is equal to or greater than the total attention value, the total output gradation value is equal to the total attention value. Adjust the value of final output values has a circuit to end the process from to.

書込制御回路23は、階調値計算部24が生成したセル単位ハーフトーンデータを、所定量の画像データを一時記憶しておくためのバッファである出力ラスタバッファ26内の適切な位置へ書き込む回路である。読出制御回路27は、出力ラスタバッファ26内のデータを外部へ出力するための回路である。   The writing control circuit 23 writes the cell unit halftone data generated by the gradation value calculation unit 24 to an appropriate position in the output raster buffer 26 that is a buffer for temporarily storing a predetermined amount of image data. Circuit. The read control circuit 27 is a circuit for outputting the data in the output raster buffer 26 to the outside.

図2に戻って、上記した重心計算部23の代わりに本実施形態に係るハーフトーン化回路に設けられている重心計算部28,埋込データ等記憶部29の説明を行うことにする。   Returning to FIG. 2, instead of the centroid calculating unit 23 described above, the centroid calculating unit 28 and the embedded data storage unit 29 provided in the halftoning circuit according to the present embodiment will be described.

本実施形態に係るハーフトーン化回路内の埋込データ等記憶部29は、印刷結果に埋め込むべきデータである埋込データ〔本実施形態では、特定の1文字(Z等)を含まない英字列〕と,埋込データを埋め込むべき矩形領域を指定する領域指定情報とを,記憶しておくための回路である。この埋込データ等記憶部29は、CPUが、埋込データと、領域指定情報とを設定できる回路(外部回路がアクセス可能な回路)となっている。   The embedded data storage unit 29 in the halftoning circuit according to the present embodiment includes embedded data that is data to be embedded in the print result [in this embodiment, an alphabetic character string that does not include one specific character (such as Z). ] And area designation information for designating a rectangular area in which the embedded data is to be embedded. The embedded data storage unit 29 is a circuit (a circuit accessible by an external circuit) in which the CPU can set embedded data and region designation information.

重心計算部28は、処理すべきセル単位データが、埋込データ等記憶部29に記憶されている領域指定情報が示している領域外の領域に関するものであった場合には、重心計算部23と同じ処理を行う回路である。   If the cell unit data to be processed is related to a region outside the region indicated by the region designation information stored in the embedded data storage unit 29, the centroid calculation unit 23 It is a circuit that performs the same processing.

ただし、重心計算部28は、文字・画素番号テーブルを設定可能な回路となっている。ここで、文字・画素番号テーブルとは、図5及び図6に示したように、複数の文字のそれぞれに画素番号を対応づけるためのテーブルであって、隣接する画素の画素番号が含まれないようにその内容が決定されるテーブルのことである。   However, the center-of-gravity calculation unit 28 is a circuit capable of setting a character / pixel number table. Here, the character / pixel number table is a table for associating a pixel number with each of a plurality of characters, as shown in FIGS. 5 and 6, and does not include pixel numbers of adjacent pixels. This is the table whose contents are determined.

さらに、重心計算部28は、処理すべきセル単位データが埋込データ等記憶部29に記憶されている領域指定情報が示している領域の境界部分に関するものであった場合には、セルデータと合計値と所定の画素番号(本実施形態では、55)とを階調値計算部24に供給し、処理すべきセル単位データが領域指定情報が示している領域内の部分に関するものであった場合には、埋込データ等記憶部29に記憶されている埋込データ中の,今回、処理すべき文字(先頭文字,或いは,前回,処理した文字の次の文字)に対応づけられている画素番号を文字・画素番号テーブルから読み出し,読み出した画素番号をセルデータ及び合計値と共に階調値計算部24に供給する回路ともなっている。   Further, when the cell unit data to be processed relates to the boundary portion of the region indicated by the region designation information stored in the embedded data storage unit 29, the centroid calculating unit 28 The total value and a predetermined pixel number (55 in the present embodiment) are supplied to the gradation value calculation unit 24, and the cell unit data to be processed relates to the portion in the region indicated by the region designation information. In this case, it is associated with the character to be processed this time (the first character or the character next to the previously processed character) in the embedded data stored in the storage unit 29 such as embedded data. The pixel number is read from the character / pixel number table, and the read pixel number is supplied to the gradation value calculation unit 24 together with the cell data and the total value.

そして、本実施形態に係る印刷装置10は、電子透かしを埋め込んだ印刷を行うべきことを指示する印刷データ(埋込データを指定したもの/印刷装置10内に既に設定されている埋込データを使用すべきことを指定したもの)を受信した場合、その印刷データに応じた内容の画像データの一部(印刷すべき情報がない部分)に、その部分のサイズに応じたサイズの,所定階調値(印刷されていることが殆ど分からない階調値)の画像データ(以下、情報埋込用画像データと表記する)を埋め込んだ画像データをRAM上に用意した後、情報埋込用画像データのサイズ及び位置を示す領域指定情報(及び埋込データ)を設定してから,ハーフトーン化回路を機能させることにより、印刷を行うようにプログラムされている装置となっている。   Then, the printing apparatus 10 according to the present embodiment prints print data (designated embedded data / embedded data already set in the printing apparatus 10) instructing that printing should be performed with a digital watermark embedded. Received), a part of the image data with the contents corresponding to the print data (the part where there is no information to be printed) has a predetermined floor size corresponding to the size of the part. An image embedding image data (hereinafter, referred to as image embedding image data) having tone values (tone values that are hardly printed) is prepared on a RAM, and then an information embedding image. The apparatus is programmed to perform printing by setting area designation information (and embedding data) indicating the size and position of data and then operating the halftoning circuit.

また、印刷装置10は、上記した文字・画素番号テーブル(図5)が重心計算部28(ハーフトーン化回路)に設定される際には、画素番号から文字を特定するための画素番号・文字テーブルが、コントローラ13内の不揮発性メモリ(本実施形態では、フラッシュROM)上に設定される装置となっている。この画素番号・文字テーブルは、文字・画素番号テーブルとほぼ同内容のものであるが,各文字に、複数の画素番号(文字・画素番号テーブルで対応づけられている画素番号と,その左上,上,左の画素番号(図6参照))が対応づけられているテーブルとなっている。   In addition, when the character / pixel number table (FIG. 5) is set in the centroid calculating unit 28 (halftoning circuit), the printing apparatus 10 uses the pixel number / character for specifying the character from the pixel number. The table is a device set on a non-volatile memory (flash ROM in this embodiment) in the controller 13. This pixel number / character table has substantially the same contents as the character / pixel number table, but each character has a plurality of pixel numbers (the pixel number associated with the character / pixel number table, the upper left, The upper and left pixel numbers (see FIG. 6) are associated with each other.

さらに、印刷装置10は、コピーの実行が指示された場合、図7に示した手順のコピー処理を行うようにプログラムされた装置となっている。   Further, the printing apparatus 10 is an apparatus programmed to perform the copying process of the procedure shown in FIG. 7 when the execution of copying is instructed.

すなわち、コピーの実行が指示された印刷装置10(コントローラ13/コントローラ13内のCPU)は、まず、スキャナ11を制御することにより原稿の画像データを生成(RAM上に用意する)する処理(ステップS101)を行う。その後、印刷装置10は、その画像データに埋込データが埋め込まれているか否かを判定する処理であると共に、画像データに埋込データが埋め込まれていた場合には、その埋込データを特定する処理である埋込データ特定処理(ステップS102)を行う。   That is, the printing apparatus 10 (controller 13 / CPU in the controller 13) instructed to perform copying first generates image data of a document (prepared on a RAM) by controlling the scanner 11 (step S1). S101) is performed. Thereafter, the printing apparatus 10 determines whether or not the embedded data is embedded in the image data. If the embedded data is embedded in the image data, the printing apparatus 10 specifies the embedded data. The embedded data specifying process (step S102) is performed.

この埋込データ特定処理は、まず、画像データを,10×10個の画素データからなるセルデータの集合として取り扱うことにより、階調値重心位置にある画素の画素番号が,55,44,45又は54〔上記した“所定の画素番号”と,その左上,上,左の画素番号(図6参照)のいずれか〕にあるセルデータで囲まれており,かつ,その内部に,階調値重心位置にある画素の画素番号が,それらの画素番号とは異なるものとなっているセルデータが存在する領域の有無を調べる処理が、セルデータの基準位置を変更しつつ行われる処理となっている。そして、埋込データ特定処理は、そのような領域が存在していなかった場合には、画像データに埋込データが埋め込まれていないと判定して終了し、そのような領域が存在していた場合には、当該領域内の各セルデータの階調値重心位置にある画素の画素番号を求め、求めた各画素番号に対応づけられている文字を画素番号・文字テーブルから読み出すことにより、埋込データを特定する処理となっている。   In this embedded data specifying process, first, image data is handled as a set of cell data composed of 10 × 10 pixel data, so that the pixel number of the pixel at the gradation value gravity center position is 55, 44, 45. Or 54 [the above-mentioned “predetermined pixel number” and any one of the upper left, upper, left pixel numbers (see FIG. 6)] and surrounded by the cell data, The process of checking whether there is an area where the cell data in which the pixel number of the pixel at the center of gravity is different from the pixel number exists is a process performed while changing the reference position of the cell data. Yes. Then, if such an area does not exist, the embedded data specifying process is terminated by determining that the embedded data is not embedded in the image data, and such an area exists. In this case, the pixel number of the pixel at the gradation value centroid position of each cell data in the area is obtained, and the character associated with each obtained pixel number is read out from the pixel number / character table to fill in the pixel number. It is a process to specify the embedded data.

ステップS102の処理を終えた印刷装置10は、当該処理にて埋込データが特定できなかった場合(ステップS103;NO)には、生成してある画像データに応じた内容の印刷(埋込データを埋め込まない印刷)を印刷エンジン14に行わせるための印刷制御処理(ステップS104)を行ってから、このコピー処理を終了する。また、印刷装置10は、ステップS102の処理にて埋込データが特定できた場合(ステップS103;YES)には、予め指定されている内容の処理(エラーメッセージの表示処理等)をステップS106にて行ってから、このコピー処理を終了する。   The printing apparatus 10 that has completed the process of step S102 prints the contents according to the generated image data (embedded data) if the embedded data cannot be specified by the process (step S103; NO). After performing a print control process (step S104) for causing the print engine 14 to perform (print without embedding), this copy process is terminated. In addition, when the embedded data can be identified in the process of step S102 (step S103; YES), the printing apparatus 10 performs a process with a previously specified content (such as an error message display process) in step S106. The copying process is terminated.

《変形形態》
上記した印刷装置10,ハーフトーン化回路は、各種の変形を行うことが出来る。例えば、ハーフトーン化回路を、画像データの減色を行うための回路として構成しておく(或いは、使用する)ことが出来る。また、印刷装置10に用いられているプログラム(図7の処理を印刷装置10に行わせるためのプログラム)を、コンピュータ用のプログラムやスキャナ用のプログラムに変形することも出来る。
<Deformation>
The printing apparatus 10 and the halftoning circuit described above can be variously modified. For example, the halftoning circuit can be configured (or used) as a circuit for performing color reduction of image data. Further, the program used in the printing apparatus 10 (a program for causing the printing apparatus 10 to perform the processing in FIG. 7) can be transformed into a computer program or a scanner program.

実施形態に係る印刷装置の構成図。1 is a configuration diagram of a printing apparatus according to an embodiment. 実施形態に係る印刷装置に用いられているハーフトーン化回路の構成図。1 is a configuration diagram of a halftoning circuit used in a printing apparatus according to an embodiment. ガンマテーブルの説明図。Explanatory drawing of a gamma table. ディザマトリックスの説明図。Explanatory drawing of a dither matrix. 文字・画素番号テーブルの説明図。Explanatory drawing of a character and pixel number table. 文字・画素番号テーブルの設定内容を説明するための図。The figure for demonstrating the setting content of a character and pixel number table. 実施形態に係る印刷装置が実行するコピー処理の流れ図。6 is a flowchart of copy processing executed by the printing apparatus according to the embodiment. 従来のハーフトーン化回路の構成図。The block diagram of the conventional halftoning circuit.

符号の説明Explanation of symbols

10 印刷装置、 11 スキャナ、 12 操作パネル、 13 スキャナ
14 印刷エンジン、 21 入力ラスタバッファ
22 セルデータ読出制御部、 23,28 重心計算部
24 階調値計算部、 26 出力ラスタバッファ
27 読出制御回路、 29 埋込データ等記憶部
DESCRIPTION OF SYMBOLS 10 Printing apparatus, 11 Scanner, 12 Operation panel, 13 Scanner 14 Print engine, 21 Input raster buffer 22 Cell data reading control part, 23,28 Gravity calculation part 24 Gradation value calculation part, 26 Output raster buffer 27 Reading control circuit, 29 Embedded data storage

Claims (4)

画像データ中に埋め込むべき情報である埋込情報と,その埋込情報を埋め込むべき位置を指定する埋込位置情報とを記憶しておくための情報記憶回路と、
画像データを,所定の位置関係を有する所定数の画素に関する画素データの集合である複数のセル単位データに分解して出力するためのセル単位データ出力回路と、
セル単位データとセル単位データ中の画素位置を示す位置情報とから,前記所定数の画素に関する,階調数がより少ない画素データの集合であるセル単位ハーフトーンデータであって,前記位置情報に応じた位置に階調値重心位置があるセル単位ハーフトーンデータを生成するための生成回路と、
前記セル単位データ出力回路が出力したセル単位データの前記画像データ中での位置と前記情報記憶回路に記憶されている前記埋込位置情報とに基づき、当該セル単位データが前記情報記憶回路に記憶されている前記埋込情報を埋め込むべきものであるか否かを判別し、当該セル単位データが前記埋込情報を埋め込むべきものであった場合には,当該セル単位データを前記埋込情報に応じた位置情報と共に前記生成回路に供給する第1処理を行い、そうでなかった場合には,当該セル単位データの階調値重心位置を示す位置情報を生成して生成した位置情報を当該セル単位データと共に前記生成回路に供給する第2処理を行う回路であると共に、前記第1処理として、前記生成回路によって生成されたセル単位ハーフトーンデータ群からなる画像データ中に、特定の位置情報に応じた位置に階調値重心位置があるセル単位ハーフトーンデータを所定パターンで含めるためのものとして定められている条件が満たされる場合には、前記特定の位置情報と前記セル単位データとを前記生成回路に供給する処理を行う回路である供給回路と、
を備えることを特徴とする画像処理回路。
An information storage circuit for storing embedding information, which is information to be embedded in image data, and embedding position information for designating a position where the embedding information is to be embedded;
A cell unit data output circuit for decomposing and outputting image data into a plurality of cell unit data that is a set of pixel data relating to a predetermined number of pixels having a predetermined positional relationship;
And a position information indicating a pixel position in the cell unit data and the cell unit data, said predetermined number of pixels relating to, the number of gradations is a cell unit halftone data which is a set of smaller pixel data, said positional information A generation circuit for generating half-tone data in cell units having a gradation value gravity center position at a corresponding position;
The cell unit data is stored in the information storage circuit based on the position of the cell unit data output from the cell unit data output circuit in the image data and the embedded position information stored in the information storage circuit. It is determined whether or not the embedded information to be embedded is to be embedded. If the cell unit data is to be embedded, the cell unit data is included in the embedded information. The first process of supplying to the generation circuit together with the corresponding position information is performed, and if not, the position information generated by generating the position information indicating the gravity center position of the gradation value of the cell unit data is displayed in the cell. It is a circuit that performs a second process to be supplied to the generation circuit together with unit data, and includes a cell unit halftone data group generated by the generation circuit as the first process. In the image data, when a condition defined for including cell unit halftone data having a gradation value centroid position at a position corresponding to specific position information in a predetermined pattern is satisfied, the specific data A supply circuit that is a circuit for performing processing for supplying position information and the cell unit data to the generation circuit;
An image processing circuit comprising:
前記供給回路が行う前記第1処理が、
何度,実行されても、隣接する画素位置を示す位置情報を前記生成回路に供給することがない処理である
ことを特徴とする請求項1記載の画像処理回路。
The first process performed by the supply circuit includes:
The image processing circuit according to claim 1, wherein the processing is such that no positional information indicating adjacent pixel positions is supplied to the generation circuit, no matter how many times it is executed.
請求項1又は請求項2記載の画像処理回路と、
前記画像処理回路によって生成された1画像データ分のセル単位ハーフトーンデータ群に基づき、用紙上への印刷を行う印刷エンジンと
を備えることを特徴とする印刷装置。
The image processing circuit according to claim 1 or 2,
A printing apparatus comprising: a print engine that performs printing on a sheet based on a cell unit halftone data group for one image data generated by the image processing circuit.
コンピュータに、
処理対象として与えられた画像データを,所定の位置関係を有する所定数の画素に関する画素データの集合である複数のセル単位データとして取り扱うことにより、当該画像データが、階調値重心位置が所定位置にあるセル単位データが所定パターンで含まれている埋込情報含有画像データであるか否かを判断する判断ステップと、
前記判断ステップにより前記画像データが前記埋込情報含有画像データであると判断されたときに、前記画像データに前記所定パターンで含まれる前記セル単位データと所定の位置関係にある各セル単位データの階調値重心位置を特定し、特定した階調値重心位置群から,埋込情報を復元する埋込情報復元ステップと
を実行させることを特徴とする画像処理プログラム。
On the computer,
By treating the image data given as the processing target as a plurality of cell unit data that is a set of pixel data relating to a predetermined number of pixels having a predetermined positional relationship, the gradation value gravity center position of the image data becomes a predetermined position. A step of determining whether or not the cell unit data is embedded image-containing image data included in a predetermined pattern;
When it is determined by the determination step that the image data is the embedded information-containing image data, each cell unit data having a predetermined positional relationship with the cell unit data included in the predetermined pattern in the image data An image processing program characterized by specifying a gradation value centroid position and executing an embedding information restoring step for restoring embedding information from the specified gradation value centroid position group.
JP2007216458A 2007-08-22 2007-08-22 Image processing circuit, printing apparatus, and image processing program Expired - Fee Related JP4905294B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007216458A JP4905294B2 (en) 2007-08-22 2007-08-22 Image processing circuit, printing apparatus, and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007216458A JP4905294B2 (en) 2007-08-22 2007-08-22 Image processing circuit, printing apparatus, and image processing program

Publications (2)

Publication Number Publication Date
JP2009049936A JP2009049936A (en) 2009-03-05
JP4905294B2 true JP4905294B2 (en) 2012-03-28

Family

ID=40501671

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007216458A Expired - Fee Related JP4905294B2 (en) 2007-08-22 2007-08-22 Image processing circuit, printing apparatus, and image processing program

Country Status (1)

Country Link
JP (1) JP4905294B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2640939B2 (en) * 1987-03-02 1997-08-13 東洋通信機株式会社 How to combine data into an image
JP3797414B2 (en) * 2000-10-19 2006-07-19 富士ゼロックス株式会社 Image processing device
JP4165570B2 (en) * 2005-05-16 2008-10-15 セイコーエプソン株式会社 Image processing apparatus, image processing method, and image processing program

Also Published As

Publication number Publication date
JP2009049936A (en) 2009-03-05

Similar Documents

Publication Publication Date Title
US8861022B2 (en) Image processing apparatus with preview display function, image processing method, and image processing program
JP2008118215A (en) Image processing apparatus, method and program
JP5005490B2 (en) Image processing method, image processing apparatus, and image processing program
JP4927010B2 (en) Image output apparatus, image output method, and image output program
US8660357B2 (en) Image processing apparatus, method, and computer program
JP4905294B2 (en) Image processing circuit, printing apparatus, and image processing program
JP2007150659A (en) Image processor, image processing method, image processing program, and record medium recorded therewith
JP2018117283A (en) Image processing device and image processing method
JP5649552B2 (en) Image processing apparatus and image forming apparatus
JP2005119010A (en) Density correction system for printer
JP4935467B2 (en) Image processing device
JP2008205559A (en) Image processing unit, and image processing method, and program thereof
JP2004240200A (en) Image forming apparatus
JP2006210981A (en) Image processor, image processing system, method and program, and medium recording image processing program
JP2007081886A (en) Drawing processing apparatus
JP2009237660A (en) Image processor, printer, image processing method and program for image processing
JP2006211240A (en) Dotting processing apparatus, and dotting processing program
JP2009141525A (en) Apparatus and method of processing image
JP4238750B2 (en) Image forming apparatus and image forming program
JP2009302671A (en) Image processing method, image processing apparatus, and image processing program
JP6260144B2 (en) Image processing apparatus and computer program
JP2007207081A (en) Print job control method
JP2004220327A (en) Printing system
JP2019205029A (en) Information processing system, information processing apparatus, and image forming apparatus
JP2010213209A (en) Image processing apparatus, method of controlling image processing apparatus, and control program of image processing apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100708

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111021

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111101

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111118

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111226

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

Free format text: PAYMENT UNTIL: 20150120

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees