JP5284431B2 - Device for decoding two-dimensional code, method for controlling device for decoding two-dimensional code, and program - Google Patents

Device for decoding two-dimensional code, method for controlling device for decoding two-dimensional code, and program Download PDF

Info

Publication number
JP5284431B2
JP5284431B2 JP2011190969A JP2011190969A JP5284431B2 JP 5284431 B2 JP5284431 B2 JP 5284431B2 JP 2011190969 A JP2011190969 A JP 2011190969A JP 2011190969 A JP2011190969 A JP 2011190969A JP 5284431 B2 JP5284431 B2 JP 5284431B2
Authority
JP
Japan
Prior art keywords
region
decoding
dimensional code
area
image
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
JP2011190969A
Other languages
Japanese (ja)
Other versions
JP2012039629A (en
JP2012039629A5 (en
Inventor
央周 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2011190969A priority Critical patent/JP5284431B2/en
Publication of JP2012039629A publication Critical patent/JP2012039629A/en
Publication of JP2012039629A5 publication Critical patent/JP2012039629A5/ja
Application granted granted Critical
Publication of JP5284431B2 publication Critical patent/JP5284431B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Image Processing (AREA)

Description

本発明は、符号画像を取り扱うことができる、二次元コードを復号化する装置、二次元コードを復号化する装置の制御方法、およびプログラムに関する。 The present invention relates to a device for decoding a two-dimensional code, a method for controlling a device for decoding a two-dimensional code, and a program capable of handling a code image.

従来、元データを符号化して符号画像を作成し、当該作成した符号画像(例えば、バー
コード、二次元コード、電子透かし)を出力用紙に印字する事が行われてきている。
Conventionally, a code image is created by encoding original data, and the created code image (for example, a barcode, a two-dimensional code, and a digital watermark) is printed on an output sheet.

さらに、符号画像をスキャナで読取る事により元データを取得し、その元データを文書
や商品の管理等に利用している。
Furthermore, original data is acquired by reading a code image with a scanner, and the original data is used for management of documents and products.

特開2001−344588号公報JP 2001-344588 A 特開2000−013584号公報JP 2000-013584 A

符号画像の印字された出力用紙から複写物を得るのは容易である。単純に、上記出力用
紙を画像形成装置にかければよい。しかし、上記出力用紙上の符号画像部分が汚れてしま
っていたとすると、符号画像から元データを取り出す(抽出する)ことができない複写物
が得られることになる。
It is easy to obtain a copy from the output paper on which the code image is printed. Simply, the output paper may be applied to the image forming apparatus. However, if the code image portion on the output paper is dirty, a copy in which the original data cannot be extracted (extracted) from the code image is obtained.

すると、その複写物を受け取った者は、複写物から情報を取り出すことができないこと
に不満を持つであろう。
The person receiving the copy will then be dissatisfied with the inability to retrieve information from the copy.

本発明は、上述したユーザ(複写物を受け取った者)の不満を解消するためになされた
ものである。
The present invention has been made to solve the above-mentioned dissatisfaction of the user (the person who received the copy).

本発明に係る装置は、第1の領域と第2の領域とを含む二次元コードを復号化することで、当該二次元コードに含まれる情報を得る復号化手段と、前記復号化手段で得られた前記二次元コードに含まれる情報のうちの少なくとも一部を含む情報を符号化することで、当該少なくとも一部を含む情報を含む二次元コードを得る符号化手段と、を備え、前記復号化手段は、前記第1の領域を復号化した後、前記第2の領域を復号化し、前記第1の領域は、前記第2の領域よりも耐性の強い領域であることを特徴とする。 Apparatus according to the present invention, by decoding the two-dimensional code that includes a first region and a second region, and decoding means for obtaining information contained in the two-dimensional code, resulting in said decoding means was to encode the information including at least a portion of said information included in the two-dimensional code, comprising encoding means for obtaining a two-dimensional code containing information comprising a portion, the even those said at The decoding means decodes the first area, then decodes the second area, and the first area is an area more resistant than the second area. Features.

本発明によれば、何かしらの要因によって、原稿となる複写物の符号画像部分に折り皺
がつく、または、符号画像を汚してしまうなどから符号画像から元データを取り出せなく
なった場合に、原稿画像データから符号画像を削除することができる。また、上記の場合
に、配布先ユーザに対して元データを取り出せなくなった複写物を配布しなくて済む。さ
らに、配布者が符号画像の削除パターンを選択可能であるため、符号画像を取り扱うこと
が可能な画像形成装置の利便性をさらに向上させることが可能である。
According to the present invention, when the original image data cannot be taken out from the code image because the code image portion of the copy as a document is creased or the code image becomes dirty due to some factor, The code image can be deleted from the data. Further, in the above case, it is not necessary to distribute a copy whose original data cannot be extracted to the distribution destination user. Furthermore, since the distributor can select the deletion pattern of the code image, the convenience of the image forming apparatus capable of handling the code image can be further improved.

本発明に係る画像形成システムを示す図である。1 is a diagram showing an image forming system according to the present invention. 本発明に係る画像形成装置の入出力デバイス外観図である。1 is an external view of an input / output device of an image forming apparatus according to the present invention. 本発明に係る画像形成装置を示す図である。1 is a diagram illustrating an image forming apparatus according to the present invention. 本発明に係るタイルデータを概念的に示す図である。It is a figure which shows the tile data based on this invention notionally. 本発明に係るスキャナ画像処理部のブロック図である。It is a block diagram of a scanner image processing unit according to the present invention. 本発明に係るプリンタ画像処理部のブロック図である。2 is a block diagram of a printer image processing unit according to the present invention. FIG. 本発明に係る操作部の説明図である。It is explanatory drawing of the operation part which concerns on this invention. 本発明に係る操作部の説明図である。It is explanatory drawing of the operation part which concerns on this invention. 本発明に係るフローチャート図である。It is a flowchart figure which concerns on this invention. 本発明に係るジョブ実行選択画面を示す図である。It is a figure which shows the job execution selection screen which concerns on this invention. 本発明に係るフローチャート図である。It is a flowchart figure which concerns on this invention. 本発明に係る符号画像領域の図である。It is a figure of the code image area concerning the present invention. 本発明に係る後処理後の印字画像の図である。It is a figure of the printed image after the post-processing which concerns on this invention. 本発明に係る後処理後の印字画像の図である。It is a figure of the printed image after the post-processing which concerns on this invention. 本発明に係る後処理後の印字画像の図である。It is a figure of the printed image after the post-processing which concerns on this invention.

以下では、図面を参照して本発明を実施するための形態について説明する。
(実施形態1)
<印字システム(図1)>
続いて、実施形態1について図面を参照して詳細に説明する。図1は本発明の実施形態
に係る印字システムの構成を示すブロック図である。このシステムではホストコンピュー
タ(PC)40及び3台の画像形成装置10、20、30がLAN50に接続されている
が、本発明における印字システムにおいては、これらの接続数に限られることはない。ま
た、本実施形態では接続方法としてLANを適用しているが、これに限られることはない
。例えば、WAN(公衆回線)などの任意のネットワーク、USBなどのシリアル伝送方
式、セントロニクスやSCSIなどのパラレル伝送方式なども適用可能である。
Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.
(Embodiment 1)
<Printing system (Fig. 1)>
Next, Embodiment 1 will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a printing system according to an embodiment of the present invention. In this system, the host computer (PC) 40 and the three image forming apparatuses 10, 20, and 30 are connected to the LAN 50. However, in the printing system according to the present invention, the number of connections is not limited. In this embodiment, a LAN is applied as a connection method, but the present invention is not limited to this. For example, an arbitrary network such as a WAN (public line), a serial transmission method such as USB, and a parallel transmission method such as Centronics and SCSI can be applied.

ホストコンピュータ(以下、PCと称する)40はパーソナルコンピュータの機能を有
している。このPC40はLAN50やWANを介してFTPやSMBプロトコルを用い
ファイルを送受信したり電子メールを送受信したりすることができる。またPC40から
画像形成装置10、20、30に対して、プリンタドライバを介した印字命令を行うこと
が可能となっている。
A host computer (hereinafter referred to as a PC) 40 has a function of a personal computer. The PC 40 can send and receive files and send and receive e-mails using the FTP and SMB protocols via the LAN 50 and WAN. Further, it is possible to issue a print command from the PC 40 to the image forming apparatuses 10, 20, and 30 via a printer driver.

画像形成装置10と画像形成装置20は同じ構成を有する装置である。画像形成装置3
0はプリント機能のみの画像形成装置であり、画像形成装置10や画像形成装置20が有
するスキャナ部を有していない。以下では、説明の簡単のために、画像形成装置10、2
0のうちの画像形成装置10に注目して、その構成を詳細に説明する。
The image forming apparatus 10 and the image forming apparatus 20 are apparatuses having the same configuration. Image forming apparatus 3
0 is an image forming apparatus having only a print function, and does not have the scanner unit included in the image forming apparatus 10 or the image forming apparatus 20. In the following, for the sake of simplicity of explanation, the image forming apparatuses 10, 2
Focusing on the image forming apparatus 10 out of 0, the configuration will be described in detail.

画像形成装置10は、画像入力デバイスであるスキャナ13、画像出力デバイスである
プリンタ14、ユーザインターフェース(UI)である操作部12、コントローラユニッ
ト(Controller Unit)11からなる。コントローラユニット11は、ス
キャナ13およびプリンタ14に接続して画像形成装置10全体の動作制御を司る。
The image forming apparatus 10 includes a scanner 13 as an image input device, a printer 14 as an image output device, an operation unit 12 as a user interface (UI), and a controller unit 11. The controller unit 11 is connected to the scanner 13 and the printer 14 to control operation of the entire image forming apparatus 10.

画像形成装置20は、画像入力デバイスであるスキャナ23、画像出力デバイスである
プリンタ24、ユーザインターフェース(UI)である操作部22、コントローラユニッ
ト(Controller Unit)21からなる。コントローラユニット21は、ス
キャナ23およびプリンタ24に接続して画像形成装置20全体の動作制御を司る。
The image forming apparatus 20 includes a scanner 23 that is an image input device, a printer 24 that is an image output device, an operation unit 22 that is a user interface (UI), and a controller unit 21. The controller unit 21 is connected to the scanner 23 and the printer 24 to control the operation of the entire image forming apparatus 20.

画像形成装置30は、画像出力デバイスであるプリンタ33、ユーザインターフェース
(UI)である操作部32、これら全てに接続して画像形成装置30全体の動作制御を司
るコントローラユニット(Controller Unit)31から構成される。
The image forming apparatus 30 includes a printer 33 that is an image output device, an operation unit 32 that is a user interface (UI), and a controller unit 31 that is connected to all of these and controls operation of the entire image forming apparatus 30. Is done.

<画像形成装置10(図2)>
画像形成装置10の外観を図2に示す。スキャナ13は、原稿上の画像を露光走査して
得られた反射光をCCDに入力することで画像の情報を電気信号に変換する。スキャナ部
はさらに電気信号をR、G、B各色からなる輝度信号に変換し、当該輝度信号を画像デー
タとしてコントローラユニット11に対して出力する。
<Image Forming Apparatus 10 (FIG. 2)>
An appearance of the image forming apparatus 10 is shown in FIG. The scanner 13 converts the image information into an electrical signal by inputting the reflected light obtained by exposing and scanning the image on the document to the CCD. The scanner unit further converts the electrical signal into a luminance signal composed of R, G, and B colors, and outputs the luminance signal to the controller unit 11 as image data.

なお、原稿は原稿フィーダ201のトレイ202にセットされる。ユーザが操作部12
から読み取り開始を指示すると、コントローラユニット11からスキャナ13に原稿読み
取り指示が与えられる。スキャナ13は、この指示を受けると原稿フィーダ201のトレ
イ202から原稿を1枚ずつフィードして、原稿の読み取り動作を行う。なお、原稿の読
み取り方法は原稿フィーダ201による自動送り方式ではなく、原稿を不図示のガラス面
上に載置し露光部を移動させることで原稿の走査を行う方法であってもよい。
The document is set on the tray 202 of the document feeder 201. The user operates the operation unit 12
When a reading start instruction is issued from the controller unit 11, a document reading instruction is given from the controller unit 11 to the scanner 13. Upon receiving this instruction, the scanner 13 feeds the documents one by one from the tray 202 of the document feeder 201 and performs a document reading operation. Note that the document reading method is not an automatic feeding method by the document feeder 201, but a method of scanning the document by placing the document on a glass surface (not shown) and moving the exposure unit.

プリンタ14は、コントローラユニット11から受取った画像データを用紙上に形成す
る画像形成デバイスである。なお、本実施形態において画像形成方式は感光体ドラムや感
光体ベルトを用いた電子写真方式となっているが、本発明はこれに限られることはない。
例えば、微少ノズルアレイからインクを吐出して用紙上に印字するインクジェット方式な
どでも適用可能である。また、プリンタ14には、異なる用紙サイズ又は異なる用紙向き
を選択可能とする複数の用紙カセット203、204、205が設けられている。排紙ト
レイ206には後処理を行わない印字後の用紙が排出される。後処理部207は、後処理
を行う印字後の用紙が排出される。後処理として、排出された用紙に対してホチキス止め
やパンチ穴開け、裁断などを行う。
The printer 14 is an image forming device that forms image data received from the controller unit 11 on a sheet. In this embodiment, the image forming method is an electrophotographic method using a photosensitive drum or a photosensitive belt, but the present invention is not limited to this.
For example, the present invention can also be applied to an ink jet system that prints on paper by ejecting ink from a micro nozzle array. The printer 14 is provided with a plurality of paper cassettes 203, 204, and 205 that allow selection of different paper sizes or different paper orientations. The paper after printing without post-processing is discharged to the paper discharge tray 206. The post-processing unit 207 discharges the printed paper for post-processing. As post-processing, the discharged paper is stapled, punched, and cut.

<コントローラユニット11の詳細説明(図3)>
図3は、画像形成装置10のコントローラユニット11の構成をより詳細に説明するた
めのブロック図である。
<Detailed description of controller unit 11 (FIG. 3)>
FIG. 3 is a block diagram for explaining the configuration of the controller unit 11 of the image forming apparatus 10 in more detail.

コントローラユニット11はスキャナ13やプリンタ14と電気的に接続されており、
一方ではLAN50やWAN331を介してPC40や外部の装置などと接続されている
。これにより画像データやデバイス情報の入出力が可能となっている。
The controller unit 11 is electrically connected to the scanner 13 and the printer 14,
On the other hand, it is connected to the PC 40 or an external device via the LAN 50 or WAN 331. As a result, image data and device information can be input and output.

CPU301は、ROM303に記憶された制御プログラム等に基づいて接続中の各種
デバイスとのアクセスを統括的に制御すると共に、コントローラ内部で行われる各種処理
についても統括的に制御する。RAM302は、CPU301が動作するためのシステム
ワークメモリであり、かつ画像データを一時記憶するためのメモリでもある。このRAM
302は、記憶した内容を電源off後も保持しておくSRAM及び電源off後には記
憶した内容が消去されてしまうDRAMにより構成されている。ROM303には装置の
ブートプログラムなどが格納されている。HDD304はハードディスクドライブであり
、システムソフトウェアや画像データを格納することが可能となっている。
The CPU 301 comprehensively controls access to various connected devices based on a control program stored in the ROM 303, and also performs overall control of various processes performed in the controller. A RAM 302 is a system work memory for the operation of the CPU 301 and also a memory for temporarily storing image data. This RAM
Reference numeral 302 denotes an SRAM that retains the stored content even after the power is turned off and a DRAM that erases the stored content after the power is turned off. The ROM 303 stores a boot program for the apparatus. An HDD 304 is a hard disk drive and can store system software and image data.

操作部I/F305は、システムバス310と操作部12とを接続するためのインター
フェース部である。この操作部I/F305は、操作部12に表示するための画像データ
をシステムバス310から受取り操作部12に出力すると共に、操作部12から入力され
た情報をシステムバス310へと出力する。
The operation unit I / F 305 is an interface unit for connecting the system bus 310 and the operation unit 12. The operation unit I / F 305 receives image data to be displayed on the operation unit 12 from the system bus 310 to the operation unit 12 and outputs information input from the operation unit 12 to the system bus 310.

ネットワークI/F306はLAN50及びシステムバス310に接続し、情報の入出
力を行う。モデム307はWAN331及びシステムバス310に接続しており、情報の
入出力を行う。2値画像回転部308は送信前の画像データの方向を変換する。2値画像
圧縮・伸張部309は、送信前の画像データの解像度を所定の解像度や相手能力に合わせ
た解像度に変換する。なお圧縮及び伸張にあたってはJBIG、MMR、MR、MHなど
の方式が用いられる。画像バス330は画像データをやり取りするための伝送路であり、
PCIバス又はIEEE1394で構成されている。
A network I / F 306 is connected to the LAN 50 and the system bus 310 to input / output information. The modem 307 is connected to the WAN 331 and the system bus 310 and inputs / outputs information. A binary image rotation unit 308 converts the direction of image data before transmission. The binary image compression / decompression unit 309 converts the resolution of the image data before transmission into a resolution that matches a predetermined resolution or the partner's ability. For compression and expansion, methods such as JBIG, MMR, MR, and MH are used. The image bus 330 is a transmission path for exchanging image data.
It consists of a PCI bus or IEEE1394.

スキャナ画像処理部312は、スキャナ13からスキャナI/F311を介して受取っ
た画像データに対して、補正、加工、及び編集を行う。なお、スキャナ画像処理部312
は、受取った画像データがカラー原稿か白黒原稿か、文字原稿か写真原稿かなどを判定す
る。そして、その判定結果を画像データに付随させる。こうした付随情報を属性データと
称する。このスキャナ画像処理部312で行われる処理の詳細については後述する。
The scanner image processing unit 312 corrects, processes, and edits image data received from the scanner 13 via the scanner I / F 311. The scanner image processing unit 312
Determines whether the received image data is a color original or a black and white original, a text original or a photographic original. Then, the determination result is attached to the image data. Such accompanying information is referred to as attribute data. Details of processing performed by the scanner image processing unit 312 will be described later.

圧縮部313は画像データを受取り、この画像データを32画素×32画素のブロック
単位に分割する。なお、この32画素×32画素の画像データをタイルデータと称する。
図4は、このタイルデータを概念的に表している。原稿(読み取り前の紙媒体)において
、このタイルデータに対応する領域をタイル画像と称する。なおタイルデータには、その
32画素×32画素のブロックにおける平均輝度情報やタイル画像の原稿上の座標位置が
ヘッダ情報として付加されている。さらに圧縮部313は、複数のタイルデータからなる
画像データを圧縮する。伸張部316は、複数のタイルデータからなる画像データを伸張
した後にラスタ展開してプリンタ画像処理部315に送る。
The compression unit 313 receives the image data and divides the image data into blocks of 32 pixels × 32 pixels. The image data of 32 pixels × 32 pixels is referred to as tile data.
FIG. 4 conceptually shows this tile data. In a document (paper medium before reading), an area corresponding to the tile data is referred to as a tile image. Note that the tile data is added with the average luminance information in the block of 32 pixels × 32 pixels and the coordinate position of the tile image on the document as header information. Further, the compression unit 313 compresses image data including a plurality of tile data. The decompression unit 316 decompresses image data composed of a plurality of tile data, raster-expands it, and sends it to the printer image processing unit 315.

プリンタ画像処理部315は、伸張部316から送られた画像データを受取り、この画
像データに付随させられている属性データを参照しながら画像データに画像処理を施す。
画像処理後の画像データは、プリンタI/F314を介してプリンタ14に出力される。
このプリンタ画像処理部315で行われる処理の詳細については後述する。
The printer image processing unit 315 receives the image data sent from the decompression unit 316 and performs image processing on the image data while referring to attribute data attached to the image data.
The image data after image processing is output to the printer 14 via the printer I / F 314.
Details of processing performed by the printer image processing unit 315 will be described later.

画像変換部317は、画像データに対して所定の変換処理を施す。この処理部は以下に
示すような処理部により構成される。
The image conversion unit 317 performs a predetermined conversion process on the image data. This processing unit is composed of the following processing units.

伸張部318は受取った画像データを伸張する。圧縮部319は受取った画像データを
圧縮する。回転部320は受取った画像データを回転する。変倍部321は受取った画像
データに対し解像度変換処理(例えば600dpiから200dpi)を行う。色空間変
換部322は受取った画像データの色空間を変換する。この色空間変換部322は、マト
リクス又はテーブルを用いて公知の下地飛ばし処理を行ったり、公知のLOG変換処理(
RGB→CMY)を行ったり、公知の出力色補正処理(CMY→CMYK)を行ったりす
ることができる。2値多値変換部323は受取った2階調の画像データを256階調の画
像データに変換する。逆に多値2値変換部324は受取った256階調の画像データを誤
差拡散処理などの手法により2階調の画像データに変換する。
A decompression unit 318 decompresses received image data. A compression unit 319 compresses the received image data. A rotation unit 320 rotates received image data. The scaling unit 321 performs resolution conversion processing (for example, 600 dpi to 200 dpi) on the received image data. The color space conversion unit 322 converts the color space of the received image data. The color space conversion unit 322 performs a known background removal process using a matrix or a table, or a known LOG conversion process (
RGB → CMY) or a known output color correction process (CMY → CMYK) can be performed. The binary multi-value conversion unit 323 converts the received two-gradation image data into 256-gradation image data. Conversely, the multi-level binary conversion unit 324 converts the received 256-gradation image data into 2-gradation image data using a technique such as error diffusion processing.

合成部327は受取った2つの画像データを合成し1枚の画像データを生成する。なお
、2つの画像データを合成する際には、合成対象の画素同士が持つ輝度値の平均値を合成
輝度値とする方法や、輝度レベルで明るい方の画素の輝度値を合成後の画素の輝度値とす
る方法が適用される。また、暗い方を合成後の画素とする方法の利用も可能である。さら
に合成対象の画素同士の論理和演算、論理積演算、排他的論理和演算などで合成後の輝度
値を決定する方法なども適用可能である。これらの合成方法はいずれも周知の手法である
。間引き部326は受取った画像データの画素を間引くことで解像度変換を行い、1/2
,1/4,1/8などの画像データを生成する。移動部325は受取った画像データに余
白部分をつけたり余白部分を削除したりする。
The synthesizer 327 synthesizes the received two pieces of image data to generate one piece of image data. When combining two pieces of image data, a method of using an average value of luminance values of pixels to be combined as a combined luminance value, or a luminance value of a pixel having a brighter luminance level, A method for obtaining a luminance value is applied. In addition, it is possible to use a method in which the darker pixel is used as a synthesized pixel. Furthermore, a method of determining a luminance value after synthesis by a logical sum operation, a logical product operation, an exclusive logical sum operation, or the like between pixels to be synthesized is also applicable. These synthesis methods are all well-known methods. The thinning unit 326 performs resolution conversion by thinning out the pixels of the received image data.
, 1/4, 1/8 and the like. The moving unit 325 adds a margin part to the received image data or deletes the margin part.

圧縮部329に接続されたRIP328は、PC40などから送信されたPDLコード
データを元に生成された中間データを受取り、ビットマップデータ(多値)を生成する。
The RIP 328 connected to the compression unit 329 receives intermediate data generated based on PDL code data transmitted from the PC 40 or the like, and generates bitmap data (multi-value).

<スキャナ画像処理部312の詳細説明(図5)>
図5にスキャナ画像処理部312の内部構成を示す。
<Detailed Description of Scanner Image Processing Unit 312 (FIG. 5)>
FIG. 5 shows an internal configuration of the scanner image processing unit 312.

スキャナ画像処理部312はRGB各8bitの輝度信号からなる画像データを受取る
。この輝度信号は、マスキング処理部501によりCCDのフィルタ色に依存しない標準
的な輝度信号に変換される。
The scanner image processing unit 312 receives image data composed of RGB 8-bit luminance signals. This luminance signal is converted by the masking processing unit 501 into a standard luminance signal that does not depend on the filter color of the CCD.

フィルタ処理部502は、受取った画像データの空間周波数を任意に補正する。この処
理部は、受取った画像データに対して、例えば7×7のマトリクスを用いた演算処理を行
う。ところで、複写機や復号機では、図7における原稿選択タブ704の押し下げにより
コピーモードとして文字モードや写真モードや文字/写真モードを選択することができる
。ここでユーザにより文字モードが選択された場合には、フィルタ処理部502は文字用
のフィルタを画像データ全体にかける。また、写真モードが選択された場合には、写真用
のフィルタを画像データ全体にかける。また、文字/写真モードが選択された場合には、
後述の文字写真判定信号(属性データの一部)に応じて画素ごとに適応的にフィルタを切
り替える。つまり、画素ごとに写真用のフィルタをかけるか文字用のフィルタをかけるか
が決定される。なお、写真用のフィルタには高周波成分のみ平滑化が行われるような係数
が設定されている。これは、画像のざらつきを目立たせないためである。また、文字用の
フィルタには強めのエッジ強調を行うような係数が設定されている。これは、文字のシャ
ープさを出すためである。
The filter processing unit 502 arbitrarily corrects the spatial frequency of the received image data. This processing unit performs arithmetic processing using, for example, a 7 × 7 matrix on the received image data. By the way, in the copying machine or the decoding machine, the character mode, the photo mode, or the character / photo mode can be selected as the copy mode by depressing the document selection tab 704 in FIG. When the character mode is selected by the user, the filter processing unit 502 applies a character filter to the entire image data. When the photo mode is selected, a photo filter is applied to the entire image data. If text / photo mode is selected,
Filters are adaptively switched for each pixel in accordance with a character photograph determination signal (part of attribute data) described later. In other words, it is determined for each pixel whether to apply a photo filter or a character filter. Note that coefficients for smoothing only high-frequency components are set in the photographic filter. This is because the roughness of the image is not noticeable. In addition, a coefficient for performing strong edge enhancement is set in the character filter. This is to increase the sharpness of the characters.

ヒストグラム生成部503は、受取った画像データを構成する各画素の輝度データをサ
ンプリングする。より詳細に説明すると、主走査方向、副走査方向にそれぞれ指定した開
始点から終了点で囲まれた矩形領域内の輝度データを、主走査方向、副走査方向に一定の
ピッチでサンプリングする。そして、サンプリング結果を元にヒストグラムデータを生成
する。生成されたヒストグラムデータは、下地飛ばし処理を行う際に下地レベルを推測す
るために用いられる。入力側ガンマ補正部504は、テーブル等を利用して非線形特性を
持つ輝度データに変換する。
The histogram generation unit 503 samples the luminance data of each pixel constituting the received image data. More specifically, luminance data in a rectangular area surrounded by a start point and an end point specified in the main scanning direction and the sub scanning direction are sampled at a constant pitch in the main scanning direction and the sub scanning direction. Then, histogram data is generated based on the sampling result. The generated histogram data is used to estimate the background level when performing background removal processing. The input-side gamma correction unit 504 converts luminance data having nonlinear characteristics using a table or the like.

カラーモノクロ判定部505は、受取った画像データを構成する各画素が有彩色である
か無彩色であるかを判定し、その判定結果をカラーモノクロ判定信号(属性データの一部
)として画像データに付随させる。
A color / monochrome determination unit 505 determines whether each pixel constituting the received image data is a chromatic color or an achromatic color, and the determination result is converted into image data as a color / monochrome determination signal (part of attribute data). Accompany it.

文字写真判定部506は、画像データを構成する各画素が文字を構成する画素なのか、
網点を構成する画素なのか、網点中の文字を構成する画素なのか、ベタ画像を構成する画
素なのかを各画素の画素値と各画素の周辺画素の画素値とに基づいて判定する。なお、ど
れにもあてはまらない画素は、白領域を構成している画素である。そして、その判定結果
を文字写真判定信号(属性データの一部)として画像データに付随させる。
The character photograph determination unit 506 determines whether each pixel constituting the image data is a pixel constituting a character,
Determine whether a pixel is a halftone dot, a pixel in a halftone dot, or a solid image based on the pixel value of each pixel and the pixel values of surrounding pixels of each pixel . Note that pixels that do not correspond to any of these are pixels that form a white region. Then, the determination result is attached to the image data as a character / photo determination signal (part of attribute data).

復号部507は、マスキング処理部501から出力された画像データ内に符号画像デー
タが存在する場合には、その存在を検知する。そして、検知された符号画像データを復号
化して情報を取出す。
When there is code image data in the image data output from the masking processing unit 501, the decoding unit 507 detects the presence. Then, the detected code image data is decoded to extract information.

<プリンタ画像処理部315の詳細説明(図6)>
図6にプリンタ画像処理315においてなされる処理の流れを示す。
<Detailed Description of Printer Image Processing Unit 315 (FIG. 6)>
FIG. 6 shows the flow of processing performed in the printer image processing 315.

下地飛ばし処理部601は、スキャナ画像処理部312で生成されたヒストグラムを用
いて画像データの下地色を飛ばす(除去する)。モノクロ生成部602はカラーデータを
モノクロデータに変換する。Log変換部603は輝度濃度変換を行う。このLog変換
部603は、例えば、RGB入力された画像データを、CMYの画像データに変換する。
出力色補正部604は出力色補正を行う。例えばCMY入力された画像データを、テーブ
ルやマトリックスを用いてCMYKの画像データに変換する。出力側ガンマ補正部605
は、この出力側ガンマ補正部605に入力される信号値と、複写出力後の反射濃度値とが
比例するように補正を行う。符号画像合成部607は、後述する<符号化処理>により生
成された符号画像データと、(原稿)画像データとを合成する。中間調補正部606は、
出力するプリンタ部の階調数に合わせて中間調処理を行う。例えば、受取った高階調の画
像データに対し2値化や32値化などを行う。
The background removal processing unit 601 uses the histogram generated by the scanner image processing unit 312 to remove (remove) the background color of the image data. The monochrome generation unit 602 converts color data into monochrome data. The Log conversion unit 603 performs luminance density conversion. For example, the Log conversion unit 603 converts RGB input image data into CMY image data.
The output color correction unit 604 performs output color correction. For example, image data input as CMY is converted into CMYK image data using a table or matrix. Output side gamma correction unit 605
Performs correction so that the signal value input to the output-side gamma correction unit 605 is proportional to the reflection density value after copy output. The code image synthesis unit 607 synthesizes code image data generated by <encoding processing> described later and (original) image data. The halftone correction unit 606
Halftone processing is performed according to the number of gradations of the printer unit to be output. For example, the received high gradation image data is binarized or binarized.

なお、スキャナ画像処理部312やプリンタ画像処理部315における各処理部では、
受取った画像データに各処理を施さずに出力させることも可能となっている。このような
、ある処理部において処理を施さずにデータを通過させることを、以下では「処理部をス
ルーさせる」と表現することにする。
In each processing unit in the scanner image processing unit 312 or the printer image processing unit 315,
It is also possible to output the received image data without performing each processing. Such passing of data without performing processing in a certain processing unit will be expressed as “through the processing unit” below.

<符号化処理>
CPU301は、所定の情報(この所定の情報には、例えば、機器番号や印字時間情報
やユーザID情報、文書などが含まれる)の符号化処理を行って符号画像データを生成す
べく制御することが可能となっている。
<Encoding process>
The CPU 301 performs control to generate encoded image data by performing encoding processing of predetermined information (the predetermined information includes, for example, a device number, printing time information, user ID information, a document, and the like). Is possible.

なお、本明細書では、符号画像とは、二次元コード画像やバーコード画像といった画像
や電子透かし技術により生成された電子透かし画像のことを示す。
In this specification, a code image indicates an image such as a two-dimensional code image or a barcode image, or a digital watermark image generated by a digital watermark technique.

さらに、CPU301は、生成された符号画像データを不図示のデータバスを用いて、
プリンタ画像処理部315内の符号画像合成部607に送信すべく制御することが可能と
なっている。
Further, the CPU 301 uses the data bus (not shown) to generate the generated code image data.
It is possible to control to transmit to the code image composition unit 607 in the printer image processing unit 315.

なお、上記制御(符号画像の生成制御、送信制御)は、RAM302内に格納されたプ
ログラムを実行することによって行われる。
コントローラユニット11の説明は以上である。
The above control (code image generation control and transmission control) is performed by executing a program stored in the RAM 302.
The description of the controller unit 11 is as described above.

<操作画面の説明>
図7は画像形成装置10における初期画面700である。領域701は、画像形成装置
10がコピーできる状態にあるか否かを示し、かつ設定したコピー部数を示す。原稿選択
タブ704は原稿のタイプを選択するためのタブであり、このタブが押し下げられると文
字、写真、文字/写真モードの3種類の選択メニューをポップアップ表示される。応用モ
ードタブ705は各種画像編集処理を設定するためのタブである。後処理タブ706は各
種フィニッシングに関わる設定を行うためのタブである。両面設定タブ707は両面読込
み及び両面印字に関する設定を行うためのタブである。読み取りモードタブ702は原稿
の読み取りモードを選択するためのタブである。このタブが押し下げられるとカラー/ブ
ラック/自動(ACS)の3種類の選択メニューがポップアップ表示される。なお、カラ
ーが選択された場合にはカラーコピーが、ブラックが選択された場合にはモノクロコピー
が行われる。また、ACSが選択された場合には、上述したモノクロカラー判定信号によ
りコピーモードが決定される。
<Explanation of operation screen>
FIG. 7 shows an initial screen 700 in the image forming apparatus 10. An area 701 indicates whether or not the image forming apparatus 10 is ready for copying, and indicates the set number of copies. A document selection tab 704 is a tab for selecting a document type. When this tab is depressed, three types of selection menus of text, photo, and text / photo mode are displayed in a pop-up. An application mode tab 705 is a tab for setting various image editing processes. A post-processing tab 706 is a tab for performing settings related to various finishings. A duplex setting tab 707 is a tab for performing settings relating to duplex reading and duplex printing. A reading mode tab 702 is a tab for selecting an original reading mode. When this tab is depressed, three types of selection menus of color / black / automatic (ACS) are popped up. Note that color copy is performed when color is selected, and monochrome copy is performed when black is selected. When ACS is selected, the copy mode is determined by the monochrome color determination signal described above.

図8は、図7に示されている応用モードタブ705を押下したときに表示される応用モ
ード設定画面800を示す。例えば、応用モード設定画面800には、綴じ代設定タブ8
01、枠消し設定タブ802、製本設定タブ803、ネガポジ設定タブ804、鏡像設定
タブ805がある。綴じ代設定タブ801は、原稿画像を出力時に上下左右のいずれかに
移動させて出力用紙に印字する。また、枠消し設定タブ802は、原稿画像に対して枠を
指定して枠外の領域にある画素を白画素にする。そして、製本設定タブ803は、原稿画
像を製本出力する。そして、ネガポジ設定タブ804は、原稿画像に対して白黒反転し、
鏡像設定タブ805は、原稿画像を左右逆転し鏡像印字する。
FIG. 8 shows an application mode setting screen 800 displayed when the application mode tab 705 shown in FIG. 7 is pressed. For example, the application mode setting screen 800 includes a binding margin setting tab 8.
01, a frame erase setting tab 802, a bookbinding setting tab 803, a negative / positive setting tab 804, and a mirror image setting tab 805. A binding margin setting tab 801 moves an original image up, down, left, or right during printing and prints it on output paper. A frame erase setting tab 802 designates a frame for a document image and sets pixels in an area outside the frame to white pixels. A bookbinding setting tab 803 outputs a document image as a booklet. The negative / positive setting tab 804 is reversed in black and white with respect to the original image,
A mirror image setting tab 805 prints a mirror image by reversing the original image.

ネガポジ設定タブ804を押下すると不図示のネガポジON/OFF画面が表示され、
ネガポジ出力するかしないかを選択できる。初期値はネガポジしないよう設定されている
。鏡像設定タブ805を押下すると不図示の鏡像ON/OFF画面が表示され、鏡像出力
するかしないかを選択できる。初期値は鏡像しないよう設定されている。ここで、符号画
像印字タブ806は原稿画像に対して新規に符号画像を合成するモードにかかわる設定を
行うものである。新規に符号画像に変換する情報はPC40や画像形成装置内のHDD3
04に格納されている文書ファイルや不図示の仮想キーボードから入力した文字列などな
んでもよいものとする。本発明における、符号画像が印字されている原稿を作成するため
のひとつの例である。
Pressing the negative / positive setting tab 804 displays a negative / positive ON / OFF screen (not shown)
You can choose whether to output negative or positive. The initial value is set not to be negative / positive. When the mirror image setting tab 805 is pressed, a mirror image ON / OFF screen (not shown) is displayed, and it is possible to select whether to output a mirror image. The initial value is set not to mirror. Here, the code image printing tab 806 is used to make settings related to a mode in which a code image is newly synthesized with a document image. The information to be newly converted into the code image is the PC 40 or the HDD 3 in the image forming apparatus.
The document file stored in 04 or a character string input from a virtual keyboard (not shown) may be used. It is an example for creating a document on which a code image is printed in the present invention.

図9は、本発明における、符号画像が印字されている原稿を入力し複写物を出力する処
理にかかわるフローチャートである。
FIG. 9 is a flowchart relating to processing for inputting a document on which a code image is printed and outputting a copy in the present invention.

S10001では、CPU301は、スキャナ13で読取った原稿を、画像データとし
てスキャナI/F311を介してスキャナ画像処理部312に送るように制御する。スキ
ャナ画像処理部312は、この画像データに対して図5に示す処理を行い、新たな画像デ
ータと共に属性データを生成する。また、この属性データを画像データに付随させる。さ
らに、S10002で、スキャナ画像処理部312内の復号部507は、符号画像データ
が存在する場合には、その存在を検知する。
In step S10001, the CPU 301 controls the document read by the scanner 13 to be sent as image data to the scanner image processing unit 312 via the scanner I / F 311. The scanner image processing unit 312 performs the processing shown in FIG. 5 on this image data, and generates attribute data together with new image data. Further, this attribute data is attached to the image data. Further, in step S10002, the decoding unit 507 in the scanner image processing unit 312 detects the presence of the code image data if it exists.

ここで、図12はRAM302に格納される原稿画像を示している。原稿画像1201
の左上隅を原点とし、主操作方向をx軸、副走査方向をy軸としている。図12に示され
ているように、符号画像データ領域1202は、矩形領域(X0、X1,Y0、Y1で囲
まれた領域)であり、符号画像検知マーク1203〜1207を、復号部507が検知す
ることで判定されるものである。符号画像データの上下左右は1205と1206のよう
に連続して存在する符号画像検知マークを検知することで判定される(左上と判断する)
。そして、符号画像データ領域1202にはメタデータ領域1208と非メタデータ領域
1209が含まれている。非メタデータ領域1209は符号画像データ内の四隅の符号画
像検知マーク1203〜1205、1207で囲まれた点線領域内であり、メタデータ領
域1208はそれ以外の領域である。
Here, FIG. 12 shows a document image stored in the RAM 302. Original image 1201
Is the origin, the main operation direction is the x-axis, and the sub-scanning direction is the y-axis. As shown in FIG. 12, the code image data area 1202 is a rectangular area (area surrounded by X0, X1, Y0, and Y1), and the decoding unit 507 detects the code image detection marks 1203 to 1207. It is determined by doing. The top, bottom, left, and right of the code image data are determined by detecting a code image detection mark that continuously exists such as 1205 and 1206 (determined to be the upper left).
. The code image data area 1202 includes a metadata area 1208 and a non-metadata area 1209. The non-metadata area 1209 is in the dotted line area surrounded by the code image detection marks 1203 to 1205 and 1207 at the four corners in the code image data, and the metadata area 1208 is the other area.

図9に示されているS10002で復号部507が符号画像データを検知した場合は、
CPU301は、S10003に移行して、検知した符号画像データの原稿画像内の領域
を判定しRAMに格納しておく。
If the decoding unit 507 detects code image data in S10002 shown in FIG.
In step S10003, the CPU 301 determines an area in the document image of the detected code image data, and stores it in the RAM.

そして、S10004に進み、復号部507が符号画像データ内のメタデータ領域を復
号化する。このS10004で、メタデータ領域の復号化が成功した場合は、CPU30
1は復号後のメタデータを不図示のデータバスを用いてRAM302に送り、S1000
5に進む。また、このS10004で、メタデータ領域の復号化が失敗した場合は、S1
0006に進む。
In step S10004, the decoding unit 507 decodes the metadata area in the encoded image data. If the decoding of the metadata area is successful in S10004, the CPU 30
1 sends the decrypted metadata to the RAM 302 using a data bus (not shown).
Proceed to 5. If the decoding of the metadata area fails in S10004, S1
Proceed to 0006.

S10005では、復号部507が符号画像データ内の非メタデータ領域を復号化する
。非メタデータ領域の復号化が成功した場合は、CPU301は復号後の非メタデータ(
文書データや文字コードなどさまざま)を不図示のデータバスを用いてRAM302に送
り、S10011に進む。非メタデータ領域の復号化が失敗した場合は、S10006に
進む。S10011では、CPU301は、復号後のメタデータと非メタデータを再符号
化して符号画像を生成し、当該生成された再符号画像データをプリンタ画像処理部315
内の符号画像合成部607に送信すべく制御し、S10012へ進む。
In S10005, the decoding unit 507 decodes the non-metadata area in the encoded image data. If the decryption of the non-metadata area is successful, the CPU 301 determines the non-metadata after decryption (
Document data, character codes, and the like) are sent to the RAM 302 using a data bus (not shown), and the process proceeds to S10011. If the decryption of the non-metadata area fails, the process proceeds to S10006. In step S <b> 10011, the CPU 301 re-encodes the decoded metadata and non-metadata to generate a code image, and uses the generated re-coded image data as the printer image processing unit 315.
And control to transmit to the code image composition unit 607 in step S10012.

S10006では、CPU301は符号画像データの復号化に失敗した旨を図10で示
すジョブ実行選択画面でユーザに警告するとともにユーザに後処理の方法の選択を促す。
In step S10006, the CPU 301 warns the user that the decoding of the encoded image data has failed on the job execution selection screen shown in FIG. 10 and prompts the user to select a post-processing method.

そして、図9に示されているS10007にて、ジョブ実行選択画面でユーザからジョ
ブ継続指示がなされた場合にはS10008へ進み、ジョブ中止指示がなされた場合はS
10014に進み、ジョブを中止する。
In S10007 shown in FIG. 9, if a job continuation instruction is given from the user on the job execution selection screen, the process proceeds to S10008, and if a job stop instruction is given, S10007 is executed.
Proceeding to 10014, the job is canceled.

S10008では、ユーザが符号画像領域を削除するよう指示された場合はS1000
9に進み、削除するよう指示がなされなかった場合はS10012に進む。
In S10008, when the user is instructed to delete the code image area, the process proceeds to S1000.
Proceed to S9, and if no instruction to delete is given, the process proceeds to S10012.

S10009ではCPU301が白画素で構成される符号画像データ領域サイズと等し
いサイズの白画像を生成する。ラスタ展開後の画像(画像処理が行われた後の原稿画像)
から符号画像を削除するために、このように白画像を生成するのである。そして、S10
010にて、当該白画像に対して、必要に応じて後処理を行い、後処理後の画像データを
後処理画像データとしてプリンタ画像処理部315内の符号画像合成部607に送信すべ
く制御し、S10012に進む。白画像に対する後処理については図12を用いて後述す
る。
In S10009, the CPU 301 generates a white image having a size equal to the code image data area size composed of white pixels. Raster rasterized image (original image after image processing)
Thus, a white image is generated in this way in order to delete the code image. And S10
At 010, the white image is post-processed as necessary, and the post-processed image data is controlled to be transmitted as post-processed image data to the code image combining unit 607 in the printer image processing unit 315. , The process proceeds to S10012. The post-processing for the white image will be described later with reference to FIG.

図9に示されているS10012では、圧縮部313はスキャナ画像処理部312で生
成された画像データを32画素×32画素のブロック単位に分割しタイルデータを生成す
る。さらに圧縮部313は、この複数のタイルデータからなる前述のスキャナ画像処理後
の画像データを圧縮する。CPU301は、圧縮部313で圧縮後の画像データをRAM
302に送って格納するよう制御する。なお、スキャナ画像処理後の画像データは必要に
応じて画像変換部317に送られ画像処理が施された上で再びRAM302に送られ格納
される。S10013では、CPU301は、RAM302に格納されている圧縮後の画
像データを伸張部316に送るように制御する。さらに、このステップで、伸張部316
は、この圧縮後の画像データを伸張する。さらに伸張部316は、伸張後の複数のタイル
データからなる画像データをラスタ展開する。ラスタ展開後の画像データはプリンタ画像
処理部315に送られる。プリンタ画像処理部315は、ラスタ展開後の画像データに付
随されている属性データに応じた画像データ編集を行う。この処理は図6に示されている
処理である。
In S10012 shown in FIG. 9, the compression unit 313 divides the image data generated by the scanner image processing unit 312 into blocks of 32 pixels × 32 pixels to generate tile data. Further, the compression unit 313 compresses the image data after the above-described scanner image processing including the plurality of tile data. The CPU 301 stores the image data compressed by the compression unit 313 in the RAM.
Control to send to 302 and store. The image data after the scanner image processing is sent to the image conversion unit 317 as necessary, subjected to image processing, and then sent again to the RAM 302 for storage. In step S <b> 10013, the CPU 301 controls to send the compressed image data stored in the RAM 302 to the decompression unit 316. Further, in this step, the expansion unit 316
Expands the compressed image data. Further, the decompression unit 316 raster-expands image data composed of a plurality of tile data after decompression. The rasterized image data is sent to the printer image processing unit 315. The printer image processing unit 315 performs image data editing according to attribute data attached to the image data after raster development. This process is the process shown in FIG.

ここで、図9に示されているS10011で生成された符号画像データもしくはS10
010で生成された後処理画像データと、ラスタ展開後の画像データとが合成される。
より詳細には、出力側ガンマ補正部605から出力されてきた画像データと、S1001
1で生成された符号画像データ、もしくはS10010で生成された後処理画像データと
を符号画像合成部607が合成する。なお、この符号画像合成部607は、S10011
で生成された符号画像データ、又は、S10010で生成された後処理画像データを、原
稿画像データの上に上書き合成する。即ち、S10011で生成された符号画像データ、
又は、S10010で生成された後処理画像データの領域においては、原稿画像データが
消えるように合成するのである。
Here, the code image data generated in S10011 shown in FIG.
The post-processed image data generated in 010 and the rasterized image data are combined.
More specifically, the image data output from the output-side gamma correction unit 605, and S1001
The code image combining unit 607 combines the code image data generated in 1 or the post-processed image data generated in S10010. Note that the code image synthesis unit 607 performs step S10011.
The encoded image data generated in step S1 or the post-processed image data generated in step S10010 is overwritten and synthesized on the original image data. That is, the code image data generated in S10011,
Or, in the area of the post-processed image data generated in S10010, the original image data is synthesized so as to disappear.

そして、当該合成により得られた合成画像データを中間調補正部606が、出力するプ
リンタ部の階調数に合わせて中間調処理を行う。中間調処理後の合成画像データはプリン
タI/F314を介してプリンタ14に送られ、プリンタ14が合成画像データを出力用
紙上に印字する。
Then, the halftone correction unit 606 performs halftone processing on the composite image data obtained by the synthesis in accordance with the number of gradations of the printer unit to output. The composite image data after halftone processing is sent to the printer 14 via the printer I / F 314, and the printer 14 prints the composite image data on output paper.

図10は、S10006でCPU301が表示するジョブ実行選択画面1000である
。ジョブ継続ボタン1001が押下されると、CPU301は符号画像データの領域に対
する後処理を施さずに印字を継続するよう制御する(即ち、S10008からS1001
2へ直接、移行する)。
FIG. 10 shows a job execution selection screen 1000 displayed by the CPU 301 in S10006. When the job continuation button 1001 is pressed, the CPU 301 controls to continue printing without performing post-processing on the area of the code image data (ie, from S10008 to S1001).
2).

符号画像削除後ジョブ継続ボタン1002が押下されると、白抜きボタン1003もし
くはメタデータ符号化ボタン1004もしくはメタデータテキスト化ボタン1005のど
れかを選択可能である。ただし、メタデータ符号化ボタン1004もしくはメタデータテ
キスト化ボタン1005は、図9のS10004でメタデータ領域の復号化が成功してい
なければ選択できないようにグレーアウト化されて表示される。なお、この制御は、CP
Uによって行われる。
When the job continuation button 1002 is pressed after the code image is deleted, one of the white button 1003, the metadata encoding button 1004, and the metadata text button 1005 can be selected. However, the metadata encoding button 1004 or the metadata text conversion button 1005 is grayed out and displayed so that it cannot be selected unless the decoding of the metadata area is successful in S10004 of FIG. This control is performed using CP.
Done by U.

白抜きボタン1003もしくはメタデータ符号化ボタン1004もしくはメタデータテ
キスト化ボタン1005のどれかをユーザが選択すると、当該選択を受付けて、CPU3
01は図9のS10010で後処理を行う。また、ジョブ中止ボタン1006がユーザに
より押下されると、当該押下を受付けてCPU301は印字処理を中止するよう制御する
。図10の例では、非メタデータが文書ファイルであり、メタデータは文書ファイルのU
RLを意味するものであることを想定している。そのために、メタデータ符号化ボタン1
004ならびにメタデータテキスト化ボタン1005の文言をユーザが理解しやすいよう
にしているが、これは、あくまで一例であり、本実施形態を限定するものではない。
When the user selects one of the white button 1003, the metadata encoding button 1004, or the metadata text button 1005, the selection is accepted, and the CPU 3
01 performs post-processing in S10010 of FIG. When the job cancel button 1006 is pressed by the user, the CPU 301 receives the press and controls to stop the printing process. In the example of FIG. 10, the non-metadata is a document file, and the metadata is U of the document file.
It is assumed to mean RL. For this purpose, the metadata encoding button 1
004 and the text of the metadata text conversion button 1005 are made easy for the user to understand, but this is merely an example and does not limit the present embodiment.

図11は、図10を想定した図9のS10010における後処理のフローチャートであ
る。
FIG. 11 is a flowchart of post-processing in S10010 of FIG. 9 assuming FIG.

図11に示されているS10101では、CPU301は図10に示されている白抜き
ボタン1003が押下されたかどうかを判定し、白抜きボタン1003が押下された場合
は、後処理を施さずにフローを抜ける。ただし、S10009で生成した白画像データを
後処理画像データとしてステップS10012に出力する。
In S10101 shown in FIG. 11, the CPU 301 determines whether or not the white button 1003 shown in FIG. 10 is pressed. If the white button 1003 is pressed, the flow is performed without performing post-processing. Exit. However, the white image data generated in S10009 is output to step S10012 as post-processed image data.

白抜きボタン1003が押下されていない場合は、S10102へ進む。S10102
では、CPU301は図10に示されているメタデータ符号化ボタン1004が押下され
たかどうかを判定する。そして、メタデータ符号化ボタン1004が押下された場合はS
10103へ進み、メタデータ符号化ボタン1004が押下されていない場合はS101
04へ進む。
If the white button 1003 has not been pressed, the process proceeds to S10102. S10102
Then, the CPU 301 determines whether or not the metadata encoding button 1004 shown in FIG. 10 has been pressed. If the metadata encoding button 1004 is pressed, S
If the metadata encoding button 1004 has not been pressed, the process advances to S10103.
Proceed to 04.

S10103では、CPU301はS10004でRAM302に格納されている復号
化後のメタデータを対象として、RAM302に格納されたプログラムを実行することで
、メタデータだけを復号化した符号画像データを生成する。そして、この符号画像データ
を後処理画像データとして出力する。
In S10103, the CPU 301 generates code image data obtained by decoding only the metadata by executing the program stored in the RAM 302 for the decoded metadata stored in the RAM 302 in S10004. The encoded image data is output as post-processed image data.

S10104では、CPU301は、S10004でRAM302に格納されている復
号化後のメタデータを対象として、RAM302に格納されたプログラムを実行すること
で、メタデータのテキスト画像データを生成する。そして、このテキスト画像データを後
処理画像データとしてS10012に出力する。
In S10104, the CPU 301 generates the text image data of the metadata by executing the program stored in the RAM 302 for the decrypted metadata stored in the RAM 302 in S10004. Then, this text image data is output as post-processed image data to S10012.

図13〜15は印字直前の画像を示している。図13は、図10に示されている白抜き
ボタン1003が押下された場合の結果である。そして、図14は図10に示されている
メタデータ符号化ボタン1004が押下された場合の結果であり、図15は図10に示さ
れているメタデータテキスト化ボタン1005が押下された場合の結果である。
13 to 15 show images immediately before printing. FIG. 13 shows the result when the white button 1003 shown in FIG. 10 is pressed. 14 shows the result when the metadata encoding button 1004 shown in FIG. 10 is pressed, and FIG. 15 shows the result when the metadata text conversion button 1005 shown in FIG. 10 is pressed. It is a result.

上記のようにして、元データを符号化した符号画像を含んだ原稿画像データが本実施形
態に係る画像形成装置に入力されたとき、原稿画像データ内に符号画像が含まれていると
判定された場合に、符号画像を復号化して元データを抽出することができる。こここで、
元データとは、非メタデータとメタデータを包含するデータである。また、ここでは、符
号画像を復号化することを符号画像復号化という。
As described above, when document image data including a code image obtained by encoding original data is input to the image forming apparatus according to the present embodiment, it is determined that a code image is included in the document image data. The original data can be extracted by decoding the code image. Here
The original data is data including non-metadata and metadata. Further, here, decoding a code image is referred to as code image decoding.

なお、メタデータは、原稿画像のメタデータ領域に印刷されており、非メタデータは、
原稿画像の非メタデータ領域に印刷されている。ここで、メタデータ領域において、メタ
データの二次元コードに含まれる各ドッドは大きく、原稿画像の汚れに対して、非常に耐
性強く印刷されている。一方、非メタデータ領域において、非メタデータの二次元符号に
含まれる各ドットは小さく、原稿画像の汚れに対して、非常に耐性弱く印刷されている。
The metadata is printed in the metadata area of the original image, and the non-metadata
Printed in the non-metadata area of the original image. Here, in the metadata area, each dot included in the two-dimensional code of the metadata is large, and is printed with a high resistance against the smear of the document image. On the other hand, in the non-metadata area, each dot included in the two-dimensional code of non-metadata is small and is printed with a very low resistance to the smear of the original image.

すなわち、メタデータ領域は、多少原稿画像が汚れても、メタデータ領域上の画像の復
号化が可能であるが、非メタデータ領域は、少しでも汚れてしまうと、非メタデータ領域
上の画像の復号化が不可能となる。
That is, in the metadata area, the image on the metadata area can be decoded even if the original image is slightly dirty. However, if the non-metadata area is slightly dirty, the image on the non-metadata area Cannot be decrypted.

なお、本実施例において、非メタデータとは、ユーザが二次元コード内に含めたいと考
えるコンテンツデータである。例えば、音楽データであったり、Excelデータであっ
たりする。このメタデータは、非常にデータ量が多い。
In this embodiment, the non-metadata is content data that the user wants to include in the two-dimensional code. For example, music data or Excel data. This metadata has a very large amount of data.

一方、メタデータとは、非メタデータに関わるデータであって、重要なデータであるが
、少ないデータ量のデータである。このようにメタデータは、少ないデータ量のデータで
あり、かつ、重要なデータであるため、メタデータは耐性強く印刷されているのである。
On the other hand, metadata is data related to non-metadata and is important data, but is data with a small amount of data. In this way, the metadata is a small amount of data and important data, so the metadata is printed with high durability.

また、本実施例では、二次元コード=二次元符号である。   In this embodiment, two-dimensional code = two-dimensional code.

(その他の実施形態)
さらに本発明は、複数の機器(例えばコンピュータ、インターフェース機器、リーダ、
プリンタなど)から構成されるシステムに適用することも、一つの機器からなる装置(画
像形成装置、プリンタ、ファクシミリ装置など)に適用することも可能である。
(Other embodiments)
Furthermore, the present invention provides a plurality of devices (for example, computers, interface devices, readers,
The present invention can be applied to a system composed of a printer or the like, or to an apparatus composed of a single device (image forming apparatus, printer, facsimile apparatus, etc.).

また本発明の目的は、上述した実施形態で示したフローチャートの手順を実現するプロ
グラムコードを記憶した記憶媒体から、システムあるいは装置のコンピュータ(またはC
PUやMPU)が、そのプログラムコードを読出し実行することによっても達成される。
この場合、記憶媒体から読み出されたプログラムコード自体が上述した実施形態の機能を
実現することになる。そのため、このプログラムコード及びプログラムコードを記憶した
記憶媒体も本発明の一つを構成することになる。
In addition, an object of the present invention is to create a computer (or C) of a system or apparatus from a storage medium storing program codes for realizing the procedure of the flowchart shown in the above-described embodiment.
(PU or MPU) can also be achieved by reading and executing the program code.
In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment. Therefore, the program code and a storage medium storing the program code also constitute one of the present invention.

プログラムコードを供給するための記憶媒体としては、例えば、フロッピー(登録商標
)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、
磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。
As a storage medium for supplying the program code, for example, a floppy (registered trademark) disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R,
A magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

また、コンピュータが読み出したプログラムコードを実行することにより、上述した実
施形態の機能が実現される。これに加えて、そのプログラムコードの指示に基づきコンピ
ュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部また
は全部を行い、その処理によって上述した実施形態の機能が実現される場合も含まれる。
Further, the functions of the above-described embodiment are realized by executing the program code read by the computer. In addition to this, an OS (operating system) running on the computer performs part or all of the actual processing based on the instruction of the program code, and the functions of the above-described embodiments are realized by the processing. Cases are also included.

更に、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡
張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれる。
その後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニット
に備わるCPUなどが実際の処理の一部または全部を行い、その処理によって上述した実
施形態の機能が実現される。
Further, the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer.
Thereafter, the CPU of the function expansion board or function expansion unit performs part or all of the actual processing based on the instruction of the program code, and the functions of the above-described embodiments are realized by the processing.

10 画像形成装置
11 コントローラユニット
12 操作部
13 スキャナ
14 プリンタ
20 画像形成装置
21 コントローラユニット
22 操作部
23 スキャナ
24 プリンタ
30 画像形成装置
31 コントローラユニット
32 操作部
33 プリンタ
40 PC
50 LAN
201 原稿フィーダ
202 トレイ
203 用紙カセット
204 用紙カセット
205 用紙カセット
206 排紙トレイ
207 後処理部
301 CPU
302 RAM
303 ROM
304 HDD
305 操作部I/F
306 ネットワークI/F306
307 モデム
308 2値画像回転部
309 2値画像圧縮・伸張部
310 システムバス
311 スキャナI/F
312 スキャナ画像処理部
313 圧縮部
314 プリンタI/F
315 プリンタ画像処理部
316 伸張部
317 画像変換部
318 伸張部
319 圧縮部
320 回転部
321 変倍部
322 色空間変換部
323 2値多値変換部
324 多値2値変換部
325 移動部
326 間引き部
327 合成部
328 RIP
329 圧縮部
501 マスキング処理部
502 フィルタ処理部
503 ヒストグラム生成部
504 入力側ガンマ補正部
505 カラーモノクロ判定部
506 文字写真判定部
507 復号部
601 下地飛ばし処理部
602 モノクロ生成部
603 Log変換部
604 出力色補正部
605 出力側ガンマ補正部
606 中間調補正部
607 符号画像合成部
700 初期画面
701 領域
702 読み取りモードタブ
704 タブ
705 タブ
706 タブ
707 タブ
800 応用モード設定画面
801 タブ
802 タブ
803 タブ
804 タブ
805 タブ
806 タブ
1000 ジョブ実行選択画面
1001 ジョブ継続ボタン
1002 ジョブ継続ボタン
1003 白抜きボタン
1004 メタデータ符号化ボタン
1005 メタデータテキスト化ボタン
1006 ジョブ中止ボタン
1201 原稿画像
1202 符号画像データ領域
1203 符号画像検知マーク
1204 符号画像検知マーク
1205 符号画像検知マーク
1206 符号画像検知マーク
1207 符号画像検知マーク
1208 メタデータ領域
1209 非メタデータ領域
DESCRIPTION OF SYMBOLS 10 Image forming apparatus 11 Controller unit 12 Operation part 13 Scanner 14 Printer 20 Image forming apparatus 21 Controller unit 22 Operation part 23 Scanner 24 Printer 30 Image forming apparatus 31 Controller unit 32 Operation part 33 Printer 40 PC
50 LAN
201 Document feeder 202 Tray 203 Paper cassette 204 Paper cassette 205 Paper cassette 206 Paper discharge tray 207 Post-processing section 301 CPU
302 RAM
303 ROM
304 HDD
305 Operation unit I / F
306 Network I / F 306
307 Modem 308 Binary image rotation unit 309 Binary image compression / decompression unit 310 System bus 311 Scanner I / F
312 Scanner Image Processing Unit 313 Compression Unit 314 Printer I / F
315 Printer image processing unit 316 Expansion unit 317 Image conversion unit 318 Expansion unit 319 Compression unit 320 Rotation unit 321 Scaling unit 322 Color space conversion unit 323 Binary multi-value conversion unit 324 Multi-value binary conversion unit 325 Moving unit 326 Thinning-out unit 327 Combining Unit 328 RIP
329 Compression unit 501 Masking processing unit 502 Filter processing unit 503 Histogram generation unit 504 Input side gamma correction unit 505 Color / monochrome determination unit 506 Character / photo determination unit 507 Decoding unit 601 Background removal processing unit 602 Monochrome generation unit 603 Log conversion unit 604 Output color Correction unit 605 Output side gamma correction unit 606 Halftone correction unit 607 Code image composition unit 700 Initial screen 701 Area 702 Reading mode tab 704 Tab 705 Tab 706 Tab 707 Tab 800 Application mode setting screen 801 Tab 802 Tab 803 Tab 804 Tab 805 Tab 806 Tab 1000 Job execution selection screen 1001 Job continuation button 1002 Job continuation button 1003 Outline button 1004 Metadata encoding button 1005 Metadata text conversion button 1006 Cancel button 1201 document image 1202 encoded image data area 1203 code image detection mark 1204 encoded image sensing mark 1205 encoded image sensing mark 1206 encoded image sensing mark 1207 code image detection mark 1208 metadata area 1209 non metadata area

Claims (27)

第1の領域と第2の領域とを含む二次元コードを復号化することで、当該二次元コードに含まれる情報を得る復号化手段と、
前記復号化手段で得られた前記二次元コードに含まれる情報のうちの少なくとも一部を含む情報を符号化することで、当該少なくとも一部を含む情報を含む二次元コードを得る符号化手段と、
を備え、
前記復号化手段は、前記第1の領域を復号化した後、前記第2の領域を復号化し、
前記第1の領域は、前記第2の領域よりも耐性の強い領域である
ことを特徴とする装置。
Decoding means for obtaining information included in the two-dimensional code by decoding the two-dimensional code including the first area and the second area;
By encoding information including at least a portion of the information included in the two-dimensional code obtained by the decoding means, code for obtaining a two-dimensional code containing information comprising a portion the at those said at And
With
Said decoding means, after decoding the first region, and decoding the second area,
The device according to claim 1, wherein the first region is a region that is more resistant than the second region .
第1の領域と第2の領域とを含む二次元コードを復号化することで、当該二次元コードに含まれる情報を得る復号化手段と、
前記復号化手段で得られた前記二次元コードに含まれる情報のうちの少なくとも一部を含む情報を符号化することで、当該少なくとも一部を含む情報を含む二次元コードを得る符号化手段と、
を備え、
前記復号化手段における前記第2の領域の復号化は、前記第1の領域の復号化の終了後に終了し、
前記第1の領域は、前記第2の領域よりも耐性の強い領域である
ことを特徴とする装置。
Decoding means for obtaining information included in the two-dimensional code by decoding the two-dimensional code including the first area and the second area;
By encoding information including at least a portion of the information included in the two-dimensional code obtained by the decoding means, code for obtaining a two-dimensional code containing information comprising a portion the at those said at And
With
The decoding of the second area in the decoding means ends after the decoding of the first area ,
The device according to claim 1, wherein the first region is a region that is more resistant than the second region .
第1の領域と第2の領域とを含む二次元コードを復号化することで、当該二次元コードに含まれる情報を得る復号化手段と、
前記復号化手段で得られた前記二次元コードに含まれる情報のうちの少なくとも一部を含む情報を符号化することで、当該少なくとも一部を含む情報を含む二次元コードを得る符号化手段と、
を備え、
前記復号化手段における前記第2の領域の復号化は、前記第1の領域の復号化の開始後に開始し、
前記第1の領域は、前記第2の領域よりも耐性の強い領域である
ことを特徴とする装置。
Decoding means for obtaining information included in the two-dimensional code by decoding the two-dimensional code including the first area and the second area;
Encoding means for obtaining a two-dimensional code including information including at least a part by encoding information including at least a part of information included in the two-dimensional code obtained by the decoding means; ,
With
The decoding of the second area in the decoding means starts after the start of decoding of the first area,
The device according to claim 1, wherein the first region is a region that is more resistant than the second region .
スキャン画像における第1の領域と第2の領域とを含む二次元コードを復号化することで、当該二次元コードに含まれる情報を得る復号化手段と、
前記復号化手段で得られた前記二次元コードに含まれる情報のうちの少なくとも一部を含む情報を符号化することで、当該少なくとも一部を含む情報を含む二次元コードを得る符号化手段と、
前記符号化手段で得られた二次元コードと前記スキャン画像とを合成する合成手段と、
前記合成手段で得られた画像を印刷する印刷手段と、
を備え、
前記復号化手段における前記第2の領域の復号化は、前記第1の領域の復号化の終了後に終了し、
前記第1の領域は、前記第2の領域よりも耐性の強い領域である
ことを特徴とする装置。
Decoding means for obtaining information included in the two-dimensional code by decoding the two-dimensional code including the first region and the second region in the scanned image;
By encoding information including at least a portion of the information included in the two-dimensional code obtained by the decoding means, code for obtaining a two-dimensional code containing information comprising a portion the at those said at And
Synthesizing means for synthesizing the two-dimensional code obtained by the encoding means and the scanned image;
Printing means for printing the image obtained by the combining means;
With
The decoding of the second area in the decoding means ends after the decoding of the first area ,
The device according to claim 1, wherein the first region is a region that is more resistant than the second region .
スキャン画像における第1の領域と第2の領域とを含む二次元コードを復号化することで、当該二次元コードに含まれる情報を得る復号化手段と、
前記復号化手段で得られた前記二次元コードに含まれる情報のうちの少なくとも一部を含む情報を符号化することで、当該少なくとも一部を含む情報を含む二次元コードを得る符号化手段と、
前記符号化手段で得られた二次元コードと前記スキャン画像とを合成する合成手段と
前記合成手段で得られた画像を印刷する印刷手段と、
を備え、
前記復号化手段における前記第2の領域の復号化は、前記第1の領域の復号化の開始後に開始し、
前記第1の領域は、前記第2の領域よりも耐性の強い領域である
ことを特徴とする装置。
Decoding means for obtaining information included in the two-dimensional code by decoding the two-dimensional code including the first region and the second region in the scanned image;
Encoding means for obtaining a two-dimensional code including information including at least a part by encoding information including at least a part of information included in the two-dimensional code obtained by the decoding means; ,
Synthesizing means for synthesizing the two-dimensional code obtained by the encoding means and the scanned image ;
Printing means for printing the image obtained by the combining means;
With
The decoding of the second area in the decoding means starts after the start of decoding of the first area,
The first region is a region that is more resistant than the second region.
A device characterized by that.
前記合成手段で得られる前記画像は、前記スキャン画像に含まれていた前記二次元コードを含まないことを特徴とする請求項4又は5に記載の装置。 6. The apparatus according to claim 4 , wherein the image obtained by the synthesizing unit does not include the two-dimensional code included in the scan image. 前記復号化手段は、前記第1の領域の復号化に失敗した場合に、前記第2の領域の復号化をしないことを特徴とする請求項1乃至の何れか1項に記載の装置。 The apparatus according to any one of claims 1 to 6 , wherein the decoding unit does not decode the second area when the decoding of the first area fails. 前記第1の領域に含まれる情報の量は、前記第2の領域に含まれる情報の量よりも少ないことを特徴とする請求項1乃至7の何れか1項に記載の装置 The apparatus according to claim 1, wherein an amount of information included in the first area is smaller than an amount of information included in the second area . 前記第1の領域には、前記第2の領域に関する情報が含まれることを特徴とする請求項1乃至8の何れか1項に記載の装置。The apparatus according to claim 1, wherein the first area includes information regarding the second area. 前記第1の領域は、前記第2の領域よりも耐性の強い領域であるとは、前記第1の領域は、前記第2の領域よりも汚れに対して耐性の強い領域であるという意味であることを特徴とする請求項1乃至9の何れか1項に記載の装置。The first region is a region more resistant to the second region than the second region means that the first region is a region more resistant to dirt than the second region. 10. A device according to any one of the preceding claims, characterized in that there is a device. 前記第1の領域は、前記第2の領域よりも耐性の強い領域であるとは、前記第1の領域の方が、前記第2の領域よりも、汚れても復号化に成功する可能性が高い領域であるという意味であることを特徴とする請求項1乃至10の何れか1項に記載の装置。The first area is a stronger area than the second area. The first area may be more successfully decoded even if it is dirty than the second area. The device according to any one of claims 1 to 10, which means that the region is a high region. 前記第1の領域は、前記第2の領域よりも耐性の強い領域であるとは、前記第1の領域と前記第2の領域とに同じ汚れが発生した時に、前記第1の領域の方が前記第2の領域よりも復号化が成功する可能性が高いという意味であることを特徴とする請求項1乃至11の何れか1項に記載の装置。The first region is a region that is more resistant than the second region. When the same contamination occurs in the first region and the second region, the first region is more resistant to the first region. 12. The apparatus according to any one of claims 1 to 11, which means that there is a higher possibility of successful decoding than in the second area. 前記第1の領域は、前記第2の領域よりも耐性の強い領域であるとは、失敗させる汚れの限界量が、前記第2の領域よりも前記第1の領域の方が大きいという意味であることを特徴とする請求項1乃至12の何れか1項に記載の装置。The first region is a region that is more resistant than the second region, which means that the first region has a larger amount of dirt to be failed than the second region. 13. Apparatus according to any one of the preceding claims, characterized in that it is. 第1の領域と第2の領域とを含む二次元コードを復号化することで、当該二次元コードに含まれる情報を得る復号化ステップと、
前記復号化ステップで得られた前記二次元コードに含まれる情報のうちの少なくとも一部を含む情報を符号化することで、当該少なくとも一部を含む情報を含む二次元コードを得る符号化ステップと、
を含み、
前記復号化ステップは、前記第1の領域を復号化した後、前記第2の領域を復号化し、
前記第1の領域は、前記第2の領域よりも耐性の強い領域である
ことを特徴とする方法。
A decoding step of obtaining information included in the two-dimensional code by decoding the two-dimensional code including the first region and the second region;
By encoding information including at least a portion of the information included in the two-dimensional code obtained by the decoding step, a code to obtain a two-dimensional code containing information comprising a portion the at those said at Step,
Including
Said decoding step, after decoding the first region, and decoding the second area,
The method of claim 1, wherein the first region is a region that is more resistant than the second region .
第1の領域と第2の領域とを含む二次元コードを復号化することで、当該二次元コードに含まれる情報を得る復号化ステップと、
前記復号化ステップで得られた前記二次元コードに含まれる情報のうちの少なくとも一部を含む情報を符号化することで、当該少なくとも一部を含む情報を含む二次元コードを得る符号化ステップと、
を含み、
前記復号化ステップにおける前記第2の領域の復号化は、前記第1の領域の復号化の終了後に終了し、
前記第1の領域は、前記第2の領域よりも耐性の強い領域である
ことを特徴とする方法。
A decoding step of obtaining information included in the two-dimensional code by decoding the two-dimensional code including the first region and the second region;
By encoding information including at least a portion of the information included in the two-dimensional code obtained by the decoding step, a code to obtain a two-dimensional code containing information comprising a portion the at those said at Step,
Including
The decoding of the second region in the decoding step ends after the decoding of the first region ends ;
The method of claim 1, wherein the first region is a region that is more resistant than the second region .
第1の領域と第2の領域とを含む二次元コードを復号化することで、当該二次元コードに含まれる情報を得る復号化ステップと、A decoding step of obtaining information included in the two-dimensional code by decoding the two-dimensional code including the first region and the second region;
前記復号化ステップで得られた前記二次元コードに含まれる情報のうちの少なくとも一部を含む情報を符号化することで、当該少なくとも一部を含む情報を含む二次元コードを得る符号化ステップと、An encoding step of obtaining a two-dimensional code including information including at least a part by encoding information including at least a part of the information included in the two-dimensional code obtained in the decoding step; ,
を含み、Including
前記復号化ステップにおける前記第2の領域の復号化は、前記第1の領域の復号化の開始後に開始し、The decoding of the second region in the decoding step starts after the start of decoding of the first region;
前記第1の領域は、前記第2の領域よりも耐性の強い領域であるThe first region is a region that is more resistant than the second region.
ことを特徴とする方法。A method characterized by that.
スキャン画像における第1の領域と第2の領域とを含む二次元コードを復号化することで、当該二次元コードに含まれる情報を得る復号化ステップと、
前記復号化ステップで得られた前記二次元コードに含まれる情報のうちの少なくとも一部を含む情報を符号化することで、当該少なくとも一部を含む情報を含む二次元コードを得る符号化ステップと、
前記符号化ステップで得られた二次元コードと前記スキャン画像とを合成する合成ステップと、
前記合成ステップで得られた画像を印刷する印刷ステップと、
を含み、
前記復号化ステップにおける前記第2の領域の復号化は、前記第1の領域の復号化の終了後に終了し、
前記第1の領域は、前記第2の領域よりも耐性の強い領域である
ことを特徴とする方法。
A decoding step of obtaining information included in the two-dimensional code by decoding the two-dimensional code including the first region and the second region in the scanned image;
By encoding information including at least a portion of the information included in the two-dimensional code obtained by the decoding step, a code to obtain a two-dimensional code containing information comprising a portion the at those said at Step,
A synthesis step of synthesizing the two-dimensional code obtained in the encoding step and the scan image;
A printing step for printing the image obtained in the combining step;
Including
The decoding of the second region in the decoding step ends after the decoding of the first region ends ;
The method of claim 1, wherein the first region is a region that is more resistant than the second region .
スキャン画像における第1の領域と第2の領域とを含む二次元コードを復号化することで、当該二次元コードに含まれる情報を得る復号化ステップと、A decoding step of obtaining information included in the two-dimensional code by decoding the two-dimensional code including the first region and the second region in the scanned image;
前記復号化ステップで得られた前記二次元コードに含まれる情報のうちの少なくとも一部を含む情報を符号化することで、当該少なくとも一部を含む情報を含む二次元コードを得る符号化ステップと、An encoding step of obtaining a two-dimensional code including information including at least a part by encoding information including at least a part of the information included in the two-dimensional code obtained in the decoding step; ,
前記符号化ステップで得られた二次元コードと前記スキャン画像とを合成する合成ステップと、A synthesis step of synthesizing the two-dimensional code obtained in the encoding step and the scan image;
前記合成ステップで得られた画像を印刷する印刷ステップと、A printing step for printing the image obtained in the combining step;
を含み、Including
前記復号化ステップにおける前記第2の領域の復号化は、前記第1の領域の復号化の開始後に開始し、The decoding of the second region in the decoding step starts after the start of decoding of the first region;
前記第1の領域は、前記第2の領域よりも耐性の強い領域であるThe first region is a region that is more resistant than the second region.
ことを特徴とする方法。A method characterized by that.
前記合成ステップで得られる前記画像は、前記スキャン画像に含まれていた前記二次元コードを含まないことを特徴とする請求項17又は18に記載の方法。 The method according to claim 17 or 18 , wherein the image obtained in the combining step does not include the two-dimensional code included in the scan image. 前記復号化ステップでは、前記耐性の強い領域の復号化に失敗した場合に、前記耐性の弱い領域の復号化をしないことを特徴とする請求項14乃至19の何れか1項に記載の方法。 The method according to any one of claims 14 to 19 , wherein, in the decoding step, the decoding of the weakly resistant region is not performed when decoding of the strongly resistant region fails. 前記第1の領域に含まれる情報の量は、前記第2の領域に含まれる情報の量よりも少ないことを特徴とする請求項14乃至20の何れか1項に記載の方法 21. A method according to any one of claims 14 to 20, wherein the amount of information contained in the first region is less than the amount of information contained in the second region . 前記第1の領域には、前記第2の領域に関する情報が含まれることを特徴とする請求項14乃至21の何れか1項に記載の方法。The method according to any one of claims 14 to 21, wherein the first area includes information regarding the second area. 前記第1の領域は、前記第2の領域よりも耐性の強い領域であるとは、前記第1の領域は、前記第2の領域よりも汚れに対して耐性の強い領域であるという意味であることを特徴とする請求項14乃至22の何れか1項に記載の方法。The first region is a region more resistant to the second region than the second region means that the first region is a region more resistant to dirt than the second region. 23. A method according to any one of claims 14 to 22, characterized in that it is. 前記第1の領域は、前記第2の領域よりも耐性の強い領域であるとは、前記第1の領域の方が、前記第2の領域よりも、汚れても復号化に成功する可能性が高い領域であるという意味であることを特徴とする請求項14乃至23の何れか1項に記載の方法。The first area is a stronger area than the second area. The first area may be more successfully decoded even if it is dirty than the second area. 24. A method as claimed in any one of claims 14 to 23, characterized in that is a high region. 前記第1の領域は、前記第2の領域よりも耐性の強い領域であるとは、前記第1の領域と前記第2の領域とに同じ汚れが発生した時に、前記第1の領域の方が前記第2の領域よりも復号化が成功する可能性が高いという意味であることを特徴とする請求項14乃至24の何れか1項に記載の方法。The first region is a region that is more resistant than the second region. When the same contamination occurs in the first region and the second region, the first region is more resistant to the first region. 25. A method according to any one of claims 14 to 24, which means that there is a higher probability of successful decoding than the second region. 前記第1の領域は、前記第2の領域よりも耐性の強い領域であるとは、失敗させる汚れの限界量が、前記第2の領域よりも前記第1の領域の方が大きいという意味であることを特徴とする請求項14乃至25の何れか1項に記載の方法。The first region is a region that is more resistant than the second region, which means that the first region has a larger amount of dirt to be failed than the second region. 26. A method according to any one of claims 14 to 25, wherein: 請求項14乃至26の何れか1項に記載の方法をコンピュータに実行させるためのプログラム。  A program for causing a computer to execute the method according to any one of claims 14 to 26.
JP2011190969A 2011-09-01 2011-09-01 Device for decoding two-dimensional code, method for controlling device for decoding two-dimensional code, and program Expired - Fee Related JP5284431B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011190969A JP5284431B2 (en) 2011-09-01 2011-09-01 Device for decoding two-dimensional code, method for controlling device for decoding two-dimensional code, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011190969A JP5284431B2 (en) 2011-09-01 2011-09-01 Device for decoding two-dimensional code, method for controlling device for decoding two-dimensional code, and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2009183225A Division JP4847565B2 (en) 2009-08-06 2009-08-06 Apparatus for creating copies, control method for apparatus for creating copies, and program

Publications (3)

Publication Number Publication Date
JP2012039629A JP2012039629A (en) 2012-02-23
JP2012039629A5 JP2012039629A5 (en) 2013-05-02
JP5284431B2 true JP5284431B2 (en) 2013-09-11

Family

ID=45851035

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011190969A Expired - Fee Related JP5284431B2 (en) 2011-09-01 2011-09-01 Device for decoding two-dimensional code, method for controlling device for decoding two-dimensional code, and program

Country Status (1)

Country Link
JP (1) JP5284431B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180090630A (en) * 2017-02-03 2018-08-13 이승형 MANAGEMENT SYSTEM for CONTROLLING TOOL INVENTORY AND METHOD THEREOF

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108090542B (en) * 2018-01-10 2024-05-17 深圳市深大极光科技股份有限公司 Two-dimensional code anti-counterfeiting label and manufacturing method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005252891A (en) * 2004-03-05 2005-09-15 Kyocera Mita Corp Watermark information authentication system and image forming apparatus
JP2005318201A (en) * 2004-04-28 2005-11-10 Fuji Xerox Co Ltd Apparatus and method for image processing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180090630A (en) * 2017-02-03 2018-08-13 이승형 MANAGEMENT SYSTEM for CONTROLLING TOOL INVENTORY AND METHOD THEREOF
KR101930519B1 (en) * 2017-02-03 2019-03-11 이승형 MANAGEMENT SYSTEM for CONTROLLING TOOL INVENTORY AND METHOD THEREOF

Also Published As

Publication number Publication date
JP2012039629A (en) 2012-02-23

Similar Documents

Publication Publication Date Title
JP4810413B2 (en) Image processing apparatus and image processing method
JP4436454B2 (en) Image processing apparatus, image processing method, program thereof, and storage medium
JP4732315B2 (en) Image processing apparatus and method
JP4484896B2 (en) Image processing apparatus, control method thereof, program thereof, and storage medium
JP2009005312A (en) Image processing apparatus and image processing method, computer program, and storage medium
JP4147255B2 (en) Image processing apparatus, image processing control method, program, and storage medium
JP4812106B2 (en) Image reading apparatus and control method thereof
JP5014062B2 (en) Image processing apparatus, image processing control method, program, and storage medium
JP4663682B2 (en) Image processing apparatus, image processing method, program, and storage medium
JP2008283586A (en) Image processor, control method of image processor, program and storage medium
JP4709090B2 (en) Image processing apparatus, image processing apparatus control method, and program
US8654404B2 (en) Image processing apparatus, image processing method and memory medium
JP5284431B2 (en) Device for decoding two-dimensional code, method for controlling device for decoding two-dimensional code, and program
JP4653006B2 (en) Method, apparatus and program for determining density signal value of latent image and background image
US20080112014A1 (en) Image forming apparatus and image processing method
JP2008141683A (en) Image processor, method and program, and storage medium
JP4267029B2 (en) Image processing apparatus, image processing method, image processing method program, and storage medium therefor
JP4847565B2 (en) Apparatus for creating copies, control method for apparatus for creating copies, and program
JP4498375B2 (en) OUTPUT DEVICE, OUTPUT METHOD, OUTPUT SYSTEM, AND PROGRAM
JP2007158808A (en) Image processing device, control method of the same, program, and storage medium
JP4250656B2 (en) Information processing apparatus, control method thereof, and program thereof
JP2010171598A (en) Image processing apparatus
JP2007235392A (en) Image processing apparatus, image processing method, program, and medium
JP2008079005A (en) Copy system, and program
JP2010056912A (en) Image processing apparatus

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130314

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20130314

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20130322

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130402

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130409

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130529

R151 Written notification of patent or utility model registration

Ref document number: 5284431

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees